From 8dd028ff86faadc0118e39a4d8d45e96a871aa12 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Tue, 31 Dec 2024 11:11:45 +0200 Subject: [PATCH] chore(v1): fix links in source code / references --- docs-util/typedoc-json-output/0-medusa.json | 50270 ++- docs-util/typedoc-json-output/0-types.json | 295704 +++++++++++---- docs-util/typedoc-json-output/entities.json | 4 +- .../typedoc-json-output/fulfillment.json | 22 +- docs-util/typedoc-json-output/inventory.json | 1499 +- docs-util/typedoc-json-output/js-client.json | 288 +- .../typedoc-json-output/medusa-config.json | 760 +- .../typedoc-json-output/medusa-react.json | 194 +- .../typedoc-json-output/notification.json | 32 +- docs-util/typedoc-json-output/payment.json | 44 +- .../typedoc-json-output/price-selection.json | 10 +- docs-util/typedoc-json-output/pricing.json | 24195 +- docs-util/typedoc-json-output/product.json | 27701 +- docs-util/typedoc-json-output/search.json | 4 +- docs-util/typedoc-json-output/services.json | 28042 +- .../typedoc-json-output/stock-location.json | 7713 +- .../typedoc-json-output/tax-calculation.json | 28 +- docs-util/typedoc-json-output/tax.json | 2 +- docs-util/typedoc-json-output/workflows.json | 1766 +- .../src/components/layout/shell/shell.tsx | 2 +- .../edit-profile-form/edit-profile-form.tsx | 2 +- packages/admin-ui/README.md | 2 +- .../organisms/analytics-preferences/index.tsx | 2 +- packages/admin/README.md | 2 +- packages/create-medusa-app/README.md | 2 +- .../create-medusa-app/src/commands/create.ts | 2 +- .../create-medusa-app/src/utils/create-db.ts | 2 +- packages/design-system/icons/README.md | 2 +- packages/design-system/ui-preset/README.md | 2 +- packages/design-system/ui/CONTRIBUTING.md | 4 +- packages/design-system/ui/README.md | 4 +- .../components/date-picker/date-picker.tsx | 2 +- packages/event-bus-local/README.md | 2 +- packages/event-bus-redis/README.md | 2 +- packages/medusa-file-local/README.md | 6 +- packages/medusa-file-minio/README.md | 8 +- packages/medusa-file-s3/README.md | 8 +- packages/medusa-file-spaces/README.md | 8 +- packages/medusa-fulfillment-manual/README.md | 6 +- .../medusa-fulfillment-webshipper/README.md | 6 +- packages/medusa-js/README.md | 4 +- packages/medusa-js/package.json | 2 +- packages/medusa-js/src/resources/addresses.ts | 2 +- .../medusa-js/src/resources/admin/auth.ts | 4 +- .../src/resources/admin/batch-jobs.ts | 4 +- .../src/resources/admin/collections.ts | 2 +- .../src/resources/admin/currencies.ts | 4 +- .../src/resources/admin/customer-groups.ts | 4 +- .../src/resources/admin/customers.ts | 4 +- .../src/resources/admin/discounts.ts | 4 +- .../src/resources/admin/draft-orders.ts | 4 +- .../src/resources/admin/gift-cards.ts | 4 +- .../medusa-js/src/resources/admin/index.ts | 76 +- .../src/resources/admin/inventory-item.ts | 8 +- .../medusa-js/src/resources/admin/invites.ts | 4 +- .../medusa-js/src/resources/admin/notes.ts | 2 +- .../src/resources/admin/notifications.ts | 2 +- .../src/resources/admin/order-edits.ts | 4 +- .../medusa-js/src/resources/admin/orders.ts | 4 +- .../resources/admin/payment-collections.ts | 2 +- .../medusa-js/src/resources/admin/payments.ts | 2 +- .../src/resources/admin/price-lists.ts | 4 +- .../src/resources/admin/product-categories.ts | 4 +- .../src/resources/admin/product-tags.ts | 2 +- .../src/resources/admin/product-types.ts | 2 +- .../medusa-js/src/resources/admin/products.ts | 8 +- .../resources/admin/publishable-api-keys.ts | 4 +- .../medusa-js/src/resources/admin/regions.ts | 4 +- .../src/resources/admin/reservations.ts | 8 +- .../src/resources/admin/return-reasons.ts | 4 +- .../medusa-js/src/resources/admin/returns.ts | 4 +- .../src/resources/admin/sales-channels.ts | 6 +- .../src/resources/admin/shipping-options.ts | 4 +- .../src/resources/admin/shipping-profiles.ts | 4 +- .../src/resources/admin/stock-locations.ts | 8 +- .../medusa-js/src/resources/admin/store.ts | 4 +- .../medusa-js/src/resources/admin/swaps.ts | 4 +- .../src/resources/admin/tax-rates.ts | 4 +- .../medusa-js/src/resources/admin/uploads.ts | 4 +- .../medusa-js/src/resources/admin/users.ts | 4 +- .../medusa-js/src/resources/admin/variants.ts | 4 +- packages/medusa-js/src/resources/auth.ts | 4 +- packages/medusa-js/src/resources/carts.ts | 6 +- .../medusa-js/src/resources/collections.ts | 2 +- packages/medusa-js/src/resources/customers.ts | 8 +- .../medusa-js/src/resources/gift-cards.ts | 4 +- .../medusa-js/src/resources/line-items.ts | 2 +- .../medusa-js/src/resources/order-edits.ts | 4 +- packages/medusa-js/src/resources/orders.ts | 4 +- .../src/resources/payment-collections.ts | 2 +- .../src/resources/payment-methods.ts | 2 +- .../src/resources/product-categories.ts | 4 +- .../medusa-js/src/resources/product-tags.ts | 2 +- .../medusa-js/src/resources/product-types.ts | 2 +- .../src/resources/product-variants.ts | 2 +- packages/medusa-js/src/resources/products.ts | 8 +- packages/medusa-js/src/resources/regions.ts | 4 +- .../medusa-js/src/resources/return-reasons.ts | 2 +- packages/medusa-js/src/resources/returns.ts | 4 +- .../src/resources/shipping-options.ts | 4 +- packages/medusa-js/src/resources/swaps.ts | 4 +- packages/medusa-payment-adyen/README.md | 6 +- packages/medusa-payment-klarna/README.md | 10 +- packages/medusa-payment-manual/README.md | 6 +- packages/medusa-payment-paypal/README.md | 12 +- packages/medusa-payment-stripe/README.md | 12 +- packages/medusa-plugin-algolia/README.md | 10 +- packages/medusa-plugin-brightpearl/README.md | 2 +- packages/medusa-plugin-contentful/README.md | 12 +- .../README.md | 2 +- packages/medusa-plugin-economic/README.md | 6 +- packages/medusa-plugin-ip-lookup/README.md | 2 +- packages/medusa-plugin-mailchimp/README.md | 6 +- packages/medusa-plugin-meilisearch/README.md | 10 +- .../src/services/meilisearch.ts | 4 +- .../README.md | 8 +- packages/medusa-plugin-segment/README.md | 8 +- packages/medusa-plugin-sendgrid/README.md | 8 +- .../README.md | 10 +- packages/medusa-plugin-twilio-sms/README.md | 6 +- packages/medusa-plugin-wishlist/README.md | 4 +- packages/medusa-react/README.md | 2 +- packages/medusa-react/src/contexts/cart.tsx | 4 +- packages/medusa-react/src/contexts/medusa.tsx | 8 +- .../src/hooks/admin/auth/index.ts | 4 +- .../src/hooks/admin/batch-jobs/index.ts | 4 +- .../src/hooks/admin/claims/index.ts | 4 +- .../src/hooks/admin/collections/index.ts | 2 +- .../src/hooks/admin/currencies/index.ts | 4 +- .../src/hooks/admin/customer-groups/index.ts | 4 +- .../src/hooks/admin/customers/index.ts | 4 +- .../src/hooks/admin/discounts/index.ts | 4 +- .../src/hooks/admin/draft-orders/index.ts | 4 +- .../src/hooks/admin/gift-cards/index.ts | 4 +- .../src/hooks/admin/inventory-item/index.ts | 8 +- .../src/hooks/admin/invites/index.ts | 4 +- .../src/hooks/admin/notes/index.ts | 2 +- .../src/hooks/admin/notifications/index.ts | 2 +- .../src/hooks/admin/order-edits/index.ts | 4 +- .../src/hooks/admin/orders/index.ts | 4 +- .../hooks/admin/payment-collections/index.ts | 2 +- .../src/hooks/admin/payments/index.ts | 2 +- .../src/hooks/admin/price-lists/index.ts | 4 +- .../hooks/admin/product-categories/index.ts | 4 +- .../src/hooks/admin/product-tags/index.ts | 2 +- .../src/hooks/admin/product-types/index.ts | 2 +- .../src/hooks/admin/products/index.ts | 6 +- .../hooks/admin/publishable-api-keys/index.ts | 4 +- .../src/hooks/admin/regions/index.ts | 4 +- .../src/hooks/admin/reservations/index.ts | 8 +- .../src/hooks/admin/return-reasons/index.ts | 4 +- .../src/hooks/admin/returns/index.ts | 4 +- .../src/hooks/admin/sales-channels/index.ts | 4 +- .../hooks/admin/sales-channels/mutations.ts | 4 +- .../src/hooks/admin/shipping-options/index.ts | 4 +- .../hooks/admin/shipping-profiles/index.ts | 4 +- .../src/hooks/admin/stock-locations/index.ts | 8 +- .../src/hooks/admin/store/index.ts | 2 +- .../src/hooks/admin/store/mutations.ts | 2 +- .../src/hooks/admin/swaps/index.ts | 4 +- .../src/hooks/admin/tax-rates/index.ts | 4 +- .../src/hooks/admin/uploads/index.ts | 4 +- .../src/hooks/admin/users/index.ts | 4 +- .../src/hooks/admin/variants/index.ts | 4 +- .../src/hooks/store/carts/index.ts | 4 +- .../src/hooks/store/collections/index.ts | 2 +- .../src/hooks/store/customers/index.ts | 4 +- .../src/hooks/store/customers/mutations.ts | 2 +- .../src/hooks/store/customers/queries.ts | 4 +- .../src/hooks/store/gift-cards/index.ts | 4 +- .../src/hooks/store/line-items/index.ts | 2 +- .../src/hooks/store/order-edits/index.ts | 4 +- .../src/hooks/store/orders/index.ts | 4 +- .../hooks/store/payment-collections/index.ts | 2 +- .../hooks/store/product-categories/index.ts | 4 +- .../src/hooks/store/product-tags/index.ts | 2 +- .../src/hooks/store/product-types/index.ts | 2 +- .../src/hooks/store/products/index.ts | 6 +- .../src/hooks/store/regions/index.ts | 4 +- .../src/hooks/store/return-reasons/index.ts | 2 +- .../src/hooks/store/returns/index.ts | 4 +- .../src/hooks/store/shipping-options/index.ts | 4 +- .../src/hooks/store/swaps/index.ts | 4 +- packages/medusa-source-shopify/README.md | 2 +- packages/medusa/README.md | 10 +- .../routes/admin/batch/create-batch-job.ts | 2 +- .../admin/collections/create-collection.ts | 2 +- .../admin/collections/update-collection.ts | 2 +- .../customer-groups/create-customer-group.ts | 2 +- .../customer-groups/update-customer-group.ts | 2 +- .../routes/admin/customers/create-customer.ts | 2 +- .../routes/admin/customers/update-customer.ts | 2 +- .../routes/admin/discounts/create-discount.ts | 2 +- .../admin/discounts/create-dynamic-code.ts | 2 +- .../routes/admin/discounts/update-discount.ts | 2 +- .../admin/draft-orders/create-draft-order.ts | 4 +- .../admin/draft-orders/create-line-item.ts | 2 +- .../admin/draft-orders/update-line-item.ts | 2 +- .../admin/gift-cards/create-gift-card.ts | 2 +- .../admin/gift-cards/update-gift-card.ts | 2 +- .../inventory-items/create-inventory-item.ts | 2 +- .../routes/admin/order-edits/add-line-item.ts | 2 +- .../api/routes/admin/orders/cancel-claim.ts | 2 +- .../api/routes/admin/orders/cancel-swap.ts | 2 +- .../admin/orders/create-claim-shipment.ts | 2 +- .../api/routes/admin/orders/create-claim.ts | 4 +- .../routes/admin/orders/create-fulfillment.ts | 4 +- .../routes/admin/orders/create-shipment.ts | 2 +- .../admin/orders/create-swap-shipment.ts | 2 +- .../api/routes/admin/orders/create-swap.ts | 2 +- .../api/routes/admin/orders/fulfill-claim.ts | 4 +- .../api/routes/admin/orders/fulfill-swap.ts | 4 +- .../admin/orders/process-swap-payment.ts | 2 +- .../api/routes/admin/orders/request-return.ts | 2 +- .../api/routes/admin/orders/update-claim.ts | 4 +- .../update-payment-collection.ts | 2 +- .../create-product-category.ts | 2 +- .../update-product-category.ts | 2 +- .../routes/admin/products/create-product.ts | 8 +- .../routes/admin/products/create-variant.ts | 4 +- .../api/routes/admin/products/set-metadata.ts | 2 +- .../routes/admin/products/update-product.ts | 6 +- .../routes/admin/products/update-variant.ts | 4 +- .../api/routes/admin/regions/update-region.ts | 2 +- .../admin/reservations/create-reservation.ts | 2 +- .../admin/reservations/update-reservation.ts | 2 +- .../admin/return-reasons/create-reason.ts | 2 +- .../admin/return-reasons/update-reason.ts | 2 +- .../create-shipping-option.ts | 2 +- .../update-shipping-option.ts | 2 +- .../create-shipping-profile.ts | 2 +- .../update-shipping-profile.ts | 2 +- .../stock-locations/create-stock-location.ts | 2 +- .../stock-locations/update-stock-location.ts | 2 +- .../api/routes/admin/store/update-store.ts | 2 +- .../admin/users/reset-password-token.ts | 4 +- .../api/routes/admin/users/reset-password.ts | 2 +- .../src/api/routes/admin/users/update-user.ts | 2 +- .../routes/admin/variants/list-variants.ts | 6 +- .../api/routes/store/carts/calculate-taxes.ts | 2 +- .../api/routes/store/carts/complete-cart.ts | 2 +- .../store/carts/create-line-item/index.ts | 2 +- .../routes/store/carts/update-line-item.ts | 2 +- .../store/customers/reset-password-token.ts | 2 +- .../routes/store/customers/reset-password.ts | 2 +- .../routes/store/customers/update-customer.ts | 2 +- .../store/order-edits/complete-order-edit.ts | 2 +- .../store/orders/confirm-order-request.ts | 2 +- .../api/routes/store/orders/request-order.ts | 2 +- .../list-product-categories.ts | 2 +- .../api/routes/store/products/get-product.ts | 2 +- .../routes/store/products/list-products.ts | 2 +- .../api/routes/store/regions/list-regions.ts | 2 +- .../api/routes/store/returns/create-return.ts | 2 +- .../shipping-options/list-shipping-options.ts | 2 +- .../src/api/routes/store/swaps/create-swap.ts | 2 +- .../api/routes/store/variants/get-variant.ts | 2 +- .../routes/store/variants/list-variants.ts | 2 +- .../src/interfaces/fulfillment-service.ts | 16 +- .../src/interfaces/notification-service.ts | 18 +- .../src/interfaces/payment-processor.ts | 28 +- .../interfaces/price-selection-strategy.ts | 8 +- .../interfaces/tax-calculation-strategy.ts | 2 +- packages/medusa/src/interfaces/tax-service.ts | 2 +- packages/medusa/src/models/address.ts | 2 +- packages/medusa/src/models/cart.ts | 4 +- packages/medusa/src/models/claim-image.ts | 2 +- packages/medusa/src/models/claim-item.ts | 2 +- packages/medusa/src/models/claim-order.ts | 4 +- packages/medusa/src/models/claim-tag.ts | 2 +- .../src/models/custom-shipping-option.ts | 2 +- packages/medusa/src/models/customer-group.ts | 2 +- packages/medusa/src/models/customer.ts | 2 +- .../discount-condition-customer-group.ts | 2 +- .../discount-condition-product-collection.ts | 2 +- .../models/discount-condition-product-tag.ts | 2 +- .../models/discount-condition-product-type.ts | 2 +- .../src/models/discount-condition-product.ts | 2 +- .../medusa/src/models/discount-condition.ts | 2 +- packages/medusa/src/models/discount-rule.ts | 2 +- packages/medusa/src/models/discount.ts | 2 +- packages/medusa/src/models/draft-order.ts | 4 +- packages/medusa/src/models/fulfillment.ts | 4 +- packages/medusa/src/models/gift-card.ts | 2 +- packages/medusa/src/models/idempotency-key.ts | 2 +- packages/medusa/src/models/image.ts | 2 +- packages/medusa/src/models/invite.ts | 2 +- .../medusa/src/models/line-item-adjustment.ts | 2 +- .../medusa/src/models/line-item-tax-line.ts | 2 +- packages/medusa/src/models/line-item.ts | 2 +- packages/medusa/src/models/order.ts | 4 +- .../medusa/src/models/payment-collection.ts | 2 +- packages/medusa/src/models/payment-session.ts | 2 +- packages/medusa/src/models/payment.ts | 4 +- .../medusa/src/models/product-category.ts | 2 +- .../medusa/src/models/product-collection.ts | 2 +- .../medusa/src/models/product-option-value.ts | 2 +- packages/medusa/src/models/product-option.ts | 2 +- packages/medusa/src/models/product-tag.ts | 2 +- .../medusa/src/models/product-tax-rate.ts | 2 +- .../src/models/product-type-tax-rate.ts | 2 +- packages/medusa/src/models/product-type.ts | 2 +- packages/medusa/src/models/product-variant.ts | 2 +- packages/medusa/src/models/product.ts | 2 +- packages/medusa/src/models/refund.ts | 4 +- packages/medusa/src/models/region.ts | 2 +- packages/medusa/src/models/return-item.ts | 2 +- packages/medusa/src/models/return-reason.ts | 2 +- packages/medusa/src/models/return.ts | 4 +- packages/medusa/src/models/sales-channel.ts | 2 +- .../src/models/shipping-method-tax-line.ts | 2 +- packages/medusa/src/models/shipping-option.ts | 2 +- .../medusa/src/models/shipping-profile.ts | 2 +- .../medusa/src/models/shipping-tax-rate.ts | 2 +- packages/medusa/src/models/store.ts | 2 +- packages/medusa/src/models/swap.ts | 4 +- packages/medusa/src/models/tax-line.ts | 2 +- packages/medusa/src/models/tax-rate.ts | 2 +- packages/medusa/src/models/tracking-link.ts | 4 +- packages/medusa/src/models/user.ts | 2 +- .../oas/medusa-oas-cli/src/command-oas.ts | 2 +- packages/product/README.md | 2 +- packages/types/src/auth/service.ts | 4 +- packages/types/src/common/config-module.ts | 12 +- packages/types/src/payment/provider.ts | 6 +- packages/types/src/payment/service.ts | 6 +- packages/types/src/tax/common.ts | 6 +- packages/types/src/tax/mutations.ts | 6 +- packages/types/src/tax/service.ts | 2 +- .../src/payment/abstract-payment-provider.ts | 8 +- packages/utils/src/search/abstract-service.ts | 4 +- .../file/classes/file.AbstractFileService.mdx | 2 +- ...fulfillment.AbstractFulfillmentService.mdx | 4 +- .../fulfillment.FulfillmentService.mdx | 2 +- ...y.IInventoryService.listInventoryItems.mdx | 2 +- ....IInventoryService.listInventoryLevels.mdx | 2 +- ...IInventoryService.listReservationItems.mdx | 2 +- ...InventoryService.retrieveInventoryItem.mdx | 2 +- .../interfaces/inventory.FindConfig.mdx | 2 +- .../inventory.IInventoryService.mdx | 2 + .../inventory.NumericalComparisonOperator.mdx | 4 +- .../inventory.StringComparisonOperator.mdx | 4 +- .../classes/js_client.AdminAuthResource.mdx | 2 +- .../js_client.AdminBatchJobsResource.mdx | 4 +- .../js_client.AdminCollectionsResource.mdx | 2 +- .../js_client.AdminCurrenciesResource.mdx | 2 +- .../js_client.AdminCustomerGroupsResource.mdx | 8 +- .../js_client.AdminCustomersResource.mdx | 4 +- .../js_client.AdminDiscountsResource.mdx | 14 +- .../js_client.AdminDraftOrdersResource.mdx | 4 +- .../js_client.AdminGiftCardsResource.mdx | 4 +- .../js_client.AdminInventoryItemsResource.mdx | 20 +- .../js_client.AdminInvitesResource.mdx | 2 +- .../js_client.AdminNotificationsResource.mdx | 4 +- .../js_client.AdminOrderEditsResource.mdx | 6 +- .../classes/js_client.AdminOrdersResource.mdx | 6 +- ...client.AdminPaymentCollectionsResource.mdx | 2 +- .../js_client.AdminPaymentsResource.mdx | 2 +- .../js_client.AdminPriceListResource.mdx | 4 +- ..._client.AdminProductCategoriesResource.mdx | 6 +- .../js_client.AdminProductsResource.mdx | 10 +- ..._client.AdminPublishableApiKeyResource.mdx | 4 +- .../js_client.AdminRegionsResource.mdx | 6 +- .../js_client.AdminReservationsResource.mdx | 8 +- .../js_client.AdminReturnReasonsResource.mdx | 2 +- .../js_client.AdminReturnsResource.mdx | 2 +- .../js_client.AdminSalesChannelsResource.mdx | 6 +- ...js_client.AdminShippingOptionsResource.mdx | 2 +- ...s_client.AdminShippingProfilesResource.mdx | 2 +- .../js_client.AdminStockLocationsResource.mdx | 18 +- .../classes/js_client.AdminStoresResource.mdx | 2 +- .../classes/js_client.AdminSwapsResource.mdx | 2 +- .../js_client.AdminTaxRatesResource.mdx | 22 +- .../js_client.AdminUploadsResource.mdx | 2 +- .../classes/js_client.AdminUsersResource.mdx | 4 +- .../js_client.AdminVariantsResource.mdx | 6 +- .../classes/js_client.AuthResource.mdx | 2 +- .../classes/js_client.CartsResource.mdx | 2 +- .../classes/js_client.CustomersResource.mdx | 4 +- .../classes/js_client.GiftCardsResource.mdx | 2 +- .../classes/js_client.OrderEditsResource.mdx | 2 +- .../classes/js_client.OrdersResource.mdx | 4 +- .../js_client.PaymentCollectionsResource.mdx | 2 +- .../js_client.ProductCategoriesResource.mdx | 6 +- .../js_client.ProductVariantsResource.mdx | 2 +- .../classes/js_client.ProductsResource.mdx | 6 +- .../classes/js_client.RegionsResource.mdx | 4 +- .../classes/js_client.ReturnsResource.mdx | 2 +- .../js_client.ShippingOptionsResource.mdx | 2 +- .../classes/js_client.SwapsResource.mdx | 2 +- .../medusa.AbstractFulfillmentService.mdx | 2 +- .../medusa.AbstractNotificationService.mdx | 10 +- .../medusa.AbstractPaymentProcessor.mdx | 22 +- .../medusa.AbstractPriceSelectionStrategy.mdx | 4 +- .../medusa.AbstractTaxCalculationStrategy.mdx | 4 +- .../classes/medusa.AbstractTaxService.mdx | 2 +- ...DiscountConditionsConditionBatchParams.mdx | 2 +- ...ountsDiscountConditionsConditionParams.mdx | 2 +- ...tCategoriesCategoryProductsBatchParams.mdx | 2 +- ...eleteTaxRatesTaxRateProductTypesParams.mdx | 2 +- ...minDeleteTaxRatesTaxRateProductsParams.mdx | 2 +- ...teTaxRatesTaxRateShippingOptionsParams.mdx | 2 +- .../medusa.AdminGetBatchPaginationParams.mdx | 2 +- .../classes/medusa.AdminGetBatchParams.mdx | 2 +- .../medusa.AdminGetCollectionsParams.mdx | 2 +- ...dusa.AdminGetCustomerGroupsGroupParams.mdx | 2 +- .../medusa.AdminGetCustomerGroupsParams.mdx | 2 +- .../medusa.AdminGetCustomersParams.mdx | 2 +- .../classes/medusa.AdminGetDiscountParams.mdx | 2 +- ...sa.AdminGetDiscountsDiscountCodeParams.mdx | 2 +- ...ountsDiscountConditionsConditionParams.mdx | 2 +- .../medusa.AdminGetDiscountsParams.mdx | 2 +- .../medusa.AdminGetDraftOrdersParams.mdx | 2 +- .../medusa.AdminGetGiftCardsParams.mdx | 2 +- ...InventoryItemsItemLocationLevelsParams.mdx | 2 +- ...edusa.AdminGetInventoryItemsItemParams.mdx | 2 +- .../medusa.AdminGetInventoryItemsParams.mdx | 2 +- .../medusa.AdminGetNotificationsParams.mdx | 2 +- .../medusa.AdminGetOrdersOrderParams.mdx | 2 +- .../classes/medusa.AdminGetOrdersParams.mdx | 2 +- ...edusa.AdminGetPaymentCollectionsParams.mdx | 2 +- ...inGetPriceListsPriceListProductsParams.mdx | 2 +- ...medusa.AdminGetProductCategoriesParams.mdx | 2 +- .../medusa.AdminGetProductCategoryParams.mdx | 2 +- .../classes/medusa.AdminGetProductParams.mdx | 2 +- .../classes/medusa.AdminGetProductsParams.mdx | 2 +- .../medusa.AdminGetProductsVariantsParams.mdx | 2 +- .../classes/medusa.AdminGetRegionsParams.mdx | 2 +- .../medusa.AdminGetRegionsRegionParams.mdx | 13 + .../medusa.AdminGetReservationsParams.mdx | 2 +- .../medusa.AdminGetSalesChannelsParams.mdx | 2 +- ...a.AdminGetStockLocationsLocationParams.mdx | 2 +- .../medusa.AdminGetStockLocationsParams.mdx | 2 +- .../classes/medusa.AdminGetTaxRatesParams.mdx | 2 +- .../medusa.AdminGetTaxRatesTaxRateParams.mdx | 2 +- .../classes/medusa.AdminGetVariantParams.mdx | 2 +- .../classes/medusa.AdminGetVariantsParams.mdx | 2 +- ...AdminGetWorkflowExecutionDetailsParams.mdx | 13 + ...edusa.AdminGetWorkflowExecutionsParams.mdx | 11 + .../medusa.AdminListCustomerSelector.mdx | 2 +- ...DiscountConditionsConditionBatchParams.mdx | 2 +- ...ountsDiscountConditionsConditionParams.mdx | 2 +- ...nPostDiscountsDiscountConditionsParams.mdx | 2 +- ...edusa.AdminPostDiscountsDiscountParams.mdx | 2 +- .../medusa.AdminPostDiscountsParams.mdx | 2 +- ...nPostInventoryItemsInventoryItemParams.mdx | 2 +- ...toryItemsItemLocationLevelsLevelParams.mdx | 2 +- ...ventoryItemsItemLocationLevelsLevelReq.mdx | 2 +- ...InventoryItemsItemLocationLevelsParams.mdx | 2 +- ...ostInventoryItemsItemLocationLevelsReq.mdx | 2 +- .../medusa.AdminPostInventoryItemsParams.mdx | 2 +- .../medusa.AdminPostOrdersClaimCancel.mdx | 2 +- ...ostOrdersClaimFulfillmentsCancelParams.mdx | 2 +- ...dusa.AdminPostOrdersOrderArchiveParams.mdx | 2 +- .../medusa.AdminPostOrdersOrderCancel.mdx | 2 +- ...dusa.AdminPostOrdersOrderCaptureParams.mdx | 2 +- ...dersOrderClaimsClaimFulfillmentsParams.mdx | 2 +- ....AdminPostOrdersOrderClaimsClaimParams.mdx | 2 +- ...tOrdersOrderClaimsClaimShipmentsParams.mdx | 2 +- ...edusa.AdminPostOrdersOrderClaimsParams.mdx | 2 +- ...usa.AdminPostOrdersOrderCompleteParams.mdx | 2 +- ...stOrdersOrderFulfillementsCancelParams.mdx | 2 +- ...AdminPostOrdersOrderFulfillmentsParams.mdx | 2 +- .../medusa.AdminPostOrdersOrderParams.mdx | 2 +- ...dusa.AdminPostOrdersOrderRefundsParams.mdx | 2 +- ...dusa.AdminPostOrdersOrderReturnsParams.mdx | 2 +- ...usa.AdminPostOrdersOrderShipmentParams.mdx | 2 +- ...inPostOrdersOrderShippingMethodsParams.mdx | 2 +- ...dersOrderSwapFulfillementsCancelParams.mdx | 2 +- ...medusa.AdminPostOrdersOrderSwapsParams.mdx | 2 +- ...OrdersOrderSwapsSwapFulfillmentsParams.mdx | 2 +- ...dersOrderSwapsSwapProcessPaymentParams.mdx | 2 +- ...ostOrdersOrderSwapsSwapShipmentsParams.mdx | 2 +- ...medusa.AdminPostOrdersSwapCancelParams.mdx | 2 +- ...minPostProductCategoriesCategoryParams.mdx | 2 +- ...tCategoriesCategoryProductsBatchParams.mdx | 2 +- ...edusa.AdminPostProductCategoriesParams.mdx | 2 +- ....AdminPostStockLocationsLocationParams.mdx | 2 +- .../medusa.AdminPostStockLocationsParams.mdx | 2 +- .../medusa.AdminPostTaxRatesParams.mdx | 2 +- .../medusa.AdminPostTaxRatesTaxRateParams.mdx | 2 +- ...nPostTaxRatesTaxRateProductTypesParams.mdx | 2 +- ...AdminPostTaxRatesTaxRateProductsParams.mdx | 2 +- ...stTaxRatesTaxRateShippingOptionsParams.mdx | 2 +- ...usa.AdminPostWorkflowsAsyncResponseReq.mdx | 11 + .../medusa.AdminPostWorkflowsRunReq.mdx | 11 + .../medusa.AdminPriceSelectionParams.mdx | 2 +- .../classes/medusa.FindPaginationParams.mdx | 2 +- .../medusa/classes/medusa.FindParams.mdx | 2 +- .../medusa.GetOrderEditsOrderEditParams.mdx | 2 +- .../classes/medusa.GetOrderEditsParams.mdx | 2 +- .../classes/medusa.GetPaymentsParams.mdx | 2 +- .../medusa.GetPublishableApiKeysParams.mdx | 2 +- .../classes/medusa.PriceSelectionParams.mdx | 2 +- ...ustomersCustomerOrdersPaginationParams.mdx | 2 +- ....StoreGetCustomersCustomerOrdersParams.mdx | 2 +- .../classes/medusa.StoreGetOrdersParams.mdx | 2 +- ...edusa.StoreGetPaymentCollectionsParams.mdx | 2 +- ...toreGetProductCategoriesCategoryParams.mdx | 2 +- ...medusa.StoreGetProductCategoriesParams.mdx | 2 +- ...edusa.StoreGetProductsPaginationParams.mdx | 2 +- .../classes/medusa.StoreGetProductsParams.mdx | 2 +- .../classes/medusa.StoreGetRegionsParams.mdx | 2 +- .../medusa.StoreGetRegionsRegionParams.mdx | 2 +- .../classes/medusa.StoreGetVariantsParams.mdx | 2 +- .../medusa.StoreGetVariantsVariantParams.mdx | 2 +- .../enums/medusa.TransactionHandlerType.mdx | 17 + .../medusa.AuthenticatedMedusaRequest.mdx | 15 + .../interfaces/medusa.ConfigModule-1.mdx | 2 +- .../medusa.FulfillmentAddressDTO.mdx | 13 + .../interfaces/medusa.FulfillmentDTO.mdx | 13 + .../interfaces/medusa.FulfillmentItemDTO.mdx | 13 + .../interfaces/medusa.FulfillmentLabelDTO.mdx | 13 + .../medusa.FulfillmentProviderDTO.mdx | 13 + .../interfaces/medusa.FulfillmentService.mdx | 2 +- .../interfaces/medusa.FulfillmentSetDTO.mdx | 13 + .../medusa/interfaces/medusa.GeoZoneDTO.mdx | 13 + .../medusa.INotificationService.mdx | 10 +- .../medusa.IPriceSelectionStrategy.mdx | 4 +- .../medusa.ITaxCalculationStrategy.mdx | 4 +- .../medusa/interfaces/medusa.ITaxService.mdx | 2 +- .../interfaces/medusa.JoinerServiceConfig.mdx | 11 - .../medusa.JoinerServiceConfigAlias.mdx | 11 - .../interfaces/medusa.MedusaRequest.mdx | 6 +- .../interfaces/medusa.PaginatedResponse-1.mdx | 17 + .../interfaces/medusa.PaymentProcessor.mdx | 6 +- .../medusa.PriceSelectionContext.mdx | 2 +- .../medusa.PriceSelectionResult.mdx | 2 +- .../interfaces/medusa.ProductCategoryDTO.mdx | 2 +- .../medusa.ProductCollectionDTO.mdx | 2 +- .../medusa/interfaces/medusa.ProductDTO.mdx | 2 +- .../interfaces/medusa.ProductImageDTO.mdx | 2 +- .../interfaces/medusa.ProductOptionDTO.mdx | 2 +- .../medusa.ProductOptionValueDTO.mdx | 2 +- .../interfaces/medusa.ProductTagDTO.mdx | 2 +- .../interfaces/medusa.ProductTypeDTO.mdx | 2 +- .../interfaces/medusa.ProductVariantDTO.mdx | 2 +- .../medusa.ProjectConfigOptions.mdx | 2 +- .../medusa.RequestQueryFields-1.mdx | 13 + .../interfaces/medusa.RequestQueryFields.mdx | 2 +- .../interfaces/medusa.ServiceZoneDTO.mdx | 13 + .../interfaces/medusa.ShippingOptionDTO.mdx | 13 + .../medusa.ShippingOptionRuleDTO.mdx | 13 + .../medusa.ShippingOptionTypeDTO.mdx | 13 + .../interfaces/medusa.ShippingProfileDTO.mdx | 13 + .../medusa.AdminNotificationsListRes.mdx | 2 +- .../medusa.AdminStockLocationsListRes.mdx | 2 +- .../medusa/types/medusa.AdminUsersListRes.mdx | 2 +- .../medusa/types/medusa.DeleteResponse-1.mdx | 6 +- .../types/medusa.DraftOrderStatusValue.mdx | 9 + .../medusa/types/medusa.GeoZoneType.mdx | 11 + .../medusa.InternalModuleDeclaration.mdx | 2 +- .../types/medusa.JoinerRelationship.mdx | 13 - .../medusa/types/medusa.LoaderOptions.mdx | 2 +- .../medusa.MedusaErrorHandlerFunction.mdx | 2 +- .../types/medusa.MedusaPricingContext.mdx | 13 + .../types/medusa.MedusaRequestHandler.mdx | 8 +- .../medusa/types/medusa.MedusaResponse.mdx | 6 +- .../types/medusa.ModuleJoinerConfig.mdx | 9 - .../types/medusa.ModuleJoinerRelationship.mdx | 9 - .../types/medusa.ModuleLoaderFunction.mdx | 2 +- .../types/medusa.PaginatedResponse-1.mdx | 13 - .../medusa/types/medusa.ParserConfig.mdx | 2 +- .../medusa/types/medusa.ParserConfigArgs.mdx | 13 + .../medusa/types/medusa.QueryConfig.mdx | 2 +- .../types/medusa.ShippingOptionPriceType.mdx | 14 + .../types/medusa.StockLocationAddressDTO.mdx | 2 +- .../medusa/types/medusa.StockLocationDTO.mdx | 2 +- .../types/medusa.StoreRegionsListRes.mdx | 2 +- .../interfaces/medusa_config.ConfigModule.mdx | 155 +- .../medusa_config.HttpCompressionOptions.mdx | 2 +- .../medusa_config.ProjectConfigOptions.mdx | 2 +- .../types/medusa_config.PluginDetails.mdx | 13 + .../Admin/medusa_react.Hooks.Admin.Auth.mdx | 2 +- .../medusa_react.Hooks.Admin.Batch_Jobs.mdx | 4 +- .../Admin/medusa_react.Hooks.Admin.Claims.mdx | 2 +- .../medusa_react.Hooks.Admin.Currencies.mdx | 2 +- ...dusa_react.Hooks.Admin.Customer_Groups.mdx | 8 +- .../medusa_react.Hooks.Admin.Customers.mdx | 4 +- .../medusa_react.Hooks.Admin.Discounts.mdx | 10 +- .../medusa_react.Hooks.Admin.Draft_Orders.mdx | 4 +- .../medusa_react.Hooks.Admin.Gift_Cards.mdx | 4 +- ...dusa_react.Hooks.Admin.Inventory_Items.mdx | 16 +- .../medusa_react.Hooks.Admin.Invites.mdx | 2 +- ...medusa_react.Hooks.Admin.Notifications.mdx | 4 +- .../medusa_react.Hooks.Admin.Order_Edits.mdx | 6 +- .../Admin/medusa_react.Hooks.Admin.Orders.mdx | 6 +- .../medusa_react.Hooks.Admin.Price_Lists.mdx | 4 +- ...a_react.Hooks.Admin.Product_Categories.mdx | 6 +- ..._react.Hooks.Admin.Product_Collections.mdx | 2 +- ...usa_react.Hooks.Admin.Product_Variants.mdx | 6 +- .../medusa_react.Hooks.Admin.Products.mdx | 8 +- ...react.Hooks.Admin.Publishable_API_Keys.mdx | 4 +- .../medusa_react.Hooks.Admin.Regions.mdx | 4 +- .../medusa_react.Hooks.Admin.Reservations.mdx | 8 +- ...edusa_react.Hooks.Admin.Return_Reasons.mdx | 2 +- .../medusa_react.Hooks.Admin.Returns.mdx | 2 +- ...edusa_react.Hooks.Admin.Sales_Channels.mdx | 8 +- ...usa_react.Hooks.Admin.Shipping_Options.mdx | 2 +- ...sa_react.Hooks.Admin.Shipping_Profiles.mdx | 2 +- ...dusa_react.Hooks.Admin.Stock_Locations.mdx | 18 +- .../Admin/medusa_react.Hooks.Admin.Stores.mdx | 2 +- .../Admin/medusa_react.Hooks.Admin.Swaps.mdx | 2 +- .../medusa_react.Hooks.Admin.Tax_Rates.mdx | 6 +- .../medusa_react.Hooks.Admin.Uploads.mdx | 2 +- .../Admin/medusa_react.Hooks.Admin.Users.mdx | 4 +- .../Store/medusa_react.Hooks.Store.Carts.mdx | 2 +- .../medusa_react.Hooks.Store.Customers.mdx | 10 +- .../medusa_react.Hooks.Store.Gift_Cards.mdx | 2 +- .../medusa_react.Hooks.Store.Order_Edits.mdx | 2 +- .../Store/medusa_react.Hooks.Store.Orders.mdx | 4 +- ...a_react.Hooks.Store.Product_Categories.mdx | 6 +- .../medusa_react.Hooks.Store.Products.mdx | 6 +- .../medusa_react.Hooks.Store.Regions.mdx | 4 +- .../medusa_react.Hooks.Store.Returns.mdx | 2 +- ...usa_react.Hooks.Store.Shipping_Options.mdx | 2 +- .../Store/medusa_react.Hooks.Store.Swaps.mdx | 2 +- .../Providers/medusa_react.Providers.Cart.mdx | 4 +- .../medusa_react.Providers.Medusa.mdx | 4 +- .../medusa_react.MedusaProviderProps.mdx | 2 +- .../content/references/modules/medusa.mdx | 90 +- .../references/modules/medusa_config.mdx | 4 + .../content/references/modules/pricing.mdx | 31 +- .../content/references/modules/product.mdx | 10 +- .../references/modules/stock_location.mdx | 26 +- .../docs/content/references/modules/types.mdx | 125 +- ...tification.AbstractNotificationService.mdx | 16 +- .../notification.INotificationService.mdx | 10 +- .../payment.AbstractPaymentProcessor.mdx | 8 +- .../interfaces/payment.PaymentProcessor.mdx | 2 +- ...lection.AbstractPriceSelectionStrategy.mdx | 4 +- ...rice_selection.IPriceSelectionStrategy.mdx | 4 +- .../price_selection.PriceSelectionContext.mdx | 2 +- .../price_selection.PriceSelectionResult.mdx | 2 +- ....IMessageAggregator.saveRawMessageData.mdx | 15 + ...ricingModuleService.addPriceListPrices.mdx | 35 +- ...ricing.IPricingModuleService.addPrices.mdx | 164 +- ...pricing.IPricingModuleService.addRules.mdx | 64 +- ....IPricingModuleService.calculatePrices.mdx | 87 +- .../pricing.IPricingModuleService.create.mdx | 234 +- ...IPricingModuleService.createCurrencies.mdx | 47 - ...ricingModuleService.createMoneyAmounts.mdx | 51 - ...cingModuleService.createPriceListRules.mdx | 23 +- ...IPricingModuleService.createPriceLists.mdx | 30 +- ...IPricingModuleService.createPriceRules.mdx | 33 +- ...Service.createPriceSetMoneyAmountRules.mdx | 47 - ....IPricingModuleService.createRuleTypes.mdx | 28 +- .../pricing.IPricingModuleService.delete.mdx | 12 +- ...IPricingModuleService.deleteCurrencies.mdx | 39 - ...ricingModuleService.deleteMoneyAmounts.mdx | 40 - ...cingModuleService.deletePriceListRules.mdx | 15 +- ...IPricingModuleService.deletePriceLists.mdx | 15 +- ...IPricingModuleService.deletePriceRules.mdx | 17 +- ...Service.deletePriceSetMoneyAmountRules.mdx | 38 - ....IPricingModuleService.deleteRuleTypes.mdx | 15 +- .../pricing.IPricingModuleService.list.mdx | 110 +- ...ing.IPricingModuleService.listAndCount.mdx | 93 +- ...ngModuleService.listAndCountCurrencies.mdx | 94 - ...ModuleService.listAndCountMoneyAmounts.mdx | 126 - ...duleService.listAndCountPriceListRules.mdx | 89 +- ...ngModuleService.listAndCountPriceLists.mdx | 91 +- ...ngModuleService.listAndCountPriceRules.mdx | 98 +- ...e.listAndCountPriceSetMoneyAmountRules.mdx | 116 - ...rvice.listAndCountPriceSetMoneyAmounts.mdx | 116 - ...ricingModuleService.listAndCountPrices.mdx | 65 + ...ingModuleService.listAndCountRuleTypes.mdx | 104 +- ...g.IPricingModuleService.listCurrencies.mdx | 94 - ...IPricingModuleService.listMoneyAmounts.mdx | 126 - ...ricingModuleService.listPriceListRules.mdx | 89 +- ...g.IPricingModuleService.listPriceLists.mdx | 108 +- ...g.IPricingModuleService.listPriceRules.mdx | 95 +- ...leService.listPriceSetMoneyAmountRules.mdx | 115 - ...ModuleService.listPriceSetMoneyAmounts.mdx | 115 - ...icing.IPricingModuleService.listPrices.mdx | 62 + ...ng.IPricingModuleService.listRuleTypes.mdx | 105 +- ...cingModuleService.removePriceListRules.mdx | 21 +- ...ing.IPricingModuleService.removePrices.mdx | 33 + ...cing.IPricingModuleService.removeRules.mdx | 22 +- ...PricingModuleService.restorePriceLists.mdx | 33 + ...ng.IPricingModuleService.restorePrices.mdx | 33 + ...pricing.IPricingModuleService.retrieve.mdx | 41 +- ...IPricingModuleService.retrieveCurrency.mdx | 65 - ...icingModuleService.retrieveMoneyAmount.mdx | 65 - ...PricingModuleService.retrievePriceList.mdx | 39 +- ...ingModuleService.retrievePriceListRule.mdx | 36 +- ...PricingModuleService.retrievePriceRule.mdx | 32 +- ...rvice.retrievePriceSetMoneyAmountRules.mdx | 60 - ...IPricingModuleService.retrieveRuleType.mdx | 38 +- ...PricingModuleService.setPriceListRules.mdx | 25 +- ...ngModuleService.softDeleteMoneyAmounts.mdx | 40 - ...cingModuleService.softDeletePriceLists.mdx | 33 + ...IPricingModuleService.softDeletePrices.mdx | 33 + .../pricing.IPricingModuleService.update.mdx | 62 + ...IPricingModuleService.updateCurrencies.mdx | 45 - ...ricingModuleService.updateMoneyAmounts.mdx | 45 - ...ingModuleService.updatePriceListPrices.mdx | 43 + ...cingModuleService.updatePriceListRules.mdx | 24 +- ...IPricingModuleService.updatePriceLists.mdx | 30 +- ...IPricingModuleService.updatePriceRules.mdx | 24 +- ...Service.updatePriceSetMoneyAmountRules.mdx | 45 - ....IPricingModuleService.updateRuleTypes.mdx | 28 +- .../pricing.IPricingModuleService.upsert.mdx | 66 + .../pricing.AddPriceListPricesDTO.mdx | 2 +- .../interfaces/pricing.AddPricesDTO.mdx | 2 +- .../interfaces/pricing.CalculatedPriceSet.mdx | 2 +- .../pricing/interfaces/pricing.Context.mdx | 2 +- .../interfaces/pricing.CreateCurrencyDTO.mdx | 11 - .../pricing.CreateMoneyAmountDTO.mdx | 2 +- .../interfaces/pricing.CreatePriceListDTO.mdx | 2 +- .../pricing.CreatePriceListPriceDTO.mdx | 11 + .../interfaces/pricing.CreatePriceRuleDTO.mdx | 2 +- .../interfaces/pricing.CreatePriceSetDTO.mdx | 2 +- ...cing.CreatePriceSetMoneyAmountRulesDTO.mdx | 11 - .../interfaces/pricing.CreatePricesDTO.mdx | 2 +- .../interfaces/pricing.CreateRuleTypeDTO.mdx | 2 +- .../interfaces/pricing.CurrencyDTO.mdx | 11 - .../pricing.FilterableCurrencyProps.mdx | 11 - .../pricing.FilterablePriceListProps.mdx | 2 +- .../pricing.FilterablePriceProps.mdx | 11 + ...ing.FilterablePriceSetMoneyAmountProps.mdx | 11 - ...ilterablePriceSetMoneyAmountRulesProps.mdx | 11 - .../pricing.FilterablePriceSetProps.mdx | 2 +- .../pricing/interfaces/pricing.FindConfig.mdx | 2 +- .../interfaces/pricing.IMessageAggregator.mdx | 1 + .../pricing.IPricingModuleService.mdx | 34 +- .../interfaces/pricing.MoneyAmountDTO.mdx | 2 +- .../pricing/interfaces/pricing.PriceDTO.mdx | 11 + .../interfaces/pricing.PriceListDTO.mdx | 2 +- .../interfaces/pricing.PriceListPriceDTO.mdx | 11 - .../interfaces/pricing.PriceListRuleDTO.mdx | 2 +- .../pricing.PriceListRuleValueDTO.mdx | 2 +- .../interfaces/pricing.PriceRuleDTO.mdx | 2 +- .../interfaces/pricing.PriceSetDTO.mdx | 2 +- .../pricing.PriceSetMoneyAmountDTO.mdx | 11 - .../pricing.PriceSetMoneyAmountRulesDTO.mdx | 11 - .../interfaces/pricing.PricingContext.mdx | 2 +- .../interfaces/pricing.PricingFilters.mdx | 4 +- .../pricing.RemovePriceListRulesDTO.mdx | 2 +- .../interfaces/pricing.RuleTypeDTO.mdx | 2 +- .../pricing.SetPriceListRulesDTO.mdx | 4 +- .../interfaces/pricing.UpdateCurrencyDTO.mdx | 11 - .../pricing.UpdateMoneyAmountDTO.mdx | 2 +- .../interfaces/pricing.UpdatePriceListDTO.mdx | 2 +- .../pricing.UpdatePriceListPriceDTO.mdx | 11 + .../pricing.UpdatePriceListPricesDTO.mdx | 11 + .../interfaces/pricing.UpdatePriceRuleDTO.mdx | 4 +- .../interfaces/pricing.UpdatePriceSetDTO.mdx | 4 +- ...cing.UpdatePriceSetMoneyAmountRulesDTO.mdx | 11 - .../interfaces/pricing.UpsertPriceSetDTO.mdx | 11 + .../pricing/types/pricing.BigNumberInput.mdx | 9 + .../types/pricing.BigNumberRawValue.mdx | 17 + .../pricing/types/pricing.BigNumberValue.mdx | 9 + .../pricing/types/pricing.ExpandScalar.mdx | 9 + .../pricing/types/pricing.FilterQuery.mdx | 9 + .../pricing/types/pricing.FilterValue.mdx | 9 + .../pricing/types/pricing.FilterValue2.mdx | 9 + .../pricing/types/pricing.MessageFormat.mdx | 13 + .../pricing/types/pricing.OperatorMap.mdx | 13 + .../pricing/types/pricing.PrevLimit.mdx | 9 + .../pricing/types/pricing.Primary.mdx | 9 + .../pricing/types/pricing.Query.mdx | 9 + .../pricing/types/pricing.ReadonlyPrimary.mdx | 9 + .../pricing/types/pricing.Scalar.mdx | 9 + ....IMessageAggregator.saveRawMessageData.mdx | 15 + .../product.IProductModuleService.create.mdx | 52 +- ...t.IProductModuleService.createCategory.mdx | 22 +- ...ProductModuleService.createCollections.mdx | 51 +- ...ct.IProductModuleService.createOptions.mdx | 60 +- ...oduct.IProductModuleService.createTags.mdx | 25 +- ...duct.IProductModuleService.createTypes.mdx | 46 +- ...t.IProductModuleService.createVariants.mdx | 62 +- .../product.IProductModuleService.delete.mdx | 12 +- ...t.IProductModuleService.deleteCategory.mdx | 12 +- ...ProductModuleService.deleteCollections.mdx | 15 +- ...ct.IProductModuleService.deleteOptions.mdx | 15 +- ...oduct.IProductModuleService.deleteTags.mdx | 16 +- ...duct.IProductModuleService.deleteTypes.mdx | 15 +- ...t.IProductModuleService.deleteVariants.mdx | 15 +- .../product.IProductModuleService.list.mdx | 95 +- ...uct.IProductModuleService.listAndCount.mdx | 98 +- ...ctModuleService.listAndCountCategories.mdx | 98 +- ...tModuleService.listAndCountCollections.mdx | 98 +- ...oductModuleService.listAndCountOptions.mdx | 98 +- ...IProductModuleService.listAndCountTags.mdx | 98 +- ...ProductModuleService.listAndCountTypes.mdx | 93 +- ...ductModuleService.listAndCountVariants.mdx | 98 +- ...t.IProductModuleService.listCategories.mdx | 97 +- ....IProductModuleService.listCollections.mdx | 98 +- ...duct.IProductModuleService.listOptions.mdx | 97 +- ...product.IProductModuleService.listTags.mdx | 95 +- ...roduct.IProductModuleService.listTypes.mdx | 93 +- ...uct.IProductModuleService.listVariants.mdx | 95 +- .../product.IProductModuleService.restore.mdx | 16 +- ...roductModuleService.restoreCollections.mdx | 33 + ....IProductModuleService.restoreOptions.mdx} | 34 +- ...uct.IProductModuleService.restoreTypes.mdx | 33 + ....IProductModuleService.restoreVariants.mdx | 20 +- ...product.IProductModuleService.retrieve.mdx | 32 +- ...IProductModuleService.retrieveCategory.mdx | 36 +- ...roductModuleService.retrieveCollection.mdx | 32 +- ...t.IProductModuleService.retrieveOption.mdx | 36 +- ...duct.IProductModuleService.retrieveTag.mdx | 35 +- ...uct.IProductModuleService.retrieveType.mdx | 37 +- ....IProductModuleService.retrieveVariant.mdx | 36 +- ...oduct.IProductModuleService.softDelete.mdx | 17 +- ...uctModuleService.softDeleteCollections.mdx | 35 + ...roductModuleService.softDeleteOptions.mdx} | 33 +- ....IProductModuleService.softDeleteTypes.mdx | 35 + ...roductModuleService.softDeleteVariants.mdx | 35 + .../product.IProductModuleService.update.mdx | 59 +- ...t.IProductModuleService.updateCategory.mdx | 23 +- ...ProductModuleService.updateCollections.mdx | 52 +- ...ct.IProductModuleService.updateOptions.mdx | 61 +- ...duct.IProductModuleService.updateTypes.mdx | 61 +- ...t.IProductModuleService.updateVariants.mdx | 53 +- .../product.IProductModuleService.upsert.mdx | 60 + ...ProductModuleService.upsertCollections.mdx | 63 + ...ct.IProductModuleService.upsertOptions.mdx | 63 + ...duct.IProductModuleService.upsertTypes.mdx | 65 + ...t.IProductModuleService.upsertVariants.mdx | 64 + .../product/interfaces/product.Context.mdx | 2 +- .../product.CreateProductCategoryDTO.mdx | 2 +- .../interfaces/product.CreateProductDTO.mdx | 2 +- .../product.CreateProductOptionDTO.mdx | 2 +- .../product.CreateProductTypeDTO.mdx | 2 +- .../product.CreateProductVariantDTO.mdx | 2 +- .../product.CreateProductVariantOptionDTO.mdx | 11 - ...product.FilterableProductCategoryProps.mdx | 2 +- ...oduct.FilterableProductCollectionProps.mdx | 2 +- .../product.FilterableProductOptionProps.mdx | 2 +- .../product.FilterableProductProps.mdx | 2 +- .../product.FilterableProductTagProps.mdx | 2 +- .../product.FilterableProductTypeProps.mdx | 2 +- .../product.FilterableProductVariantProps.mdx | 2 +- .../product/interfaces/product.FindConfig.mdx | 2 +- .../interfaces/product.IMessageAggregator.mdx | 1 + .../product.IProductModuleService.mdx | 31 +- .../interfaces/product.ProductCategoryDTO.mdx | 2 +- .../product.ProductCollectionDTO.mdx | 2 +- .../product/interfaces/product.ProductDTO.mdx | 2 +- .../interfaces/product.ProductImageDTO.mdx | 2 +- .../interfaces/product.ProductOptionDTO.mdx | 2 +- .../product.ProductOptionValueDTO.mdx | 2 +- .../interfaces/product.ProductTagDTO.mdx | 2 +- .../interfaces/product.ProductTypeDTO.mdx | 2 +- .../interfaces/product.ProductVariantDTO.mdx | 2 +- .../product.UpdateProductCategoryDTO.mdx | 2 +- .../product.UpdateProductCollectionDTO.mdx | 2 +- .../interfaces/product.UpdateProductDTO.mdx | 4 +- .../product.UpdateProductImageDTO.mdx | 11 + .../product.UpdateProductOptionDTO.mdx | 2 +- .../product.UpdateProductTagDTO.mdx | 2 +- .../product.UpdateProductTypeDTO.mdx | 2 +- .../product.UpdateProductVariantDTO.mdx | 2 +- .../product.UpsertProductCollectionDTO.mdx | 11 + .../interfaces/product.UpsertProductDTO.mdx | 11 + .../product.UpsertProductImageDTO.mdx | 11 + .../product.UpsertProductOptionDTO.mdx | 11 + .../product.UpsertProductTagDTO.mdx | 11 + .../product.UpsertProductTypeDTO.mdx | 11 + .../product.UpsertProductVariantDTO.mdx | 11 + .../product/types/product.MessageFormat.mdx | 13 + .../classes/search.AbstractSearchService.mdx | 4 +- .../services/classes/services.CartService.mdx | 2 +- .../classes/services.NotificationService.mdx | 2 +- .../classes/services.PricingService.mdx | 24 +- ...ervices.ProductVariantInventoryService.mdx | 4 +- .../services.SalesChannelInventoryService.mdx | 2 +- .../services.SalesChannelLocationService.mdx | 2 +- .../classes/services.SearchService.mdx | 280 +- .../services.ShippingProfileService.mdx | 4 +- .../classes/services.TaxProviderService.mdx | 10 +- .../services/classes/services.UserService.mdx | 4 +- ..._location.IStockLocationService.create.mdx | 4 +- ...ck_location.IStockLocationService.list.mdx | 2 +- ...ion.IStockLocationService.listAndCount.mdx | 2 +- ...ocation.IStockLocationService.retrieve.mdx | 4 +- ..._location.IStockLocationService.update.mdx | 4 +- .../stock_location.BaseFilterable.mdx | 13 + ..._location.FilterableStockLocationProps.mdx | 2 +- .../interfaces/stock_location.FindConfig.mdx | 2 +- .../stock_location.FulfillmentAddressDTO.mdx | 9 + .../stock_location.FulfillmentDTO.mdx | 9 + .../stock_location.FulfillmentItemDTO.mdx | 9 + .../stock_location.FulfillmentLabelDTO.mdx | 9 + .../stock_location.FulfillmentProviderDTO.mdx | 9 + .../stock_location.FulfillmentSetDTO.mdx | 9 + .../interfaces/stock_location.GeoZoneDTO.mdx | 9 + .../stock_location.IStockLocationService.mdx | 2 + .../stock_location.ServiceZoneDTO.mdx | 9 + .../stock_location.ShippingOptionDTO.mdx | 9 + .../stock_location.ShippingOptionRuleDTO.mdx | 9 + .../stock_location.ShippingOptionTypeDTO.mdx | 9 + .../stock_location.ShippingProfileDTO.mdx | 9 + ...tock_location.StringComparisonOperator.mdx | 7 - ...tock_location.CreateStockLocationInput.mdx | 2 +- .../types/stock_location.ExpandScalar.mdx | 9 + .../types/stock_location.FilterQuery.mdx | 9 + .../types/stock_location.FilterValue.mdx | 9 + .../types/stock_location.FilterValue2.mdx | 9 + .../types/stock_location.GeoZoneType.mdx | 7 + .../types/stock_location.OperatorMap.mdx | 13 + .../types/stock_location.PrevLimit.mdx | 5 + .../types/stock_location.Primary.mdx | 9 + .../types/stock_location.Query.mdx | 9 + .../types/stock_location.ReadonlyPrimary.mdx | 9 + .../types/stock_location.Scalar.mdx | 5 + ...stock_location.ShippingOptionPriceType.mdx | 10 + ...stock_location.StockLocationAddressDTO.mdx | 2 +- ...ock_location.StockLocationAddressInput.mdx | 2 +- .../types/stock_location.StockLocationDTO.mdx | 2 +- ...tock_location.UpdateStockLocationInput.mdx | 2 +- .../tax/classes/tax.AbstractTaxService.mdx | 2 +- .../tax/interfaces/tax.ITaxService.mdx | 2 +- ...ulation.AbstractTaxCalculationStrategy.mdx | 4 +- ...ax_calculation.ITaxCalculationStrategy.mdx | 4 +- ...es.CartTypes.AddToCartWorkflowInputDTO.mdx | 7 + .../types.CartTypes.AdjustmentLineDTO.mdx | 4 +- .../types.CartTypes.CartAddressDTO.mdx | 4 +- .../interfaces/types.CartTypes.CartDTO.mdx | 4 +- .../types.CartTypes.CartLineItemDTO.mdx | 4 +- .../types.CartTypes.CartLineItemTotalsDTO.mdx | 9 + .../types.CartTypes.CartShippingMethodDTO.mdx | 4 +- .../types.CartTypes.CartWorkflowDTO.mdx | 9 + .../types.CartTypes.CreateAddressDTO.mdx | 4 +- .../types.CartTypes.CreateAdjustmentDTO.mdx | 4 +- .../types.CartTypes.CreateCartAddressDTO.mdx | 7 + ....CartTypes.CreateCartCreateLineItemDTO.mdx | 7 + .../types.CartTypes.CreateCartDTO.mdx | 4 +- ...s.CartTypes.CreateCartWorkflowInputDTO.mdx | 7 + ....CartTypes.CreateLineItemAdjustmentDTO.mdx | 4 +- .../types.CartTypes.CreateLineItemDTO.mdx | 4 +- ...pes.CartTypes.CreateLineItemForCartDTO.mdx | 4 +- ...pes.CartTypes.CreateLineItemTaxLineDTO.mdx | 4 +- ...ymentCollectionForCartWorkflowInputDTO.mdx | 7 + ...ypes.CreateShippingMethodAdjustmentDTO.mdx | 4 +- ...ypes.CartTypes.CreateShippingMethodDTO.mdx | 4 +- ...s.CreateShippingMethodForSingleCartDTO.mdx | 4 +- ...rtTypes.CreateShippingMethodTaxLineDTO.mdx | 4 +- .../types.CartTypes.CreateTaxLineDTO.mdx | 4 +- ...types.CartTypes.FilterableAddressProps.mdx | 4 +- .../types.CartTypes.FilterableCartProps.mdx | 4 +- ...ypes.FilterableLineItemAdjustmentProps.mdx | 4 +- ...ypes.CartTypes.FilterableLineItemProps.mdx | 4 +- ...rtTypes.FilterableLineItemTaxLineProps.mdx | 4 +- ...ilterableShippingMethodAdjustmentProps.mdx | 4 +- ...artTypes.FilterableShippingMethodProps.mdx | 4 +- ...s.FilterableShippingMethodTaxLineProps.mdx | 4 +- .../types.CartTypes.ICartModuleService.mdx | 1894 +- .../types.CartTypes.LineItemAdjustmentDTO.mdx | 4 +- .../types.CartTypes.LineItemTaxLineDTO.mdx | 4 +- ...ShippingOptionsForCartWorkflowInputDTO.mdx | 7 + ...ypes.CartTypes.PricedShippingOptionDTO.mdx | 9 + ....CartTypes.ShippingMethodAdjustmentDTO.mdx | 4 +- ...pes.CartTypes.ShippingMethodTaxLineDTO.mdx | 4 +- .../interfaces/types.CartTypes.TaxLineDTO.mdx | 4 +- .../types.CartTypes.UpdateAddressDTO.mdx | 4 +- .../types.CartTypes.UpdateAdjustmentDTO.mdx | 4 +- .../types.CartTypes.UpdateCartDTO.mdx | 4 +- .../types.CartTypes.UpdateCartDataDTO.mdx | 9 + ...es.CartTypes.UpdateCartWithSelectorDTO.mdx | 11 + ...s.CartTypes.UpdateCartWorkflowInputDTO.mdx | 7 + ....CartTypes.UpdateLineItemAdjustmentDTO.mdx | 4 +- .../types.CartTypes.UpdateLineItemDTO.mdx | 4 +- ...s.UpdateLineItemInCartWorkflowInputDTO.mdx | 7 + ...pes.CartTypes.UpdateLineItemTaxLineDTO.mdx | 4 +- ...artTypes.UpdateLineItemWithSelectorDTO.mdx | 6 +- ...ypes.UpdateShippingMethodAdjustmentDTO.mdx | 4 +- ...ypes.CartTypes.UpdateShippingMethodDTO.mdx | 4 +- ...rtTypes.UpdateShippingMethodTaxLineDTO.mdx | 4 +- .../types.CartTypes.UpdateTaxLineDTO.mdx | 4 +- .../types.CartTypes.UpsertAddressDTO.mdx | 4 +- ....CartTypes.UpsertLineItemAdjustmentDTO.mdx | 4 +- .../types/types.CartTypes.legacy_CartDTO.mdx | 2 +- ...types.CommonTypes.AddressCreatePayload.mdx | 4 +- .../types.CommonTypes.AddressPayload.mdx | 4 +- .../types.CommonTypes.BaseEntity.mdx | 4 +- .../types.CommonTypes.ConfigModule.mdx | 4 +- .../types.CommonTypes.CustomFindOptions.mdx | 11 - ...pes.CommonTypes.DateComparisonOperator.mdx | 4 +- .../types.CommonTypes.EmptyQueryParams.mdx | 2 + .../types.CommonTypes.FindConfig.mdx | 2 +- ...types.CommonTypes.FindPaginationParams.mdx | 4 +- .../types.CommonTypes.FindParams.mdx | 4 +- ...pes.CommonTypes.HttpCompressionOptions.mdx | 2 +- ...ommonTypes.NumericalComparisonOperator.mdx | 4 +- .../types.CommonTypes.PaginatedResponse.mdx | 13 + ...types.CommonTypes.ProjectConfigOptions.mdx | 2 +- .../types.CommonTypes.RequestQueryFields.mdx | 9 + .../types.CommonTypes.SoftDeletableEntity.mdx | 4 +- ...s.CommonTypes.StringComparisonOperator.mdx | 4 +- .../types.CommonTypes.BatchMethodRequest.mdx | 13 + .../types.CommonTypes.BatchMethodResponse.mdx | 13 + .../types.CommonTypes.BatchWorkflowInput.mdx | 9 + .../types.CommonTypes.BatchWorkflowOutput.mdx | 9 + .../types.CommonTypes.DeleteResponse.mdx | 6 +- .../types.CommonTypes.ExtendedFindConfig.mdx | 9 - .../types/types.CommonTypes.KebabCase.mdx | 9 + .../types.CommonTypes.LinkMethodRequest.mdx | 9 + .../types.CommonTypes.LinkWorkflowInput.mdx | 9 + .../types/types.CommonTypes.PartialPick.mdx | 9 - .../types/types.CommonTypes.PluginDetails.mdx | 9 + .../types/types.CommonTypes.Pluralize.mdx | 9 - .../types/types.CommonTypes.QueryConfig.mdx | 13 - .../types/types.CommonTypes.QuerySelector.mdx | 9 - .../types.CommonTypes.RequestQueryFields.mdx | 9 - .../types.CommonTypes.RuleOperatorType.mdx | 7 + .../types/types.CommonTypes.Selector.mdx | 9 - .../types/types.CommonTypes.SnakeCase.mdx | 9 + .../types/types.CommonTypes.TotalField.mdx | 5 - .../types.CommonTypes.TreeQuerySelector.mdx | 9 - .../types/types.CommonTypes.Writable.mdx | 9 - .../types.CurrencyTypes.CurrencyDTO.mdx | 9 + ....CurrencyTypes.FilterableCurrencyProps.mdx | 9 + ...s.CurrencyTypes.ICurrencyModuleService.mdx | 99 + ...CustomerTypes.CreateCustomerAddressDTO.mdx | 4 +- .../types.CustomerTypes.CreateCustomerDTO.mdx | 4 +- ...s.CustomerTypes.CreateCustomerGroupDTO.mdx | 4 +- ...types.CustomerTypes.CustomerAddressDTO.mdx | 4 +- .../types.CustomerTypes.CustomerDTO.mdx | 4 +- ...CustomerTypes.CustomerGroupCustomerDTO.mdx | 4 +- .../types.CustomerTypes.CustomerGroupDTO.mdx | 4 +- ...omerTypes.CustomerGroupUpdatableFields.mdx | 4 +- ...omerTypes.CustomerGroupUpdatableFileds.mdx | 7 - ....CustomerTypes.CustomerUpdatableFields.mdx | 4 +- ...erTypes.FilterableCustomerAddressProps.mdx | 4 +- ...s.FilterableCustomerGroupCustomerProps.mdx | 4 +- ...omerTypes.FilterableCustomerGroupProps.mdx | 4 +- ....CustomerTypes.FilterableCustomerProps.mdx | 4 +- .../types.CustomerTypes.GroupCustomerPair.mdx | 9 + ...s.CustomerTypes.ICustomerModuleService.mdx | 866 +- ...CustomerTypes.UpdateCustomerAddressDTO.mdx | 4 +- .../types.CustomerTypes.UpdateCustomerDTO.mdx | 4 +- ...s.CustomerTypes.UpdateCustomerGroupDTO.mdx | 4 +- ...types.CustomerTypes.legacy_CustomerDTO.mdx | 9 + .../types.CustomerTypes.GroupCustomerPair.mdx | 9 - ...types.CustomerTypes.legacy_CustomerDTO.mdx | 9 - .../DAL/interfaces/types.DAL.FindOptions.mdx | 13 + .../DAL/interfaces/types.DAL.OptionsQuery.mdx | 4 +- .../types.DAL.RepositoryService.mdx | 26 +- .../types.DAL.TreeRepositoryService.mdx | 8 +- .../types.DAL.UpsertWithReplaceConfig.mdx | 13 + .../types/DAL/types/types.DAL.FindOptions.mdx | 13 - .../types.FileTypes.CreateFileDTO.mdx | 9 + .../interfaces/types.FileTypes.FileDTO.mdx | 9 + .../types.FileTypes.FilterableFileProps.mdx | 9 + .../types.FileTypes.IFileModuleService.mdx | 133 + .../types.FileTypes.IFileProvider.mdx | 47 + ...ypes.FileTypes.LocalFileServiceOptions.mdx | 7 + .../types.FileTypes.ProviderDeleteFileDTO.mdx | 9 + .../types.FileTypes.ProviderFileResultDTO.mdx | 9 + .../types.FileTypes.ProviderGetFileDTO.mdx | 9 + .../types.FileTypes.ProviderUploadFileDTO.mdx | 9 + .../types.FileTypes.S3FileServiceOptions.mdx | 7 + ....FulfillmentTypes.CreateCityGeoZoneDTO.mdx | 9 + ...lfillmentTypes.CreateCountryGeoZoneDTO.mdx | 9 + ...lmentTypes.CreateFulfillmentAddressDTO.mdx | 9 + ....FulfillmentTypes.CreateFulfillmentDTO.mdx | 9 + ...fillmentTypes.CreateFulfillmentItemDTO.mdx | 9 + ...illmentTypes.CreateFulfillmentLabelDTO.mdx | 9 + ...illmentTypes.CreateFulfillmentOrderDTO.mdx | 5 + ...lfillmentTypes.CreateFulfillmentSetDTO.mdx | 9 + ...fillmentTypes.CreateProvinceGeoZoneDTO.mdx | 9 + ....FulfillmentTypes.CreateServiceZoneDTO.mdx | 9 + ...lfillmentTypes.CreateShippingOptionDTO.mdx | 9 + ...lmentTypes.CreateShippingOptionRuleDTO.mdx | 9 + ...lmentTypes.CreateShippingOptionTypeDTO.mdx | 9 + ...fillmentTypes.CreateShippingProfileDTO.mdx | 9 + ...s.FulfillmentTypes.CreateZipGeoZoneDTO.mdx | 9 + ...llmentTypes.FilterableFulfillmentProps.mdx | 9 + ...pes.FilterableFulfillmentProviderProps.mdx | 9 + ...entTypes.FilterableFulfillmentSetProps.mdx | 9 + ...ulfillmentTypes.FilterableGeoZoneProps.mdx | 9 + ...llmentTypes.FilterableServiceZoneProps.mdx | 9 + ...ilterableShippingOptionForContextProps.mdx | 9 + ...entTypes.FilterableShippingOptionProps.mdx | 9 + ...ypes.FilterableShippingOptionRuleProps.mdx | 9 + ...ypes.FilterableShippingOptionTypeProps.mdx | 9 + ...ntTypes.FilterableShippingProfileProps.mdx | 9 + ...FulfillmentTypes.FulfillmentAddressDTO.mdx | 9 + .../types.FulfillmentTypes.FulfillmentDTO.mdx | 4 +- ...es.FulfillmentTypes.FulfillmentItemDTO.mdx | 9 + ...s.FulfillmentTypes.FulfillmentLabelDTO.mdx | 9 + ...ulfillmentTypes.FulfillmentProviderDTO.mdx | 9 + ...pes.FulfillmentTypes.FulfillmentSetDTO.mdx | 9 + .../types.FulfillmentTypes.GeoZoneDTO.mdx | 9 + ...illmentTypes.IFulfillmentModuleService.mdx | 2619 +- ....FulfillmentTypes.IFulfillmentProvider.mdx | 3 + .../types.FulfillmentTypes.ServiceZoneDTO.mdx | 9 + ...pes.FulfillmentTypes.ShippingOptionDTO.mdx | 9 + ...FulfillmentTypes.ShippingOptionRuleDTO.mdx | 9 + ...FulfillmentTypes.ShippingOptionTypeDTO.mdx | 9 + ...es.FulfillmentTypes.ShippingProfileDTO.mdx | 9 + ....FulfillmentTypes.UpdateCityGeoZoneDTO.mdx | 9 + ...lfillmentTypes.UpdateCountryGeoZoneDTO.mdx | 9 + ....FulfillmentTypes.UpdateFulfillmentDTO.mdx | 9 + ...lfillmentTypes.UpdateFulfillmentSetDTO.mdx | 9 + ....FulfillmentTypes.UpdateGeoZoneBaseDTO.mdx | 9 + ...fillmentTypes.UpdateProvinceGeoZoneDTO.mdx | 9 + ....FulfillmentTypes.UpdateServiceZoneDTO.mdx | 9 + ...lfillmentTypes.UpdateShippingOptionDTO.mdx | 9 + ...lmentTypes.UpdateShippingOptionRuleDTO.mdx | 9 + ...lmentTypes.UpdateShippingOptionTypeDTO.mdx | 9 + ...fillmentTypes.UpdateShippingProfileDTO.mdx | 9 + ...s.FulfillmentTypes.UpdateZipGeoZoneDTO.mdx | 9 + ....FulfillmentTypes.UpsertServiceZoneDTO.mdx | 9 + ...lfillmentTypes.UpsertShippingOptionDTO.mdx | 9 + ...fillmentShippingOptionRulesWorkflowDTO.mdx | 9 + ...ypes.FulfillmentTypes.CreateGeoZoneDTO.mdx | 7 + .../types.FulfillmentTypes.GeoZoneType.mdx | 2 + ...fillmentShippingOptionRulesWorkflowDTO.mdx | 9 + ...lfillmentTypes.ShippingOptionPriceType.mdx | 10 + ...fillmentShippingOptionRulesWorkflowDTO.mdx | 9 + ...ypes.FulfillmentTypes.UpdateGeoZoneDTO.mdx | 7 + ...ypes.HttpTypes.AdminApiKeyListResponse.mdx | 7 + .../types.HttpTypes.AdminApiKeyResponse.mdx | 7 + ...es.HttpTypes.AdminCampaignListResponse.mdx | 7 + .../types.HttpTypes.AdminCampaignResponse.mdx | 7 + ...tpTypes.AdminCustomerGroupListResponse.mdx | 7 + ...s.HttpTypes.AdminCustomerGroupResponse.mdx | 7 + ...es.HttpTypes.AdminCustomerListResponse.mdx | 7 + .../types.HttpTypes.AdminCustomerResponse.mdx | 7 + ...pTypes.AdminFulfillmentAddressResponse.mdx | 7 + ...HttpTypes.AdminFulfillmentItemResponse.mdx | 7 + ...ttpTypes.AdminFulfillmentLabelResponse.mdx | 7 + ...Types.AdminFulfillmentProviderResponse.mdx | 7 + ...pes.HttpTypes.AdminFulfillmentResponse.mdx | 7 + ....HttpTypes.AdminFulfillmentSetResponse.mdx | 7 + ...pes.AdminFulfillmentSetsDeleteResponse.mdx | 7 + .../types.HttpTypes.AdminGeoZoneResponse.mdx | 7 + ...types.HttpTypes.AdminOrderListResponse.mdx | 7 + .../types.HttpTypes.AdminOrderResponse.mdx | 7 + ...Types.AdminProductCategoryListResponse.mdx | 7 + ...HttpTypes.AdminProductCategoryResponse.mdx | 7 + ...tpTypes.AdminPromotionRuleListResponse.mdx | 7 + ...HttpTypes.AdminReservationListResponse.mdx | 7 + ...pes.HttpTypes.AdminReservationResponse.mdx | 7 + ....AdminRuleAttributeOptionsListResponse.mdx | 7 + ...s.AdminRuleOperatorOptionsListResponse.mdx | 7 + ...ttpTypes.AdminSalesChannelListResponse.mdx | 7 + ...es.HttpTypes.AdminSalesChannelResponse.mdx | 7 + ...tpTypes.AdminServiceZoneDeleteResponse.mdx | 7 + ...pes.HttpTypes.AdminServiceZoneResponse.mdx | 7 + ...ypes.AdminShippingOptionDeleteResponse.mdx | 7 + ...pTypes.AdminShippingOptionListResponse.mdx | 7 + ...es.AdminShippingOptionRetrieveResponse.mdx | 7 + ...pTypes.AdminShippingOptionRuleResponse.mdx | 7 + ...pTypes.AdminShippingOptionTypeResponse.mdx | 7 + ...pes.AdminShippingProfileDeleteResponse.mdx | 7 + ...HttpTypes.AdminShippingProfileResponse.mdx | 7 + ...ttpTypes.AdminShippingProfilesResponse.mdx | 9 + ...s.HttpTypes.AdminStockLocationResponse.mdx | 7 + ...pes.HttpTypes.AdminTaxRateListResponse.mdx | 7 + .../types.HttpTypes.AdminTaxRateResponse.mdx | 7 + ...s.HttpTypes.AdminTaxRegionListResponse.mdx | 7 + ...types.HttpTypes.AdminTaxRegionResponse.mdx | 7 + .../types.HttpTypes.CampaignResponse.mdx | 7 + ...ypes.HttpTypes.CustomerAddressResponse.mdx | 7 + .../types.HttpTypes.CustomerGroupResponse.mdx | 7 + ...types.HttpTypes.FulfillmentSetResponse.mdx | 7 + .../types.HttpTypes.OrderResponse.mdx | 7 + .../types.HttpTypes.PromotionRuleResponse.mdx | 7 + ...HttpTypes.RuleAttributeOptionsResponse.mdx | 7 + ....HttpTypes.RuleOperatorOptionsResponse.mdx | 7 + .../types.HttpTypes.ServiceZoneResponse.mdx | 7 + ...ypes.HttpTypes.ShippingProfileResponse.mdx | 7 + ...Types.StoreProductCategoryListResponse.mdx | 7 + ...HttpTypes.StoreProductCategoryResponse.mdx | 7 + .../types.HttpTypes.TaxRateResponse.mdx | 7 + .../types.HttpTypes.TaxRegionResponse.mdx | 7 + ...ypes.AdminStockLocationAddressResponse.mdx | 9 + ....ModulesSdkTypes.InternalModuleService.mdx | 48 +- ...dkTypes.ModuleServiceInitializeOptions.mdx | 2 +- ...ulesSdkTypes.InternalModuleDeclaration.mdx | 2 +- ...s.ModulesSdkTypes.LinkModuleDefinition.mdx | 2 +- .../types.ModulesSdkTypes.LoaderOptions.mdx | 2 +- ...s.ModulesSdkTypes.ModuleLoaderFunction.mdx | 2 +- ...es.ModulesSdkTypes.RemoteQueryFunction.mdx | 4 +- .../types.OrderTypes.CancelOrderChangeDTO.mdx | 7 + ...types.OrderTypes.ConfirmOrderChangeDTO.mdx | 7 + ...types.OrderTypes.CreateOrderAddressDTO.mdx | 9 + ...es.OrderTypes.CreateOrderAdjustmentDTO.mdx | 9 + ....OrderTypes.CreateOrderChangeActionDTO.mdx | 9 + .../types.OrderTypes.CreateOrderChangeDTO.mdx | 9 + .../types.OrderTypes.CreateOrderDTO.mdx | 9 + ...Types.CreateOrderLineItemAdjustmentDTO.mdx | 9 + ...ypes.OrderTypes.CreateOrderLineItemDTO.mdx | 9 + ...erTypes.CreateOrderLineItemForOrderDTO.mdx | 9 + ...derTypes.CreateOrderLineItemTaxLineDTO.mdx | 9 + .../types.OrderTypes.CreateOrderReturnDTO.mdx | 7 + ...CreateOrderShippingMethodAdjustmentDTO.mdx | 7 + ...rderTypes.CreateOrderShippingMethodDTO.mdx | 9 + ...es.CreateOrderShippingMethodTaxLineDTO.mdx | 9 + ...types.OrderTypes.CreateOrderTaxLineDTO.mdx | 9 + ...s.OrderTypes.CreateOrderTransactionDTO.mdx | 9 + ...types.OrderTypes.DeclineOrderChangeDTO.mdx | 7 + ...OrderTypes.FilterableOrderAddressProps.mdx | 9 + ...Types.FilterableOrderChangeActionProps.mdx | 9 + ....OrderTypes.FilterableOrderChangeProps.mdx | 9 + ...es.OrderTypes.FilterableOrderItemProps.mdx | 9 + ...FilterableOrderLineItemAdjustmentProps.mdx | 9 + ...rderTypes.FilterableOrderLineItemProps.mdx | 9 + ...es.FilterableOrderLineItemTaxLineProps.mdx | 9 + .../types.OrderTypes.FilterableOrderProps.mdx | 9 + ...ableOrderShippingMethodAdjustmentProps.mdx | 9 + ...pes.FilterableOrderShippingMethodProps.mdx | 9 + ...terableOrderShippingMethodTaxLineProps.mdx | 9 + ...rTypes.FilterableOrderTransactionProps.mdx | 9 + .../types.OrderTypes.IOrderModuleService.mdx | 1759 + .../types.OrderTypes.OrderAddressDTO.mdx | 7 + ...ypes.OrderTypes.OrderAdjustmentLineDTO.mdx | 7 + .../types.OrderTypes.OrderChangeActionDTO.mdx | 7 + .../types.OrderTypes.OrderChangeDTO.mdx | 7 + .../interfaces/types.OrderTypes.OrderDTO.mdx | 7 + .../types.OrderTypes.OrderItemDTO.mdx | 7 + ....OrderTypes.OrderLineItemAdjustmentDTO.mdx | 7 + .../types.OrderTypes.OrderLineItemDTO.mdx | 7 + ...pes.OrderTypes.OrderLineItemTaxLineDTO.mdx | 7 + ...ypes.OrderTypes.OrderLineItemTotalsDTO.mdx | 7 + ...Types.OrderShippingMethodAdjustmentDTO.mdx | 7 + ...ypes.OrderTypes.OrderShippingMethodDTO.mdx | 7 + ...derTypes.OrderShippingMethodTaxLineDTO.mdx | 7 + .../types.OrderTypes.OrderTaxLineDTO.mdx | 7 + .../types.OrderTypes.OrderTransactionDTO.mdx | 7 + .../types.OrderTypes.OrderWorkflowDTO.mdx | 7 + ...OrderTypes.RegisterOrderFulfillmentDTO.mdx | 9 + ...es.OrderTypes.RegisterOrderShipmentDTO.mdx | 7 + ...types.OrderTypes.UpdateOrderAddressDTO.mdx | 9 + ...es.OrderTypes.UpdateOrderAdjustmentDTO.mdx | 7 + ....OrderTypes.UpdateOrderChangeActionDTO.mdx | 7 + .../types.OrderTypes.UpdateOrderChangeDTO.mdx | 7 + .../types.OrderTypes.UpdateOrderDTO.mdx | 7 + .../types.OrderTypes.UpdateOrderItemDTO.mdx | 9 + ...erTypes.UpdateOrderItemWithSelectorDTO.mdx | 7 + ...Types.UpdateOrderLineItemAdjustmentDTO.mdx | 7 + ...ypes.OrderTypes.UpdateOrderLineItemDTO.mdx | 7 + ...derTypes.UpdateOrderLineItemTaxLineDTO.mdx | 7 + ...pes.UpdateOrderLineItemWithSelectorDTO.mdx | 7 + ...UpdateOrderShippingMethodAdjustmentDTO.mdx | 7 + ...rderTypes.UpdateOrderShippingMethodDTO.mdx | 7 + ...es.UpdateOrderShippingMethodTaxLineDTO.mdx | 7 + ...types.OrderTypes.UpdateOrderTaxLineDTO.mdx | 7 + ...s.OrderTypes.UpdateOrderTransactionDTO.mdx | 7 + ...types.OrderTypes.UpsertOrderAddressDTO.mdx | 9 + ...Types.UpsertOrderLineItemAdjustmentDTO.mdx | 7 + .../types.OrderTypes.OrderSummaryDTO.mdx | 9 + ...PromotionTypes.AddItemAdjustmentAction.mdx | 4 +- ...otionTypes.AddShippingMethodAdjustment.mdx | 4 +- ...es.PromotionTypes.ApplicationMethodDTO.mdx | 4 +- ...types.PromotionTypes.CampaignBudgetDTO.mdx | 4 +- ...tionTypes.CampaignBudgetExceededAction.mdx | 5 +- .../types.PromotionTypes.CampaignDTO.mdx | 4 +- ...otionTypes.ComputeActionAdjustmentLine.mdx | 4 +- ...es.PromotionTypes.ComputeActionContext.mdx | 4 +- ...s.PromotionTypes.ComputeActionItemLine.mdx | 4 +- ...es.PromotionTypes.ComputeActionOptions.mdx | 4 +- ...omotionTypes.ComputeActionShippingLine.mdx | 4 +- ...motionTypes.CreateApplicationMethodDTO.mdx | 4 +- ...PromotionTypes.CreateCampaignBudgetDTO.mdx | 4 +- ...types.PromotionTypes.CreateCampaignDTO.mdx | 4 +- ...ypes.PromotionTypes.CreatePromotionDTO.mdx | 4 +- ....PromotionTypes.CreatePromotionRuleDTO.mdx | 4 +- ...otionTypes.CreatePromotionRuleValueDTO.mdx | 4 +- ...Types.FilterableApplicationMethodProps.mdx | 4 +- ...ionTypes.FilterableCampaignBudgetProps.mdx | 4 +- ...PromotionTypes.FilterableCampaignProps.mdx | 4 +- ...romotionTypes.FilterablePromotionProps.mdx | 4 +- ...tionTypes.FilterablePromotionRuleProps.mdx | 4 +- ...ypes.FilterablePromotionRuleValueProps.mdx | 4 +- ...PromotionTypes.IPromotionModuleService.mdx | 803 +- .../types.PromotionTypes.PromotionDTO.mdx | 4 +- .../types.PromotionTypes.PromotionRuleDTO.mdx | 4 +- ...ypes.PromotionTypes.PromotionRuleTypes.mdx | 5 + ...s.PromotionTypes.PromotionRuleValueDTO.mdx | 4 +- ...motionTypes.RemoveItemAdjustmentAction.mdx | 4 +- ....PromotionTypes.RemovePromotionRuleDTO.mdx | 4 +- ...onTypes.RemoveShippingMethodAdjustment.mdx | 4 +- ...motionTypes.UpdateApplicationMethodDTO.mdx | 4 +- ...PromotionTypes.UpdateCampaignBudgetDTO.mdx | 4 +- ...types.PromotionTypes.UpdateCampaignDTO.mdx | 4 +- ...ypes.PromotionTypes.UpdatePromotionDTO.mdx | 4 +- ....PromotionTypes.UpdatePromotionRuleDTO.mdx | 4 +- ...otionTypes.UpdatePromotionRuleValueDTO.mdx | 4 +- ...tionTypes.AddPromotionRulesWorkflowDTO.mdx | 9 + ...omotionTypes.AdminGetPromotionRulesRes.mdx | 5 + ...ypes.ApplicationMethodAllocationValues.mdx | 2 + ...ypes.ApplicationMethodTargetTypeValues.mdx | 2 + ...otionTypes.ApplicationMethodTypeValues.mdx | 2 + ...romotionTypes.CampaignBudgetTypeValues.mdx | 2 + .../types.PromotionTypes.ComputeActions.mdx | 2 + ...otionTypes.PromotionRuleOperatorValues.mdx | 2 + ...pes.PromotionTypes.PromotionTypeValues.mdx | 2 + ...nTypes.RemovePromotionRulesWorkflowDTO.mdx | 9 + ...nTypes.UpdatePromotionRulesWorkflowDTO.mdx | 9 + ...es.PromotionTypes.UsageComputedActions.mdx | 2 + .../types.RegionTypes.RegionDTO__legacy.mdx | 9 + .../types.RegionTypes.RegionDTO__legacy.mdx | 9 - ...alesChannelTypes.CreateSalesChannelDTO.mdx | 4 +- ...annelTypes.FilterableSalesChannelProps.mdx | 4 +- ...hannelTypes.ISalesChannelModuleService.mdx | 243 +- ...ypes.SalesChannelTypes.SalesChannelDTO.mdx | 4 +- ...esChannelTypes.SalesChannelLocationDTO.mdx | 4 +- ...alesChannelTypes.UpdateSalesChannelDTO.mdx | 4 +- ...alesChannelTypes.UpsertSalesChannelDTO.mdx | 9 + .../types.StoreTypes.CreateStoreDTO.mdx | 9 + .../types.StoreTypes.FilterableStoreProps.mdx | 9 + .../types.StoreTypes.IStoreModuleService.mdx | 335 + .../interfaces/types.StoreTypes.StoreDTO.mdx | 9 + .../types.StoreTypes.UpdateStoreDTO.mdx | 9 + .../types.StoreTypes.UpsertStoreDTO.mdx | 9 + .../types.TaxTypes.CreateTaxRateDTO.mdx | 9 + .../types.TaxTypes.CreateTaxRateRuleDTO.mdx | 9 + .../types.TaxTypes.CreateTaxRegionDTO.mdx | 9 + .../types.TaxTypes.FilterableTaxRateProps.mdx | 9 + ...es.TaxTypes.FilterableTaxRateRuleProps.mdx | 9 + ...ypes.TaxTypes.FilterableTaxRegionProps.mdx | 9 + .../types.TaxTypes.ITaxModuleService.mdx | 822 + .../types.TaxTypes.ITaxProvider.mdx | 132 + .../types.TaxTypes.ItemTaxLineDTO.mdx | 9 + .../types.TaxTypes.ShippingTaxLineDTO.mdx | 9 + .../types.TaxTypes.TaxCalculationContext.mdx | 10 + .../types.TaxTypes.TaxProviderDTO.mdx | 9 + .../interfaces/types.TaxTypes.TaxRateDTO.mdx | 9 + .../types.TaxTypes.TaxRateRuleDTO.mdx | 9 + .../types.TaxTypes.TaxRegionDTO.mdx | 9 + .../types.TaxTypes.TaxableItemDTO.mdx | 9 + .../types.TaxTypes.TaxableShippingDTO.mdx | 9 + .../types.TaxTypes.UpdateTaxRateDTO.mdx | 9 + .../types.TaxTypes.UpsertTaxRateDTO.mdx | 9 + .../types.TaxTypes.ItemTaxCalculationLine.mdx | 12 + ...es.TaxTypes.ShippingTaxCalculationLine.mdx | 12 + .../types.UserTypes.CreateInviteDTO.mdx | 7 + .../types.UserTypes.CreateUserDTO.mdx | 4 +- .../types.UserTypes.FilterableInviteProps.mdx | 9 + .../types.UserTypes.FilterableUserProps.mdx | 9 + .../types.UserTypes.IUserModuleService.mdx | 304 +- .../interfaces/types.UserTypes.InviteDTO.mdx | 7 + .../types.UserTypes.UpdateInviteDTO.mdx | 7 + .../types.UserTypes.UpdateUserDTO.mdx | 4 +- .../interfaces/types.UserTypes.UserDTO.mdx | 9 + .../types.UserTypes.FilterableUserProps.mdx | 5 - .../types/types.UserTypes.UserDTO.mdx | 9 - ...rkflow.CreateServiceZonesWorkflowInput.mdx | 7 + ...ntWorkflow.CreateShipmentWorkflowInput.mdx | 9 + ...low.CreateShippingOptionsWorkflowInput.mdx | 7 + ...ow.CreateShippingProfilesWorkflowInput.mdx | 7 + ...low.DeleteShippingOptionsWorkflowInput.mdx | 7 + ...orkflow.UpdateFulfillmentWorkflowInput.mdx | 9 + ...rkflow.UpdateServiceZonesWorkflowInput.mdx | 7 + ...low.UpdateShippingOptionsWorkflowInput.mdx | 7 + ...ow.UpdateShippingProfilesWorkflowInput.mdx | 7 + ...ow.CreateFulfillmentAddressWorkflowDTO.mdx | 11 + ...kflow.CreateFulfillmentItemWorkflowDTO.mdx | 11 + ...flow.CreateFulfillmentLabelWorkflowDTO.mdx | 11 + ...flow.CreateFulfillmentOrderWorkflowDTO.mdx | 5 + ...orkflow.CreateFulfillmentWorkflowInput.mdx | 9 + ...ow.CreateShippingOptionsWorkflowOutput.mdx | 5 + ...ow.UpdateShippingOptionsWorkflowOutput.mdx | 5 + ...eWorkflow.AcceptInviteWorkflowInputDTO.mdx | 7 + ...Workflow.CreateInvitesWorkflowInputDTO.mdx | 7 + ...iteWorkflow.DeleteInvitesWorkflowInput.mdx | 7 + ...Workflow.ResendInvitesWorkflowInputDTO.mdx | 7 + ...s.PriceListWorkflow.CreatePriceListDTO.mdx | 2 +- ...istWorkflow.UpdatePriceListWorkflowDTO.mdx | 7 - ...rkflow.UpdatePriceListWorkflowInputDTO.mdx | 7 - ...eListWorkflow.PriceListVariantPriceDTO.mdx | 5 - ...hUpdateProductsOnCategoryWorkflowInput.mdx | 7 + ...low.CreateProductCategoryWorkflowInput.mdx | 7 + ...low.UpdateProductCategoryWorkflowInput.mdx | 7 + ...ionWorkflow.CreateRegionsWorkflowInput.mdx | 7 + ...ionWorkflow.UpdateRegionsWorkflowInput.mdx | 7 + ...onWorkflow.CreateRegionsWorkflowOutput.mdx | 5 + ...onWorkflow.UpdateRegionsWorkflowOutput.mdx | 5 + ...rkflow.CreateReservationsWorkflowInput.mdx | 7 + ...rkflow.UpdateReservationsWorkflowInput.mdx | 7 + ...kflow.CreateReservationsWorkflowOutput.mdx | 5 + ...kflow.UpdateReservationsWorkflowOutput.mdx | 5 + ...erWorkflow.CreateUsersWorkflowInputDTO.mdx | 7 + ...s.UserWorkflow.DeleteUserWorkflowInput.mdx | 7 + ...erWorkflow.UpdateUsersWorkflowInputDTO.mdx | 7 + ...ypes.WorkflowTypes.FulfillmentWorkflow.mdx | 25 + .../types.WorkflowTypes.InviteWorkflow.mdx | 10 + .../types.WorkflowTypes.PriceListWorkflow.mdx | 6 - ....WorkflowTypes.ProductCategoryWorkflow.mdx | 9 + .../types.WorkflowTypes.RegionWorkflow.mdx | 13 + ...ypes.WorkflowTypes.ReservationWorkflow.mdx | 13 + .../types.WorkflowTypes.UserWorkflow.mdx | 9 + .../types/enums/types.PaymentActions.mdx | 31 + .../enums/types.PaymentCollectionStatus.mdx | 6 +- .../enums/types.PaymentSessionStatus.mdx | 37 + .../types.AddCountryToRegionDTO.mdx | 7 - .../types.AddPriceListPricesDTO.mdx | 2 +- .../types/interfaces/types.AddPricesDTO.mdx | 2 +- .../types.AdminShippingOptionResponse.mdx | 7 + .../types/interfaces/types.ApiKeyDTO.mdx | 9 + .../types/interfaces/types.ApiKeyResponse.mdx | 7 + .../types.AuthModuleProviderConfig.mdx | 10 + .../types.AuthProviderScope.mdx | 2 +- .../types/interfaces/types.AuthUserDTO.mdx | 9 + .../interfaces/types.AuthenticationInput.mdx | 10 + .../types.AuthenticationResponse.mdx | 9 + .../interfaces/types.CalculatedPriceSet.mdx | 2 +- .../types/interfaces/types.CaptureDTO.mdx | 4 +- .../types/interfaces/types.Context.mdx | 2 +- .../types/interfaces/types.CountryDTO.mdx | 7 - .../interfaces/types.CreateApiKeyDTO.mdx | 9 + .../interfaces/types.CreateAuthUserDTO.mdx | 9 + .../interfaces/types.CreateCaptureDTO.mdx | 4 +- .../interfaces/types.CreateCurrencyDTO.mdx | 9 - .../interfaces/types.CreateGeoZoneBaseDTO.mdx | 9 + ...LocationFulfillmentSetWorkflowInputDTO.mdx | 7 + .../interfaces/types.CreateMoneyAmountDTO.mdx | 2 +- .../types.CreatePaymentCollectionDTO.mdx | 4 +- .../interfaces/types.CreatePaymentDTO.mdx | 4 +- .../types.CreatePaymentProviderDTO.mdx | 9 + .../types.CreatePaymentProviderSession.mdx | 10 + .../types.CreatePaymentSessionDTO.mdx | 4 +- .../types/interfaces/types.CreatePriceDTO.mdx | 7 + .../interfaces/types.CreatePriceListDTO.mdx | 2 +- .../types.CreatePriceListPriceDTO.mdx | 9 + .../interfaces/types.CreatePriceRuleDTO.mdx | 2 +- .../interfaces/types.CreatePriceSetDTO.mdx | 2 +- .../types.CreatePriceSetMoneyAmountDTO.mdx | 7 - ...ypes.CreatePriceSetMoneyAmountRulesDTO.mdx | 9 - .../types.CreatePriceSetRuleTypeDTO.mdx | 2 +- .../interfaces/types.CreatePricesDTO.mdx | 2 +- .../interfaces/types.CreateRefundDTO.mdx | 4 +- .../interfaces/types.CreateRegionDTO.mdx | 4 +- .../types.CreateReservationItemInput.mdx | 9 + .../interfaces/types.CreateRuleTypeDTO.mdx | 2 +- .../interfaces/types.CreateServiceZone.mdx | 7 + .../types.CreateShippingProfile.mdx | 7 + .../types/interfaces/types.CurrencyDTO.mdx | 9 - .../interfaces/types.CustomerResponse.mdx | 7 + .../types.FilterableApiKeyProps.mdx | 9 + .../types.FilterableAuthUserProps.mdx | 4 +- .../types.FilterableCaptureProps.mdx | 9 + .../types.FilterableCurrencyProps.mdx | 9 - ...types.FilterablePaymentCollectionProps.mdx | 4 +- .../types.FilterablePaymentProps.mdx | 9 + .../types.FilterablePaymentProviderProps.mdx | 9 + .../types.FilterablePaymentSessionProps.mdx | 9 + .../types.FilterablePriceListProps.mdx | 2 +- .../interfaces/types.FilterablePriceProps.mdx | 9 + ...pes.FilterablePriceSetMoneyAmountProps.mdx | 9 - ...ilterablePriceSetMoneyAmountRulesProps.mdx | 9 - .../types.FilterablePriceSetProps.mdx | 2 +- .../types.FilterableRefundProps.mdx | 9 + .../types.FilterableRegionCountryProps.mdx | 4 +- .../types.FilterableRegionCurrencyProps.mdx | 9 - .../types.FilterableRegionProps.mdx | 4 +- .../interfaces/types.IApiKeyModuleService.mdx | 357 + .../interfaces/types.IAuthModuleService.mdx | 231 +- .../types/interfaces/types.ILinkModule.mdx | 14 +- .../interfaces/types.IMessageAggregator.mdx | 14 + .../types.IPaymentModuleService.mdx | 735 +- .../interfaces/types.IPaymentProvider.mdx | 147 + .../interfaces/types.IRegionModuleService.mdx | 430 +- .../types/interfaces/types.MoneyAmountDTO.mdx | 2 +- .../types/interfaces/types.OrderAddress.mdx | 7 + .../interfaces/types.OrderAdjustmentLine.mdx | 7 + .../interfaces/types.OrderItemDetail.mdx | 7 + .../types/interfaces/types.OrderLineItem.mdx | 7 + .../types.OrderLineItemAdjustment.mdx | 7 + .../interfaces/types.OrderLineItemTaxLine.mdx | 7 + .../interfaces/types.OrderShippingMethod.mdx | 7 + .../types.OrderShippingMethodAdjustment.mdx | 7 + .../types.OrderShippingMethodTaxLine.mdx | 7 + .../types/interfaces/types.OrderSummary.mdx | 7 + .../types/interfaces/types.OrderTaxLine.mdx | 7 + .../interfaces/types.OrderTransaction.mdx | 7 + .../types.PaginatedResponse.mdx} | 2 - .../interfaces/types.PaymentCollectionDTO.mdx | 4 +- ...types.PaymentCollectionUpdatableFields.mdx | 9 + .../types/interfaces/types.PaymentDTO.mdx | 2 +- .../interfaces/types.PaymentModuleOptions.mdx | 9 + ...types.PaymentProviderAuthorizeResponse.mdx | 9 + .../types.PaymentProviderContext.mdx | 9 + .../interfaces/types.PaymentProviderDTO.mdx | 4 +- .../types.PaymentProviderDataInput.mdx | 10 + .../interfaces/types.PaymentProviderError.mdx | 9 + .../types.PaymentProviderSessionResponse.mdx | 9 + .../interfaces/types.PaymentSessionDTO.mdx | 4 +- .../types/interfaces/types.PriceDTO.mdx | 9 + .../types/interfaces/types.PriceListDTO.mdx | 2 +- .../interfaces/types.PriceListPriceDTO.mdx | 9 - .../interfaces/types.PriceListRuleDTO.mdx | 2 +- .../types.PriceListRuleValueDTO.mdx | 2 +- .../types/interfaces/types.PriceRuleDTO.mdx | 2 +- .../types/interfaces/types.PriceSetDTO.mdx | 2 +- .../types.PriceSetMoneyAmountDTO.mdx | 9 - .../types.PriceSetMoneyAmountRulesDTO.mdx | 9 - .../interfaces/types.PriceSetRuleTypeDTO.mdx | 2 +- .../types/interfaces/types.PricingContext.mdx | 2 +- .../types/interfaces/types.PricingFilters.mdx | 4 +- .../types.PricingRepositoryService.mdx | 2 +- .../types.ProductCategoryResponse.mdx | 7 + .../types.ProductCategoryTransformOptions.mdx | 2 +- .../types.ProviderWebhookPayload.mdx | 9 + .../types/interfaces/types.RefundDTO.mdx | 4 +- .../interfaces/types.RegionCountryDTO.mdx | 4 +- .../interfaces/types.RegionCurrencyDTO.mdx | 7 - .../types/interfaces/types.RegionDTO.mdx | 4 +- .../interfaces/types.RemoteExpandProperty.mdx | 2 +- .../interfaces/types.RemoteJoinerOptions.mdx | 7 + .../types.RemoveCountryFromRegionDTO.mdx | 7 - .../types.RemovePriceListRulesDTO.mdx | 2 +- .../interfaces/types.ReservationItemDTO.mdx | 9 + .../interfaces/types.ReservationResponse.mdx | 7 + .../interfaces/types.RevokeApiKeyDTO.mdx | 9 + .../types/interfaces/types.RuleTypeDTO.mdx | 2 +- .../interfaces/types.SalesChannelResponse.mdx | 7 + .../types/interfaces/types.SessionOptions.mdx | 2 +- .../types.SetPaymentSessionsDTO.mdx | 7 - .../interfaces/types.SetPriceListRulesDTO.mdx | 4 +- .../types/interfaces/types.TaxLineDTO.mdx | 9 + .../interfaces/types.UpdateApiKeyDTO.mdx | 9 + .../interfaces/types.UpdateAuthUserDTO.mdx | 9 + .../interfaces/types.UpdateCurrencyDTO.mdx | 9 - .../interfaces/types.UpdateMoneyAmountDTO.mdx | 2 +- .../types.UpdatePaymentCollectionDTO.mdx | 4 +- .../interfaces/types.UpdatePaymentDTO.mdx | 4 +- .../types.UpdatePaymentProviderSession.mdx | 9 + .../types.UpdatePaymentSessionDTO.mdx | 9 + .../types/interfaces/types.UpdatePriceDTO.mdx | 7 + .../interfaces/types.UpdatePriceListDTO.mdx | 2 +- .../types.UpdatePriceListPriceDTO.mdx | 9 + .../types.UpdatePriceListPricesDTO.mdx | 9 + .../interfaces/types.UpdatePriceRuleDTO.mdx | 4 +- .../interfaces/types.UpdatePriceSetDTO.mdx | 4 +- .../types.UpdatePriceSetMoneyAmountDTO.mdx | 7 - ...ypes.UpdatePriceSetMoneyAmountRulesDTO.mdx | 9 - .../interfaces/types.UpdateRegionDTO.mdx | 4 +- .../types.UpdateReservationItemInput.mdx | 9 + .../interfaces/types.UpdateServiceZone.mdx | 7 + .../types.UpdateShippingProfile.mdx | 7 + .../interfaces/types.UpsertApiKeyDTO.mdx | 9 + .../types.UpsertPaymentCollectionDTO.mdx | 9 + .../interfaces/types.UpsertPriceSetDTO.mdx | 9 + .../interfaces/types.UpsertRegionDTO.mdx | 9 + .../interfaces/types.WebhookActionData.mdx | 9 + .../interfaces/types.WebhookActionResult.mdx | 9 + .../references/types/types.ApiKeyTypes.mdx | 3 + .../references/types/types.CartTypes.mdx | 13 + .../references/types/types.CommonTypes.mdx | 24 +- .../references/types/types.CurrencyTypes.mdx | 9 + .../references/types/types.CustomerTypes.mdx | 10 +- .../content/references/types/types.DAL.mdx | 3 +- .../references/types/types.FileTypes.mdx | 17 + .../types/types.FulfillmentTypes.mdx | 57 + .../references/types/types.HttpTypes.mdx | 66 + .../references/types/types.OrderTypes.mdx | 77 + .../references/types/types.PromotionTypes.mdx | 5 + .../references/types/types.RegionTypes.mdx | 4 +- .../types/types.SalesChannelTypes.mdx | 1 + .../references/types/types.StoreTypes.mdx | 12 + .../references/types/types.TaxTypes.mdx | 30 + .../references/types/types.UserTypes.mdx | 11 +- .../references/types/types.WorkflowTypes.mdx | 6 + .../types/types/types.ApiKeyType.mdx | 7 + .../types/types.AuthModuleProviderConfig.mdx | 9 - .../types/types/types.AuthUserDTO.mdx | 9 - .../types/types/types.AuthenticationInput.mdx | 9 - .../types/types.AuthenticationResponse.mdx | 9 - .../types/types/types.BigNumberInput.mdx | 5 + .../types/types/types.BigNumberRawValue.mdx | 13 + .../types/types/types.BigNumberValue.mdx | 5 + .../types/types/types.CartLikeWithTotals.mdx | 9 + .../types/types/types.CreateAuthUserDTO.mdx | 9 - ...s.CreateProductVariantWorkflowInputDTO.mdx | 5 + .../types.CreateProductWorkflowInputDTO.mdx | 5 + .../types/types/types.DeleteResponse.mdx | 15 + .../types/types.JWTGenerationOptions.mdx | 9 - .../types/types.MedusaPricingContext.mdx | 9 + .../types/types/types.PaymentAddressDTO.mdx | 7 + .../types/types/types.PaymentCustomerDTO.mdx | 7 + .../types/types/types.UpdateAuthUserDTO.mdx | 9 - ...s.UpdateProductVariantWorkflowInputDTO.mdx | 5 + .../types.UpdateProductWorkflowInputDTO.mdx | 5 + ...orkflows.StepResponse.permanentFailure.mdx | 2 +- .../workflows.StepExecutionContext.mdx | 2 +- .../types/workflows.ReturnWorkflow.mdx | 2 +- .../types/workflows.StepFunction.mdx | 2 +- .../types/workflows.StepFunctionResult.mdx | 4 +- .../types/workflows.WorkflowData.mdx | 2 +- .../workflows.WorkflowDataProperties.mdx | 2 +- 1586 files changed, 328811 insertions(+), 137441 deletions(-) create mode 100644 www/apps/docs/content/references/medusa/classes/medusa.AdminGetRegionsRegionParams.mdx create mode 100644 www/apps/docs/content/references/medusa/classes/medusa.AdminGetWorkflowExecutionDetailsParams.mdx create mode 100644 www/apps/docs/content/references/medusa/classes/medusa.AdminGetWorkflowExecutionsParams.mdx create mode 100644 www/apps/docs/content/references/medusa/classes/medusa.AdminPostWorkflowsAsyncResponseReq.mdx create mode 100644 www/apps/docs/content/references/medusa/classes/medusa.AdminPostWorkflowsRunReq.mdx create mode 100644 www/apps/docs/content/references/medusa/enums/medusa.TransactionHandlerType.mdx create mode 100644 www/apps/docs/content/references/medusa/interfaces/medusa.AuthenticatedMedusaRequest.mdx create mode 100644 www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentAddressDTO.mdx create mode 100644 www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentDTO.mdx create mode 100644 www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentItemDTO.mdx create mode 100644 www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentLabelDTO.mdx create mode 100644 www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentProviderDTO.mdx create mode 100644 www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentSetDTO.mdx create mode 100644 www/apps/docs/content/references/medusa/interfaces/medusa.GeoZoneDTO.mdx delete mode 100644 www/apps/docs/content/references/medusa/interfaces/medusa.JoinerServiceConfig.mdx delete mode 100644 www/apps/docs/content/references/medusa/interfaces/medusa.JoinerServiceConfigAlias.mdx create mode 100644 www/apps/docs/content/references/medusa/interfaces/medusa.PaginatedResponse-1.mdx create mode 100644 www/apps/docs/content/references/medusa/interfaces/medusa.RequestQueryFields-1.mdx create mode 100644 www/apps/docs/content/references/medusa/interfaces/medusa.ServiceZoneDTO.mdx create mode 100644 www/apps/docs/content/references/medusa/interfaces/medusa.ShippingOptionDTO.mdx create mode 100644 www/apps/docs/content/references/medusa/interfaces/medusa.ShippingOptionRuleDTO.mdx create mode 100644 www/apps/docs/content/references/medusa/interfaces/medusa.ShippingOptionTypeDTO.mdx create mode 100644 www/apps/docs/content/references/medusa/interfaces/medusa.ShippingProfileDTO.mdx create mode 100644 www/apps/docs/content/references/medusa/types/medusa.DraftOrderStatusValue.mdx create mode 100644 www/apps/docs/content/references/medusa/types/medusa.GeoZoneType.mdx delete mode 100644 www/apps/docs/content/references/medusa/types/medusa.JoinerRelationship.mdx create mode 100644 www/apps/docs/content/references/medusa/types/medusa.MedusaPricingContext.mdx delete mode 100644 www/apps/docs/content/references/medusa/types/medusa.ModuleJoinerConfig.mdx delete mode 100644 www/apps/docs/content/references/medusa/types/medusa.ModuleJoinerRelationship.mdx delete mode 100644 www/apps/docs/content/references/medusa/types/medusa.PaginatedResponse-1.mdx create mode 100644 www/apps/docs/content/references/medusa/types/medusa.ParserConfigArgs.mdx create mode 100644 www/apps/docs/content/references/medusa/types/medusa.ShippingOptionPriceType.mdx create mode 100644 www/apps/docs/content/references/medusa_config/types/medusa_config.PluginDetails.mdx create mode 100644 www/apps/docs/content/references/pricing/IMessageAggregator/methods/pricing.IMessageAggregator.saveRawMessageData.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createCurrencies.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createMoneyAmounts.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createPriceSetMoneyAmountRules.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deleteCurrencies.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deleteMoneyAmounts.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deletePriceSetMoneyAmountRules.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountCurrencies.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountMoneyAmounts.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceSetMoneyAmountRules.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceSetMoneyAmounts.mdx create mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPrices.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listCurrencies.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listMoneyAmounts.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceSetMoneyAmountRules.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceSetMoneyAmounts.mdx create mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPrices.mdx create mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.removePrices.mdx create mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.restorePriceLists.mdx create mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.restorePrices.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrieveCurrency.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrieveMoneyAmount.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrievePriceSetMoneyAmountRules.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.softDeleteMoneyAmounts.mdx create mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.softDeletePriceLists.mdx create mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.softDeletePrices.mdx create mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.update.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updateCurrencies.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updateMoneyAmounts.mdx create mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceListPrices.mdx delete mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceSetMoneyAmountRules.mdx create mode 100644 www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.upsert.mdx delete mode 100644 www/apps/docs/content/references/pricing/interfaces/pricing.CreateCurrencyDTO.mdx create mode 100644 www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceListPriceDTO.mdx delete mode 100644 www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceSetMoneyAmountRulesDTO.mdx delete mode 100644 www/apps/docs/content/references/pricing/interfaces/pricing.CurrencyDTO.mdx delete mode 100644 www/apps/docs/content/references/pricing/interfaces/pricing.FilterableCurrencyProps.mdx create mode 100644 www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceProps.mdx delete mode 100644 www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceSetMoneyAmountProps.mdx delete mode 100644 www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceSetMoneyAmountRulesProps.mdx create mode 100644 www/apps/docs/content/references/pricing/interfaces/pricing.PriceDTO.mdx delete mode 100644 www/apps/docs/content/references/pricing/interfaces/pricing.PriceListPriceDTO.mdx delete mode 100644 www/apps/docs/content/references/pricing/interfaces/pricing.PriceSetMoneyAmountDTO.mdx delete mode 100644 www/apps/docs/content/references/pricing/interfaces/pricing.PriceSetMoneyAmountRulesDTO.mdx delete mode 100644 www/apps/docs/content/references/pricing/interfaces/pricing.UpdateCurrencyDTO.mdx create mode 100644 www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceListPriceDTO.mdx create mode 100644 www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceListPricesDTO.mdx delete mode 100644 www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceSetMoneyAmountRulesDTO.mdx create mode 100644 www/apps/docs/content/references/pricing/interfaces/pricing.UpsertPriceSetDTO.mdx create mode 100644 www/apps/docs/content/references/pricing/types/pricing.BigNumberInput.mdx create mode 100644 www/apps/docs/content/references/pricing/types/pricing.BigNumberRawValue.mdx create mode 100644 www/apps/docs/content/references/pricing/types/pricing.BigNumberValue.mdx create mode 100644 www/apps/docs/content/references/pricing/types/pricing.ExpandScalar.mdx create mode 100644 www/apps/docs/content/references/pricing/types/pricing.FilterQuery.mdx create mode 100644 www/apps/docs/content/references/pricing/types/pricing.FilterValue.mdx create mode 100644 www/apps/docs/content/references/pricing/types/pricing.FilterValue2.mdx create mode 100644 www/apps/docs/content/references/pricing/types/pricing.MessageFormat.mdx create mode 100644 www/apps/docs/content/references/pricing/types/pricing.OperatorMap.mdx create mode 100644 www/apps/docs/content/references/pricing/types/pricing.PrevLimit.mdx create mode 100644 www/apps/docs/content/references/pricing/types/pricing.Primary.mdx create mode 100644 www/apps/docs/content/references/pricing/types/pricing.Query.mdx create mode 100644 www/apps/docs/content/references/pricing/types/pricing.ReadonlyPrimary.mdx create mode 100644 www/apps/docs/content/references/pricing/types/pricing.Scalar.mdx create mode 100644 www/apps/docs/content/references/product/IMessageAggregator/methods/product.IMessageAggregator.saveRawMessageData.mdx create mode 100644 www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.restoreCollections.mdx rename www/apps/docs/content/references/product/IProductModuleService/methods/{product.IProductModuleService.updateTags.mdx => product.IProductModuleService.restoreOptions.mdx} (51%) create mode 100644 www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.restoreTypes.mdx create mode 100644 www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.softDeleteCollections.mdx rename www/apps/docs/content/references/{pricing/IPricingModuleService/methods/pricing.IPricingModuleService.restoreMoneyAmounts.mdx => product/IProductModuleService/methods/product.IProductModuleService.softDeleteOptions.mdx} (53%) create mode 100644 www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.softDeleteTypes.mdx create mode 100644 www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.softDeleteVariants.mdx create mode 100644 www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsert.mdx create mode 100644 www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsertCollections.mdx create mode 100644 www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsertOptions.mdx create mode 100644 www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsertTypes.mdx create mode 100644 www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsertVariants.mdx delete mode 100644 www/apps/docs/content/references/product/interfaces/product.CreateProductVariantOptionDTO.mdx create mode 100644 www/apps/docs/content/references/product/interfaces/product.UpdateProductImageDTO.mdx create mode 100644 www/apps/docs/content/references/product/interfaces/product.UpsertProductCollectionDTO.mdx create mode 100644 www/apps/docs/content/references/product/interfaces/product.UpsertProductDTO.mdx create mode 100644 www/apps/docs/content/references/product/interfaces/product.UpsertProductImageDTO.mdx create mode 100644 www/apps/docs/content/references/product/interfaces/product.UpsertProductOptionDTO.mdx create mode 100644 www/apps/docs/content/references/product/interfaces/product.UpsertProductTagDTO.mdx create mode 100644 www/apps/docs/content/references/product/interfaces/product.UpsertProductTypeDTO.mdx create mode 100644 www/apps/docs/content/references/product/interfaces/product.UpsertProductVariantDTO.mdx create mode 100644 www/apps/docs/content/references/product/types/product.MessageFormat.mdx create mode 100644 www/apps/docs/content/references/stock_location/interfaces/stock_location.BaseFilterable.mdx create mode 100644 www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentAddressDTO.mdx create mode 100644 www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentDTO.mdx create mode 100644 www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentItemDTO.mdx create mode 100644 www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentLabelDTO.mdx create mode 100644 www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentProviderDTO.mdx create mode 100644 www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentSetDTO.mdx create mode 100644 www/apps/docs/content/references/stock_location/interfaces/stock_location.GeoZoneDTO.mdx create mode 100644 www/apps/docs/content/references/stock_location/interfaces/stock_location.ServiceZoneDTO.mdx create mode 100644 www/apps/docs/content/references/stock_location/interfaces/stock_location.ShippingOptionDTO.mdx create mode 100644 www/apps/docs/content/references/stock_location/interfaces/stock_location.ShippingOptionRuleDTO.mdx create mode 100644 www/apps/docs/content/references/stock_location/interfaces/stock_location.ShippingOptionTypeDTO.mdx create mode 100644 www/apps/docs/content/references/stock_location/interfaces/stock_location.ShippingProfileDTO.mdx delete mode 100644 www/apps/docs/content/references/stock_location/interfaces/stock_location.StringComparisonOperator.mdx create mode 100644 www/apps/docs/content/references/stock_location/types/stock_location.ExpandScalar.mdx create mode 100644 www/apps/docs/content/references/stock_location/types/stock_location.FilterQuery.mdx create mode 100644 www/apps/docs/content/references/stock_location/types/stock_location.FilterValue.mdx create mode 100644 www/apps/docs/content/references/stock_location/types/stock_location.FilterValue2.mdx create mode 100644 www/apps/docs/content/references/stock_location/types/stock_location.GeoZoneType.mdx create mode 100644 www/apps/docs/content/references/stock_location/types/stock_location.OperatorMap.mdx create mode 100644 www/apps/docs/content/references/stock_location/types/stock_location.PrevLimit.mdx create mode 100644 www/apps/docs/content/references/stock_location/types/stock_location.Primary.mdx create mode 100644 www/apps/docs/content/references/stock_location/types/stock_location.Query.mdx create mode 100644 www/apps/docs/content/references/stock_location/types/stock_location.ReadonlyPrimary.mdx create mode 100644 www/apps/docs/content/references/stock_location/types/stock_location.Scalar.mdx create mode 100644 www/apps/docs/content/references/stock_location/types/stock_location.ShippingOptionPriceType.mdx create mode 100644 www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.AddToCartWorkflowInputDTO.mdx create mode 100644 www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartLineItemTotalsDTO.mdx create mode 100644 www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartWorkflowDTO.mdx create mode 100644 www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateCartAddressDTO.mdx create mode 100644 www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateCartCreateLineItemDTO.mdx create mode 100644 www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateCartWorkflowInputDTO.mdx create mode 100644 www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreatePaymentCollectionForCartWorkflowInputDTO.mdx create mode 100644 www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.ListShippingOptionsForCartWorkflowInputDTO.mdx create mode 100644 www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.PricedShippingOptionDTO.mdx create mode 100644 www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateCartDataDTO.mdx create mode 100644 www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateCartWithSelectorDTO.mdx create mode 100644 www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateCartWorkflowInputDTO.mdx create mode 100644 www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemInCartWorkflowInputDTO.mdx delete mode 100644 www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.CustomFindOptions.mdx create mode 100644 www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.PaginatedResponse.mdx create mode 100644 www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.RequestQueryFields.mdx create mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.BatchMethodRequest.mdx create mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.BatchMethodResponse.mdx create mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.BatchWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.BatchWorkflowOutput.mdx delete mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.ExtendedFindConfig.mdx create mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.KebabCase.mdx create mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.LinkMethodRequest.mdx create mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.LinkWorkflowInput.mdx delete mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.PartialPick.mdx create mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.PluginDetails.mdx delete mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.Pluralize.mdx delete mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.QueryConfig.mdx delete mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.QuerySelector.mdx delete mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.RequestQueryFields.mdx create mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.RuleOperatorType.mdx delete mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.Selector.mdx create mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.SnakeCase.mdx delete mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.TotalField.mdx delete mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.TreeQuerySelector.mdx delete mode 100644 www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.Writable.mdx create mode 100644 www/apps/docs/content/references/types/CurrencyTypes/interfaces/types.CurrencyTypes.CurrencyDTO.mdx create mode 100644 www/apps/docs/content/references/types/CurrencyTypes/interfaces/types.CurrencyTypes.FilterableCurrencyProps.mdx create mode 100644 www/apps/docs/content/references/types/CurrencyTypes/interfaces/types.CurrencyTypes.ICurrencyModuleService.mdx delete mode 100644 www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupUpdatableFileds.mdx create mode 100644 www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.GroupCustomerPair.mdx create mode 100644 www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.legacy_CustomerDTO.mdx delete mode 100644 www/apps/docs/content/references/types/CustomerTypes/types/types.CustomerTypes.GroupCustomerPair.mdx delete mode 100644 www/apps/docs/content/references/types/CustomerTypes/types/types.CustomerTypes.legacy_CustomerDTO.mdx create mode 100644 www/apps/docs/content/references/types/DAL/interfaces/types.DAL.FindOptions.mdx create mode 100644 www/apps/docs/content/references/types/DAL/interfaces/types.DAL.UpsertWithReplaceConfig.mdx delete mode 100644 www/apps/docs/content/references/types/DAL/types/types.DAL.FindOptions.mdx create mode 100644 www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.CreateFileDTO.mdx create mode 100644 www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.FileDTO.mdx create mode 100644 www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.FilterableFileProps.mdx create mode 100644 www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.IFileModuleService.mdx create mode 100644 www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.IFileProvider.mdx create mode 100644 www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.LocalFileServiceOptions.mdx create mode 100644 www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.ProviderDeleteFileDTO.mdx create mode 100644 www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.ProviderFileResultDTO.mdx create mode 100644 www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.ProviderGetFileDTO.mdx create mode 100644 www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.ProviderUploadFileDTO.mdx create mode 100644 www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.S3FileServiceOptions.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateCityGeoZoneDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateCountryGeoZoneDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentAddressDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentItemDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentLabelDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentOrderDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentSetDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateProvinceGeoZoneDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateServiceZoneDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingOptionDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingOptionRuleDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingOptionTypeDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingProfileDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateZipGeoZoneDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableFulfillmentProps.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableFulfillmentProviderProps.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableFulfillmentSetProps.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableGeoZoneProps.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableServiceZoneProps.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionForContextProps.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionProps.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionRuleProps.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionTypeProps.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingProfileProps.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentAddressDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentItemDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentLabelDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentProviderDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentSetDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.GeoZoneDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.IFulfillmentProvider.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ServiceZoneDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionRuleDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionTypeDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingProfileDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateCityGeoZoneDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateCountryGeoZoneDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateFulfillmentDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateFulfillmentSetDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateGeoZoneBaseDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateProvinceGeoZoneDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateServiceZoneDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingOptionDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingOptionRuleDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingOptionTypeDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingProfileDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateZipGeoZoneDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpsertServiceZoneDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpsertShippingOptionDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.AddFulfillmentShippingOptionRulesWorkflowDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.CreateGeoZoneDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.RemoveFulfillmentShippingOptionRulesWorkflowDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.ShippingOptionPriceType.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.UpdateFulfillmentShippingOptionRulesWorkflowDTO.mdx create mode 100644 www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.UpdateGeoZoneDTO.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminApiKeyListResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminApiKeyResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCampaignListResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCampaignResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCustomerGroupListResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCustomerGroupResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCustomerListResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCustomerResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentAddressResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentItemResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentLabelResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentProviderResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentSetResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentSetsDeleteResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminGeoZoneResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminOrderListResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminOrderResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminProductCategoryListResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminProductCategoryResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminPromotionRuleListResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminReservationListResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminReservationResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminRuleAttributeOptionsListResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminRuleOperatorOptionsListResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminSalesChannelListResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminSalesChannelResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminServiceZoneDeleteResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminServiceZoneResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionDeleteResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionListResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionRetrieveResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionRuleResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionTypeResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingProfileDeleteResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingProfileResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingProfilesResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminStockLocationResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminTaxRateListResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminTaxRateResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminTaxRegionListResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminTaxRegionResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.CampaignResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.CustomerAddressResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.CustomerGroupResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.FulfillmentSetResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.OrderResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.PromotionRuleResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.RuleAttributeOptionsResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.RuleOperatorOptionsResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.ServiceZoneResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.ShippingProfileResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.StoreProductCategoryListResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.StoreProductCategoryResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.TaxRateResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.TaxRegionResponse.mdx create mode 100644 www/apps/docs/content/references/types/HttpTypes/types/types.HttpTypes.AdminStockLocationAddressResponse.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CancelOrderChangeDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.ConfirmOrderChangeDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderAddressDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderAdjustmentDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderChangeActionDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderChangeDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemAdjustmentDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemForOrderDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemTaxLineDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderReturnDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderShippingMethodAdjustmentDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderShippingMethodDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderShippingMethodTaxLineDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderTaxLineDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderTransactionDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.DeclineOrderChangeDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderAddressProps.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderChangeActionProps.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderChangeProps.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderItemProps.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderLineItemAdjustmentProps.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderLineItemProps.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderLineItemTaxLineProps.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderProps.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderShippingMethodAdjustmentProps.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderShippingMethodProps.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderShippingMethodTaxLineProps.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderTransactionProps.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.IOrderModuleService.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderAddressDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderAdjustmentLineDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderChangeActionDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderChangeDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderItemDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderLineItemAdjustmentDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderLineItemDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderLineItemTaxLineDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderLineItemTotalsDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderShippingMethodDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderTaxLineDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderTransactionDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderWorkflowDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.RegisterOrderFulfillmentDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.RegisterOrderShipmentDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderAddressDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderAdjustmentDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderChangeActionDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderChangeDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderItemDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderItemWithSelectorDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemAdjustmentDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemTaxLineDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemWithSelectorDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderShippingMethodAdjustmentDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderShippingMethodDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderShippingMethodTaxLineDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderTaxLineDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderTransactionDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpsertOrderAddressDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpsertOrderLineItemAdjustmentDTO.mdx create mode 100644 www/apps/docs/content/references/types/OrderTypes/types/types.OrderTypes.OrderSummaryDTO.mdx create mode 100644 www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.PromotionRuleTypes.mdx create mode 100644 www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.AddPromotionRulesWorkflowDTO.mdx create mode 100644 www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.AdminGetPromotionRulesRes.mdx create mode 100644 www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.RemovePromotionRulesWorkflowDTO.mdx create mode 100644 www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.UpdatePromotionRulesWorkflowDTO.mdx create mode 100644 www/apps/docs/content/references/types/RegionTypes/interfaces/types.RegionTypes.RegionDTO__legacy.mdx delete mode 100644 www/apps/docs/content/references/types/RegionTypes/types/types.RegionTypes.RegionDTO__legacy.mdx create mode 100644 www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.UpsertSalesChannelDTO.mdx create mode 100644 www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.CreateStoreDTO.mdx create mode 100644 www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.FilterableStoreProps.mdx create mode 100644 www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.IStoreModuleService.mdx create mode 100644 www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.StoreDTO.mdx create mode 100644 www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.UpdateStoreDTO.mdx create mode 100644 www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.UpsertStoreDTO.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.CreateTaxRateDTO.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.CreateTaxRateRuleDTO.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.CreateTaxRegionDTO.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.FilterableTaxRateProps.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.FilterableTaxRateRuleProps.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.FilterableTaxRegionProps.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.ITaxModuleService.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.ITaxProvider.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.ItemTaxLineDTO.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.ShippingTaxLineDTO.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxCalculationContext.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxProviderDTO.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxRateDTO.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxRateRuleDTO.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxRegionDTO.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxableItemDTO.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxableShippingDTO.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.UpdateTaxRateDTO.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.UpsertTaxRateDTO.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/types/types.TaxTypes.ItemTaxCalculationLine.mdx create mode 100644 www/apps/docs/content/references/types/TaxTypes/types/types.TaxTypes.ShippingTaxCalculationLine.mdx create mode 100644 www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.CreateInviteDTO.mdx create mode 100644 www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.FilterableInviteProps.mdx create mode 100644 www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.FilterableUserProps.mdx create mode 100644 www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.InviteDTO.mdx create mode 100644 www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.UpdateInviteDTO.mdx create mode 100644 www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.UserDTO.mdx delete mode 100644 www/apps/docs/content/references/types/UserTypes/types/types.UserTypes.FilterableUserProps.mdx delete mode 100644 www/apps/docs/content/references/types/UserTypes/types/types.UserTypes.UserDTO.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateServiceZonesWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateShipmentWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateShippingOptionsWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateShippingProfilesWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.DeleteShippingOptionsWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateFulfillmentWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateServiceZonesWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateShippingOptionsWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateShippingProfilesWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentAddressWorkflowDTO.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentItemWorkflowDTO.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentLabelWorkflowDTO.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentOrderWorkflowDTO.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateShippingOptionsWorkflowOutput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.UpdateShippingOptionsWorkflowOutput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.AcceptInviteWorkflowInputDTO.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.CreateInvitesWorkflowInputDTO.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.DeleteInvitesWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.ResendInvitesWorkflowInputDTO.mdx delete mode 100644 www/apps/docs/content/references/types/WorkflowTypes/PriceListWorkflow/interfaces/types.WorkflowTypes.PriceListWorkflow.UpdatePriceListWorkflowDTO.mdx delete mode 100644 www/apps/docs/content/references/types/WorkflowTypes/PriceListWorkflow/interfaces/types.WorkflowTypes.PriceListWorkflow.UpdatePriceListWorkflowInputDTO.mdx delete mode 100644 www/apps/docs/content/references/types/WorkflowTypes/PriceListWorkflow/types/types.WorkflowTypes.PriceListWorkflow.PriceListVariantPriceDTO.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/ProductCategoryWorkflow/interfaces/types.WorkflowTypes.ProductCategoryWorkflow.BatchUpdateProductsOnCategoryWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/ProductCategoryWorkflow/interfaces/types.WorkflowTypes.ProductCategoryWorkflow.CreateProductCategoryWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/ProductCategoryWorkflow/interfaces/types.WorkflowTypes.ProductCategoryWorkflow.UpdateProductCategoryWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/RegionWorkflow/interfaces/types.WorkflowTypes.RegionWorkflow.CreateRegionsWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/RegionWorkflow/interfaces/types.WorkflowTypes.RegionWorkflow.UpdateRegionsWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/RegionWorkflow/types/types.WorkflowTypes.RegionWorkflow.CreateRegionsWorkflowOutput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/RegionWorkflow/types/types.WorkflowTypes.RegionWorkflow.UpdateRegionsWorkflowOutput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/ReservationWorkflow/interfaces/types.WorkflowTypes.ReservationWorkflow.CreateReservationsWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/ReservationWorkflow/interfaces/types.WorkflowTypes.ReservationWorkflow.UpdateReservationsWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/ReservationWorkflow/types/types.WorkflowTypes.ReservationWorkflow.CreateReservationsWorkflowOutput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/ReservationWorkflow/types/types.WorkflowTypes.ReservationWorkflow.UpdateReservationsWorkflowOutput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/UserWorkflow/interfaces/types.WorkflowTypes.UserWorkflow.CreateUsersWorkflowInputDTO.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/UserWorkflow/interfaces/types.WorkflowTypes.UserWorkflow.DeleteUserWorkflowInput.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/UserWorkflow/interfaces/types.WorkflowTypes.UserWorkflow.UpdateUsersWorkflowInputDTO.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.FulfillmentWorkflow.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.InviteWorkflow.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.ProductCategoryWorkflow.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.RegionWorkflow.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.ReservationWorkflow.mdx create mode 100644 www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.UserWorkflow.mdx create mode 100644 www/apps/docs/content/references/types/enums/types.PaymentActions.mdx create mode 100644 www/apps/docs/content/references/types/enums/types.PaymentSessionStatus.mdx delete mode 100644 www/apps/docs/content/references/types/interfaces/types.AddCountryToRegionDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.AdminShippingOptionResponse.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.ApiKeyDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.ApiKeyResponse.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.AuthModuleProviderConfig.mdx rename www/apps/docs/content/references/types/{types => interfaces}/types.AuthProviderScope.mdx (60%) create mode 100644 www/apps/docs/content/references/types/interfaces/types.AuthUserDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.AuthenticationInput.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.AuthenticationResponse.mdx delete mode 100644 www/apps/docs/content/references/types/interfaces/types.CountryDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.CreateApiKeyDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.CreateAuthUserDTO.mdx delete mode 100644 www/apps/docs/content/references/types/interfaces/types.CreateCurrencyDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.CreateGeoZoneBaseDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.CreateLocationFulfillmentSetWorkflowInputDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.CreatePaymentProviderDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.CreatePaymentProviderSession.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.CreatePriceDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.CreatePriceListPriceDTO.mdx delete mode 100644 www/apps/docs/content/references/types/interfaces/types.CreatePriceSetMoneyAmountDTO.mdx delete mode 100644 www/apps/docs/content/references/types/interfaces/types.CreatePriceSetMoneyAmountRulesDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.CreateReservationItemInput.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.CreateServiceZone.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.CreateShippingProfile.mdx delete mode 100644 www/apps/docs/content/references/types/interfaces/types.CurrencyDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.CustomerResponse.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.FilterableApiKeyProps.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.FilterableCaptureProps.mdx delete mode 100644 www/apps/docs/content/references/types/interfaces/types.FilterableCurrencyProps.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.FilterablePaymentProps.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.FilterablePaymentProviderProps.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.FilterablePaymentSessionProps.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.FilterablePriceProps.mdx delete mode 100644 www/apps/docs/content/references/types/interfaces/types.FilterablePriceSetMoneyAmountProps.mdx delete mode 100644 www/apps/docs/content/references/types/interfaces/types.FilterablePriceSetMoneyAmountRulesProps.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.FilterableRefundProps.mdx delete mode 100644 www/apps/docs/content/references/types/interfaces/types.FilterableRegionCurrencyProps.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.IApiKeyModuleService.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.IPaymentProvider.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.OrderAddress.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.OrderAdjustmentLine.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.OrderItemDetail.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.OrderLineItem.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.OrderLineItemAdjustment.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.OrderLineItemTaxLine.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.OrderShippingMethod.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.OrderShippingMethodAdjustment.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.OrderShippingMethodTaxLine.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.OrderSummary.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.OrderTaxLine.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.OrderTransaction.mdx rename www/apps/docs/content/references/types/{CommonTypes/types/types.CommonTypes.PaginatedResponse.mdx => interfaces/types.PaginatedResponse.mdx} (93%) create mode 100644 www/apps/docs/content/references/types/interfaces/types.PaymentCollectionUpdatableFields.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.PaymentModuleOptions.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.PaymentProviderAuthorizeResponse.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.PaymentProviderContext.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.PaymentProviderDataInput.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.PaymentProviderError.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.PaymentProviderSessionResponse.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.PriceDTO.mdx delete mode 100644 www/apps/docs/content/references/types/interfaces/types.PriceListPriceDTO.mdx delete mode 100644 www/apps/docs/content/references/types/interfaces/types.PriceSetMoneyAmountDTO.mdx delete mode 100644 www/apps/docs/content/references/types/interfaces/types.PriceSetMoneyAmountRulesDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.ProductCategoryResponse.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.ProviderWebhookPayload.mdx delete mode 100644 www/apps/docs/content/references/types/interfaces/types.RegionCurrencyDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.RemoteJoinerOptions.mdx delete mode 100644 www/apps/docs/content/references/types/interfaces/types.RemoveCountryFromRegionDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.ReservationItemDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.ReservationResponse.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.RevokeApiKeyDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.SalesChannelResponse.mdx delete mode 100644 www/apps/docs/content/references/types/interfaces/types.SetPaymentSessionsDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.TaxLineDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.UpdateApiKeyDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.UpdateAuthUserDTO.mdx delete mode 100644 www/apps/docs/content/references/types/interfaces/types.UpdateCurrencyDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.UpdatePaymentProviderSession.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.UpdatePaymentSessionDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.UpdatePriceDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.UpdatePriceListPriceDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.UpdatePriceListPricesDTO.mdx delete mode 100644 www/apps/docs/content/references/types/interfaces/types.UpdatePriceSetMoneyAmountDTO.mdx delete mode 100644 www/apps/docs/content/references/types/interfaces/types.UpdatePriceSetMoneyAmountRulesDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.UpdateReservationItemInput.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.UpdateServiceZone.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.UpdateShippingProfile.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.UpsertApiKeyDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.UpsertPaymentCollectionDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.UpsertPriceSetDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.UpsertRegionDTO.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.WebhookActionData.mdx create mode 100644 www/apps/docs/content/references/types/interfaces/types.WebhookActionResult.mdx create mode 100644 www/apps/docs/content/references/types/types.ApiKeyTypes.mdx create mode 100644 www/apps/docs/content/references/types/types.CurrencyTypes.mdx create mode 100644 www/apps/docs/content/references/types/types.FileTypes.mdx create mode 100644 www/apps/docs/content/references/types/types.HttpTypes.mdx create mode 100644 www/apps/docs/content/references/types/types.OrderTypes.mdx create mode 100644 www/apps/docs/content/references/types/types.StoreTypes.mdx create mode 100644 www/apps/docs/content/references/types/types.TaxTypes.mdx create mode 100644 www/apps/docs/content/references/types/types/types.ApiKeyType.mdx delete mode 100644 www/apps/docs/content/references/types/types/types.AuthModuleProviderConfig.mdx delete mode 100644 www/apps/docs/content/references/types/types/types.AuthUserDTO.mdx delete mode 100644 www/apps/docs/content/references/types/types/types.AuthenticationInput.mdx delete mode 100644 www/apps/docs/content/references/types/types/types.AuthenticationResponse.mdx create mode 100644 www/apps/docs/content/references/types/types/types.BigNumberInput.mdx create mode 100644 www/apps/docs/content/references/types/types/types.BigNumberRawValue.mdx create mode 100644 www/apps/docs/content/references/types/types/types.BigNumberValue.mdx create mode 100644 www/apps/docs/content/references/types/types/types.CartLikeWithTotals.mdx delete mode 100644 www/apps/docs/content/references/types/types/types.CreateAuthUserDTO.mdx create mode 100644 www/apps/docs/content/references/types/types/types.CreateProductVariantWorkflowInputDTO.mdx create mode 100644 www/apps/docs/content/references/types/types/types.CreateProductWorkflowInputDTO.mdx create mode 100644 www/apps/docs/content/references/types/types/types.DeleteResponse.mdx delete mode 100644 www/apps/docs/content/references/types/types/types.JWTGenerationOptions.mdx create mode 100644 www/apps/docs/content/references/types/types/types.MedusaPricingContext.mdx create mode 100644 www/apps/docs/content/references/types/types/types.PaymentAddressDTO.mdx create mode 100644 www/apps/docs/content/references/types/types/types.PaymentCustomerDTO.mdx delete mode 100644 www/apps/docs/content/references/types/types/types.UpdateAuthUserDTO.mdx create mode 100644 www/apps/docs/content/references/types/types/types.UpdateProductVariantWorkflowInputDTO.mdx create mode 100644 www/apps/docs/content/references/types/types/types.UpdateProductWorkflowInputDTO.mdx diff --git a/docs-util/typedoc-json-output/0-medusa.json b/docs-util/typedoc-json-output/0-medusa.json index 7343742fd102b..edd374d5fcf99 100644 --- a/docs-util/typedoc-json-output/0-medusa.json +++ b/docs-util/typedoc-json-output/0-medusa.json @@ -6,7 +6,7 @@ "flags": {}, "children": [ { - "id": 4881, + "id": 4993, "name": "MedusaError", "variant": "declaration", "kind": 128, @@ -21,7 +21,7 @@ }, "children": [ { - "id": 4904, + "id": 5016, "name": "type", "variant": "declaration", "kind": 1024, @@ -32,7 +32,7 @@ } }, { - "id": 4905, + "id": 5017, "name": "message", "variant": "declaration", "kind": 1024, @@ -48,7 +48,7 @@ } }, { - "id": 4906, + "id": 5018, "name": "code", "variant": "declaration", "kind": 1024, @@ -61,7 +61,7 @@ } }, { - "id": 4907, + "id": 5019, "name": "date", "variant": "declaration", "kind": 1024, @@ -77,7 +77,7 @@ } }, { - "id": 4882, + "id": 4994, "name": "Types", "variant": "declaration", "kind": 1024, @@ -87,14 +87,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4883, + "id": 4995, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4884, + "id": 4996, "name": "DB_ERROR", "variant": "declaration", "kind": 1024, @@ -113,7 +113,7 @@ } }, { - "id": 4885, + "id": 4997, "name": "DUPLICATE_ERROR", "variant": "declaration", "kind": 1024, @@ -124,7 +124,7 @@ } }, { - "id": 4886, + "id": 4998, "name": "INVALID_ARGUMENT", "variant": "declaration", "kind": 1024, @@ -135,7 +135,7 @@ } }, { - "id": 4887, + "id": 4999, "name": "INVALID_DATA", "variant": "declaration", "kind": 1024, @@ -146,7 +146,7 @@ } }, { - "id": 4888, + "id": 5000, "name": "UNAUTHORIZED", "variant": "declaration", "kind": 1024, @@ -157,7 +157,7 @@ } }, { - "id": 4889, + "id": 5001, "name": "NOT_FOUND", "variant": "declaration", "kind": 1024, @@ -168,7 +168,7 @@ } }, { - "id": 4890, + "id": 5002, "name": "NOT_ALLOWED", "variant": "declaration", "kind": 1024, @@ -179,7 +179,7 @@ } }, { - "id": 4891, + "id": 5003, "name": "UNEXPECTED_STATE", "variant": "declaration", "kind": 1024, @@ -190,7 +190,7 @@ } }, { - "id": 4892, + "id": 5004, "name": "CONFLICT", "variant": "declaration", "kind": 1024, @@ -201,7 +201,7 @@ } }, { - "id": 4893, + "id": 5005, "name": "PAYMENT_AUTHORIZATION_ERROR", "variant": "declaration", "kind": 1024, @@ -216,16 +216,16 @@ { "title": "Properties", "children": [ - 4884, - 4885, - 4886, - 4887, - 4888, - 4889, - 4890, - 4891, - 4892, - 4893 + 4996, + 4997, + 4998, + 4999, + 5000, + 5001, + 5002, + 5003, + 5004, + 5005 ] } ] @@ -233,7 +233,7 @@ } }, { - "id": 4894, + "id": 5006, "name": "Codes", "variant": "declaration", "kind": 1024, @@ -243,14 +243,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4895, + "id": 5007, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4896, + "id": 5008, "name": "INSUFFICIENT_INVENTORY", "variant": "declaration", "kind": 1024, @@ -261,7 +261,7 @@ } }, { - "id": 4897, + "id": 5009, "name": "CART_INCOMPATIBLE_STATE", "variant": "declaration", "kind": 1024, @@ -276,8 +276,8 @@ { "title": "Properties", "children": [ - 4896, - 4897 + 5008, + 5009 ] } ] @@ -285,14 +285,14 @@ } }, { - "id": 4898, + "id": 5010, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4899, + "id": 5011, "name": "new MedusaError", "variant": "signature", "kind": 16384, @@ -307,7 +307,7 @@ }, "parameters": [ { - "id": 4900, + "id": 5012, "name": "type", "variant": "param", "kind": 32768, @@ -326,7 +326,7 @@ } }, { - "id": 4901, + "id": 5013, "name": "message", "variant": "param", "kind": 32768, @@ -345,7 +345,7 @@ } }, { - "id": 4902, + "id": 5014, "name": "code", "variant": "param", "kind": 32768, @@ -366,7 +366,7 @@ } }, { - "id": 4903, + "id": 5015, "name": "params", "variant": "param", "kind": 32768, @@ -389,7 +389,7 @@ ], "type": { "type": "reference", - "target": 4881, + "target": 4993, "name": "MedusaError", "package": "medusa-core-utils" }, @@ -411,18 +411,18 @@ { "title": "Constructors", "children": [ - 4898 + 5010 ] }, { "title": "Properties", "children": [ - 4904, - 4905, - 4906, - 4907, - 4882, - 4894 + 5016, + 5017, + 5018, + 5019, + 4994, + 5006 ] } ], @@ -439,7 +439,7 @@ ] }, { - "id": 4978, + "id": 5063, "name": "MedusaContainer", "variant": "declaration", "kind": 2097152, @@ -459,14 +459,14 @@ { "type": "reflection", "declaration": { - "id": 4979, + "id": 5064, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4980, + "id": 5065, "name": "registerAdd", "variant": "declaration", "kind": 1024, @@ -474,21 +474,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4981, + "id": 5066, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4982, + "id": 5067, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "typeParameter": [ { - "id": 4985, + "id": 5070, "name": "T", "variant": "typeParam", "kind": 131072, @@ -497,7 +497,7 @@ ], "parameters": [ { - "id": 4983, + "id": 5068, "name": "name", "variant": "param", "kind": 32768, @@ -508,14 +508,14 @@ } }, { - "id": 4984, + "id": 5069, "name": "registration", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 4985, + "target": 5070, "name": "T", "package": "medusa-core-utils", "refersToTypeParameter": true @@ -524,7 +524,7 @@ ], "type": { "type": "reference", - "target": 4978, + "target": 5063, "name": "MedusaContainer", "package": "medusa-core-utils" } @@ -534,7 +534,7 @@ } }, { - "id": 4986, + "id": 5071, "name": "createScope", "variant": "declaration", "kind": 1024, @@ -542,21 +542,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4987, + "id": 5072, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4988, + "id": 5073, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "type": { "type": "reference", - "target": 4978, + "target": 5063, "name": "MedusaContainer", "package": "medusa-core-utils" } @@ -570,8 +570,8 @@ { "title": "Properties", "children": [ - 4980, - 4986 + 5065, + 5071 ] } ] @@ -581,7 +581,7 @@ } }, { - "id": 4929, + "id": 5041, "name": "\"medusa-interfaces\"", "variant": "declaration", "kind": 4, @@ -589,20 +589,20 @@ "implementedBy": [ { "type": "reference", - "target": 3508, + "target": 3562, "name": "AbstractPaymentService" } ] }, { - "id": 2662, + "id": 2716, "name": "authenticateCustomer", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 2663, + "id": 2717, "name": "authenticateCustomer", "variant": "signature", "kind": 4096, @@ -669,14 +669,14 @@ ] }, { - "id": 2660, + "id": 2714, "name": "authenticate", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 2661, + "id": 2715, "name": "authenticate", "variant": "signature", "kind": 4096, @@ -743,7 +743,7 @@ ] }, { - "id": 4876, + "id": 4988, "name": "handler", "variant": "declaration", "kind": 2097152, @@ -751,21 +751,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4877, + "id": 4989, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4878, + "id": 4990, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4879, + "id": 4991, "name": "req", "variant": "param", "kind": 32768, @@ -782,7 +782,7 @@ } }, { - "id": 4880, + "id": 4992, "name": "res", "variant": "param", "kind": 32768, @@ -820,14 +820,14 @@ } }, { - "id": 2664, + "id": 2718, "name": "wrapHandler", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 2665, + "id": 2719, "name": "wrapHandler", "variant": "signature", "kind": 4096, @@ -852,14 +852,14 @@ }, "parameters": [ { - "id": 2666, + "id": 2720, "name": "fn", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 4876, + "target": 4988, "name": "handler", "package": "@medusajs/medusa" } @@ -927,21 +927,21 @@ ] }, { - "id": 2667, + "id": 2721, "name": "canAccessBatchJob", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 2668, + "id": 2722, "name": "canAccessBatchJob", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2669, + "id": 2723, "name": "req", "variant": "param", "kind": 32768, @@ -952,7 +952,7 @@ } }, { - "id": 2670, + "id": 2724, "name": "res", "variant": "param", "kind": 32768, @@ -963,7 +963,7 @@ } }, { - "id": 2671, + "id": 2725, "name": "next", "variant": "param", "kind": 32768, @@ -993,21 +993,21 @@ ] }, { - "id": 2672, + "id": 2726, "name": "getRequestedBatchJob", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 2673, + "id": 2727, "name": "getRequestedBatchJob", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2674, + "id": 2728, "name": "req", "variant": "param", "kind": 32768, @@ -1018,7 +1018,7 @@ } }, { - "id": 2675, + "id": 2729, "name": "res", "variant": "param", "kind": 32768, @@ -1029,7 +1029,7 @@ } }, { - "id": 2676, + "id": 2730, "name": "next", "variant": "param", "kind": 32768, @@ -1059,21 +1059,21 @@ ] }, { - "id": 2677, + "id": 2731, "name": "doesConditionBelongToDiscount", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 2678, + "id": 2732, "name": "doesConditionBelongToDiscount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2679, + "id": 2733, "name": "req", "variant": "param", "kind": 32768, @@ -1084,7 +1084,7 @@ } }, { - "id": 2680, + "id": 2734, "name": "res", "variant": "param", "kind": 32768, @@ -1095,7 +1095,7 @@ } }, { - "id": 2681, + "id": 2735, "name": "next", "variant": "param", "kind": 32768, @@ -1125,14 +1125,14 @@ ] }, { - "id": 2682, + "id": 2736, "name": "errorHandler", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 2683, + "id": 2737, "name": "errorHandler", "variant": "signature", "kind": 4096, @@ -1140,34 +1140,34 @@ "type": { "type": "reflection", "declaration": { - "id": 2684, + "id": 2738, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2685, + "id": 2739, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2686, + "id": 2740, "name": "err", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 4881, + "target": 4993, "name": "MedusaError", "package": "medusa-core-utils" } }, { - "id": 2687, + "id": 2741, "name": "req", "variant": "param", "kind": 32768, @@ -1232,7 +1232,7 @@ } }, { - "id": 2688, + "id": 2742, "name": "res", "variant": "param", "kind": 32768, @@ -1274,7 +1274,7 @@ } }, { - "id": 2689, + "id": 2743, "name": "next", "variant": "param", "kind": 32768, @@ -1303,21 +1303,21 @@ ] }, { - "id": 2690, + "id": 2744, "name": "isFeatureFlagEnabled", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 2691, + "id": 2745, "name": "isFeatureFlagEnabled", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2692, + "id": 2746, "name": "flagKey", "variant": "param", "kind": 32768, @@ -1331,21 +1331,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2693, + "id": 2747, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2694, + "id": 2748, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2695, + "id": 2749, "name": "req", "variant": "param", "kind": 32768, @@ -1362,7 +1362,7 @@ } }, { - "id": 2696, + "id": 2750, "name": "res", "variant": "param", "kind": 32768, @@ -1379,7 +1379,7 @@ } }, { - "id": 2697, + "id": 2751, "name": "next", "variant": "param", "kind": 32768, @@ -1419,14 +1419,14 @@ ] }, { - "id": 2698, + "id": 2752, "name": "normalizeQuery", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 2699, + "id": 2753, "name": "normalizeQuery", "variant": "signature", "kind": 4096, @@ -1442,21 +1442,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2700, + "id": 2754, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2701, + "id": 2755, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2702, + "id": 2756, "name": "req", "variant": "param", "kind": 32768, @@ -1521,7 +1521,7 @@ } }, { - "id": 2703, + "id": 2757, "name": "res", "variant": "param", "kind": 32768, @@ -1563,7 +1563,7 @@ } }, { - "id": 2704, + "id": 2758, "name": "next", "variant": "param", "kind": 32768, @@ -1592,14 +1592,14 @@ ] }, { - "id": 2705, + "id": 2759, "name": "requireCustomerAuthentication", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 2706, + "id": 2760, "name": "requireCustomerAuthentication", "variant": "signature", "kind": 4096, @@ -1666,21 +1666,21 @@ ] }, { - "id": 2707, + "id": 2761, "name": "transformBody", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 2708, + "id": 2762, "name": "transformBody", "variant": "signature", "kind": 4096, "flags": {}, "typeParameter": [ { - "id": 2709, + "id": 2763, "name": "T", "variant": "typeParam", "kind": 131072, @@ -1689,18 +1689,18 @@ ], "parameters": [ { - "id": 2710, + "id": 2764, "name": "plainToClass", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 4030, + "target": 4087, "typeArguments": [ { "type": "reference", - "target": 2709, + "target": 2763, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -1711,7 +1711,7 @@ } }, { - "id": 2711, + "id": 2765, "name": "config", "variant": "param", "kind": 32768, @@ -1731,21 +1731,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2712, + "id": 2766, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2713, + "id": 2767, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2714, + "id": 2768, "name": "req", "variant": "param", "kind": 32768, @@ -1762,7 +1762,7 @@ } }, { - "id": 2715, + "id": 2769, "name": "res", "variant": "param", "kind": 32768, @@ -1779,7 +1779,7 @@ } }, { - "id": 2716, + "id": 2770, "name": "next", "variant": "param", "kind": 32768, @@ -1819,14 +1819,14 @@ ] }, { - "id": 2717, + "id": 2771, "name": "transformIncludesOptions", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 2718, + "id": 2772, "name": "transformIncludesOptions", "variant": "signature", "kind": 4096, @@ -1841,7 +1841,7 @@ }, "parameters": [ { - "id": 2719, + "id": 2773, "name": "allowedIncludes", "variant": "param", "kind": 32768, @@ -1864,7 +1864,7 @@ "defaultValue": "[]" }, { - "id": 2720, + "id": 2774, "name": "expectedIncludes", "variant": "param", "kind": 32768, @@ -1894,21 +1894,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2721, + "id": 2775, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2722, + "id": 2776, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2723, + "id": 2777, "name": "req", "variant": "param", "kind": 32768, @@ -1973,7 +1973,7 @@ } }, { - "id": 2724, + "id": 2778, "name": "res", "variant": "param", "kind": 32768, @@ -2015,7 +2015,7 @@ } }, { - "id": 2725, + "id": 2779, "name": "next", "variant": "param", "kind": 32768, @@ -2044,14 +2044,14 @@ ] }, { - "id": 2726, + "id": 2780, "name": "transformQuery", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 2727, + "id": 2781, "name": "transformQuery", "variant": "signature", "kind": 4096, @@ -2066,20 +2066,20 @@ }, "typeParameter": [ { - "id": 2728, + "id": 2782, "name": "T", "variant": "typeParam", "kind": 131072, "flags": {}, "type": { "type": "reference", - "target": 3947, + "target": 4003, "name": "RequestQueryFields", "package": "@medusajs/medusa" } }, { - "id": 2729, + "id": 2783, "name": "TEntity", "variant": "typeParam", "kind": 131072, @@ -2097,18 +2097,18 @@ ], "parameters": [ { - "id": 2730, + "id": 2784, "name": "plainToClass", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 4030, + "target": 4087, "typeArguments": [ { "type": "reference", - "target": 2728, + "target": 2782, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -2119,55 +2119,30 @@ } }, { - "id": 2731, + "id": 2785, "name": "queryConfig", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true - }, + "flags": {}, "type": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, + "target": 3992, "typeArguments": [ { "type": "reference", - "target": 3938, - "typeArguments": [ - { - "type": "reference", - "target": 2729, - "name": "TEntity", - "package": "@medusajs/medusa", - "refersToTypeParameter": true - } - ], - "name": "QueryConfig", - "package": "@medusajs/medusa" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "allowedFields" - }, - { - "type": "literal", - "value": "allowedRelations" - } - ] + "target": 2783, + "name": "TEntity", + "package": "@medusajs/medusa", + "refersToTypeParameter": true } ], - "name": "Omit", - "package": "typescript" - } + "name": "QueryConfig", + "package": "@medusajs/medusa" + }, + "defaultValue": "{}" }, { - "id": 2732, + "id": 2786, "name": "config", "variant": "param", "kind": 32768, @@ -2187,21 +2162,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2733, + "id": 2787, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2734, + "id": 2788, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2735, + "id": 2789, "name": "req", "variant": "param", "kind": 32768, @@ -2218,7 +2193,7 @@ } }, { - "id": 2736, + "id": 2790, "name": "res", "variant": "param", "kind": 32768, @@ -2235,7 +2210,7 @@ } }, { - "id": 2737, + "id": 2791, "name": "next", "variant": "param", "kind": 32768, @@ -2275,14 +2250,14 @@ ] }, { - "id": 2738, + "id": 2792, "name": "transformStoreQuery", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 2739, + "id": 2793, "name": "transformStoreQuery", "variant": "signature", "kind": 4096, @@ -2293,24 +2268,43 @@ "kind": "text", "text": "Middleware that transform the query input for the store endpoints" } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "use " + }, + { + "kind": "code", + "text": "`transformQuery`" + }, + { + "kind": "text", + "text": " instead" + } + ] + } ] }, "typeParameter": [ { - "id": 2740, + "id": 2794, "name": "T", "variant": "typeParam", "kind": 131072, "flags": {}, "type": { "type": "reference", - "target": 3947, + "target": 4003, "name": "RequestQueryFields", "package": "@medusajs/medusa" } }, { - "id": 2741, + "id": 2795, "name": "TEntity", "variant": "typeParam", "kind": 131072, @@ -2328,18 +2322,18 @@ ], "parameters": [ { - "id": 2742, + "id": 2796, "name": "plainToClass", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 4030, + "target": 4087, "typeArguments": [ { "type": "reference", - "target": 2740, + "target": 2794, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -2350,7 +2344,7 @@ } }, { - "id": 2743, + "id": 2797, "name": "queryConfig", "variant": "param", "kind": 32768, @@ -2359,11 +2353,11 @@ }, "type": { "type": "reference", - "target": 3938, + "target": 3992, "typeArguments": [ { "type": "reference", - "target": 2741, + "target": 2795, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -2374,7 +2368,7 @@ } }, { - "id": 2744, + "id": 2798, "name": "config", "variant": "param", "kind": 32768, @@ -2394,21 +2388,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2745, + "id": 2799, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2746, + "id": 2800, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2747, + "id": 2801, "name": "req", "variant": "param", "kind": 32768, @@ -2425,7 +2419,7 @@ } }, { - "id": 2748, + "id": 2802, "name": "res", "variant": "param", "kind": 32768, @@ -2442,7 +2436,7 @@ } }, { - "id": 2749, + "id": 2803, "name": "next", "variant": "param", "kind": 32768, @@ -2603,7 +2597,7 @@ "flags": {}, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } @@ -3129,7 +3123,7 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, @@ -3310,7 +3304,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -3510,7 +3520,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -3648,7 +3674,7 @@ }, { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } @@ -3688,7 +3714,7 @@ }, { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } @@ -3728,7 +3754,7 @@ }, { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } @@ -3768,7 +3794,7 @@ }, { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } @@ -3808,7 +3834,7 @@ }, { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } @@ -3841,7 +3867,7 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } @@ -3872,7 +3898,7 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } @@ -4187,7 +4213,7 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, @@ -4255,7 +4281,7 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } @@ -4572,7 +4598,7 @@ } }, { - "id": 103, + "id": 104, "name": "limit", "variant": "declaration", "kind": 1024, @@ -4597,7 +4623,7 @@ } }, { - "id": 104, + "id": 105, "name": "offset", "variant": "declaration", "kind": 1024, @@ -4689,7 +4715,7 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } @@ -4720,7 +4746,7 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } @@ -4751,7 +4777,7 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } @@ -4779,6 +4805,35 @@ }, { "id": 102, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 103, "name": "discount_condition_id", "variant": "declaration", "kind": 1024, @@ -4809,15 +4864,16 @@ { "title": "Properties", "children": [ - 103, 104, + 105, 96, 97, 98, 99, 100, 101, - 102 + 102, + 103 ] } ], @@ -4831,7 +4887,7 @@ ] }, { - "id": 105, + "id": 106, "name": "AdminDeleteProductsFromCollectionReq", "variant": "declaration", "kind": 128, @@ -4846,14 +4902,14 @@ }, "children": [ { - "id": 106, + "id": 107, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 107, + "id": 108, "name": "new AdminDeleteProductsFromCollectionReq", "variant": "signature", "kind": 16384, @@ -4868,7 +4924,7 @@ }, "type": { "type": "reference", - "target": 105, + "target": 106, "name": "AdminDeleteProductsFromCollectionReq", "package": "@medusajs/medusa" } @@ -4876,7 +4932,7 @@ ] }, { - "id": 108, + "id": 109, "name": "product_ids", "variant": "declaration", "kind": 1024, @@ -4902,19 +4958,19 @@ { "title": "Constructors", "children": [ - 106 + 107 ] }, { "title": "Properties", "children": [ - 108 + 109 ] } ] }, { - "id": 109, + "id": 110, "name": "AdminPostCollectionsCollectionReq", "variant": "declaration", "kind": 128, @@ -4929,14 +4985,14 @@ }, "children": [ { - "id": 110, + "id": 111, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 111, + "id": 112, "name": "new AdminPostCollectionsCollectionReq", "variant": "signature", "kind": 16384, @@ -4951,7 +5007,7 @@ }, "type": { "type": "reference", - "target": 109, + "target": 110, "name": "AdminPostCollectionsCollectionReq", "package": "@medusajs/medusa" } @@ -4959,7 +5015,7 @@ ] }, { - "id": 112, + "id": 113, "name": "title", "variant": "declaration", "kind": 1024, @@ -4980,7 +5036,7 @@ } }, { - "id": 113, + "id": 114, "name": "handle", "variant": "declaration", "kind": 1024, @@ -5001,7 +5057,7 @@ } }, { - "id": 114, + "id": 115, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -5041,21 +5097,21 @@ { "title": "Constructors", "children": [ - 110 + 111 ] }, { "title": "Properties", "children": [ - 112, 113, - 114 + 114, + 115 ] } ] }, { - "id": 115, + "id": 116, "name": "AdminCurrenciesListRes", "variant": "declaration", "kind": 2097152, @@ -5076,21 +5132,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 116, + "id": 117, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 117, + "id": 118, "name": "currencies", "variant": "declaration", "kind": 1024, @@ -5121,7 +5177,7 @@ { "title": "Properties", "children": [ - 117 + 118 ] } ] @@ -5131,7 +5187,7 @@ } }, { - "id": 118, + "id": 119, "name": "AdminCurrenciesRes", "variant": "declaration", "kind": 2097152, @@ -5150,14 +5206,14 @@ "type": { "type": "reflection", "declaration": { - "id": 119, + "id": 120, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 120, + "id": 121, "name": "currency", "variant": "declaration", "kind": 1024, @@ -5185,7 +5241,7 @@ { "title": "Properties", "children": [ - 120 + 121 ] } ] @@ -5193,7 +5249,7 @@ } }, { - "id": 121, + "id": 122, "name": "AdminGetCurrenciesParams", "variant": "declaration", "kind": 128, @@ -5208,39 +5264,39 @@ }, "children": [ { - "id": 122, + "id": 123, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 123, + "id": 124, "name": "new AdminGetCurrenciesParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 121, + "target": 122, "name": "AdminGetCurrenciesParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4023, + "target": 4079, "name": "FindPaginationParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4022, + "target": 4078, "name": "FindPaginationParams.constructor" } }, { - "id": 124, + "id": 125, "name": "code", "variant": "declaration", "kind": 1024, @@ -5261,7 +5317,7 @@ } }, { - "id": 125, + "id": 126, "name": "q", "variant": "declaration", "kind": 1024, @@ -5282,7 +5338,7 @@ } }, { - "id": 126, + "id": 127, "name": "includes_tax", "variant": "declaration", "kind": 1024, @@ -5314,7 +5370,7 @@ } }, { - "id": 127, + "id": 128, "name": "order", "variant": "declaration", "kind": 1024, @@ -5348,10 +5404,15 @@ "type": { "type": "intrinsic", "name": "string" + }, + "overwrites": { + "type": "reference", + "target": 4082, + "name": "FindPaginationParams.order" } }, { - "id": 128, + "id": 129, "name": "offset", "variant": "declaration", "kind": 1024, @@ -5384,12 +5445,12 @@ "defaultValue": "0", "inheritedFrom": { "type": "reference", - "target": 4024, + "target": 4080, "name": "FindPaginationParams.offset" } }, { - "id": 129, + "id": 130, "name": "limit", "variant": "declaration", "kind": 1024, @@ -5422,7 +5483,7 @@ "defaultValue": "20", "inheritedFrom": { "type": "reference", - "target": 4025, + "target": 4081, "name": "FindPaginationParams.limit" } } @@ -5431,32 +5492,32 @@ { "title": "Constructors", "children": [ - 122 + 123 ] }, { "title": "Properties", "children": [ - 124, 125, 126, 127, 128, - 129 + 129, + 130 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4021, + "target": 4077, "name": "FindPaginationParams", "package": "@medusajs/medusa" } ] }, { - "id": 130, + "id": 131, "name": "AdminPostCurrenciesCurrencyReq", "variant": "declaration", "kind": 128, @@ -5471,14 +5532,14 @@ }, "children": [ { - "id": 131, + "id": 132, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 132, + "id": 133, "name": "new AdminPostCurrenciesCurrencyReq", "variant": "signature", "kind": 16384, @@ -5493,7 +5554,7 @@ }, "type": { "type": "reference", - "target": 130, + "target": 131, "name": "AdminPostCurrenciesCurrencyReq", "package": "@medusajs/medusa" } @@ -5501,7 +5562,7 @@ ] }, { - "id": 133, + "id": 134, "name": "includes_tax", "variant": "declaration", "kind": 1024, @@ -5548,19 +5609,19 @@ { "title": "Constructors", "children": [ - 131 + 132 ] }, { "title": "Properties", "children": [ - 133 + 134 ] } ] }, { - "id": 142, + "id": 143, "name": "AdminPostCustomerGroupsGroupCustomersBatchReq", "variant": "declaration", "kind": 128, @@ -5575,14 +5636,14 @@ }, "children": [ { - "id": 143, + "id": 144, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 144, + "id": 145, "name": "new AdminPostCustomerGroupsGroupCustomersBatchReq", "variant": "signature", "kind": 16384, @@ -5597,7 +5658,7 @@ }, "type": { "type": "reference", - "target": 142, + "target": 143, "name": "AdminPostCustomerGroupsGroupCustomersBatchReq", "package": "@medusajs/medusa" } @@ -5605,7 +5666,7 @@ ] }, { - "id": 145, + "id": 146, "name": "customer_ids", "variant": "declaration", "kind": 1024, @@ -5622,7 +5683,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4388, + "target": 4491, "name": "CustomerGroupsBatchCustomer", "package": "@medusajs/medusa" } @@ -5633,19 +5694,19 @@ { "title": "Constructors", "children": [ - 143 + 144 ] }, { "title": "Properties", "children": [ - 145 + 146 ] } ] }, { - "id": 146, + "id": 147, "name": "AdminPostCustomerGroupsReq", "variant": "declaration", "kind": 128, @@ -5660,14 +5721,14 @@ }, "children": [ { - "id": 147, + "id": 148, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 148, + "id": 149, "name": "new AdminPostCustomerGroupsReq", "variant": "signature", "kind": 16384, @@ -5682,7 +5743,7 @@ }, "type": { "type": "reference", - "target": 146, + "target": 147, "name": "AdminPostCustomerGroupsReq", "package": "@medusajs/medusa" } @@ -5690,7 +5751,7 @@ ] }, { - "id": 149, + "id": 150, "name": "name", "variant": "declaration", "kind": 1024, @@ -5709,7 +5770,7 @@ } }, { - "id": 150, + "id": 151, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -5749,20 +5810,20 @@ { "title": "Constructors", "children": [ - 147 + 148 ] }, { "title": "Properties", "children": [ - 149, - 150 + 150, + 151 ] } ] }, { - "id": 151, + "id": 152, "name": "AdminDeleteCustomerGroupsGroupCustomerBatchReq", "variant": "declaration", "kind": 128, @@ -5777,14 +5838,14 @@ }, "children": [ { - "id": 152, + "id": 153, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 153, + "id": 154, "name": "new AdminDeleteCustomerGroupsGroupCustomerBatchReq", "variant": "signature", "kind": 16384, @@ -5799,7 +5860,7 @@ }, "type": { "type": "reference", - "target": 151, + "target": 152, "name": "AdminDeleteCustomerGroupsGroupCustomerBatchReq", "package": "@medusajs/medusa" } @@ -5807,7 +5868,7 @@ ] }, { - "id": 154, + "id": 155, "name": "customer_ids", "variant": "declaration", "kind": 1024, @@ -5824,7 +5885,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4388, + "target": 4491, "name": "CustomerGroupsBatchCustomer", "package": "@medusajs/medusa" } @@ -5835,19 +5896,19 @@ { "title": "Constructors", "children": [ - 152 + 153 ] }, { "title": "Properties", "children": [ - 154 + 155 ] } ] }, { - "id": 155, + "id": 156, "name": "AdminGetCustomerGroupsGroupParams", "variant": "declaration", "kind": 128, @@ -5862,39 +5923,39 @@ }, "children": [ { - "id": 156, + "id": 157, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 157, + "id": 158, "name": "new AdminGetCustomerGroupsGroupParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 155, + "target": 156, "name": "AdminGetCustomerGroupsGroupParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 158, + "id": 159, "name": "expand", "variant": "declaration", "kind": 1024, @@ -5907,6 +5968,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -5915,12 +5982,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 159, + "id": 160, "name": "fields", "variant": "declaration", "kind": 1024, @@ -5931,7 +5998,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -5941,7 +6024,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -5950,28 +6033,28 @@ { "title": "Constructors", "children": [ - 156 + 157 ] }, { "title": "Properties", "children": [ - 158, - 159 + 159, + 160 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 134, + "id": 135, "name": "AdminCustomerGroupsRes", "variant": "declaration", "kind": 2097152, @@ -5990,14 +6073,14 @@ "type": { "type": "reflection", "declaration": { - "id": 135, + "id": 136, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 136, + "id": 137, "name": "customer_group", "variant": "declaration", "kind": 1024, @@ -6025,7 +6108,7 @@ { "title": "Properties", "children": [ - 136 + 137 ] } ] @@ -6033,7 +6116,7 @@ } }, { - "id": 137, + "id": 138, "name": "AdminCustomerGroupsDeleteRes", "variant": "declaration", "kind": 2097152, @@ -6046,13 +6129,13 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 138, + "id": 139, "name": "AdminCustomerGroupsListRes", "variant": "declaration", "kind": 2097152, @@ -6068,21 +6151,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 139, + "id": 140, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 140, + "id": 141, "name": "customer_groups", "variant": "declaration", "kind": 1024, @@ -6113,7 +6196,7 @@ { "title": "Properties", "children": [ - 140 + 141 ] } ] @@ -6123,7 +6206,7 @@ } }, { - "id": 141, + "id": 142, "name": "defaultAdminCustomerGroupsRelations", "variant": "declaration", "kind": 32, @@ -6140,7 +6223,7 @@ "defaultValue": "[]" }, { - "id": 160, + "id": 161, "name": "AdminGetCustomerGroupsParams", "variant": "declaration", "kind": 128, @@ -6155,39 +6238,39 @@ }, "children": [ { - "id": 161, + "id": 162, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 162, + "id": 163, "name": "new AdminGetCustomerGroupsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 160, + "target": 161, "name": "AdminGetCustomerGroupsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4394, + "target": 4497, "name": "FilterableCustomerGroupProps.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4393, + "target": 4496, "name": "FilterableCustomerGroupProps.constructor" } }, { - "id": 163, + "id": 164, "name": "order", "variant": "declaration", "kind": 1024, @@ -6216,7 +6299,7 @@ } }, { - "id": 164, + "id": 165, "name": "offset", "variant": "declaration", "kind": 1024, @@ -6238,7 +6321,7 @@ "defaultValue": "0" }, { - "id": 165, + "id": 166, "name": "limit", "variant": "declaration", "kind": 1024, @@ -6260,7 +6343,7 @@ "defaultValue": "10" }, { - "id": 166, + "id": 167, "name": "expand", "variant": "declaration", "kind": 1024, @@ -6281,7 +6364,29 @@ } }, { - "id": 167, + "id": 168, + "name": "fields", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "inline-tag", + "tag": "@inheritDoc", + "text": "FindPaginationParams.fields" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 169, "name": "id", "variant": "declaration", "kind": 1024, @@ -6312,7 +6417,7 @@ }, { "type": "reference", - "target": 3971, + "target": 4027, "name": "StringComparisonOperator", "package": "@medusajs/medusa" } @@ -6320,12 +6425,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4395, + "target": 4498, "name": "FilterableCustomerGroupProps.id" } }, { - "id": 168, + "id": 170, "name": "q", "variant": "declaration", "kind": 1024, @@ -6346,12 +6451,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4396, + "target": 4499, "name": "FilterableCustomerGroupProps.q" } }, { - "id": 169, + "id": 171, "name": "name", "variant": "declaration", "kind": 1024, @@ -6375,12 +6480,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4397, + "target": 4500, "name": "FilterableCustomerGroupProps.name" } }, { - "id": 170, + "id": 172, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -6405,18 +6510,18 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4398, + "target": 4501, "name": "FilterableCustomerGroupProps.updated_at" } }, { - "id": 171, + "id": 173, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -6441,18 +6546,18 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4399, + "target": 4502, "name": "FilterableCustomerGroupProps.created_at" } }, { - "id": 172, + "id": 174, "name": "discount_condition_id", "variant": "declaration", "kind": 1024, @@ -6473,7 +6578,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4400, + "target": 4503, "name": "FilterableCustomerGroupProps.discount_condition_id" } } @@ -6482,13 +6587,12 @@ { "title": "Constructors", "children": [ - 161 + 162 ] }, { "title": "Properties", "children": [ - 163, 164, 165, 166, @@ -6497,21 +6601,23 @@ 169, 170, 171, - 172 + 172, + 173, + 174 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4392, + "target": 4495, "name": "FilterableCustomerGroupProps", "package": "@medusajs/medusa" } ] }, { - "id": 173, + "id": 175, "name": "AdminPostCustomerGroupsGroupReq", "variant": "declaration", "kind": 128, @@ -6526,14 +6632,14 @@ }, "children": [ { - "id": 174, + "id": 176, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 175, + "id": 177, "name": "new AdminPostCustomerGroupsGroupReq", "variant": "signature", "kind": 16384, @@ -6548,7 +6654,7 @@ }, "type": { "type": "reference", - "target": 173, + "target": 175, "name": "AdminPostCustomerGroupsGroupReq", "package": "@medusajs/medusa" } @@ -6556,7 +6662,7 @@ ] }, { - "id": 176, + "id": 178, "name": "name", "variant": "declaration", "kind": 1024, @@ -6577,7 +6683,7 @@ } }, { - "id": 177, + "id": 179, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -6617,20 +6723,20 @@ { "title": "Constructors", "children": [ - 174 + 176 ] }, { "title": "Properties", "children": [ - 176, - 177 + 178, + 179 ] } ] }, { - "id": 185, + "id": 187, "name": "AdminPostCustomersReq", "variant": "declaration", "kind": 128, @@ -6645,14 +6751,14 @@ }, "children": [ { - "id": 186, + "id": 188, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 187, + "id": 189, "name": "new AdminPostCustomersReq", "variant": "signature", "kind": 16384, @@ -6667,7 +6773,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 187, "name": "AdminPostCustomersReq", "package": "@medusajs/medusa" } @@ -6675,7 +6781,7 @@ ] }, { - "id": 188, + "id": 190, "name": "email", "variant": "declaration", "kind": 1024, @@ -6694,7 +6800,7 @@ } }, { - "id": 189, + "id": 191, "name": "first_name", "variant": "declaration", "kind": 1024, @@ -6713,7 +6819,7 @@ } }, { - "id": 190, + "id": 192, "name": "last_name", "variant": "declaration", "kind": 1024, @@ -6732,7 +6838,7 @@ } }, { - "id": 191, + "id": 193, "name": "password", "variant": "declaration", "kind": 1024, @@ -6751,7 +6857,7 @@ } }, { - "id": 192, + "id": 194, "name": "phone", "variant": "declaration", "kind": 1024, @@ -6772,7 +6878,7 @@ } }, { - "id": 193, + "id": 195, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -6812,24 +6918,24 @@ { "title": "Constructors", "children": [ - 186 + 188 ] }, { "title": "Properties", "children": [ - 188, - 189, 190, 191, 192, - 193 + 193, + 194, + 195 ] } ] }, { - "id": 178, + "id": 180, "name": "AdminCustomersRes", "variant": "declaration", "kind": 2097152, @@ -6848,14 +6954,14 @@ "type": { "type": "reflection", "declaration": { - "id": 179, + "id": 181, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 180, + "id": 182, "name": "customer", "variant": "declaration", "kind": 1024, @@ -6883,7 +6989,7 @@ { "title": "Properties", "children": [ - 180 + 182 ] } ] @@ -6891,7 +6997,7 @@ } }, { - "id": 181, + "id": 183, "name": "AdminCustomersListRes", "variant": "declaration", "kind": 2097152, @@ -6912,21 +7018,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 182, + "id": 184, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 183, + "id": 185, "name": "customers", "variant": "declaration", "kind": 1024, @@ -6957,7 +7063,7 @@ { "title": "Properties", "children": [ - 183 + 185 ] } ] @@ -6967,7 +7073,7 @@ } }, { - "id": 184, + "id": 186, "name": "defaultAdminCustomersRelations", "variant": "declaration", "kind": 32, @@ -6984,7 +7090,7 @@ "defaultValue": "..." }, { - "id": 194, + "id": 196, "name": "AdminGetCustomersParams", "variant": "declaration", "kind": 128, @@ -6999,39 +7105,39 @@ }, "children": [ { - "id": 195, + "id": 197, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 196, + "id": 198, "name": "new AdminGetCustomersParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 194, + "target": 196, "name": "AdminGetCustomersParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4403, + "target": 4506, "name": "AdminListCustomerSelector.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4402, + "target": 4505, "name": "AdminListCustomerSelector.constructor" } }, { - "id": 197, + "id": 199, "name": "limit", "variant": "declaration", "kind": 1024, @@ -7062,7 +7168,7 @@ "defaultValue": "50" }, { - "id": 198, + "id": 200, "name": "offset", "variant": "declaration", "kind": 1024, @@ -7093,7 +7199,7 @@ "defaultValue": "0" }, { - "id": 199, + "id": 201, "name": "expand", "variant": "declaration", "kind": 1024, @@ -7114,7 +7220,44 @@ } }, { - "id": 200, + "id": 202, + "name": "fields", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 203, "name": "q", "variant": "declaration", "kind": 1024, @@ -7135,12 +7278,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4404, + "target": 4507, "name": "AdminListCustomerSelector.q" } }, { - "id": 201, + "id": 204, "name": "has_account", "variant": "declaration", "kind": 1024, @@ -7161,12 +7304,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4405, + "target": 4508, "name": "AdminListCustomerSelector.has_account" } }, { - "id": 202, + "id": 205, "name": "groups", "variant": "declaration", "kind": 1024, @@ -7190,62 +7333,172 @@ }, "inheritedFrom": { "type": "reference", - "target": 4406, + "target": 4509, "name": "AdminListCustomerSelector.groups" } + }, + { + "id": 206, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4510, + "name": "AdminListCustomerSelector.order" + } + }, + { + "id": 207, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Date filters to apply on the customers' " + }, + { + "kind": "code", + "text": "`created_at`" + }, + { + "kind": "text", + "text": " date." + } + ] + }, + "type": { + "type": "reference", + "target": 4020, + "name": "DateComparisonOperator", + "package": "@medusajs/medusa" + }, + "inheritedFrom": { + "type": "reference", + "target": 4511, + "name": "AdminListCustomerSelector.created_at" + } + }, + { + "id": 208, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Date filters to apply on the customers' " + }, + { + "kind": "code", + "text": "`updated_at`" + }, + { + "kind": "text", + "text": " date." + } + ] + }, + "type": { + "type": "reference", + "target": 4020, + "name": "DateComparisonOperator", + "package": "@medusajs/medusa" + }, + "inheritedFrom": { + "type": "reference", + "target": 4512, + "name": "AdminListCustomerSelector.updated_at" + } } ], "groups": [ { "title": "Constructors", "children": [ - 195 + 197 ] }, { "title": "Properties", "children": [ - 197, - 198, 199, 200, 201, - 202 + 202, + 203, + 204, + 205, + 206, + 207, + 208 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4401, + "target": 4504, "name": "AdminListCustomerSelector", "package": "@medusajs/medusa" } ] }, { - "id": 4407, + "id": 4513, "name": "Group", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4408, + "id": 4514, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4409, + "id": 4515, "name": "new Group", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4407, + "target": 4513, "name": "Group", "package": "@medusajs/medusa" } @@ -7253,7 +7506,7 @@ ] }, { - "id": 4410, + "id": 4516, "name": "id", "variant": "declaration", "kind": 1024, @@ -7276,19 +7529,19 @@ { "title": "Constructors", "children": [ - 4408 + 4514 ] }, { "title": "Properties", "children": [ - 4410 + 4516 ] } ] }, { - "id": 203, + "id": 209, "name": "AdminPostCustomersCustomerReq", "variant": "declaration", "kind": 128, @@ -7303,14 +7556,14 @@ }, "children": [ { - "id": 204, + "id": 210, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 205, + "id": 211, "name": "new AdminPostCustomersCustomerReq", "variant": "signature", "kind": 16384, @@ -7325,7 +7578,7 @@ }, "type": { "type": "reference", - "target": 203, + "target": 209, "name": "AdminPostCustomersCustomerReq", "package": "@medusajs/medusa" } @@ -7333,7 +7586,7 @@ ] }, { - "id": 206, + "id": 212, "name": "email", "variant": "declaration", "kind": 1024, @@ -7354,7 +7607,7 @@ } }, { - "id": 207, + "id": 213, "name": "first_name", "variant": "declaration", "kind": 1024, @@ -7375,7 +7628,7 @@ } }, { - "id": 208, + "id": 214, "name": "last_name", "variant": "declaration", "kind": 1024, @@ -7396,7 +7649,7 @@ } }, { - "id": 209, + "id": 215, "name": "password", "variant": "declaration", "kind": 1024, @@ -7417,7 +7670,7 @@ } }, { - "id": 210, + "id": 216, "name": "phone", "variant": "declaration", "kind": 1024, @@ -7438,7 +7691,7 @@ } }, { - "id": 211, + "id": 217, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -7474,7 +7727,7 @@ } }, { - "id": 212, + "id": 218, "name": "groups", "variant": "declaration", "kind": 1024, @@ -7493,7 +7746,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4407, + "target": 4513, "name": "Group", "package": "@medusajs/medusa" } @@ -7504,25 +7757,25 @@ { "title": "Constructors", "children": [ - 204 + 210 ] }, { "title": "Properties", "children": [ - 206, - 207, - 208, - 209, - 210, - 211, - 212 + 212, + 213, + 214, + 215, + 216, + 217, + 218 ] } ] }, { - "id": 365, + "id": 374, "name": "AdminPostDiscountsDiscountConditionsConditionBatchReq", "variant": "declaration", "kind": 128, @@ -7537,14 +7790,14 @@ }, "children": [ { - "id": 366, + "id": 375, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 367, + "id": 376, "name": "new AdminPostDiscountsDiscountConditionsConditionBatchReq", "variant": "signature", "kind": 16384, @@ -7559,7 +7812,7 @@ }, "type": { "type": "reference", - "target": 365, + "target": 374, "name": "AdminPostDiscountsDiscountConditionsConditionBatchReq", "package": "@medusajs/medusa" } @@ -7567,7 +7820,7 @@ ] }, { - "id": 368, + "id": 377, "name": "resources", "variant": "declaration", "kind": 1024, @@ -7585,14 +7838,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 369, + "id": 378, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 370, + "id": 379, "name": "id", "variant": "declaration", "kind": 1024, @@ -7615,7 +7868,7 @@ { "title": "Properties", "children": [ - 370 + 379 ] } ] @@ -7628,19 +7881,19 @@ { "title": "Constructors", "children": [ - 366 + 375 ] }, { "title": "Properties", "children": [ - 368 + 377 ] } ] }, { - "id": 371, + "id": 380, "name": "AdminPostDiscountsDiscountConditionsConditionBatchParams", "variant": "declaration", "kind": 128, @@ -7655,39 +7908,39 @@ }, "children": [ { - "id": 372, + "id": 381, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 373, + "id": 382, "name": "new AdminPostDiscountsDiscountConditionsConditionBatchParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 371, + "target": 380, "name": "AdminPostDiscountsDiscountConditionsConditionBatchParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 374, + "id": 383, "name": "expand", "variant": "declaration", "kind": 1024, @@ -7700,6 +7953,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -7708,12 +7967,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 375, + "id": 384, "name": "fields", "variant": "declaration", "kind": 1024, @@ -7724,7 +7983,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -7734,7 +8009,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -7743,67 +8018,67 @@ { "title": "Constructors", "children": [ - 372 + 381 ] }, { "title": "Properties", "children": [ - 374, - 375 + 383, + 384 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 230, + "id": 236, "name": "AdminPostDiscountsDiscountConditions", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 231, + "id": 237, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 232, + "id": 238, "name": "new AdminPostDiscountsDiscountConditions", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 230, + "target": 236, "name": "AdminPostDiscountsDiscountConditions", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4413, + "target": 4519, "name": "AdminUpsertConditionsReq.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4412, + "target": 4518, "name": "AdminUpsertConditionsReq.constructor" } }, { - "id": 233, + "id": 239, "name": "operator", "variant": "declaration", "kind": 1024, @@ -7827,7 +8102,7 @@ } }, { - "id": 234, + "id": 240, "name": "products", "variant": "declaration", "kind": 1024, @@ -7859,12 +8134,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4414, + "target": 4520, "name": "AdminUpsertConditionsReq.products" } }, { - "id": 235, + "id": 241, "name": "product_collections", "variant": "declaration", "kind": 1024, @@ -7896,12 +8171,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4415, + "target": 4521, "name": "AdminUpsertConditionsReq.product_collections" } }, { - "id": 236, + "id": 242, "name": "product_types", "variant": "declaration", "kind": 1024, @@ -7933,12 +8208,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4416, + "target": 4522, "name": "AdminUpsertConditionsReq.product_types" } }, { - "id": 237, + "id": 243, "name": "product_tags", "variant": "declaration", "kind": 1024, @@ -7970,12 +8245,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4417, + "target": 4523, "name": "AdminUpsertConditionsReq.product_tags" } }, { - "id": 238, + "id": 244, "name": "customer_groups", "variant": "declaration", "kind": 1024, @@ -8007,7 +8282,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4418, + "target": 4524, "name": "AdminUpsertConditionsReq.customer_groups" } } @@ -8016,32 +8291,32 @@ { "title": "Constructors", "children": [ - 231 + 237 ] }, { "title": "Properties", "children": [ - 233, - 234, - 235, - 236, - 237, - 238 + 239, + 240, + 241, + 242, + 243, + 244 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4411, + "target": 4517, "name": "AdminUpsertConditionsReq", "package": "@medusajs/medusa" } ] }, { - "id": 239, + "id": 245, "name": "AdminPostDiscountsDiscountConditionsParams", "variant": "declaration", "kind": 128, @@ -8056,39 +8331,39 @@ }, "children": [ { - "id": 240, + "id": 246, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 241, + "id": 247, "name": "new AdminPostDiscountsDiscountConditionsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 239, + "target": 245, "name": "AdminPostDiscountsDiscountConditionsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 242, + "id": 248, "name": "expand", "variant": "declaration", "kind": 1024, @@ -8101,6 +8376,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -8109,12 +8390,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 243, + "id": 249, "name": "fields", "variant": "declaration", "kind": 1024, @@ -8125,7 +8406,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -8135,7 +8432,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -8144,28 +8441,199 @@ { "title": "Constructors", "children": [ - 240 + 246 ] }, { "title": "Properties", "children": [ - 242, - 243 + 248, + 249 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 244, + "id": 250, + "name": "AdminPostDiscountsDiscountRule", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Details of the discount rule to create." + } + ] + }, + "children": [ + { + "id": 251, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 252, + "name": "new AdminPostDiscountsDiscountRule", + "variant": "signature", + "kind": 16384, + "flags": {}, + "type": { + "type": "reference", + "target": 250, + "name": "AdminPostDiscountsDiscountRule", + "package": "@medusajs/medusa" + } + } + ] + }, + { + "id": 253, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount rule's description." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 254, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount rule's type." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/medusa/src/models/discount-rule.ts", + "qualifiedName": "DiscountRuleType" + }, + "name": "DiscountRuleType", + "package": "@medusajs/medusa" + } + }, + { + "id": 255, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount rule's value." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 256, + "name": "allocation", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount rule's allocation." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/medusa/src/models/discount-rule.ts", + "qualifiedName": "AllocationType" + }, + "name": "AllocationType", + "package": "@medusajs/medusa" + } + }, + { + "id": 257, + "name": "conditions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount rule's conditions." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 271, + "name": "AdminCreateCondition", + "package": "@medusajs/medusa" + } + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 251 + ] + }, + { + "title": "Properties", + "children": [ + 253, + 254, + 255, + 256, + 257 + ] + } + ] + }, + { + "id": 258, "name": "AdminPostDiscountsReq", "variant": "declaration", "kind": 128, @@ -8180,14 +8648,14 @@ }, "children": [ { - "id": 245, + "id": 259, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 246, + "id": 260, "name": "new AdminPostDiscountsReq", "variant": "signature", "kind": 16384, @@ -8202,7 +8670,7 @@ }, "type": { "type": "reference", - "target": 244, + "target": 258, "name": "AdminPostDiscountsReq", "package": "@medusajs/medusa" } @@ -8210,7 +8678,7 @@ ] }, { - "id": 247, + "id": 261, "name": "code", "variant": "declaration", "kind": 1024, @@ -8229,7 +8697,7 @@ } }, { - "id": 248, + "id": 262, "name": "rule", "variant": "declaration", "kind": 1024, @@ -8244,13 +8712,13 @@ }, "type": { "type": "reference", - "target": 257, + "target": 250, "name": "AdminPostDiscountsDiscountRule", "package": "@medusajs/medusa" } }, { - "id": 249, + "id": 263, "name": "is_dynamic", "variant": "declaration", "kind": 1024, @@ -8270,7 +8738,7 @@ "defaultValue": "false" }, { - "id": 250, + "id": 264, "name": "is_disabled", "variant": "declaration", "kind": 1024, @@ -8290,7 +8758,7 @@ "defaultValue": "false" }, { - "id": 251, + "id": 265, "name": "starts_at", "variant": "declaration", "kind": 1024, @@ -8316,7 +8784,7 @@ } }, { - "id": 252, + "id": 266, "name": "ends_at", "variant": "declaration", "kind": 1024, @@ -8342,7 +8810,7 @@ } }, { - "id": 253, + "id": 267, "name": "valid_duration", "variant": "declaration", "kind": 1024, @@ -8363,7 +8831,7 @@ } }, { - "id": 254, + "id": 268, "name": "usage_limit", "variant": "declaration", "kind": 1024, @@ -8384,7 +8852,7 @@ } }, { - "id": 255, + "id": 269, "name": "regions", "variant": "declaration", "kind": 1024, @@ -8406,7 +8874,7 @@ } }, { - "id": 256, + "id": 270, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -8446,199 +8914,28 @@ { "title": "Constructors", "children": [ - 245 - ] - }, - { - "title": "Properties", - "children": [ - 247, - 248, - 249, - 250, - 251, - 252, - 253, - 254, - 255, - 256 - ] - } - ] - }, - { - "id": 257, - "name": "AdminPostDiscountsDiscountRule", - "variant": "declaration", - "kind": 128, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Details of the discount rule to create." - } - ] - }, - "children": [ - { - "id": 258, - "name": "constructor", - "variant": "declaration", - "kind": 512, - "flags": {}, - "signatures": [ - { - "id": 259, - "name": "new AdminPostDiscountsDiscountRule", - "variant": "signature", - "kind": 16384, - "flags": {}, - "type": { - "type": "reference", - "target": 257, - "name": "AdminPostDiscountsDiscountRule", - "package": "@medusajs/medusa" - } - } - ] - }, - { - "id": 260, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The discount rule's description." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 261, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The discount rule's type." - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/medusa/src/models/discount-rule.ts", - "qualifiedName": "DiscountRuleType" - }, - "name": "DiscountRuleType", - "package": "@medusajs/medusa" - } - }, - { - "id": 262, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The discount rule's value." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 263, - "name": "allocation", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The discount rule's allocation." - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/medusa/src/models/discount-rule.ts", - "qualifiedName": "AllocationType" - }, - "name": "AllocationType", - "package": "@medusajs/medusa" - } - }, - { - "id": 264, - "name": "conditions", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The discount rule's conditions." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 265, - "name": "AdminCreateCondition", - "package": "@medusajs/medusa" - } - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [ - 258 + 259 ] }, { "title": "Properties", "children": [ - 260, 261, 262, 263, - 264 + 264, + 265, + 266, + 267, + 268, + 269, + 270 ] } ] }, { - "id": 265, + "id": 271, "name": "AdminCreateCondition", "variant": "declaration", "kind": 128, @@ -8653,39 +8950,39 @@ }, "children": [ { - "id": 266, + "id": 272, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 267, + "id": 273, "name": "new AdminCreateCondition", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 265, + "target": 271, "name": "AdminCreateCondition", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4413, + "target": 4519, "name": "AdminUpsertConditionsReq.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4412, + "target": 4518, "name": "AdminUpsertConditionsReq.constructor" } }, { - "id": 268, + "id": 274, "name": "operator", "variant": "declaration", "kind": 1024, @@ -8709,7 +9006,7 @@ } }, { - "id": 269, + "id": 275, "name": "products", "variant": "declaration", "kind": 1024, @@ -8741,12 +9038,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4414, + "target": 4520, "name": "AdminUpsertConditionsReq.products" } }, { - "id": 270, + "id": 276, "name": "product_collections", "variant": "declaration", "kind": 1024, @@ -8778,12 +9075,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4415, + "target": 4521, "name": "AdminUpsertConditionsReq.product_collections" } }, { - "id": 271, + "id": 277, "name": "product_types", "variant": "declaration", "kind": 1024, @@ -8815,12 +9112,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4416, + "target": 4522, "name": "AdminUpsertConditionsReq.product_types" } }, { - "id": 272, + "id": 278, "name": "product_tags", "variant": "declaration", "kind": 1024, @@ -8852,12 +9149,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4417, + "target": 4523, "name": "AdminUpsertConditionsReq.product_tags" } }, { - "id": 273, + "id": 279, "name": "customer_groups", "variant": "declaration", "kind": 1024, @@ -8889,7 +9186,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4418, + "target": 4524, "name": "AdminUpsertConditionsReq.customer_groups" } } @@ -8898,32 +9195,32 @@ { "title": "Constructors", "children": [ - 266 + 272 ] }, { "title": "Properties", "children": [ - 268, - 269, - 270, - 271, - 272, - 273 + 274, + 275, + 276, + 277, + 278, + 279 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4411, + "target": 4517, "name": "AdminUpsertConditionsReq", "package": "@medusajs/medusa" } ] }, { - "id": 274, + "id": 280, "name": "AdminPostDiscountsParams", "variant": "declaration", "kind": 128, @@ -8938,39 +9235,39 @@ }, "children": [ { - "id": 275, + "id": 281, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 276, + "id": 282, "name": "new AdminPostDiscountsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 274, + "target": 280, "name": "AdminPostDiscountsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 277, + "id": 283, "name": "expand", "variant": "declaration", "kind": 1024, @@ -8983,6 +9280,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -8991,12 +9294,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 278, + "id": 284, "name": "fields", "variant": "declaration", "kind": 1024, @@ -9007,7 +9310,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -9017,7 +9336,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -9026,28 +9345,28 @@ { "title": "Constructors", "children": [ - 275 + 281 ] }, { "title": "Properties", "children": [ - 277, - 278 + 283, + 284 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 279, + "id": 285, "name": "AdminPostDiscountsDiscountDynamicCodesReq", "variant": "declaration", "kind": 128, @@ -9062,14 +9381,14 @@ }, "children": [ { - "id": 280, + "id": 286, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 281, + "id": 287, "name": "new AdminPostDiscountsDiscountDynamicCodesReq", "variant": "signature", "kind": 16384, @@ -9084,7 +9403,7 @@ }, "type": { "type": "reference", - "target": 279, + "target": 285, "name": "AdminPostDiscountsDiscountDynamicCodesReq", "package": "@medusajs/medusa" } @@ -9092,7 +9411,7 @@ ] }, { - "id": 282, + "id": 288, "name": "code", "variant": "declaration", "kind": 1024, @@ -9111,7 +9430,7 @@ } }, { - "id": 283, + "id": 289, "name": "usage_limit", "variant": "declaration", "kind": 1024, @@ -9131,7 +9450,7 @@ "defaultValue": "1" }, { - "id": 284, + "id": 290, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -9171,21 +9490,21 @@ { "title": "Constructors", "children": [ - 280 + 286 ] }, { "title": "Properties", "children": [ - 282, - 283, - 284 + 288, + 289, + 290 ] } ] }, { - "id": 285, + "id": 291, "name": "AdminDeleteDiscountsDiscountConditionsConditionParams", "variant": "declaration", "kind": 128, @@ -9200,39 +9519,39 @@ }, "children": [ { - "id": 286, + "id": 292, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 287, + "id": 293, "name": "new AdminDeleteDiscountsDiscountConditionsConditionParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 285, + "target": 291, "name": "AdminDeleteDiscountsDiscountConditionsConditionParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 288, + "id": 294, "name": "expand", "variant": "declaration", "kind": 1024, @@ -9245,6 +9564,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -9253,12 +9578,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 289, + "id": 295, "name": "fields", "variant": "declaration", "kind": 1024, @@ -9269,7 +9594,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -9279,7 +9620,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -9288,28 +9629,28 @@ { "title": "Constructors", "children": [ - 286 + 292 ] }, { "title": "Properties", "children": [ - 288, - 289 + 294, + 295 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 376, + "id": 385, "name": "AdminDeleteDiscountsDiscountConditionsConditionBatchParams", "variant": "declaration", "kind": 128, @@ -9324,39 +9665,39 @@ }, "children": [ { - "id": 377, + "id": 386, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 378, + "id": 387, "name": "new AdminDeleteDiscountsDiscountConditionsConditionBatchParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 376, + "target": 385, "name": "AdminDeleteDiscountsDiscountConditionsConditionBatchParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 379, + "id": 388, "name": "expand", "variant": "declaration", "kind": 1024, @@ -9369,6 +9710,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -9377,12 +9724,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 380, + "id": 389, "name": "fields", "variant": "declaration", "kind": 1024, @@ -9393,7 +9740,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -9403,7 +9766,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -9412,28 +9775,28 @@ { "title": "Constructors", "children": [ - 377 + 386 ] }, { "title": "Properties", "children": [ - 379, - 380 + 388, + 389 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 381, + "id": 390, "name": "AdminDeleteDiscountsDiscountConditionsConditionBatchReq", "variant": "declaration", "kind": 128, @@ -9448,14 +9811,14 @@ }, "children": [ { - "id": 382, + "id": 391, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 383, + "id": 392, "name": "new AdminDeleteDiscountsDiscountConditionsConditionBatchReq", "variant": "signature", "kind": 16384, @@ -9470,7 +9833,7 @@ }, "type": { "type": "reference", - "target": 381, + "target": 390, "name": "AdminDeleteDiscountsDiscountConditionsConditionBatchReq", "package": "@medusajs/medusa" } @@ -9478,7 +9841,7 @@ ] }, { - "id": 384, + "id": 393, "name": "resources", "variant": "declaration", "kind": 1024, @@ -9496,14 +9859,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 385, + "id": 394, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 386, + "id": 395, "name": "id", "variant": "declaration", "kind": 1024, @@ -9526,7 +9889,7 @@ { "title": "Properties", "children": [ - 386 + 395 ] } ] @@ -9539,19 +9902,19 @@ { "title": "Constructors", "children": [ - 382 + 391 ] }, { "title": "Properties", "children": [ - 384 + 393 ] } ] }, { - "id": 290, + "id": 296, "name": "AdminGetDiscountsDiscountConditionsConditionParams", "variant": "declaration", "kind": 128, @@ -9566,39 +9929,39 @@ }, "children": [ { - "id": 291, + "id": 297, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 292, + "id": 298, "name": "new AdminGetDiscountsDiscountConditionsConditionParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 290, + "target": 296, "name": "AdminGetDiscountsDiscountConditionsConditionParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 293, + "id": 299, "name": "expand", "variant": "declaration", "kind": 1024, @@ -9611,6 +9974,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -9619,12 +9988,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 294, + "id": 300, "name": "fields", "variant": "declaration", "kind": 1024, @@ -9635,7 +10004,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -9645,7 +10030,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -9654,28 +10039,28 @@ { "title": "Constructors", "children": [ - 291 + 297 ] }, { "title": "Properties", "children": [ - 293, - 294 + 299, + 300 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 300, + "id": 306, "name": "AdminGetDiscountsDiscountCodeParams", "variant": "declaration", "kind": 128, @@ -9690,39 +10075,39 @@ }, "children": [ { - "id": 301, + "id": 307, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 302, + "id": 308, "name": "new AdminGetDiscountsDiscountCodeParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 300, + "target": 306, "name": "AdminGetDiscountsDiscountCodeParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 303, + "id": 309, "name": "expand", "variant": "declaration", "kind": 1024, @@ -9735,6 +10120,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -9743,12 +10134,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 304, + "id": 310, "name": "fields", "variant": "declaration", "kind": 1024, @@ -9759,7 +10150,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -9769,7 +10176,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -9778,28 +10185,28 @@ { "title": "Constructors", "children": [ - 301 + 307 ] }, { "title": "Properties", "children": [ - 303, - 304 + 309, + 310 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 295, + "id": 301, "name": "AdminGetDiscountParams", "variant": "declaration", "kind": 128, @@ -9814,39 +10221,39 @@ }, "children": [ { - "id": 296, + "id": 302, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 297, + "id": 303, "name": "new AdminGetDiscountParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 295, + "target": 301, "name": "AdminGetDiscountParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 298, + "id": 304, "name": "expand", "variant": "declaration", "kind": 1024, @@ -9859,6 +10266,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -9867,12 +10280,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 299, + "id": 305, "name": "fields", "variant": "declaration", "kind": 1024, @@ -9883,7 +10296,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -9893,7 +10322,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -9902,28 +10331,28 @@ { "title": "Constructors", "children": [ - 296 + 302 ] }, { "title": "Properties", "children": [ - 298, - 299 + 304, + 305 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 213, + "id": 219, "name": "defaultAdminDiscountsFields", "variant": "declaration", "kind": 32, @@ -9949,7 +10378,7 @@ "defaultValue": "..." }, { - "id": 214, + "id": 220, "name": "defaultAdminDiscountsRelations", "variant": "declaration", "kind": 32, @@ -9966,7 +10395,7 @@ "defaultValue": "..." }, { - "id": 215, + "id": 221, "name": "defaultAdminDiscountConditionFields", "variant": "declaration", "kind": 32, @@ -9992,7 +10421,7 @@ "defaultValue": "..." }, { - "id": 216, + "id": 222, "name": "defaultAdminDiscountConditionRelations", "variant": "declaration", "kind": 32, @@ -10009,7 +10438,7 @@ "defaultValue": "..." }, { - "id": 217, + "id": 223, "name": "AdminDiscountsRes", "variant": "declaration", "kind": 2097152, @@ -10028,14 +10457,14 @@ "type": { "type": "reflection", "declaration": { - "id": 218, + "id": 224, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 219, + "id": 225, "name": "discount", "variant": "declaration", "kind": 1024, @@ -10063,7 +10492,7 @@ { "title": "Properties", "children": [ - 219 + 225 ] } ] @@ -10071,7 +10500,7 @@ } }, { - "id": 220, + "id": 226, "name": "AdminDiscountConditionsRes", "variant": "declaration", "kind": 2097152, @@ -10085,14 +10514,14 @@ "type": { "type": "reflection", "declaration": { - "id": 221, + "id": 227, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 222, + "id": 228, "name": "discount_condition", "variant": "declaration", "kind": 1024, @@ -10120,7 +10549,7 @@ { "title": "Properties", "children": [ - 222 + 228 ] } ] @@ -10128,7 +10557,7 @@ } }, { - "id": 223, + "id": 229, "name": "AdminDiscountsDeleteRes", "variant": "declaration", "kind": 2097152, @@ -10141,13 +10570,13 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 224, + "id": 230, "name": "AdminDiscountConditionsDeleteRes", "variant": "declaration", "kind": 2097152, @@ -10163,21 +10592,21 @@ "types": [ { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 225, + "id": 231, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 226, + "id": 232, "name": "discount", "variant": "declaration", "kind": 1024, @@ -10205,7 +10634,7 @@ { "title": "Properties", "children": [ - 226 + 232 ] } ] @@ -10215,7 +10644,7 @@ } }, { - "id": 227, + "id": 233, "name": "AdminDiscountsListRes", "variant": "declaration", "kind": 2097152, @@ -10236,21 +10665,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 228, + "id": 234, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 229, + "id": 235, "name": "discounts", "variant": "declaration", "kind": 1024, @@ -10281,7 +10710,7 @@ { "title": "Properties", "children": [ - 229 + 235 ] } ] @@ -10291,7 +10720,7 @@ } }, { - "id": 305, + "id": 311, "name": "AdminGetDiscountsParams", "variant": "declaration", "kind": 128, @@ -10306,7 +10735,7 @@ }, "children": [ { - "id": 309, + "id": 315, "name": "rule", "variant": "declaration", "kind": 1024, @@ -10323,13 +10752,13 @@ }, "type": { "type": "reference", - "target": 4419, + "target": 4525, "name": "AdminGetDiscountsDiscountRuleParams", "package": "@medusajs/medusa" } }, { - "id": 310, + "id": 316, "name": "q", "variant": "declaration", "kind": 1024, @@ -10350,7 +10779,7 @@ } }, { - "id": 311, + "id": 317, "name": "is_dynamic", "variant": "declaration", "kind": 1024, @@ -10371,7 +10800,7 @@ } }, { - "id": 312, + "id": 318, "name": "is_disabled", "variant": "declaration", "kind": 1024, @@ -10392,7 +10821,103 @@ } }, { - "id": 313, + "id": 319, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Date filters to apply on the discounts' " + }, + { + "kind": "code", + "text": "`created_at`" + }, + { + "kind": "text", + "text": " date." + } + ] + }, + "type": { + "type": "reference", + "target": 4020, + "name": "DateComparisonOperator", + "package": "@medusajs/medusa" + } + }, + { + "id": 320, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Date filters to apply on the discounts' " + }, + { + "kind": "code", + "text": "`updated_at`" + }, + { + "kind": "text", + "text": " date." + } + ] + }, + "type": { + "type": "reference", + "target": 4020, + "name": "DateComparisonOperator", + "package": "@medusajs/medusa" + } + }, + { + "id": 321, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 20,\n offset: 0,\n}).order" + } + }, + { + "id": 322, "name": "expand", "variant": "declaration", "kind": 1024, @@ -10405,6 +10930,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -10418,7 +10949,7 @@ } }, { - "id": 314, + "id": 323, "name": "fields", "variant": "declaration", "kind": 1024, @@ -10429,7 +10960,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -10444,7 +10991,7 @@ } }, { - "id": 315, + "id": 324, "name": "offset", "variant": "declaration", "kind": 1024, @@ -10482,7 +11029,7 @@ } }, { - "id": 316, + "id": 325, "name": "limit", "variant": "declaration", "kind": 1024, @@ -10520,21 +11067,21 @@ } }, { - "id": 306, + "id": 312, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 307, + "id": 313, "name": "new AdminGetDiscountsParams", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 308, + "id": 314, "name": "args", "variant": "param", "kind": 32768, @@ -10552,7 +11099,7 @@ ], "type": { "type": "reference", - "target": 305, + "target": 311, "name": "AdminGetDiscountsParams", "package": "@medusajs/medusa" }, @@ -10574,20 +11121,23 @@ { "title": "Constructors", "children": [ - 306 + 312 ] }, { "title": "Properties", "children": [ - 309, - 310, - 311, - 312, - 313, - 314, 315, - 316 + 316, + 317, + 318, + 319, + 320, + 321, + 322, + 323, + 324, + 325 ] } ], @@ -10597,7 +11147,7 @@ "types": [ { "type": "reference", - "target": 4016, + "target": 4072, "typeArguments": [ { "type": "intrinsic", @@ -10609,7 +11159,7 @@ }, { "type": "reference", - "target": 4021, + "target": 4077, "typeArguments": [ { "type": "intrinsic", @@ -10624,46 +11174,46 @@ ] }, { - "id": 317, + "id": 326, "name": "AdminPostDiscountsDiscountConditionsCondition", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 318, + "id": 327, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 319, + "id": 328, "name": "new AdminPostDiscountsDiscountConditionsCondition", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 317, + "target": 326, "name": "AdminPostDiscountsDiscountConditionsCondition", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4413, + "target": 4519, "name": "AdminUpsertConditionsReq.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4412, + "target": 4518, "name": "AdminUpsertConditionsReq.constructor" } }, { - "id": 320, + "id": 329, "name": "products", "variant": "declaration", "kind": 1024, @@ -10695,12 +11245,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4414, + "target": 4520, "name": "AdminUpsertConditionsReq.products" } }, { - "id": 321, + "id": 330, "name": "product_collections", "variant": "declaration", "kind": 1024, @@ -10732,12 +11282,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4415, + "target": 4521, "name": "AdminUpsertConditionsReq.product_collections" } }, { - "id": 322, + "id": 331, "name": "product_types", "variant": "declaration", "kind": 1024, @@ -10769,12 +11319,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4416, + "target": 4522, "name": "AdminUpsertConditionsReq.product_types" } }, { - "id": 323, + "id": 332, "name": "product_tags", "variant": "declaration", "kind": 1024, @@ -10806,12 +11356,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4417, + "target": 4523, "name": "AdminUpsertConditionsReq.product_tags" } }, { - "id": 324, + "id": 333, "name": "customer_groups", "variant": "declaration", "kind": 1024, @@ -10843,7 +11393,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4418, + "target": 4524, "name": "AdminUpsertConditionsReq.customer_groups" } } @@ -10852,31 +11402,31 @@ { "title": "Constructors", "children": [ - 318 + 327 ] }, { "title": "Properties", "children": [ - 320, - 321, - 322, - 323, - 324 + 329, + 330, + 331, + 332, + 333 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4411, + "target": 4517, "name": "AdminUpsertConditionsReq", "package": "@medusajs/medusa" } ] }, { - "id": 325, + "id": 334, "name": "AdminPostDiscountsDiscountConditionsConditionParams", "variant": "declaration", "kind": 128, @@ -10891,39 +11441,39 @@ }, "children": [ { - "id": 326, + "id": 335, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 327, + "id": 336, "name": "new AdminPostDiscountsDiscountConditionsConditionParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 325, + "target": 334, "name": "AdminPostDiscountsDiscountConditionsConditionParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 328, + "id": 337, "name": "expand", "variant": "declaration", "kind": 1024, @@ -10936,6 +11486,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -10944,12 +11500,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 329, + "id": 338, "name": "fields", "variant": "declaration", "kind": 1024, @@ -10960,7 +11516,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -10970,7 +11542,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -10979,28 +11551,198 @@ { "title": "Constructors", "children": [ - 326 + 335 ] }, { "title": "Properties", "children": [ - 328, - 329 + 337, + 338 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 330, + "id": 339, + "name": "AdminUpdateDiscountRule", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes of the discount rule to update." + } + ] + }, + "children": [ + { + "id": 340, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 341, + "name": "new AdminUpdateDiscountRule", + "variant": "signature", + "kind": 16384, + "flags": {}, + "type": { + "type": "reference", + "target": 339, + "name": "AdminUpdateDiscountRule", + "package": "@medusajs/medusa" + } + } + ] + }, + { + "id": 342, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount rule's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 343, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount rule's description." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 344, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount rule's value." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 345, + "name": "allocation", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount rule's allocation." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/medusa/src/models/discount-rule.ts", + "qualifiedName": "AllocationType" + }, + "name": "AllocationType", + "package": "@medusajs/medusa" + } + }, + { + "id": 346, + "name": "conditions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount rule's discount conditions." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 359, + "name": "AdminUpsertCondition", + "package": "@medusajs/medusa" + } + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 340 + ] + }, + { + "title": "Properties", + "children": [ + 342, + 343, + 344, + 345, + 346 + ] + } + ] + }, + { + "id": 347, "name": "AdminPostDiscountsDiscountReq", "variant": "declaration", "kind": 128, @@ -11015,14 +11757,14 @@ }, "children": [ { - "id": 331, + "id": 348, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 332, + "id": 349, "name": "new AdminPostDiscountsDiscountReq", "variant": "signature", "kind": 16384, @@ -11037,7 +11779,7 @@ }, "type": { "type": "reference", - "target": 330, + "target": 347, "name": "AdminPostDiscountsDiscountReq", "package": "@medusajs/medusa" } @@ -11045,7 +11787,7 @@ ] }, { - "id": 333, + "id": 350, "name": "code", "variant": "declaration", "kind": 1024, @@ -11066,7 +11808,7 @@ } }, { - "id": 334, + "id": 351, "name": "rule", "variant": "declaration", "kind": 1024, @@ -11083,13 +11825,13 @@ }, "type": { "type": "reference", - "target": 342, + "target": 339, "name": "AdminUpdateDiscountRule", "package": "@medusajs/medusa" } }, { - "id": 335, + "id": 352, "name": "is_disabled", "variant": "declaration", "kind": 1024, @@ -11110,7 +11852,7 @@ } }, { - "id": 336, + "id": 353, "name": "starts_at", "variant": "declaration", "kind": 1024, @@ -11136,7 +11878,7 @@ } }, { - "id": 337, + "id": 354, "name": "ends_at", "variant": "declaration", "kind": 1024, @@ -11171,7 +11913,7 @@ } }, { - "id": 338, + "id": 355, "name": "valid_duration", "variant": "declaration", "kind": 1024, @@ -11201,7 +11943,7 @@ } }, { - "id": 339, + "id": 356, "name": "usage_limit", "variant": "declaration", "kind": 1024, @@ -11231,7 +11973,7 @@ } }, { - "id": 340, + "id": 357, "name": "regions", "variant": "declaration", "kind": 1024, @@ -11255,7 +11997,7 @@ } }, { - "id": 341, + "id": 358, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -11295,197 +12037,27 @@ { "title": "Constructors", "children": [ - 331 - ] - }, - { - "title": "Properties", - "children": [ - 333, - 334, - 335, - 336, - 337, - 338, - 339, - 340, - 341 - ] - } - ] - }, - { - "id": 342, - "name": "AdminUpdateDiscountRule", - "variant": "declaration", - "kind": 128, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The attributes of the discount rule to update." - } - ] - }, - "children": [ - { - "id": 343, - "name": "constructor", - "variant": "declaration", - "kind": 512, - "flags": {}, - "signatures": [ - { - "id": 344, - "name": "new AdminUpdateDiscountRule", - "variant": "signature", - "kind": 16384, - "flags": {}, - "type": { - "type": "reference", - "target": 342, - "name": "AdminUpdateDiscountRule", - "package": "@medusajs/medusa" - } - } - ] - }, - { - "id": 345, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The discount rule's ID." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 346, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The discount rule's description." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 347, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The discount rule's value." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 348, - "name": "allocation", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The discount rule's allocation." - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/medusa/src/models/discount-rule.ts", - "qualifiedName": "AllocationType" - }, - "name": "AllocationType", - "package": "@medusajs/medusa" - } - }, - { - "id": 349, - "name": "conditions", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The discount rule's discount conditions." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 350, - "name": "AdminUpsertCondition", - "package": "@medusajs/medusa" - } - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [ - 343 + 348 ] }, { "title": "Properties", "children": [ - 345, - 346, - 347, - 348, - 349 + 350, + 351, + 352, + 353, + 354, + 355, + 356, + 357, + 358 ] } ] }, { - "id": 350, + "id": 359, "name": "AdminUpsertCondition", "variant": "declaration", "kind": 128, @@ -11500,39 +12072,39 @@ }, "children": [ { - "id": 351, + "id": 360, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 352, + "id": 361, "name": "new AdminUpsertCondition", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 350, + "target": 359, "name": "AdminUpsertCondition", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4413, + "target": 4519, "name": "AdminUpsertConditionsReq.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4412, + "target": 4518, "name": "AdminUpsertConditionsReq.constructor" } }, { - "id": 353, + "id": 362, "name": "id", "variant": "declaration", "kind": 1024, @@ -11553,7 +12125,7 @@ } }, { - "id": 354, + "id": 363, "name": "operator", "variant": "declaration", "kind": 1024, @@ -11577,7 +12149,7 @@ } }, { - "id": 355, + "id": 364, "name": "products", "variant": "declaration", "kind": 1024, @@ -11609,12 +12181,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4414, + "target": 4520, "name": "AdminUpsertConditionsReq.products" } }, { - "id": 356, + "id": 365, "name": "product_collections", "variant": "declaration", "kind": 1024, @@ -11646,12 +12218,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4415, + "target": 4521, "name": "AdminUpsertConditionsReq.product_collections" } }, { - "id": 357, + "id": 366, "name": "product_types", "variant": "declaration", "kind": 1024, @@ -11683,12 +12255,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4416, + "target": 4522, "name": "AdminUpsertConditionsReq.product_types" } }, { - "id": 358, + "id": 367, "name": "product_tags", "variant": "declaration", "kind": 1024, @@ -11720,12 +12292,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4417, + "target": 4523, "name": "AdminUpsertConditionsReq.product_tags" } }, { - "id": 359, + "id": 368, "name": "customer_groups", "variant": "declaration", "kind": 1024, @@ -11757,7 +12329,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4418, + "target": 4524, "name": "AdminUpsertConditionsReq.customer_groups" } } @@ -11766,33 +12338,33 @@ { "title": "Constructors", "children": [ - 351 + 360 ] }, { "title": "Properties", "children": [ - 353, - 354, - 355, - 356, - 357, - 358, - 359 + 362, + 363, + 364, + 365, + 366, + 367, + 368 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4411, + "target": 4517, "name": "AdminUpsertConditionsReq", "package": "@medusajs/medusa" } ] }, { - "id": 360, + "id": 369, "name": "AdminPostDiscountsDiscountParams", "variant": "declaration", "kind": 128, @@ -11807,39 +12379,39 @@ }, "children": [ { - "id": 361, + "id": 370, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 362, + "id": 371, "name": "new AdminPostDiscountsDiscountParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 360, + "target": 369, "name": "AdminPostDiscountsDiscountParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 363, + "id": 372, "name": "expand", "variant": "declaration", "kind": 1024, @@ -11852,6 +12424,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -11860,12 +12438,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 364, + "id": 373, "name": "fields", "variant": "declaration", "kind": 1024, @@ -11876,7 +12454,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -11886,7 +12480,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -11895,28 +12489,28 @@ { "title": "Constructors", "children": [ - 361 + 370 ] }, { "title": "Properties", "children": [ - 363, - 364 + 372, + 373 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 401, + "id": 410, "name": "AdminPostDraftOrdersReq", "variant": "declaration", "kind": 128, @@ -11931,14 +12525,14 @@ }, "children": [ { - "id": 402, + "id": 411, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 403, + "id": 412, "name": "new AdminPostDraftOrdersReq", "variant": "signature", "kind": 16384, @@ -11953,7 +12547,7 @@ }, "type": { "type": "reference", - "target": 401, + "target": 410, "name": "AdminPostDraftOrdersReq", "package": "@medusajs/medusa" } @@ -11961,7 +12555,7 @@ ] }, { - "id": 404, + "id": 413, "name": "status", "variant": "declaration", "kind": 1024, @@ -11982,7 +12576,7 @@ } }, { - "id": 405, + "id": 414, "name": "email", "variant": "declaration", "kind": 1024, @@ -12001,7 +12595,7 @@ } }, { - "id": 406, + "id": 415, "name": "billing_address", "variant": "declaration", "kind": 1024, @@ -12025,7 +12619,7 @@ }, { "type": "reference", - "target": 3988, + "target": 4044, "name": "AddressPayload", "package": "@medusajs/medusa" } @@ -12033,7 +12627,7 @@ } }, { - "id": 407, + "id": 416, "name": "shipping_address", "variant": "declaration", "kind": 1024, @@ -12057,7 +12651,7 @@ }, { "type": "reference", - "target": 3988, + "target": 4044, "name": "AddressPayload", "package": "@medusajs/medusa" } @@ -12065,7 +12659,7 @@ } }, { - "id": 408, + "id": 417, "name": "items", "variant": "declaration", "kind": 1024, @@ -12084,14 +12678,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4424, + "target": 4530, "name": "Item", "package": "@medusajs/medusa" } } }, { - "id": 409, + "id": 418, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -12110,7 +12704,7 @@ } }, { - "id": 410, + "id": 419, "name": "discounts", "variant": "declaration", "kind": 1024, @@ -12129,14 +12723,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4432, + "target": 4538, "name": "Discount", "package": "@medusajs/medusa" } } }, { - "id": 411, + "id": 420, "name": "customer_id", "variant": "declaration", "kind": 1024, @@ -12157,7 +12751,7 @@ } }, { - "id": 412, + "id": 421, "name": "no_notification_order", "variant": "declaration", "kind": 1024, @@ -12178,7 +12772,7 @@ } }, { - "id": 413, + "id": 422, "name": "shipping_methods", "variant": "declaration", "kind": 1024, @@ -12195,14 +12789,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4436, + "target": 4542, "name": "ShippingMethod", "package": "@medusajs/medusa" } } }, { - "id": 414, + "id": 423, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -12243,29 +12837,29 @@ { "title": "Constructors", "children": [ - 402 + 411 ] }, { "title": "Properties", "children": [ - 404, - 405, - 406, - 407, - 408, - 409, - 410, - 411, - 412, 413, - 414 + 414, + 415, + 416, + 417, + 418, + 419, + 420, + 421, + 422, + 423 ] } ] }, { - "id": 4436, + "id": 4542, "name": "ShippingMethod", "variant": "declaration", "kind": 128, @@ -12280,14 +12874,14 @@ }, "children": [ { - "id": 4437, + "id": 4543, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4438, + "id": 4544, "name": "new ShippingMethod", "variant": "signature", "kind": 16384, @@ -12302,7 +12896,7 @@ }, "type": { "type": "reference", - "target": 4436, + "target": 4542, "name": "ShippingMethod", "package": "@medusajs/medusa" } @@ -12310,7 +12904,7 @@ ] }, { - "id": 4439, + "id": 4545, "name": "option_id", "variant": "declaration", "kind": 1024, @@ -12329,7 +12923,7 @@ } }, { - "id": 4440, + "id": 4546, "name": "data", "variant": "declaration", "kind": 1024, @@ -12366,7 +12960,7 @@ "defaultValue": "{}" }, { - "id": 4441, + "id": 4547, "name": "price", "variant": "declaration", "kind": 1024, @@ -12391,21 +12985,21 @@ { "title": "Constructors", "children": [ - 4437 + 4543 ] }, { "title": "Properties", "children": [ - 4439, - 4440, - 4441 + 4545, + 4546, + 4547 ] } ] }, { - "id": 4432, + "id": 4538, "name": "Discount", "variant": "declaration", "kind": 128, @@ -12420,14 +13014,14 @@ }, "children": [ { - "id": 4433, + "id": 4539, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4434, + "id": 4540, "name": "new Discount", "variant": "signature", "kind": 16384, @@ -12442,7 +13036,7 @@ }, "type": { "type": "reference", - "target": 4432, + "target": 4538, "name": "Discount", "package": "@medusajs/medusa" } @@ -12450,7 +13044,7 @@ ] }, { - "id": 4435, + "id": 4541, "name": "code", "variant": "declaration", "kind": 1024, @@ -12473,40 +13067,40 @@ { "title": "Constructors", "children": [ - 4433 + 4539 ] }, { "title": "Properties", "children": [ - 4435 + 4541 ] } ] }, { - "id": 4424, + "id": 4530, "name": "Item", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4425, + "id": 4531, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4426, + "id": 4532, "name": "new Item", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4424, + "target": 4530, "name": "Item", "package": "@medusajs/medusa" } @@ -12514,7 +13108,7 @@ ] }, { - "id": 4427, + "id": 4533, "name": "title", "variant": "declaration", "kind": 1024, @@ -12535,7 +13129,7 @@ } }, { - "id": 4428, + "id": 4534, "name": "unit_price", "variant": "declaration", "kind": 1024, @@ -12556,7 +13150,7 @@ } }, { - "id": 4429, + "id": 4535, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -12577,7 +13171,7 @@ } }, { - "id": 4430, + "id": 4536, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -12596,7 +13190,7 @@ } }, { - "id": 4431, + "id": 4537, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -12637,23 +13231,23 @@ { "title": "Constructors", "children": [ - 4425 + 4531 ] }, { "title": "Properties", "children": [ - 4427, - 4428, - 4429, - 4430, - 4431 + 4533, + 4534, + 4535, + 4536, + 4537 ] } ] }, { - "id": 415, + "id": 424, "name": "AdminPostDraftOrdersDraftOrderLineItemsReq", "variant": "declaration", "kind": 128, @@ -12668,14 +13262,14 @@ }, "children": [ { - "id": 416, + "id": 425, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 417, + "id": 426, "name": "new AdminPostDraftOrdersDraftOrderLineItemsReq", "variant": "signature", "kind": 16384, @@ -12690,7 +13284,7 @@ }, "type": { "type": "reference", - "target": 415, + "target": 424, "name": "AdminPostDraftOrdersDraftOrderLineItemsReq", "package": "@medusajs/medusa" } @@ -12698,7 +13292,7 @@ ] }, { - "id": 418, + "id": 427, "name": "title", "variant": "declaration", "kind": 1024, @@ -12720,7 +13314,7 @@ "defaultValue": "\"Custom item\"" }, { - "id": 419, + "id": 428, "name": "unit_price", "variant": "declaration", "kind": 1024, @@ -12741,7 +13335,7 @@ } }, { - "id": 420, + "id": 429, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -12762,7 +13356,7 @@ } }, { - "id": 421, + "id": 430, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -12781,7 +13375,7 @@ } }, { - "id": 422, + "id": 431, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -12822,23 +13416,23 @@ { "title": "Constructors", "children": [ - 416 + 425 ] }, { "title": "Properties", "children": [ - 418, - 419, - 420, - 421, - 422 + 427, + 428, + 429, + 430, + 431 ] } ] }, { - "id": 387, + "id": 396, "name": "defaultAdminDraftOrdersRelations", "variant": "declaration", "kind": 32, @@ -12855,7 +13449,7 @@ "defaultValue": "..." }, { - "id": 388, + "id": 397, "name": "defaultAdminDraftOrdersCartRelations", "variant": "declaration", "kind": 32, @@ -12872,7 +13466,7 @@ "defaultValue": "..." }, { - "id": 389, + "id": 398, "name": "defaultAdminDraftOrdersCartFields", "variant": "declaration", "kind": 32, @@ -12898,7 +13492,7 @@ "defaultValue": "..." }, { - "id": 390, + "id": 399, "name": "defaultAdminDraftOrdersFields", "variant": "declaration", "kind": 32, @@ -12924,7 +13518,7 @@ "defaultValue": "..." }, { - "id": 391, + "id": 400, "name": "AdminPostDraftOrdersDraftOrderRegisterPaymentRes", "variant": "declaration", "kind": 2097152, @@ -12943,14 +13537,14 @@ "type": { "type": "reflection", "declaration": { - "id": 392, + "id": 401, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 393, + "id": 402, "name": "order", "variant": "declaration", "kind": 1024, @@ -12978,7 +13572,7 @@ { "title": "Properties", "children": [ - 393 + 402 ] } ] @@ -12986,7 +13580,7 @@ } }, { - "id": 394, + "id": 403, "name": "AdminDraftOrdersRes", "variant": "declaration", "kind": 2097152, @@ -13005,14 +13599,14 @@ "type": { "type": "reflection", "declaration": { - "id": 395, + "id": 404, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 396, + "id": 405, "name": "draft_order", "variant": "declaration", "kind": 1024, @@ -13040,7 +13634,7 @@ { "title": "Properties", "children": [ - 396 + 405 ] } ] @@ -13048,7 +13642,7 @@ } }, { - "id": 397, + "id": 406, "name": "AdminDraftOrdersDeleteRes", "variant": "declaration", "kind": 2097152, @@ -13061,13 +13655,13 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 398, + "id": 407, "name": "AdminDraftOrdersListRes", "variant": "declaration", "kind": 2097152, @@ -13088,21 +13682,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 399, + "id": 408, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 400, + "id": 409, "name": "draft_orders", "variant": "declaration", "kind": 1024, @@ -13133,7 +13727,7 @@ { "title": "Properties", "children": [ - 400 + 409 ] } ] @@ -13143,7 +13737,7 @@ } }, { - "id": 423, + "id": 432, "name": "AdminGetDraftOrdersParams", "variant": "declaration", "kind": 128, @@ -13158,30 +13752,29 @@ }, "children": [ { - "id": 424, - "name": "constructor", + "id": 436, + "name": "q", "variant": "declaration", - "kind": 512, - "flags": {}, - "signatures": [ - { - "id": 425, - "name": "new AdminGetDraftOrdersParams", - "variant": "signature", - "kind": 16384, - "flags": {}, - "type": { - "type": "reference", - "target": 423, - "name": "AdminGetDraftOrdersParams", - "package": "@medusajs/medusa" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Search term to search draft orders by their display IDs and emails." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 426, - "name": "q", + "id": 437, + "name": "expand", "variant": "declaration", "kind": 1024, "flags": { @@ -13191,18 +13784,23 @@ "summary": [ { "kind": "text", - "text": "Search term to search draft orders by their display IDs and emails." + "text": "Comma-separated relations that should be expanded in the returned data." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 50,\n}).expand" } }, { - "id": 427, - "name": "limit", + "id": 438, + "name": "fields", "variant": "declaration", "kind": 1024, "flags": { @@ -13214,16 +13812,119 @@ "kind": "text", "text": "Limit the number of items returned in the list." } + ], + "blockTags": [ + { + "tag": "@defaultValue", + "content": [ + { + "kind": "code", + "text": "```ts\n50\n```" + } + ] + } ] }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" }, - "defaultValue": "50" + "overwrites": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 50,\n}).fields" + } }, { - "id": 428, + "id": 439, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Statuses to filter draft orders by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4548, + "name": "DraftOrderStatusValue", + "package": "@medusajs/medusa" + } + } + }, + { + "id": 440, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Date filters to apply on the draft orders' " + }, + { + "kind": "code", + "text": "`created_at`" + }, + { + "kind": "text", + "text": " date." + } + ] + }, + "type": { + "type": "reference", + "target": 4020, + "name": "DateComparisonOperator", + "package": "@medusajs/medusa" + } + }, + { + "id": 441, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Date filters to apply on the draft orders' " + }, + { + "kind": "code", + "text": "`updated_at`" + }, + { + "kind": "text", + "text": " date." + } + ] + }, + "type": { + "type": "reference", + "target": 4020, + "name": "DateComparisonOperator", + "package": "@medusajs/medusa" + } + }, + { + "id": 442, "name": "offset", "variant": "declaration", "kind": 1024, @@ -13236,48 +13937,223 @@ "kind": "text", "text": "The number of items to skip when retrieving a list." } + ], + "blockTags": [ + { + "tag": "@defaultValue", + "content": [ + { + "kind": "code", + "text": "```ts\n0\n```" + } + ] + } ] }, "type": { "type": "intrinsic", "name": "number" }, - "defaultValue": "0" + "defaultValue": "0", + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 50,\n}).offset" + } + }, + { + "id": 443, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Limit the number of items returned in the list." + } + ], + "blockTags": [ + { + "tag": "@defaultValue", + "content": [ + { + "kind": "code", + "text": "```ts\n20\n```" + } + ] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "20", + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 50,\n}).limit" + } + }, + { + "id": 444, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 50,\n}).order" + } + }, + { + "id": 433, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 434, + "name": "new AdminGetDraftOrdersParams", + "variant": "signature", + "kind": 16384, + "flags": {}, + "parameters": [ + { + "id": 435, + "name": "args", + "variant": "param", + "kind": 32768, + "flags": { + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + } + ], + "type": { + "type": "reference", + "target": 432, + "name": "AdminGetDraftOrdersParams", + "package": "@medusajs/medusa" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 50,\n}).constructor" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 50,\n}).constructor" + } } ], "groups": [ { "title": "Constructors", "children": [ - 424 + 433 ] }, { "title": "Properties", "children": [ - 426, - 427, - 428 + 436, + 437, + 438, + 439, + 440, + 441, + 442, + 443, + 444 + ] + } + ], + "extendedTypes": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 4072, + "typeArguments": [ + { + "type": "intrinsic", + "name": "this" + } + ], + "name": "FindParams", + "package": "@medusajs/medusa" + }, + { + "type": "reference", + "target": 4077, + "typeArguments": [ + { + "type": "intrinsic", + "name": "this" + } + ], + "name": "FindPaginationParams", + "package": "@medusajs/medusa" + } ] } ] }, { - "id": 429, + "id": 445, "name": "reserveQuantityForDraftOrder", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 430, + "id": 446, "name": "reserveQuantityForDraftOrder", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 431, + "id": 447, "name": "order", "variant": "param", "kind": 32768, @@ -13301,7 +14177,7 @@ } }, { - "id": 432, + "id": 448, "name": "context", "variant": "param", "kind": 32768, @@ -13309,14 +14185,14 @@ "type": { "type": "reflection", "declaration": { - "id": 433, + "id": 449, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 434, + "id": 450, "name": "productVariantInventoryService", "variant": "declaration", "kind": 1024, @@ -13332,7 +14208,7 @@ } }, { - "id": 435, + "id": 451, "name": "locationId", "variant": "declaration", "kind": 1024, @@ -13349,8 +14225,8 @@ { "title": "Properties", "children": [ - 434, - 435 + 450, + 451 ] } ] @@ -13377,7 +14253,7 @@ ] }, { - "id": 436, + "id": 452, "name": "AdminPostDraftOrdersDraftOrderReq", "variant": "declaration", "kind": 128, @@ -13392,14 +14268,14 @@ }, "children": [ { - "id": 437, + "id": 453, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 438, + "id": 454, "name": "new AdminPostDraftOrdersDraftOrderReq", "variant": "signature", "kind": 16384, @@ -13414,7 +14290,7 @@ }, "type": { "type": "reference", - "target": 436, + "target": 452, "name": "AdminPostDraftOrdersDraftOrderReq", "package": "@medusajs/medusa" } @@ -13422,7 +14298,7 @@ ] }, { - "id": 439, + "id": 455, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -13443,7 +14319,7 @@ } }, { - "id": 440, + "id": 456, "name": "country_code", "variant": "declaration", "kind": 1024, @@ -13464,7 +14340,7 @@ } }, { - "id": 441, + "id": 457, "name": "email", "variant": "declaration", "kind": 1024, @@ -13485,7 +14361,7 @@ } }, { - "id": 442, + "id": 458, "name": "billing_address", "variant": "declaration", "kind": 1024, @@ -13509,7 +14385,7 @@ }, { "type": "reference", - "target": 3988, + "target": 4044, "name": "AddressPayload", "package": "@medusajs/medusa" } @@ -13517,7 +14393,7 @@ } }, { - "id": 443, + "id": 459, "name": "shipping_address", "variant": "declaration", "kind": 1024, @@ -13541,7 +14417,7 @@ }, { "type": "reference", - "target": 3988, + "target": 4044, "name": "AddressPayload", "package": "@medusajs/medusa" } @@ -13549,7 +14425,7 @@ } }, { - "id": 444, + "id": 460, "name": "discounts", "variant": "declaration", "kind": 1024, @@ -13568,14 +14444,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4442, + "target": 4549, "name": "Discount", "package": "@medusajs/medusa" } } }, { - "id": 445, + "id": 461, "name": "customer_id", "variant": "declaration", "kind": 1024, @@ -13596,7 +14472,7 @@ } }, { - "id": 446, + "id": 462, "name": "no_notification_order", "variant": "declaration", "kind": 1024, @@ -13621,26 +14497,26 @@ { "title": "Constructors", "children": [ - 437 + 453 ] }, { "title": "Properties", "children": [ - 439, - 440, - 441, - 442, - 443, - 444, - 445, - 446 + 455, + 456, + 457, + 458, + 459, + 460, + 461, + 462 ] } ] }, { - "id": 4442, + "id": 4549, "name": "Discount", "variant": "declaration", "kind": 128, @@ -13655,14 +14531,14 @@ }, "children": [ { - "id": 4443, + "id": 4550, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4444, + "id": 4551, "name": "new Discount", "variant": "signature", "kind": 16384, @@ -13677,7 +14553,7 @@ }, "type": { "type": "reference", - "target": 4442, + "target": 4549, "name": "Discount", "package": "@medusajs/medusa" } @@ -13685,7 +14561,7 @@ ] }, { - "id": 4445, + "id": 4552, "name": "code", "variant": "declaration", "kind": 1024, @@ -13708,19 +14584,19 @@ { "title": "Constructors", "children": [ - 4443 + 4550 ] }, { "title": "Properties", "children": [ - 4445 + 4552 ] } ] }, { - "id": 447, + "id": 463, "name": "AdminPostDraftOrdersDraftOrderLineItemsItemReq", "variant": "declaration", "kind": 128, @@ -13735,14 +14611,14 @@ }, "children": [ { - "id": 448, + "id": 464, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 449, + "id": 465, "name": "new AdminPostDraftOrdersDraftOrderLineItemsItemReq", "variant": "signature", "kind": 16384, @@ -13757,7 +14633,7 @@ }, "type": { "type": "reference", - "target": 447, + "target": 463, "name": "AdminPostDraftOrdersDraftOrderLineItemsItemReq", "package": "@medusajs/medusa" } @@ -13765,7 +14641,7 @@ ] }, { - "id": 450, + "id": 466, "name": "title", "variant": "declaration", "kind": 1024, @@ -13786,7 +14662,7 @@ } }, { - "id": 451, + "id": 467, "name": "unit_price", "variant": "declaration", "kind": 1024, @@ -13807,7 +14683,7 @@ } }, { - "id": 452, + "id": 468, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -13828,7 +14704,7 @@ } }, { - "id": 453, + "id": 469, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -13869,22 +14745,22 @@ { "title": "Constructors", "children": [ - 448 + 464 ] }, { "title": "Properties", "children": [ - 450, - 451, - 452, - 453 + 466, + 467, + 468, + 469 ] } ] }, { - "id": 463, + "id": 479, "name": "AdminPostGiftCardsReq", "variant": "declaration", "kind": 128, @@ -13899,14 +14775,14 @@ }, "children": [ { - "id": 464, + "id": 480, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 465, + "id": 481, "name": "new AdminPostGiftCardsReq", "variant": "signature", "kind": 16384, @@ -13921,7 +14797,7 @@ }, "type": { "type": "reference", - "target": 463, + "target": 479, "name": "AdminPostGiftCardsReq", "package": "@medusajs/medusa" } @@ -13929,7 +14805,7 @@ ] }, { - "id": 466, + "id": 482, "name": "value", "variant": "declaration", "kind": 1024, @@ -13950,7 +14826,7 @@ } }, { - "id": 467, + "id": 483, "name": "ends_at", "variant": "declaration", "kind": 1024, @@ -13976,7 +14852,7 @@ } }, { - "id": 468, + "id": 484, "name": "is_disabled", "variant": "declaration", "kind": 1024, @@ -13997,7 +14873,7 @@ } }, { - "id": 469, + "id": 485, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -14016,7 +14892,7 @@ } }, { - "id": 470, + "id": 486, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -14056,23 +14932,23 @@ { "title": "Constructors", "children": [ - 464 + 480 ] }, { "title": "Properties", "children": [ - 466, - 467, - 468, - 469, - 470 + 482, + 483, + 484, + 485, + 486 ] } ] }, { - "id": 454, + "id": 470, "name": "defaultAdminGiftCardFields", "variant": "declaration", "kind": 32, @@ -14098,7 +14974,7 @@ "defaultValue": "..." }, { - "id": 455, + "id": 471, "name": "defaultAdminGiftCardRelations", "variant": "declaration", "kind": 32, @@ -14115,7 +14991,7 @@ "defaultValue": "..." }, { - "id": 456, + "id": 472, "name": "AdminGiftCardsRes", "variant": "declaration", "kind": 2097152, @@ -14134,14 +15010,14 @@ "type": { "type": "reflection", "declaration": { - "id": 457, + "id": 473, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 458, + "id": 474, "name": "gift_card", "variant": "declaration", "kind": 1024, @@ -14169,7 +15045,7 @@ { "title": "Properties", "children": [ - 458 + 474 ] } ] @@ -14177,7 +15053,7 @@ } }, { - "id": 459, + "id": 475, "name": "AdminGiftCardsDeleteRes", "variant": "declaration", "kind": 2097152, @@ -14190,13 +15066,13 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 460, + "id": 476, "name": "AdminGiftCardsListRes", "variant": "declaration", "kind": 2097152, @@ -14217,21 +15093,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 461, + "id": 477, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 462, + "id": 478, "name": "gift_cards", "variant": "declaration", "kind": 1024, @@ -14262,7 +15138,7 @@ { "title": "Properties", "children": [ - 462 + 478 ] } ] @@ -14272,7 +15148,7 @@ } }, { - "id": 471, + "id": 487, "name": "AdminGetGiftCardsParams", "variant": "declaration", "kind": 128, @@ -14287,21 +15163,21 @@ }, "children": [ { - "id": 472, + "id": 488, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 473, + "id": 489, "name": "new AdminGetGiftCardsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 471, + "target": 487, "name": "AdminGetGiftCardsParams", "package": "@medusajs/medusa" } @@ -14309,7 +15185,7 @@ ] }, { - "id": 474, + "id": 490, "name": "limit", "variant": "declaration", "kind": 1024, @@ -14340,7 +15216,7 @@ "defaultValue": "50" }, { - "id": 475, + "id": 491, "name": "offset", "variant": "declaration", "kind": 1024, @@ -14371,7 +15247,7 @@ "defaultValue": "0" }, { - "id": 476, + "id": 492, "name": "q", "variant": "declaration", "kind": 1024, @@ -14390,27 +15266,57 @@ "type": "intrinsic", "name": "string" } + }, + { + "id": 493, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } } ], "groups": [ { "title": "Constructors", "children": [ - 472 + 488 ] }, { "title": "Properties", "children": [ - 474, - 475, - 476 + 490, + 491, + 492, + 493 ] } ] }, { - "id": 477, + "id": 494, "name": "AdminPostGiftCardsGiftCardReq", "variant": "declaration", "kind": 128, @@ -14425,14 +15331,14 @@ }, "children": [ { - "id": 478, + "id": 495, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 479, + "id": 496, "name": "new AdminPostGiftCardsGiftCardReq", "variant": "signature", "kind": 16384, @@ -14447,7 +15353,7 @@ }, "type": { "type": "reference", - "target": 477, + "target": 494, "name": "AdminPostGiftCardsGiftCardReq", "package": "@medusajs/medusa" } @@ -14455,7 +15361,7 @@ ] }, { - "id": 480, + "id": 497, "name": "balance", "variant": "declaration", "kind": 1024, @@ -14476,7 +15382,7 @@ } }, { - "id": 481, + "id": 498, "name": "is_disabled", "variant": "declaration", "kind": 1024, @@ -14497,7 +15403,7 @@ } }, { - "id": 482, + "id": 499, "name": "ends_at", "variant": "declaration", "kind": 1024, @@ -14532,7 +15438,7 @@ } }, { - "id": 483, + "id": 500, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -14553,7 +15459,7 @@ } }, { - "id": 484, + "id": 501, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -14593,23 +15499,23 @@ { "title": "Constructors", "children": [ - 478 + 495 ] }, { "title": "Properties", "children": [ - 480, - 481, - 482, - 483, - 484 + 497, + 498, + 499, + 500, + 501 ] } ] }, { - "id": 510, + "id": 527, "name": "AdminPostInventoryItemsReq", "variant": "declaration", "kind": 128, @@ -14624,14 +15530,14 @@ }, "children": [ { - "id": 511, + "id": 528, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 512, + "id": 529, "name": "new AdminPostInventoryItemsReq", "variant": "signature", "kind": 16384, @@ -14646,7 +15552,7 @@ }, "type": { "type": "reference", - "target": 510, + "target": 527, "name": "AdminPostInventoryItemsReq", "package": "@medusajs/medusa" } @@ -14654,7 +15560,7 @@ ] }, { - "id": 513, + "id": 530, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -14673,7 +15579,7 @@ } }, { - "id": 514, + "id": 531, "name": "sku", "variant": "declaration", "kind": 1024, @@ -14694,7 +15600,7 @@ } }, { - "id": 515, + "id": 532, "name": "hs_code", "variant": "declaration", "kind": 1024, @@ -14715,7 +15621,7 @@ } }, { - "id": 516, + "id": 533, "name": "weight", "variant": "declaration", "kind": 1024, @@ -14736,7 +15642,7 @@ } }, { - "id": 517, + "id": 534, "name": "length", "variant": "declaration", "kind": 1024, @@ -14757,7 +15663,7 @@ } }, { - "id": 518, + "id": 535, "name": "height", "variant": "declaration", "kind": 1024, @@ -14778,7 +15684,7 @@ } }, { - "id": 519, + "id": 536, "name": "width", "variant": "declaration", "kind": 1024, @@ -14799,7 +15705,7 @@ } }, { - "id": 520, + "id": 537, "name": "origin_country", "variant": "declaration", "kind": 1024, @@ -14820,7 +15726,7 @@ } }, { - "id": 521, + "id": 538, "name": "mid_code", "variant": "declaration", "kind": 1024, @@ -14841,7 +15747,7 @@ } }, { - "id": 522, + "id": 539, "name": "material", "variant": "declaration", "kind": 1024, @@ -14862,7 +15768,7 @@ } }, { - "id": 523, + "id": 540, "name": "title", "variant": "declaration", "kind": 1024, @@ -14883,7 +15789,7 @@ } }, { - "id": 524, + "id": 541, "name": "description", "variant": "declaration", "kind": 1024, @@ -14904,7 +15810,7 @@ } }, { - "id": 525, + "id": 542, "name": "thumbnail", "variant": "declaration", "kind": 1024, @@ -14925,7 +15831,7 @@ } }, { - "id": 526, + "id": 543, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -14965,32 +15871,32 @@ { "title": "Constructors", "children": [ - 511 + 528 ] }, { "title": "Properties", "children": [ - 513, - 514, - 515, - 516, - 517, - 518, - 519, - 520, - 521, - 522, - 523, - 524, - 525, - 526 + 530, + 531, + 532, + 533, + 534, + 535, + 536, + 537, + 538, + 539, + 540, + 541, + 542, + 543 ] } ] }, { - "id": 527, + "id": 544, "name": "AdminPostInventoryItemsParams", "variant": "declaration", "kind": 128, @@ -15005,39 +15911,39 @@ }, "children": [ { - "id": 528, + "id": 545, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 529, + "id": 546, "name": "new AdminPostInventoryItemsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 527, + "target": 544, "name": "AdminPostInventoryItemsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 530, + "id": 547, "name": "expand", "variant": "declaration", "kind": 1024, @@ -15050,6 +15956,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -15058,12 +15970,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 531, + "id": 548, "name": "fields", "variant": "declaration", "kind": 1024, @@ -15074,7 +15986,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -15084,7 +16012,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -15093,28 +16021,28 @@ { "title": "Constructors", "children": [ - 528 + 545 ] }, { "title": "Properties", "children": [ - 530, - 531 + 547, + 548 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 532, + "id": 549, "name": "AdminPostInventoryItemsItemLocationLevelsReq", "variant": "declaration", "kind": 128, @@ -15123,20 +16051,20 @@ "summary": [ { "kind": "text", - "text": "The details of the location level to create." + "text": "The details of the inventory level to create." } ] }, "children": [ { - "id": 533, + "id": 550, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 534, + "id": 551, "name": "new AdminPostInventoryItemsItemLocationLevelsReq", "variant": "signature", "kind": 16384, @@ -15145,13 +16073,13 @@ "summary": [ { "kind": "text", - "text": "The details of the location level to create." + "text": "The details of the inventory level to create." } ] }, "type": { "type": "reference", - "target": 532, + "target": 549, "name": "AdminPostInventoryItemsItemLocationLevelsReq", "package": "@medusajs/medusa" } @@ -15159,7 +16087,7 @@ ] }, { - "id": 535, + "id": 552, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -15178,7 +16106,7 @@ } }, { - "id": 536, + "id": 553, "name": "stocked_quantity", "variant": "declaration", "kind": 1024, @@ -15197,7 +16125,7 @@ } }, { - "id": 537, + "id": 554, "name": "incoming_quantity", "variant": "declaration", "kind": 1024, @@ -15222,21 +16150,21 @@ { "title": "Constructors", "children": [ - 533 + 550 ] }, { "title": "Properties", "children": [ - 535, - 536, - 537 + 552, + 553, + 554 ] } ] }, { - "id": 538, + "id": 555, "name": "AdminPostInventoryItemsItemLocationLevelsParams", "variant": "declaration", "kind": 128, @@ -15251,39 +16179,39 @@ }, "children": [ { - "id": 539, + "id": 556, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 540, + "id": 557, "name": "new AdminPostInventoryItemsItemLocationLevelsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 538, + "target": 555, "name": "AdminPostInventoryItemsItemLocationLevelsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 541, + "id": 558, "name": "expand", "variant": "declaration", "kind": 1024, @@ -15296,6 +16224,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -15304,12 +16238,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 542, + "id": 559, "name": "fields", "variant": "declaration", "kind": 1024, @@ -15320,7 +16254,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -15330,7 +16280,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -15339,28 +16289,28 @@ { "title": "Constructors", "children": [ - 539 + 556 ] }, { "title": "Properties", "children": [ - 541, - 542 + 558, + 559 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 543, + "id": 560, "name": "AdminGetInventoryItemsItemParams", "variant": "declaration", "kind": 128, @@ -15375,39 +16325,39 @@ }, "children": [ { - "id": 544, + "id": 561, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 545, + "id": 562, "name": "new AdminGetInventoryItemsItemParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 543, + "target": 560, "name": "AdminGetInventoryItemsItemParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 546, + "id": 563, "name": "expand", "variant": "declaration", "kind": 1024, @@ -15420,6 +16370,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -15428,12 +16384,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 547, + "id": 564, "name": "fields", "variant": "declaration", "kind": 1024, @@ -15444,7 +16400,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -15454,7 +16426,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -15463,28 +16435,28 @@ { "title": "Constructors", "children": [ - 544 + 561 ] }, { "title": "Properties", "children": [ - 546, - 547 + 563, + 564 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 485, + "id": 502, "name": "defaultAdminInventoryItemFields", "variant": "declaration", "kind": 32, @@ -15498,7 +16470,7 @@ "operator": "keyof", "target": { "type": "reference", - "target": 4446, + "target": 4553, "name": "InventoryItemDTO", "package": "@medusajs/types" } @@ -15507,7 +16479,7 @@ "defaultValue": "..." }, { - "id": 486, + "id": 503, "name": "defaultAdminLocationLevelFields", "variant": "declaration", "kind": 32, @@ -15521,7 +16493,7 @@ "operator": "keyof", "target": { "type": "reference", - "target": 4466, + "target": 4573, "name": "InventoryLevelDTO", "package": "@medusajs/types" } @@ -15530,7 +16502,7 @@ "defaultValue": "..." }, { - "id": 487, + "id": 504, "name": "defaultAdminInventoryItemRelations", "variant": "declaration", "kind": 32, @@ -15547,7 +16519,7 @@ "defaultValue": "[]" }, { - "id": 488, + "id": 505, "name": "AdminInventoryItemsRes", "variant": "declaration", "kind": 2097152, @@ -15566,14 +16538,14 @@ "type": { "type": "reflection", "declaration": { - "id": 489, + "id": 506, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 490, + "id": 507, "name": "inventory_item", "variant": "declaration", "kind": 1024, @@ -15588,7 +16560,7 @@ }, "type": { "type": "reference", - "target": 4446, + "target": 4553, "name": "InventoryItemDTO", "package": "@medusajs/types" } @@ -15598,7 +16570,7 @@ { "title": "Properties", "children": [ - 490 + 507 ] } ] @@ -15606,7 +16578,7 @@ } }, { - "id": 491, + "id": 508, "name": "AdminInventoryItemsDeleteRes", "variant": "declaration", "kind": 2097152, @@ -15619,13 +16591,13 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 492, + "id": 509, "name": "AdminInventoryItemsListRes", "variant": "declaration", "kind": 2097152, @@ -15641,21 +16613,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 493, + "id": 510, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 494, + "id": 511, "name": "inventory_items", "variant": "declaration", "kind": 1024, @@ -15672,7 +16644,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4446, + "target": 4553, "name": "InventoryItemDTO", "package": "@medusajs/types" } @@ -15683,7 +16655,7 @@ { "title": "Properties", "children": [ - 494 + 511 ] } ] @@ -15693,7 +16665,7 @@ } }, { - "id": 495, + "id": 512, "name": "DecoratedInventoryItemDTO", "variant": "declaration", "kind": 2097152, @@ -15709,21 +16681,21 @@ "types": [ { "type": "reference", - "target": 4446, + "target": 4553, "name": "InventoryItemDTO", "package": "@medusajs/types" }, { "type": "reflection", "declaration": { - "id": 496, + "id": 513, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 497, + "id": 514, "name": "location_levels", "variant": "declaration", "kind": 1024, @@ -15742,14 +16714,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4466, + "target": 4573, "name": "InventoryLevelDTO", "package": "@medusajs/types" } } }, { - "id": 498, + "id": 515, "name": "variants", "variant": "declaration", "kind": 1024, @@ -15778,7 +16750,7 @@ } }, { - "id": 499, + "id": 516, "name": "stocked_quantity", "variant": "declaration", "kind": 1024, @@ -15797,7 +16769,7 @@ } }, { - "id": 500, + "id": 517, "name": "reserved_quantity", "variant": "declaration", "kind": 1024, @@ -15820,10 +16792,10 @@ { "title": "Properties", "children": [ - 497, - 498, - 499, - 500 + 514, + 515, + 516, + 517 ] } ] @@ -15833,7 +16805,7 @@ } }, { - "id": 501, + "id": 518, "name": "AdminInventoryItemsListWithVariantsAndLocationLevelsRes", "variant": "declaration", "kind": 2097152, @@ -15849,21 +16821,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 502, + "id": 519, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 503, + "id": 520, "name": "inventory_items", "variant": "declaration", "kind": 1024, @@ -15880,7 +16852,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 495, + "target": 512, "name": "DecoratedInventoryItemDTO", "package": "@medusajs/medusa" } @@ -15891,7 +16863,7 @@ { "title": "Properties", "children": [ - 503 + 520 ] } ] @@ -15901,7 +16873,7 @@ } }, { - "id": 504, + "id": 521, "name": "AdminInventoryItemsLocationLevelsRes", "variant": "declaration", "kind": 2097152, @@ -15920,14 +16892,14 @@ "type": { "type": "reflection", "declaration": { - "id": 505, + "id": 522, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 506, + "id": 523, "name": "inventory_item", "variant": "declaration", "kind": 1024, @@ -15943,14 +16915,14 @@ "type": { "type": "reflection", "declaration": { - "id": 507, + "id": 524, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 508, + "id": 525, "name": "id", "variant": "declaration", "kind": 1024, @@ -15969,7 +16941,7 @@ } }, { - "id": 509, + "id": 526, "name": "location_levels", "variant": "declaration", "kind": 1024, @@ -15986,7 +16958,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4466, + "target": 4573, "name": "InventoryLevelDTO", "package": "@medusajs/types" } @@ -15997,8 +16969,8 @@ { "title": "Properties", "children": [ - 508, - 509 + 525, + 526 ] } ] @@ -16010,7 +16982,7 @@ { "title": "Properties", "children": [ - 506 + 523 ] } ] @@ -16018,7 +16990,7 @@ } }, { - "id": 548, + "id": 565, "name": "AdminGetInventoryItemsParams", "variant": "declaration", "kind": 128, @@ -16033,7 +17005,7 @@ }, "children": [ { - "id": 552, + "id": 569, "name": "id", "variant": "declaration", "kind": 1024, @@ -16066,7 +17038,7 @@ } }, { - "id": 553, + "id": 570, "name": "q", "variant": "declaration", "kind": 1024, @@ -16087,7 +17059,7 @@ } }, { - "id": 554, + "id": 571, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -16120,7 +17092,7 @@ } }, { - "id": 555, + "id": 572, "name": "sku", "variant": "declaration", "kind": 1024, @@ -16153,7 +17125,7 @@ } }, { - "id": 556, + "id": 573, "name": "origin_country", "variant": "declaration", "kind": 1024, @@ -16186,7 +17158,7 @@ } }, { - "id": 557, + "id": 574, "name": "mid_code", "variant": "declaration", "kind": 1024, @@ -16219,7 +17191,7 @@ } }, { - "id": 558, + "id": 575, "name": "material", "variant": "declaration", "kind": 1024, @@ -16252,7 +17224,7 @@ } }, { - "id": 559, + "id": 576, "name": "hs_code", "variant": "declaration", "kind": 1024, @@ -16291,7 +17263,7 @@ }, { "type": "reference", - "target": 3971, + "target": 4027, "name": "StringComparisonOperator", "package": "@medusajs/medusa" } @@ -16299,7 +17271,7 @@ } }, { - "id": 560, + "id": 577, "name": "weight", "variant": "declaration", "kind": 1024, @@ -16331,7 +17303,7 @@ }, { "type": "reference", - "target": 3981, + "target": 4037, "name": "NumericalComparisonOperator", "package": "@medusajs/medusa" } @@ -16339,7 +17311,7 @@ } }, { - "id": 561, + "id": 578, "name": "length", "variant": "declaration", "kind": 1024, @@ -16371,7 +17343,7 @@ }, { "type": "reference", - "target": 3981, + "target": 4037, "name": "NumericalComparisonOperator", "package": "@medusajs/medusa" } @@ -16379,7 +17351,7 @@ } }, { - "id": 562, + "id": 579, "name": "height", "variant": "declaration", "kind": 1024, @@ -16411,7 +17383,7 @@ }, { "type": "reference", - "target": 3981, + "target": 4037, "name": "NumericalComparisonOperator", "package": "@medusajs/medusa" } @@ -16419,7 +17391,7 @@ } }, { - "id": 563, + "id": 580, "name": "width", "variant": "declaration", "kind": 1024, @@ -16451,7 +17423,7 @@ }, { "type": "reference", - "target": 3981, + "target": 4037, "name": "NumericalComparisonOperator", "package": "@medusajs/medusa" } @@ -16459,7 +17431,7 @@ } }, { - "id": 564, + "id": 581, "name": "requires_shipping", "variant": "declaration", "kind": 1024, @@ -16480,7 +17452,7 @@ } }, { - "id": 565, + "id": 582, "name": "expand", "variant": "declaration", "kind": 1024, @@ -16493,6 +17465,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -16506,7 +17484,7 @@ } }, { - "id": 566, + "id": 583, "name": "fields", "variant": "declaration", "kind": 1024, @@ -16517,7 +17495,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -16532,7 +17526,7 @@ } }, { - "id": 567, + "id": 584, "name": "offset", "variant": "declaration", "kind": 1024, @@ -16570,7 +17564,7 @@ } }, { - "id": 568, + "id": 585, "name": "limit", "variant": "declaration", "kind": 1024, @@ -16608,21 +17602,55 @@ } }, { - "id": 549, + "id": 586, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 20,\n offset: 0,\n}).order" + } + }, + { + "id": 566, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 550, + "id": 567, "name": "new AdminGetInventoryItemsParams", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 551, + "id": 568, "name": "args", "variant": "param", "kind": 32768, @@ -16640,7 +17668,7 @@ ], "type": { "type": "reference", - "target": 548, + "target": 565, "name": "AdminGetInventoryItemsParams", "package": "@medusajs/medusa" }, @@ -16662,29 +17690,30 @@ { "title": "Constructors", "children": [ - 549 + 566 ] }, { "title": "Properties", "children": [ - 552, - 553, - 554, - 555, - 556, - 557, - 558, - 559, - 560, - 561, - 562, - 563, - 564, - 565, - 566, - 567, - 568 + 569, + 570, + 571, + 572, + 573, + 574, + 575, + 576, + 577, + 578, + 579, + 580, + 581, + 582, + 583, + 584, + 585, + 586 ] } ], @@ -16694,7 +17723,7 @@ "types": [ { "type": "reference", - "target": 4016, + "target": 4072, "typeArguments": [ { "type": "intrinsic", @@ -16706,7 +17735,7 @@ }, { "type": "reference", - "target": 4021, + "target": 4077, "typeArguments": [ { "type": "intrinsic", @@ -16721,7 +17750,7 @@ ] }, { - "id": 569, + "id": 587, "name": "AdminGetInventoryItemsItemLocationLevelsParams", "variant": "declaration", "kind": 128, @@ -16736,39 +17765,39 @@ }, "children": [ { - "id": 570, + "id": 588, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 571, + "id": 589, "name": "new AdminGetInventoryItemsItemLocationLevelsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 569, + "target": 587, "name": "AdminGetInventoryItemsItemLocationLevelsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 572, + "id": 590, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -16792,7 +17821,7 @@ } }, { - "id": 573, + "id": 591, "name": "expand", "variant": "declaration", "kind": 1024, @@ -16805,6 +17834,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -16813,12 +17848,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 574, + "id": 592, "name": "fields", "variant": "declaration", "kind": 1024, @@ -16829,7 +17864,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -16839,7 +17890,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -16848,29 +17899,29 @@ { "title": "Constructors", "children": [ - 570 + 588 ] }, { "title": "Properties", "children": [ - 572, - 573, - 574 + 590, + 591, + 592 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 575, + "id": 593, "name": "AdminPostInventoryItemsInventoryItemReq", "variant": "declaration", "kind": 128, @@ -16885,14 +17936,14 @@ }, "children": [ { - "id": 576, + "id": 594, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 577, + "id": 595, "name": "new AdminPostInventoryItemsInventoryItemReq", "variant": "signature", "kind": 16384, @@ -16907,7 +17958,7 @@ }, "type": { "type": "reference", - "target": 575, + "target": 593, "name": "AdminPostInventoryItemsInventoryItemReq", "package": "@medusajs/medusa" } @@ -16915,7 +17966,7 @@ ] }, { - "id": 578, + "id": 596, "name": "sku", "variant": "declaration", "kind": 1024, @@ -16928,7 +17979,7 @@ } }, { - "id": 579, + "id": 597, "name": "origin_country", "variant": "declaration", "kind": 1024, @@ -16949,7 +18000,7 @@ } }, { - "id": 580, + "id": 598, "name": "hs_code", "variant": "declaration", "kind": 1024, @@ -16970,7 +18021,7 @@ } }, { - "id": 581, + "id": 599, "name": "mid_code", "variant": "declaration", "kind": 1024, @@ -16991,7 +18042,7 @@ } }, { - "id": 582, + "id": 600, "name": "material", "variant": "declaration", "kind": 1024, @@ -17012,7 +18063,7 @@ } }, { - "id": 583, + "id": 601, "name": "weight", "variant": "declaration", "kind": 1024, @@ -17033,7 +18084,7 @@ } }, { - "id": 584, + "id": 602, "name": "height", "variant": "declaration", "kind": 1024, @@ -17054,7 +18105,7 @@ } }, { - "id": 585, + "id": 603, "name": "length", "variant": "declaration", "kind": 1024, @@ -17075,7 +18126,7 @@ } }, { - "id": 586, + "id": 604, "name": "width", "variant": "declaration", "kind": 1024, @@ -17096,7 +18147,7 @@ } }, { - "id": 587, + "id": 605, "name": "title", "variant": "declaration", "kind": 1024, @@ -17117,7 +18168,7 @@ } }, { - "id": 588, + "id": 606, "name": "description", "variant": "declaration", "kind": 1024, @@ -17138,7 +18189,7 @@ } }, { - "id": 589, + "id": 607, "name": "thumbnail", "variant": "declaration", "kind": 1024, @@ -17159,7 +18210,7 @@ } }, { - "id": 590, + "id": 608, "name": "requires_shipping", "variant": "declaration", "kind": 1024, @@ -17184,31 +18235,31 @@ { "title": "Constructors", "children": [ - 576 + 594 ] }, { "title": "Properties", "children": [ - 578, - 579, - 580, - 581, - 582, - 583, - 584, - 585, - 586, - 587, - 588, - 589, - 590 + 596, + 597, + 598, + 599, + 600, + 601, + 602, + 603, + 604, + 605, + 606, + 607, + 608 ] } ] }, { - "id": 591, + "id": 609, "name": "AdminPostInventoryItemsInventoryItemParams", "variant": "declaration", "kind": 128, @@ -17223,39 +18274,39 @@ }, "children": [ { - "id": 592, + "id": 610, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 593, + "id": 611, "name": "new AdminPostInventoryItemsInventoryItemParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 591, + "target": 609, "name": "AdminPostInventoryItemsInventoryItemParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 594, + "id": 612, "name": "expand", "variant": "declaration", "kind": 1024, @@ -17268,6 +18319,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -17276,12 +18333,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 595, + "id": 613, "name": "fields", "variant": "declaration", "kind": 1024, @@ -17292,7 +18349,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -17302,7 +18375,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -17311,49 +18384,49 @@ { "title": "Constructors", "children": [ - 592 + 610 ] }, { "title": "Properties", "children": [ - 594, - 595 + 612, + 613 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 596, + "id": 614, "name": "AdminPostInventoryItemsItemLocationLevelsLevelReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 597, + "id": 615, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 598, + "id": 616, "name": "new AdminPostInventoryItemsItemLocationLevelsLevelReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 596, + "target": 614, "name": "AdminPostInventoryItemsItemLocationLevelsLevelReq", "package": "@medusajs/medusa" } @@ -17361,7 +18434,7 @@ ] }, { - "id": 599, + "id": 617, "name": "incoming_quantity", "variant": "declaration", "kind": 1024, @@ -17372,7 +18445,7 @@ "summary": [ { "kind": "text", - "text": "the incoming stock quantity of an inventory item at the given location ID" + "text": "the incoming stock quantity of an inventory item at the specified inventory level" } ] }, @@ -17382,7 +18455,7 @@ } }, { - "id": 600, + "id": 618, "name": "stocked_quantity", "variant": "declaration", "kind": 1024, @@ -17393,7 +18466,7 @@ "summary": [ { "kind": "text", - "text": "the total stock quantity of an inventory item at the given location ID" + "text": "the total stock quantity of an inventory item at the specified inventory level" } ] }, @@ -17407,20 +18480,20 @@ { "title": "Constructors", "children": [ - 597 + 615 ] }, { "title": "Properties", "children": [ - 599, - 600 + 617, + 618 ] } ] }, { - "id": 601, + "id": 619, "name": "AdminPostInventoryItemsItemLocationLevelsLevelParams", "variant": "declaration", "kind": 128, @@ -17435,39 +18508,39 @@ }, "children": [ { - "id": 602, + "id": 620, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 603, + "id": 621, "name": "new AdminPostInventoryItemsItemLocationLevelsLevelParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 601, + "target": 619, "name": "AdminPostInventoryItemsItemLocationLevelsLevelParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 604, + "id": 622, "name": "expand", "variant": "declaration", "kind": 1024, @@ -17480,6 +18553,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -17488,12 +18567,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 605, + "id": 623, "name": "fields", "variant": "declaration", "kind": 1024, @@ -17504,7 +18583,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -17514,7 +18609,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -17523,28 +18618,28 @@ { "title": "Constructors", "children": [ - 602 + 620 ] }, { "title": "Properties", "children": [ - 604, - 605 + 622, + 623 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 613, + "id": 631, "name": "AdminPostInvitesInviteAcceptUserReq", "variant": "declaration", "kind": 128, @@ -17559,21 +18654,21 @@ }, "children": [ { - "id": 614, + "id": 632, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 615, + "id": 633, "name": "new AdminPostInvitesInviteAcceptUserReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 613, + "target": 631, "name": "AdminPostInvitesInviteAcceptUserReq", "package": "@medusajs/medusa" } @@ -17581,7 +18676,7 @@ ] }, { - "id": 616, + "id": 634, "name": "first_name", "variant": "declaration", "kind": 1024, @@ -17600,7 +18695,7 @@ } }, { - "id": 617, + "id": 635, "name": "last_name", "variant": "declaration", "kind": 1024, @@ -17619,7 +18714,7 @@ } }, { - "id": 618, + "id": 636, "name": "password", "variant": "declaration", "kind": 1024, @@ -17642,21 +18737,21 @@ { "title": "Constructors", "children": [ - 614 + 632 ] }, { "title": "Properties", "children": [ - 616, - 617, - 618 + 634, + 635, + 636 ] } ] }, { - "id": 619, + "id": 637, "name": "AdminPostInvitesInviteAcceptReq", "variant": "declaration", "kind": 128, @@ -17671,14 +18766,14 @@ }, "children": [ { - "id": 620, + "id": 638, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 621, + "id": 639, "name": "new AdminPostInvitesInviteAcceptReq", "variant": "signature", "kind": 16384, @@ -17693,7 +18788,7 @@ }, "type": { "type": "reference", - "target": 619, + "target": 637, "name": "AdminPostInvitesInviteAcceptReq", "package": "@medusajs/medusa" } @@ -17701,7 +18796,7 @@ ] }, { - "id": 622, + "id": 640, "name": "token", "variant": "declaration", "kind": 1024, @@ -17720,7 +18815,7 @@ } }, { - "id": 623, + "id": 641, "name": "user", "variant": "declaration", "kind": 1024, @@ -17735,7 +18830,7 @@ }, "type": { "type": "reference", - "target": 613, + "target": 631, "name": "AdminPostInvitesInviteAcceptUserReq", "package": "@medusajs/medusa" } @@ -17745,41 +18840,41 @@ { "title": "Constructors", "children": [ - 620 + 638 ] }, { "title": "Properties", "children": [ - 622, - 623 + 640, + 641 ] } ] }, { - "id": 624, + "id": 642, "name": "AdminPostInvitesReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 625, + "id": 643, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 626, + "id": 644, "name": "new AdminPostInvitesReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 624, + "target": 642, "name": "AdminPostInvitesReq", "package": "@medusajs/medusa" } @@ -17787,7 +18882,7 @@ ] }, { - "id": 627, + "id": 645, "name": "user", "variant": "declaration", "kind": 1024, @@ -17806,7 +18901,7 @@ } }, { - "id": 628, + "id": 646, "name": "role", "variant": "declaration", "kind": 1024, @@ -17834,34 +18929,34 @@ { "title": "Constructors", "children": [ - 625 + 643 ] }, { "title": "Properties", "children": [ - 627, - 628 + 645, + 646 ] } ] }, { - "id": 606, + "id": 624, "name": "unauthenticatedInviteRoutes", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 607, + "id": 625, "name": "unauthenticatedInviteRoutes", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 608, + "id": 626, "name": "app", "variant": "param", "kind": 32768, @@ -17880,7 +18975,7 @@ ] }, { - "id": 609, + "id": 627, "name": "AdminInviteDeleteRes", "variant": "declaration", "kind": 2097152, @@ -17893,13 +18988,13 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 610, + "id": 628, "name": "AdminListInvitesRes", "variant": "declaration", "kind": 2097152, @@ -17918,14 +19013,14 @@ "type": { "type": "reflection", "declaration": { - "id": 611, + "id": 629, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 612, + "id": 630, "name": "invites", "variant": "declaration", "kind": 1024, @@ -17956,7 +19051,7 @@ { "title": "Properties", "children": [ - 612 + 630 ] } ] @@ -17964,7 +19059,7 @@ } }, { - "id": 636, + "id": 654, "name": "AdminPostNotesReq", "variant": "declaration", "kind": 128, @@ -17979,14 +19074,14 @@ }, "children": [ { - "id": 637, + "id": 655, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 638, + "id": 656, "name": "new AdminPostNotesReq", "variant": "signature", "kind": 16384, @@ -18001,7 +19096,7 @@ }, "type": { "type": "reference", - "target": 636, + "target": 654, "name": "AdminPostNotesReq", "package": "@medusajs/medusa" } @@ -18009,7 +19104,7 @@ ] }, { - "id": 639, + "id": 657, "name": "resource_id", "variant": "declaration", "kind": 1024, @@ -18028,7 +19123,7 @@ } }, { - "id": 640, + "id": 658, "name": "resource_type", "variant": "declaration", "kind": 1024, @@ -18047,7 +19142,7 @@ } }, { - "id": 641, + "id": 659, "name": "value", "variant": "declaration", "kind": 1024, @@ -18070,21 +19165,21 @@ { "title": "Constructors", "children": [ - 637 + 655 ] }, { "title": "Properties", "children": [ - 639, - 640, - 641 + 657, + 658, + 659 ] } ] }, { - "id": 629, + "id": 647, "name": "AdminNotesRes", "variant": "declaration", "kind": 2097152, @@ -18103,14 +19198,14 @@ "type": { "type": "reflection", "declaration": { - "id": 630, + "id": 648, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 631, + "id": 649, "name": "note", "variant": "declaration", "kind": 1024, @@ -18138,7 +19233,7 @@ { "title": "Properties", "children": [ - 631 + 649 ] } ] @@ -18146,7 +19241,7 @@ } }, { - "id": 632, + "id": 650, "name": "AdminNotesDeleteRes", "variant": "declaration", "kind": 2097152, @@ -18159,13 +19254,13 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 633, + "id": 651, "name": "AdminNotesListRes", "variant": "declaration", "kind": 2097152, @@ -18186,21 +19281,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 634, + "id": 652, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 635, + "id": 653, "name": "notes", "variant": "declaration", "kind": 1024, @@ -18231,7 +19326,7 @@ { "title": "Properties", "children": [ - 635 + 653 ] } ] @@ -18241,7 +19336,7 @@ } }, { - "id": 642, + "id": 660, "name": "AdminGetNotesParams", "variant": "declaration", "kind": 128, @@ -18256,21 +19351,21 @@ }, "children": [ { - "id": 643, + "id": 661, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 644, + "id": 662, "name": "new AdminGetNotesParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 642, + "target": 660, "name": "AdminGetNotesParams", "package": "@medusajs/medusa" } @@ -18278,7 +19373,7 @@ ] }, { - "id": 645, + "id": 663, "name": "resource_id", "variant": "declaration", "kind": 1024, @@ -18299,7 +19394,7 @@ } }, { - "id": 646, + "id": 664, "name": "limit", "variant": "declaration", "kind": 1024, @@ -18330,7 +19425,7 @@ "defaultValue": "50" }, { - "id": 647, + "id": 665, "name": "offset", "variant": "declaration", "kind": 1024, @@ -18365,21 +19460,21 @@ { "title": "Constructors", "children": [ - 643 + 661 ] }, { "title": "Properties", "children": [ - 645, - 646, - 647 + 663, + 664, + 665 ] } ] }, { - "id": 648, + "id": 666, "name": "AdminPostNotesNoteReq", "variant": "declaration", "kind": 128, @@ -18394,14 +19489,14 @@ }, "children": [ { - "id": 649, + "id": 667, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 650, + "id": 668, "name": "new AdminPostNotesNoteReq", "variant": "signature", "kind": 16384, @@ -18416,7 +19511,7 @@ }, "type": { "type": "reference", - "target": 648, + "target": 666, "name": "AdminPostNotesNoteReq", "package": "@medusajs/medusa" } @@ -18424,7 +19519,7 @@ ] }, { - "id": 651, + "id": 669, "name": "value", "variant": "declaration", "kind": 1024, @@ -18447,19 +19542,19 @@ { "title": "Constructors", "children": [ - 649 + 667 ] }, { "title": "Properties", "children": [ - 651 + 669 ] } ] }, { - "id": 652, + "id": 670, "name": "defaultAdminNotificationsRelations", "variant": "declaration", "kind": 32, @@ -18476,7 +19571,7 @@ "defaultValue": "..." }, { - "id": 653, + "id": 671, "name": "defaultAdminNotificationsFields", "variant": "declaration", "kind": 32, @@ -18493,7 +19588,7 @@ "defaultValue": "..." }, { - "id": 654, + "id": 672, "name": "AdminNotificationsListRes", "variant": "declaration", "kind": 2097152, @@ -18509,21 +19604,21 @@ "types": [ { "type": "reference", - "target": 4478, + "target": 4585, "name": "PaginatedResponse", "package": "@medusajs/types" }, { "type": "reflection", "declaration": { - "id": 655, + "id": 673, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 656, + "id": 674, "name": "notifications", "variant": "declaration", "kind": 1024, @@ -18554,7 +19649,7 @@ { "title": "Properties", "children": [ - 656 + 674 ] } ] @@ -18564,7 +19659,7 @@ } }, { - "id": 657, + "id": 675, "name": "AdminNotificationsRes", "variant": "declaration", "kind": 2097152, @@ -18583,14 +19678,14 @@ "type": { "type": "reflection", "declaration": { - "id": 658, + "id": 676, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 659, + "id": 677, "name": "notification", "variant": "declaration", "kind": 1024, @@ -18618,7 +19713,7 @@ { "title": "Properties", "children": [ - 659 + 677 ] } ] @@ -18626,7 +19721,7 @@ } }, { - "id": 660, + "id": 678, "name": "AdminGetNotificationsParams", "variant": "declaration", "kind": 128, @@ -18641,21 +19736,21 @@ }, "children": [ { - "id": 661, + "id": 679, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 662, + "id": 680, "name": "new AdminGetNotificationsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 660, + "target": 678, "name": "AdminGetNotificationsParams", "package": "@medusajs/medusa" } @@ -18663,7 +19758,7 @@ ] }, { - "id": 663, + "id": 681, "name": "limit", "variant": "declaration", "kind": 1024, @@ -18696,7 +19791,7 @@ "defaultValue": "50" }, { - "id": 664, + "id": 682, "name": "offset", "variant": "declaration", "kind": 1024, @@ -18729,7 +19824,7 @@ "defaultValue": "0" }, { - "id": 665, + "id": 683, "name": "fields", "variant": "declaration", "kind": 1024, @@ -18740,7 +19835,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -18750,7 +19861,7 @@ } }, { - "id": 666, + "id": 684, "name": "expand", "variant": "declaration", "kind": 1024, @@ -18771,7 +19882,7 @@ } }, { - "id": 667, + "id": 685, "name": "event_name", "variant": "declaration", "kind": 1024, @@ -18792,7 +19903,7 @@ } }, { - "id": 668, + "id": 686, "name": "resource_type", "variant": "declaration", "kind": 1024, @@ -18813,7 +19924,7 @@ } }, { - "id": 669, + "id": 687, "name": "resource_id", "variant": "declaration", "kind": 1024, @@ -18834,7 +19945,7 @@ } }, { - "id": 670, + "id": 688, "name": "to", "variant": "declaration", "kind": 1024, @@ -18863,7 +19974,7 @@ } }, { - "id": 671, + "id": 689, "name": "include_resends", "variant": "declaration", "kind": 1024, @@ -18888,27 +19999,27 @@ { "title": "Constructors", "children": [ - 661 + 679 ] }, { "title": "Properties", "children": [ - 663, - 664, - 665, - 666, - 667, - 668, - 669, - 670, - 671 + 681, + 682, + 683, + 684, + 685, + 686, + 687, + 688, + 689 ] } ] }, { - "id": 672, + "id": 690, "name": "AdminPostNotificationsNotificationResendReq", "variant": "declaration", "kind": 128, @@ -18923,14 +20034,14 @@ }, "children": [ { - "id": 673, + "id": 691, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 674, + "id": 692, "name": "new AdminPostNotificationsNotificationResendReq", "variant": "signature", "kind": 16384, @@ -18945,7 +20056,7 @@ }, "type": { "type": "reference", - "target": 672, + "target": 690, "name": "AdminPostNotificationsNotificationResendReq", "package": "@medusajs/medusa" } @@ -18953,7 +20064,7 @@ ] }, { - "id": 675, + "id": 693, "name": "to", "variant": "declaration", "kind": 1024, @@ -18978,19 +20089,19 @@ { "title": "Constructors", "children": [ - 673 + 691 ] }, { "title": "Properties", "children": [ - 675 + 693 ] } ] }, { - "id": 688, + "id": 706, "name": "AdminPostOrderEditsEditLineItemsReq", "variant": "declaration", "kind": 128, @@ -19005,14 +20116,14 @@ }, "children": [ { - "id": 689, + "id": 707, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 690, + "id": 708, "name": "new AdminPostOrderEditsEditLineItemsReq", "variant": "signature", "kind": 16384, @@ -19027,7 +20138,7 @@ }, "type": { "type": "reference", - "target": 688, + "target": 706, "name": "AdminPostOrderEditsEditLineItemsReq", "package": "@medusajs/medusa" } @@ -19035,7 +20146,7 @@ ] }, { - "id": 691, + "id": 709, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -19054,7 +20165,7 @@ } }, { - "id": 692, + "id": 710, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -19073,7 +20184,7 @@ } }, { - "id": 693, + "id": 711, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -19113,21 +20224,21 @@ { "title": "Constructors", "children": [ - 689 + 707 ] }, { "title": "Properties", "children": [ - 691, - 692, - 693 + 709, + 710, + 711 ] } ] }, { - "id": 694, + "id": 712, "name": "AdminPostOrderEditsReq", "variant": "declaration", "kind": 128, @@ -19142,14 +20253,14 @@ }, "children": [ { - "id": 695, + "id": 713, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 696, + "id": 714, "name": "new AdminPostOrderEditsReq", "variant": "signature", "kind": 16384, @@ -19164,7 +20275,7 @@ }, "type": { "type": "reference", - "target": 694, + "target": 712, "name": "AdminPostOrderEditsReq", "package": "@medusajs/medusa" } @@ -19172,7 +20283,7 @@ ] }, { - "id": 697, + "id": 715, "name": "order_id", "variant": "declaration", "kind": 1024, @@ -19191,7 +20302,7 @@ } }, { - "id": 698, + "id": 716, "name": "internal_note", "variant": "declaration", "kind": 1024, @@ -19212,7 +20323,7 @@ } }, { - "id": 699, + "id": 717, "name": "created_by", "variant": "declaration", "kind": 1024, @@ -19229,21 +20340,21 @@ { "title": "Constructors", "children": [ - 695 + 713 ] }, { "title": "Properties", "children": [ - 697, - 698, - 699 + 715, + 716, + 717 ] } ] }, { - "id": 700, + "id": 718, "name": "GetOrderEditsOrderEditParams", "variant": "declaration", "kind": 128, @@ -19258,39 +20369,39 @@ }, "children": [ { - "id": 701, + "id": 719, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 702, + "id": 720, "name": "new GetOrderEditsOrderEditParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 700, + "target": 718, "name": "GetOrderEditsOrderEditParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 703, + "id": 721, "name": "expand", "variant": "declaration", "kind": 1024, @@ -19303,6 +20414,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -19311,12 +20428,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 704, + "id": 722, "name": "fields", "variant": "declaration", "kind": 1024, @@ -19327,7 +20444,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -19337,7 +20470,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -19346,28 +20479,28 @@ { "title": "Constructors", "children": [ - 701 + 719 ] }, { "title": "Properties", "children": [ - 703, - 704 + 721, + 722 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 676, + "id": 694, "name": "AdminOrderEditsRes", "variant": "declaration", "kind": 2097152, @@ -19386,14 +20519,14 @@ "type": { "type": "reflection", "declaration": { - "id": 677, + "id": 695, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 678, + "id": 696, "name": "order_edit", "variant": "declaration", "kind": 1024, @@ -19421,7 +20554,7 @@ { "title": "Properties", "children": [ - 678 + 696 ] } ] @@ -19429,7 +20562,7 @@ } }, { - "id": 679, + "id": 697, "name": "AdminOrderEditsListRes", "variant": "declaration", "kind": 2097152, @@ -19450,21 +20583,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 680, + "id": 698, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 681, + "id": 699, "name": "order_edits", "variant": "declaration", "kind": 1024, @@ -19495,7 +20628,7 @@ { "title": "Properties", "children": [ - 681 + 699 ] } ] @@ -19505,7 +20638,7 @@ } }, { - "id": 682, + "id": 700, "name": "AdminOrderEditDeleteRes", "variant": "declaration", "kind": 2097152, @@ -19518,13 +20651,13 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 683, + "id": 701, "name": "AdminOrderEditItemChangeDeleteRes", "variant": "declaration", "kind": 2097152, @@ -19543,14 +20676,14 @@ "type": { "type": "reflection", "declaration": { - "id": 684, + "id": 702, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 685, + "id": 703, "name": "id", "variant": "declaration", "kind": 1024, @@ -19569,7 +20702,7 @@ } }, { - "id": 686, + "id": 704, "name": "object", "variant": "declaration", "kind": 1024, @@ -19589,7 +20722,7 @@ "defaultValue": "item_change" }, { - "id": 687, + "id": 705, "name": "deleted", "variant": "declaration", "kind": 1024, @@ -19613,9 +20746,9 @@ { "title": "Properties", "children": [ - 685, - 686, - 687 + 703, + 704, + 705 ] } ] @@ -19623,7 +20756,7 @@ } }, { - "id": 705, + "id": 723, "name": "GetOrderEditsParams", "variant": "declaration", "kind": 128, @@ -19638,7 +20771,7 @@ }, "children": [ { - "id": 709, + "id": 727, "name": "q", "variant": "declaration", "kind": 1024, @@ -19659,7 +20792,7 @@ } }, { - "id": 710, + "id": 728, "name": "order_id", "variant": "declaration", "kind": 1024, @@ -19680,7 +20813,7 @@ } }, { - "id": 711, + "id": 729, "name": "expand", "variant": "declaration", "kind": 1024, @@ -19693,6 +20826,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -19706,7 +20845,7 @@ } }, { - "id": 712, + "id": 730, "name": "fields", "variant": "declaration", "kind": 1024, @@ -19717,7 +20856,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -19732,7 +20887,7 @@ } }, { - "id": 713, + "id": 731, "name": "offset", "variant": "declaration", "kind": 1024, @@ -19770,7 +20925,7 @@ } }, { - "id": 714, + "id": 732, "name": "limit", "variant": "declaration", "kind": 1024, @@ -19808,21 +20963,55 @@ } }, { - "id": 706, + "id": 733, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 20,\n offset: 0,\n}).order" + } + }, + { + "id": 724, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 707, + "id": 725, "name": "new GetOrderEditsParams", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 708, + "id": 726, "name": "args", "variant": "param", "kind": 32768, @@ -19840,7 +21029,7 @@ ], "type": { "type": "reference", - "target": 705, + "target": 723, "name": "GetOrderEditsParams", "package": "@medusajs/medusa" }, @@ -19862,18 +21051,19 @@ { "title": "Constructors", "children": [ - 706 + 724 ] }, { "title": "Properties", "children": [ - 709, - 710, - 711, - 712, - 713, - 714 + 727, + 728, + 729, + 730, + 731, + 732, + 733 ] } ], @@ -19883,7 +21073,7 @@ "types": [ { "type": "reference", - "target": 4016, + "target": 4072, "typeArguments": [ { "type": "intrinsic", @@ -19895,7 +21085,7 @@ }, { "type": "reference", - "target": 4021, + "target": 4077, "typeArguments": [ { "type": "intrinsic", @@ -19910,28 +21100,28 @@ ] }, { - "id": 715, + "id": 734, "name": "AdminPostOrderEditsRequestConfirmationReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 716, + "id": 735, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 717, + "id": 736, "name": "new AdminPostOrderEditsRequestConfirmationReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 715, + "target": 734, "name": "AdminPostOrderEditsRequestConfirmationReq", "package": "@medusajs/medusa" } @@ -19939,7 +21129,7 @@ ] }, { - "id": 718, + "id": 737, "name": "payment_collection_description", "variant": "declaration", "kind": 1024, @@ -19956,19 +21146,19 @@ { "title": "Constructors", "children": [ - 716 + 735 ] }, { "title": "Properties", "children": [ - 718 + 737 ] } ] }, { - "id": 723, + "id": 742, "name": "AdminPostOrderEditsEditLineItemsLineItemReq", "variant": "declaration", "kind": 128, @@ -19983,14 +21173,14 @@ }, "children": [ { - "id": 724, + "id": 743, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 725, + "id": 744, "name": "new AdminPostOrderEditsEditLineItemsLineItemReq", "variant": "signature", "kind": 16384, @@ -20005,7 +21195,7 @@ }, "type": { "type": "reference", - "target": 723, + "target": 742, "name": "AdminPostOrderEditsEditLineItemsLineItemReq", "package": "@medusajs/medusa" } @@ -20013,7 +21203,7 @@ ] }, { - "id": 726, + "id": 745, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -20036,19 +21226,19 @@ { "title": "Constructors", "children": [ - 724 + 743 ] }, { "title": "Properties", "children": [ - 726 + 745 ] } ] }, { - "id": 719, + "id": 738, "name": "AdminPostOrderEditsOrderEditReq", "variant": "declaration", "kind": 128, @@ -20063,14 +21253,14 @@ }, "children": [ { - "id": 720, + "id": 739, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 721, + "id": 740, "name": "new AdminPostOrderEditsOrderEditReq", "variant": "signature", "kind": 16384, @@ -20085,7 +21275,7 @@ }, "type": { "type": "reference", - "target": 719, + "target": 738, "name": "AdminPostOrderEditsOrderEditReq", "package": "@medusajs/medusa" } @@ -20093,7 +21283,7 @@ ] }, { - "id": 722, + "id": 741, "name": "internal_note", "variant": "declaration", "kind": 1024, @@ -20118,19 +21308,19 @@ { "title": "Constructors", "children": [ - 720 + 739 ] }, { "title": "Properties", "children": [ - 722 + 741 ] } ] }, { - "id": 738, + "id": 757, "name": "AdminPostOrdersOrderShippingMethodsReq", "variant": "declaration", "kind": 128, @@ -20145,14 +21335,14 @@ }, "children": [ { - "id": 739, + "id": 758, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 740, + "id": 759, "name": "new AdminPostOrdersOrderShippingMethodsReq", "variant": "signature", "kind": 16384, @@ -20167,7 +21357,7 @@ }, "type": { "type": "reference", - "target": 738, + "target": 757, "name": "AdminPostOrdersOrderShippingMethodsReq", "package": "@medusajs/medusa" } @@ -20175,7 +21365,7 @@ ] }, { - "id": 741, + "id": 760, "name": "price", "variant": "declaration", "kind": 1024, @@ -20194,7 +21384,7 @@ } }, { - "id": 742, + "id": 761, "name": "option_id", "variant": "declaration", "kind": 1024, @@ -20213,7 +21403,7 @@ } }, { - "id": 743, + "id": 762, "name": "data", "variant": "declaration", "kind": 1024, @@ -20254,21 +21444,21 @@ { "title": "Constructors", "children": [ - 739 + 758 ] }, { "title": "Properties", "children": [ - 741, - 742, - 743 + 760, + 761, + 762 ] } ] }, { - "id": 744, + "id": 763, "name": "AdminPostOrdersOrderShippingMethodsParams", "variant": "declaration", "kind": 128, @@ -20283,39 +21473,39 @@ }, "children": [ { - "id": 745, + "id": 764, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 746, + "id": 765, "name": "new AdminPostOrdersOrderShippingMethodsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 744, + "target": 763, "name": "AdminPostOrdersOrderShippingMethodsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 747, + "id": 766, "name": "expand", "variant": "declaration", "kind": 1024, @@ -20328,6 +21518,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -20336,12 +21532,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 748, + "id": 767, "name": "fields", "variant": "declaration", "kind": 1024, @@ -20352,7 +21548,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -20362,7 +21574,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -20371,28 +21583,28 @@ { "title": "Constructors", "children": [ - 745 + 764 ] }, { "title": "Properties", "children": [ - 747, - 748 + 766, + 767 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 749, + "id": 768, "name": "AdminPostOrdersOrderArchiveParams", "variant": "declaration", "kind": 128, @@ -20407,39 +21619,39 @@ }, "children": [ { - "id": 750, + "id": 769, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 751, + "id": 770, "name": "new AdminPostOrdersOrderArchiveParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 749, + "target": 768, "name": "AdminPostOrdersOrderArchiveParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 752, + "id": 771, "name": "expand", "variant": "declaration", "kind": 1024, @@ -20452,6 +21664,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -20460,12 +21678,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 753, + "id": 772, "name": "fields", "variant": "declaration", "kind": 1024, @@ -20476,7 +21694,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -20486,7 +21720,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -20495,28 +21729,28 @@ { "title": "Constructors", "children": [ - 750 + 769 ] }, { "title": "Properties", "children": [ - 752, - 753 + 771, + 772 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 754, + "id": 773, "name": "AdminPostOrdersClaimCancel", "variant": "declaration", "kind": 128, @@ -20531,39 +21765,39 @@ }, "children": [ { - "id": 755, + "id": 774, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 756, + "id": 775, "name": "new AdminPostOrdersClaimCancel", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 754, + "target": 773, "name": "AdminPostOrdersClaimCancel", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 757, + "id": 776, "name": "expand", "variant": "declaration", "kind": 1024, @@ -20576,6 +21810,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -20584,12 +21824,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 758, + "id": 777, "name": "fields", "variant": "declaration", "kind": 1024, @@ -20600,7 +21840,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -20610,7 +21866,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -20619,28 +21875,28 @@ { "title": "Constructors", "children": [ - 755 + 774 ] }, { "title": "Properties", "children": [ - 757, - 758 + 776, + 777 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 770, + "id": 789, "name": "AdminPostOrdersClaimFulfillmentsCancelParams", "variant": "declaration", "kind": 128, @@ -20655,39 +21911,39 @@ }, "children": [ { - "id": 771, + "id": 790, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 772, + "id": 791, "name": "new AdminPostOrdersClaimFulfillmentsCancelParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 770, + "target": 789, "name": "AdminPostOrdersClaimFulfillmentsCancelParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 773, + "id": 792, "name": "expand", "variant": "declaration", "kind": 1024, @@ -20700,6 +21956,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -20708,12 +21970,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 774, + "id": 793, "name": "fields", "variant": "declaration", "kind": 1024, @@ -20724,7 +21986,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -20734,7 +22012,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -20743,28 +22021,28 @@ { "title": "Constructors", "children": [ - 771 + 790 ] }, { "title": "Properties", "children": [ - 773, - 774 + 792, + 793 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 775, + "id": 794, "name": "AdminPostOrdersOrderSwapFulfillementsCancelParams", "variant": "declaration", "kind": 128, @@ -20779,39 +22057,39 @@ }, "children": [ { - "id": 776, + "id": 795, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 777, + "id": 796, "name": "new AdminPostOrdersOrderSwapFulfillementsCancelParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 775, + "target": 794, "name": "AdminPostOrdersOrderSwapFulfillementsCancelParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 778, + "id": 797, "name": "expand", "variant": "declaration", "kind": 1024, @@ -20824,6 +22102,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -20832,12 +22116,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 779, + "id": 798, "name": "fields", "variant": "declaration", "kind": 1024, @@ -20848,7 +22132,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -20858,7 +22158,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -20867,42 +22167,42 @@ { "title": "Constructors", "children": [ - 776 + 795 ] }, { "title": "Properties", "children": [ - 778, - 779 + 797, + 798 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 759, + "id": 778, "name": "adjustInventoryForCancelledFulfillment", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 760, + "id": 779, "name": "adjustInventoryForCancelledFulfillment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 761, + "id": 780, "name": "fulfillment", "variant": "param", "kind": 32768, @@ -20926,7 +22226,7 @@ } }, { - "id": 762, + "id": 781, "name": "context", "variant": "param", "kind": 32768, @@ -20934,14 +22234,14 @@ "type": { "type": "reflection", "declaration": { - "id": 763, + "id": 782, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 764, + "id": 783, "name": "productVariantInventoryService", "variant": "declaration", "kind": 1024, @@ -20961,7 +22261,7 @@ { "title": "Properties", "children": [ - 764 + 783 ] } ] @@ -20988,7 +22288,7 @@ ] }, { - "id": 765, + "id": 784, "name": "AdminPostOrdersOrderFulfillementsCancelParams", "variant": "declaration", "kind": 128, @@ -21003,39 +22303,39 @@ }, "children": [ { - "id": 766, + "id": 785, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 767, + "id": 786, "name": "new AdminPostOrdersOrderFulfillementsCancelParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 765, + "target": 784, "name": "AdminPostOrdersOrderFulfillementsCancelParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 768, + "id": 787, "name": "expand", "variant": "declaration", "kind": 1024, @@ -21048,6 +22348,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -21056,12 +22362,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 769, + "id": 788, "name": "fields", "variant": "declaration", "kind": 1024, @@ -21072,7 +22378,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -21082,7 +22404,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -21091,28 +22413,28 @@ { "title": "Constructors", "children": [ - 766 + 785 ] }, { "title": "Properties", "children": [ - 768, - 769 + 787, + 788 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 780, + "id": 799, "name": "AdminPostOrdersOrderCancel", "variant": "declaration", "kind": 128, @@ -21127,39 +22449,39 @@ }, "children": [ { - "id": 781, + "id": 800, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 782, + "id": 801, "name": "new AdminPostOrdersOrderCancel", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 780, + "target": 799, "name": "AdminPostOrdersOrderCancel", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 783, + "id": 802, "name": "expand", "variant": "declaration", "kind": 1024, @@ -21172,6 +22494,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -21180,12 +22508,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 784, + "id": 803, "name": "fields", "variant": "declaration", "kind": 1024, @@ -21196,7 +22524,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -21206,7 +22550,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -21215,28 +22559,28 @@ { "title": "Constructors", "children": [ - 781 + 800 ] }, { "title": "Properties", "children": [ - 783, - 784 + 802, + 803 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 785, + "id": 804, "name": "AdminPostOrdersSwapCancelParams", "variant": "declaration", "kind": 128, @@ -21251,39 +22595,39 @@ }, "children": [ { - "id": 786, + "id": 805, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 787, + "id": 806, "name": "new AdminPostOrdersSwapCancelParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 785, + "target": 804, "name": "AdminPostOrdersSwapCancelParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 788, + "id": 807, "name": "expand", "variant": "declaration", "kind": 1024, @@ -21296,6 +22640,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -21304,12 +22654,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 789, + "id": 808, "name": "fields", "variant": "declaration", "kind": 1024, @@ -21320,7 +22670,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -21330,7 +22696,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -21339,28 +22705,28 @@ { "title": "Constructors", "children": [ - 786 + 805 ] }, { "title": "Properties", "children": [ - 788, - 789 + 807, + 808 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 790, + "id": 809, "name": "AdminPostOrdersOrderCaptureParams", "variant": "declaration", "kind": 128, @@ -21375,39 +22741,39 @@ }, "children": [ { - "id": 791, + "id": 810, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 792, + "id": 811, "name": "new AdminPostOrdersOrderCaptureParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 790, + "target": 809, "name": "AdminPostOrdersOrderCaptureParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 793, + "id": 812, "name": "expand", "variant": "declaration", "kind": 1024, @@ -21420,6 +22786,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -21428,12 +22800,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 794, + "id": 813, "name": "fields", "variant": "declaration", "kind": 1024, @@ -21444,7 +22816,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -21454,7 +22842,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -21463,28 +22851,28 @@ { "title": "Constructors", "children": [ - 791 + 810 ] }, { "title": "Properties", "children": [ - 793, - 794 + 812, + 813 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 795, + "id": 814, "name": "AdminPostOrdersOrderCompleteParams", "variant": "declaration", "kind": 128, @@ -21499,39 +22887,39 @@ }, "children": [ { - "id": 796, + "id": 815, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 797, + "id": 816, "name": "new AdminPostOrdersOrderCompleteParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 795, + "target": 814, "name": "AdminPostOrdersOrderCompleteParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 798, + "id": 817, "name": "expand", "variant": "declaration", "kind": 1024, @@ -21544,6 +22932,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -21552,12 +22946,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 799, + "id": 818, "name": "fields", "variant": "declaration", "kind": 1024, @@ -21568,7 +22962,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -21578,7 +22988,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -21587,49 +22997,49 @@ { "title": "Constructors", "children": [ - 796 + 815 ] }, { "title": "Properties", "children": [ - 798, - 799 + 817, + 818 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 818, + "id": 837, "name": "AdminPostOrdersOrderClaimsClaimShipmentsReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 819, + "id": 838, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 820, + "id": 839, "name": "new AdminPostOrdersOrderClaimsClaimShipmentsReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 818, + "target": 837, "name": "AdminPostOrdersOrderClaimsClaimShipmentsReq", "package": "@medusajs/medusa" } @@ -21637,7 +23047,7 @@ ] }, { - "id": 821, + "id": 840, "name": "fulfillment_id", "variant": "declaration", "kind": 1024, @@ -21656,7 +23066,7 @@ } }, { - "id": 822, + "id": 841, "name": "tracking_numbers", "variant": "declaration", "kind": 1024, @@ -21684,20 +23094,20 @@ { "title": "Constructors", "children": [ - 819 + 838 ] }, { "title": "Properties", "children": [ - 821, - 822 + 840, + 841 ] } ] }, { - "id": 823, + "id": 842, "name": "AdminPostOrdersOrderClaimsClaimShipmentsParams", "variant": "declaration", "kind": 128, @@ -21712,39 +23122,39 @@ }, "children": [ { - "id": 824, + "id": 843, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 825, + "id": 844, "name": "new AdminPostOrdersOrderClaimsClaimShipmentsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 823, + "target": 842, "name": "AdminPostOrdersOrderClaimsClaimShipmentsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 826, + "id": 845, "name": "expand", "variant": "declaration", "kind": 1024, @@ -21757,6 +23167,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -21765,12 +23181,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 827, + "id": 846, "name": "fields", "variant": "declaration", "kind": 1024, @@ -21781,7 +23197,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -21791,7 +23223,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -21800,29 +23232,29 @@ { "title": "Constructors", "children": [ - 824 + 843 ] }, { "title": "Properties", "children": [ - 826, - 827 + 845, + 846 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 800, - "name": "AdminPostOrdersOrderClaimsReq", + "id": 4599, + "name": "ReturnShipping", "variant": "declaration", "kind": 128, "flags": {}, @@ -21830,96 +23262,36 @@ "summary": [ { "kind": "text", - "text": "The details of the claim to be created." + "text": "The return's shipping method details." } ] }, "children": [ { - "id": 801, + "id": 4600, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 802, - "name": "new AdminPostOrdersOrderClaimsReq", + "id": 4601, + "name": "new ReturnShipping", "variant": "signature", "kind": 16384, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The details of the claim to be created." - } - ] - }, "type": { "type": "reference", - "target": 800, - "name": "AdminPostOrdersOrderClaimsReq", + "target": 4599, + "name": "ReturnShipping", "package": "@medusajs/medusa" } } ] }, { - "id": 803, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The type of the Claim. This will determine how the Claim is treated: `replace` Claims will result in a Fulfillment with new items being created, while a `refund` Claim will refund the amount paid for the claimed items." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "replace" - }, - { - "type": "literal", - "value": "refund" - } - ] - } - }, - { - "id": 804, - "name": "claim_items", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The Claim Items that the Claim will consist of." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 4483, - "name": "Item", - "package": "@medusajs/medusa" - } - } - }, - { - "id": 805, - "name": "return_shipping", + "id": 4602, + "name": "option_id", "variant": "declaration", "kind": 1024, "flags": { @@ -21929,20 +23301,18 @@ "summary": [ { "kind": "text", - "text": "Optional details for the Return Shipping Method, if the items are to be sent back. Providing this field will result in a return being created and associated with the claim." + "text": "The ID of the shipping option used for the return." } ] }, "type": { - "type": "reference", - "target": 4492, - "name": "ReturnShipping", - "package": "@medusajs/medusa" + "type": "intrinsic", + "name": "string" } }, { - "id": 806, - "name": "additional_items", + "id": 4603, + "name": "price", "variant": "declaration", "kind": 1024, "flags": { @@ -21952,70 +23322,80 @@ "summary": [ { "kind": "text", - "text": "The new items to send to the Customer. This is only used if the claim's type is `replace`." + "text": "The shipping method's price." } ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 4497, - "name": "AdditionalItem", - "package": "@medusajs/medusa" - } + "type": "intrinsic", + "name": "number" } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 4600 + ] }, { - "id": 807, - "name": "shipping_methods", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The Shipping Methods to send the additional Line Items with. This is only used if the claim's type is `replace`." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 4502, - "name": "ShippingMethod", - "package": "@medusajs/medusa" - } + "title": "Properties", + "children": [ + 4602, + 4603 + ] + } + ] + }, + { + "id": 4609, + "name": "ShippingMethod", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A Shipping Method represents a way in which an Order or Return can be shipped. Shipping Methods are created from a Shipping Option, but may contain additional details that can be necessary for the Fulfillment Provider to handle the shipment. If the shipping method is created for a return, it may be associated with a claim or a swap that the return is part of." } - }, + ] + }, + "children": [ { - "id": 808, - "name": "refund_amount", + "id": 4610, + "name": "constructor", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The amount to refund the customer. This is used when the claim's type is `refund`." + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 4611, + "name": "new ShippingMethod", + "variant": "signature", + "kind": 16384, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A Shipping Method represents a way in which an Order or Return can be shipped. Shipping Methods are created from a Shipping Option, but may contain additional details that can be necessary for the Fulfillment Provider to handle the shipment. If the shipping method is created for a return, it may be associated with a claim or a swap that the return is part of." + } + ] + }, + "type": { + "type": "reference", + "target": 4609, + "name": "ShippingMethod", + "package": "@medusajs/medusa" } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } + } + ] }, { - "id": 809, - "name": "shipping_address", + "id": 4612, + "name": "id", "variant": "declaration", "kind": 1024, "flags": { @@ -22025,20 +23405,18 @@ "summary": [ { "kind": "text", - "text": "An optional shipping address to send the claimed items to. If not provided, the parent order's shipping address will be used." + "text": "The ID of an existing Shipping Method" } ] }, "type": { - "type": "reference", - "target": 3988, - "name": "AddressPayload", - "package": "@medusajs/medusa" + "type": "intrinsic", + "name": "string" } }, { - "id": 810, - "name": "no_notification", + "id": 4613, + "name": "option_id", "variant": "declaration", "kind": 1024, "flags": { @@ -22048,18 +23426,18 @@ "summary": [ { "kind": "text", - "text": "If set to true no notification will be send related to this Claim." + "text": "The ID of the Shipping Option to create a Shipping Method from" } ] }, "type": { "type": "intrinsic", - "name": "boolean" + "name": "string" } }, { - "id": 811, - "name": "return_location_id", + "id": 4614, + "name": "price", "variant": "declaration", "kind": 1024, "flags": { @@ -22069,18 +23447,18 @@ "summary": [ { "kind": "text", - "text": "The ID of the location used for the associated return." + "text": "The price to charge for the Shipping Method" } ] }, "type": { "type": "intrinsic", - "name": "string" + "name": "number" } }, { - "id": 812, - "name": "metadata", + "id": 4615, + "name": "data", "variant": "declaration", "kind": 1024, "flags": { @@ -22119,76 +23497,60 @@ { "title": "Constructors", "children": [ - 801 + 4610 ] }, { "title": "Properties", "children": [ - 803, - 804, - 805, - 806, - 807, - 808, - 809, - 810, - 811, - 812 + 4612, + 4613, + 4614, + 4615 ] } ] }, { - "id": 4492, - "name": "ReturnShipping", + "id": 4590, + "name": "Item", "variant": "declaration", "kind": 128, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The return's shipping method details." - } - ] - }, "children": [ { - "id": 4493, + "id": 4591, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4494, - "name": "new ReturnShipping", + "id": 4592, + "name": "new Item", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4492, - "name": "ReturnShipping", + "target": 4590, + "name": "Item", "package": "@medusajs/medusa" } } ] }, { - "id": 4495, - "name": "option_id", + "id": 4593, + "name": "item_id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the shipping option used for the return." + "text": "The ID of the Line Item that will be claimed." } ] }, @@ -22198,18 +23560,16 @@ } }, { - "id": 4496, - "name": "price", + "id": 4594, + "name": "quantity", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The shipping method's price." + "text": "The number of items that will be returned" } ] }, @@ -22217,72 +23577,10 @@ "type": "intrinsic", "name": "number" } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [ - 4493 - ] }, { - "title": "Properties", - "children": [ - 4495, - 4496 - ] - } - ] - }, - { - "id": 4502, - "name": "ShippingMethod", - "variant": "declaration", - "kind": 128, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A Shipping Method represents a way in which an Order or Return can be shipped. Shipping Methods are created from a Shipping Option, but may contain additional details that can be necessary for the Fulfillment Provider to handle the shipment. If the shipping method is created for a return, it may be associated with a claim or a swap that the return is part of." - } - ] - }, - "children": [ - { - "id": 4503, - "name": "constructor", - "variant": "declaration", - "kind": 512, - "flags": {}, - "signatures": [ - { - "id": 4504, - "name": "new ShippingMethod", - "variant": "signature", - "kind": 16384, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A Shipping Method represents a way in which an Order or Return can be shipped. Shipping Methods are created from a Shipping Option, but may contain additional details that can be necessary for the Fulfillment Provider to handle the shipment. If the shipping method is created for a return, it may be associated with a claim or a swap that the return is part of." - } - ] - }, - "type": { - "type": "reference", - "target": 4502, - "name": "ShippingMethod", - "package": "@medusajs/medusa" - } - } - ] - }, - { - "id": 4505, - "name": "id", + "id": 4595, + "name": "note", "variant": "declaration", "kind": 1024, "flags": { @@ -22292,7 +23590,7 @@ "summary": [ { "kind": "text", - "text": "The ID of an existing Shipping Method" + "text": "Short text describing the Claim Item in further detail." } ] }, @@ -22302,8 +23600,8 @@ } }, { - "id": 4506, - "name": "option_id", + "id": 4596, + "name": "reason", "variant": "declaration", "kind": 1024, "flags": { @@ -22313,18 +23611,23 @@ "summary": [ { "kind": "text", - "text": "The ID of the Shipping Option to create a Shipping Method from" + "text": "The reason for the Claim" } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../../packages/medusa/src/models/claim-item.ts", + "qualifiedName": "ClaimReason" + }, + "name": "ClaimReason", + "package": "@medusajs/medusa" } }, { - "id": 4507, - "name": "price", + "id": 4597, + "name": "tags", "variant": "declaration", "kind": 1024, "flags": { @@ -22334,18 +23637,21 @@ "summary": [ { "kind": "text", - "text": "The price to charge for the Shipping Method" + "text": "A list of tags to add to the Claim Item" } ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } }, { - "id": 4508, - "name": "data", + "id": 4598, + "name": "images", "variant": "declaration", "kind": 1024, "flags": { @@ -22355,28 +23661,16 @@ "summary": [ { "kind": "text", - "text": "An optional set of key-value pairs to hold additional information." + "text": "A list of image URL's that will be associated with the Claim" } ] }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } } ], @@ -22384,52 +23678,54 @@ { "title": "Constructors", "children": [ - 4503 + 4591 ] }, { "title": "Properties", "children": [ - 4505, - 4506, - 4507, - 4508 + 4593, + 4594, + 4595, + 4596, + 4597, + 4598 ] } ] }, { - "id": 4483, - "name": "Item", + "id": 4604, + "name": "AdditionalItem", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4484, + "id": 4605, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4485, - "name": "new Item", + "id": 4606, + "name": "new AdditionalItem", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4483, - "name": "Item", + "target": 4604, + "name": "AdditionalItem", "package": "@medusajs/medusa" } } ] }, { - "id": 4486, - "name": "item_id", + "id": 4607, + "name": "variant_id", "variant": "declaration", "kind": 1024, "flags": {}, @@ -22437,7 +23733,7 @@ "summary": [ { "kind": "text", - "text": "The ID of the Line Item that will be claimed." + "text": "The ID of the Product Variant." } ] }, @@ -22447,7 +23743,7 @@ } }, { - "id": 4487, + "id": 4608, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -22456,7 +23752,7 @@ "summary": [ { "kind": "text", - "text": "The number of items that will be returned" + "text": "The quantity of the Product Variant." } ] }, @@ -22464,31 +23760,124 @@ "type": "intrinsic", "name": "number" } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 4605 + ] }, { - "id": 4488, - "name": "note", + "title": "Properties", + "children": [ + 4607, + 4608 + ] + } + ] + }, + { + "id": 819, + "name": "AdminPostOrdersOrderClaimsReq", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the claim to be created." + } + ] + }, + "children": [ + { + "id": 820, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 821, + "name": "new AdminPostOrdersOrderClaimsReq", + "variant": "signature", + "kind": 16384, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the claim to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 819, + "name": "AdminPostOrdersOrderClaimsReq", + "package": "@medusajs/medusa" + } + } + ] + }, + { + "id": 822, + "name": "type", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the Claim. This will determine how the Claim is treated: `replace` Claims will result in a Fulfillment with new items being created, while a `refund` Claim will refund the amount paid for the claimed items." + } + ] }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "replace" + }, + { + "type": "literal", + "value": "refund" + } + ] + } + }, + { + "id": 823, + "name": "claim_items", + "variant": "declaration", + "kind": 1024, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Short text describing the Claim Item in further detail." + "text": "The Claim Items that the Claim will consist of." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 4590, + "name": "Item", + "package": "@medusajs/medusa" + } } }, { - "id": 4489, - "name": "reason", + "id": 824, + "name": "return_shipping", "variant": "declaration", "kind": 1024, "flags": { @@ -22498,23 +23887,20 @@ "summary": [ { "kind": "text", - "text": "The reason for the Claim" + "text": "Optional details for the Return Shipping Method, if the items are to be sent back. Providing this field will result in a return being created and associated with the claim." } ] }, "type": { "type": "reference", - "target": { - "sourceFileName": "../../../packages/medusa/src/models/claim-item.ts", - "qualifiedName": "ClaimReason" - }, - "name": "ClaimReason", + "target": 4599, + "name": "ReturnShipping", "package": "@medusajs/medusa" } }, { - "id": 4490, - "name": "tags", + "id": 825, + "name": "additional_items", "variant": "declaration", "kind": 1024, "flags": { @@ -22524,21 +23910,23 @@ "summary": [ { "kind": "text", - "text": "A list of tags to add to the Claim Item" + "text": "The new items to send to the Customer. This is only used if the claim's type is `replace`." } ] }, "type": { "type": "array", "elementType": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 4604, + "name": "AdditionalItem", + "package": "@medusajs/medusa" } } }, { - "id": 4491, - "name": "images", + "id": 826, + "name": "shipping_methods", "variant": "declaration", "kind": 1024, "flags": { @@ -22548,79 +23936,98 @@ "summary": [ { "kind": "text", - "text": "A list of image URL's that will be associated with the Claim" + "text": "The Shipping Methods to send the additional Line Items with. This is only used if the claim's type is `replace`." } ] }, "type": { "type": "array", "elementType": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 4609, + "name": "ShippingMethod", + "package": "@medusajs/medusa" } } - } - ], - "groups": [ + }, { - "title": "Constructors", - "children": [ - 4484 - ] + "id": 827, + "name": "refund_amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount to refund the customer. This is used when the claim's type is `refund`." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } }, { - "title": "Properties", - "children": [ - 4486, - 4487, - 4488, - 4489, - 4490, - 4491 - ] - } - ] - }, - { - "id": 4497, - "name": "AdditionalItem", - "variant": "declaration", - "kind": 128, - "flags": {}, - "children": [ + "id": 828, + "name": "shipping_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An optional shipping address to send the claimed items to. If not provided, the parent order's shipping address will be used." + } + ] + }, + "type": { + "type": "reference", + "target": 4044, + "name": "AddressPayload", + "package": "@medusajs/medusa" + } + }, { - "id": 4498, - "name": "constructor", + "id": 829, + "name": "no_notification", "variant": "declaration", - "kind": 512, - "flags": {}, - "signatures": [ - { - "id": 4499, - "name": "new AdditionalItem", - "variant": "signature", - "kind": 16384, - "flags": {}, - "type": { - "type": "reference", - "target": 4497, - "name": "AdditionalItem", - "package": "@medusajs/medusa" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If set to true no notification will be send related to this Claim." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } }, { - "id": 4500, - "name": "variant_id", + "id": 830, + "name": "return_location_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the Product Variant." + "text": "The ID of the location used for the associated return." } ] }, @@ -22630,22 +24037,39 @@ } }, { - "id": 4501, - "name": "quantity", + "id": 831, + "name": "metadata", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The quantity of the Product Variant." + "text": "An optional set of key-value pairs to hold additional information." } ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } } ], @@ -22653,20 +24077,28 @@ { "title": "Constructors", "children": [ - 4498 + 820 ] }, { "title": "Properties", "children": [ - 4500, - 4501 + 822, + 823, + 824, + 825, + 826, + 827, + 828, + 829, + 830, + 831 ] } ] }, { - "id": 813, + "id": 832, "name": "AdminPostOrdersOrderClaimsParams", "variant": "declaration", "kind": 128, @@ -22681,39 +24113,39 @@ }, "children": [ { - "id": 814, + "id": 833, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 815, + "id": 834, "name": "new AdminPostOrdersOrderClaimsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 813, + "target": 832, "name": "AdminPostOrdersOrderClaimsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 816, + "id": 835, "name": "expand", "variant": "declaration", "kind": 1024, @@ -22726,6 +24158,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -22734,12 +24172,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 817, + "id": 836, "name": "fields", "variant": "declaration", "kind": 1024, @@ -22750,7 +24188,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -22760,7 +24214,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -22769,42 +24223,42 @@ { "title": "Constructors", "children": [ - 814 + 833 ] }, { "title": "Properties", "children": [ - 816, - 817 + 835, + 836 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 828, + "id": 847, "name": "updateInventoryAndReservations", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 829, + "id": 848, "name": "updateInventoryAndReservations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 830, + "id": 849, "name": "fulfillments", "variant": "param", "kind": 32768, @@ -22823,7 +24277,7 @@ } }, { - "id": 831, + "id": 850, "name": "context", "variant": "param", "kind": 32768, @@ -22831,14 +24285,14 @@ "type": { "type": "reflection", "declaration": { - "id": 832, + "id": 851, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 833, + "id": 852, "name": "inventoryService", "variant": "declaration", "kind": 1024, @@ -22854,7 +24308,7 @@ } }, { - "id": 834, + "id": 853, "name": "locationId", "variant": "declaration", "kind": 1024, @@ -22869,8 +24323,8 @@ { "title": "Properties", "children": [ - 833, - 834 + 852, + 853 ] } ] @@ -22897,7 +24351,7 @@ ] }, { - "id": 835, + "id": 854, "name": "AdminPostOrdersOrderFulfillmentsReq", "variant": "declaration", "kind": 128, @@ -22912,14 +24366,14 @@ }, "children": [ { - "id": 836, + "id": 855, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 837, + "id": 856, "name": "new AdminPostOrdersOrderFulfillmentsReq", "variant": "signature", "kind": 16384, @@ -22934,7 +24388,7 @@ }, "type": { "type": "reference", - "target": 835, + "target": 854, "name": "AdminPostOrdersOrderFulfillmentsReq", "package": "@medusajs/medusa" } @@ -22942,7 +24396,7 @@ ] }, { - "id": 838, + "id": 857, "name": "items", "variant": "declaration", "kind": 1024, @@ -22959,14 +24413,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4509, + "target": 4616, "name": "Item", "package": "@medusajs/medusa" } } }, { - "id": 839, + "id": 858, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -22987,7 +24441,7 @@ } }, { - "id": 840, + "id": 859, "name": "no_notification", "variant": "declaration", "kind": 1024, @@ -23008,7 +24462,7 @@ } }, { - "id": 841, + "id": 860, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -23048,43 +24502,43 @@ { "title": "Constructors", "children": [ - 836 + 855 ] }, { "title": "Properties", "children": [ - 838, - 839, - 840, - 841 + 857, + 858, + 859, + 860 ] } ] }, { - "id": 4509, + "id": 4616, "name": "Item", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4510, + "id": 4617, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4511, + "id": 4618, "name": "new Item", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4509, + "target": 4616, "name": "Item", "package": "@medusajs/medusa" } @@ -23092,7 +24546,7 @@ ] }, { - "id": 4512, + "id": 4619, "name": "item_id", "variant": "declaration", "kind": 1024, @@ -23111,7 +24565,7 @@ } }, { - "id": 4513, + "id": 4620, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -23134,20 +24588,20 @@ { "title": "Constructors", "children": [ - 4510 + 4617 ] }, { "title": "Properties", "children": [ - 4512, - 4513 + 4619, + 4620 ] } ] }, { - "id": 842, + "id": 861, "name": "AdminPostOrdersOrderFulfillmentsParams", "variant": "declaration", "kind": 128, @@ -23162,39 +24616,39 @@ }, "children": [ { - "id": 843, + "id": 862, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 844, + "id": 863, "name": "new AdminPostOrdersOrderFulfillmentsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 842, + "target": 861, "name": "AdminPostOrdersOrderFulfillmentsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 845, + "id": 864, "name": "expand", "variant": "declaration", "kind": 1024, @@ -23207,6 +24661,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -23215,12 +24675,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 846, + "id": 865, "name": "fields", "variant": "declaration", "kind": 1024, @@ -23231,7 +24691,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -23241,7 +24717,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -23250,28 +24726,28 @@ { "title": "Constructors", "children": [ - 843 + 862 ] }, { "title": "Properties", "children": [ - 845, - 846 + 864, + 865 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 847, + "id": 866, "name": "AdminPostOrdersOrderShipmentReq", "variant": "declaration", "kind": 128, @@ -23286,14 +24762,14 @@ }, "children": [ { - "id": 848, + "id": 867, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 849, + "id": 868, "name": "new AdminPostOrdersOrderShipmentReq", "variant": "signature", "kind": 16384, @@ -23308,7 +24784,7 @@ }, "type": { "type": "reference", - "target": 847, + "target": 866, "name": "AdminPostOrdersOrderShipmentReq", "package": "@medusajs/medusa" } @@ -23316,7 +24792,7 @@ ] }, { - "id": 850, + "id": 869, "name": "fulfillment_id", "variant": "declaration", "kind": 1024, @@ -23335,7 +24811,7 @@ } }, { - "id": 851, + "id": 870, "name": "tracking_numbers", "variant": "declaration", "kind": 1024, @@ -23359,7 +24835,7 @@ } }, { - "id": 852, + "id": 871, "name": "no_notification", "variant": "declaration", "kind": 1024, @@ -23384,21 +24860,21 @@ { "title": "Constructors", "children": [ - 848 + 867 ] }, { "title": "Properties", "children": [ - 850, - 851, - 852 + 869, + 870, + 871 ] } ] }, { - "id": 853, + "id": 872, "name": "AdminPostOrdersOrderShipmentParams", "variant": "declaration", "kind": 128, @@ -23413,39 +24889,39 @@ }, "children": [ { - "id": 854, + "id": 873, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 855, + "id": 874, "name": "new AdminPostOrdersOrderShipmentParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 853, + "target": 872, "name": "AdminPostOrdersOrderShipmentParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 856, + "id": 875, "name": "expand", "variant": "declaration", "kind": 1024, @@ -23458,6 +24934,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -23466,12 +24948,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 857, + "id": 876, "name": "fields", "variant": "declaration", "kind": 1024, @@ -23482,7 +24964,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -23492,7 +24990,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -23501,49 +24999,49 @@ { "title": "Constructors", "children": [ - 854 + 873 ] }, { "title": "Properties", "children": [ - 856, - 857 + 875, + 876 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 874, + "id": 893, "name": "AdminPostOrdersOrderSwapsSwapShipmentsReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 875, + "id": 894, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 876, + "id": 895, "name": "new AdminPostOrdersOrderSwapsSwapShipmentsReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 874, + "target": 893, "name": "AdminPostOrdersOrderSwapsSwapShipmentsReq", "package": "@medusajs/medusa" } @@ -23551,7 +25049,7 @@ ] }, { - "id": 877, + "id": 896, "name": "fulfillment_id", "variant": "declaration", "kind": 1024, @@ -23570,7 +25068,7 @@ } }, { - "id": 878, + "id": 897, "name": "tracking_numbers", "variant": "declaration", "kind": 1024, @@ -23595,7 +25093,7 @@ "defaultValue": "[]" }, { - "id": 879, + "id": 898, "name": "no_notification", "variant": "declaration", "kind": 1024, @@ -23620,21 +25118,21 @@ { "title": "Constructors", "children": [ - 875 + 894 ] }, { "title": "Properties", "children": [ - 877, - 878, - 879 + 896, + 897, + 898 ] } ] }, { - "id": 880, + "id": 899, "name": "AdminPostOrdersOrderSwapsSwapShipmentsParams", "variant": "declaration", "kind": 128, @@ -23649,39 +25147,39 @@ }, "children": [ { - "id": 881, + "id": 900, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 882, + "id": 901, "name": "new AdminPostOrdersOrderSwapsSwapShipmentsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 880, + "target": 899, "name": "AdminPostOrdersOrderSwapsSwapShipmentsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 883, + "id": 902, "name": "expand", "variant": "declaration", "kind": 1024, @@ -23694,6 +25192,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -23702,12 +25206,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 884, + "id": 903, "name": "fields", "variant": "declaration", "kind": 1024, @@ -23718,7 +25222,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -23728,7 +25248,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -23737,281 +25257,28 @@ { "title": "Constructors", "children": [ - 881 + 900 ] }, { "title": "Properties", "children": [ - 883, - 884 + 902, + 903 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 858, - "name": "AdminPostOrdersOrderSwapsReq", - "variant": "declaration", - "kind": 128, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The details of the swap to create." - } - ] - }, - "children": [ - { - "id": 859, - "name": "constructor", - "variant": "declaration", - "kind": 512, - "flags": {}, - "signatures": [ - { - "id": 860, - "name": "new AdminPostOrdersOrderSwapsReq", - "variant": "signature", - "kind": 16384, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The details of the swap to create." - } - ] - }, - "type": { - "type": "reference", - "target": 858, - "name": "AdminPostOrdersOrderSwapsReq", - "package": "@medusajs/medusa" - } - } - ] - }, - { - "id": 861, - "name": "return_items", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The Line Items to associate with the swap's return." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 4514, - "name": "ReturnItem", - "package": "@medusajs/medusa" - } - } - }, - { - "id": 862, - "name": "return_shipping", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The shipping method associated with the swap's return." - } - ] - }, - "type": { - "type": "reference", - "target": 4521, - "name": "ReturnShipping", - "package": "@medusajs/medusa" - } - }, - { - "id": 863, - "name": "sales_channel_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the sales channel associated with the swap." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 864, - "name": "additional_items", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The new items to send to the Customer." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 4526, - "name": "AdditionalItem", - "package": "@medusajs/medusa" - } - } - }, - { - "id": 865, - "name": "custom_shipping_options", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of custom shipping options to potentially create a Shipping Method from to send the additional items." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 4531, - "name": "CustomShippingOption", - "package": "@medusajs/medusa" - } - }, - "defaultValue": "[]" - }, - { - "id": 866, - "name": "no_notification", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If set to `true`, no notification will be sent to the customer related to this Swap." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 867, - "name": "return_location_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the location used for the associated return." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 868, - "name": "allow_backorder", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If set to `true`, swaps can be completed with items out of stock" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "true" - } - ], - "groups": [ - { - "title": "Constructors", - "children": [ - 859 - ] - }, - { - "title": "Properties", - "children": [ - 861, - 862, - 863, - 864, - 865, - 866, - 867, - 868 - ] - } - ] - }, - { - "id": 4514, + "id": 4621, "name": "ReturnItem", "variant": "declaration", "kind": 128, @@ -24026,14 +25293,14 @@ }, "children": [ { - "id": 4515, + "id": 4622, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4516, + "id": 4623, "name": "new ReturnItem", "variant": "signature", "kind": 16384, @@ -24048,7 +25315,7 @@ }, "type": { "type": "reference", - "target": 4514, + "target": 4621, "name": "ReturnItem", "package": "@medusajs/medusa" } @@ -24056,7 +25323,7 @@ ] }, { - "id": 4517, + "id": 4624, "name": "item_id", "variant": "declaration", "kind": 1024, @@ -24075,7 +25342,7 @@ } }, { - "id": 4518, + "id": 4625, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -24094,7 +25361,7 @@ } }, { - "id": 4519, + "id": 4626, "name": "reason_id", "variant": "declaration", "kind": 1024, @@ -24115,7 +25382,7 @@ } }, { - "id": 4520, + "id": 4627, "name": "note", "variant": "declaration", "kind": 1024, @@ -24140,22 +25407,22 @@ { "title": "Constructors", "children": [ - 4515 + 4622 ] }, { "title": "Properties", "children": [ - 4517, - 4518, - 4519, - 4520 + 4624, + 4625, + 4626, + 4627 ] } ] }, { - "id": 4521, + "id": 4628, "name": "ReturnShipping", "variant": "declaration", "kind": 128, @@ -24170,21 +25437,21 @@ }, "children": [ { - "id": 4522, + "id": 4629, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4523, + "id": 4630, "name": "new ReturnShipping", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4521, + "target": 4628, "name": "ReturnShipping", "package": "@medusajs/medusa" } @@ -24192,7 +25459,7 @@ ] }, { - "id": 4524, + "id": 4631, "name": "option_id", "variant": "declaration", "kind": 1024, @@ -24211,7 +25478,7 @@ } }, { - "id": 4525, + "id": 4632, "name": "price", "variant": "declaration", "kind": 1024, @@ -24236,20 +25503,20 @@ { "title": "Constructors", "children": [ - 4522 + 4629 ] }, { "title": "Properties", "children": [ - 4524, - 4525 + 4631, + 4632 ] } ] }, { - "id": 4531, + "id": 4638, "name": "CustomShippingOption", "variant": "declaration", "kind": 128, @@ -24264,14 +25531,14 @@ }, "children": [ { - "id": 4532, + "id": 4639, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4533, + "id": 4640, "name": "new CustomShippingOption", "variant": "signature", "kind": 16384, @@ -24286,7 +25553,7 @@ }, "type": { "type": "reference", - "target": 4531, + "target": 4638, "name": "CustomShippingOption", "package": "@medusajs/medusa" } @@ -24294,7 +25561,7 @@ ] }, { - "id": 4534, + "id": 4641, "name": "option_id", "variant": "declaration", "kind": 1024, @@ -24313,7 +25580,7 @@ } }, { - "id": 4535, + "id": 4642, "name": "price", "variant": "declaration", "kind": 1024, @@ -24336,41 +25603,41 @@ { "title": "Constructors", "children": [ - 4532 + 4639 ] }, { "title": "Properties", "children": [ - 4534, - 4535 + 4641, + 4642 ] } ] }, { - "id": 4526, + "id": 4633, "name": "AdditionalItem", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4527, + "id": 4634, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4528, + "id": 4635, "name": "new AdditionalItem", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4526, + "target": 4633, "name": "AdditionalItem", "package": "@medusajs/medusa" } @@ -24378,7 +25645,7 @@ ] }, { - "id": 4529, + "id": 4636, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -24397,7 +25664,7 @@ } }, { - "id": 4530, + "id": 4637, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -24420,21 +25687,21 @@ { "title": "Constructors", "children": [ - 4527 + 4634 ] }, { "title": "Properties", "children": [ - 4529, - 4530 + 4636, + 4637 ] } ] }, { - "id": 869, - "name": "AdminPostOrdersOrderSwapsParams", + "id": 877, + "name": "AdminPostOrdersOrderSwapsReq", "variant": "declaration", "kind": 128, "flags": {}, @@ -24442,46 +25709,68 @@ "summary": [ { "kind": "text", - "text": "Parameters that can be used to configure how data is retrieved." + "text": "The details of the swap to create." } ] }, "children": [ { - "id": 870, + "id": 878, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 871, - "name": "new AdminPostOrdersOrderSwapsParams", + "id": 879, + "name": "new AdminPostOrdersOrderSwapsReq", "variant": "signature", "kind": 16384, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the swap to create." + } + ] + }, "type": { "type": "reference", - "target": 869, - "name": "AdminPostOrdersOrderSwapsParams", + "target": 877, + "name": "AdminPostOrdersOrderSwapsReq", "package": "@medusajs/medusa" - }, - "inheritedFrom": { - "type": "reference", - "target": 4018, - "name": "FindParams.constructor" } } - ], - "inheritedFrom": { - "type": "reference", - "target": 4017, - "name": "FindParams.constructor" + ] + }, + { + "id": 880, + "name": "return_items", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The Line Items to associate with the swap's return." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4621, + "name": "ReturnItem", + "package": "@medusajs/medusa" + } } }, { - "id": 872, - "name": "expand", + "id": 881, + "name": "return_shipping", "variant": "declaration", "kind": 1024, "flags": { @@ -24491,23 +25780,20 @@ "summary": [ { "kind": "text", - "text": "Comma-separated relations that should be expanded in the returned data." + "text": "The shipping method associated with the swap's return." } ] }, "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { "type": "reference", - "target": 4019, - "name": "FindParams.expand" + "target": 4628, + "name": "ReturnShipping", + "package": "@medusajs/medusa" } }, { - "id": 873, - "name": "fields", + "id": 882, + "name": "sales_channel_id", "variant": "declaration", "kind": 1024, "flags": { @@ -24517,77 +25803,44 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "The ID of the sales channel associated with the swap." } ] }, "type": { "type": "intrinsic", "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 4020, - "name": "FindParams.fields" } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [ - 870 - ] }, { - "title": "Properties", - "children": [ - 872, - 873 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 4016, - "name": "FindParams", - "package": "@medusajs/medusa" - } - ] - }, - { - "id": 885, - "name": "AdminPostOrdersOrderClaimsClaimFulfillmentsReq", - "variant": "declaration", - "kind": 128, - "flags": {}, - "children": [ - { - "id": 886, - "name": "constructor", + "id": 883, + "name": "additional_items", "variant": "declaration", - "kind": 512, - "flags": {}, - "signatures": [ - { - "id": 887, - "name": "new AdminPostOrdersOrderClaimsClaimFulfillmentsReq", - "variant": "signature", - "kind": 16384, - "flags": {}, - "type": { - "type": "reference", - "target": 885, - "name": "AdminPostOrdersOrderClaimsClaimFulfillmentsReq", - "package": "@medusajs/medusa" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The new items to send to the Customer." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4633, + "name": "AdditionalItem", + "package": "@medusajs/medusa" } - ] + } }, { - "id": 888, - "name": "metadata", + "id": 884, + "name": "custom_shipping_options", "variant": "declaration", "kind": 1024, "flags": { @@ -24597,32 +25850,23 @@ "summary": [ { "kind": "text", - "text": "An optional set of key-value pairs to hold additional information." + "text": "An array of custom shipping options to potentially create a Shipping Method from to send the additional items." } ] }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } + "type": "array", + "elementType": { + "type": "reference", + "target": 4638, + "name": "CustomShippingOption", + "package": "@medusajs/medusa" + } + }, + "defaultValue": "[]" }, { - "id": 889, + "id": 885, "name": "no_notification", "variant": "declaration", "kind": 1024, @@ -24633,7 +25877,7 @@ "summary": [ { "kind": "text", - "text": "If set to `true`, no notification will be sent to the customer related to this Claim." + "text": "If set to `true`, no notification will be sent to the customer related to this Swap." } ] }, @@ -24643,8 +25887,8 @@ } }, { - "id": 890, - "name": "location_id", + "id": 886, + "name": "return_location_id", "variant": "declaration", "kind": 1024, "flags": { @@ -24654,7 +25898,7 @@ "summary": [ { "kind": "text", - "text": "The ID of the fulfillment's location." + "text": "The ID of the location used for the associated return." } ] }, @@ -24662,28 +25906,55 @@ "type": "intrinsic", "name": "string" } + }, + { + "id": 887, + "name": "allow_backorder", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If set to `true`, swaps can be completed with items out of stock" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "true" } ], "groups": [ { "title": "Constructors", "children": [ - 886 + 878 ] }, { "title": "Properties", "children": [ - 888, - 889, - 890 + 880, + 881, + 882, + 883, + 884, + 885, + 886, + 887 ] } ] }, { - "id": 891, - "name": "AdminPostOrdersOrderClaimsClaimFulfillmentsParams", + "id": 888, + "name": "AdminPostOrdersOrderSwapsParams", "variant": "declaration", "kind": 128, "flags": {}, @@ -24697,39 +25968,39 @@ }, "children": [ { - "id": 892, + "id": 889, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 893, - "name": "new AdminPostOrdersOrderClaimsClaimFulfillmentsParams", + "id": 890, + "name": "new AdminPostOrdersOrderSwapsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 891, - "name": "AdminPostOrdersOrderClaimsClaimFulfillmentsParams", + "target": 888, + "name": "AdminPostOrdersOrderSwapsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 894, + "id": 891, "name": "expand", "variant": "declaration", "kind": 1024, @@ -24742,6 +26013,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -24750,12 +26027,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 895, + "id": 892, "name": "fields", "variant": "declaration", "kind": 1024, @@ -24766,7 +26043,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -24776,7 +26069,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -24785,57 +26078,57 @@ { "title": "Constructors", "children": [ - 892 + 889 ] }, { "title": "Properties", "children": [ - 894, - 895 + 891, + 892 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 896, - "name": "AdminPostOrdersOrderSwapsSwapFulfillmentsReq", + "id": 904, + "name": "AdminPostOrdersOrderClaimsClaimFulfillmentsReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 897, + "id": 905, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 898, - "name": "new AdminPostOrdersOrderSwapsSwapFulfillmentsReq", + "id": 906, + "name": "new AdminPostOrdersOrderClaimsClaimFulfillmentsReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 896, - "name": "AdminPostOrdersOrderSwapsSwapFulfillmentsReq", + "target": 904, + "name": "AdminPostOrdersOrderClaimsClaimFulfillmentsReq", "package": "@medusajs/medusa" } } ] }, { - "id": 899, + "id": 907, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -24871,7 +26164,7 @@ } }, { - "id": 900, + "id": 908, "name": "no_notification", "variant": "declaration", "kind": 1024, @@ -24882,7 +26175,7 @@ "summary": [ { "kind": "text", - "text": "If set to `true`, no notification will be sent to the customer related to this swap." + "text": "If set to `true`, no notification will be sent to the customer related to this Claim." } ] }, @@ -24892,7 +26185,7 @@ } }, { - "id": 901, + "id": 909, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -24917,22 +26210,22 @@ { "title": "Constructors", "children": [ - 897 + 905 ] }, { "title": "Properties", "children": [ - 899, - 900, - 901 + 907, + 908, + 909 ] } ] }, { - "id": 902, - "name": "AdminPostOrdersOrderSwapsSwapFulfillmentsParams", + "id": 910, + "name": "AdminPostOrdersOrderClaimsClaimFulfillmentsParams", "variant": "declaration", "kind": 128, "flags": {}, @@ -24946,39 +26239,39 @@ }, "children": [ { - "id": 903, + "id": 911, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 904, - "name": "new AdminPostOrdersOrderSwapsSwapFulfillmentsParams", + "id": 912, + "name": "new AdminPostOrdersOrderClaimsClaimFulfillmentsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 902, - "name": "AdminPostOrdersOrderSwapsSwapFulfillmentsParams", + "target": 910, + "name": "AdminPostOrdersOrderClaimsClaimFulfillmentsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 905, + "id": 913, "name": "expand", "variant": "declaration", "kind": 1024, @@ -24991,6 +26284,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -24999,12 +26298,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 906, + "id": 914, "name": "fields", "variant": "declaration", "kind": 1024, @@ -25015,7 +26314,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -25025,7 +26340,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -25034,28 +26349,299 @@ { "title": "Constructors", "children": [ - 903 + 911 + ] + }, + { + "title": "Properties", + "children": [ + 913, + 914 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 4072, + "name": "FindParams", + "package": "@medusajs/medusa" + } + ] + }, + { + "id": 915, + "name": "AdminPostOrdersOrderSwapsSwapFulfillmentsReq", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 916, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 917, + "name": "new AdminPostOrdersOrderSwapsSwapFulfillmentsReq", + "variant": "signature", + "kind": 16384, + "flags": {}, + "type": { + "type": "reference", + "target": 915, + "name": "AdminPostOrdersOrderSwapsSwapFulfillmentsReq", + "package": "@medusajs/medusa" + } + } + ] + }, + { + "id": 918, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An optional set of key-value pairs to hold additional information." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 919, + "name": "no_notification", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If set to `true`, no notification will be sent to the customer related to this swap." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 920, + "name": "location_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment's location." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 916 + ] + }, + { + "title": "Properties", + "children": [ + 918, + 919, + 920 + ] + } + ] + }, + { + "id": 921, + "name": "AdminPostOrdersOrderSwapsSwapFulfillmentsParams", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Parameters that can be used to configure how data is retrieved." + } + ] + }, + "children": [ + { + "id": 922, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 923, + "name": "new AdminPostOrdersOrderSwapsSwapFulfillmentsParams", + "variant": "signature", + "kind": 16384, + "flags": {}, + "type": { + "type": "reference", + "target": 921, + "name": "AdminPostOrdersOrderSwapsSwapFulfillmentsParams", + "package": "@medusajs/medusa" + }, + "inheritedFrom": { + "type": "reference", + "target": 4074, + "name": "FindParams.constructor" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 4073, + "name": "FindParams.constructor" + } + }, + { + "id": 924, + "name": "expand", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Comma-separated relations that should be expanded in the returned data." + } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4075, + "name": "FindParams.expand" + } + }, + { + "id": 925, + "name": "fields", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4076, + "name": "FindParams.fields" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 922 ] }, { "title": "Properties", "children": [ - 905, - 906 + 924, + 925 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 907, + "id": 926, "name": "AdminGetOrdersOrderParams", "variant": "declaration", "kind": 128, @@ -25070,39 +26656,39 @@ }, "children": [ { - "id": 908, + "id": 927, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 909, + "id": 928, "name": "new AdminGetOrdersOrderParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 907, + "target": 926, "name": "AdminGetOrdersOrderParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 910, + "id": 929, "name": "expand", "variant": "declaration", "kind": 1024, @@ -25115,6 +26701,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -25123,12 +26715,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 911, + "id": 930, "name": "fields", "variant": "declaration", "kind": 1024, @@ -25139,7 +26731,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -25149,7 +26757,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -25158,28 +26766,28 @@ { "title": "Constructors", "children": [ - 908 + 927 ] }, { "title": "Properties", "children": [ - 910, - 911 + 929, + 930 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 727, + "id": 746, "name": "AdminOrdersRes", "variant": "declaration", "kind": 2097152, @@ -25198,14 +26806,14 @@ "type": { "type": "reflection", "declaration": { - "id": 728, + "id": 747, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 729, + "id": 748, "name": "order", "variant": "declaration", "kind": 1024, @@ -25233,7 +26841,7 @@ { "title": "Properties", "children": [ - 729 + 748 ] } ] @@ -25241,7 +26849,7 @@ } }, { - "id": 730, + "id": 749, "name": "AdminOrdersListRes", "variant": "declaration", "kind": 2097152, @@ -25262,21 +26870,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 731, + "id": 750, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 732, + "id": 751, "name": "orders", "variant": "declaration", "kind": 1024, @@ -25307,7 +26915,7 @@ { "title": "Properties", "children": [ - 732 + 751 ] } ] @@ -25317,7 +26925,7 @@ } }, { - "id": 733, + "id": 752, "name": "filterableAdminOrdersFields", "variant": "declaration", "kind": 32, @@ -25334,7 +26942,7 @@ "defaultValue": "..." }, { - "id": 734, + "id": 753, "name": "AvailableOrderIncludes", "variant": "declaration", "kind": 32, @@ -25344,14 +26952,14 @@ "type": { "type": "reflection", "declaration": { - "id": 735, + "id": 754, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 736, + "id": 755, "name": "RETURNABLE_ITEMS", "variant": "declaration", "kind": 1024, @@ -25367,7 +26975,7 @@ { "title": "Properties", "children": [ - 736 + 755 ] } ] @@ -25376,7 +26984,7 @@ "defaultValue": "..." }, { - "id": 737, + "id": 756, "name": "allowedOrderIncludes", "variant": "declaration", "kind": 32, @@ -25393,7 +27001,7 @@ "defaultValue": "..." }, { - "id": 912, + "id": 931, "name": "AdminGetOrdersParams", "variant": "declaration", "kind": 128, @@ -25408,39 +27016,39 @@ }, "children": [ { - "id": 913, + "id": 932, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 914, + "id": 933, "name": "new AdminGetOrdersParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 912, + "target": 931, "name": "AdminGetOrdersParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4538, + "target": 4645, "name": "AdminListOrdersSelector.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4537, + "target": 4644, "name": "AdminListOrdersSelector.constructor" } }, { - "id": 915, + "id": 934, "name": "offset", "variant": "declaration", "kind": 1024, @@ -25471,7 +27079,7 @@ "defaultValue": "0" }, { - "id": 916, + "id": 935, "name": "limit", "variant": "declaration", "kind": 1024, @@ -25502,7 +27110,7 @@ "defaultValue": "50" }, { - "id": 917, + "id": 936, "name": "expand", "variant": "declaration", "kind": 1024, @@ -25523,7 +27131,7 @@ } }, { - "id": 918, + "id": 937, "name": "fields", "variant": "declaration", "kind": 1024, @@ -25534,7 +27142,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -25544,7 +27168,7 @@ } }, { - "id": 919, + "id": 938, "name": "order", "variant": "declaration", "kind": 1024, @@ -25555,7 +27179,7 @@ "summary": [ { "kind": "text", - "text": "The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with " + "text": "The field to sort retrieved orders by. By default, the sort order is ascending.\nTo change the order to descending, prefix the field name with " }, { "kind": "code", @@ -25573,7 +27197,7 @@ } }, { - "id": 920, + "id": 939, "name": "q", "variant": "declaration", "kind": 1024, @@ -25594,12 +27218,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4539, + "target": 4646, "name": "AdminListOrdersSelector.q" } }, { - "id": 921, + "id": 940, "name": "id", "variant": "declaration", "kind": 1024, @@ -25620,12 +27244,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4540, + "target": 4647, "name": "AdminListOrdersSelector.id" } }, { - "id": 922, + "id": 941, "name": "status", "variant": "declaration", "kind": 1024, @@ -25649,12 +27273,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4541, + "target": 4648, "name": "AdminListOrdersSelector.status" } }, { - "id": 923, + "id": 942, "name": "fulfillment_status", "variant": "declaration", "kind": 1024, @@ -25678,12 +27302,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4542, + "target": 4649, "name": "AdminListOrdersSelector.fulfillment_status" } }, { - "id": 924, + "id": 943, "name": "payment_status", "variant": "declaration", "kind": 1024, @@ -25707,12 +27331,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4543, + "target": 4650, "name": "AdminListOrdersSelector.payment_status" } }, { - "id": 925, + "id": 944, "name": "display_id", "variant": "declaration", "kind": 1024, @@ -25733,12 +27357,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4544, + "target": 4651, "name": "AdminListOrdersSelector.display_id" } }, { - "id": 926, + "id": 945, "name": "cart_id", "variant": "declaration", "kind": 1024, @@ -25759,12 +27383,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4545, + "target": 4652, "name": "AdminListOrdersSelector.cart_id" } }, { - "id": 927, + "id": 946, "name": "customer_id", "variant": "declaration", "kind": 1024, @@ -25785,12 +27409,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4546, + "target": 4653, "name": "AdminListOrdersSelector.customer_id" } }, { - "id": 928, + "id": 947, "name": "email", "variant": "declaration", "kind": 1024, @@ -25811,12 +27435,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4547, + "target": 4654, "name": "AdminListOrdersSelector.email" } }, { - "id": 929, + "id": 948, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -25849,12 +27473,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4548, + "target": 4655, "name": "AdminListOrdersSelector.region_id" } }, { - "id": 930, + "id": 949, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -25875,12 +27499,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4549, + "target": 4656, "name": "AdminListOrdersSelector.currency_code" } }, { - "id": 931, + "id": 950, "name": "tax_rate", "variant": "declaration", "kind": 1024, @@ -25901,12 +27525,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4550, + "target": 4657, "name": "AdminListOrdersSelector.tax_rate" } }, { - "id": 932, + "id": 951, "name": "sales_channel_id", "variant": "declaration", "kind": 1024, @@ -25930,12 +27554,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4551, + "target": 4658, "name": "AdminListOrdersSelector.sales_channel_id" } }, { - "id": 933, + "id": 952, "name": "canceled_at", "variant": "declaration", "kind": 1024, @@ -25960,18 +27584,18 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4552, + "target": 4659, "name": "AdminListOrdersSelector.canceled_at" } }, { - "id": 934, + "id": 953, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -25996,18 +27620,18 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4553, + "target": 4660, "name": "AdminListOrdersSelector.created_at" } }, { - "id": 935, + "id": 954, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -26032,13 +27656,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4554, + "target": 4661, "name": "AdminListOrdersSelector.updated_at" } } @@ -26047,47 +27671,47 @@ { "title": "Constructors", "children": [ - 913 + 932 ] }, { "title": "Properties", "children": [ - 915, - 916, - 917, - 918, - 919, - 920, - 921, - 922, - 923, - 924, - 925, - 926, - 927, - 928, - 929, - 930, - 931, - 932, - 933, 934, - 935 + 935, + 936, + 937, + 938, + 939, + 940, + 941, + 942, + 943, + 944, + 945, + 946, + 947, + 948, + 949, + 950, + 951, + 952, + 953, + 954 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4536, + "target": 4643, "name": "AdminListOrdersSelector", "package": "@medusajs/medusa" } ] }, { - "id": 936, + "id": 955, "name": "AdminPostOrdersOrderSwapsSwapProcessPaymentParams", "variant": "declaration", "kind": 128, @@ -26102,39 +27726,39 @@ }, "children": [ { - "id": 937, + "id": 956, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 938, + "id": 957, "name": "new AdminPostOrdersOrderSwapsSwapProcessPaymentParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 936, + "target": 955, "name": "AdminPostOrdersOrderSwapsSwapProcessPaymentParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 939, + "id": 958, "name": "expand", "variant": "declaration", "kind": 1024, @@ -26147,6 +27771,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -26155,12 +27785,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 940, + "id": 959, "name": "fields", "variant": "declaration", "kind": 1024, @@ -26171,7 +27801,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -26181,7 +27827,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -26190,28 +27836,28 @@ { "title": "Constructors", "children": [ - 937 + 956 ] }, { "title": "Properties", "children": [ - 939, - 940 + 958, + 959 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 941, + "id": 960, "name": "AdminPostOrdersOrderRefundsReq", "variant": "declaration", "kind": 128, @@ -26226,14 +27872,14 @@ }, "children": [ { - "id": 942, + "id": 961, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 943, + "id": 962, "name": "new AdminPostOrdersOrderRefundsReq", "variant": "signature", "kind": 16384, @@ -26248,7 +27894,7 @@ }, "type": { "type": "reference", - "target": 941, + "target": 960, "name": "AdminPostOrdersOrderRefundsReq", "package": "@medusajs/medusa" } @@ -26256,7 +27902,7 @@ ] }, { - "id": 944, + "id": 963, "name": "amount", "variant": "declaration", "kind": 1024, @@ -26275,7 +27921,7 @@ } }, { - "id": 945, + "id": 964, "name": "reason", "variant": "declaration", "kind": 1024, @@ -26294,7 +27940,7 @@ } }, { - "id": 946, + "id": 965, "name": "note", "variant": "declaration", "kind": 1024, @@ -26315,7 +27961,7 @@ } }, { - "id": 947, + "id": 966, "name": "no_notification", "variant": "declaration", "kind": 1024, @@ -26340,22 +27986,22 @@ { "title": "Constructors", "children": [ - 942 + 961 ] }, { "title": "Properties", "children": [ - 944, - 945, - 946, - 947 + 963, + 964, + 965, + 966 ] } ] }, { - "id": 948, + "id": 967, "name": "AdminPostOrdersOrderRefundsParams", "variant": "declaration", "kind": 128, @@ -26370,39 +28016,39 @@ }, "children": [ { - "id": 949, + "id": 968, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 950, + "id": 969, "name": "new AdminPostOrdersOrderRefundsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 948, + "target": 967, "name": "AdminPostOrdersOrderRefundsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 951, + "id": 970, "name": "expand", "variant": "declaration", "kind": 1024, @@ -26415,6 +28061,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -26423,12 +28075,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 952, + "id": 971, "name": "fields", "variant": "declaration", "kind": 1024, @@ -26439,7 +28091,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -26449,7 +28117,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -26458,28 +28126,124 @@ { "title": "Constructors", "children": [ - 949 + 968 ] }, { "title": "Properties", "children": [ - 951, - 952 + 970, + 971 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 953, + "id": 4669, + "name": "ReturnShipping", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The return's shipping method details." + } + ] + }, + "children": [ + { + "id": 4670, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 4671, + "name": "new ReturnShipping", + "variant": "signature", + "kind": 16384, + "flags": {}, + "type": { + "type": "reference", + "target": 4669, + "name": "ReturnShipping", + "package": "@medusajs/medusa" + } + } + ] + }, + { + "id": 4672, + "name": "option_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option used for the return." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4673, + "name": "price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping method's price." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 4670 + ] + }, + { + "title": "Properties", + "children": [ + 4672, + 4673 + ] + } + ] + }, + { + "id": 972, "name": "AdminPostOrdersOrderReturnsReq", "variant": "declaration", "kind": 128, @@ -26494,14 +28258,14 @@ }, "children": [ { - "id": 954, + "id": 973, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 955, + "id": 974, "name": "new AdminPostOrdersOrderReturnsReq", "variant": "signature", "kind": 16384, @@ -26516,7 +28280,7 @@ }, "type": { "type": "reference", - "target": 953, + "target": 972, "name": "AdminPostOrdersOrderReturnsReq", "package": "@medusajs/medusa" } @@ -26524,7 +28288,7 @@ ] }, { - "id": 956, + "id": 975, "name": "items", "variant": "declaration", "kind": 1024, @@ -26541,14 +28305,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4555, + "target": 4662, "name": "OrdersReturnItem", "package": "@medusajs/medusa" } } }, { - "id": 957, + "id": 976, "name": "return_shipping", "variant": "declaration", "kind": 1024, @@ -26565,13 +28329,13 @@ }, "type": { "type": "reference", - "target": 4562, + "target": 4669, "name": "ReturnShipping", "package": "@medusajs/medusa" } }, { - "id": 958, + "id": 977, "name": "note", "variant": "declaration", "kind": 1024, @@ -26592,7 +28356,7 @@ } }, { - "id": 959, + "id": 978, "name": "receive_now", "variant": "declaration", "kind": 1024, @@ -26614,7 +28378,7 @@ "defaultValue": "false" }, { - "id": 960, + "id": 979, "name": "no_notification", "variant": "declaration", "kind": 1024, @@ -26635,7 +28399,7 @@ } }, { - "id": 961, + "id": 980, "name": "refund", "variant": "declaration", "kind": 1024, @@ -26656,7 +28420,7 @@ } }, { - "id": 962, + "id": 981, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -26681,121 +28445,25 @@ { "title": "Constructors", "children": [ - 954 - ] - }, - { - "title": "Properties", - "children": [ - 956, - 957, - 958, - 959, - 960, - 961, - 962 - ] - } - ] - }, - { - "id": 4562, - "name": "ReturnShipping", - "variant": "declaration", - "kind": 128, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The return's shipping method details." - } - ] - }, - "children": [ - { - "id": 4563, - "name": "constructor", - "variant": "declaration", - "kind": 512, - "flags": {}, - "signatures": [ - { - "id": 4564, - "name": "new ReturnShipping", - "variant": "signature", - "kind": 16384, - "flags": {}, - "type": { - "type": "reference", - "target": 4562, - "name": "ReturnShipping", - "package": "@medusajs/medusa" - } - } - ] - }, - { - "id": 4565, - "name": "option_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the shipping option used for the return." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 4566, - "name": "price", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The shipping method's price." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [ - 4563 + 973 ] }, { "title": "Properties", "children": [ - 4565, - 4566 + 975, + 976, + 977, + 978, + 979, + 980, + 981 ] } ] }, { - "id": 963, + "id": 982, "name": "AdminPostOrdersOrderReturnsParams", "variant": "declaration", "kind": 128, @@ -26810,39 +28478,39 @@ }, "children": [ { - "id": 964, + "id": 983, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 965, + "id": 984, "name": "new AdminPostOrdersOrderReturnsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 963, + "target": 982, "name": "AdminPostOrdersOrderReturnsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 966, + "id": 985, "name": "expand", "variant": "declaration", "kind": 1024, @@ -26855,6 +28523,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -26863,12 +28537,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 967, + "id": 986, "name": "fields", "variant": "declaration", "kind": 1024, @@ -26879,7 +28553,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -26889,7 +28579,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -26898,49 +28588,49 @@ { "title": "Constructors", "children": [ - 964 + 983 ] }, { "title": "Properties", "children": [ - 966, - 967 + 985, + 986 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 968, + "id": 987, "name": "AdminPostOrdersOrderClaimsClaimReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 969, + "id": 988, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 970, + "id": 989, "name": "new AdminPostOrdersOrderClaimsClaimReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 968, + "target": 987, "name": "AdminPostOrdersOrderClaimsClaimReq", "package": "@medusajs/medusa" } @@ -26948,7 +28638,7 @@ ] }, { - "id": 971, + "id": 990, "name": "claim_items", "variant": "declaration", "kind": 1024, @@ -26967,14 +28657,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4567, + "target": 4674, "name": "Item", "package": "@medusajs/medusa" } } }, { - "id": 972, + "id": 991, "name": "shipping_methods", "variant": "declaration", "kind": 1024, @@ -26993,14 +28683,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4576, + "target": 4683, "name": "ShippingMethod", "package": "@medusajs/medusa" } } }, { - "id": 973, + "id": 992, "name": "no_notification", "variant": "declaration", "kind": 1024, @@ -27021,7 +28711,7 @@ } }, { - "id": 974, + "id": 993, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -27061,22 +28751,22 @@ { "title": "Constructors", "children": [ - 969 + 988 ] }, { "title": "Properties", "children": [ - 971, - 972, - 973, - 974 + 990, + 991, + 992, + 993 ] } ] }, { - "id": 4576, + "id": 4683, "name": "ShippingMethod", "variant": "declaration", "kind": 128, @@ -27091,14 +28781,14 @@ }, "children": [ { - "id": 4577, + "id": 4684, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4578, + "id": 4685, "name": "new ShippingMethod", "variant": "signature", "kind": 16384, @@ -27113,7 +28803,7 @@ }, "type": { "type": "reference", - "target": 4576, + "target": 4683, "name": "ShippingMethod", "package": "@medusajs/medusa" } @@ -27121,7 +28811,7 @@ ] }, { - "id": 4579, + "id": 4686, "name": "id", "variant": "declaration", "kind": 1024, @@ -27142,7 +28832,7 @@ } }, { - "id": 4580, + "id": 4687, "name": "option_id", "variant": "declaration", "kind": 1024, @@ -27163,7 +28853,7 @@ } }, { - "id": 4581, + "id": 4688, "name": "price", "variant": "declaration", "kind": 1024, @@ -27184,7 +28874,7 @@ } }, { - "id": 4582, + "id": 4689, "name": "data", "variant": "declaration", "kind": 1024, @@ -27224,43 +28914,43 @@ { "title": "Constructors", "children": [ - 4577 + 4684 ] }, { "title": "Properties", "children": [ - 4579, - 4580, - 4581, - 4582 + 4686, + 4687, + 4688, + 4689 ] } ] }, { - "id": 4567, + "id": 4674, "name": "Item", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4568, + "id": 4675, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4569, + "id": 4676, "name": "new Item", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4567, + "target": 4674, "name": "Item", "package": "@medusajs/medusa" } @@ -27268,7 +28958,7 @@ ] }, { - "id": 4570, + "id": 4677, "name": "id", "variant": "declaration", "kind": 1024, @@ -27287,7 +28977,7 @@ } }, { - "id": 4571, + "id": 4678, "name": "note", "variant": "declaration", "kind": 1024, @@ -27308,7 +28998,7 @@ } }, { - "id": 4572, + "id": 4679, "name": "reason", "variant": "declaration", "kind": 1024, @@ -27329,7 +29019,7 @@ } }, { - "id": 4573, + "id": 4680, "name": "images", "variant": "declaration", "kind": 1024, @@ -27346,14 +29036,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 5052, + "target": 5147, "name": "Image", "package": "@medusajs/medusa" } } }, { - "id": 4574, + "id": 4681, "name": "tags", "variant": "declaration", "kind": 1024, @@ -27370,14 +29060,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 5057, + "target": 5152, "name": "Tag", "package": "@medusajs/medusa" } } }, { - "id": 4575, + "id": 4682, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -27417,24 +29107,24 @@ { "title": "Constructors", "children": [ - 4568 + 4675 ] }, { "title": "Properties", "children": [ - 4570, - 4571, - 4572, - 4573, - 4574, - 4575 + 4677, + 4678, + 4679, + 4680, + 4681, + 4682 ] } ] }, { - "id": 5052, + "id": 5147, "name": "Image", "variant": "declaration", "kind": 128, @@ -27449,14 +29139,14 @@ }, "children": [ { - "id": 5053, + "id": 5148, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 5054, + "id": 5149, "name": "new Image", "variant": "signature", "kind": 16384, @@ -27471,7 +29161,7 @@ }, "type": { "type": "reference", - "target": 5052, + "target": 5147, "name": "Image", "package": "@medusajs/medusa" } @@ -27479,7 +29169,7 @@ ] }, { - "id": 5055, + "id": 5150, "name": "id", "variant": "declaration", "kind": 1024, @@ -27500,7 +29190,7 @@ } }, { - "id": 5056, + "id": 5151, "name": "url", "variant": "declaration", "kind": 1024, @@ -27525,41 +29215,41 @@ { "title": "Constructors", "children": [ - 5053 + 5148 ] }, { "title": "Properties", "children": [ - 5055, - 5056 + 5150, + 5151 ] } ] }, { - "id": 5057, + "id": 5152, "name": "Tag", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 5058, + "id": 5153, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 5059, + "id": 5154, "name": "new Tag", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 5057, + "target": 5152, "name": "Tag", "package": "@medusajs/medusa" } @@ -27567,7 +29257,7 @@ ] }, { - "id": 5060, + "id": 5155, "name": "id", "variant": "declaration", "kind": 1024, @@ -27588,7 +29278,7 @@ } }, { - "id": 5061, + "id": 5156, "name": "value", "variant": "declaration", "kind": 1024, @@ -27613,20 +29303,20 @@ { "title": "Constructors", "children": [ - 5058 + 5153 ] }, { "title": "Properties", "children": [ - 5060, - 5061 + 5155, + 5156 ] } ] }, { - "id": 975, + "id": 994, "name": "AdminPostOrdersOrderClaimsClaimParams", "variant": "declaration", "kind": 128, @@ -27641,39 +29331,39 @@ }, "children": [ { - "id": 976, + "id": 995, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 977, + "id": 996, "name": "new AdminPostOrdersOrderClaimsClaimParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 975, + "target": 994, "name": "AdminPostOrdersOrderClaimsClaimParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 978, + "id": 997, "name": "expand", "variant": "declaration", "kind": 1024, @@ -27686,6 +29376,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -27694,12 +29390,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 979, + "id": 998, "name": "fields", "variant": "declaration", "kind": 1024, @@ -27710,7 +29406,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -27720,7 +29432,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -27729,29 +29441,29 @@ { "title": "Constructors", "children": [ - 976 + 995 ] }, { "title": "Properties", "children": [ - 978, - 979 + 997, + 998 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 980, - "name": "AdminPostOrdersOrderReq", + "id": 4690, + "name": "PaymentMethod", "variant": "declaration", "kind": 128, "flags": {}, @@ -27759,21 +29471,132 @@ "summary": [ { "kind": "text", - "text": "The details to update of the order." + "text": "The attributes to update in the order's payment method." } ] }, "children": [ { - "id": 981, + "id": 4691, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 982, - "name": "new AdminPostOrdersOrderReq", + "id": 4692, + "name": "new PaymentMethod", + "variant": "signature", + "kind": 16384, + "flags": {}, + "type": { + "type": "reference", + "target": 4690, + "name": "PaymentMethod", + "package": "@medusajs/medusa" + } + } + ] + }, + { + "id": 4693, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the payment provider used in the order." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4694, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to attach to the payment." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 4691 + ] + }, + { + "title": "Properties", + "children": [ + 4693, + 4694 + ] + } + ] + }, + { + "id": 4695, + "name": "ShippingMethod", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the order's shipping method." + } + ] + }, + "children": [ + { + "id": 4696, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 4697, + "name": "new ShippingMethod", "variant": "signature", "kind": 16384, "flags": {}, @@ -27781,22 +29604,22 @@ "summary": [ { "kind": "text", - "text": "The details to update of the order." + "text": "A Shipping Method represents a way in which an Order or Return can be shipped. Shipping Methods are created from a Shipping Option, but may contain additional details that can be necessary for the Fulfillment Provider to handle the shipment. If the shipping method is created for a return, it may be associated with a claim or a swap that the return is part of." } ] }, "type": { "type": "reference", - "target": 980, - "name": "AdminPostOrdersOrderReq", + "target": 4695, + "name": "ShippingMethod", "package": "@medusajs/medusa" } } ] }, { - "id": 983, - "name": "email", + "id": 4698, + "name": "provider_id", "variant": "declaration", "kind": 1024, "flags": { @@ -27806,7 +29629,7 @@ "summary": [ { "kind": "text", - "text": "The email associated with the order" + "text": "The ID of the shipping provider used in the order." } ] }, @@ -27816,8 +29639,8 @@ } }, { - "id": 984, - "name": "billing_address", + "id": 4699, + "name": "profile_id", "variant": "declaration", "kind": 1024, "flags": { @@ -27827,20 +29650,18 @@ "summary": [ { "kind": "text", - "text": "The order's billing address" + "text": "The ID of the shipping profile used in the order." } ] }, "type": { - "type": "reference", - "target": 3988, - "name": "AddressPayload", - "package": "@medusajs/medusa" + "type": "intrinsic", + "name": "string" } }, { - "id": 985, - "name": "shipping_address", + "id": 4700, + "name": "price", "variant": "declaration", "kind": 1024, "flags": { @@ -27850,19 +29671,53 @@ "summary": [ { "kind": "text", - "text": "The order's shipping address" + "text": "The price of the shipping method." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4701, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to attach to the shipping method." } ] }, "type": { "type": "reference", - "target": 3988, - "name": "AddressPayload", - "package": "@medusajs/medusa" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } }, { - "id": 986, + "id": 4702, "name": "items", "variant": "declaration", "kind": 1024, @@ -27873,7 +29728,7 @@ "summary": [ { "kind": "text", - "text": "The line items of the order" + "text": "The line items associated with this shipping methods." } ] }, @@ -27899,70 +29754,75 @@ "package": "typescript" } } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 4696 + ] }, { - "id": 987, - "name": "region", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ID of the region that the order is associated with." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" + "title": "Properties", + "children": [ + 4698, + 4699, + 4700, + 4701, + 4702 + ] + } + ] + }, + { + "id": 999, + "name": "AdminPostOrdersOrderReq", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details to update of the order." } - }, + ] + }, + "children": [ { - "id": 988, - "name": "discounts", + "id": 1000, + "name": "constructor", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The discounts applied to the order" - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 1001, + "name": "new AdminPostOrdersOrderReq", + "variant": "signature", + "kind": 16384, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details to update of the order." + } + ] }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" + "type": { + "type": "reference", + "target": 999, + "name": "AdminPostOrdersOrderReq", + "package": "@medusajs/medusa" + } } - } + ] }, { - "id": 989, - "name": "customer_id", + "id": 1002, + "name": "email", "variant": "declaration", "kind": 1024, "flags": { @@ -27972,7 +29832,7 @@ "summary": [ { "kind": "text", - "text": "The ID of the customer associated with the order." + "text": "The email associated with the order" } ] }, @@ -27982,8 +29842,8 @@ } }, { - "id": 990, - "name": "payment_method", + "id": 1003, + "name": "billing_address", "variant": "declaration", "kind": 1024, "flags": { @@ -27993,20 +29853,20 @@ "summary": [ { "kind": "text", - "text": "The payment method chosen for the order." + "text": "The order's billing address" } ] }, "type": { "type": "reference", - "target": 4583, - "name": "PaymentMethod", + "target": 4044, + "name": "AddressPayload", "package": "@medusajs/medusa" } }, { - "id": 991, - "name": "shipping_method", + "id": 1004, + "name": "shipping_address", "variant": "declaration", "kind": 1024, "flags": { @@ -28016,23 +29876,20 @@ "summary": [ { "kind": "text", - "text": "The Shipping Method used for shipping the order." + "text": "The order's shipping address" } ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 4588, - "name": "ShippingMethod", - "package": "@medusajs/medusa" - } + "type": "reference", + "target": 4044, + "name": "AddressPayload", + "package": "@medusajs/medusa" } }, { - "id": 992, - "name": "no_notification", + "id": 1005, + "name": "items", "variant": "declaration", "kind": 1024, "flags": { @@ -28042,80 +29899,36 @@ "summary": [ { "kind": "text", - "text": "If set to `true`, no notification will be sent to the customer related to this order." + "text": "The line items of the order" } ] }, "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [ - 981 - ] - }, - { - "title": "Properties", - "children": [ - 983, - 984, - 985, - 986, - 987, - 988, - 989, - 990, - 991, - 992 - ] - } - ] - }, - { - "id": 4583, - "name": "PaymentMethod", - "variant": "declaration", - "kind": 128, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The attributes to update in the order's payment method." - } - ] - }, - "children": [ - { - "id": 4584, - "name": "constructor", - "variant": "declaration", - "kind": 512, - "flags": {}, - "signatures": [ - { - "id": 4585, - "name": "new PaymentMethod", - "variant": "signature", - "kind": 16384, - "flags": {}, - "type": { - "type": "reference", - "target": 4583, - "name": "PaymentMethod", - "package": "@medusajs/medusa" - } + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } - ] + } }, { - "id": 4586, - "name": "provider_id", + "id": 1006, + "name": "region", "variant": "declaration", "kind": 1024, "flags": { @@ -28125,7 +29938,7 @@ "summary": [ { "kind": "text", - "text": "The ID of the payment provider used in the order." + "text": "ID of the region that the order is associated with." } ] }, @@ -28135,8 +29948,8 @@ } }, { - "id": 4587, - "name": "data", + "id": 1007, + "name": "discounts", "variant": "declaration", "kind": 1024, "flags": { @@ -28146,116 +29959,36 @@ "summary": [ { "kind": "text", - "text": "The data to attach to the payment." + "text": "The discounts applied to the order" } ] }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [ - 4584 - ] - }, - { - "title": "Properties", - "children": [ - 4586, - 4587 - ] - } - ] - }, - { - "id": 4588, - "name": "ShippingMethod", - "variant": "declaration", - "kind": 128, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The attributes to update in the order's shipping method." - } - ] - }, - "children": [ - { - "id": 4589, - "name": "constructor", - "variant": "declaration", - "kind": 512, - "flags": {}, - "signatures": [ - { - "id": 4590, - "name": "new ShippingMethod", - "variant": "signature", - "kind": 16384, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A Shipping Method represents a way in which an Order or Return can be shipped. Shipping Methods are created from a Shipping Option, but may contain additional details that can be necessary for the Fulfillment Provider to handle the shipment. If the shipping method is created for a return, it may be associated with a claim or a swap that the return is part of." - } - ] + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - "type": { - "type": "reference", - "target": 4588, - "name": "ShippingMethod", - "package": "@medusajs/medusa" - } + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } - ] - }, - { - "id": 4591, - "name": "provider_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the shipping provider used in the order." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" } }, { - "id": 4592, - "name": "profile_id", + "id": 1008, + "name": "customer_id", "variant": "declaration", "kind": 1024, "flags": { @@ -28265,7 +29998,7 @@ "summary": [ { "kind": "text", - "text": "The ID of the shipping profile used in the order." + "text": "The ID of the customer associated with the order." } ] }, @@ -28275,8 +30008,8 @@ } }, { - "id": 4593, - "name": "price", + "id": 1009, + "name": "payment_method", "variant": "declaration", "kind": 1024, "flags": { @@ -28286,18 +30019,20 @@ "summary": [ { "kind": "text", - "text": "The price of the shipping method." + "text": "The payment method chosen for the order." } ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 4690, + "name": "PaymentMethod", + "package": "@medusajs/medusa" } }, { - "id": 4594, - "name": "data", + "id": 1010, + "name": "shipping_method", "variant": "declaration", "kind": 1024, "flags": { @@ -28307,33 +30042,23 @@ "summary": [ { "kind": "text", - "text": "The data to attach to the shipping method." + "text": "The Shipping Method used for shipping the order." } ] }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" + "type": "array", + "elementType": { + "type": "reference", + "target": 4695, + "name": "ShippingMethod", + "package": "@medusajs/medusa" + } } }, { - "id": 4595, - "name": "items", + "id": 1011, + "name": "no_notification", "variant": "declaration", "kind": 1024, "flags": { @@ -28343,31 +30068,13 @@ "summary": [ { "kind": "text", - "text": "The line items associated with this shipping methods." + "text": "If set to `true`, no notification will be sent to the customer related to this order." } ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } + "type": "intrinsic", + "name": "boolean" } } ], @@ -28375,23 +30082,28 @@ { "title": "Constructors", "children": [ - 4589 + 1000 ] }, { "title": "Properties", "children": [ - 4591, - 4592, - 4593, - 4594, - 4595 + 1002, + 1003, + 1004, + 1005, + 1006, + 1007, + 1008, + 1009, + 1010, + 1011 ] } ] }, { - "id": 993, + "id": 1012, "name": "AdminPostOrdersOrderParams", "variant": "declaration", "kind": 128, @@ -28406,39 +30118,39 @@ }, "children": [ { - "id": 994, + "id": 1013, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 995, + "id": 1014, "name": "new AdminPostOrdersOrderParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 993, + "target": 1012, "name": "AdminPostOrdersOrderParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 996, + "id": 1015, "name": "expand", "variant": "declaration", "kind": 1024, @@ -28451,6 +30163,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -28459,12 +30177,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 997, + "id": 1016, "name": "fields", "variant": "declaration", "kind": 1024, @@ -28475,7 +30193,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -28485,7 +30219,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -28494,28 +30228,28 @@ { "title": "Constructors", "children": [ - 994 + 1013 ] }, { "title": "Properties", "children": [ - 996, - 997 + 1015, + 1016 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 1008, + "id": 1027, "name": "AdminGetPaymentCollectionsParams", "variant": "declaration", "kind": 128, @@ -28530,39 +30264,39 @@ }, "children": [ { - "id": 1009, + "id": 1028, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1010, + "id": 1029, "name": "new AdminGetPaymentCollectionsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1008, + "target": 1027, "name": "AdminGetPaymentCollectionsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 1011, + "id": 1030, "name": "expand", "variant": "declaration", "kind": 1024, @@ -28575,6 +30309,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -28583,12 +30323,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 1012, + "id": 1031, "name": "fields", "variant": "declaration", "kind": 1024, @@ -28599,7 +30339,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -28609,7 +30365,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -28618,28 +30374,28 @@ { "title": "Constructors", "children": [ - 1009 + 1028 ] }, { "title": "Properties", "children": [ - 1011, - 1012 + 1030, + 1031 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 998, + "id": 1017, "name": "defaultPaymentCollectionFields", "variant": "declaration", "kind": 32, @@ -28656,7 +30412,7 @@ "defaultValue": "..." }, { - "id": 999, + "id": 1018, "name": "defaulPaymentCollectionRelations", "variant": "declaration", "kind": 32, @@ -28673,7 +30429,7 @@ "defaultValue": "..." }, { - "id": 1000, + "id": 1019, "name": "AdminPaymentCollectionsRes", "variant": "declaration", "kind": 2097152, @@ -28692,14 +30448,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1001, + "id": 1020, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1002, + "id": 1021, "name": "payment_collection", "variant": "declaration", "kind": 1024, @@ -28727,7 +30483,7 @@ { "title": "Properties", "children": [ - 1002 + 1021 ] } ] @@ -28735,7 +30491,7 @@ } }, { - "id": 1003, + "id": 1022, "name": "AdminPaymentCollectionDeleteRes", "variant": "declaration", "kind": 2097152, @@ -28754,14 +30510,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1004, + "id": 1023, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1005, + "id": 1024, "name": "id", "variant": "declaration", "kind": 1024, @@ -28780,7 +30536,7 @@ } }, { - "id": 1006, + "id": 1025, "name": "object", "variant": "declaration", "kind": 1024, @@ -28800,7 +30556,7 @@ "defaultValue": "payment_collection" }, { - "id": 1007, + "id": 1026, "name": "deleted", "variant": "declaration", "kind": 1024, @@ -28824,9 +30580,9 @@ { "title": "Properties", "children": [ - 1005, - 1006, - 1007 + 1024, + 1025, + 1026 ] } ] @@ -28834,7 +30590,7 @@ } }, { - "id": 1013, + "id": 1032, "name": "AdminUpdatePaymentCollectionsReq", "variant": "declaration", "kind": 128, @@ -28849,14 +30605,14 @@ }, "children": [ { - "id": 1014, + "id": 1033, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1015, + "id": 1034, "name": "new AdminUpdatePaymentCollectionsReq", "variant": "signature", "kind": 16384, @@ -28871,7 +30627,7 @@ }, "type": { "type": "reference", - "target": 1013, + "target": 1032, "name": "AdminUpdatePaymentCollectionsReq", "package": "@medusajs/medusa" } @@ -28879,7 +30635,7 @@ ] }, { - "id": 1016, + "id": 1035, "name": "description", "variant": "declaration", "kind": 1024, @@ -28900,7 +30656,7 @@ } }, { - "id": 1017, + "id": 1036, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -28940,20 +30696,20 @@ { "title": "Constructors", "children": [ - 1014 + 1033 ] }, { "title": "Properties", "children": [ - 1016, - 1017 + 1035, + 1036 ] } ] }, { - "id": 1025, + "id": 1044, "name": "GetPaymentsParams", "variant": "declaration", "kind": 128, @@ -28968,39 +30724,39 @@ }, "children": [ { - "id": 1026, + "id": 1045, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1027, + "id": 1046, "name": "new GetPaymentsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1025, + "target": 1044, "name": "GetPaymentsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 1028, + "id": 1047, "name": "expand", "variant": "declaration", "kind": 1024, @@ -29013,6 +30769,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -29021,12 +30783,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 1029, + "id": 1048, "name": "fields", "variant": "declaration", "kind": 1024, @@ -29037,7 +30799,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -29047,7 +30825,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -29056,28 +30834,28 @@ { "title": "Constructors", "children": [ - 1026 + 1045 ] }, { "title": "Properties", "children": [ - 1028, - 1029 + 1047, + 1048 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 1018, + "id": 1037, "name": "defaultPaymentFields", "variant": "declaration", "kind": 32, @@ -29094,7 +30872,7 @@ "defaultValue": "..." }, { - "id": 1019, + "id": 1038, "name": "AdminPaymentRes", "variant": "declaration", "kind": 2097152, @@ -29113,14 +30891,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1020, + "id": 1039, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1021, + "id": 1040, "name": "payment", "variant": "declaration", "kind": 1024, @@ -29148,7 +30926,7 @@ { "title": "Properties", "children": [ - 1021 + 1040 ] } ] @@ -29156,7 +30934,7 @@ } }, { - "id": 1022, + "id": 1041, "name": "AdminRefundRes", "variant": "declaration", "kind": 2097152, @@ -29175,14 +30953,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1023, + "id": 1042, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1024, + "id": 1043, "name": "refund", "variant": "declaration", "kind": 1024, @@ -29210,7 +30988,7 @@ { "title": "Properties", "children": [ - 1024 + 1043 ] } ] @@ -29218,7 +30996,7 @@ } }, { - "id": 1030, + "id": 1049, "name": "AdminPostPaymentRefundsReq", "variant": "declaration", "kind": 128, @@ -29233,14 +31011,14 @@ }, "children": [ { - "id": 1031, + "id": 1050, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1032, + "id": 1051, "name": "new AdminPostPaymentRefundsReq", "variant": "signature", "kind": 16384, @@ -29255,7 +31033,7 @@ }, "type": { "type": "reference", - "target": 1030, + "target": 1049, "name": "AdminPostPaymentRefundsReq", "package": "@medusajs/medusa" } @@ -29263,7 +31041,7 @@ ] }, { - "id": 1033, + "id": 1052, "name": "amount", "variant": "declaration", "kind": 1024, @@ -29282,7 +31060,7 @@ } }, { - "id": 1034, + "id": 1053, "name": "reason", "variant": "declaration", "kind": 1024, @@ -29306,7 +31084,7 @@ } }, { - "id": 1035, + "id": 1054, "name": "note", "variant": "declaration", "kind": 1024, @@ -29331,21 +31109,21 @@ { "title": "Constructors", "children": [ - 1031 + 1050 ] }, { "title": "Properties", "children": [ - 1033, - 1034, - 1035 + 1052, + 1053, + 1054 ] } ] }, { - "id": 1084, + "id": 1074, "name": "AdminPostPriceListPricesPricesReq", "variant": "declaration", "kind": 128, @@ -29360,14 +31138,14 @@ }, "children": [ { - "id": 1085, + "id": 1075, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1086, + "id": 1076, "name": "new AdminPostPriceListPricesPricesReq", "variant": "signature", "kind": 16384, @@ -29382,7 +31160,7 @@ }, "type": { "type": "reference", - "target": 1084, + "target": 1074, "name": "AdminPostPriceListPricesPricesReq", "package": "@medusajs/medusa" } @@ -29390,7 +31168,7 @@ ] }, { - "id": 1087, + "id": 1077, "name": "prices", "variant": "declaration", "kind": 1024, @@ -29407,14 +31185,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4133, + "target": 4190, "name": "AdminPriceListPricesUpdateReq", "package": "@medusajs/medusa" } } }, { - "id": 1088, + "id": 1078, "name": "override", "variant": "declaration", "kind": 1024, @@ -29439,20 +31217,20 @@ { "title": "Constructors", "children": [ - 1085 + 1075 ] }, { "title": "Properties", "children": [ - 1087, - 1088 + 1077, + 1078 ] } ] }, { - "id": 4602, + "id": 4709, "name": "CustomerGroup", "variant": "declaration", "kind": 128, @@ -29467,14 +31245,14 @@ }, "children": [ { - "id": 4603, + "id": 4710, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4604, + "id": 4711, "name": "new CustomerGroup", "variant": "signature", "kind": 16384, @@ -29489,7 +31267,7 @@ }, "type": { "type": "reference", - "target": 4602, + "target": 4709, "name": "CustomerGroup", "package": "@medusajs/medusa" } @@ -29497,7 +31275,7 @@ ] }, { - "id": 4605, + "id": 4712, "name": "id", "variant": "declaration", "kind": 1024, @@ -29520,19 +31298,19 @@ { "title": "Constructors", "children": [ - 4603 + 4710 ] }, { "title": "Properties", "children": [ - 4605 + 4712 ] } ] }, { - "id": 1089, + "id": 1079, "name": "AdminPostPriceListsPriceListReq", "variant": "declaration", "kind": 128, @@ -29547,14 +31325,14 @@ }, "children": [ { - "id": 1090, + "id": 1080, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1091, + "id": 1081, "name": "new AdminPostPriceListsPriceListReq", "variant": "signature", "kind": 16384, @@ -29569,7 +31347,7 @@ }, "type": { "type": "reference", - "target": 1089, + "target": 1079, "name": "AdminPostPriceListsPriceListReq", "package": "@medusajs/medusa" } @@ -29577,7 +31355,7 @@ ] }, { - "id": 1092, + "id": 1082, "name": "name", "variant": "declaration", "kind": 1024, @@ -29596,7 +31374,7 @@ } }, { - "id": 1093, + "id": 1083, "name": "description", "variant": "declaration", "kind": 1024, @@ -29615,7 +31393,7 @@ } }, { - "id": 1094, + "id": 1084, "name": "starts_at", "variant": "declaration", "kind": 1024, @@ -29641,7 +31419,7 @@ } }, { - "id": 1095, + "id": 1085, "name": "ends_at", "variant": "declaration", "kind": 1024, @@ -29667,7 +31445,7 @@ } }, { - "id": 1096, + "id": 1086, "name": "status", "variant": "declaration", "kind": 1024, @@ -29684,13 +31462,13 @@ }, "type": { "type": "reference", - "target": 4596, + "target": 4703, "name": "PriceListStatus", "package": "@medusajs/utils" } }, { - "id": 1097, + "id": 1087, "name": "type", "variant": "declaration", "kind": 1024, @@ -29705,13 +31483,13 @@ }, "type": { "type": "reference", - "target": 4599, + "target": 4706, "name": "PriceListType", "package": "@medusajs/utils" } }, { - "id": 1098, + "id": 1088, "name": "prices", "variant": "declaration", "kind": 1024, @@ -29728,14 +31506,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4143, + "target": 4200, "name": "AdminPriceListPricesCreateReq", "package": "@medusajs/medusa" } } }, { - "id": 1099, + "id": 1089, "name": "customer_groups", "variant": "declaration", "kind": 1024, @@ -29754,14 +31532,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4602, + "target": 4709, "name": "CustomerGroup", "package": "@medusajs/medusa" } } }, { - "id": 1100, + "id": 1090, "name": "includes_tax", "variant": "declaration", "kind": 1024, @@ -29808,27 +31586,27 @@ { "title": "Constructors", "children": [ - 1090 + 1080 ] }, { "title": "Properties", "children": [ - 1092, - 1093, - 1094, - 1095, - 1096, - 1097, - 1098, - 1099, - 1100 + 1082, + 1083, + 1084, + 1085, + 1086, + 1087, + 1088, + 1089, + 1090 ] } ] }, { - "id": 1101, + "id": 1091, "name": "AdminDeletePriceListPricesPricesReq", "variant": "declaration", "kind": 128, @@ -29843,14 +31621,14 @@ }, "children": [ { - "id": 1102, + "id": 1092, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1103, + "id": 1093, "name": "new AdminDeletePriceListPricesPricesReq", "variant": "signature", "kind": 16384, @@ -29865,7 +31643,7 @@ }, "type": { "type": "reference", - "target": 1101, + "target": 1091, "name": "AdminDeletePriceListPricesPricesReq", "package": "@medusajs/medusa" } @@ -29873,7 +31651,7 @@ ] }, { - "id": 1104, + "id": 1094, "name": "price_ids", "variant": "declaration", "kind": 1024, @@ -29899,19 +31677,19 @@ { "title": "Constructors", "children": [ - 1102 + 1092 ] }, { "title": "Properties", "children": [ - 1104 + 1094 ] } ] }, { - "id": 1105, + "id": 1095, "name": "AdminDeletePriceListsPriceListProductsPricesBatchReq", "variant": "declaration", "kind": 128, @@ -29926,14 +31704,14 @@ }, "children": [ { - "id": 1106, + "id": 1096, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1107, + "id": 1097, "name": "new AdminDeletePriceListsPriceListProductsPricesBatchReq", "variant": "signature", "kind": 16384, @@ -29948,7 +31726,7 @@ }, "type": { "type": "reference", - "target": 1105, + "target": 1095, "name": "AdminDeletePriceListsPriceListProductsPricesBatchReq", "package": "@medusajs/medusa" } @@ -29956,7 +31734,7 @@ ] }, { - "id": 1108, + "id": 1098, "name": "product_ids", "variant": "declaration", "kind": 1024, @@ -29982,440 +31760,19 @@ { "title": "Constructors", "children": [ - 1106 + 1096 ] }, { "title": "Properties", "children": [ - 1108 + 1098 ] } ] }, { - "id": 1036, - "name": "defaultAdminPriceListRemoteQueryObject", - "variant": "declaration", - "kind": 32, - "flags": { - "isConst": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1037, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1038, - "name": "fields", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - "defaultValue": "..." - }, - { - "id": 1039, - "name": "price_list_rules", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1040, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1041, - "name": "price_list_rule_values", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1042, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1043, - "name": "fields", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1043 - ] - } - ] - } - }, - "defaultValue": "..." - }, - { - "id": 1044, - "name": "rule_type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1045, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1046, - "name": "fields", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1046 - ] - } - ] - } - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1041, - 1044 - ] - } - ] - } - }, - "defaultValue": "..." - }, - { - "id": 1047, - "name": "price_set_money_amounts", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1048, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1049, - "name": "money_amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1050, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1051, - "name": "fields", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1051 - ] - } - ] - } - }, - "defaultValue": "..." - }, - { - "id": 1052, - "name": "price_rules", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1053, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1054, - "name": "fields", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - "defaultValue": "..." - }, - { - "id": 1055, - "name": "rule_type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1056, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1057, - "name": "fields", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1057 - ] - } - ] - } - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1054, - 1055 - ] - } - ] - } - }, - "defaultValue": "..." - }, - { - "id": 1058, - "name": "price_set", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1059, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1060, - "name": "variant_link", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1061, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1062, - "name": "variant", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1063, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1064, - "name": "fields", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - "defaultValue": "defaultAdminProductRemoteQueryObject.variants.fields" - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1064 - ] - } - ] - } - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1062 - ] - } - ] - } - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1060 - ] - } - ] - } - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1049, - 1052, - 1058 - ] - } - ] - } - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1038, - 1039, - 1047 - ] - } - ] - } - }, - "defaultValue": "..." - }, - { - "id": 1065, + "id": 1055, "name": "defaultAdminPriceListFields", "variant": "declaration", "kind": 32, @@ -30432,7 +31789,7 @@ "defaultValue": "..." }, { - "id": 1066, + "id": 1056, "name": "defaultAdminPriceListRelations", "variant": "declaration", "kind": 32, @@ -30449,7 +31806,7 @@ "defaultValue": "..." }, { - "id": 1067, + "id": 1057, "name": "AdminPriceListRes", "variant": "declaration", "kind": 2097152, @@ -30468,14 +31825,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1068, + "id": 1058, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1069, + "id": 1059, "name": "price_list", "variant": "declaration", "kind": 1024, @@ -30503,7 +31860,7 @@ { "title": "Properties", "children": [ - 1069 + 1059 ] } ] @@ -30511,7 +31868,7 @@ } }, { - "id": 1070, + "id": 1060, "name": "AdminPriceListDeleteBatchRes", "variant": "declaration", "kind": 2097152, @@ -30530,14 +31887,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1071, + "id": 1061, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1072, + "id": 1062, "name": "ids", "variant": "declaration", "kind": 1024, @@ -30559,7 +31916,7 @@ } }, { - "id": 1073, + "id": 1063, "name": "deleted", "variant": "declaration", "kind": 1024, @@ -30579,7 +31936,7 @@ "defaultValue": true }, { - "id": 1074, + "id": 1064, "name": "object", "variant": "declaration", "kind": 1024, @@ -30603,9 +31960,9 @@ { "title": "Properties", "children": [ - 1072, - 1073, - 1074 + 1062, + 1063, + 1064 ] } ] @@ -30613,7 +31970,7 @@ } }, { - "id": 1075, + "id": 1065, "name": "AdminPriceListDeleteProductPricesRes", "variant": "declaration", "kind": 2097152, @@ -30626,13 +31983,13 @@ }, "type": { "type": "reference", - "target": 1070, + "target": 1060, "name": "AdminPriceListDeleteBatchRes", "package": "@medusajs/medusa" } }, { - "id": 1076, + "id": 1066, "name": "AdminPriceListDeleteVariantPricesRes", "variant": "declaration", "kind": 2097152, @@ -30645,13 +32002,13 @@ }, "type": { "type": "reference", - "target": 1070, + "target": 1060, "name": "AdminPriceListDeleteBatchRes", "package": "@medusajs/medusa" } }, { - "id": 1077, + "id": 1067, "name": "AdminPriceListDeleteRes", "variant": "declaration", "kind": 2097152, @@ -30664,13 +32021,13 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 1078, + "id": 1068, "name": "AdminPriceListsListRes", "variant": "declaration", "kind": 2097152, @@ -30691,21 +32048,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 1079, + "id": 1069, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1080, + "id": 1070, "name": "price_lists", "variant": "declaration", "kind": 1024, @@ -30736,7 +32093,7 @@ { "title": "Properties", "children": [ - 1080 + 1070 ] } ] @@ -30746,7 +32103,7 @@ } }, { - "id": 1081, + "id": 1071, "name": "AdminPriceListsProductsListRes", "variant": "declaration", "kind": 2097152, @@ -30767,21 +32124,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 1082, + "id": 1072, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1083, + "id": 1073, "name": "products", "variant": "declaration", "kind": 1024, @@ -30812,7 +32169,7 @@ { "title": "Properties", "children": [ - 1083 + 1073 ] } ] @@ -30822,7 +32179,7 @@ } }, { - "id": 1109, + "id": 1099, "name": "AdminGetPriceListsPriceListProductsParams", "variant": "declaration", "kind": 128, @@ -30837,7 +32194,7 @@ }, "children": [ { - "id": 1113, + "id": 1103, "name": "id", "variant": "declaration", "kind": 1024, @@ -30853,12 +32210,24 @@ ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 1114, + "id": 1104, "name": "q", "variant": "declaration", "kind": 1024, @@ -30879,7 +32248,7 @@ } }, { - "id": 1115, + "id": 1105, "name": "status", "variant": "declaration", "kind": 1024, @@ -30908,7 +32277,7 @@ } }, { - "id": 1116, + "id": 1106, "name": "collection_id", "variant": "declaration", "kind": 1024, @@ -30932,7 +32301,7 @@ } }, { - "id": 1117, + "id": 1107, "name": "tags", "variant": "declaration", "kind": 1024, @@ -30956,7 +32325,7 @@ } }, { - "id": 1118, + "id": 1108, "name": "title", "variant": "declaration", "kind": 1024, @@ -30977,7 +32346,7 @@ } }, { - "id": 1119, + "id": 1109, "name": "description", "variant": "declaration", "kind": 1024, @@ -30998,7 +32367,7 @@ } }, { - "id": 1120, + "id": 1110, "name": "handle", "variant": "declaration", "kind": 1024, @@ -31019,7 +32388,7 @@ } }, { - "id": 1121, + "id": 1111, "name": "is_giftcard", "variant": "declaration", "kind": 1024, @@ -31036,11 +32405,11 @@ }, "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" } }, { - "id": 1122, + "id": 1112, "name": "type", "variant": "declaration", "kind": 1024, @@ -31061,7 +32430,7 @@ } }, { - "id": 1123, + "id": 1113, "name": "order", "variant": "declaration", "kind": 1024, @@ -31087,10 +32456,15 @@ "type": { "type": "intrinsic", "name": "string" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin(\n { limit: 50 }\n).order" } }, { - "id": 1124, + "id": 1114, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -31115,13 +32489,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 1125, + "id": 1115, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -31146,13 +32520,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 1126, + "id": 1116, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -31177,13 +32551,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 1127, + "id": 1117, "name": "expand", "variant": "declaration", "kind": 1024, @@ -31196,6 +32570,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -31209,7 +32589,7 @@ } }, { - "id": 1128, + "id": 1118, "name": "fields", "variant": "declaration", "kind": 1024, @@ -31220,7 +32600,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -31235,7 +32631,7 @@ } }, { - "id": 1129, + "id": 1119, "name": "offset", "variant": "declaration", "kind": 1024, @@ -31273,7 +32669,7 @@ } }, { - "id": 1130, + "id": 1120, "name": "limit", "variant": "declaration", "kind": 1024, @@ -31308,21 +32704,21 @@ } }, { - "id": 1110, + "id": 1100, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1111, + "id": 1101, "name": "new AdminGetPriceListsPriceListProductsParams", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 1112, + "id": 1102, "name": "args", "variant": "param", "kind": 32768, @@ -31340,7 +32736,7 @@ ], "type": { "type": "reference", - "target": 1109, + "target": 1099, "name": "AdminGetPriceListsPriceListProductsParams", "package": "@medusajs/medusa" }, @@ -31362,12 +32758,22 @@ { "title": "Constructors", "children": [ - 1110 + 1100 ] }, { "title": "Properties", "children": [ + 1103, + 1104, + 1105, + 1106, + 1107, + 1108, + 1109, + 1110, + 1111, + 1112, 1113, 1114, 1115, @@ -31375,17 +32781,7 @@ 1117, 1118, 1119, - 1120, - 1121, - 1122, - 1123, - 1124, - 1125, - 1126, - 1127, - 1128, - 1129, - 1130 + 1120 ] } ], @@ -31395,7 +32791,7 @@ "types": [ { "type": "reference", - "target": 4016, + "target": 4072, "typeArguments": [ { "type": "intrinsic", @@ -31407,7 +32803,7 @@ }, { "type": "reference", - "target": 4021, + "target": 4077, "typeArguments": [ { "type": "intrinsic", @@ -31422,7 +32818,7 @@ ] }, { - "id": 1131, + "id": 1121, "name": "AdminGetPriceListPaginationParams", "variant": "declaration", "kind": 128, @@ -31437,39 +32833,39 @@ }, "children": [ { - "id": 1132, + "id": 1122, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1133, + "id": 1123, "name": "new AdminGetPriceListPaginationParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1131, + "target": 1121, "name": "AdminGetPriceListPaginationParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4122, + "target": 4179, "name": "FilterablePriceListProps.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4121, + "target": 4178, "name": "FilterablePriceListProps.constructor" } }, { - "id": 1134, + "id": 1124, "name": "offset", "variant": "declaration", "kind": 1024, @@ -31502,7 +32898,7 @@ "defaultValue": "0" }, { - "id": 1135, + "id": 1125, "name": "limit", "variant": "declaration", "kind": 1024, @@ -31535,7 +32931,7 @@ "defaultValue": "10" }, { - "id": 1136, + "id": 1126, "name": "expand", "variant": "declaration", "kind": 1024, @@ -31556,7 +32952,7 @@ } }, { - "id": 1137, + "id": 1127, "name": "order", "variant": "declaration", "kind": 1024, @@ -31585,7 +32981,7 @@ } }, { - "id": 1138, + "id": 1128, "name": "id", "variant": "declaration", "kind": 1024, @@ -31606,12 +33002,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4123, + "target": 4180, "name": "FilterablePriceListProps.id" } }, { - "id": 1139, + "id": 1129, "name": "q", "variant": "declaration", "kind": 1024, @@ -31632,12 +33028,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4124, + "target": 4181, "name": "FilterablePriceListProps.q" } }, { - "id": 1140, + "id": 1130, "name": "status", "variant": "declaration", "kind": 1024, @@ -31656,19 +33052,19 @@ "type": "array", "elementType": { "type": "reference", - "target": 4117, + "target": 4174, "name": "PriceListStatus", "package": "@medusajs/medusa" } }, "inheritedFrom": { "type": "reference", - "target": 4125, + "target": 4182, "name": "FilterablePriceListProps.status" } }, { - "id": 1141, + "id": 1131, "name": "name", "variant": "declaration", "kind": 1024, @@ -31689,12 +33085,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4126, + "target": 4183, "name": "FilterablePriceListProps.name" } }, { - "id": 1142, + "id": 1132, "name": "customer_groups", "variant": "declaration", "kind": 1024, @@ -31718,12 +33114,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4127, + "target": 4184, "name": "FilterablePriceListProps.customer_groups" } }, { - "id": 1143, + "id": 1133, "name": "description", "variant": "declaration", "kind": 1024, @@ -31744,12 +33140,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4128, + "target": 4185, "name": "FilterablePriceListProps.description" } }, { - "id": 1144, + "id": 1134, "name": "type", "variant": "declaration", "kind": 1024, @@ -31768,19 +33164,19 @@ "type": "array", "elementType": { "type": "reference", - "target": 4114, + "target": 4171, "name": "PriceListType", "package": "@medusajs/medusa" } }, "inheritedFrom": { "type": "reference", - "target": 4129, + "target": 4186, "name": "FilterablePriceListProps.type" } }, { - "id": 1145, + "id": 1135, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -31805,18 +33201,18 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4130, + "target": 4187, "name": "FilterablePriceListProps.created_at" } }, { - "id": 1146, + "id": 1136, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -31841,18 +33237,18 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4131, + "target": 4188, "name": "FilterablePriceListProps.updated_at" } }, { - "id": 1147, + "id": 1137, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -31877,13 +33273,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4132, + "target": 4189, "name": "FilterablePriceListProps.deleted_at" } } @@ -31892,40 +33288,40 @@ { "title": "Constructors", "children": [ - 1132 + 1122 ] }, { "title": "Properties", "children": [ + 1124, + 1125, + 1126, + 1127, + 1128, + 1129, + 1130, + 1131, + 1132, + 1133, 1134, 1135, 1136, - 1137, - 1138, - 1139, - 1140, - 1141, - 1142, - 1143, - 1144, - 1145, - 1146, - 1147 + 1137 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4120, + "target": 4177, "name": "FilterablePriceListProps", "package": "@medusajs/medusa" } ] }, { - "id": 4606, + "id": 4713, "name": "CustomerGroup", "variant": "declaration", "kind": 128, @@ -31940,14 +33336,14 @@ }, "children": [ { - "id": 4607, + "id": 4714, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4608, + "id": 4715, "name": "new CustomerGroup", "variant": "signature", "kind": 16384, @@ -31962,7 +33358,7 @@ }, "type": { "type": "reference", - "target": 4606, + "target": 4713, "name": "CustomerGroup", "package": "@medusajs/medusa" } @@ -31970,7 +33366,7 @@ ] }, { - "id": 4609, + "id": 4716, "name": "id", "variant": "declaration", "kind": 1024, @@ -31993,19 +33389,19 @@ { "title": "Constructors", "children": [ - 4607 + 4714 ] }, { "title": "Properties", "children": [ - 4609 + 4716 ] } ] }, { - "id": 1148, + "id": 1138, "name": "AdminPostPriceListsPriceListPriceListReq", "variant": "declaration", "kind": 128, @@ -32020,14 +33416,14 @@ }, "children": [ { - "id": 1149, + "id": 1139, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1150, + "id": 1140, "name": "new AdminPostPriceListsPriceListPriceListReq", "variant": "signature", "kind": 16384, @@ -32042,7 +33438,7 @@ }, "type": { "type": "reference", - "target": 1148, + "target": 1138, "name": "AdminPostPriceListsPriceListPriceListReq", "package": "@medusajs/medusa" } @@ -32050,7 +33446,7 @@ ] }, { - "id": 1151, + "id": 1141, "name": "name", "variant": "declaration", "kind": 1024, @@ -32071,7 +33467,7 @@ } }, { - "id": 1152, + "id": 1142, "name": "description", "variant": "declaration", "kind": 1024, @@ -32092,7 +33488,7 @@ } }, { - "id": 1153, + "id": 1143, "name": "starts_at", "variant": "declaration", "kind": 1024, @@ -32127,7 +33523,7 @@ } }, { - "id": 1154, + "id": 1144, "name": "ends_at", "variant": "declaration", "kind": 1024, @@ -32162,7 +33558,7 @@ } }, { - "id": 1155, + "id": 1145, "name": "status", "variant": "declaration", "kind": 1024, @@ -32179,13 +33575,13 @@ }, "type": { "type": "reference", - "target": 4596, + "target": 4703, "name": "PriceListStatus", "package": "@medusajs/utils" } }, { - "id": 1156, + "id": 1146, "name": "type", "variant": "declaration", "kind": 1024, @@ -32202,13 +33598,13 @@ }, "type": { "type": "reference", - "target": 4599, + "target": 4706, "name": "PriceListType", "package": "@medusajs/utils" } }, { - "id": 1157, + "id": 1147, "name": "prices", "variant": "declaration", "kind": 1024, @@ -32227,14 +33623,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4133, + "target": 4190, "name": "AdminPriceListPricesUpdateReq", "package": "@medusajs/medusa" } } }, { - "id": 1158, + "id": 1148, "name": "customer_groups", "variant": "declaration", "kind": 1024, @@ -32253,14 +33649,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4606, + "target": 4713, "name": "CustomerGroup", "package": "@medusajs/medusa" } } }, { - "id": 1159, + "id": 1149, "name": "includes_tax", "variant": "declaration", "kind": 1024, @@ -32307,27 +33703,27 @@ { "title": "Constructors", "children": [ - 1149 + 1139 ] }, { "title": "Properties", "children": [ - 1151, - 1152, - 1153, - 1154, - 1155, - 1156, - 1157, - 1158, - 1159 + 1141, + 1142, + 1143, + 1144, + 1145, + 1146, + 1147, + 1148, + 1149 ] } ] }, { - "id": 1220, + "id": 1211, "name": "AdminPostProductCategoriesCategoryProductsBatchReq", "variant": "declaration", "kind": 128, @@ -32342,14 +33738,14 @@ }, "children": [ { - "id": 1221, + "id": 1212, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1222, + "id": 1213, "name": "new AdminPostProductCategoriesCategoryProductsBatchReq", "variant": "signature", "kind": 16384, @@ -32364,7 +33760,7 @@ }, "type": { "type": "reference", - "target": 1220, + "target": 1211, "name": "AdminPostProductCategoriesCategoryProductsBatchReq", "package": "@medusajs/medusa" } @@ -32372,7 +33768,7 @@ ] }, { - "id": 1223, + "id": 1214, "name": "product_ids", "variant": "declaration", "kind": 1024, @@ -32389,7 +33785,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4618, + "target": 4725, "name": "ProductBatchProductCategory", "package": "@medusajs/medusa" } @@ -32400,19 +33796,19 @@ { "title": "Constructors", "children": [ - 1221 + 1212 ] }, { "title": "Properties", "children": [ - 1223 + 1214 ] } ] }, { - "id": 1224, + "id": 1215, "name": "AdminPostProductCategoriesCategoryProductsBatchParams", "variant": "declaration", "kind": 128, @@ -32427,39 +33823,39 @@ }, "children": [ { - "id": 1225, + "id": 1216, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1226, + "id": 1217, "name": "new AdminPostProductCategoriesCategoryProductsBatchParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1224, + "target": 1215, "name": "AdminPostProductCategoriesCategoryProductsBatchParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 1227, + "id": 1218, "name": "expand", "variant": "declaration", "kind": 1024, @@ -32472,6 +33868,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -32480,12 +33882,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 1228, + "id": 1219, "name": "fields", "variant": "declaration", "kind": 1024, @@ -32496,7 +33898,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -32506,7 +33924,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -32515,28 +33933,28 @@ { "title": "Constructors", "children": [ - 1225 + 1216 ] }, { "title": "Properties", "children": [ - 1227, - 1228 + 1218, + 1219 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 1189, + "id": 1180, "name": "AdminPostProductCategoriesReq", "variant": "declaration", "kind": 128, @@ -32551,14 +33969,14 @@ }, "children": [ { - "id": 1190, + "id": 1181, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1191, + "id": 1182, "name": "new AdminPostProductCategoriesReq", "variant": "signature", "kind": 16384, @@ -32573,25 +33991,25 @@ }, "type": { "type": "reference", - "target": 1189, + "target": 1180, "name": "AdminPostProductCategoriesReq", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4612, + "target": 4719, "name": "AdminProductCategoriesReqBase.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4611, + "target": 4718, "name": "AdminProductCategoriesReqBase.constructor" } }, { - "id": 1192, + "id": 1183, "name": "name", "variant": "declaration", "kind": 1024, @@ -32610,7 +34028,7 @@ } }, { - "id": 1193, + "id": 1184, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -32646,7 +34064,7 @@ } }, { - "id": 1194, + "id": 1185, "name": "description", "variant": "declaration", "kind": 1024, @@ -32667,12 +34085,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4613, + "target": 4720, "name": "AdminProductCategoriesReqBase.description" } }, { - "id": 1195, + "id": 1186, "name": "handle", "variant": "declaration", "kind": 1024, @@ -32693,12 +34111,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4614, + "target": 4721, "name": "AdminProductCategoriesReqBase.handle" } }, { - "id": 1196, + "id": 1187, "name": "is_internal", "variant": "declaration", "kind": 1024, @@ -32719,12 +34137,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4615, + "target": 4722, "name": "AdminProductCategoriesReqBase.is_internal" } }, { - "id": 1197, + "id": 1188, "name": "is_active", "variant": "declaration", "kind": 1024, @@ -32745,12 +34163,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4616, + "target": 4723, "name": "AdminProductCategoriesReqBase.is_active" } }, { - "id": 1198, + "id": 1189, "name": "parent_category_id", "variant": "declaration", "kind": 1024, @@ -32780,7 +34198,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4617, + "target": 4724, "name": "AdminProductCategoriesReqBase.parent_category_id" } } @@ -32789,33 +34207,33 @@ { "title": "Constructors", "children": [ - 1190 + 1181 ] }, { "title": "Properties", "children": [ - 1192, - 1193, - 1194, - 1195, - 1196, - 1197, - 1198 + 1183, + 1184, + 1185, + 1186, + 1187, + 1188, + 1189 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4610, + "target": 4717, "name": "AdminProductCategoriesReqBase", "package": "@medusajs/medusa" } ] }, { - "id": 1199, + "id": 1190, "name": "AdminPostProductCategoriesParams", "variant": "declaration", "kind": 128, @@ -32830,39 +34248,39 @@ }, "children": [ { - "id": 1200, + "id": 1191, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1201, + "id": 1192, "name": "new AdminPostProductCategoriesParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1199, + "target": 1190, "name": "AdminPostProductCategoriesParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 1202, + "id": 1193, "name": "expand", "variant": "declaration", "kind": 1024, @@ -32875,6 +34293,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -32883,12 +34307,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 1203, + "id": 1194, "name": "fields", "variant": "declaration", "kind": 1024, @@ -32899,7 +34323,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -32909,7 +34349,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -32918,28 +34358,28 @@ { "title": "Constructors", "children": [ - 1200 + 1191 ] }, { "title": "Properties", "children": [ - 1202, - 1203 + 1193, + 1194 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 1229, + "id": 1220, "name": "AdminDeleteProductCategoriesCategoryProductsBatchReq", "variant": "declaration", "kind": 128, @@ -32954,14 +34394,14 @@ }, "children": [ { - "id": 1230, + "id": 1221, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1231, + "id": 1222, "name": "new AdminDeleteProductCategoriesCategoryProductsBatchReq", "variant": "signature", "kind": 16384, @@ -32976,7 +34416,7 @@ }, "type": { "type": "reference", - "target": 1229, + "target": 1220, "name": "AdminDeleteProductCategoriesCategoryProductsBatchReq", "package": "@medusajs/medusa" } @@ -32984,7 +34424,7 @@ ] }, { - "id": 1232, + "id": 1223, "name": "product_ids", "variant": "declaration", "kind": 1024, @@ -33001,7 +34441,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4618, + "target": 4725, "name": "ProductBatchProductCategory", "package": "@medusajs/medusa" } @@ -33012,19 +34452,19 @@ { "title": "Constructors", "children": [ - 1230 + 1221 ] }, { "title": "Properties", "children": [ - 1232 + 1223 ] } ] }, { - "id": 1233, + "id": 1224, "name": "AdminDeleteProductCategoriesCategoryProductsBatchParams", "variant": "declaration", "kind": 128, @@ -33039,39 +34479,39 @@ }, "children": [ { - "id": 1234, + "id": 1225, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1235, + "id": 1226, "name": "new AdminDeleteProductCategoriesCategoryProductsBatchParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1233, + "target": 1224, "name": "AdminDeleteProductCategoriesCategoryProductsBatchParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 1236, + "id": 1227, "name": "expand", "variant": "declaration", "kind": 1024, @@ -33084,6 +34524,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -33092,12 +34538,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 1237, + "id": 1228, "name": "fields", "variant": "declaration", "kind": 1024, @@ -33108,7 +34554,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -33118,7 +34580,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -33127,28 +34589,28 @@ { "title": "Constructors", "children": [ - 1234 + 1225 ] }, { "title": "Properties", "children": [ - 1236, - 1237 + 1227, + 1228 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 1170, + "id": 1160, "name": "AdminGetProductCategoryParams", "variant": "declaration", "kind": 128, @@ -33163,39 +34625,39 @@ }, "children": [ { - "id": 1171, + "id": 1161, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1172, + "id": 1162, "name": "new AdminGetProductCategoryParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1170, + "target": 1160, "name": "AdminGetProductCategoryParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 1173, + "id": 1163, "name": "expand", "variant": "declaration", "kind": 1024, @@ -33208,6 +34670,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -33216,12 +34684,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 1174, + "id": 1164, "name": "fields", "variant": "declaration", "kind": 1024, @@ -33232,7 +34700,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -33242,7 +34726,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -33251,28 +34735,28 @@ { "title": "Constructors", "children": [ - 1171 + 1161 ] }, { "title": "Properties", "children": [ - 1173, - 1174 + 1163, + 1164 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 1160, + "id": 1150, "name": "defaultAdminProductCategoryRelations", "variant": "declaration", "kind": 32, @@ -33289,7 +34773,7 @@ "defaultValue": "..." }, { - "id": 1161, + "id": 1151, "name": "allowedAdminProductCategoryRelations", "variant": "declaration", "kind": 32, @@ -33306,7 +34790,7 @@ "defaultValue": "..." }, { - "id": 1162, + "id": 1152, "name": "defaultProductCategoryFields", "variant": "declaration", "kind": 32, @@ -33323,7 +34807,7 @@ "defaultValue": "..." }, { - "id": 1163, + "id": 1153, "name": "AdminProductCategoriesCategoryRes", "variant": "declaration", "kind": 2097152, @@ -33342,14 +34826,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1164, + "id": 1154, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1165, + "id": 1155, "name": "product_category", "variant": "declaration", "kind": 1024, @@ -33377,7 +34861,7 @@ { "title": "Properties", "children": [ - 1165 + 1155 ] } ] @@ -33385,7 +34869,7 @@ } }, { - "id": 1166, + "id": 1156, "name": "AdminProductCategoriesCategoryDeleteRes", "variant": "declaration", "kind": 2097152, @@ -33398,13 +34882,13 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 1167, + "id": 1157, "name": "AdminProductCategoriesListRes", "variant": "declaration", "kind": 2097152, @@ -33425,21 +34909,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 1168, + "id": 1158, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1169, + "id": 1159, "name": "product_categories", "variant": "declaration", "kind": 1024, @@ -33470,7 +34954,7 @@ { "title": "Properties", "children": [ - 1169 + 1159 ] } ] @@ -33480,7 +34964,7 @@ } }, { - "id": 1175, + "id": 1165, "name": "AdminGetProductCategoriesParams", "variant": "declaration", "kind": 128, @@ -33495,7 +34979,7 @@ }, "children": [ { - "id": 1179, + "id": 1169, "name": "q", "variant": "declaration", "kind": 1024, @@ -33516,7 +35000,7 @@ } }, { - "id": 1180, + "id": 1170, "name": "handle", "variant": "declaration", "kind": 1024, @@ -33537,7 +35021,7 @@ } }, { - "id": 1181, + "id": 1171, "name": "include_descendants_tree", "variant": "declaration", "kind": 1024, @@ -33558,7 +35042,7 @@ } }, { - "id": 1182, + "id": 1172, "name": "is_internal", "variant": "declaration", "kind": 1024, @@ -33579,7 +35063,7 @@ } }, { - "id": 1183, + "id": 1173, "name": "is_active", "variant": "declaration", "kind": 1024, @@ -33600,7 +35084,7 @@ } }, { - "id": 1184, + "id": 1174, "name": "parent_category_id", "variant": "declaration", "kind": 1024, @@ -33630,7 +35114,7 @@ } }, { - "id": 1185, + "id": 1175, "name": "expand", "variant": "declaration", "kind": 1024, @@ -33643,6 +35127,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -33656,7 +35146,7 @@ } }, { - "id": 1186, + "id": 1176, "name": "fields", "variant": "declaration", "kind": 1024, @@ -33667,7 +35157,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -33682,7 +35188,7 @@ } }, { - "id": 1187, + "id": 1177, "name": "offset", "variant": "declaration", "kind": 1024, @@ -33720,7 +35226,7 @@ } }, { - "id": 1188, + "id": 1178, "name": "limit", "variant": "declaration", "kind": 1024, @@ -33755,21 +35261,55 @@ } }, { - "id": 1176, + "id": 1179, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 100,\n offset: 0,\n}).order" + } + }, + { + "id": 1166, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1177, + "id": 1167, "name": "new AdminGetProductCategoriesParams", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 1178, + "id": 1168, "name": "args", "variant": "param", "kind": 32768, @@ -33787,7 +35327,7 @@ ], "type": { "type": "reference", - "target": 1175, + "target": 1165, "name": "AdminGetProductCategoriesParams", "package": "@medusajs/medusa" }, @@ -33809,22 +35349,23 @@ { "title": "Constructors", "children": [ - 1176 + 1166 ] }, { "title": "Properties", "children": [ - 1179, - 1180, - 1181, - 1182, - 1183, - 1184, - 1185, - 1186, - 1187, - 1188 + 1169, + 1170, + 1171, + 1172, + 1173, + 1174, + 1175, + 1176, + 1177, + 1178, + 1179 ] } ], @@ -33834,7 +35375,7 @@ "types": [ { "type": "reference", - "target": 4016, + "target": 4072, "typeArguments": [ { "type": "intrinsic", @@ -33846,7 +35387,7 @@ }, { "type": "reference", - "target": 4021, + "target": 4077, "typeArguments": [ { "type": "intrinsic", @@ -33861,7 +35402,7 @@ ] }, { - "id": 1204, + "id": 1195, "name": "AdminPostProductCategoriesCategoryReq", "variant": "declaration", "kind": 128, @@ -33876,14 +35417,14 @@ }, "children": [ { - "id": 1205, + "id": 1196, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1206, + "id": 1197, "name": "new AdminPostProductCategoriesCategoryReq", "variant": "signature", "kind": 16384, @@ -33898,25 +35439,25 @@ }, "type": { "type": "reference", - "target": 1204, + "target": 1195, "name": "AdminPostProductCategoriesCategoryReq", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4612, + "target": 4719, "name": "AdminProductCategoriesReqBase.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4611, + "target": 4718, "name": "AdminProductCategoriesReqBase.constructor" } }, { - "id": 1207, + "id": 1198, "name": "name", "variant": "declaration", "kind": 1024, @@ -33937,7 +35478,7 @@ } }, { - "id": 1208, + "id": 1199, "name": "handle", "variant": "declaration", "kind": 1024, @@ -33958,12 +35499,12 @@ }, "overwrites": { "type": "reference", - "target": 4614, + "target": 4721, "name": "AdminProductCategoriesReqBase.handle" } }, { - "id": 1209, + "id": 1200, "name": "rank", "variant": "declaration", "kind": 1024, @@ -33984,7 +35525,7 @@ } }, { - "id": 1210, + "id": 1201, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -34020,7 +35561,7 @@ } }, { - "id": 1211, + "id": 1202, "name": "description", "variant": "declaration", "kind": 1024, @@ -34041,12 +35582,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4613, + "target": 4720, "name": "AdminProductCategoriesReqBase.description" } }, { - "id": 1212, + "id": 1203, "name": "is_internal", "variant": "declaration", "kind": 1024, @@ -34067,12 +35608,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4615, + "target": 4722, "name": "AdminProductCategoriesReqBase.is_internal" } }, { - "id": 1213, + "id": 1204, "name": "is_active", "variant": "declaration", "kind": 1024, @@ -34093,12 +35634,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4616, + "target": 4723, "name": "AdminProductCategoriesReqBase.is_active" } }, { - "id": 1214, + "id": 1205, "name": "parent_category_id", "variant": "declaration", "kind": 1024, @@ -34128,7 +35669,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4617, + "target": 4724, "name": "AdminProductCategoriesReqBase.parent_category_id" } } @@ -34137,34 +35678,34 @@ { "title": "Constructors", "children": [ - 1205 + 1196 ] }, { "title": "Properties", "children": [ - 1207, - 1208, - 1209, - 1210, - 1211, - 1212, - 1213, - 1214 + 1198, + 1199, + 1200, + 1201, + 1202, + 1203, + 1204, + 1205 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4610, + "target": 4717, "name": "AdminProductCategoriesReqBase", "package": "@medusajs/medusa" } ] }, { - "id": 1215, + "id": 1206, "name": "AdminPostProductCategoriesCategoryParams", "variant": "declaration", "kind": 128, @@ -34179,39 +35720,39 @@ }, "children": [ { - "id": 1216, + "id": 1207, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1217, + "id": 1208, "name": "new AdminPostProductCategoriesCategoryParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1215, + "target": 1206, "name": "AdminPostProductCategoriesCategoryParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 1218, + "id": 1209, "name": "expand", "variant": "declaration", "kind": 1024, @@ -34224,6 +35765,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -34232,12 +35779,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 1219, + "id": 1210, "name": "fields", "variant": "declaration", "kind": 1024, @@ -34248,7 +35795,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -34258,7 +35821,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -34267,28 +35830,28 @@ { "title": "Constructors", "children": [ - 1216 + 1207 ] }, { "title": "Properties", "children": [ - 1218, - 1219 + 1209, + 1210 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 1238, + "id": 1229, "name": "defaultAdminProductTagsFields", "variant": "declaration", "kind": 32, @@ -34305,7 +35868,7 @@ "defaultValue": "..." }, { - "id": 1239, + "id": 1230, "name": "defaultAdminProductTagsRelations", "variant": "declaration", "kind": 32, @@ -34322,7 +35885,7 @@ "defaultValue": "[]" }, { - "id": 1240, + "id": 1231, "name": "AdminProductTagsListRes", "variant": "declaration", "kind": 2097152, @@ -34343,21 +35906,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 1241, + "id": 1232, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1242, + "id": 1233, "name": "product_tags", "variant": "declaration", "kind": 1024, @@ -34388,7 +35951,7 @@ { "title": "Properties", "children": [ - 1242 + 1233 ] } ] @@ -34398,7 +35961,7 @@ } }, { - "id": 1243, + "id": 1234, "name": "AdminGetProductTagsPaginationParams", "variant": "declaration", "kind": 128, @@ -34413,21 +35976,21 @@ }, "children": [ { - "id": 1244, + "id": 1235, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1245, + "id": 1236, "name": "new AdminGetProductTagsPaginationParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1243, + "target": 1234, "name": "AdminGetProductTagsPaginationParams", "package": "@medusajs/medusa" } @@ -34435,7 +35998,7 @@ ] }, { - "id": 1246, + "id": 1237, "name": "limit", "variant": "declaration", "kind": 1024, @@ -34466,7 +36029,7 @@ "defaultValue": "10" }, { - "id": 1247, + "id": 1238, "name": "offset", "variant": "declaration", "kind": 1024, @@ -34501,27 +36064,27 @@ { "title": "Constructors", "children": [ - 1244 + 1235 ] }, { "title": "Properties", "children": [ - 1246, - 1247 + 1237, + 1238 ] } ], "extendedBy": [ { "type": "reference", - "target": 1248, + "target": 1239, "name": "AdminGetProductTagsParams" } ] }, { - "id": 1248, + "id": 1239, "name": "AdminGetProductTagsParams", "variant": "declaration", "kind": 128, @@ -34536,39 +36099,39 @@ }, "children": [ { - "id": 1249, + "id": 1240, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1250, + "id": 1241, "name": "new AdminGetProductTagsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1248, + "target": 1239, "name": "AdminGetProductTagsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 1245, + "target": 1236, "name": "AdminGetProductTagsPaginationParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 1244, + "target": 1235, "name": "AdminGetProductTagsPaginationParams.constructor" } }, { - "id": 1258, + "id": 1249, "name": "limit", "variant": "declaration", "kind": 1024, @@ -34599,12 +36162,12 @@ "defaultValue": "10", "inheritedFrom": { "type": "reference", - "target": 1246, + "target": 1237, "name": "AdminGetProductTagsPaginationParams.limit" } }, { - "id": 1259, + "id": 1250, "name": "offset", "variant": "declaration", "kind": 1024, @@ -34635,12 +36198,12 @@ "defaultValue": "0", "inheritedFrom": { "type": "reference", - "target": 1247, + "target": 1238, "name": "AdminGetProductTagsPaginationParams.offset" } }, { - "id": 1251, + "id": 1242, "name": "id", "variant": "declaration", "kind": 1024, @@ -34671,7 +36234,7 @@ }, { "type": "reference", - "target": 3971, + "target": 4027, "name": "StringComparisonOperator", "package": "@medusajs/medusa" } @@ -34679,7 +36242,7 @@ } }, { - "id": 1252, + "id": 1243, "name": "q", "variant": "declaration", "kind": 1024, @@ -34700,7 +36263,7 @@ } }, { - "id": 1253, + "id": 1244, "name": "value", "variant": "declaration", "kind": 1024, @@ -34731,7 +36294,7 @@ }, { "type": "reference", - "target": 3971, + "target": 4027, "name": "StringComparisonOperator", "package": "@medusajs/medusa" } @@ -34739,7 +36302,7 @@ } }, { - "id": 1254, + "id": 1245, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -34764,13 +36327,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 1255, + "id": 1246, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -34795,13 +36358,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 1256, + "id": 1247, "name": "order", "variant": "declaration", "kind": 1024, @@ -34830,7 +36393,7 @@ } }, { - "id": 1257, + "id": 1248, "name": "discount_condition_id", "variant": "declaration", "kind": 1024, @@ -34855,35 +36418,35 @@ { "title": "Constructors", "children": [ - 1249 + 1240 ] }, { "title": "Properties", "children": [ - 1258, - 1259, - 1251, - 1252, - 1253, - 1254, - 1255, - 1256, - 1257 + 1249, + 1250, + 1242, + 1243, + 1244, + 1245, + 1246, + 1247, + 1248 ] } ], "extendedTypes": [ { "type": "reference", - "target": 1243, + "target": 1234, "name": "AdminGetProductTagsPaginationParams", "package": "@medusajs/medusa" } ] }, { - "id": 1260, + "id": 1251, "name": "defaultAdminProductTypeFields", "variant": "declaration", "kind": 32, @@ -34900,7 +36463,7 @@ "defaultValue": "..." }, { - "id": 1261, + "id": 1252, "name": "defaultAdminProductTypeRelations", "variant": "declaration", "kind": 32, @@ -34917,7 +36480,7 @@ "defaultValue": "[]" }, { - "id": 1262, + "id": 1253, "name": "AdminProductTypesListRes", "variant": "declaration", "kind": 2097152, @@ -34938,21 +36501,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 1263, + "id": 1254, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1264, + "id": 1255, "name": "product_types", "variant": "declaration", "kind": 1024, @@ -34983,7 +36546,7 @@ { "title": "Properties", "children": [ - 1264 + 1255 ] } ] @@ -34993,7 +36556,7 @@ } }, { - "id": 1265, + "id": 1256, "name": "AdminGetProductTypesParams", "variant": "declaration", "kind": 128, @@ -35008,39 +36571,39 @@ }, "children": [ { - "id": 1266, + "id": 1257, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1267, + "id": 1258, "name": "new AdminGetProductTypesParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1265, + "target": 1256, "name": "AdminGetProductTypesParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4023, + "target": 4079, "name": "FindPaginationParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4022, + "target": 4078, "name": "FindPaginationParams.constructor" } }, { - "id": 1268, + "id": 1259, "name": "id", "variant": "declaration", "kind": 1024, @@ -35071,7 +36634,7 @@ }, { "type": "reference", - "target": 3971, + "target": 4027, "name": "StringComparisonOperator", "package": "@medusajs/medusa" } @@ -35079,7 +36642,7 @@ } }, { - "id": 1269, + "id": 1260, "name": "q", "variant": "declaration", "kind": 1024, @@ -35100,7 +36663,7 @@ } }, { - "id": 1270, + "id": 1261, "name": "value", "variant": "declaration", "kind": 1024, @@ -35131,7 +36694,7 @@ }, { "type": "reference", - "target": 3971, + "target": 4027, "name": "StringComparisonOperator", "package": "@medusajs/medusa" } @@ -35139,7 +36702,7 @@ } }, { - "id": 1271, + "id": 1262, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -35164,13 +36727,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 1272, + "id": 1263, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -35195,13 +36758,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 1273, + "id": 1264, "name": "order", "variant": "declaration", "kind": 1024, @@ -35227,10 +36790,15 @@ "type": { "type": "intrinsic", "name": "string" + }, + "overwrites": { + "type": "reference", + "target": 4082, + "name": "FindPaginationParams.order" } }, { - "id": 1274, + "id": 1265, "name": "discount_condition_id", "variant": "declaration", "kind": 1024, @@ -35251,7 +36819,7 @@ } }, { - "id": 1275, + "id": 1266, "name": "offset", "variant": "declaration", "kind": 1024, @@ -35284,12 +36852,12 @@ "defaultValue": "0", "inheritedFrom": { "type": "reference", - "target": 4024, + "target": 4080, "name": "FindPaginationParams.offset" } }, { - "id": 1276, + "id": 1267, "name": "limit", "variant": "declaration", "kind": 1024, @@ -35322,7 +36890,7 @@ "defaultValue": "20", "inheritedFrom": { "type": "reference", - "target": 4025, + "target": 4081, "name": "FindPaginationParams.limit" } } @@ -35331,35 +36899,35 @@ { "title": "Constructors", "children": [ - 1266 + 1257 ] }, { "title": "Properties", "children": [ - 1268, - 1269, - 1270, - 1271, - 1272, - 1273, - 1274, - 1275, - 1276 + 1259, + 1260, + 1261, + 1262, + 1263, + 1264, + 1265, + 1266, + 1267 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4021, + "target": 4077, "name": "FindPaginationParams", "package": "@medusajs/medusa" } ] }, { - "id": 1350, + "id": 1342, "name": "AdminPostProductsProductOptionsReq", "variant": "declaration", "kind": 128, @@ -35374,14 +36942,14 @@ }, "children": [ { - "id": 1351, + "id": 1343, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1352, + "id": 1344, "name": "new AdminPostProductsProductOptionsReq", "variant": "signature", "kind": 16384, @@ -35396,7 +36964,7 @@ }, "type": { "type": "reference", - "target": 1350, + "target": 1342, "name": "AdminPostProductsProductOptionsReq", "package": "@medusajs/medusa" } @@ -35404,7 +36972,7 @@ ] }, { - "id": 1353, + "id": 1345, "name": "title", "variant": "declaration", "kind": 1024, @@ -35427,40 +36995,40 @@ { "title": "Constructors", "children": [ - 1351 + 1343 ] }, { "title": "Properties", "children": [ - 1353 + 1345 ] } ] }, { - "id": 5062, + "id": 5157, "name": "ProductVariantOptionReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 5063, + "id": 5158, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 5064, + "id": 5159, "name": "new ProductVariantOptionReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 5062, + "target": 5157, "name": "ProductVariantOptionReq", "package": "@medusajs/medusa" } @@ -35468,7 +37036,7 @@ ] }, { - "id": 5065, + "id": 5160, "name": "value", "variant": "declaration", "kind": 1024, @@ -35491,40 +37059,40 @@ { "title": "Constructors", "children": [ - 5063 + 5158 ] }, { "title": "Properties", "children": [ - 5065 + 5160 ] } ] }, { - "id": 4643, + "id": 4750, "name": "ProductOptionReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4644, + "id": 4751, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4645, + "id": 4752, "name": "new ProductOptionReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4643, + "target": 4750, "name": "ProductOptionReq", "package": "@medusajs/medusa" } @@ -35532,7 +37100,7 @@ ] }, { - "id": 4646, + "id": 4753, "name": "title", "variant": "declaration", "kind": 1024, @@ -35555,40 +37123,40 @@ { "title": "Constructors", "children": [ - 4644 + 4751 ] }, { "title": "Properties", "children": [ - 4646 + 4753 ] } ] }, { - "id": 4647, + "id": 4754, "name": "ProductVariantReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4648, + "id": 4755, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4649, + "id": 4756, "name": "new ProductVariantReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4647, + "target": 4754, "name": "ProductVariantReq", "package": "@medusajs/medusa" } @@ -35596,7 +37164,7 @@ ] }, { - "id": 4650, + "id": 4757, "name": "title", "variant": "declaration", "kind": 1024, @@ -35615,7 +37183,7 @@ } }, { - "id": 4651, + "id": 4758, "name": "sku", "variant": "declaration", "kind": 1024, @@ -35636,7 +37204,7 @@ } }, { - "id": 4652, + "id": 4759, "name": "ean", "variant": "declaration", "kind": 1024, @@ -35657,7 +37225,7 @@ } }, { - "id": 4653, + "id": 4760, "name": "upc", "variant": "declaration", "kind": 1024, @@ -35678,7 +37246,7 @@ } }, { - "id": 4654, + "id": 4761, "name": "barcode", "variant": "declaration", "kind": 1024, @@ -35699,7 +37267,7 @@ } }, { - "id": 4655, + "id": 4762, "name": "hs_code", "variant": "declaration", "kind": 1024, @@ -35720,7 +37288,7 @@ } }, { - "id": 4656, + "id": 4763, "name": "inventory_quantity", "variant": "declaration", "kind": 1024, @@ -35742,7 +37310,7 @@ "defaultValue": "0" }, { - "id": 4657, + "id": 4764, "name": "allow_backorder", "variant": "declaration", "kind": 1024, @@ -35763,7 +37331,7 @@ } }, { - "id": 4658, + "id": 4765, "name": "manage_inventory", "variant": "declaration", "kind": 1024, @@ -35784,7 +37352,7 @@ } }, { - "id": 4659, + "id": 4766, "name": "weight", "variant": "declaration", "kind": 1024, @@ -35805,7 +37373,7 @@ } }, { - "id": 4660, + "id": 4767, "name": "length", "variant": "declaration", "kind": 1024, @@ -35826,7 +37394,7 @@ } }, { - "id": 4661, + "id": 4768, "name": "height", "variant": "declaration", "kind": 1024, @@ -35847,7 +37415,7 @@ } }, { - "id": 4662, + "id": 4769, "name": "width", "variant": "declaration", "kind": 1024, @@ -35868,7 +37436,7 @@ } }, { - "id": 4663, + "id": 4770, "name": "origin_country", "variant": "declaration", "kind": 1024, @@ -35889,7 +37457,7 @@ } }, { - "id": 4664, + "id": 4771, "name": "mid_code", "variant": "declaration", "kind": 1024, @@ -35910,7 +37478,7 @@ } }, { - "id": 4665, + "id": 4772, "name": "material", "variant": "declaration", "kind": 1024, @@ -35931,7 +37499,7 @@ } }, { - "id": 4666, + "id": 4773, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -35967,7 +37535,7 @@ } }, { - "id": 4667, + "id": 4774, "name": "prices", "variant": "declaration", "kind": 1024, @@ -35984,14 +37552,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4669, + "target": 4776, "name": "ProductVariantPricesCreateReq", "package": "@medusajs/medusa" } } }, { - "id": 4668, + "id": 4775, "name": "options", "variant": "declaration", "kind": 1024, @@ -36010,7 +37578,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 5062, + "target": 5157, "name": "ProductVariantOptionReq", "package": "@medusajs/medusa" } @@ -36022,37 +37590,37 @@ { "title": "Constructors", "children": [ - 4648 + 4755 ] }, { "title": "Properties", "children": [ - 4650, - 4651, - 4652, - 4653, - 4654, - 4655, - 4656, - 4657, - 4658, - 4659, - 4660, - 4661, - 4662, - 4663, - 4664, - 4665, - 4666, - 4667, - 4668 + 4757, + 4758, + 4759, + 4760, + 4761, + 4762, + 4763, + 4764, + 4765, + 4766, + 4767, + 4768, + 4769, + 4770, + 4771, + 4772, + 4773, + 4774, + 4775 ] } ] }, { - "id": 1354, + "id": 1346, "name": "AdminPostProductsReq", "variant": "declaration", "kind": 128, @@ -36067,37 +37635,7 @@ }, "children": [ { - "id": 1355, - "name": "constructor", - "variant": "declaration", - "kind": 512, - "flags": {}, - "signatures": [ - { - "id": 1356, - "name": "new AdminPostProductsReq", - "variant": "signature", - "kind": 16384, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The details of the product to create." - } - ] - }, - "type": { - "type": "reference", - "target": 1354, - "name": "AdminPostProductsReq", - "package": "@medusajs/medusa" - } - } - ] - }, - { - "id": 1357, + "id": 1349, "name": "title", "variant": "declaration", "kind": 1024, @@ -36116,7 +37654,7 @@ } }, { - "id": 1358, + "id": 1350, "name": "subtitle", "variant": "declaration", "kind": 1024, @@ -36137,7 +37675,7 @@ } }, { - "id": 1359, + "id": 1351, "name": "description", "variant": "declaration", "kind": 1024, @@ -36158,7 +37696,7 @@ } }, { - "id": 1360, + "id": 1352, "name": "is_giftcard", "variant": "declaration", "kind": 1024, @@ -36178,7 +37716,7 @@ "defaultValue": "false" }, { - "id": 1361, + "id": 1353, "name": "discountable", "variant": "declaration", "kind": 1024, @@ -36198,7 +37736,7 @@ "defaultValue": "true" }, { - "id": 1362, + "id": 1354, "name": "images", "variant": "declaration", "kind": 1024, @@ -36222,7 +37760,7 @@ } }, { - "id": 1363, + "id": 1355, "name": "thumbnail", "variant": "declaration", "kind": 1024, @@ -36243,7 +37781,7 @@ } }, { - "id": 1364, + "id": 1356, "name": "handle", "variant": "declaration", "kind": 1024, @@ -36264,7 +37802,7 @@ } }, { - "id": 1365, + "id": 1357, "name": "status", "variant": "declaration", "kind": 1024, @@ -36291,7 +37829,7 @@ "defaultValue": "ProductStatus.DRAFT" }, { - "id": 1366, + "id": 1358, "name": "type", "variant": "declaration", "kind": 1024, @@ -36308,13 +37846,13 @@ }, "type": { "type": "reference", - "target": 4625, + "target": 4732, "name": "ProductTypeReq", "package": "@medusajs/medusa" } }, { - "id": 1367, + "id": 1359, "name": "collection_id", "variant": "declaration", "kind": 1024, @@ -36335,7 +37873,7 @@ } }, { - "id": 1368, + "id": 1360, "name": "tags", "variant": "declaration", "kind": 1024, @@ -36354,14 +37892,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4630, + "target": 4737, "name": "ProductTagReq", "package": "@medusajs/medusa" } } }, { - "id": 1369, + "id": 1361, "name": "sales_channels", "variant": "declaration", "kind": 1024, @@ -36380,14 +37918,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4635, + "target": 4742, "name": "ProductSalesChannelReq", "package": "@medusajs/medusa" } } }, { - "id": 1370, + "id": 1362, "name": "categories", "variant": "declaration", "kind": 1024, @@ -36428,14 +37966,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4639, + "target": 4746, "name": "ProductProductCategoryReq", "package": "@medusajs/medusa" } } }, { - "id": 1371, + "id": 1363, "name": "options", "variant": "declaration", "kind": 1024, @@ -36454,14 +37992,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4643, + "target": 4750, "name": "ProductOptionReq", "package": "@medusajs/medusa" } } }, { - "id": 1372, + "id": 1364, "name": "variants", "variant": "declaration", "kind": 1024, @@ -36480,14 +38018,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4647, + "target": 4754, "name": "ProductVariantReq", "package": "@medusajs/medusa" } } }, { - "id": 1373, + "id": 1365, "name": "weight", "variant": "declaration", "kind": 1024, @@ -36508,7 +38046,7 @@ } }, { - "id": 1374, + "id": 1366, "name": "length", "variant": "declaration", "kind": 1024, @@ -36529,7 +38067,7 @@ } }, { - "id": 1375, + "id": 1367, "name": "height", "variant": "declaration", "kind": 1024, @@ -36550,7 +38088,7 @@ } }, { - "id": 1376, + "id": 1368, "name": "width", "variant": "declaration", "kind": 1024, @@ -36571,7 +38109,7 @@ } }, { - "id": 1377, + "id": 1369, "name": "hs_code", "variant": "declaration", "kind": 1024, @@ -36592,7 +38130,7 @@ } }, { - "id": 1378, + "id": 1370, "name": "origin_country", "variant": "declaration", "kind": 1024, @@ -36613,7 +38151,7 @@ } }, { - "id": 1379, + "id": 1371, "name": "mid_code", "variant": "declaration", "kind": 1024, @@ -36634,7 +38172,7 @@ } }, { - "id": 1380, + "id": 1372, "name": "material", "variant": "declaration", "kind": 1024, @@ -36655,7 +38193,7 @@ } }, { - "id": 1381, + "id": 1373, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -36689,18 +38227,56 @@ "name": "Record", "package": "typescript" } + }, + { + "id": 1347, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 1348, + "name": "new AdminPostProductsReq", + "variant": "signature", + "kind": 16384, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the product to create." + } + ] + }, + "type": { + "type": "reference", + "target": 1346, + "name": "AdminPostProductsReq", + "package": "@medusajs/medusa" + } + } + ] } ], "groups": [ { "title": "Constructors", "children": [ - 1355 + 1347 ] }, { "title": "Properties", "children": [ + 1349, + 1350, + 1351, + 1352, + 1353, + 1354, + 1355, + 1356, 1357, 1358, 1359, @@ -36717,42 +38293,34 @@ 1370, 1371, 1372, - 1373, - 1374, - 1375, - 1376, - 1377, - 1378, - 1379, - 1380, - 1381 + 1373 ] } ] }, { - "id": 4677, + "id": 4784, "name": "ProductVariantOptionReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4678, + "id": 4785, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4679, + "id": 4786, "name": "new ProductVariantOptionReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4677, + "target": 4784, "name": "ProductVariantOptionReq", "package": "@medusajs/medusa" } @@ -36760,7 +38328,7 @@ ] }, { - "id": 4680, + "id": 4787, "name": "value", "variant": "declaration", "kind": 1024, @@ -36779,7 +38347,7 @@ } }, { - "id": 4681, + "id": 4788, "name": "option_id", "variant": "declaration", "kind": 1024, @@ -36802,20 +38370,20 @@ { "title": "Constructors", "children": [ - 4678 + 4785 ] }, { "title": "Properties", "children": [ - 4680, - 4681 + 4787, + 4788 ] } ] }, { - "id": 1382, + "id": 1374, "name": "AdminPostProductsProductVariantsReq", "variant": "declaration", "kind": 128, @@ -36830,14 +38398,14 @@ }, "children": [ { - "id": 1383, + "id": 1375, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1384, + "id": 1376, "name": "new AdminPostProductsProductVariantsReq", "variant": "signature", "kind": 16384, @@ -36852,7 +38420,7 @@ }, "type": { "type": "reference", - "target": 1382, + "target": 1374, "name": "AdminPostProductsProductVariantsReq", "package": "@medusajs/medusa" } @@ -36860,7 +38428,7 @@ ] }, { - "id": 1385, + "id": 1377, "name": "title", "variant": "declaration", "kind": 1024, @@ -36879,7 +38447,7 @@ } }, { - "id": 1386, + "id": 1378, "name": "sku", "variant": "declaration", "kind": 1024, @@ -36900,7 +38468,7 @@ } }, { - "id": 1387, + "id": 1379, "name": "ean", "variant": "declaration", "kind": 1024, @@ -36921,7 +38489,7 @@ } }, { - "id": 1388, + "id": 1380, "name": "upc", "variant": "declaration", "kind": 1024, @@ -36942,7 +38510,7 @@ } }, { - "id": 1389, + "id": 1381, "name": "barcode", "variant": "declaration", "kind": 1024, @@ -36963,7 +38531,7 @@ } }, { - "id": 1390, + "id": 1382, "name": "hs_code", "variant": "declaration", "kind": 1024, @@ -36984,7 +38552,7 @@ } }, { - "id": 1391, + "id": 1383, "name": "inventory_quantity", "variant": "declaration", "kind": 1024, @@ -37006,7 +38574,7 @@ "defaultValue": "0" }, { - "id": 1392, + "id": 1384, "name": "allow_backorder", "variant": "declaration", "kind": 1024, @@ -37027,7 +38595,7 @@ } }, { - "id": 1393, + "id": 1385, "name": "manage_inventory", "variant": "declaration", "kind": 1024, @@ -37049,7 +38617,7 @@ "defaultValue": "true" }, { - "id": 1394, + "id": 1386, "name": "weight", "variant": "declaration", "kind": 1024, @@ -37070,7 +38638,7 @@ } }, { - "id": 1395, + "id": 1387, "name": "length", "variant": "declaration", "kind": 1024, @@ -37091,7 +38659,7 @@ } }, { - "id": 1396, + "id": 1388, "name": "height", "variant": "declaration", "kind": 1024, @@ -37112,7 +38680,7 @@ } }, { - "id": 1397, + "id": 1389, "name": "width", "variant": "declaration", "kind": 1024, @@ -37133,7 +38701,7 @@ } }, { - "id": 1398, + "id": 1390, "name": "origin_country", "variant": "declaration", "kind": 1024, @@ -37154,7 +38722,7 @@ } }, { - "id": 1399, + "id": 1391, "name": "mid_code", "variant": "declaration", "kind": 1024, @@ -37175,7 +38743,7 @@ } }, { - "id": 1400, + "id": 1392, "name": "material", "variant": "declaration", "kind": 1024, @@ -37196,7 +38764,7 @@ } }, { - "id": 1401, + "id": 1393, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -37232,7 +38800,7 @@ } }, { - "id": 1402, + "id": 1394, "name": "prices", "variant": "declaration", "kind": 1024, @@ -37249,14 +38817,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4669, + "target": 4776, "name": "ProductVariantPricesCreateReq", "package": "@medusajs/medusa" } } }, { - "id": 1403, + "id": 1395, "name": "options", "variant": "declaration", "kind": 1024, @@ -37275,7 +38843,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4677, + "target": 4784, "name": "ProductVariantOptionReq", "package": "@medusajs/medusa" } @@ -37287,12 +38855,20 @@ { "title": "Constructors", "children": [ - 1383 + 1375 ] }, { "title": "Properties", "children": [ + 1377, + 1378, + 1379, + 1380, + 1381, + 1382, + 1383, + 1384, 1385, 1386, 1387, @@ -37303,21 +38879,13 @@ 1392, 1393, 1394, - 1395, - 1396, - 1397, - 1398, - 1399, - 1400, - 1401, - 1402, - 1403 + 1395 ] } ] }, { - "id": 1404, + "id": 1396, "name": "AdminGetProductParams", "variant": "declaration", "kind": 128, @@ -37332,39 +38900,39 @@ }, "children": [ { - "id": 1405, + "id": 1397, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1406, + "id": 1398, "name": "new AdminGetProductParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1404, + "target": 1396, "name": "AdminGetProductParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 1407, + "id": 1399, "name": "expand", "variant": "declaration", "kind": 1024, @@ -37377,6 +38945,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -37385,12 +38959,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 1408, + "id": 1400, "name": "fields", "variant": "declaration", "kind": 1024, @@ -37401,7 +38975,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -37411,7 +39001,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -37420,28 +39010,28 @@ { "title": "Constructors", "children": [ - 1405 + 1397 ] }, { "title": "Properties", "children": [ - 1407, - 1408 + 1399, + 1400 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 1277, + "id": 1268, "name": "defaultAdminProductRelations", "variant": "declaration", "kind": 32, @@ -37458,7 +39048,7 @@ "defaultValue": "..." }, { - "id": 1278, + "id": 1269, "name": "defaultAdminProductFields", "variant": "declaration", "kind": 32, @@ -37484,7 +39074,7 @@ "defaultValue": "..." }, { - "id": 1279, + "id": 1270, "name": "defaultAdminGetProductsVariantsFields", "variant": "declaration", "kind": 32, @@ -37501,7 +39091,24 @@ "defaultValue": "..." }, { - "id": 1280, + "id": 1271, + "name": "defaultAdminGetProductsVariantsRelations", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "defaultValue": "..." + }, + { + "id": 1272, "name": "defaultAdminProductRemoteQueryObject", "variant": "declaration", "kind": 32, @@ -37519,14 +39126,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1281, + "id": 1273, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1282, + "id": 1274, "name": "fields", "variant": "declaration", "kind": 1024, @@ -37550,7 +39157,7 @@ "defaultValue": "defaultAdminProductFields" }, { - "id": 1283, + "id": 1275, "name": "images", "variant": "declaration", "kind": 1024, @@ -37558,14 +39165,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1284, + "id": 1276, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1285, + "id": 1277, "name": "fields", "variant": "declaration", "kind": 1024, @@ -37584,7 +39191,7 @@ { "title": "Properties", "children": [ - 1285 + 1277 ] } ] @@ -37593,7 +39200,7 @@ "defaultValue": "..." }, { - "id": 1286, + "id": 1278, "name": "tags", "variant": "declaration", "kind": 1024, @@ -37601,14 +39208,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1287, + "id": 1279, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1288, + "id": 1280, "name": "fields", "variant": "declaration", "kind": 1024, @@ -37627,7 +39234,7 @@ { "title": "Properties", "children": [ - 1288 + 1280 ] } ] @@ -37636,7 +39243,7 @@ "defaultValue": "..." }, { - "id": 1289, + "id": 1281, "name": "type", "variant": "declaration", "kind": 1024, @@ -37644,14 +39251,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1290, + "id": 1282, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1291, + "id": 1283, "name": "fields", "variant": "declaration", "kind": 1024, @@ -37670,7 +39277,7 @@ { "title": "Properties", "children": [ - 1291 + 1283 ] } ] @@ -37679,7 +39286,7 @@ "defaultValue": "..." }, { - "id": 1292, + "id": 1284, "name": "collection", "variant": "declaration", "kind": 1024, @@ -37687,14 +39294,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1293, + "id": 1285, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1294, + "id": 1286, "name": "fields", "variant": "declaration", "kind": 1024, @@ -37713,7 +39320,7 @@ { "title": "Properties", "children": [ - 1294 + 1286 ] } ] @@ -37722,7 +39329,7 @@ "defaultValue": "..." }, { - "id": 1295, + "id": 1287, "name": "categories", "variant": "declaration", "kind": 1024, @@ -37730,14 +39337,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1296, + "id": 1288, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1297, + "id": 1289, "name": "fields", "variant": "declaration", "kind": 1024, @@ -37756,7 +39363,7 @@ { "title": "Properties", "children": [ - 1297 + 1289 ] } ] @@ -37765,7 +39372,7 @@ "defaultValue": "..." }, { - "id": 1298, + "id": 1290, "name": "options", "variant": "declaration", "kind": 1024, @@ -37773,14 +39380,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1299, + "id": 1291, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1300, + "id": 1292, "name": "fields", "variant": "declaration", "kind": 1024, @@ -37795,7 +39402,7 @@ "defaultValue": "..." }, { - "id": 1301, + "id": 1293, "name": "values", "variant": "declaration", "kind": 1024, @@ -37803,14 +39410,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1302, + "id": 1294, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1303, + "id": 1295, "name": "fields", "variant": "declaration", "kind": 1024, @@ -37829,7 +39436,7 @@ { "title": "Properties", "children": [ - 1303 + 1295 ] } ] @@ -37842,8 +39449,8 @@ { "title": "Properties", "children": [ - 1300, - 1301 + 1292, + 1293 ] } ] @@ -37852,7 +39459,7 @@ "defaultValue": "..." }, { - "id": 1304, + "id": 1296, "name": "variants", "variant": "declaration", "kind": 1024, @@ -37860,14 +39467,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1305, + "id": 1297, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1306, + "id": 1298, "name": "fields", "variant": "declaration", "kind": 1024, @@ -37882,7 +39489,7 @@ "defaultValue": "..." }, { - "id": 1307, + "id": 1299, "name": "options", "variant": "declaration", "kind": 1024, @@ -37890,14 +39497,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1308, + "id": 1300, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1309, + "id": 1301, "name": "fields", "variant": "declaration", "kind": 1024, @@ -37916,7 +39523,7 @@ { "title": "Properties", "children": [ - 1309 + 1301 ] } ] @@ -37929,8 +39536,8 @@ { "title": "Properties", "children": [ - 1306, - 1307 + 1298, + 1299 ] } ] @@ -37939,7 +39546,7 @@ "defaultValue": "..." }, { - "id": 1310, + "id": 1302, "name": "profile", "variant": "declaration", "kind": 1024, @@ -37947,14 +39554,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1311, + "id": 1303, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1312, + "id": 1304, "name": "fields", "variant": "declaration", "kind": 1024, @@ -37973,7 +39580,7 @@ { "title": "Properties", "children": [ - 1312 + 1304 ] } ] @@ -37982,7 +39589,7 @@ "defaultValue": "..." }, { - "id": 1313, + "id": 1305, "name": "sales_channels", "variant": "declaration", "kind": 1024, @@ -37990,14 +39597,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1314, + "id": 1306, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1315, + "id": 1307, "name": "fields", "variant": "declaration", "kind": 1024, @@ -38016,7 +39623,7 @@ { "title": "Properties", "children": [ - 1315 + 1307 ] } ] @@ -38029,16 +39636,16 @@ { "title": "Properties", "children": [ - 1282, - 1283, - 1286, - 1289, - 1292, - 1295, - 1298, - 1304, - 1310, - 1313 + 1274, + 1275, + 1278, + 1281, + 1284, + 1287, + 1290, + 1296, + 1302, + 1305 ] } ] @@ -38047,7 +39654,7 @@ "defaultValue": "..." }, { - "id": 1316, + "id": 1308, "name": "AdminProductsDeleteOptionRes", "variant": "declaration", "kind": 2097152, @@ -38066,14 +39673,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1317, + "id": 1309, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1318, + "id": 1310, "name": "option_id", "variant": "declaration", "kind": 1024, @@ -38092,7 +39699,7 @@ } }, { - "id": 1319, + "id": 1311, "name": "object", "variant": "declaration", "kind": 1024, @@ -38112,7 +39719,7 @@ "defaultValue": "option" }, { - "id": 1320, + "id": 1312, "name": "deleted", "variant": "declaration", "kind": 1024, @@ -38132,7 +39739,7 @@ "defaultValue": true }, { - "id": 1321, + "id": 1313, "name": "product", "variant": "declaration", "kind": 1024, @@ -38160,10 +39767,10 @@ { "title": "Properties", "children": [ - 1318, - 1319, - 1320, - 1321 + 1310, + 1311, + 1312, + 1313 ] } ] @@ -38171,7 +39778,7 @@ } }, { - "id": 1322, + "id": 1314, "name": "AdminProductsDeleteVariantRes", "variant": "declaration", "kind": 2097152, @@ -38190,14 +39797,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1323, + "id": 1315, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1324, + "id": 1316, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -38216,7 +39823,7 @@ } }, { - "id": 1325, + "id": 1317, "name": "object", "variant": "declaration", "kind": 1024, @@ -38236,7 +39843,7 @@ "defaultValue": "product-variant" }, { - "id": 1326, + "id": 1318, "name": "deleted", "variant": "declaration", "kind": 1024, @@ -38256,7 +39863,7 @@ "defaultValue": true }, { - "id": 1327, + "id": 1319, "name": "product", "variant": "declaration", "kind": 1024, @@ -38284,10 +39891,10 @@ { "title": "Properties", "children": [ - 1324, - 1325, - 1326, - 1327 + 1316, + 1317, + 1318, + 1319 ] } ] @@ -38295,7 +39902,7 @@ } }, { - "id": 1328, + "id": 1320, "name": "AdminProductsDeleteRes", "variant": "declaration", "kind": 2097152, @@ -38314,14 +39921,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1329, + "id": 1321, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1330, + "id": 1322, "name": "id", "variant": "declaration", "kind": 1024, @@ -38340,7 +39947,7 @@ } }, { - "id": 1331, + "id": 1323, "name": "object", "variant": "declaration", "kind": 1024, @@ -38360,7 +39967,7 @@ "defaultValue": "product" }, { - "id": 1332, + "id": 1324, "name": "deleted", "variant": "declaration", "kind": 1024, @@ -38384,9 +39991,9 @@ { "title": "Properties", "children": [ - 1330, - 1331, - 1332 + 1322, + 1323, + 1324 ] } ] @@ -38394,7 +40001,7 @@ } }, { - "id": 1333, + "id": 1325, "name": "AdminProductsListRes", "variant": "declaration", "kind": 2097152, @@ -38415,21 +40022,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 1334, + "id": 1326, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1335, + "id": 1327, "name": "products", "variant": "declaration", "kind": 1024, @@ -38449,7 +40056,7 @@ "types": [ { "type": "reference", - "target": 4622, + "target": 4729, "name": "PricedProduct", "package": "@medusajs/medusa" }, @@ -38471,7 +40078,7 @@ { "title": "Properties", "children": [ - 1335 + 1327 ] } ] @@ -38481,7 +40088,7 @@ } }, { - "id": 1336, + "id": 1328, "name": "AdminProductsListVariantsRes", "variant": "declaration", "kind": 2097152, @@ -38497,21 +40104,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 1337, + "id": 1329, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1338, + "id": 1330, "name": "variants", "variant": "declaration", "kind": 1024, @@ -38542,7 +40149,7 @@ { "title": "Properties", "children": [ - 1338 + 1330 ] } ] @@ -38552,7 +40159,7 @@ } }, { - "id": 1339, + "id": 1331, "name": "AdminProductsListTypesRes", "variant": "declaration", "kind": 2097152, @@ -38566,14 +40173,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1340, + "id": 1332, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1341, + "id": 1333, "name": "types", "variant": "declaration", "kind": 1024, @@ -38604,7 +40211,7 @@ { "title": "Properties", "children": [ - 1341 + 1333 ] } ] @@ -38612,7 +40219,7 @@ } }, { - "id": 1342, + "id": 1334, "name": "AdminProductsListTagsRes", "variant": "declaration", "kind": 2097152, @@ -38631,14 +40238,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1343, + "id": 1335, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1344, + "id": 1336, "name": "tags", "variant": "declaration", "kind": 1024, @@ -38692,14 +40299,14 @@ { "type": "reflection", "declaration": { - "id": 1345, + "id": 1337, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1346, + "id": 1338, "name": "usage_count", "variant": "declaration", "kind": 1024, @@ -38722,7 +40329,7 @@ { "title": "Properties", "children": [ - 1346 + 1338 ] } ] @@ -38737,7 +40344,7 @@ { "title": "Properties", "children": [ - 1344 + 1336 ] } ] @@ -38745,7 +40352,7 @@ } }, { - "id": 1347, + "id": 1339, "name": "AdminProductsRes", "variant": "declaration", "kind": 2097152, @@ -38764,14 +40371,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1348, + "id": 1340, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1349, + "id": 1341, "name": "product", "variant": "declaration", "kind": 1024, @@ -38799,7 +40406,7 @@ { "title": "Properties", "children": [ - 1349 + 1341 ] } ] @@ -38807,7 +40414,7 @@ } }, { - "id": 1409, + "id": 1401, "name": "AdminGetProductsParams", "variant": "declaration", "kind": 128, @@ -38822,39 +40429,39 @@ }, "children": [ { - "id": 1410, + "id": 1402, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1411, + "id": 1403, "name": "new AdminGetProductsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1409, + "target": 1401, "name": "AdminGetProductsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4684, + "target": 4791, "name": "FilterableProductProps.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4683, + "target": 4790, "name": "FilterableProductProps.constructor" } }, { - "id": 1412, + "id": 1404, "name": "offset", "variant": "declaration", "kind": 1024, @@ -38887,7 +40494,7 @@ "defaultValue": "0" }, { - "id": 1413, + "id": 1405, "name": "limit", "variant": "declaration", "kind": 1024, @@ -38920,7 +40527,7 @@ "defaultValue": "50" }, { - "id": 1414, + "id": 1406, "name": "expand", "variant": "declaration", "kind": 1024, @@ -38941,7 +40548,7 @@ } }, { - "id": 1415, + "id": 1407, "name": "fields", "variant": "declaration", "kind": 1024, @@ -38952,7 +40559,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -38962,7 +40585,7 @@ } }, { - "id": 1416, + "id": 1408, "name": "order", "variant": "declaration", "kind": 1024, @@ -38991,7 +40614,7 @@ } }, { - "id": 1417, + "id": 1409, "name": "id", "variant": "declaration", "kind": 1024, @@ -39024,12 +40647,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4685, + "target": 4792, "name": "FilterableProductProps.id" } }, { - "id": 1418, + "id": 1410, "name": "q", "variant": "declaration", "kind": 1024, @@ -39050,12 +40673,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4686, + "target": 4793, "name": "FilterableProductProps.q" } }, { - "id": 1419, + "id": 1411, "name": "status", "variant": "declaration", "kind": 1024, @@ -39084,12 +40707,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4687, + "target": 4794, "name": "FilterableProductProps.status" } }, { - "id": 1420, + "id": 1412, "name": "price_list_id", "variant": "declaration", "kind": 1024, @@ -39113,12 +40736,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4688, + "target": 4795, "name": "FilterableProductProps.price_list_id" } }, { - "id": 1421, + "id": 1413, "name": "collection_id", "variant": "declaration", "kind": 1024, @@ -39142,12 +40765,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4689, + "target": 4796, "name": "FilterableProductProps.collection_id" } }, { - "id": 1422, + "id": 1414, "name": "tags", "variant": "declaration", "kind": 1024, @@ -39171,12 +40794,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4690, + "target": 4797, "name": "FilterableProductProps.tags" } }, { - "id": 1423, + "id": 1415, "name": "title", "variant": "declaration", "kind": 1024, @@ -39197,12 +40820,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4691, + "target": 4798, "name": "FilterableProductProps.title" } }, { - "id": 1424, + "id": 1416, "name": "description", "variant": "declaration", "kind": 1024, @@ -39223,12 +40846,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4692, + "target": 4799, "name": "FilterableProductProps.description" } }, { - "id": 1425, + "id": 1417, "name": "handle", "variant": "declaration", "kind": 1024, @@ -39249,12 +40872,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4693, + "target": 4800, "name": "FilterableProductProps.handle" } }, { - "id": 1426, + "id": 1418, "name": "is_giftcard", "variant": "declaration", "kind": 1024, @@ -39275,12 +40898,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4694, + "target": 4801, "name": "FilterableProductProps.is_giftcard" } }, { - "id": 1427, + "id": 1419, "name": "type_id", "variant": "declaration", "kind": 1024, @@ -39304,12 +40927,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4695, + "target": 4802, "name": "FilterableProductProps.type_id" } }, { - "id": 1428, + "id": 1420, "name": "sales_channel_id", "variant": "declaration", "kind": 1024, @@ -39333,12 +40956,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4696, + "target": 4803, "name": "FilterableProductProps.sales_channel_id" } }, { - "id": 1429, + "id": 1421, "name": "discount_condition_id", "variant": "declaration", "kind": 1024, @@ -39359,12 +40982,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4697, + "target": 4804, "name": "FilterableProductProps.discount_condition_id" } }, { - "id": 1430, + "id": 1422, "name": "category_id", "variant": "declaration", "kind": 1024, @@ -39388,12 +41011,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4698, + "target": 4805, "name": "FilterableProductProps.category_id" } }, { - "id": 1431, + "id": 1423, "name": "include_category_children", "variant": "declaration", "kind": 1024, @@ -39425,12 +41048,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4699, + "target": 4806, "name": "FilterableProductProps.include_category_children" } }, { - "id": 1432, + "id": 1424, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -39455,18 +41078,18 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4700, + "target": 4807, "name": "FilterableProductProps.created_at" } }, { - "id": 1433, + "id": 1425, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -39491,18 +41114,18 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4701, + "target": 4808, "name": "FilterableProductProps.updated_at" } }, { - "id": 1434, + "id": 1426, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -39527,13 +41150,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4702, + "target": 4809, "name": "FilterableProductProps.deleted_at" } } @@ -39542,12 +41165,20 @@ { "title": "Constructors", "children": [ - 1410 + 1402 ] }, { "title": "Properties", "children": [ + 1404, + 1405, + 1406, + 1407, + 1408, + 1409, + 1410, + 1411, 1412, 1413, 1414, @@ -39562,50 +41193,42 @@ 1423, 1424, 1425, - 1426, - 1427, - 1428, - 1429, - 1430, - 1431, - 1432, - 1433, - 1434 + 1426 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4682, + "target": 4789, "name": "FilterableProductProps", "package": "@medusajs/medusa" } ] }, { - "id": 1435, + "id": 1427, "name": "AdminGetProductsVariantsParams", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 1436, + "id": 1428, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1437, + "id": 1429, "name": "new AdminGetProductsVariantsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1435, + "target": 1427, "name": "AdminGetProductsVariantsParams", "package": "@medusajs/medusa" } @@ -39613,39 +41236,123 @@ ] }, { - "id": 1438, + "id": 1430, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "IDs to filter product variants by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 1431, "name": "fields", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 1439, + "id": 1432, "name": "expand", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Comma-separated relations that should be expanded in the returned data." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 1440, + "id": 1433, "name": "offset", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of items to skip when retrieving a list." + } + ], + "blockTags": [ + { + "tag": "@defaultValue", + "content": [ + { + "kind": "code", + "text": "```ts\n0\n```" + } + ] + } + ] + }, "type": { "type": "intrinsic", "name": "number" @@ -39653,30 +41360,251 @@ "defaultValue": "0" }, { - "id": 1441, + "id": 1434, "name": "limit", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Limit the number of items returned in the list." + } + ], + "blockTags": [ + { + "tag": "@defaultValue", + "content": [ + { + "kind": "code", + "text": "```ts\n100\n```" + } + ] + } + ] + }, "type": { "type": "intrinsic", "name": "number" }, "defaultValue": "100" + }, + { + "id": 1435, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Search term to search product variants' title, sku, and products' title." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1436, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1437, + "name": "inventory_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Number filters to apply on product variants' " + }, + { + "kind": "code", + "text": "`inventory_quantity`" + }, + { + "kind": "text", + "text": " field." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "reference", + "target": 4037, + "name": "NumericalComparisonOperator", + "package": "@medusajs/medusa" + } + ] + } + }, + { + "id": 1438, + "name": "manage_inventory", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter product variants by whether their inventory is managed or not." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1439, + "name": "allow_backorder", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter product variants by whether they are allowed to be backordered or not." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1440, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Date filters to apply on the product variants' " + }, + { + "kind": "code", + "text": "`created_at`" + }, + { + "kind": "text", + "text": " date." + } + ] + }, + "type": { + "type": "reference", + "target": 4020, + "name": "DateComparisonOperator", + "package": "@medusajs/medusa" + } + }, + { + "id": 1441, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Date filters to apply on the product variants' " + }, + { + "kind": "code", + "text": "`updated_at`" + }, + { + "kind": "text", + "text": " date." + } + ] + }, + "type": { + "type": "reference", + "target": 4020, + "name": "DateComparisonOperator", + "package": "@medusajs/medusa" + } } ], "groups": [ { "title": "Constructors", "children": [ - 1436 + 1428 ] }, { "title": "Properties", "children": [ + 1430, + 1431, + 1432, + 1433, + 1434, + 1435, + 1436, + 1437, 1438, 1439, 1440, @@ -39834,28 +41762,28 @@ ] }, { - "id": 5066, + "id": 5161, "name": "ProductVariantOptionReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 5067, + "id": 5162, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 5068, + "id": 5163, "name": "new ProductVariantOptionReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 5066, + "target": 5161, "name": "ProductVariantOptionReq", "package": "@medusajs/medusa" } @@ -39863,7 +41791,7 @@ ] }, { - "id": 5069, + "id": 5164, "name": "value", "variant": "declaration", "kind": 1024, @@ -39882,7 +41810,7 @@ } }, { - "id": 5070, + "id": 5165, "name": "option_id", "variant": "declaration", "kind": 1024, @@ -39905,41 +41833,41 @@ { "title": "Constructors", "children": [ - 5067 + 5162 ] }, { "title": "Properties", "children": [ - 5069, - 5070 + 5164, + 5165 ] } ] }, { - "id": 4703, + "id": 4810, "name": "ProductVariantReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4704, + "id": 4811, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4705, + "id": 4812, "name": "new ProductVariantReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4703, + "target": 4810, "name": "ProductVariantReq", "package": "@medusajs/medusa" } @@ -39947,7 +41875,7 @@ ] }, { - "id": 4706, + "id": 4813, "name": "id", "variant": "declaration", "kind": 1024, @@ -39968,7 +41896,7 @@ } }, { - "id": 4707, + "id": 4814, "name": "title", "variant": "declaration", "kind": 1024, @@ -39989,7 +41917,7 @@ } }, { - "id": 4708, + "id": 4815, "name": "sku", "variant": "declaration", "kind": 1024, @@ -40010,7 +41938,7 @@ } }, { - "id": 4709, + "id": 4816, "name": "ean", "variant": "declaration", "kind": 1024, @@ -40031,7 +41959,7 @@ } }, { - "id": 4710, + "id": 4817, "name": "upc", "variant": "declaration", "kind": 1024, @@ -40052,7 +41980,7 @@ } }, { - "id": 4711, + "id": 4818, "name": "barcode", "variant": "declaration", "kind": 1024, @@ -40073,7 +42001,7 @@ } }, { - "id": 4712, + "id": 4819, "name": "hs_code", "variant": "declaration", "kind": 1024, @@ -40094,7 +42022,7 @@ } }, { - "id": 4713, + "id": 4820, "name": "inventory_quantity", "variant": "declaration", "kind": 1024, @@ -40115,7 +42043,7 @@ } }, { - "id": 4714, + "id": 4821, "name": "allow_backorder", "variant": "declaration", "kind": 1024, @@ -40136,7 +42064,7 @@ } }, { - "id": 4715, + "id": 4822, "name": "manage_inventory", "variant": "declaration", "kind": 1024, @@ -40157,7 +42085,7 @@ } }, { - "id": 4716, + "id": 4823, "name": "weight", "variant": "declaration", "kind": 1024, @@ -40178,7 +42106,7 @@ } }, { - "id": 4717, + "id": 4824, "name": "length", "variant": "declaration", "kind": 1024, @@ -40199,7 +42127,7 @@ } }, { - "id": 4718, + "id": 4825, "name": "height", "variant": "declaration", "kind": 1024, @@ -40220,7 +42148,7 @@ } }, { - "id": 4719, + "id": 4826, "name": "width", "variant": "declaration", "kind": 1024, @@ -40241,7 +42169,7 @@ } }, { - "id": 4720, + "id": 4827, "name": "origin_country", "variant": "declaration", "kind": 1024, @@ -40262,7 +42190,7 @@ } }, { - "id": 4721, + "id": 4828, "name": "mid_code", "variant": "declaration", "kind": 1024, @@ -40283,7 +42211,7 @@ } }, { - "id": 4722, + "id": 4829, "name": "material", "variant": "declaration", "kind": 1024, @@ -40304,7 +42232,7 @@ } }, { - "id": 4723, + "id": 4830, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -40340,7 +42268,7 @@ } }, { - "id": 4724, + "id": 4831, "name": "prices", "variant": "declaration", "kind": 1024, @@ -40359,14 +42287,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4726, + "target": 4833, "name": "ProductVariantPricesUpdateReq", "package": "@medusajs/medusa" } } }, { - "id": 4725, + "id": 4832, "name": "options", "variant": "declaration", "kind": 1024, @@ -40385,7 +42313,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 5066, + "target": 5161, "name": "ProductVariantOptionReq", "package": "@medusajs/medusa" } @@ -40397,32 +42325,32 @@ { "title": "Constructors", "children": [ - 4704 + 4811 ] }, { "title": "Properties", "children": [ - 4706, - 4707, - 4708, - 4709, - 4710, - 4711, - 4712, - 4713, - 4714, - 4715, - 4716, - 4717, - 4718, - 4719, - 4720, - 4721, - 4722, - 4723, - 4724, - 4725 + 4813, + 4814, + 4815, + 4816, + 4817, + 4818, + 4819, + 4820, + 4821, + 4822, + 4823, + 4824, + 4825, + 4826, + 4827, + 4828, + 4829, + 4830, + 4831, + 4832 ] } ] @@ -40666,7 +42594,7 @@ }, "type": { "type": "reference", - "target": 4625, + "target": 4732, "name": "ProductTypeReq", "package": "@medusajs/medusa" } @@ -40712,7 +42640,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4630, + "target": 4737, "name": "ProductTagReq", "package": "@medusajs/medusa" } @@ -40745,7 +42673,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4635, + "target": 4742, "name": "ProductSalesChannelReq", "package": "@medusajs/medusa" } @@ -40795,7 +42723,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4639, + "target": 4746, "name": "ProductProductCategoryReq", "package": "@medusajs/medusa" } @@ -40821,7 +42749,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4703, + "target": 4810, "name": "ProductVariantReq", "package": "@medusajs/medusa" } @@ -41070,28 +42998,28 @@ ] }, { - "id": 4735, + "id": 4842, "name": "ProductVariantOptionReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4736, + "id": 4843, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4737, + "id": 4844, "name": "new ProductVariantOptionReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4735, + "target": 4842, "name": "ProductVariantOptionReq", "package": "@medusajs/medusa" } @@ -41099,7 +43027,7 @@ ] }, { - "id": 4738, + "id": 4845, "name": "value", "variant": "declaration", "kind": 1024, @@ -41118,7 +43046,7 @@ } }, { - "id": 4739, + "id": 4846, "name": "option_id", "variant": "declaration", "kind": 1024, @@ -41141,14 +43069,14 @@ { "title": "Constructors", "children": [ - 4736 + 4843 ] }, { "title": "Properties", "children": [ - 4738, - 4739 + 4845, + 4846 ] } ] @@ -41574,7 +43502,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4726, + "target": 4833, "name": "ProductVariantPricesUpdateReq", "package": "@medusajs/medusa" } @@ -41600,7 +43528,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4735, + "target": 4842, "name": "ProductVariantOptionReq", "package": "@medusajs/medusa" } @@ -41704,7 +43632,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4740, + "target": 4847, "name": "ProductBatchSalesChannel", "package": "@medusajs/medusa" } @@ -41869,7 +43797,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4740, + "target": 4847, "name": "ProductBatchSalesChannel", "package": "@medusajs/medusa" } @@ -41975,7 +43903,7 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, @@ -42043,7 +43971,7 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } @@ -42225,6 +44153,125 @@ }, { "id": 1530, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A field to sort-order the retrieved publishable API keys by." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 20,\n offset: 0,\n}).order" + } + }, + { + "id": 1531, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Date filters to apply on the publishable API keys' " + }, + { + "kind": "code", + "text": "`created_at`" + }, + { + "kind": "text", + "text": " date." + } + ] + }, + "type": { + "type": "reference", + "target": 4020, + "name": "DateComparisonOperator", + "package": "@medusajs/medusa" + } + }, + { + "id": 1532, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Date filters to apply on the publishable API keys' " + }, + { + "kind": "code", + "text": "`updated_at`" + }, + { + "kind": "text", + "text": " date." + } + ] + }, + "type": { + "type": "reference", + "target": 4020, + "name": "DateComparisonOperator", + "package": "@medusajs/medusa" + } + }, + { + "id": 1533, + "name": "revoked_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Date filters to apply on the publishable API keys' " + }, + { + "kind": "code", + "text": "`revoked_at`" + }, + { + "kind": "text", + "text": " date." + } + ] + }, + "type": { + "type": "reference", + "target": 4020, + "name": "DateComparisonOperator", + "package": "@medusajs/medusa" + } + }, + { + "id": 1534, "name": "expand", "variant": "declaration", "kind": 1024, @@ -42237,6 +44284,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -42250,7 +44303,7 @@ } }, { - "id": 1531, + "id": 1535, "name": "fields", "variant": "declaration", "kind": 1024, @@ -42261,7 +44314,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -42276,7 +44345,7 @@ } }, { - "id": 1532, + "id": 1536, "name": "offset", "variant": "declaration", "kind": 1024, @@ -42314,7 +44383,7 @@ } }, { - "id": 1533, + "id": 1537, "name": "limit", "variant": "declaration", "kind": 1024, @@ -42416,7 +44485,11 @@ 1530, 1531, 1532, - 1533 + 1533, + 1534, + 1535, + 1536, + 1537 ] } ], @@ -42426,7 +44499,7 @@ "types": [ { "type": "reference", - "target": 4016, + "target": 4072, "typeArguments": [ { "type": "intrinsic", @@ -42438,7 +44511,7 @@ }, { "type": "reference", - "target": 4021, + "target": 4077, "typeArguments": [ { "type": "intrinsic", @@ -42453,7 +44526,7 @@ ] }, { - "id": 1534, + "id": 1538, "name": "AdminPostPublishableApiKeysPublishableApiKeyReq", "variant": "declaration", "kind": 128, @@ -42468,14 +44541,14 @@ }, "children": [ { - "id": 1535, + "id": 1539, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1536, + "id": 1540, "name": "new AdminPostPublishableApiKeysPublishableApiKeyReq", "variant": "signature", "kind": 16384, @@ -42490,7 +44563,7 @@ }, "type": { "type": "reference", - "target": 1534, + "target": 1538, "name": "AdminPostPublishableApiKeysPublishableApiKeyReq", "package": "@medusajs/medusa" } @@ -42498,7 +44571,7 @@ ] }, { - "id": 1537, + "id": 1541, "name": "title", "variant": "declaration", "kind": 1024, @@ -42523,19 +44596,19 @@ { "title": "Constructors", "children": [ - 1535 + 1539 ] }, { "title": "Properties", "children": [ - 1537 + 1541 ] } ] }, { - "id": 1556, + "id": 1560, "name": "AdminPostRegionsRegionCountriesReq", "variant": "declaration", "kind": 128, @@ -42550,14 +44623,14 @@ }, "children": [ { - "id": 1557, + "id": 1561, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1558, + "id": 1562, "name": "new AdminPostRegionsRegionCountriesReq", "variant": "signature", "kind": 16384, @@ -42572,7 +44645,7 @@ }, "type": { "type": "reference", - "target": 1556, + "target": 1560, "name": "AdminPostRegionsRegionCountriesReq", "package": "@medusajs/medusa" } @@ -42580,7 +44653,7 @@ ] }, { - "id": 1559, + "id": 1563, "name": "country_code", "variant": "declaration", "kind": 1024, @@ -42599,86 +44672,6 @@ } } ], - "groups": [ - { - "title": "Constructors", - "children": [ - 1557 - ] - }, - { - "title": "Properties", - "children": [ - 1559 - ] - } - ] - }, - { - "id": 1560, - "name": "AdminPostRegionsRegionFulfillmentProvidersReq", - "variant": "declaration", - "kind": 128, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The details of the fulfillment provider to add to the region." - } - ] - }, - "children": [ - { - "id": 1561, - "name": "constructor", - "variant": "declaration", - "kind": 512, - "flags": {}, - "signatures": [ - { - "id": 1562, - "name": "new AdminPostRegionsRegionFulfillmentProvidersReq", - "variant": "signature", - "kind": 16384, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The details of the fulfillment provider to add to the region." - } - ] - }, - "type": { - "type": "reference", - "target": 1560, - "name": "AdminPostRegionsRegionFulfillmentProvidersReq", - "package": "@medusajs/medusa" - } - } - ] - }, - { - "id": 1563, - "name": "provider_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the Fulfillment Provider." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], "groups": [ { "title": "Constructors", @@ -42696,7 +44689,7 @@ }, { "id": 1564, - "name": "AdminPostRegionsRegionPaymentProvidersReq", + "name": "AdminPostRegionsRegionFulfillmentProvidersReq", "variant": "declaration", "kind": 128, "flags": {}, @@ -42704,7 +44697,7 @@ "summary": [ { "kind": "text", - "text": "The details of the payment provider to add to the region." + "text": "The details of the fulfillment provider to add to the region." } ] }, @@ -42718,7 +44711,7 @@ "signatures": [ { "id": 1566, - "name": "new AdminPostRegionsRegionPaymentProvidersReq", + "name": "new AdminPostRegionsRegionFulfillmentProvidersReq", "variant": "signature", "kind": 16384, "flags": {}, @@ -42726,14 +44719,14 @@ "summary": [ { "kind": "text", - "text": "The details of the payment provider to add to the region." + "text": "The details of the fulfillment provider to add to the region." } ] }, "type": { "type": "reference", "target": 1564, - "name": "AdminPostRegionsRegionPaymentProvidersReq", + "name": "AdminPostRegionsRegionFulfillmentProvidersReq", "package": "@medusajs/medusa" } } @@ -42749,7 +44742,7 @@ "summary": [ { "kind": "text", - "text": "The ID of the Payment Provider." + "text": "The ID of the Fulfillment Provider." } ] }, @@ -42776,7 +44769,7 @@ }, { "id": 1568, - "name": "AdminPostRegionsReq", + "name": "AdminPostRegionsRegionPaymentProvidersReq", "variant": "declaration", "kind": 128, "flags": {}, @@ -42784,7 +44777,7 @@ "summary": [ { "kind": "text", - "text": "The details of the region to create." + "text": "The details of the payment provider to add to the region." } ] }, @@ -42798,6 +44791,86 @@ "signatures": [ { "id": 1570, + "name": "new AdminPostRegionsRegionPaymentProvidersReq", + "variant": "signature", + "kind": 16384, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the payment provider to add to the region." + } + ] + }, + "type": { + "type": "reference", + "target": 1568, + "name": "AdminPostRegionsRegionPaymentProvidersReq", + "package": "@medusajs/medusa" + } + } + ] + }, + { + "id": 1571, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the Payment Provider." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 1569 + ] + }, + { + "title": "Properties", + "children": [ + 1571 + ] + } + ] + }, + { + "id": 1572, + "name": "AdminPostRegionsReq", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the region to create." + } + ] + }, + "children": [ + { + "id": 1573, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 1574, "name": "new AdminPostRegionsReq", "variant": "signature", "kind": 16384, @@ -42812,7 +44885,7 @@ }, "type": { "type": "reference", - "target": 1568, + "target": 1572, "name": "AdminPostRegionsReq", "package": "@medusajs/medusa" } @@ -42820,7 +44893,7 @@ ] }, { - "id": 1571, + "id": 1575, "name": "name", "variant": "declaration", "kind": 1024, @@ -42839,7 +44912,7 @@ } }, { - "id": 1572, + "id": 1576, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -42858,7 +44931,7 @@ } }, { - "id": 1573, + "id": 1577, "name": "tax_code", "variant": "declaration", "kind": 1024, @@ -42879,7 +44952,7 @@ } }, { - "id": 1574, + "id": 1578, "name": "tax_rate", "variant": "declaration", "kind": 1024, @@ -42898,7 +44971,7 @@ } }, { - "id": 1575, + "id": 1579, "name": "payment_providers", "variant": "declaration", "kind": 1024, @@ -42920,7 +44993,7 @@ } }, { - "id": 1576, + "id": 1580, "name": "fulfillment_providers", "variant": "declaration", "kind": 1024, @@ -42942,7 +45015,7 @@ } }, { - "id": 1577, + "id": 1581, "name": "countries", "variant": "declaration", "kind": 1024, @@ -42964,7 +45037,7 @@ } }, { - "id": 1578, + "id": 1582, "name": "includes_tax", "variant": "declaration", "kind": 1024, @@ -43007,7 +45080,7 @@ } }, { - "id": 1579, + "id": 1583, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -43039,27 +45112,173 @@ { "title": "Constructors", "children": [ - 1569 + 1573 ] }, { "title": "Properties", "children": [ - 1571, - 1572, - 1573, - 1574, 1575, 1576, 1577, 1578, - 1579 + 1579, + 1580, + 1581, + 1582, + 1583 ] } ] }, { - "id": 1538, + "id": 1612, + "name": "AdminGetRegionsRegionParams", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Parameters that can be used to configure how data is retrieved." + } + ] + }, + "children": [ + { + "id": 1613, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 1614, + "name": "new AdminGetRegionsRegionParams", + "variant": "signature", + "kind": 16384, + "flags": {}, + "type": { + "type": "reference", + "target": 1612, + "name": "AdminGetRegionsRegionParams", + "package": "@medusajs/medusa" + }, + "inheritedFrom": { + "type": "reference", + "target": 4074, + "name": "FindParams.constructor" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 4073, + "name": "FindParams.constructor" + } + }, + { + "id": 1615, + "name": "expand", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Comma-separated relations that should be expanded in the returned data." + } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4075, + "name": "FindParams.expand" + } + }, + { + "id": 1616, + "name": "fields", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4076, + "name": "FindParams.fields" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 1613 + ] + }, + { + "title": "Properties", + "children": [ + 1615, + 1616 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 4072, + "name": "FindParams", + "package": "@medusajs/medusa" + } + ] + }, + { + "id": 1542, "name": "defaultAdminRegionFields", "variant": "declaration", "kind": 32, @@ -43085,7 +45304,7 @@ "defaultValue": "..." }, { - "id": 1539, + "id": 1543, "name": "defaultAdminRegionRelations", "variant": "declaration", "kind": 32, @@ -43102,7 +45321,7 @@ "defaultValue": "..." }, { - "id": 1540, + "id": 1544, "name": "AdminRegionsRes", "variant": "declaration", "kind": 2097152, @@ -43121,14 +45340,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1541, + "id": 1545, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1542, + "id": 1546, "name": "region", "variant": "declaration", "kind": 1024, @@ -43156,7 +45375,7 @@ { "title": "Properties", "children": [ - 1542 + 1546 ] } ] @@ -43164,7 +45383,7 @@ } }, { - "id": 1543, + "id": 1547, "name": "AdminRegionsListRes", "variant": "declaration", "kind": 2097152, @@ -43185,21 +45404,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 1544, + "id": 1548, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1545, + "id": 1549, "name": "regions", "variant": "declaration", "kind": 1024, @@ -43230,7 +45449,7 @@ { "title": "Properties", "children": [ - 1545 + 1549 ] } ] @@ -43240,7 +45459,7 @@ } }, { - "id": 1546, + "id": 1550, "name": "AdminRegionsDeleteRes", "variant": "declaration", "kind": 2097152, @@ -43253,34 +45472,34 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 1547, + "id": 1551, "name": "FulfillmentOption", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 1548, + "id": 1552, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1549, + "id": 1553, "name": "new FulfillmentOption", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1547, + "target": 1551, "name": "FulfillmentOption", "package": "@medusajs/medusa" } @@ -43288,7 +45507,7 @@ ] }, { - "id": 1550, + "id": 1554, "name": "provider_id", "variant": "declaration", "kind": 1024, @@ -43307,7 +45526,7 @@ } }, { - "id": 1551, + "id": 1555, "name": "options", "variant": "declaration", "kind": 1024, @@ -43333,20 +45552,20 @@ { "title": "Constructors", "children": [ - 1548 + 1552 ] }, { "title": "Properties", "children": [ - 1550, - 1551 + 1554, + 1555 ] } ] }, { - "id": 1552, + "id": 1556, "name": "AdminGetRegionsRegionFulfillmentOptionsRes", "variant": "declaration", "kind": 128, @@ -43361,14 +45580,14 @@ }, "children": [ { - "id": 1553, + "id": 1557, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1554, + "id": 1558, "name": "new AdminGetRegionsRegionFulfillmentOptionsRes", "variant": "signature", "kind": 16384, @@ -43383,7 +45602,7 @@ }, "type": { "type": "reference", - "target": 1552, + "target": 1556, "name": "AdminGetRegionsRegionFulfillmentOptionsRes", "package": "@medusajs/medusa" } @@ -43391,7 +45610,7 @@ ] }, { - "id": 1555, + "id": 1559, "name": "fulfillment_options", "variant": "declaration", "kind": 1024, @@ -43408,7 +45627,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 1547, + "target": 1551, "name": "FulfillmentOption", "package": "@medusajs/medusa" } @@ -43419,19 +45638,19 @@ { "title": "Constructors", "children": [ - 1553 + 1557 ] }, { "title": "Properties", "children": [ - 1555 + 1559 ] } ] }, { - "id": 1580, + "id": 1584, "name": "AdminGetRegionsParams", "variant": "declaration", "kind": 128, @@ -43446,7 +45665,7 @@ }, "children": [ { - "id": 1584, + "id": 1588, "name": "q", "variant": "declaration", "kind": 1024, @@ -43467,7 +45686,7 @@ } }, { - "id": 1585, + "id": 1589, "name": "order", "variant": "declaration", "kind": 1024, @@ -43493,10 +45712,15 @@ "type": { "type": "intrinsic", "name": "string" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 50,\n offset: 0,\n}).order" } }, { - "id": 1586, + "id": 1590, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -43521,13 +45745,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 1587, + "id": 1591, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -43552,13 +45776,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 1588, + "id": 1592, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -43583,13 +45807,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 1589, + "id": 1593, "name": "expand", "variant": "declaration", "kind": 1024, @@ -43602,6 +45826,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -43615,7 +45845,7 @@ } }, { - "id": 1590, + "id": 1594, "name": "fields", "variant": "declaration", "kind": 1024, @@ -43626,7 +45856,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -43641,7 +45887,7 @@ } }, { - "id": 1591, + "id": 1595, "name": "offset", "variant": "declaration", "kind": 1024, @@ -43679,7 +45925,7 @@ } }, { - "id": 1592, + "id": 1596, "name": "limit", "variant": "declaration", "kind": 1024, @@ -43717,21 +45963,21 @@ } }, { - "id": 1581, + "id": 1585, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1582, + "id": 1586, "name": "new AdminGetRegionsParams", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 1583, + "id": 1587, "name": "args", "variant": "param", "kind": 32768, @@ -43749,7 +45995,7 @@ ], "type": { "type": "reference", - "target": 1580, + "target": 1584, "name": "AdminGetRegionsParams", "package": "@medusajs/medusa" }, @@ -43771,21 +46017,21 @@ { "title": "Constructors", "children": [ - 1581 + 1585 ] }, { "title": "Properties", "children": [ - 1584, - 1585, - 1586, - 1587, 1588, 1589, 1590, 1591, - 1592 + 1592, + 1593, + 1594, + 1595, + 1596 ] } ], @@ -43795,7 +46041,7 @@ "types": [ { "type": "reference", - "target": 4016, + "target": 4072, "typeArguments": [ { "type": "intrinsic", @@ -43807,7 +46053,7 @@ }, { "type": "reference", - "target": 4021, + "target": 4077, "typeArguments": [ { "type": "intrinsic", @@ -43822,7 +46068,7 @@ ] }, { - "id": 1593, + "id": 1597, "name": "AdminPostRegionsRegionReq", "variant": "declaration", "kind": 128, @@ -43837,14 +46083,14 @@ }, "children": [ { - "id": 1594, + "id": 1598, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1595, + "id": 1599, "name": "new AdminPostRegionsRegionReq", "variant": "signature", "kind": 16384, @@ -43859,7 +46105,7 @@ }, "type": { "type": "reference", - "target": 1593, + "target": 1597, "name": "AdminPostRegionsRegionReq", "package": "@medusajs/medusa" } @@ -43867,7 +46113,7 @@ ] }, { - "id": 1596, + "id": 1600, "name": "name", "variant": "declaration", "kind": 1024, @@ -43888,7 +46134,7 @@ } }, { - "id": 1597, + "id": 1601, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -43909,7 +46155,7 @@ } }, { - "id": 1598, + "id": 1602, "name": "tax_code", "variant": "declaration", "kind": 1024, @@ -43930,7 +46176,7 @@ } }, { - "id": 1599, + "id": 1603, "name": "tax_rate", "variant": "declaration", "kind": 1024, @@ -43951,7 +46197,7 @@ } }, { - "id": 1600, + "id": 1604, "name": "gift_cards_taxable", "variant": "declaration", "kind": 1024, @@ -43972,7 +46218,7 @@ } }, { - "id": 1601, + "id": 1605, "name": "automatic_taxes", "variant": "declaration", "kind": 1024, @@ -43993,7 +46239,7 @@ } }, { - "id": 1602, + "id": 1606, "name": "tax_provider_id", "variant": "declaration", "kind": 1024, @@ -44023,7 +46269,7 @@ } }, { - "id": 1603, + "id": 1607, "name": "payment_providers", "variant": "declaration", "kind": 1024, @@ -44047,7 +46293,7 @@ } }, { - "id": 1604, + "id": 1608, "name": "fulfillment_providers", "variant": "declaration", "kind": 1024, @@ -44071,7 +46317,7 @@ } }, { - "id": 1605, + "id": 1609, "name": "countries", "variant": "declaration", "kind": 1024, @@ -44095,7 +46341,7 @@ } }, { - "id": 1606, + "id": 1610, "name": "includes_tax", "variant": "declaration", "kind": 1024, @@ -44138,7 +46384,7 @@ } }, { - "id": 1607, + "id": 1611, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -44170,16 +46416,12 @@ { "title": "Constructors", "children": [ - 1594 + 1598 ] }, { "title": "Properties", "children": [ - 1596, - 1597, - 1598, - 1599, 1600, 1601, 1602, @@ -44187,13 +46429,17 @@ 1604, 1605, 1606, - 1607 + 1607, + 1608, + 1609, + 1610, + 1611 ] } ] }, { - "id": 1669, + "id": 1630, "name": "AdminPostReservationsReq", "variant": "declaration", "kind": 128, @@ -44208,14 +46454,14 @@ }, "children": [ { - "id": 1670, + "id": 1631, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1671, + "id": 1632, "name": "new AdminPostReservationsReq", "variant": "signature", "kind": 16384, @@ -44230,7 +46476,7 @@ }, "type": { "type": "reference", - "target": 1669, + "target": 1630, "name": "AdminPostReservationsReq", "package": "@medusajs/medusa" } @@ -44238,7 +46484,7 @@ ] }, { - "id": 1672, + "id": 1633, "name": "line_item_id", "variant": "declaration", "kind": 1024, @@ -44259,7 +46505,7 @@ } }, { - "id": 1673, + "id": 1634, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -44278,7 +46524,7 @@ } }, { - "id": 1674, + "id": 1635, "name": "inventory_item_id", "variant": "declaration", "kind": 1024, @@ -44297,7 +46543,7 @@ } }, { - "id": 1675, + "id": 1636, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -44316,7 +46562,7 @@ } }, { - "id": 1676, + "id": 1637, "name": "description", "variant": "declaration", "kind": 1024, @@ -44337,7 +46583,7 @@ } }, { - "id": 1677, + "id": 1638, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -44377,24 +46623,24 @@ { "title": "Constructors", "children": [ - 1670 + 1631 ] }, { "title": "Properties", "children": [ - 1672, - 1673, - 1674, - 1675, - 1676, - 1677 + 1633, + 1634, + 1635, + 1636, + 1637, + 1638 ] } ] }, { - "id": 1656, + "id": 1617, "name": "AdminReservationsRes", "variant": "declaration", "kind": 2097152, @@ -44413,14 +46659,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1657, + "id": 1618, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1658, + "id": 1619, "name": "reservation", "variant": "declaration", "kind": 1024, @@ -44435,7 +46681,7 @@ }, "type": { "type": "reference", - "target": 4749, + "target": 4851, "name": "ReservationItemDTO", "package": "@medusajs/types" } @@ -44445,7 +46691,7 @@ { "title": "Properties", "children": [ - 1658 + 1619 ] } ] @@ -44453,7 +46699,7 @@ } }, { - "id": 1659, + "id": 1620, "name": "ExtendedReservationItem", "variant": "declaration", "kind": 2097152, @@ -44469,21 +46715,21 @@ "types": [ { "type": "reference", - "target": 4749, + "target": 4851, "name": "ReservationItemDTO", "package": "@medusajs/types" }, { "type": "reflection", "declaration": { - "id": 1660, + "id": 1621, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1661, + "id": 1622, "name": "line_item", "variant": "declaration", "kind": 1024, @@ -44509,7 +46755,7 @@ } }, { - "id": 1662, + "id": 1623, "name": "inventory_item", "variant": "declaration", "kind": 1024, @@ -44526,7 +46772,7 @@ }, "type": { "type": "reference", - "target": 4446, + "target": 4553, "name": "InventoryItemDTO", "package": "@medusajs/types" } @@ -44536,8 +46782,8 @@ { "title": "Properties", "children": [ - 1661, - 1662 + 1622, + 1623 ] } ] @@ -44547,7 +46793,7 @@ } }, { - "id": 1663, + "id": 1624, "name": "AdminReservationsListRes", "variant": "declaration", "kind": 2097152, @@ -44568,21 +46814,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 1664, + "id": 1625, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1665, + "id": 1626, "name": "reservations", "variant": "declaration", "kind": 1024, @@ -44599,7 +46845,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4749, + "target": 4851, "name": "ReservationItemDTO", "package": "@medusajs/types" } @@ -44610,7 +46856,7 @@ { "title": "Properties", "children": [ - 1665 + 1626 ] } ] @@ -44620,7 +46866,7 @@ } }, { - "id": 1666, + "id": 1627, "name": "defaultAdminReservationRelations", "variant": "declaration", "kind": 32, @@ -44637,7 +46883,7 @@ "defaultValue": "[]" }, { - "id": 1667, + "id": 1628, "name": "defaultReservationFields", "variant": "declaration", "kind": 32, @@ -44654,7 +46900,7 @@ "defaultValue": "..." }, { - "id": 1668, + "id": 1629, "name": "AdminReservationsDeleteRes", "variant": "declaration", "kind": 2097152, @@ -44667,13 +46913,13 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 1678, + "id": 1639, "name": "AdminGetReservationsParams", "variant": "declaration", "kind": 128, @@ -44688,7 +46934,7 @@ }, "children": [ { - "id": 1682, + "id": 1643, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -44721,7 +46967,7 @@ } }, { - "id": 1683, + "id": 1644, "name": "inventory_item_id", "variant": "declaration", "kind": 1024, @@ -44745,7 +46991,7 @@ } }, { - "id": 1684, + "id": 1645, "name": "line_item_id", "variant": "declaration", "kind": 1024, @@ -44769,7 +47015,7 @@ } }, { - "id": 1685, + "id": 1646, "name": "created_by", "variant": "declaration", "kind": 1024, @@ -44793,7 +47039,7 @@ } }, { - "id": 1686, + "id": 1647, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -44818,13 +47064,13 @@ }, "type": { "type": "reference", - "target": 3981, + "target": 4037, "name": "NumericalComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 1687, + "id": 1648, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -44849,13 +47095,44 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 1688, + "id": 1649, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Date filters to apply on the reservations' " + }, + { + "kind": "code", + "text": "`updated_at`" + }, + { + "kind": "text", + "text": " field." + } + ] + }, + "type": { + "type": "reference", + "target": 4020, + "name": "DateComparisonOperator", + "package": "@medusajs/medusa" + } + }, + { + "id": 1650, "name": "description", "variant": "declaration", "kind": 1024, @@ -44866,7 +47143,7 @@ "summary": [ { "kind": "text", - "text": "String filters tp apply on the reservations' " + "text": "String filters to apply on the reservations' " }, { "kind": "code", @@ -44887,7 +47164,7 @@ }, { "type": "reference", - "target": 3971, + "target": 4027, "name": "StringComparisonOperator", "package": "@medusajs/medusa" } @@ -44895,7 +47172,7 @@ } }, { - "id": 1689, + "id": 1651, "name": "expand", "variant": "declaration", "kind": 1024, @@ -44908,6 +47185,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -44921,7 +47204,7 @@ } }, { - "id": 1690, + "id": 1652, "name": "fields", "variant": "declaration", "kind": 1024, @@ -44932,7 +47215,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -44947,7 +47246,7 @@ } }, { - "id": 1691, + "id": 1653, "name": "offset", "variant": "declaration", "kind": 1024, @@ -44985,7 +47284,7 @@ } }, { - "id": 1692, + "id": 1654, "name": "limit", "variant": "declaration", "kind": 1024, @@ -45023,21 +47322,55 @@ } }, { - "id": 1679, + "id": 1655, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 20,\n offset: 0,\n}).order" + } + }, + { + "id": 1640, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1680, + "id": 1641, "name": "new AdminGetReservationsParams", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 1681, + "id": 1642, "name": "args", "variant": "param", "kind": 32768, @@ -45055,7 +47388,7 @@ ], "type": { "type": "reference", - "target": 1678, + "target": 1639, "name": "AdminGetReservationsParams", "package": "@medusajs/medusa" }, @@ -45077,23 +47410,25 @@ { "title": "Constructors", "children": [ - 1679 + 1640 ] }, { "title": "Properties", "children": [ - 1682, - 1683, - 1684, - 1685, - 1686, - 1687, - 1688, - 1689, - 1690, - 1691, - 1692 + 1643, + 1644, + 1645, + 1646, + 1647, + 1648, + 1649, + 1650, + 1651, + 1652, + 1653, + 1654, + 1655 ] } ], @@ -45103,7 +47438,7 @@ "types": [ { "type": "reference", - "target": 4016, + "target": 4072, "typeArguments": [ { "type": "intrinsic", @@ -45115,7 +47450,7 @@ }, { "type": "reference", - "target": 4021, + "target": 4077, "typeArguments": [ { "type": "intrinsic", @@ -45130,7 +47465,7 @@ ] }, { - "id": 1693, + "id": 1656, "name": "AdminPostReservationsReservationReq", "variant": "declaration", "kind": 128, @@ -45145,14 +47480,14 @@ }, "children": [ { - "id": 1694, + "id": 1657, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1695, + "id": 1658, "name": "new AdminPostReservationsReservationReq", "variant": "signature", "kind": 16384, @@ -45167,7 +47502,7 @@ }, "type": { "type": "reference", - "target": 1693, + "target": 1656, "name": "AdminPostReservationsReservationReq", "package": "@medusajs/medusa" } @@ -45175,7 +47510,7 @@ ] }, { - "id": 1696, + "id": 1659, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -45196,7 +47531,7 @@ } }, { - "id": 1697, + "id": 1660, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -45217,7 +47552,7 @@ } }, { - "id": 1698, + "id": 1661, "name": "description", "variant": "declaration", "kind": 1024, @@ -45238,7 +47573,7 @@ } }, { - "id": 1699, + "id": 1662, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -45278,22 +47613,22 @@ { "title": "Constructors", "children": [ - 1694 + 1657 ] }, { "title": "Properties", "children": [ - 1696, - 1697, - 1698, - 1699 + 1659, + 1660, + 1661, + 1662 ] } ] }, { - "id": 1617, + "id": 1672, "name": "AdminPostReturnReasonsReq", "variant": "declaration", "kind": 128, @@ -45308,14 +47643,14 @@ }, "children": [ { - "id": 1618, + "id": 1673, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1619, + "id": 1674, "name": "new AdminPostReturnReasonsReq", "variant": "signature", "kind": 16384, @@ -45330,7 +47665,7 @@ }, "type": { "type": "reference", - "target": 1617, + "target": 1672, "name": "AdminPostReturnReasonsReq", "package": "@medusajs/medusa" } @@ -45338,7 +47673,7 @@ ] }, { - "id": 1620, + "id": 1675, "name": "value", "variant": "declaration", "kind": 1024, @@ -45357,7 +47692,7 @@ } }, { - "id": 1621, + "id": 1676, "name": "label", "variant": "declaration", "kind": 1024, @@ -45376,7 +47711,7 @@ } }, { - "id": 1622, + "id": 1677, "name": "parent_return_reason_id", "variant": "declaration", "kind": 1024, @@ -45397,7 +47732,7 @@ } }, { - "id": 1623, + "id": 1678, "name": "description", "variant": "declaration", "kind": 1024, @@ -45418,7 +47753,7 @@ } }, { - "id": 1624, + "id": 1679, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -45458,23 +47793,23 @@ { "title": "Constructors", "children": [ - 1618 + 1673 ] }, { "title": "Properties", "children": [ - 1620, - 1621, - 1622, - 1623, - 1624 + 1675, + 1676, + 1677, + 1678, + 1679 ] } ] }, { - "id": 1608, + "id": 1663, "name": "defaultAdminReturnReasonsFields", "variant": "declaration", "kind": 32, @@ -45500,7 +47835,7 @@ "defaultValue": "..." }, { - "id": 1609, + "id": 1664, "name": "defaultAdminReturnReasonsRelations", "variant": "declaration", "kind": 32, @@ -45526,7 +47861,7 @@ "defaultValue": "..." }, { - "id": 1610, + "id": 1665, "name": "AdminReturnReasonsRes", "variant": "declaration", "kind": 2097152, @@ -45545,14 +47880,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1611, + "id": 1666, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1612, + "id": 1667, "name": "return_reason", "variant": "declaration", "kind": 1024, @@ -45580,7 +47915,7 @@ { "title": "Properties", "children": [ - 1612 + 1667 ] } ] @@ -45588,7 +47923,7 @@ } }, { - "id": 1613, + "id": 1668, "name": "AdminReturnReasonsListRes", "variant": "declaration", "kind": 2097152, @@ -45607,14 +47942,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1614, + "id": 1669, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1615, + "id": 1670, "name": "return_reasons", "variant": "declaration", "kind": 1024, @@ -45645,7 +47980,7 @@ { "title": "Properties", "children": [ - 1615 + 1670 ] } ] @@ -45653,7 +47988,7 @@ } }, { - "id": 1616, + "id": 1671, "name": "AdminReturnReasonsDeleteRes", "variant": "declaration", "kind": 2097152, @@ -45666,13 +48001,13 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 1625, + "id": 1680, "name": "AdminPostReturnReasonsReasonReq", "variant": "declaration", "kind": 128, @@ -45687,14 +48022,14 @@ }, "children": [ { - "id": 1626, + "id": 1681, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1627, + "id": 1682, "name": "new AdminPostReturnReasonsReasonReq", "variant": "signature", "kind": 16384, @@ -45709,7 +48044,7 @@ }, "type": { "type": "reference", - "target": 1625, + "target": 1680, "name": "AdminPostReturnReasonsReasonReq", "package": "@medusajs/medusa" } @@ -45717,7 +48052,7 @@ ] }, { - "id": 1628, + "id": 1683, "name": "label", "variant": "declaration", "kind": 1024, @@ -45738,7 +48073,7 @@ } }, { - "id": 1629, + "id": 1684, "name": "value", "variant": "declaration", "kind": 1024, @@ -45759,7 +48094,7 @@ } }, { - "id": 1630, + "id": 1685, "name": "description", "variant": "declaration", "kind": 1024, @@ -45780,7 +48115,7 @@ } }, { - "id": 1631, + "id": 1686, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -45820,22 +48155,22 @@ { "title": "Constructors", "children": [ - 1626 + 1681 ] }, { "title": "Properties", "children": [ - 1628, - 1629, - 1630, - 1631 + 1683, + 1684, + 1685, + 1686 ] } ] }, { - "id": 1632, + "id": 1687, "name": "defaultRelations", "variant": "declaration", "kind": 32, @@ -45852,7 +48187,7 @@ "defaultValue": "..." }, { - "id": 1633, + "id": 1688, "name": "defaultRelationsList", "variant": "declaration", "kind": 32, @@ -45869,7 +48204,7 @@ "defaultValue": "..." }, { - "id": 1634, + "id": 1689, "name": "defaultReturnCancelRelations", "variant": "declaration", "kind": 32, @@ -45886,7 +48221,7 @@ "defaultValue": "..." }, { - "id": 1635, + "id": 1690, "name": "defaultReturnCancelFields", "variant": "declaration", "kind": 32, @@ -45912,7 +48247,7 @@ "defaultValue": "..." }, { - "id": 1636, + "id": 1691, "name": "AdminReturnsCancelRes", "variant": "declaration", "kind": 2097152, @@ -45931,14 +48266,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1637, + "id": 1692, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1638, + "id": 1693, "name": "order", "variant": "declaration", "kind": 1024, @@ -45966,7 +48301,7 @@ { "title": "Properties", "children": [ - 1638 + 1693 ] } ] @@ -45974,7 +48309,7 @@ } }, { - "id": 1639, + "id": 1694, "name": "AdminReturnsListRes", "variant": "declaration", "kind": 2097152, @@ -45995,21 +48330,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 1640, + "id": 1695, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1641, + "id": 1696, "name": "returns", "variant": "declaration", "kind": 1024, @@ -46040,7 +48375,7 @@ { "title": "Properties", "children": [ - 1641 + 1696 ] } ] @@ -46050,7 +48385,7 @@ } }, { - "id": 1642, + "id": 1697, "name": "AdminReturnsRes", "variant": "declaration", "kind": 2097152, @@ -46069,14 +48404,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1643, + "id": 1698, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1644, + "id": 1699, "name": "return", "variant": "declaration", "kind": 1024, @@ -46104,7 +48439,7 @@ { "title": "Properties", "children": [ - 1644 + 1699 ] } ] @@ -46112,7 +48447,7 @@ } }, { - "id": 1645, + "id": 1700, "name": "AdminGetReturnsParams", "variant": "declaration", "kind": 128, @@ -46127,21 +48462,21 @@ }, "children": [ { - "id": 1646, + "id": 1701, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1647, + "id": 1702, "name": "new AdminGetReturnsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1645, + "target": 1700, "name": "AdminGetReturnsParams", "package": "@medusajs/medusa" } @@ -46149,7 +48484,7 @@ ] }, { - "id": 1648, + "id": 1703, "name": "limit", "variant": "declaration", "kind": 1024, @@ -46182,7 +48517,7 @@ "defaultValue": "50" }, { - "id": 1649, + "id": 1704, "name": "offset", "variant": "declaration", "kind": 1024, @@ -46219,41 +48554,41 @@ { "title": "Constructors", "children": [ - 1646 + 1701 ] }, { "title": "Properties", "children": [ - 1648, - 1649 + 1703, + 1704 ] } ] }, { - "id": 4744, + "id": 4864, "name": "Item", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4745, + "id": 4865, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4746, + "id": 4866, "name": "new Item", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4744, + "target": 4864, "name": "Item", "package": "@medusajs/medusa" } @@ -46261,7 +48596,7 @@ ] }, { - "id": 4747, + "id": 4867, "name": "item_id", "variant": "declaration", "kind": 1024, @@ -46280,7 +48615,7 @@ } }, { - "id": 4748, + "id": 4868, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -46303,20 +48638,20 @@ { "title": "Constructors", "children": [ - 4745 + 4865 ] }, { "title": "Properties", "children": [ - 4747, - 4748 + 4867, + 4868 ] } ] }, { - "id": 1650, + "id": 1705, "name": "AdminPostReturnsReturnReceiveReq", "variant": "declaration", "kind": 128, @@ -46331,14 +48666,14 @@ }, "children": [ { - "id": 1651, + "id": 1706, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1652, + "id": 1707, "name": "new AdminPostReturnsReturnReceiveReq", "variant": "signature", "kind": 16384, @@ -46353,7 +48688,7 @@ }, "type": { "type": "reference", - "target": 1650, + "target": 1705, "name": "AdminPostReturnsReturnReceiveReq", "package": "@medusajs/medusa" } @@ -46361,7 +48696,7 @@ ] }, { - "id": 1653, + "id": 1708, "name": "items", "variant": "declaration", "kind": 1024, @@ -46378,14 +48713,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4744, + "target": 4864, "name": "Item", "package": "@medusajs/medusa" } } }, { - "id": 1654, + "id": 1709, "name": "refund", "variant": "declaration", "kind": 1024, @@ -46406,7 +48741,7 @@ } }, { - "id": 1655, + "id": 1710, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -46431,21 +48766,21 @@ { "title": "Constructors", "children": [ - 1651 + 1706 ] }, { "title": "Properties", "children": [ - 1653, - 1654, - 1655 + 1708, + 1709, + 1710 ] } ] }, { - "id": 1708, + "id": 1719, "name": "AdminPostSalesChannelsChannelProductsBatchReq", "variant": "declaration", "kind": 128, @@ -46460,14 +48795,14 @@ }, "children": [ { - "id": 1709, + "id": 1720, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1710, + "id": 1721, "name": "new AdminPostSalesChannelsChannelProductsBatchReq", "variant": "signature", "kind": 16384, @@ -46482,7 +48817,7 @@ }, "type": { "type": "reference", - "target": 1708, + "target": 1719, "name": "AdminPostSalesChannelsChannelProductsBatchReq", "package": "@medusajs/medusa" } @@ -46490,7 +48825,7 @@ ] }, { - "id": 1711, + "id": 1722, "name": "product_ids", "variant": "declaration", "kind": 1024, @@ -46507,7 +48842,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4740, + "target": 4847, "name": "ProductBatchSalesChannel", "package": "@medusajs/medusa" } @@ -46518,40 +48853,40 @@ { "title": "Constructors", "children": [ - 1709 + 1720 ] }, { "title": "Properties", "children": [ - 1711 + 1722 ] } ] }, { - "id": 1744, + "id": 1755, "name": "AdminPostSalesChannelsChannelStockLocationsReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 1745, + "id": 1756, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1746, + "id": 1757, "name": "new AdminPostSalesChannelsChannelStockLocationsReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1744, + "target": 1755, "name": "AdminPostSalesChannelsChannelStockLocationsReq", "package": "@medusajs/medusa" } @@ -46559,7 +48894,7 @@ ] }, { - "id": 1747, + "id": 1758, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -46582,19 +48917,19 @@ { "title": "Constructors", "children": [ - 1745 + 1756 ] }, { "title": "Properties", "children": [ - 1747 + 1758 ] } ] }, { - "id": 1712, + "id": 1723, "name": "AdminPostSalesChannelsReq", "variant": "declaration", "kind": 128, @@ -46609,14 +48944,14 @@ }, "children": [ { - "id": 1713, + "id": 1724, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1714, + "id": 1725, "name": "new AdminPostSalesChannelsReq", "variant": "signature", "kind": 16384, @@ -46631,7 +48966,7 @@ }, "type": { "type": "reference", - "target": 1712, + "target": 1723, "name": "AdminPostSalesChannelsReq", "package": "@medusajs/medusa" } @@ -46639,7 +48974,7 @@ ] }, { - "id": 1715, + "id": 1726, "name": "name", "variant": "declaration", "kind": 1024, @@ -46658,7 +48993,7 @@ } }, { - "id": 1716, + "id": 1727, "name": "description", "variant": "declaration", "kind": 1024, @@ -46677,7 +49012,7 @@ } }, { - "id": 1717, + "id": 1728, "name": "is_disabled", "variant": "declaration", "kind": 1024, @@ -46702,21 +49037,21 @@ { "title": "Constructors", "children": [ - 1713 + 1724 ] }, { "title": "Properties", "children": [ - 1715, - 1716, - 1717 + 1726, + 1727, + 1728 ] } ] }, { - "id": 1718, + "id": 1729, "name": "AdminDeleteSalesChannelsChannelProductsBatchReq", "variant": "declaration", "kind": 128, @@ -46731,14 +49066,14 @@ }, "children": [ { - "id": 1719, + "id": 1730, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1720, + "id": 1731, "name": "new AdminDeleteSalesChannelsChannelProductsBatchReq", "variant": "signature", "kind": 16384, @@ -46753,7 +49088,7 @@ }, "type": { "type": "reference", - "target": 1718, + "target": 1729, "name": "AdminDeleteSalesChannelsChannelProductsBatchReq", "package": "@medusajs/medusa" } @@ -46761,7 +49096,7 @@ ] }, { - "id": 1721, + "id": 1732, "name": "product_ids", "variant": "declaration", "kind": 1024, @@ -46778,7 +49113,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4740, + "target": 4847, "name": "ProductBatchSalesChannel", "package": "@medusajs/medusa" } @@ -46789,19 +49124,19 @@ { "title": "Constructors", "children": [ - 1719 + 1730 ] }, { "title": "Properties", "children": [ - 1721 + 1732 ] } ] }, { - "id": 1700, + "id": 1711, "name": "AdminSalesChannelsRes", "variant": "declaration", "kind": 2097152, @@ -46820,14 +49155,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1701, + "id": 1712, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1702, + "id": 1713, "name": "sales_channel", "variant": "declaration", "kind": 1024, @@ -46855,7 +49190,7 @@ { "title": "Properties", "children": [ - 1702 + 1713 ] } ] @@ -46863,7 +49198,7 @@ } }, { - "id": 1703, + "id": 1714, "name": "AdminSalesChannelsDeleteRes", "variant": "declaration", "kind": 2097152, @@ -46876,13 +49211,13 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 1704, + "id": 1715, "name": "AdminSalesChannelsDeleteLocationRes", "variant": "declaration", "kind": 2097152, @@ -46895,13 +49230,13 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 1705, + "id": 1716, "name": "AdminSalesChannelsListRes", "variant": "declaration", "kind": 2097152, @@ -46922,21 +49257,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 1706, + "id": 1717, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1707, + "id": 1718, "name": "sales_channels", "variant": "declaration", "kind": 1024, @@ -46967,7 +49302,7 @@ { "title": "Properties", "children": [ - 1707 + 1718 ] } ] @@ -46977,7 +49312,7 @@ } }, { - "id": 1722, + "id": 1733, "name": "AdminGetSalesChannelsParams", "variant": "declaration", "kind": 128, @@ -46992,7 +49327,7 @@ }, "children": [ { - "id": 1726, + "id": 1737, "name": "id", "variant": "declaration", "kind": 1024, @@ -47013,7 +49348,7 @@ } }, { - "id": 1727, + "id": 1738, "name": "q", "variant": "declaration", "kind": 1024, @@ -47034,7 +49369,7 @@ } }, { - "id": 1728, + "id": 1739, "name": "name", "variant": "declaration", "kind": 1024, @@ -47055,7 +49390,7 @@ } }, { - "id": 1729, + "id": 1740, "name": "description", "variant": "declaration", "kind": 1024, @@ -47076,7 +49411,7 @@ } }, { - "id": 1730, + "id": 1741, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -47101,13 +49436,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 1731, + "id": 1742, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -47132,13 +49467,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 1732, + "id": 1743, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -47163,13 +49498,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 1733, + "id": 1744, "name": "order", "variant": "declaration", "kind": 1024, @@ -47195,10 +49530,15 @@ "type": { "type": "intrinsic", "name": "string" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin().order" } }, { - "id": 1734, + "id": 1745, "name": "expand", "variant": "declaration", "kind": 1024, @@ -47211,6 +49551,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -47224,7 +49570,7 @@ } }, { - "id": 1735, + "id": 1746, "name": "fields", "variant": "declaration", "kind": 1024, @@ -47235,7 +49581,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -47250,7 +49612,7 @@ } }, { - "id": 1736, + "id": 1747, "name": "offset", "variant": "declaration", "kind": 1024, @@ -47288,7 +49650,7 @@ } }, { - "id": 1737, + "id": 1748, "name": "limit", "variant": "declaration", "kind": 1024, @@ -47326,21 +49688,21 @@ } }, { - "id": 1723, + "id": 1734, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1724, + "id": 1735, "name": "new AdminGetSalesChannelsParams", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 1725, + "id": 1736, "name": "args", "variant": "param", "kind": 32768, @@ -47358,7 +49720,7 @@ ], "type": { "type": "reference", - "target": 1722, + "target": 1733, "name": "AdminGetSalesChannelsParams", "package": "@medusajs/medusa" }, @@ -47380,24 +49742,24 @@ { "title": "Constructors", "children": [ - 1723 + 1734 ] }, { "title": "Properties", "children": [ - 1726, - 1727, - 1728, - 1729, - 1730, - 1731, - 1732, - 1733, - 1734, - 1735, - 1736, - 1737 + 1737, + 1738, + 1739, + 1740, + 1741, + 1742, + 1743, + 1744, + 1745, + 1746, + 1747, + 1748 ] } ], @@ -47407,7 +49769,7 @@ "types": [ { "type": "reference", - "target": 4016, + "target": 4072, "typeArguments": [ { "type": "intrinsic", @@ -47419,7 +49781,7 @@ }, { "type": "reference", - "target": 4021, + "target": 4077, "typeArguments": [ { "type": "intrinsic", @@ -47434,28 +49796,28 @@ ] }, { - "id": 1748, + "id": 1759, "name": "AdminDeleteSalesChannelsChannelStockLocationsReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 1749, + "id": 1760, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1750, + "id": 1761, "name": "new AdminDeleteSalesChannelsChannelStockLocationsReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1748, + "target": 1759, "name": "AdminDeleteSalesChannelsChannelStockLocationsReq", "package": "@medusajs/medusa" } @@ -47463,7 +49825,7 @@ ] }, { - "id": 1751, + "id": 1762, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -47486,19 +49848,19 @@ { "title": "Constructors", "children": [ - 1749 + 1760 ] }, { "title": "Properties", "children": [ - 1751 + 1762 ] } ] }, { - "id": 1738, + "id": 1749, "name": "AdminPostSalesChannelsSalesChannelReq", "variant": "declaration", "kind": 128, @@ -47513,14 +49875,14 @@ }, "children": [ { - "id": 1739, + "id": 1750, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1740, + "id": 1751, "name": "new AdminPostSalesChannelsSalesChannelReq", "variant": "signature", "kind": 16384, @@ -47535,7 +49897,7 @@ }, "type": { "type": "reference", - "target": 1738, + "target": 1749, "name": "AdminPostSalesChannelsSalesChannelReq", "package": "@medusajs/medusa" } @@ -47543,7 +49905,7 @@ ] }, { - "id": 1741, + "id": 1752, "name": "name", "variant": "declaration", "kind": 1024, @@ -47564,7 +49926,7 @@ } }, { - "id": 1742, + "id": 1753, "name": "description", "variant": "declaration", "kind": 1024, @@ -47585,7 +49947,7 @@ } }, { - "id": 1743, + "id": 1754, "name": "is_disabled", "variant": "declaration", "kind": 1024, @@ -47610,42 +49972,42 @@ { "title": "Constructors", "children": [ - 1739 + 1750 ] }, { "title": "Properties", "children": [ - 1741, - 1742, - 1743 + 1752, + 1753, + 1754 ] } ] }, { - "id": 4762, + "id": 4869, "name": "OptionRequirement", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4763, + "id": 4870, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4764, + "id": 4871, "name": "new OptionRequirement", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4762, + "target": 4869, "name": "OptionRequirement", "package": "@medusajs/medusa" } @@ -47653,7 +50015,7 @@ ] }, { - "id": 4765, + "id": 4872, "name": "type", "variant": "declaration", "kind": 1024, @@ -47677,7 +50039,7 @@ } }, { - "id": 4766, + "id": 4873, "name": "amount", "variant": "declaration", "kind": 1024, @@ -47700,20 +50062,20 @@ { "title": "Constructors", "children": [ - 4763 + 4870 ] }, { "title": "Properties", "children": [ - 4765, - 4766 + 4872, + 4873 ] } ] }, { - "id": 1761, + "id": 1772, "name": "AdminPostShippingOptionsReq", "variant": "declaration", "kind": 128, @@ -47728,14 +50090,14 @@ }, "children": [ { - "id": 1762, + "id": 1773, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1763, + "id": 1774, "name": "new AdminPostShippingOptionsReq", "variant": "signature", "kind": 16384, @@ -47750,7 +50112,7 @@ }, "type": { "type": "reference", - "target": 1761, + "target": 1772, "name": "AdminPostShippingOptionsReq", "package": "@medusajs/medusa" } @@ -47758,7 +50120,7 @@ ] }, { - "id": 1764, + "id": 1775, "name": "name", "variant": "declaration", "kind": 1024, @@ -47777,7 +50139,7 @@ } }, { - "id": 1765, + "id": 1776, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -47796,7 +50158,7 @@ } }, { - "id": 1766, + "id": 1777, "name": "provider_id", "variant": "declaration", "kind": 1024, @@ -47815,7 +50177,7 @@ } }, { - "id": 1767, + "id": 1778, "name": "profile_id", "variant": "declaration", "kind": 1024, @@ -47836,7 +50198,7 @@ } }, { - "id": 1768, + "id": 1779, "name": "data", "variant": "declaration", "kind": 1024, @@ -47870,7 +50232,7 @@ } }, { - "id": 1769, + "id": 1780, "name": "price_type", "variant": "declaration", "kind": 1024, @@ -47894,7 +50256,7 @@ } }, { - "id": 1770, + "id": 1781, "name": "amount", "variant": "declaration", "kind": 1024, @@ -47915,7 +50277,7 @@ } }, { - "id": 1771, + "id": 1782, "name": "requirements", "variant": "declaration", "kind": 1024, @@ -47934,14 +50296,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4762, + "target": 4869, "name": "OptionRequirement", "package": "@medusajs/medusa" } } }, { - "id": 1772, + "id": 1783, "name": "admin_only", "variant": "declaration", "kind": 1024, @@ -47963,7 +50325,7 @@ "defaultValue": "false" }, { - "id": 1773, + "id": 1784, "name": "is_return", "variant": "declaration", "kind": 1024, @@ -47985,7 +50347,7 @@ "defaultValue": "false" }, { - "id": 1774, + "id": 1785, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -48021,7 +50383,7 @@ } }, { - "id": 1775, + "id": 1786, "name": "includes_tax", "variant": "declaration", "kind": 1024, @@ -48068,30 +50430,30 @@ { "title": "Constructors", "children": [ - 1762 + 1773 ] }, { "title": "Properties", "children": [ - 1764, - 1765, - 1766, - 1767, - 1768, - 1769, - 1770, - 1771, - 1772, - 1773, - 1774, - 1775 + 1775, + 1776, + 1777, + 1778, + 1779, + 1780, + 1781, + 1782, + 1783, + 1784, + 1785, + 1786 ] } ] }, { - "id": 1752, + "id": 1763, "name": "shippingOptionsDefaultFields", "variant": "declaration", "kind": 32, @@ -48117,7 +50479,7 @@ "defaultValue": "..." }, { - "id": 1753, + "id": 1764, "name": "shippingOptionsDefaultRelations", "variant": "declaration", "kind": 32, @@ -48134,7 +50496,7 @@ "defaultValue": "..." }, { - "id": 1754, + "id": 1765, "name": "AdminShippingOptionsListRes", "variant": "declaration", "kind": 2097152, @@ -48155,21 +50517,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 1755, + "id": 1766, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1756, + "id": 1767, "name": "shipping_options", "variant": "declaration", "kind": 1024, @@ -48200,7 +50562,7 @@ { "title": "Properties", "children": [ - 1756 + 1767 ] } ] @@ -48210,7 +50572,7 @@ } }, { - "id": 1757, + "id": 1768, "name": "AdminShippingOptionsRes", "variant": "declaration", "kind": 2097152, @@ -48229,14 +50591,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1758, + "id": 1769, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1759, + "id": 1770, "name": "shipping_option", "variant": "declaration", "kind": 1024, @@ -48264,7 +50626,7 @@ { "title": "Properties", "children": [ - 1759 + 1770 ] } ] @@ -48272,7 +50634,7 @@ } }, { - "id": 1760, + "id": 1771, "name": "AdminShippingOptionsDeleteRes", "variant": "declaration", "kind": 2097152, @@ -48285,13 +50647,13 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 1776, + "id": 1787, "name": "AdminGetShippingOptionsParams", "variant": "declaration", "kind": 128, @@ -48306,7 +50668,7 @@ }, "children": [ { - "id": 1780, + "id": 1791, "name": "id", "variant": "declaration", "kind": 1024, @@ -48339,7 +50701,7 @@ } }, { - "id": 1781, + "id": 1792, "name": "name", "variant": "declaration", "kind": 1024, @@ -48360,7 +50722,7 @@ } }, { - "id": 1782, + "id": 1793, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -48381,7 +50743,7 @@ } }, { - "id": 1783, + "id": 1794, "name": "is_return", "variant": "declaration", "kind": 1024, @@ -48402,7 +50764,7 @@ } }, { - "id": 1784, + "id": 1795, "name": "admin_only", "variant": "declaration", "kind": 1024, @@ -48423,7 +50785,7 @@ } }, { - "id": 1785, + "id": 1796, "name": "q", "variant": "declaration", "kind": 1024, @@ -48444,7 +50806,7 @@ } }, { - "id": 1786, + "id": 1797, "name": "order", "variant": "declaration", "kind": 1024, @@ -48470,10 +50832,15 @@ "type": { "type": "intrinsic", "name": "string" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 50,\n offset: 0,\n}).order" } }, { - "id": 1787, + "id": 1798, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -48498,13 +50865,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 1788, + "id": 1799, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -48529,13 +50896,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 1789, + "id": 1800, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -48560,13 +50927,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 1790, + "id": 1801, "name": "fields", "variant": "declaration", "kind": 1024, @@ -48592,7 +50959,7 @@ } }, { - "id": 1791, + "id": 1802, "name": "expand", "variant": "declaration", "kind": 1024, @@ -48618,7 +50985,7 @@ } }, { - "id": 1792, + "id": 1803, "name": "offset", "variant": "declaration", "kind": 1024, @@ -48656,7 +51023,7 @@ } }, { - "id": 1793, + "id": 1804, "name": "limit", "variant": "declaration", "kind": 1024, @@ -48694,21 +51061,21 @@ } }, { - "id": 1777, + "id": 1788, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1778, + "id": 1789, "name": "new AdminGetShippingOptionsParams", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 1779, + "id": 1790, "name": "args", "variant": "param", "kind": 32768, @@ -48726,7 +51093,7 @@ ], "type": { "type": "reference", - "target": 1776, + "target": 1787, "name": "AdminGetShippingOptionsParams", "package": "@medusajs/medusa" }, @@ -48748,26 +51115,26 @@ { "title": "Constructors", "children": [ - 1777 + 1788 ] }, { "title": "Properties", "children": [ - 1780, - 1781, - 1782, - 1783, - 1784, - 1785, - 1786, - 1787, - 1788, - 1789, - 1790, 1791, 1792, - 1793 + 1793, + 1794, + 1795, + 1796, + 1797, + 1798, + 1799, + 1800, + 1801, + 1802, + 1803, + 1804 ] } ], @@ -48777,7 +51144,7 @@ "types": [ { "type": "reference", - "target": 4016, + "target": 4072, "typeArguments": [ { "type": "intrinsic", @@ -48789,7 +51156,7 @@ }, { "type": "reference", - "target": 4021, + "target": 4077, "typeArguments": [ { "type": "intrinsic", @@ -48804,28 +51171,28 @@ ] }, { - "id": 4767, + "id": 4874, "name": "OptionRequirement", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4768, + "id": 4875, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4769, + "id": 4876, "name": "new OptionRequirement", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4767, + "target": 4874, "name": "OptionRequirement", "package": "@medusajs/medusa" } @@ -48833,7 +51200,7 @@ ] }, { - "id": 4770, + "id": 4877, "name": "id", "variant": "declaration", "kind": 1024, @@ -48852,7 +51219,7 @@ } }, { - "id": 4771, + "id": 4878, "name": "type", "variant": "declaration", "kind": 1024, @@ -48871,7 +51238,7 @@ } }, { - "id": 4772, + "id": 4879, "name": "amount", "variant": "declaration", "kind": 1024, @@ -48894,21 +51261,21 @@ { "title": "Constructors", "children": [ - 4768 + 4875 ] }, { "title": "Properties", "children": [ - 4770, - 4771, - 4772 + 4877, + 4878, + 4879 ] } ] }, { - "id": 1794, + "id": 1805, "name": "AdminPostShippingOptionsOptionReq", "variant": "declaration", "kind": 128, @@ -48923,14 +51290,14 @@ }, "children": [ { - "id": 1795, + "id": 1806, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1796, + "id": 1807, "name": "new AdminPostShippingOptionsOptionReq", "variant": "signature", "kind": 16384, @@ -48945,7 +51312,7 @@ }, "type": { "type": "reference", - "target": 1794, + "target": 1805, "name": "AdminPostShippingOptionsOptionReq", "package": "@medusajs/medusa" } @@ -48953,7 +51320,7 @@ ] }, { - "id": 1797, + "id": 1808, "name": "name", "variant": "declaration", "kind": 1024, @@ -48972,7 +51339,7 @@ } }, { - "id": 1798, + "id": 1809, "name": "amount", "variant": "declaration", "kind": 1024, @@ -48993,7 +51360,7 @@ } }, { - "id": 1799, + "id": 1810, "name": "price_type", "variant": "declaration", "kind": 1024, @@ -49011,7 +51378,7 @@ } }, { - "id": 1800, + "id": 1811, "name": "requirements", "variant": "declaration", "kind": 1024, @@ -49028,14 +51395,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4767, + "target": 4874, "name": "OptionRequirement", "package": "@medusajs/medusa" } } }, { - "id": 1801, + "id": 1812, "name": "admin_only", "variant": "declaration", "kind": 1024, @@ -49056,7 +51423,7 @@ } }, { - "id": 1802, + "id": 1813, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -49092,7 +51459,7 @@ } }, { - "id": 1803, + "id": 1814, "name": "includes_tax", "variant": "declaration", "kind": 1024, @@ -49139,25 +51506,25 @@ { "title": "Constructors", "children": [ - 1795 + 1806 ] }, { "title": "Properties", "children": [ - 1797, - 1798, - 1799, - 1800, - 1801, - 1802, - 1803 + 1808, + 1809, + 1810, + 1811, + 1812, + 1813, + 1814 ] } ] }, { - "id": 1813, + "id": 1824, "name": "AdminPostShippingProfilesReq", "variant": "declaration", "kind": 128, @@ -49172,14 +51539,14 @@ }, "children": [ { - "id": 1814, + "id": 1825, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1815, + "id": 1826, "name": "new AdminPostShippingProfilesReq", "variant": "signature", "kind": 16384, @@ -49194,7 +51561,7 @@ }, "type": { "type": "reference", - "target": 1813, + "target": 1824, "name": "AdminPostShippingProfilesReq", "package": "@medusajs/medusa" } @@ -49202,7 +51569,7 @@ ] }, { - "id": 1816, + "id": 1827, "name": "name", "variant": "declaration", "kind": 1024, @@ -49221,7 +51588,7 @@ } }, { - "id": 1817, + "id": 1828, "name": "type", "variant": "declaration", "kind": 1024, @@ -49245,7 +51612,7 @@ } }, { - "id": 1818, + "id": 1829, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -49285,21 +51652,21 @@ { "title": "Constructors", "children": [ - 1814 + 1825 ] }, { "title": "Properties", "children": [ - 1816, - 1817, - 1818 + 1827, + 1828, + 1829 ] } ] }, { - "id": 1804, + "id": 1815, "name": "defaultAdminShippingProfilesFields", "variant": "declaration", "kind": 32, @@ -49325,7 +51692,7 @@ "defaultValue": "..." }, { - "id": 1805, + "id": 1816, "name": "defaultAdminShippingProfilesRelations", "variant": "declaration", "kind": 32, @@ -49342,7 +51709,7 @@ "defaultValue": "..." }, { - "id": 1806, + "id": 1817, "name": "AdminDeleteShippingProfileRes", "variant": "declaration", "kind": 2097152, @@ -49355,13 +51722,13 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 1807, + "id": 1818, "name": "AdminShippingProfilesRes", "variant": "declaration", "kind": 2097152, @@ -49380,14 +51747,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1808, + "id": 1819, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1809, + "id": 1820, "name": "shipping_profile", "variant": "declaration", "kind": 1024, @@ -49415,7 +51782,7 @@ { "title": "Properties", "children": [ - 1809 + 1820 ] } ] @@ -49423,7 +51790,7 @@ } }, { - "id": 1810, + "id": 1821, "name": "AdminShippingProfilesListRes", "variant": "declaration", "kind": 2097152, @@ -49442,14 +51809,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1811, + "id": 1822, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1812, + "id": 1823, "name": "shipping_profiles", "variant": "declaration", "kind": 1024, @@ -49480,7 +51847,7 @@ { "title": "Properties", "children": [ - 1812 + 1823 ] } ] @@ -49488,7 +51855,7 @@ } }, { - "id": 1819, + "id": 1830, "name": "AdminPostShippingProfilesProfileReq", "variant": "declaration", "kind": 128, @@ -49503,14 +51870,14 @@ }, "children": [ { - "id": 1820, + "id": 1831, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1821, + "id": 1832, "name": "new AdminPostShippingProfilesProfileReq", "variant": "signature", "kind": 16384, @@ -49525,7 +51892,7 @@ }, "type": { "type": "reference", - "target": 1819, + "target": 1830, "name": "AdminPostShippingProfilesProfileReq", "package": "@medusajs/medusa" } @@ -49533,7 +51900,7 @@ ] }, { - "id": 1822, + "id": 1833, "name": "name", "variant": "declaration", "kind": 1024, @@ -49554,7 +51921,7 @@ } }, { - "id": 1823, + "id": 1834, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -49590,7 +51957,7 @@ } }, { - "id": 1824, + "id": 1835, "name": "type", "variant": "declaration", "kind": 1024, @@ -49616,7 +51983,7 @@ } }, { - "id": 1825, + "id": 1836, "name": "products", "variant": "declaration", "kind": 1024, @@ -49640,7 +52007,7 @@ } }, { - "id": 1826, + "id": 1837, "name": "shipping_options", "variant": "declaration", "kind": 1024, @@ -49668,44 +52035,44 @@ { "title": "Constructors", "children": [ - 1820 + 1831 ] }, { "title": "Properties", "children": [ - 1822, - 1823, - 1824, - 1825, - 1826 + 1833, + 1834, + 1835, + 1836, + 1837 ] } ] }, { - "id": 4791, + "id": 4900, "name": "StockLocationAddress", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4792, + "id": 4901, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4793, + "id": 4902, "name": "new StockLocationAddress", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4791, + "target": 4900, "name": "StockLocationAddress", "package": "@medusajs/medusa" } @@ -49713,7 +52080,7 @@ ] }, { - "id": 4794, + "id": 4903, "name": "address_1", "variant": "declaration", "kind": 1024, @@ -49732,7 +52099,7 @@ } }, { - "id": 4795, + "id": 4904, "name": "address_2", "variant": "declaration", "kind": 1024, @@ -49753,7 +52120,7 @@ } }, { - "id": 4796, + "id": 4905, "name": "company", "variant": "declaration", "kind": 1024, @@ -49774,7 +52141,7 @@ } }, { - "id": 4797, + "id": 4906, "name": "city", "variant": "declaration", "kind": 1024, @@ -49795,7 +52162,7 @@ } }, { - "id": 4798, + "id": 4907, "name": "country_code", "variant": "declaration", "kind": 1024, @@ -49814,7 +52181,7 @@ } }, { - "id": 4799, + "id": 4908, "name": "phone", "variant": "declaration", "kind": 1024, @@ -49835,7 +52202,7 @@ } }, { - "id": 4800, + "id": 4909, "name": "postal_code", "variant": "declaration", "kind": 1024, @@ -49856,7 +52223,7 @@ } }, { - "id": 4801, + "id": 4910, "name": "province", "variant": "declaration", "kind": 1024, @@ -49881,26 +52248,26 @@ { "title": "Constructors", "children": [ - 4792 + 4901 ] }, { "title": "Properties", "children": [ - 4794, - 4795, - 4796, - 4797, - 4798, - 4799, - 4800, - 4801 + 4903, + 4904, + 4905, + 4906, + 4907, + 4908, + 4909, + 4910 ] } ] }, { - "id": 1836, + "id": 1847, "name": "AdminPostStockLocationsReq", "variant": "declaration", "kind": 128, @@ -49915,14 +52282,14 @@ }, "children": [ { - "id": 1837, + "id": 1848, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1838, + "id": 1849, "name": "new AdminPostStockLocationsReq", "variant": "signature", "kind": 16384, @@ -49937,7 +52304,7 @@ }, "type": { "type": "reference", - "target": 1836, + "target": 1847, "name": "AdminPostStockLocationsReq", "package": "@medusajs/medusa" } @@ -49945,7 +52312,7 @@ ] }, { - "id": 1839, + "id": 1850, "name": "name", "variant": "declaration", "kind": 1024, @@ -49964,7 +52331,7 @@ } }, { - "id": 1840, + "id": 1851, "name": "address", "variant": "declaration", "kind": 1024, @@ -49981,13 +52348,13 @@ }, "type": { "type": "reference", - "target": 4791, + "target": 4900, "name": "StockLocationAddress", "package": "@medusajs/medusa" } }, { - "id": 1841, + "id": 1852, "name": "address_id", "variant": "declaration", "kind": 1024, @@ -50008,7 +52375,7 @@ } }, { - "id": 1842, + "id": 1853, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -50048,22 +52415,22 @@ { "title": "Constructors", "children": [ - 1837 + 1848 ] }, { "title": "Properties", "children": [ - 1839, - 1840, - 1841, - 1842 + 1850, + 1851, + 1852, + 1853 ] } ] }, { - "id": 1843, + "id": 1854, "name": "AdminPostStockLocationsParams", "variant": "declaration", "kind": 128, @@ -50078,39 +52445,39 @@ }, "children": [ { - "id": 1844, + "id": 1855, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1845, + "id": 1856, "name": "new AdminPostStockLocationsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1843, + "target": 1854, "name": "AdminPostStockLocationsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 1846, + "id": 1857, "name": "expand", "variant": "declaration", "kind": 1024, @@ -50123,6 +52490,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -50131,12 +52504,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 1847, + "id": 1858, "name": "fields", "variant": "declaration", "kind": 1024, @@ -50147,7 +52520,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -50157,7 +52546,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -50166,28 +52555,28 @@ { "title": "Constructors", "children": [ - 1844 + 1855 ] }, { "title": "Properties", "children": [ - 1846, - 1847 + 1857, + 1858 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 1848, + "id": 1859, "name": "AdminGetStockLocationsLocationParams", "variant": "declaration", "kind": 128, @@ -50202,39 +52591,39 @@ }, "children": [ { - "id": 1849, + "id": 1860, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1850, + "id": 1861, "name": "new AdminGetStockLocationsLocationParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1848, + "target": 1859, "name": "AdminGetStockLocationsLocationParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 1851, + "id": 1862, "name": "expand", "variant": "declaration", "kind": 1024, @@ -50247,6 +52636,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -50255,12 +52650,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 1852, + "id": 1863, "name": "fields", "variant": "declaration", "kind": 1024, @@ -50271,7 +52666,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -50281,7 +52692,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -50290,28 +52701,28 @@ { "title": "Constructors", "children": [ - 1849 + 1860 ] }, { "title": "Properties", "children": [ - 1851, - 1852 + 1862, + 1863 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 1827, + "id": 1838, "name": "defaultAdminStockLocationFields", "variant": "declaration", "kind": 32, @@ -50325,7 +52736,7 @@ "operator": "keyof", "target": { "type": "reference", - "target": 4773, + "target": 4880, "name": "StockLocationTypes.StockLocationDTO", "package": "@medusajs/types", "qualifiedName": "StockLocationDTO" @@ -50335,7 +52746,7 @@ "defaultValue": "..." }, { - "id": 1828, + "id": 1839, "name": "defaultAdminStockLocationRelations", "variant": "declaration", "kind": 32, @@ -50352,7 +52763,7 @@ "defaultValue": "[]" }, { - "id": 1829, + "id": 1840, "name": "AdminStockLocationsDeleteRes", "variant": "declaration", "kind": 2097152, @@ -50365,13 +52776,13 @@ }, "type": { "type": "reference", - "target": 4783, + "target": 4891, "name": "DeleteResponse", "package": "@medusajs/types" } }, { - "id": 1830, + "id": 1841, "name": "AdminStockLocationsRes", "variant": "declaration", "kind": 2097152, @@ -50390,14 +52801,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1831, + "id": 1842, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1832, + "id": 1843, "name": "stock_location", "variant": "declaration", "kind": 1024, @@ -50412,7 +52823,7 @@ }, "type": { "type": "reference", - "target": 4788, + "target": 4897, "name": "StockLocationTypes.StockLocationExpandedDTO", "package": "@medusajs/types", "qualifiedName": "StockLocationExpandedDTO" @@ -50423,7 +52834,7 @@ { "title": "Properties", "children": [ - 1832 + 1843 ] } ] @@ -50431,7 +52842,7 @@ } }, { - "id": 1833, + "id": 1844, "name": "AdminStockLocationsListRes", "variant": "declaration", "kind": 2097152, @@ -50452,21 +52863,21 @@ "types": [ { "type": "reference", - "target": 4478, + "target": 4585, "name": "PaginatedResponse", "package": "@medusajs/types" }, { "type": "reflection", "declaration": { - "id": 1834, + "id": 1845, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1835, + "id": 1846, "name": "stock_locations", "variant": "declaration", "kind": 1024, @@ -50483,7 +52894,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4788, + "target": 4897, "name": "StockLocationTypes.StockLocationExpandedDTO", "package": "@medusajs/types", "qualifiedName": "StockLocationExpandedDTO" @@ -50495,7 +52906,7 @@ { "title": "Properties", "children": [ - 1835 + 1846 ] } ] @@ -50505,7 +52916,7 @@ } }, { - "id": 1853, + "id": 1864, "name": "AdminGetStockLocationsParams", "variant": "declaration", "kind": 128, @@ -50520,7 +52931,7 @@ }, "children": [ { - "id": 1857, + "id": 1868, "name": "q", "variant": "declaration", "kind": 1024, @@ -50541,7 +52952,7 @@ } }, { - "id": 1858, + "id": 1869, "name": "id", "variant": "declaration", "kind": 1024, @@ -50574,7 +52985,7 @@ } }, { - "id": 1859, + "id": 1870, "name": "name", "variant": "declaration", "kind": 1024, @@ -50607,7 +53018,7 @@ } }, { - "id": 1860, + "id": 1871, "name": "address_id", "variant": "declaration", "kind": 1024, @@ -50640,7 +53051,7 @@ } }, { - "id": 1861, + "id": 1872, "name": "sales_channel_id", "variant": "declaration", "kind": 1024, @@ -50673,7 +53084,7 @@ } }, { - "id": 1862, + "id": 1873, "name": "order", "variant": "declaration", "kind": 1024, @@ -50699,10 +53110,15 @@ "type": { "type": "intrinsic", "name": "string" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 20,\n offset: 0,\n}).order" } }, { - "id": 1863, + "id": 1874, "name": "expand", "variant": "declaration", "kind": 1024, @@ -50715,6 +53131,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -50728,7 +53150,7 @@ } }, { - "id": 1864, + "id": 1875, "name": "fields", "variant": "declaration", "kind": 1024, @@ -50739,7 +53161,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -50754,7 +53192,7 @@ } }, { - "id": 1865, + "id": 1876, "name": "offset", "variant": "declaration", "kind": 1024, @@ -50792,7 +53230,7 @@ } }, { - "id": 1866, + "id": 1877, "name": "limit", "variant": "declaration", "kind": 1024, @@ -50830,21 +53268,21 @@ } }, { - "id": 1854, + "id": 1865, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1855, + "id": 1866, "name": "new AdminGetStockLocationsParams", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 1856, + "id": 1867, "name": "args", "variant": "param", "kind": 32768, @@ -50862,7 +53300,7 @@ ], "type": { "type": "reference", - "target": 1853, + "target": 1864, "name": "AdminGetStockLocationsParams", "package": "@medusajs/medusa" }, @@ -50884,22 +53322,22 @@ { "title": "Constructors", "children": [ - 1854 + 1865 ] }, { "title": "Properties", "children": [ - 1857, - 1858, - 1859, - 1860, - 1861, - 1862, - 1863, - 1864, - 1865, - 1866 + 1868, + 1869, + 1870, + 1871, + 1872, + 1873, + 1874, + 1875, + 1876, + 1877 ] } ], @@ -50909,7 +53347,7 @@ "types": [ { "type": "reference", - "target": 4016, + "target": 4072, "typeArguments": [ { "type": "intrinsic", @@ -50921,7 +53359,7 @@ }, { "type": "reference", - "target": 4021, + "target": 4077, "typeArguments": [ { "type": "intrinsic", @@ -50936,7 +53374,7 @@ ] }, { - "id": 4802, + "id": 4911, "name": "StockLocationAddress", "variant": "declaration", "kind": 128, @@ -50951,21 +53389,21 @@ }, "children": [ { - "id": 4803, + "id": 4912, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4804, + "id": 4913, "name": "new StockLocationAddress", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4802, + "target": 4911, "name": "StockLocationAddress", "package": "@medusajs/medusa" } @@ -50973,7 +53411,7 @@ ] }, { - "id": 4805, + "id": 4914, "name": "address_1", "variant": "declaration", "kind": 1024, @@ -50992,7 +53430,7 @@ } }, { - "id": 4806, + "id": 4915, "name": "address_2", "variant": "declaration", "kind": 1024, @@ -51013,7 +53451,7 @@ } }, { - "id": 4807, + "id": 4916, "name": "company", "variant": "declaration", "kind": 1024, @@ -51034,7 +53472,7 @@ } }, { - "id": 4808, + "id": 4917, "name": "city", "variant": "declaration", "kind": 1024, @@ -51055,7 +53493,7 @@ } }, { - "id": 4809, + "id": 4918, "name": "country_code", "variant": "declaration", "kind": 1024, @@ -51074,7 +53512,7 @@ } }, { - "id": 4810, + "id": 4919, "name": "phone", "variant": "declaration", "kind": 1024, @@ -51095,7 +53533,7 @@ } }, { - "id": 4811, + "id": 4920, "name": "postal_code", "variant": "declaration", "kind": 1024, @@ -51116,7 +53554,7 @@ } }, { - "id": 4812, + "id": 4921, "name": "province", "variant": "declaration", "kind": 1024, @@ -51141,26 +53579,26 @@ { "title": "Constructors", "children": [ - 4803 + 4912 ] }, { "title": "Properties", "children": [ - 4805, - 4806, - 4807, - 4808, - 4809, - 4810, - 4811, - 4812 + 4914, + 4915, + 4916, + 4917, + 4918, + 4919, + 4920, + 4921 ] } ] }, { - "id": 1867, + "id": 1878, "name": "AdminPostStockLocationsLocationReq", "variant": "declaration", "kind": 128, @@ -51175,14 +53613,14 @@ }, "children": [ { - "id": 1868, + "id": 1879, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1869, + "id": 1880, "name": "new AdminPostStockLocationsLocationReq", "variant": "signature", "kind": 16384, @@ -51197,7 +53635,7 @@ }, "type": { "type": "reference", - "target": 1867, + "target": 1878, "name": "AdminPostStockLocationsLocationReq", "package": "@medusajs/medusa" } @@ -51205,7 +53643,7 @@ ] }, { - "id": 1870, + "id": 1881, "name": "name", "variant": "declaration", "kind": 1024, @@ -51226,7 +53664,7 @@ } }, { - "id": 1871, + "id": 1882, "name": "address", "variant": "declaration", "kind": 1024, @@ -51243,13 +53681,13 @@ }, "type": { "type": "reference", - "target": 4802, + "target": 4911, "name": "StockLocationAddress", "package": "@medusajs/medusa" } }, { - "id": 1872, + "id": 1883, "name": "address_id", "variant": "declaration", "kind": 1024, @@ -51270,7 +53708,7 @@ } }, { - "id": 1873, + "id": 1884, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -51310,22 +53748,22 @@ { "title": "Constructors", "children": [ - 1868 + 1879 ] }, { "title": "Properties", "children": [ - 1870, - 1871, - 1872, - 1873 + 1881, + 1882, + 1883, + 1884 ] } ] }, { - "id": 1874, + "id": 1885, "name": "AdminPostStockLocationsLocationParams", "variant": "declaration", "kind": 128, @@ -51340,39 +53778,39 @@ }, "children": [ { - "id": 1875, + "id": 1886, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1876, + "id": 1887, "name": "new AdminPostStockLocationsLocationParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1874, + "target": 1885, "name": "AdminPostStockLocationsLocationParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 1877, + "id": 1888, "name": "expand", "variant": "declaration", "kind": 1024, @@ -51385,6 +53823,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -51393,12 +53837,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 1878, + "id": 1889, "name": "fields", "variant": "declaration", "kind": 1024, @@ -51409,7 +53853,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -51419,7 +53879,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -51428,28 +53888,28 @@ { "title": "Constructors", "children": [ - 1875 + 1886 ] }, { "title": "Properties", "children": [ - 1877, - 1878 + 1888, + 1889 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 1879, + "id": 1890, "name": "defaultRelationsExtended", "variant": "declaration", "kind": 32, @@ -51466,7 +53926,7 @@ "defaultValue": "..." }, { - "id": 1880, + "id": 1891, "name": "AdminExtendedStoresRes", "variant": "declaration", "kind": 2097152, @@ -51485,14 +53945,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1881, + "id": 1892, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1882, + "id": 1893, "name": "store", "variant": "declaration", "kind": 1024, @@ -51507,7 +53967,7 @@ }, "type": { "type": "reference", - "target": 4813, + "target": 4922, "name": "ExtendedStoreDTO", "package": "@medusajs/medusa" } @@ -51517,7 +53977,7 @@ { "title": "Properties", "children": [ - 1882 + 1893 ] } ] @@ -51525,7 +53985,7 @@ } }, { - "id": 1883, + "id": 1894, "name": "AdminStoresRes", "variant": "declaration", "kind": 2097152, @@ -51544,14 +54004,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1884, + "id": 1895, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1885, + "id": 1896, "name": "store", "variant": "declaration", "kind": 1024, @@ -51579,7 +54039,7 @@ { "title": "Properties", "children": [ - 1885 + 1896 ] } ] @@ -51587,7 +54047,7 @@ } }, { - "id": 1886, + "id": 1897, "name": "AdminTaxProvidersList", "variant": "declaration", "kind": 2097152, @@ -51606,14 +54066,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1887, + "id": 1898, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1888, + "id": 1899, "name": "tax_providers", "variant": "declaration", "kind": 1024, @@ -51644,7 +54104,7 @@ { "title": "Properties", "children": [ - 1888 + 1899 ] } ] @@ -51652,7 +54112,7 @@ } }, { - "id": 1889, + "id": 1900, "name": "AdminPaymentProvidersList", "variant": "declaration", "kind": 2097152, @@ -51671,14 +54131,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1890, + "id": 1901, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1891, + "id": 1902, "name": "payment_providers", "variant": "declaration", "kind": 1024, @@ -51709,7 +54169,7 @@ { "title": "Properties", "children": [ - 1891 + 1902 ] } ] @@ -51717,7 +54177,7 @@ } }, { - "id": 1892, + "id": 1903, "name": "AdminPostStoreReq", "variant": "declaration", "kind": 128, @@ -51732,14 +54192,14 @@ }, "children": [ { - "id": 1893, + "id": 1904, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1894, + "id": 1905, "name": "new AdminPostStoreReq", "variant": "signature", "kind": 16384, @@ -51754,7 +54214,7 @@ }, "type": { "type": "reference", - "target": 1892, + "target": 1903, "name": "AdminPostStoreReq", "package": "@medusajs/medusa" } @@ -51762,7 +54222,7 @@ ] }, { - "id": 1895, + "id": 1906, "name": "name", "variant": "declaration", "kind": 1024, @@ -51783,7 +54243,7 @@ } }, { - "id": 1896, + "id": 1907, "name": "swap_link_template", "variant": "declaration", "kind": 1024, @@ -51804,7 +54264,7 @@ } }, { - "id": 1897, + "id": 1908, "name": "payment_link_template", "variant": "declaration", "kind": 1024, @@ -51825,7 +54285,7 @@ } }, { - "id": 1898, + "id": 1909, "name": "invite_link_template", "variant": "declaration", "kind": 1024, @@ -51846,7 +54306,7 @@ } }, { - "id": 1899, + "id": 1910, "name": "default_currency_code", "variant": "declaration", "kind": 1024, @@ -51867,7 +54327,7 @@ } }, { - "id": 1900, + "id": 1911, "name": "currencies", "variant": "declaration", "kind": 1024, @@ -51891,7 +54351,7 @@ } }, { - "id": 1901, + "id": 1912, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -51931,25 +54391,25 @@ { "title": "Constructors", "children": [ - 1893 + 1904 ] }, { "title": "Properties", "children": [ - 1895, - 1896, - 1897, - 1898, - 1899, - 1900, - 1901 + 1906, + 1907, + 1908, + 1909, + 1910, + 1911, + 1912 ] } ] }, { - "id": 1902, + "id": 1913, "name": "defaultAdminSwapRelations", "variant": "declaration", "kind": 32, @@ -51966,7 +54426,7 @@ "defaultValue": "..." }, { - "id": 1903, + "id": 1914, "name": "defaultAdminSwapFields", "variant": "declaration", "kind": 32, @@ -51983,7 +54443,7 @@ "defaultValue": "..." }, { - "id": 1904, + "id": 1915, "name": "AdminSwapsListRes", "variant": "declaration", "kind": 2097152, @@ -52004,21 +54464,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 1905, + "id": 1916, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1906, + "id": 1917, "name": "swaps", "variant": "declaration", "kind": 1024, @@ -52049,7 +54509,7 @@ { "title": "Properties", "children": [ - 1906 + 1917 ] } ] @@ -52059,7 +54519,7 @@ } }, { - "id": 1907, + "id": 1918, "name": "AdminSwapsRes", "variant": "declaration", "kind": 2097152, @@ -52078,14 +54538,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1908, + "id": 1919, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1909, + "id": 1920, "name": "swap", "variant": "declaration", "kind": 1024, @@ -52113,7 +54573,7 @@ { "title": "Properties", "children": [ - 1909 + 1920 ] } ] @@ -52121,7 +54581,7 @@ } }, { - "id": 1910, + "id": 1921, "name": "AdminGetSwapsParams", "variant": "declaration", "kind": 128, @@ -52136,21 +54596,21 @@ }, "children": [ { - "id": 1911, + "id": 1922, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1912, + "id": 1923, "name": "new AdminGetSwapsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1910, + "target": 1921, "name": "AdminGetSwapsParams", "package": "@medusajs/medusa" } @@ -52158,7 +54618,7 @@ ] }, { - "id": 1913, + "id": 1924, "name": "limit", "variant": "declaration", "kind": 1024, @@ -52180,7 +54640,7 @@ "defaultValue": "50" }, { - "id": 1914, + "id": 1925, "name": "offset", "variant": "declaration", "kind": 1024, @@ -52206,20 +54666,20 @@ { "title": "Constructors", "children": [ - 1911 + 1922 ] }, { "title": "Properties", "children": [ - 1913, - 1914 + 1924, + 1925 ] } ] }, { - "id": 1967, + "id": 1983, "name": "AdminPostTaxRatesTaxRateProductTypesReq", "variant": "declaration", "kind": 128, @@ -52234,14 +54694,14 @@ }, "children": [ { - "id": 1968, + "id": 1984, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1969, + "id": 1985, "name": "new AdminPostTaxRatesTaxRateProductTypesReq", "variant": "signature", "kind": 16384, @@ -52256,7 +54716,7 @@ }, "type": { "type": "reference", - "target": 1967, + "target": 1983, "name": "AdminPostTaxRatesTaxRateProductTypesReq", "package": "@medusajs/medusa" } @@ -52264,7 +54724,7 @@ ] }, { - "id": 1970, + "id": 1986, "name": "product_types", "variant": "declaration", "kind": 1024, @@ -52290,19 +54750,19 @@ { "title": "Constructors", "children": [ - 1968 + 1984 ] }, { "title": "Properties", "children": [ - 1970 + 1986 ] } ] }, { - "id": 1971, + "id": 1987, "name": "AdminPostTaxRatesTaxRateProductTypesParams", "variant": "declaration", "kind": 128, @@ -52317,21 +54777,21 @@ }, "children": [ { - "id": 1972, + "id": 1988, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1973, + "id": 1989, "name": "new AdminPostTaxRatesTaxRateProductTypesParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1971, + "target": 1987, "name": "AdminPostTaxRatesTaxRateProductTypesParams", "package": "@medusajs/medusa" } @@ -52339,7 +54799,7 @@ ] }, { - "id": 1974, + "id": 1990, "name": "expand", "variant": "declaration", "kind": 1024, @@ -52363,7 +54823,7 @@ } }, { - "id": 1975, + "id": 1991, "name": "fields", "variant": "declaration", "kind": 1024, @@ -52374,7 +54834,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -52391,20 +54867,20 @@ { "title": "Constructors", "children": [ - 1972 + 1988 ] }, { "title": "Properties", "children": [ - 1974, - 1975 + 1990, + 1991 ] } ] }, { - "id": 1976, + "id": 1992, "name": "AdminPostTaxRatesTaxRateProductsReq", "variant": "declaration", "kind": 128, @@ -52419,14 +54895,14 @@ }, "children": [ { - "id": 1977, + "id": 1993, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1978, + "id": 1994, "name": "new AdminPostTaxRatesTaxRateProductsReq", "variant": "signature", "kind": 16384, @@ -52441,7 +54917,7 @@ }, "type": { "type": "reference", - "target": 1976, + "target": 1992, "name": "AdminPostTaxRatesTaxRateProductsReq", "package": "@medusajs/medusa" } @@ -52449,7 +54925,7 @@ ] }, { - "id": 1979, + "id": 1995, "name": "products", "variant": "declaration", "kind": 1024, @@ -52475,19 +54951,19 @@ { "title": "Constructors", "children": [ - 1977 + 1993 ] }, { "title": "Properties", "children": [ - 1979 + 1995 ] } ] }, { - "id": 1980, + "id": 1996, "name": "AdminPostTaxRatesTaxRateProductsParams", "variant": "declaration", "kind": 128, @@ -52502,21 +54978,21 @@ }, "children": [ { - "id": 1981, + "id": 1997, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1982, + "id": 1998, "name": "new AdminPostTaxRatesTaxRateProductsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1980, + "target": 1996, "name": "AdminPostTaxRatesTaxRateProductsParams", "package": "@medusajs/medusa" } @@ -52524,7 +55000,7 @@ ] }, { - "id": 1983, + "id": 1999, "name": "expand", "variant": "declaration", "kind": 1024, @@ -52548,7 +55024,7 @@ } }, { - "id": 1984, + "id": 2000, "name": "fields", "variant": "declaration", "kind": 1024, @@ -52559,192 +55035,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [ - 1981 - ] - }, - { - "title": "Properties", - "children": [ - 1983, - 1984 - ] - } - ] - }, - { - "id": 1985, - "name": "AdminPostTaxRatesTaxRateShippingOptionsReq", - "variant": "declaration", - "kind": 128, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The details of the shipping options to associate with the tax rate." - } - ] - }, - "children": [ - { - "id": 1986, - "name": "constructor", - "variant": "declaration", - "kind": 512, - "flags": {}, - "signatures": [ - { - "id": 1987, - "name": "new AdminPostTaxRatesTaxRateShippingOptionsReq", - "variant": "signature", - "kind": 16384, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The details of the shipping options to associate with the tax rate." - } - ] + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " }, - "type": { - "type": "reference", - "target": 1985, - "name": "AdminPostTaxRatesTaxRateShippingOptionsReq", - "package": "@medusajs/medusa" - } - } - ] - }, - { - "id": 1988, - "name": "shipping_options", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ { - "kind": "text", - "text": "The IDs of the shipping options to associate with this tax rate" - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [ - 1986 - ] - }, - { - "title": "Properties", - "children": [ - 1988 - ] - } - ] - }, - { - "id": 1989, - "name": "AdminPostTaxRatesTaxRateShippingOptionsParams", - "variant": "declaration", - "kind": 128, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters that can be used to configure how data is retrieved." - } - ] - }, - "children": [ - { - "id": 1990, - "name": "constructor", - "variant": "declaration", - "kind": 512, - "flags": {}, - "signatures": [ - { - "id": 1991, - "name": "new AdminPostTaxRatesTaxRateShippingOptionsParams", - "variant": "signature", - "kind": 16384, - "flags": {}, - "type": { - "type": "reference", - "target": 1989, - "name": "AdminPostTaxRatesTaxRateShippingOptionsParams", - "package": "@medusajs/medusa" - } - } - ] - }, - { - "id": 1992, - "name": "expand", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + "kind": "code", + "text": "`+`" + }, { "kind": "text", - "text": "Comma-separated relations that should be expanded in the returned data." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 1993, - "name": "fields", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -52761,20 +55068,221 @@ { "title": "Constructors", "children": [ - 1990 + 1997 ] }, { "title": "Properties", "children": [ - 1992, - 1993 + 1999, + 2000 ] } ] }, { - "id": 1994, + "id": 2001, + "name": "AdminPostTaxRatesTaxRateShippingOptionsReq", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the shipping options to associate with the tax rate." + } + ] + }, + "children": [ + { + "id": 2002, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 2003, + "name": "new AdminPostTaxRatesTaxRateShippingOptionsReq", + "variant": "signature", + "kind": 16384, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the shipping options to associate with the tax rate." + } + ] + }, + "type": { + "type": "reference", + "target": 2001, + "name": "AdminPostTaxRatesTaxRateShippingOptionsReq", + "package": "@medusajs/medusa" + } + } + ] + }, + { + "id": 2004, + "name": "shipping_options", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the shipping options to associate with this tax rate" + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 2002 + ] + }, + { + "title": "Properties", + "children": [ + 2004 + ] + } + ] + }, + { + "id": 2005, + "name": "AdminPostTaxRatesTaxRateShippingOptionsParams", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Parameters that can be used to configure how data is retrieved." + } + ] + }, + "children": [ + { + "id": 2006, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 2007, + "name": "new AdminPostTaxRatesTaxRateShippingOptionsParams", + "variant": "signature", + "kind": 16384, + "flags": {}, + "type": { + "type": "reference", + "target": 2005, + "name": "AdminPostTaxRatesTaxRateShippingOptionsParams", + "package": "@medusajs/medusa" + } + } + ] + }, + { + "id": 2008, + "name": "expand", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Comma-separated relations that should be expanded in the returned data." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 2009, + "name": "fields", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 2006 + ] + }, + { + "title": "Properties", + "children": [ + 2008, + 2009 + ] + } + ] + }, + { + "id": 2010, "name": "AdminPostTaxRatesReq", "variant": "declaration", "kind": 128, @@ -52789,14 +55297,14 @@ }, "children": [ { - "id": 1995, + "id": 2011, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1996, + "id": 2012, "name": "new AdminPostTaxRatesReq", "variant": "signature", "kind": 16384, @@ -52811,7 +55319,7 @@ }, "type": { "type": "reference", - "target": 1994, + "target": 2010, "name": "AdminPostTaxRatesReq", "package": "@medusajs/medusa" } @@ -52819,7 +55327,7 @@ ] }, { - "id": 1997, + "id": 2013, "name": "code", "variant": "declaration", "kind": 1024, @@ -52838,7 +55346,7 @@ } }, { - "id": 1998, + "id": 2014, "name": "name", "variant": "declaration", "kind": 1024, @@ -52857,7 +55365,7 @@ } }, { - "id": 1999, + "id": 2015, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -52876,7 +55384,7 @@ } }, { - "id": 2000, + "id": 2016, "name": "rate", "variant": "declaration", "kind": 1024, @@ -52906,7 +55414,7 @@ } }, { - "id": 2001, + "id": 2017, "name": "products", "variant": "declaration", "kind": 1024, @@ -52930,7 +55438,7 @@ } }, { - "id": 2002, + "id": 2018, "name": "shipping_options", "variant": "declaration", "kind": 1024, @@ -52954,7 +55462,7 @@ } }, { - "id": 2003, + "id": 2019, "name": "product_types", "variant": "declaration", "kind": 1024, @@ -52982,25 +55490,25 @@ { "title": "Constructors", "children": [ - 1995 + 2011 ] }, { "title": "Properties", "children": [ - 1997, - 1998, - 1999, - 2000, - 2001, - 2002, - 2003 + 2013, + 2014, + 2015, + 2016, + 2017, + 2018, + 2019 ] } ] }, { - "id": 2004, + "id": 2020, "name": "AdminPostTaxRatesParams", "variant": "declaration", "kind": 128, @@ -53015,21 +55523,21 @@ }, "children": [ { - "id": 2005, + "id": 2021, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2006, + "id": 2022, "name": "new AdminPostTaxRatesParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2004, + "target": 2020, "name": "AdminPostTaxRatesParams", "package": "@medusajs/medusa" } @@ -53037,7 +55545,7 @@ ] }, { - "id": 2007, + "id": 2023, "name": "expand", "variant": "declaration", "kind": 1024, @@ -53061,7 +55569,7 @@ } }, { - "id": 2008, + "id": 2024, "name": "fields", "variant": "declaration", "kind": 1024, @@ -53072,7 +55580,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -53089,20 +55613,20 @@ { "title": "Constructors", "children": [ - 2005 + 2021 ] }, { "title": "Properties", "children": [ - 2007, - 2008 + 2023, + 2024 ] } ] }, { - "id": 1935, + "id": 1951, "name": "AdminGetTaxRatesTaxRateParams", "variant": "declaration", "kind": 128, @@ -53117,21 +55641,21 @@ }, "children": [ { - "id": 1936, + "id": 1952, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1937, + "id": 1953, "name": "new AdminGetTaxRatesTaxRateParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1935, + "target": 1951, "name": "AdminGetTaxRatesTaxRateParams", "package": "@medusajs/medusa" } @@ -53139,7 +55663,7 @@ ] }, { - "id": 1938, + "id": 1954, "name": "expand", "variant": "declaration", "kind": 1024, @@ -53163,7 +55687,7 @@ } }, { - "id": 1939, + "id": 1955, "name": "fields", "variant": "declaration", "kind": 1024, @@ -53174,7 +55698,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -53191,20 +55731,20 @@ { "title": "Constructors", "children": [ - 1936 + 1952 ] }, { "title": "Properties", "children": [ - 1938, - 1939 + 1954, + 1955 ] } ] }, { - "id": 1915, + "id": 1926, "name": "defaultAdminTaxRatesRelations", "variant": "declaration", "kind": 32, @@ -53221,7 +55761,7 @@ "defaultValue": "[]" }, { - "id": 1916, + "id": 1927, "name": "defaultAdminTaxRatesFields", "variant": "declaration", "kind": 32, @@ -53247,7 +55787,7 @@ "defaultValue": "..." }, { - "id": 1917, + "id": 1928, "name": "AdminTaxRatesDeleteRes", "variant": "declaration", "kind": 2097152, @@ -53260,13 +55800,13 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 1918, + "id": 1929, "name": "AdminTaxRatesListRes", "variant": "declaration", "kind": 2097152, @@ -53287,21 +55827,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 1919, + "id": 1930, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1920, + "id": 1931, "name": "tax_rates", "variant": "declaration", "kind": 1024, @@ -53332,7 +55872,7 @@ { "title": "Properties", "children": [ - 1920 + 1931 ] } ] @@ -53342,7 +55882,7 @@ } }, { - "id": 1921, + "id": 1932, "name": "AdminTaxRatesRes", "variant": "declaration", "kind": 2097152, @@ -53361,14 +55901,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1922, + "id": 1933, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1923, + "id": 1934, "name": "tax_rate", "variant": "declaration", "kind": 1024, @@ -53396,7 +55936,7 @@ { "title": "Properties", "children": [ - 1923 + 1934 ] } ] @@ -53404,7 +55944,7 @@ } }, { - "id": 1924, + "id": 1935, "name": "AdminGetTaxRatesParams", "variant": "declaration", "kind": 128, @@ -53419,21 +55959,21 @@ }, "children": [ { - "id": 1925, + "id": 1936, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1926, + "id": 1937, "name": "new AdminGetTaxRatesParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1924, + "target": 1935, "name": "AdminGetTaxRatesParams", "package": "@medusajs/medusa" } @@ -53441,7 +55981,7 @@ ] }, { - "id": 1927, + "id": 1938, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -53474,7 +56014,7 @@ } }, { - "id": 1928, + "id": 1939, "name": "name", "variant": "declaration", "kind": 1024, @@ -53495,7 +56035,7 @@ } }, { - "id": 1929, + "id": 1940, "name": "code", "variant": "declaration", "kind": 1024, @@ -53516,7 +56056,7 @@ } }, { - "id": 1930, + "id": 1941, "name": "rate", "variant": "declaration", "kind": 1024, @@ -53548,7 +56088,7 @@ }, { "type": "reference", - "target": 3981, + "target": 4037, "name": "NumericalComparisonOperator", "package": "@medusajs/medusa" } @@ -53556,7 +56096,7 @@ } }, { - "id": 1931, + "id": 1942, "name": "offset", "variant": "declaration", "kind": 1024, @@ -53589,7 +56129,7 @@ "defaultValue": "0" }, { - "id": 1932, + "id": 1943, "name": "limit", "variant": "declaration", "kind": 1024, @@ -53622,7 +56162,7 @@ "defaultValue": "50" }, { - "id": 1933, + "id": 1944, "name": "expand", "variant": "declaration", "kind": 1024, @@ -53646,7 +56186,7 @@ } }, { - "id": 1934, + "id": 1945, "name": "fields", "variant": "declaration", "kind": 1024, @@ -53657,7 +56197,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -53668,32 +56224,164 @@ "name": "string" } } + }, + { + "id": 1946, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1947, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Date filters to apply on the tax rates' " + }, + { + "kind": "code", + "text": "`update_at`" + }, + { + "kind": "text", + "text": " date." + } + ] + }, + "type": { + "type": "reference", + "target": 4020, + "name": "DateComparisonOperator", + "package": "@medusajs/medusa" + } + }, + { + "id": 1948, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Date filters to apply on the customer tax rates' " + }, + { + "kind": "code", + "text": "`created_at`" + }, + { + "kind": "text", + "text": " date." + } + ] + }, + "type": { + "type": "reference", + "target": 4020, + "name": "DateComparisonOperator", + "package": "@medusajs/medusa" + } + }, + { + "id": 1949, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Date filters to apply on the tax rates' " + }, + { + "kind": "code", + "text": "`deleted_at`" + }, + { + "kind": "text", + "text": " date." + } + ] + }, + "type": { + "type": "reference", + "target": 4020, + "name": "DateComparisonOperator", + "package": "@medusajs/medusa" + } + }, + { + "id": 1950, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Term used to search tax rates by name." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } } ], "groups": [ { "title": "Constructors", "children": [ - 1925 + 1936 ] }, { "title": "Properties", "children": [ - 1927, - 1928, - 1929, - 1930, - 1931, - 1932, - 1933, - 1934 + 1938, + 1939, + 1940, + 1941, + 1942, + 1943, + 1944, + 1945, + 1946, + 1947, + 1948, + 1949, + 1950 ] } ] }, { - "id": 1940, + "id": 1956, "name": "AdminDeleteTaxRatesTaxRateProductTypesReq", "variant": "declaration", "kind": 128, @@ -53708,14 +56396,14 @@ }, "children": [ { - "id": 1941, + "id": 1957, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1942, + "id": 1958, "name": "new AdminDeleteTaxRatesTaxRateProductTypesReq", "variant": "signature", "kind": 16384, @@ -53730,7 +56418,7 @@ }, "type": { "type": "reference", - "target": 1940, + "target": 1956, "name": "AdminDeleteTaxRatesTaxRateProductTypesReq", "package": "@medusajs/medusa" } @@ -53738,7 +56426,7 @@ ] }, { - "id": 1943, + "id": 1959, "name": "product_types", "variant": "declaration", "kind": 1024, @@ -53764,19 +56452,19 @@ { "title": "Constructors", "children": [ - 1941 + 1957 ] }, { "title": "Properties", "children": [ - 1943 + 1959 ] } ] }, { - "id": 1944, + "id": 1960, "name": "AdminDeleteTaxRatesTaxRateProductTypesParams", "variant": "declaration", "kind": 128, @@ -53791,21 +56479,21 @@ }, "children": [ { - "id": 1945, + "id": 1961, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1946, + "id": 1962, "name": "new AdminDeleteTaxRatesTaxRateProductTypesParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1944, + "target": 1960, "name": "AdminDeleteTaxRatesTaxRateProductTypesParams", "package": "@medusajs/medusa" } @@ -53813,7 +56501,7 @@ ] }, { - "id": 1947, + "id": 1963, "name": "expand", "variant": "declaration", "kind": 1024, @@ -53837,7 +56525,7 @@ } }, { - "id": 1948, + "id": 1964, "name": "fields", "variant": "declaration", "kind": 1024, @@ -53848,7 +56536,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -53865,20 +56569,20 @@ { "title": "Constructors", "children": [ - 1945 + 1961 ] }, { "title": "Properties", "children": [ - 1947, - 1948 + 1963, + 1964 ] } ] }, { - "id": 1949, + "id": 1965, "name": "AdminDeleteTaxRatesTaxRateProductsReq", "variant": "declaration", "kind": 128, @@ -53893,14 +56597,14 @@ }, "children": [ { - "id": 1950, + "id": 1966, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1951, + "id": 1967, "name": "new AdminDeleteTaxRatesTaxRateProductsReq", "variant": "signature", "kind": 16384, @@ -53915,7 +56619,7 @@ }, "type": { "type": "reference", - "target": 1949, + "target": 1965, "name": "AdminDeleteTaxRatesTaxRateProductsReq", "package": "@medusajs/medusa" } @@ -53923,7 +56627,7 @@ ] }, { - "id": 1952, + "id": 1968, "name": "products", "variant": "declaration", "kind": 1024, @@ -53949,19 +56653,19 @@ { "title": "Constructors", "children": [ - 1950 + 1966 ] }, { "title": "Properties", "children": [ - 1952 + 1968 ] } ] }, { - "id": 1953, + "id": 1969, "name": "AdminDeleteTaxRatesTaxRateProductsParams", "variant": "declaration", "kind": 128, @@ -53976,21 +56680,21 @@ }, "children": [ { - "id": 1954, + "id": 1970, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1955, + "id": 1971, "name": "new AdminDeleteTaxRatesTaxRateProductsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1953, + "target": 1969, "name": "AdminDeleteTaxRatesTaxRateProductsParams", "package": "@medusajs/medusa" } @@ -53998,7 +56702,7 @@ ] }, { - "id": 1956, + "id": 1972, "name": "expand", "variant": "declaration", "kind": 1024, @@ -54022,7 +56726,7 @@ } }, { - "id": 1957, + "id": 1973, "name": "fields", "variant": "declaration", "kind": 1024, @@ -54033,7 +56737,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -54050,20 +56770,20 @@ { "title": "Constructors", "children": [ - 1954 + 1970 ] }, { "title": "Properties", "children": [ - 1956, - 1957 + 1972, + 1973 ] } ] }, { - "id": 1958, + "id": 1974, "name": "AdminDeleteTaxRatesTaxRateShippingOptionsReq", "variant": "declaration", "kind": 128, @@ -54078,14 +56798,14 @@ }, "children": [ { - "id": 1959, + "id": 1975, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1960, + "id": 1976, "name": "new AdminDeleteTaxRatesTaxRateShippingOptionsReq", "variant": "signature", "kind": 16384, @@ -54100,7 +56820,7 @@ }, "type": { "type": "reference", - "target": 1958, + "target": 1974, "name": "AdminDeleteTaxRatesTaxRateShippingOptionsReq", "package": "@medusajs/medusa" } @@ -54108,7 +56828,7 @@ ] }, { - "id": 1961, + "id": 1977, "name": "shipping_options", "variant": "declaration", "kind": 1024, @@ -54134,19 +56854,19 @@ { "title": "Constructors", "children": [ - 1959 + 1975 ] }, { "title": "Properties", "children": [ - 1961 + 1977 ] } ] }, { - "id": 1962, + "id": 1978, "name": "AdminDeleteTaxRatesTaxRateShippingOptionsParams", "variant": "declaration", "kind": 128, @@ -54161,21 +56881,21 @@ }, "children": [ { - "id": 1963, + "id": 1979, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1964, + "id": 1980, "name": "new AdminDeleteTaxRatesTaxRateShippingOptionsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1962, + "target": 1978, "name": "AdminDeleteTaxRatesTaxRateShippingOptionsParams", "package": "@medusajs/medusa" } @@ -54183,7 +56903,7 @@ ] }, { - "id": 1965, + "id": 1981, "name": "expand", "variant": "declaration", "kind": 1024, @@ -54207,7 +56927,7 @@ } }, { - "id": 1966, + "id": 1982, "name": "fields", "variant": "declaration", "kind": 1024, @@ -54218,7 +56938,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -54235,20 +56971,20 @@ { "title": "Constructors", "children": [ - 1963 + 1979 ] }, { "title": "Properties", "children": [ - 1965, - 1966 + 1981, + 1982 ] } ] }, { - "id": 2009, + "id": 2025, "name": "AdminPostTaxRatesTaxRateReq", "variant": "declaration", "kind": 128, @@ -54263,14 +56999,14 @@ }, "children": [ { - "id": 2010, + "id": 2026, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2011, + "id": 2027, "name": "new AdminPostTaxRatesTaxRateReq", "variant": "signature", "kind": 16384, @@ -54285,7 +57021,7 @@ }, "type": { "type": "reference", - "target": 2009, + "target": 2025, "name": "AdminPostTaxRatesTaxRateReq", "package": "@medusajs/medusa" } @@ -54293,7 +57029,7 @@ ] }, { - "id": 2012, + "id": 2028, "name": "code", "variant": "declaration", "kind": 1024, @@ -54314,7 +57050,7 @@ } }, { - "id": 2013, + "id": 2029, "name": "name", "variant": "declaration", "kind": 1024, @@ -54335,7 +57071,7 @@ } }, { - "id": 2014, + "id": 2030, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -54356,7 +57092,7 @@ } }, { - "id": 2015, + "id": 2031, "name": "rate", "variant": "declaration", "kind": 1024, @@ -54386,7 +57122,7 @@ } }, { - "id": 2016, + "id": 2032, "name": "products", "variant": "declaration", "kind": 1024, @@ -54410,7 +57146,7 @@ } }, { - "id": 2017, + "id": 2033, "name": "shipping_options", "variant": "declaration", "kind": 1024, @@ -54434,7 +57170,7 @@ } }, { - "id": 2018, + "id": 2034, "name": "product_types", "variant": "declaration", "kind": 1024, @@ -54462,25 +57198,25 @@ { "title": "Constructors", "children": [ - 2010 + 2026 ] }, { "title": "Properties", "children": [ - 2012, - 2013, - 2014, - 2015, - 2016, - 2017, - 2018 + 2028, + 2029, + 2030, + 2031, + 2032, + 2033, + 2034 ] } ] }, { - "id": 2019, + "id": 2035, "name": "AdminPostTaxRatesTaxRateParams", "variant": "declaration", "kind": 128, @@ -54495,21 +57231,21 @@ }, "children": [ { - "id": 2020, + "id": 2036, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2021, + "id": 2037, "name": "new AdminPostTaxRatesTaxRateParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2019, + "target": 2035, "name": "AdminPostTaxRatesTaxRateParams", "package": "@medusajs/medusa" } @@ -54517,7 +57253,7 @@ ] }, { - "id": 2022, + "id": 2038, "name": "expand", "variant": "declaration", "kind": 1024, @@ -54541,7 +57277,7 @@ } }, { - "id": 2023, + "id": 2039, "name": "fields", "variant": "declaration", "kind": 1024, @@ -54552,7 +57288,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -54569,41 +57321,41 @@ { "title": "Constructors", "children": [ - 2020 + 2036 ] }, { "title": "Properties", "children": [ - 2022, - 2023 + 2038, + 2039 ] } ] }, { - "id": 2031, + "id": 2047, "name": "IAdminPostUploadsFileReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2032, + "id": 2048, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2033, + "id": 2049, "name": "new IAdminPostUploadsFileReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2031, + "target": 2047, "name": "IAdminPostUploadsFileReq", "package": "@medusajs/medusa" } @@ -54611,7 +57363,7 @@ ] }, { - "id": 2034, + "id": 2050, "name": "originalName", "variant": "declaration", "kind": 1024, @@ -54622,7 +57374,7 @@ } }, { - "id": 2035, + "id": 2051, "name": "path", "variant": "declaration", "kind": 1024, @@ -54637,20 +57389,20 @@ { "title": "Constructors", "children": [ - 2032 + 2048 ] }, { "title": "Properties", "children": [ - 2034, - 2035 + 2050, + 2051 ] } ] }, { - "id": 2036, + "id": 2052, "name": "AdminDeleteUploadsReq", "variant": "declaration", "kind": 128, @@ -54665,14 +57417,14 @@ }, "children": [ { - "id": 2037, + "id": 2053, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2038, + "id": 2054, "name": "new AdminDeleteUploadsReq", "variant": "signature", "kind": 16384, @@ -54687,7 +57439,7 @@ }, "type": { "type": "reference", - "target": 2036, + "target": 2052, "name": "AdminDeleteUploadsReq", "package": "@medusajs/medusa" } @@ -54695,7 +57447,7 @@ ] }, { - "id": 2039, + "id": 2055, "name": "file_key", "variant": "declaration", "kind": 1024, @@ -54718,19 +57470,19 @@ { "title": "Constructors", "children": [ - 2037 + 2053 ] }, { "title": "Properties", "children": [ - 2039 + 2055 ] } ] }, { - "id": 2040, + "id": 2056, "name": "AdminPostUploadsDownloadUrlReq", "variant": "declaration", "kind": 128, @@ -54745,14 +57497,14 @@ }, "children": [ { - "id": 2041, + "id": 2057, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2042, + "id": 2058, "name": "new AdminPostUploadsDownloadUrlReq", "variant": "signature", "kind": 16384, @@ -54767,7 +57519,7 @@ }, "type": { "type": "reference", - "target": 2040, + "target": 2056, "name": "AdminPostUploadsDownloadUrlReq", "package": "@medusajs/medusa" } @@ -54775,7 +57527,7 @@ ] }, { - "id": 2043, + "id": 2059, "name": "file_key", "variant": "declaration", "kind": 1024, @@ -54798,19 +57550,19 @@ { "title": "Constructors", "children": [ - 2041 + 2057 ] }, { "title": "Properties", "children": [ - 2043 + 2059 ] } ] }, { - "id": 2024, + "id": 2040, "name": "AdminUploadsRes", "variant": "declaration", "kind": 2097152, @@ -54829,14 +57581,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2025, + "id": 2041, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2026, + "id": 2042, "name": "uploads", "variant": "declaration", "kind": 1024, @@ -54853,7 +57605,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4819, + "target": 4928, "name": "FileServiceUploadResult", "package": "@medusajs/types" } @@ -54864,7 +57616,7 @@ { "title": "Properties", "children": [ - 2026 + 2042 ] } ] @@ -54872,7 +57624,7 @@ } }, { - "id": 2027, + "id": 2043, "name": "AdminDeleteUploadsRes", "variant": "declaration", "kind": 2097152, @@ -54885,13 +57637,13 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 2028, + "id": 2044, "name": "AdminUploadsDownloadUrlRes", "variant": "declaration", "kind": 2097152, @@ -54910,14 +57662,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2029, + "id": 2045, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2030, + "id": 2046, "name": "download_url", "variant": "declaration", "kind": 1024, @@ -54940,7 +57692,7 @@ { "title": "Properties", "children": [ - 2030 + 2046 ] } ] @@ -54948,28 +57700,28 @@ } }, { - "id": 2070, + "id": 2086, "name": "AdminCreateUserRequest", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2071, + "id": 2087, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2072, + "id": 2088, "name": "new AdminCreateUserRequest", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2070, + "target": 2086, "name": "AdminCreateUserRequest", "package": "@medusajs/medusa" } @@ -54977,7 +57729,7 @@ ] }, { - "id": 2073, + "id": 2089, "name": "email", "variant": "declaration", "kind": 1024, @@ -54996,7 +57748,7 @@ } }, { - "id": 2074, + "id": 2090, "name": "first_name", "variant": "declaration", "kind": 1024, @@ -55017,7 +57769,7 @@ } }, { - "id": 2075, + "id": 2091, "name": "last_name", "variant": "declaration", "kind": 1024, @@ -55038,7 +57790,7 @@ } }, { - "id": 2076, + "id": 2092, "name": "role", "variant": "declaration", "kind": 1024, @@ -55064,7 +57816,7 @@ } }, { - "id": 2077, + "id": 2093, "name": "password", "variant": "declaration", "kind": 1024, @@ -55087,37 +57839,37 @@ { "title": "Constructors", "children": [ - 2071 + 2087 ] }, { "title": "Properties", "children": [ - 2073, - 2074, - 2075, - 2076, - 2077 + 2089, + 2090, + 2091, + 2092, + 2093 ] } ] }, { - "id": 2044, + "id": 2060, "name": "unauthenticatedUserRoutes", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 2045, + "id": 2061, "name": "unauthenticatedUserRoutes", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2046, + "id": 2062, "name": "app", "variant": "param", "kind": 32768, @@ -55136,7 +57888,7 @@ ] }, { - "id": 2047, + "id": 2063, "name": "defaultAdminUserFields", "variant": "declaration", "kind": 32, @@ -55162,7 +57914,7 @@ "defaultValue": "..." }, { - "id": 2048, + "id": 2064, "name": "AdminUserRes", "variant": "declaration", "kind": 2097152, @@ -55181,14 +57933,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2049, + "id": 2065, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2050, + "id": 2066, "name": "user", "variant": "declaration", "kind": 1024, @@ -55231,7 +57983,7 @@ { "title": "Properties", "children": [ - 2050 + 2066 ] } ] @@ -55239,7 +57991,7 @@ } }, { - "id": 2051, + "id": 2067, "name": "AdminUsersListRes", "variant": "declaration", "kind": 2097152, @@ -55260,21 +58012,21 @@ "types": [ { "type": "reference", - "target": 4478, + "target": 4585, "name": "PaginatedResponse", "package": "@medusajs/types" }, { "type": "reflection", "declaration": { - "id": 2052, + "id": 2068, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2053, + "id": 2069, "name": "users", "variant": "declaration", "kind": 1024, @@ -55320,7 +58072,7 @@ { "title": "Properties", "children": [ - 2053 + 2069 ] } ] @@ -55330,7 +58082,7 @@ } }, { - "id": 2054, + "id": 2070, "name": "AdminDeleteUserRes", "variant": "declaration", "kind": 2097152, @@ -55343,13 +58095,13 @@ }, "type": { "type": "reference", - "target": 3957, + "target": 4013, "name": "DeleteResponse", "package": "@medusajs/medusa" } }, { - "id": 2078, + "id": 2094, "name": "AdminGetUsersParams", "variant": "declaration", "kind": 128, @@ -55364,7 +58116,7 @@ }, "children": [ { - "id": 2082, + "id": 2098, "name": "id", "variant": "declaration", "kind": 1024, @@ -55397,7 +58149,7 @@ } }, { - "id": 2083, + "id": 2099, "name": "q", "variant": "declaration", "kind": 1024, @@ -55418,7 +58170,7 @@ } }, { - "id": 2084, + "id": 2100, "name": "order", "variant": "declaration", "kind": 1024, @@ -55444,10 +58196,15 @@ "type": { "type": "intrinsic", "name": "string" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 50,\n offset: 0,\n}).order" } }, { - "id": 2085, + "id": 2101, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -55472,13 +58229,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 2086, + "id": 2102, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -55503,13 +58260,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 2087, + "id": 2103, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -55534,13 +58291,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 2088, + "id": 2104, "name": "email", "variant": "declaration", "kind": 1024, @@ -55569,7 +58326,7 @@ } }, { - "id": 2089, + "id": 2105, "name": "first_name", "variant": "declaration", "kind": 1024, @@ -55598,7 +58355,7 @@ } }, { - "id": 2090, + "id": 2106, "name": "last_name", "variant": "declaration", "kind": 1024, @@ -55627,7 +58384,7 @@ } }, { - "id": 2091, + "id": 2107, "name": "role", "variant": "declaration", "kind": 1024, @@ -55652,13 +58409,13 @@ }, "type": { "type": "reference", - "target": 4822, + "target": 4931, "name": "UserRole", "package": "@medusajs/medusa" } }, { - "id": 2092, + "id": 2108, "name": "fields", "variant": "declaration", "kind": 1024, @@ -55684,7 +58441,7 @@ } }, { - "id": 2093, + "id": 2109, "name": "expand", "variant": "declaration", "kind": 1024, @@ -55697,6 +58454,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -55710,7 +58473,7 @@ } }, { - "id": 2094, + "id": 2110, "name": "offset", "variant": "declaration", "kind": 1024, @@ -55748,7 +58511,7 @@ } }, { - "id": 2095, + "id": 2111, "name": "limit", "variant": "declaration", "kind": 1024, @@ -55786,21 +58549,21 @@ } }, { - "id": 2079, + "id": 2095, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2080, + "id": 2096, "name": "new AdminGetUsersParams", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 2081, + "id": 2097, "name": "args", "variant": "param", "kind": 32768, @@ -55818,7 +58581,7 @@ ], "type": { "type": "reference", - "target": 2078, + "target": 2094, "name": "AdminGetUsersParams", "package": "@medusajs/medusa" }, @@ -55840,26 +58603,26 @@ { "title": "Constructors", "children": [ - 2079 + 2095 ] }, { "title": "Properties", "children": [ - 2082, - 2083, - 2084, - 2085, - 2086, - 2087, - 2088, - 2089, - 2090, - 2091, - 2092, - 2093, - 2094, - 2095 + 2098, + 2099, + 2100, + 2101, + 2102, + 2103, + 2104, + 2105, + 2106, + 2107, + 2108, + 2109, + 2110, + 2111 ] } ], @@ -55869,7 +58632,7 @@ "types": [ { "type": "reference", - "target": 4016, + "target": 4072, "typeArguments": [ { "type": "intrinsic", @@ -55881,7 +58644,7 @@ }, { "type": "reference", - "target": 4021, + "target": 4077, "typeArguments": [ { "type": "intrinsic", @@ -55896,7 +58659,7 @@ ] }, { - "id": 2066, + "id": 2082, "name": "AdminResetPasswordTokenRequest", "variant": "declaration", "kind": 128, @@ -55911,14 +58674,14 @@ }, "children": [ { - "id": 2067, + "id": 2083, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2068, + "id": 2084, "name": "new AdminResetPasswordTokenRequest", "variant": "signature", "kind": 16384, @@ -55933,7 +58696,7 @@ }, "type": { "type": "reference", - "target": 2066, + "target": 2082, "name": "AdminResetPasswordTokenRequest", "package": "@medusajs/medusa" } @@ -55941,7 +58704,7 @@ ] }, { - "id": 2069, + "id": 2085, "name": "email", "variant": "declaration", "kind": 1024, @@ -55964,19 +58727,19 @@ { "title": "Constructors", "children": [ - 2067 + 2083 ] }, { "title": "Properties", "children": [ - 2069 + 2085 ] } ] }, { - "id": 2055, + "id": 2071, "name": "payload", "variant": "declaration", "kind": 2097152, @@ -55984,14 +58747,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2056, + "id": 2072, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2057, + "id": 2073, "name": "email", "variant": "declaration", "kind": 1024, @@ -56002,7 +58765,7 @@ } }, { - "id": 2058, + "id": 2074, "name": "user_id", "variant": "declaration", "kind": 1024, @@ -56013,7 +58776,7 @@ } }, { - "id": 2059, + "id": 2075, "name": "password", "variant": "declaration", "kind": 1024, @@ -56028,9 +58791,9 @@ { "title": "Properties", "children": [ - 2057, - 2058, - 2059 + 2073, + 2074, + 2075 ] } ] @@ -56038,7 +58801,7 @@ } }, { - "id": 2060, + "id": 2076, "name": "AdminResetPasswordRequest", "variant": "declaration", "kind": 128, @@ -56053,14 +58816,14 @@ }, "children": [ { - "id": 2061, + "id": 2077, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2062, + "id": 2078, "name": "new AdminResetPasswordRequest", "variant": "signature", "kind": 16384, @@ -56075,7 +58838,7 @@ }, "type": { "type": "reference", - "target": 2060, + "target": 2076, "name": "AdminResetPasswordRequest", "package": "@medusajs/medusa" } @@ -56083,7 +58846,7 @@ ] }, { - "id": 2063, + "id": 2079, "name": "email", "variant": "declaration", "kind": 1024, @@ -56104,7 +58867,7 @@ } }, { - "id": 2064, + "id": 2080, "name": "token", "variant": "declaration", "kind": 1024, @@ -56123,7 +58886,7 @@ } }, { - "id": 2065, + "id": 2081, "name": "password", "variant": "declaration", "kind": 1024, @@ -56146,42 +58909,42 @@ { "title": "Constructors", "children": [ - 2061 + 2077 ] }, { "title": "Properties", "children": [ - 2063, - 2064, - 2065 + 2079, + 2080, + 2081 ] } ] }, { - "id": 2096, + "id": 2112, "name": "AdminUpdateUserRequest", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2097, + "id": 2113, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2098, + "id": 2114, "name": "new AdminUpdateUserRequest", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2096, + "target": 2112, "name": "AdminUpdateUserRequest", "package": "@medusajs/medusa" } @@ -56189,7 +58952,7 @@ ] }, { - "id": 2099, + "id": 2115, "name": "first_name", "variant": "declaration", "kind": 1024, @@ -56210,7 +58973,7 @@ } }, { - "id": 2100, + "id": 2116, "name": "last_name", "variant": "declaration", "kind": 1024, @@ -56231,7 +58994,7 @@ } }, { - "id": 2101, + "id": 2117, "name": "role", "variant": "declaration", "kind": 1024, @@ -56257,7 +59020,7 @@ } }, { - "id": 2102, + "id": 2118, "name": "api_token", "variant": "declaration", "kind": 1024, @@ -56278,7 +59041,7 @@ } }, { - "id": 2103, + "id": 2119, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -56318,23 +59081,23 @@ { "title": "Constructors", "children": [ - 2097 + 2113 ] }, { "title": "Properties", "children": [ - 2099, - 2100, - 2101, - 2102, - 2103 + 2115, + 2116, + 2117, + 2118, + 2119 ] } ] }, { - "id": 2132, + "id": 2151, "name": "LevelWithAvailability", "variant": "declaration", "kind": 2097152, @@ -56344,21 +59107,21 @@ "types": [ { "type": "reference", - "target": 4466, + "target": 4573, "name": "InventoryLevelDTO", "package": "@medusajs/types" }, { "type": "reflection", "declaration": { - "id": 2133, + "id": 2152, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2134, + "id": 2153, "name": "available_quantity", "variant": "declaration", "kind": 1024, @@ -56373,7 +59136,7 @@ { "title": "Properties", "children": [ - 2134 + 2153 ] } ] @@ -56383,7 +59146,7 @@ } }, { - "id": 2135, + "id": 2154, "name": "ResponseInventoryItem", "variant": "declaration", "kind": 2097152, @@ -56406,7 +59169,7 @@ "typeArguments": [ { "type": "reference", - "target": 4446, + "target": 4553, "name": "InventoryItemDTO", "package": "@medusajs/types" } @@ -56417,14 +59180,14 @@ { "type": "reflection", "declaration": { - "id": 2136, + "id": 2155, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2137, + "id": 2156, "name": "location_levels", "variant": "declaration", "kind": 1024, @@ -56443,7 +59206,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 2132, + "target": 2151, "name": "LevelWithAvailability", "package": "@medusajs/medusa" } @@ -56454,7 +59217,7 @@ { "title": "Properties", "children": [ - 2137 + 2156 ] } ] @@ -56464,7 +59227,7 @@ } }, { - "id": 2138, + "id": 2157, "name": "VariantInventory", "variant": "declaration", "kind": 2097152, @@ -56478,14 +59241,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2139, + "id": 2158, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2140, + "id": 2159, "name": "id", "variant": "declaration", "kind": 1024, @@ -56504,7 +59267,7 @@ } }, { - "id": 2141, + "id": 2160, "name": "inventory", "variant": "declaration", "kind": 1024, @@ -56521,14 +59284,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 2135, + "target": 2154, "name": "ResponseInventoryItem", "package": "@medusajs/medusa" } } }, { - "id": 2142, + "id": 2161, "name": "sales_channel_availability", "variant": "declaration", "kind": 1024, @@ -56546,14 +59309,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 2143, + "id": 2162, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2144, + "id": 2163, "name": "channel_name", "variant": "declaration", "kind": 1024, @@ -56572,7 +59335,7 @@ } }, { - "id": 2145, + "id": 2164, "name": "channel_id", "variant": "declaration", "kind": 1024, @@ -56591,7 +59354,7 @@ } }, { - "id": 2146, + "id": 2165, "name": "available_quantity", "variant": "declaration", "kind": 1024, @@ -56614,9 +59377,9 @@ { "title": "Properties", "children": [ - 2144, - 2145, - 2146 + 2163, + 2164, + 2165 ] } ] @@ -56629,9 +59392,9 @@ { "title": "Properties", "children": [ - 2140, - 2141, - 2142 + 2159, + 2160, + 2161 ] } ] @@ -56639,7 +59402,7 @@ } }, { - "id": 2147, + "id": 2166, "name": "AdminGetVariantsVariantInventoryRes", "variant": "declaration", "kind": 2097152, @@ -56658,14 +59421,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2148, + "id": 2167, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2149, + "id": 2168, "name": "variant", "variant": "declaration", "kind": 1024, @@ -56680,7 +59443,7 @@ }, "type": { "type": "reference", - "target": 2138, + "target": 2157, "name": "VariantInventory", "package": "@medusajs/medusa" } @@ -56690,7 +59453,7 @@ { "title": "Properties", "children": [ - 2149 + 2168 ] } ] @@ -56698,7 +59461,7 @@ } }, { - "id": 2127, + "id": 2146, "name": "AdminGetVariantParams", "variant": "declaration", "kind": 128, @@ -56713,39 +59476,39 @@ }, "children": [ { - "id": 2128, + "id": 2147, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2129, + "id": 2148, "name": "new AdminGetVariantParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2127, + "target": 2146, "name": "AdminGetVariantParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 2130, + "id": 2149, "name": "expand", "variant": "declaration", "kind": 1024, @@ -56758,6 +59521,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -56766,12 +59535,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 2131, + "id": 2150, "name": "fields", "variant": "declaration", "kind": 1024, @@ -56782,7 +59551,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -56792,7 +59577,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -56801,28 +59586,28 @@ { "title": "Constructors", "children": [ - 2128 + 2147 ] }, { "title": "Properties", "children": [ - 2130, - 2131 + 2149, + 2150 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 2104, + "id": 2120, "name": "defaultAdminVariantRelations", "variant": "declaration", "kind": 32, @@ -56839,7 +59624,7 @@ "defaultValue": "..." }, { - "id": 2105, + "id": 2121, "name": "defaultAdminVariantFields", "variant": "declaration", "kind": 32, @@ -56865,7 +59650,7 @@ "defaultValue": "..." }, { - "id": 2106, + "id": 2122, "name": "AdminVariantsListRes", "variant": "declaration", "kind": 2097152, @@ -56886,21 +59671,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 2107, + "id": 2123, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2108, + "id": 2124, "name": "variants", "variant": "declaration", "kind": 1024, @@ -56917,7 +59702,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4826, + "target": 4935, "name": "PricedVariant", "package": "@medusajs/medusa" } @@ -56928,7 +59713,7 @@ { "title": "Properties", "children": [ - 2108 + 2124 ] } ] @@ -56938,7 +59723,7 @@ } }, { - "id": 2109, + "id": 2125, "name": "AdminVariantsRes", "variant": "declaration", "kind": 2097152, @@ -56957,14 +59742,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2110, + "id": 2126, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2111, + "id": 2127, "name": "variant", "variant": "declaration", "kind": 1024, @@ -56979,7 +59764,7 @@ }, "type": { "type": "reference", - "target": 4826, + "target": 4935, "name": "PricedVariant", "package": "@medusajs/medusa" } @@ -56989,7 +59774,7 @@ { "title": "Properties", "children": [ - 2111 + 2127 ] } ] @@ -56997,7 +59782,7 @@ } }, { - "id": 2112, + "id": 2128, "name": "AdminGetVariantsParams", "variant": "declaration", "kind": 128, @@ -57012,39 +59797,39 @@ }, "children": [ { - "id": 2113, + "id": 2129, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2114, + "id": 2130, "name": "new AdminGetVariantsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2112, + "target": 2128, "name": "AdminGetVariantsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4829, + "target": 4938, "name": "AdminPriceSelectionParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4828, + "target": 4937, "name": "AdminPriceSelectionParams.constructor" } }, { - "id": 2115, + "id": 2131, "name": "q", "variant": "declaration", "kind": 1024, @@ -57065,7 +59850,7 @@ } }, { - "id": 2116, + "id": 2132, "name": "limit", "variant": "declaration", "kind": 1024, @@ -57098,7 +59883,7 @@ "defaultValue": "20" }, { - "id": 2117, + "id": 2133, "name": "offset", "variant": "declaration", "kind": 1024, @@ -57131,7 +59916,7 @@ "defaultValue": "0" }, { - "id": 2118, + "id": 2134, "name": "expand", "variant": "declaration", "kind": 1024, @@ -57152,12 +59937,12 @@ }, "overwrites": { "type": "reference", - "target": 4834, + "target": 4943, "name": "AdminPriceSelectionParams.expand" } }, { - "id": 2119, + "id": 2135, "name": "fields", "variant": "declaration", "kind": 1024, @@ -57168,7 +59953,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -57178,12 +59979,12 @@ }, "overwrites": { "type": "reference", - "target": 4835, + "target": 4944, "name": "AdminPriceSelectionParams.fields" } }, { - "id": 2120, + "id": 2136, "name": "id", "variant": "declaration", "kind": 1024, @@ -57216,7 +60017,7 @@ } }, { - "id": 2121, + "id": 2137, "name": "title", "variant": "declaration", "kind": 1024, @@ -57249,7 +60050,7 @@ } }, { - "id": 2122, + "id": 2138, "name": "inventory_quantity", "variant": "declaration", "kind": 1024, @@ -57281,7 +60082,7 @@ }, { "type": "reference", - "target": 3981, + "target": 4037, "name": "NumericalComparisonOperator", "package": "@medusajs/medusa" } @@ -57289,7 +60090,78 @@ } }, { - "id": 2124, + "id": 2139, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2140, + "name": "manage_inventory", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter product variants by whether their inventory is managed or not." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2141, + "name": "allow_backorder", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter product variants by whether they are allowed to be backordered or not." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 2143, "name": "cart_id", "variant": "declaration", "kind": 1024, @@ -57310,12 +60182,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4831, + "target": 4940, "name": "AdminPriceSelectionParams.cart_id" } }, { - "id": 2125, + "id": 2144, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -57336,12 +60208,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4832, + "target": 4941, "name": "AdminPriceSelectionParams.region_id" } }, { - "id": 2126, + "id": 2145, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -57362,12 +60234,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4833, + "target": 4942, "name": "AdminPriceSelectionParams.currency_code" } }, { - "id": 2123, + "id": 2142, "name": "customer_id", "variant": "declaration", "kind": 1024, @@ -57388,7 +60260,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4830, + "target": 4939, "name": "AdminPriceSelectionParams.customer_id" } } @@ -57397,59 +60269,820 @@ { "title": "Constructors", "children": [ - 2113 + 2129 ] }, { "title": "Properties", "children": [ - 2115, - 2116, - 2117, - 2118, - 2119, - 2120, - 2121, - 2122, - 2124, - 2125, - 2126, - 2123 + 2131, + 2132, + 2133, + 2134, + 2135, + 2136, + 2137, + 2138, + 2139, + 2140, + 2141, + 2143, + 2144, + 2145, + 2142 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4827, + "target": 4936, "name": "AdminPriceSelectionParams", "package": "@medusajs/medusa" } ] }, { - "id": 2159, + "id": 2169, + "name": "defaultAdminWorkflowExecutionsRelations", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "never" + } + }, + "defaultValue": "[]" + }, + { + "id": 2170, + "name": "allowedAdminWorkflowExecutionsRelations", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "never" + } + }, + "defaultValue": "[]" + }, + { + "id": 2171, + "name": "defaultAdminWorkflowExecutionsFields", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "defaultValue": "..." + }, + { + "id": 2172, + "name": "defaultAdminWorkflowExecutionDetailFields", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "defaultValue": "..." + }, + { + "id": 2173, + "name": "AdminGetWorkflowExecutionDetailsParams", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Parameters that can be used to configure how data is retrieved." + } + ] + }, + "children": [ + { + "id": 2174, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 2175, + "name": "new AdminGetWorkflowExecutionDetailsParams", + "variant": "signature", + "kind": 16384, + "flags": {}, + "type": { + "type": "reference", + "target": 2173, + "name": "AdminGetWorkflowExecutionDetailsParams", + "package": "@medusajs/medusa" + }, + "inheritedFrom": { + "type": "reference", + "target": 4074, + "name": "FindParams.constructor" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 4073, + "name": "FindParams.constructor" + } + }, + { + "id": 2176, + "name": "expand", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Comma-separated relations that should be expanded in the returned data." + } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4075, + "name": "FindParams.expand" + } + }, + { + "id": 2177, + "name": "fields", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4076, + "name": "FindParams.fields" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 2174 + ] + }, + { + "title": "Properties", + "children": [ + 2176, + 2177 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 4072, + "name": "FindParams", + "package": "@medusajs/medusa" + } + ] + }, + { + "id": 2178, + "name": "AdminGetWorkflowExecutionsParams", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 2182, + "name": "transaction_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "transaction id(s) to filter workflow executions by transaction_id." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 2183, + "name": "workflow_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "workflow id(s) to filter workflow executions by workflow_id" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 2184, + "name": "expand", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Comma-separated relations that should be expanded in the returned data." + } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 100,\n offset: 0,\n}).expand" + } + }, + { + "id": 2185, + "name": "fields", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 100,\n offset: 0,\n}).fields" + } + }, + { + "id": 2186, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of items to skip when retrieving a list." + } + ], + "blockTags": [ + { + "tag": "@defaultValue", + "content": [ + { + "kind": "code", + "text": "```ts\n0\n```" + } + ] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "0", + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 100,\n offset: 0,\n}).offset" + } + }, + { + "id": 2187, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Limit the number of items returned in the list." + } + ], + "blockTags": [ + { + "tag": "@defaultValue", + "content": [ + { + "kind": "code", + "text": "```ts\n20\n```" + } + ] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "20", + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 100,\n offset: 0,\n}).limit" + } + }, + { + "id": 2188, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 100,\n offset: 0,\n}).order" + } + }, + { + "id": 2179, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 2180, + "name": "new AdminGetWorkflowExecutionsParams", + "variant": "signature", + "kind": 16384, + "flags": {}, + "parameters": [ + { + "id": 2181, + "name": "args", + "variant": "param", + "kind": 32768, + "flags": { + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + } + ], + "type": { + "type": "reference", + "target": 2178, + "name": "AdminGetWorkflowExecutionsParams", + "package": "@medusajs/medusa" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 100,\n offset: 0,\n}).constructor" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 100,\n offset: 0,\n}).constructor" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 2179 + ] + }, + { + "title": "Properties", + "children": [ + 2182, + 2183, + 2184, + 2185, + 2186, + 2187, + 2188 + ] + } + ], + "extendedTypes": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 4072, + "typeArguments": [ + { + "type": "intrinsic", + "name": "this" + } + ], + "name": "FindParams", + "package": "@medusajs/medusa" + }, + { + "type": "reference", + "target": 4077, + "typeArguments": [ + { + "type": "intrinsic", + "name": "this" + } + ], + "name": "FindPaginationParams", + "package": "@medusajs/medusa" + } + ] + } + ] + }, + { + "id": 2189, + "name": "AdminPostWorkflowsRunReq", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 2190, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 2191, + "name": "new AdminPostWorkflowsRunReq", + "variant": "signature", + "kind": 16384, + "flags": {}, + "type": { + "type": "reference", + "target": 2189, + "name": "AdminPostWorkflowsRunReq", + "package": "@medusajs/medusa" + } + } + ] + }, + { + "id": 2192, + "name": "input", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 2193, + "name": "transaction_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 2190 + ] + }, + { + "title": "Properties", + "children": [ + 2192, + 2193 + ] + } + ] + }, + { + "id": 2194, + "name": "AdminPostWorkflowsAsyncResponseReq", + "variant": "declaration", + "kind": 128, + "flags": {}, + "children": [ + { + "id": 2195, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 2196, + "name": "new AdminPostWorkflowsAsyncResponseReq", + "variant": "signature", + "kind": 16384, + "flags": {}, + "type": { + "type": "reference", + "target": 2194, + "name": "AdminPostWorkflowsAsyncResponseReq", + "package": "@medusajs/medusa" + } + } + ] + }, + { + "id": 2197, + "name": "transaction_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2198, + "name": "step_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2199, + "name": "response", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 2200, + "name": "compensate_input", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 2201, + "name": "action", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 4945, + "name": "TransactionHandlerType", + "package": "@medusajs/utils" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 2195 + ] + }, + { + "title": "Properties", + "children": [ + 2197, + 2198, + 2199, + 2200, + 2201 + ] + } + ] + }, + { + "id": 2211, "name": "StorePostAuthReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2160, + "id": 2212, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2161, + "id": 2213, "name": "new StorePostAuthReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2159, + "target": 2211, "name": "StorePostAuthReq", "package": "@medusajs/medusa" } @@ -57457,7 +61090,7 @@ ] }, { - "id": 2162, + "id": 2214, "name": "email", "variant": "declaration", "kind": 1024, @@ -57476,7 +61109,7 @@ } }, { - "id": 2163, + "id": 2215, "name": "password", "variant": "declaration", "kind": 1024, @@ -57499,20 +61132,20 @@ { "title": "Constructors", "children": [ - 2160 + 2212 ] }, { "title": "Properties", "children": [ - 2162, - 2163 + 2214, + 2215 ] } ] }, { - "id": 2150, + "id": 2202, "name": "StoreAuthRes", "variant": "declaration", "kind": 2097152, @@ -57531,14 +61164,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2151, + "id": 2203, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2152, + "id": 2204, "name": "customer", "variant": "declaration", "kind": 1024, @@ -57566,7 +61199,7 @@ { "title": "Properties", "children": [ - 2152 + 2204 ] } ] @@ -57574,7 +61207,7 @@ } }, { - "id": 2153, + "id": 2205, "name": "StoreBearerAuthRes", "variant": "declaration", "kind": 2097152, @@ -57593,14 +61226,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2154, + "id": 2206, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2155, + "id": 2207, "name": "access_token", "variant": "declaration", "kind": 1024, @@ -57623,7 +61256,7 @@ { "title": "Properties", "children": [ - 2155 + 2207 ] } ] @@ -57631,7 +61264,7 @@ } }, { - "id": 2156, + "id": 2208, "name": "StoreGetAuthEmailRes", "variant": "declaration", "kind": 2097152, @@ -57650,14 +61283,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2157, + "id": 2209, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2158, + "id": 2210, "name": "exists", "variant": "declaration", "kind": 1024, @@ -57680,7 +61313,7 @@ { "title": "Properties", "children": [ - 2158 + 2210 ] } ] @@ -57688,7 +61321,7 @@ } }, { - "id": 2179, + "id": 2231, "name": "StorePostCartsCartShippingMethodReq", "variant": "declaration", "kind": 128, @@ -57703,14 +61336,14 @@ }, "children": [ { - "id": 2180, + "id": 2232, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2181, + "id": 2233, "name": "new StorePostCartsCartShippingMethodReq", "variant": "signature", "kind": 16384, @@ -57725,7 +61358,7 @@ }, "type": { "type": "reference", - "target": 2179, + "target": 2231, "name": "StorePostCartsCartShippingMethodReq", "package": "@medusajs/medusa" } @@ -57733,7 +61366,7 @@ ] }, { - "id": 2182, + "id": 2234, "name": "option_id", "variant": "declaration", "kind": 1024, @@ -57752,7 +61385,7 @@ } }, { - "id": 2183, + "id": 2235, "name": "data", "variant": "declaration", "kind": 1024, @@ -57793,41 +61426,41 @@ { "title": "Constructors", "children": [ - 2180 + 2232 ] }, { "title": "Properties", "children": [ - 2182, - 2183 + 2234, + 2235 ] } ] }, { - "id": 2184, + "id": 2236, "name": "Item", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2185, + "id": 2237, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2186, + "id": 2238, "name": "new Item", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2184, + "target": 2236, "name": "Item", "package": "@medusajs/medusa" } @@ -57835,7 +61468,7 @@ ] }, { - "id": 2187, + "id": 2239, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -57854,7 +61487,7 @@ } }, { - "id": 2188, + "id": 2240, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -57877,20 +61510,20 @@ { "title": "Constructors", "children": [ - 2185 + 2237 ] }, { "title": "Properties", "children": [ - 2187, - 2188 + 2239, + 2240 ] } ] }, { - "id": 2189, + "id": 2241, "name": "StorePostCartReq", "variant": "declaration", "kind": 128, @@ -57905,14 +61538,14 @@ }, "children": [ { - "id": 2190, + "id": 2242, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2191, + "id": 2243, "name": "new StorePostCartReq", "variant": "signature", "kind": 16384, @@ -57927,7 +61560,7 @@ }, "type": { "type": "reference", - "target": 2189, + "target": 2241, "name": "StorePostCartReq", "package": "@medusajs/medusa" } @@ -57935,7 +61568,7 @@ ] }, { - "id": 2192, + "id": 2244, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -57956,7 +61589,7 @@ } }, { - "id": 2193, + "id": 2245, "name": "country_code", "variant": "declaration", "kind": 1024, @@ -57977,7 +61610,7 @@ } }, { - "id": 2194, + "id": 2246, "name": "items", "variant": "declaration", "kind": 1024, @@ -57996,14 +61629,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 2184, + "target": 2236, "name": "Item", "package": "@medusajs/medusa" } } }, { - "id": 2195, + "id": 2247, "name": "context", "variant": "declaration", "kind": 1024, @@ -58024,7 +61657,7 @@ } }, { - "id": 2196, + "id": 2248, "name": "sales_channel_id", "variant": "declaration", "kind": 1024, @@ -58049,23 +61682,23 @@ { "title": "Constructors", "children": [ - 2190 + 2242 ] }, { "title": "Properties", "children": [ - 2192, - 2193, - 2194, - 2195, - 2196 + 2244, + 2245, + 2246, + 2247, + 2248 ] } ] }, { - "id": 2197, + "id": 2249, "name": "StorePostCartsCartLineItemsReq", "variant": "declaration", "kind": 128, @@ -58080,14 +61713,14 @@ }, "children": [ { - "id": 2198, + "id": 2250, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2199, + "id": 2251, "name": "new StorePostCartsCartLineItemsReq", "variant": "signature", "kind": 16384, @@ -58102,7 +61735,7 @@ }, "type": { "type": "reference", - "target": 2197, + "target": 2249, "name": "StorePostCartsCartLineItemsReq", "package": "@medusajs/medusa" } @@ -58110,7 +61743,7 @@ ] }, { - "id": 2200, + "id": 2252, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -58129,7 +61762,7 @@ } }, { - "id": 2201, + "id": 2253, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -58148,7 +61781,7 @@ } }, { - "id": 2202, + "id": 2254, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -58188,21 +61821,21 @@ { "title": "Constructors", "children": [ - 2198 + 2250 ] }, { "title": "Properties", "children": [ - 2200, - 2201, - 2202 + 2252, + 2253, + 2254 ] } ] }, { - "id": 2164, + "id": 2216, "name": "defaultStoreCartFields", "variant": "declaration", "kind": 32, @@ -58228,7 +61861,7 @@ "defaultValue": "[]" }, { - "id": 2165, + "id": 2217, "name": "defaultStoreCartRelations", "variant": "declaration", "kind": 32, @@ -58245,7 +61878,7 @@ "defaultValue": "..." }, { - "id": 2166, + "id": 2218, "name": "StoreCartsRes", "variant": "declaration", "kind": 2097152, @@ -58264,14 +61897,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2167, + "id": 2219, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2168, + "id": 2220, "name": "cart", "variant": "declaration", "kind": 1024, @@ -58323,7 +61956,7 @@ { "title": "Properties", "children": [ - 2168 + 2220 ] } ] @@ -58331,7 +61964,7 @@ } }, { - "id": 2169, + "id": 2221, "name": "StoreCompleteCartRes", "variant": "declaration", "kind": 2097152, @@ -58353,14 +61986,14 @@ { "type": "reflection", "declaration": { - "id": 2170, + "id": 2222, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2171, + "id": 2223, "name": "type", "variant": "declaration", "kind": 1024, @@ -58371,7 +62004,7 @@ } }, { - "id": 2172, + "id": 2224, "name": "data", "variant": "declaration", "kind": 1024, @@ -58399,8 +62032,8 @@ { "title": "Properties", "children": [ - 2171, - 2172 + 2223, + 2224 ] } ] @@ -58409,14 +62042,14 @@ { "type": "reflection", "declaration": { - "id": 2173, + "id": 2225, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2174, + "id": 2226, "name": "type", "variant": "declaration", "kind": 1024, @@ -58427,7 +62060,7 @@ } }, { - "id": 2175, + "id": 2227, "name": "data", "variant": "declaration", "kind": 1024, @@ -58455,8 +62088,8 @@ { "title": "Properties", "children": [ - 2174, - 2175 + 2226, + 2227 ] } ] @@ -58465,14 +62098,14 @@ { "type": "reflection", "declaration": { - "id": 2176, + "id": 2228, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2177, + "id": 2229, "name": "type", "variant": "declaration", "kind": 1024, @@ -58483,7 +62116,7 @@ } }, { - "id": 2178, + "id": 2230, "name": "data", "variant": "declaration", "kind": 1024, @@ -58511,8 +62144,8 @@ { "title": "Properties", "children": [ - 2177, - 2178 + 2229, + 2230 ] } ] @@ -58522,7 +62155,7 @@ } }, { - "id": 2203, + "id": 2255, "name": "StorePostCartsCartPaymentSessionReq", "variant": "declaration", "kind": 128, @@ -58537,14 +62170,14 @@ }, "children": [ { - "id": 2204, + "id": 2256, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2205, + "id": 2257, "name": "new StorePostCartsCartPaymentSessionReq", "variant": "signature", "kind": 16384, @@ -58559,7 +62192,7 @@ }, "type": { "type": "reference", - "target": 2203, + "target": 2255, "name": "StorePostCartsCartPaymentSessionReq", "package": "@medusajs/medusa" } @@ -58567,7 +62200,7 @@ ] }, { - "id": 2206, + "id": 2258, "name": "provider_id", "variant": "declaration", "kind": 1024, @@ -58590,19 +62223,19 @@ { "title": "Constructors", "children": [ - 2204 + 2256 ] }, { "title": "Properties", "children": [ - 2206 + 2258 ] } ] }, { - "id": 4836, + "id": 4948, "name": "GiftCard", "variant": "declaration", "kind": 128, @@ -58617,14 +62250,14 @@ }, "children": [ { - "id": 4837, + "id": 4949, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4838, + "id": 4950, "name": "new GiftCard", "variant": "signature", "kind": 16384, @@ -58639,7 +62272,7 @@ }, "type": { "type": "reference", - "target": 4836, + "target": 4948, "name": "GiftCard", "package": "@medusajs/medusa" } @@ -58647,7 +62280,7 @@ ] }, { - "id": 4839, + "id": 4951, "name": "code", "variant": "declaration", "kind": 1024, @@ -58670,19 +62303,19 @@ { "title": "Constructors", "children": [ - 4837 + 4949 ] }, { "title": "Properties", "children": [ - 4839 + 4951 ] } ] }, { - "id": 4840, + "id": 4952, "name": "Discount", "variant": "declaration", "kind": 128, @@ -58697,14 +62330,14 @@ }, "children": [ { - "id": 4841, + "id": 4953, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4842, + "id": 4954, "name": "new Discount", "variant": "signature", "kind": 16384, @@ -58719,7 +62352,7 @@ }, "type": { "type": "reference", - "target": 4840, + "target": 4952, "name": "Discount", "package": "@medusajs/medusa" } @@ -58727,7 +62360,7 @@ ] }, { - "id": 4843, + "id": 4955, "name": "code", "variant": "declaration", "kind": 1024, @@ -58750,19 +62383,19 @@ { "title": "Constructors", "children": [ - 4841 + 4953 ] }, { "title": "Properties", "children": [ - 4843 + 4955 ] } ] }, { - "id": 2207, + "id": 2259, "name": "StorePostCartsCartReq", "variant": "declaration", "kind": 128, @@ -58777,14 +62410,14 @@ }, "children": [ { - "id": 2208, + "id": 2260, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2209, + "id": 2261, "name": "new StorePostCartsCartReq", "variant": "signature", "kind": 16384, @@ -58799,7 +62432,7 @@ }, "type": { "type": "reference", - "target": 2207, + "target": 2259, "name": "StorePostCartsCartReq", "package": "@medusajs/medusa" } @@ -58807,7 +62440,7 @@ ] }, { - "id": 2210, + "id": 2262, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -58828,7 +62461,7 @@ } }, { - "id": 2211, + "id": 2263, "name": "country_code", "variant": "declaration", "kind": 1024, @@ -58849,7 +62482,7 @@ } }, { - "id": 2212, + "id": 2264, "name": "email", "variant": "declaration", "kind": 1024, @@ -58870,7 +62503,7 @@ } }, { - "id": 2213, + "id": 2265, "name": "billing_address", "variant": "declaration", "kind": 1024, @@ -58894,7 +62527,7 @@ }, { "type": "reference", - "target": 3988, + "target": 4044, "name": "AddressPayload", "package": "@medusajs/medusa" } @@ -58902,7 +62535,7 @@ } }, { - "id": 2214, + "id": 2266, "name": "shipping_address", "variant": "declaration", "kind": 1024, @@ -58926,7 +62559,7 @@ }, { "type": "reference", - "target": 3988, + "target": 4044, "name": "AddressPayload", "package": "@medusajs/medusa" } @@ -58934,7 +62567,7 @@ } }, { - "id": 2215, + "id": 2267, "name": "gift_cards", "variant": "declaration", "kind": 1024, @@ -58953,14 +62586,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4836, + "target": 4948, "name": "GiftCard", "package": "@medusajs/medusa" } } }, { - "id": 2216, + "id": 2268, "name": "discounts", "variant": "declaration", "kind": 1024, @@ -58979,14 +62612,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4840, + "target": 4952, "name": "Discount", "package": "@medusajs/medusa" } } }, { - "id": 2217, + "id": 2269, "name": "customer_id", "variant": "declaration", "kind": 1024, @@ -59007,7 +62640,7 @@ } }, { - "id": 2218, + "id": 2270, "name": "context", "variant": "declaration", "kind": 1024, @@ -59028,7 +62661,7 @@ } }, { - "id": 2219, + "id": 2271, "name": "sales_channel_id", "variant": "declaration", "kind": 1024, @@ -59053,28 +62686,28 @@ { "title": "Constructors", "children": [ - 2208 + 2260 ] }, { "title": "Properties", "children": [ - 2210, - 2211, - 2212, - 2213, - 2214, - 2215, - 2216, - 2217, - 2218, - 2219 + 2262, + 2263, + 2264, + 2265, + 2266, + 2267, + 2268, + 2269, + 2270, + 2271 ] } ] }, { - "id": 2220, + "id": 2272, "name": "StorePostCartsCartLineItemsItemReq", "variant": "declaration", "kind": 128, @@ -59089,14 +62722,14 @@ }, "children": [ { - "id": 2221, + "id": 2273, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2222, + "id": 2274, "name": "new StorePostCartsCartLineItemsItemReq", "variant": "signature", "kind": 16384, @@ -59111,7 +62744,7 @@ }, "type": { "type": "reference", - "target": 2220, + "target": 2272, "name": "StorePostCartsCartLineItemsItemReq", "package": "@medusajs/medusa" } @@ -59119,7 +62752,7 @@ ] }, { - "id": 2223, + "id": 2275, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -59138,7 +62771,7 @@ } }, { - "id": 2224, + "id": 2276, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -59178,41 +62811,41 @@ { "title": "Constructors", "children": [ - 2221 + 2273 ] }, { "title": "Properties", "children": [ - 2223, - 2224 + 2275, + 2276 ] } ] }, { - "id": 2225, + "id": 2277, "name": "StorePostCartsCartPaymentSessionUpdateReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2226, + "id": 2278, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2227, + "id": 2279, "name": "new StorePostCartsCartPaymentSessionUpdateReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2225, + "target": 2277, "name": "StorePostCartsCartPaymentSessionUpdateReq", "package": "@medusajs/medusa" } @@ -59220,7 +62853,7 @@ ] }, { - "id": 2228, + "id": 2280, "name": "data", "variant": "declaration", "kind": 1024, @@ -59258,19 +62891,19 @@ { "title": "Constructors", "children": [ - 2226 + 2278 ] }, { "title": "Properties", "children": [ - 2228 + 2280 ] } ] }, { - "id": 2229, + "id": 2281, "name": "defaultStoreCollectionRelations", "variant": "declaration", "kind": 32, @@ -59287,7 +62920,7 @@ "defaultValue": "[]" }, { - "id": 2230, + "id": 2282, "name": "allowedFields", "variant": "declaration", "kind": 32, @@ -59304,7 +62937,7 @@ "defaultValue": "..." }, { - "id": 2231, + "id": 2283, "name": "StoreCollectionsListRes", "variant": "declaration", "kind": 2097152, @@ -59325,21 +62958,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 2232, + "id": 2284, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2233, + "id": 2285, "name": "collections", "variant": "declaration", "kind": 1024, @@ -59370,7 +63003,7 @@ { "title": "Properties", "children": [ - 2233 + 2285 ] } ] @@ -59380,7 +63013,7 @@ } }, { - "id": 2234, + "id": 2286, "name": "StoreCollectionsRes", "variant": "declaration", "kind": 2097152, @@ -59399,14 +63032,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2235, + "id": 2287, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2236, + "id": 2288, "name": "collection", "variant": "declaration", "kind": 1024, @@ -59434,7 +63067,7 @@ { "title": "Properties", "children": [ - 2236 + 2288 ] } ] @@ -59442,7 +63075,7 @@ } }, { - "id": 2237, + "id": 2289, "name": "StoreGetCollectionsParams", "variant": "declaration", "kind": 128, @@ -59457,21 +63090,21 @@ }, "children": [ { - "id": 2238, + "id": 2290, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2239, + "id": 2291, "name": "new StoreGetCollectionsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2237, + "target": 2289, "name": "StoreGetCollectionsParams", "package": "@medusajs/medusa" } @@ -59479,7 +63112,7 @@ ] }, { - "id": 2240, + "id": 2292, "name": "handle", "variant": "declaration", "kind": 1024, @@ -59503,7 +63136,7 @@ } }, { - "id": 2241, + "id": 2293, "name": "limit", "variant": "declaration", "kind": 1024, @@ -59536,7 +63169,7 @@ "defaultValue": "10" }, { - "id": 2242, + "id": 2294, "name": "offset", "variant": "declaration", "kind": 1024, @@ -59569,7 +63202,7 @@ "defaultValue": "0" }, { - "id": 2243, + "id": 2295, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -59594,13 +63227,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 2244, + "id": 2296, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -59625,7 +63258,7 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } @@ -59635,44 +63268,44 @@ { "title": "Constructors", "children": [ - 2238 + 2290 ] }, { "title": "Properties", "children": [ - 2240, - 2241, - 2242, - 2243, - 2244 + 2292, + 2293, + 2294, + 2295, + 2296 ] } ] }, { - "id": 2264, + "id": 2316, "name": "StorePostCustomersCustomerAddressesReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2265, + "id": 2317, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2266, + "id": 2318, "name": "new StorePostCustomersCustomerAddressesReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2264, + "target": 2316, "name": "StorePostCustomersCustomerAddressesReq", "package": "@medusajs/medusa" } @@ -59680,7 +63313,7 @@ ] }, { - "id": 2267, + "id": 2319, "name": "address", "variant": "declaration", "kind": 1024, @@ -59695,7 +63328,7 @@ }, "type": { "type": "reference", - "target": 4002, + "target": 4058, "name": "AddressCreatePayload", "package": "@medusajs/medusa" } @@ -59705,19 +63338,19 @@ { "title": "Constructors", "children": [ - 2265 + 2317 ] }, { "title": "Properties", "children": [ - 2267 + 2319 ] } ] }, { - "id": 2268, + "id": 2320, "name": "StorePostCustomersReq", "variant": "declaration", "kind": 128, @@ -59732,14 +63365,14 @@ }, "children": [ { - "id": 2269, + "id": 2321, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2270, + "id": 2322, "name": "new StorePostCustomersReq", "variant": "signature", "kind": 16384, @@ -59754,7 +63387,7 @@ }, "type": { "type": "reference", - "target": 2268, + "target": 2320, "name": "StorePostCustomersReq", "package": "@medusajs/medusa" } @@ -59762,7 +63395,7 @@ ] }, { - "id": 2271, + "id": 2323, "name": "first_name", "variant": "declaration", "kind": 1024, @@ -59781,7 +63414,7 @@ } }, { - "id": 2272, + "id": 2324, "name": "last_name", "variant": "declaration", "kind": 1024, @@ -59800,7 +63433,7 @@ } }, { - "id": 2273, + "id": 2325, "name": "email", "variant": "declaration", "kind": 1024, @@ -59819,7 +63452,7 @@ } }, { - "id": 2274, + "id": 2326, "name": "password", "variant": "declaration", "kind": 1024, @@ -59838,7 +63471,7 @@ } }, { - "id": 2275, + "id": 2327, "name": "phone", "variant": "declaration", "kind": 1024, @@ -59863,23 +63496,23 @@ { "title": "Constructors", "children": [ - 2269 + 2321 ] }, { "title": "Properties", "children": [ - 2271, - 2272, - 2273, - 2274, - 2275 + 2323, + 2324, + 2325, + 2326, + 2327 ] } ] }, { - "id": 2245, + "id": 2297, "name": "defaultStoreCustomersRelations", "variant": "declaration", "kind": 32, @@ -59896,7 +63529,7 @@ "defaultValue": "..." }, { - "id": 2246, + "id": 2298, "name": "defaultStoreCustomersFields", "variant": "declaration", "kind": 32, @@ -59922,7 +63555,7 @@ "defaultValue": "..." }, { - "id": 2247, + "id": 2299, "name": "allowedStoreCustomersRelations", "variant": "declaration", "kind": 32, @@ -59939,7 +63572,7 @@ "defaultValue": "..." }, { - "id": 2248, + "id": 2300, "name": "allowedStoreCustomersFields", "variant": "declaration", "kind": 32, @@ -59956,7 +63589,7 @@ "defaultValue": "..." }, { - "id": 2249, + "id": 2301, "name": "StoreCustomersRes", "variant": "declaration", "kind": 2097152, @@ -59975,14 +63608,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2250, + "id": 2302, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2251, + "id": 2303, "name": "customer", "variant": "declaration", "kind": 1024, @@ -60025,7 +63658,7 @@ { "title": "Properties", "children": [ - 2251 + 2303 ] } ] @@ -60033,7 +63666,7 @@ } }, { - "id": 2252, + "id": 2304, "name": "StoreCustomersResetPasswordRes", "variant": "declaration", "kind": 2097152, @@ -60047,14 +63680,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2253, + "id": 2305, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2254, + "id": 2306, "name": "customer", "variant": "declaration", "kind": 1024, @@ -60097,7 +63730,7 @@ { "title": "Properties", "children": [ - 2254 + 2306 ] } ] @@ -60105,7 +63738,7 @@ } }, { - "id": 2255, + "id": 2307, "name": "StoreCustomersListOrdersRes", "variant": "declaration", "kind": 2097152, @@ -60126,21 +63759,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 2256, + "id": 2308, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2257, + "id": 2309, "name": "orders", "variant": "declaration", "kind": 1024, @@ -60171,7 +63804,7 @@ { "title": "Properties", "children": [ - 2257 + 2309 ] } ] @@ -60181,7 +63814,7 @@ } }, { - "id": 2258, + "id": 2310, "name": "StoreCustomersListPaymentMethodsRes", "variant": "declaration", "kind": 2097152, @@ -60200,14 +63833,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2259, + "id": 2311, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2260, + "id": 2312, "name": "payment_methods", "variant": "declaration", "kind": 1024, @@ -60225,14 +63858,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 2261, + "id": 2313, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2262, + "id": 2314, "name": "provider_id", "variant": "declaration", "kind": 1024, @@ -60251,7 +63884,7 @@ } }, { - "id": 2263, + "id": 2315, "name": "data", "variant": "declaration", "kind": 1024, @@ -60274,8 +63907,8 @@ { "title": "Properties", "children": [ - 2262, - 2263 + 2314, + 2315 ] } ] @@ -60288,7 +63921,7 @@ { "title": "Properties", "children": [ - 2260 + 2312 ] } ] @@ -60296,7 +63929,7 @@ } }, { - "id": 2276, + "id": 2328, "name": "StoreGetCustomersCustomerOrdersPaginationParams", "variant": "declaration", "kind": 128, @@ -60311,21 +63944,21 @@ }, "children": [ { - "id": 2277, + "id": 2329, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2278, + "id": 2330, "name": "new StoreGetCustomersCustomerOrdersPaginationParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2276, + "target": 2328, "name": "StoreGetCustomersCustomerOrdersPaginationParams", "package": "@medusajs/medusa" } @@ -60333,7 +63966,7 @@ ] }, { - "id": 2279, + "id": 2331, "name": "limit", "variant": "declaration", "kind": 1024, @@ -60364,7 +63997,7 @@ "defaultValue": "10" }, { - "id": 2280, + "id": 2332, "name": "offset", "variant": "declaration", "kind": 1024, @@ -60395,7 +64028,7 @@ "defaultValue": "0" }, { - "id": 2281, + "id": 2333, "name": "fields", "variant": "declaration", "kind": 1024, @@ -60406,7 +64039,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -60416,7 +64065,7 @@ } }, { - "id": 2282, + "id": 2334, "name": "expand", "variant": "declaration", "kind": 1024, @@ -60441,29 +64090,29 @@ { "title": "Constructors", "children": [ - 2277 + 2329 ] }, { "title": "Properties", "children": [ - 2279, - 2280, - 2281, - 2282 + 2331, + 2332, + 2333, + 2334 ] } ], "extendedBy": [ { "type": "reference", - "target": 2283, + "target": 2335, "name": "StoreGetCustomersCustomerOrdersParams" } ] }, { - "id": 2283, + "id": 2335, "name": "StoreGetCustomersCustomerOrdersParams", "variant": "declaration", "kind": 128, @@ -60478,39 +64127,39 @@ }, "children": [ { - "id": 2284, + "id": 2336, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2285, + "id": 2337, "name": "new StoreGetCustomersCustomerOrdersParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2283, + "target": 2335, "name": "StoreGetCustomersCustomerOrdersParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 2278, + "target": 2330, "name": "StoreGetCustomersCustomerOrdersPaginationParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 2277, + "target": 2329, "name": "StoreGetCustomersCustomerOrdersPaginationParams.constructor" } }, { - "id": 2300, + "id": 2352, "name": "limit", "variant": "declaration", "kind": 1024, @@ -60541,12 +64190,12 @@ "defaultValue": "10", "inheritedFrom": { "type": "reference", - "target": 2279, + "target": 2331, "name": "StoreGetCustomersCustomerOrdersPaginationParams.limit" } }, { - "id": 2301, + "id": 2353, "name": "offset", "variant": "declaration", "kind": 1024, @@ -60577,12 +64226,12 @@ "defaultValue": "0", "inheritedFrom": { "type": "reference", - "target": 2280, + "target": 2332, "name": "StoreGetCustomersCustomerOrdersPaginationParams.offset" } }, { - "id": 2302, + "id": 2354, "name": "fields", "variant": "declaration", "kind": 1024, @@ -60593,7 +64242,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -60603,12 +64268,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 2281, + "target": 2333, "name": "StoreGetCustomersCustomerOrdersPaginationParams.fields" } }, { - "id": 2303, + "id": 2355, "name": "expand", "variant": "declaration", "kind": 1024, @@ -60629,12 +64294,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 2282, + "target": 2334, "name": "StoreGetCustomersCustomerOrdersPaginationParams.expand" } }, { - "id": 2286, + "id": 2338, "name": "id", "variant": "declaration", "kind": 1024, @@ -60655,7 +64320,7 @@ } }, { - "id": 2287, + "id": 2339, "name": "q", "variant": "declaration", "kind": 1024, @@ -60676,7 +64341,7 @@ } }, { - "id": 2288, + "id": 2340, "name": "status", "variant": "declaration", "kind": 1024, @@ -60705,7 +64370,7 @@ } }, { - "id": 2289, + "id": 2341, "name": "fulfillment_status", "variant": "declaration", "kind": 1024, @@ -60734,7 +64399,7 @@ } }, { - "id": 2290, + "id": 2342, "name": "payment_status", "variant": "declaration", "kind": 1024, @@ -60763,7 +64428,7 @@ } }, { - "id": 2291, + "id": 2343, "name": "display_id", "variant": "declaration", "kind": 1024, @@ -60784,7 +64449,7 @@ } }, { - "id": 2292, + "id": 2344, "name": "cart_id", "variant": "declaration", "kind": 1024, @@ -60805,7 +64470,7 @@ } }, { - "id": 2293, + "id": 2345, "name": "email", "variant": "declaration", "kind": 1024, @@ -60826,7 +64491,7 @@ } }, { - "id": 2294, + "id": 2346, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -60847,7 +64512,7 @@ } }, { - "id": 2295, + "id": 2347, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -60868,7 +64533,7 @@ } }, { - "id": 2296, + "id": 2348, "name": "tax_rate", "variant": "declaration", "kind": 1024, @@ -60889,7 +64554,7 @@ } }, { - "id": 2297, + "id": 2349, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -60914,13 +64579,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 2298, + "id": 2350, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -60945,13 +64610,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 2299, + "id": 2351, "name": "canceled_at", "variant": "declaration", "kind": 1024, @@ -60976,7 +64641,7 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } @@ -60986,65 +64651,65 @@ { "title": "Constructors", "children": [ - 2284 + 2336 ] }, { "title": "Properties", "children": [ - 2300, - 2301, - 2302, - 2303, - 2286, - 2287, - 2288, - 2289, - 2290, - 2291, - 2292, - 2293, - 2294, - 2295, - 2296, - 2297, - 2298, - 2299 + 2352, + 2353, + 2354, + 2355, + 2338, + 2339, + 2340, + 2341, + 2342, + 2343, + 2344, + 2345, + 2346, + 2347, + 2348, + 2349, + 2350, + 2351 ] } ], "extendedTypes": [ { "type": "reference", - "target": 2276, + "target": 2328, "name": "StoreGetCustomersCustomerOrdersPaginationParams", "package": "@medusajs/medusa" } ] }, { - "id": 2310, + "id": 2362, "name": "StorePostCustomersCustomerPasswordTokenReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2311, + "id": 2363, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2312, + "id": 2364, "name": "new StorePostCustomersCustomerPasswordTokenReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2310, + "target": 2362, "name": "StorePostCustomersCustomerPasswordTokenReq", "package": "@medusajs/medusa" } @@ -61052,7 +64717,7 @@ ] }, { - "id": 2313, + "id": 2365, "name": "email", "variant": "declaration", "kind": 1024, @@ -61075,40 +64740,40 @@ { "title": "Constructors", "children": [ - 2311 + 2363 ] }, { "title": "Properties", "children": [ - 2313 + 2365 ] } ] }, { - "id": 2304, + "id": 2356, "name": "StorePostCustomersResetPasswordReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2305, + "id": 2357, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2306, + "id": 2358, "name": "new StorePostCustomersResetPasswordReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2304, + "target": 2356, "name": "StorePostCustomersResetPasswordReq", "package": "@medusajs/medusa" } @@ -61116,7 +64781,7 @@ ] }, { - "id": 2307, + "id": 2359, "name": "email", "variant": "declaration", "kind": 1024, @@ -61135,7 +64800,7 @@ } }, { - "id": 2308, + "id": 2360, "name": "token", "variant": "declaration", "kind": 1024, @@ -61154,7 +64819,7 @@ } }, { - "id": 2309, + "id": 2361, "name": "password", "variant": "declaration", "kind": 1024, @@ -61177,60 +64842,60 @@ { "title": "Constructors", "children": [ - 2305 + 2357 ] }, { "title": "Properties", "children": [ - 2307, - 2308, - 2309 + 2359, + 2360, + 2361 ] } ] }, { - "id": 2314, + "id": 2366, "name": "StorePostCustomersCustomerAddressesAddressReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2315, + "id": 2367, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2316, + "id": 2368, "name": "new StorePostCustomersCustomerAddressesAddressReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2314, + "target": 2366, "name": "StorePostCustomersCustomerAddressesAddressReq", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 3990, + "target": 4046, "name": "AddressPayload.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 3989, + "target": 4045, "name": "AddressPayload.constructor" } }, { - "id": 2317, + "id": 2369, "name": "first_name", "variant": "declaration", "kind": 1024, @@ -61251,12 +64916,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3991, + "target": 4047, "name": "AddressPayload.first_name" } }, { - "id": 2318, + "id": 2370, "name": "last_name", "variant": "declaration", "kind": 1024, @@ -61277,12 +64942,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3992, + "target": 4048, "name": "AddressPayload.last_name" } }, { - "id": 2319, + "id": 2371, "name": "phone", "variant": "declaration", "kind": 1024, @@ -61303,12 +64968,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3993, + "target": 4049, "name": "AddressPayload.phone" } }, { - "id": 2320, + "id": 2372, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -61344,12 +65009,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3994, + "target": 4050, "name": "AddressPayload.metadata" } }, { - "id": 2321, + "id": 2373, "name": "company", "variant": "declaration", "kind": 1024, @@ -61370,12 +65035,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3995, + "target": 4051, "name": "AddressPayload.company" } }, { - "id": 2322, + "id": 2374, "name": "address_1", "variant": "declaration", "kind": 1024, @@ -61396,12 +65061,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3996, + "target": 4052, "name": "AddressPayload.address_1" } }, { - "id": 2323, + "id": 2375, "name": "address_2", "variant": "declaration", "kind": 1024, @@ -61422,12 +65087,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3997, + "target": 4053, "name": "AddressPayload.address_2" } }, { - "id": 2324, + "id": 2376, "name": "city", "variant": "declaration", "kind": 1024, @@ -61448,12 +65113,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3998, + "target": 4054, "name": "AddressPayload.city" } }, { - "id": 2325, + "id": 2377, "name": "country_code", "variant": "declaration", "kind": 1024, @@ -61474,12 +65139,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3999, + "target": 4055, "name": "AddressPayload.country_code" } }, { - "id": 2326, + "id": 2378, "name": "province", "variant": "declaration", "kind": 1024, @@ -61500,12 +65165,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4000, + "target": 4056, "name": "AddressPayload.province" } }, { - "id": 2327, + "id": 2379, "name": "postal_code", "variant": "declaration", "kind": 1024, @@ -61526,7 +65191,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4001, + "target": 4057, "name": "AddressPayload.postal_code" } } @@ -61535,37 +65200,37 @@ { "title": "Constructors", "children": [ - 2315 + 2367 ] }, { "title": "Properties", "children": [ - 2317, - 2318, - 2319, - 2320, - 2321, - 2322, - 2323, - 2324, - 2325, - 2326, - 2327 + 2369, + 2370, + 2371, + 2372, + 2373, + 2374, + 2375, + 2376, + 2377, + 2378, + 2379 ] } ], "extendedTypes": [ { "type": "reference", - "target": 3988, + "target": 4044, "name": "AddressPayload", "package": "@medusajs/medusa" } ] }, { - "id": 2328, + "id": 2380, "name": "StorePostCustomersCustomerReq", "variant": "declaration", "kind": 128, @@ -61580,14 +65245,14 @@ }, "children": [ { - "id": 2329, + "id": 2381, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2330, + "id": 2382, "name": "new StorePostCustomersCustomerReq", "variant": "signature", "kind": 16384, @@ -61602,7 +65267,7 @@ }, "type": { "type": "reference", - "target": 2328, + "target": 2380, "name": "StorePostCustomersCustomerReq", "package": "@medusajs/medusa" } @@ -61610,7 +65275,7 @@ ] }, { - "id": 2331, + "id": 2383, "name": "billing_address", "variant": "declaration", "kind": 1024, @@ -61634,7 +65299,7 @@ }, { "type": "reference", - "target": 3988, + "target": 4044, "name": "AddressPayload", "package": "@medusajs/medusa" } @@ -61642,7 +65307,7 @@ } }, { - "id": 2332, + "id": 2384, "name": "first_name", "variant": "declaration", "kind": 1024, @@ -61663,7 +65328,7 @@ } }, { - "id": 2333, + "id": 2385, "name": "last_name", "variant": "declaration", "kind": 1024, @@ -61684,7 +65349,7 @@ } }, { - "id": 2334, + "id": 2386, "name": "password", "variant": "declaration", "kind": 1024, @@ -61705,7 +65370,7 @@ } }, { - "id": 2335, + "id": 2387, "name": "phone", "variant": "declaration", "kind": 1024, @@ -61726,7 +65391,7 @@ } }, { - "id": 2336, + "id": 2388, "name": "email", "variant": "declaration", "kind": 1024, @@ -61747,7 +65412,7 @@ } }, { - "id": 2337, + "id": 2389, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -61787,25 +65452,25 @@ { "title": "Constructors", "children": [ - 2329 + 2381 ] }, { "title": "Properties", "children": [ - 2331, - 2332, - 2333, - 2334, - 2335, - 2336, - 2337 + 2383, + 2384, + 2385, + 2386, + 2387, + 2388, + 2389 ] } ] }, { - "id": 2338, + "id": 2390, "name": "defaultStoreGiftCardRelations", "variant": "declaration", "kind": 32, @@ -61822,7 +65487,7 @@ "defaultValue": "..." }, { - "id": 2339, + "id": 2391, "name": "defaultStoreGiftCardFields", "variant": "declaration", "kind": 32, @@ -61848,7 +65513,7 @@ "defaultValue": "..." }, { - "id": 2340, + "id": 2392, "name": "allowedStoreGiftCardRelations", "variant": "declaration", "kind": 32, @@ -61865,7 +65530,7 @@ "defaultValue": "..." }, { - "id": 2341, + "id": 2393, "name": "allowedStoreGiftCardFields", "variant": "declaration", "kind": 32, @@ -61882,7 +65547,7 @@ "defaultValue": "..." }, { - "id": 2342, + "id": 2394, "name": "StoreGiftCardsRes", "variant": "declaration", "kind": 2097152, @@ -61901,14 +65566,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2343, + "id": 2395, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2344, + "id": 2396, "name": "gift_card", "variant": "declaration", "kind": 1024, @@ -61936,7 +65601,7 @@ { "title": "Properties", "children": [ - 2344 + 2396 ] } ] @@ -61944,7 +65609,7 @@ } }, { - "id": 2348, + "id": 2400, "name": "StorePostOrderEditsOrderEditDecline", "variant": "declaration", "kind": 128, @@ -61959,14 +65624,14 @@ }, "children": [ { - "id": 2349, + "id": 2401, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2350, + "id": 2402, "name": "new StorePostOrderEditsOrderEditDecline", "variant": "signature", "kind": 16384, @@ -61981,7 +65646,7 @@ }, "type": { "type": "reference", - "target": 2348, + "target": 2400, "name": "StorePostOrderEditsOrderEditDecline", "package": "@medusajs/medusa" } @@ -61989,7 +65654,7 @@ ] }, { - "id": 2351, + "id": 2403, "name": "declined_reason", "variant": "declaration", "kind": 1024, @@ -62014,19 +65679,19 @@ { "title": "Constructors", "children": [ - 2349 + 2401 ] }, { "title": "Properties", "children": [ - 2351 + 2403 ] } ] }, { - "id": 2345, + "id": 2397, "name": "StoreOrderEditsRes", "variant": "declaration", "kind": 2097152, @@ -62045,14 +65710,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2346, + "id": 2398, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2347, + "id": 2399, "name": "order_edit", "variant": "declaration", "kind": 1024, @@ -62112,7 +65777,7 @@ { "title": "Properties", "children": [ - 2347 + 2399 ] } ] @@ -62120,7 +65785,7 @@ } }, { - "id": 2359, + "id": 2411, "name": "StorePostCustomersCustomerAcceptClaimReq", "variant": "declaration", "kind": 128, @@ -62135,14 +65800,14 @@ }, "children": [ { - "id": 2360, + "id": 2412, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2361, + "id": 2413, "name": "new StorePostCustomersCustomerAcceptClaimReq", "variant": "signature", "kind": 16384, @@ -62157,7 +65822,7 @@ }, "type": { "type": "reference", - "target": 2359, + "target": 2411, "name": "StorePostCustomersCustomerAcceptClaimReq", "package": "@medusajs/medusa" } @@ -62165,7 +65830,7 @@ ] }, { - "id": 2362, + "id": 2414, "name": "token", "variant": "declaration", "kind": 1024, @@ -62188,19 +65853,19 @@ { "title": "Constructors", "children": [ - 2360 + 2412 ] }, { "title": "Properties", "children": [ - 2362 + 2414 ] } ] }, { - "id": 2352, + "id": 2404, "name": "defaultStoreOrdersRelations", "variant": "declaration", "kind": 32, @@ -62217,7 +65882,7 @@ "defaultValue": "..." }, { - "id": 2353, + "id": 2405, "name": "allowedStoreOrdersRelations", "variant": "declaration", "kind": 32, @@ -62234,7 +65899,7 @@ "defaultValue": "..." }, { - "id": 2354, + "id": 2406, "name": "defaultStoreOrdersFields", "variant": "declaration", "kind": 32, @@ -62260,7 +65925,7 @@ "defaultValue": "..." }, { - "id": 2355, + "id": 2407, "name": "allowedStoreOrdersFields", "variant": "declaration", "kind": 32, @@ -62277,7 +65942,7 @@ "defaultValue": "..." }, { - "id": 2356, + "id": 2408, "name": "StoreOrdersRes", "variant": "declaration", "kind": 2097152, @@ -62296,14 +65961,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2357, + "id": 2409, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2358, + "id": 2410, "name": "order", "variant": "declaration", "kind": 1024, @@ -62331,7 +65996,7 @@ { "title": "Properties", "children": [ - 2358 + 2410 ] } ] @@ -62339,7 +66004,7 @@ } }, { - "id": 2363, + "id": 2415, "name": "ShippingAddressPayload", "variant": "declaration", "kind": 128, @@ -62354,21 +66019,21 @@ }, "children": [ { - "id": 2364, + "id": 2416, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2365, + "id": 2417, "name": "new ShippingAddressPayload", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2363, + "target": 2415, "name": "ShippingAddressPayload", "package": "@medusajs/medusa" } @@ -62376,7 +66041,7 @@ ] }, { - "id": 2366, + "id": 2418, "name": "postal_code", "variant": "declaration", "kind": 1024, @@ -62401,19 +66066,19 @@ { "title": "Constructors", "children": [ - 2364 + 2416 ] }, { "title": "Properties", "children": [ - 2366 + 2418 ] } ] }, { - "id": 2367, + "id": 2419, "name": "StoreGetOrdersParams", "variant": "declaration", "kind": 128, @@ -62428,39 +66093,39 @@ }, "children": [ { - "id": 2368, + "id": 2420, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2369, + "id": 2421, "name": "new StoreGetOrdersParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2367, + "target": 2419, "name": "StoreGetOrdersParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 2370, + "id": 2422, "name": "display_id", "variant": "declaration", "kind": 1024, @@ -62479,7 +66144,7 @@ } }, { - "id": 2371, + "id": 2423, "name": "email", "variant": "declaration", "kind": 1024, @@ -62498,7 +66163,7 @@ } }, { - "id": 2372, + "id": 2424, "name": "shipping_address", "variant": "declaration", "kind": 1024, @@ -62515,13 +66180,13 @@ }, "type": { "type": "reference", - "target": 2363, + "target": 2415, "name": "ShippingAddressPayload", "package": "@medusajs/medusa" } }, { - "id": 2373, + "id": 2425, "name": "expand", "variant": "declaration", "kind": 1024, @@ -62534,6 +66199,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -62542,12 +66213,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 2374, + "id": 2426, "name": "fields", "variant": "declaration", "kind": 1024, @@ -62558,7 +66229,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -62568,7 +66255,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -62577,31 +66264,31 @@ { "title": "Constructors", "children": [ - 2368 + 2420 ] }, { "title": "Properties", "children": [ - 2370, - 2371, - 2372, - 2373, - 2374 + 2422, + 2423, + 2424, + 2425, + 2426 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 2375, + "id": 2427, "name": "StorePostCustomersCustomerOrderClaimReq", "variant": "declaration", "kind": 128, @@ -62616,14 +66303,14 @@ }, "children": [ { - "id": 2376, + "id": 2428, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2377, + "id": 2429, "name": "new StorePostCustomersCustomerOrderClaimReq", "variant": "signature", "kind": 16384, @@ -62638,7 +66325,7 @@ }, "type": { "type": "reference", - "target": 2375, + "target": 2427, "name": "StorePostCustomersCustomerOrderClaimReq", "package": "@medusajs/medusa" } @@ -62646,7 +66333,7 @@ ] }, { - "id": 2378, + "id": 2430, "name": "order_ids", "variant": "declaration", "kind": 1024, @@ -62672,19 +66359,19 @@ { "title": "Constructors", "children": [ - 2376 + 2428 ] }, { "title": "Properties", "children": [ - 2378 + 2430 ] } ] }, { - "id": 2386, + "id": 2438, "name": "StorePostPaymentCollectionsBatchSessionsAuthorizeReq", "variant": "declaration", "kind": 128, @@ -62699,14 +66386,14 @@ }, "children": [ { - "id": 2387, + "id": 2439, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2388, + "id": 2440, "name": "new StorePostPaymentCollectionsBatchSessionsAuthorizeReq", "variant": "signature", "kind": 16384, @@ -62721,7 +66408,7 @@ }, "type": { "type": "reference", - "target": 2386, + "target": 2438, "name": "StorePostPaymentCollectionsBatchSessionsAuthorizeReq", "package": "@medusajs/medusa" } @@ -62729,7 +66416,7 @@ ] }, { - "id": 2389, + "id": 2441, "name": "session_ids", "variant": "declaration", "kind": 1024, @@ -62755,19 +66442,19 @@ { "title": "Constructors", "children": [ - 2387 + 2439 ] }, { "title": "Properties", "children": [ - 2389 + 2441 ] } ] }, { - "id": 2390, + "id": 2442, "name": "StoreGetPaymentCollectionsParams", "variant": "declaration", "kind": 128, @@ -62782,39 +66469,39 @@ }, "children": [ { - "id": 2391, + "id": 2443, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2392, + "id": 2444, "name": "new StoreGetPaymentCollectionsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2390, + "target": 2442, "name": "StoreGetPaymentCollectionsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 2393, + "id": 2445, "name": "expand", "variant": "declaration", "kind": 1024, @@ -62827,6 +66514,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -62835,12 +66528,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 2394, + "id": 2446, "name": "fields", "variant": "declaration", "kind": 1024, @@ -62851,7 +66544,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -62861,7 +66570,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -62870,28 +66579,28 @@ { "title": "Constructors", "children": [ - 2391 + 2443 ] }, { "title": "Properties", "children": [ - 2393, - 2394 + 2445, + 2446 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 2379, + "id": 2431, "name": "defaultPaymentCollectionRelations", "variant": "declaration", "kind": 32, @@ -62908,7 +66617,7 @@ "defaultValue": "..." }, { - "id": 2380, + "id": 2432, "name": "StorePaymentCollectionsRes", "variant": "declaration", "kind": 2097152, @@ -62927,14 +66636,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2381, + "id": 2433, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2382, + "id": 2434, "name": "payment_collection", "variant": "declaration", "kind": 1024, @@ -62962,7 +66671,7 @@ { "title": "Properties", "children": [ - 2382 + 2434 ] } ] @@ -62970,7 +66679,7 @@ } }, { - "id": 2383, + "id": 2435, "name": "StorePaymentCollectionsSessionRes", "variant": "declaration", "kind": 2097152, @@ -62989,14 +66698,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2384, + "id": 2436, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2385, + "id": 2437, "name": "payment_session", "variant": "declaration", "kind": 1024, @@ -63024,7 +66733,7 @@ { "title": "Properties", "children": [ - 2385 + 2437 ] } ] @@ -63032,28 +66741,28 @@ } }, { - "id": 2395, + "id": 2447, "name": "StorePostPaymentCollectionsSessionsReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2396, + "id": 2448, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2397, + "id": 2449, "name": "new StorePostPaymentCollectionsSessionsReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2395, + "target": 2447, "name": "StorePostPaymentCollectionsSessionsReq", "package": "@medusajs/medusa" } @@ -63061,7 +66770,7 @@ ] }, { - "id": 2398, + "id": 2450, "name": "provider_id", "variant": "declaration", "kind": 1024, @@ -63080,7 +66789,7 @@ } }, { - "id": 2399, + "id": 2451, "name": "amount", "variant": "declaration", "kind": 1024, @@ -63099,7 +66808,7 @@ } }, { - "id": 2400, + "id": 2452, "name": "session_id", "variant": "declaration", "kind": 1024, @@ -63124,21 +66833,21 @@ { "title": "Constructors", "children": [ - 2396 + 2448 ] }, { "title": "Properties", "children": [ - 2398, - 2399, - 2400 + 2450, + 2451, + 2452 ] } ] }, { - "id": 2401, + "id": 2453, "name": "StorePostPaymentCollectionsBatchSessionsReq", "variant": "declaration", "kind": 128, @@ -63153,14 +66862,14 @@ }, "children": [ { - "id": 2402, + "id": 2454, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2403, + "id": 2455, "name": "new StorePostPaymentCollectionsBatchSessionsReq", "variant": "signature", "kind": 16384, @@ -63175,7 +66884,7 @@ }, "type": { "type": "reference", - "target": 2401, + "target": 2453, "name": "StorePostPaymentCollectionsBatchSessionsReq", "package": "@medusajs/medusa" } @@ -63183,7 +66892,7 @@ ] }, { - "id": 2404, + "id": 2456, "name": "sessions", "variant": "declaration", "kind": 1024, @@ -63200,7 +66909,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 2395, + "target": 2447, "name": "StorePostPaymentCollectionsSessionsReq", "package": "@medusajs/medusa" } @@ -63211,19 +66920,19 @@ { "title": "Constructors", "children": [ - 2402 + 2454 ] }, { "title": "Properties", "children": [ - 2404 + 2456 ] } ] }, { - "id": 2405, + "id": 2457, "name": "StorePaymentCollectionSessionsReq", "variant": "declaration", "kind": 128, @@ -63238,14 +66947,14 @@ }, "children": [ { - "id": 2406, + "id": 2458, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2407, + "id": 2459, "name": "new StorePaymentCollectionSessionsReq", "variant": "signature", "kind": 16384, @@ -63260,7 +66969,7 @@ }, "type": { "type": "reference", - "target": 2405, + "target": 2457, "name": "StorePaymentCollectionSessionsReq", "package": "@medusajs/medusa" } @@ -63268,7 +66977,7 @@ ] }, { - "id": 2408, + "id": 2460, "name": "provider_id", "variant": "declaration", "kind": 1024, @@ -63291,19 +67000,19 @@ { "title": "Constructors", "children": [ - 2406 + 2458 ] }, { "title": "Properties", "children": [ - 2408 + 2460 ] } ] }, { - "id": 2422, + "id": 2474, "name": "StoreGetProductCategoriesCategoryParams", "variant": "declaration", "kind": 128, @@ -63318,39 +67027,39 @@ }, "children": [ { - "id": 2423, + "id": 2475, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2424, + "id": 2476, "name": "new StoreGetProductCategoriesCategoryParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2422, + "target": 2474, "name": "StoreGetProductCategoriesCategoryParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 2425, + "id": 2477, "name": "expand", "variant": "declaration", "kind": 1024, @@ -63363,6 +67072,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -63371,12 +67086,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 2426, + "id": 2478, "name": "fields", "variant": "declaration", "kind": 1024, @@ -63387,7 +67102,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -63397,7 +67128,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -63406,28 +67137,28 @@ { "title": "Constructors", "children": [ - 2423 + 2475 ] }, { "title": "Properties", "children": [ - 2425, - 2426 + 2477, + 2478 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 2409, + "id": 2461, "name": "defaultStoreProductCategoryRelations", "variant": "declaration", "kind": 32, @@ -63444,7 +67175,7 @@ "defaultValue": "..." }, { - "id": 2410, + "id": 2462, "name": "defaultStoreCategoryScope", "variant": "declaration", "kind": 32, @@ -63454,14 +67185,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2411, + "id": 2463, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2412, + "id": 2464, "name": "is_internal", "variant": "declaration", "kind": 1024, @@ -63473,7 +67204,7 @@ "defaultValue": "false" }, { - "id": 2413, + "id": 2465, "name": "is_active", "variant": "declaration", "kind": 1024, @@ -63489,8 +67220,8 @@ { "title": "Properties", "children": [ - 2412, - 2413 + 2464, + 2465 ] } ] @@ -63499,7 +67230,7 @@ "defaultValue": "..." }, { - "id": 2414, + "id": 2466, "name": "defaultStoreProductCategoryFields", "variant": "declaration", "kind": 32, @@ -63516,7 +67247,7 @@ "defaultValue": "..." }, { - "id": 2415, + "id": 2467, "name": "allowedStoreProductCategoryFields", "variant": "declaration", "kind": 32, @@ -63533,7 +67264,7 @@ "defaultValue": "..." }, { - "id": 2416, + "id": 2468, "name": "StoreGetProductCategoriesCategoryRes", "variant": "declaration", "kind": 2097152, @@ -63552,14 +67283,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2417, + "id": 2469, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2418, + "id": 2470, "name": "product_category", "variant": "declaration", "kind": 1024, @@ -63587,7 +67318,7 @@ { "title": "Properties", "children": [ - 2418 + 2470 ] } ] @@ -63595,7 +67326,7 @@ } }, { - "id": 2419, + "id": 2471, "name": "StoreGetProductCategoriesRes", "variant": "declaration", "kind": 2097152, @@ -63616,21 +67347,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 2420, + "id": 2472, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2421, + "id": 2473, "name": "product_categories", "variant": "declaration", "kind": 1024, @@ -63661,7 +67392,7 @@ { "title": "Properties", "children": [ - 2421 + 2473 ] } ] @@ -63671,7 +67402,7 @@ } }, { - "id": 2427, + "id": 2479, "name": "StoreGetProductCategoriesParams", "variant": "declaration", "kind": 128, @@ -63686,7 +67417,7 @@ }, "children": [ { - "id": 2431, + "id": 2483, "name": "q", "variant": "declaration", "kind": 1024, @@ -63707,7 +67438,7 @@ } }, { - "id": 2432, + "id": 2484, "name": "handle", "variant": "declaration", "kind": 1024, @@ -63728,7 +67459,7 @@ } }, { - "id": 2433, + "id": 2485, "name": "parent_category_id", "variant": "declaration", "kind": 1024, @@ -63758,7 +67489,7 @@ } }, { - "id": 2434, + "id": 2486, "name": "include_descendants_tree", "variant": "declaration", "kind": 1024, @@ -63779,7 +67510,7 @@ } }, { - "id": 2435, + "id": 2487, "name": "expand", "variant": "declaration", "kind": 1024, @@ -63792,6 +67523,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -63805,7 +67542,7 @@ } }, { - "id": 2436, + "id": 2488, "name": "fields", "variant": "declaration", "kind": 1024, @@ -63816,7 +67553,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -63831,7 +67584,7 @@ } }, { - "id": 2437, + "id": 2489, "name": "offset", "variant": "declaration", "kind": 1024, @@ -63869,7 +67622,7 @@ } }, { - "id": 2438, + "id": 2490, "name": "limit", "variant": "declaration", "kind": 1024, @@ -63904,21 +67657,55 @@ } }, { - "id": 2428, + "id": 2491, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 100,\n offset: 0,\n}).order" + } + }, + { + "id": 2480, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2429, + "id": 2481, "name": "new StoreGetProductCategoriesParams", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 2430, + "id": 2482, "name": "args", "variant": "param", "kind": 32768, @@ -63936,7 +67723,7 @@ ], "type": { "type": "reference", - "target": 2427, + "target": 2479, "name": "StoreGetProductCategoriesParams", "package": "@medusajs/medusa" }, @@ -63958,20 +67745,21 @@ { "title": "Constructors", "children": [ - 2428 + 2480 ] }, { "title": "Properties", "children": [ - 2431, - 2432, - 2433, - 2434, - 2435, - 2436, - 2437, - 2438 + 2483, + 2484, + 2485, + 2486, + 2487, + 2488, + 2489, + 2490, + 2491 ] } ], @@ -63981,7 +67769,7 @@ "types": [ { "type": "reference", - "target": 4016, + "target": 4072, "typeArguments": [ { "type": "intrinsic", @@ -63993,7 +67781,7 @@ }, { "type": "reference", - "target": 4021, + "target": 4077, "typeArguments": [ { "type": "intrinsic", @@ -64008,7 +67796,7 @@ ] }, { - "id": 2439, + "id": 2492, "name": "defaultStoreProductTagFields", "variant": "declaration", "kind": 32, @@ -64025,7 +67813,7 @@ "defaultValue": "..." }, { - "id": 2440, + "id": 2493, "name": "allowedStoreProductTagFields", "variant": "declaration", "kind": 32, @@ -64042,7 +67830,7 @@ "defaultValue": "..." }, { - "id": 2441, + "id": 2494, "name": "defaultStoreProductTagRelations", "variant": "declaration", "kind": 32, @@ -64059,7 +67847,7 @@ "defaultValue": "[]" }, { - "id": 2442, + "id": 2495, "name": "StoreProductTagsListRes", "variant": "declaration", "kind": 2097152, @@ -64080,21 +67868,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 2443, + "id": 2496, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2444, + "id": 2497, "name": "product_tags", "variant": "declaration", "kind": 1024, @@ -64125,7 +67913,7 @@ { "title": "Properties", "children": [ - 2444 + 2497 ] } ] @@ -64135,7 +67923,7 @@ } }, { - "id": 2445, + "id": 2498, "name": "StoreGetProductTagsParams", "variant": "declaration", "kind": 128, @@ -64150,39 +67938,39 @@ }, "children": [ { - "id": 2446, + "id": 2499, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2447, + "id": 2500, "name": "new StoreGetProductTagsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2445, + "target": 2498, "name": "StoreGetProductTagsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4023, + "target": 4079, "name": "FindPaginationParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4022, + "target": 4078, "name": "FindPaginationParams.constructor" } }, { - "id": 2448, + "id": 2501, "name": "id", "variant": "declaration", "kind": 1024, @@ -64213,7 +68001,7 @@ }, { "type": "reference", - "target": 3971, + "target": 4027, "name": "StringComparisonOperator", "package": "@medusajs/medusa" } @@ -64221,7 +68009,7 @@ } }, { - "id": 2449, + "id": 2502, "name": "q", "variant": "declaration", "kind": 1024, @@ -64242,7 +68030,7 @@ } }, { - "id": 2450, + "id": 2503, "name": "value", "variant": "declaration", "kind": 1024, @@ -64273,7 +68061,7 @@ }, { "type": "reference", - "target": 3971, + "target": 4027, "name": "StringComparisonOperator", "package": "@medusajs/medusa" } @@ -64281,7 +68069,7 @@ } }, { - "id": 2451, + "id": 2504, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -64306,13 +68094,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 2452, + "id": 2505, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -64337,13 +68125,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 2453, + "id": 2506, "name": "order", "variant": "declaration", "kind": 1024, @@ -64369,10 +68157,15 @@ "type": { "type": "intrinsic", "name": "string" + }, + "overwrites": { + "type": "reference", + "target": 4082, + "name": "FindPaginationParams.order" } }, { - "id": 2454, + "id": 2507, "name": "discount_condition_id", "variant": "declaration", "kind": 1024, @@ -64393,7 +68186,7 @@ } }, { - "id": 2455, + "id": 2508, "name": "offset", "variant": "declaration", "kind": 1024, @@ -64426,12 +68219,12 @@ "defaultValue": "0", "inheritedFrom": { "type": "reference", - "target": 4024, + "target": 4080, "name": "FindPaginationParams.offset" } }, { - "id": 2456, + "id": 2509, "name": "limit", "variant": "declaration", "kind": 1024, @@ -64464,7 +68257,7 @@ "defaultValue": "20", "inheritedFrom": { "type": "reference", - "target": 4025, + "target": 4081, "name": "FindPaginationParams.limit" } } @@ -64473,35 +68266,35 @@ { "title": "Constructors", "children": [ - 2446 + 2499 ] }, { "title": "Properties", "children": [ - 2448, - 2449, - 2450, - 2451, - 2452, - 2453, - 2454, - 2455, - 2456 + 2501, + 2502, + 2503, + 2504, + 2505, + 2506, + 2507, + 2508, + 2509 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4021, + "target": 4077, "name": "FindPaginationParams", "package": "@medusajs/medusa" } ] }, { - "id": 2457, + "id": 2510, "name": "allowedStoreProductTypeFields", "variant": "declaration", "kind": 32, @@ -64518,7 +68311,7 @@ "defaultValue": "..." }, { - "id": 2458, + "id": 2511, "name": "defaultStoreProductTypeFields", "variant": "declaration", "kind": 32, @@ -64535,7 +68328,7 @@ "defaultValue": "..." }, { - "id": 2459, + "id": 2512, "name": "defaultStoreProductTypeRelations", "variant": "declaration", "kind": 32, @@ -64552,7 +68345,7 @@ "defaultValue": "[]" }, { - "id": 2460, + "id": 2513, "name": "StoreProductTypesListRes", "variant": "declaration", "kind": 2097152, @@ -64568,21 +68361,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 2461, + "id": 2514, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2462, + "id": 2515, "name": "product_types", "variant": "declaration", "kind": 1024, @@ -64613,7 +68406,7 @@ { "title": "Properties", "children": [ - 2462 + 2515 ] } ] @@ -64623,7 +68416,7 @@ } }, { - "id": 2463, + "id": 2516, "name": "StoreGetProductTypesParams", "variant": "declaration", "kind": 128, @@ -64638,39 +68431,39 @@ }, "children": [ { - "id": 2464, + "id": 2517, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2465, + "id": 2518, "name": "new StoreGetProductTypesParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2463, + "target": 2516, "name": "StoreGetProductTypesParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4023, + "target": 4079, "name": "FindPaginationParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4022, + "target": 4078, "name": "FindPaginationParams.constructor" } }, { - "id": 2466, + "id": 2519, "name": "id", "variant": "declaration", "kind": 1024, @@ -64701,7 +68494,7 @@ }, { "type": "reference", - "target": 3971, + "target": 4027, "name": "StringComparisonOperator", "package": "@medusajs/medusa" } @@ -64709,7 +68502,7 @@ } }, { - "id": 2467, + "id": 2520, "name": "q", "variant": "declaration", "kind": 1024, @@ -64730,7 +68523,7 @@ } }, { - "id": 2468, + "id": 2521, "name": "value", "variant": "declaration", "kind": 1024, @@ -64761,7 +68554,7 @@ }, { "type": "reference", - "target": 3971, + "target": 4027, "name": "StringComparisonOperator", "package": "@medusajs/medusa" } @@ -64769,7 +68562,7 @@ } }, { - "id": 2469, + "id": 2522, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -64794,13 +68587,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 2470, + "id": 2523, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -64825,13 +68618,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 2471, + "id": 2524, "name": "order", "variant": "declaration", "kind": 1024, @@ -64857,10 +68650,15 @@ "type": { "type": "intrinsic", "name": "string" + }, + "overwrites": { + "type": "reference", + "target": 4082, + "name": "FindPaginationParams.order" } }, { - "id": 2472, + "id": 2525, "name": "discount_condition_id", "variant": "declaration", "kind": 1024, @@ -64881,7 +68679,7 @@ } }, { - "id": 2473, + "id": 2526, "name": "offset", "variant": "declaration", "kind": 1024, @@ -64914,12 +68712,12 @@ "defaultValue": "0", "inheritedFrom": { "type": "reference", - "target": 4024, + "target": 4080, "name": "FindPaginationParams.offset" } }, { - "id": 2474, + "id": 2527, "name": "limit", "variant": "declaration", "kind": 1024, @@ -64952,7 +68750,7 @@ "defaultValue": "20", "inheritedFrom": { "type": "reference", - "target": 4025, + "target": 4081, "name": "FindPaginationParams.limit" } } @@ -64961,35 +68759,35 @@ { "title": "Constructors", "children": [ - 2464 + 2517 ] }, { "title": "Properties", "children": [ - 2466, - 2467, - 2468, - 2469, - 2470, - 2471, - 2472, - 2473, - 2474 + 2519, + 2520, + 2521, + 2522, + 2523, + 2524, + 2525, + 2526, + 2527 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4021, + "target": 4077, "name": "FindPaginationParams", "package": "@medusajs/medusa" } ] }, { - "id": 2475, + "id": 2528, "name": "defaultStoreProductsRelations", "variant": "declaration", "kind": 32, @@ -65006,7 +68804,7 @@ "defaultValue": "..." }, { - "id": 2476, + "id": 2529, "name": "defaultStoreProductsFields", "variant": "declaration", "kind": 32, @@ -65032,7 +68830,7 @@ "defaultValue": "..." }, { - "id": 2477, + "id": 2530, "name": "allowedStoreProductsFields", "variant": "declaration", "kind": 32, @@ -65049,7 +68847,7 @@ "defaultValue": "..." }, { - "id": 2478, + "id": 2531, "name": "allowedStoreProductsRelations", "variant": "declaration", "kind": 32, @@ -65066,7 +68864,7 @@ "defaultValue": "..." }, { - "id": 2479, + "id": 2532, "name": "defaultStoreProductRemoteQueryObject", "variant": "declaration", "kind": 32, @@ -65084,14 +68882,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2480, + "id": 2533, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2481, + "id": 2534, "name": "fields", "variant": "declaration", "kind": 1024, @@ -65115,7 +68913,7 @@ "defaultValue": "defaultStoreProductsFields" }, { - "id": 2482, + "id": 2535, "name": "images", "variant": "declaration", "kind": 1024, @@ -65123,14 +68921,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2483, + "id": 2536, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2484, + "id": 2537, "name": "fields", "variant": "declaration", "kind": 1024, @@ -65149,7 +68947,7 @@ { "title": "Properties", "children": [ - 2484 + 2537 ] } ] @@ -65158,7 +68956,7 @@ "defaultValue": "..." }, { - "id": 2485, + "id": 2538, "name": "tags", "variant": "declaration", "kind": 1024, @@ -65166,14 +68964,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2486, + "id": 2539, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2487, + "id": 2540, "name": "fields", "variant": "declaration", "kind": 1024, @@ -65192,7 +68990,7 @@ { "title": "Properties", "children": [ - 2487 + 2540 ] } ] @@ -65201,7 +68999,7 @@ "defaultValue": "..." }, { - "id": 2488, + "id": 2541, "name": "type", "variant": "declaration", "kind": 1024, @@ -65209,14 +69007,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2489, + "id": 2542, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2490, + "id": 2543, "name": "fields", "variant": "declaration", "kind": 1024, @@ -65235,7 +69033,7 @@ { "title": "Properties", "children": [ - 2490 + 2543 ] } ] @@ -65244,7 +69042,7 @@ "defaultValue": "..." }, { - "id": 2491, + "id": 2544, "name": "collection", "variant": "declaration", "kind": 1024, @@ -65252,14 +69050,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2492, + "id": 2545, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2493, + "id": 2546, "name": "fields", "variant": "declaration", "kind": 1024, @@ -65278,7 +69076,7 @@ { "title": "Properties", "children": [ - 2493 + 2546 ] } ] @@ -65287,7 +69085,7 @@ "defaultValue": "..." }, { - "id": 2494, + "id": 2547, "name": "options", "variant": "declaration", "kind": 1024, @@ -65295,14 +69093,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2495, + "id": 2548, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2496, + "id": 2549, "name": "fields", "variant": "declaration", "kind": 1024, @@ -65317,7 +69115,7 @@ "defaultValue": "..." }, { - "id": 2497, + "id": 2550, "name": "values", "variant": "declaration", "kind": 1024, @@ -65325,14 +69123,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2498, + "id": 2551, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2499, + "id": 2552, "name": "fields", "variant": "declaration", "kind": 1024, @@ -65351,7 +69149,7 @@ { "title": "Properties", "children": [ - 2499 + 2552 ] } ] @@ -65364,8 +69162,8 @@ { "title": "Properties", "children": [ - 2496, - 2497 + 2549, + 2550 ] } ] @@ -65374,7 +69172,7 @@ "defaultValue": "..." }, { - "id": 2500, + "id": 2553, "name": "variants", "variant": "declaration", "kind": 1024, @@ -65382,14 +69180,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2501, + "id": 2554, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2502, + "id": 2555, "name": "fields", "variant": "declaration", "kind": 1024, @@ -65404,7 +69202,7 @@ "defaultValue": "..." }, { - "id": 2503, + "id": 2556, "name": "options", "variant": "declaration", "kind": 1024, @@ -65412,14 +69210,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2504, + "id": 2557, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2505, + "id": 2558, "name": "fields", "variant": "declaration", "kind": 1024, @@ -65438,7 +69236,7 @@ { "title": "Properties", "children": [ - 2505 + 2558 ] } ] @@ -65451,8 +69249,8 @@ { "title": "Properties", "children": [ - 2502, - 2503 + 2555, + 2556 ] } ] @@ -65461,7 +69259,7 @@ "defaultValue": "..." }, { - "id": 2506, + "id": 2559, "name": "profile", "variant": "declaration", "kind": 1024, @@ -65469,14 +69267,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2507, + "id": 2560, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2508, + "id": 2561, "name": "fields", "variant": "declaration", "kind": 1024, @@ -65495,7 +69293,7 @@ { "title": "Properties", "children": [ - 2508 + 2561 ] } ] @@ -65504,7 +69302,7 @@ "defaultValue": "..." }, { - "id": 2509, + "id": 2562, "name": "sales_channels", "variant": "declaration", "kind": 1024, @@ -65512,14 +69310,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2510, + "id": 2563, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2511, + "id": 2564, "name": "fields", "variant": "declaration", "kind": 1024, @@ -65538,7 +69336,7 @@ { "title": "Properties", "children": [ - 2511 + 2564 ] } ] @@ -65551,15 +69349,15 @@ { "title": "Properties", "children": [ - 2481, - 2482, - 2485, - 2488, - 2491, - 2494, - 2500, - 2506, - 2509 + 2534, + 2535, + 2538, + 2541, + 2544, + 2547, + 2553, + 2559, + 2562 ] } ] @@ -65568,7 +69366,7 @@ "defaultValue": "..." }, { - "id": 2512, + "id": 2565, "name": "StoreProductsRes", "variant": "declaration", "kind": 2097152, @@ -65582,14 +69380,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2513, + "id": 2566, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2514, + "id": 2567, "name": "product", "variant": "declaration", "kind": 1024, @@ -65604,7 +69402,7 @@ }, "type": { "type": "reference", - "target": 4622, + "target": 4729, "name": "PricedProduct", "package": "@medusajs/medusa" } @@ -65614,7 +69412,7 @@ { "title": "Properties", "children": [ - 2514 + 2567 ] } ] @@ -65622,7 +69420,7 @@ } }, { - "id": 2515, + "id": 2568, "name": "StorePostSearchRes", "variant": "declaration", "kind": 2097152, @@ -65644,14 +69442,14 @@ { "type": "reflection", "declaration": { - "id": 2516, + "id": 2569, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2517, + "id": 2570, "name": "hits", "variant": "declaration", "kind": 1024, @@ -65677,7 +69475,7 @@ { "title": "Properties", "children": [ - 2517 + 2570 ] } ] @@ -65706,7 +69504,7 @@ } }, { - "id": 2518, + "id": 2571, "name": "StoreProductsListRes", "variant": "declaration", "kind": 2097152, @@ -65727,21 +69525,21 @@ "types": [ { "type": "reference", - "target": 3953, + "target": 4009, "name": "PaginatedResponse", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 2519, + "id": 2572, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2520, + "id": 2573, "name": "products", "variant": "declaration", "kind": 1024, @@ -65758,7 +69556,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4622, + "target": 4729, "name": "PricedProduct", "package": "@medusajs/medusa" } @@ -65769,7 +69567,7 @@ { "title": "Properties", "children": [ - 2520 + 2573 ] } ] @@ -65779,7 +69577,7 @@ } }, { - "id": 2521, + "id": 2574, "name": "StoreGetProductsPaginationParams", "variant": "declaration", "kind": 128, @@ -65794,39 +69592,39 @@ }, "children": [ { - "id": 2522, + "id": 2575, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2523, + "id": 2576, "name": "new StoreGetProductsPaginationParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2521, + "target": 2574, "name": "StoreGetProductsPaginationParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4846, + "target": 4958, "name": "PriceSelectionParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4845, + "target": 4957, "name": "PriceSelectionParams.constructor" } }, { - "id": 2524, + "id": 2577, "name": "offset", "variant": "declaration", "kind": 1024, @@ -65859,7 +69657,7 @@ "defaultValue": "0" }, { - "id": 2525, + "id": 2578, "name": "limit", "variant": "declaration", "kind": 1024, @@ -65892,7 +69690,7 @@ "defaultValue": "100" }, { - "id": 2526, + "id": 2579, "name": "order", "variant": "declaration", "kind": 1024, @@ -65921,7 +69719,7 @@ } }, { - "id": 2530, + "id": 2583, "name": "expand", "variant": "declaration", "kind": 1024, @@ -65934,6 +69732,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -65942,12 +69746,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4850, + "target": 4962, "name": "PriceSelectionParams.expand" } }, { - "id": 2531, + "id": 2584, "name": "fields", "variant": "declaration", "kind": 1024, @@ -65958,7 +69762,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -65968,12 +69788,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4851, + "target": 4963, "name": "PriceSelectionParams.fields" } }, { - "id": 2527, + "id": 2580, "name": "cart_id", "variant": "declaration", "kind": 1024, @@ -65994,12 +69814,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4847, + "target": 4959, "name": "PriceSelectionParams.cart_id" } }, { - "id": 2528, + "id": 2581, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -66020,12 +69840,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4848, + "target": 4960, "name": "PriceSelectionParams.region_id" } }, { - "id": 2529, + "id": 2582, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -66046,7 +69866,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4849, + "target": 4961, "name": "PriceSelectionParams.currency_code" } } @@ -66055,27 +69875,27 @@ { "title": "Constructors", "children": [ - 2522 + 2575 ] }, { "title": "Properties", "children": [ - 2524, - 2525, - 2526, - 2530, - 2531, - 2527, - 2528, - 2529 + 2577, + 2578, + 2579, + 2583, + 2584, + 2580, + 2581, + 2582 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4844, + "target": 4956, "name": "PriceSelectionParams", "package": "@medusajs/medusa" } @@ -66083,13 +69903,13 @@ "extendedBy": [ { "type": "reference", - "target": 2532, + "target": 2585, "name": "StoreGetProductsParams" } ] }, { - "id": 2532, + "id": 2585, "name": "StoreGetProductsParams", "variant": "declaration", "kind": 128, @@ -66104,39 +69924,39 @@ }, "children": [ { - "id": 2533, + "id": 2586, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2534, + "id": 2587, "name": "new StoreGetProductsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2532, + "target": 2585, "name": "StoreGetProductsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 2523, + "target": 2576, "name": "StoreGetProductsPaginationParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 2522, + "target": 2575, "name": "StoreGetProductsPaginationParams.constructor" } }, { - "id": 2549, + "id": 2602, "name": "offset", "variant": "declaration", "kind": 1024, @@ -66169,12 +69989,12 @@ "defaultValue": "0", "inheritedFrom": { "type": "reference", - "target": 2524, + "target": 2577, "name": "StoreGetProductsPaginationParams.offset" } }, { - "id": 2550, + "id": 2603, "name": "limit", "variant": "declaration", "kind": 1024, @@ -66207,12 +70027,12 @@ "defaultValue": "100", "inheritedFrom": { "type": "reference", - "target": 2525, + "target": 2578, "name": "StoreGetProductsPaginationParams.limit" } }, { - "id": 2551, + "id": 2604, "name": "order", "variant": "declaration", "kind": 1024, @@ -66241,12 +70061,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 2526, + "target": 2579, "name": "StoreGetProductsPaginationParams.order" } }, { - "id": 2535, + "id": 2588, "name": "id", "variant": "declaration", "kind": 1024, @@ -66279,7 +70099,7 @@ } }, { - "id": 2536, + "id": 2589, "name": "q", "variant": "declaration", "kind": 1024, @@ -66300,7 +70120,7 @@ } }, { - "id": 2537, + "id": 2590, "name": "collection_id", "variant": "declaration", "kind": 1024, @@ -66324,7 +70144,7 @@ } }, { - "id": 2538, + "id": 2591, "name": "tags", "variant": "declaration", "kind": 1024, @@ -66348,7 +70168,7 @@ } }, { - "id": 2539, + "id": 2592, "name": "title", "variant": "declaration", "kind": 1024, @@ -66369,7 +70189,7 @@ } }, { - "id": 2540, + "id": 2593, "name": "description", "variant": "declaration", "kind": 1024, @@ -66390,7 +70210,7 @@ } }, { - "id": 2541, + "id": 2594, "name": "handle", "variant": "declaration", "kind": 1024, @@ -66411,7 +70231,7 @@ } }, { - "id": 2542, + "id": 2595, "name": "is_giftcard", "variant": "declaration", "kind": 1024, @@ -66432,7 +70252,7 @@ } }, { - "id": 2543, + "id": 2596, "name": "type_id", "variant": "declaration", "kind": 1024, @@ -66456,7 +70276,7 @@ } }, { - "id": 2544, + "id": 2597, "name": "sales_channel_id", "variant": "declaration", "kind": 1024, @@ -66480,7 +70300,7 @@ } }, { - "id": 2545, + "id": 2598, "name": "category_id", "variant": "declaration", "kind": 1024, @@ -66504,7 +70324,7 @@ } }, { - "id": 2546, + "id": 2599, "name": "include_category_children", "variant": "declaration", "kind": 1024, @@ -66536,7 +70356,7 @@ } }, { - "id": 2547, + "id": 2600, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -66561,13 +70381,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 2548, + "id": 2601, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -66592,13 +70412,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 2555, + "id": 2608, "name": "expand", "variant": "declaration", "kind": 1024, @@ -66611,6 +70431,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -66619,12 +70445,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 2530, + "target": 2583, "name": "StoreGetProductsPaginationParams.expand" } }, { - "id": 2556, + "id": 2609, "name": "fields", "variant": "declaration", "kind": 1024, @@ -66635,7 +70461,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -66645,12 +70487,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 2531, + "target": 2584, "name": "StoreGetProductsPaginationParams.fields" } }, { - "id": 2552, + "id": 2605, "name": "cart_id", "variant": "declaration", "kind": 1024, @@ -66671,12 +70513,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 2527, + "target": 2580, "name": "StoreGetProductsPaginationParams.cart_id" } }, { - "id": 2553, + "id": 2606, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -66697,12 +70539,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 2528, + "target": 2581, "name": "StoreGetProductsPaginationParams.region_id" } }, { - "id": 2554, + "id": 2607, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -66723,7 +70565,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 2529, + "target": 2582, "name": "StoreGetProductsPaginationParams.currency_code" } } @@ -66732,69 +70574,69 @@ { "title": "Constructors", "children": [ - 2533 + 2586 ] }, { "title": "Properties", "children": [ - 2549, - 2550, - 2551, - 2535, - 2536, - 2537, - 2538, - 2539, - 2540, - 2541, - 2542, - 2543, - 2544, - 2545, - 2546, - 2547, - 2548, - 2555, - 2556, - 2552, - 2553, - 2554 + 2602, + 2603, + 2604, + 2588, + 2589, + 2590, + 2591, + 2592, + 2593, + 2594, + 2595, + 2596, + 2597, + 2598, + 2599, + 2600, + 2601, + 2608, + 2609, + 2605, + 2606, + 2607 ] } ], "extendedTypes": [ { "type": "reference", - "target": 2521, + "target": 2574, "name": "StoreGetProductsPaginationParams", "package": "@medusajs/medusa" } ] }, { - "id": 2557, + "id": 2610, "name": "StorePostSearchReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2558, + "id": 2611, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2559, + "id": 2612, "name": "new StorePostSearchReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2557, + "target": 2610, "name": "StorePostSearchReq", "package": "@medusajs/medusa" } @@ -66802,7 +70644,7 @@ ] }, { - "id": 2560, + "id": 2613, "name": "q", "variant": "declaration", "kind": 1024, @@ -66823,7 +70665,7 @@ } }, { - "id": 2561, + "id": 2614, "name": "offset", "variant": "declaration", "kind": 1024, @@ -66844,7 +70686,7 @@ } }, { - "id": 2562, + "id": 2615, "name": "limit", "variant": "declaration", "kind": 1024, @@ -66865,7 +70707,7 @@ } }, { - "id": 2563, + "id": 2616, "name": "filter", "variant": "declaration", "kind": 1024, @@ -66890,22 +70732,22 @@ { "title": "Constructors", "children": [ - 2558 + 2611 ] }, { "title": "Properties", "children": [ - 2560, - 2561, - 2562, - 2563 + 2613, + 2614, + 2615, + 2616 ] } ] }, { - "id": 2572, + "id": 2625, "name": "StoreGetRegionsRegionParams", "variant": "declaration", "kind": 128, @@ -66920,39 +70762,39 @@ }, "children": [ { - "id": 2573, + "id": 2626, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2574, + "id": 2627, "name": "new StoreGetRegionsRegionParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2572, + "target": 2625, "name": "StoreGetRegionsRegionParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 2575, + "id": 2628, "name": "expand", "variant": "declaration", "kind": 1024, @@ -66965,6 +70807,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -66973,12 +70821,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 2576, + "id": 2629, "name": "fields", "variant": "declaration", "kind": 1024, @@ -66989,7 +70837,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -66999,7 +70863,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } } @@ -67008,28 +70872,28 @@ { "title": "Constructors", "children": [ - 2573 + 2626 ] }, { "title": "Properties", "children": [ - 2575, - 2576 + 2628, + 2629 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } ] }, { - "id": 2564, + "id": 2617, "name": "defaultStoreRegionRelations", "variant": "declaration", "kind": 32, @@ -67046,7 +70910,7 @@ "defaultValue": "..." }, { - "id": 2565, + "id": 2618, "name": "defaultStoreRegionFields", "variant": "declaration", "kind": 32, @@ -67063,7 +70927,7 @@ "defaultValue": "..." }, { - "id": 2566, + "id": 2619, "name": "StoreRegionsListRes", "variant": "declaration", "kind": 2097152, @@ -67084,21 +70948,21 @@ "types": [ { "type": "reference", - "target": 4478, + "target": 4585, "name": "PaginatedResponse", "package": "@medusajs/types" }, { "type": "reflection", "declaration": { - "id": 2567, + "id": 2620, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2568, + "id": 2621, "name": "regions", "variant": "declaration", "kind": 1024, @@ -67129,7 +70993,7 @@ { "title": "Properties", "children": [ - 2568 + 2621 ] } ] @@ -67139,7 +71003,7 @@ } }, { - "id": 2569, + "id": 2622, "name": "StoreRegionsRes", "variant": "declaration", "kind": 2097152, @@ -67158,14 +71022,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2570, + "id": 2623, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2571, + "id": 2624, "name": "region", "variant": "declaration", "kind": 1024, @@ -67193,7 +71057,7 @@ { "title": "Properties", "children": [ - 2571 + 2624 ] } ] @@ -67201,14 +71065,14 @@ } }, { - "id": 2577, + "id": 2630, "name": "StoreGetRegionsParams", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2581, + "id": 2634, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -67217,13 +71081,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 2582, + "id": 2635, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -67232,13 +71096,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 2583, + "id": 2636, "name": "expand", "variant": "declaration", "kind": 1024, @@ -67251,6 +71115,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -67264,7 +71134,7 @@ } }, { - "id": 2584, + "id": 2637, "name": "fields", "variant": "declaration", "kind": 1024, @@ -67275,7 +71145,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -67290,7 +71176,7 @@ } }, { - "id": 2585, + "id": 2638, "name": "offset", "variant": "declaration", "kind": 1024, @@ -67328,7 +71214,7 @@ } }, { - "id": 2586, + "id": 2639, "name": "limit", "variant": "declaration", "kind": 1024, @@ -67366,21 +71252,55 @@ } }, { - "id": 2578, + "id": 2640, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "extendedFindParamsMixin({\n limit: 100,\n offset: 0,\n}).order" + } + }, + { + "id": 2631, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2579, + "id": 2632, "name": "new StoreGetRegionsParams", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 2580, + "id": 2633, "name": "args", "variant": "param", "kind": 32768, @@ -67398,7 +71318,7 @@ ], "type": { "type": "reference", - "target": 2577, + "target": 2630, "name": "StoreGetRegionsParams", "package": "@medusajs/medusa" }, @@ -67420,18 +71340,19 @@ { "title": "Constructors", "children": [ - 2578 + 2631 ] }, { "title": "Properties", "children": [ - 2581, - 2582, - 2583, - 2584, - 2585, - 2586 + 2634, + 2635, + 2636, + 2637, + 2638, + 2639, + 2640 ] } ], @@ -67441,7 +71362,7 @@ "types": [ { "type": "reference", - "target": 4016, + "target": 4072, "typeArguments": [ { "type": "intrinsic", @@ -67453,7 +71374,7 @@ }, { "type": "reference", - "target": 4021, + "target": 4077, "typeArguments": [ { "type": "intrinsic", @@ -67468,7 +71389,7 @@ ] }, { - "id": 2587, + "id": 2641, "name": "defaultStoreReturnReasonFields", "variant": "declaration", "kind": 32, @@ -67494,7 +71415,7 @@ "defaultValue": "..." }, { - "id": 2588, + "id": 2642, "name": "defaultStoreReturnReasonRelations", "variant": "declaration", "kind": 32, @@ -67520,7 +71441,7 @@ "defaultValue": "..." }, { - "id": 2589, + "id": 2643, "name": "StoreReturnReasonsListRes", "variant": "declaration", "kind": 2097152, @@ -67539,14 +71460,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2590, + "id": 2644, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2591, + "id": 2645, "name": "return_reasons", "variant": "declaration", "kind": 1024, @@ -67577,7 +71498,7 @@ { "title": "Properties", "children": [ - 2591 + 2645 ] } ] @@ -67585,7 +71506,7 @@ } }, { - "id": 2592, + "id": 2646, "name": "StoreReturnReasonsRes", "variant": "declaration", "kind": 2097152, @@ -67604,14 +71525,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2593, + "id": 2647, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2594, + "id": 2648, "name": "return_reason", "variant": "declaration", "kind": 1024, @@ -67639,7 +71560,7 @@ { "title": "Properties", "children": [ - 2594 + 2648 ] } ] @@ -67647,28 +71568,28 @@ } }, { - "id": 4859, + "id": 4971, "name": "ReturnShipping", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4860, + "id": 4972, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4861, + "id": 4973, "name": "new ReturnShipping", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4859, + "target": 4971, "name": "ReturnShipping", "package": "@medusajs/medusa" } @@ -67676,7 +71597,7 @@ ] }, { - "id": 4862, + "id": 4974, "name": "option_id", "variant": "declaration", "kind": 1024, @@ -67699,40 +71620,40 @@ { "title": "Constructors", "children": [ - 4860 + 4972 ] }, { "title": "Properties", "children": [ - 4862 + 4974 ] } ] }, { - "id": 4852, + "id": 4964, "name": "Item", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4853, + "id": 4965, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4854, + "id": 4966, "name": "new Item", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4852, + "target": 4964, "name": "Item", "package": "@medusajs/medusa" } @@ -67740,7 +71661,7 @@ ] }, { - "id": 4855, + "id": 4967, "name": "item_id", "variant": "declaration", "kind": 1024, @@ -67759,7 +71680,7 @@ } }, { - "id": 4856, + "id": 4968, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -67778,7 +71699,7 @@ } }, { - "id": 4857, + "id": 4969, "name": "reason_id", "variant": "declaration", "kind": 1024, @@ -67799,7 +71720,7 @@ } }, { - "id": 4858, + "id": 4970, "name": "note", "variant": "declaration", "kind": 1024, @@ -67824,22 +71745,22 @@ { "title": "Constructors", "children": [ - 4853 + 4965 ] }, { "title": "Properties", "children": [ - 4855, - 4856, - 4857, - 4858 + 4967, + 4968, + 4969, + 4970 ] } ] }, { - "id": 2598, + "id": 2652, "name": "StorePostReturnsReq", "variant": "declaration", "kind": 128, @@ -67854,14 +71775,14 @@ }, "children": [ { - "id": 2599, + "id": 2653, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2600, + "id": 2654, "name": "new StorePostReturnsReq", "variant": "signature", "kind": 16384, @@ -67876,7 +71797,7 @@ }, "type": { "type": "reference", - "target": 2598, + "target": 2652, "name": "StorePostReturnsReq", "package": "@medusajs/medusa" } @@ -67884,7 +71805,7 @@ ] }, { - "id": 2601, + "id": 2655, "name": "order_id", "variant": "declaration", "kind": 1024, @@ -67903,7 +71824,7 @@ } }, { - "id": 2602, + "id": 2656, "name": "items", "variant": "declaration", "kind": 1024, @@ -67920,14 +71841,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4852, + "target": 4964, "name": "Item", "package": "@medusajs/medusa" } } }, { - "id": 2603, + "id": 2657, "name": "return_shipping", "variant": "declaration", "kind": 1024, @@ -67944,7 +71865,7 @@ }, "type": { "type": "reference", - "target": 4859, + "target": 4971, "name": "ReturnShipping", "package": "@medusajs/medusa" } @@ -67954,21 +71875,21 @@ { "title": "Constructors", "children": [ - 2599 + 2653 ] }, { "title": "Properties", "children": [ - 2601, - 2602, - 2603 + 2655, + 2656, + 2657 ] } ] }, { - "id": 2595, + "id": 2649, "name": "StoreReturnsRes", "variant": "declaration", "kind": 2097152, @@ -67987,14 +71908,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2596, + "id": 2650, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2597, + "id": 2651, "name": "return", "variant": "declaration", "kind": 1024, @@ -68022,7 +71943,7 @@ { "title": "Properties", "children": [ - 2597 + 2651 ] } ] @@ -68030,7 +71951,7 @@ } }, { - "id": 2604, + "id": 2658, "name": "StoreShippingOptionsListRes", "variant": "declaration", "kind": 2097152, @@ -68049,14 +71970,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2605, + "id": 2659, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2606, + "id": 2660, "name": "shipping_options", "variant": "declaration", "kind": 1024, @@ -68073,7 +71994,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4863, + "target": 4975, "name": "PricedShippingOption", "package": "@medusajs/medusa" } @@ -68084,7 +72005,7 @@ { "title": "Properties", "children": [ - 2606 + 2660 ] } ] @@ -68092,7 +72013,7 @@ } }, { - "id": 2607, + "id": 2661, "name": "StoreCartShippingOptionsListRes", "variant": "declaration", "kind": 2097152, @@ -68106,14 +72027,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2608, + "id": 2662, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2609, + "id": 2663, "name": "shipping_options", "variant": "declaration", "kind": 1024, @@ -68130,7 +72051,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4863, + "target": 4975, "name": "PricedShippingOption", "package": "@medusajs/medusa" } @@ -68141,7 +72062,7 @@ { "title": "Properties", "children": [ - 2609 + 2663 ] } ] @@ -68149,7 +72070,7 @@ } }, { - "id": 2610, + "id": 2664, "name": "StoreGetShippingOptionsParams", "variant": "declaration", "kind": 128, @@ -68164,21 +72085,21 @@ }, "children": [ { - "id": 2611, + "id": 2665, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2612, + "id": 2666, "name": "new StoreGetShippingOptionsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2610, + "target": 2664, "name": "StoreGetShippingOptionsParams", "package": "@medusajs/medusa" } @@ -68186,7 +72107,7 @@ ] }, { - "id": 2613, + "id": 2667, "name": "product_ids", "variant": "declaration", "kind": 1024, @@ -68207,7 +72128,7 @@ } }, { - "id": 2614, + "id": 2668, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -68228,7 +72149,7 @@ } }, { - "id": 2615, + "id": 2669, "name": "is_return", "variant": "declaration", "kind": 1024, @@ -68253,42 +72174,42 @@ { "title": "Constructors", "children": [ - 2611 + 2665 ] }, { "title": "Properties", "children": [ - 2613, - 2614, - 2615 + 2667, + 2668, + 2669 ] } ] }, { - "id": 4864, + "id": 4976, "name": "Item", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4865, + "id": 4977, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4866, + "id": 4978, "name": "new Item", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4864, + "target": 4976, "name": "Item", "package": "@medusajs/medusa" } @@ -68296,7 +72217,7 @@ ] }, { - "id": 4867, + "id": 4979, "name": "item_id", "variant": "declaration", "kind": 1024, @@ -68315,7 +72236,7 @@ } }, { - "id": 4868, + "id": 4980, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -68334,7 +72255,7 @@ } }, { - "id": 4869, + "id": 4981, "name": "reason_id", "variant": "declaration", "kind": 1024, @@ -68355,7 +72276,7 @@ } }, { - "id": 4870, + "id": 4982, "name": "note", "variant": "declaration", "kind": 1024, @@ -68380,43 +72301,43 @@ { "title": "Constructors", "children": [ - 4865 + 4977 ] }, { "title": "Properties", "children": [ - 4867, - 4868, - 4869, - 4870 + 4979, + 4980, + 4981, + 4982 ] } ] }, { - "id": 4871, + "id": 4983, "name": "AdditionalItem", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4872, + "id": 4984, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4873, + "id": 4985, "name": "new AdditionalItem", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4871, + "target": 4983, "name": "AdditionalItem", "package": "@medusajs/medusa" } @@ -68424,7 +72345,7 @@ ] }, { - "id": 4874, + "id": 4986, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -68443,7 +72364,7 @@ } }, { - "id": 4875, + "id": 4987, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -68466,20 +72387,20 @@ { "title": "Constructors", "children": [ - 4872 + 4984 ] }, { "title": "Properties", "children": [ - 4874, - 4875 + 4986, + 4987 ] } ] }, { - "id": 2621, + "id": 2675, "name": "StorePostSwapsReq", "variant": "declaration", "kind": 128, @@ -68494,14 +72415,14 @@ }, "children": [ { - "id": 2622, + "id": 2676, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2623, + "id": 2677, "name": "new StorePostSwapsReq", "variant": "signature", "kind": 16384, @@ -68516,7 +72437,7 @@ }, "type": { "type": "reference", - "target": 2621, + "target": 2675, "name": "StorePostSwapsReq", "package": "@medusajs/medusa" } @@ -68524,7 +72445,7 @@ ] }, { - "id": 2624, + "id": 2678, "name": "order_id", "variant": "declaration", "kind": 1024, @@ -68543,7 +72464,7 @@ } }, { - "id": 2625, + "id": 2679, "name": "return_items", "variant": "declaration", "kind": 1024, @@ -68560,14 +72481,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4864, + "target": 4976, "name": "Item", "package": "@medusajs/medusa" } } }, { - "id": 2626, + "id": 2680, "name": "additional_items", "variant": "declaration", "kind": 1024, @@ -68584,14 +72505,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4871, + "target": 4983, "name": "AdditionalItem", "package": "@medusajs/medusa" } } }, { - "id": 2627, + "id": 2681, "name": "return_shipping_option", "variant": "declaration", "kind": 1024, @@ -68616,22 +72537,22 @@ { "title": "Constructors", "children": [ - 2622 + 2676 ] }, { "title": "Properties", "children": [ - 2624, - 2625, - 2626, - 2627 + 2678, + 2679, + 2680, + 2681 ] } ] }, { - "id": 2616, + "id": 2670, "name": "defaultStoreSwapRelations", "variant": "declaration", "kind": 32, @@ -68648,7 +72569,7 @@ "defaultValue": "..." }, { - "id": 2617, + "id": 2671, "name": "defaultStoreSwapFields", "variant": "declaration", "kind": 32, @@ -68663,7 +72584,7 @@ }, "objectType": { "type": "reference", - "target": 3900, + "target": 3954, "typeArguments": [ { "type": "reference", @@ -68682,7 +72603,7 @@ "defaultValue": "..." }, { - "id": 2618, + "id": 2672, "name": "StoreSwapsRes", "variant": "declaration", "kind": 2097152, @@ -68701,14 +72622,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2619, + "id": 2673, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2620, + "id": 2674, "name": "swap", "variant": "declaration", "kind": 1024, @@ -68736,7 +72657,7 @@ { "title": "Properties", "children": [ - 2620 + 2674 ] } ] @@ -68744,7 +72665,7 @@ } }, { - "id": 2636, + "id": 2690, "name": "StoreGetVariantsVariantParams", "variant": "declaration", "kind": 128, @@ -68759,39 +72680,39 @@ }, "children": [ { - "id": 2637, + "id": 2691, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2638, + "id": 2692, "name": "new StoreGetVariantsVariantParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2636, + "target": 2690, "name": "StoreGetVariantsVariantParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4846, + "target": 4958, "name": "PriceSelectionParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4845, + "target": 4957, "name": "PriceSelectionParams.constructor" } }, { - "id": 2639, + "id": 2693, "name": "sales_channel_id", "variant": "declaration", "kind": 1024, @@ -68804,7 +72725,7 @@ } }, { - "id": 2643, + "id": 2697, "name": "expand", "variant": "declaration", "kind": 1024, @@ -68817,6 +72738,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -68825,12 +72752,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4850, + "target": 4962, "name": "PriceSelectionParams.expand" } }, { - "id": 2644, + "id": 2698, "name": "fields", "variant": "declaration", "kind": 1024, @@ -68841,7 +72768,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -68851,12 +72794,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4851, + "target": 4963, "name": "PriceSelectionParams.fields" } }, { - "id": 2640, + "id": 2694, "name": "cart_id", "variant": "declaration", "kind": 1024, @@ -68877,12 +72820,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4847, + "target": 4959, "name": "PriceSelectionParams.cart_id" } }, { - "id": 2641, + "id": 2695, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -68903,12 +72846,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4848, + "target": 4960, "name": "PriceSelectionParams.region_id" } }, { - "id": 2642, + "id": 2696, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -68929,7 +72872,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4849, + "target": 4961, "name": "PriceSelectionParams.currency_code" } } @@ -68938,32 +72881,32 @@ { "title": "Constructors", "children": [ - 2637 + 2691 ] }, { "title": "Properties", "children": [ - 2639, - 2643, - 2644, - 2640, - 2641, - 2642 + 2693, + 2697, + 2698, + 2694, + 2695, + 2696 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4844, + "target": 4956, "name": "PriceSelectionParams", "package": "@medusajs/medusa" } ] }, { - "id": 2628, + "id": 2682, "name": "defaultStoreVariantRelations", "variant": "declaration", "kind": 32, @@ -68980,7 +72923,7 @@ "defaultValue": "..." }, { - "id": 2629, + "id": 2683, "name": "allowedStoreVariantRelations", "variant": "declaration", "kind": 32, @@ -68997,7 +72940,7 @@ "defaultValue": "..." }, { - "id": 2630, + "id": 2684, "name": "StoreVariantsRes", "variant": "declaration", "kind": 2097152, @@ -69016,14 +72959,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2631, + "id": 2685, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2632, + "id": 2686, "name": "variant", "variant": "declaration", "kind": 1024, @@ -69038,7 +72981,7 @@ }, "type": { "type": "reference", - "target": 4826, + "target": 4935, "name": "PricedVariant", "package": "@medusajs/medusa" } @@ -69048,7 +72991,7 @@ { "title": "Properties", "children": [ - 2632 + 2686 ] } ] @@ -69056,7 +72999,7 @@ } }, { - "id": 2633, + "id": 2687, "name": "StoreVariantsListRes", "variant": "declaration", "kind": 2097152, @@ -69075,14 +73018,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2634, + "id": 2688, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2635, + "id": 2689, "name": "variants", "variant": "declaration", "kind": 1024, @@ -69099,7 +73042,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4826, + "target": 4935, "name": "PricedVariant", "package": "@medusajs/medusa" } @@ -69110,7 +73053,7 @@ { "title": "Properties", "children": [ - 2635 + 2689 ] } ] @@ -69118,7 +73061,7 @@ } }, { - "id": 2645, + "id": 2699, "name": "StoreGetVariantsParams", "variant": "declaration", "kind": 128, @@ -69133,39 +73076,39 @@ }, "children": [ { - "id": 2646, + "id": 2700, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2647, + "id": 2701, "name": "new StoreGetVariantsParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 2645, + "target": 2699, "name": "StoreGetVariantsParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4846, + "target": 4958, "name": "PriceSelectionParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4845, + "target": 4957, "name": "PriceSelectionParams.constructor" } }, { - "id": 2648, + "id": 2702, "name": "limit", "variant": "declaration", "kind": 1024, @@ -69198,7 +73141,7 @@ "defaultValue": "100" }, { - "id": 2649, + "id": 2703, "name": "offset", "variant": "declaration", "kind": 1024, @@ -69231,7 +73174,7 @@ "defaultValue": "0" }, { - "id": 2650, + "id": 2704, "name": "ids", "variant": "declaration", "kind": 1024, @@ -69252,7 +73195,7 @@ } }, { - "id": 2651, + "id": 2705, "name": "sales_channel_id", "variant": "declaration", "kind": 1024, @@ -69273,7 +73216,7 @@ } }, { - "id": 2652, + "id": 2706, "name": "id", "variant": "declaration", "kind": 1024, @@ -69306,7 +73249,7 @@ } }, { - "id": 2653, + "id": 2707, "name": "title", "variant": "declaration", "kind": 1024, @@ -69339,7 +73282,7 @@ } }, { - "id": 2654, + "id": 2708, "name": "inventory_quantity", "variant": "declaration", "kind": 1024, @@ -69371,7 +73314,7 @@ }, { "type": "reference", - "target": 3981, + "target": 4037, "name": "NumericalComparisonOperator", "package": "@medusajs/medusa" } @@ -69379,7 +73322,7 @@ } }, { - "id": 2658, + "id": 2712, "name": "expand", "variant": "declaration", "kind": 1024, @@ -69392,6 +73335,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -69400,12 +73349,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4850, + "target": 4962, "name": "PriceSelectionParams.expand" } }, { - "id": 2659, + "id": 2713, "name": "fields", "variant": "declaration", "kind": 1024, @@ -69416,7 +73365,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -69426,12 +73391,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4851, + "target": 4963, "name": "PriceSelectionParams.fields" } }, { - "id": 2655, + "id": 2709, "name": "cart_id", "variant": "declaration", "kind": 1024, @@ -69452,12 +73417,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4847, + "target": 4959, "name": "PriceSelectionParams.cart_id" } }, { - "id": 2656, + "id": 2710, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -69478,12 +73443,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4848, + "target": 4960, "name": "PriceSelectionParams.region_id" } }, { - "id": 2657, + "id": 2711, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -69504,7 +73469,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 4849, + "target": 4961, "name": "PriceSelectionParams.currency_code" } } @@ -69513,52 +73478,52 @@ { "title": "Constructors", "children": [ - 2646 + 2700 ] }, { "title": "Properties", "children": [ - 2648, - 2649, - 2650, - 2651, - 2652, - 2653, - 2654, - 2658, - 2659, - 2655, - 2656, - 2657 + 2702, + 2703, + 2704, + 2705, + 2706, + 2707, + 2708, + 2712, + 2713, + 2709, + 2710, + 2711 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4844, + "target": 4956, "name": "PriceSelectionParams", "package": "@medusajs/medusa" } ] }, { - "id": 2750, + "id": 2804, "name": "IBatchJobStrategy", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { - "id": 2751, + "id": 2805, "name": "prepareBatchJobForProcessing", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2752, + "id": 2806, "name": "prepareBatchJobForProcessing", "variant": "signature", "kind": 4096, @@ -69573,20 +73538,20 @@ }, "parameters": [ { - "id": 2753, + "id": 2807, "name": "batchJobEntity", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 3860, + "target": 3913, "name": "CreateBatchJobInput", "package": "@medusajs/medusa" } }, { - "id": 2754, + "id": 2808, "name": "req", "variant": "param", "kind": 32768, @@ -69612,7 +73577,7 @@ "typeArguments": [ { "type": "reference", - "target": 3860, + "target": 3913, "name": "CreateBatchJobInput", "package": "@medusajs/medusa" } @@ -69624,14 +73589,14 @@ ] }, { - "id": 2755, + "id": 2809, "name": "preProcessBatchJob", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2756, + "id": 2810, "name": "preProcessBatchJob", "variant": "signature", "kind": 4096, @@ -69646,7 +73611,7 @@ }, "parameters": [ { - "id": 2757, + "id": 2811, "name": "batchJobId", "variant": "param", "kind": 32768, @@ -69676,14 +73641,14 @@ ] }, { - "id": 2758, + "id": 2812, "name": "processJob", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2759, + "id": 2813, "name": "processJob", "variant": "signature", "kind": 4096, @@ -69698,7 +73663,7 @@ }, "parameters": [ { - "id": 2760, + "id": 2814, "name": "batchJobId", "variant": "param", "kind": 32768, @@ -69728,14 +73693,14 @@ ] }, { - "id": 2761, + "id": 2815, "name": "buildTemplate", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2762, + "id": 2816, "name": "buildTemplate", "variant": "signature", "kind": 4096, @@ -69767,7 +73732,7 @@ ] }, { - "id": 2763, + "id": 2817, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -69785,12 +73750,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3819, + "target": 3873, "name": "TransactionBaseService.manager_" } }, { - "id": 2764, + "id": 2818, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -69817,12 +73782,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3820, + "target": 3874, "name": "TransactionBaseService.transactionManager_" } }, { - "id": 2765, + "id": 2819, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -69830,7 +73795,7 @@ "isProtected": true }, "getSignature": { - "id": 2766, + "id": 2820, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -69852,12 +73817,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3821, + "target": 3875, "name": "TransactionBaseService.activeManager_" } }, { - "id": 2767, + "id": 2821, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -69871,12 +73836,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3823, + "target": 3877, "name": "TransactionBaseService.__container__" } }, { - "id": 2768, + "id": 2822, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -69906,12 +73871,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3824, + "target": 3878, "name": "TransactionBaseService.__configModule__" } }, { - "id": 2769, + "id": 2823, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -69941,26 +73906,26 @@ }, "inheritedFrom": { "type": "reference", - "target": 3825, + "target": 3879, "name": "TransactionBaseService.__moduleDeclaration__" } }, { - "id": 2770, + "id": 2824, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2771, + "id": 2825, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2772, + "id": 2826, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -69984,19 +73949,19 @@ }, "inheritedFrom": { "type": "reference", - "target": 3827, + "target": 3881, "name": "TransactionBaseService.withTransaction" } } ], "inheritedFrom": { "type": "reference", - "target": 3826, + "target": 3880, "name": "TransactionBaseService.withTransaction" } }, { - "id": 2773, + "id": 2827, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -70005,14 +73970,14 @@ }, "signatures": [ { - "id": 2774, + "id": 2828, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2775, + "id": 2829, "name": "err", "variant": "param", "kind": 32768, @@ -70042,14 +74007,14 @@ { "type": "reflection", "declaration": { - "id": 2776, + "id": 2830, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2777, + "id": 2831, "name": "code", "variant": "declaration", "kind": 1024, @@ -70064,7 +74029,7 @@ { "title": "Properties", "children": [ - 2777 + 2831 ] } ] @@ -70080,19 +74045,19 @@ }, "inheritedFrom": { "type": "reference", - "target": 3830, + "target": 3884, "name": "TransactionBaseService.shouldRetryTransaction_" } } ], "inheritedFrom": { "type": "reference", - "target": 3829, + "target": 3883, "name": "TransactionBaseService.shouldRetryTransaction_" } }, { - "id": 2778, + "id": 2832, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -70101,7 +74066,7 @@ }, "signatures": [ { - "id": 2779, + "id": 2833, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -70127,14 +74092,14 @@ }, "typeParameter": [ { - "id": 2780, + "id": 2834, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 2781, + "id": 2835, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -70143,7 +74108,7 @@ ], "parameters": [ { - "id": 2782, + "id": 2836, "name": "work", "variant": "param", "kind": 32768, @@ -70159,21 +74124,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2783, + "id": 2837, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2784, + "id": 2838, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2785, + "id": 2839, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -70198,7 +74163,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -70213,7 +74178,7 @@ } }, { - "id": 2786, + "id": 2840, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -70243,28 +74208,28 @@ { "type": "reflection", "declaration": { - "id": 2787, + "id": 2841, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2788, + "id": 2842, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2789, + "id": 2843, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -70287,7 +74252,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -70306,7 +74271,7 @@ } }, { - "id": 2790, + "id": 2844, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -70324,28 +74289,28 @@ "type": { "type": "reflection", "declaration": { - "id": 2791, + "id": 2845, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2792, + "id": 2846, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2793, + "id": 2847, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -70368,7 +74333,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -70394,7 +74359,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -70405,14 +74370,14 @@ }, "inheritedFrom": { "type": "reference", - "target": 3835, + "target": 3889, "name": "TransactionBaseService.atomicPhase_" } } ], "inheritedFrom": { "type": "reference", - "target": 3834, + "target": 3888, "name": "TransactionBaseService.atomicPhase_" } } @@ -70421,36 +74386,36 @@ { "title": "Properties", "children": [ - 2763, - 2764, - 2767, - 2768, - 2769 + 2817, + 2818, + 2821, + 2822, + 2823 ] }, { "title": "Accessors", "children": [ - 2765 + 2819 ] }, { "title": "Methods", "children": [ - 2751, - 2755, - 2758, - 2761, - 2770, - 2773, - 2778 + 2805, + 2809, + 2812, + 2815, + 2824, + 2827, + 2832 ] } ], "extendedTypes": [ { "type": "reference", - "target": 3813, + "target": 3867, "name": "TransactionBaseService", "package": "@medusajs/medusa" } @@ -70458,13 +74423,13 @@ "implementedBy": [ { "type": "reference", - "target": 2794, + "target": 2848, "name": "AbstractBatchJobStrategy" } ] }, { - "id": 2794, + "id": 2848, "name": "AbstractBatchJobStrategy", "variant": "declaration", "kind": 128, @@ -70473,7 +74438,7 @@ }, "children": [ { - "id": 2795, + "id": 2849, "name": "_isBatchJobStrategy", "variant": "declaration", "kind": 1024, @@ -70487,7 +74452,7 @@ "defaultValue": "true" }, { - "id": 2796, + "id": 2850, "name": "identifier", "variant": "declaration", "kind": 1024, @@ -70500,7 +74465,7 @@ } }, { - "id": 2797, + "id": 2851, "name": "batchType", "variant": "declaration", "kind": 1024, @@ -70513,7 +74478,7 @@ } }, { - "id": 2806, + "id": 2860, "name": "batchJobService_", "variant": "declaration", "kind": 1024, @@ -70532,7 +74497,7 @@ } }, { - "id": 2798, + "id": 2852, "name": "isBatchJobStrategy", "variant": "declaration", "kind": 2048, @@ -70541,14 +74506,14 @@ }, "signatures": [ { - "id": 2799, + "id": 2853, "name": "isBatchJobStrategy", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2800, + "id": 2854, "name": "object", "variant": "param", "kind": 32768, @@ -70565,7 +74530,7 @@ "asserts": false, "targetType": { "type": "reference", - "target": 2750, + "target": 2804, "name": "IBatchJobStrategy", "package": "@medusajs/medusa" } @@ -70574,14 +74539,14 @@ ] }, { - "id": 2807, + "id": 2861, "name": "prepareBatchJobForProcessing", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2808, + "id": 2862, "name": "prepareBatchJobForProcessing", "variant": "signature", "kind": 4096, @@ -70596,20 +74561,20 @@ }, "parameters": [ { - "id": 2809, + "id": 2863, "name": "batchJob", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 3860, + "target": 3913, "name": "CreateBatchJobInput", "package": "@medusajs/medusa" } }, { - "id": 2810, + "id": 2864, "name": "req", "variant": "param", "kind": 32768, @@ -70635,7 +74600,7 @@ "typeArguments": [ { "type": "reference", - "target": 3860, + "target": 3913, "name": "CreateBatchJobInput", "package": "@medusajs/medusa" } @@ -70645,19 +74610,19 @@ }, "implementationOf": { "type": "reference", - "target": 2752, + "target": 2806, "name": "IBatchJobStrategy.prepareBatchJobForProcessing" } } ], "implementationOf": { "type": "reference", - "target": 2751, + "target": 2805, "name": "IBatchJobStrategy.prepareBatchJobForProcessing" } }, { - "id": 2811, + "id": 2865, "name": "preProcessBatchJob", "variant": "declaration", "kind": 2048, @@ -70666,7 +74631,7 @@ }, "signatures": [ { - "id": 2812, + "id": 2866, "name": "preProcessBatchJob", "variant": "signature", "kind": 4096, @@ -70681,7 +74646,7 @@ }, "parameters": [ { - "id": 2813, + "id": 2867, "name": "batchJobId", "variant": "param", "kind": 32768, @@ -70709,19 +74674,19 @@ }, "implementationOf": { "type": "reference", - "target": 2756, + "target": 2810, "name": "IBatchJobStrategy.preProcessBatchJob" } } ], "implementationOf": { "type": "reference", - "target": 2755, + "target": 2809, "name": "IBatchJobStrategy.preProcessBatchJob" } }, { - "id": 2814, + "id": 2868, "name": "processJob", "variant": "declaration", "kind": 2048, @@ -70731,7 +74696,7 @@ }, "signatures": [ { - "id": 2815, + "id": 2869, "name": "processJob", "variant": "signature", "kind": 4096, @@ -70746,7 +74711,7 @@ }, "parameters": [ { - "id": 2816, + "id": 2870, "name": "batchJobId", "variant": "param", "kind": 32768, @@ -70774,19 +74739,19 @@ }, "implementationOf": { "type": "reference", - "target": 2759, + "target": 2813, "name": "IBatchJobStrategy.processJob" } } ], "implementationOf": { "type": "reference", - "target": 2758, + "target": 2812, "name": "IBatchJobStrategy.processJob" } }, { - "id": 2817, + "id": 2871, "name": "buildTemplate", "variant": "declaration", "kind": 2048, @@ -70796,7 +74761,7 @@ }, "signatures": [ { - "id": 2818, + "id": 2872, "name": "buildTemplate", "variant": "signature", "kind": 4096, @@ -70826,19 +74791,19 @@ }, "implementationOf": { "type": "reference", - "target": 2762, + "target": 2816, "name": "IBatchJobStrategy.buildTemplate" } } ], "implementationOf": { "type": "reference", - "target": 2761, + "target": 2815, "name": "IBatchJobStrategy.buildTemplate" } }, { - "id": 2819, + "id": 2873, "name": "shouldRetryOnProcessingError", "variant": "declaration", "kind": 2048, @@ -70847,14 +74812,14 @@ }, "signatures": [ { - "id": 2820, + "id": 2874, "name": "shouldRetryOnProcessingError", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2821, + "id": 2875, "name": "batchJob", "variant": "param", "kind": 32768, @@ -70878,7 +74843,7 @@ } }, { - "id": 2822, + "id": 2876, "name": "err", "variant": "param", "kind": 32768, @@ -70908,7 +74873,7 @@ ] }, { - "id": 2823, + "id": 2877, "name": "handleProcessingError", "variant": "declaration", "kind": 2048, @@ -70917,14 +74882,14 @@ }, "signatures": [ { - "id": 2824, + "id": 2878, "name": "handleProcessingError", "variant": "signature", "kind": 4096, "flags": {}, "typeParameter": [ { - "id": 2825, + "id": 2879, "name": "T", "variant": "typeParam", "kind": 131072, @@ -70933,7 +74898,7 @@ ], "parameters": [ { - "id": 2826, + "id": 2880, "name": "batchJobId", "variant": "param", "kind": 32768, @@ -70944,7 +74909,7 @@ } }, { - "id": 2827, + "id": 2881, "name": "err", "variant": "param", "kind": 32768, @@ -70955,14 +74920,14 @@ } }, { - "id": 2828, + "id": 2882, "name": "result", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2825, + "target": 2879, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -70988,7 +74953,7 @@ ] }, { - "id": 2829, + "id": 2883, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -71006,17 +74971,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3819, + "target": 3873, "name": "TransactionBaseService.manager_" }, "implementationOf": { "type": "reference", - "target": 2763, + "target": 2817, "name": "IBatchJobStrategy.manager_" } }, { - "id": 2830, + "id": 2884, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -71043,17 +75008,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3820, + "target": 3874, "name": "TransactionBaseService.transactionManager_" }, "implementationOf": { "type": "reference", - "target": 2764, + "target": 2818, "name": "IBatchJobStrategy.transactionManager_" } }, { - "id": 2831, + "id": 2885, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -71061,7 +75026,7 @@ "isProtected": true }, "getSignature": { - "id": 2832, + "id": 2886, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -71088,17 +75053,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3821, + "target": 3875, "name": "TransactionBaseService.activeManager_" }, "implementationOf": { "type": "reference", - "target": 2765, + "target": 2819, "name": "IBatchJobStrategy.activeManager_" } }, { - "id": 2801, + "id": 2855, "name": "constructor", "variant": "declaration", "kind": 512, @@ -71107,14 +75072,14 @@ }, "signatures": [ { - "id": 2802, + "id": 2856, "name": "new AbstractBatchJobStrategy", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 2803, + "id": 2857, "name": "__container__", "variant": "param", "kind": 32768, @@ -71125,7 +75090,7 @@ } }, { - "id": 2804, + "id": 2858, "name": "__configModule__", "variant": "param", "kind": 32768, @@ -71153,7 +75118,7 @@ } }, { - "id": 2805, + "id": 2859, "name": "__moduleDeclaration__", "variant": "param", "kind": 32768, @@ -71183,25 +75148,25 @@ ], "type": { "type": "reference", - "target": 2794, + "target": 2848, "name": "AbstractBatchJobStrategy", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 3815, + "target": 3869, "name": "TransactionBaseService.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 3814, + "target": 3868, "name": "TransactionBaseService.constructor" } }, { - "id": 2833, + "id": 2887, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -71215,17 +75180,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3823, + "target": 3877, "name": "TransactionBaseService.__container__" }, "implementationOf": { "type": "reference", - "target": 2767, + "target": 2821, "name": "IBatchJobStrategy.__container__" } }, { - "id": 2834, + "id": 2888, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -71255,17 +75220,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3824, + "target": 3878, "name": "TransactionBaseService.__configModule__" }, "implementationOf": { "type": "reference", - "target": 2768, + "target": 2822, "name": "IBatchJobStrategy.__configModule__" } }, { - "id": 2835, + "id": 2889, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -71295,31 +75260,31 @@ }, "inheritedFrom": { "type": "reference", - "target": 3825, + "target": 3879, "name": "TransactionBaseService.__moduleDeclaration__" }, "implementationOf": { "type": "reference", - "target": 2769, + "target": 2823, "name": "IBatchJobStrategy.__moduleDeclaration__" } }, { - "id": 2836, + "id": 2890, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2837, + "id": 2891, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2838, + "id": 2892, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -71343,29 +75308,29 @@ }, "inheritedFrom": { "type": "reference", - "target": 3827, + "target": 3881, "name": "TransactionBaseService.withTransaction" }, "implementationOf": { "type": "reference", - "target": 2771, + "target": 2825, "name": "IBatchJobStrategy.withTransaction" } } ], "inheritedFrom": { "type": "reference", - "target": 3826, + "target": 3880, "name": "TransactionBaseService.withTransaction" }, "implementationOf": { "type": "reference", - "target": 2770, + "target": 2824, "name": "IBatchJobStrategy.withTransaction" } }, { - "id": 2839, + "id": 2893, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -71374,14 +75339,14 @@ }, "signatures": [ { - "id": 2840, + "id": 2894, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2841, + "id": 2895, "name": "err", "variant": "param", "kind": 32768, @@ -71411,14 +75376,14 @@ { "type": "reflection", "declaration": { - "id": 2842, + "id": 2896, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2843, + "id": 2897, "name": "code", "variant": "declaration", "kind": 1024, @@ -71433,7 +75398,7 @@ { "title": "Properties", "children": [ - 2843 + 2897 ] } ] @@ -71449,29 +75414,29 @@ }, "inheritedFrom": { "type": "reference", - "target": 3830, + "target": 3884, "name": "TransactionBaseService.shouldRetryTransaction_" }, "implementationOf": { "type": "reference", - "target": 2774, + "target": 2828, "name": "IBatchJobStrategy.shouldRetryTransaction_" } } ], "inheritedFrom": { "type": "reference", - "target": 3829, + "target": 3883, "name": "TransactionBaseService.shouldRetryTransaction_" }, "implementationOf": { "type": "reference", - "target": 2773, + "target": 2827, "name": "IBatchJobStrategy.shouldRetryTransaction_" } }, { - "id": 2844, + "id": 2898, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -71480,7 +75445,7 @@ }, "signatures": [ { - "id": 2845, + "id": 2899, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -71506,14 +75471,14 @@ }, "typeParameter": [ { - "id": 2846, + "id": 2900, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 2847, + "id": 2901, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -71522,7 +75487,7 @@ ], "parameters": [ { - "id": 2848, + "id": 2902, "name": "work", "variant": "param", "kind": 32768, @@ -71538,21 +75503,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2849, + "id": 2903, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2850, + "id": 2904, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2851, + "id": 2905, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -71577,7 +75542,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -71592,7 +75557,7 @@ } }, { - "id": 2852, + "id": 2906, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -71622,28 +75587,28 @@ { "type": "reflection", "declaration": { - "id": 2853, + "id": 2907, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2854, + "id": 2908, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2855, + "id": 2909, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -71666,7 +75631,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -71685,7 +75650,7 @@ } }, { - "id": 2856, + "id": 2910, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -71703,28 +75668,28 @@ "type": { "type": "reflection", "declaration": { - "id": 2857, + "id": 2911, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2858, + "id": 2912, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2859, + "id": 2913, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -71747,7 +75712,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -71773,7 +75738,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -71784,24 +75749,24 @@ }, "inheritedFrom": { "type": "reference", - "target": 3835, + "target": 3889, "name": "TransactionBaseService.atomicPhase_" }, "implementationOf": { "type": "reference", - "target": 2779, + "target": 2833, "name": "IBatchJobStrategy.atomicPhase_" } } ], "inheritedFrom": { "type": "reference", - "target": 3834, + "target": 3888, "name": "TransactionBaseService.atomicPhase_" }, "implementationOf": { "type": "reference", - "target": 2778, + "target": 2832, "name": "IBatchJobStrategy.atomicPhase_" } } @@ -71810,49 +75775,49 @@ { "title": "Constructors", "children": [ - 2801 + 2855 ] }, { "title": "Properties", "children": [ - 2795, - 2796, - 2797, - 2806, - 2829, - 2830, - 2833, - 2834, - 2835 + 2849, + 2850, + 2851, + 2860, + 2883, + 2884, + 2887, + 2888, + 2889 ] }, { "title": "Accessors", "children": [ - 2831 + 2885 ] }, { "title": "Methods", "children": [ - 2798, - 2807, - 2811, - 2814, - 2817, - 2819, - 2823, - 2836, - 2839, - 2844 + 2852, + 2861, + 2865, + 2868, + 2871, + 2873, + 2877, + 2890, + 2893, + 2898 ] } ], "extendedTypes": [ { "type": "reference", - "target": 3813, + "target": 3867, "name": "TransactionBaseService", "package": "@medusajs/medusa" } @@ -71860,14 +75825,14 @@ "implementedTypes": [ { "type": "reference", - "target": 2750, + "target": 2804, "name": "IBatchJobStrategy", "package": "@medusajs/medusa" } ] }, { - "id": 2860, + "id": 2914, "name": "CartCompletionResponse", "variant": "declaration", "kind": 2097152, @@ -71875,14 +75840,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2861, + "id": 2915, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2862, + "id": 2916, "name": "response_code", "variant": "declaration", "kind": 1024, @@ -71901,7 +75866,7 @@ } }, { - "id": 2863, + "id": 2917, "name": "response_body", "variant": "declaration", "kind": 1024, @@ -71939,8 +75904,8 @@ { "title": "Properties", "children": [ - 2862, - 2863 + 2916, + 2917 ] } ] @@ -71948,21 +75913,21 @@ } }, { - "id": 2864, + "id": 2918, "name": "ICartCompletionStrategy", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { - "id": 2865, + "id": 2919, "name": "complete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2866, + "id": 2920, "name": "complete", "variant": "signature", "kind": 4096, @@ -71988,7 +75953,7 @@ }, "parameters": [ { - "id": 2867, + "id": 2921, "name": "cartId", "variant": "param", "kind": 32768, @@ -72007,7 +75972,7 @@ } }, { - "id": 2868, + "id": 2922, "name": "idempotencyKey", "variant": "param", "kind": 32768, @@ -72031,7 +75996,7 @@ } }, { - "id": 2869, + "id": 2923, "name": "context", "variant": "param", "kind": 32768, @@ -72046,7 +76011,7 @@ }, "type": { "type": "reference", - "target": 4908, + "target": 5020, "name": "RequestContext", "package": "@medusajs/medusa" } @@ -72061,7 +76026,7 @@ "typeArguments": [ { "type": "reference", - "target": 2860, + "target": 2914, "name": "CartCompletionResponse", "package": "@medusajs/medusa" } @@ -72077,20 +76042,20 @@ { "title": "Methods", "children": [ - 2865 + 2919 ] } ], "implementedBy": [ { "type": "reference", - "target": 2870, + "target": 2924, "name": "AbstractCartCompletionStrategy" } ] }, { - "id": 2870, + "id": 2924, "name": "AbstractCartCompletionStrategy", "variant": "declaration", "kind": 128, @@ -72099,7 +76064,7 @@ }, "children": [ { - "id": 2871, + "id": 2925, "name": "_isCartCompletionStrategy", "variant": "declaration", "kind": 1024, @@ -72113,7 +76078,7 @@ "defaultValue": "true" }, { - "id": 2872, + "id": 2926, "name": "isCartCompletionStrategy", "variant": "declaration", "kind": 2048, @@ -72122,14 +76087,14 @@ }, "signatures": [ { - "id": 2873, + "id": 2927, "name": "isCartCompletionStrategy", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2874, + "id": 2928, "name": "object", "variant": "param", "kind": 32768, @@ -72146,7 +76111,7 @@ "asserts": false, "targetType": { "type": "reference", - "target": 2864, + "target": 2918, "name": "ICartCompletionStrategy", "package": "@medusajs/medusa" } @@ -72155,7 +76120,7 @@ ] }, { - "id": 2880, + "id": 2934, "name": "complete", "variant": "declaration", "kind": 2048, @@ -72164,7 +76129,7 @@ }, "signatures": [ { - "id": 2881, + "id": 2935, "name": "complete", "variant": "signature", "kind": 4096, @@ -72190,7 +76155,7 @@ }, "parameters": [ { - "id": 2882, + "id": 2936, "name": "cartId", "variant": "param", "kind": 32768, @@ -72209,7 +76174,7 @@ } }, { - "id": 2883, + "id": 2937, "name": "idempotencyKey", "variant": "param", "kind": 32768, @@ -72233,7 +76198,7 @@ } }, { - "id": 2884, + "id": 2938, "name": "context", "variant": "param", "kind": 32768, @@ -72248,7 +76213,7 @@ }, "type": { "type": "reference", - "target": 4908, + "target": 5020, "name": "RequestContext", "package": "@medusajs/medusa" } @@ -72263,7 +76228,7 @@ "typeArguments": [ { "type": "reference", - "target": 2860, + "target": 2914, "name": "CartCompletionResponse", "package": "@medusajs/medusa" } @@ -72273,19 +76238,19 @@ }, "implementationOf": { "type": "reference", - "target": 2866, + "target": 2920, "name": "ICartCompletionStrategy.complete" } } ], "implementationOf": { "type": "reference", - "target": 2865, + "target": 2919, "name": "ICartCompletionStrategy.complete" } }, { - "id": 2885, + "id": 2939, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -72303,12 +76268,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3819, + "target": 3873, "name": "TransactionBaseService.manager_" } }, { - "id": 2886, + "id": 2940, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -72335,12 +76300,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3820, + "target": 3874, "name": "TransactionBaseService.transactionManager_" } }, { - "id": 2887, + "id": 2941, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -72348,7 +76313,7 @@ "isProtected": true }, "getSignature": { - "id": 2888, + "id": 2942, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -72370,12 +76335,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3821, + "target": 3875, "name": "TransactionBaseService.activeManager_" } }, { - "id": 2875, + "id": 2929, "name": "constructor", "variant": "declaration", "kind": 512, @@ -72384,14 +76349,14 @@ }, "signatures": [ { - "id": 2876, + "id": 2930, "name": "new AbstractCartCompletionStrategy", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 2877, + "id": 2931, "name": "__container__", "variant": "param", "kind": 32768, @@ -72402,7 +76367,7 @@ } }, { - "id": 2878, + "id": 2932, "name": "__configModule__", "variant": "param", "kind": 32768, @@ -72430,7 +76395,7 @@ } }, { - "id": 2879, + "id": 2933, "name": "__moduleDeclaration__", "variant": "param", "kind": 32768, @@ -72460,25 +76425,25 @@ ], "type": { "type": "reference", - "target": 2870, + "target": 2924, "name": "AbstractCartCompletionStrategy", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 3815, + "target": 3869, "name": "TransactionBaseService.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 3814, + "target": 3868, "name": "TransactionBaseService.constructor" } }, { - "id": 2889, + "id": 2943, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -72492,12 +76457,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3823, + "target": 3877, "name": "TransactionBaseService.__container__" } }, { - "id": 2890, + "id": 2944, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -72527,12 +76492,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3824, + "target": 3878, "name": "TransactionBaseService.__configModule__" } }, { - "id": 2891, + "id": 2945, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -72562,26 +76527,26 @@ }, "inheritedFrom": { "type": "reference", - "target": 3825, + "target": 3879, "name": "TransactionBaseService.__moduleDeclaration__" } }, { - "id": 2892, + "id": 2946, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2893, + "id": 2947, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2894, + "id": 2948, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -72605,19 +76570,19 @@ }, "inheritedFrom": { "type": "reference", - "target": 3827, + "target": 3881, "name": "TransactionBaseService.withTransaction" } } ], "inheritedFrom": { "type": "reference", - "target": 3826, + "target": 3880, "name": "TransactionBaseService.withTransaction" } }, { - "id": 2895, + "id": 2949, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -72626,14 +76591,14 @@ }, "signatures": [ { - "id": 2896, + "id": 2950, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2897, + "id": 2951, "name": "err", "variant": "param", "kind": 32768, @@ -72663,14 +76628,14 @@ { "type": "reflection", "declaration": { - "id": 2898, + "id": 2952, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2899, + "id": 2953, "name": "code", "variant": "declaration", "kind": 1024, @@ -72685,7 +76650,7 @@ { "title": "Properties", "children": [ - 2899 + 2953 ] } ] @@ -72701,19 +76666,19 @@ }, "inheritedFrom": { "type": "reference", - "target": 3830, + "target": 3884, "name": "TransactionBaseService.shouldRetryTransaction_" } } ], "inheritedFrom": { "type": "reference", - "target": 3829, + "target": 3883, "name": "TransactionBaseService.shouldRetryTransaction_" } }, { - "id": 2900, + "id": 2954, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -72722,7 +76687,7 @@ }, "signatures": [ { - "id": 2901, + "id": 2955, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -72748,14 +76713,14 @@ }, "typeParameter": [ { - "id": 2902, + "id": 2956, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 2903, + "id": 2957, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -72764,7 +76729,7 @@ ], "parameters": [ { - "id": 2904, + "id": 2958, "name": "work", "variant": "param", "kind": 32768, @@ -72780,21 +76745,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2905, + "id": 2959, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2906, + "id": 2960, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2907, + "id": 2961, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -72819,7 +76784,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -72834,7 +76799,7 @@ } }, { - "id": 2908, + "id": 2962, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -72864,28 +76829,28 @@ { "type": "reflection", "declaration": { - "id": 2909, + "id": 2963, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2910, + "id": 2964, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2911, + "id": 2965, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -72908,7 +76873,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -72927,7 +76892,7 @@ } }, { - "id": 2912, + "id": 2966, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -72945,28 +76910,28 @@ "type": { "type": "reflection", "declaration": { - "id": 2913, + "id": 2967, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2914, + "id": 2968, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2915, + "id": 2969, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -72989,7 +76954,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -73015,7 +76980,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -73026,14 +76991,14 @@ }, "inheritedFrom": { "type": "reference", - "target": 3835, + "target": 3889, "name": "TransactionBaseService.atomicPhase_" } } ], "inheritedFrom": { "type": "reference", - "target": 3834, + "target": 3888, "name": "TransactionBaseService.atomicPhase_" } } @@ -73042,41 +77007,41 @@ { "title": "Constructors", "children": [ - 2875 + 2929 ] }, { "title": "Properties", "children": [ - 2871, - 2885, - 2886, - 2889, - 2890, - 2891 + 2925, + 2939, + 2940, + 2943, + 2944, + 2945 ] }, { "title": "Accessors", "children": [ - 2887 + 2941 ] }, { "title": "Methods", "children": [ - 2872, - 2880, - 2892, - 2895, - 2900 + 2926, + 2934, + 2946, + 2949, + 2954 ] } ], "extendedTypes": [ { "type": "reference", - "target": 3813, + "target": 3867, "name": "TransactionBaseService", "package": "@medusajs/medusa" } @@ -73084,14 +77049,14 @@ "implementedTypes": [ { "type": "reference", - "target": 2864, + "target": 2918, "name": "ICartCompletionStrategy", "package": "@medusajs/medusa" } ] }, { - "id": 2916, + "id": 2970, "name": "IFileService", "variant": "declaration", "kind": 256, @@ -73170,14 +77135,14 @@ }, "children": [ { - "id": 2917, + "id": 2971, "name": "upload", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2918, + "id": 2972, "name": "upload", "variant": "signature", "kind": 4096, @@ -73216,7 +77181,7 @@ }, "parameters": [ { - "id": 2919, + "id": 2973, "name": "file", "variant": "param", "kind": 32768, @@ -73258,7 +77223,7 @@ "typeArguments": [ { "type": "reference", - "target": 4819, + "target": 4928, "name": "FileServiceUploadResult", "package": "@medusajs/types" } @@ -73270,14 +77235,14 @@ ] }, { - "id": 2920, + "id": 2974, "name": "uploadProtected", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2921, + "id": 2975, "name": "uploadProtected", "variant": "signature", "kind": 4096, @@ -73316,7 +77281,7 @@ }, "parameters": [ { - "id": 2922, + "id": 2976, "name": "file", "variant": "param", "kind": 32768, @@ -73358,7 +77323,7 @@ "typeArguments": [ { "type": "reference", - "target": 4819, + "target": 4928, "name": "FileServiceUploadResult", "package": "@medusajs/types" } @@ -73370,14 +77335,14 @@ ] }, { - "id": 2923, + "id": 2977, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2924, + "id": 2978, "name": "delete", "variant": "signature", "kind": 4096, @@ -73412,7 +77377,7 @@ }, "parameters": [ { - "id": 2925, + "id": 2979, "name": "fileData", "variant": "param", "kind": 32768, @@ -73427,7 +77392,7 @@ }, "type": { "type": "reference", - "target": 4911, + "target": 5023, "name": "DeleteFileType", "package": "@medusajs/types" } @@ -73452,14 +77417,14 @@ ] }, { - "id": 2926, + "id": 2980, "name": "getUploadStreamDescriptor", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2927, + "id": 2981, "name": "getUploadStreamDescriptor", "variant": "signature", "kind": 4096, @@ -73494,7 +77459,7 @@ }, "parameters": [ { - "id": 2928, + "id": 2982, "name": "fileData", "variant": "param", "kind": 32768, @@ -73509,7 +77474,7 @@ }, "type": { "type": "reference", - "target": 4913, + "target": 5025, "name": "UploadStreamDescriptorType", "package": "@medusajs/types" } @@ -73524,7 +77489,7 @@ "typeArguments": [ { "type": "reference", - "target": 4917, + "target": 5029, "name": "FileServiceGetUploadStreamResult", "package": "@medusajs/types" } @@ -73536,14 +77501,14 @@ ] }, { - "id": 2929, + "id": 2983, "name": "getDownloadStream", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2930, + "id": 2984, "name": "getDownloadStream", "variant": "signature", "kind": 4096, @@ -73578,7 +77543,7 @@ }, "parameters": [ { - "id": 2931, + "id": 2985, "name": "fileData", "variant": "param", "kind": 32768, @@ -73593,7 +77558,7 @@ }, "type": { "type": "reference", - "target": 4922, + "target": 5034, "name": "GetUploadedFileType", "package": "@medusajs/types" } @@ -73624,14 +77589,14 @@ ] }, { - "id": 2932, + "id": 2986, "name": "getPresignedDownloadUrl", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2933, + "id": 2987, "name": "getPresignedDownloadUrl", "variant": "signature", "kind": 4096, @@ -73666,7 +77631,7 @@ }, "parameters": [ { - "id": 2934, + "id": 2988, "name": "fileData", "variant": "param", "kind": 32768, @@ -73681,7 +77646,7 @@ }, "type": { "type": "reference", - "target": 4922, + "target": 5034, "name": "GetUploadedFileType", "package": "@medusajs/types" } @@ -73706,7 +77671,7 @@ ] }, { - "id": 2935, + "id": 2989, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -73724,12 +77689,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3819, + "target": 3873, "name": "TransactionBaseService.manager_" } }, { - "id": 2936, + "id": 2990, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -73756,12 +77721,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3820, + "target": 3874, "name": "TransactionBaseService.transactionManager_" } }, { - "id": 2937, + "id": 2991, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -73769,7 +77734,7 @@ "isProtected": true }, "getSignature": { - "id": 2938, + "id": 2992, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -73791,12 +77756,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3821, + "target": 3875, "name": "TransactionBaseService.activeManager_" } }, { - "id": 2939, + "id": 2993, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -73810,12 +77775,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3823, + "target": 3877, "name": "TransactionBaseService.__container__" } }, { - "id": 2940, + "id": 2994, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -73845,12 +77810,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3824, + "target": 3878, "name": "TransactionBaseService.__configModule__" } }, { - "id": 2941, + "id": 2995, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -73880,26 +77845,26 @@ }, "inheritedFrom": { "type": "reference", - "target": 3825, + "target": 3879, "name": "TransactionBaseService.__moduleDeclaration__" } }, { - "id": 2942, + "id": 2996, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2943, + "id": 2997, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2944, + "id": 2998, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -73923,19 +77888,19 @@ }, "inheritedFrom": { "type": "reference", - "target": 3827, + "target": 3881, "name": "TransactionBaseService.withTransaction" } } ], "inheritedFrom": { "type": "reference", - "target": 3826, + "target": 3880, "name": "TransactionBaseService.withTransaction" } }, { - "id": 2945, + "id": 2999, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -73944,14 +77909,14 @@ }, "signatures": [ { - "id": 2946, + "id": 3000, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2947, + "id": 3001, "name": "err", "variant": "param", "kind": 32768, @@ -73981,14 +77946,14 @@ { "type": "reflection", "declaration": { - "id": 2948, + "id": 3002, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2949, + "id": 3003, "name": "code", "variant": "declaration", "kind": 1024, @@ -74003,7 +77968,7 @@ { "title": "Properties", "children": [ - 2949 + 3003 ] } ] @@ -74019,19 +77984,19 @@ }, "inheritedFrom": { "type": "reference", - "target": 3830, + "target": 3884, "name": "TransactionBaseService.shouldRetryTransaction_" } } ], "inheritedFrom": { "type": "reference", - "target": 3829, + "target": 3883, "name": "TransactionBaseService.shouldRetryTransaction_" } }, { - "id": 2950, + "id": 3004, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -74040,7 +78005,7 @@ }, "signatures": [ { - "id": 2951, + "id": 3005, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -74066,14 +78031,14 @@ }, "typeParameter": [ { - "id": 2952, + "id": 3006, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 2953, + "id": 3007, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -74082,7 +78047,7 @@ ], "parameters": [ { - "id": 2954, + "id": 3008, "name": "work", "variant": "param", "kind": 32768, @@ -74098,21 +78063,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2955, + "id": 3009, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2956, + "id": 3010, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2957, + "id": 3011, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -74137,7 +78102,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -74152,7 +78117,7 @@ } }, { - "id": 2958, + "id": 3012, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -74182,28 +78147,28 @@ { "type": "reflection", "declaration": { - "id": 2959, + "id": 3013, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2960, + "id": 3014, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2961, + "id": 3015, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -74226,7 +78191,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -74245,7 +78210,7 @@ } }, { - "id": 2962, + "id": 3016, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -74263,28 +78228,28 @@ "type": { "type": "reflection", "declaration": { - "id": 2963, + "id": 3017, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2964, + "id": 3018, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2965, + "id": 3019, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -74307,7 +78272,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -74333,7 +78298,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -74344,14 +78309,14 @@ }, "inheritedFrom": { "type": "reference", - "target": 3835, + "target": 3889, "name": "TransactionBaseService.atomicPhase_" } } ], "inheritedFrom": { "type": "reference", - "target": 3834, + "target": 3888, "name": "TransactionBaseService.atomicPhase_" } } @@ -74360,38 +78325,38 @@ { "title": "Properties", "children": [ - 2935, - 2936, - 2939, - 2940, - 2941 + 2989, + 2990, + 2993, + 2994, + 2995 ] }, { "title": "Accessors", "children": [ - 2937 + 2991 ] }, { "title": "Methods", "children": [ - 2917, - 2920, - 2923, - 2926, - 2929, - 2932, - 2942, - 2945, - 2950 + 2971, + 2974, + 2977, + 2980, + 2983, + 2986, + 2996, + 2999, + 3004 ] } ], "extendedTypes": [ { "type": "reference", - "target": 3813, + "target": 3867, "name": "TransactionBaseService", "package": "@medusajs/medusa" } @@ -74399,13 +78364,13 @@ "implementedBy": [ { "type": "reference", - "target": 2966, + "target": 3020, "name": "AbstractFileService" } ] }, { - "id": 2966, + "id": 3020, "name": "AbstractFileService", "variant": "declaration", "kind": 128, @@ -74414,7 +78379,7 @@ }, "children": [ { - "id": 2971, + "id": 3025, "name": "constructor", "variant": "declaration", "kind": 512, @@ -74423,7 +78388,7 @@ }, "signatures": [ { - "id": 2972, + "id": 3026, "name": "new AbstractFileService", "variant": "signature", "kind": 16384, @@ -74457,7 +78422,7 @@ }, "parameters": [ { - "id": 2973, + "id": 3027, "name": "container", "variant": "param", "kind": 32768, @@ -74499,7 +78464,7 @@ } }, { - "id": 2974, + "id": 3028, "name": "config", "variant": "param", "kind": 32768, @@ -74537,25 +78502,25 @@ ], "type": { "type": "reference", - "target": 2966, + "target": 3020, "name": "AbstractFileService", "package": "@medusajs/medusa" }, "overwrites": { "type": "reference", - "target": 3815, + "target": 3869, "name": "TransactionBaseService.constructor" } } ], "overwrites": { "type": "reference", - "target": 3814, + "target": 3868, "name": "TransactionBaseService.constructor" } }, { - "id": 2975, + "id": 3029, "name": "container", "variant": "declaration", "kind": 1024, @@ -74600,7 +78565,7 @@ } }, { - "id": 2976, + "id": 3030, "name": "config", "variant": "declaration", "kind": 1024, @@ -74638,7 +78603,7 @@ } }, { - "id": 2977, + "id": 3031, "name": "upload", "variant": "declaration", "kind": 2048, @@ -74647,7 +78612,7 @@ }, "signatures": [ { - "id": 2978, + "id": 3032, "name": "upload", "variant": "signature", "kind": 4096, @@ -74686,7 +78651,7 @@ }, "parameters": [ { - "id": 2979, + "id": 3033, "name": "fileData", "variant": "param", "kind": 32768, @@ -74728,7 +78693,7 @@ "typeArguments": [ { "type": "reference", - "target": 4819, + "target": 4928, "name": "FileServiceUploadResult", "package": "@medusajs/types" } @@ -74738,19 +78703,19 @@ }, "implementationOf": { "type": "reference", - "target": 2918, + "target": 2972, "name": "IFileService.upload" } } ], "implementationOf": { "type": "reference", - "target": 2917, + "target": 2971, "name": "IFileService.upload" } }, { - "id": 2980, + "id": 3034, "name": "uploadProtected", "variant": "declaration", "kind": 2048, @@ -74759,7 +78724,7 @@ }, "signatures": [ { - "id": 2981, + "id": 3035, "name": "uploadProtected", "variant": "signature", "kind": 4096, @@ -74798,7 +78763,7 @@ }, "parameters": [ { - "id": 2982, + "id": 3036, "name": "fileData", "variant": "param", "kind": 32768, @@ -74840,7 +78805,7 @@ "typeArguments": [ { "type": "reference", - "target": 4819, + "target": 4928, "name": "FileServiceUploadResult", "package": "@medusajs/types" } @@ -74850,19 +78815,19 @@ }, "implementationOf": { "type": "reference", - "target": 2921, + "target": 2975, "name": "IFileService.uploadProtected" } } ], "implementationOf": { "type": "reference", - "target": 2920, + "target": 2974, "name": "IFileService.uploadProtected" } }, { - "id": 2983, + "id": 3037, "name": "delete", "variant": "declaration", "kind": 2048, @@ -74871,7 +78836,7 @@ }, "signatures": [ { - "id": 2984, + "id": 3038, "name": "delete", "variant": "signature", "kind": 4096, @@ -74906,7 +78871,7 @@ }, "parameters": [ { - "id": 2985, + "id": 3039, "name": "fileData", "variant": "param", "kind": 32768, @@ -74921,7 +78886,7 @@ }, "type": { "type": "reference", - "target": 4911, + "target": 5023, "name": "DeleteFileType", "package": "@medusajs/types" } @@ -74944,19 +78909,19 @@ }, "implementationOf": { "type": "reference", - "target": 2924, + "target": 2978, "name": "IFileService.delete" } } ], "implementationOf": { "type": "reference", - "target": 2923, + "target": 2977, "name": "IFileService.delete" } }, { - "id": 2986, + "id": 3040, "name": "getUploadStreamDescriptor", "variant": "declaration", "kind": 2048, @@ -74965,7 +78930,7 @@ }, "signatures": [ { - "id": 2987, + "id": 3041, "name": "getUploadStreamDescriptor", "variant": "signature", "kind": 4096, @@ -75000,7 +78965,7 @@ }, "parameters": [ { - "id": 2988, + "id": 3042, "name": "fileData", "variant": "param", "kind": 32768, @@ -75015,7 +78980,7 @@ }, "type": { "type": "reference", - "target": 4913, + "target": 5025, "name": "UploadStreamDescriptorType", "package": "@medusajs/types" } @@ -75030,7 +78995,7 @@ "typeArguments": [ { "type": "reference", - "target": 4917, + "target": 5029, "name": "FileServiceGetUploadStreamResult", "package": "@medusajs/types" } @@ -75040,19 +79005,19 @@ }, "implementationOf": { "type": "reference", - "target": 2927, + "target": 2981, "name": "IFileService.getUploadStreamDescriptor" } } ], "implementationOf": { "type": "reference", - "target": 2926, + "target": 2980, "name": "IFileService.getUploadStreamDescriptor" } }, { - "id": 2989, + "id": 3043, "name": "getDownloadStream", "variant": "declaration", "kind": 2048, @@ -75061,7 +79026,7 @@ }, "signatures": [ { - "id": 2990, + "id": 3044, "name": "getDownloadStream", "variant": "signature", "kind": 4096, @@ -75096,7 +79061,7 @@ }, "parameters": [ { - "id": 2991, + "id": 3045, "name": "fileData", "variant": "param", "kind": 32768, @@ -75111,7 +79076,7 @@ }, "type": { "type": "reference", - "target": 4922, + "target": 5034, "name": "GetUploadedFileType", "package": "@medusajs/types" } @@ -75140,19 +79105,19 @@ }, "implementationOf": { "type": "reference", - "target": 2930, + "target": 2984, "name": "IFileService.getDownloadStream" } } ], "implementationOf": { "type": "reference", - "target": 2929, + "target": 2983, "name": "IFileService.getDownloadStream" } }, { - "id": 2992, + "id": 3046, "name": "getPresignedDownloadUrl", "variant": "declaration", "kind": 2048, @@ -75161,7 +79126,7 @@ }, "signatures": [ { - "id": 2993, + "id": 3047, "name": "getPresignedDownloadUrl", "variant": "signature", "kind": 4096, @@ -75196,7 +79161,7 @@ }, "parameters": [ { - "id": 2994, + "id": 3048, "name": "fileData", "variant": "param", "kind": 32768, @@ -75211,7 +79176,7 @@ }, "type": { "type": "reference", - "target": 4922, + "target": 5034, "name": "GetUploadedFileType", "package": "@medusajs/types" } @@ -75234,19 +79199,19 @@ }, "implementationOf": { "type": "reference", - "target": 2933, + "target": 2987, "name": "IFileService.getPresignedDownloadUrl" } } ], "implementationOf": { "type": "reference", - "target": 2932, + "target": 2986, "name": "IFileService.getPresignedDownloadUrl" } }, { - "id": 2995, + "id": 3049, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -75264,17 +79229,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3819, + "target": 3873, "name": "TransactionBaseService.manager_" }, "implementationOf": { "type": "reference", - "target": 2935, + "target": 2989, "name": "IFileService.manager_" } }, { - "id": 2996, + "id": 3050, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -75301,17 +79266,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3820, + "target": 3874, "name": "TransactionBaseService.transactionManager_" }, "implementationOf": { "type": "reference", - "target": 2936, + "target": 2990, "name": "IFileService.transactionManager_" } }, { - "id": 2997, + "id": 3051, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -75319,7 +79284,7 @@ "isProtected": true }, "getSignature": { - "id": 2998, + "id": 3052, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -75346,17 +79311,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3821, + "target": 3875, "name": "TransactionBaseService.activeManager_" }, "implementationOf": { "type": "reference", - "target": 2937, + "target": 2991, "name": "IFileService.activeManager_" } }, { - "id": 2999, + "id": 3053, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -75370,17 +79335,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3823, + "target": 3877, "name": "TransactionBaseService.__container__" }, "implementationOf": { "type": "reference", - "target": 2939, + "target": 2993, "name": "IFileService.__container__" } }, { - "id": 3000, + "id": 3054, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -75410,17 +79375,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3824, + "target": 3878, "name": "TransactionBaseService.__configModule__" }, "implementationOf": { "type": "reference", - "target": 2940, + "target": 2994, "name": "IFileService.__configModule__" } }, { - "id": 3001, + "id": 3055, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -75450,31 +79415,31 @@ }, "inheritedFrom": { "type": "reference", - "target": 3825, + "target": 3879, "name": "TransactionBaseService.__moduleDeclaration__" }, "implementationOf": { "type": "reference", - "target": 2941, + "target": 2995, "name": "IFileService.__moduleDeclaration__" } }, { - "id": 3002, + "id": 3056, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3003, + "id": 3057, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3004, + "id": 3058, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -75498,29 +79463,29 @@ }, "inheritedFrom": { "type": "reference", - "target": 3827, + "target": 3881, "name": "TransactionBaseService.withTransaction" }, "implementationOf": { "type": "reference", - "target": 2943, + "target": 2997, "name": "IFileService.withTransaction" } } ], "inheritedFrom": { "type": "reference", - "target": 3826, + "target": 3880, "name": "TransactionBaseService.withTransaction" }, "implementationOf": { "type": "reference", - "target": 2942, + "target": 2996, "name": "IFileService.withTransaction" } }, { - "id": 3005, + "id": 3059, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -75529,14 +79494,14 @@ }, "signatures": [ { - "id": 3006, + "id": 3060, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3007, + "id": 3061, "name": "err", "variant": "param", "kind": 32768, @@ -75566,14 +79531,14 @@ { "type": "reflection", "declaration": { - "id": 3008, + "id": 3062, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3009, + "id": 3063, "name": "code", "variant": "declaration", "kind": 1024, @@ -75588,7 +79553,7 @@ { "title": "Properties", "children": [ - 3009 + 3063 ] } ] @@ -75604,29 +79569,29 @@ }, "inheritedFrom": { "type": "reference", - "target": 3830, + "target": 3884, "name": "TransactionBaseService.shouldRetryTransaction_" }, "implementationOf": { "type": "reference", - "target": 2946, + "target": 3000, "name": "IFileService.shouldRetryTransaction_" } } ], "inheritedFrom": { "type": "reference", - "target": 3829, + "target": 3883, "name": "TransactionBaseService.shouldRetryTransaction_" }, "implementationOf": { "type": "reference", - "target": 2945, + "target": 2999, "name": "IFileService.shouldRetryTransaction_" } }, { - "id": 3010, + "id": 3064, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -75635,7 +79600,7 @@ }, "signatures": [ { - "id": 3011, + "id": 3065, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -75661,14 +79626,14 @@ }, "typeParameter": [ { - "id": 3012, + "id": 3066, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 3013, + "id": 3067, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -75677,7 +79642,7 @@ ], "parameters": [ { - "id": 3014, + "id": 3068, "name": "work", "variant": "param", "kind": 32768, @@ -75693,21 +79658,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3015, + "id": 3069, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3016, + "id": 3070, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3017, + "id": 3071, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -75732,7 +79697,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -75747,7 +79712,7 @@ } }, { - "id": 3018, + "id": 3072, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -75777,28 +79742,28 @@ { "type": "reflection", "declaration": { - "id": 3019, + "id": 3073, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3020, + "id": 3074, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3021, + "id": 3075, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -75821,7 +79786,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -75840,7 +79805,7 @@ } }, { - "id": 3022, + "id": 3076, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -75858,28 +79823,28 @@ "type": { "type": "reflection", "declaration": { - "id": 3023, + "id": 3077, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3024, + "id": 3078, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3025, + "id": 3079, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -75902,7 +79867,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -75928,7 +79893,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -75939,24 +79904,24 @@ }, "inheritedFrom": { "type": "reference", - "target": 3835, + "target": 3889, "name": "TransactionBaseService.atomicPhase_" }, "implementationOf": { "type": "reference", - "target": 2951, + "target": 3005, "name": "IFileService.atomicPhase_" } } ], "inheritedFrom": { "type": "reference", - "target": 3834, + "target": 3888, "name": "TransactionBaseService.atomicPhase_" }, "implementationOf": { "type": "reference", - "target": 2950, + "target": 3004, "name": "IFileService.atomicPhase_" } } @@ -75965,46 +79930,46 @@ { "title": "Constructors", "children": [ - 2971 + 3025 ] }, { "title": "Properties", "children": [ - 2975, - 2976, - 2995, - 2996, - 2999, - 3000, - 3001 + 3029, + 3030, + 3049, + 3050, + 3053, + 3054, + 3055 ] }, { "title": "Accessors", "children": [ - 2997 + 3051 ] }, { "title": "Methods", "children": [ - 2977, - 2980, - 2983, - 2986, - 2989, - 2992, - 3002, - 3005, - 3010 + 3031, + 3034, + 3037, + 3040, + 3043, + 3046, + 3056, + 3059, + 3064 ] } ], "extendedTypes": [ { "type": "reference", - "target": 3813, + "target": 3867, "name": "TransactionBaseService", "package": "@medusajs/medusa" } @@ -76012,14 +79977,14 @@ "implementedTypes": [ { "type": "reference", - "target": 2916, + "target": 2970, "name": "IFileService", "package": "@medusajs/medusa" } ] }, { - "id": 4926, + "id": 5038, "name": "FulfillmentProviderData", "variant": "declaration", "kind": 2097152, @@ -76045,7 +80010,7 @@ } }, { - "id": 4925, + "id": 5037, "name": "ShippingOptionData", "variant": "declaration", "kind": 2097152, @@ -76071,7 +80036,7 @@ } }, { - "id": 4927, + "id": 5039, "name": "ShippingMethodData", "variant": "declaration", "kind": 2097152, @@ -76097,7 +80062,7 @@ } }, { - "id": 3026, + "id": 3080, "name": "FulfillmentService", "variant": "declaration", "kind": 256, @@ -76158,7 +80123,7 @@ }, { "kind": "code", - "text": "```ts title=src/services/my-fulfillment.ts\nimport { AbstractFulfillmentService } from \"@medusajs/medusa\"\n\nclass MyFulfillmentService extends AbstractFulfillmentService {\n // methods here...\n}\n\nexport default MyFulfillmentService\n```" + "text": "```ts title=\"src/services/my-fulfillment.ts\"\nimport { AbstractFulfillmentService } from \"@medusajs/medusa\"\n\nclass MyFulfillmentService extends AbstractFulfillmentService {\n // methods here...\n}\n\nexport default MyFulfillmentService\n```" }, { "kind": "text", @@ -76194,7 +80159,7 @@ }, { "kind": "text", - "text": " property in the fulfillment provider service is used when the fulfillment provider is added to the database.\n\nThe value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/api/admin#regions_postregionsregionfulfillmentproviders) to a region.\n\n" + "text": " property in the fulfillment provider service is used when the fulfillment provider is added to the database.\n\nThe value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionfulfillmentproviders) to a region.\n\n" }, { "kind": "code", @@ -76208,14 +80173,14 @@ }, "children": [ { - "id": 3029, + "id": 3083, "name": "getFulfillmentOptions", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3030, + "id": 3084, "name": "getFulfillmentOptions", "variant": "signature", "kind": 4096, @@ -76224,7 +80189,7 @@ "summary": [ { "kind": "text", - "text": "This method is used when retrieving the list of fulfillment options available in a region, particularly by the [List Fulfillment Options API Route](https://docs.medusajs.com/api/admin#regions_getregionsregionfulfillmentoptions).\nFor example, if you’re integrating UPS as a fulfillment provider, you might support two fulfillment options: UPS Express Shipping and UPS Access Point. Each of these options can have different data associated with them." + "text": "This method is used when retrieving the list of fulfillment options available in a region, particularly by the [List Fulfillment Options API Route](https://docs.medusajs.com/v1/api/admin#regions_getregionsregionfulfillmentoptions).\nFor example, if you’re integrating UPS as a fulfillment provider, you might support two fulfillment options: UPS Express Shipping and UPS Access Point. Each of these options can have different data associated with them." } ], "blockTags": [ @@ -76233,7 +80198,7 @@ "content": [ { "kind": "text", - "text": "The list of fulfillment options. These options don't have any required format. Later on, these options can be used when creating a shipping option,\nsuch as when using the [Create Shipping Option API Route](https://docs.medusajs.com/api/admin#shipping-options_postshippingoptions). The chosen fulfillment option, which is one of the\nitems in the array returned by this method, will be set in the " + "text": "The list of fulfillment options. These options don't have any required format. Later on, these options can be used when creating a shipping option,\nsuch as when using the [Create Shipping Option API Route](https://docs.medusajs.com/v1/api/admin#shipping-options_postshippingoptions). The chosen fulfillment option, which is one of the\nitems in the array returned by this method, will be set in the " }, { "kind": "code", @@ -76278,14 +80243,14 @@ ] }, { - "id": 3031, + "id": 3085, "name": "validateFulfillmentData", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3032, + "id": 3086, "name": "validateFulfillmentData", "variant": "signature", "kind": 4096, @@ -76325,7 +80290,7 @@ "kind": "inline-tag", "tag": "@link", "text": "calculatePrice", - "target": 3042, + "target": 3096, "tsLinkText": "" }, { @@ -76347,7 +80312,7 @@ }, "parameters": [ { - "id": 3033, + "id": 3087, "name": "optionData", "variant": "param", "kind": 32768, @@ -76362,13 +80327,13 @@ }, "type": { "type": "reference", - "target": 4925, + "target": 5037, "name": "ShippingOptionData", "package": "@medusajs/medusa" } }, { - "id": 3034, + "id": 3088, "name": "data", "variant": "param", "kind": 32768, @@ -76391,13 +80356,13 @@ }, "type": { "type": "reference", - "target": 4926, + "target": 5038, "name": "FulfillmentProviderData", "package": "@medusajs/medusa" } }, { - "id": 3035, + "id": 3089, "name": "cart", "variant": "param", "kind": 32768, @@ -76455,14 +80420,14 @@ ] }, { - "id": 3036, + "id": 3090, "name": "validateOption", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3037, + "id": 3091, "name": "validateOption", "variant": "signature", "kind": 4096, @@ -76471,7 +80436,7 @@ "summary": [ { "kind": "text", - "text": "Once the admin creates the shipping option, the data of the shipping option will be validated first using this method. This method is called when the [Create Shipping Option API Route](https://docs.medusajs.com/api/admin#shipping-options_postshippingoptions) is used." + "text": "Once the admin creates the shipping option, the data of the shipping option will be validated first using this method. This method is called when the [Create Shipping Option API Route](https://docs.medusajs.com/v1/api/admin#shipping-options_postshippingoptions) is used." } ], "blockTags": [ @@ -76517,7 +80482,7 @@ }, "parameters": [ { - "id": 3038, + "id": 3092, "name": "data", "variant": "param", "kind": 32768, @@ -76532,7 +80497,7 @@ }, "type": { "type": "reference", - "target": 4925, + "target": 5037, "name": "ShippingOptionData", "package": "@medusajs/medusa" } @@ -76557,14 +80522,14 @@ ] }, { - "id": 3039, + "id": 3093, "name": "canCalculate", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3040, + "id": 3094, "name": "canCalculate", "variant": "signature", "kind": 4096, @@ -76612,7 +80577,7 @@ "kind": "inline-tag", "tag": "@link", "text": "calculatePrice", - "target": 3042, + "target": 3096, "tsLinkText": "" }, { @@ -76650,7 +80615,7 @@ }, "parameters": [ { - "id": 3041, + "id": 3095, "name": "data", "variant": "param", "kind": 32768, @@ -76673,7 +80638,7 @@ }, "type": { "type": "reference", - "target": 4925, + "target": 5037, "name": "ShippingOptionData", "package": "@medusajs/medusa" } @@ -76698,14 +80663,14 @@ ] }, { - "id": 3042, + "id": 3096, "name": "calculatePrice", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3043, + "id": 3097, "name": "calculatePrice", "variant": "signature", "kind": 4096, @@ -76784,7 +80749,7 @@ }, "parameters": [ { - "id": 3044, + "id": 3098, "name": "optionData", "variant": "param", "kind": 32768, @@ -76807,13 +80772,13 @@ }, "type": { "type": "reference", - "target": 4925, + "target": 5037, "name": "ShippingOptionData", "package": "@medusajs/medusa" } }, { - "id": 3045, + "id": 3099, "name": "data", "variant": "param", "kind": 32768, @@ -76844,7 +80809,7 @@ "kind": "inline-tag", "tag": "@link", "text": "validateFulfillmentData", - "target": 3031, + "target": 3085, "tsLinkText": "" }, { @@ -76855,13 +80820,13 @@ }, "type": { "type": "reference", - "target": 4926, + "target": 5038, "name": "FulfillmentProviderData", "package": "@medusajs/medusa" } }, { - "id": 3046, + "id": 3100, "name": "cart", "variant": "param", "kind": 32768, @@ -76904,14 +80869,14 @@ ] }, { - "id": 3047, + "id": 3101, "name": "createFulfillment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3048, + "id": 3102, "name": "createFulfillment", "variant": "signature", "kind": 4096, @@ -76966,7 +80931,7 @@ }, "parameters": [ { - "id": 3049, + "id": 3103, "name": "data", "variant": "param", "kind": 32768, @@ -76989,13 +80954,13 @@ }, "type": { "type": "reference", - "target": 4927, + "target": 5039, "name": "ShippingMethodData", "package": "@medusajs/medusa" } }, { - "id": 3050, + "id": 3104, "name": "items", "variant": "param", "kind": 32768, @@ -77022,7 +80987,7 @@ } }, { - "id": 3051, + "id": 3105, "name": "order", "variant": "param", "kind": 32768, @@ -77078,7 +81043,7 @@ } }, { - "id": 3052, + "id": 3106, "name": "fulfillment", "variant": "param", "kind": 32768, @@ -77111,7 +81076,7 @@ "typeArguments": [ { "type": "reference", - "target": 4926, + "target": 5038, "name": "FulfillmentProviderData", "package": "@medusajs/medusa" } @@ -77123,14 +81088,14 @@ ] }, { - "id": 3053, + "id": 3107, "name": "cancelFulfillment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3054, + "id": 3108, "name": "cancelFulfillment", "variant": "signature", "kind": 4096, @@ -77169,7 +81134,7 @@ }, "parameters": [ { - "id": 3055, + "id": 3109, "name": "fulfillmentData", "variant": "param", "kind": 32768, @@ -77192,7 +81157,7 @@ }, "type": { "type": "reference", - "target": 4926, + "target": 5038, "name": "FulfillmentProviderData", "package": "@medusajs/medusa" } @@ -77217,14 +81182,14 @@ ] }, { - "id": 3056, + "id": 3110, "name": "createReturn", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3057, + "id": 3111, "name": "createReturn", "variant": "signature", "kind": 4096, @@ -77241,7 +81206,7 @@ }, { "kind": "text", - "text": " property is true or if an admin creates a Return Shipping Option from the settings.\nThis method is used when the admin [creates a return request](https://docs.medusajs.com/api/admin#orders_postordersorderreturns) for an order,\n[creates a swap](https://docs.medusajs.com/api/admin#orders_postordersorderswaps) for an order, or when the\n[customer creates a return of their order](https://docs.medusajs.com/api/store#returns_postreturns). The fulfillment is created automatically for the order return." + "text": " property is true or if an admin creates a Return Shipping Option from the settings.\nThis method is used when the admin [creates a return request](https://docs.medusajs.com/v1/api/admin#orders_postordersorderreturns) for an order,\n[creates a swap](https://docs.medusajs.com/v1/api/admin#orders_postordersorderswaps) for an order, or when the\n[customer creates a return of their order](https://docs.medusajs.com/v1/api/store#returns_postreturns). The fulfillment is created automatically for the order return." } ], "blockTags": [ @@ -77279,7 +81244,7 @@ }, "parameters": [ { - "id": 3058, + "id": 3112, "name": "returnOrder", "variant": "param", "kind": 32768, @@ -77294,7 +81259,7 @@ }, "type": { "type": "reference", - "target": 4928, + "target": 5040, "name": "CreateReturnType", "package": "@medusajs/medusa" } @@ -77334,14 +81299,14 @@ ] }, { - "id": 3059, + "id": 3113, "name": "getFulfillmentDocuments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3060, + "id": 3114, "name": "getFulfillmentDocuments", "variant": "signature", "kind": 4096, @@ -77376,7 +81341,7 @@ }, "parameters": [ { - "id": 3061, + "id": 3115, "name": "data", "variant": "param", "kind": 32768, @@ -77399,7 +81364,7 @@ }, "type": { "type": "reference", - "target": 4926, + "target": 5038, "name": "FulfillmentProviderData", "package": "@medusajs/medusa" } @@ -77424,14 +81389,14 @@ ] }, { - "id": 3062, + "id": 3116, "name": "getReturnDocuments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3063, + "id": 3117, "name": "getReturnDocuments", "variant": "signature", "kind": 4096, @@ -77466,7 +81431,7 @@ }, "parameters": [ { - "id": 3064, + "id": 3118, "name": "data", "variant": "param", "kind": 32768, @@ -77519,14 +81484,14 @@ ] }, { - "id": 3065, + "id": 3119, "name": "getShipmentDocuments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3066, + "id": 3120, "name": "getShipmentDocuments", "variant": "signature", "kind": 4096, @@ -77561,7 +81526,7 @@ }, "parameters": [ { - "id": 3067, + "id": 3121, "name": "data", "variant": "param", "kind": 32768, @@ -77622,14 +81587,14 @@ ] }, { - "id": 3068, + "id": 3122, "name": "retrieveDocuments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3069, + "id": 3123, "name": "retrieveDocuments", "variant": "signature", "kind": 4096, @@ -77664,7 +81629,7 @@ }, "parameters": [ { - "id": 3070, + "id": 3124, "name": "fulfillmentData", "variant": "param", "kind": 32768, @@ -77687,13 +81652,13 @@ }, "type": { "type": "reference", - "target": 4926, + "target": 5038, "name": "FulfillmentProviderData", "package": "@medusajs/medusa" } }, { - "id": 3071, + "id": 3125, "name": "documentType", "variant": "param", "kind": 32768, @@ -77740,7 +81705,7 @@ ] }, { - "id": 3072, + "id": 3126, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -77758,12 +81723,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3819, + "target": 3873, "name": "TransactionBaseService.manager_" } }, { - "id": 3073, + "id": 3127, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -77790,12 +81755,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3820, + "target": 3874, "name": "TransactionBaseService.transactionManager_" } }, { - "id": 3074, + "id": 3128, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -77803,7 +81768,7 @@ "isProtected": true }, "getSignature": { - "id": 3075, + "id": 3129, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -77825,12 +81790,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3821, + "target": 3875, "name": "TransactionBaseService.activeManager_" } }, { - "id": 3076, + "id": 3130, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -77844,12 +81809,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3823, + "target": 3877, "name": "TransactionBaseService.__container__" } }, { - "id": 3077, + "id": 3131, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -77879,12 +81844,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3824, + "target": 3878, "name": "TransactionBaseService.__configModule__" } }, { - "id": 3078, + "id": 3132, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -77914,26 +81879,26 @@ }, "inheritedFrom": { "type": "reference", - "target": 3825, + "target": 3879, "name": "TransactionBaseService.__moduleDeclaration__" } }, { - "id": 3079, + "id": 3133, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3080, + "id": 3134, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3081, + "id": 3135, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -77957,19 +81922,19 @@ }, "inheritedFrom": { "type": "reference", - "target": 3827, + "target": 3881, "name": "TransactionBaseService.withTransaction" } } ], "inheritedFrom": { "type": "reference", - "target": 3826, + "target": 3880, "name": "TransactionBaseService.withTransaction" } }, { - "id": 3082, + "id": 3136, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -77978,14 +81943,14 @@ }, "signatures": [ { - "id": 3083, + "id": 3137, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3084, + "id": 3138, "name": "err", "variant": "param", "kind": 32768, @@ -78015,14 +81980,14 @@ { "type": "reflection", "declaration": { - "id": 3085, + "id": 3139, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3086, + "id": 3140, "name": "code", "variant": "declaration", "kind": 1024, @@ -78037,7 +82002,7 @@ { "title": "Properties", "children": [ - 3086 + 3140 ] } ] @@ -78053,19 +82018,19 @@ }, "inheritedFrom": { "type": "reference", - "target": 3830, + "target": 3884, "name": "TransactionBaseService.shouldRetryTransaction_" } } ], "inheritedFrom": { "type": "reference", - "target": 3829, + "target": 3883, "name": "TransactionBaseService.shouldRetryTransaction_" } }, { - "id": 3087, + "id": 3141, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -78074,7 +82039,7 @@ }, "signatures": [ { - "id": 3088, + "id": 3142, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -78100,14 +82065,14 @@ }, "typeParameter": [ { - "id": 3089, + "id": 3143, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 3090, + "id": 3144, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -78116,7 +82081,7 @@ ], "parameters": [ { - "id": 3091, + "id": 3145, "name": "work", "variant": "param", "kind": 32768, @@ -78132,21 +82097,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3092, + "id": 3146, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3093, + "id": 3147, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3094, + "id": 3148, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -78171,7 +82136,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -78186,7 +82151,7 @@ } }, { - "id": 3095, + "id": 3149, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -78216,28 +82181,28 @@ { "type": "reflection", "declaration": { - "id": 3096, + "id": 3150, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3097, + "id": 3151, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3098, + "id": 3152, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -78260,7 +82225,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -78279,7 +82244,7 @@ } }, { - "id": 3099, + "id": 3153, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -78297,28 +82262,28 @@ "type": { "type": "reflection", "declaration": { - "id": 3100, + "id": 3154, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3101, + "id": 3155, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3102, + "id": 3156, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -78341,7 +82306,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -78367,7 +82332,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -78378,14 +82343,14 @@ }, "inheritedFrom": { "type": "reference", - "target": 3835, + "target": 3889, "name": "TransactionBaseService.atomicPhase_" } } ], "inheritedFrom": { "type": "reference", - "target": 3834, + "target": 3888, "name": "TransactionBaseService.atomicPhase_" } } @@ -78394,44 +82359,44 @@ { "title": "Properties", "children": [ - 3072, - 3073, - 3076, - 3077, - 3078 + 3126, + 3127, + 3130, + 3131, + 3132 ] }, { "title": "Accessors", "children": [ - 3074 + 3128 ] }, { "title": "Methods", "children": [ - 3029, - 3031, - 3036, - 3039, - 3042, - 3047, - 3053, - 3056, - 3059, - 3062, - 3065, - 3068, - 3079, - 3082, - 3087 + 3083, + 3085, + 3090, + 3093, + 3096, + 3101, + 3107, + 3110, + 3113, + 3116, + 3119, + 3122, + 3133, + 3136, + 3141 ] } ], "extendedTypes": [ { "type": "reference", - "target": 3813, + "target": 3867, "name": "TransactionBaseService", "package": "@medusajs/medusa" } @@ -78439,13 +82404,13 @@ "implementedBy": [ { "type": "reference", - "target": 3103, + "target": 3157, "name": "AbstractFulfillmentService" } ] }, { - "id": 3103, + "id": 3157, "name": "AbstractFulfillmentService", "variant": "declaration", "kind": 128, @@ -78454,7 +82419,7 @@ }, "children": [ { - "id": 3109, + "id": 3163, "name": "constructor", "variant": "declaration", "kind": 512, @@ -78463,7 +82428,7 @@ }, "signatures": [ { - "id": 3110, + "id": 3164, "name": "new AbstractFulfillmentService", "variant": "signature", "kind": 16384, @@ -78497,7 +82462,7 @@ }, "parameters": [ { - "id": 3111, + "id": 3165, "name": "container", "variant": "param", "kind": 32768, @@ -78539,7 +82504,7 @@ } }, { - "id": 3112, + "id": 3166, "name": "config", "variant": "param", "kind": 32768, @@ -78577,25 +82542,25 @@ ], "type": { "type": "reference", - "target": 3103, + "target": 3157, "name": "AbstractFulfillmentService", "package": "@medusajs/medusa" }, "overwrites": { "type": "reference", - "target": 3815, + "target": 3869, "name": "TransactionBaseService.constructor" } } ], "overwrites": { "type": "reference", - "target": 3814, + "target": 3868, "name": "TransactionBaseService.constructor" } }, { - "id": 3113, + "id": 3167, "name": "container", "variant": "declaration", "kind": 1024, @@ -78640,7 +82605,7 @@ } }, { - "id": 3114, + "id": 3168, "name": "config", "variant": "declaration", "kind": 1024, @@ -78678,7 +82643,7 @@ } }, { - "id": 3108, + "id": 3162, "name": "identifier", "variant": "declaration", "kind": 1024, @@ -78722,7 +82687,7 @@ }, { "kind": "text", - "text": " property in the class is used when the fulfillment provider is created in the database.\nThe value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/api/admin#regions_postregionsregionfulfillmentproviders) to a region." + "text": " property in the class is used when the fulfillment provider is created in the database.\nThe value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionfulfillmentproviders) to a region." } ], "blockTags": [ @@ -78743,7 +82708,7 @@ } }, { - "id": 3117, + "id": 3171, "name": "getFulfillmentOptions", "variant": "declaration", "kind": 2048, @@ -78752,7 +82717,7 @@ }, "signatures": [ { - "id": 3118, + "id": 3172, "name": "getFulfillmentOptions", "variant": "signature", "kind": 4096, @@ -78761,7 +82726,7 @@ "summary": [ { "kind": "text", - "text": "This method is used when retrieving the list of fulfillment options available in a region, particularly by the [List Fulfillment Options API Route](https://docs.medusajs.com/api/admin#regions_getregionsregionfulfillmentoptions).\nFor example, if you’re integrating UPS as a fulfillment provider, you might support two fulfillment options: UPS Express Shipping and UPS Access Point. Each of these options can have different data associated with them." + "text": "This method is used when retrieving the list of fulfillment options available in a region, particularly by the [List Fulfillment Options API Route](https://docs.medusajs.com/v1/api/admin#regions_getregionsregionfulfillmentoptions).\nFor example, if you’re integrating UPS as a fulfillment provider, you might support two fulfillment options: UPS Express Shipping and UPS Access Point. Each of these options can have different data associated with them." } ], "blockTags": [ @@ -78770,7 +82735,7 @@ "content": [ { "kind": "text", - "text": "The list of fulfillment options. These options don't have any required format. Later on, these options can be used when creating a shipping option,\nsuch as when using the [Create Shipping Option API Route](https://docs.medusajs.com/api/admin#shipping-options_postshippingoptions). The chosen fulfillment option, which is one of the\nitems in the array returned by this method, will be set in the " + "text": "The list of fulfillment options. These options don't have any required format. Later on, these options can be used when creating a shipping option,\nsuch as when using the [Create Shipping Option API Route](https://docs.medusajs.com/v1/api/admin#shipping-options_postshippingoptions). The chosen fulfillment option, which is one of the\nitems in the array returned by this method, will be set in the " }, { "kind": "code", @@ -78813,19 +82778,19 @@ }, "implementationOf": { "type": "reference", - "target": 3030, + "target": 3084, "name": "FulfillmentService.getFulfillmentOptions" } } ], "implementationOf": { "type": "reference", - "target": 3029, + "target": 3083, "name": "FulfillmentService.getFulfillmentOptions" } }, { - "id": 3119, + "id": 3173, "name": "validateFulfillmentData", "variant": "declaration", "kind": 2048, @@ -78834,7 +82799,7 @@ }, "signatures": [ { - "id": 3120, + "id": 3174, "name": "validateFulfillmentData", "variant": "signature", "kind": 4096, @@ -78874,7 +82839,7 @@ "kind": "inline-tag", "tag": "@link", "text": "calculatePrice", - "target": 3042, + "target": 3096, "tsLinkText": "" }, { @@ -78896,7 +82861,7 @@ }, "parameters": [ { - "id": 3121, + "id": 3175, "name": "optionData", "variant": "param", "kind": 32768, @@ -78911,13 +82876,13 @@ }, "type": { "type": "reference", - "target": 4925, + "target": 5037, "name": "ShippingOptionData", "package": "@medusajs/medusa" } }, { - "id": 3122, + "id": 3176, "name": "data", "variant": "param", "kind": 32768, @@ -78940,13 +82905,13 @@ }, "type": { "type": "reference", - "target": 4926, + "target": 5038, "name": "FulfillmentProviderData", "package": "@medusajs/medusa" } }, { - "id": 3123, + "id": 3177, "name": "cart", "variant": "param", "kind": 32768, @@ -79002,19 +82967,19 @@ }, "implementationOf": { "type": "reference", - "target": 3032, + "target": 3086, "name": "FulfillmentService.validateFulfillmentData" } } ], "implementationOf": { "type": "reference", - "target": 3031, + "target": 3085, "name": "FulfillmentService.validateFulfillmentData" } }, { - "id": 3124, + "id": 3178, "name": "validateOption", "variant": "declaration", "kind": 2048, @@ -79023,7 +82988,7 @@ }, "signatures": [ { - "id": 3125, + "id": 3179, "name": "validateOption", "variant": "signature", "kind": 4096, @@ -79032,7 +82997,7 @@ "summary": [ { "kind": "text", - "text": "Once the admin creates the shipping option, the data of the shipping option will be validated first using this method. This method is called when the [Create Shipping Option API Route](https://docs.medusajs.com/api/admin#shipping-options_postshippingoptions) is used." + "text": "Once the admin creates the shipping option, the data of the shipping option will be validated first using this method. This method is called when the [Create Shipping Option API Route](https://docs.medusajs.com/v1/api/admin#shipping-options_postshippingoptions) is used." } ], "blockTags": [ @@ -79078,7 +83043,7 @@ }, "parameters": [ { - "id": 3126, + "id": 3180, "name": "data", "variant": "param", "kind": 32768, @@ -79093,7 +83058,7 @@ }, "type": { "type": "reference", - "target": 4925, + "target": 5037, "name": "ShippingOptionData", "package": "@medusajs/medusa" } @@ -79116,19 +83081,19 @@ }, "implementationOf": { "type": "reference", - "target": 3037, + "target": 3091, "name": "FulfillmentService.validateOption" } } ], "implementationOf": { "type": "reference", - "target": 3036, + "target": 3090, "name": "FulfillmentService.validateOption" } }, { - "id": 3127, + "id": 3181, "name": "canCalculate", "variant": "declaration", "kind": 2048, @@ -79137,7 +83102,7 @@ }, "signatures": [ { - "id": 3128, + "id": 3182, "name": "canCalculate", "variant": "signature", "kind": 4096, @@ -79185,7 +83150,7 @@ "kind": "inline-tag", "tag": "@link", "text": "calculatePrice", - "target": 3042, + "target": 3096, "tsLinkText": "" }, { @@ -79223,7 +83188,7 @@ }, "parameters": [ { - "id": 3129, + "id": 3183, "name": "data", "variant": "param", "kind": 32768, @@ -79246,7 +83211,7 @@ }, "type": { "type": "reference", - "target": 4925, + "target": 5037, "name": "ShippingOptionData", "package": "@medusajs/medusa" } @@ -79269,19 +83234,19 @@ }, "implementationOf": { "type": "reference", - "target": 3040, + "target": 3094, "name": "FulfillmentService.canCalculate" } } ], "implementationOf": { "type": "reference", - "target": 3039, + "target": 3093, "name": "FulfillmentService.canCalculate" } }, { - "id": 3130, + "id": 3184, "name": "calculatePrice", "variant": "declaration", "kind": 2048, @@ -79290,7 +83255,7 @@ }, "signatures": [ { - "id": 3131, + "id": 3185, "name": "calculatePrice", "variant": "signature", "kind": 4096, @@ -79369,7 +83334,7 @@ }, "parameters": [ { - "id": 3132, + "id": 3186, "name": "optionData", "variant": "param", "kind": 32768, @@ -79392,13 +83357,13 @@ }, "type": { "type": "reference", - "target": 4925, + "target": 5037, "name": "ShippingOptionData", "package": "@medusajs/medusa" } }, { - "id": 3133, + "id": 3187, "name": "data", "variant": "param", "kind": 32768, @@ -79429,7 +83394,7 @@ "kind": "inline-tag", "tag": "@link", "text": "validateFulfillmentData", - "target": 3031, + "target": 3085, "tsLinkText": "" }, { @@ -79440,13 +83405,13 @@ }, "type": { "type": "reference", - "target": 4926, + "target": 5038, "name": "FulfillmentProviderData", "package": "@medusajs/medusa" } }, { - "id": 3134, + "id": 3188, "name": "cart", "variant": "param", "kind": 32768, @@ -79487,19 +83452,19 @@ }, "implementationOf": { "type": "reference", - "target": 3043, + "target": 3097, "name": "FulfillmentService.calculatePrice" } } ], "implementationOf": { "type": "reference", - "target": 3042, + "target": 3096, "name": "FulfillmentService.calculatePrice" } }, { - "id": 3135, + "id": 3189, "name": "createFulfillment", "variant": "declaration", "kind": 2048, @@ -79508,7 +83473,7 @@ }, "signatures": [ { - "id": 3136, + "id": 3190, "name": "createFulfillment", "variant": "signature", "kind": 4096, @@ -79563,7 +83528,7 @@ }, "parameters": [ { - "id": 3137, + "id": 3191, "name": "data", "variant": "param", "kind": 32768, @@ -79586,13 +83551,13 @@ }, "type": { "type": "reference", - "target": 4927, + "target": 5039, "name": "ShippingMethodData", "package": "@medusajs/medusa" } }, { - "id": 3138, + "id": 3192, "name": "items", "variant": "param", "kind": 32768, @@ -79619,7 +83584,7 @@ } }, { - "id": 3139, + "id": 3193, "name": "order", "variant": "param", "kind": 32768, @@ -79643,7 +83608,7 @@ } }, { - "id": 3140, + "id": 3194, "name": "fulfillment", "variant": "param", "kind": 32768, @@ -79676,7 +83641,7 @@ "typeArguments": [ { "type": "reference", - "target": 4926, + "target": 5038, "name": "FulfillmentProviderData", "package": "@medusajs/medusa" } @@ -79686,19 +83651,19 @@ }, "implementationOf": { "type": "reference", - "target": 3048, + "target": 3102, "name": "FulfillmentService.createFulfillment" } } ], "implementationOf": { "type": "reference", - "target": 3047, + "target": 3101, "name": "FulfillmentService.createFulfillment" } }, { - "id": 3141, + "id": 3195, "name": "cancelFulfillment", "variant": "declaration", "kind": 2048, @@ -79707,7 +83672,7 @@ }, "signatures": [ { - "id": 3142, + "id": 3196, "name": "cancelFulfillment", "variant": "signature", "kind": 4096, @@ -79746,7 +83711,7 @@ }, "parameters": [ { - "id": 3143, + "id": 3197, "name": "fulfillment", "variant": "param", "kind": 32768, @@ -79769,7 +83734,7 @@ }, "type": { "type": "reference", - "target": 4926, + "target": 5038, "name": "FulfillmentProviderData", "package": "@medusajs/medusa" } @@ -79792,19 +83757,19 @@ }, "implementationOf": { "type": "reference", - "target": 3054, + "target": 3108, "name": "FulfillmentService.cancelFulfillment" } } ], "implementationOf": { "type": "reference", - "target": 3053, + "target": 3107, "name": "FulfillmentService.cancelFulfillment" } }, { - "id": 3144, + "id": 3198, "name": "createReturn", "variant": "declaration", "kind": 2048, @@ -79813,7 +83778,7 @@ }, "signatures": [ { - "id": 3145, + "id": 3199, "name": "createReturn", "variant": "signature", "kind": 4096, @@ -79830,7 +83795,7 @@ }, { "kind": "text", - "text": " property is true or if an admin creates a Return Shipping Option from the settings.\nThis method is used when the admin [creates a return request](https://docs.medusajs.com/api/admin#orders_postordersorderreturns) for an order,\n[creates a swap](https://docs.medusajs.com/api/admin#orders_postordersorderswaps) for an order, or when the\n[customer creates a return of their order](https://docs.medusajs.com/api/store#returns_postreturns). The fulfillment is created automatically for the order return." + "text": " property is true or if an admin creates a Return Shipping Option from the settings.\nThis method is used when the admin [creates a return request](https://docs.medusajs.com/v1/api/admin#orders_postordersorderreturns) for an order,\n[creates a swap](https://docs.medusajs.com/v1/api/admin#orders_postordersorderswaps) for an order, or when the\n[customer creates a return of their order](https://docs.medusajs.com/v1/api/store#returns_postreturns). The fulfillment is created automatically for the order return." } ], "blockTags": [ @@ -79868,7 +83833,7 @@ }, "parameters": [ { - "id": 3146, + "id": 3200, "name": "returnOrder", "variant": "param", "kind": 32768, @@ -79883,7 +83848,7 @@ }, "type": { "type": "reference", - "target": 4928, + "target": 5040, "name": "CreateReturnType", "package": "@medusajs/medusa" } @@ -79921,19 +83886,19 @@ }, "implementationOf": { "type": "reference", - "target": 3057, + "target": 3111, "name": "FulfillmentService.createReturn" } } ], "implementationOf": { "type": "reference", - "target": 3056, + "target": 3110, "name": "FulfillmentService.createReturn" } }, { - "id": 3147, + "id": 3201, "name": "getFulfillmentDocuments", "variant": "declaration", "kind": 2048, @@ -79942,7 +83907,7 @@ }, "signatures": [ { - "id": 3148, + "id": 3202, "name": "getFulfillmentDocuments", "variant": "signature", "kind": 4096, @@ -79977,7 +83942,7 @@ }, "parameters": [ { - "id": 3149, + "id": 3203, "name": "data", "variant": "param", "kind": 32768, @@ -80000,7 +83965,7 @@ }, "type": { "type": "reference", - "target": 4926, + "target": 5038, "name": "FulfillmentProviderData", "package": "@medusajs/medusa" } @@ -80023,19 +83988,19 @@ }, "implementationOf": { "type": "reference", - "target": 3060, + "target": 3114, "name": "FulfillmentService.getFulfillmentDocuments" } } ], "implementationOf": { "type": "reference", - "target": 3059, + "target": 3113, "name": "FulfillmentService.getFulfillmentDocuments" } }, { - "id": 3150, + "id": 3204, "name": "getReturnDocuments", "variant": "declaration", "kind": 2048, @@ -80044,7 +84009,7 @@ }, "signatures": [ { - "id": 3151, + "id": 3205, "name": "getReturnDocuments", "variant": "signature", "kind": 4096, @@ -80079,7 +84044,7 @@ }, "parameters": [ { - "id": 3152, + "id": 3206, "name": "data", "variant": "param", "kind": 32768, @@ -80130,19 +84095,19 @@ }, "implementationOf": { "type": "reference", - "target": 3063, + "target": 3117, "name": "FulfillmentService.getReturnDocuments" } } ], "implementationOf": { "type": "reference", - "target": 3062, + "target": 3116, "name": "FulfillmentService.getReturnDocuments" } }, { - "id": 3153, + "id": 3207, "name": "getShipmentDocuments", "variant": "declaration", "kind": 2048, @@ -80151,7 +84116,7 @@ }, "signatures": [ { - "id": 3154, + "id": 3208, "name": "getShipmentDocuments", "variant": "signature", "kind": 4096, @@ -80186,7 +84151,7 @@ }, "parameters": [ { - "id": 3155, + "id": 3209, "name": "data", "variant": "param", "kind": 32768, @@ -80245,19 +84210,19 @@ }, "implementationOf": { "type": "reference", - "target": 3066, + "target": 3120, "name": "FulfillmentService.getShipmentDocuments" } } ], "implementationOf": { "type": "reference", - "target": 3065, + "target": 3119, "name": "FulfillmentService.getShipmentDocuments" } }, { - "id": 3156, + "id": 3210, "name": "retrieveDocuments", "variant": "declaration", "kind": 2048, @@ -80266,7 +84231,7 @@ }, "signatures": [ { - "id": 3157, + "id": 3211, "name": "retrieveDocuments", "variant": "signature", "kind": 4096, @@ -80301,7 +84266,7 @@ }, "parameters": [ { - "id": 3158, + "id": 3212, "name": "fulfillmentData", "variant": "param", "kind": 32768, @@ -80343,7 +84308,7 @@ } }, { - "id": 3159, + "id": 3213, "name": "documentType", "variant": "param", "kind": 32768, @@ -80388,19 +84353,19 @@ }, "implementationOf": { "type": "reference", - "target": 3069, + "target": 3123, "name": "FulfillmentService.retrieveDocuments" } } ], "implementationOf": { "type": "reference", - "target": 3068, + "target": 3122, "name": "FulfillmentService.retrieveDocuments" } }, { - "id": 3160, + "id": 3214, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -80418,17 +84383,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3819, + "target": 3873, "name": "TransactionBaseService.manager_" }, "implementationOf": { "type": "reference", - "target": 3072, + "target": 3126, "name": "FulfillmentService.manager_" } }, { - "id": 3161, + "id": 3215, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -80455,17 +84420,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3820, + "target": 3874, "name": "TransactionBaseService.transactionManager_" }, "implementationOf": { "type": "reference", - "target": 3073, + "target": 3127, "name": "FulfillmentService.transactionManager_" } }, { - "id": 3162, + "id": 3216, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -80473,7 +84438,7 @@ "isProtected": true }, "getSignature": { - "id": 3163, + "id": 3217, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -80500,17 +84465,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3821, + "target": 3875, "name": "TransactionBaseService.activeManager_" }, "implementationOf": { "type": "reference", - "target": 3074, + "target": 3128, "name": "FulfillmentService.activeManager_" } }, { - "id": 3164, + "id": 3218, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -80524,17 +84489,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3823, + "target": 3877, "name": "TransactionBaseService.__container__" }, "implementationOf": { "type": "reference", - "target": 3076, + "target": 3130, "name": "FulfillmentService.__container__" } }, { - "id": 3165, + "id": 3219, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -80564,17 +84529,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3824, + "target": 3878, "name": "TransactionBaseService.__configModule__" }, "implementationOf": { "type": "reference", - "target": 3077, + "target": 3131, "name": "FulfillmentService.__configModule__" } }, { - "id": 3166, + "id": 3220, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -80604,31 +84569,31 @@ }, "inheritedFrom": { "type": "reference", - "target": 3825, + "target": 3879, "name": "TransactionBaseService.__moduleDeclaration__" }, "implementationOf": { "type": "reference", - "target": 3078, + "target": 3132, "name": "FulfillmentService.__moduleDeclaration__" } }, { - "id": 3167, + "id": 3221, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3168, + "id": 3222, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3169, + "id": 3223, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -80652,29 +84617,29 @@ }, "inheritedFrom": { "type": "reference", - "target": 3827, + "target": 3881, "name": "TransactionBaseService.withTransaction" }, "implementationOf": { "type": "reference", - "target": 3080, + "target": 3134, "name": "FulfillmentService.withTransaction" } } ], "inheritedFrom": { "type": "reference", - "target": 3826, + "target": 3880, "name": "TransactionBaseService.withTransaction" }, "implementationOf": { "type": "reference", - "target": 3079, + "target": 3133, "name": "FulfillmentService.withTransaction" } }, { - "id": 3170, + "id": 3224, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -80683,14 +84648,14 @@ }, "signatures": [ { - "id": 3171, + "id": 3225, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3172, + "id": 3226, "name": "err", "variant": "param", "kind": 32768, @@ -80720,14 +84685,14 @@ { "type": "reflection", "declaration": { - "id": 3173, + "id": 3227, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3174, + "id": 3228, "name": "code", "variant": "declaration", "kind": 1024, @@ -80742,7 +84707,7 @@ { "title": "Properties", "children": [ - 3174 + 3228 ] } ] @@ -80758,29 +84723,29 @@ }, "inheritedFrom": { "type": "reference", - "target": 3830, + "target": 3884, "name": "TransactionBaseService.shouldRetryTransaction_" }, "implementationOf": { "type": "reference", - "target": 3083, + "target": 3137, "name": "FulfillmentService.shouldRetryTransaction_" } } ], "inheritedFrom": { "type": "reference", - "target": 3829, + "target": 3883, "name": "TransactionBaseService.shouldRetryTransaction_" }, "implementationOf": { "type": "reference", - "target": 3082, + "target": 3136, "name": "FulfillmentService.shouldRetryTransaction_" } }, { - "id": 3175, + "id": 3229, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -80789,7 +84754,7 @@ }, "signatures": [ { - "id": 3176, + "id": 3230, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -80815,14 +84780,14 @@ }, "typeParameter": [ { - "id": 3177, + "id": 3231, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 3178, + "id": 3232, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -80831,7 +84796,7 @@ ], "parameters": [ { - "id": 3179, + "id": 3233, "name": "work", "variant": "param", "kind": 32768, @@ -80847,21 +84812,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3180, + "id": 3234, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3181, + "id": 3235, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3182, + "id": 3236, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -80886,7 +84851,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -80901,7 +84866,7 @@ } }, { - "id": 3183, + "id": 3237, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -80931,28 +84896,28 @@ { "type": "reflection", "declaration": { - "id": 3184, + "id": 3238, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3185, + "id": 3239, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3186, + "id": 3240, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -80975,7 +84940,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -80994,7 +84959,7 @@ } }, { - "id": 3187, + "id": 3241, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -81012,28 +84977,28 @@ "type": { "type": "reflection", "declaration": { - "id": 3188, + "id": 3242, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3189, + "id": 3243, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3190, + "id": 3244, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -81056,7 +85021,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -81082,7 +85047,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -81093,24 +85058,24 @@ }, "inheritedFrom": { "type": "reference", - "target": 3835, + "target": 3889, "name": "TransactionBaseService.atomicPhase_" }, "implementationOf": { "type": "reference", - "target": 3088, + "target": 3142, "name": "FulfillmentService.atomicPhase_" } } ], "inheritedFrom": { "type": "reference", - "target": 3834, + "target": 3888, "name": "TransactionBaseService.atomicPhase_" }, "implementationOf": { "type": "reference", - "target": 3087, + "target": 3141, "name": "FulfillmentService.atomicPhase_" } } @@ -81119,53 +85084,53 @@ { "title": "Constructors", "children": [ - 3109 + 3163 ] }, { "title": "Properties", "children": [ - 3113, - 3114, - 3108, - 3160, - 3161, - 3164, - 3165, - 3166 + 3167, + 3168, + 3162, + 3214, + 3215, + 3218, + 3219, + 3220 ] }, { "title": "Accessors", "children": [ - 3162 + 3216 ] }, { "title": "Methods", "children": [ - 3117, - 3119, - 3124, - 3127, - 3130, - 3135, - 3141, - 3144, - 3147, - 3150, - 3153, - 3156, - 3167, - 3170, - 3175 + 3171, + 3173, + 3178, + 3181, + 3184, + 3189, + 3195, + 3198, + 3201, + 3204, + 3207, + 3210, + 3221, + 3224, + 3229 ] } ], "extendedTypes": [ { "type": "reference", - "target": 3813, + "target": 3867, "name": "TransactionBaseService", "package": "@medusajs/medusa" } @@ -81173,14 +85138,14 @@ "implementedTypes": [ { "type": "reference", - "target": 3026, + "target": 3080, "name": "FulfillmentService", "package": "@medusajs/medusa" } ] }, { - "id": 3191, + "id": 3245, "name": "ReturnedData", "variant": "declaration", "kind": 256, @@ -81195,7 +85160,7 @@ }, "children": [ { - "id": 3192, + "id": 3246, "name": "to", "variant": "declaration", "kind": 1024, @@ -81222,7 +85187,7 @@ } }, { - "id": 3193, + "id": 3247, "name": "status", "variant": "declaration", "kind": 1024, @@ -81241,7 +85206,7 @@ } }, { - "id": 3194, + "id": 3248, "name": "data", "variant": "declaration", "kind": 1024, @@ -81295,15 +85260,15 @@ { "title": "Properties", "children": [ - 3192, - 3193, - 3194 + 3246, + 3247, + 3248 ] } ] }, { - "id": 3195, + "id": 3249, "name": "INotificationService", "variant": "declaration", "kind": 256, @@ -81312,7 +85277,7 @@ "summary": [ { "kind": "text", - "text": "## Overview\n\n:::note[Prerequisites]\n\nBefore creating a Notification Provider, [install an event bus module](https://docs.medusajs.com/development/events/modules/redis).\n\n:::\n\nA Notification Provider is a provider that handles sending and resending of notifications.\n\nTo create a Notification Provider, create a TypeScript or JavaScript file in " + "text": "## Overview\n\n:::note[Prerequisites]\n\nBefore creating a Notification Provider, [install an event bus module](https://docs.medusajs.com/v1/development/events/modules/redis).\n\n:::\n\nA Notification Provider is a provider that handles sending and resending of notifications.\n\nTo create a Notification Provider, create a TypeScript or JavaScript file in " }, { "kind": "code", @@ -81392,7 +85357,7 @@ }, { "kind": "text", - "text": " property in the notification provider\nclass is used when the Notification Provider is created in the database.\n\nThe value of this property is also used later when you want to subscribe the Notification Provider to events in a [Loader](https://docs.medusajs.com/development/loaders/overview).\n\nFor example:\n\n" + "text": " property in the notification provider\nclass is used when the Notification Provider is created in the database.\n\nThe value of this property is also used later when you want to subscribe the Notification Provider to events in a [Loader](https://docs.medusajs.com/v1/development/loaders/overview).\n\nFor example:\n\n" }, { "kind": "code", @@ -81406,14 +85371,14 @@ }, "children": [ { - "id": 3196, + "id": 3250, "name": "sendNotification", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3197, + "id": 3251, "name": "sendNotification", "variant": "signature", "kind": 4096, @@ -81430,7 +85395,7 @@ }, { "kind": "text", - "text": "](https://docs.medusajs.com/references/services/classes/services.NotificationService)\nin the Medusa backend executes this method of your Notification Provider.\n\nIn this method, you can perform the necessary operation to send the Notification. For example, you can send an email to the customer when they place an order." + "text": "](https://docs.medusajs.com/v1/references/services/classes/services.NotificationService)\nin the Medusa backend executes this method of your Notification Provider.\n\nIn this method, you can perform the necessary operation to send the Notification. For example, you can send an email to the customer when they place an order." } ], "blockTags": [ @@ -81456,7 +85421,7 @@ }, "parameters": [ { - "id": 3198, + "id": 3252, "name": "event", "variant": "param", "kind": 32768, @@ -81483,7 +85448,7 @@ } }, { - "id": 3199, + "id": 3253, "name": "data", "variant": "param", "kind": 32768, @@ -81516,7 +85481,7 @@ }, { "kind": "text", - "text": " which is the ID of the order that was placed. You can refer to the\n[Events reference](https://docs.medusajs.com/development/events/events-list) for information on all events and their payloads." + "text": " which is the ID of the order that was placed. You can refer to the\n[Events reference](https://docs.medusajs.com/v1/development/events/events-list) for information on all events and their payloads." } ] }, @@ -81526,7 +85491,7 @@ } }, { - "id": 3200, + "id": 3254, "name": "attachmentGenerator", "variant": "param", "kind": 32768, @@ -81551,7 +85516,7 @@ }, { "kind": "text", - "text": "](https://docs.medusajs.com/references/services/classes/services.NotificationService#registerattachmentgenerator) method,\nyou have access to it here. You can use the " + "text": "](https://docs.medusajs.com/v1/references/services/classes/services.NotificationService#registerattachmentgenerator) method,\nyou have access to it here. You can use the " }, { "kind": "code", @@ -81586,7 +85551,7 @@ "typeArguments": [ { "type": "reference", - "target": 3191, + "target": 3245, "name": "ReturnedData", "package": "@medusajs/medusa" } @@ -81598,14 +85563,14 @@ ] }, { - "id": 3201, + "id": 3255, "name": "resendNotification", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3202, + "id": 3256, "name": "resendNotification", "variant": "signature", "kind": 4096, @@ -81614,7 +85579,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to resend notifications, which is typically triggered by the\n[Resend Notification API Route](https://docs.medusajs.com/api/admin#notifications_postnotificationsnotificationresend)." + "text": "This method is used to resend notifications, which is typically triggered by the\n[Resend Notification API Route](https://docs.medusajs.com/v1/api/admin#notifications_postnotificationsnotificationresend)." } ], "blockTags": [ @@ -81640,7 +85605,7 @@ }, "parameters": [ { - "id": 3203, + "id": 3257, "name": "notification", "variant": "param", "kind": 32768, @@ -81649,7 +85614,7 @@ "summary": [ { "kind": "text", - "text": "The original [Notification record](https://docs.medusajs.com/references/entities/classes/Notification) that was created after you sent the\nnotification with " + "text": "The original [Notification record](https://docs.medusajs.com/v1/references/entities/classes/Notification) that was created after you sent the\nnotification with " }, { "kind": "code", @@ -81695,7 +85660,7 @@ "kind": "inline-tag", "tag": "@link", "text": "sendNotification", - "target": 3196, + "target": 3250, "tsLinkText": "" }, { @@ -81710,7 +85675,7 @@ } }, { - "id": 3204, + "id": 3258, "name": "config", "variant": "param", "kind": 32768, @@ -81719,7 +85684,7 @@ "summary": [ { "kind": "text", - "text": "The new configuration used to resend the notification. The [Resend Notification API Route](https://docs.medusajs.com/api/admin#notifications_postnotificationsnotificationresend),\nallows you to pass a new " + "text": "The new configuration used to resend the notification. The [Resend Notification API Route](https://docs.medusajs.com/v1/api/admin#notifications_postnotificationsnotificationresend),\nallows you to pass a new " }, { "kind": "code", @@ -81737,7 +85702,7 @@ } }, { - "id": 3205, + "id": 3259, "name": "attachmentGenerator", "variant": "param", "kind": 32768, @@ -81762,7 +85727,7 @@ }, { "kind": "text", - "text": "](https://docs.medusajs.com/references/services/classes/services.NotificationService#registerattachmentgenerator) method,\nyou have access to it here. You can use the " + "text": "](https://docs.medusajs.com/v1/references/services/classes/services.NotificationService#registerattachmentgenerator) method,\nyou have access to it here. You can use the " }, { "kind": "code", @@ -81797,7 +85762,7 @@ "typeArguments": [ { "type": "reference", - "target": 3191, + "target": 3245, "name": "ReturnedData", "package": "@medusajs/medusa" } @@ -81809,7 +85774,7 @@ ] }, { - "id": 3206, + "id": 3260, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -81827,12 +85792,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3819, + "target": 3873, "name": "TransactionBaseService.manager_" } }, { - "id": 3207, + "id": 3261, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -81859,12 +85824,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3820, + "target": 3874, "name": "TransactionBaseService.transactionManager_" } }, { - "id": 3208, + "id": 3262, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -81872,7 +85837,7 @@ "isProtected": true }, "getSignature": { - "id": 3209, + "id": 3263, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -81894,12 +85859,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3821, + "target": 3875, "name": "TransactionBaseService.activeManager_" } }, { - "id": 3210, + "id": 3264, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -81913,12 +85878,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3823, + "target": 3877, "name": "TransactionBaseService.__container__" } }, { - "id": 3211, + "id": 3265, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -81948,12 +85913,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3824, + "target": 3878, "name": "TransactionBaseService.__configModule__" } }, { - "id": 3212, + "id": 3266, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -81983,26 +85948,26 @@ }, "inheritedFrom": { "type": "reference", - "target": 3825, + "target": 3879, "name": "TransactionBaseService.__moduleDeclaration__" } }, { - "id": 3213, + "id": 3267, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3214, + "id": 3268, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3215, + "id": 3269, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -82026,19 +85991,19 @@ }, "inheritedFrom": { "type": "reference", - "target": 3827, + "target": 3881, "name": "TransactionBaseService.withTransaction" } } ], "inheritedFrom": { "type": "reference", - "target": 3826, + "target": 3880, "name": "TransactionBaseService.withTransaction" } }, { - "id": 3216, + "id": 3270, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -82047,14 +86012,14 @@ }, "signatures": [ { - "id": 3217, + "id": 3271, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3218, + "id": 3272, "name": "err", "variant": "param", "kind": 32768, @@ -82084,14 +86049,14 @@ { "type": "reflection", "declaration": { - "id": 3219, + "id": 3273, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3220, + "id": 3274, "name": "code", "variant": "declaration", "kind": 1024, @@ -82106,7 +86071,7 @@ { "title": "Properties", "children": [ - 3220 + 3274 ] } ] @@ -82122,19 +86087,19 @@ }, "inheritedFrom": { "type": "reference", - "target": 3830, + "target": 3884, "name": "TransactionBaseService.shouldRetryTransaction_" } } ], "inheritedFrom": { "type": "reference", - "target": 3829, + "target": 3883, "name": "TransactionBaseService.shouldRetryTransaction_" } }, { - "id": 3221, + "id": 3275, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -82143,7 +86108,7 @@ }, "signatures": [ { - "id": 3222, + "id": 3276, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -82169,14 +86134,14 @@ }, "typeParameter": [ { - "id": 3223, + "id": 3277, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 3224, + "id": 3278, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -82185,7 +86150,7 @@ ], "parameters": [ { - "id": 3225, + "id": 3279, "name": "work", "variant": "param", "kind": 32768, @@ -82201,21 +86166,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3226, + "id": 3280, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3227, + "id": 3281, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3228, + "id": 3282, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -82240,7 +86205,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -82255,7 +86220,7 @@ } }, { - "id": 3229, + "id": 3283, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -82285,28 +86250,28 @@ { "type": "reflection", "declaration": { - "id": 3230, + "id": 3284, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3231, + "id": 3285, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3232, + "id": 3286, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -82329,7 +86294,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -82348,7 +86313,7 @@ } }, { - "id": 3233, + "id": 3287, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -82366,28 +86331,28 @@ "type": { "type": "reflection", "declaration": { - "id": 3234, + "id": 3288, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3235, + "id": 3289, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3236, + "id": 3290, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -82410,7 +86375,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -82436,7 +86401,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -82447,14 +86412,14 @@ }, "inheritedFrom": { "type": "reference", - "target": 3835, + "target": 3889, "name": "TransactionBaseService.atomicPhase_" } } ], "inheritedFrom": { "type": "reference", - "target": 3834, + "target": 3888, "name": "TransactionBaseService.atomicPhase_" } } @@ -82463,34 +86428,34 @@ { "title": "Properties", "children": [ - 3206, - 3207, - 3210, - 3211, - 3212 + 3260, + 3261, + 3264, + 3265, + 3266 ] }, { "title": "Accessors", "children": [ - 3208 + 3262 ] }, { "title": "Methods", "children": [ - 3196, - 3201, - 3213, - 3216, - 3221 + 3250, + 3255, + 3267, + 3270, + 3275 ] } ], "extendedTypes": [ { "type": "reference", - "target": 3813, + "target": 3867, "name": "TransactionBaseService", "package": "@medusajs/medusa" } @@ -82498,13 +86463,13 @@ "implementedBy": [ { "type": "reference", - "target": 3237, + "target": 3291, "name": "AbstractNotificationService" } ] }, { - "id": 3237, + "id": 3291, "name": "AbstractNotificationService", "variant": "declaration", "kind": 128, @@ -82513,7 +86478,7 @@ }, "children": [ { - "id": 3239, + "id": 3293, "name": "identifier", "variant": "declaration", "kind": 1024, @@ -82526,7 +86491,7 @@ } }, { - "id": 3243, + "id": 3297, "name": "constructor", "variant": "declaration", "kind": 512, @@ -82535,7 +86500,7 @@ }, "signatures": [ { - "id": 3244, + "id": 3298, "name": "new AbstractNotificationService", "variant": "signature", "kind": 16384, @@ -82569,7 +86534,7 @@ }, "parameters": [ { - "id": 3245, + "id": 3299, "name": "container", "variant": "param", "kind": 32768, @@ -82611,7 +86576,7 @@ } }, { - "id": 3246, + "id": 3300, "name": "config", "variant": "param", "kind": 32768, @@ -82649,25 +86614,25 @@ ], "type": { "type": "reference", - "target": 3237, + "target": 3291, "name": "AbstractNotificationService", "package": "@medusajs/medusa" }, "overwrites": { "type": "reference", - "target": 3815, + "target": 3869, "name": "TransactionBaseService.constructor" } } ], "overwrites": { "type": "reference", - "target": 3814, + "target": 3868, "name": "TransactionBaseService.constructor" } }, { - "id": 3249, + "id": 3303, "name": "container", "variant": "declaration", "kind": 1024, @@ -82712,7 +86677,7 @@ } }, { - "id": 3250, + "id": 3304, "name": "config", "variant": "declaration", "kind": 1024, @@ -82750,7 +86715,7 @@ } }, { - "id": 3251, + "id": 3305, "name": "sendNotification", "variant": "declaration", "kind": 2048, @@ -82759,7 +86724,7 @@ }, "signatures": [ { - "id": 3252, + "id": 3306, "name": "sendNotification", "variant": "signature", "kind": 4096, @@ -82776,7 +86741,7 @@ }, { "kind": "text", - "text": "](https://docs.medusajs.com/references/services/classes/services.NotificationService)\nin the Medusa backend executes this method of your Notification Provider.\n\nIn this method, you can perform the necessary operation to send the Notification. For example, you can send an email to the customer when they place an order." + "text": "](https://docs.medusajs.com/v1/references/services/classes/services.NotificationService)\nin the Medusa backend executes this method of your Notification Provider.\n\nIn this method, you can perform the necessary operation to send the Notification. For example, you can send an email to the customer when they place an order." } ], "blockTags": [ @@ -82802,7 +86767,7 @@ }, "parameters": [ { - "id": 3253, + "id": 3307, "name": "event", "variant": "param", "kind": 32768, @@ -82829,7 +86794,7 @@ } }, { - "id": 3254, + "id": 3308, "name": "data", "variant": "param", "kind": 32768, @@ -82862,7 +86827,7 @@ }, { "kind": "text", - "text": " which is the ID of the order that was placed. You can refer to the\n[Events reference](https://docs.medusajs.com/development/events/events-list) for information on all events and their payloads." + "text": " which is the ID of the order that was placed. You can refer to the\n[Events reference](https://docs.medusajs.com/v1/development/events/events-list) for information on all events and their payloads." } ] }, @@ -82872,7 +86837,7 @@ } }, { - "id": 3255, + "id": 3309, "name": "attachmentGenerator", "variant": "param", "kind": 32768, @@ -82897,7 +86862,7 @@ }, { "kind": "text", - "text": "](https://docs.medusajs.com/references/services/classes/services.NotificationService#registerattachmentgenerator) method,\nyou have access to it here. You can use the " + "text": "](https://docs.medusajs.com/v1/references/services/classes/services.NotificationService#registerattachmentgenerator) method,\nyou have access to it here. You can use the " }, { "kind": "code", @@ -82932,7 +86897,7 @@ "typeArguments": [ { "type": "reference", - "target": 3191, + "target": 3245, "name": "ReturnedData", "package": "@medusajs/medusa" } @@ -82942,19 +86907,19 @@ }, "implementationOf": { "type": "reference", - "target": 3197, + "target": 3251, "name": "INotificationService.sendNotification" } } ], "implementationOf": { "type": "reference", - "target": 3196, + "target": 3250, "name": "INotificationService.sendNotification" } }, { - "id": 3256, + "id": 3310, "name": "resendNotification", "variant": "declaration", "kind": 2048, @@ -82963,7 +86928,7 @@ }, "signatures": [ { - "id": 3257, + "id": 3311, "name": "resendNotification", "variant": "signature", "kind": 4096, @@ -82972,7 +86937,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to resend notifications, which is typically triggered by the\n[Resend Notification API Route](https://docs.medusajs.com/api/admin#notifications_postnotificationsnotificationresend)." + "text": "This method is used to resend notifications, which is typically triggered by the\n[Resend Notification API Route](https://docs.medusajs.com/v1/api/admin#notifications_postnotificationsnotificationresend)." } ], "blockTags": [ @@ -82998,7 +86963,7 @@ }, "parameters": [ { - "id": 3258, + "id": 3312, "name": "notification", "variant": "param", "kind": 32768, @@ -83007,7 +86972,7 @@ "summary": [ { "kind": "text", - "text": "The original [Notification record](https://docs.medusajs.com/references/entities/classes/Notification) that was created after you sent the\nnotification with " + "text": "The original [Notification record](https://docs.medusajs.com/v1/references/entities/classes/Notification) that was created after you sent the\nnotification with " }, { "kind": "code", @@ -83053,7 +87018,7 @@ "kind": "inline-tag", "tag": "@link", "text": "sendNotification", - "target": 3196, + "target": 3250, "tsLinkText": "" }, { @@ -83068,7 +87033,7 @@ } }, { - "id": 3259, + "id": 3313, "name": "config", "variant": "param", "kind": 32768, @@ -83077,7 +87042,7 @@ "summary": [ { "kind": "text", - "text": "The new configuration used to resend the notification. The [Resend Notification API Route](https://docs.medusajs.com/api/admin#notifications_postnotificationsnotificationresend),\nallows you to pass a new " + "text": "The new configuration used to resend the notification. The [Resend Notification API Route](https://docs.medusajs.com/v1/api/admin#notifications_postnotificationsnotificationresend),\nallows you to pass a new " }, { "kind": "code", @@ -83095,7 +87060,7 @@ } }, { - "id": 3260, + "id": 3314, "name": "attachmentGenerator", "variant": "param", "kind": 32768, @@ -83120,7 +87085,7 @@ }, { "kind": "text", - "text": "](https://docs.medusajs.com/references/services/classes/services.NotificationService#registerattachmentgenerator) method,\nyou have access to it here. You can use the " + "text": "](https://docs.medusajs.com/v1/references/services/classes/services.NotificationService#registerattachmentgenerator) method,\nyou have access to it here. You can use the " }, { "kind": "code", @@ -83155,7 +87120,7 @@ "typeArguments": [ { "type": "reference", - "target": 3191, + "target": 3245, "name": "ReturnedData", "package": "@medusajs/medusa" } @@ -83165,19 +87130,19 @@ }, "implementationOf": { "type": "reference", - "target": 3202, + "target": 3256, "name": "INotificationService.resendNotification" } } ], "implementationOf": { "type": "reference", - "target": 3201, + "target": 3255, "name": "INotificationService.resendNotification" } }, { - "id": 3261, + "id": 3315, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -83195,17 +87160,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3819, + "target": 3873, "name": "TransactionBaseService.manager_" }, "implementationOf": { "type": "reference", - "target": 3206, + "target": 3260, "name": "INotificationService.manager_" } }, { - "id": 3262, + "id": 3316, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -83232,17 +87197,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3820, + "target": 3874, "name": "TransactionBaseService.transactionManager_" }, "implementationOf": { "type": "reference", - "target": 3207, + "target": 3261, "name": "INotificationService.transactionManager_" } }, { - "id": 3263, + "id": 3317, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -83250,7 +87215,7 @@ "isProtected": true }, "getSignature": { - "id": 3264, + "id": 3318, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -83277,17 +87242,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3821, + "target": 3875, "name": "TransactionBaseService.activeManager_" }, "implementationOf": { "type": "reference", - "target": 3208, + "target": 3262, "name": "INotificationService.activeManager_" } }, { - "id": 3265, + "id": 3319, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -83301,17 +87266,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3823, + "target": 3877, "name": "TransactionBaseService.__container__" }, "implementationOf": { "type": "reference", - "target": 3210, + "target": 3264, "name": "INotificationService.__container__" } }, { - "id": 3266, + "id": 3320, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -83341,17 +87306,17 @@ }, "inheritedFrom": { "type": "reference", - "target": 3824, + "target": 3878, "name": "TransactionBaseService.__configModule__" }, "implementationOf": { "type": "reference", - "target": 3211, + "target": 3265, "name": "INotificationService.__configModule__" } }, { - "id": 3267, + "id": 3321, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -83381,31 +87346,31 @@ }, "inheritedFrom": { "type": "reference", - "target": 3825, + "target": 3879, "name": "TransactionBaseService.__moduleDeclaration__" }, "implementationOf": { "type": "reference", - "target": 3212, + "target": 3266, "name": "INotificationService.__moduleDeclaration__" } }, { - "id": 3268, + "id": 3322, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3269, + "id": 3323, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3270, + "id": 3324, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -83429,29 +87394,29 @@ }, "inheritedFrom": { "type": "reference", - "target": 3827, + "target": 3881, "name": "TransactionBaseService.withTransaction" }, "implementationOf": { "type": "reference", - "target": 3214, + "target": 3268, "name": "INotificationService.withTransaction" } } ], "inheritedFrom": { "type": "reference", - "target": 3826, + "target": 3880, "name": "TransactionBaseService.withTransaction" }, "implementationOf": { "type": "reference", - "target": 3213, + "target": 3267, "name": "INotificationService.withTransaction" } }, { - "id": 3271, + "id": 3325, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -83460,14 +87425,14 @@ }, "signatures": [ { - "id": 3272, + "id": 3326, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3273, + "id": 3327, "name": "err", "variant": "param", "kind": 32768, @@ -83497,14 +87462,14 @@ { "type": "reflection", "declaration": { - "id": 3274, + "id": 3328, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3275, + "id": 3329, "name": "code", "variant": "declaration", "kind": 1024, @@ -83519,7 +87484,7 @@ { "title": "Properties", "children": [ - 3275 + 3329 ] } ] @@ -83535,29 +87500,29 @@ }, "inheritedFrom": { "type": "reference", - "target": 3830, + "target": 3884, "name": "TransactionBaseService.shouldRetryTransaction_" }, "implementationOf": { "type": "reference", - "target": 3217, + "target": 3271, "name": "INotificationService.shouldRetryTransaction_" } } ], "inheritedFrom": { "type": "reference", - "target": 3829, + "target": 3883, "name": "TransactionBaseService.shouldRetryTransaction_" }, "implementationOf": { "type": "reference", - "target": 3216, + "target": 3270, "name": "INotificationService.shouldRetryTransaction_" } }, { - "id": 3276, + "id": 3330, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -83566,7 +87531,7 @@ }, "signatures": [ { - "id": 3277, + "id": 3331, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -83592,14 +87557,14 @@ }, "typeParameter": [ { - "id": 3278, + "id": 3332, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 3279, + "id": 3333, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -83608,7 +87573,7 @@ ], "parameters": [ { - "id": 3280, + "id": 3334, "name": "work", "variant": "param", "kind": 32768, @@ -83624,21 +87589,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3281, + "id": 3335, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3282, + "id": 3336, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3283, + "id": 3337, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -83663,7 +87628,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -83678,7 +87643,7 @@ } }, { - "id": 3284, + "id": 3338, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -83708,28 +87673,28 @@ { "type": "reflection", "declaration": { - "id": 3285, + "id": 3339, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3286, + "id": 3340, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3287, + "id": 3341, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -83752,7 +87717,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -83771,7 +87736,7 @@ } }, { - "id": 3288, + "id": 3342, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -83789,28 +87754,28 @@ "type": { "type": "reflection", "declaration": { - "id": 3289, + "id": 3343, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3290, + "id": 3344, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3291, + "id": 3345, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -83833,7 +87798,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -83859,7 +87824,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -83870,24 +87835,24 @@ }, "inheritedFrom": { "type": "reference", - "target": 3835, + "target": 3889, "name": "TransactionBaseService.atomicPhase_" }, "implementationOf": { "type": "reference", - "target": 3222, + "target": 3276, "name": "INotificationService.atomicPhase_" } } ], "inheritedFrom": { "type": "reference", - "target": 3834, + "target": 3888, "name": "TransactionBaseService.atomicPhase_" }, "implementationOf": { "type": "reference", - "target": 3221, + "target": 3275, "name": "INotificationService.atomicPhase_" } } @@ -83896,43 +87861,43 @@ { "title": "Constructors", "children": [ - 3243 + 3297 ] }, { "title": "Properties", "children": [ - 3239, - 3249, - 3250, - 3261, - 3262, - 3265, - 3266, - 3267 + 3293, + 3303, + 3304, + 3315, + 3316, + 3319, + 3320, + 3321 ] }, { "title": "Accessors", "children": [ - 3263 + 3317 ] }, { "title": "Methods", "children": [ - 3251, - 3256, - 3268, - 3271, - 3276 + 3305, + 3310, + 3322, + 3325, + 3330 ] } ], "extendedTypes": [ { "type": "reference", - "target": 3813, + "target": 3867, "name": "TransactionBaseService", "package": "@medusajs/medusa" } @@ -83940,14 +87905,14 @@ "implementedTypes": [ { "type": "reference", - "target": 3195, + "target": 3249, "name": "INotificationService", "package": "@medusajs/medusa" } ] }, { - "id": 3295, + "id": 3349, "name": "PaymentProcessorContext", "variant": "declaration", "kind": 256, @@ -83962,7 +87927,7 @@ }, "children": [ { - "id": 3296, + "id": 3350, "name": "billing_address", "variant": "declaration", "kind": 1024, @@ -83997,7 +87962,7 @@ } }, { - "id": 3297, + "id": 3351, "name": "email", "variant": "declaration", "kind": 1024, @@ -84016,7 +87981,7 @@ } }, { - "id": 3298, + "id": 3352, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -84035,7 +88000,7 @@ } }, { - "id": 3299, + "id": 3353, "name": "amount", "variant": "declaration", "kind": 1024, @@ -84054,7 +88019,7 @@ } }, { - "id": 3300, + "id": 3354, "name": "resource_id", "variant": "declaration", "kind": 1024, @@ -84073,7 +88038,7 @@ } }, { - "id": 3301, + "id": 3355, "name": "customer", "variant": "declaration", "kind": 1024, @@ -84099,7 +88064,7 @@ } }, { - "id": 3302, + "id": 3356, "name": "context", "variant": "declaration", "kind": 1024, @@ -84133,7 +88098,7 @@ } }, { - "id": 3303, + "id": 3357, "name": "paymentSessionData", "variant": "declaration", "kind": 1024, @@ -84179,20 +88144,20 @@ { "title": "Properties", "children": [ - 3296, - 3297, - 3298, - 3299, - 3300, - 3301, - 3302, - 3303 + 3350, + 3351, + 3352, + 3353, + 3354, + 3355, + 3356, + 3357 ] } ] }, { - "id": 3304, + "id": 3358, "name": "PaymentProcessorSessionResponse", "variant": "declaration", "kind": 256, @@ -84207,7 +88172,7 @@ }, "children": [ { - "id": 3305, + "id": 3359, "name": "update_requests", "variant": "declaration", "kind": 1024, @@ -84225,14 +88190,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3306, + "id": 3360, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3307, + "id": 3361, "name": "customer_metadata", "variant": "declaration", "kind": 1024, @@ -84280,7 +88245,7 @@ { "title": "Properties", "children": [ - 3307 + 3361 ] } ] @@ -84288,7 +88253,7 @@ } }, { - "id": 3308, + "id": 3362, "name": "session_data", "variant": "declaration", "kind": 1024, @@ -84342,14 +88307,14 @@ { "title": "Properties", "children": [ - 3305, - 3308 + 3359, + 3362 ] } ] }, { - "id": 3309, + "id": 3363, "name": "PaymentProcessorError", "variant": "declaration", "kind": 256, @@ -84364,7 +88329,7 @@ }, "children": [ { - "id": 3310, + "id": 3364, "name": "error", "variant": "declaration", "kind": 1024, @@ -84383,7 +88348,7 @@ } }, { - "id": 3311, + "id": 3365, "name": "code", "variant": "declaration", "kind": 1024, @@ -84404,7 +88369,7 @@ } }, { - "id": 3312, + "id": 3366, "name": "detail", "variant": "declaration", "kind": 1024, @@ -84429,15 +88394,15 @@ { "title": "Properties", "children": [ - 3310, - 3311, - 3312 + 3364, + 3365, + 3366 ] } ] }, { - "id": 3313, + "id": 3367, "name": "PaymentProcessor", "variant": "declaration", "kind": 256, @@ -84534,7 +88499,7 @@ }, { "kind": "text", - "text": " property in the payment processor service is used when the payment processor is added to the database.\n\nThe value of this property is also used to reference the payment processor throughout Medusa.\nFor example, it is used to [add a payment processor](https://docs.medusajs.com/api/admin#regions_postregionsregionpaymentproviders) to a region.\n\n" + "text": " property in the payment processor service is used when the payment processor is added to the database.\n\nThe value of this property is also used to reference the payment processor throughout Medusa.\nFor example, it is used to [add a payment processor](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionpaymentproviders) to a region.\n\n" }, { "kind": "code", @@ -84580,14 +88545,14 @@ }, "children": [ { - "id": 3316, + "id": 3370, "name": "initiatePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3317, + "id": 3371, "name": "initiatePayment", "variant": "signature", "kind": 4096, @@ -84596,7 +88561,7 @@ "summary": [ { "kind": "text", - "text": "This method is called either if a region has only one payment provider enabled or when [a Payment Session is selected](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsession),\nwhich occurs when the customer selects their preferred payment method during checkout.\n\nIt is used to allow you to make any necessary calls to the third-party provider to initialize the payment. For example, in Stripe this method is used to create a Payment Intent for the customer." + "text": "This method is called either if a region has only one payment provider enabled or when [a Payment Session is selected](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsession),\nwhich occurs when the customer selects their preferred payment method during checkout.\n\nIt is used to allow you to make any necessary calls to the third-party provider to initialize the payment. For example, in Stripe this method is used to create a Payment Intent for the customer." } ], "blockTags": [ @@ -84614,7 +88579,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n PaymentContext,\n PaymentSessionResponse,\n // ...\n} from \"@medusajs/medusa\"\n\nclass MyPaymentService extends AbstractPaymentProcessor {\n // ...\n async initiatePayment(\n context: PaymentProcessorContext\n ): Promise<\n PaymentProcessorError | PaymentProcessorSessionResponse\n > {\n // assuming client is an initialized client\n // communicating with a third-party service.\n const clientPayment = await this.client.initiate(context)\n\n return {\n session_data: {\n id: clientPayment.id\n },\n }\n }\n}\n```" + "text": "```ts\nimport {\n PaymentProcessorContext,\n PaymentProcessorSessionResponse,\n // ...\n} from \"@medusajs/medusa\"\n\nclass MyPaymentService extends AbstractPaymentProcessor {\n // ...\n async initiatePayment(\n context: PaymentProcessorContext\n ): Promise<\n PaymentProcessorError | PaymentProcessorSessionResponse\n > {\n // assuming client is an initialized client\n // communicating with a third-party service.\n const clientPayment = await this.client.initiate(context)\n\n return {\n session_data: {\n id: clientPayment.id\n },\n }\n }\n}\n```" } ] } @@ -84622,7 +88587,7 @@ }, "parameters": [ { - "id": 3318, + "id": 3372, "name": "context", "variant": "param", "kind": 32768, @@ -84637,7 +88602,7 @@ }, "type": { "type": "reference", - "target": 3295, + "target": 3349, "name": "PaymentProcessorContext", "package": "@medusajs/medusa" } @@ -84655,13 +88620,13 @@ "types": [ { "type": "reference", - "target": 3309, + "target": 3363, "name": "PaymentProcessorError", "package": "@medusajs/medusa" }, { "type": "reference", - "target": 3304, + "target": 3358, "name": "PaymentProcessorSessionResponse", "package": "@medusajs/medusa" } @@ -84675,14 +88640,14 @@ ] }, { - "id": 3319, + "id": 3373, "name": "updatePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3320, + "id": 3374, "name": "updatePayment", "variant": "signature", "kind": 4096, @@ -84691,7 +88656,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to update the payment session when the payment amount changes. It's called whenever the cart or any of its related data is updated.\nFor example, when a [line item is added to the cart](https://docs.medusajs.com/api/store#carts_postcartscartlineitems) or when a\n[shipping method is selected](https://docs.medusajs.com/api/store#carts_postcartscartshippingmethod)." + "text": "This method is used to update the payment session when the payment amount changes. It's called whenever the cart or any of its related data is updated.\nFor example, when a [line item is added to the cart](https://docs.medusajs.com/v1/api/store#carts_postcartscartlineitems) or when a\n[shipping method is selected](https://docs.medusajs.com/v1/api/store#carts_postcartscartshippingmethod)." } ], "blockTags": [ @@ -84717,7 +88682,7 @@ }, "parameters": [ { - "id": 3321, + "id": 3375, "name": "context", "variant": "param", "kind": 32768, @@ -84732,7 +88697,7 @@ }, "type": { "type": "reference", - "target": 3295, + "target": 3349, "name": "PaymentProcessorContext", "package": "@medusajs/medusa" } @@ -84754,13 +88719,13 @@ }, { "type": "reference", - "target": 3309, + "target": 3363, "name": "PaymentProcessorError", "package": "@medusajs/medusa" }, { "type": "reference", - "target": 3304, + "target": 3358, "name": "PaymentProcessorSessionResponse", "package": "@medusajs/medusa" } @@ -84774,14 +88739,14 @@ ] }, { - "id": 3322, + "id": 3376, "name": "refundPayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3323, + "id": 3377, "name": "refundPayment", "variant": "signature", "kind": 4096, @@ -84790,7 +88755,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to refund an order’s payment. This is typically triggered manually by the store operator from the admin. The refund amount might be the total order amount or part of it.\n\nThis method is also used for refunding payments of a swap or a claim of an order, or when a request is sent to the [Refund Payment API Route](https://docs.medusajs.com/api/admin#payments_postpaymentspaymentrefunds).\n\nYou can utilize this method to interact with the third-party provider and perform any actions necessary to refund the payment." + "text": "This method is used to refund an order’s payment. This is typically triggered manually by the store operator from the admin. The refund amount might be the total order amount or part of it.\n\nThis method is also used for refunding payments of a swap or a claim of an order, or when a request is sent to the [Refund Payment API Route](https://docs.medusajs.com/v1/api/admin#payments_postpaymentspaymentrefunds).\n\nYou can utilize this method to interact with the third-party provider and perform any actions necessary to refund the payment." } ], "blockTags": [ @@ -84824,7 +88789,7 @@ }, "parameters": [ { - "id": 3324, + "id": 3378, "name": "paymentSessionData", "variant": "param", "kind": 32768, @@ -84866,7 +88831,7 @@ } }, { - "id": 3325, + "id": 3379, "name": "refundAmount", "variant": "param", "kind": 32768, @@ -84916,7 +88881,7 @@ }, { "type": "reference", - "target": 3309, + "target": 3363, "name": "PaymentProcessorError", "package": "@medusajs/medusa" } @@ -84930,14 +88895,14 @@ ] }, { - "id": 3326, + "id": 3380, "name": "authorizePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3327, + "id": 3381, "name": "authorizePayment", "variant": "signature", "kind": 4096, @@ -84946,7 +88911,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to authorize payment using the Payment Session of an order. This is called when the\n[cart is completed](https://docs.medusajs.com/api/store#carts_postcartscartcomplete) and before the order is created.\n\nThis method is also used for authorizing payments of a swap of an order and when authorizing sessions in a payment collection.\nYou can interact with a third-party provider and perform any actions necessary to authorize the payment.\n\nThe payment authorization might require additional action from the customer before it is declared authorized. Once that additional action is performed,\nthe " + "text": "This method is used to authorize payment using the Payment Session of an order. This is called when the\n[cart is completed](https://docs.medusajs.com/v1/api/store#carts_postcartscartcomplete) and before the order is created.\n\nThis method is also used for authorizing payments of a swap of an order and when authorizing sessions in a payment collection.\nYou can interact with a third-party provider and perform any actions necessary to authorize the payment.\n\nThe payment authorization might require additional action from the customer before it is declared authorized. Once that additional action is performed,\nthe " }, { "kind": "code", @@ -84968,7 +88933,7 @@ "kind": "inline-tag", "tag": "@link", "text": "getPaymentStatus", - "target": 3345, + "target": 3399, "tsLinkText": "" }, { @@ -85015,7 +88980,7 @@ }, "parameters": [ { - "id": 3328, + "id": 3382, "name": "paymentSessionData", "variant": "param", "kind": 32768, @@ -85057,7 +89022,7 @@ } }, { - "id": 3329, + "id": 3383, "name": "context", "variant": "param", "kind": 32768, @@ -85082,7 +89047,7 @@ }, { "kind": "text", - "text": ": The [Idempotency Key](https://docs.medusajs.com/modules/carts-and-checkout/payment#idempotency-key) that is associated with the current cart. It is useful when retrying payments, retrying checkout at a failed point, or for payments that require additional actions from the customer.\n- " + "text": ": The [Idempotency Key](https://docs.medusajs.com/v1/modules/carts-and-checkout/payment#idempotency-key) that is associated with the current cart. It is useful when retrying payments, retrying checkout at a failed point, or for payments that require additional actions from the customer.\n- " }, { "kind": "code", @@ -85127,21 +89092,21 @@ "types": [ { "type": "reference", - "target": 3309, + "target": 3363, "name": "PaymentProcessorError", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 3330, + "id": 3384, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3331, + "id": 3385, "name": "status", "variant": "declaration", "kind": 1024, @@ -85173,7 +89138,7 @@ } }, { - "id": 3332, + "id": 3386, "name": "data", "variant": "declaration", "kind": 1024, @@ -85227,8 +89192,8 @@ { "title": "Properties", "children": [ - 3331, - 3332 + 3385, + 3386 ] } ] @@ -85244,14 +89209,14 @@ ] }, { - "id": 3333, + "id": 3387, "name": "capturePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3334, + "id": 3388, "name": "capturePayment", "variant": "signature", "kind": 4096, @@ -85260,7 +89225,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to capture the payment amount of an order. This is typically triggered manually by the store operator from the admin.\n\nThis method is also used for capturing payments of a swap of an order, or when a request is sent to the [Capture Payment API Route](https://docs.medusajs.com/api/admin#payments_postpaymentspaymentcapture).\n\nYou can utilize this method to interact with the third-party provider and perform any actions necessary to capture the payment." + "text": "This method is used to capture the payment amount of an order. This is typically triggered manually by the store operator from the admin.\n\nThis method is also used for capturing payments of a swap of an order, or when a request is sent to the [Capture Payment API Route](https://docs.medusajs.com/v1/api/admin#payments_postpaymentspaymentcapture).\n\nYou can utilize this method to interact with the third-party provider and perform any actions necessary to capture the payment." } ], "blockTags": [ @@ -85294,7 +89259,7 @@ }, "parameters": [ { - "id": 3335, + "id": 3389, "name": "paymentSessionData", "variant": "param", "kind": 32768, @@ -85367,7 +89332,7 @@ }, { "type": "reference", - "target": 3309, + "target": 3363, "name": "PaymentProcessorError", "package": "@medusajs/medusa" } @@ -85381,14 +89346,14 @@ ] }, { - "id": 3336, + "id": 3390, "name": "deletePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3337, + "id": 3391, "name": "deletePayment", "variant": "signature", "kind": 4096, @@ -85397,7 +89362,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to perform any actions necessary before a Payment Session is deleted. The Payment Session is deleted in one of the following cases:\n\n1. When a request is sent to [delete the Payment Session](https://docs.medusajs.com/api/store#carts_deletecartscartpaymentsessionssession).\n2. When the [Payment Session is refreshed](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsessionssession). The Payment Session is deleted so that a newer one is initialized instead.\n3. When the Payment Processor is no longer available. This generally happens when the store operator removes it from the available Payment Processor in the admin.\n4. When the region of the store is changed based on the cart information and the Payment Processor is not available in the new region." + "text": "This method is used to perform any actions necessary before a Payment Session is deleted. The Payment Session is deleted in one of the following cases:\n\n1. When a request is sent to [delete the Payment Session](https://docs.medusajs.com/v1/api/store#carts_deletecartscartpaymentsessionssession).\n2. When the [Payment Session is refreshed](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsessionssession). The Payment Session is deleted so that a newer one is initialized instead.\n3. When the Payment Processor is no longer available. This generally happens when the store operator removes it from the available Payment Processor in the admin.\n4. When the region of the store is changed based on the cart information and the Payment Processor is not available in the new region." } ], "blockTags": [ @@ -85423,7 +89388,7 @@ }, "parameters": [ { - "id": 3338, + "id": 3392, "name": "paymentSessionData", "variant": "param", "kind": 32768, @@ -85496,7 +89461,7 @@ }, { "type": "reference", - "target": 3309, + "target": 3363, "name": "PaymentProcessorError", "package": "@medusajs/medusa" } @@ -85510,14 +89475,14 @@ ] }, { - "id": 3339, + "id": 3393, "name": "retrievePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3340, + "id": 3394, "name": "retrievePayment", "variant": "signature", "kind": 4096, @@ -85552,7 +89517,7 @@ }, "parameters": [ { - "id": 3341, + "id": 3395, "name": "paymentSessionData", "variant": "param", "kind": 32768, @@ -85633,7 +89598,7 @@ }, { "type": "reference", - "target": 3309, + "target": 3363, "name": "PaymentProcessorError", "package": "@medusajs/medusa" } @@ -85647,14 +89612,14 @@ ] }, { - "id": 3342, + "id": 3396, "name": "cancelPayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3343, + "id": 3397, "name": "cancelPayment", "variant": "signature", "kind": 4096, @@ -85697,7 +89662,7 @@ }, "parameters": [ { - "id": 3344, + "id": 3398, "name": "paymentSessionData", "variant": "param", "kind": 32768, @@ -85770,7 +89735,7 @@ }, { "type": "reference", - "target": 3309, + "target": 3363, "name": "PaymentProcessorError", "package": "@medusajs/medusa" } @@ -85784,14 +89749,14 @@ ] }, { - "id": 3345, + "id": 3399, "name": "getPaymentStatus", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3346, + "id": 3400, "name": "getPaymentStatus", "variant": "signature", "kind": 4096, @@ -85834,7 +89799,7 @@ }, "parameters": [ { - "id": 3347, + "id": 3401, "name": "paymentSessionData", "variant": "param", "kind": 32768, @@ -85900,14 +89865,14 @@ ] }, { - "id": 3348, + "id": 3402, "name": "updatePaymentData", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3349, + "id": 3403, "name": "updatePaymentData", "variant": "signature", "kind": 4096, @@ -85924,7 +89889,7 @@ }, { "kind": "text", - "text": " field of a payment session. It's called when a request is sent to the\n[Update Payment Session API Route](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsessionupdate), or when the " + "text": " field of a payment session. It's called when a request is sent to the\n[Update Payment Session API Route](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsessionupdate), or when the " }, { "kind": "code", @@ -85974,7 +89939,7 @@ }, "parameters": [ { - "id": 3350, + "id": 3404, "name": "sessionId", "variant": "param", "kind": 32768, @@ -85993,7 +89958,7 @@ } }, { - "id": 3351, + "id": 3405, "name": "data", "variant": "param", "kind": 32768, @@ -86058,7 +90023,7 @@ }, { "type": "reference", - "target": 3309, + "target": 3363, "name": "PaymentProcessorError", "package": "@medusajs/medusa" } @@ -86076,29 +90041,29 @@ { "title": "Methods", "children": [ - 3316, - 3319, - 3322, - 3326, - 3333, - 3336, - 3339, - 3342, - 3345, - 3348 + 3370, + 3373, + 3376, + 3380, + 3387, + 3390, + 3393, + 3396, + 3399, + 3402 ] } ], "implementedBy": [ { "type": "reference", - "target": 3352, + "target": 3406, "name": "AbstractPaymentProcessor" } ] }, { - "id": 3352, + "id": 3406, "name": "AbstractPaymentProcessor", "variant": "declaration", "kind": 128, @@ -86197,7 +90162,7 @@ }, { "kind": "text", - "text": " property in the payment processor service is used when the payment processor is added to the database.\n\nThe value of this property is also used to reference the payment processor throughout Medusa.\nFor example, it is used to [add a payment processor](https://docs.medusajs.com/api/admin#regions_postregionsregionpaymentproviders) to a region.\n\n" + "text": " property in the payment processor service is used when the payment processor is added to the database.\n\nThe value of this property is also used to reference the payment processor throughout Medusa.\nFor example, it is used to [add a payment processor](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionpaymentproviders) to a region.\n\n" }, { "kind": "code", @@ -86243,7 +90208,7 @@ }, "children": [ { - "id": 3358, + "id": 3412, "name": "constructor", "variant": "declaration", "kind": 512, @@ -86252,7 +90217,7 @@ }, "signatures": [ { - "id": 3359, + "id": 3413, "name": "new AbstractPaymentProcessor", "variant": "signature", "kind": 16384, @@ -86269,7 +90234,7 @@ }, { "kind": "text", - "text": " of your Payment Processor to have access to different services in Medusa through [dependency injection](https://docs.medusajs.com/development/fundamentals/dependency-injection).\n\nYou can also use the constructor to initialize your integration with the third-party provider. For example, if you use a client to connect to the third-party provider’s APIs,\nyou can initialize it in the constructor and use it in other methods in the service.\n\nAdditionally, if you’re creating your Payment Processor as an external plugin to be installed on any Medusa backend and you want to access the options added for the plugin,\nyou can access it in the constructor. The options are passed as a second parameter." + "text": " of your Payment Processor to have access to different services in Medusa through [dependency injection](https://docs.medusajs.com/v1/development/fundamentals/dependency-injection).\n\nYou can also use the constructor to initialize your integration with the third-party provider. For example, if you use a client to connect to the third-party provider’s APIs,\nyou can initialize it in the constructor and use it in other methods in the service.\n\nAdditionally, if you’re creating your Payment Processor as an external plugin to be installed on any Medusa backend and you want to access the options added for the plugin,\nyou can access it in the constructor. The options are passed as a second parameter." } ], "blockTags": [ @@ -86286,7 +90251,7 @@ }, "parameters": [ { - "id": 3360, + "id": 3414, "name": "container", "variant": "param", "kind": 32768, @@ -86303,7 +90268,7 @@ }, { "kind": "text", - "text": " that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/development/fundamentals/dependency-injection)" + "text": " that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/v1/development/fundamentals/dependency-injection)" } ] }, @@ -86328,7 +90293,7 @@ } }, { - "id": 3361, + "id": 3415, "name": "config", "variant": "param", "kind": 32768, @@ -86339,7 +90304,7 @@ "summary": [ { "kind": "text", - "text": "If this fulfillment provider is created in a plugin, the plugin's options are passed in this parameter." + "text": "If this payment processor is created in a plugin, the plugin's options are passed in this parameter." } ] }, @@ -86366,7 +90331,7 @@ ], "type": { "type": "reference", - "target": 3352, + "target": 3406, "name": "AbstractPaymentProcessor", "package": "@medusajs/medusa" } @@ -86374,7 +90339,7 @@ ] }, { - "id": 3362, + "id": 3416, "name": "container", "variant": "declaration", "kind": 1024, @@ -86394,7 +90359,7 @@ }, { "kind": "text", - "text": " that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/development/fundamentals/dependency-injection)" + "text": " that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/v1/development/fundamentals/dependency-injection)" } ] }, @@ -86419,7 +90384,7 @@ } }, { - "id": 3363, + "id": 3417, "name": "config", "variant": "declaration", "kind": 1024, @@ -86432,7 +90397,7 @@ "summary": [ { "kind": "text", - "text": "If this fulfillment provider is created in a plugin, the plugin's options are passed in this parameter." + "text": "If this payment processor is created in a plugin, the plugin's options are passed in this parameter." } ] }, @@ -86457,56 +90422,7 @@ } }, { - "id": 3353, - "name": "_isPaymentProcessor", - "variant": "declaration", - "kind": 1024, - "flags": { - "isStatic": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "true" - }, - { - "id": 3354, - "name": "isPaymentProcessor", - "variant": "declaration", - "kind": 2048, - "flags": { - "isStatic": true - }, - "signatures": [ - { - "id": 3355, - "name": "isPaymentProcessor", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3356, - "name": "object", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 3357, + "id": 3411, "name": "identifier", "variant": "declaration", "kind": 1024, @@ -86550,7 +90466,7 @@ }, { "kind": "text", - "text": " property in the payment processor service is used when the payment processor is added to the database.\n\nThe value of this property is also used to reference the payment processor throughout Medusa.\nFor example, it is used to [add a payment processor](https://docs.medusajs.com/api/admin#regions_postregionsregionpaymentproviders) to a region.\n\n" + "text": " property in the payment processor service is used when the payment processor is added to the database.\n\nThe value of this property is also used to reference the payment processor throughout Medusa.\nFor example, it is used to [add a payment processor](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionpaymentproviders) to a region.\n\n" }, { "kind": "code", @@ -86564,7 +90480,7 @@ } }, { - "id": 3366, + "id": 3420, "name": "capturePayment", "variant": "declaration", "kind": 2048, @@ -86573,7 +90489,7 @@ }, "signatures": [ { - "id": 3367, + "id": 3421, "name": "capturePayment", "variant": "signature", "kind": 4096, @@ -86582,7 +90498,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to capture the payment amount of an order. This is typically triggered manually by the store operator from the admin.\n\nThis method is also used for capturing payments of a swap of an order, or when a request is sent to the [Capture Payment API Route](https://docs.medusajs.com/api/admin#payments_postpaymentspaymentcapture).\n\nYou can utilize this method to interact with the third-party provider and perform any actions necessary to capture the payment." + "text": "This method is used to capture the payment amount of an order. This is typically triggered manually by the store operator from the admin.\n\nThis method is also used for capturing payments of a swap of an order, or when a request is sent to the [Capture Payment API Route](https://docs.medusajs.com/v1/api/admin#payments_postpaymentspaymentcapture).\n\nYou can utilize this method to interact with the third-party provider and perform any actions necessary to capture the payment." } ], "blockTags": [ @@ -86616,7 +90532,7 @@ }, "parameters": [ { - "id": 3368, + "id": 3422, "name": "paymentSessionData", "variant": "param", "kind": 32768, @@ -86689,7 +90605,7 @@ }, { "type": "reference", - "target": 3309, + "target": 3363, "name": "PaymentProcessorError", "package": "@medusajs/medusa" } @@ -86701,19 +90617,19 @@ }, "implementationOf": { "type": "reference", - "target": 3334, + "target": 3388, "name": "PaymentProcessor.capturePayment" } } ], "implementationOf": { "type": "reference", - "target": 3333, + "target": 3387, "name": "PaymentProcessor.capturePayment" } }, { - "id": 3369, + "id": 3423, "name": "authorizePayment", "variant": "declaration", "kind": 2048, @@ -86722,7 +90638,7 @@ }, "signatures": [ { - "id": 3370, + "id": 3424, "name": "authorizePayment", "variant": "signature", "kind": 4096, @@ -86731,7 +90647,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to authorize payment using the Payment Session of an order. This is called when the\n[cart is completed](https://docs.medusajs.com/api/store#carts_postcartscartcomplete) and before the order is created.\n\nThis method is also used for authorizing payments of a swap of an order and when authorizing sessions in a payment collection.\nYou can interact with a third-party provider and perform any actions necessary to authorize the payment.\n\nThe payment authorization might require additional action from the customer before it is declared authorized. Once that additional action is performed,\nthe " + "text": "This method is used to authorize payment using the Payment Session of an order. This is called when the\n[cart is completed](https://docs.medusajs.com/v1/api/store#carts_postcartscartcomplete) and before the order is created.\n\nThis method is also used for authorizing payments of a swap of an order and when authorizing sessions in a payment collection.\nYou can interact with a third-party provider and perform any actions necessary to authorize the payment.\n\nThe payment authorization might require additional action from the customer before it is declared authorized. Once that additional action is performed,\nthe " }, { "kind": "code", @@ -86753,7 +90669,7 @@ "kind": "inline-tag", "tag": "@link", "text": "getPaymentStatus", - "target": 3345, + "target": 3399, "tsLinkText": "" }, { @@ -86800,7 +90716,7 @@ }, "parameters": [ { - "id": 3371, + "id": 3425, "name": "paymentSessionData", "variant": "param", "kind": 32768, @@ -86842,7 +90758,7 @@ } }, { - "id": 3372, + "id": 3426, "name": "context", "variant": "param", "kind": 32768, @@ -86867,7 +90783,7 @@ }, { "kind": "text", - "text": ": The [Idempotency Key](https://docs.medusajs.com/modules/carts-and-checkout/payment#idempotency-key) that is associated with the current cart. It is useful when retrying payments, retrying checkout at a failed point, or for payments that require additional actions from the customer.\n- " + "text": ": The [Idempotency Key](https://docs.medusajs.com/v1/modules/carts-and-checkout/payment#idempotency-key) that is associated with the current cart. It is useful when retrying payments, retrying checkout at a failed point, or for payments that require additional actions from the customer.\n- " }, { "kind": "code", @@ -86912,21 +90828,21 @@ "types": [ { "type": "reference", - "target": 3309, + "target": 3363, "name": "PaymentProcessorError", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 3373, + "id": 3427, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3374, + "id": 3428, "name": "status", "variant": "declaration", "kind": 1024, @@ -86942,7 +90858,7 @@ } }, { - "id": 3375, + "id": 3429, "name": "data", "variant": "declaration", "kind": 1024, @@ -86972,8 +90888,8 @@ { "title": "Properties", "children": [ - 3374, - 3375 + 3428, + 3429 ] } ] @@ -86987,19 +90903,19 @@ }, "implementationOf": { "type": "reference", - "target": 3327, + "target": 3381, "name": "PaymentProcessor.authorizePayment" } } ], "implementationOf": { "type": "reference", - "target": 3326, + "target": 3380, "name": "PaymentProcessor.authorizePayment" } }, { - "id": 3376, + "id": 3430, "name": "cancelPayment", "variant": "declaration", "kind": 2048, @@ -87008,7 +90924,7 @@ }, "signatures": [ { - "id": 3377, + "id": 3431, "name": "cancelPayment", "variant": "signature", "kind": 4096, @@ -87051,7 +90967,7 @@ }, "parameters": [ { - "id": 3378, + "id": 3432, "name": "paymentSessionData", "variant": "param", "kind": 32768, @@ -87124,7 +91040,7 @@ }, { "type": "reference", - "target": 3309, + "target": 3363, "name": "PaymentProcessorError", "package": "@medusajs/medusa" } @@ -87136,19 +91052,19 @@ }, "implementationOf": { "type": "reference", - "target": 3343, + "target": 3397, "name": "PaymentProcessor.cancelPayment" } } ], "implementationOf": { "type": "reference", - "target": 3342, + "target": 3396, "name": "PaymentProcessor.cancelPayment" } }, { - "id": 3379, + "id": 3433, "name": "initiatePayment", "variant": "declaration", "kind": 2048, @@ -87157,7 +91073,7 @@ }, "signatures": [ { - "id": 3380, + "id": 3434, "name": "initiatePayment", "variant": "signature", "kind": 4096, @@ -87166,7 +91082,7 @@ "summary": [ { "kind": "text", - "text": "This method is called either if a region has only one payment provider enabled or when [a Payment Session is selected](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsession),\nwhich occurs when the customer selects their preferred payment method during checkout.\n\nIt is used to allow you to make any necessary calls to the third-party provider to initialize the payment. For example, in Stripe this method is used to create a Payment Intent for the customer." + "text": "This method is called either if a region has only one payment provider enabled or when [a Payment Session is selected](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsession),\nwhich occurs when the customer selects their preferred payment method during checkout.\n\nIt is used to allow you to make any necessary calls to the third-party provider to initialize the payment. For example, in Stripe this method is used to create a Payment Intent for the customer." } ], "blockTags": [ @@ -87184,7 +91100,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n PaymentContext,\n PaymentSessionResponse,\n // ...\n} from \"@medusajs/medusa\"\n\nclass MyPaymentService extends AbstractPaymentProcessor {\n // ...\n async initiatePayment(\n context: PaymentProcessorContext\n ): Promise<\n PaymentProcessorError | PaymentProcessorSessionResponse\n > {\n // assuming client is an initialized client\n // communicating with a third-party service.\n const clientPayment = await this.client.initiate(context)\n\n return {\n session_data: {\n id: clientPayment.id\n },\n }\n }\n}\n```" + "text": "```ts\nimport {\n PaymentProcessorContext,\n PaymentProcessorSessionResponse,\n // ...\n} from \"@medusajs/medusa\"\n\nclass MyPaymentService extends AbstractPaymentProcessor {\n // ...\n async initiatePayment(\n context: PaymentProcessorContext\n ): Promise<\n PaymentProcessorError | PaymentProcessorSessionResponse\n > {\n // assuming client is an initialized client\n // communicating with a third-party service.\n const clientPayment = await this.client.initiate(context)\n\n return {\n session_data: {\n id: clientPayment.id\n },\n }\n }\n}\n```" } ] } @@ -87192,7 +91108,7 @@ }, "parameters": [ { - "id": 3381, + "id": 3435, "name": "context", "variant": "param", "kind": 32768, @@ -87207,7 +91123,7 @@ }, "type": { "type": "reference", - "target": 3295, + "target": 3349, "name": "PaymentProcessorContext", "package": "@medusajs/medusa" } @@ -87225,13 +91141,13 @@ "types": [ { "type": "reference", - "target": 3309, + "target": 3363, "name": "PaymentProcessorError", "package": "@medusajs/medusa" }, { "type": "reference", - "target": 3304, + "target": 3358, "name": "PaymentProcessorSessionResponse", "package": "@medusajs/medusa" } @@ -87243,19 +91159,19 @@ }, "implementationOf": { "type": "reference", - "target": 3317, + "target": 3371, "name": "PaymentProcessor.initiatePayment" } } ], "implementationOf": { "type": "reference", - "target": 3316, + "target": 3370, "name": "PaymentProcessor.initiatePayment" } }, { - "id": 3382, + "id": 3436, "name": "deletePayment", "variant": "declaration", "kind": 2048, @@ -87264,7 +91180,7 @@ }, "signatures": [ { - "id": 3383, + "id": 3437, "name": "deletePayment", "variant": "signature", "kind": 4096, @@ -87273,7 +91189,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to perform any actions necessary before a Payment Session is deleted. The Payment Session is deleted in one of the following cases:\n\n1. When a request is sent to [delete the Payment Session](https://docs.medusajs.com/api/store#carts_deletecartscartpaymentsessionssession).\n2. When the [Payment Session is refreshed](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsessionssession). The Payment Session is deleted so that a newer one is initialized instead.\n3. When the Payment Processor is no longer available. This generally happens when the store operator removes it from the available Payment Processor in the admin.\n4. When the region of the store is changed based on the cart information and the Payment Processor is not available in the new region." + "text": "This method is used to perform any actions necessary before a Payment Session is deleted. The Payment Session is deleted in one of the following cases:\n\n1. When a request is sent to [delete the Payment Session](https://docs.medusajs.com/v1/api/store#carts_deletecartscartpaymentsessionssession).\n2. When the [Payment Session is refreshed](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsessionssession). The Payment Session is deleted so that a newer one is initialized instead.\n3. When the Payment Processor is no longer available. This generally happens when the store operator removes it from the available Payment Processor in the admin.\n4. When the region of the store is changed based on the cart information and the Payment Processor is not available in the new region." } ], "blockTags": [ @@ -87299,7 +91215,7 @@ }, "parameters": [ { - "id": 3384, + "id": 3438, "name": "paymentSessionData", "variant": "param", "kind": 32768, @@ -87372,7 +91288,7 @@ }, { "type": "reference", - "target": 3309, + "target": 3363, "name": "PaymentProcessorError", "package": "@medusajs/medusa" } @@ -87384,19 +91300,19 @@ }, "implementationOf": { "type": "reference", - "target": 3337, + "target": 3391, "name": "PaymentProcessor.deletePayment" } } ], "implementationOf": { "type": "reference", - "target": 3336, + "target": 3390, "name": "PaymentProcessor.deletePayment" } }, { - "id": 3385, + "id": 3439, "name": "getPaymentStatus", "variant": "declaration", "kind": 2048, @@ -87405,7 +91321,7 @@ }, "signatures": [ { - "id": 3386, + "id": 3440, "name": "getPaymentStatus", "variant": "signature", "kind": 4096, @@ -87448,7 +91364,7 @@ }, "parameters": [ { - "id": 3387, + "id": 3441, "name": "paymentSessionData", "variant": "param", "kind": 32768, @@ -87512,19 +91428,19 @@ }, "implementationOf": { "type": "reference", - "target": 3346, + "target": 3400, "name": "PaymentProcessor.getPaymentStatus" } } ], "implementationOf": { "type": "reference", - "target": 3345, + "target": 3399, "name": "PaymentProcessor.getPaymentStatus" } }, { - "id": 3388, + "id": 3442, "name": "refundPayment", "variant": "declaration", "kind": 2048, @@ -87533,7 +91449,7 @@ }, "signatures": [ { - "id": 3389, + "id": 3443, "name": "refundPayment", "variant": "signature", "kind": 4096, @@ -87542,7 +91458,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to refund an order’s payment. This is typically triggered manually by the store operator from the admin. The refund amount might be the total order amount or part of it.\n\nThis method is also used for refunding payments of a swap or a claim of an order, or when a request is sent to the [Refund Payment API Route](https://docs.medusajs.com/api/admin#payments_postpaymentspaymentrefunds).\n\nYou can utilize this method to interact with the third-party provider and perform any actions necessary to refund the payment." + "text": "This method is used to refund an order’s payment. This is typically triggered manually by the store operator from the admin. The refund amount might be the total order amount or part of it.\n\nThis method is also used for refunding payments of a swap or a claim of an order, or when a request is sent to the [Refund Payment API Route](https://docs.medusajs.com/v1/api/admin#payments_postpaymentspaymentrefunds).\n\nYou can utilize this method to interact with the third-party provider and perform any actions necessary to refund the payment." } ], "blockTags": [ @@ -87576,7 +91492,7 @@ }, "parameters": [ { - "id": 3390, + "id": 3444, "name": "paymentSessionData", "variant": "param", "kind": 32768, @@ -87618,7 +91534,7 @@ } }, { - "id": 3391, + "id": 3445, "name": "refundAmount", "variant": "param", "kind": 32768, @@ -87668,7 +91584,7 @@ }, { "type": "reference", - "target": 3309, + "target": 3363, "name": "PaymentProcessorError", "package": "@medusajs/medusa" } @@ -87680,19 +91596,19 @@ }, "implementationOf": { "type": "reference", - "target": 3323, + "target": 3377, "name": "PaymentProcessor.refundPayment" } } ], "implementationOf": { "type": "reference", - "target": 3322, + "target": 3376, "name": "PaymentProcessor.refundPayment" } }, { - "id": 3392, + "id": 3446, "name": "retrievePayment", "variant": "declaration", "kind": 2048, @@ -87701,7 +91617,7 @@ }, "signatures": [ { - "id": 3393, + "id": 3447, "name": "retrievePayment", "variant": "signature", "kind": 4096, @@ -87736,7 +91652,7 @@ }, "parameters": [ { - "id": 3394, + "id": 3448, "name": "paymentSessionData", "variant": "param", "kind": 32768, @@ -87817,7 +91733,7 @@ }, { "type": "reference", - "target": 3309, + "target": 3363, "name": "PaymentProcessorError", "package": "@medusajs/medusa" } @@ -87829,19 +91745,19 @@ }, "implementationOf": { "type": "reference", - "target": 3340, + "target": 3394, "name": "PaymentProcessor.retrievePayment" } } ], "implementationOf": { "type": "reference", - "target": 3339, + "target": 3393, "name": "PaymentProcessor.retrievePayment" } }, { - "id": 3395, + "id": 3449, "name": "updatePayment", "variant": "declaration", "kind": 2048, @@ -87850,7 +91766,7 @@ }, "signatures": [ { - "id": 3396, + "id": 3450, "name": "updatePayment", "variant": "signature", "kind": 4096, @@ -87859,7 +91775,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to update the payment session when the payment amount changes. It's called whenever the cart or any of its related data is updated.\nFor example, when a [line item is added to the cart](https://docs.medusajs.com/api/store#carts_postcartscartlineitems) or when a\n[shipping method is selected](https://docs.medusajs.com/api/store#carts_postcartscartshippingmethod)." + "text": "This method is used to update the payment session when the payment amount changes. It's called whenever the cart or any of its related data is updated.\nFor example, when a [line item is added to the cart](https://docs.medusajs.com/v1/api/store#carts_postcartscartlineitems) or when a\n[shipping method is selected](https://docs.medusajs.com/v1/api/store#carts_postcartscartshippingmethod)." } ], "blockTags": [ @@ -87885,7 +91801,7 @@ }, "parameters": [ { - "id": 3397, + "id": 3451, "name": "context", "variant": "param", "kind": 32768, @@ -87900,7 +91816,7 @@ }, "type": { "type": "reference", - "target": 3295, + "target": 3349, "name": "PaymentProcessorContext", "package": "@medusajs/medusa" } @@ -87922,13 +91838,13 @@ }, { "type": "reference", - "target": 3309, + "target": 3363, "name": "PaymentProcessorError", "package": "@medusajs/medusa" }, { "type": "reference", - "target": 3304, + "target": 3358, "name": "PaymentProcessorSessionResponse", "package": "@medusajs/medusa" } @@ -87940,19 +91856,19 @@ }, "implementationOf": { "type": "reference", - "target": 3320, + "target": 3374, "name": "PaymentProcessor.updatePayment" } } ], "implementationOf": { "type": "reference", - "target": 3319, + "target": 3373, "name": "PaymentProcessor.updatePayment" } }, { - "id": 3398, + "id": 3452, "name": "updatePaymentData", "variant": "declaration", "kind": 2048, @@ -87961,7 +91877,7 @@ }, "signatures": [ { - "id": 3399, + "id": 3453, "name": "updatePaymentData", "variant": "signature", "kind": 4096, @@ -87978,7 +91894,7 @@ }, { "kind": "text", - "text": " field of a payment session. It's called when a request is sent to the\n[Update Payment Session API Route](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsessionupdate), or when the " + "text": " field of a payment session. It's called when a request is sent to the\n[Update Payment Session API Route](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsessionupdate), or when the " }, { "kind": "code", @@ -88028,7 +91944,7 @@ }, "parameters": [ { - "id": 3400, + "id": 3454, "name": "sessionId", "variant": "param", "kind": 32768, @@ -88047,7 +91963,7 @@ } }, { - "id": 3401, + "id": 3455, "name": "data", "variant": "param", "kind": 32768, @@ -88112,7 +92028,7 @@ }, { "type": "reference", - "target": 3309, + "target": 3363, "name": "PaymentProcessorError", "package": "@medusajs/medusa" } @@ -88124,14 +92040,14 @@ }, "implementationOf": { "type": "reference", - "target": 3349, + "target": 3403, "name": "PaymentProcessor.updatePaymentData" } } ], "implementationOf": { "type": "reference", - "target": 3348, + "target": 3402, "name": "PaymentProcessor.updatePaymentData" } } @@ -88140,60 +92056,58 @@ { "title": "Constructors", "children": [ - 3358 + 3412 ] }, { "title": "Properties", "children": [ - 3362, - 3363, - 3353, - 3357 + 3416, + 3417, + 3411 ] }, { "title": "Methods", "children": [ - 3354, - 3366, - 3369, - 3376, - 3379, - 3382, - 3385, - 3388, - 3392, - 3395, - 3398 + 3420, + 3423, + 3430, + 3433, + 3436, + 3439, + 3442, + 3446, + 3449, + 3452 ] } ], "implementedTypes": [ { "type": "reference", - "target": 3313, + "target": 3367, "name": "PaymentProcessor", "package": "@medusajs/medusa" } ] }, { - "id": 3292, + "id": 3346, "name": "isPaymentProcessorError", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 3293, + "id": 3347, "name": "isPaymentProcessorError", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3294, + "id": 3348, "name": "obj", "variant": "param", "kind": 32768, @@ -88210,7 +92124,7 @@ "asserts": false, "targetType": { "type": "reference", - "target": 3309, + "target": 3363, "name": "PaymentProcessorError", "package": "@medusajs/medusa" } @@ -88219,7 +92133,7 @@ ] }, { - "id": 3402, + "id": 3456, "name": "Data", "variant": "declaration", "kind": 2097152, @@ -88245,33 +92159,33 @@ } }, { - "id": 3403, + "id": 3457, "name": "PaymentData", "variant": "declaration", "kind": 2097152, "flags": {}, "type": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } }, { - "id": 3404, + "id": 3458, "name": "PaymentSessionData", "variant": "declaration", "kind": 2097152, "flags": {}, "type": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } }, { - "id": 3405, + "id": 3459, "name": "PaymentContext", "variant": "declaration", "kind": 2097152, @@ -88279,14 +92193,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3406, + "id": 3460, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3407, + "id": 3461, "name": "cart", "variant": "declaration", "kind": 1024, @@ -88294,14 +92208,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3408, + "id": 3462, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3409, + "id": 3463, "name": "context", "variant": "declaration", "kind": 1024, @@ -88327,7 +92241,7 @@ } }, { - "id": 3410, + "id": 3464, "name": "id", "variant": "declaration", "kind": 1024, @@ -88338,7 +92252,7 @@ } }, { - "id": 3411, + "id": 3465, "name": "email", "variant": "declaration", "kind": 1024, @@ -88349,7 +92263,7 @@ } }, { - "id": 3412, + "id": 3466, "name": "shipping_address", "variant": "declaration", "kind": 1024, @@ -88374,7 +92288,7 @@ } }, { - "id": 3413, + "id": 3467, "name": "shipping_methods", "variant": "declaration", "kind": 1024, @@ -88393,7 +92307,7 @@ } }, { - "id": 3414, + "id": 3468, "name": "billing_address", "variant": "declaration", "kind": 1024, @@ -88424,12 +92338,12 @@ { "title": "Properties", "children": [ - 3409, - 3410, - 3411, - 3412, - 3413, - 3414 + 3463, + 3464, + 3465, + 3466, + 3467, + 3468 ] } ] @@ -88437,7 +92351,7 @@ } }, { - "id": 3415, + "id": 3469, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -88448,7 +92362,7 @@ } }, { - "id": 3416, + "id": 3470, "name": "amount", "variant": "declaration", "kind": 1024, @@ -88459,7 +92373,7 @@ } }, { - "id": 3417, + "id": 3471, "name": "resource_id", "variant": "declaration", "kind": 1024, @@ -88470,7 +92384,7 @@ } }, { - "id": 3418, + "id": 3472, "name": "customer", "variant": "declaration", "kind": 1024, @@ -88496,7 +92410,7 @@ } }, { - "id": 3419, + "id": 3473, "name": "paymentSessionData", "variant": "declaration", "kind": 1024, @@ -88526,12 +92440,12 @@ { "title": "Properties", "children": [ - 3407, - 3415, - 3416, - 3417, - 3418, - 3419 + 3461, + 3469, + 3470, + 3471, + 3472, + 3473 ] } ] @@ -88539,7 +92453,7 @@ } }, { - "id": 3420, + "id": 3474, "name": "PaymentSessionResponse", "variant": "declaration", "kind": 2097152, @@ -88547,14 +92461,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3421, + "id": 3475, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3422, + "id": 3476, "name": "update_requests", "variant": "declaration", "kind": 1024, @@ -88562,14 +92476,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3423, + "id": 3477, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3424, + "id": 3478, "name": "customer_metadata", "variant": "declaration", "kind": 1024, @@ -88599,7 +92513,7 @@ { "title": "Properties", "children": [ - 3424 + 3478 ] } ] @@ -88607,7 +92521,7 @@ } }, { - "id": 3425, + "id": 3479, "name": "session_data", "variant": "declaration", "kind": 1024, @@ -88637,8 +92551,8 @@ { "title": "Properties", "children": [ - 3422, - 3425 + 3476, + 3479 ] } ] @@ -88646,7 +92560,7 @@ } }, { - "id": 3426, + "id": 3480, "name": "PaymentService", "variant": "declaration", "kind": 256, @@ -88672,14 +92586,14 @@ }, "children": [ { - "id": 3427, + "id": 3481, "name": "getIdentifier", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3428, + "id": 3482, "name": "getIdentifier", "variant": "signature", "kind": 4096, @@ -88692,14 +92606,14 @@ ] }, { - "id": 3429, + "id": 3483, "name": "getPaymentData", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3430, + "id": 3484, "name": "getPaymentData", "variant": "signature", "kind": 4096, @@ -88725,7 +92639,7 @@ }, "parameters": [ { - "id": 3431, + "id": 3485, "name": "paymentSession", "variant": "param", "kind": 32768, @@ -88750,7 +92664,7 @@ "typeArguments": [ { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -88762,14 +92676,14 @@ ] }, { - "id": 3432, + "id": 3486, "name": "updatePaymentData", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3433, + "id": 3487, "name": "updatePaymentData", "variant": "signature", "kind": 4096, @@ -88795,27 +92709,27 @@ }, "parameters": [ { - "id": 3434, + "id": 3488, "name": "paymentSessionData", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } }, { - "id": 3435, + "id": 3489, "name": "data", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -88830,7 +92744,7 @@ "typeArguments": [ { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -88842,14 +92756,14 @@ ] }, { - "id": 3436, + "id": 3490, "name": "createPayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3437, + "id": 3491, "name": "createPayment", "variant": "signature", "kind": 4096, @@ -88875,7 +92789,7 @@ }, "parameters": [ { - "id": 3438, + "id": 3492, "name": "context", "variant": "param", "kind": 32768, @@ -88902,7 +92816,7 @@ }, { "type": "reference", - "target": 3405, + "target": 3459, "name": "PaymentContext", "package": "@medusajs/medusa" } @@ -88919,7 +92833,7 @@ "typeArguments": [ { "type": "reference", - "target": 3420, + "target": 3474, "name": "PaymentSessionResponse", "package": "@medusajs/medusa" } @@ -88929,7 +92843,7 @@ } }, { - "id": 3439, + "id": 3493, "name": "createPayment", "variant": "signature", "kind": 4096, @@ -88963,7 +92877,7 @@ }, "parameters": [ { - "id": 3440, + "id": 3494, "name": "cart", "variant": "param", "kind": 32768, @@ -88988,7 +92902,7 @@ "typeArguments": [ { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -89000,14 +92914,14 @@ ] }, { - "id": 3441, + "id": 3495, "name": "retrievePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3442, + "id": 3496, "name": "retrievePayment", "variant": "signature", "kind": 4096, @@ -89033,14 +92947,14 @@ }, "parameters": [ { - "id": 3443, + "id": 3497, "name": "paymentData", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -89055,7 +92969,7 @@ "typeArguments": [ { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -89067,34 +92981,34 @@ ] }, { - "id": 3444, + "id": 3498, "name": "updatePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3445, + "id": 3499, "name": "updatePayment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3446, + "id": 3500, "name": "paymentSessionData", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } }, { - "id": 3447, + "id": 3501, "name": "context", "variant": "param", "kind": 32768, @@ -89113,7 +93027,7 @@ }, { "type": "reference", - "target": 3405, + "target": 3459, "name": "PaymentContext", "package": "@medusajs/medusa" } @@ -89133,13 +93047,13 @@ "types": [ { "type": "reference", - "target": 3420, + "target": 3474, "name": "PaymentSessionResponse", "package": "@medusajs/medusa" }, { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -89151,7 +93065,7 @@ } }, { - "id": 3448, + "id": 3502, "name": "updatePayment", "variant": "signature", "kind": 4096, @@ -89177,20 +93091,20 @@ }, "parameters": [ { - "id": 3449, + "id": 3503, "name": "paymentSessionData", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } }, { - "id": 3450, + "id": 3504, "name": "cart", "variant": "param", "kind": 32768, @@ -89215,7 +93129,7 @@ "typeArguments": [ { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -89227,14 +93141,14 @@ ] }, { - "id": 3451, + "id": 3505, "name": "authorizePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3452, + "id": 3506, "name": "authorizePayment", "variant": "signature", "kind": 4096, @@ -89260,7 +93174,7 @@ }, "parameters": [ { - "id": 3453, + "id": 3507, "name": "paymentSession", "variant": "param", "kind": 32768, @@ -89276,14 +93190,14 @@ } }, { - "id": 3454, + "id": 3508, "name": "context", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -89299,27 +93213,27 @@ { "type": "reflection", "declaration": { - "id": 3455, + "id": 3509, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3456, + "id": 3510, "name": "data", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } }, { - "id": 3457, + "id": 3511, "name": "status", "variant": "declaration", "kind": 1024, @@ -89339,8 +93253,8 @@ { "title": "Properties", "children": [ - 3456, - 3457 + 3510, + 3511 ] } ] @@ -89354,14 +93268,14 @@ ] }, { - "id": 3458, + "id": 3512, "name": "capturePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3459, + "id": 3513, "name": "capturePayment", "variant": "signature", "kind": 4096, @@ -89387,7 +93301,7 @@ }, "parameters": [ { - "id": 3460, + "id": 3514, "name": "payment", "variant": "param", "kind": 32768, @@ -89412,7 +93326,7 @@ "typeArguments": [ { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -89424,14 +93338,14 @@ ] }, { - "id": 3461, + "id": 3515, "name": "refundPayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3462, + "id": 3516, "name": "refundPayment", "variant": "signature", "kind": 4096, @@ -89457,7 +93371,7 @@ }, "parameters": [ { - "id": 3463, + "id": 3517, "name": "payment", "variant": "param", "kind": 32768, @@ -89473,7 +93387,7 @@ } }, { - "id": 3464, + "id": 3518, "name": "refundAmount", "variant": "param", "kind": 32768, @@ -89493,7 +93407,7 @@ "typeArguments": [ { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -89505,14 +93419,14 @@ ] }, { - "id": 3465, + "id": 3519, "name": "cancelPayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3466, + "id": 3520, "name": "cancelPayment", "variant": "signature", "kind": 4096, @@ -89538,7 +93452,7 @@ }, "parameters": [ { - "id": 3467, + "id": 3521, "name": "payment", "variant": "param", "kind": 32768, @@ -89563,7 +93477,7 @@ "typeArguments": [ { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -89575,14 +93489,14 @@ ] }, { - "id": 3468, + "id": 3522, "name": "deletePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3469, + "id": 3523, "name": "deletePayment", "variant": "signature", "kind": 4096, @@ -89608,7 +93522,7 @@ }, "parameters": [ { - "id": 3470, + "id": 3524, "name": "paymentSession", "variant": "param", "kind": 32768, @@ -89643,14 +93557,14 @@ ] }, { - "id": 3471, + "id": 3525, "name": "retrieveSavedMethods", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3472, + "id": 3526, "name": "retrieveSavedMethods", "variant": "signature", "kind": 4096, @@ -89676,7 +93590,7 @@ }, "parameters": [ { - "id": 3473, + "id": 3527, "name": "customer", "variant": "param", "kind": 32768, @@ -89703,7 +93617,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -89716,14 +93630,14 @@ ] }, { - "id": 3474, + "id": 3528, "name": "getStatus", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3475, + "id": 3529, "name": "getStatus", "variant": "signature", "kind": 4096, @@ -89749,14 +93663,14 @@ }, "parameters": [ { - "id": 3476, + "id": 3530, "name": "data", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -89786,7 +93700,7 @@ ] }, { - "id": 3477, + "id": 3531, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -89804,12 +93718,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3819, + "target": 3873, "name": "TransactionBaseService.manager_" } }, { - "id": 3478, + "id": 3532, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -89836,12 +93750,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3820, + "target": 3874, "name": "TransactionBaseService.transactionManager_" } }, { - "id": 3479, + "id": 3533, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -89849,7 +93763,7 @@ "isProtected": true }, "getSignature": { - "id": 3480, + "id": 3534, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -89871,12 +93785,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3821, + "target": 3875, "name": "TransactionBaseService.activeManager_" } }, { - "id": 3481, + "id": 3535, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -89890,12 +93804,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3823, + "target": 3877, "name": "TransactionBaseService.__container__" } }, { - "id": 3482, + "id": 3536, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -89925,12 +93839,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3824, + "target": 3878, "name": "TransactionBaseService.__configModule__" } }, { - "id": 3483, + "id": 3537, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -89960,26 +93874,26 @@ }, "inheritedFrom": { "type": "reference", - "target": 3825, + "target": 3879, "name": "TransactionBaseService.__moduleDeclaration__" } }, { - "id": 3484, + "id": 3538, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3485, + "id": 3539, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3486, + "id": 3540, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -90003,19 +93917,19 @@ }, "inheritedFrom": { "type": "reference", - "target": 3827, + "target": 3881, "name": "TransactionBaseService.withTransaction" } } ], "inheritedFrom": { "type": "reference", - "target": 3826, + "target": 3880, "name": "TransactionBaseService.withTransaction" } }, { - "id": 3487, + "id": 3541, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -90024,14 +93938,14 @@ }, "signatures": [ { - "id": 3488, + "id": 3542, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3489, + "id": 3543, "name": "err", "variant": "param", "kind": 32768, @@ -90061,14 +93975,14 @@ { "type": "reflection", "declaration": { - "id": 3490, + "id": 3544, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3491, + "id": 3545, "name": "code", "variant": "declaration", "kind": 1024, @@ -90083,7 +93997,7 @@ { "title": "Properties", "children": [ - 3491 + 3545 ] } ] @@ -90099,19 +94013,19 @@ }, "inheritedFrom": { "type": "reference", - "target": 3830, + "target": 3884, "name": "TransactionBaseService.shouldRetryTransaction_" } } ], "inheritedFrom": { "type": "reference", - "target": 3829, + "target": 3883, "name": "TransactionBaseService.shouldRetryTransaction_" } }, { - "id": 3492, + "id": 3546, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -90120,7 +94034,7 @@ }, "signatures": [ { - "id": 3493, + "id": 3547, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -90146,14 +94060,14 @@ }, "typeParameter": [ { - "id": 3494, + "id": 3548, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 3495, + "id": 3549, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -90162,7 +94076,7 @@ ], "parameters": [ { - "id": 3496, + "id": 3550, "name": "work", "variant": "param", "kind": 32768, @@ -90178,21 +94092,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3497, + "id": 3551, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3498, + "id": 3552, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3499, + "id": 3553, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -90217,7 +94131,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -90232,7 +94146,7 @@ } }, { - "id": 3500, + "id": 3554, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -90262,28 +94176,28 @@ { "type": "reflection", "declaration": { - "id": 3501, + "id": 3555, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3502, + "id": 3556, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3503, + "id": 3557, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -90306,7 +94220,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -90325,7 +94239,7 @@ } }, { - "id": 3504, + "id": 3558, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -90343,28 +94257,28 @@ "type": { "type": "reflection", "declaration": { - "id": 3505, + "id": 3559, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3506, + "id": 3560, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3507, + "id": 3561, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -90387,7 +94301,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -90413,7 +94327,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -90424,14 +94338,14 @@ }, "inheritedFrom": { "type": "reference", - "target": 3835, + "target": 3889, "name": "TransactionBaseService.atomicPhase_" } } ], "inheritedFrom": { "type": "reference", - "target": 3834, + "target": 3888, "name": "TransactionBaseService.atomicPhase_" } } @@ -90440,52 +94354,52 @@ { "title": "Properties", "children": [ - 3477, - 3478, - 3481, - 3482, - 3483 + 3531, + 3532, + 3535, + 3536, + 3537 ] }, { "title": "Accessors", "children": [ - 3479 + 3533 ] }, { "title": "Methods", "children": [ - 3427, - 3429, - 3432, - 3436, - 3441, - 3444, - 3451, - 3458, - 3461, - 3465, - 3468, - 3471, - 3474, - 3484, - 3487, - 3492 + 3481, + 3483, + 3486, + 3490, + 3495, + 3498, + 3505, + 3512, + 3515, + 3519, + 3522, + 3525, + 3528, + 3538, + 3541, + 3546 ] } ], "extendedTypes": [ { "type": "reference", - "target": 3813, + "target": 3867, "name": "TransactionBaseService", "package": "@medusajs/medusa" } ] }, { - "id": 3508, + "id": 3562, "name": "AbstractPaymentService", "variant": "declaration", "kind": 128, @@ -90513,7 +94427,7 @@ }, "children": [ { - "id": 3509, + "id": 3563, "name": "_isPaymentService", "variant": "declaration", "kind": 1024, @@ -90527,7 +94441,7 @@ "defaultValue": "true" }, { - "id": 3514, + "id": 3568, "name": "constructor", "variant": "declaration", "kind": 512, @@ -90536,14 +94450,14 @@ }, "signatures": [ { - "id": 3515, + "id": 3569, "name": "new AbstractPaymentService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 3516, + "id": 3570, "name": "container", "variant": "param", "kind": 32768, @@ -90554,7 +94468,7 @@ } }, { - "id": 3517, + "id": 3571, "name": "config", "variant": "param", "kind": 32768, @@ -90584,25 +94498,25 @@ ], "type": { "type": "reference", - "target": 3508, + "target": 3562, "name": "AbstractPaymentService", "package": "@medusajs/medusa" }, "overwrites": { "type": "reference", - "target": 3815, + "target": 3869, "name": "TransactionBaseService.constructor" } } ], "overwrites": { "type": "reference", - "target": 3814, + "target": 3868, "name": "TransactionBaseService.constructor" } }, { - "id": 3513, + "id": 3567, "name": "identifier", "variant": "declaration", "kind": 1024, @@ -90616,7 +94530,7 @@ } }, { - "id": 3518, + "id": 3572, "name": "getIdentifier", "variant": "declaration", "kind": 2048, @@ -90625,7 +94539,7 @@ }, "signatures": [ { - "id": 3519, + "id": 3573, "name": "getIdentifier", "variant": "signature", "kind": 4096, @@ -90648,7 +94562,7 @@ } }, { - "id": 3520, + "id": 3574, "name": "getPaymentData", "variant": "declaration", "kind": 2048, @@ -90658,7 +94572,7 @@ }, "signatures": [ { - "id": 3521, + "id": 3575, "name": "getPaymentData", "variant": "signature", "kind": 4096, @@ -90674,7 +94588,7 @@ }, "parameters": [ { - "id": 3522, + "id": 3576, "name": "paymentSession", "variant": "param", "kind": 32768, @@ -90707,7 +94621,7 @@ "typeArguments": [ { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -90729,7 +94643,7 @@ } }, { - "id": 3523, + "id": 3577, "name": "updatePaymentData", "variant": "declaration", "kind": 2048, @@ -90739,7 +94653,7 @@ }, "signatures": [ { - "id": 3524, + "id": 3578, "name": "updatePaymentData", "variant": "signature", "kind": 4096, @@ -90755,27 +94669,27 @@ }, "parameters": [ { - "id": 3525, + "id": 3579, "name": "paymentSessionData", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } }, { - "id": 3526, + "id": 3580, "name": "data", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -90790,7 +94704,7 @@ "typeArguments": [ { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -90812,7 +94726,7 @@ } }, { - "id": 3527, + "id": 3581, "name": "createPayment", "variant": "declaration", "kind": 2048, @@ -90822,14 +94736,14 @@ }, "signatures": [ { - "id": 3528, + "id": 3582, "name": "createPayment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3529, + "id": 3583, "name": "context", "variant": "param", "kind": 32768, @@ -90856,7 +94770,7 @@ }, { "type": "reference", - "target": 3405, + "target": 3459, "name": "PaymentContext", "package": "@medusajs/medusa" } @@ -90873,7 +94787,7 @@ "typeArguments": [ { "type": "reference", - "target": 3420, + "target": 3474, "name": "PaymentSessionResponse", "package": "@medusajs/medusa" } @@ -90888,7 +94802,7 @@ } }, { - "id": 3530, + "id": 3584, "name": "createPayment", "variant": "signature", "kind": 4096, @@ -90922,7 +94836,7 @@ }, "parameters": [ { - "id": 3531, + "id": 3585, "name": "cart", "variant": "param", "kind": 32768, @@ -90947,7 +94861,7 @@ "typeArguments": [ { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -90969,7 +94883,7 @@ } }, { - "id": 3532, + "id": 3586, "name": "retrievePayment", "variant": "declaration", "kind": 2048, @@ -90979,7 +94893,7 @@ }, "signatures": [ { - "id": 3533, + "id": 3587, "name": "retrievePayment", "variant": "signature", "kind": 4096, @@ -90995,14 +94909,14 @@ }, "parameters": [ { - "id": 3534, + "id": 3588, "name": "paymentData", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -91017,7 +94931,7 @@ "typeArguments": [ { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -91039,7 +94953,7 @@ } }, { - "id": 3535, + "id": 3589, "name": "updatePayment", "variant": "declaration", "kind": 2048, @@ -91049,7 +94963,7 @@ }, "signatures": [ { - "id": 3536, + "id": 3590, "name": "updatePayment", "variant": "signature", "kind": 4096, @@ -91070,20 +94984,20 @@ }, "parameters": [ { - "id": 3537, + "id": 3591, "name": "paymentSessionData", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } }, { - "id": 3538, + "id": 3592, "name": "context", "variant": "param", "kind": 32768, @@ -91110,7 +95024,7 @@ }, { "type": "reference", - "target": 3405, + "target": 3459, "name": "PaymentContext", "package": "@medusajs/medusa" } @@ -91149,7 +95063,7 @@ }, { "type": "reference", - "target": 3420, + "target": 3474, "name": "PaymentSessionResponse", "package": "@medusajs/medusa" } @@ -91166,7 +95080,7 @@ } }, { - "id": 3539, + "id": 3593, "name": "updatePayment", "variant": "signature", "kind": 4096, @@ -91200,20 +95114,20 @@ }, "parameters": [ { - "id": 3540, + "id": 3594, "name": "paymentSessionData", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } }, { - "id": 3541, + "id": 3595, "name": "cart", "variant": "param", "kind": 32768, @@ -91238,7 +95152,7 @@ "typeArguments": [ { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -91260,7 +95174,7 @@ } }, { - "id": 3542, + "id": 3596, "name": "authorizePayment", "variant": "declaration", "kind": 2048, @@ -91270,7 +95184,7 @@ }, "signatures": [ { - "id": 3543, + "id": 3597, "name": "authorizePayment", "variant": "signature", "kind": 4096, @@ -91286,7 +95200,7 @@ }, "parameters": [ { - "id": 3544, + "id": 3598, "name": "paymentSession", "variant": "param", "kind": 32768, @@ -91310,14 +95224,14 @@ } }, { - "id": 3545, + "id": 3599, "name": "context", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -91333,27 +95247,27 @@ { "type": "reflection", "declaration": { - "id": 3546, + "id": 3600, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3547, + "id": 3601, "name": "data", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } }, { - "id": 3548, + "id": 3602, "name": "status", "variant": "declaration", "kind": 1024, @@ -91373,8 +95287,8 @@ { "title": "Properties", "children": [ - 3547, - 3548 + 3601, + 3602 ] } ] @@ -91398,7 +95312,7 @@ } }, { - "id": 3549, + "id": 3603, "name": "capturePayment", "variant": "declaration", "kind": 2048, @@ -91408,7 +95322,7 @@ }, "signatures": [ { - "id": 3550, + "id": 3604, "name": "capturePayment", "variant": "signature", "kind": 4096, @@ -91434,7 +95348,7 @@ }, "parameters": [ { - "id": 3551, + "id": 3605, "name": "payment", "variant": "param", "kind": 32768, @@ -91467,7 +95381,7 @@ "typeArguments": [ { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -91489,7 +95403,7 @@ } }, { - "id": 3552, + "id": 3606, "name": "refundPayment", "variant": "declaration", "kind": 2048, @@ -91499,7 +95413,7 @@ }, "signatures": [ { - "id": 3553, + "id": 3607, "name": "refundPayment", "variant": "signature", "kind": 4096, @@ -91525,7 +95439,7 @@ }, "parameters": [ { - "id": 3554, + "id": 3608, "name": "payment", "variant": "param", "kind": 32768, @@ -91549,7 +95463,7 @@ } }, { - "id": 3555, + "id": 3609, "name": "refundAmount", "variant": "param", "kind": 32768, @@ -91569,7 +95483,7 @@ "typeArguments": [ { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -91591,7 +95505,7 @@ } }, { - "id": 3556, + "id": 3610, "name": "cancelPayment", "variant": "declaration", "kind": 2048, @@ -91601,7 +95515,7 @@ }, "signatures": [ { - "id": 3557, + "id": 3611, "name": "cancelPayment", "variant": "signature", "kind": 4096, @@ -91627,7 +95541,7 @@ }, "parameters": [ { - "id": 3558, + "id": 3612, "name": "payment", "variant": "param", "kind": 32768, @@ -91660,7 +95574,7 @@ "typeArguments": [ { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -91682,7 +95596,7 @@ } }, { - "id": 3559, + "id": 3613, "name": "deletePayment", "variant": "declaration", "kind": 2048, @@ -91692,7 +95606,7 @@ }, "signatures": [ { - "id": 3560, + "id": 3614, "name": "deletePayment", "variant": "signature", "kind": 4096, @@ -91718,7 +95632,7 @@ }, "parameters": [ { - "id": 3561, + "id": 3615, "name": "paymentSession", "variant": "param", "kind": 32768, @@ -91771,7 +95685,7 @@ } }, { - "id": 3562, + "id": 3616, "name": "retrieveSavedMethods", "variant": "declaration", "kind": 2048, @@ -91780,7 +95694,7 @@ }, "signatures": [ { - "id": 3563, + "id": 3617, "name": "retrieveSavedMethods", "variant": "signature", "kind": 4096, @@ -91806,7 +95720,7 @@ }, "parameters": [ { - "id": 3564, + "id": 3618, "name": "customer", "variant": "param", "kind": 32768, @@ -91841,7 +95755,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -91864,7 +95778,7 @@ } }, { - "id": 3565, + "id": 3619, "name": "getStatus", "variant": "declaration", "kind": 2048, @@ -91874,7 +95788,7 @@ }, "signatures": [ { - "id": 3566, + "id": 3620, "name": "getStatus", "variant": "signature", "kind": 4096, @@ -91900,14 +95814,14 @@ }, "parameters": [ { - "id": 3567, + "id": 3621, "name": "data", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 3402, + "target": 3456, "name": "Data", "package": "@medusajs/medusa" } @@ -91947,7 +95861,7 @@ } }, { - "id": 3568, + "id": 3622, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -91965,7 +95879,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 3819, + "target": 3873, "name": "TransactionBaseService.manager_" }, "implementationOf": { @@ -91975,7 +95889,7 @@ } }, { - "id": 3569, + "id": 3623, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -92002,7 +95916,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 3820, + "target": 3874, "name": "TransactionBaseService.transactionManager_" }, "implementationOf": { @@ -92012,7 +95926,7 @@ } }, { - "id": 3570, + "id": 3624, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -92020,7 +95934,7 @@ "isProtected": true }, "getSignature": { - "id": 3571, + "id": 3625, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -92047,7 +95961,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 3821, + "target": 3875, "name": "TransactionBaseService.activeManager_" }, "implementationOf": { @@ -92057,7 +95971,7 @@ } }, { - "id": 3572, + "id": 3626, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -92071,7 +95985,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 3823, + "target": 3877, "name": "TransactionBaseService.__container__" }, "implementationOf": { @@ -92081,7 +95995,7 @@ } }, { - "id": 3573, + "id": 3627, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -92111,7 +96025,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 3824, + "target": 3878, "name": "TransactionBaseService.__configModule__" }, "implementationOf": { @@ -92121,7 +96035,7 @@ } }, { - "id": 3574, + "id": 3628, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -92151,7 +96065,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 3825, + "target": 3879, "name": "TransactionBaseService.__moduleDeclaration__" }, "implementationOf": { @@ -92161,21 +96075,21 @@ } }, { - "id": 3575, + "id": 3629, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3576, + "id": 3630, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3577, + "id": 3631, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -92199,7 +96113,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 3827, + "target": 3881, "name": "TransactionBaseService.withTransaction" }, "implementationOf": { @@ -92211,7 +96125,7 @@ ], "inheritedFrom": { "type": "reference", - "target": 3826, + "target": 3880, "name": "TransactionBaseService.withTransaction" }, "implementationOf": { @@ -92221,7 +96135,7 @@ } }, { - "id": 3578, + "id": 3632, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -92230,14 +96144,14 @@ }, "signatures": [ { - "id": 3579, + "id": 3633, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3580, + "id": 3634, "name": "err", "variant": "param", "kind": 32768, @@ -92267,14 +96181,14 @@ { "type": "reflection", "declaration": { - "id": 3581, + "id": 3635, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3582, + "id": 3636, "name": "code", "variant": "declaration", "kind": 1024, @@ -92289,7 +96203,7 @@ { "title": "Properties", "children": [ - 3582 + 3636 ] } ] @@ -92305,7 +96219,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 3830, + "target": 3884, "name": "TransactionBaseService.shouldRetryTransaction_" }, "implementationOf": { @@ -92317,7 +96231,7 @@ ], "inheritedFrom": { "type": "reference", - "target": 3829, + "target": 3883, "name": "TransactionBaseService.shouldRetryTransaction_" }, "implementationOf": { @@ -92327,7 +96241,7 @@ } }, { - "id": 3583, + "id": 3637, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -92336,7 +96250,7 @@ }, "signatures": [ { - "id": 3584, + "id": 3638, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -92362,14 +96276,14 @@ }, "typeParameter": [ { - "id": 3585, + "id": 3639, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 3586, + "id": 3640, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -92378,7 +96292,7 @@ ], "parameters": [ { - "id": 3587, + "id": 3641, "name": "work", "variant": "param", "kind": 32768, @@ -92394,21 +96308,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3588, + "id": 3642, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3589, + "id": 3643, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3590, + "id": 3644, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -92433,7 +96347,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -92448,7 +96362,7 @@ } }, { - "id": 3591, + "id": 3645, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -92478,28 +96392,28 @@ { "type": "reflection", "declaration": { - "id": 3592, + "id": 3646, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3593, + "id": 3647, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3594, + "id": 3648, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -92522,7 +96436,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -92541,7 +96455,7 @@ } }, { - "id": 3595, + "id": 3649, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -92559,28 +96473,28 @@ "type": { "type": "reflection", "declaration": { - "id": 3596, + "id": 3650, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3597, + "id": 3651, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3598, + "id": 3652, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -92603,7 +96517,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -92629,7 +96543,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -92640,7 +96554,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 3835, + "target": 3889, "name": "TransactionBaseService.atomicPhase_" }, "implementationOf": { @@ -92652,7 +96566,7 @@ ], "inheritedFrom": { "type": "reference", - "target": 3834, + "target": 3888, "name": "TransactionBaseService.atomicPhase_" }, "implementationOf": { @@ -92666,53 +96580,53 @@ { "title": "Constructors", "children": [ - 3514 + 3568 ] }, { "title": "Properties", "children": [ - 3509, - 3513, - 3568, - 3569, - 3572, - 3573, - 3574 + 3563, + 3567, + 3622, + 3623, + 3626, + 3627, + 3628 ] }, { "title": "Accessors", "children": [ - 3570 + 3624 ] }, { "title": "Methods", "children": [ - 3518, - 3520, - 3523, - 3527, - 3532, - 3535, - 3542, - 3549, - 3552, - 3556, - 3559, - 3562, - 3565, - 3575, - 3578, - 3583 + 3572, + 3574, + 3577, + 3581, + 3586, + 3589, + 3596, + 3603, + 3606, + 3610, + 3613, + 3616, + 3619, + 3629, + 3632, + 3637 ] } ], "extendedTypes": [ { "type": "reference", - "target": 3813, + "target": 3867, "name": "TransactionBaseService", "package": "@medusajs/medusa" } @@ -92720,14 +96634,14 @@ "implementedTypes": [ { "type": "reference", - "target": 4929, + "target": 5041, "name": "\"medusa-interfaces\"", "package": "@medusajs/medusa" } ] }, { - "id": 3599, + "id": 3653, "name": "IPriceSelectionStrategy", "variant": "declaration", "kind": 256, @@ -92766,14 +96680,14 @@ }, "children": [ { - "id": 3600, + "id": 3654, "name": "calculateVariantPrice", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3601, + "id": 3655, "name": "calculateVariantPrice", "variant": "signature", "kind": 4096, @@ -92812,7 +96726,7 @@ }, "parameters": [ { - "id": 3602, + "id": 3656, "name": "data", "variant": "param", "kind": 32768, @@ -92830,14 +96744,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 3603, + "id": 3657, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3604, + "id": 3658, "name": "variantId", "variant": "declaration", "kind": 1024, @@ -92856,7 +96770,7 @@ } }, { - "id": 3605, + "id": 3659, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -92881,8 +96795,8 @@ { "title": "Properties", "children": [ - 3604, - 3605 + 3658, + 3659 ] } ] @@ -92891,7 +96805,7 @@ } }, { - "id": 3606, + "id": 3660, "name": "context", "variant": "param", "kind": 32768, @@ -92906,7 +96820,7 @@ }, "type": { "type": "reference", - "target": 3666, + "target": 3720, "name": "PriceSelectionContext", "package": "@medusajs/medusa" } @@ -92932,7 +96846,7 @@ }, { "type": "reference", - "target": 3681, + "target": 3735, "name": "PriceSelectionResult", "package": "@medusajs/medusa" } @@ -92948,14 +96862,14 @@ ] }, { - "id": 3607, + "id": 3661, "name": "onVariantsPricesUpdate", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3608, + "id": 3662, "name": "onVariantsPricesUpdate", "variant": "signature", "kind": 4096, @@ -92990,7 +96904,7 @@ }, { "kind": "text", - "text": "\n\n:::note\n\nLearn more about the cache service in [this documentation](https://docs.medusajs.com/development/cache/overview).\n\n:::" + "text": "\n\n:::note\n\nLearn more about the cache service in [this documentation](https://docs.medusajs.com/v1/development/cache/overview).\n\n:::" } ] } @@ -92998,7 +96912,7 @@ }, "parameters": [ { - "id": 3609, + "id": 3663, "name": "variantIds", "variant": "param", "kind": 32768, @@ -93039,21 +96953,21 @@ ] }, { - "id": 3610, + "id": 3664, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3611, + "id": 3665, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3612, + "id": 3666, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -93077,14 +96991,14 @@ }, "inheritedFrom": { "type": "reference", - "target": 4932, + "target": 5044, "name": "ITransactionBaseService.withTransaction" } } ], "inheritedFrom": { "type": "reference", - "target": 4931, + "target": 5043, "name": "ITransactionBaseService.withTransaction" } } @@ -93093,16 +97007,16 @@ { "title": "Methods", "children": [ - 3600, - 3607, - 3610 + 3654, + 3661, + 3664 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4930, + "target": 5042, "name": "ITransactionBaseService", "package": "@medusajs/types" } @@ -93110,13 +97024,13 @@ "implementedBy": [ { "type": "reference", - "target": 3613, + "target": 3667, "name": "AbstractPriceSelectionStrategy" } ] }, { - "id": 3613, + "id": 3667, "name": "AbstractPriceSelectionStrategy", "variant": "declaration", "kind": 128, @@ -93125,7 +97039,7 @@ }, "children": [ { - "id": 3618, + "id": 3672, "name": "constructor", "variant": "declaration", "kind": 512, @@ -93134,7 +97048,7 @@ }, "signatures": [ { - "id": 3619, + "id": 3673, "name": "new AbstractPriceSelectionStrategy", "variant": "signature", "kind": 16384, @@ -93168,7 +97082,7 @@ }, "parameters": [ { - "id": 3620, + "id": 3674, "name": "container", "variant": "param", "kind": 32768, @@ -93210,7 +97124,7 @@ } }, { - "id": 3621, + "id": 3675, "name": "config", "variant": "param", "kind": 32768, @@ -93248,25 +97162,25 @@ ], "type": { "type": "reference", - "target": 3613, + "target": 3667, "name": "AbstractPriceSelectionStrategy", "package": "@medusajs/medusa" }, "overwrites": { "type": "reference", - "target": 3815, + "target": 3869, "name": "TransactionBaseService.constructor" } } ], "overwrites": { "type": "reference", - "target": 3814, + "target": 3868, "name": "TransactionBaseService.constructor" } }, { - "id": 3622, + "id": 3676, "name": "container", "variant": "declaration", "kind": 1024, @@ -93311,7 +97225,7 @@ } }, { - "id": 3623, + "id": 3677, "name": "config", "variant": "declaration", "kind": 1024, @@ -93349,7 +97263,7 @@ } }, { - "id": 3624, + "id": 3678, "name": "calculateVariantPrice", "variant": "declaration", "kind": 2048, @@ -93359,7 +97273,7 @@ }, "signatures": [ { - "id": 3625, + "id": 3679, "name": "calculateVariantPrice", "variant": "signature", "kind": 4096, @@ -93398,7 +97312,7 @@ }, "parameters": [ { - "id": 3626, + "id": 3680, "name": "data", "variant": "param", "kind": 32768, @@ -93416,14 +97330,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 3627, + "id": 3681, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3628, + "id": 3682, "name": "variantId", "variant": "declaration", "kind": 1024, @@ -93434,7 +97348,7 @@ } }, { - "id": 3630, + "id": 3684, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -93451,8 +97365,8 @@ { "title": "Properties", "children": [ - 3628, - 3630 + 3682, + 3684 ] } ] @@ -93461,7 +97375,7 @@ } }, { - "id": 3631, + "id": 3685, "name": "context", "variant": "param", "kind": 32768, @@ -93476,7 +97390,7 @@ }, "type": { "type": "reference", - "target": 3666, + "target": 3720, "name": "PriceSelectionContext", "package": "@medusajs/medusa" } @@ -93502,7 +97416,7 @@ }, { "type": "reference", - "target": 3681, + "target": 3735, "name": "PriceSelectionResult", "package": "@medusajs/medusa" } @@ -93516,19 +97430,19 @@ }, "implementationOf": { "type": "reference", - "target": 3601, + "target": 3655, "name": "IPriceSelectionStrategy.calculateVariantPrice" } } ], "implementationOf": { "type": "reference", - "target": 3600, + "target": 3654, "name": "IPriceSelectionStrategy.calculateVariantPrice" } }, { - "id": 3632, + "id": 3686, "name": "onVariantsPricesUpdate", "variant": "declaration", "kind": 2048, @@ -93537,7 +97451,7 @@ }, "signatures": [ { - "id": 3633, + "id": 3687, "name": "onVariantsPricesUpdate", "variant": "signature", "kind": 4096, @@ -93572,7 +97486,7 @@ }, { "kind": "text", - "text": "\n\n:::note\n\nLearn more about the cache service in [this documentation](https://docs.medusajs.com/development/cache/overview).\n\n:::" + "text": "\n\n:::note\n\nLearn more about the cache service in [this documentation](https://docs.medusajs.com/v1/development/cache/overview).\n\n:::" } ] } @@ -93580,7 +97494,7 @@ }, "parameters": [ { - "id": 3634, + "id": 3688, "name": "variantIds", "variant": "param", "kind": 32768, @@ -93619,19 +97533,19 @@ }, "implementationOf": { "type": "reference", - "target": 3608, + "target": 3662, "name": "IPriceSelectionStrategy.onVariantsPricesUpdate" } } ], "implementationOf": { "type": "reference", - "target": 3607, + "target": 3661, "name": "IPriceSelectionStrategy.onVariantsPricesUpdate" } }, { - "id": 3635, + "id": 3689, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -93649,12 +97563,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3819, + "target": 3873, "name": "TransactionBaseService.manager_" } }, { - "id": 3636, + "id": 3690, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -93681,12 +97595,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3820, + "target": 3874, "name": "TransactionBaseService.transactionManager_" } }, { - "id": 3637, + "id": 3691, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -93694,7 +97608,7 @@ "isProtected": true }, "getSignature": { - "id": 3638, + "id": 3692, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -93716,12 +97630,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3821, + "target": 3875, "name": "TransactionBaseService.activeManager_" } }, { - "id": 3639, + "id": 3693, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -93735,12 +97649,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3823, + "target": 3877, "name": "TransactionBaseService.__container__" } }, { - "id": 3640, + "id": 3694, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -93770,12 +97684,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3824, + "target": 3878, "name": "TransactionBaseService.__configModule__" } }, { - "id": 3641, + "id": 3695, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -93805,26 +97719,26 @@ }, "inheritedFrom": { "type": "reference", - "target": 3825, + "target": 3879, "name": "TransactionBaseService.__moduleDeclaration__" } }, { - "id": 3642, + "id": 3696, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3643, + "id": 3697, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3644, + "id": 3698, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -93848,29 +97762,29 @@ }, "inheritedFrom": { "type": "reference", - "target": 3827, + "target": 3881, "name": "TransactionBaseService.withTransaction" }, "implementationOf": { "type": "reference", - "target": 3611, + "target": 3665, "name": "IPriceSelectionStrategy.withTransaction" } } ], "inheritedFrom": { "type": "reference", - "target": 3826, + "target": 3880, "name": "TransactionBaseService.withTransaction" }, "implementationOf": { "type": "reference", - "target": 3610, + "target": 3664, "name": "IPriceSelectionStrategy.withTransaction" } }, { - "id": 3645, + "id": 3699, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -93879,14 +97793,14 @@ }, "signatures": [ { - "id": 3646, + "id": 3700, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3647, + "id": 3701, "name": "err", "variant": "param", "kind": 32768, @@ -93916,14 +97830,14 @@ { "type": "reflection", "declaration": { - "id": 3648, + "id": 3702, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3649, + "id": 3703, "name": "code", "variant": "declaration", "kind": 1024, @@ -93938,7 +97852,7 @@ { "title": "Properties", "children": [ - 3649 + 3703 ] } ] @@ -93954,19 +97868,19 @@ }, "inheritedFrom": { "type": "reference", - "target": 3830, + "target": 3884, "name": "TransactionBaseService.shouldRetryTransaction_" } } ], "inheritedFrom": { "type": "reference", - "target": 3829, + "target": 3883, "name": "TransactionBaseService.shouldRetryTransaction_" } }, { - "id": 3650, + "id": 3704, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -93975,7 +97889,7 @@ }, "signatures": [ { - "id": 3651, + "id": 3705, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -94001,14 +97915,14 @@ }, "typeParameter": [ { - "id": 3652, + "id": 3706, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 3653, + "id": 3707, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -94017,7 +97931,7 @@ ], "parameters": [ { - "id": 3654, + "id": 3708, "name": "work", "variant": "param", "kind": 32768, @@ -94033,21 +97947,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3655, + "id": 3709, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3656, + "id": 3710, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3657, + "id": 3711, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -94072,7 +97986,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -94087,7 +98001,7 @@ } }, { - "id": 3658, + "id": 3712, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -94117,28 +98031,28 @@ { "type": "reflection", "declaration": { - "id": 3659, + "id": 3713, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3660, + "id": 3714, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3661, + "id": 3715, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -94161,7 +98075,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -94180,7 +98094,7 @@ } }, { - "id": 3662, + "id": 3716, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -94198,28 +98112,28 @@ "type": { "type": "reflection", "declaration": { - "id": 3663, + "id": 3717, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3664, + "id": 3718, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3665, + "id": 3719, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -94242,7 +98156,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -94268,7 +98182,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -94279,14 +98193,14 @@ }, "inheritedFrom": { "type": "reference", - "target": 3835, + "target": 3889, "name": "TransactionBaseService.atomicPhase_" } } ], "inheritedFrom": { "type": "reference", - "target": 3834, + "target": 3888, "name": "TransactionBaseService.atomicPhase_" } } @@ -94295,42 +98209,42 @@ { "title": "Constructors", "children": [ - 3618 + 3672 ] }, { "title": "Properties", "children": [ - 3622, - 3623, - 3635, - 3636, - 3639, - 3640, - 3641 + 3676, + 3677, + 3689, + 3690, + 3693, + 3694, + 3695 ] }, { "title": "Accessors", "children": [ - 3637 + 3691 ] }, { "title": "Methods", "children": [ - 3624, - 3632, - 3642, - 3645, - 3650 + 3678, + 3686, + 3696, + 3699, + 3704 ] } ], "extendedTypes": [ { "type": "reference", - "target": 3813, + "target": 3867, "name": "TransactionBaseService", "package": "@medusajs/medusa" } @@ -94338,14 +98252,14 @@ "implementedTypes": [ { "type": "reference", - "target": 3599, + "target": 3653, "name": "IPriceSelectionStrategy", "package": "@medusajs/medusa" } ] }, { - "id": 3666, + "id": 3720, "name": "PriceSelectionContext", "variant": "declaration", "kind": 256, @@ -94360,7 +98274,7 @@ }, "children": [ { - "id": 3667, + "id": 3721, "name": "cart_id", "variant": "declaration", "kind": 1024, @@ -94381,7 +98295,7 @@ } }, { - "id": 3668, + "id": 3722, "name": "customer_id", "variant": "declaration", "kind": 1024, @@ -94402,7 +98316,7 @@ } }, { - "id": 3669, + "id": 3723, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -94423,7 +98337,7 @@ } }, { - "id": 3670, + "id": 3724, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -94460,7 +98374,7 @@ } }, { - "id": 3671, + "id": 3725, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -94481,7 +98395,7 @@ } }, { - "id": 3672, + "id": 3726, "name": "include_discount_prices", "variant": "declaration", "kind": 1024, @@ -94502,7 +98416,7 @@ } }, { - "id": 3673, + "id": 3727, "name": "tax_rates", "variant": "declaration", "kind": 1024, @@ -94513,7 +98427,7 @@ "summary": [ { "kind": "text", - "text": "The tax rates to be applied. This is only used for\n[Tax-Inclusive Pricing](https://docs.medusajs.com/modules/taxes/inclusive-pricing)." + "text": "The tax rates to be applied. This is only used for\n[Tax-Inclusive Pricing](https://docs.medusajs.com/v1/modules/taxes/inclusive-pricing)." } ] }, @@ -94521,14 +98435,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4934, + "target": 5046, "name": "TaxServiceRate", "package": "@medusajs/medusa" } } }, { - "id": 3674, + "id": 3728, "name": "ignore_cache", "variant": "declaration", "kind": 1024, @@ -94553,20 +98467,20 @@ { "title": "Properties", "children": [ - 3667, - 3668, - 3669, - 3670, - 3671, - 3672, - 3673, - 3674 + 3721, + 3722, + 3723, + 3724, + 3725, + 3726, + 3727, + 3728 ] } ] }, { - "id": 4940, + "id": 5052, "name": "DefaultPriceType", "variant": "declaration", "kind": 8, @@ -94581,7 +98495,7 @@ } }, { - "id": 4939, + "id": 5051, "name": "DEFAULT", "variant": "declaration", "kind": 16, @@ -94608,7 +98522,7 @@ } }, { - "id": 3675, + "id": 3729, "name": "PriceType", "variant": "declaration", "kind": 32, @@ -94616,21 +98530,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3676, + "id": 3730, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3679, + "id": 3733, "name": "DEFAULT", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 4939, + "target": 5051, "name": "DEFAULT", "package": "@medusajs/medusa", "qualifiedName": "DefaultPriceType.DEFAULT" @@ -94638,14 +98552,14 @@ "defaultValue": "\"default\"" }, { - "id": 3677, + "id": 3731, "name": "SALE", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 4115, + "target": 4172, "name": "SALE", "package": "@medusajs/medusa", "qualifiedName": "PriceListType.SALE" @@ -94653,14 +98567,14 @@ "defaultValue": "\"sale\"" }, { - "id": 3678, + "id": 3732, "name": "OVERRIDE", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 4116, + "target": 4173, "name": "OVERRIDE", "package": "@medusajs/medusa", "qualifiedName": "PriceListType.OVERRIDE" @@ -94672,9 +98586,9 @@ { "title": "Properties", "children": [ - 3679, - 3677, - 3678 + 3733, + 3731, + 3732 ] } ] @@ -94682,7 +98596,7 @@ } }, { - "id": 3680, + "id": 3734, "name": "PriceType", "variant": "declaration", "kind": 2097152, @@ -94692,13 +98606,13 @@ "types": [ { "type": "reference", - "target": 4940, + "target": 5052, "name": "DefaultPriceType", "package": "@medusajs/medusa" }, { "type": "reference", - "target": 4114, + "target": 4171, "name": "PriceListType", "package": "@medusajs/medusa" } @@ -94706,7 +98620,7 @@ } }, { - "id": 3681, + "id": 3735, "name": "PriceSelectionResult", "variant": "declaration", "kind": 256, @@ -94721,7 +98635,7 @@ }, "children": [ { - "id": 3682, + "id": 3736, "name": "originalPrice", "variant": "declaration", "kind": 1024, @@ -94749,7 +98663,7 @@ } }, { - "id": 3683, + "id": 3737, "name": "originalPriceIncludesTax", "variant": "declaration", "kind": 1024, @@ -94760,7 +98674,7 @@ "summary": [ { "kind": "text", - "text": "Whether the original price includes taxes or not. This is only available\nfor [Tax-Inclusive Pricing](https://docs.medusajs.com/modules/taxes/inclusive-pricing)." + "text": "Whether the original price includes taxes or not. This is only available\nfor [Tax-Inclusive Pricing](https://docs.medusajs.com/v1/modules/taxes/inclusive-pricing)." } ] }, @@ -94779,7 +98693,7 @@ } }, { - "id": 3684, + "id": 3738, "name": "calculatedPrice", "variant": "declaration", "kind": 1024, @@ -94807,7 +98721,7 @@ } }, { - "id": 3685, + "id": 3739, "name": "calculatedPriceIncludesTax", "variant": "declaration", "kind": 1024, @@ -94818,7 +98732,7 @@ "summary": [ { "kind": "text", - "text": "Whether the calculated price includes taxes or not.\nThis is only available for [Tax-Inclusive Pricing](https://docs.medusajs.com/modules/taxes/inclusive-pricing)." + "text": "Whether the calculated price includes taxes or not.\nThis is only available for [Tax-Inclusive Pricing](https://docs.medusajs.com/v1/modules/taxes/inclusive-pricing)." } ] }, @@ -94837,7 +98751,7 @@ } }, { - "id": 3686, + "id": 3740, "name": "calculatedPriceType", "variant": "declaration", "kind": 1024, @@ -94862,13 +98776,13 @@ }, "type": { "type": "reference", - "target": 3680, + "target": 3734, "name": "PriceType", "package": "@medusajs/medusa" } }, { - "id": 3687, + "id": 3741, "name": "prices", "variant": "declaration", "kind": 1024, @@ -94907,18 +98821,18 @@ { "title": "Properties", "children": [ - 3682, - 3683, - 3684, - 3685, - 3686, - 3687 + 3736, + 3737, + 3738, + 3739, + 3740, + 3741 ] } ] }, { - "id": 3688, + "id": 3742, "name": "ITaxCalculationStrategy", "variant": "declaration", "kind": 256, @@ -94973,14 +98887,14 @@ }, "children": [ { - "id": 3689, + "id": 3743, "name": "calculate", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3690, + "id": 3744, "name": "calculate", "variant": "signature", "kind": 4096, @@ -94989,7 +98903,7 @@ "summary": [ { "kind": "text", - "text": "This method calculates the tax amount for a given set of line items under applicable\ntax conditions and calculation contexts.\n\nThis method is used whenever taxes are calculated. If automatic tax calculation is disabled in a region,\nthen it's only triggered when taxes are calculated manually as explained in\n[this guide](https://docs.medusajs.com/modules/taxes/storefront/manual-calculation)." + "text": "This method calculates the tax amount for a given set of line items under applicable\ntax conditions and calculation contexts.\n\nThis method is used whenever taxes are calculated. If automatic tax calculation is disabled in a region,\nthen it's only triggered when taxes are calculated manually as explained in\n[this guide](https://docs.medusajs.com/v1/modules/taxes/storefront/manual-calculation)." } ], "blockTags": [ @@ -95019,7 +98933,7 @@ }, "parameters": [ { - "id": 3691, + "id": 3745, "name": "items", "variant": "param", "kind": 32768, @@ -95046,7 +98960,7 @@ } }, { - "id": 3692, + "id": 3746, "name": "taxLines", "variant": "param", "kind": 32768, @@ -95067,19 +98981,19 @@ { "type": "reference", "target": { - "sourceFileName": "../../../packages/medusa/src/models/line-item-tax-line.ts", - "qualifiedName": "LineItemTaxLine" + "sourceFileName": "../../../packages/medusa/src/models/shipping-method-tax-line.ts", + "qualifiedName": "ShippingMethodTaxLine" }, - "name": "LineItemTaxLine", + "name": "ShippingMethodTaxLine", "package": "@medusajs/medusa" }, { "type": "reference", "target": { - "sourceFileName": "../../../packages/medusa/src/models/shipping-method-tax-line.ts", - "qualifiedName": "ShippingMethodTaxLine" + "sourceFileName": "../../../packages/medusa/src/models/line-item-tax-line.ts", + "qualifiedName": "LineItemTaxLine" }, - "name": "ShippingMethodTaxLine", + "name": "LineItemTaxLine", "package": "@medusajs/medusa" } ] @@ -95087,7 +99001,7 @@ } }, { - "id": 3693, + "id": 3747, "name": "calculationContext", "variant": "param", "kind": 32768, @@ -95102,7 +99016,7 @@ }, "type": { "type": "reference", - "target": 3749, + "target": 3803, "name": "TaxCalculationContext", "package": "@medusajs/medusa" } @@ -95131,20 +99045,20 @@ { "title": "Methods", "children": [ - 3689 + 3743 ] } ], "implementedBy": [ { "type": "reference", - "target": 3694, + "target": 3748, "name": "AbstractTaxCalculationStrategy" } ] }, { - "id": 3694, + "id": 3748, "name": "AbstractTaxCalculationStrategy", "variant": "declaration", "kind": 128, @@ -95153,7 +99067,7 @@ }, "children": [ { - "id": 3699, + "id": 3753, "name": "constructor", "variant": "declaration", "kind": 512, @@ -95162,7 +99076,7 @@ }, "signatures": [ { - "id": 3700, + "id": 3754, "name": "new AbstractTaxCalculationStrategy", "variant": "signature", "kind": 16384, @@ -95196,7 +99110,7 @@ }, "parameters": [ { - "id": 3701, + "id": 3755, "name": "container", "variant": "param", "kind": 32768, @@ -95238,7 +99152,7 @@ } }, { - "id": 3702, + "id": 3756, "name": "config", "variant": "param", "kind": 32768, @@ -95276,25 +99190,25 @@ ], "type": { "type": "reference", - "target": 3694, + "target": 3748, "name": "AbstractTaxCalculationStrategy", "package": "@medusajs/medusa" }, "overwrites": { "type": "reference", - "target": 3815, + "target": 3869, "name": "TransactionBaseService.constructor" } } ], "overwrites": { "type": "reference", - "target": 3814, + "target": 3868, "name": "TransactionBaseService.constructor" } }, { - "id": 3703, + "id": 3757, "name": "container", "variant": "declaration", "kind": 1024, @@ -95339,7 +99253,7 @@ } }, { - "id": 3704, + "id": 3758, "name": "config", "variant": "declaration", "kind": 1024, @@ -95377,7 +99291,7 @@ } }, { - "id": 3705, + "id": 3759, "name": "calculate", "variant": "declaration", "kind": 2048, @@ -95386,7 +99300,7 @@ }, "signatures": [ { - "id": 3706, + "id": 3760, "name": "calculate", "variant": "signature", "kind": 4096, @@ -95395,7 +99309,7 @@ "summary": [ { "kind": "text", - "text": "This method calculates the tax amount for a given set of line items under applicable\ntax conditions and calculation contexts.\n\nThis method is used whenever taxes are calculated. If automatic tax calculation is disabled in a region,\nthen it's only triggered when taxes are calculated manually as explained in\n[this guide](https://docs.medusajs.com/modules/taxes/storefront/manual-calculation)." + "text": "This method calculates the tax amount for a given set of line items under applicable\ntax conditions and calculation contexts.\n\nThis method is used whenever taxes are calculated. If automatic tax calculation is disabled in a region,\nthen it's only triggered when taxes are calculated manually as explained in\n[this guide](https://docs.medusajs.com/v1/modules/taxes/storefront/manual-calculation)." } ], "blockTags": [ @@ -95425,7 +99339,7 @@ }, "parameters": [ { - "id": 3707, + "id": 3761, "name": "items", "variant": "param", "kind": 32768, @@ -95452,7 +99366,7 @@ } }, { - "id": 3708, + "id": 3762, "name": "taxLines", "variant": "param", "kind": 32768, @@ -95473,19 +99387,19 @@ { "type": "reference", "target": { - "sourceFileName": "../../../packages/medusa/src/models/line-item-tax-line.ts", - "qualifiedName": "LineItemTaxLine" + "sourceFileName": "../../../packages/medusa/src/models/shipping-method-tax-line.ts", + "qualifiedName": "ShippingMethodTaxLine" }, - "name": "LineItemTaxLine", + "name": "ShippingMethodTaxLine", "package": "@medusajs/medusa" }, { "type": "reference", "target": { - "sourceFileName": "../../../packages/medusa/src/models/shipping-method-tax-line.ts", - "qualifiedName": "ShippingMethodTaxLine" + "sourceFileName": "../../../packages/medusa/src/models/line-item-tax-line.ts", + "qualifiedName": "LineItemTaxLine" }, - "name": "ShippingMethodTaxLine", + "name": "LineItemTaxLine", "package": "@medusajs/medusa" } ] @@ -95493,7 +99407,7 @@ } }, { - "id": 3709, + "id": 3763, "name": "calculationContext", "variant": "param", "kind": 32768, @@ -95508,7 +99422,7 @@ }, "type": { "type": "reference", - "target": 3749, + "target": 3803, "name": "TaxCalculationContext", "package": "@medusajs/medusa" } @@ -95531,19 +99445,19 @@ }, "implementationOf": { "type": "reference", - "target": 3690, + "target": 3744, "name": "ITaxCalculationStrategy.calculate" } } ], "implementationOf": { "type": "reference", - "target": 3689, + "target": 3743, "name": "ITaxCalculationStrategy.calculate" } }, { - "id": 3710, + "id": 3764, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -95561,12 +99475,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3819, + "target": 3873, "name": "TransactionBaseService.manager_" } }, { - "id": 3711, + "id": 3765, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -95593,12 +99507,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3820, + "target": 3874, "name": "TransactionBaseService.transactionManager_" } }, { - "id": 3712, + "id": 3766, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -95606,7 +99520,7 @@ "isProtected": true }, "getSignature": { - "id": 3713, + "id": 3767, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -95628,12 +99542,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3821, + "target": 3875, "name": "TransactionBaseService.activeManager_" } }, { - "id": 3714, + "id": 3768, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -95647,12 +99561,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3823, + "target": 3877, "name": "TransactionBaseService.__container__" } }, { - "id": 3715, + "id": 3769, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -95682,12 +99596,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3824, + "target": 3878, "name": "TransactionBaseService.__configModule__" } }, { - "id": 3716, + "id": 3770, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -95717,26 +99631,26 @@ }, "inheritedFrom": { "type": "reference", - "target": 3825, + "target": 3879, "name": "TransactionBaseService.__moduleDeclaration__" } }, { - "id": 3717, + "id": 3771, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3718, + "id": 3772, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3719, + "id": 3773, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -95760,19 +99674,19 @@ }, "inheritedFrom": { "type": "reference", - "target": 3827, + "target": 3881, "name": "TransactionBaseService.withTransaction" } } ], "inheritedFrom": { "type": "reference", - "target": 3826, + "target": 3880, "name": "TransactionBaseService.withTransaction" } }, { - "id": 3720, + "id": 3774, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -95781,14 +99695,14 @@ }, "signatures": [ { - "id": 3721, + "id": 3775, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3722, + "id": 3776, "name": "err", "variant": "param", "kind": 32768, @@ -95818,14 +99732,14 @@ { "type": "reflection", "declaration": { - "id": 3723, + "id": 3777, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3724, + "id": 3778, "name": "code", "variant": "declaration", "kind": 1024, @@ -95840,7 +99754,7 @@ { "title": "Properties", "children": [ - 3724 + 3778 ] } ] @@ -95856,19 +99770,19 @@ }, "inheritedFrom": { "type": "reference", - "target": 3830, + "target": 3884, "name": "TransactionBaseService.shouldRetryTransaction_" } } ], "inheritedFrom": { "type": "reference", - "target": 3829, + "target": 3883, "name": "TransactionBaseService.shouldRetryTransaction_" } }, { - "id": 3725, + "id": 3779, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -95877,7 +99791,7 @@ }, "signatures": [ { - "id": 3726, + "id": 3780, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -95903,14 +99817,14 @@ }, "typeParameter": [ { - "id": 3727, + "id": 3781, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 3728, + "id": 3782, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -95919,7 +99833,7 @@ ], "parameters": [ { - "id": 3729, + "id": 3783, "name": "work", "variant": "param", "kind": 32768, @@ -95935,21 +99849,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3730, + "id": 3784, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3731, + "id": 3785, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3732, + "id": 3786, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -95974,7 +99888,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -95989,7 +99903,7 @@ } }, { - "id": 3733, + "id": 3787, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -96019,28 +99933,28 @@ { "type": "reflection", "declaration": { - "id": 3734, + "id": 3788, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3735, + "id": 3789, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3736, + "id": 3790, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -96063,7 +99977,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -96082,7 +99996,7 @@ } }, { - "id": 3737, + "id": 3791, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -96100,28 +100014,28 @@ "type": { "type": "reflection", "declaration": { - "id": 3738, + "id": 3792, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3739, + "id": 3793, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3740, + "id": 3794, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -96144,7 +100058,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -96170,7 +100084,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -96181,14 +100095,14 @@ }, "inheritedFrom": { "type": "reference", - "target": 3835, + "target": 3889, "name": "TransactionBaseService.atomicPhase_" } } ], "inheritedFrom": { "type": "reference", - "target": 3834, + "target": 3888, "name": "TransactionBaseService.atomicPhase_" } } @@ -96197,41 +100111,41 @@ { "title": "Constructors", "children": [ - 3699 + 3753 ] }, { "title": "Properties", "children": [ - 3703, - 3704, - 3710, - 3711, - 3714, - 3715, - 3716 + 3757, + 3758, + 3764, + 3765, + 3768, + 3769, + 3770 ] }, { "title": "Accessors", "children": [ - 3712 + 3766 ] }, { "title": "Methods", "children": [ - 3705, - 3717, - 3720, - 3725 + 3759, + 3771, + 3774, + 3779 ] } ], "extendedTypes": [ { "type": "reference", - "target": 3813, + "target": 3867, "name": "TransactionBaseService", "package": "@medusajs/medusa" } @@ -96239,14 +100153,14 @@ "implementedTypes": [ { "type": "reference", - "target": 3688, + "target": 3742, "name": "ITaxCalculationStrategy", "package": "@medusajs/medusa" } ] }, { - "id": 3741, + "id": 3795, "name": "ShippingTaxCalculationLine", "variant": "declaration", "kind": 2097152, @@ -96262,14 +100176,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3742, + "id": 3796, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3743, + "id": 3797, "name": "shipping_method", "variant": "declaration", "kind": 1024, @@ -96293,7 +100207,7 @@ } }, { - "id": 3744, + "id": 3798, "name": "rates", "variant": "declaration", "kind": 1024, @@ -96310,7 +100224,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4934, + "target": 5046, "name": "TaxServiceRate", "package": "@medusajs/medusa" } @@ -96321,8 +100235,8 @@ { "title": "Properties", "children": [ - 3743, - 3744 + 3797, + 3798 ] } ] @@ -96330,7 +100244,7 @@ } }, { - "id": 3745, + "id": 3799, "name": "ItemTaxCalculationLine", "variant": "declaration", "kind": 2097152, @@ -96346,14 +100260,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3746, + "id": 3800, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3747, + "id": 3801, "name": "item", "variant": "declaration", "kind": 1024, @@ -96377,7 +100291,7 @@ } }, { - "id": 3748, + "id": 3802, "name": "rates", "variant": "declaration", "kind": 1024, @@ -96394,7 +100308,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4934, + "target": 5046, "name": "TaxServiceRate", "package": "@medusajs/medusa" } @@ -96405,8 +100319,8 @@ { "title": "Properties", "children": [ - 3747, - 3748 + 3801, + 3802 ] } ] @@ -96414,7 +100328,7 @@ } }, { - "id": 3749, + "id": 3803, "name": "TaxCalculationContext", "variant": "declaration", "kind": 2097152, @@ -96430,14 +100344,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3750, + "id": 3804, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3751, + "id": 3805, "name": "shipping_address", "variant": "declaration", "kind": 1024, @@ -96470,7 +100384,7 @@ } }, { - "id": 3752, + "id": 3806, "name": "customer", "variant": "declaration", "kind": 1024, @@ -96494,7 +100408,7 @@ } }, { - "id": 3753, + "id": 3807, "name": "region", "variant": "declaration", "kind": 1024, @@ -96518,7 +100432,7 @@ } }, { - "id": 3754, + "id": 3808, "name": "is_return", "variant": "declaration", "kind": 1024, @@ -96537,7 +100451,7 @@ } }, { - "id": 3755, + "id": 3809, "name": "shipping_methods", "variant": "declaration", "kind": 1024, @@ -96564,7 +100478,7 @@ } }, { - "id": 3756, + "id": 3810, "name": "allocation_map", "variant": "declaration", "kind": 1024, @@ -96579,7 +100493,7 @@ }, "type": { "type": "reference", - "target": 4941, + "target": 5053, "name": "LineAllocationsMap", "package": "@medusajs/medusa" } @@ -96589,12 +100503,12 @@ { "title": "Properties", "children": [ - 3751, - 3752, - 3753, - 3754, - 3755, - 3756 + 3805, + 3806, + 3807, + 3808, + 3809, + 3810 ] } ] @@ -96602,7 +100516,7 @@ } }, { - "id": 3757, + "id": 3811, "name": "ITaxService", "variant": "declaration", "kind": 256, @@ -96699,7 +100613,7 @@ }, { "kind": "text", - "text": " property in the tax provider service is used when the tax provider is added to the database.\n\nThe value of this property is also used to reference the tax provider throughout Medusa. For example, it is used to [change the tax provider](https://docs.medusajs.com/modules/taxes/admin/manage-tax-settings#change-tax-provider-of-a-region) to a region.\n\n" + "text": " property in the tax provider service is used when the tax provider is added to the database.\n\nThe value of this property is also used to reference the tax provider throughout Medusa. For example, it is used to [change the tax provider](https://docs.medusajs.com/v1/modules/taxes/admin/manage-tax-settings#change-tax-provider-of-a-region) to a region.\n\n" }, { "kind": "code", @@ -96713,14 +100627,14 @@ }, "children": [ { - "id": 3758, + "id": 3812, "name": "getTaxLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3759, + "id": 3813, "name": "getTaxLines", "variant": "signature", "kind": 4096, @@ -96783,7 +100697,7 @@ }, "parameters": [ { - "id": 3760, + "id": 3814, "name": "itemLines", "variant": "param", "kind": 32768, @@ -96800,14 +100714,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 3745, + "target": 3799, "name": "ItemTaxCalculationLine", "package": "@medusajs/medusa" } } }, { - "id": 3761, + "id": 3815, "name": "shippingLines", "variant": "param", "kind": 32768, @@ -96824,14 +100738,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 3741, + "target": 3795, "name": "ShippingTaxCalculationLine", "package": "@medusajs/medusa" } } }, { - "id": 3762, + "id": 3816, "name": "context", "variant": "param", "kind": 32768, @@ -96846,7 +100760,7 @@ }, "type": { "type": "reference", - "target": 3749, + "target": 3803, "name": "TaxCalculationContext", "package": "@medusajs/medusa" } @@ -96863,7 +100777,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4948, + "target": 5060, "name": "ProviderTaxLine", "package": "@medusajs/medusa" } @@ -96880,20 +100794,20 @@ { "title": "Methods", "children": [ - 3758 + 3812 ] } ], "implementedBy": [ { "type": "reference", - "target": 3763, + "target": 3817, "name": "AbstractTaxService" } ] }, { - "id": 3763, + "id": 3817, "name": "AbstractTaxService", "variant": "declaration", "kind": 128, @@ -96902,7 +100816,7 @@ }, "children": [ { - "id": 3765, + "id": 3819, "name": "identifier", "variant": "declaration", "kind": 1024, @@ -96916,7 +100830,7 @@ } }, { - "id": 3769, + "id": 3823, "name": "constructor", "variant": "declaration", "kind": 512, @@ -96925,7 +100839,7 @@ }, "signatures": [ { - "id": 3770, + "id": 3824, "name": "new AbstractTaxService", "variant": "signature", "kind": 16384, @@ -96959,7 +100873,7 @@ }, "parameters": [ { - "id": 3771, + "id": 3825, "name": "container", "variant": "param", "kind": 32768, @@ -97001,7 +100915,7 @@ } }, { - "id": 3772, + "id": 3826, "name": "config", "variant": "param", "kind": 32768, @@ -97039,25 +100953,25 @@ ], "type": { "type": "reference", - "target": 3763, + "target": 3817, "name": "AbstractTaxService", "package": "@medusajs/medusa" }, "overwrites": { "type": "reference", - "target": 3815, + "target": 3869, "name": "TransactionBaseService.constructor" } } ], "overwrites": { "type": "reference", - "target": 3814, + "target": 3868, "name": "TransactionBaseService.constructor" } }, { - "id": 3773, + "id": 3827, "name": "container", "variant": "declaration", "kind": 1024, @@ -97102,7 +101016,7 @@ } }, { - "id": 3774, + "id": 3828, "name": "config", "variant": "declaration", "kind": 1024, @@ -97140,7 +101054,7 @@ } }, { - "id": 3777, + "id": 3831, "name": "getTaxLines", "variant": "declaration", "kind": 2048, @@ -97150,7 +101064,7 @@ }, "signatures": [ { - "id": 3778, + "id": 3832, "name": "getTaxLines", "variant": "signature", "kind": 4096, @@ -97213,7 +101127,7 @@ }, "parameters": [ { - "id": 3779, + "id": 3833, "name": "itemLines", "variant": "param", "kind": 32768, @@ -97230,14 +101144,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 3745, + "target": 3799, "name": "ItemTaxCalculationLine", "package": "@medusajs/medusa" } } }, { - "id": 3780, + "id": 3834, "name": "shippingLines", "variant": "param", "kind": 32768, @@ -97254,14 +101168,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 3741, + "target": 3795, "name": "ShippingTaxCalculationLine", "package": "@medusajs/medusa" } } }, { - "id": 3781, + "id": 3835, "name": "context", "variant": "param", "kind": 32768, @@ -97276,7 +101190,7 @@ }, "type": { "type": "reference", - "target": 3749, + "target": 3803, "name": "TaxCalculationContext", "package": "@medusajs/medusa" } @@ -97293,7 +101207,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4948, + "target": 5060, "name": "ProviderTaxLine", "package": "@medusajs/medusa" } @@ -97304,19 +101218,19 @@ }, "implementationOf": { "type": "reference", - "target": 3759, + "target": 3813, "name": "ITaxService.getTaxLines" } } ], "implementationOf": { "type": "reference", - "target": 3758, + "target": 3812, "name": "ITaxService.getTaxLines" } }, { - "id": 3782, + "id": 3836, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -97334,12 +101248,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3819, + "target": 3873, "name": "TransactionBaseService.manager_" } }, { - "id": 3783, + "id": 3837, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -97366,12 +101280,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3820, + "target": 3874, "name": "TransactionBaseService.transactionManager_" } }, { - "id": 3784, + "id": 3838, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -97379,7 +101293,7 @@ "isProtected": true }, "getSignature": { - "id": 3785, + "id": 3839, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -97401,12 +101315,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3821, + "target": 3875, "name": "TransactionBaseService.activeManager_" } }, { - "id": 3786, + "id": 3840, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -97420,12 +101334,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3823, + "target": 3877, "name": "TransactionBaseService.__container__" } }, { - "id": 3787, + "id": 3841, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -97455,12 +101369,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 3824, + "target": 3878, "name": "TransactionBaseService.__configModule__" } }, { - "id": 3788, + "id": 3842, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -97490,26 +101404,26 @@ }, "inheritedFrom": { "type": "reference", - "target": 3825, + "target": 3879, "name": "TransactionBaseService.__moduleDeclaration__" } }, { - "id": 3789, + "id": 3843, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3790, + "id": 3844, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3791, + "id": 3845, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -97533,19 +101447,19 @@ }, "inheritedFrom": { "type": "reference", - "target": 3827, + "target": 3881, "name": "TransactionBaseService.withTransaction" } } ], "inheritedFrom": { "type": "reference", - "target": 3826, + "target": 3880, "name": "TransactionBaseService.withTransaction" } }, { - "id": 3792, + "id": 3846, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -97554,14 +101468,14 @@ }, "signatures": [ { - "id": 3793, + "id": 3847, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3794, + "id": 3848, "name": "err", "variant": "param", "kind": 32768, @@ -97591,14 +101505,14 @@ { "type": "reflection", "declaration": { - "id": 3795, + "id": 3849, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3796, + "id": 3850, "name": "code", "variant": "declaration", "kind": 1024, @@ -97613,7 +101527,7 @@ { "title": "Properties", "children": [ - 3796 + 3850 ] } ] @@ -97629,19 +101543,19 @@ }, "inheritedFrom": { "type": "reference", - "target": 3830, + "target": 3884, "name": "TransactionBaseService.shouldRetryTransaction_" } } ], "inheritedFrom": { "type": "reference", - "target": 3829, + "target": 3883, "name": "TransactionBaseService.shouldRetryTransaction_" } }, { - "id": 3797, + "id": 3851, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -97650,7 +101564,7 @@ }, "signatures": [ { - "id": 3798, + "id": 3852, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -97676,14 +101590,14 @@ }, "typeParameter": [ { - "id": 3799, + "id": 3853, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 3800, + "id": 3854, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -97692,7 +101606,7 @@ ], "parameters": [ { - "id": 3801, + "id": 3855, "name": "work", "variant": "param", "kind": 32768, @@ -97708,21 +101622,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3802, + "id": 3856, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3803, + "id": 3857, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3804, + "id": 3858, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -97747,7 +101661,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -97762,7 +101676,7 @@ } }, { - "id": 3805, + "id": 3859, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -97792,28 +101706,28 @@ { "type": "reflection", "declaration": { - "id": 3806, + "id": 3860, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3807, + "id": 3861, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3808, + "id": 3862, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -97836,7 +101750,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -97855,7 +101769,7 @@ } }, { - "id": 3809, + "id": 3863, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -97873,28 +101787,28 @@ "type": { "type": "reflection", "declaration": { - "id": 3810, + "id": 3864, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3811, + "id": 3865, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3812, + "id": 3866, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -97917,7 +101831,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -97943,7 +101857,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -97954,14 +101868,14 @@ }, "inheritedFrom": { "type": "reference", - "target": 3835, + "target": 3889, "name": "TransactionBaseService.atomicPhase_" } } ], "inheritedFrom": { "type": "reference", - "target": 3834, + "target": 3888, "name": "TransactionBaseService.atomicPhase_" } } @@ -97970,42 +101884,42 @@ { "title": "Constructors", "children": [ - 3769 + 3823 ] }, { "title": "Properties", "children": [ - 3765, - 3773, - 3774, - 3782, - 3783, - 3786, - 3787, - 3788 + 3819, + 3827, + 3828, + 3836, + 3837, + 3840, + 3841, + 3842 ] }, { "title": "Accessors", "children": [ - 3784 + 3838 ] }, { "title": "Methods", "children": [ - 3777, - 3789, - 3792, - 3797 + 3831, + 3843, + 3846, + 3851 ] } ], "extendedTypes": [ { "type": "reference", - "target": 3813, + "target": 3867, "name": "TransactionBaseService", "package": "@medusajs/medusa" } @@ -98013,14 +101927,14 @@ "implementedTypes": [ { "type": "reference", - "target": 3757, + "target": 3811, "name": "ITaxService", "package": "@medusajs/medusa" } ] }, { - "id": 3813, + "id": 3867, "name": "TransactionBaseService", "variant": "declaration", "kind": 128, @@ -98029,7 +101943,7 @@ }, "children": [ { - "id": 3819, + "id": 3873, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -98047,7 +101961,7 @@ } }, { - "id": 3820, + "id": 3874, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -98074,7 +101988,7 @@ } }, { - "id": 3821, + "id": 3875, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -98082,7 +101996,7 @@ "isProtected": true }, "getSignature": { - "id": 3822, + "id": 3876, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -98099,7 +102013,7 @@ } }, { - "id": 3814, + "id": 3868, "name": "constructor", "variant": "declaration", "kind": 512, @@ -98108,14 +102022,14 @@ }, "signatures": [ { - "id": 3815, + "id": 3869, "name": "new TransactionBaseService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 3816, + "id": 3870, "name": "__container__", "variant": "param", "kind": 32768, @@ -98126,7 +102040,7 @@ } }, { - "id": 3817, + "id": 3871, "name": "__configModule__", "variant": "param", "kind": 32768, @@ -98154,7 +102068,7 @@ } }, { - "id": 3818, + "id": 3872, "name": "__moduleDeclaration__", "variant": "param", "kind": 32768, @@ -98184,7 +102098,7 @@ ], "type": { "type": "reference", - "target": 3813, + "target": 3867, "name": "TransactionBaseService", "package": "@medusajs/medusa" } @@ -98192,7 +102106,7 @@ ] }, { - "id": 3823, + "id": 3877, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -98206,7 +102120,7 @@ } }, { - "id": 3824, + "id": 3878, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -98236,7 +102150,7 @@ } }, { - "id": 3825, + "id": 3879, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -98266,21 +102180,21 @@ } }, { - "id": 3826, + "id": 3880, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3827, + "id": 3881, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3828, + "id": 3882, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -98306,7 +102220,7 @@ ] }, { - "id": 3829, + "id": 3883, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -98315,14 +102229,14 @@ }, "signatures": [ { - "id": 3830, + "id": 3884, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3831, + "id": 3885, "name": "err", "variant": "param", "kind": 32768, @@ -98352,14 +102266,14 @@ { "type": "reflection", "declaration": { - "id": 3832, + "id": 3886, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3833, + "id": 3887, "name": "code", "variant": "declaration", "kind": 1024, @@ -98374,7 +102288,7 @@ { "title": "Properties", "children": [ - 3833 + 3887 ] } ] @@ -98392,7 +102306,7 @@ ] }, { - "id": 3834, + "id": 3888, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -98401,7 +102315,7 @@ }, "signatures": [ { - "id": 3835, + "id": 3889, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -98427,14 +102341,14 @@ }, "typeParameter": [ { - "id": 3836, + "id": 3890, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 3837, + "id": 3891, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -98443,7 +102357,7 @@ ], "parameters": [ { - "id": 3838, + "id": 3892, "name": "work", "variant": "param", "kind": 32768, @@ -98459,21 +102373,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3839, + "id": 3893, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3840, + "id": 3894, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3841, + "id": 3895, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -98498,7 +102412,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -98513,7 +102427,7 @@ } }, { - "id": 3842, + "id": 3896, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -98543,28 +102457,28 @@ { "type": "reflection", "declaration": { - "id": 3843, + "id": 3897, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3844, + "id": 3898, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3845, + "id": 3899, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -98587,7 +102501,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -98606,7 +102520,7 @@ } }, { - "id": 3846, + "id": 3900, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -98624,28 +102538,28 @@ "type": { "type": "reflection", "declaration": { - "id": 3847, + "id": 3901, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3848, + "id": 3902, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3849, + "id": 3903, "name": "error", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 2781, + "target": 2835, "name": "TError", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -98668,7 +102582,7 @@ }, { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -98694,7 +102608,7 @@ "typeArguments": [ { "type": "reference", - "target": 2780, + "target": 2834, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -98711,128 +102625,109 @@ { "title": "Constructors", "children": [ - 3814 + 3868 ] }, { "title": "Properties", "children": [ - 3819, - 3820, - 3823, - 3824, - 3825 + 3873, + 3874, + 3877, + 3878, + 3879 ] }, { "title": "Accessors", "children": [ - 3821 + 3875 ] }, { "title": "Methods", "children": [ - 3826, - 3829, - 3834 + 3880, + 3883, + 3888 ] } ], "extendedBy": [ { "type": "reference", - "target": 2750, + "target": 2804, "name": "IBatchJobStrategy" }, { "type": "reference", - "target": 2794, + "target": 2848, "name": "AbstractBatchJobStrategy" }, { "type": "reference", - "target": 2870, + "target": 2924, "name": "AbstractCartCompletionStrategy" }, { "type": "reference", - "target": 2916, + "target": 2970, "name": "IFileService" }, { "type": "reference", - "target": 2966, + "target": 3020, "name": "AbstractFileService" }, { "type": "reference", - "target": 3026, + "target": 3080, "name": "FulfillmentService" }, { "type": "reference", - "target": 3103, + "target": 3157, "name": "AbstractFulfillmentService" }, { "type": "reference", - "target": 3195, + "target": 3249, "name": "INotificationService" }, { "type": "reference", - "target": 3237, + "target": 3291, "name": "AbstractNotificationService" }, { "type": "reference", - "target": 3426, + "target": 3480, "name": "PaymentService" }, { "type": "reference", - "target": 3508, + "target": 3562, "name": "AbstractPaymentService" }, { "type": "reference", - "target": 3613, + "target": 3667, "name": "AbstractPriceSelectionStrategy" }, { "type": "reference", - "target": 3694, + "target": 3748, "name": "AbstractTaxCalculationStrategy" }, { "type": "reference", - "target": 3763, + "target": 3817, "name": "AbstractTaxService" } ] }, { - "id": 3850, - "name": "joinerConfig", - "variant": "declaration", - "kind": 32, - "flags": { - "isConst": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 4949, - "name": "ModuleJoinerConfig", - "package": "@medusajs/types" - } - }, - "defaultValue": "..." - }, - { - "id": 5291, + "id": 5392, "name": "HTTP_METHODS", "variant": "declaration", "kind": 32, @@ -98887,7 +102782,7 @@ "defaultValue": "..." }, { - "id": 5187, + "id": 5283, "name": "RouteVerb", "variant": "declaration", "kind": 2097152, @@ -98902,7 +102797,7 @@ "type": "query", "queryType": { "type": "reference", - "target": 5291, + "target": 5392, "name": "HTTP_METHODS", "package": "@medusajs/medusa" } @@ -98910,7 +102805,7 @@ } }, { - "id": 4997, + "id": 5082, "name": "MiddlewareVerb", "variant": "declaration", "kind": 2097152, @@ -98928,7 +102823,7 @@ }, { "type": "reference", - "target": 5187, + "target": 5283, "name": "RouteVerb", "package": "@medusajs/medusa" } @@ -98936,7 +102831,7 @@ } }, { - "id": 4100, + "id": 4157, "name": "MiddlewareFunction", "variant": "declaration", "kind": 2097152, @@ -98946,28 +102841,28 @@ "types": [ { "type": "reference", - "target": 4215, + "target": 4316, "name": "MedusaRequestHandler", "package": "@medusajs/medusa" }, { "type": "reflection", "declaration": { - "id": 4101, + "id": 4158, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4102, + "id": 4159, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4103, + "id": 4160, "name": "args", "variant": "param", "kind": 32768, @@ -98995,7 +102890,7 @@ } }, { - "id": 5001, + "id": 5084, "name": "MedusaErrorHandlerFunction", "variant": "declaration", "kind": 2097152, @@ -99003,21 +102898,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5002, + "id": 5085, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5003, + "id": 5086, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5004, + "id": 5087, "name": "error", "variant": "param", "kind": 32768, @@ -99028,40 +102923,40 @@ } }, { - "id": 5005, + "id": 5088, "name": "req", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 4195, + "target": 4252, "name": "MedusaRequest", "package": "@medusajs/medusa" } }, { - "id": 5006, + "id": 5089, "name": "res", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 4213, + "target": 4313, "name": "MedusaResponse", "package": "@medusajs/medusa" } }, { - "id": 5007, + "id": 5090, "name": "next", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 4214, + "target": 4315, "name": "MedusaNextFunction", "package": "@medusajs/medusa" } @@ -99097,7 +102992,70 @@ } }, { - "id": 4998, + "id": 5284, + "name": "ParserConfigArgs", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 5285, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5286, + "name": "sizeLimit", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 5287, + "name": "preserveRawBody", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5286, + 5287 + ] + } + ] + } + } + }, + { + "id": 5083, "name": "ParserConfig", "variant": "declaration", "kind": 2097152, @@ -99110,52 +103068,16 @@ "value": false }, { - "type": "reflection", - "declaration": { - "id": 4999, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 5000, - "name": "sizeLimit", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 5000 - ] - } - ] - } + "type": "reference", + "target": 5284, + "name": "ParserConfigArgs", + "package": "@medusajs/medusa" } ] } }, { - "id": 4104, + "id": 4161, "name": "MiddlewareRoute", "variant": "declaration", "kind": 2097152, @@ -99163,14 +103085,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4105, + "id": 4162, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4106, + "id": 4163, "name": "method", "variant": "declaration", "kind": 1024, @@ -99182,7 +103104,7 @@ "types": [ { "type": "reference", - "target": 4997, + "target": 5082, "name": "MiddlewareVerb", "package": "@medusajs/medusa" }, @@ -99190,7 +103112,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4997, + "target": 5082, "name": "MiddlewareVerb", "package": "@medusajs/medusa" } @@ -99199,7 +103121,7 @@ } }, { - "id": 4107, + "id": 4164, "name": "matcher", "variant": "declaration", "kind": 1024, @@ -99224,7 +103146,7 @@ } }, { - "id": 4108, + "id": 4165, "name": "bodyParser", "variant": "declaration", "kind": 1024, @@ -99233,13 +103155,13 @@ }, "type": { "type": "reference", - "target": 4998, + "target": 5083, "name": "ParserConfig", "package": "@medusajs/medusa" } }, { - "id": 4109, + "id": 4166, "name": "middlewares", "variant": "declaration", "kind": 1024, @@ -99250,7 +103172,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4100, + "target": 4157, "name": "MiddlewareFunction", "package": "@medusajs/medusa" } @@ -99261,10 +103183,10 @@ { "title": "Properties", "children": [ - 4106, - 4107, - 4108, - 4109 + 4163, + 4164, + 4165, + 4166 ] } ] @@ -99272,7 +103194,7 @@ } }, { - "id": 4110, + "id": 4167, "name": "MiddlewaresConfig", "variant": "declaration", "kind": 2097152, @@ -99280,14 +103202,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4111, + "id": 4168, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4112, + "id": 4169, "name": "errorHandler", "variant": "declaration", "kind": 1024, @@ -99303,7 +103225,7 @@ }, { "type": "reference", - "target": 5001, + "target": 5084, "name": "MedusaErrorHandlerFunction", "package": "@medusajs/medusa" } @@ -99311,7 +103233,7 @@ } }, { - "id": 4113, + "id": 4170, "name": "routes", "variant": "declaration", "kind": 1024, @@ -99322,7 +103244,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4104, + "target": 4161, "name": "MiddlewareRoute", "package": "@medusajs/medusa" } @@ -99333,8 +103255,8 @@ { "title": "Properties", "children": [ - 4112, - 4113 + 4169, + 4170 ] } ] @@ -99342,14 +103264,14 @@ } }, { - "id": 3851, + "id": 3904, "name": "BatchJobStatus", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 3852, + "id": 3905, "name": "CREATED", "variant": "declaration", "kind": 16, @@ -99360,7 +103282,7 @@ } }, { - "id": 3853, + "id": 3906, "name": "PRE_PROCESSED", "variant": "declaration", "kind": 16, @@ -99371,7 +103293,7 @@ } }, { - "id": 3854, + "id": 3907, "name": "CONFIRMED", "variant": "declaration", "kind": 16, @@ -99382,7 +103304,7 @@ } }, { - "id": 3855, + "id": 3908, "name": "PROCESSING", "variant": "declaration", "kind": 16, @@ -99393,7 +103315,7 @@ } }, { - "id": 3856, + "id": 3909, "name": "COMPLETED", "variant": "declaration", "kind": 16, @@ -99404,7 +103326,7 @@ } }, { - "id": 3857, + "id": 3910, "name": "CANCELED", "variant": "declaration", "kind": 16, @@ -99415,7 +103337,7 @@ } }, { - "id": 3858, + "id": 3911, "name": "FAILED", "variant": "declaration", "kind": 16, @@ -99430,19 +103352,19 @@ { "title": "Enumeration Members", "children": [ - 3852, - 3853, - 3854, - 3855, - 3856, - 3857, - 3858 + 3905, + 3906, + 3907, + 3908, + 3909, + 3910, + 3911 ] } ] }, { - "id": 3859, + "id": 3912, "name": "BatchJobUpdateProps", "variant": "declaration", "kind": 2097152, @@ -99493,7 +103415,7 @@ } }, { - "id": 3860, + "id": 3913, "name": "CreateBatchJobInput", "variant": "declaration", "kind": 2097152, @@ -99501,14 +103423,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3861, + "id": 3914, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3862, + "id": 3915, "name": "type", "variant": "declaration", "kind": 1024, @@ -99519,7 +103441,7 @@ } }, { - "id": 3863, + "id": 3916, "name": "context", "variant": "declaration", "kind": 1024, @@ -99542,7 +103464,7 @@ } }, { - "id": 3864, + "id": 3917, "name": "dry_run", "variant": "declaration", "kind": 1024, @@ -99557,9 +103479,9 @@ { "title": "Properties", "children": [ - 3862, - 3863, - 3864 + 3915, + 3916, + 3917 ] } ] @@ -99567,7 +103489,7 @@ } }, { - "id": 3865, + "id": 3918, "name": "BatchJobResultError", "variant": "declaration", "kind": 2097152, @@ -99575,14 +103497,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3866, + "id": 3919, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3867, + "id": 3920, "name": "message", "variant": "declaration", "kind": 1024, @@ -99593,7 +103515,7 @@ } }, { - "id": 3868, + "id": 3921, "name": "code", "variant": "declaration", "kind": 1024, @@ -99617,20 +103539,20 @@ { "title": "Properties", "children": [ - 3867, - 3868 + 3920, + 3921 ] } ], "indexSignature": { - "id": 3869, + "id": 3922, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 3870, + "id": 3923, "name": "key", "variant": "param", "kind": 32768, @@ -99650,7 +103572,7 @@ } }, { - "id": 3871, + "id": 3924, "name": "BatchJobResultStatDescriptor", "variant": "declaration", "kind": 2097152, @@ -99658,14 +103580,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3872, + "id": 3925, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3873, + "id": 3926, "name": "key", "variant": "declaration", "kind": 1024, @@ -99676,7 +103598,7 @@ } }, { - "id": 3874, + "id": 3927, "name": "name", "variant": "declaration", "kind": 1024, @@ -99687,7 +103609,7 @@ } }, { - "id": 3875, + "id": 3928, "name": "message", "variant": "declaration", "kind": 1024, @@ -99702,9 +103624,9 @@ { "title": "Properties", "children": [ - 3873, - 3874, - 3875 + 3926, + 3927, + 3928 ] } ] @@ -99712,28 +103634,28 @@ } }, { - "id": 3876, + "id": 3929, "name": "FilterableBatchJobProps", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 3877, + "id": 3930, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 3878, + "id": 3931, "name": "new FilterableBatchJobProps", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 3876, + "target": 3929, "name": "FilterableBatchJobProps", "package": "@medusajs/medusa" } @@ -99741,7 +103663,7 @@ ] }, { - "id": 3879, + "id": 3932, "name": "id", "variant": "declaration", "kind": 1024, @@ -99766,7 +103688,7 @@ } }, { - "id": 3880, + "id": 3933, "name": "status", "variant": "declaration", "kind": 1024, @@ -99777,14 +103699,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 3851, + "target": 3904, "name": "BatchJobStatus", "package": "@medusajs/medusa" } } }, { - "id": 3881, + "id": 3934, "name": "type", "variant": "declaration", "kind": 1024, @@ -99800,7 +103722,7 @@ } }, { - "id": 3882, + "id": 3935, "name": "created_by", "variant": "declaration", "kind": 1024, @@ -99825,7 +103747,7 @@ } }, { - "id": 3883, + "id": 3936, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -99834,13 +103756,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 3884, + "id": 3937, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -99849,7 +103771,7 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } @@ -99859,24 +103781,24 @@ { "title": "Constructors", "children": [ - 3877 + 3930 ] }, { "title": "Properties", "children": [ - 3879, - 3880, - 3881, - 3882, - 3883, - 3884 + 3932, + 3933, + 3934, + 3935, + 3936, + 3937 ] } ] }, { - "id": 3885, + "id": 3938, "name": "BatchJobCreateProps", "variant": "declaration", "kind": 2097152, @@ -99924,7 +103846,7 @@ } }, { - "id": 3892, + "id": 3946, "name": "WithRequiredProperty", "variant": "declaration", "kind": 2097152, @@ -99939,14 +103861,14 @@ }, "typeParameters": [ { - "id": 3893, + "id": 3947, "name": "T", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 3894, + "id": 3948, "name": "K", "variant": "typeParam", "kind": 131072, @@ -99956,7 +103878,7 @@ "operator": "keyof", "target": { "type": "reference", - "target": 3893, + "target": 3947, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -99969,7 +103891,7 @@ "types": [ { "type": "reference", - "target": 3893, + "target": 3947, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -99979,7 +103901,7 @@ "parameter": "Property", "parameterType": { "type": "reference", - "target": 3894, + "target": 3948, "name": "K", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -99998,7 +103920,7 @@ }, "objectType": { "type": "reference", - "target": 3893, + "target": 3947, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100010,21 +103932,21 @@ } }, { - "id": 3895, + "id": 3949, "name": "PartialPick", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 3896, + "id": 3950, "name": "T", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 3897, + "id": 3951, "name": "K", "variant": "typeParam", "kind": 131072, @@ -100034,7 +103956,7 @@ "operator": "keyof", "target": { "type": "reference", - "target": 3896, + "target": 3950, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100047,7 +103969,7 @@ "parameter": "P", "parameterType": { "type": "reference", - "target": 3897, + "target": 3951, "name": "K", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100066,7 +103988,7 @@ }, "objectType": { "type": "reference", - "target": 3896, + "target": 3950, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100076,14 +103998,14 @@ } }, { - "id": 3898, + "id": 3952, "name": "Writable", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 3899, + "id": 3953, "name": "T", "variant": "typeParam", "kind": 131072, @@ -100098,7 +104020,7 @@ "operator": "keyof", "target": { "type": "reference", - "target": 3899, + "target": 3953, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100121,7 +104043,7 @@ }, "objectType": { "type": "reference", - "target": 3899, + "target": 3953, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100148,7 +104070,7 @@ }, "objectType": { "type": "reference", - "target": 3899, + "target": 3953, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100181,7 +104103,7 @@ }, "objectType": { "type": "reference", - "target": 3899, + "target": 3953, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100216,14 +104138,14 @@ } }, { - "id": 3900, + "id": 3954, "name": "FindConfig", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { - "id": 3901, + "id": 3955, "name": "select", "variant": "declaration", "kind": 1024, @@ -100237,7 +104159,7 @@ "operator": "keyof", "target": { "type": "reference", - "target": 3909, + "target": 3963, "name": "Entity", "package": "@medusajs/medusa", "qualifiedName": "FindConfig.Entity", @@ -100247,7 +104169,7 @@ } }, { - "id": 3902, + "id": 3956, "name": "skip", "variant": "declaration", "kind": 1024, @@ -100260,7 +104182,7 @@ } }, { - "id": 3903, + "id": 3957, "name": "take", "variant": "declaration", "kind": 1024, @@ -100273,7 +104195,7 @@ } }, { - "id": 3904, + "id": 3958, "name": "relations", "variant": "declaration", "kind": 1024, @@ -100289,7 +104211,7 @@ } }, { - "id": 3905, + "id": 3959, "name": "order", "variant": "declaration", "kind": 1024, @@ -100299,20 +104221,20 @@ "type": { "type": "reflection", "declaration": { - "id": 3906, + "id": 3960, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 3907, + "id": 3961, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 3908, + "id": 3962, "name": "K", "variant": "param", "kind": 32768, @@ -100345,17 +104267,17 @@ { "title": "Properties", "children": [ - 3901, - 3902, - 3903, - 3904, - 3905 + 3955, + 3956, + 3957, + 3958, + 3959 ] } ], "typeParameters": [ { - "id": 3909, + "id": 3963, "name": "Entity", "variant": "typeParam", "kind": 131072, @@ -100364,14 +104286,14 @@ ] }, { - "id": 3910, + "id": 3964, "name": "ExtendedFindConfig", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 3918, + "id": 3972, "name": "TEntity", "variant": "typeParam", "kind": 131072, @@ -100400,7 +104322,7 @@ "typeArguments": [ { "type": "reference", - "target": 3918, + "target": 3972, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100446,7 +104368,7 @@ "typeArguments": [ { "type": "reference", - "target": 3918, + "target": 3972, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100481,14 +104403,14 @@ { "type": "reflection", "declaration": { - "id": 3911, + "id": 3965, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3912, + "id": 3966, "name": "select", "variant": "declaration", "kind": 1024, @@ -100504,7 +104426,7 @@ "typeArguments": [ { "type": "reference", - "target": 3918, + "target": 3972, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100515,7 +104437,7 @@ } }, { - "id": 3913, + "id": 3967, "name": "relations", "variant": "declaration", "kind": 1024, @@ -100531,7 +104453,7 @@ "typeArguments": [ { "type": "reference", - "target": 3918, + "target": 3972, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100542,7 +104464,7 @@ } }, { - "id": 3914, + "id": 3968, "name": "where", "variant": "declaration", "kind": 1024, @@ -100559,7 +104481,7 @@ "typeArguments": [ { "type": "reference", - "target": 3918, + "target": 3972, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100579,7 +104501,7 @@ "typeArguments": [ { "type": "reference", - "target": 3918, + "target": 3972, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100593,7 +104515,7 @@ } }, { - "id": 3915, + "id": 3969, "name": "order", "variant": "declaration", "kind": 1024, @@ -100609,7 +104531,7 @@ "typeArguments": [ { "type": "reference", - "target": 3918, + "target": 3972, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100620,7 +104542,7 @@ } }, { - "id": 3916, + "id": 3970, "name": "skip", "variant": "declaration", "kind": 1024, @@ -100633,7 +104555,7 @@ } }, { - "id": 3917, + "id": 3971, "name": "take", "variant": "declaration", "kind": 1024, @@ -100650,12 +104572,12 @@ { "title": "Properties", "children": [ - 3912, - 3913, - 3914, - 3915, - 3916, - 3917 + 3966, + 3967, + 3968, + 3969, + 3970, + 3971 ] } ] @@ -100665,14 +104587,14 @@ } }, { - "id": 3919, + "id": 3973, "name": "QuerySelector", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 3922, + "id": 3976, "name": "TEntity", "variant": "typeParam", "kind": 131072, @@ -100684,11 +104606,11 @@ "types": [ { "type": "reference", - "target": 3927, + "target": 3981, "typeArguments": [ { "type": "reference", - "target": 3922, + "target": 3976, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100700,14 +104622,14 @@ { "type": "reflection", "declaration": { - "id": 3920, + "id": 3974, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3921, + "id": 3975, "name": "q", "variant": "declaration", "kind": 1024, @@ -100724,7 +104646,7 @@ { "title": "Properties", "children": [ - 3921 + 3975 ] } ] @@ -100734,14 +104656,14 @@ } }, { - "id": 3923, + "id": 3977, "name": "TreeQuerySelector", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 3926, + "id": 3980, "name": "TEntity", "variant": "typeParam", "kind": 131072, @@ -100753,11 +104675,11 @@ "types": [ { "type": "reference", - "target": 3919, + "target": 3973, "typeArguments": [ { "type": "reference", - "target": 3926, + "target": 3980, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100769,14 +104691,14 @@ { "type": "reflection", "declaration": { - "id": 3924, + "id": 3978, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3925, + "id": 3979, "name": "include_descendants_tree", "variant": "declaration", "kind": 1024, @@ -100793,7 +104715,7 @@ { "title": "Properties", "children": [ - 3925 + 3979 ] } ] @@ -100803,14 +104725,14 @@ } }, { - "id": 4976, + "id": 5061, "name": "InnerSelector", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 4977, + "id": 5062, "name": "TEntity", "variant": "typeParam", "kind": 131072, @@ -100825,7 +104747,7 @@ "operator": "keyof", "target": { "type": "reference", - "target": 4977, + "target": 5062, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100848,7 +104770,7 @@ }, "objectType": { "type": "reference", - "target": 4977, + "target": 5062, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100870,7 +104792,7 @@ }, "objectType": { "type": "reference", - "target": 4977, + "target": 5062, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100879,19 +104801,19 @@ }, { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" }, { "type": "reference", - "target": 3971, + "target": 4027, "name": "StringComparisonOperator", "package": "@medusajs/medusa" }, { "type": "reference", - "target": 3981, + "target": 4037, "name": "NumericalComparisonOperator", "package": "@medusajs/medusa" }, @@ -100921,7 +104843,7 @@ }, "objectType": { "type": "reference", - "target": 4977, + "target": 5062, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100951,14 +104873,14 @@ } }, { - "id": 3927, + "id": 3981, "name": "Selector", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 3928, + "id": 3982, "name": "TEntity", "variant": "typeParam", "kind": 131072, @@ -100970,11 +104892,11 @@ "types": [ { "type": "reference", - "target": 4976, + "target": 5061, "typeArguments": [ { "type": "reference", - "target": 3928, + "target": 3982, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100987,11 +104909,11 @@ "type": "array", "elementType": { "type": "reference", - "target": 4976, + "target": 5061, "typeArguments": [ { "type": "reference", - "target": 3928, + "target": 3982, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -101005,7 +104927,7 @@ } }, { - "id": 3929, + "id": 3983, "name": "TotalField", "variant": "declaration", "kind": 2097152, @@ -101053,14 +104975,14 @@ } }, { - "id": 3930, + "id": 3984, "name": "CustomFindOptions", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { - "id": 3931, + "id": 3985, "name": "select", "variant": "declaration", "kind": 1024, @@ -101079,7 +105001,7 @@ "typeArguments": [ { "type": "reference", - "target": 3936, + "target": 3990, "name": "TModel", "package": "@medusajs/medusa", "qualifiedName": "CustomFindOptions.TModel", @@ -101098,7 +105020,7 @@ "typeArguments": [ { "type": "reference", - "target": 3936, + "target": 3990, "name": "TModel", "package": "@medusajs/medusa", "qualifiedName": "CustomFindOptions.TModel", @@ -101112,7 +105034,7 @@ } }, { - "id": 3932, + "id": 3986, "name": "where", "variant": "declaration", "kind": 1024, @@ -101134,7 +105056,7 @@ "typeArguments": [ { "type": "reference", - "target": 3936, + "target": 3990, "name": "TModel", "package": "@medusajs/medusa", "qualifiedName": "CustomFindOptions.TModel", @@ -101180,7 +105102,7 @@ }, "objectType": { "type": "reference", - "target": 3936, + "target": 3990, "name": "TModel", "package": "@medusajs/medusa", "qualifiedName": "CustomFindOptions.TModel", @@ -101206,7 +105128,7 @@ "typeArguments": [ { "type": "reference", - "target": 3936, + "target": 3990, "name": "TModel", "package": "@medusajs/medusa", "qualifiedName": "CustomFindOptions.TModel", @@ -101253,7 +105175,7 @@ }, "objectType": { "type": "reference", - "target": 3936, + "target": 3990, "name": "TModel", "package": "@medusajs/medusa", "qualifiedName": "CustomFindOptions.TModel", @@ -101269,7 +105191,7 @@ } }, { - "id": 3933, + "id": 3987, "name": "order", "variant": "declaration", "kind": 1024, @@ -101287,7 +105209,7 @@ } }, { - "id": 3934, + "id": 3988, "name": "skip", "variant": "declaration", "kind": 1024, @@ -101300,7 +105222,7 @@ } }, { - "id": 3935, + "id": 3989, "name": "take", "variant": "declaration", "kind": 1024, @@ -101317,24 +105239,24 @@ { "title": "Properties", "children": [ - 3931, - 3932, - 3933, - 3934, - 3935 + 3985, + 3986, + 3987, + 3988, + 3989 ] } ], "typeParameters": [ { - "id": 3936, + "id": 3990, "name": "TModel", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 3937, + "id": 3991, "name": "InKeys", "variant": "typeParam", "kind": 131072, @@ -101344,7 +105266,7 @@ "operator": "keyof", "target": { "type": "reference", - "target": 3936, + "target": 3990, "name": "TModel", "package": "@medusajs/medusa", "qualifiedName": "CustomFindOptions.TModel", @@ -101355,14 +105277,14 @@ ] }, { - "id": 3938, + "id": 3992, "name": "QueryConfig", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 3946, + "id": 4002, "name": "TEntity", "variant": "typeParam", "kind": 131072, @@ -101381,20 +105303,82 @@ "type": { "type": "reflection", "declaration": { - "id": 3939, + "id": 3993, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3940, + "id": 3994, + "name": "defaults", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Default fields and relations to return" + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 4002, + "name": "TEntity", + "package": "@medusajs/medusa", + "refersToTypeParameter": true + } + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + }, + { + "id": 3995, "name": "defaultFields", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "Use " + }, + { + "kind": "code", + "text": "`defaults`" + }, + { + "kind": "text", + "text": " instead" + } + ] + } + ] + }, "type": { "type": "array", "elementType": { @@ -101405,7 +105389,7 @@ "operator": "keyof", "target": { "type": "reference", - "target": 3946, + "target": 4002, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -101420,13 +105404,35 @@ } }, { - "id": 3941, + "id": 3996, "name": "defaultRelations", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "Use " + }, + { + "kind": "code", + "text": "`defaultFields`" + }, + { + "kind": "text", + "text": " instead and the relations will be inferred" + } + ] + } + ] + }, "type": { "type": "array", "elementType": { @@ -101436,13 +105442,59 @@ } }, { - "id": 3942, + "id": 3997, + "name": "allowed", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Fields and relations that are allowed to be requested" + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 3998, "name": "allowedFields", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "Use " + }, + { + "kind": "code", + "text": "`allowed`" + }, + { + "kind": "text", + "text": " instead" + } + ] + } + ] + }, "type": { "type": "array", "elementType": { @@ -101452,13 +105504,35 @@ } }, { - "id": 3943, + "id": 3999, "name": "allowedRelations", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "Use " + }, + { + "kind": "code", + "text": "`allowedFields`" + }, + { + "kind": "text", + "text": " instead and the relations will be inferred" + } + ] + } + ] + }, "type": { "type": "array", "elementType": { @@ -101468,7 +105542,7 @@ } }, { - "id": 3944, + "id": 4000, "name": "defaultLimit", "variant": "declaration", "kind": 1024, @@ -101481,7 +105555,7 @@ } }, { - "id": 3945, + "id": 4001, "name": "isList", "variant": "declaration", "kind": 1024, @@ -101498,12 +105572,14 @@ { "title": "Properties", "children": [ - 3940, - 3941, - 3942, - 3943, - 3944, - 3945 + 3994, + 3995, + 3996, + 3997, + 3998, + 3999, + 4000, + 4001 ] } ] @@ -101511,7 +105587,7 @@ } }, { - "id": 3947, + "id": 4003, "name": "RequestQueryFields", "variant": "declaration", "kind": 256, @@ -101526,7 +105602,7 @@ }, "children": [ { - "id": 3948, + "id": 4004, "name": "expand", "variant": "declaration", "kind": 1024, @@ -101539,6 +105615,25 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "Use " + }, + { + "kind": "code", + "text": "`fields`" + }, + { + "kind": "text", + "text": " instead and the relations will be inferred" + } + ] + } ] }, "type": { @@ -101547,7 +105642,7 @@ } }, { - "id": 3949, + "id": 4005, "name": "fields", "variant": "declaration", "kind": 1024, @@ -101558,7 +105653,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -101568,7 +105679,7 @@ } }, { - "id": 3950, + "id": 4006, "name": "offset", "variant": "declaration", "kind": 1024, @@ -101589,7 +105700,7 @@ } }, { - "id": 3951, + "id": 4007, "name": "limit", "variant": "declaration", "kind": 1024, @@ -101610,7 +105721,7 @@ } }, { - "id": 3952, + "id": 4008, "name": "order", "variant": "declaration", "kind": 1024, @@ -101643,17 +105754,17 @@ { "title": "Properties", "children": [ - 3948, - 3949, - 3950, - 3951, - 3952 + 4004, + 4005, + 4006, + 4007, + 4008 ] } ] }, { - "id": 3953, + "id": 4009, "name": "PaginatedResponse", "variant": "declaration", "kind": 256, @@ -101668,7 +105779,7 @@ }, "children": [ { - "id": 3954, + "id": 4010, "name": "limit", "variant": "declaration", "kind": 1024, @@ -101687,7 +105798,7 @@ } }, { - "id": 3955, + "id": 4011, "name": "offset", "variant": "declaration", "kind": 1024, @@ -101706,7 +105817,7 @@ } }, { - "id": 3956, + "id": 4012, "name": "count", "variant": "declaration", "kind": 1024, @@ -101729,15 +105840,15 @@ { "title": "Properties", "children": [ - 3954, - 3955, - 3956 + 4010, + 4011, + 4012 ] } ] }, { - "id": 3957, + "id": 4013, "name": "DeleteResponse", "variant": "declaration", "kind": 256, @@ -101760,7 +105871,7 @@ }, "children": [ { - "id": 3958, + "id": 4014, "name": "id", "variant": "declaration", "kind": 1024, @@ -101779,7 +105890,7 @@ } }, { - "id": 3959, + "id": 4015, "name": "object", "variant": "declaration", "kind": 1024, @@ -101799,7 +105910,7 @@ "defaultValue": "product-collection" }, { - "id": 3960, + "id": 4016, "name": "deleted", "variant": "declaration", "kind": 1024, @@ -101823,36 +105934,36 @@ { "title": "Properties", "children": [ - 3958, - 3959, - 3960 + 4014, + 4015, + 4016 ] } ] }, { - "id": 3961, + "id": 4017, "name": "EmptyQueryParams", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 3962, + "id": 4018, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 3963, + "id": 4019, "name": "new EmptyQueryParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 3961, + "target": 4017, "name": "EmptyQueryParams", "package": "@medusajs/medusa" } @@ -101864,13 +105975,13 @@ { "title": "Constructors", "children": [ - 3962 + 4018 ] } ] }, { - "id": 3964, + "id": 4020, "name": "DateComparisonOperator", "variant": "declaration", "kind": 128, @@ -101885,21 +105996,21 @@ }, "children": [ { - "id": 3965, + "id": 4021, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 3966, + "id": 4022, "name": "new DateComparisonOperator", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } @@ -101907,7 +106018,7 @@ ] }, { - "id": 3967, + "id": 4023, "name": "lt", "variant": "declaration", "kind": 1024, @@ -101933,7 +106044,7 @@ } }, { - "id": 3968, + "id": 4024, "name": "gt", "variant": "declaration", "kind": 1024, @@ -101959,7 +106070,7 @@ } }, { - "id": 3969, + "id": 4025, "name": "gte", "variant": "declaration", "kind": 1024, @@ -101985,7 +106096,7 @@ } }, { - "id": 3970, + "id": 4026, "name": "lte", "variant": "declaration", "kind": 1024, @@ -102015,22 +106126,22 @@ { "title": "Constructors", "children": [ - 3965 + 4021 ] }, { "title": "Properties", "children": [ - 3967, - 3968, - 3969, - 3970 + 4023, + 4024, + 4025, + 4026 ] } ] }, { - "id": 3971, + "id": 4027, "name": "StringComparisonOperator", "variant": "declaration", "kind": 128, @@ -102045,21 +106156,21 @@ }, "children": [ { - "id": 3972, + "id": 4028, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 3973, + "id": 4029, "name": "new StringComparisonOperator", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 3971, + "target": 4027, "name": "StringComparisonOperator", "package": "@medusajs/medusa" } @@ -102067,7 +106178,7 @@ ] }, { - "id": 3974, + "id": 4030, "name": "lt", "variant": "declaration", "kind": 1024, @@ -102088,7 +106199,7 @@ } }, { - "id": 3975, + "id": 4031, "name": "gt", "variant": "declaration", "kind": 1024, @@ -102109,7 +106220,7 @@ } }, { - "id": 3976, + "id": 4032, "name": "gte", "variant": "declaration", "kind": 1024, @@ -102130,7 +106241,7 @@ } }, { - "id": 3977, + "id": 4033, "name": "lte", "variant": "declaration", "kind": 1024, @@ -102151,7 +106262,7 @@ } }, { - "id": 3978, + "id": 4034, "name": "contains", "variant": "declaration", "kind": 1024, @@ -102172,7 +106283,7 @@ } }, { - "id": 3979, + "id": 4035, "name": "starts_with", "variant": "declaration", "kind": 1024, @@ -102193,7 +106304,7 @@ } }, { - "id": 3980, + "id": 4036, "name": "ends_with", "variant": "declaration", "kind": 1024, @@ -102218,25 +106329,25 @@ { "title": "Constructors", "children": [ - 3972 + 4028 ] }, { "title": "Properties", "children": [ - 3974, - 3975, - 3976, - 3977, - 3978, - 3979, - 3980 + 4030, + 4031, + 4032, + 4033, + 4034, + 4035, + 4036 ] } ] }, { - "id": 3981, + "id": 4037, "name": "NumericalComparisonOperator", "variant": "declaration", "kind": 128, @@ -102251,21 +106362,21 @@ }, "children": [ { - "id": 3982, + "id": 4038, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 3983, + "id": 4039, "name": "new NumericalComparisonOperator", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 3981, + "target": 4037, "name": "NumericalComparisonOperator", "package": "@medusajs/medusa" } @@ -102273,7 +106384,7 @@ ] }, { - "id": 3984, + "id": 4040, "name": "lt", "variant": "declaration", "kind": 1024, @@ -102294,7 +106405,7 @@ } }, { - "id": 3985, + "id": 4041, "name": "gt", "variant": "declaration", "kind": 1024, @@ -102315,7 +106426,7 @@ } }, { - "id": 3986, + "id": 4042, "name": "gte", "variant": "declaration", "kind": 1024, @@ -102336,7 +106447,7 @@ } }, { - "id": 3987, + "id": 4043, "name": "lte", "variant": "declaration", "kind": 1024, @@ -102361,22 +106472,22 @@ { "title": "Constructors", "children": [ - 3982 + 4038 ] }, { "title": "Properties", "children": [ - 3984, - 3985, - 3986, - 3987 + 4040, + 4041, + 4042, + 4043 ] } ] }, { - "id": 3988, + "id": 4044, "name": "AddressPayload", "variant": "declaration", "kind": 128, @@ -102391,14 +106502,14 @@ }, "children": [ { - "id": 3989, + "id": 4045, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 3990, + "id": 4046, "name": "new AddressPayload", "variant": "signature", "kind": 16384, @@ -102413,7 +106524,7 @@ }, "type": { "type": "reference", - "target": 3988, + "target": 4044, "name": "AddressPayload", "package": "@medusajs/medusa" } @@ -102421,7 +106532,7 @@ ] }, { - "id": 3991, + "id": 4047, "name": "first_name", "variant": "declaration", "kind": 1024, @@ -102442,7 +106553,7 @@ } }, { - "id": 3992, + "id": 4048, "name": "last_name", "variant": "declaration", "kind": 1024, @@ -102463,7 +106574,7 @@ } }, { - "id": 3993, + "id": 4049, "name": "phone", "variant": "declaration", "kind": 1024, @@ -102484,7 +106595,7 @@ } }, { - "id": 3994, + "id": 4050, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -102520,7 +106631,7 @@ } }, { - "id": 3995, + "id": 4051, "name": "company", "variant": "declaration", "kind": 1024, @@ -102541,7 +106652,7 @@ } }, { - "id": 3996, + "id": 4052, "name": "address_1", "variant": "declaration", "kind": 1024, @@ -102562,7 +106673,7 @@ } }, { - "id": 3997, + "id": 4053, "name": "address_2", "variant": "declaration", "kind": 1024, @@ -102583,7 +106694,7 @@ } }, { - "id": 3998, + "id": 4054, "name": "city", "variant": "declaration", "kind": 1024, @@ -102604,7 +106715,7 @@ } }, { - "id": 3999, + "id": 4055, "name": "country_code", "variant": "declaration", "kind": 1024, @@ -102625,7 +106736,7 @@ } }, { - "id": 4000, + "id": 4056, "name": "province", "variant": "declaration", "kind": 1024, @@ -102646,7 +106757,7 @@ } }, { - "id": 4001, + "id": 4057, "name": "postal_code", "variant": "declaration", "kind": 1024, @@ -102671,36 +106782,36 @@ { "title": "Constructors", "children": [ - 3989 + 4045 ] }, { "title": "Properties", "children": [ - 3991, - 3992, - 3993, - 3994, - 3995, - 3996, - 3997, - 3998, - 3999, - 4000, - 4001 + 4047, + 4048, + 4049, + 4050, + 4051, + 4052, + 4053, + 4054, + 4055, + 4056, + 4057 ] } ], "extendedBy": [ { "type": "reference", - "target": 2314, + "target": 2366, "name": "StorePostCustomersCustomerAddressesAddressReq" } ] }, { - "id": 4002, + "id": 4058, "name": "AddressCreatePayload", "variant": "declaration", "kind": 128, @@ -102715,14 +106826,14 @@ }, "children": [ { - "id": 4003, + "id": 4059, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4004, + "id": 4060, "name": "new AddressCreatePayload", "variant": "signature", "kind": 16384, @@ -102737,7 +106848,7 @@ }, "type": { "type": "reference", - "target": 4002, + "target": 4058, "name": "AddressCreatePayload", "package": "@medusajs/medusa" } @@ -102745,7 +106856,7 @@ ] }, { - "id": 4005, + "id": 4061, "name": "first_name", "variant": "declaration", "kind": 1024, @@ -102764,7 +106875,7 @@ } }, { - "id": 4006, + "id": 4062, "name": "last_name", "variant": "declaration", "kind": 1024, @@ -102783,7 +106894,7 @@ } }, { - "id": 4007, + "id": 4063, "name": "phone", "variant": "declaration", "kind": 1024, @@ -102802,7 +106913,7 @@ } }, { - "id": 4008, + "id": 4064, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -102821,7 +106932,7 @@ } }, { - "id": 4009, + "id": 4065, "name": "company", "variant": "declaration", "kind": 1024, @@ -102832,7 +106943,7 @@ } }, { - "id": 4010, + "id": 4066, "name": "address_1", "variant": "declaration", "kind": 1024, @@ -102851,7 +106962,7 @@ } }, { - "id": 4011, + "id": 4067, "name": "address_2", "variant": "declaration", "kind": 1024, @@ -102870,7 +106981,7 @@ } }, { - "id": 4012, + "id": 4068, "name": "city", "variant": "declaration", "kind": 1024, @@ -102889,7 +107000,7 @@ } }, { - "id": 4013, + "id": 4069, "name": "country_code", "variant": "declaration", "kind": 1024, @@ -102908,7 +107019,7 @@ } }, { - "id": 4014, + "id": 4070, "name": "province", "variant": "declaration", "kind": 1024, @@ -102927,7 +107038,7 @@ } }, { - "id": 4015, + "id": 4071, "name": "postal_code", "variant": "declaration", "kind": 1024, @@ -102950,29 +107061,29 @@ { "title": "Constructors", "children": [ - 4003 + 4059 ] }, { "title": "Properties", "children": [ - 4005, - 4006, - 4007, - 4008, - 4009, - 4010, - 4011, - 4012, - 4013, - 4014, - 4015 + 4061, + 4062, + 4063, + 4064, + 4065, + 4066, + 4067, + 4068, + 4069, + 4070, + 4071 ] } ] }, { - "id": 4016, + "id": 4072, "name": "FindParams", "variant": "declaration", "kind": 128, @@ -102987,21 +107098,21 @@ }, "children": [ { - "id": 4017, + "id": 4073, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4018, + "id": 4074, "name": "new FindParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } @@ -103009,7 +107120,7 @@ ] }, { - "id": 4019, + "id": 4075, "name": "expand", "variant": "declaration", "kind": 1024, @@ -103022,6 +107133,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -103030,7 +107147,7 @@ } }, { - "id": 4020, + "id": 4076, "name": "fields", "variant": "declaration", "kind": 1024, @@ -103041,7 +107158,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -103055,317 +107188,327 @@ { "title": "Constructors", "children": [ - 4017 + 4073 ] }, { "title": "Properties", "children": [ - 4019, - 4020 + 4075, + 4076 ] } ], "extendedBy": [ { "type": "reference", - "target": 155, + "target": 156, "name": "AdminGetCustomerGroupsGroupParams" }, { "type": "reference", - "target": 239, + "target": 245, "name": "AdminPostDiscountsDiscountConditionsParams" }, { "type": "reference", - "target": 274, + "target": 280, "name": "AdminPostDiscountsParams" }, { "type": "reference", - "target": 285, + "target": 291, "name": "AdminDeleteDiscountsDiscountConditionsConditionParams" }, { "type": "reference", - "target": 290, + "target": 296, "name": "AdminGetDiscountsDiscountConditionsConditionParams" }, { "type": "reference", - "target": 295, + "target": 301, "name": "AdminGetDiscountParams" }, { "type": "reference", - "target": 300, + "target": 306, "name": "AdminGetDiscountsDiscountCodeParams" }, { "type": "reference", - "target": 325, + "target": 334, "name": "AdminPostDiscountsDiscountConditionsConditionParams" }, { "type": "reference", - "target": 360, + "target": 369, "name": "AdminPostDiscountsDiscountParams" }, { "type": "reference", - "target": 371, + "target": 380, "name": "AdminPostDiscountsDiscountConditionsConditionBatchParams" }, { "type": "reference", - "target": 376, + "target": 385, "name": "AdminDeleteDiscountsDiscountConditionsConditionBatchParams" }, { "type": "reference", - "target": 527, + "target": 544, "name": "AdminPostInventoryItemsParams" }, { "type": "reference", - "target": 538, + "target": 555, "name": "AdminPostInventoryItemsItemLocationLevelsParams" }, { "type": "reference", - "target": 543, + "target": 560, "name": "AdminGetInventoryItemsItemParams" }, { "type": "reference", - "target": 569, + "target": 587, "name": "AdminGetInventoryItemsItemLocationLevelsParams" }, { "type": "reference", - "target": 591, + "target": 609, "name": "AdminPostInventoryItemsInventoryItemParams" }, { "type": "reference", - "target": 601, + "target": 619, "name": "AdminPostInventoryItemsItemLocationLevelsLevelParams" }, { "type": "reference", - "target": 700, + "target": 718, "name": "GetOrderEditsOrderEditParams" }, { "type": "reference", - "target": 744, + "target": 763, "name": "AdminPostOrdersOrderShippingMethodsParams" }, { "type": "reference", - "target": 749, + "target": 768, "name": "AdminPostOrdersOrderArchiveParams" }, { "type": "reference", - "target": 754, + "target": 773, "name": "AdminPostOrdersClaimCancel" }, { "type": "reference", - "target": 765, + "target": 784, "name": "AdminPostOrdersOrderFulfillementsCancelParams" }, { "type": "reference", - "target": 770, + "target": 789, "name": "AdminPostOrdersClaimFulfillmentsCancelParams" }, { "type": "reference", - "target": 775, + "target": 794, "name": "AdminPostOrdersOrderSwapFulfillementsCancelParams" }, { "type": "reference", - "target": 780, + "target": 799, "name": "AdminPostOrdersOrderCancel" }, { "type": "reference", - "target": 785, + "target": 804, "name": "AdminPostOrdersSwapCancelParams" }, { "type": "reference", - "target": 790, + "target": 809, "name": "AdminPostOrdersOrderCaptureParams" }, { "type": "reference", - "target": 795, + "target": 814, "name": "AdminPostOrdersOrderCompleteParams" }, { "type": "reference", - "target": 813, + "target": 832, "name": "AdminPostOrdersOrderClaimsParams" }, { "type": "reference", - "target": 823, + "target": 842, "name": "AdminPostOrdersOrderClaimsClaimShipmentsParams" }, { "type": "reference", - "target": 842, + "target": 861, "name": "AdminPostOrdersOrderFulfillmentsParams" }, { "type": "reference", - "target": 853, + "target": 872, "name": "AdminPostOrdersOrderShipmentParams" }, { "type": "reference", - "target": 869, + "target": 888, "name": "AdminPostOrdersOrderSwapsParams" }, { "type": "reference", - "target": 880, + "target": 899, "name": "AdminPostOrdersOrderSwapsSwapShipmentsParams" }, { "type": "reference", - "target": 891, + "target": 910, "name": "AdminPostOrdersOrderClaimsClaimFulfillmentsParams" }, { "type": "reference", - "target": 902, + "target": 921, "name": "AdminPostOrdersOrderSwapsSwapFulfillmentsParams" }, { "type": "reference", - "target": 907, + "target": 926, "name": "AdminGetOrdersOrderParams" }, { "type": "reference", - "target": 936, + "target": 955, "name": "AdminPostOrdersOrderSwapsSwapProcessPaymentParams" }, { "type": "reference", - "target": 948, + "target": 967, "name": "AdminPostOrdersOrderRefundsParams" }, { "type": "reference", - "target": 963, + "target": 982, "name": "AdminPostOrdersOrderReturnsParams" }, { "type": "reference", - "target": 975, + "target": 994, "name": "AdminPostOrdersOrderClaimsClaimParams" }, { "type": "reference", - "target": 993, + "target": 1012, "name": "AdminPostOrdersOrderParams" }, { "type": "reference", - "target": 1008, + "target": 1027, "name": "AdminGetPaymentCollectionsParams" }, { "type": "reference", - "target": 1025, + "target": 1044, "name": "GetPaymentsParams" }, { "type": "reference", - "target": 1170, + "target": 1160, "name": "AdminGetProductCategoryParams" }, { "type": "reference", - "target": 1199, + "target": 1190, "name": "AdminPostProductCategoriesParams" }, { "type": "reference", - "target": 1215, + "target": 1206, "name": "AdminPostProductCategoriesCategoryParams" }, { "type": "reference", - "target": 1224, + "target": 1215, "name": "AdminPostProductCategoriesCategoryProductsBatchParams" }, { "type": "reference", - "target": 1233, + "target": 1224, "name": "AdminDeleteProductCategoriesCategoryProductsBatchParams" }, { "type": "reference", - "target": 1404, + "target": 1396, "name": "AdminGetProductParams" }, { "type": "reference", - "target": 1843, + "target": 1612, + "name": "AdminGetRegionsRegionParams" + }, + { + "type": "reference", + "target": 1854, "name": "AdminPostStockLocationsParams" }, { "type": "reference", - "target": 1848, + "target": 1859, "name": "AdminGetStockLocationsLocationParams" }, { "type": "reference", - "target": 1874, + "target": 1885, "name": "AdminPostStockLocationsLocationParams" }, { "type": "reference", - "target": 2127, + "target": 2146, "name": "AdminGetVariantParams" }, { "type": "reference", - "target": 2367, + "target": 2173, + "name": "AdminGetWorkflowExecutionDetailsParams" + }, + { + "type": "reference", + "target": 2419, "name": "StoreGetOrdersParams" }, { "type": "reference", - "target": 2390, + "target": 2442, "name": "StoreGetPaymentCollectionsParams" }, { "type": "reference", - "target": 2422, + "target": 2474, "name": "StoreGetProductCategoriesCategoryParams" }, { "type": "reference", - "target": 2572, + "target": 2625, "name": "StoreGetRegionsRegionParams" }, { "type": "reference", - "target": 4844, + "target": 4956, "name": "PriceSelectionParams" } ] }, { - "id": 4021, + "id": 4077, "name": "FindPaginationParams", "variant": "declaration", "kind": 128, @@ -103380,21 +107523,21 @@ }, "children": [ { - "id": 4022, + "id": 4078, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4023, + "id": 4079, "name": "new FindPaginationParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4021, + "target": 4077, "name": "FindPaginationParams", "package": "@medusajs/medusa" } @@ -103402,7 +107545,7 @@ ] }, { - "id": 4024, + "id": 4080, "name": "offset", "variant": "declaration", "kind": 1024, @@ -103435,7 +107578,7 @@ "defaultValue": "0" }, { - "id": 4025, + "id": 4081, "name": "limit", "variant": "declaration", "kind": 1024, @@ -103466,62 +107609,92 @@ "name": "number" }, "defaultValue": "20" + }, + { + "id": 4082, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } } ], "groups": [ { "title": "Constructors", "children": [ - 4022 + 4078 ] }, { "title": "Properties", "children": [ - 4024, - 4025 + 4080, + 4081, + 4082 ] } ], "extendedBy": [ { "type": "reference", - "target": 121, + "target": 122, "name": "AdminGetCurrenciesParams" }, { "type": "reference", - "target": 1265, + "target": 1256, "name": "AdminGetProductTypesParams" }, { "type": "reference", - "target": 2445, + "target": 2498, "name": "StoreGetProductTagsParams" }, { "type": "reference", - "target": 2463, + "target": 2516, "name": "StoreGetProductTypesParams" } ] }, { - "id": 3886, + "id": 3939, "name": "extendedFindParamsMixin", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 3887, + "id": 3940, "name": "extendedFindParamsMixin", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3888, + "id": 3941, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -103529,14 +107702,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3889, + "id": 3942, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3890, + "id": 3943, "name": "limit", "variant": "declaration", "kind": 1024, @@ -103549,7 +107722,7 @@ } }, { - "id": 3891, + "id": 3944, "name": "offset", "variant": "declaration", "kind": 1024, @@ -103560,14 +107733,28 @@ "type": "intrinsic", "name": "number" } + }, + { + "id": 3945, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } } ], "groups": [ { "title": "Properties", "children": [ - 3890, - 3891 + 3943, + 3944, + 3945 ] } ] @@ -103578,20 +107765,20 @@ ], "type": { "type": "reference", - "target": 4030, + "target": 4087, "typeArguments": [ { "type": "intersection", "types": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" }, { "type": "reference", - "target": 4021, + "target": 4077, "name": "FindPaginationParams", "package": "@medusajs/medusa" } @@ -103605,7 +107792,7 @@ ] }, { - "id": 4392, + "id": 4495, "name": "FilterableCustomerGroupProps", "variant": "declaration", "kind": 128, @@ -103620,21 +107807,21 @@ }, "children": [ { - "id": 4393, + "id": 4496, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4394, + "id": 4497, "name": "new FilterableCustomerGroupProps", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4392, + "target": 4495, "name": "FilterableCustomerGroupProps", "package": "@medusajs/medusa" } @@ -103642,7 +107829,7 @@ ] }, { - "id": 4395, + "id": 4498, "name": "id", "variant": "declaration", "kind": 1024, @@ -103673,7 +107860,7 @@ }, { "type": "reference", - "target": 3971, + "target": 4027, "name": "StringComparisonOperator", "package": "@medusajs/medusa" } @@ -103681,7 +107868,7 @@ } }, { - "id": 4396, + "id": 4499, "name": "q", "variant": "declaration", "kind": 1024, @@ -103702,7 +107889,7 @@ } }, { - "id": 4397, + "id": 4500, "name": "name", "variant": "declaration", "kind": 1024, @@ -103726,7 +107913,7 @@ } }, { - "id": 4398, + "id": 4501, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -103751,13 +107938,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 4399, + "id": 4502, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -103782,13 +107969,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 4400, + "id": 4503, "name": "discount_condition_id", "variant": "declaration", "kind": 1024, @@ -103813,52 +108000,52 @@ { "title": "Constructors", "children": [ - 4393 + 4496 ] }, { "title": "Properties", "children": [ - 4395, - 4396, - 4397, - 4398, - 4399, - 4400 + 4498, + 4499, + 4500, + 4501, + 4502, + 4503 ] } ], "extendedBy": [ { "type": "reference", - "target": 160, + "target": 161, "name": "AdminGetCustomerGroupsParams" } ] }, { - "id": 4388, + "id": 4491, "name": "CustomerGroupsBatchCustomer", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4389, + "id": 4492, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4390, + "id": 4493, "name": "new CustomerGroupsBatchCustomer", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4388, + "target": 4491, "name": "CustomerGroupsBatchCustomer", "package": "@medusajs/medusa" } @@ -103866,7 +108053,7 @@ ] }, { - "id": 4391, + "id": 4494, "name": "id", "variant": "declaration", "kind": 1024, @@ -103889,19 +108076,19 @@ { "title": "Constructors", "children": [ - 4389 + 4492 ] }, { "title": "Properties", "children": [ - 4391 + 4494 ] } ] }, { - "id": 4401, + "id": 4504, "name": "AdminListCustomerSelector", "variant": "declaration", "kind": 128, @@ -103916,21 +108103,21 @@ }, "children": [ { - "id": 4402, + "id": 4505, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4403, + "id": 4506, "name": "new AdminListCustomerSelector", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4401, + "target": 4504, "name": "AdminListCustomerSelector", "package": "@medusajs/medusa" } @@ -103938,7 +108125,7 @@ ] }, { - "id": 4404, + "id": 4507, "name": "q", "variant": "declaration", "kind": 1024, @@ -103959,7 +108146,7 @@ } }, { - "id": 4405, + "id": 4508, "name": "has_account", "variant": "declaration", "kind": 1024, @@ -103980,7 +108167,7 @@ } }, { - "id": 4406, + "id": 4509, "name": "groups", "variant": "declaration", "kind": 1024, @@ -104002,34 +108189,128 @@ "name": "string" } } + }, + { + "id": 4510, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4511, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Date filters to apply on the customers' " + }, + { + "kind": "code", + "text": "`created_at`" + }, + { + "kind": "text", + "text": " date." + } + ] + }, + "type": { + "type": "reference", + "target": 4020, + "name": "DateComparisonOperator", + "package": "@medusajs/medusa" + } + }, + { + "id": 4512, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Date filters to apply on the customers' " + }, + { + "kind": "code", + "text": "`updated_at`" + }, + { + "kind": "text", + "text": " date." + } + ] + }, + "type": { + "type": "reference", + "target": 4020, + "name": "DateComparisonOperator", + "package": "@medusajs/medusa" + } } ], "groups": [ { "title": "Constructors", "children": [ - 4402 + 4505 ] }, { "title": "Properties", "children": [ - 4404, - 4405, - 4406 + 4507, + 4508, + 4509, + 4510, + 4511, + 4512 ] } ], "extendedBy": [ { "type": "reference", - "target": 194, + "target": 196, "name": "AdminGetCustomersParams" } ] }, { - "id": 4419, + "id": 4525, "name": "AdminGetDiscountsDiscountRuleParams", "variant": "declaration", "kind": 128, @@ -104044,21 +108325,21 @@ }, "children": [ { - "id": 4420, + "id": 4526, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4421, + "id": 4527, "name": "new AdminGetDiscountsDiscountRuleParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4419, + "target": 4525, "name": "AdminGetDiscountsDiscountRuleParams", "package": "@medusajs/medusa" } @@ -104066,7 +108347,7 @@ ] }, { - "id": 4422, + "id": 4528, "name": "type", "variant": "declaration", "kind": 1024, @@ -104092,7 +108373,7 @@ } }, { - "id": 4423, + "id": 4529, "name": "allocation", "variant": "declaration", "kind": 1024, @@ -104122,20 +108403,20 @@ { "title": "Constructors", "children": [ - 4420 + 4526 ] }, { "title": "Properties", "children": [ - 4422, - 4423 + 4528, + 4529 ] } ] }, { - "id": 4411, + "id": 4517, "name": "AdminUpsertConditionsReq", "variant": "declaration", "kind": 128, @@ -104150,21 +108431,21 @@ }, "children": [ { - "id": 4412, + "id": 4518, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4413, + "id": 4519, "name": "new AdminUpsertConditionsReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4411, + "target": 4517, "name": "AdminUpsertConditionsReq", "package": "@medusajs/medusa" } @@ -104172,7 +108453,7 @@ ] }, { - "id": 4414, + "id": 4520, "name": "products", "variant": "declaration", "kind": 1024, @@ -104204,7 +108485,7 @@ } }, { - "id": 4415, + "id": 4521, "name": "product_collections", "variant": "declaration", "kind": 1024, @@ -104236,7 +108517,7 @@ } }, { - "id": 4416, + "id": 4522, "name": "product_types", "variant": "declaration", "kind": 1024, @@ -104268,7 +108549,7 @@ } }, { - "id": 4417, + "id": 4523, "name": "product_tags", "variant": "declaration", "kind": 1024, @@ -104300,7 +108581,7 @@ } }, { - "id": 4418, + "id": 4524, "name": "customer_groups", "variant": "declaration", "kind": 1024, @@ -104336,45 +108617,65 @@ { "title": "Constructors", "children": [ - 4412 + 4518 ] }, { "title": "Properties", "children": [ - 4414, - 4415, - 4416, - 4417, - 4418 + 4520, + 4521, + 4522, + 4523, + 4524 ] } ], "extendedBy": [ { "type": "reference", - "target": 230, + "target": 236, "name": "AdminPostDiscountsDiscountConditions" }, { "type": "reference", - "target": 265, + "target": 271, "name": "AdminCreateCondition" }, { "type": "reference", - "target": 317, + "target": 326, "name": "AdminPostDiscountsDiscountConditionsCondition" }, { "type": "reference", - "target": 350, + "target": 359, "name": "AdminUpsertCondition" } ] }, { - "id": 5086, + "id": 4548, + "name": "DraftOrderStatusValue", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "open" + }, + { + "type": "literal", + "value": "completed" + } + ] + } + }, + { + "id": 5190, "name": "FeatureFlagsResponse", "variant": "declaration", "kind": 2097152, @@ -104390,14 +108691,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 5087, + "id": 5191, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5088, + "id": 5192, "name": "key", "variant": "declaration", "kind": 1024, @@ -104408,7 +108709,7 @@ } }, { - "id": 5089, + "id": 5193, "name": "value", "variant": "declaration", "kind": 1024, @@ -104447,8 +108748,8 @@ { "title": "Properties", "children": [ - 5088, - 5089 + 5192, + 5193 ] } ] @@ -104457,7 +108758,7 @@ } }, { - "id": 4928, + "id": 5040, "name": "CreateReturnType", "variant": "declaration", "kind": 2097152, @@ -104488,14 +108789,14 @@ } }, { - "id": 4026, + "id": 4083, "name": "ExtendedRequest", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 4029, + "id": 4086, "name": "TEntity", "variant": "typeParam", "kind": 131072, @@ -104518,21 +108819,21 @@ { "type": "reflection", "declaration": { - "id": 4027, + "id": 4084, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4028, + "id": 4085, "name": "resource", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 4029, + "target": 4086, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -104543,7 +108844,7 @@ { "title": "Properties", "children": [ - 4028 + 4085 ] } ] @@ -104553,14 +108854,14 @@ } }, { - "id": 4030, + "id": 4087, "name": "ClassConstructor", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 4034, + "id": 4091, "name": "T", "variant": "typeParam", "kind": 131072, @@ -104570,21 +108871,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4031, + "id": 4088, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4032, + "id": 4089, "name": "new ClassConstructor", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 4033, + "id": 4090, "name": "args", "variant": "param", "kind": 32768, @@ -104602,7 +108903,7 @@ ], "type": { "type": "reference", - "target": 4034, + "target": 4091, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -104613,21 +108914,21 @@ } }, { - "id": 4035, + "id": 4092, "name": "MedusaContainer", "variant": "declaration", "kind": 2097152, "flags": {}, "type": { "type": "reference", - "target": 4978, + "target": 5063, "name": "coreMedusaContainer", "package": "medusa-core-utils", "qualifiedName": "MedusaContainer" } }, { - "id": 4036, + "id": 4093, "name": "Logger", "variant": "declaration", "kind": 2097152, @@ -104635,14 +108936,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4037, + "id": 4094, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4038, + "id": 4095, "name": "panic", "variant": "declaration", "kind": 1024, @@ -104650,21 +108951,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4039, + "id": 4096, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4040, + "id": 4097, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4041, + "id": 4098, "name": "data", "variant": "param", "kind": 32768, @@ -104685,7 +108986,7 @@ } }, { - "id": 4042, + "id": 4099, "name": "shouldLog", "variant": "declaration", "kind": 1024, @@ -104693,21 +108994,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4043, + "id": 4100, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4044, + "id": 4101, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4045, + "id": 4102, "name": "level", "variant": "param", "kind": 32768, @@ -104728,7 +109029,7 @@ } }, { - "id": 4046, + "id": 4103, "name": "setLogLevel", "variant": "declaration", "kind": 1024, @@ -104736,21 +109037,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4047, + "id": 4104, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4048, + "id": 4105, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4049, + "id": 4106, "name": "level", "variant": "param", "kind": 32768, @@ -104771,7 +109072,7 @@ } }, { - "id": 4050, + "id": 4107, "name": "unsetLogLevel", "variant": "declaration", "kind": 1024, @@ -104779,14 +109080,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4051, + "id": 4108, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4052, + "id": 4109, "name": "__type", "variant": "signature", "kind": 4096, @@ -104801,7 +109102,7 @@ } }, { - "id": 4053, + "id": 4110, "name": "activity", "variant": "declaration", "kind": 1024, @@ -104809,21 +109110,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4054, + "id": 4111, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4055, + "id": 4112, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4056, + "id": 4113, "name": "message", "variant": "param", "kind": 32768, @@ -104834,7 +109135,7 @@ } }, { - "id": 4057, + "id": 4114, "name": "config", "variant": "param", "kind": 32768, @@ -104857,7 +109158,7 @@ } }, { - "id": 4058, + "id": 4115, "name": "progress", "variant": "declaration", "kind": 1024, @@ -104865,21 +109166,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4059, + "id": 4116, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4060, + "id": 4117, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4061, + "id": 4118, "name": "activityId", "variant": "param", "kind": 32768, @@ -104890,7 +109191,7 @@ } }, { - "id": 4062, + "id": 4119, "name": "message", "variant": "param", "kind": 32768, @@ -104911,7 +109212,7 @@ } }, { - "id": 4063, + "id": 4120, "name": "error", "variant": "declaration", "kind": 1024, @@ -104919,21 +109220,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4064, + "id": 4121, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4065, + "id": 4122, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4066, + "id": 4123, "name": "messageOrError", "variant": "param", "kind": 32768, @@ -104944,7 +109245,7 @@ } }, { - "id": 4067, + "id": 4124, "name": "error", "variant": "param", "kind": 32768, @@ -104967,7 +109268,7 @@ } }, { - "id": 4068, + "id": 4125, "name": "failure", "variant": "declaration", "kind": 1024, @@ -104975,21 +109276,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4069, + "id": 4126, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4070, + "id": 4127, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4071, + "id": 4128, "name": "activityId", "variant": "param", "kind": 32768, @@ -105000,7 +109301,7 @@ } }, { - "id": 4072, + "id": 4129, "name": "message", "variant": "param", "kind": 32768, @@ -105021,7 +109322,7 @@ } }, { - "id": 4073, + "id": 4130, "name": "success", "variant": "declaration", "kind": 1024, @@ -105029,21 +109330,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4074, + "id": 4131, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4075, + "id": 4132, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4076, + "id": 4133, "name": "activityId", "variant": "param", "kind": 32768, @@ -105054,7 +109355,7 @@ } }, { - "id": 4077, + "id": 4134, "name": "message", "variant": "param", "kind": 32768, @@ -105075,7 +109376,7 @@ } }, { - "id": 4078, + "id": 4135, "name": "debug", "variant": "declaration", "kind": 1024, @@ -105083,21 +109384,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4079, + "id": 4136, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4080, + "id": 4137, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4081, + "id": 4138, "name": "message", "variant": "param", "kind": 32768, @@ -105118,7 +109419,7 @@ } }, { - "id": 4082, + "id": 4139, "name": "info", "variant": "declaration", "kind": 1024, @@ -105126,21 +109427,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4083, + "id": 4140, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4084, + "id": 4141, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4085, + "id": 4142, "name": "message", "variant": "param", "kind": 32768, @@ -105161,7 +109462,7 @@ } }, { - "id": 4086, + "id": 4143, "name": "warn", "variant": "declaration", "kind": 1024, @@ -105169,21 +109470,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4087, + "id": 4144, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4088, + "id": 4145, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4089, + "id": 4146, "name": "message", "variant": "param", "kind": 32768, @@ -105204,7 +109505,7 @@ } }, { - "id": 4090, + "id": 4147, "name": "log", "variant": "declaration", "kind": 1024, @@ -105212,21 +109513,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4091, + "id": 4148, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4092, + "id": 4149, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4093, + "id": 4150, "name": "args", "variant": "param", "kind": 32768, @@ -105253,19 +109554,19 @@ { "title": "Properties", "children": [ - 4038, - 4042, - 4046, - 4050, - 4053, - 4058, - 4063, - 4068, - 4073, - 4078, - 4082, - 4086, - 4090 + 4095, + 4099, + 4103, + 4107, + 4110, + 4115, + 4120, + 4125, + 4130, + 4135, + 4139, + 4143, + 4147 ] } ] @@ -105273,14 +109574,14 @@ } }, { - "id": 4094, + "id": 4151, "name": "Constructor", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 4098, + "id": 4155, "name": "T", "variant": "typeParam", "kind": 131072, @@ -105290,21 +109591,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4095, + "id": 4152, "name": "__type", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4096, + "id": 4153, "name": "__type", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 4097, + "id": 4154, "name": "args", "variant": "param", "kind": 32768, @@ -105322,7 +109623,7 @@ ], "type": { "type": "reference", - "target": 4098, + "target": 4155, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -105333,21 +109634,21 @@ } }, { - "id": 4099, + "id": 4156, "name": "ConfigModule", "variant": "declaration", "kind": 2097152, "flags": {}, "type": { "type": "reference", - "target": 4989, + "target": 5074, "name": "CommonTypes.ConfigModule", "package": "@medusajs/types", "qualifiedName": "ConfigModule" } }, { - "id": 4536, + "id": 4643, "name": "AdminListOrdersSelector", "variant": "declaration", "kind": 128, @@ -105362,21 +109663,21 @@ }, "children": [ { - "id": 4537, + "id": 4644, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4538, + "id": 4645, "name": "new AdminListOrdersSelector", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4536, + "target": 4643, "name": "AdminListOrdersSelector", "package": "@medusajs/medusa" } @@ -105384,7 +109685,7 @@ ] }, { - "id": 4539, + "id": 4646, "name": "q", "variant": "declaration", "kind": 1024, @@ -105405,7 +109706,7 @@ } }, { - "id": 4540, + "id": 4647, "name": "id", "variant": "declaration", "kind": 1024, @@ -105426,7 +109727,7 @@ } }, { - "id": 4541, + "id": 4648, "name": "status", "variant": "declaration", "kind": 1024, @@ -105450,7 +109751,7 @@ } }, { - "id": 4542, + "id": 4649, "name": "fulfillment_status", "variant": "declaration", "kind": 1024, @@ -105474,7 +109775,7 @@ } }, { - "id": 4543, + "id": 4650, "name": "payment_status", "variant": "declaration", "kind": 1024, @@ -105498,7 +109799,7 @@ } }, { - "id": 4544, + "id": 4651, "name": "display_id", "variant": "declaration", "kind": 1024, @@ -105519,7 +109820,7 @@ } }, { - "id": 4545, + "id": 4652, "name": "cart_id", "variant": "declaration", "kind": 1024, @@ -105540,7 +109841,7 @@ } }, { - "id": 4546, + "id": 4653, "name": "customer_id", "variant": "declaration", "kind": 1024, @@ -105561,7 +109862,7 @@ } }, { - "id": 4547, + "id": 4654, "name": "email", "variant": "declaration", "kind": 1024, @@ -105582,7 +109883,7 @@ } }, { - "id": 4548, + "id": 4655, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -105615,7 +109916,7 @@ } }, { - "id": 4549, + "id": 4656, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -105636,7 +109937,7 @@ } }, { - "id": 4550, + "id": 4657, "name": "tax_rate", "variant": "declaration", "kind": 1024, @@ -105657,7 +109958,7 @@ } }, { - "id": 4551, + "id": 4658, "name": "sales_channel_id", "variant": "declaration", "kind": 1024, @@ -105681,7 +109982,7 @@ } }, { - "id": 4552, + "id": 4659, "name": "canceled_at", "variant": "declaration", "kind": 1024, @@ -105706,13 +110007,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 4553, + "id": 4660, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -105737,13 +110038,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 4554, + "id": 4661, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -105768,7 +110069,7 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } @@ -105778,62 +110079,62 @@ { "title": "Constructors", "children": [ - 4537 + 4644 ] }, { "title": "Properties", "children": [ - 4539, - 4540, - 4541, - 4542, - 4543, - 4544, - 4545, - 4546, - 4547, - 4548, - 4549, - 4550, - 4551, - 4552, - 4553, - 4554 + 4646, + 4647, + 4648, + 4649, + 4650, + 4651, + 4652, + 4653, + 4654, + 4655, + 4656, + 4657, + 4658, + 4659, + 4660, + 4661 ] } ], "extendedBy": [ { "type": "reference", - "target": 912, + "target": 931, "name": "AdminGetOrdersParams" } ] }, { - "id": 4555, + "id": 4662, "name": "OrdersReturnItem", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4556, + "id": 4663, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4557, + "id": 4664, "name": "new OrdersReturnItem", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4555, + "target": 4662, "name": "OrdersReturnItem", "package": "@medusajs/medusa" } @@ -105841,7 +110142,7 @@ ] }, { - "id": 4558, + "id": 4665, "name": "item_id", "variant": "declaration", "kind": 1024, @@ -105860,7 +110161,7 @@ } }, { - "id": 4559, + "id": 4666, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -105879,7 +110180,7 @@ } }, { - "id": 4560, + "id": 4667, "name": "reason_id", "variant": "declaration", "kind": 1024, @@ -105900,7 +110201,7 @@ } }, { - "id": 4561, + "id": 4668, "name": "note", "variant": "declaration", "kind": 1024, @@ -105925,22 +110226,22 @@ { "title": "Constructors", "children": [ - 4556 + 4663 ] }, { "title": "Properties", "children": [ - 4558, - 4559, - 4560, - 4561 + 4665, + 4666, + 4667, + 4668 ] } ] }, { - "id": 4114, + "id": 4171, "name": "PriceListType", "variant": "declaration", "kind": 8, @@ -105955,7 +110256,7 @@ }, "children": [ { - "id": 4115, + "id": 4172, "name": "SALE", "variant": "declaration", "kind": 16, @@ -105974,7 +110275,7 @@ } }, { - "id": 4116, + "id": 4173, "name": "OVERRIDE", "variant": "declaration", "kind": 16, @@ -105997,14 +110298,14 @@ { "title": "Enumeration Members", "children": [ - 4115, - 4116 + 4172, + 4173 ] } ] }, { - "id": 4117, + "id": 4174, "name": "PriceListStatus", "variant": "declaration", "kind": 8, @@ -106019,7 +110320,7 @@ }, "children": [ { - "id": 4118, + "id": 4175, "name": "ACTIVE", "variant": "declaration", "kind": 16, @@ -106038,7 +110339,7 @@ } }, { - "id": 4119, + "id": 4176, "name": "DRAFT", "variant": "declaration", "kind": 16, @@ -106061,14 +110362,14 @@ { "title": "Enumeration Members", "children": [ - 4118, - 4119 + 4175, + 4176 ] } ] }, { - "id": 4120, + "id": 4177, "name": "FilterablePriceListProps", "variant": "declaration", "kind": 128, @@ -106083,21 +110384,21 @@ }, "children": [ { - "id": 4121, + "id": 4178, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4122, + "id": 4179, "name": "new FilterablePriceListProps", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4120, + "target": 4177, "name": "FilterablePriceListProps", "package": "@medusajs/medusa" } @@ -106105,7 +110406,7 @@ ] }, { - "id": 4123, + "id": 4180, "name": "id", "variant": "declaration", "kind": 1024, @@ -106126,7 +110427,7 @@ } }, { - "id": 4124, + "id": 4181, "name": "q", "variant": "declaration", "kind": 1024, @@ -106147,7 +110448,7 @@ } }, { - "id": 4125, + "id": 4182, "name": "status", "variant": "declaration", "kind": 1024, @@ -106166,14 +110467,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4117, + "target": 4174, "name": "PriceListStatus", "package": "@medusajs/medusa" } } }, { - "id": 4126, + "id": 4183, "name": "name", "variant": "declaration", "kind": 1024, @@ -106194,7 +110495,7 @@ } }, { - "id": 4127, + "id": 4184, "name": "customer_groups", "variant": "declaration", "kind": 1024, @@ -106218,7 +110519,7 @@ } }, { - "id": 4128, + "id": 4185, "name": "description", "variant": "declaration", "kind": 1024, @@ -106239,7 +110540,7 @@ } }, { - "id": 4129, + "id": 4186, "name": "type", "variant": "declaration", "kind": 1024, @@ -106258,14 +110559,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4114, + "target": 4171, "name": "PriceListType", "package": "@medusajs/medusa" } } }, { - "id": 4130, + "id": 4187, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -106290,13 +110591,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 4131, + "id": 4188, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -106321,13 +110622,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 4132, + "id": 4189, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -106352,7 +110653,7 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } @@ -106362,56 +110663,56 @@ { "title": "Constructors", "children": [ - 4121 + 4178 ] }, { "title": "Properties", "children": [ - 4123, - 4124, - 4125, - 4126, - 4127, - 4128, - 4129, - 4130, - 4131, - 4132 + 4180, + 4181, + 4182, + 4183, + 4184, + 4185, + 4186, + 4187, + 4188, + 4189 ] } ], "extendedBy": [ { "type": "reference", - "target": 1131, + "target": 1121, "name": "AdminGetPriceListPaginationParams" } ] }, { - "id": 4133, + "id": 4190, "name": "AdminPriceListPricesUpdateReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4134, + "id": 4191, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4135, + "id": 4192, "name": "new AdminPriceListPricesUpdateReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4133, + "target": 4190, "name": "AdminPriceListPricesUpdateReq", "package": "@medusajs/medusa" } @@ -106419,7 +110720,7 @@ ] }, { - "id": 4136, + "id": 4193, "name": "id", "variant": "declaration", "kind": 1024, @@ -106440,7 +110741,7 @@ } }, { - "id": 4137, + "id": 4194, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -106461,7 +110762,7 @@ } }, { - "id": 4138, + "id": 4195, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -106482,7 +110783,7 @@ } }, { - "id": 4139, + "id": 4196, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -106501,7 +110802,7 @@ } }, { - "id": 4140, + "id": 4197, "name": "amount", "variant": "declaration", "kind": 1024, @@ -106520,7 +110821,7 @@ } }, { - "id": 4141, + "id": 4198, "name": "min_quantity", "variant": "declaration", "kind": 1024, @@ -106541,7 +110842,7 @@ } }, { - "id": 4142, + "id": 4199, "name": "max_quantity", "variant": "declaration", "kind": 1024, @@ -106566,46 +110867,46 @@ { "title": "Constructors", "children": [ - 4134 + 4191 ] }, { "title": "Properties", "children": [ - 4136, - 4137, - 4138, - 4139, - 4140, - 4141, - 4142 + 4193, + 4194, + 4195, + 4196, + 4197, + 4198, + 4199 ] } ] }, { - "id": 4143, + "id": 4200, "name": "AdminPriceListPricesCreateReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4144, + "id": 4201, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4145, + "id": 4202, "name": "new AdminPriceListPricesCreateReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4143, + "target": 4200, "name": "AdminPriceListPricesCreateReq", "package": "@medusajs/medusa" } @@ -106613,7 +110914,7 @@ ] }, { - "id": 4146, + "id": 4203, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -106634,7 +110935,7 @@ } }, { - "id": 4147, + "id": 4204, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -106655,7 +110956,7 @@ } }, { - "id": 4148, + "id": 4205, "name": "amount", "variant": "declaration", "kind": 1024, @@ -106674,7 +110975,7 @@ } }, { - "id": 4149, + "id": 4206, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -106693,7 +110994,7 @@ } }, { - "id": 4150, + "id": 4207, "name": "min_quantity", "variant": "declaration", "kind": 1024, @@ -106714,7 +111015,7 @@ } }, { - "id": 4151, + "id": 4208, "name": "max_quantity", "variant": "declaration", "kind": 1024, @@ -106739,24 +111040,24 @@ { "title": "Constructors", "children": [ - 4144 + 4201 ] }, { "title": "Properties", "children": [ - 4146, - 4147, - 4148, - 4149, - 4150, - 4151 + 4203, + 4204, + 4205, + 4206, + 4207, + 4208 ] } ] }, { - "id": 4152, + "id": 4209, "name": "CreatePriceListInput", "variant": "declaration", "kind": 2097152, @@ -106764,14 +111065,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4153, + "id": 4210, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4154, + "id": 4211, "name": "name", "variant": "declaration", "kind": 1024, @@ -106782,7 +111083,7 @@ } }, { - "id": 4155, + "id": 4212, "name": "description", "variant": "declaration", "kind": 1024, @@ -106793,20 +111094,20 @@ } }, { - "id": 4156, + "id": 4213, "name": "type", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 4114, + "target": 4171, "name": "PriceListType", "package": "@medusajs/medusa" } }, { - "id": 4157, + "id": 4214, "name": "status", "variant": "declaration", "kind": 1024, @@ -106815,13 +111116,13 @@ }, "type": { "type": "reference", - "target": 4117, + "target": 4174, "name": "PriceListStatus", "package": "@medusajs/medusa" } }, { - "id": 4158, + "id": 4215, "name": "prices", "variant": "declaration", "kind": 1024, @@ -106830,14 +111131,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4143, + "target": 4200, "name": "AdminPriceListPricesCreateReq", "package": "@medusajs/medusa" } } }, { - "id": 4159, + "id": 4216, "name": "customer_groups", "variant": "declaration", "kind": 1024, @@ -106849,14 +111150,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 4160, + "id": 4217, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4161, + "id": 4218, "name": "id", "variant": "declaration", "kind": 1024, @@ -106871,7 +111172,7 @@ { "title": "Properties", "children": [ - 4161 + 4218 ] } ] @@ -106880,7 +111181,7 @@ } }, { - "id": 4162, + "id": 4219, "name": "starts_at", "variant": "declaration", "kind": 1024, @@ -106898,7 +111199,7 @@ } }, { - "id": 4163, + "id": 4220, "name": "ends_at", "variant": "declaration", "kind": 1024, @@ -106916,7 +111217,7 @@ } }, { - "id": 4164, + "id": 4221, "name": "includes_tax", "variant": "declaration", "kind": 1024, @@ -106933,15 +111234,15 @@ { "title": "Properties", "children": [ - 4154, - 4155, - 4156, - 4157, - 4158, - 4159, - 4162, - 4163, - 4164 + 4211, + 4212, + 4213, + 4214, + 4215, + 4216, + 4219, + 4220, + 4221 ] } ] @@ -106949,7 +111250,7 @@ } }, { - "id": 4165, + "id": 4222, "name": "UpdatePriceListInput", "variant": "declaration", "kind": 2097152, @@ -107024,14 +111325,14 @@ { "type": "reflection", "declaration": { - "id": 4166, + "id": 4223, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4167, + "id": 4224, "name": "prices", "variant": "declaration", "kind": 1024, @@ -107042,14 +111343,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 4133, + "target": 4190, "name": "AdminPriceListPricesUpdateReq", "package": "@medusajs/medusa" } } }, { - "id": 4168, + "id": 4225, "name": "customer_groups", "variant": "declaration", "kind": 1024, @@ -107061,14 +111362,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 4169, + "id": 4226, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4170, + "id": 4227, "name": "id", "variant": "declaration", "kind": 1024, @@ -107083,7 +111384,7 @@ { "title": "Properties", "children": [ - 4170 + 4227 ] } ] @@ -107096,8 +111397,8 @@ { "title": "Properties", "children": [ - 4167, - 4168 + 4224, + 4225 ] } ] @@ -107107,7 +111408,7 @@ } }, { - "id": 4171, + "id": 4228, "name": "PriceListPriceUpdateInput", "variant": "declaration", "kind": 2097152, @@ -107115,14 +111416,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4172, + "id": 4229, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4173, + "id": 4230, "name": "id", "variant": "declaration", "kind": 1024, @@ -107135,7 +111436,7 @@ } }, { - "id": 4174, + "id": 4231, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -107148,7 +111449,7 @@ } }, { - "id": 4175, + "id": 4232, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -107161,7 +111462,7 @@ } }, { - "id": 4176, + "id": 4233, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -107174,7 +111475,7 @@ } }, { - "id": 4177, + "id": 4234, "name": "amount", "variant": "declaration", "kind": 1024, @@ -107187,7 +111488,7 @@ } }, { - "id": 4178, + "id": 4235, "name": "min_quantity", "variant": "declaration", "kind": 1024, @@ -107200,7 +111501,7 @@ } }, { - "id": 4179, + "id": 4236, "name": "max_quantity", "variant": "declaration", "kind": 1024, @@ -107217,13 +111518,13 @@ { "title": "Properties", "children": [ - 4173, - 4174, - 4175, - 4176, - 4177, - 4178, - 4179 + 4230, + 4231, + 4232, + 4233, + 4234, + 4235, + 4236 ] } ] @@ -107231,7 +111532,7 @@ } }, { - "id": 4180, + "id": 4237, "name": "PriceListPriceCreateInput", "variant": "declaration", "kind": 2097152, @@ -107239,14 +111540,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4181, + "id": 4238, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4182, + "id": 4239, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -107259,7 +111560,7 @@ } }, { - "id": 4183, + "id": 4240, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -107272,7 +111573,7 @@ } }, { - "id": 4184, + "id": 4241, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -107283,7 +111584,7 @@ } }, { - "id": 4185, + "id": 4242, "name": "amount", "variant": "declaration", "kind": 1024, @@ -107294,7 +111595,7 @@ } }, { - "id": 4186, + "id": 4243, "name": "min_quantity", "variant": "declaration", "kind": 1024, @@ -107307,7 +111608,7 @@ } }, { - "id": 4187, + "id": 4244, "name": "max_quantity", "variant": "declaration", "kind": 1024, @@ -107324,12 +111625,12 @@ { "title": "Properties", "children": [ - 4182, - 4183, - 4184, - 4185, - 4186, - 4187 + 4239, + 4240, + 4241, + 4242, + 4243, + 4244 ] } ] @@ -107337,7 +111638,7 @@ } }, { - "id": 4188, + "id": 4245, "name": "PriceListLoadConfig", "variant": "declaration", "kind": 2097152, @@ -107345,14 +111646,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4189, + "id": 4246, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4190, + "id": 4247, "name": "include_discount_prices", "variant": "declaration", "kind": 1024, @@ -107365,7 +111666,7 @@ } }, { - "id": 4191, + "id": 4248, "name": "customer_id", "variant": "declaration", "kind": 1024, @@ -107378,7 +111679,7 @@ } }, { - "id": 4192, + "id": 4249, "name": "cart_id", "variant": "declaration", "kind": 1024, @@ -107391,7 +111692,7 @@ } }, { - "id": 4193, + "id": 4250, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -107404,7 +111705,7 @@ } }, { - "id": 4194, + "id": 4251, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -107421,11 +111722,11 @@ { "title": "Properties", "children": [ - 4190, - 4191, - 4192, - 4193, - 4194 + 4247, + 4248, + 4249, + 4250, + 4251 ] } ] @@ -107433,7 +111734,7 @@ } }, { - "id": 4844, + "id": 4956, "name": "PriceSelectionParams", "variant": "declaration", "kind": 128, @@ -107448,39 +111749,39 @@ }, "children": [ { - "id": 4845, + "id": 4957, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4846, + "id": 4958, "name": "new PriceSelectionParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4844, + "target": 4956, "name": "PriceSelectionParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4018, + "target": 4074, "name": "FindParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4017, + "target": 4073, "name": "FindParams.constructor" } }, { - "id": 4850, + "id": 4962, "name": "expand", "variant": "declaration", "kind": 1024, @@ -107493,6 +111794,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -107501,12 +111808,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4019, + "target": 4075, "name": "FindParams.expand" } }, { - "id": 4851, + "id": 4963, "name": "fields", "variant": "declaration", "kind": 1024, @@ -107517,7 +111824,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -107527,12 +111850,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4020, + "target": 4076, "name": "FindParams.fields" } }, { - "id": 4847, + "id": 4959, "name": "cart_id", "variant": "declaration", "kind": 1024, @@ -107553,7 +111876,7 @@ } }, { - "id": 4848, + "id": 4960, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -107574,7 +111897,7 @@ } }, { - "id": 4849, + "id": 4961, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -107599,24 +111922,24 @@ { "title": "Constructors", "children": [ - 4845 + 4957 ] }, { "title": "Properties", "children": [ - 4850, - 4851, - 4847, - 4848, - 4849 + 4962, + 4963, + 4959, + 4960, + 4961 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4016, + "target": 4072, "name": "FindParams", "package": "@medusajs/medusa" } @@ -107624,28 +111947,28 @@ "extendedBy": [ { "type": "reference", - "target": 2521, + "target": 2574, "name": "StoreGetProductsPaginationParams" }, { "type": "reference", - "target": 2636, + "target": 2690, "name": "StoreGetVariantsVariantParams" }, { "type": "reference", - "target": 2645, + "target": 2699, "name": "StoreGetVariantsParams" }, { "type": "reference", - "target": 4827, + "target": 4936, "name": "AdminPriceSelectionParams" } ] }, { - "id": 4827, + "id": 4936, "name": "AdminPriceSelectionParams", "variant": "declaration", "kind": 128, @@ -107660,39 +111983,39 @@ }, "children": [ { - "id": 4828, + "id": 4937, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4829, + "id": 4938, "name": "new AdminPriceSelectionParams", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4827, + "target": 4936, "name": "AdminPriceSelectionParams", "package": "@medusajs/medusa" }, "inheritedFrom": { "type": "reference", - "target": 4846, + "target": 4958, "name": "PriceSelectionParams.constructor" } } ], "inheritedFrom": { "type": "reference", - "target": 4845, + "target": 4957, "name": "PriceSelectionParams.constructor" } }, { - "id": 4834, + "id": 4943, "name": "expand", "variant": "declaration", "kind": 1024, @@ -107705,6 +112028,12 @@ "kind": "text", "text": "Comma-separated relations that should be expanded in the returned data." } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [] + } ] }, "type": { @@ -107713,12 +112042,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4850, + "target": 4962, "name": "PriceSelectionParams.expand" } }, { - "id": 4835, + "id": 4944, "name": "fields", "variant": "declaration", "kind": 1024, @@ -107729,7 +112058,23 @@ "summary": [ { "kind": "text", - "text": "Comma-separated fields that should be included in the returned data." + "text": "Comma-separated fields that should be included in the returned data.\nif a field is prefixed with " + }, + { + "kind": "code", + "text": "`+`" + }, + { + "kind": "text", + "text": " it will be added to the default fields, using " + }, + { + "kind": "code", + "text": "`-`" + }, + { + "kind": "text", + "text": " will remove it from the default fields.\nwithout prefix it will replace the entire default fields." } ] }, @@ -107739,12 +112084,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4851, + "target": 4963, "name": "PriceSelectionParams.fields" } }, { - "id": 4831, + "id": 4940, "name": "cart_id", "variant": "declaration", "kind": 1024, @@ -107765,12 +112110,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4847, + "target": 4959, "name": "PriceSelectionParams.cart_id" } }, { - "id": 4832, + "id": 4941, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -107791,12 +112136,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4848, + "target": 4960, "name": "PriceSelectionParams.region_id" } }, { - "id": 4833, + "id": 4942, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -107817,12 +112162,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 4849, + "target": 4961, "name": "PriceSelectionParams.currency_code" } }, { - "id": 4830, + "id": 4939, "name": "customer_id", "variant": "declaration", "kind": 1024, @@ -107847,25 +112192,25 @@ { "title": "Constructors", "children": [ - 4828 + 4937 ] }, { "title": "Properties", "children": [ - 4834, - 4835, - 4831, - 4832, - 4833, - 4830 + 4943, + 4944, + 4940, + 4941, + 4942, + 4939 ] } ], "extendedTypes": [ { "type": "reference", - "target": 4844, + "target": 4956, "name": "PriceSelectionParams", "package": "@medusajs/medusa" } @@ -107873,13 +112218,13 @@ "extendedBy": [ { "type": "reference", - "target": 2112, + "target": 2128, "name": "AdminGetVariantsParams" } ] }, { - "id": 5091, + "id": 5195, "name": "ProductVariantPricing", "variant": "declaration", "kind": 2097152, @@ -107898,14 +112243,14 @@ { "type": "reflection", "declaration": { - "id": 5092, + "id": 5196, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5093, + "id": 5197, "name": "prices", "variant": "declaration", "kind": 1024, @@ -107932,7 +112277,7 @@ } }, { - "id": 5094, + "id": 5198, "name": "original_price", "variant": "declaration", "kind": 1024, @@ -107960,7 +112305,7 @@ } }, { - "id": 5095, + "id": 5199, "name": "calculated_price", "variant": "declaration", "kind": 1024, @@ -107988,7 +112333,7 @@ } }, { - "id": 5096, + "id": 5200, "name": "original_price_includes_tax", "variant": "declaration", "kind": 1024, @@ -108037,7 +112382,7 @@ } }, { - "id": 5097, + "id": 5201, "name": "calculated_price_includes_tax", "variant": "declaration", "kind": 1024, @@ -108086,7 +112431,7 @@ } }, { - "id": 5098, + "id": 5202, "name": "calculated_price_type", "variant": "declaration", "kind": 1024, @@ -108136,12 +112481,12 @@ { "title": "Properties", "children": [ - 5093, - 5094, - 5095, - 5096, - 5097, - 5098 + 5197, + 5198, + 5199, + 5200, + 5201, + 5202 ] } ] @@ -108149,7 +112494,7 @@ }, { "type": "reference", - "target": 5229, + "target": 5343, "name": "TaxedPricing", "package": "@medusajs/medusa" } @@ -108157,7 +112502,7 @@ } }, { - "id": 5229, + "id": 5343, "name": "TaxedPricing", "variant": "declaration", "kind": 2097152, @@ -108173,14 +112518,14 @@ "type": { "type": "reflection", "declaration": { - "id": 5230, + "id": 5344, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5231, + "id": 5345, "name": "original_price_incl_tax", "variant": "declaration", "kind": 1024, @@ -108208,7 +112553,7 @@ } }, { - "id": 5232, + "id": 5346, "name": "calculated_price_incl_tax", "variant": "declaration", "kind": 1024, @@ -108236,7 +112581,7 @@ } }, { - "id": 5233, + "id": 5347, "name": "original_tax", "variant": "declaration", "kind": 1024, @@ -108264,7 +112609,7 @@ } }, { - "id": 5234, + "id": 5348, "name": "calculated_tax", "variant": "declaration", "kind": 1024, @@ -108292,7 +112637,7 @@ } }, { - "id": 5235, + "id": 5349, "name": "tax_rates", "variant": "declaration", "kind": 1024, @@ -108312,7 +112657,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4934, + "target": 5046, "name": "TaxServiceRate", "package": "@medusajs/medusa" } @@ -108329,11 +112674,11 @@ { "title": "Properties", "children": [ - 5231, - 5232, - 5233, - 5234, - 5235 + 5345, + 5346, + 5347, + 5348, + 5349 ] } ] @@ -108341,7 +112686,7 @@ } }, { - "id": 5099, + "id": 5203, "name": "ShippingOptionPricing", "variant": "declaration", "kind": 2097152, @@ -108349,14 +112694,14 @@ "type": { "type": "reflection", "declaration": { - "id": 5100, + "id": 5204, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5101, + "id": 5205, "name": "price_incl_tax", "variant": "declaration", "kind": 1024, @@ -108384,7 +112729,7 @@ } }, { - "id": 5102, + "id": 5206, "name": "tax_rates", "variant": "declaration", "kind": 1024, @@ -108404,7 +112749,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4934, + "target": 5046, "name": "TaxServiceRate", "package": "@medusajs/medusa" } @@ -108417,7 +112762,7 @@ } }, { - "id": 5103, + "id": 5207, "name": "tax_amount", "variant": "declaration", "kind": 1024, @@ -108440,9 +112785,9 @@ { "title": "Properties", "children": [ - 5101, - 5102, - 5103 + 5205, + 5206, + 5207 ] } ] @@ -108450,7 +112795,7 @@ } }, { - "id": 4863, + "id": 4975, "name": "PricedShippingOption", "variant": "declaration", "kind": 2097152, @@ -108486,7 +112831,7 @@ }, { "type": "reference", - "target": 5099, + "target": 5203, "name": "ShippingOptionPricing", "package": "@medusajs/medusa" } @@ -108494,7 +112839,7 @@ } }, { - "id": 4826, + "id": 4935, "name": "PricedVariant", "variant": "declaration", "kind": 2097152, @@ -108530,7 +112875,7 @@ }, { "type": "reference", - "target": 5091, + "target": 5195, "name": "ProductVariantPricing", "package": "@medusajs/medusa" } @@ -108538,7 +112883,7 @@ } }, { - "id": 4622, + "id": 4729, "name": "PricedProduct", "variant": "declaration", "kind": 2097152, @@ -108590,14 +112935,14 @@ { "type": "reflection", "declaration": { - "id": 4623, + "id": 4730, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4624, + "id": 4731, "name": "variants", "variant": "declaration", "kind": 1024, @@ -108614,7 +112959,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 4826, + "target": 4935, "name": "PricedVariant", "package": "@medusajs/medusa" } @@ -108625,7 +112970,7 @@ { "title": "Properties", "children": [ - 4624 + 4731 ] } ] @@ -108635,28 +112980,28 @@ } }, { - "id": 4610, + "id": 4717, "name": "AdminProductCategoriesReqBase", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4611, + "id": 4718, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4612, + "id": 4719, "name": "new AdminProductCategoriesReqBase", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4610, + "target": 4717, "name": "AdminProductCategoriesReqBase", "package": "@medusajs/medusa" } @@ -108664,7 +113009,7 @@ ] }, { - "id": 4613, + "id": 4720, "name": "description", "variant": "declaration", "kind": 1024, @@ -108677,7 +113022,7 @@ } }, { - "id": 4614, + "id": 4721, "name": "handle", "variant": "declaration", "kind": 1024, @@ -108690,7 +113035,7 @@ } }, { - "id": 4615, + "id": 4722, "name": "is_internal", "variant": "declaration", "kind": 1024, @@ -108703,7 +113048,7 @@ } }, { - "id": 4616, + "id": 4723, "name": "is_active", "variant": "declaration", "kind": 1024, @@ -108716,7 +113061,7 @@ } }, { - "id": 4617, + "id": 4724, "name": "parent_category_id", "variant": "declaration", "kind": 1024, @@ -108742,56 +113087,56 @@ { "title": "Constructors", "children": [ - 4611 + 4718 ] }, { "title": "Properties", "children": [ - 4613, - 4614, - 4615, - 4616, - 4617 + 4720, + 4721, + 4722, + 4723, + 4724 ] } ], "extendedBy": [ { "type": "reference", - "target": 1189, + "target": 1180, "name": "AdminPostProductCategoriesReq" }, { "type": "reference", - "target": 1204, + "target": 1195, "name": "AdminPostProductCategoriesCategoryReq" } ] }, { - "id": 4618, + "id": 4725, "name": "ProductBatchProductCategory", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4619, + "id": 4726, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4620, + "id": 4727, "name": "new ProductBatchProductCategory", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4618, + "target": 4725, "name": "ProductBatchProductCategory", "package": "@medusajs/medusa" } @@ -108799,7 +113144,7 @@ ] }, { - "id": 4621, + "id": 4728, "name": "id", "variant": "declaration", "kind": 1024, @@ -108822,40 +113167,40 @@ { "title": "Constructors", "children": [ - 4619 + 4726 ] }, { "title": "Properties", "children": [ - 4621 + 4728 ] } ] }, { - "id": 4726, + "id": 4833, "name": "ProductVariantPricesUpdateReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4727, + "id": 4834, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4728, + "id": 4835, "name": "new ProductVariantPricesUpdateReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4726, + "target": 4833, "name": "ProductVariantPricesUpdateReq", "package": "@medusajs/medusa" } @@ -108863,7 +113208,7 @@ ] }, { - "id": 4729, + "id": 4836, "name": "id", "variant": "declaration", "kind": 1024, @@ -108884,7 +113229,7 @@ } }, { - "id": 4730, + "id": 4837, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -108905,7 +113250,7 @@ } }, { - "id": 4731, + "id": 4838, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -108926,7 +113271,7 @@ } }, { - "id": 4732, + "id": 4839, "name": "amount", "variant": "declaration", "kind": 1024, @@ -108945,7 +113290,7 @@ } }, { - "id": 4733, + "id": 4840, "name": "min_quantity", "variant": "declaration", "kind": 1024, @@ -108966,7 +113311,7 @@ } }, { - "id": 4734, + "id": 4841, "name": "max_quantity", "variant": "declaration", "kind": 1024, @@ -108991,45 +113336,45 @@ { "title": "Constructors", "children": [ - 4727 + 4834 ] }, { "title": "Properties", "children": [ - 4729, - 4730, - 4731, - 4732, - 4733, - 4734 + 4836, + 4837, + 4838, + 4839, + 4840, + 4841 ] } ] }, { - "id": 4669, + "id": 4776, "name": "ProductVariantPricesCreateReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4670, + "id": 4777, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4671, + "id": 4778, "name": "new ProductVariantPricesCreateReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4669, + "target": 4776, "name": "ProductVariantPricesCreateReq", "package": "@medusajs/medusa" } @@ -109037,7 +113382,7 @@ ] }, { - "id": 4672, + "id": 4779, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -109058,7 +113403,7 @@ } }, { - "id": 4673, + "id": 4780, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -109079,7 +113424,7 @@ } }, { - "id": 4674, + "id": 4781, "name": "amount", "variant": "declaration", "kind": 1024, @@ -109098,7 +113443,7 @@ } }, { - "id": 4675, + "id": 4782, "name": "min_quantity", "variant": "declaration", "kind": 1024, @@ -109119,7 +113464,7 @@ } }, { - "id": 4676, + "id": 4783, "name": "max_quantity", "variant": "declaration", "kind": 1024, @@ -109144,23 +113489,23 @@ { "title": "Constructors", "children": [ - 4670 + 4777 ] }, { "title": "Properties", "children": [ - 4672, - 4673, - 4674, - 4675, - 4676 + 4779, + 4780, + 4781, + 4782, + 4783 ] } ] }, { - "id": 4682, + "id": 4789, "name": "FilterableProductProps", "variant": "declaration", "kind": 128, @@ -109175,21 +113520,21 @@ }, "children": [ { - "id": 4683, + "id": 4790, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4684, + "id": 4791, "name": "new FilterableProductProps", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4682, + "target": 4789, "name": "FilterableProductProps", "package": "@medusajs/medusa" } @@ -109197,7 +113542,7 @@ ] }, { - "id": 4685, + "id": 4792, "name": "id", "variant": "declaration", "kind": 1024, @@ -109230,7 +113575,7 @@ } }, { - "id": 4686, + "id": 4793, "name": "q", "variant": "declaration", "kind": 1024, @@ -109251,7 +113596,7 @@ } }, { - "id": 4687, + "id": 4794, "name": "status", "variant": "declaration", "kind": 1024, @@ -109280,7 +113625,7 @@ } }, { - "id": 4688, + "id": 4795, "name": "price_list_id", "variant": "declaration", "kind": 1024, @@ -109304,7 +113649,7 @@ } }, { - "id": 4689, + "id": 4796, "name": "collection_id", "variant": "declaration", "kind": 1024, @@ -109328,7 +113673,7 @@ } }, { - "id": 4690, + "id": 4797, "name": "tags", "variant": "declaration", "kind": 1024, @@ -109352,7 +113697,7 @@ } }, { - "id": 4691, + "id": 4798, "name": "title", "variant": "declaration", "kind": 1024, @@ -109373,7 +113718,7 @@ } }, { - "id": 4692, + "id": 4799, "name": "description", "variant": "declaration", "kind": 1024, @@ -109394,7 +113739,7 @@ } }, { - "id": 4693, + "id": 4800, "name": "handle", "variant": "declaration", "kind": 1024, @@ -109415,7 +113760,7 @@ } }, { - "id": 4694, + "id": 4801, "name": "is_giftcard", "variant": "declaration", "kind": 1024, @@ -109436,7 +113781,7 @@ } }, { - "id": 4695, + "id": 4802, "name": "type_id", "variant": "declaration", "kind": 1024, @@ -109460,7 +113805,7 @@ } }, { - "id": 4696, + "id": 4803, "name": "sales_channel_id", "variant": "declaration", "kind": 1024, @@ -109484,7 +113829,7 @@ } }, { - "id": 4697, + "id": 4804, "name": "discount_condition_id", "variant": "declaration", "kind": 1024, @@ -109505,7 +113850,7 @@ } }, { - "id": 4698, + "id": 4805, "name": "category_id", "variant": "declaration", "kind": 1024, @@ -109529,7 +113874,7 @@ } }, { - "id": 4699, + "id": 4806, "name": "include_category_children", "variant": "declaration", "kind": 1024, @@ -109561,7 +113906,7 @@ } }, { - "id": 4700, + "id": 4807, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -109586,13 +113931,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 4701, + "id": 4808, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -109617,13 +113962,13 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } }, { - "id": 4702, + "id": 4809, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -109648,7 +113993,7 @@ }, "type": { "type": "reference", - "target": 3964, + "target": 4020, "name": "DateComparisonOperator", "package": "@medusajs/medusa" } @@ -109658,64 +114003,64 @@ { "title": "Constructors", "children": [ - 4683 + 4790 ] }, { "title": "Properties", "children": [ - 4685, - 4686, - 4687, - 4688, - 4689, - 4690, - 4691, - 4692, - 4693, - 4694, - 4695, - 4696, - 4697, - 4698, - 4699, - 4700, - 4701, - 4702 + 4792, + 4793, + 4794, + 4795, + 4796, + 4797, + 4798, + 4799, + 4800, + 4801, + 4802, + 4803, + 4804, + 4805, + 4806, + 4807, + 4808, + 4809 ] } ], "extendedBy": [ { "type": "reference", - "target": 1409, + "target": 1401, "name": "AdminGetProductsParams" } ] }, { - "id": 4635, + "id": 4742, "name": "ProductSalesChannelReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4636, + "id": 4743, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4637, + "id": 4744, "name": "new ProductSalesChannelReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4635, + "target": 4742, "name": "ProductSalesChannelReq", "package": "@medusajs/medusa" } @@ -109723,7 +114068,7 @@ ] }, { - "id": 4638, + "id": 4745, "name": "id", "variant": "declaration", "kind": 1024, @@ -109746,40 +114091,40 @@ { "title": "Constructors", "children": [ - 4636 + 4743 ] }, { "title": "Properties", "children": [ - 4638 + 4745 ] } ] }, { - "id": 4639, + "id": 4746, "name": "ProductProductCategoryReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4640, + "id": 4747, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4641, + "id": 4748, "name": "new ProductProductCategoryReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4639, + "target": 4746, "name": "ProductProductCategoryReq", "package": "@medusajs/medusa" } @@ -109787,7 +114132,7 @@ ] }, { - "id": 4642, + "id": 4749, "name": "id", "variant": "declaration", "kind": 1024, @@ -109810,40 +114155,40 @@ { "title": "Constructors", "children": [ - 4640 + 4747 ] }, { "title": "Properties", "children": [ - 4642 + 4749 ] } ] }, { - "id": 4630, + "id": 4737, "name": "ProductTagReq", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4631, + "id": 4738, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4632, + "id": 4739, "name": "new ProductTagReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4630, + "target": 4737, "name": "ProductTagReq", "package": "@medusajs/medusa" } @@ -109851,7 +114196,7 @@ ] }, { - "id": 4633, + "id": 4740, "name": "id", "variant": "declaration", "kind": 1024, @@ -109872,7 +114217,7 @@ } }, { - "id": 4634, + "id": 4741, "name": "value", "variant": "declaration", "kind": 1024, @@ -109895,20 +114240,20 @@ { "title": "Constructors", "children": [ - 4631 + 4738 ] }, { "title": "Properties", "children": [ - 4633, - 4634 + 4740, + 4741 ] } ] }, { - "id": 4625, + "id": 4732, "name": "ProductTypeReq", "variant": "declaration", "kind": 128, @@ -109923,21 +114268,21 @@ }, "children": [ { - "id": 4626, + "id": 4733, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4627, + "id": 4734, "name": "new ProductTypeReq", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4625, + "target": 4732, "name": "ProductTypeReq", "package": "@medusajs/medusa" } @@ -109945,7 +114290,7 @@ ] }, { - "id": 4628, + "id": 4735, "name": "id", "variant": "declaration", "kind": 1024, @@ -109966,7 +114311,7 @@ } }, { - "id": 4629, + "id": 4736, "name": "value", "variant": "declaration", "kind": 1024, @@ -109989,20 +114334,20 @@ { "title": "Constructors", "children": [ - 4626 + 4733 ] }, { "title": "Properties", "children": [ - 4628, - 4629 + 4735, + 4736 ] } ] }, { - "id": 4908, + "id": 5020, "name": "RequestContext", "variant": "declaration", "kind": 2097152, @@ -110010,14 +114355,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4909, + "id": 5021, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4910, + "id": 5022, "name": "ip", "variant": "declaration", "kind": 1024, @@ -110032,7 +114377,7 @@ { "title": "Properties", "children": [ - 4910 + 5022 ] } ] @@ -110040,14 +114385,52 @@ } }, { - "id": 4195, + "id": 4252, "name": "MedusaRequest", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { - "id": 4205, + "id": 4276, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "unknown", + "name": "(User | Customer) & { customer_id?: string | undefined; userId?: string | undefined; }" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Request.user" + } + }, + { + "id": 4253, + "name": "validatedBody", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 4277, + "name": "Body", + "package": "@medusajs/medusa", + "qualifiedName": "MedusaRequest.Body", + "refersToTypeParameter": true + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "Request.validatedBody" + } + }, + { + "id": 4254, "name": "validatedQuery", "variant": "declaration", "kind": 1024, @@ -110057,9 +114440,9 @@ "types": [ { "type": "reference", - "target": 3947, + "target": 5091, "name": "RequestQueryFields", - "package": "@medusajs/medusa" + "package": "@medusajs/types" }, { "type": "reference", @@ -110082,37 +114465,56 @@ } ] }, - "inheritedFrom": { + "overwrites": { "type": "reference", "target": -1, "name": "Request.validatedQuery" } }, { - "id": 4206, - "name": "validatedBody", + "id": 4255, + "name": "allowedProperties", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "TODO: shouldn't this correspond to returnable fields instead of allowed fields? also it is used by the cleanResponseData util" + } + ] + }, "type": { - "type": "intrinsic", - "name": "unknown" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } }, - "inheritedFrom": { + "overwrites": { "type": "reference", "target": -1, - "name": "Request.validatedBody" + "name": "Request.allowedProperties" } }, { - "id": 4207, + "id": 4256, "name": "listConfig", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object containing the select, relation, skip, take and order to be used with medusa internal services" + } + ] + }, "type": { "type": "reference", - "target": 3900, + "target": 3954, "typeArguments": [ { "type": "intrinsic", @@ -110122,21 +114524,29 @@ "name": "FindConfig", "package": "@medusajs/medusa" }, - "inheritedFrom": { + "overwrites": { "type": "reference", "target": -1, "name": "Request.listConfig" } }, { - "id": 4208, + "id": 4257, "name": "retrieveConfig", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object containing the select, relation to be used with medusa internal services" + } + ] + }, "type": { "type": "reference", - "target": 3900, + "target": 3954, "typeArguments": [ { "type": "intrinsic", @@ -110146,18 +114556,168 @@ "name": "FindConfig", "package": "@medusajs/medusa" }, - "inheritedFrom": { + "overwrites": { "type": "reference", "target": -1, "name": "Request.retrieveConfig" } }, { - "id": 4209, + "id": 4258, + "name": "remoteQueryConfig", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object containing fields and variables to be used with the remoteQuery" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 4259, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 4260, + "name": "fields", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4261, + "name": "pagination", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 4262, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 4263, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 4264, + "name": "skip", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4265, + "name": "take", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4263, + 4264, + 4265 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4260, + 4261 + ] + } + ] + } + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "Request.remoteQueryConfig" + } + }, + { + "id": 4266, "name": "filterableFields", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object containing the fields that are filterable e.g " + }, + { + "kind": "code", + "text": "`{ id: Any }`" + } + ] + }, "type": { "type": "reference", "target": { @@ -110177,18 +114737,391 @@ "name": "Record", "package": "typescript" }, - "inheritedFrom": { + "overwrites": { "type": "reference", "target": -1, "name": "Request.filterableFields" } }, { - "id": 4210, + "id": 4267, + "name": "includes", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "Record", + "package": "typescript" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "Request.includes" + } + }, + { + "id": 4268, + "name": "allowedFields", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of fields and relations that are allowed to be queried, this can be set by the\nconsumer as part of a middleware and it will take precedence over the defaultAllowedFields" + } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "use " + }, + { + "kind": "code", + "text": "`allowed`" + }, + { + "kind": "text", + "text": " instead" + } + ] + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "Request.allowedFields" + } + }, + { + "id": 4269, + "name": "allowed", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of fields and relations that are allowed to be queried, this can be set by the\nconsumer as part of a middleware and it will take precedence over the defaultAllowedFields set\nby the api" + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "Request.allowed" + } + }, + { + "id": 4270, + "name": "errors", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "Request.errors" + } + }, + { + "id": 4271, + "name": "scope", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 5097, + "name": "MedusaContainer", + "package": "@medusajs/types" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "Request.scope" + } + }, + { + "id": 4272, + "name": "session", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 4273, + "name": "rawBody", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 4274, + "name": "requestId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "Request.requestId" + } + }, + { + "id": 4275, + "name": "pricingContext", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that carries the context that is used to calculate prices for variants" + } + ] + }, + "type": { + "type": "reference", + "target": 5108, + "name": "MedusaPricingContext", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4276, + 4253, + 4254, + 4255, + 4256, + 4257, + 4258, + 4266, + 4267, + 4268, + 4269, + 4270, + 4271, + 4272, + 4273, + 4274, + 4275 + ] + } + ], + "typeParameters": [ + { + "id": 4277, + "name": "Body", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/@types/express/index.d.ts", + "qualifiedName": "e.Request" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/@types/express-serve-static-core/index.d.ts", + "qualifiedName": "ParamsDictionary" + }, + "name": "core.ParamsDictionary", + "package": "@types/express-serve-static-core", + "qualifiedName": "ParamsDictionary" + }, + { + "type": "intrinsic", + "name": "any" + }, + { + "type": "reference", + "target": 4277, + "name": "Body", + "package": "@medusajs/medusa", + "qualifiedName": "MedusaRequest.Body", + "refersToTypeParameter": true + } + ], + "name": "Request", + "package": "@types/express", + "qualifiedName": "e.Request" + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 4278, + "name": "AuthenticatedMedusaRequest" + } + ] + }, + { + "id": 4278, + "name": "AuthenticatedMedusaRequest", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4289, + "name": "validatedBody", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 4312, + "name": "Body", + "package": "@medusajs/medusa", + "qualifiedName": "AuthenticatedMedusaRequest.Body", + "refersToTypeParameter": true + }, + "inheritedFrom": { + "type": "reference", + "target": 4253, + "name": "MedusaRequest.validatedBody" + } + }, + { + "id": 4290, + "name": "validatedQuery", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 5091, + "name": "RequestQueryFields", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 4254, + "name": "MedusaRequest.validatedQuery" + } + }, + { + "id": 4291, "name": "allowedProperties", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "TODO: shouldn't this correspond to returnable fields instead of allowed fields? also it is used by the cleanResponseData util" + } + ] + }, "type": { "type": "array", "elementType": { @@ -110198,12 +115131,257 @@ }, "inheritedFrom": { "type": "reference", - "target": -1, - "name": "Request.allowedProperties" + "target": 4255, + "name": "MedusaRequest.allowedProperties" + } + }, + { + "id": 4292, + "name": "listConfig", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object containing the select, relation, skip, take and order to be used with medusa internal services" + } + ] + }, + "type": { + "type": "reference", + "target": 3954, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "FindConfig", + "package": "@medusajs/medusa" + }, + "inheritedFrom": { + "type": "reference", + "target": 4256, + "name": "MedusaRequest.listConfig" + } + }, + { + "id": 4293, + "name": "retrieveConfig", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object containing the select, relation to be used with medusa internal services" + } + ] + }, + "type": { + "type": "reference", + "target": 3954, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "FindConfig", + "package": "@medusajs/medusa" + }, + "inheritedFrom": { + "type": "reference", + "target": 4257, + "name": "MedusaRequest.retrieveConfig" + } + }, + { + "id": 4294, + "name": "remoteQueryConfig", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object containing fields and variables to be used with the remoteQuery" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 4295, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 4296, + "name": "fields", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4297, + "name": "pagination", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 4298, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 4299, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 4300, + "name": "skip", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4301, + "name": "take", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4299, + 4300, + 4301 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4296, + 4297 + ] + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 4258, + "name": "MedusaRequest.remoteQueryConfig" + } + }, + { + "id": 4302, + "name": "filterableFields", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object containing the fields that are filterable e.g " + }, + { + "kind": "code", + "text": "`{ id: Any }`" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 4266, + "name": "MedusaRequest.filterableFields" } }, { - "id": 4211, + "id": 4303, "name": "includes", "variant": "declaration", "kind": 1024, @@ -110231,16 +115409,45 @@ }, "inheritedFrom": { "type": "reference", - "target": -1, - "name": "Request.includes" + "target": 4267, + "name": "MedusaRequest.includes" } }, { - "id": 4212, - "name": "errors", + "id": 4304, + "name": "allowedFields", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of fields and relations that are allowed to be queried, this can be set by the\nconsumer as part of a middleware and it will take precedence over the defaultAllowedFields" + } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "use " + }, + { + "kind": "code", + "text": "`allowed`" + }, + { + "kind": "text", + "text": " instead" + } + ] + } + ] + }, "type": { "type": "array", "elementType": { @@ -110250,48 +115457,78 @@ }, "inheritedFrom": { "type": "reference", - "target": -1, - "name": "Request.errors" + "target": 4268, + "name": "MedusaRequest.allowedFields" } }, { - "id": 4196, - "name": "user", + "id": 4305, + "name": "allowed", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of fields and relations that are allowed to be queried, this can be set by the\nconsumer as part of a middleware and it will take precedence over the defaultAllowedFields set\nby the api" + } + ] + }, "type": { - "type": "unknown", - "name": "(User | Customer) & { customer_id?: string | undefined; userId?: string | undefined; }" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } }, - "overwrites": { + "inheritedFrom": { "type": "reference", - "target": -1, - "name": "Request.user" + "target": 4269, + "name": "MedusaRequest.allowed" } }, { - "id": 4197, + "id": 4306, + "name": "errors", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "inheritedFrom": { + "type": "reference", + "target": 4270, + "name": "MedusaRequest.errors" + } + }, + { + "id": 4307, "name": "scope", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 4978, + "target": 5097, "name": "MedusaContainer", - "package": "medusa-core-utils" + "package": "@medusajs/types" }, - "overwrites": { + "inheritedFrom": { "type": "reference", - "target": -1, - "name": "Request.scope" + "target": 4271, + "name": "MedusaRequest.scope" } }, { - "id": 4198, + "id": 4308, "name": "session", "variant": "declaration", "kind": 1024, @@ -110301,10 +115538,33 @@ "type": { "type": "intrinsic", "name": "any" + }, + "inheritedFrom": { + "type": "reference", + "target": 4272, + "name": "MedusaRequest.session" } }, { - "id": 4199, + "id": 4309, + "name": "rawBody", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + }, + "inheritedFrom": { + "type": "reference", + "target": 4273, + "name": "MedusaRequest.rawBody" + } + }, + { + "id": 4310, "name": "requestId", "variant": "declaration", "kind": 1024, @@ -110315,32 +115575,156 @@ "type": "intrinsic", "name": "string" }, - "overwrites": { + "inheritedFrom": { "type": "reference", - "target": -1, - "name": "Request.requestId" + "target": 4274, + "name": "MedusaRequest.requestId" } }, { - "id": 4200, - "name": "auth_user", + "id": 4311, + "name": "pricingContext", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that carries the context that is used to calculate prices for variants" + } + ] + }, + "type": { + "type": "reference", + "target": 5108, + "name": "MedusaPricingContext", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 4275, + "name": "MedusaRequest.pricingContext" + } + }, + { + "id": 4279, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/medusa/src/models/user.ts", + "qualifiedName": "User" + }, + "name": "User", + "package": "@medusajs/medusa" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/medusa/src/models/customer.ts", + "qualifiedName": "Customer" + }, + "name": "Customer", + "package": "@medusajs/medusa" + } + ] + }, + { + "type": "reflection", + "declaration": { + "id": 4280, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 4281, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4282, + "name": "userId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4281, + 4282 + ] + } + ] + } + } + ] + }, + "overwrites": { + "type": "reference", + "target": 4276, + "name": "MedusaRequest.user" + } + }, + { + "id": 4283, + "name": "auth", + "variant": "declaration", + "kind": 1024, + "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 4201, + "id": 4284, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4202, - "name": "id", + "id": 4285, + "name": "actor_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4286, + "name": "auth_user_id", "variant": "declaration", "kind": 1024, "flags": {}, @@ -110350,7 +115734,7 @@ } }, { - "id": 4203, + "id": 4287, "name": "app_metadata", "variant": "declaration", "kind": 1024, @@ -110376,7 +115760,7 @@ } }, { - "id": 4204, + "id": 4288, "name": "scope", "variant": "declaration", "kind": 1024, @@ -110391,9 +115775,10 @@ { "title": "Properties", "children": [ - 4202, - 4203, - 4204 + 4285, + 4286, + 4287, + 4288 ] } ] @@ -110405,54 +115790,100 @@ { "title": "Properties", "children": [ - 4205, - 4206, - 4207, - 4208, - 4209, - 4210, - 4211, - 4212, - 4196, - 4197, - 4198, - 4199, - 4200 + 4289, + 4290, + 4291, + 4292, + 4293, + 4294, + 4302, + 4303, + 4304, + 4305, + 4306, + 4307, + 4308, + 4309, + 4310, + 4311, + 4279, + 4283 ] } ], + "typeParameters": [ + { + "id": 4312, + "name": "Body", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], "extendedTypes": [ { "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/@types/express/index.d.ts", - "qualifiedName": "e.Request" - }, - "name": "Request", - "package": "@types/express", - "qualifiedName": "e.Request" + "target": 4252, + "typeArguments": [ + { + "type": "reference", + "target": 4312, + "name": "Body", + "package": "@medusajs/medusa", + "qualifiedName": "AuthenticatedMedusaRequest.Body", + "refersToTypeParameter": true + } + ], + "name": "MedusaRequest", + "package": "@medusajs/medusa" } ] }, { - "id": 4213, + "id": 4313, "name": "MedusaResponse", "variant": "declaration", "kind": 2097152, "flags": {}, + "typeParameters": [ + { + "id": 4314, + "name": "Body", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], "type": { "type": "reference", "target": { "sourceFileName": "../../../node_modules/@types/express/index.d.ts", "qualifiedName": "e.Response" }, + "typeArguments": [ + { + "type": "reference", + "target": 4314, + "name": "Body", + "package": "@medusajs/medusa", + "refersToTypeParameter": true + } + ], "name": "Response", "package": "@types/express", "qualifiedName": "e.Response" } }, { - "id": 4214, + "id": 4315, "name": "MedusaNextFunction", "variant": "declaration", "kind": 2097152, @@ -110469,62 +115900,104 @@ } }, { - "id": 4215, + "id": 4316, "name": "MedusaRequestHandler", "variant": "declaration", "kind": 2097152, "flags": {}, + "typeParameters": [ + { + "id": 4322, + "name": "Body", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 4323, + "name": "Res", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], "type": { "type": "reflection", "declaration": { - "id": 4216, + "id": 4317, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4217, + "id": 4318, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4218, + "id": 4319, "name": "req", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 4195, + "target": 4252, + "typeArguments": [ + { + "type": "reference", + "target": 4322, + "name": "Body", + "package": "@medusajs/medusa", + "refersToTypeParameter": true + } + ], "name": "MedusaRequest", "package": "@medusajs/medusa" } }, { - "id": 4219, + "id": 4320, "name": "res", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 4213, + "target": 4313, + "typeArguments": [ + { + "type": "reference", + "target": 4323, + "name": "Res", + "package": "@medusajs/medusa", + "refersToTypeParameter": true + } + ], "name": "MedusaResponse", "package": "@medusajs/medusa" } }, { - "id": 4220, + "id": 4321, "name": "next", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 4214, + "target": 4315, "name": "MedusaNextFunction", "package": "@medusajs/medusa" } @@ -110560,28 +116033,28 @@ } }, { - "id": 4740, + "id": 4847, "name": "ProductBatchSalesChannel", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4741, + "id": 4848, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4742, + "id": 4849, "name": "new ProductBatchSalesChannel", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 4740, + "target": 4847, "name": "ProductBatchSalesChannel", "package": "@medusajs/medusa" } @@ -110589,7 +116062,7 @@ ] }, { - "id": 4743, + "id": 4850, "name": "id", "variant": "declaration", "kind": 1024, @@ -110612,26 +116085,26 @@ { "title": "Constructors", "children": [ - 4741 + 4848 ] }, { "title": "Properties", "children": [ - 4743 + 4850 ] } ] }, { - "id": 4221, + "id": 4324, "name": "ScheduledJobConfig", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 4226, + "id": 4329, "name": "T", "variant": "typeParam", "kind": 131072, @@ -110645,14 +116118,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4222, + "id": 4325, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4223, + "id": 4326, "name": "name", "variant": "declaration", "kind": 1024, @@ -110671,7 +116144,7 @@ } }, { - "id": 4224, + "id": 4327, "name": "schedule", "variant": "declaration", "kind": 1024, @@ -110698,7 +116171,7 @@ } }, { - "id": 4225, + "id": 4328, "name": "data", "variant": "declaration", "kind": 1024, @@ -110715,7 +116188,7 @@ }, "type": { "type": "reference", - "target": 4226, + "target": 4329, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -110726,9 +116199,9 @@ { "title": "Properties", "children": [ - 4223, - 4224, - 4225 + 4326, + 4327, + 4328 ] } ] @@ -110736,14 +116209,14 @@ } }, { - "id": 4227, + "id": 4330, "name": "ScheduledJobArgs", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 4232, + "id": 4335, "name": "T", "variant": "typeParam", "kind": 131072, @@ -110757,27 +116230,27 @@ "type": { "type": "reflection", "declaration": { - "id": 4228, + "id": 4331, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4229, + "id": 4332, "name": "container", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 5008, + "target": 5097, "name": "MedusaContainer", "package": "@medusajs/types" } }, { - "id": 4230, + "id": 4333, "name": "data", "variant": "declaration", "kind": 1024, @@ -110786,14 +116259,14 @@ }, "type": { "type": "reference", - "target": 4232, + "target": 4335, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true } }, { - "id": 4231, + "id": 4334, "name": "pluginOptions", "variant": "declaration", "kind": 1024, @@ -110825,9 +116298,9 @@ { "title": "Properties", "children": [ - 4229, - 4230, - 4231 + 4332, + 4333, + 4334 ] } ] @@ -110835,7 +116308,7 @@ } }, { - "id": 5090, + "id": 5194, "name": "ModulesResponse", "variant": "declaration", "kind": 2097152, @@ -110848,14 +116321,14 @@ }, "type": { "type": "reference", - "target": 5225, + "target": 5339, "name": "sdkModulesResponse", "package": "@medusajs/types", "qualifiedName": "ModulesResponse" } }, { - "id": 4813, + "id": 4922, "name": "ExtendedStoreDTO", "variant": "declaration", "kind": 2097152, @@ -110881,14 +116354,14 @@ { "type": "reflection", "declaration": { - "id": 4814, + "id": 4923, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4815, + "id": 4924, "name": "payment_providers", "variant": "declaration", "kind": 1024, @@ -110915,7 +116388,7 @@ } }, { - "id": 4816, + "id": 4925, "name": "fulfillment_providers", "variant": "declaration", "kind": 1024, @@ -110942,7 +116415,7 @@ } }, { - "id": 4817, + "id": 4926, "name": "feature_flags", "variant": "declaration", "kind": 1024, @@ -110957,13 +116430,13 @@ }, "type": { "type": "reference", - "target": 5086, + "target": 5190, "name": "FeatureFlagsResponse", "package": "@medusajs/medusa" } }, { - "id": 4818, + "id": 4927, "name": "modules", "variant": "declaration", "kind": 1024, @@ -110978,7 +116451,7 @@ }, "type": { "type": "reference", - "target": 5090, + "target": 5194, "name": "ModulesResponse", "package": "@medusajs/medusa" } @@ -110988,10 +116461,10 @@ { "title": "Properties", "children": [ - 4815, - 4816, - 4817, - 4818 + 4924, + 4925, + 4926, + 4927 ] } ] @@ -111001,14 +116474,14 @@ } }, { - "id": 5019, + "id": 5114, "name": "SubscriberContext", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { - "id": 5020, + "id": 5115, "name": "subscriberId", "variant": "declaration", "kind": 1024, @@ -111025,7 +116498,7 @@ { "title": "Properties", "children": [ - 5020 + 5115 ] } ], @@ -111052,7 +116525,7 @@ ] }, { - "id": 4233, + "id": 4336, "name": "SubscriberConfig", "variant": "declaration", "kind": 2097152, @@ -111060,14 +116533,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4234, + "id": 4337, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4235, + "id": 4338, "name": "event", "variant": "declaration", "kind": 1024, @@ -111090,7 +116563,7 @@ } }, { - "id": 4236, + "id": 4339, "name": "context", "variant": "declaration", "kind": 1024, @@ -111099,7 +116572,7 @@ }, "type": { "type": "reference", - "target": 5019, + "target": 5114, "name": "SubscriberContext", "package": "@medusajs/medusa" } @@ -111109,8 +116582,8 @@ { "title": "Properties", "children": [ - 4235, - 4236 + 4338, + 4339 ] } ] @@ -111118,14 +116591,14 @@ } }, { - "id": 4237, + "id": 4340, "name": "SubscriberArgs", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 4243, + "id": 4346, "name": "T", "variant": "typeParam", "kind": 131072, @@ -111139,28 +116612,28 @@ "type": { "type": "reflection", "declaration": { - "id": 4238, + "id": 4341, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4239, + "id": 4342, "name": "data", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 4243, + "target": 4346, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true } }, { - "id": 4240, + "id": 4343, "name": "eventName", "variant": "declaration", "kind": 1024, @@ -111171,20 +116644,20 @@ } }, { - "id": 4241, + "id": 4344, "name": "container", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 5008, + "target": 5097, "name": "MedusaContainer", "package": "@medusajs/types" } }, { - "id": 4242, + "id": 4345, "name": "pluginOptions", "variant": "declaration", "kind": 1024, @@ -111214,10 +116687,10 @@ { "title": "Properties", "children": [ - 4239, - 4240, - 4241, - 4242 + 4342, + 4343, + 4344, + 4345 ] } ] @@ -111225,7 +116698,7 @@ } }, { - "id": 4934, + "id": 5046, "name": "TaxServiceRate", "variant": "declaration", "kind": 2097152, @@ -111241,14 +116714,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4935, + "id": 5047, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4936, + "id": 5048, "name": "rate", "variant": "declaration", "kind": 1024, @@ -111278,7 +116751,7 @@ } }, { - "id": 4937, + "id": 5049, "name": "name", "variant": "declaration", "kind": 1024, @@ -111297,7 +116770,7 @@ } }, { - "id": 4938, + "id": 5050, "name": "code", "variant": "declaration", "kind": 1024, @@ -111329,9 +116802,9 @@ { "title": "Properties", "children": [ - 4936, - 4937, - 4938 + 5048, + 5049, + 5050 ] } ] @@ -111339,7 +116812,7 @@ } }, { - "id": 5119, + "id": 5223, "name": "ProviderShippingMethodTaxLine", "variant": "declaration", "kind": 2097152, @@ -111355,14 +116828,14 @@ "type": { "type": "reflection", "declaration": { - "id": 5120, + "id": 5224, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5121, + "id": 5225, "name": "rate", "variant": "declaration", "kind": 1024, @@ -111381,7 +116854,7 @@ } }, { - "id": 5122, + "id": 5226, "name": "name", "variant": "declaration", "kind": 1024, @@ -111400,7 +116873,7 @@ } }, { - "id": 5123, + "id": 5227, "name": "code", "variant": "declaration", "kind": 1024, @@ -111428,7 +116901,7 @@ } }, { - "id": 5124, + "id": 5228, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -111464,7 +116937,7 @@ } }, { - "id": 5125, + "id": 5229, "name": "shipping_method_id", "variant": "declaration", "kind": 1024, @@ -111487,11 +116960,11 @@ { "title": "Properties", "children": [ - 5121, - 5122, - 5123, - 5124, - 5125 + 5225, + 5226, + 5227, + 5228, + 5229 ] } ] @@ -111499,7 +116972,7 @@ } }, { - "id": 5112, + "id": 5216, "name": "ProviderLineItemTaxLine", "variant": "declaration", "kind": 2097152, @@ -111515,14 +116988,14 @@ "type": { "type": "reflection", "declaration": { - "id": 5113, + "id": 5217, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5114, + "id": 5218, "name": "rate", "variant": "declaration", "kind": 1024, @@ -111541,7 +117014,7 @@ } }, { - "id": 5115, + "id": 5219, "name": "name", "variant": "declaration", "kind": 1024, @@ -111560,7 +117033,7 @@ } }, { - "id": 5116, + "id": 5220, "name": "code", "variant": "declaration", "kind": 1024, @@ -111588,7 +117061,7 @@ } }, { - "id": 5117, + "id": 5221, "name": "item_id", "variant": "declaration", "kind": 1024, @@ -111607,7 +117080,7 @@ } }, { - "id": 5118, + "id": 5222, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -111647,11 +117120,11 @@ { "title": "Properties", "children": [ - 5114, - 5115, - 5116, - 5117, - 5118 + 5218, + 5219, + 5220, + 5221, + 5222 ] } ] @@ -111659,7 +117132,7 @@ } }, { - "id": 4948, + "id": 5060, "name": "ProviderTaxLine", "variant": "declaration", "kind": 2097152, @@ -111677,13 +117150,13 @@ "types": [ { "type": "reference", - "target": 5112, + "target": 5216, "name": "ProviderLineItemTaxLine", "package": "@medusajs/medusa" }, { "type": "reference", - "target": 5119, + "target": 5223, "name": "ProviderShippingMethodTaxLine", "package": "@medusajs/medusa" } @@ -111691,7 +117164,7 @@ } }, { - "id": 5104, + "id": 5208, "name": "GiftCardAllocation", "variant": "declaration", "kind": 2097152, @@ -111707,14 +117180,14 @@ "type": { "type": "reflection", "declaration": { - "id": 5105, + "id": 5209, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5106, + "id": 5210, "name": "amount", "variant": "declaration", "kind": 1024, @@ -111725,7 +117198,7 @@ } }, { - "id": 5107, + "id": 5211, "name": "unit_amount", "variant": "declaration", "kind": 1024, @@ -111740,8 +117213,8 @@ { "title": "Properties", "children": [ - 5106, - 5107 + 5210, + 5211 ] } ] @@ -111749,7 +117222,7 @@ } }, { - "id": 5108, + "id": 5212, "name": "DiscountAllocation", "variant": "declaration", "kind": 2097152, @@ -111765,14 +117238,14 @@ "type": { "type": "reflection", "declaration": { - "id": 5109, + "id": 5213, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5110, + "id": 5214, "name": "amount", "variant": "declaration", "kind": 1024, @@ -111783,7 +117256,7 @@ } }, { - "id": 5111, + "id": 5215, "name": "unit_amount", "variant": "declaration", "kind": 1024, @@ -111798,8 +117271,8 @@ { "title": "Properties", "children": [ - 5110, - 5111 + 5214, + 5215 ] } ] @@ -111807,7 +117280,7 @@ } }, { - "id": 4941, + "id": 5053, "name": "LineAllocationsMap", "variant": "declaration", "kind": 2097152, @@ -111823,20 +117296,20 @@ "type": { "type": "reflection", "declaration": { - "id": 4942, + "id": 5054, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 4943, + "id": 5055, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 4944, + "id": 5056, "name": "K", "variant": "param", "kind": 32768, @@ -111850,14 +117323,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4945, + "id": 5057, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4946, + "id": 5058, "name": "gift_card", "variant": "declaration", "kind": 1024, @@ -111874,13 +117347,13 @@ }, "type": { "type": "reference", - "target": 5104, + "target": 5208, "name": "GiftCardAllocation", "package": "@medusajs/medusa" } }, { - "id": 4947, + "id": 5059, "name": "discount", "variant": "declaration", "kind": 1024, @@ -111897,7 +117370,7 @@ }, "type": { "type": "reference", - "target": 5108, + "target": 5212, "name": "DiscountAllocation", "package": "@medusajs/medusa" } @@ -111907,8 +117380,8 @@ { "title": "Properties", "children": [ - 4946, - 4947 + 5058, + 5059 ] } ] @@ -111919,14 +117392,14 @@ } }, { - "id": 4822, + "id": 4931, "name": "UserRole", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 4823, + "id": 4932, "name": "MEMBER", "variant": "declaration", "kind": 16, @@ -111937,7 +117410,7 @@ } }, { - "id": 4824, + "id": 4933, "name": "ADMIN", "variant": "declaration", "kind": 16, @@ -111948,7 +117421,7 @@ } }, { - "id": 4825, + "id": 4934, "name": "DEVELOPER", "variant": "declaration", "kind": 16, @@ -111963,22 +117436,22 @@ { "title": "Enumeration Members", "children": [ - 4823, - 4824, - 4825 + 4932, + 4933, + 4934 ] } ] }, { - "id": 4254, + "id": 4357, "name": "buildQuery", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4255, + "id": 4358, "name": "buildQuery", "variant": "signature", "kind": 4096, @@ -112004,7 +117477,7 @@ }, "typeParameter": [ { - "id": 4256, + "id": 4359, "name": "TWhereKeys", "variant": "typeParam", "kind": 131072, @@ -112015,7 +117488,7 @@ } }, { - "id": 4257, + "id": 4360, "name": "TEntity", "variant": "typeParam", "kind": 131072, @@ -112028,7 +117501,7 @@ ], "parameters": [ { - "id": 4258, + "id": 4361, "name": "selector", "variant": "param", "kind": 32768, @@ -112043,14 +117516,14 @@ }, "type": { "type": "reference", - "target": 4256, + "target": 4359, "name": "TWhereKeys", "package": "@medusajs/medusa", "refersToTypeParameter": true } }, { - "id": 4259, + "id": 4362, "name": "config", "variant": "param", "kind": 32768, @@ -112065,11 +117538,11 @@ }, "type": { "type": "reference", - "target": 3900, + "target": 3954, "typeArguments": [ { "type": "reference", - "target": 4257, + "target": 4360, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -112083,11 +117556,11 @@ ], "type": { "type": "reference", - "target": 3910, + "target": 3964, "typeArguments": [ { "type": "reference", - "target": 4257, + "target": 4360, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -112100,14 +117573,14 @@ ] }, { - "id": 4260, + "id": 4363, "name": "buildLegacyFieldsListFrom", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4261, + "id": 4364, "name": "buildLegacyFieldsListFrom", "variant": "signature", "kind": 4096, @@ -112142,7 +117615,7 @@ }, "typeParameter": [ { - "id": 4262, + "id": 4365, "name": "TEntity", "variant": "typeParam", "kind": 131072, @@ -112151,7 +117624,7 @@ ], "parameters": [ { - "id": 4263, + "id": 4366, "name": "input", "variant": "param", "kind": 32768, @@ -112168,7 +117641,7 @@ "typeArguments": [ { "type": "reference", - "target": 4262, + "target": 4365, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -112186,7 +117659,7 @@ "typeArguments": [ { "type": "reference", - "target": 4262, + "target": 4365, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -112204,7 +117677,7 @@ "typeArguments": [ { "type": "reference", - "target": 4262, + "target": 4365, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -112222,7 +117695,7 @@ "typeArguments": [ { "type": "reference", - "target": 4262, + "target": 4365, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -112243,7 +117716,7 @@ "operator": "keyof", "target": { "type": "reference", - "target": 4262, + "target": 4365, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -112254,21 +117727,21 @@ ] }, { - "id": 4264, + "id": 4367, "name": "addOrderToSelect", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4265, + "id": 4368, "name": "addOrderToSelect", "variant": "signature", "kind": 4096, "flags": {}, "typeParameter": [ { - "id": 4266, + "id": 4369, "name": "TEntity", "variant": "typeParam", "kind": 131072, @@ -112277,7 +117750,7 @@ ], "parameters": [ { - "id": 4267, + "id": 4370, "name": "order", "variant": "param", "kind": 32768, @@ -112291,7 +117764,7 @@ "typeArguments": [ { "type": "reference", - "target": 4266, + "target": 4369, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -112302,7 +117775,7 @@ } }, { - "id": 4268, + "id": 4371, "name": "select", "variant": "param", "kind": 32768, @@ -112316,7 +117789,7 @@ "typeArguments": [ { "type": "reference", - "target": 4266, + "target": 4369, "name": "TEntity", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -112335,21 +117808,21 @@ ] }, { - "id": 4269, + "id": 4372, "name": "nullableValue", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4270, + "id": 4373, "name": "nullableValue", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4271, + "id": 4374, "name": "value", "variant": "param", "kind": 32768, @@ -112379,14 +117852,14 @@ ] }, { - "id": 4272, + "id": 4375, "name": "calculatePriceTaxAmount", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4273, + "id": 4376, "name": "calculatePriceTaxAmount", "variant": "signature", "kind": 4096, @@ -112401,7 +117874,7 @@ }, "parameters": [ { - "id": 4274, + "id": 4377, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -112409,14 +117882,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4275, + "id": 4378, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4276, + "id": 4379, "name": "price", "variant": "declaration", "kind": 1024, @@ -112427,7 +117900,7 @@ } }, { - "id": 4277, + "id": 4380, "name": "includesTax", "variant": "declaration", "kind": 1024, @@ -112440,7 +117913,7 @@ } }, { - "id": 4278, + "id": 4381, "name": "taxRate", "variant": "declaration", "kind": 1024, @@ -112455,9 +117928,9 @@ { "title": "Properties", "children": [ - 4276, - 4277, - 4278 + 4379, + 4380, + 4381 ] } ] @@ -112473,14 +117946,14 @@ ] }, { - "id": 4279, + "id": 4382, "name": "cleanResponseData", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4280, + "id": 4383, "name": "cleanResponseData", "variant": "signature", "kind": 4096, @@ -112503,7 +117976,7 @@ }, "typeParameter": [ { - "id": 4281, + "id": 4384, "name": "T", "variant": "typeParam", "kind": 131072, @@ -112516,7 +117989,7 @@ ], "parameters": [ { - "id": 4282, + "id": 4385, "name": "data", "variant": "param", "kind": 32768, @@ -112531,14 +118004,14 @@ }, "type": { "type": "reference", - "target": 4281, + "target": 4384, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true } }, { - "id": 4283, + "id": 4386, "name": "fields", "variant": "param", "kind": 32768, @@ -112564,7 +118037,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 4281, + "target": 4384, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -112583,7 +118056,7 @@ "typeArguments": [ { "type": "reference", - "target": 4281, + "target": 4384, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -112602,7 +118075,7 @@ "typeArguments": [ { "type": "reference", - "target": 4281, + "target": 4384, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -112616,21 +118089,21 @@ ] }, { - "id": 4284, + "id": 4387, "name": "csvCellContentFormatter", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4285, + "id": 4388, "name": "csvCellContentFormatter", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4286, + "id": 4389, "name": "str", "variant": "param", "kind": 32768, @@ -112649,21 +118122,21 @@ ] }, { - "id": 4287, + "id": 4390, "name": "csvRevertCellContentFormatter", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4288, + "id": 4391, "name": "csvRevertCellContentFormatter", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4289, + "id": 4392, "name": "str", "variant": "param", "kind": 32768, @@ -112682,21 +118155,21 @@ ] }, { - "id": 4290, + "id": 4393, "name": "resolveDbType", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4291, + "id": 4394, "name": "resolveDbType", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4292, + "id": 4395, "name": "pgSqlType", "variant": "param", "kind": 32768, @@ -112725,21 +118198,21 @@ ] }, { - "id": 4293, + "id": 4396, "name": "resolveDbGenerationStrategy", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4294, + "id": 4397, "name": "resolveDbGenerationStrategy", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4295, + "id": 4398, "name": "pgSqlType", "variant": "param", "kind": 32768, @@ -112784,21 +118257,21 @@ ] }, { - "id": 4296, + "id": 4399, "name": "DbAwareColumn", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4297, + "id": 4400, "name": "DbAwareColumn", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4298, + "id": 4401, "name": "columnOptions", "variant": "param", "kind": 32768, @@ -112827,14 +118300,14 @@ ] }, { - "id": 4299, + "id": 4402, "name": "PostgresError", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 4300, + "id": 4403, "name": "DUPLICATE_ERROR", "variant": "declaration", "kind": 16, @@ -112845,7 +118318,7 @@ } }, { - "id": 4301, + "id": 4404, "name": "FOREIGN_KEY_ERROR", "variant": "declaration", "kind": 16, @@ -112856,7 +118329,7 @@ } }, { - "id": 4302, + "id": 4405, "name": "SERIALIZATION_FAILURE", "variant": "declaration", "kind": 16, @@ -112867,7 +118340,7 @@ } }, { - "id": 4303, + "id": 4406, "name": "NULL_VIOLATION", "variant": "declaration", "kind": 16, @@ -112882,30 +118355,30 @@ { "title": "Enumeration Members", "children": [ - 4300, - 4301, - 4302, - 4303 + 4403, + 4404, + 4405, + 4406 ] } ] }, { - "id": 4304, + "id": 4407, "name": "formatException", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4305, + "id": 4408, "name": "formatException", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4306, + "id": 4409, "name": "err", "variant": "param", "kind": 32768, @@ -112918,7 +118391,7 @@ ], "type": { "type": "reference", - "target": 4881, + "target": 4993, "name": "MedusaError", "package": "medusa-core-utils" } @@ -112926,14 +118399,14 @@ ] }, { - "id": 4307, + "id": 4410, "name": "generateEntityId", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4308, + "id": 4411, "name": "generateEntityId", "variant": "signature", "kind": 4096, @@ -112948,7 +118421,7 @@ }, "parameters": [ { - "id": 4309, + "id": 4412, "name": "idProperty", "variant": "param", "kind": 32768, @@ -112961,7 +118434,7 @@ } }, { - "id": 4310, + "id": 4413, "name": "prefix", "variant": "param", "kind": 32768, @@ -112982,14 +118455,14 @@ ] }, { - "id": 4311, + "id": 4414, "name": "hasChanges", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4312, + "id": 4415, "name": "hasChanges", "variant": "signature", "kind": 4096, @@ -113004,7 +118477,7 @@ }, "typeParameter": [ { - "id": 4313, + "id": 4416, "name": "T1", "variant": "typeParam", "kind": 131072, @@ -113020,7 +118493,7 @@ } }, { - "id": 4314, + "id": 4417, "name": "T2", "variant": "typeParam", "kind": 131072, @@ -113038,28 +118511,28 @@ ], "parameters": [ { - "id": 4315, + "id": 4418, "name": "obj1", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 4313, + "target": 4416, "name": "T1", "package": "@medusajs/medusa", "refersToTypeParameter": true } }, { - "id": 4316, + "id": 4419, "name": "obj2", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 4314, + "target": 4417, "name": "T2", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -113074,21 +118547,21 @@ ] }, { - "id": 4317, + "id": 4420, "name": "isDate", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4318, + "id": 4421, "name": "isDate", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4319, + "id": 4422, "name": "value", "variant": "param", "kind": 32768, @@ -113117,21 +118590,21 @@ ] }, { - "id": 4320, + "id": 4423, "name": "isObject", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4321, + "id": 4424, "name": "isObject", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4322, + "id": 4425, "name": "obj", "variant": "param", "kind": 32768, @@ -113155,21 +118628,21 @@ ] }, { - "id": 4323, + "id": 4426, "name": "isString", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4324, + "id": 4427, "name": "isString", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4325, + "id": 4428, "name": "val", "variant": "param", "kind": 32768, @@ -113193,21 +118666,21 @@ ] }, { - "id": 4326, + "id": 4429, "name": "omitDeep", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4327, + "id": 4430, "name": "omitDeep", "variant": "signature", "kind": 4096, "flags": {}, "typeParameter": [ { - "id": 4328, + "id": 4431, "name": "T", "variant": "typeParam", "kind": 131072, @@ -113224,7 +118697,7 @@ ], "parameters": [ { - "id": 4329, + "id": 4432, "name": "input", "variant": "param", "kind": 32768, @@ -113235,7 +118708,7 @@ } }, { - "id": 4330, + "id": 4433, "name": "excludes", "variant": "param", "kind": 32768, @@ -113260,7 +118733,7 @@ ], "type": { "type": "reference", - "target": 4328, + "target": 4431, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -113269,21 +118742,21 @@ ] }, { - "id": 4331, + "id": 4434, "name": "categoryMatchesScope", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4332, + "id": 4435, "name": "categoryMatchesScope", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4333, + "id": 4436, "name": "category", "variant": "param", "kind": 32768, @@ -113307,7 +118780,7 @@ } }, { - "id": 4334, + "id": 4437, "name": "query", "variant": "param", "kind": 32768, @@ -113342,21 +118815,21 @@ ] }, { - "id": 4335, + "id": 4438, "name": "fetchCategoryDescendantsIds", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4336, + "id": 4439, "name": "fetchCategoryDescendantsIds", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4337, + "id": 4440, "name": "productCategory", "variant": "param", "kind": 32768, @@ -113380,7 +118853,7 @@ } }, { - "id": 4338, + "id": 4441, "name": "query", "variant": "param", "kind": 32768, @@ -113418,34 +118891,34 @@ ] }, { - "id": 4339, + "id": 4442, "name": "getVariantsFromPriceList", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4340, + "id": 4443, "name": "getVariantsFromPriceList", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4341, + "id": 4444, "name": "container", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 5008, + "target": 5097, "name": "MedusaContainer", "package": "@medusajs/types" } }, { - "id": 4342, + "id": 4445, "name": "priceListId", "variant": "param", "kind": 32768, @@ -113467,7 +118940,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 5026, + "target": 5121, "name": "ProductVariantDTO", "package": "@medusajs/types" } @@ -113480,34 +118953,34 @@ ] }, { - "id": 4343, + "id": 4446, "name": "listProducts", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4344, + "id": 4447, "name": "listProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4345, + "id": 4448, "name": "container", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 5008, + "target": 5097, "name": "MedusaContainer", "package": "@medusajs/types" } }, { - "id": 4346, + "id": 4449, "name": "filterableFields", "variant": "param", "kind": 32768, @@ -113518,7 +118991,7 @@ } }, { - "id": 4347, + "id": 4450, "name": "listConfig", "variant": "param", "kind": 32768, @@ -113551,21 +119024,21 @@ ] }, { - "id": 4348, + "id": 4451, "name": "retrieveProduct", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4349, + "id": 4452, "name": "retrieveProduct", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4350, + "id": 4453, "name": "container", "variant": "param", "kind": 32768, @@ -113576,7 +119049,7 @@ } }, { - "id": 4351, + "id": 4454, "name": "id", "variant": "param", "kind": 32768, @@ -113587,7 +119060,7 @@ } }, { - "id": 4352, + "id": 4455, "name": "remoteQueryObject", "variant": "param", "kind": 32768, @@ -113595,7 +119068,7 @@ "type": { "type": "reflection", "declaration": { - "id": 4353, + "id": 4456, "name": "__type", "variant": "declaration", "kind": 65536, @@ -113624,28 +119097,28 @@ ] }, { - "id": 4354, + "id": 4457, "name": "remoteQueryFetchData", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4355, + "id": 4458, "name": "remoteQueryFetchData", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4356, + "id": 4459, "name": "container", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 5008, + "target": 5097, "name": "MedusaContainer", "package": "@medusajs/types" } @@ -113654,21 +119127,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4357, + "id": 4460, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4358, + "id": 4461, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4359, + "id": 4462, "name": "expand", "variant": "param", "kind": 32768, @@ -113679,7 +119152,7 @@ } }, { - "id": 4360, + "id": 4463, "name": "keyField", "variant": "param", "kind": 32768, @@ -113690,7 +119163,7 @@ } }, { - "id": 4361, + "id": 4464, "name": "ids", "variant": "param", "kind": 32768, @@ -113701,7 +119174,7 @@ } }, { - "id": 4362, + "id": 4465, "name": "relationship", "variant": "param", "kind": 32768, @@ -113735,21 +119208,21 @@ ] }, { - "id": 4363, + "id": 4466, "name": "removeUndefinedProperties", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4364, + "id": 4467, "name": "removeUndefinedProperties", "variant": "signature", "kind": 4096, "flags": {}, "typeParameter": [ { - "id": 4365, + "id": 4468, "name": "T", "variant": "typeParam", "kind": 131072, @@ -113762,14 +119235,14 @@ ], "parameters": [ { - "id": 4366, + "id": 4469, "name": "inputObj", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 4365, + "target": 4468, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -113778,7 +119251,7 @@ ], "type": { "type": "reference", - "target": 4365, + "target": 4468, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -113787,14 +119260,14 @@ ] }, { - "id": 4367, + "id": 4470, "name": "setMetadata", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4368, + "id": 4471, "name": "setMetadata", "variant": "signature", "kind": 4096, @@ -113820,7 +119293,7 @@ }, "parameters": [ { - "id": 4369, + "id": 4472, "name": "obj", "variant": "param", "kind": 32768, @@ -113847,14 +119320,14 @@ { "type": "reflection", "declaration": { - "id": 4370, + "id": 4473, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4371, + "id": 4474, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -113893,7 +119366,7 @@ { "title": "Properties", "children": [ - 4371 + 4474 ] } ] @@ -113903,7 +119376,7 @@ } }, { - "id": 4372, + "id": 4475, "name": "metadata", "variant": "param", "kind": 32768, @@ -113960,21 +119433,21 @@ ] }, { - "id": 4373, + "id": 4476, "name": "validateId", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4374, + "id": 4477, "name": "validateId", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4375, + "id": 4478, "name": "rawId", "variant": "param", "kind": 32768, @@ -113985,7 +119458,7 @@ } }, { - "id": 4376, + "id": 4479, "name": "config", "variant": "param", "kind": 32768, @@ -113993,14 +119466,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4377, + "id": 4480, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4378, + "id": 4481, "name": "prefix", "variant": "declaration", "kind": 1024, @@ -114013,7 +119486,7 @@ } }, { - "id": 4379, + "id": 4482, "name": "length", "variant": "declaration", "kind": 1024, @@ -114030,8 +119503,8 @@ { "title": "Properties", "children": [ - 4378, - 4379 + 4481, + 4482 ] } ] @@ -114048,14 +119521,14 @@ ] }, { - "id": 4244, + "id": 4347, "name": "registerOverriddenValidators", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4245, + "id": 4348, "name": "registerOverriddenValidators", "variant": "signature", "kind": 4096, @@ -114081,14 +119554,14 @@ }, "parameters": [ { - "id": 4246, + "id": 4349, "name": "extendedValidator", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 5021, + "target": 5116, "typeArguments": [ { "type": "intrinsic", @@ -114108,28 +119581,28 @@ ] }, { - "id": 4247, + "id": 4350, "name": "validator", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4248, + "id": 4351, "name": "validator", "variant": "signature", "kind": 4096, "flags": {}, "typeParameter": [ { - "id": 4249, + "id": 4352, "name": "T", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 4250, + "id": 4353, "name": "V", "variant": "typeParam", "kind": 131072, @@ -114138,7 +119611,7 @@ ], "parameters": [ { - "id": 4251, + "id": 4354, "name": "typedClass", "variant": "param", "kind": 32768, @@ -114152,7 +119625,7 @@ "typeArguments": [ { "type": "reference", - "target": 4249, + "target": 4352, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -114163,21 +119636,21 @@ } }, { - "id": 4252, + "id": 4355, "name": "plain", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 4250, + "target": 4353, "name": "V", "package": "@medusajs/medusa", "refersToTypeParameter": true } }, { - "id": 4253, + "id": 4356, "name": "config", "variant": "param", "kind": 32768, @@ -114203,7 +119676,7 @@ "typeArguments": [ { "type": "reference", - "target": 4249, + "target": 4352, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -114216,21 +119689,21 @@ ] }, { - "id": 4380, + "id": 4483, "name": "IsType", "variant": "declaration", "kind": 64, "flags": {}, "signatures": [ { - "id": 4381, + "id": 4484, "name": "IsType", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4382, + "id": 4485, "name": "types", "variant": "param", "kind": 32768, @@ -114244,7 +119717,7 @@ } }, { - "id": 4383, + "id": 4486, "name": "validationOptions", "variant": "param", "kind": 32768, @@ -114265,21 +119738,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4384, + "id": 4487, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4385, + "id": 4488, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4386, + "id": 4489, "name": "object", "variant": "param", "kind": 32768, @@ -114295,7 +119768,7 @@ } }, { - "id": 4387, + "id": 4490, "name": "propertyName", "variant": "param", "kind": 32768, @@ -114318,93 +119791,238 @@ ] }, { - "id": 4478, + "id": 5091, + "name": "RequestQueryFields", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Fields that can be passed in the query parameters of a request." + } + ] + }, + "children": [ + { + "id": 5092, + "name": "expand", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Comma-separated relations that should be expanded in the returned data." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5093, + "name": "fields", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Comma-separated fields that should be included in the returned data." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5094, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of items to skip when retrieving a list." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5095, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Limit the number of items returned in the list." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5096, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Field to sort items in the list by." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5092, + 5093, + 5094, + 5095, + 5096 + ] + } + ] + }, + { + "id": 4585, "name": "PaginatedResponse", "variant": "declaration", - "kind": 2097152, + "kind": 256, "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 4479, - "name": "__type", + "comment": { + "summary": [ + { + "kind": "text", + "text": "Fields included in the response if it's paginated." + } + ] + }, + "children": [ + { + "id": 4586, + "name": "limit", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 4480, - "name": "limit", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The number of notifications per page" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The limit applied on the retrieved items." } - }, - { - "id": 4481, - "name": "offset", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The number of notifications skipped when retrieving the notifications." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4587, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of items skipped before retrieving the list of items." } - }, - { - "id": 4482, - "name": "count", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The total number of notifications" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4588, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total count of items." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 4480, - 4481, - 4482 - ] - } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4586, + 4587, + 4588 ] } - } + ], + "typeParameters": [ + { + "id": 4589, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ] }, { - "id": 4783, + "id": 4891, "name": "DeleteResponse", "variant": "declaration", "kind": 2097152, @@ -114417,17 +120035,30 @@ } ] }, + "typeParameters": [ + { + "id": 4896, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], "type": { "type": "reflection", "declaration": { - "id": 4784, + "id": 4892, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4785, + "id": 4893, "name": "id", "variant": "declaration", "kind": 1024, @@ -114446,7 +120077,7 @@ } }, { - "id": 4786, + "id": 4894, "name": "object", "variant": "declaration", "kind": 1024, @@ -114460,13 +120091,16 @@ ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 4896, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true }, "defaultValue": "stock_location" }, { - "id": 4787, + "id": 4895, "name": "deleted", "variant": "declaration", "kind": 1024, @@ -114490,9 +120124,9 @@ { "title": "Properties", "children": [ - 4785, - 4786, - 4787 + 4893, + 4894, + 4895 ] } ] @@ -114500,7 +120134,7 @@ } }, { - "id": 5249, + "id": 5350, "name": "SessionOptions", "variant": "declaration", "kind": 256, @@ -114523,7 +120157,7 @@ }, "children": [ { - "id": 5250, + "id": 5351, "name": "name", "variant": "declaration", "kind": 1024, @@ -114552,7 +120186,7 @@ } }, { - "id": 5251, + "id": 5352, "name": "resave", "variant": "declaration", "kind": 1024, @@ -114581,7 +120215,7 @@ } }, { - "id": 5252, + "id": 5353, "name": "rolling", "variant": "declaration", "kind": 1024, @@ -114610,7 +120244,7 @@ } }, { - "id": 5253, + "id": 5354, "name": "saveUninitialized", "variant": "declaration", "kind": 1024, @@ -114639,7 +120273,7 @@ } }, { - "id": 5254, + "id": 5355, "name": "secret", "variant": "declaration", "kind": 1024, @@ -114668,7 +120302,7 @@ } }, { - "id": 5255, + "id": 5356, "name": "ttl", "variant": "declaration", "kind": 1024, @@ -114717,18 +120351,18 @@ { "title": "Properties", "children": [ - 5250, - 5251, - 5252, - 5253, - 5254, - 5255 + 5351, + 5352, + 5353, + 5354, + 5355, + 5356 ] } ] }, { - "id": 5256, + "id": 5357, "name": "HttpCompressionOptions", "variant": "declaration", "kind": 256, @@ -114743,7 +120377,7 @@ }, "children": [ { - "id": 5257, + "id": 5358, "name": "enabled", "variant": "declaration", "kind": 1024, @@ -114772,7 +120406,7 @@ } }, { - "id": 5258, + "id": 5359, "name": "level", "variant": "declaration", "kind": 1024, @@ -114801,7 +120435,7 @@ } }, { - "id": 5259, + "id": 5360, "name": "memLevel", "variant": "declaration", "kind": 1024, @@ -114830,7 +120464,7 @@ } }, { - "id": 5260, + "id": 5361, "name": "threshold", "variant": "declaration", "kind": 1024, @@ -114872,16 +120506,16 @@ { "title": "Properties", "children": [ - 5257, - 5258, - 5259, - 5260 + 5358, + 5359, + 5360, + 5361 ] } ] }, { - "id": 5144, + "id": 5230, "name": "ProjectConfigOptions", "variant": "declaration", "kind": 256, @@ -114896,7 +120530,7 @@ }, "children": [ { - "id": 5145, + "id": 5231, "name": "store_cors", "variant": "declaration", "kind": 1024, @@ -115004,7 +120638,7 @@ } }, { - "id": 5146, + "id": 5232, "name": "admin_cors", "variant": "declaration", "kind": 1024, @@ -115112,7 +120746,123 @@ } }, { - "id": 5147, + "id": 5233, + "name": "auth_cors", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The Medusa backend’s API Routes are protected by Cross-Origin Resource Sharing (CORS). So, only allowed URLs or URLs matching a specified pattern can send requests to the backend’s API Routes.\n\n" + }, + { + "kind": "code", + "text": "`auth_cors`" + }, + { + "kind": "text", + "text": " is a string used to specify the accepted URLs or patterns for API Routes starting with " + }, + { + "kind": "code", + "text": "`/auth`" + }, + { + "kind": "text", + "text": ". It can either be one accepted origin, or a comma-separated list of accepted origins.\n\nEvery origin in that list must either be:\n\n1. A URL. For example, " + }, + { + "kind": "code", + "text": "`http://localhost:7001`" + }, + { + "kind": "text", + "text": ". The URL must not end with a backslash;\n2. Or a regular expression pattern that can match more than one origin. For example, " + }, + { + "kind": "code", + "text": "`.example.com`" + }, + { + "kind": "text", + "text": ". The regex pattern that the backend tests for is " + }, + { + "kind": "code", + "text": "`^([/~@;%#'])(.*?)\\1([gimsuy]*)$`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "Some example values of common use cases:\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Allow different ports locally starting with 700\nAUTH_CORS=/http://localhost:700\\d+$/\n\n# Allow any origin ending with vercel.app. For example, admin.vercel.app\nAUTH_CORS=/vercel\\.app$/\n\n# Allow all HTTP requests\nAUTH_CORS=/http://.+/\n```" + }, + { + "kind": "text", + "text": "\n\nThen, set the configuration in " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": ":\n\n" + }, + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n auth_cors: process.env.AUTH_CORS,\n // ...\n },\n // ...\n}\n```" + }, + { + "kind": "text", + "text": "\n\nIf you’re adding the value directly within " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": ", make sure to add an extra escaping " + }, + { + "kind": "code", + "text": "`/`" + }, + { + "kind": "text", + "text": " for every backslash in the pattern. For example:\n\n" + }, + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n auth_cors: \"/http:\\\\/\\\\/localhost:700\\\\d+$/\",\n // ...\n },\n // ...\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5234, "name": "cookie_secret", "variant": "declaration", "kind": 1024, @@ -115152,7 +120902,7 @@ } }, { - "id": 5148, + "id": 5235, "name": "jwt_secret", "variant": "declaration", "kind": 1024, @@ -115192,7 +120942,7 @@ } }, { - "id": 5149, + "id": 5236, "name": "database_database", "variant": "declaration", "kind": 1024, @@ -115232,7 +120982,7 @@ } }, { - "id": 5150, + "id": 5237, "name": "database_url", "variant": "declaration", "kind": 1024, @@ -115303,7 +121053,7 @@ }, { "kind": "code", - "text": "`[:post]`" + "text": "`[:port]`" }, { "kind": "text", @@ -115372,7 +121122,7 @@ } }, { - "id": 5151, + "id": 5238, "name": "database_schema", "variant": "declaration", "kind": 1024, @@ -115405,7 +121155,7 @@ } }, { - "id": 5152, + "id": 5239, "name": "database_logging", "variant": "declaration", "kind": 1024, @@ -115512,7 +121262,7 @@ } }, { - "id": 5154, + "id": 5241, "name": "database_extra", "variant": "declaration", "kind": 1024, @@ -115595,14 +121345,14 @@ { "type": "reflection", "declaration": { - "id": 5155, + "id": 5242, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5156, + "id": 5243, "name": "ssl", "variant": "declaration", "kind": 1024, @@ -115618,14 +121368,14 @@ "type": { "type": "reflection", "declaration": { - "id": 5157, + "id": 5244, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5158, + "id": 5245, "name": "rejectUnauthorized", "variant": "declaration", "kind": 1024, @@ -115648,7 +121398,198 @@ { "title": "Properties", "children": [ - 5158 + 5245 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5243 + ] + } + ] + } + } + ] + } + }, + { + "id": 5246, + "name": "database_driver_options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that includes additional configurations to pass to the database connection for v2. You can pass any configuration. One defined configuration to pass is\n" + }, + { + "kind": "code", + "text": "`ssl`" + }, + { + "kind": "text", + "text": " which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the " + }, + { + "kind": "code", + "text": "`rejectUnauthorized`" + }, + { + "kind": "text", + "text": " attribute of " + }, + { + "kind": "code", + "text": "`ssl`" + }, + { + "kind": "text", + "text": " object to " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ".\nDuring development, it’s recommended not to pass this option." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n database_driver_options:\n process.env.NODE_ENV !== \"development\"\n ? { connection: { ssl: { rejectUnauthorized: false } } }\n : {},\n // ...\n },\n // ...\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + { + "type": "reflection", + "declaration": { + "id": 5247, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5248, + "name": "connection", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 5249, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5250, + "name": "ssl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configure support for TLS/SSL connection" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 5251, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5252, + "name": "rejectUnauthorized", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to fail connection if the server certificate is verified against the list of supplied CAs and the hostname and no match is found." + } + ] + }, + "type": { + "type": "literal", + "value": false + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5252 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5250 ] } ] @@ -115660,7 +121601,7 @@ { "title": "Properties", "children": [ - 5156 + 5248 ] } ] @@ -115670,7 +121611,7 @@ } }, { - "id": 5159, + "id": 5253, "name": "redis_url", "variant": "declaration", "kind": 1024, @@ -115718,7 +121659,7 @@ } }, { - "id": 5160, + "id": 5254, "name": "redis_prefix", "variant": "declaration", "kind": 1024, @@ -115766,7 +121707,7 @@ } }, { - "id": 5161, + "id": 5255, "name": "redis_options", "variant": "declaration", "kind": 1024, @@ -115782,132 +121723,4334 @@ ], "blockTags": [ { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n redis_options: {\n connectionName: process.env.REDIS_CONNECTION_NAME ||\n \"medusa\",\n },\n // ...\n },\n // ...\n}\n```" - } - ] + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n redis_options: {\n connectionName: process.env.REDIS_CONNECTION_NAME ||\n \"medusa\",\n },\n // ...\n },\n // ...\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/ioredis/built/redis/RedisOptions.d.ts", + "qualifiedName": "RedisOptions" + }, + "name": "RedisOptions", + "package": "ioredis" + } + }, + { + "id": 5256, + "name": "session_options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object of options to pass to [express-session](https://www.npmjs.com/package/express-session)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n session_options: {\n name: process.env.SESSION_NAME ||\n \"custom\",\n },\n // ...\n },\n // ...\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "reference", + "target": 5350, + "name": "SessionOptions", + "package": "@medusajs/types" + } + }, + { + "id": 5257, + "name": "http_compression", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configure HTTP compression from the application layer. If you have access to the HTTP server, the recommended approach would be to enable it there.\nHowever, some platforms don't offer access to the HTTP layer and in those cases, this is a good alternative.\n\nIts value is an object that has the following properties:\n\nIf you enable HTTP compression and you want to disable it for specific API Routes, you can pass in the request header " + }, + { + "kind": "code", + "text": "`\"x-no-compression\": true`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n http_compression: {\n enabled: true,\n level: 6,\n memLevel: 8,\n threshold: 1024,\n },\n // ...\n },\n // ...\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "reference", + "target": 5357, + "name": "HttpCompressionOptions", + "package": "@medusajs/types" + } + }, + { + "id": 5258, + "name": "jobs_batch_size", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configure the number of staged jobs that are polled from the database. Default is " + }, + { + "kind": "code", + "text": "`1000`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n jobs_batch_size: 100\n // ...\n },\n // ...\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5259, + "name": "worker_mode", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configure the application's worker mode. Default is " + }, + { + "kind": "code", + "text": "`shared`" + }, + { + "kind": "text", + "text": ".\n\n- Use " + }, + { + "kind": "code", + "text": "`shared`" + }, + { + "kind": "text", + "text": " to run the application in a single process.\n- Use " + }, + { + "kind": "code", + "text": "`worker`" + }, + { + "kind": "text", + "text": " to run the a worker process only.\n- Use " + }, + { + "kind": "code", + "text": "`server`" + }, + { + "kind": "text", + "text": " to run the application server only.\n\nLearn more in [this guide](https://docs.medusajs.com/v1/development/medusa-worker)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n worker_mode: \"shared\"\n // ...\n },\n // ...\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "shared" + }, + { + "type": "literal", + "value": "worker" + }, + { + "type": "literal", + "value": "server" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5231, + 5232, + 5233, + 5234, + 5235, + 5236, + 5237, + 5238, + 5239, + 5241, + 5246, + 5253, + 5254, + 5255, + 5256, + 5257, + 5258, + 5259 + ] + } + ] + }, + { + "id": 5074, + "name": "ConfigModule", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations for your Medusa backend are in " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": " located in the root of your Medusa project. The configurations include database, modules, and plugin configurations, among other configurations.\n\n" + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": " exports an object having the following properties:\n\n- " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "projectConfig", + "target": 5075, + "tsLinkText": "projectConfig" + }, + { + "kind": "text", + "text": ": (required): An object that holds general configurations related to the Medusa backend, such as database or CORS configurations.\n- " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "plugins", + "target": 5076, + "tsLinkText": "plugins" + }, + { + "kind": "text", + "text": ": An array of plugin configurations that defines what plugins are installed and optionally specifies each of their configurations.\n- " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "modules", + "target": 5080, + "tsLinkText": "modules" + }, + { + "kind": "text", + "text": ": An object that defines what modules are installed and optionally specifies each of their configurations.\n- " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "featureFlags", + "target": 5081, + "tsLinkText": "featureFlags" + }, + { + "kind": "text", + "text": ": An object that enables or disables features guarded by a feature flag.\n\nFor example:\n\n" + }, + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig,\n plugins,\n modules,\n featureFlags,\n}\n```" + }, + { + "kind": "text", + "text": "\n\n---\n\n## Environment Variables\n\nIt's highly recommended to store the values of configurations in environment variables, then reference them within " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": ".\n\nDuring development, you can set your environment variables in the " + }, + { + "kind": "code", + "text": "`.env`" + }, + { + "kind": "text", + "text": " file at the root of your Medusa backend project. In production,\nsetting the environment variables depends on the hosting provider.\n\n---" + } + ] + }, + "children": [ + { + "id": 5075, + "name": "projectConfig", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This property holds essential configurations related to the Medusa backend, such as database and CORS configurations." + } + ] + }, + "type": { + "type": "reference", + "target": 5230, + "name": "ProjectConfigOptions", + "package": "@medusajs/types" + } + }, + { + "id": 5076, + "name": "plugins", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "On your Medusa backend, you can use [Plugins](https://docs.medusajs.com/v1/development/plugins/overview) to add custom features or integrate third-party services.\nFor example, installing a plugin to use Stripe as a payment processor.\n\nAside from installing the plugin with NPM, you need to pass the plugin you installed into the " + }, + { + "kind": "code", + "text": "`plugins`" + }, + { + "kind": "text", + "text": " array defined in " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": ".\n\nThe items in the array can either be:\n\n- A string, which is the name of the plugin to add. You can pass a plugin as a string if it doesn’t require any configurations.\n- An object having the following properties:\n - " + }, + { + "kind": "code", + "text": "`resolve`" + }, + { + "kind": "text", + "text": ": The name of the plugin.\n - " + }, + { + "kind": "code", + "text": "`options`" + }, + { + "kind": "text", + "text": ": An object that includes the plugin’s options. These options vary for each plugin, and you should refer to the plugin’s documentation for available options." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n plugins: [\n `medusa-my-plugin-1`,\n {\n resolve: `medusa-my-plugin`,\n options: {\n apiKey: process.env.MY_API_KEY ||\n `test`,\n },\n },\n // ...\n ],\n // ...\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 5077, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5078, + "name": "resolve", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5079, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5078, + 5079 + ] + } + ] + } + } + ] + } + } + }, + { + "id": 5080, + "name": "modules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "In Medusa, commerce and core logic are modularized to allow developers to extend or replace certain [modules](https://docs.medusajs.com/v1/development/modules/overview)\nwith custom implementations.\n\nAside from installing the module with NPM, you must add it to the exported object in " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": ".\n\nThe keys of the " + }, + { + "kind": "code", + "text": "`modules`" + }, + { + "kind": "text", + "text": " configuration object refer to the type of module. Its value can be one of the following:\n\n1. A boolean value indicating whether the module type is enabled;\n2. Or a string value indicating the name of the module to be used for the module type. This can be used if the module does not require any options;\n3. Or an object having the following properties, but typically you would mainly use the " + }, + { + "kind": "code", + "text": "`resolve`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`options`" + }, + { + "kind": "text", + "text": " properties only:\n 1. " + }, + { + "kind": "code", + "text": "`resolve`" + }, + { + "kind": "text", + "text": ": a string indicating the name of the module.\n 2. " + }, + { + "kind": "code", + "text": "`options`" + }, + { + "kind": "text", + "text": ": an object indicating the options to pass to the module. These options vary for each module, and you should refer to the module’s documentation for details on them.\n 3. " + }, + { + "kind": "code", + "text": "`resources`" + }, + { + "kind": "text", + "text": ": a string indicating whether the module shares the dependency container with the Medusa core. Its value can either be " + }, + { + "kind": "code", + "text": "`shared`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`isolated`" + }, + { + "kind": "text", + "text": ". Refer to the [Modules documentation](https://docs.medusajs.com/v1/development/modules/create#module-scope) for more details.\n 4. " + }, + { + "kind": "code", + "text": "`alias`" + }, + { + "kind": "text", + "text": ": a string indicating a unique alias to register the module under. Other modules can’t use the same alias.\n 5. " + }, + { + "kind": "code", + "text": "`main`" + }, + { + "kind": "text", + "text": ": a boolean value indicating whether this module is the main registered module. This is useful when an alias is used." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n modules: {\n eventBus: {\n resolve: \"@medusajs/event-bus-local\",\n },\n cacheService: {\n resolve: \"@medusajs/cache-redis\",\n options: {\n redisUrl: process.env.CACHE_REDIS_URL,\n ttl: 30,\n },\n },\n // ...\n },\n // ...\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5260, + "name": "InternalModuleDeclaration", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 5271, + "name": "ExternalModuleDeclaration", + "package": "@medusajs/types" + } + ] + } + ], + "name": "Partial", + "package": "typescript" + } + ] + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 5081, + "name": "featureFlags", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Some features in the Medusa backend are guarded by a feature flag. This ensures constant shipping of new features while maintaining the engine’s stability.\n\nYou can specify whether a feature should or shouldn’t be used in your backend by enabling its feature flag. Feature flags can be enabled through either environment\nvariables or through this configuration exported in " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": ".\n\nIf you want to use the environment variables method, learn more about it in the [Feature Flags documentation](https://docs.medusajs.com/v1/development/feature-flags/toggle#method-one-using-environment-variables).\n\nThe " + }, + { + "kind": "code", + "text": "`featureFlags`" + }, + { + "kind": "text", + "text": " configuration is an object. Its properties are the names of the feature flags. Each property’s value is a boolean indicating whether the feature flag is enabled.\n\nYou can find available feature flags and their key name [here](https://github.com/medusajs/medusa/tree/master/packages/medusa/src/loaders/feature-flags)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n featureFlags: {\n product_categories: true,\n // ...\n },\n // ...\n}\n```" + }, + { + "kind": "text", + "text": "\n\n:::note\n\nAfter enabling a feature flag, make sure to [run migrations](https://docs.medusajs.com/v1/development/entities/migrations/overview#migrate-command) as it may require making changes to the database.\n\n:::" + } + ] + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5075, + 5076, + 5080, + 5081 + ] + } + ] + }, + { + "id": 5097, + "name": "MedusaContainer", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The Medusa Container extends [Awilix](https://github.com/jeffijoe/awilix) to\nprovide dependency injection functionalities." + } + ] + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/awilix/lib/container.d.ts", + "qualifiedName": "AwilixContainer" + }, + "name": "AwilixContainer", + "package": "awilix" + }, + { + "type": "reflection", + "declaration": { + "id": 5098, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + } + }, + { + "id": 4928, + "name": "FileServiceUploadResult", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Details of a file upload's result." + } + ] + }, + "children": [ + { + "id": 4929, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file's URL." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4930, + "name": "key", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file's key. This key is used in other operations,\nsuch as deleting a file." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4929, + 4930 + ] + } + ] + }, + { + "id": 5029, + "name": "FileServiceGetUploadStreamResult", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The relevant details to upload a file through a stream." + } + ] + }, + "children": [ + { + "id": 5030, + "name": "writeStream", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A [PassThrough](https://nodejs.org/api/stream.html#class-streampassthrough) write stream object to be used to write the file." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/@types/node/stream.d.ts", + "qualifiedName": "internal.PassThrough" + }, + "name": "PassThrough", + "package": "@types/node", + "qualifiedName": "internal.PassThrough" + } + }, + { + "id": 5031, + "name": "promise", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A promise that should resolved when the writing process is done to finish the upload." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5032, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The URL of the file once it’s uploaded." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5033, + "name": "fileKey", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The identifier of the file in the storage. For example, for a local file service, this can be the file's name." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5030, + 5031, + 5032, + 5033 + ] + } + ] + }, + { + "id": 5034, + "name": "GetUploadedFileType", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of a file to retrieve." + } + ] + }, + "children": [ + { + "id": 5035, + "name": "fileKey", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file's key." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5036, + "name": "isPrivate", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the file is private." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5035, + 5036 + ] + } + ] + }, + { + "id": 5023, + "name": "DeleteFileType", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the file to remove." + } + ] + }, + "children": [ + { + "id": 5024, + "name": "fileKey", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file's key. When uploading a file, the\nreturned key is used here." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5024 + ] + } + ] + }, + { + "id": 5025, + "name": "UploadStreamDescriptorType", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the file being uploaded through a stream." + } + ] + }, + "children": [ + { + "id": 5026, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the file." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5027, + "name": "ext", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The extension of the file." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5028, + "name": "isPrivate", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the file should be uploaded to a private bucket or location. By convention, the default value of this property is " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5026, + 5027, + 5028 + ] + } + ] + }, + { + "id": 5610, + "name": "FulfillmentAddressDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment address details." + } + ] + }, + "children": [ + { + "id": 5611, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5612, + "name": "fulfillment_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5613, + "name": "company", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The company of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5614, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first name of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5615, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5616, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first line of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5617, + "name": "address_2", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The second line of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5618, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5619, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 2 character country code of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5620, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5621, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The postal code of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5622, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The phone of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5623, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 5624, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the address." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5625, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the address." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5626, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5611, + 5612, + 5613, + 5614, + 5615, + 5616, + 5617, + 5618, + 5619, + 5620, + 5621, + 5622, + 5623, + 5624, + 5625, + 5626 + ] + } + ] + }, + { + "id": 5627, + "name": "FulfillmentItemDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment item details." + } + ] + }, + "children": [ + { + "id": 5628, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5629, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the fulfillment item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5630, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The quantity of the fulfillment item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5631, + "name": "sku", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The sku of the fulfillment item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5632, + "name": "barcode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The barcode of the fulfillment item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5633, + "name": "line_item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated line item's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5634, + "name": "inventory_item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated inventory item's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5635, + "name": "fulfillment_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5636, + "name": "fulfillment", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment." + } + ] + }, + "type": { + "type": "reference", + "target": 5534, + "name": "FulfillmentDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5637, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the fulfillment item." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5638, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the fulfillment item." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5639, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the fulfillment item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5628, + 5629, + 5630, + 5631, + 5632, + 5633, + 5634, + 5635, + 5636, + 5637, + 5638, + 5639 + ] + } + ] + }, + { + "id": 5640, + "name": "FulfillmentLabelDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment label details." + } + ] + }, + "children": [ + { + "id": 5641, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment label." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5642, + "name": "tracking_number", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tracking number of the fulfillment label." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5643, + "name": "tracking_url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tracking URL of the fulfillment label." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5644, + "name": "label_url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The label's URL." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5645, + "name": "fulfillment_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5646, + "name": "fulfillment", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment." + } + ] + }, + "type": { + "type": "reference", + "target": 5534, + "name": "FulfillmentDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5647, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the fulfillment label." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5648, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the fulfillment label." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5649, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the fulfillment label." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5641, + 5642, + 5643, + 5644, + 5645, + 5646, + 5647, + 5648, + 5649 + ] + } + ] + }, + { + "id": 5504, + "name": "FulfillmentProviderDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment provider details." + } + ] + }, + "children": [ + { + "id": 5505, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment provider." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5506, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the fulfillment provider." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5507, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 5508, + "name": "shipping_options", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping options associated with the fulfillment provider." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5462, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5509, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the fulfillment provider." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5510, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the fulfillment provider." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5511, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the fulfillment provider." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5505, + 5506, + 5507, + 5508, + 5509, + 5510, + 5511 + ] + } + ] + }, + { + "id": 5181, + "name": "FulfillmentSetDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment set details." + } + ] + }, + "children": [ + { + "id": 5182, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5183, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the fulfillment set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5184, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the fulfillment set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5185, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 5186, + "name": "service_zones", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The service zones associated with the fulfillment set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5329, + "name": "ServiceZoneDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5187, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the fulfillment set." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5188, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the fulfillment set." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5189, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the fulfillment set." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5182, + 5183, + 5184, + 5185, + 5186, + 5187, + 5188, + 5189 + ] + } + ] + }, + { + "id": 5534, + "name": "FulfillmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment details." + } + ] + }, + "children": [ + { + "id": 5535, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5536, + "name": "location_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated location's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5537, + "name": "packed_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was packed." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5538, + "name": "shipped_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was shipped." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5539, + "name": "delivered_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was delivered." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5540, + "name": "canceled_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was canceled." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5541, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data necessary for the fulfillment provider to process\nthe fulfillment." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 5542, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment provider's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5543, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5544, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 5545, + "name": "shipping_option", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 5462, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 5546, + "name": "provider", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment provider." + } + ] + }, + "type": { + "type": "reference", + "target": 5504, + "name": "FulfillmentProviderDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5547, + "name": "delivery_address", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment address used for delivery." + } + ] + }, + "type": { + "type": "reference", + "target": 5610, + "name": "FulfillmentAddressDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5548, + "name": "items", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The items of the fulfillment." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5627, + "name": "FulfillmentItemDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5549, + "name": "labels", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The labels of the fulfillment." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5640, + "name": "FulfillmentLabelDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5550, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the fulfillment." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5551, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the fulfillment." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5552, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the fulfillment." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5535, + 5536, + 5537, + 5538, + 5539, + 5540, + 5541, + 5542, + 5543, + 5544, + 5545, + 5546, + 5547, + 5548, + 5549, + 5550, + 5551, + 5552 + ] + } + ] + }, + { + "id": 5493, + "name": "GeoZoneType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the geo zone." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "country" + }, + { + "type": "literal", + "value": "province" + }, + { + "type": "literal", + "value": "city" + }, + { + "type": "literal", + "value": "zip" + } + ] + } + }, + { + "id": 5451, + "name": "GeoZoneDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The geo zone details." + } + ] + }, + "children": [ + { + "id": 5452, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5453, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the geo zone." + } + ] + }, + "type": { + "type": "reference", + "target": 5493, + "name": "GeoZoneType", + "package": "@medusajs/types" + } + }, + { + "id": 5454, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The country code of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5455, + "name": "province_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province code of the geo zone." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5456, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city of the geo zone." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5457, + "name": "postal_expression", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The postal expression of the geo zone." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 5458, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 5459, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the geo zone." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5460, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the geo zone." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5461, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the geo zone." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5452, + 5453, + 5454, + 5455, + 5456, + 5457, + 5458, + 5459, + 5460, + 5461 + ] + } + ] + }, + { + "id": 5329, + "name": "ServiceZoneDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The service zone details." + } + ] + }, + "children": [ + { + "id": 5330, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the service zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5331, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the service zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5332, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 5333, + "name": "fulfillment_sets", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment sets assoiated with the service zone." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5181, + "name": "FulfillmentSetDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5334, + "name": "geo_zones", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The geo zones assoiated with the service zone." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5451, + "name": "GeoZoneDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5335, + "name": "shipping_options", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping options assoiated with the service zone." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5462, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5336, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the service zone." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5337, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the service zone." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5338, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the service zone." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5330, + 5331, + 5332, + 5333, + 5334, + 5335, + 5336, + 5337, + 5338 + ] + } + ] + }, + { + "id": 5522, + "name": "ShippingOptionRuleDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option rule details." + } + ] + }, + "children": [ + { + "id": 5523, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5524, + "name": "attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attribute of the shipping option rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5525, + "name": "operator", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The operator of the shipping option rule." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nin\n```" + } + ] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5526, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The values of the shipping option rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 5527, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5528, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The values of the shipping option rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5528 + ] + } + ] + } + } + ] + } + }, + { + "id": 5529, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5530, + "name": "shipping_option", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option." + } + ] + }, + "type": { + "type": "reference", + "target": 5462, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5531, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the shipping option rule." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5532, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the shipping option rule." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5533, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the shipping option rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5523, + 5524, + 5525, + 5526, + 5529, + 5530, + 5531, + 5532, + 5533 + ] + } + ] + }, + { + "id": 5512, + "name": "ShippingOptionTypeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option type details." + } + ] + }, + "children": [ + { + "id": 5513, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5514, + "name": "label", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The label of the shipping option type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5515, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the shipping option type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5516, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the shipping option type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5517, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5518, + "name": "shipping_option", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option." } ] }, "type": { "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/ioredis/built/redis/RedisOptions.d.ts", - "qualifiedName": "RedisOptions" - }, - "name": "RedisOptions", - "package": "ioredis" + "target": 5462, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" } }, { - "id": 5162, - "name": "session_options", + "id": 5519, + "name": "created_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An object of options to pass to [express-session](https://www.npmjs.com/package/express-session)." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n session_options: {\n name: process.env.SESSION_NAME ||\n \"custom\",\n },\n // ...\n },\n // ...\n}\n```" - } - ] + "text": "The creation date of the shipping option type." } ] }, "type": { "type": "reference", - "target": 5249, - "name": "SessionOptions", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" } }, { - "id": 5163, - "name": "http_compression", + "id": 5520, + "name": "updated_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Configure HTTP compression from the application layer. If you have access to the HTTP server, the recommended approach would be to enable it there.\nHowever, some platforms don't offer access to the HTTP layer and in those cases, this is a good alternative.\n\nIts value is an object that has the following properties:\n\nIf you enable HTTP compression and you want to disable it for specific API Routes, you can pass in the request header " - }, - { - "kind": "code", - "text": "`\"x-no-compression\": true`" - }, - { - "kind": "text", - "text": "." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n http_compression: {\n enabled: true,\n level: 6,\n memLevel: 8,\n threshold: 1024,\n },\n // ...\n },\n // ...\n}\n```" - } - ] + "text": "The update date of the shipping option type." } ] }, "type": { "type": "reference", - "target": 5256, - "name": "HttpCompressionOptions", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" } }, { - "id": 5164, - "name": "jobs_batch_size", + "id": 5521, + "name": "deleted_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Configure the number of staged jobs that are polled from the database. Default is 1000." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n jobs_batch_size: 100\n // ...\n },\n // ...\n}\n```" - } - ] + "text": "The deletion date of the shipping option type." } ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] } } ], @@ -115915,127 +126058,81 @@ { "title": "Properties", "children": [ - 5145, - 5146, - 5147, - 5148, - 5149, - 5150, - 5151, - 5152, - 5154, - 5159, - 5160, - 5161, - 5162, - 5163, - 5164 + 5513, + 5514, + 5515, + 5516, + 5517, + 5518, + 5519, + 5520, + 5521 ] } ] }, { - "id": 4989, - "name": "ConfigModule", + "id": 5494, + "name": "ShippingOptionPriceType", "variant": "declaration", - "kind": 256, + "kind": 2097152, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The configurations for your Medusa backend are in " - }, - { - "kind": "code", - "text": "`medusa-config.js`" - }, - { - "kind": "text", - "text": " located in the root of your Medusa project. The configurations include database, modules, and plugin configurations, among other configurations.\n\n" + "text": "The shipping option's price type.\n\n- Use " }, { "kind": "code", - "text": "`medusa-config.js`" - }, - { - "kind": "text", - "text": " exports an object having the following properties:\n\n- " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "projectConfig", - "target": 4990, - "tsLinkText": "projectConfig" - }, - { - "kind": "text", - "text": ": (required): An object that holds general configurations related to the Medusa backend, such as database or CORS configurations.\n- " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "plugins", - "target": 4991, - "tsLinkText": "plugins" - }, - { - "kind": "text", - "text": ": An array of plugin configurations that defines what plugins are installed and optionally specifies each of their configurations.\n- " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "modules", - "target": 4995, - "tsLinkText": "modules" - }, - { - "kind": "text", - "text": ": An object that defines what modules are installed and optionally specifies each of their configurations.\n- " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "featureFlags", - "target": 4996, - "tsLinkText": "featureFlags" + "text": "`calculated`" }, { "kind": "text", - "text": ": An object that enables or disables features guarded by a feature flag.\n\nFor example:\n\n" + "text": " if the shipping option's price amount is calculated by the fulfillment provider.\n- Use " }, { "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig,\n plugins,\n modules,\n featureFlags,\n}\n```" + "text": "`flat_rate`" }, { "kind": "text", - "text": "\n\n---\n\n## Environment Variables\n\nIt's highly recommended to store the values of configurations in environment variables, then reference them within " - }, - { - "kind": "code", - "text": "`medusa-config.js`" - }, + "text": " if the shipping option's price is always the same amount." + } + ] + }, + "type": { + "type": "union", + "types": [ { - "kind": "text", - "text": ".\n\nDuring development, you can set your environment variables in the " + "type": "literal", + "value": "calculated" }, { - "kind": "code", - "text": "`.env`" - }, + "type": "literal", + "value": "flat" + } + ] + } + }, + { + "id": 5462, + "name": "ShippingOptionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ { "kind": "text", - "text": " file at the root of your Medusa backend project. In production,\nsetting the environment variables depends on the hosting provider.\n\n---" + "text": "The shipping option details." } ] }, "children": [ { - "id": 4990, - "name": "projectConfig", + "id": 5463, + "name": "id", "variant": "declaration", "kind": 1024, "flags": {}, @@ -116043,20 +126140,18 @@ "summary": [ { "kind": "text", - "text": "This property holds essential configurations related to the Medusa backend, such as database and CORS configurations." + "text": "The ID of the shipping option." } ] }, "type": { - "type": "reference", - "target": 5144, - "name": "ProjectConfigOptions", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } }, { - "id": 4991, - "name": "plugins", + "id": 5464, + "name": "name", "variant": "declaration", "kind": 1024, "flags": {}, @@ -116064,295 +126159,167 @@ "summary": [ { "kind": "text", - "text": "On your Medusa backend, you can use [Plugins](https://docs.medusajs.com/development/plugins/overview) to add custom features or integrate third-party services.\nFor example, installing a plugin to use Stripe as a payment processor.\n\nAside from installing the plugin with NPM, you need to pass the plugin you installed into the " - }, - { - "kind": "code", - "text": "`plugins`" - }, - { - "kind": "text", - "text": " array defined in " - }, - { - "kind": "code", - "text": "`medusa-config.js`" - }, - { - "kind": "text", - "text": ".\n\nThe items in the array can either be:\n\n- A string, which is the name of the plugin to add. You can pass a plugin as a string if it doesn’t require any configurations.\n- An object having the following properties:\n - " - }, - { - "kind": "code", - "text": "`resolve`" - }, - { - "kind": "text", - "text": ": The name of the plugin.\n - " - }, - { - "kind": "code", - "text": "`options`" - }, - { - "kind": "text", - "text": ": An object that includes the plugin’s options. These options vary for each plugin, and you should refer to the plugin’s documentation for available options." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n plugins: [\n `medusa-my-plugin-1`,\n {\n resolve: `medusa-my-plugin`,\n options: {\n apiKey: process.env.MY_API_KEY ||\n `test`,\n },\n },\n // ...\n ],\n // ...\n}\n```" - } - ] + "text": "The name of the shipping option." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 4992, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 4993, - "name": "resolve", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 4994, - "name": "options", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 4993, - 4994 - ] - } - ] - } - } - ] - } + "type": "intrinsic", + "name": "string" } }, { - "id": 4995, - "name": "modules", + "id": 5465, + "name": "price_type", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "In Medusa, commerce and core logic are modularized to allow developers to extend or replace certain [modules](https://docs.medusajs.com/development/modules/overview)\nwith custom implementations.\n\nAside from installing the module with NPM, you must add it to the exported object in " - }, - { - "kind": "code", - "text": "`medusa-config.js`" - }, - { - "kind": "text", - "text": ".\n\nThe keys of the " - }, - { - "kind": "code", - "text": "`modules`" - }, - { - "kind": "text", - "text": " configuration object refer to the type of module. Its value can be one of the following:\n\n1. A boolean value indicating whether the module type is enabled;\n2. Or a string value indicating the name of the module to be used for the module type. This can be used if the module does not require any options;\n3. Or an object having the following properties, but typically you would mainly use the " - }, - { - "kind": "code", - "text": "`resolve`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`options`" - }, - { - "kind": "text", - "text": " properties only:\n 1. " - }, - { - "kind": "code", - "text": "`resolve`" - }, - { - "kind": "text", - "text": ": a string indicating the name of the module.\n 2. " - }, - { - "kind": "code", - "text": "`options`" - }, - { - "kind": "text", - "text": ": an object indicating the options to pass to the module. These options vary for each module, and you should refer to the module’s documentation for details on them.\n 3. " - }, - { - "kind": "code", - "text": "`resources`" - }, + "text": "The type of the shipping option's price." + } + ] + }, + "type": { + "type": "reference", + "target": 5494, + "name": "ShippingOptionPriceType", + "package": "@medusajs/types" + } + }, + { + "id": 5466, + "name": "service_zone_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { "kind": "text", - "text": ": a string indicating whether the module shares the dependency container with the Medusa core. Its value can either be " - }, - { - "kind": "code", - "text": "`shared`" - }, + "text": "The associated service zone's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5467, + "name": "shipping_profile_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`isolated`" - }, + "text": "The associated shipping profile's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5468, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { "kind": "text", - "text": ". Refer to the [Modules documentation](https://docs.medusajs.com/development/modules/create#module-scope) for more details.\n 4. " - }, - { - "kind": "code", - "text": "`alias`" - }, + "text": "The associated fulfillment provider's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5469, + "name": "shipping_option_type_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { "kind": "text", - "text": ": a string indicating a unique alias to register the module under. Other modules can’t use the same alias.\n 5. " - }, + "text": "The associated shipping option type's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ { - "kind": "code", - "text": "`main`" + "type": "literal", + "value": null }, { - "kind": "text", - "text": ": a boolean value indicating whether this module is the main registered module. This is useful when an alias is used." + "type": "intrinsic", + "name": "string" } - ], - "blockTags": [ + ] + } + }, + { + "id": 5470, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n modules: {\n eventBus: {\n resolve: \"@medusajs/event-bus-local\",\n },\n cacheService: {\n resolve: \"@medusajs/cache-redis\",\n options: {\n redisUrl: process.env.CACHE_REDIS_URL,\n ttl: 30,\n },\n },\n // ...\n },\n // ...\n}\n```" - } - ] + "kind": "text", + "text": "The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments." } ] }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "intrinsic", - "name": "string" + "type": "literal", + "value": null }, { - "type": "union", - "types": [ + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ { "type": "intrinsic", - "name": "boolean" + "name": "string" }, { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "target": 5165, - "name": "InternalModuleDeclaration", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 5175, - "name": "ExternalModuleDeclaration", - "package": "@medusajs/types" - } - ] - } - ], - "name": "Partial", - "package": "typescript" + "type": "intrinsic", + "name": "unknown" } - ] + ], + "name": "Record", + "package": "typescript" } - ], - "name": "Record", - "package": "typescript" + ] } }, { - "id": 4996, - "name": "featureFlags", + "id": 5471, + "name": "metadata", "variant": "declaration", "kind": 1024, "flags": {}, @@ -116360,140 +126327,84 @@ "summary": [ { "kind": "text", - "text": "Some features in the Medusa backend are guarded by a feature flag. This ensures constant shipping of new features while maintaining the engine’s stability.\n\nYou can specify whether a feature should or shouldn’t be used in your backend by enabling its feature flag. Feature flags can be enabled through either environment\nvariables or through this configuration exported in " - }, - { - "kind": "code", - "text": "`medusa-config.js`" - }, - { - "kind": "text", - "text": ".\n\nIf you want to use the environment variables method, learn more about it in the [Feature Flags documentation](https://docs.medusajs.com/development/feature-flags/toggle#method-one-using-environment-variables).\n\nThe " - }, - { - "kind": "code", - "text": "`featureFlags`" - }, - { - "kind": "text", - "text": " configuration is an object. Its properties are the names of the feature flags. Each property’s value is a boolean indicating whether the feature flag is enabled.\n\nYou can find available feature flags and their key name [here](https://github.com/medusajs/medusa/tree/master/packages/medusa/src/loaders/feature-flags)." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n featureFlags: {\n product_categories: true,\n // ...\n },\n // ...\n}\n```" - }, - { - "kind": "text", - "text": "\n\n:::note\n\nAfter enabling a feature flag, make sure to [run migrations](https://docs.medusajs.com/development/entities/migrations/overview#migrate-command) as it may require making changes to the database.\n\n:::" - } - ] + "text": "Holds custom data in key-value pairs." } ] }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "intrinsic", - "name": "string" + "type": "literal", + "value": null }, { - "type": "union", - "types": [ + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ { "type": "intrinsic", "name": "string" }, { "type": "intrinsic", - "name": "boolean" + "name": "unknown" } - ] + ], + "name": "Record", + "package": "typescript" } - ], - "name": "Record", - "package": "typescript" + ] } - } - ], - "groups": [ + }, { - "title": "Properties", - "children": [ - 4990, - 4991, - 4995, - 4996 - ] - } - ] - }, - { - "id": 5008, - "name": "MedusaContainer", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The Medusa Container extends [Awilix](https://github.com/jeffijoe/awilix) to\nprovide dependency injection functionalities." - } - ] - }, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/awilix/lib/container.d.ts", - "qualifiedName": "AwilixContainer" - }, - "name": "AwilixContainer", - "package": "awilix" + "id": 5472, + "name": "service_zone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone." + } + ] }, - { - "type": "reflection", - "declaration": { - "id": 5009, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } + "type": { + "type": "reference", + "target": 5329, + "name": "ServiceZoneDTO", + "package": "@medusajs/types" } - ] - } - }, - { - "id": 4819, - "name": "FileServiceUploadResult", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Details of a file upload's result." + }, + { + "id": 5473, + "name": "shipping_profile", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping profile." + } + ] + }, + "type": { + "type": "reference", + "target": 5495, + "name": "ShippingProfileDTO", + "package": "@medusajs/types" } - ] - }, - "children": [ + }, { - "id": 4820, - "name": "url", + "id": 5474, + "name": "fulfillment_provider", "variant": "declaration", "kind": 1024, "flags": {}, @@ -116501,18 +126412,20 @@ "summary": [ { "kind": "text", - "text": "The file's URL." + "text": "The associated fulfillment provider." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 5504, + "name": "FulfillmentProviderDTO", + "package": "@medusajs/types" } }, { - "id": 4821, - "name": "key", + "id": 5475, + "name": "type", "variant": "declaration", "kind": 1024, "flags": {}, @@ -116520,44 +126433,44 @@ "summary": [ { "kind": "text", - "text": "The file's key. This key is used in other operations,\nsuch as deleting a file." + "text": "The associated shipping option type." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 5512, + "name": "ShippingOptionTypeDTO", + "package": "@medusajs/types" } - } - ], - "groups": [ + }, { - "title": "Properties", - "children": [ - 4820, - 4821 - ] - } - ] - }, - { - "id": 4917, - "name": "FileServiceGetUploadStreamResult", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The relevant details to upload a file through a stream." + "id": 5476, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules associated with the shipping option." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5522, + "name": "ShippingOptionRuleDTO", + "package": "@medusajs/types" + } } - ] - }, - "children": [ + }, { - "id": 4918, - "name": "writeStream", + "id": 5477, + "name": "fulfillments", "variant": "declaration", "kind": 1024, "flags": {}, @@ -116565,24 +126478,23 @@ "summary": [ { "kind": "text", - "text": "A [PassThrough](https://nodejs.org/api/stream.html#class-streampassthrough) write stream object to be used to write the file." + "text": "The fulfillments associated with the shipping option." } ] }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/@types/node/stream.d.ts", - "qualifiedName": "internal.PassThrough" - }, - "name": "PassThrough", - "package": "@types/node", - "qualifiedName": "internal.PassThrough" + "type": "array", + "elementType": { + "type": "reference", + "target": 5534, + "name": "FulfillmentDTO", + "package": "@medusajs/types" + } } }, { - "id": 4919, - "name": "promise", + "id": 5478, + "name": "created_at", "variant": "declaration", "kind": 1024, "flags": {}, @@ -116590,7 +126502,7 @@ "summary": [ { "kind": "text", - "text": "A promise that should resolved when the writing process is done to finish the upload." + "text": "The creation date of the shipping option." } ] }, @@ -116598,21 +126510,15 @@ "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Date" }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Promise", + "name": "Date", "package": "typescript" } }, { - "id": 4920, - "name": "url", + "id": 5479, + "name": "updated_at", "variant": "declaration", "kind": 1024, "flags": {}, @@ -116620,18 +126526,23 @@ "summary": [ { "kind": "text", - "text": "The URL of the file once it’s uploaded." + "text": "The update date of the shipping option." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" } }, { - "id": 4921, - "name": "fileKey", + "id": 5480, + "name": "deleted_at", "variant": "declaration", "kind": 1024, "flags": {}, @@ -116639,13 +126550,27 @@ "summary": [ { "kind": "text", - "text": "The identifier of the file in the storage. For example, for a local file service, this can be the file's name." + "text": "The deletion date of the shipping option." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] } } ], @@ -116653,17 +126578,31 @@ { "title": "Properties", "children": [ - 4918, - 4919, - 4920, - 4921 + 5463, + 5464, + 5465, + 5466, + 5467, + 5468, + 5469, + 5470, + 5471, + 5472, + 5473, + 5474, + 5475, + 5476, + 5477, + 5478, + 5479, + 5480 ] } ] }, { - "id": 4922, - "name": "GetUploadedFileType", + "id": 5495, + "name": "ShippingProfileDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -116671,14 +126610,14 @@ "summary": [ { "kind": "text", - "text": "The details of a file to retrieve." + "text": "The shipping profile details." } ] }, "children": [ { - "id": 4923, - "name": "fileKey", + "id": 5496, + "name": "id", "variant": "declaration", "kind": 1024, "flags": {}, @@ -116686,7 +126625,7 @@ "summary": [ { "kind": "text", - "text": "The file's key." + "text": "The ID of the shipping profile." } ] }, @@ -116696,55 +126635,27 @@ } }, { - "id": 4924, - "name": "isPrivate", + "id": 5497, + "name": "name", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Whether the file is private." + "text": "The name of the shipping profile." } ] }, "type": { "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 4923, - 4924 - ] - } - ] - }, - { - "id": 4911, - "name": "DeleteFileType", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The details of the file to remove." + "name": "string" } - ] - }, - "children": [ + }, { - "id": 4912, - "name": "fileKey", + "id": 5498, + "name": "type", "variant": "declaration", "kind": 1024, "flags": {}, @@ -116752,7 +126663,7 @@ "summary": [ { "kind": "text", - "text": "The file's key. When uploading a file, the\nreturned key is used here." + "text": "The type of the shipping profile." } ] }, @@ -116760,35 +126671,53 @@ "type": "intrinsic", "name": "string" } - } - ], - "groups": [ + }, { - "title": "Properties", - "children": [ - 4912 - ] - } - ] - }, - { - "id": 4913, - "name": "UploadStreamDescriptorType", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The details of the file being uploaded through a stream." + "id": 5499, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] } - ] - }, - "children": [ + }, { - "id": 4914, - "name": "name", + "id": 5500, + "name": "shipping_options", "variant": "declaration", "kind": 1024, "flags": {}, @@ -116796,63 +126725,99 @@ "summary": [ { "kind": "text", - "text": "The name of the file." + "text": "The shipping options associated with the shipping profile." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 5462, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } } }, { - "id": 4915, - "name": "ext", + "id": 5501, + "name": "created_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The extension of the file." + "text": "The creation date of the shipping profile." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" } }, { - "id": 4916, - "name": "isPrivate", + "id": 5502, + "name": "updated_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Whether the file should be uploaded to a private bucket or location. By convention, the default value of this property is " - }, - { - "kind": "code", - "text": "`true`" - }, + "text": "The update date of the shipping profile." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5503, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { "kind": "text", - "text": "." + "text": "The deletion date of the shipping profile." } ] }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] } } ], @@ -116860,15 +126825,20 @@ { "title": "Properties", "children": [ - 4914, - 4915, - 4916 + 5496, + 5497, + 5498, + 5499, + 5500, + 5501, + 5502, + 5503 ] } ] }, { - "id": 4446, + "id": 4553, "name": "InventoryItemDTO", "variant": "declaration", "kind": 2097152, @@ -116882,14 +126852,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4447, + "id": 4554, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4448, + "id": 4555, "name": "id", "variant": "declaration", "kind": 1024, @@ -116908,7 +126878,7 @@ } }, { - "id": 4449, + "id": 4556, "name": "sku", "variant": "declaration", "kind": 1024, @@ -116938,7 +126908,7 @@ } }, { - "id": 4450, + "id": 4557, "name": "origin_country", "variant": "declaration", "kind": 1024, @@ -116968,7 +126938,7 @@ } }, { - "id": 4451, + "id": 4558, "name": "hs_code", "variant": "declaration", "kind": 1024, @@ -116998,7 +126968,7 @@ } }, { - "id": 4452, + "id": 4559, "name": "requires_shipping", "variant": "declaration", "kind": 1024, @@ -117017,7 +126987,7 @@ } }, { - "id": 4453, + "id": 4560, "name": "mid_code", "variant": "declaration", "kind": 1024, @@ -117047,7 +127017,7 @@ } }, { - "id": 4454, + "id": 4561, "name": "material", "variant": "declaration", "kind": 1024, @@ -117077,7 +127047,7 @@ } }, { - "id": 4455, + "id": 4562, "name": "weight", "variant": "declaration", "kind": 1024, @@ -117107,7 +127077,7 @@ } }, { - "id": 4456, + "id": 4563, "name": "length", "variant": "declaration", "kind": 1024, @@ -117137,7 +127107,7 @@ } }, { - "id": 4457, + "id": 4564, "name": "height", "variant": "declaration", "kind": 1024, @@ -117167,7 +127137,7 @@ } }, { - "id": 4458, + "id": 4565, "name": "width", "variant": "declaration", "kind": 1024, @@ -117197,7 +127167,7 @@ } }, { - "id": 4459, + "id": 4566, "name": "title", "variant": "declaration", "kind": 1024, @@ -117227,7 +127197,7 @@ } }, { - "id": 4460, + "id": 4567, "name": "description", "variant": "declaration", "kind": 1024, @@ -117257,7 +127227,7 @@ } }, { - "id": 4461, + "id": 4568, "name": "thumbnail", "variant": "declaration", "kind": 1024, @@ -117287,7 +127257,7 @@ } }, { - "id": 4462, + "id": 4569, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -117332,7 +127302,7 @@ } }, { - "id": 4463, + "id": 4570, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -117365,7 +127335,7 @@ } }, { - "id": 4464, + "id": 4571, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -117398,7 +127368,7 @@ } }, { - "id": 4465, + "id": 4572, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -117439,24 +127409,24 @@ { "title": "Properties", "children": [ - 4448, - 4449, - 4450, - 4451, - 4452, - 4453, - 4454, - 4455, - 4456, - 4457, - 4458, - 4459, - 4460, - 4461, - 4462, - 4463, - 4464, - 4465 + 4555, + 4556, + 4557, + 4558, + 4559, + 4560, + 4561, + 4562, + 4563, + 4564, + 4565, + 4566, + 4567, + 4568, + 4569, + 4570, + 4571, + 4572 ] } ] @@ -117464,7 +127434,7 @@ } }, { - "id": 4749, + "id": 4851, "name": "ReservationItemDTO", "variant": "declaration", "kind": 2097152, @@ -117483,14 +127453,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4750, + "id": 4852, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4751, + "id": 4853, "name": "id", "variant": "declaration", "kind": 1024, @@ -117509,7 +127479,7 @@ } }, { - "id": 4752, + "id": 4854, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -117528,7 +127498,7 @@ } }, { - "id": 4753, + "id": 4855, "name": "inventory_item_id", "variant": "declaration", "kind": 1024, @@ -117547,7 +127517,7 @@ } }, { - "id": 4754, + "id": 4856, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -117566,7 +127536,7 @@ } }, { - "id": 4755, + "id": 4857, "name": "line_item_id", "variant": "declaration", "kind": 1024, @@ -117588,7 +127558,7 @@ } }, { - "id": 4756, + "id": 4858, "name": "description", "variant": "declaration", "kind": 1024, @@ -117618,7 +127588,7 @@ } }, { - "id": 4757, + "id": 4859, "name": "created_by", "variant": "declaration", "kind": 1024, @@ -117648,7 +127618,7 @@ } }, { - "id": 4758, + "id": 4860, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -117691,7 +127661,7 @@ } }, { - "id": 4759, + "id": 4861, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -117724,7 +127694,7 @@ } }, { - "id": 4760, + "id": 4862, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -117757,7 +127727,7 @@ } }, { - "id": 4761, + "id": 4863, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -117798,17 +127768,17 @@ { "title": "Properties", "children": [ - 4751, - 4752, - 4753, - 4754, - 4755, - 4756, - 4757, - 4758, - 4759, - 4760, - 4761 + 4853, + 4854, + 4855, + 4856, + 4857, + 4858, + 4859, + 4860, + 4861, + 4862, + 4863 ] } ] @@ -117816,7 +127786,7 @@ } }, { - "id": 4466, + "id": 4573, "name": "InventoryLevelDTO", "variant": "declaration", "kind": 2097152, @@ -117830,14 +127800,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4467, + "id": 4574, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4468, + "id": 4575, "name": "id", "variant": "declaration", "kind": 1024, @@ -117848,7 +127818,7 @@ } }, { - "id": 4469, + "id": 4576, "name": "inventory_item_id", "variant": "declaration", "kind": 1024, @@ -117859,7 +127829,7 @@ } }, { - "id": 4470, + "id": 4577, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -117878,7 +127848,7 @@ } }, { - "id": 4471, + "id": 4578, "name": "stocked_quantity", "variant": "declaration", "kind": 1024, @@ -117897,7 +127867,7 @@ } }, { - "id": 4472, + "id": 4579, "name": "reserved_quantity", "variant": "declaration", "kind": 1024, @@ -117916,7 +127886,7 @@ } }, { - "id": 4473, + "id": 4580, "name": "incoming_quantity", "variant": "declaration", "kind": 1024, @@ -117935,7 +127905,7 @@ } }, { - "id": 4474, + "id": 4581, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -117978,7 +127948,7 @@ } }, { - "id": 4475, + "id": 4582, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -118011,7 +127981,7 @@ } }, { - "id": 4476, + "id": 4583, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -118044,7 +128014,7 @@ } }, { - "id": 4477, + "id": 4584, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -118085,16 +128055,16 @@ { "title": "Properties", "children": [ - 4468, - 4469, - 4470, - 4471, - 4472, - 4473, - 4474, - 4475, - 4476, - 4477 + 4575, + 4576, + 4577, + 4578, + 4579, + 4580, + 4581, + 4582, + 4583, + 4584 ] } ] @@ -118102,551 +128072,14 @@ } }, { - "id": 5239, - "name": "JoinerRelationship", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 5240, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 5241, - "name": "alias", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 5242, - "name": "foreignKey", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 5243, - "name": "primaryKey", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 5244, - "name": "serviceName", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 5245, - "name": "isInternalService", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If true, the relationship is an internal service from the medusa core\nTODO: Remove when there are no more \"internal\" services" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 5246, - "name": "inverse", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "In an inverted relationship the foreign key is on the other service and the primary key is on the current service" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 5247, - "name": "isList", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Force the relationship to return a list" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 5248, - "name": "args", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Extra arguments to pass to the remoteFetchData callback" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 5241, - 5242, - 5243, - 5244, - 5245, - 5246, - 5247, - 5248 - ] - } - ] - } - } - }, - { - "id": 5236, - "name": "JoinerServiceConfigAlias", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 5237, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "id": 5238, - "name": "args", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Extra arguments to pass to the remoteFetchData callback" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 5237, - 5238 - ] - } - ] - }, - { - "id": 5126, - "name": "JoinerServiceConfig", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 5127, - "name": "serviceName", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 5128, - "name": "alias", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Property name to use as entrypoint to the service" - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 5236, - "name": "JoinerServiceConfigAlias", - "package": "@medusajs/types" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "target": 5236, - "name": "JoinerServiceConfigAlias", - "package": "@medusajs/types" - } - } - ] - } - }, - { - "id": 5129, - "name": "fieldAlias", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "alias for deeper nested relationships (e.g. { 'price': 'prices.calculated_price_set.amount' })" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 5130, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 5131, - "name": "path", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 5132, - "name": "forwardArgumentsOnPath", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 5131, - 5132 - ] - } - ] - } - } - ] - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 5133, - "name": "primaryKeys", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 5134, - "name": "relationships", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 5239, - "name": "JoinerRelationship", - "package": "@medusajs/types" - } - } - }, - { - "id": 5135, - "name": "extends", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 5136, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 5137, - "name": "serviceName", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 5138, - "name": "relationship", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 5239, - "name": "JoinerRelationship", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 5137, - 5138 - ] - } - ] - } - } - } - }, - { - "id": 5139, - "name": "args", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Extra arguments to pass to the remoteFetchData callback" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 5127, - 5128, - 5129, - 5133, - 5134, - 5135, - 5139 - ] - } - ] - }, - { - "id": 5349, + "id": 5553, "name": "Logger", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { - "id": 5350, + "id": 5554, "name": "panic", "variant": "declaration", "kind": 1024, @@ -118654,21 +128087,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5351, + "id": 5555, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5352, + "id": 5556, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5353, + "id": 5557, "name": "data", "variant": "param", "kind": 32768, @@ -118689,7 +128122,7 @@ } }, { - "id": 5354, + "id": 5558, "name": "shouldLog", "variant": "declaration", "kind": 1024, @@ -118697,21 +128130,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5355, + "id": 5559, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5356, + "id": 5560, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5357, + "id": 5561, "name": "level", "variant": "param", "kind": 32768, @@ -118732,7 +128165,7 @@ } }, { - "id": 5358, + "id": 5562, "name": "setLogLevel", "variant": "declaration", "kind": 1024, @@ -118740,21 +128173,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5359, + "id": 5563, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5360, + "id": 5564, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5361, + "id": 5565, "name": "level", "variant": "param", "kind": 32768, @@ -118775,7 +128208,7 @@ } }, { - "id": 5362, + "id": 5566, "name": "unsetLogLevel", "variant": "declaration", "kind": 1024, @@ -118783,14 +128216,14 @@ "type": { "type": "reflection", "declaration": { - "id": 5363, + "id": 5567, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5364, + "id": 5568, "name": "__type", "variant": "signature", "kind": 4096, @@ -118805,7 +128238,7 @@ } }, { - "id": 5365, + "id": 5569, "name": "activity", "variant": "declaration", "kind": 1024, @@ -118813,21 +128246,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5366, + "id": 5570, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5367, + "id": 5571, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5368, + "id": 5572, "name": "message", "variant": "param", "kind": 32768, @@ -118838,7 +128271,7 @@ } }, { - "id": 5369, + "id": 5573, "name": "config", "variant": "param", "kind": 32768, @@ -118861,7 +128294,7 @@ } }, { - "id": 5370, + "id": 5574, "name": "progress", "variant": "declaration", "kind": 1024, @@ -118869,21 +128302,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5371, + "id": 5575, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5372, + "id": 5576, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5373, + "id": 5577, "name": "activityId", "variant": "param", "kind": 32768, @@ -118894,7 +128327,7 @@ } }, { - "id": 5374, + "id": 5578, "name": "message", "variant": "param", "kind": 32768, @@ -118915,7 +128348,7 @@ } }, { - "id": 5375, + "id": 5579, "name": "error", "variant": "declaration", "kind": 1024, @@ -118923,21 +128356,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5376, + "id": 5580, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5377, + "id": 5581, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5378, + "id": 5582, "name": "messageOrError", "variant": "param", "kind": 32768, @@ -118948,7 +128381,7 @@ } }, { - "id": 5379, + "id": 5583, "name": "error", "variant": "param", "kind": 32768, @@ -118971,7 +128404,7 @@ } }, { - "id": 5380, + "id": 5584, "name": "failure", "variant": "declaration", "kind": 1024, @@ -118979,21 +128412,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5381, + "id": 5585, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5382, + "id": 5586, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5383, + "id": 5587, "name": "activityId", "variant": "param", "kind": 32768, @@ -119004,7 +128437,7 @@ } }, { - "id": 5384, + "id": 5588, "name": "message", "variant": "param", "kind": 32768, @@ -119025,7 +128458,7 @@ } }, { - "id": 5385, + "id": 5589, "name": "success", "variant": "declaration", "kind": 1024, @@ -119033,21 +128466,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5386, + "id": 5590, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5387, + "id": 5591, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5388, + "id": 5592, "name": "activityId", "variant": "param", "kind": 32768, @@ -119058,7 +128491,7 @@ } }, { - "id": 5389, + "id": 5593, "name": "message", "variant": "param", "kind": 32768, @@ -119079,7 +128512,7 @@ } }, { - "id": 5390, + "id": 5594, "name": "debug", "variant": "declaration", "kind": 1024, @@ -119087,21 +128520,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5391, + "id": 5595, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5392, + "id": 5596, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5393, + "id": 5597, "name": "message", "variant": "param", "kind": 32768, @@ -119122,7 +128555,7 @@ } }, { - "id": 5394, + "id": 5598, "name": "info", "variant": "declaration", "kind": 1024, @@ -119130,21 +128563,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5395, + "id": 5599, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5396, + "id": 5600, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5397, + "id": 5601, "name": "message", "variant": "param", "kind": 32768, @@ -119165,7 +128598,7 @@ } }, { - "id": 5398, + "id": 5602, "name": "warn", "variant": "declaration", "kind": 1024, @@ -119173,21 +128606,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5399, + "id": 5603, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5400, + "id": 5604, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5401, + "id": 5605, "name": "message", "variant": "param", "kind": 32768, @@ -119208,7 +128641,7 @@ } }, { - "id": 5402, + "id": 5606, "name": "log", "variant": "declaration", "kind": 1024, @@ -119216,21 +128649,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5403, + "id": 5607, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5404, + "id": 5608, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5405, + "id": 5609, "name": "args", "variant": "param", "kind": 32768, @@ -119260,32 +128693,32 @@ { "title": "Properties", "children": [ - 5350, - 5354, - 5358, - 5362, - 5365, - 5370, - 5375, - 5380, - 5385, - 5390, - 5394, - 5398, - 5402 + 5554, + 5558, + 5562, + 5566, + 5569, + 5574, + 5579, + 5584, + 5589, + 5594, + 5598, + 5602, + 5606 ] } ] }, { - "id": 5021, + "id": 5116, "name": "Constructor", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 5025, + "id": 5120, "name": "T", "variant": "typeParam", "kind": 131072, @@ -119295,21 +128728,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5022, + "id": 5117, "name": "__type", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 5023, + "id": 5118, "name": "__type", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 5024, + "id": 5119, "name": "args", "variant": "param", "kind": 32768, @@ -119327,7 +128760,7 @@ ], "type": { "type": "reference", - "target": 5025, + "target": 5120, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -119338,7 +128771,7 @@ } }, { - "id": 5261, + "id": 5362, "name": "INTERNAL", "variant": "declaration", "kind": 16, @@ -119349,7 +128782,7 @@ } }, { - "id": 5290, + "id": 5391, "name": "EXTERNAL", "variant": "declaration", "kind": 16, @@ -119360,14 +128793,14 @@ } }, { - "id": 5262, + "id": 5363, "name": "MODULE_RESOURCE_TYPE", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 5263, + "id": 5364, "name": "SHARED", "variant": "declaration", "kind": 16, @@ -119378,7 +128811,7 @@ } }, { - "id": 5264, + "id": 5365, "name": "ISOLATED", "variant": "declaration", "kind": 16, @@ -119393,14 +128826,14 @@ { "title": "Enumeration Members", "children": [ - 5263, - 5264 + 5364, + 5365 ] } ] }, { - "id": 5165, + "id": 5260, "name": "InternalModuleDeclaration", "variant": "declaration", "kind": 2097152, @@ -119408,40 +128841,40 @@ "type": { "type": "reflection", "declaration": { - "id": 5166, + "id": 5261, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5167, + "id": 5262, "name": "scope", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 5261, + "target": 5362, "name": "MODULE_SCOPE.INTERNAL", "package": "@medusajs/types" } }, { - "id": 5168, + "id": 5263, "name": "resources", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 5262, + "target": 5363, "name": "MODULE_RESOURCE_TYPE", "package": "@medusajs/types" } }, { - "id": 5169, + "id": 5264, "name": "dependencies", "variant": "declaration", "kind": 1024, @@ -119457,7 +128890,7 @@ } }, { - "id": 5170, + "id": 5265, "name": "definition", "variant": "declaration", "kind": 1024, @@ -119473,7 +128906,7 @@ "typeArguments": [ { "type": "reference", - "target": 5265, + "target": 5366, "name": "ModuleDefinition", "package": "@medusajs/types" } @@ -119483,7 +128916,7 @@ } }, { - "id": 5171, + "id": 5266, "name": "resolve", "variant": "declaration", "kind": 1024, @@ -119499,7 +128932,7 @@ }, { "type": "reference", - "target": 5276, + "target": 5377, "name": "ModuleExports", "package": "@medusajs/types" } @@ -119507,7 +128940,7 @@ } }, { - "id": 5172, + "id": 5267, "name": "options", "variant": "declaration", "kind": 1024, @@ -119535,7 +128968,7 @@ } }, { - "id": 5173, + "id": 5268, "name": "alias", "variant": "declaration", "kind": 1024, @@ -119556,7 +128989,7 @@ } }, { - "id": 5174, + "id": 5269, "name": "main", "variant": "declaration", "kind": 1024, @@ -119575,20 +129008,47 @@ "type": "intrinsic", "name": "boolean" } + }, + { + "id": 5270, + "name": "worker_mode", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "shared" + }, + { + "type": "literal", + "value": "worker" + }, + { + "type": "literal", + "value": "server" + } + ] + } } ], "groups": [ { "title": "Properties", "children": [ - 5167, - 5168, - 5169, - 5170, - 5171, - 5172, - 5173, - 5174 + 5262, + 5263, + 5264, + 5265, + 5266, + 5267, + 5268, + 5269, + 5270 ] } ] @@ -119596,7 +129056,7 @@ } }, { - "id": 5175, + "id": 5271, "name": "ExternalModuleDeclaration", "variant": "declaration", "kind": 2097152, @@ -119604,27 +129064,27 @@ "type": { "type": "reflection", "declaration": { - "id": 5176, + "id": 5272, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5177, + "id": 5273, "name": "scope", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 5290, + "target": 5391, "name": "MODULE_SCOPE.EXTERNAL", "package": "@medusajs/types" } }, { - "id": 5178, + "id": 5274, "name": "definition", "variant": "declaration", "kind": 1024, @@ -119640,7 +129100,7 @@ "typeArguments": [ { "type": "reference", - "target": 5265, + "target": 5366, "name": "ModuleDefinition", "package": "@medusajs/types" } @@ -119650,7 +129110,7 @@ } }, { - "id": 5179, + "id": 5275, "name": "server", "variant": "declaration", "kind": 1024, @@ -119660,14 +129120,14 @@ "type": { "type": "reflection", "declaration": { - "id": 5180, + "id": 5276, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5181, + "id": 5277, "name": "type", "variant": "declaration", "kind": 1024, @@ -119678,7 +129138,7 @@ } }, { - "id": 5182, + "id": 5278, "name": "url", "variant": "declaration", "kind": 1024, @@ -119689,7 +129149,7 @@ } }, { - "id": 5183, + "id": 5279, "name": "keepAlive", "variant": "declaration", "kind": 1024, @@ -119704,9 +129164,9 @@ { "title": "Properties", "children": [ - 5181, - 5182, - 5183 + 5277, + 5278, + 5279 ] } ] @@ -119714,7 +129174,7 @@ } }, { - "id": 5184, + "id": 5280, "name": "options", "variant": "declaration", "kind": 1024, @@ -119742,7 +129202,7 @@ } }, { - "id": 5185, + "id": 5281, "name": "alias", "variant": "declaration", "kind": 1024, @@ -119763,7 +129223,7 @@ } }, { - "id": 5186, + "id": 5282, "name": "main", "variant": "declaration", "kind": 1024, @@ -119788,12 +129248,12 @@ { "title": "Properties", "children": [ - 5177, - 5178, - 5179, - 5184, - 5185, - 5186 + 5273, + 5274, + 5275, + 5280, + 5281, + 5282 ] } ] @@ -119801,7 +129261,7 @@ } }, { - "id": 5265, + "id": 5366, "name": "ModuleDefinition", "variant": "declaration", "kind": 2097152, @@ -119809,14 +129269,14 @@ "type": { "type": "reflection", "declaration": { - "id": 5266, + "id": 5367, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5267, + "id": 5368, "name": "key", "variant": "declaration", "kind": 1024, @@ -119827,7 +129287,7 @@ } }, { - "id": 5268, + "id": 5369, "name": "registrationName", "variant": "declaration", "kind": 1024, @@ -119838,7 +129298,7 @@ } }, { - "id": 5269, + "id": 5370, "name": "defaultPackage", "variant": "declaration", "kind": 1024, @@ -119858,7 +129318,7 @@ } }, { - "id": 5270, + "id": 5371, "name": "label", "variant": "declaration", "kind": 1024, @@ -119869,7 +129329,7 @@ } }, { - "id": 5271, + "id": 5372, "name": "isRequired", "variant": "declaration", "kind": 1024, @@ -119882,7 +129342,7 @@ } }, { - "id": 5272, + "id": 5373, "name": "isQueryable", "variant": "declaration", "kind": 1024, @@ -119895,7 +129355,7 @@ } }, { - "id": 5273, + "id": 5374, "name": "isLegacy", "variant": "declaration", "kind": 1024, @@ -119908,7 +129368,7 @@ } }, { - "id": 5274, + "id": 5375, "name": "dependencies", "variant": "declaration", "kind": 1024, @@ -119924,7 +129384,7 @@ } }, { - "id": 5275, + "id": 5376, "name": "defaultModuleDeclaration", "variant": "declaration", "kind": 1024, @@ -119934,13 +129394,13 @@ "types": [ { "type": "reference", - "target": 5165, + "target": 5260, "name": "InternalModuleDeclaration", "package": "@medusajs/types" }, { "type": "reference", - "target": 5175, + "target": 5271, "name": "ExternalModuleDeclaration", "package": "@medusajs/types" } @@ -119952,15 +129412,15 @@ { "title": "Properties", "children": [ - 5267, - 5268, - 5269, - 5270, - 5271, - 5272, - 5273, - 5274, - 5275 + 5368, + 5369, + 5370, + 5371, + 5372, + 5373, + 5374, + 5375, + 5376 ] } ] @@ -119968,14 +129428,14 @@ } }, { - "id": 5343, + "id": 5486, "name": "LoaderOptions", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 5348, + "id": 5492, "name": "TOptions", "variant": "typeParam", "kind": 131072, @@ -120004,27 +129464,27 @@ "type": { "type": "reflection", "declaration": { - "id": 5344, + "id": 5487, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5345, + "id": 5488, "name": "container", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 5008, + "target": 5097, "name": "MedusaContainer", "package": "@medusajs/types" } }, { - "id": 5346, + "id": 5489, "name": "options", "variant": "declaration", "kind": 1024, @@ -120033,14 +129493,14 @@ }, "type": { "type": "reference", - "target": 5348, + "target": 5492, "name": "TOptions", "package": "@medusajs/types", "refersToTypeParameter": true } }, { - "id": 5347, + "id": 5490, "name": "logger", "variant": "declaration", "kind": 1024, @@ -120049,19 +129509,33 @@ }, "type": { "type": "reference", - "target": 5349, + "target": 5553, "name": "Logger", "package": "@medusajs/types" } + }, + { + "id": 5491, + "name": "dataLoaderOnly", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } } ], "groups": [ { "title": "Properties", "children": [ - 5345, - 5346, - 5347 + 5488, + 5489, + 5490, + 5491 ] } ] @@ -120069,7 +129543,7 @@ } }, { - "id": 5338, + "id": 5481, "name": "ModuleLoaderFunction", "variant": "declaration", "kind": 2097152, @@ -120077,34 +129551,34 @@ "type": { "type": "reflection", "declaration": { - "id": 5339, + "id": 5482, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5340, + "id": 5483, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5341, + "id": 5484, "name": "options", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 5343, + "target": 5486, "name": "LoaderOptions", "package": "@medusajs/types" } }, { - "id": 5342, + "id": 5485, "name": "moduleDeclaration", "variant": "param", "kind": 32768, @@ -120113,7 +129587,7 @@ }, "type": { "type": "reference", - "target": 5165, + "target": 5260, "name": "InternalModuleDeclaration", "package": "@medusajs/types" } @@ -120140,7 +129614,7 @@ } }, { - "id": 5225, + "id": 5339, "name": "ModulesResponse", "variant": "declaration", "kind": 2097152, @@ -120150,14 +129624,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 5226, + "id": 5340, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5227, + "id": 5341, "name": "module", "variant": "declaration", "kind": 1024, @@ -120168,7 +129642,7 @@ } }, { - "id": 5228, + "id": 5342, "name": "resolution", "variant": "declaration", "kind": 1024, @@ -120192,8 +129666,8 @@ { "title": "Properties", "children": [ - 5227, - 5228 + 5341, + 5342 ] } ] @@ -120202,727 +129676,7 @@ } }, { - "id": 4949, - "name": "ModuleJoinerConfig", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reference", - "target": 5126, - "name": "JoinerServiceConfig", - "package": "@medusajs/types" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "serviceName" - }, - { - "type": "literal", - "value": "primaryKeys" - }, - { - "type": "literal", - "value": "relationships" - }, - { - "type": "literal", - "value": "extends" - } - ] - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "reflection", - "declaration": { - "id": 4950, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 4951, - "name": "schema", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "GraphQL schema for the all module's available entities and fields" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 4952, - "name": "relationships", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 5140, - "name": "ModuleJoinerRelationship", - "package": "@medusajs/types" - } - } - }, - { - "id": 4953, - "name": "extends", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 4954, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 4955, - "name": "serviceName", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 4956, - "name": "fieldAlias", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 4957, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 4958, - "name": "path", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 4959, - "name": "forwardArgumentsOnPath", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 4958, - 4959 - ] - } - ] - } - } - ] - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 4960, - "name": "relationship", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 5140, - "name": "ModuleJoinerRelationship", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 4955, - 4956, - 4960 - ] - } - ] - } - } - } - }, - { - "id": 4961, - "name": "serviceName", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 4962, - "name": "primaryKeys", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 4963, - "name": "isLink", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If the module is a link module" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 4964, - "name": "linkableKeys", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Keys that can be used to link to other modules. e.g { product_id: \"Product\" } \"Product\" being the entity it refers to" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 4965, - "name": "isReadOnlyLink", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If true it expands a RemoteQuery property but doesn't create a pivot table" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 4966, - "name": "databaseConfig", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 4967, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 4968, - "name": "tableName", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Name of the pivot table. If not provided it is auto generated" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 4969, - "name": "idPrefix", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Prefix for the id column. If not provided it is \"link\"" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 4970, - "name": "extraFields", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 4971, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 4972, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "date" - }, - { - "type": "literal", - "value": "time" - }, - { - "type": "literal", - "value": "datetime" - }, - { - "type": "literal", - "value": "bigint" - }, - { - "type": "literal", - "value": "blob" - }, - { - "type": "literal", - "value": "uint8array" - }, - { - "type": "literal", - "value": "array" - }, - { - "type": "literal", - "value": "enumArray" - }, - { - "type": "literal", - "value": "enum" - }, - { - "type": "literal", - "value": "json" - }, - { - "type": "literal", - "value": "integer" - }, - { - "type": "literal", - "value": "smallint" - }, - { - "type": "literal", - "value": "tinyint" - }, - { - "type": "literal", - "value": "mediumint" - }, - { - "type": "literal", - "value": "float" - }, - { - "type": "literal", - "value": "double" - }, - { - "type": "literal", - "value": "boolean" - }, - { - "type": "literal", - "value": "decimal" - }, - { - "type": "literal", - "value": "string" - }, - { - "type": "literal", - "value": "uuid" - }, - { - "type": "literal", - "value": "text" - } - ] - } - }, - { - "id": 4973, - "name": "defaultValue", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 4974, - "name": "nullable", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 4975, - "name": "options", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Mikro-orm options for the column" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 4972, - 4973, - 4974, - 4975 - ] - } - ] - } - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 4968, - 4969, - 4970 - ] - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 4951, - 4952, - 4953, - 4961, - 4962, - 4963, - 4964, - 4965, - 4966 - ] - } - ] - } - } - ] - } - }, - { - "id": 5140, - "name": "ModuleJoinerRelationship", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": 5239, - "name": "JoinerRelationship", - "package": "@medusajs/types" - }, - { - "type": "reflection", - "declaration": { - "id": 5141, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 5142, - "name": "isInternalService", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If true, the relationship is an internal service from the medusa core TODO: Remove when there are no more \"internal\" services" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 5143, - "name": "deleteCascade", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If true, the link joiner will cascade deleting the relationship" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 5142, - 5143 - ] - } - ] - } - } - ] - } - }, - { - "id": 5276, + "id": 5377, "name": "ModuleExports", "variant": "declaration", "kind": 2097152, @@ -120930,21 +129684,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5277, + "id": 5378, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5278, + "id": 5379, "name": "service", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 5021, + "target": 5116, "typeArguments": [ { "type": "intrinsic", @@ -120956,7 +129710,7 @@ } }, { - "id": 5279, + "id": 5380, "name": "loaders", "variant": "declaration", "kind": 1024, @@ -120967,14 +129721,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 5338, + "target": 5481, "name": "ModuleLoaderFunction", "package": "@medusajs/types" } } }, { - "id": 5280, + "id": 5381, "name": "migrations", "variant": "declaration", "kind": 1024, @@ -121004,7 +129758,7 @@ } }, { - "id": 5281, + "id": 5382, "name": "models", "variant": "declaration", "kind": 1024, @@ -121029,7 +129783,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 5021, + "target": 5116, "typeArguments": [ { "type": "intrinsic", @@ -121042,7 +129796,7 @@ } }, { - "id": 5282, + "id": 5383, "name": "runMigrations", "variant": "declaration", "kind": 2048, @@ -121051,21 +129805,21 @@ }, "signatures": [ { - "id": 5283, + "id": 5384, "name": "runMigrations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5284, + "id": 5385, "name": "options", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 5343, + "target": 5486, "typeArguments": [ { "type": "intrinsic", @@ -121077,7 +129831,7 @@ } }, { - "id": 5285, + "id": 5386, "name": "moduleDeclaration", "variant": "param", "kind": 32768, @@ -121086,7 +129840,7 @@ }, "type": { "type": "reference", - "target": 5165, + "target": 5260, "name": "InternalModuleDeclaration", "package": "@medusajs/types" } @@ -121111,7 +129865,7 @@ ] }, { - "id": 5286, + "id": 5387, "name": "revertMigration", "variant": "declaration", "kind": 2048, @@ -121120,21 +129874,21 @@ }, "signatures": [ { - "id": 5287, + "id": 5388, "name": "revertMigration", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5288, + "id": 5389, "name": "options", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 5343, + "target": 5486, "typeArguments": [ { "type": "intrinsic", @@ -121146,7 +129900,7 @@ } }, { - "id": 5289, + "id": 5390, "name": "moduleDeclaration", "variant": "param", "kind": 32768, @@ -121155,7 +129909,7 @@ }, "type": { "type": "reference", - "target": 5165, + "target": 5260, "name": "InternalModuleDeclaration", "package": "@medusajs/types" } @@ -121184,17 +129938,17 @@ { "title": "Properties", "children": [ - 5278, - 5279, - 5280, - 5281 + 5379, + 5380, + 5381, + 5382 ] }, { "title": "Methods", "children": [ - 5282, - 5286 + 5383, + 5387 ] } ] @@ -121202,14 +129956,99 @@ } }, { - "id": 5299, + "id": 5108, + "name": "MedusaPricingContext", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 5109, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5110, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5111, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5112, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5113, + "name": "customer_group_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5110, + 5111, + 5112, + 5113 + ] + } + ] + } + } + }, + { + "id": 5403, "name": "ProductStatus", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 5300, + "id": 5404, "name": "DRAFT", "variant": "declaration", "kind": 16, @@ -121220,7 +130059,7 @@ } }, { - "id": 5301, + "id": 5405, "name": "PROPOSED", "variant": "declaration", "kind": 16, @@ -121231,7 +130070,7 @@ } }, { - "id": 5302, + "id": 5406, "name": "PUBLISHED", "variant": "declaration", "kind": 16, @@ -121242,7 +130081,7 @@ } }, { - "id": 5303, + "id": 5407, "name": "REJECTED", "variant": "declaration", "kind": 16, @@ -121257,16 +130096,16 @@ { "title": "Enumeration Members", "children": [ - 5300, - 5301, - 5302, - 5303 + 5404, + 5405, + 5406, + 5407 ] } ] }, { - "id": 5195, + "id": 5297, "name": "ProductDTO", "variant": "declaration", "kind": 256, @@ -121281,7 +130120,7 @@ }, "children": [ { - "id": 5196, + "id": 5298, "name": "id", "variant": "declaration", "kind": 1024, @@ -121300,7 +130139,7 @@ } }, { - "id": 5197, + "id": 5299, "name": "title", "variant": "declaration", "kind": 1024, @@ -121319,7 +130158,7 @@ } }, { - "id": 5198, + "id": 5300, "name": "handle", "variant": "declaration", "kind": 1024, @@ -121349,7 +130188,7 @@ } }, { - "id": 5199, + "id": 5301, "name": "subtitle", "variant": "declaration", "kind": 1024, @@ -121379,7 +130218,7 @@ } }, { - "id": 5200, + "id": 5302, "name": "description", "variant": "declaration", "kind": 1024, @@ -121409,7 +130248,7 @@ } }, { - "id": 5201, + "id": 5303, "name": "is_giftcard", "variant": "declaration", "kind": 1024, @@ -121428,7 +130267,7 @@ } }, { - "id": 5202, + "id": 5304, "name": "status", "variant": "declaration", "kind": 1024, @@ -121443,13 +130282,13 @@ }, "type": { "type": "reference", - "target": 5299, + "target": 5403, "name": "ProductStatus", "package": "@medusajs/types" } }, { - "id": 5203, + "id": 5305, "name": "thumbnail", "variant": "declaration", "kind": 1024, @@ -121479,7 +130318,7 @@ } }, { - "id": 5204, + "id": 5306, "name": "width", "variant": "declaration", "kind": 1024, @@ -121509,7 +130348,7 @@ } }, { - "id": 5205, + "id": 5307, "name": "weight", "variant": "declaration", "kind": 1024, @@ -121539,7 +130378,7 @@ } }, { - "id": 5206, + "id": 5308, "name": "length", "variant": "declaration", "kind": 1024, @@ -121569,7 +130408,7 @@ } }, { - "id": 5207, + "id": 5309, "name": "height", "variant": "declaration", "kind": 1024, @@ -121599,7 +130438,7 @@ } }, { - "id": 5208, + "id": 5310, "name": "origin_country", "variant": "declaration", "kind": 1024, @@ -121629,7 +130468,7 @@ } }, { - "id": 5209, + "id": 5311, "name": "hs_code", "variant": "declaration", "kind": 1024, @@ -121659,7 +130498,7 @@ } }, { - "id": 5210, + "id": 5312, "name": "mid_code", "variant": "declaration", "kind": 1024, @@ -121689,7 +130528,7 @@ } }, { - "id": 5211, + "id": 5313, "name": "material", "variant": "declaration", "kind": 1024, @@ -121719,11 +130558,13 @@ } }, { - "id": 5212, + "id": 5314, "name": "collection", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { @@ -121736,14 +130577,53 @@ ] }, "type": { - "type": "reference", - "target": 5304, - "name": "ProductCollectionDTO", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 5408, + "name": "ProductCollectionDTO", + "package": "@medusajs/types" + } + ] } }, { - "id": 5213, + "id": 5315, + "name": "collection_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated product collection id." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5316, "name": "categories", "variant": "declaration", "kind": 1024, @@ -121772,7 +130652,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 5311, + "target": 5417, "name": "ProductCategoryDTO", "package": "@medusajs/types" } @@ -121781,11 +130661,13 @@ } }, { - "id": 5214, + "id": 5317, "name": "type", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { @@ -121798,17 +130680,53 @@ ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 5323, - "name": "ProductTypeDTO", - "package": "@medusajs/types" - } + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 5432, + "name": "ProductTypeDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 5318, + "name": "type_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated product type id." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } }, { - "id": 5215, + "id": 5319, "name": "tags", "variant": "declaration", "kind": 1024, @@ -121828,14 +130746,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 5328, + "target": 5439, "name": "ProductTagDTO", "package": "@medusajs/types" } } }, { - "id": 5216, + "id": 5320, "name": "variants", "variant": "declaration", "kind": 1024, @@ -121855,14 +130773,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 5026, + "target": 5121, "name": "ProductVariantDTO", "package": "@medusajs/types" } } }, { - "id": 5217, + "id": 5321, "name": "options", "variant": "declaration", "kind": 1024, @@ -121882,14 +130800,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 5292, + "target": 5393, "name": "ProductOptionDTO", "package": "@medusajs/types" } } }, { - "id": 5218, + "id": 5322, "name": "images", "variant": "declaration", "kind": 1024, @@ -121909,14 +130827,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 5333, + "target": 5444, "name": "ProductImageDTO", "package": "@medusajs/types" } } }, { - "id": 5219, + "id": 5323, "name": "discountable", "variant": "declaration", "kind": 1024, @@ -121937,7 +130855,7 @@ } }, { - "id": 5220, + "id": 5324, "name": "external_id", "variant": "declaration", "kind": 1024, @@ -121967,7 +130885,7 @@ } }, { - "id": 5221, + "id": 5325, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -122002,7 +130920,7 @@ } }, { - "id": 5222, + "id": 5326, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -122037,7 +130955,7 @@ } }, { - "id": 5223, + "id": 5327, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -122072,7 +130990,7 @@ } }, { - "id": 5224, + "id": 5328, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -122112,41 +131030,43 @@ { "title": "Properties", "children": [ - 5196, - 5197, - 5198, - 5199, - 5200, - 5201, - 5202, - 5203, - 5204, - 5205, - 5206, - 5207, - 5208, - 5209, - 5210, - 5211, - 5212, - 5213, - 5214, - 5215, - 5216, - 5217, - 5218, - 5219, - 5220, - 5221, - 5222, - 5223, - 5224 + 5298, + 5299, + 5300, + 5301, + 5302, + 5303, + 5304, + 5305, + 5306, + 5307, + 5308, + 5309, + 5310, + 5311, + 5312, + 5313, + 5314, + 5315, + 5316, + 5317, + 5318, + 5319, + 5320, + 5321, + 5322, + 5323, + 5324, + 5325, + 5326, + 5327, + 5328 ] } ] }, { - "id": 5026, + "id": 5121, "name": "ProductVariantDTO", "variant": "declaration", "kind": 256, @@ -122161,7 +131081,7 @@ }, "children": [ { - "id": 5027, + "id": 5122, "name": "id", "variant": "declaration", "kind": 1024, @@ -122180,7 +131100,7 @@ } }, { - "id": 5028, + "id": 5123, "name": "title", "variant": "declaration", "kind": 1024, @@ -122199,7 +131119,7 @@ } }, { - "id": 5029, + "id": 5124, "name": "sku", "variant": "declaration", "kind": 1024, @@ -122229,7 +131149,7 @@ } }, { - "id": 5030, + "id": 5125, "name": "barcode", "variant": "declaration", "kind": 1024, @@ -122259,7 +131179,7 @@ } }, { - "id": 5031, + "id": 5126, "name": "ean", "variant": "declaration", "kind": 1024, @@ -122289,7 +131209,7 @@ } }, { - "id": 5032, + "id": 5127, "name": "upc", "variant": "declaration", "kind": 1024, @@ -122319,7 +131239,7 @@ } }, { - "id": 5033, + "id": 5128, "name": "inventory_quantity", "variant": "declaration", "kind": 1024, @@ -122338,7 +131258,7 @@ } }, { - "id": 5034, + "id": 5129, "name": "allow_backorder", "variant": "declaration", "kind": 1024, @@ -122359,7 +131279,7 @@ } }, { - "id": 5035, + "id": 5130, "name": "manage_inventory", "variant": "declaration", "kind": 1024, @@ -122380,7 +131300,7 @@ } }, { - "id": 5036, + "id": 5131, "name": "hs_code", "variant": "declaration", "kind": 1024, @@ -122410,7 +131330,7 @@ } }, { - "id": 5037, + "id": 5132, "name": "origin_country", "variant": "declaration", "kind": 1024, @@ -122440,7 +131360,7 @@ } }, { - "id": 5038, + "id": 5133, "name": "mid_code", "variant": "declaration", "kind": 1024, @@ -122470,7 +131390,7 @@ } }, { - "id": 5039, + "id": 5134, "name": "material", "variant": "declaration", "kind": 1024, @@ -122500,7 +131420,7 @@ } }, { - "id": 5040, + "id": 5135, "name": "weight", "variant": "declaration", "kind": 1024, @@ -122530,7 +131450,7 @@ } }, { - "id": 5041, + "id": 5136, "name": "length", "variant": "declaration", "kind": 1024, @@ -122560,7 +131480,7 @@ } }, { - "id": 5042, + "id": 5137, "name": "height", "variant": "declaration", "kind": 1024, @@ -122590,7 +131510,7 @@ } }, { - "id": 5043, + "id": 5138, "name": "width", "variant": "declaration", "kind": 1024, @@ -122620,7 +131540,7 @@ } }, { - "id": 5044, + "id": 5139, "name": "options", "variant": "declaration", "kind": 1024, @@ -122640,14 +131560,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 5188, + "target": 5288, "name": "ProductOptionValueDTO", "package": "@medusajs/types" } } }, { - "id": 5045, + "id": 5140, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -122692,11 +131612,13 @@ } }, { - "id": 5046, + "id": 5141, "name": "product", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { @@ -122709,33 +131631,53 @@ ] }, "type": { - "type": "reference", - "target": 5195, - "name": "ProductDTO", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 5297, + "name": "ProductDTO", + "package": "@medusajs/types" + } + ] } }, { - "id": 5047, + "id": 5142, "name": "product_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the associated product." + "text": "The associated product id." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } }, { - "id": 5048, + "id": 5143, "name": "variant_rank", "variant": "declaration", "kind": 1024, @@ -122765,7 +131707,7 @@ } }, { - "id": 5049, + "id": 5144, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -122798,7 +131740,7 @@ } }, { - "id": 5050, + "id": 5145, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -122831,7 +131773,7 @@ } }, { - "id": 5051, + "id": 5146, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -122868,37 +131810,37 @@ { "title": "Properties", "children": [ - 5027, - 5028, - 5029, - 5030, - 5031, - 5032, - 5033, - 5034, - 5035, - 5036, - 5037, - 5038, - 5039, - 5040, - 5041, - 5042, - 5043, - 5044, - 5045, - 5046, - 5047, - 5048, - 5049, - 5050, - 5051 + 5122, + 5123, + 5124, + 5125, + 5126, + 5127, + 5128, + 5129, + 5130, + 5131, + 5132, + 5133, + 5134, + 5135, + 5136, + 5137, + 5138, + 5139, + 5140, + 5141, + 5142, + 5143, + 5144, + 5145, + 5146 ] } ] }, { - "id": 5311, + "id": 5417, "name": "ProductCategoryDTO", "variant": "declaration", "kind": 256, @@ -122913,7 +131855,7 @@ }, "children": [ { - "id": 5312, + "id": 5418, "name": "id", "variant": "declaration", "kind": 1024, @@ -122932,7 +131874,7 @@ } }, { - "id": 5313, + "id": 5419, "name": "name", "variant": "declaration", "kind": 1024, @@ -122951,13 +131893,11 @@ } }, { - "id": 5314, + "id": 5420, "name": "description", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { @@ -122972,13 +131912,11 @@ } }, { - "id": 5315, + "id": 5421, "name": "handle", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { @@ -122993,13 +131931,11 @@ } }, { - "id": 5316, + "id": 5422, "name": "is_active", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { @@ -123014,13 +131950,11 @@ } }, { - "id": 5317, + "id": 5423, "name": "is_internal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { @@ -123035,10 +131969,29 @@ } }, { - "id": 5318, + "id": 5424, "name": "rank", "variant": "declaration", "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ranking of the product category among sibling categories." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5425, + "name": "metadata", + "variant": "declaration", + "kind": 1024, "flags": { "isOptional": true }, @@ -123051,12 +132004,36 @@ ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] } }, { - "id": 5319, + "id": 5426, "name": "parent_category", "variant": "declaration", "kind": 1024, @@ -123075,14 +132052,53 @@ ] }, "type": { - "type": "reference", - "target": 5311, - "name": "ProductCategoryDTO", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 5417, + "name": "ProductCategoryDTO", + "package": "@medusajs/types" + } + ] } }, { - "id": 5320, + "id": 5427, + "name": "parent_category_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated parent category id." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5428, "name": "category_children", "variant": "declaration", "kind": 1024, @@ -123102,14 +132118,41 @@ "type": "array", "elementType": { "type": "reference", - "target": 5311, + "target": 5417, "name": "ProductCategoryDTO", "package": "@medusajs/types" } } }, { - "id": 5321, + "id": 5429, + "name": "products", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated products." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5297, + "name": "ProductDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5430, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -123142,7 +132185,7 @@ } }, { - "id": 5322, + "id": 5431, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -123179,23 +132222,26 @@ { "title": "Properties", "children": [ - 5312, - 5313, - 5314, - 5315, - 5316, - 5317, - 5318, - 5319, - 5320, - 5321, - 5322 + 5418, + 5419, + 5420, + 5421, + 5422, + 5423, + 5424, + 5425, + 5426, + 5427, + 5428, + 5429, + 5430, + 5431 ] } ] }, { - "id": 5328, + "id": 5439, "name": "ProductTagDTO", "variant": "declaration", "kind": 256, @@ -123210,7 +132256,7 @@ }, "children": [ { - "id": 5329, + "id": 5440, "name": "id", "variant": "declaration", "kind": 1024, @@ -123229,7 +132275,7 @@ } }, { - "id": 5330, + "id": 5441, "name": "value", "variant": "declaration", "kind": 1024, @@ -123248,7 +132294,7 @@ } }, { - "id": 5331, + "id": 5442, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -123293,7 +132339,7 @@ } }, { - "id": 5332, + "id": 5443, "name": "products", "variant": "declaration", "kind": 1024, @@ -123315,7 +132361,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 5195, + "target": 5297, "name": "ProductDTO", "package": "@medusajs/types" } @@ -123326,16 +132372,16 @@ { "title": "Properties", "children": [ - 5329, - 5330, - 5331, - 5332 + 5440, + 5441, + 5442, + 5443 ] } ] }, { - "id": 5304, + "id": 5408, "name": "ProductCollectionDTO", "variant": "declaration", "kind": 256, @@ -123350,7 +132396,7 @@ }, "children": [ { - "id": 5305, + "id": 5409, "name": "id", "variant": "declaration", "kind": 1024, @@ -123369,7 +132415,7 @@ } }, { - "id": 5306, + "id": 5410, "name": "title", "variant": "declaration", "kind": 1024, @@ -123388,7 +132434,7 @@ } }, { - "id": 5307, + "id": 5411, "name": "handle", "variant": "declaration", "kind": 1024, @@ -123407,7 +132453,7 @@ } }, { - "id": 5308, + "id": 5412, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -123452,7 +132498,73 @@ } }, { - "id": 5309, + "id": 5413, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the product collection was created." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5414, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the product collection was updated." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5415, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -123487,7 +132599,7 @@ } }, { - "id": 5310, + "id": 5416, "name": "products", "variant": "declaration", "kind": 1024, @@ -123509,7 +132621,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 5195, + "target": 5297, "name": "ProductDTO", "package": "@medusajs/types" } @@ -123520,18 +132632,20 @@ { "title": "Properties", "children": [ - 5305, - 5306, - 5307, - 5308, - 5309, - 5310 + 5409, + 5410, + 5411, + 5412, + 5413, + 5414, + 5415, + 5416 ] } ] }, { - "id": 5323, + "id": 5432, "name": "ProductTypeDTO", "variant": "declaration", "kind": 256, @@ -123546,7 +132660,7 @@ }, "children": [ { - "id": 5324, + "id": 5433, "name": "id", "variant": "declaration", "kind": 1024, @@ -123565,7 +132679,7 @@ } }, { - "id": 5325, + "id": 5434, "name": "value", "variant": "declaration", "kind": 1024, @@ -123584,7 +132698,7 @@ } }, { - "id": 5326, + "id": 5435, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -123629,7 +132743,73 @@ } }, { - "id": 5327, + "id": 5436, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the product type was created." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5437, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the product type was updated." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5438, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -123668,16 +132848,18 @@ { "title": "Properties", "children": [ - 5324, - 5325, - 5326, - 5327 + 5433, + 5434, + 5435, + 5436, + 5437, + 5438 ] } ] }, { - "id": 5292, + "id": 5393, "name": "ProductOptionDTO", "variant": "declaration", "kind": 256, @@ -123692,7 +132874,7 @@ }, "children": [ { - "id": 5293, + "id": 5394, "name": "id", "variant": "declaration", "kind": 1024, @@ -123711,7 +132893,7 @@ } }, { - "id": 5294, + "id": 5395, "name": "title", "variant": "declaration", "kind": 1024, @@ -123730,11 +132912,13 @@ } }, { - "id": 5295, + "id": 5396, "name": "product", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { @@ -123747,14 +132931,53 @@ ] }, "type": { - "type": "reference", - "target": 5195, - "name": "ProductDTO", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 5297, + "name": "ProductDTO", + "package": "@medusajs/types" + } + ] } }, { - "id": 5296, + "id": 5397, + "name": "product_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated product id." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5398, "name": "values", "variant": "declaration", "kind": 1024, @@ -123774,14 +132997,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 5188, + "target": 5288, "name": "ProductOptionValueDTO", "package": "@medusajs/types" } } }, { - "id": 5297, + "id": 5399, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -123826,7 +133049,73 @@ } }, { - "id": 5298, + "id": 5400, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the product option was created." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5401, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the product option was updated." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5402, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -123865,18 +133154,21 @@ { "title": "Properties", "children": [ - 5293, - 5294, - 5295, - 5296, - 5297, - 5298 + 5394, + 5395, + 5396, + 5397, + 5398, + 5399, + 5400, + 5401, + 5402 ] } ] }, { - "id": 5333, + "id": 5444, "name": "ProductImageDTO", "variant": "declaration", "kind": 256, @@ -123891,7 +133183,7 @@ }, "children": [ { - "id": 5334, + "id": 5445, "name": "id", "variant": "declaration", "kind": 1024, @@ -123910,7 +133202,7 @@ } }, { - "id": 5335, + "id": 5446, "name": "url", "variant": "declaration", "kind": 1024, @@ -123929,7 +133221,7 @@ } }, { - "id": 5336, + "id": 5447, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -123974,7 +133266,73 @@ } }, { - "id": 5337, + "id": 5448, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the product image was created." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5449, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the product image was updated." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5450, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -124013,16 +133371,18 @@ { "title": "Properties", "children": [ - 5334, - 5335, - 5336, - 5337 + 5445, + 5446, + 5447, + 5448, + 5449, + 5450 ] } ] }, { - "id": 5188, + "id": 5288, "name": "ProductOptionValueDTO", "variant": "declaration", "kind": 256, @@ -124037,7 +133397,7 @@ }, "children": [ { - "id": 5189, + "id": 5289, "name": "id", "variant": "declaration", "kind": 1024, @@ -124056,7 +133416,7 @@ } }, { - "id": 5190, + "id": 5290, "name": "value", "variant": "declaration", "kind": 1024, @@ -124075,11 +133435,13 @@ } }, { - "id": 5191, + "id": 5291, "name": "option", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { @@ -124097,43 +133459,53 @@ ] }, "type": { - "type": "reference", - "target": 5292, - "name": "ProductOptionDTO", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 5393, + "name": "ProductOptionDTO", + "package": "@medusajs/types" + } + ] } }, { - "id": 5192, - "name": "variant", + "id": 5292, + "name": "option_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The associated product variant. It may only be available if the " - }, + "text": "The associated product option id." + } + ] + }, + "type": { + "type": "union", + "types": [ { - "kind": "code", - "text": "`variant`" + "type": "literal", + "value": null }, { - "kind": "text", - "text": " relation is expanded." + "type": "intrinsic", + "name": "string" } ] - }, - "type": { - "type": "reference", - "target": 5026, - "name": "ProductVariantDTO", - "package": "@medusajs/types" } }, { - "id": 5193, + "id": 5293, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -124178,7 +133550,73 @@ } }, { - "id": 5194, + "id": 5294, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the product option value was created." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5295, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the product option value was updated." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5296, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -124217,18 +133655,20 @@ { "title": "Properties", "children": [ - 5189, - 5190, - 5191, - 5192, - 5193, - 5194 + 5289, + 5290, + 5291, + 5292, + 5293, + 5294, + 5295, + 5296 ] } ] }, { - "id": 5071, + "id": 5166, "name": "StockLocationAddressDTO", "variant": "declaration", "kind": 2097152, @@ -124247,14 +133687,14 @@ "type": { "type": "reflection", "declaration": { - "id": 5072, + "id": 5167, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5073, + "id": 5168, "name": "id", "variant": "declaration", "kind": 1024, @@ -124265,7 +133705,7 @@ "summary": [ { "kind": "text", - "text": "The stock location address' ID" + "text": "The ID of the stock location address." } ] }, @@ -124275,7 +133715,7 @@ } }, { - "id": 5074, + "id": 5169, "name": "address_1", "variant": "declaration", "kind": 1024, @@ -124284,7 +133724,7 @@ "summary": [ { "kind": "text", - "text": "Stock location address" + "text": "The address 1 of the stock location address." } ] }, @@ -124294,7 +133734,7 @@ } }, { - "id": 5075, + "id": 5170, "name": "address_2", "variant": "declaration", "kind": 1024, @@ -124305,7 +133745,7 @@ "summary": [ { "kind": "text", - "text": "Stock location address' complement" + "text": "The address 2 of the stock location address." } ] }, @@ -124324,7 +133764,7 @@ } }, { - "id": 5076, + "id": 5171, "name": "company", "variant": "declaration", "kind": 1024, @@ -124335,7 +133775,7 @@ "summary": [ { "kind": "text", - "text": "Stock location company' name" + "text": "The company of the stock location address." } ] }, @@ -124354,7 +133794,7 @@ } }, { - "id": 5077, + "id": 5172, "name": "country_code", "variant": "declaration", "kind": 1024, @@ -124363,7 +133803,7 @@ "summary": [ { "kind": "text", - "text": "Stock location address' country" + "text": "The country code of the stock location address." } ] }, @@ -124373,7 +133813,7 @@ } }, { - "id": 5078, + "id": 5173, "name": "city", "variant": "declaration", "kind": 1024, @@ -124384,7 +133824,7 @@ "summary": [ { "kind": "text", - "text": "Stock location address' city" + "text": "The city of the stock location address." } ] }, @@ -124403,7 +133843,7 @@ } }, { - "id": 5079, + "id": 5174, "name": "phone", "variant": "declaration", "kind": 1024, @@ -124414,7 +133854,7 @@ "summary": [ { "kind": "text", - "text": "Stock location address' phone number" + "text": "The phone of the stock location address." } ] }, @@ -124433,7 +133873,7 @@ } }, { - "id": 5080, + "id": 5175, "name": "postal_code", "variant": "declaration", "kind": 1024, @@ -124444,7 +133884,7 @@ "summary": [ { "kind": "text", - "text": "Stock location address' postal code" + "text": "The postal code of the stock location address." } ] }, @@ -124463,7 +133903,7 @@ } }, { - "id": 5081, + "id": 5176, "name": "province", "variant": "declaration", "kind": 1024, @@ -124474,7 +133914,7 @@ "summary": [ { "kind": "text", - "text": "Stock location address' province" + "text": "The province of the stock location address." } ] }, @@ -124493,7 +133933,7 @@ } }, { - "id": 5082, + "id": 5177, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -124504,7 +133944,7 @@ "summary": [ { "kind": "text", - "text": "An optional key-value map with additional details" + "text": "Holds custom data in key-value pairs." } ] }, @@ -124538,7 +133978,7 @@ } }, { - "id": 5083, + "id": 5178, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -124547,7 +133987,7 @@ "summary": [ { "kind": "text", - "text": "The date with timezone at which the resource was created." + "text": "The creation date of the stock location address." } ] }, @@ -124571,7 +134011,7 @@ } }, { - "id": 5084, + "id": 5179, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -124580,7 +134020,7 @@ "summary": [ { "kind": "text", - "text": "The date with timezone at which the resource was updated." + "text": "The update date of the stock location address." } ] }, @@ -124604,7 +134044,7 @@ } }, { - "id": 5085, + "id": 5180, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -124613,7 +134053,7 @@ "summary": [ { "kind": "text", - "text": "The date with timezone at which the resource was deleted." + "text": "The deletion date of the stock location address." } ] }, @@ -124645,19 +134085,19 @@ { "title": "Properties", "children": [ - 5073, - 5074, - 5075, - 5076, - 5077, - 5078, - 5079, - 5080, - 5081, - 5082, - 5083, - 5084, - 5085 + 5168, + 5169, + 5170, + 5171, + 5172, + 5173, + 5174, + 5175, + 5176, + 5177, + 5178, + 5179, + 5180 ] } ] @@ -124665,7 +134105,7 @@ } }, { - "id": 4773, + "id": 4880, "name": "StockLocationDTO", "variant": "declaration", "kind": 2097152, @@ -124684,14 +134124,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4774, + "id": 4881, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4775, + "id": 4882, "name": "id", "variant": "declaration", "kind": 1024, @@ -124700,7 +134140,7 @@ "summary": [ { "kind": "text", - "text": "The stock location's ID" + "text": "The ID of the stock location." } ] }, @@ -124710,7 +134150,7 @@ } }, { - "id": 4776, + "id": 4883, "name": "name", "variant": "declaration", "kind": 1024, @@ -124719,7 +134159,7 @@ "summary": [ { "kind": "text", - "text": "The name of the stock location" + "text": "The name of the stock location." } ] }, @@ -124729,7 +134169,7 @@ } }, { - "id": 4777, + "id": 4884, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -124738,7 +134178,7 @@ "summary": [ { "kind": "text", - "text": "An optional key-value map with additional details" + "text": "Holds custom data in key-value pairs." } ] }, @@ -124772,7 +134212,7 @@ } }, { - "id": 4778, + "id": 4885, "name": "address_id", "variant": "declaration", "kind": 1024, @@ -124781,7 +134221,7 @@ "summary": [ { "kind": "text", - "text": "Stock location address' ID" + "text": "The associated address's ID." } ] }, @@ -124791,7 +134231,7 @@ } }, { - "id": 4779, + "id": 4886, "name": "address", "variant": "declaration", "kind": 1024, @@ -124802,19 +134242,43 @@ "summary": [ { "kind": "text", - "text": "The Address of the Stock Location" + "text": "The address of the stock location." } ] }, "type": { "type": "reference", - "target": 5071, + "target": 5166, "name": "StockLocationAddressDTO", "package": "@medusajs/types" } }, { - "id": 4780, + "id": 4887, + "name": "fulfillment_sets", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Fulfillment sets for the location" + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5181, + "name": "FulfillmentSetDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4888, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -124823,7 +134287,7 @@ "summary": [ { "kind": "text", - "text": "The date with timezone at which the resource was created." + "text": "The creation date of the stock location." } ] }, @@ -124847,7 +134311,7 @@ } }, { - "id": 4781, + "id": 4889, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -124856,7 +134320,7 @@ "summary": [ { "kind": "text", - "text": "The date with timezone at which the resource was updated." + "text": "The update date of the stock location." } ] }, @@ -124880,7 +134344,7 @@ } }, { - "id": 4782, + "id": 4890, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -124889,7 +134353,7 @@ "summary": [ { "kind": "text", - "text": "The date with timezone at which the resource was deleted." + "text": "The deletion date of the stock location." } ] }, @@ -124921,14 +134385,15 @@ { "title": "Properties", "children": [ - 4775, - 4776, - 4777, - 4778, - 4779, - 4780, - 4781, - 4782 + 4882, + 4883, + 4884, + 4885, + 4886, + 4887, + 4888, + 4889, + 4890 ] } ] @@ -124936,7 +134401,7 @@ } }, { - "id": 4788, + "id": 4897, "name": "StockLocationExpandedDTO", "variant": "declaration", "kind": 2097152, @@ -124952,21 +134417,21 @@ "types": [ { "type": "reference", - "target": 4773, + "target": 4880, "name": "StockLocationDTO", "package": "@medusajs/types" }, { "type": "reflection", "declaration": { - "id": 4789, + "id": 4898, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4790, + "id": 4899, "name": "sales_channels", "variant": "declaration", "kind": 1024, @@ -124977,7 +134442,7 @@ "summary": [ { "kind": "text", - "text": "The associated sales channels." + "text": "The list of sales channels." } ] }, @@ -124994,7 +134459,7 @@ { "title": "Properties", "children": [ - 4790 + 4899 ] } ] @@ -125004,28 +134469,28 @@ } }, { - "id": 4930, + "id": 5042, "name": "ITransactionBaseService", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { - "id": 4931, + "id": 5043, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4932, + "id": 5044, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4933, + "id": 5045, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -125055,27 +134520,67 @@ { "title": "Methods", "children": [ - 4931 + 5043 ] } ], "extendedBy": [ { "type": "reference", - "target": 3599, + "target": 3653, "name": "IPriceSelectionStrategy" } ] }, { - "id": 4596, + "id": 4945, + "name": "TransactionHandlerType", + "variant": "declaration", + "kind": 8, + "flags": {}, + "children": [ + { + "id": 4946, + "name": "INVOKE", + "variant": "declaration", + "kind": 16, + "flags": {}, + "type": { + "type": "literal", + "value": "invoke" + } + }, + { + "id": 4947, + "name": "COMPENSATE", + "variant": "declaration", + "kind": 16, + "flags": {}, + "type": { + "type": "literal", + "value": "compensate" + } + } + ], + "groups": [ + { + "title": "Enumeration Members", + "children": [ + 4946, + 4947 + ] + } + ] + }, + { + "id": 4703, "name": "PriceListStatus", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 4597, + "id": 4704, "name": "ACTIVE", "variant": "declaration", "kind": 16, @@ -125086,7 +134591,7 @@ } }, { - "id": 4598, + "id": 4705, "name": "DRAFT", "variant": "declaration", "kind": 16, @@ -125101,21 +134606,21 @@ { "title": "Enumeration Members", "children": [ - 4597, - 4598 + 4704, + 4705 ] } ] }, { - "id": 4599, + "id": 4706, "name": "PriceListType", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 4600, + "id": 4707, "name": "SALE", "variant": "declaration", "kind": 16, @@ -125126,7 +134631,7 @@ } }, { - "id": 4601, + "id": 4708, "name": "OVERRIDE", "variant": "declaration", "kind": 16, @@ -125141,8 +134646,8 @@ { "title": "Enumeration Members", "children": [ - 4600, - 4601 + 4707, + 4708 ] } ] @@ -125152,36 +134657,37 @@ { "title": "Namespaces", "children": [ - 4929 + 5041 ] }, { "title": "Enumerations", "children": [ - 4940, - 3851, - 4114, - 4117, - 4822, - 4299, - 5262, - 5299, - 4596, - 4599 + 5052, + 3904, + 4171, + 4174, + 4931, + 4402, + 5363, + 5403, + 4945, + 4703, + 4706 ] }, { "title": "Enumeration Members", "children": [ - 4939, - 5261, - 5290 + 5051, + 5362, + 5391 ] }, { "title": "Classes", "children": [ - 4881, + 4993, 5, 10, 21, @@ -125192,398 +134698,416 @@ 82, 88, 93, - 105, - 109, - 121, - 130, - 142, - 146, - 151, - 155, - 160, - 173, - 185, - 194, - 4407, - 203, - 365, - 371, - 230, - 239, - 244, - 257, - 265, - 274, - 279, + 106, + 110, + 122, + 131, + 143, + 147, + 152, + 156, + 161, + 175, + 187, + 196, + 4513, + 209, + 374, + 380, + 236, + 245, + 250, + 258, + 271, + 280, 285, - 376, - 381, - 290, - 300, - 295, - 305, - 317, - 325, - 330, - 342, - 350, - 360, - 401, - 4436, - 4432, - 4424, - 415, - 423, - 436, - 4442, - 447, + 291, + 385, + 390, + 296, + 306, + 301, + 311, + 326, + 334, + 339, + 347, + 359, + 369, + 410, + 4542, + 4538, + 4530, + 424, + 432, + 452, + 4549, 463, - 471, - 477, - 510, + 479, + 487, + 494, 527, - 532, - 538, - 543, - 548, - 569, - 575, - 591, - 596, - 601, - 613, + 544, + 549, + 555, + 560, + 565, + 587, + 593, + 609, + 614, 619, - 624, - 636, + 631, + 637, 642, - 648, + 654, 660, - 672, - 688, - 694, - 700, - 705, - 715, + 666, + 678, + 690, + 706, + 712, + 718, 723, - 719, + 734, + 742, 738, - 744, - 749, - 754, - 770, - 775, - 765, - 780, - 785, - 790, - 795, - 818, - 823, - 800, - 4492, - 4502, - 4483, - 4497, - 813, - 835, - 4509, + 757, + 763, + 768, + 773, + 789, + 794, + 784, + 799, + 804, + 809, + 814, + 837, 842, - 847, - 853, - 874, - 880, - 858, - 4514, - 4521, - 4531, - 4526, - 869, - 885, - 891, - 896, - 902, - 907, - 912, - 936, - 941, - 948, - 953, - 4562, - 963, - 968, - 4576, - 4567, - 5052, - 5057, - 975, - 980, - 4583, - 4588, - 993, - 1008, - 1013, - 1025, - 1030, - 1084, - 4602, - 1089, - 1101, - 1105, - 1109, - 1131, - 4606, - 1148, + 4599, + 4609, + 4590, + 4604, + 819, + 832, + 854, + 4616, + 861, + 866, + 872, + 893, + 899, + 4621, + 4628, + 4638, + 4633, + 877, + 888, + 904, + 910, + 915, + 921, + 926, + 931, + 955, + 960, + 967, + 4669, + 972, + 982, + 987, + 4683, + 4674, + 5147, + 5152, + 994, + 4690, + 4695, + 999, + 1012, + 1027, + 1032, + 1044, + 1049, + 1074, + 4709, + 1079, + 1091, + 1095, + 1099, + 1121, + 4713, + 1138, + 1211, + 1215, + 1180, + 1190, 1220, 1224, - 1189, - 1199, - 1229, - 1233, - 1170, - 1175, - 1204, - 1215, - 1243, - 1248, - 1265, - 1350, - 5062, - 4643, - 4647, - 1354, - 4677, - 1382, - 1404, - 1409, - 1435, + 1160, + 1165, + 1195, + 1206, + 1234, + 1239, + 1256, + 1342, + 5157, + 4750, + 4754, + 1346, + 4784, + 1374, + 1396, + 1401, + 1427, 1442, 1447, - 5066, - 4703, + 5161, + 4810, 1451, - 4735, + 4842, 1477, 1509, 1513, 1517, 1521, 1525, - 1534, - 1556, + 1538, 1560, 1564, 1568, - 1547, - 1552, - 1580, - 1593, - 1669, - 1678, - 1693, - 1617, - 1625, - 1645, - 4744, - 1650, - 1708, - 1744, - 1712, - 1718, - 1722, - 1748, - 1738, - 4762, - 1761, - 1776, - 4767, - 1794, - 1813, - 1819, - 4791, - 1836, - 1843, - 1848, - 1853, - 4802, - 1867, - 1874, - 1892, - 1910, - 1967, - 1971, - 1976, - 1980, - 1985, - 1989, - 1994, - 2004, + 1572, + 1612, + 1551, + 1556, + 1584, + 1597, + 1630, + 1639, + 1656, + 1672, + 1680, + 1700, + 4864, + 1705, + 1719, + 1755, + 1723, + 1729, + 1733, + 1759, + 1749, + 4869, + 1772, + 1787, + 4874, + 1805, + 1824, + 1830, + 4900, + 1847, + 1854, + 1859, + 1864, + 4911, + 1878, + 1885, + 1903, + 1921, + 1983, + 1987, + 1992, + 1996, + 2001, + 2005, + 2010, + 2020, + 1951, 1935, - 1924, - 1940, - 1944, - 1949, - 1953, - 1958, - 1962, - 2009, - 2019, - 2031, - 2036, - 2040, - 2070, - 2078, - 2066, - 2060, - 2096, - 2127, + 1956, + 1960, + 1965, + 1969, + 1974, + 1978, + 2025, + 2035, + 2047, + 2052, + 2056, + 2086, + 2094, + 2082, + 2076, 2112, - 2159, - 2179, - 2184, + 2146, + 2128, + 2173, + 2178, 2189, - 2197, - 2203, - 4836, - 4840, - 2207, - 2220, - 2225, - 2237, - 2264, - 2268, - 2276, - 2283, - 2310, - 2304, - 2314, + 2194, + 2211, + 2231, + 2236, + 2241, + 2249, + 2255, + 4948, + 4952, + 2259, + 2272, + 2277, + 2289, + 2316, + 2320, 2328, - 2348, - 2359, - 2363, - 2367, - 2375, - 2386, - 2390, - 2395, - 2401, - 2405, - 2422, + 2335, + 2362, + 2356, + 2366, + 2380, + 2400, + 2411, + 2415, + 2419, 2427, - 2445, - 2463, - 2521, - 2532, - 2557, - 2572, - 2577, - 4859, - 4852, - 2598, + 2438, + 2442, + 2447, + 2453, + 2457, + 2474, + 2479, + 2498, + 2516, + 2574, + 2585, 2610, - 4864, - 4871, - 2621, - 2636, - 2645, - 2794, - 2870, - 2966, - 3103, - 3237, - 3352, - 3508, - 3613, - 3694, - 3763, - 3813, - 3876, - 3961, - 3964, - 3971, - 3981, - 3988, - 4002, - 4016, - 4021, - 4392, - 4388, - 4401, - 4419, - 4411, - 4536, - 4555, - 4120, - 4133, - 4143, - 4844, - 4827, - 4610, - 4618, - 4726, - 4669, - 4682, - 4635, - 4639, - 4630, - 4625, - 4740 + 2625, + 2630, + 4971, + 4964, + 2652, + 2664, + 4976, + 4983, + 2675, + 2690, + 2699, + 2848, + 2924, + 3020, + 3157, + 3291, + 3406, + 3562, + 3667, + 3748, + 3817, + 3867, + 3929, + 4017, + 4020, + 4027, + 4037, + 4044, + 4058, + 4072, + 4077, + 4495, + 4491, + 4504, + 4525, + 4517, + 4643, + 4662, + 4177, + 4190, + 4200, + 4956, + 4936, + 4717, + 4725, + 4833, + 4776, + 4789, + 4742, + 4746, + 4737, + 4732, + 4847 ] }, { "title": "Interfaces", "children": [ - 2750, - 2864, - 2916, - 3026, - 3191, - 3195, - 3295, - 3304, - 3309, - 3313, - 3426, - 3599, - 3666, - 3681, - 3688, - 3757, - 3900, - 3930, - 3947, - 3953, - 3957, - 4195, - 5019, - 5249, - 5256, - 5144, - 4989, - 4819, - 4917, - 4922, - 4911, - 4913, - 5236, - 5126, - 5349, - 5195, - 5026, - 5311, - 5328, - 5304, - 5323, - 5292, - 5333, - 5188, - 4930 + 2804, + 2918, + 2970, + 3080, + 3245, + 3249, + 3349, + 3358, + 3363, + 3367, + 3480, + 3653, + 3720, + 3735, + 3742, + 3811, + 3954, + 3984, + 4003, + 4009, + 4013, + 4252, + 4278, + 5114, + 5091, + 4585, + 5350, + 5357, + 5230, + 5074, + 4928, + 5029, + 5034, + 5023, + 5025, + 5610, + 5627, + 5640, + 5504, + 5181, + 5534, + 5451, + 5329, + 5522, + 5512, + 5462, + 5495, + 5553, + 5297, + 5121, + 5417, + 5439, + 5408, + 5432, + 5393, + 5444, + 5288, + 5042 ] }, { "title": "Type Aliases", "children": [ - 4978, - 4876, + 5063, + 4988, 1, 4, 15, @@ -125594,244 +135118,245 @@ 69, 70, 75, - 115, - 118, - 134, - 137, + 116, + 119, + 135, 138, - 178, - 181, - 217, - 220, + 139, + 180, + 183, 223, - 224, - 227, - 391, - 394, - 397, - 398, - 456, - 459, - 460, - 488, - 491, - 492, - 495, - 501, - 504, - 609, - 610, - 629, - 632, - 633, - 654, - 657, - 676, - 679, - 682, - 683, - 727, - 730, - 1000, - 1003, + 226, + 229, + 230, + 233, + 400, + 403, + 406, + 407, + 472, + 475, + 476, + 505, + 508, + 509, + 512, + 518, + 521, + 627, + 628, + 647, + 650, + 651, + 672, + 675, + 694, + 697, + 700, + 701, + 746, + 749, 1019, 1022, + 1038, + 1041, + 1057, + 1060, + 1065, + 1066, 1067, - 1070, - 1075, - 1076, - 1077, - 1078, - 1081, - 1163, - 1166, - 1167, - 1240, - 1262, - 1316, - 1322, + 1068, + 1071, + 1153, + 1156, + 1157, + 1231, + 1253, + 1308, + 1314, + 1320, + 1325, 1328, - 1333, - 1336, + 1331, + 1334, 1339, - 1342, - 1347, 1499, 1502, 1505, 1506, - 1540, - 1543, - 1546, - 1656, - 1659, - 1663, + 1544, + 1547, + 1550, + 1617, + 1620, + 1624, + 1629, + 1665, 1668, - 1610, - 1613, - 1616, - 1636, - 1639, - 1642, - 1700, - 1703, - 1704, - 1705, - 1754, - 1757, - 1760, - 1806, - 1807, - 1810, - 1829, - 1830, - 1833, - 1880, - 1883, - 1886, - 1889, - 1904, - 1907, - 1917, + 1671, + 1691, + 1694, + 1697, + 1711, + 1714, + 1715, + 1716, + 1765, + 1768, + 1771, + 1817, + 1818, + 1821, + 1840, + 1841, + 1844, + 1891, + 1894, + 1897, + 1900, + 1915, 1918, - 1921, - 2024, - 2027, - 2028, - 2048, - 2051, - 2054, - 2055, - 2132, - 2135, - 2138, - 2147, - 2106, - 2109, - 2150, - 2153, - 2156, + 1928, + 1929, + 1932, + 2040, + 2043, + 2044, + 2064, + 2067, + 2070, + 2071, + 2151, + 2154, + 2157, 2166, - 2169, - 2231, - 2234, - 2249, - 2252, - 2255, - 2258, - 2342, - 2345, - 2356, - 2380, - 2383, - 2416, - 2419, - 2442, - 2460, - 2512, - 2515, - 2518, - 2566, - 2569, - 2589, - 2592, - 2595, - 2604, - 2607, - 2618, - 2630, - 2633, - 2860, - 4926, - 4925, - 4927, - 3402, - 3403, - 3404, - 3405, - 3420, - 3680, - 3741, - 3745, - 3749, - 5187, - 4997, - 4100, - 5001, - 4998, - 4104, - 4110, - 3859, - 3860, - 3865, - 3871, - 3885, - 3892, - 3895, - 3898, - 3910, - 3919, - 3923, - 4976, - 3927, - 3929, + 2122, + 2125, + 2202, + 2205, + 2208, + 2218, + 2221, + 2283, + 2286, + 2301, + 2304, + 2307, + 2310, + 2394, + 2397, + 2408, + 2432, + 2435, + 2468, + 2471, + 2495, + 2513, + 2565, + 2568, + 2571, + 2619, + 2622, + 2643, + 2646, + 2649, + 2658, + 2661, + 2672, + 2684, + 2687, + 2914, + 5038, + 5037, + 5039, + 3456, + 3457, + 3458, + 3459, + 3474, + 3734, + 3795, + 3799, + 3803, + 5283, + 5082, + 4157, + 5084, + 5284, + 5083, + 4161, + 4167, + 3912, + 3913, + 3918, + 3924, 3938, - 5086, - 4928, - 4026, - 4030, - 4035, - 4036, - 4094, - 4099, - 4152, - 4165, - 4171, - 4180, - 4188, - 5091, - 5229, - 5099, - 4863, - 4826, - 4622, - 4908, - 4213, - 4214, - 4215, - 4221, - 4227, - 5090, - 4813, - 4233, + 3946, + 3949, + 3952, + 3964, + 3973, + 3977, + 5061, + 3981, + 3983, + 3992, + 4548, + 5190, + 5040, + 4083, + 4087, + 4092, + 4093, + 4151, + 4156, + 4209, + 4222, + 4228, 4237, - 4934, - 5119, - 5112, - 4948, - 5104, - 5108, - 4941, - 4478, - 4783, - 5008, - 4446, - 4749, - 4466, - 5239, - 5021, - 5165, - 5175, - 5265, + 4245, + 5195, 5343, - 5338, - 5225, - 4949, - 5140, - 5276, - 5071, - 4773, - 4788 + 5203, + 4975, + 4935, + 4729, + 5020, + 4313, + 4315, + 4316, + 4324, + 4330, + 5194, + 4922, + 4336, + 4340, + 5046, + 5223, + 5216, + 5060, + 5208, + 5212, + 5053, + 4891, + 5097, + 5493, + 5494, + 4553, + 4851, + 4573, + 5116, + 5260, + 5271, + 5366, + 5486, + 5481, + 5339, + 5377, + 5108, + 5166, + 4880, + 4897 ] }, { @@ -125840,166 +135365,169 @@ 32, 64, 65, - 141, - 184, - 213, - 214, - 215, - 216, - 387, - 388, - 389, - 390, - 454, - 455, - 485, - 486, - 487, - 652, - 653, - 733, - 734, - 737, - 998, - 999, + 142, + 186, + 219, + 220, + 221, + 222, + 396, + 397, + 398, + 399, + 470, + 471, + 502, + 503, + 504, + 670, + 671, + 752, + 753, + 756, + 1017, 1018, - 1036, - 1065, - 1066, - 1160, - 1161, - 1162, - 1238, - 1239, - 1260, - 1261, - 1277, - 1278, - 1279, - 1280, - 1538, - 1539, - 1666, - 1667, - 1608, - 1609, - 1632, - 1633, - 1634, - 1635, - 1752, - 1753, - 1804, - 1805, - 1827, - 1828, - 1879, - 1902, - 1903, - 1915, - 1916, - 2047, - 2104, - 2105, - 2164, - 2165, - 2229, - 2230, - 2245, - 2246, - 2247, - 2248, - 2338, - 2339, - 2340, - 2341, - 2352, - 2353, - 2354, - 2355, - 2379, - 2409, - 2410, - 2414, - 2415, - 2439, - 2440, - 2441, - 2457, - 2458, - 2459, - 2475, - 2476, - 2477, - 2478, - 2479, - 2564, - 2565, - 2587, - 2588, - 2616, + 1037, + 1055, + 1056, + 1150, + 1151, + 1152, + 1229, + 1230, + 1251, + 1252, + 1268, + 1269, + 1270, + 1271, + 1272, + 1542, + 1543, + 1627, + 1628, + 1663, + 1664, + 1687, + 1688, + 1689, + 1690, + 1763, + 1764, + 1815, + 1816, + 1838, + 1839, + 1890, + 1913, + 1914, + 1926, + 1927, + 2063, + 2120, + 2121, + 2169, + 2170, + 2171, + 2172, + 2216, + 2217, + 2281, + 2282, + 2297, + 2298, + 2299, + 2300, + 2390, + 2391, + 2392, + 2393, + 2404, + 2405, + 2406, + 2407, + 2431, + 2461, + 2462, + 2466, + 2467, + 2492, + 2493, + 2494, + 2510, + 2511, + 2512, + 2528, + 2529, + 2530, + 2531, + 2532, 2617, - 2628, - 2629, - 3675, - 3850, - 5291 + 2618, + 2641, + 2642, + 2670, + 2671, + 2682, + 2683, + 3729, + 5392 ] }, { "title": "Functions", "children": [ - 2662, - 2660, - 2664, - 2667, - 2672, - 2677, - 2682, - 2690, - 2698, - 2705, - 2707, - 2717, + 2716, + 2714, + 2718, + 2721, 2726, - 2738, - 429, - 606, - 759, - 828, - 2044, - 3292, - 3886, - 4254, - 4260, - 4264, - 4269, - 4272, - 4279, - 4284, - 4287, - 4290, - 4293, - 4296, - 4304, - 4307, - 4311, - 4317, - 4320, - 4323, - 4326, - 4331, - 4335, - 4339, - 4343, - 4348, - 4354, + 2731, + 2736, + 2744, + 2752, + 2759, + 2761, + 2771, + 2780, + 2792, + 445, + 624, + 778, + 847, + 2060, + 3346, + 3939, + 4357, 4363, 4367, - 4373, - 4244, - 4247, - 4380 + 4372, + 4375, + 4382, + 4387, + 4390, + 4393, + 4396, + 4399, + 4407, + 4410, + 4414, + 4420, + 4423, + 4426, + 4429, + 4434, + 4438, + 4442, + 4446, + 4451, + 4457, + 4466, + 4470, + 4476, + 4347, + 4350, + 4483 ] } ], @@ -126335,4308 +135863,4324 @@ }, "102": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/collections/list-collections.ts", - "qualifiedName": "AdminGetCollectionsParams.discount_condition_id" + "qualifiedName": "AdminGetCollectionsParams.order" }, "103": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/collections/list-collections.ts", - "qualifiedName": "AdminGetCollectionsPaginationParams.limit" + "qualifiedName": "AdminGetCollectionsParams.discount_condition_id" }, "104": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/collections/list-collections.ts", - "qualifiedName": "AdminGetCollectionsPaginationParams.offset" + "qualifiedName": "AdminGetCollectionsPaginationParams.limit" }, "105": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/collections/list-collections.ts", + "qualifiedName": "AdminGetCollectionsPaginationParams.offset" + }, + "106": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/collections/remove-products.ts", "qualifiedName": "AdminDeleteProductsFromCollectionReq" }, - "108": { + "109": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/collections/remove-products.ts", "qualifiedName": "AdminDeleteProductsFromCollectionReq.product_ids" }, - "109": { + "110": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/collections/update-collection.ts", "qualifiedName": "AdminPostCollectionsCollectionReq" }, - "112": { + "113": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/collections/update-collection.ts", "qualifiedName": "AdminPostCollectionsCollectionReq.title" }, - "113": { + "114": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/collections/update-collection.ts", "qualifiedName": "AdminPostCollectionsCollectionReq.handle" }, - "114": { + "115": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/collections/update-collection.ts", "qualifiedName": "AdminPostCollectionsCollectionReq.metadata" }, - "115": { + "116": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/currencies/index.ts", "qualifiedName": "AdminCurrenciesListRes" }, - "116": { + "117": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/currencies/index.ts", "qualifiedName": "__type" }, - "117": { + "118": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/currencies/index.ts", "qualifiedName": "__type.currencies" }, - "118": { + "119": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/currencies/index.ts", "qualifiedName": "AdminCurrenciesRes" }, - "119": { + "120": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/currencies/index.ts", "qualifiedName": "__type" }, - "120": { + "121": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/currencies/index.ts", "qualifiedName": "__type.currency" }, - "121": { + "122": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/currencies/list-currencies.ts", "qualifiedName": "AdminGetCurrenciesParams" }, - "124": { + "125": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/currencies/list-currencies.ts", "qualifiedName": "AdminGetCurrenciesParams.code" }, - "125": { + "126": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/currencies/list-currencies.ts", "qualifiedName": "AdminGetCurrenciesParams.q" }, - "126": { + "127": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/currencies/list-currencies.ts", "qualifiedName": "AdminGetCurrenciesParams.includes_tax" }, - "127": { + "128": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/currencies/list-currencies.ts", "qualifiedName": "AdminGetCurrenciesParams.order" }, - "128": { + "129": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.offset" }, - "129": { + "130": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.limit" }, - "130": { + "131": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/currencies/update-currency.ts", "qualifiedName": "AdminPostCurrenciesCurrencyReq" }, - "133": { + "134": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/currencies/update-currency.ts", "qualifiedName": "AdminPostCurrenciesCurrencyReq.includes_tax" }, - "134": { + "135": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/index.ts", "qualifiedName": "AdminCustomerGroupsRes" }, - "135": { + "136": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/index.ts", "qualifiedName": "__type" }, - "136": { + "137": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/index.ts", "qualifiedName": "__type.customer_group" }, - "137": { + "138": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/index.ts", "qualifiedName": "AdminCustomerGroupsDeleteRes" }, - "138": { + "139": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/index.ts", "qualifiedName": "AdminCustomerGroupsListRes" }, - "139": { + "140": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/index.ts", "qualifiedName": "__type" }, - "140": { + "141": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/index.ts", "qualifiedName": "__type.customer_groups" }, - "141": { + "142": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/index.ts", "qualifiedName": "defaultAdminCustomerGroupsRelations" }, - "142": { + "143": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/add-customers-batch.ts", "qualifiedName": "AdminPostCustomerGroupsGroupCustomersBatchReq" }, - "145": { + "146": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/add-customers-batch.ts", "qualifiedName": "AdminPostCustomerGroupsGroupCustomersBatchReq.customer_ids" }, - "146": { + "147": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/create-customer-group.ts", "qualifiedName": "AdminPostCustomerGroupsReq" }, - "149": { + "150": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/create-customer-group.ts", "qualifiedName": "AdminPostCustomerGroupsReq.name" }, - "150": { + "151": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/create-customer-group.ts", "qualifiedName": "AdminPostCustomerGroupsReq.metadata" }, - "151": { + "152": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/delete-customers-batch.ts", "qualifiedName": "AdminDeleteCustomerGroupsGroupCustomerBatchReq" }, - "154": { + "155": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/delete-customers-batch.ts", "qualifiedName": "AdminDeleteCustomerGroupsGroupCustomerBatchReq.customer_ids" }, - "155": { + "156": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/get-customer-group.ts", "qualifiedName": "AdminGetCustomerGroupsGroupParams" }, - "158": { + "159": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "159": { + "160": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "160": { + "161": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/list-customer-groups.ts", "qualifiedName": "AdminGetCustomerGroupsParams" }, - "163": { + "164": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/list-customer-groups.ts", "qualifiedName": "AdminGetCustomerGroupsParams.order" }, - "164": { + "165": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/list-customer-groups.ts", "qualifiedName": "AdminGetCustomerGroupsParams.offset" }, - "165": { + "166": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/list-customer-groups.ts", "qualifiedName": "AdminGetCustomerGroupsParams.limit" }, - "166": { + "167": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/list-customer-groups.ts", "qualifiedName": "AdminGetCustomerGroupsParams.expand" }, - "167": { + "168": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/list-customer-groups.ts", + "qualifiedName": "AdminGetCustomerGroupsParams.fields" + }, + "169": { "sourceFileName": "../../../packages/medusa/src/types/customer-groups.ts", "qualifiedName": "FilterableCustomerGroupProps.id" }, - "168": { + "170": { "sourceFileName": "../../../packages/medusa/src/types/customer-groups.ts", "qualifiedName": "FilterableCustomerGroupProps.q" }, - "169": { + "171": { "sourceFileName": "../../../packages/medusa/src/types/customer-groups.ts", "qualifiedName": "FilterableCustomerGroupProps.name" }, - "170": { + "172": { "sourceFileName": "../../../packages/medusa/src/types/customer-groups.ts", "qualifiedName": "FilterableCustomerGroupProps.updated_at" }, - "171": { + "173": { "sourceFileName": "../../../packages/medusa/src/types/customer-groups.ts", "qualifiedName": "FilterableCustomerGroupProps.created_at" }, - "172": { + "174": { "sourceFileName": "../../../packages/medusa/src/types/customer-groups.ts", "qualifiedName": "FilterableCustomerGroupProps.discount_condition_id" }, - "173": { + "175": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/update-customer-group.ts", "qualifiedName": "AdminPostCustomerGroupsGroupReq" }, - "176": { + "178": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/update-customer-group.ts", "qualifiedName": "AdminPostCustomerGroupsGroupReq.name" }, - "177": { + "179": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customer-groups/update-customer-group.ts", "qualifiedName": "AdminPostCustomerGroupsGroupReq.metadata" }, - "178": { + "180": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/index.ts", "qualifiedName": "AdminCustomersRes" }, - "179": { + "181": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/index.ts", "qualifiedName": "__type" }, - "180": { + "182": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/index.ts", "qualifiedName": "__type.customer" }, - "181": { + "183": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/index.ts", "qualifiedName": "AdminCustomersListRes" }, - "182": { + "184": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/index.ts", "qualifiedName": "__type" }, - "183": { + "185": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/index.ts", "qualifiedName": "__type.customers" }, - "184": { + "186": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/index.ts", "qualifiedName": "defaultAdminCustomersRelations" }, - "185": { + "187": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/create-customer.ts", "qualifiedName": "AdminPostCustomersReq" }, - "188": { + "190": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/create-customer.ts", "qualifiedName": "AdminPostCustomersReq.email" }, - "189": { + "191": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/create-customer.ts", "qualifiedName": "AdminPostCustomersReq.first_name" }, - "190": { + "192": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/create-customer.ts", "qualifiedName": "AdminPostCustomersReq.last_name" }, - "191": { + "193": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/create-customer.ts", "qualifiedName": "AdminPostCustomersReq.password" }, - "192": { + "194": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/create-customer.ts", "qualifiedName": "AdminPostCustomersReq.phone" }, - "193": { + "195": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/create-customer.ts", "qualifiedName": "AdminPostCustomersReq.metadata" }, - "194": { + "196": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/list-customers.ts", "qualifiedName": "AdminGetCustomersParams" }, - "197": { + "199": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/list-customers.ts", "qualifiedName": "AdminGetCustomersParams.limit" }, - "198": { + "200": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/list-customers.ts", "qualifiedName": "AdminGetCustomersParams.offset" }, - "199": { + "201": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/list-customers.ts", "qualifiedName": "AdminGetCustomersParams.expand" }, - "200": { + "202": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/list-customers.ts", + "qualifiedName": "AdminGetCustomersParams.fields" + }, + "203": { "sourceFileName": "../../../packages/medusa/src/types/customers.ts", "qualifiedName": "AdminListCustomerSelector.q" }, - "201": { + "204": { "sourceFileName": "../../../packages/medusa/src/types/customers.ts", "qualifiedName": "AdminListCustomerSelector.has_account" }, - "202": { + "205": { "sourceFileName": "../../../packages/medusa/src/types/customers.ts", "qualifiedName": "AdminListCustomerSelector.groups" }, - "203": { + "206": { + "sourceFileName": "../../../packages/medusa/src/types/customers.ts", + "qualifiedName": "AdminListCustomerSelector.order" + }, + "207": { + "sourceFileName": "../../../packages/medusa/src/types/customers.ts", + "qualifiedName": "AdminListCustomerSelector.created_at" + }, + "208": { + "sourceFileName": "../../../packages/medusa/src/types/customers.ts", + "qualifiedName": "AdminListCustomerSelector.updated_at" + }, + "209": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/update-customer.ts", "qualifiedName": "AdminPostCustomersCustomerReq" }, - "206": { + "212": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/update-customer.ts", "qualifiedName": "AdminPostCustomersCustomerReq.email" }, - "207": { + "213": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/update-customer.ts", "qualifiedName": "AdminPostCustomersCustomerReq.first_name" }, - "208": { + "214": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/update-customer.ts", "qualifiedName": "AdminPostCustomersCustomerReq.last_name" }, - "209": { + "215": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/update-customer.ts", "qualifiedName": "AdminPostCustomersCustomerReq.password" }, - "210": { + "216": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/update-customer.ts", "qualifiedName": "AdminPostCustomersCustomerReq.phone" }, - "211": { + "217": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/update-customer.ts", "qualifiedName": "AdminPostCustomersCustomerReq.metadata" }, - "212": { + "218": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/update-customer.ts", "qualifiedName": "AdminPostCustomersCustomerReq.groups" }, - "213": { + "219": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/index.ts", "qualifiedName": "defaultAdminDiscountsFields" }, - "214": { + "220": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/index.ts", "qualifiedName": "defaultAdminDiscountsRelations" }, - "215": { + "221": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/index.ts", "qualifiedName": "defaultAdminDiscountConditionFields" }, - "216": { + "222": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/index.ts", "qualifiedName": "defaultAdminDiscountConditionRelations" }, - "217": { + "223": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/index.ts", "qualifiedName": "AdminDiscountsRes" }, - "218": { + "224": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/index.ts", "qualifiedName": "__type" }, - "219": { + "225": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/index.ts", "qualifiedName": "__type.discount" }, - "220": { + "226": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/index.ts", "qualifiedName": "AdminDiscountConditionsRes" }, - "221": { + "227": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/index.ts", "qualifiedName": "__type" }, - "222": { + "228": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/index.ts", "qualifiedName": "__type.discount_condition" }, - "223": { + "229": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/index.ts", "qualifiedName": "AdminDiscountsDeleteRes" }, - "224": { + "230": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/index.ts", "qualifiedName": "AdminDiscountConditionsDeleteRes" }, - "225": { + "231": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/index.ts", "qualifiedName": "__type" }, - "226": { + "232": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/index.ts", "qualifiedName": "__type.discount" }, - "227": { + "233": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/index.ts", "qualifiedName": "AdminDiscountsListRes" }, - "228": { + "234": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/index.ts", "qualifiedName": "__type" }, - "229": { + "235": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/index.ts", "qualifiedName": "__type.discounts" }, - "230": { + "236": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-condition.ts", "qualifiedName": "AdminPostDiscountsDiscountConditions" }, - "233": { + "239": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-condition.ts", "qualifiedName": "AdminPostDiscountsDiscountConditions.operator" }, - "234": { + "240": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.products" }, - "235": { + "241": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.product_collections" }, - "236": { + "242": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.product_types" }, - "237": { + "243": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.product_tags" }, - "238": { + "244": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.customer_groups" }, - "239": { + "245": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-condition.ts", "qualifiedName": "AdminPostDiscountsDiscountConditionsParams" }, - "242": { + "248": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "243": { + "249": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "244": { + "250": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", - "qualifiedName": "AdminPostDiscountsReq" + "qualifiedName": "AdminPostDiscountsDiscountRule" }, - "247": { + "253": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", - "qualifiedName": "AdminPostDiscountsReq.code" + "qualifiedName": "AdminPostDiscountsDiscountRule.description" }, - "248": { + "254": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", - "qualifiedName": "AdminPostDiscountsReq.rule" + "qualifiedName": "AdminPostDiscountsDiscountRule.type" }, - "249": { + "255": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", - "qualifiedName": "AdminPostDiscountsReq.is_dynamic" + "qualifiedName": "AdminPostDiscountsDiscountRule.value" }, - "250": { + "256": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", - "qualifiedName": "AdminPostDiscountsReq.is_disabled" + "qualifiedName": "AdminPostDiscountsDiscountRule.allocation" }, - "251": { + "257": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", - "qualifiedName": "AdminPostDiscountsReq.starts_at" + "qualifiedName": "AdminPostDiscountsDiscountRule.conditions" }, - "252": { + "258": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", - "qualifiedName": "AdminPostDiscountsReq.ends_at" + "qualifiedName": "AdminPostDiscountsReq" }, - "253": { + "261": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", - "qualifiedName": "AdminPostDiscountsReq.valid_duration" + "qualifiedName": "AdminPostDiscountsReq.code" }, - "254": { + "262": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", - "qualifiedName": "AdminPostDiscountsReq.usage_limit" + "qualifiedName": "AdminPostDiscountsReq.rule" }, - "255": { + "263": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", - "qualifiedName": "AdminPostDiscountsReq.regions" + "qualifiedName": "AdminPostDiscountsReq.is_dynamic" }, - "256": { + "264": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", - "qualifiedName": "AdminPostDiscountsReq.metadata" + "qualifiedName": "AdminPostDiscountsReq.is_disabled" }, - "257": { + "265": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", - "qualifiedName": "AdminPostDiscountsDiscountRule" + "qualifiedName": "AdminPostDiscountsReq.starts_at" }, - "260": { + "266": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", - "qualifiedName": "AdminPostDiscountsDiscountRule.description" + "qualifiedName": "AdminPostDiscountsReq.ends_at" }, - "261": { + "267": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", - "qualifiedName": "AdminPostDiscountsDiscountRule.type" + "qualifiedName": "AdminPostDiscountsReq.valid_duration" }, - "262": { + "268": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", - "qualifiedName": "AdminPostDiscountsDiscountRule.value" + "qualifiedName": "AdminPostDiscountsReq.usage_limit" }, - "263": { + "269": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", - "qualifiedName": "AdminPostDiscountsDiscountRule.allocation" + "qualifiedName": "AdminPostDiscountsReq.regions" }, - "264": { + "270": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", - "qualifiedName": "AdminPostDiscountsDiscountRule.conditions" + "qualifiedName": "AdminPostDiscountsReq.metadata" }, - "265": { + "271": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", "qualifiedName": "AdminCreateCondition" }, - "268": { + "274": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", "qualifiedName": "AdminCreateCondition.operator" }, - "269": { + "275": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.products" }, - "270": { + "276": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.product_collections" }, - "271": { + "277": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.product_types" }, - "272": { + "278": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.product_tags" }, - "273": { + "279": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.customer_groups" }, - "274": { + "280": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-discount.ts", "qualifiedName": "AdminPostDiscountsParams" }, - "277": { + "283": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "278": { + "284": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "279": { + "285": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-dynamic-code.ts", "qualifiedName": "AdminPostDiscountsDiscountDynamicCodesReq" }, - "282": { + "288": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-dynamic-code.ts", "qualifiedName": "AdminPostDiscountsDiscountDynamicCodesReq.code" }, - "283": { + "289": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-dynamic-code.ts", "qualifiedName": "AdminPostDiscountsDiscountDynamicCodesReq.usage_limit" }, - "284": { + "290": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/create-dynamic-code.ts", "qualifiedName": "AdminPostDiscountsDiscountDynamicCodesReq.metadata" }, - "285": { + "291": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/delete-condition.ts", "qualifiedName": "AdminDeleteDiscountsDiscountConditionsConditionParams" }, - "288": { + "294": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "289": { + "295": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "290": { + "296": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/get-condition.ts", "qualifiedName": "AdminGetDiscountsDiscountConditionsConditionParams" }, - "293": { + "299": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "294": { + "300": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "295": { + "301": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/get-discount.ts", "qualifiedName": "AdminGetDiscountParams" }, - "298": { + "304": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "299": { + "305": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "300": { + "306": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/get-discount-by-code.ts", "qualifiedName": "AdminGetDiscountsDiscountCodeParams" }, - "303": { + "309": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "304": { + "310": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "305": { + "311": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/list-discounts.ts", "qualifiedName": "AdminGetDiscountsParams" }, - "306": { + "312": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.__new" }, - "307": { + "313": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "AdminGetDiscountsParams" }, - "308": { + "314": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "args" }, - "309": { + "315": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/list-discounts.ts", "qualifiedName": "AdminGetDiscountsParams.rule" }, - "310": { + "316": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/list-discounts.ts", "qualifiedName": "AdminGetDiscountsParams.q" }, - "311": { + "317": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/list-discounts.ts", "qualifiedName": "AdminGetDiscountsParams.is_dynamic" }, - "312": { + "318": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/list-discounts.ts", "qualifiedName": "AdminGetDiscountsParams.is_disabled" }, - "313": { + "319": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/list-discounts.ts", + "qualifiedName": "AdminGetDiscountsParams.created_at" + }, + "320": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/list-discounts.ts", + "qualifiedName": "AdminGetDiscountsParams.updated_at" + }, + "321": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/list-discounts.ts", + "qualifiedName": "AdminGetDiscountsParams.order" + }, + "322": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "314": { + "323": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "315": { + "324": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.offset" }, - "316": { + "325": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.limit" }, - "317": { + "326": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-condition.ts", "qualifiedName": "AdminPostDiscountsDiscountConditionsCondition" }, - "320": { + "329": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.products" }, - "321": { + "330": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.product_collections" }, - "322": { + "331": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.product_types" }, - "323": { + "332": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.product_tags" }, - "324": { + "333": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.customer_groups" }, - "325": { + "334": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-condition.ts", "qualifiedName": "AdminPostDiscountsDiscountConditionsConditionParams" }, - "328": { + "337": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "329": { + "338": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "330": { + "339": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", - "qualifiedName": "AdminPostDiscountsDiscountReq" + "qualifiedName": "AdminUpdateDiscountRule" }, - "333": { + "342": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", - "qualifiedName": "AdminPostDiscountsDiscountReq.code" + "qualifiedName": "AdminUpdateDiscountRule.id" }, - "334": { + "343": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", - "qualifiedName": "AdminPostDiscountsDiscountReq.rule" + "qualifiedName": "AdminUpdateDiscountRule.description" }, - "335": { + "344": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", - "qualifiedName": "AdminPostDiscountsDiscountReq.is_disabled" + "qualifiedName": "AdminUpdateDiscountRule.value" }, - "336": { + "345": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", - "qualifiedName": "AdminPostDiscountsDiscountReq.starts_at" + "qualifiedName": "AdminUpdateDiscountRule.allocation" }, - "337": { + "346": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", - "qualifiedName": "AdminPostDiscountsDiscountReq.ends_at" + "qualifiedName": "AdminUpdateDiscountRule.conditions" }, - "338": { + "347": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", - "qualifiedName": "AdminPostDiscountsDiscountReq.valid_duration" + "qualifiedName": "AdminPostDiscountsDiscountReq" }, - "339": { + "350": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", - "qualifiedName": "AdminPostDiscountsDiscountReq.usage_limit" + "qualifiedName": "AdminPostDiscountsDiscountReq.code" }, - "340": { + "351": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", - "qualifiedName": "AdminPostDiscountsDiscountReq.regions" + "qualifiedName": "AdminPostDiscountsDiscountReq.rule" }, - "341": { + "352": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", - "qualifiedName": "AdminPostDiscountsDiscountReq.metadata" + "qualifiedName": "AdminPostDiscountsDiscountReq.is_disabled" }, - "342": { + "353": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", - "qualifiedName": "AdminUpdateDiscountRule" + "qualifiedName": "AdminPostDiscountsDiscountReq.starts_at" }, - "345": { + "354": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", - "qualifiedName": "AdminUpdateDiscountRule.id" + "qualifiedName": "AdminPostDiscountsDiscountReq.ends_at" }, - "346": { + "355": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", - "qualifiedName": "AdminUpdateDiscountRule.description" + "qualifiedName": "AdminPostDiscountsDiscountReq.valid_duration" }, - "347": { + "356": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", - "qualifiedName": "AdminUpdateDiscountRule.value" + "qualifiedName": "AdminPostDiscountsDiscountReq.usage_limit" }, - "348": { + "357": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", - "qualifiedName": "AdminUpdateDiscountRule.allocation" + "qualifiedName": "AdminPostDiscountsDiscountReq.regions" }, - "349": { + "358": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", - "qualifiedName": "AdminUpdateDiscountRule.conditions" + "qualifiedName": "AdminPostDiscountsDiscountReq.metadata" }, - "350": { + "359": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", "qualifiedName": "AdminUpsertCondition" }, - "353": { + "362": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", "qualifiedName": "AdminUpsertCondition.id" }, - "354": { + "363": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", "qualifiedName": "AdminUpsertCondition.operator" }, - "355": { + "364": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.products" }, - "356": { + "365": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.product_collections" }, - "357": { + "366": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.product_types" }, - "358": { + "367": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.product_tags" }, - "359": { + "368": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.customer_groups" }, - "360": { + "369": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/update-discount.ts", "qualifiedName": "AdminPostDiscountsDiscountParams" }, - "363": { + "372": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "364": { + "373": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "365": { + "374": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/add-resources-to-condition-batch.ts", "qualifiedName": "AdminPostDiscountsDiscountConditionsConditionBatchReq" }, - "368": { + "377": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/add-resources-to-condition-batch.ts", "qualifiedName": "AdminPostDiscountsDiscountConditionsConditionBatchReq.resources" }, - "369": { + "378": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/add-resources-to-condition-batch.ts", "qualifiedName": "__type" }, - "370": { + "379": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/add-resources-to-condition-batch.ts", "qualifiedName": "__type.id" }, - "371": { + "380": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/add-resources-to-condition-batch.ts", "qualifiedName": "AdminPostDiscountsDiscountConditionsConditionBatchParams" }, - "374": { + "383": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "375": { + "384": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "376": { + "385": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/delete-resources-from-condition-batch.ts", "qualifiedName": "AdminDeleteDiscountsDiscountConditionsConditionBatchParams" }, - "379": { + "388": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "380": { + "389": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "381": { + "390": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/delete-resources-from-condition-batch.ts", "qualifiedName": "AdminDeleteDiscountsDiscountConditionsConditionBatchReq" }, - "384": { + "393": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/delete-resources-from-condition-batch.ts", "qualifiedName": "AdminDeleteDiscountsDiscountConditionsConditionBatchReq.resources" }, - "385": { + "394": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/delete-resources-from-condition-batch.ts", "qualifiedName": "__type" }, - "386": { + "395": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/discounts/delete-resources-from-condition-batch.ts", "qualifiedName": "__type.id" }, - "387": { + "396": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/index.ts", "qualifiedName": "defaultAdminDraftOrdersRelations" }, - "388": { + "397": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/index.ts", "qualifiedName": "defaultAdminDraftOrdersCartRelations" }, - "389": { + "398": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/index.ts", "qualifiedName": "defaultAdminDraftOrdersCartFields" }, - "390": { + "399": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/index.ts", "qualifiedName": "defaultAdminDraftOrdersFields" }, - "391": { + "400": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/index.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderRegisterPaymentRes" }, - "392": { + "401": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/index.ts", "qualifiedName": "__type" }, - "393": { + "402": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/index.ts", "qualifiedName": "__type.order" }, - "394": { + "403": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/index.ts", "qualifiedName": "AdminDraftOrdersRes" }, - "395": { + "404": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/index.ts", "qualifiedName": "__type" }, - "396": { + "405": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/index.ts", "qualifiedName": "__type.draft_order" }, - "397": { + "406": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/index.ts", "qualifiedName": "AdminDraftOrdersDeleteRes" }, - "398": { + "407": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/index.ts", "qualifiedName": "AdminDraftOrdersListRes" }, - "399": { + "408": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/index.ts", "qualifiedName": "__type" }, - "400": { + "409": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/index.ts", "qualifiedName": "__type.draft_orders" }, - "401": { + "410": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersReq" }, - "404": { + "413": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersReq.status" }, - "405": { + "414": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersReq.email" }, - "406": { + "415": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersReq.billing_address" }, - "407": { + "416": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersReq.shipping_address" }, - "408": { + "417": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersReq.items" }, - "409": { + "418": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersReq.region_id" }, - "410": { + "419": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersReq.discounts" }, - "411": { + "420": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersReq.customer_id" }, - "412": { + "421": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersReq.no_notification_order" }, - "413": { + "422": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersReq.shipping_methods" }, - "414": { + "423": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersReq.metadata" }, - "415": { + "424": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-line-item.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderLineItemsReq" }, - "418": { + "427": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-line-item.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderLineItemsReq.title" }, - "419": { + "428": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-line-item.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderLineItemsReq.unit_price" }, - "420": { + "429": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-line-item.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderLineItemsReq.variant_id" }, - "421": { + "430": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-line-item.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderLineItemsReq.quantity" }, - "422": { + "431": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-line-item.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderLineItemsReq.metadata" }, - "423": { + "432": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/list-draft-orders.ts", "qualifiedName": "AdminGetDraftOrdersParams" }, - "426": { + "433": { + "sourceFileName": "../../../packages/medusa/src/types/global.ts", + "qualifiedName": "__type.__new" + }, + "434": { + "sourceFileName": "../../../packages/medusa/src/types/global.ts", + "qualifiedName": "AdminGetDraftOrdersParams" + }, + "435": { + "sourceFileName": "../../../packages/medusa/src/types/global.ts", + "qualifiedName": "args" + }, + "436": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/list-draft-orders.ts", "qualifiedName": "AdminGetDraftOrdersParams.q" }, - "427": { + "437": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/list-draft-orders.ts", - "qualifiedName": "AdminGetDraftOrdersParams.limit" + "qualifiedName": "AdminGetDraftOrdersParams.expand" }, - "428": { + "438": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/list-draft-orders.ts", - "qualifiedName": "AdminGetDraftOrdersParams.offset" + "qualifiedName": "AdminGetDraftOrdersParams.fields" }, - "429": { + "439": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/list-draft-orders.ts", + "qualifiedName": "AdminGetDraftOrdersParams.status" + }, + "440": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/list-draft-orders.ts", + "qualifiedName": "AdminGetDraftOrdersParams.created_at" + }, + "441": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/list-draft-orders.ts", + "qualifiedName": "AdminGetDraftOrdersParams.updated_at" + }, + "442": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindPaginationParams.offset" + }, + "443": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindPaginationParams.limit" + }, + "444": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindPaginationParams.order" + }, + "445": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/register-payment.ts", "qualifiedName": "reserveQuantityForDraftOrder" }, - "430": { + "446": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/register-payment.ts", "qualifiedName": "reserveQuantityForDraftOrder" }, - "431": { + "447": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/register-payment.ts", "qualifiedName": "order" }, - "432": { + "448": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/register-payment.ts", "qualifiedName": "context" }, - "433": { + "449": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/register-payment.ts", "qualifiedName": "__type" }, - "434": { + "450": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/register-payment.ts", "qualifiedName": "__type.productVariantInventoryService" }, - "435": { + "451": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/register-payment.ts", "qualifiedName": "__type.locationId" }, - "436": { + "452": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/update-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderReq" }, - "439": { + "455": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/update-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderReq.region_id" }, - "440": { + "456": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/update-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderReq.country_code" }, - "441": { + "457": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/update-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderReq.email" }, - "442": { + "458": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/update-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderReq.billing_address" }, - "443": { + "459": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/update-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderReq.shipping_address" }, - "444": { + "460": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/update-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderReq.discounts" }, - "445": { + "461": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/update-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderReq.customer_id" }, - "446": { + "462": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/update-draft-order.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderReq.no_notification_order" }, - "447": { + "463": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/update-line-item.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderLineItemsItemReq" }, - "450": { + "466": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/update-line-item.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderLineItemsItemReq.title" }, - "451": { + "467": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/update-line-item.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderLineItemsItemReq.unit_price" }, - "452": { + "468": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/update-line-item.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderLineItemsItemReq.quantity" }, - "453": { + "469": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/update-line-item.ts", "qualifiedName": "AdminPostDraftOrdersDraftOrderLineItemsItemReq.metadata" }, - "454": { + "470": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/index.ts", "qualifiedName": "defaultAdminGiftCardFields" }, - "455": { + "471": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/index.ts", "qualifiedName": "defaultAdminGiftCardRelations" }, - "456": { + "472": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/index.ts", "qualifiedName": "AdminGiftCardsRes" }, - "457": { + "473": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/index.ts", "qualifiedName": "__type" }, - "458": { + "474": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/index.ts", "qualifiedName": "__type.gift_card" }, - "459": { + "475": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/index.ts", "qualifiedName": "AdminGiftCardsDeleteRes" }, - "460": { + "476": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/index.ts", "qualifiedName": "AdminGiftCardsListRes" }, - "461": { + "477": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/index.ts", "qualifiedName": "__type" }, - "462": { + "478": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/index.ts", "qualifiedName": "__type.gift_cards" }, - "463": { + "479": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/create-gift-card.ts", "qualifiedName": "AdminPostGiftCardsReq" }, - "466": { + "482": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/create-gift-card.ts", "qualifiedName": "AdminPostGiftCardsReq.value" }, - "467": { + "483": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/create-gift-card.ts", "qualifiedName": "AdminPostGiftCardsReq.ends_at" }, - "468": { + "484": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/create-gift-card.ts", "qualifiedName": "AdminPostGiftCardsReq.is_disabled" }, - "469": { + "485": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/create-gift-card.ts", "qualifiedName": "AdminPostGiftCardsReq.region_id" }, - "470": { + "486": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/create-gift-card.ts", "qualifiedName": "AdminPostGiftCardsReq.metadata" }, - "471": { + "487": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/list-gift-cards.ts", "qualifiedName": "AdminGetGiftCardsParams" }, - "474": { + "490": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/list-gift-cards.ts", "qualifiedName": "AdminGetGiftCardsParams.limit" }, - "475": { + "491": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/list-gift-cards.ts", "qualifiedName": "AdminGetGiftCardsParams.offset" }, - "476": { + "492": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/list-gift-cards.ts", "qualifiedName": "AdminGetGiftCardsParams.q" }, - "477": { + "493": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/list-gift-cards.ts", + "qualifiedName": "AdminGetGiftCardsParams.order" + }, + "494": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/update-gift-card.ts", "qualifiedName": "AdminPostGiftCardsGiftCardReq" }, - "480": { + "497": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/update-gift-card.ts", "qualifiedName": "AdminPostGiftCardsGiftCardReq.balance" }, - "481": { + "498": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/update-gift-card.ts", "qualifiedName": "AdminPostGiftCardsGiftCardReq.is_disabled" }, - "482": { + "499": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/update-gift-card.ts", "qualifiedName": "AdminPostGiftCardsGiftCardReq.ends_at" }, - "483": { + "500": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/update-gift-card.ts", "qualifiedName": "AdminPostGiftCardsGiftCardReq.region_id" }, - "484": { + "501": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/gift-cards/update-gift-card.ts", "qualifiedName": "AdminPostGiftCardsGiftCardReq.metadata" }, - "485": { + "502": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "defaultAdminInventoryItemFields" }, - "486": { + "503": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "defaultAdminLocationLevelFields" }, - "487": { + "504": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "defaultAdminInventoryItemRelations" }, - "488": { + "505": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "AdminInventoryItemsRes" }, - "489": { + "506": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "__type" }, - "490": { + "507": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "__type.inventory_item" }, - "491": { + "508": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "AdminInventoryItemsDeleteRes" }, - "492": { + "509": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "AdminInventoryItemsListRes" }, - "493": { + "510": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "__type" }, - "494": { + "511": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "__type.inventory_items" }, - "495": { + "512": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "DecoratedInventoryItemDTO" }, - "496": { + "513": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "__type" }, - "497": { + "514": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "__type.location_levels" }, - "498": { + "515": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "__type.variants" }, - "499": { + "516": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "__type.stocked_quantity" }, - "500": { + "517": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "__type.reserved_quantity" }, - "501": { + "518": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "AdminInventoryItemsListWithVariantsAndLocationLevelsRes" }, - "502": { + "519": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "__type" }, - "503": { + "520": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "__type.inventory_items" }, - "504": { + "521": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "AdminInventoryItemsLocationLevelsRes" }, - "505": { + "522": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "__type" }, - "506": { + "523": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "__type.inventory_item" }, - "507": { + "524": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "__type" }, - "508": { + "525": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "__type.id" }, - "509": { + "526": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/index.ts", "qualifiedName": "__type.location_levels" }, - "510": { + "527": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsReq" }, - "513": { + "530": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsReq.variant_id" }, - "514": { + "531": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsReq.sku" }, - "515": { + "532": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsReq.hs_code" }, - "516": { + "533": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsReq.weight" }, - "517": { + "534": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsReq.length" }, - "518": { + "535": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsReq.height" }, - "519": { + "536": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsReq.width" }, - "520": { + "537": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsReq.origin_country" }, - "521": { + "538": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsReq.mid_code" }, - "522": { + "539": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsReq.material" }, - "523": { + "540": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsReq.title" }, - "524": { + "541": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsReq.description" }, - "525": { + "542": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsReq.thumbnail" }, - "526": { + "543": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsReq.metadata" }, - "527": { + "544": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsParams" }, - "530": { + "547": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "531": { + "548": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "532": { + "549": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-location-level.ts", "qualifiedName": "AdminPostInventoryItemsItemLocationLevelsReq" }, - "535": { + "552": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-location-level.ts", "qualifiedName": "AdminPostInventoryItemsItemLocationLevelsReq.location_id" }, - "536": { + "553": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-location-level.ts", "qualifiedName": "AdminPostInventoryItemsItemLocationLevelsReq.stocked_quantity" }, - "537": { + "554": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-location-level.ts", "qualifiedName": "AdminPostInventoryItemsItemLocationLevelsReq.incoming_quantity" }, - "538": { + "555": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/create-location-level.ts", "qualifiedName": "AdminPostInventoryItemsItemLocationLevelsParams" }, - "541": { + "558": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "542": { + "559": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "543": { + "560": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/get-inventory-item.ts", "qualifiedName": "AdminGetInventoryItemsItemParams" }, - "546": { + "563": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "547": { + "564": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "548": { + "565": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/list-inventory-items.ts", "qualifiedName": "AdminGetInventoryItemsParams" }, - "549": { + "566": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.__new" }, - "550": { + "567": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "AdminGetInventoryItemsParams" }, - "551": { + "568": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "args" }, - "552": { + "569": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/list-inventory-items.ts", "qualifiedName": "AdminGetInventoryItemsParams.id" }, - "553": { + "570": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/list-inventory-items.ts", "qualifiedName": "AdminGetInventoryItemsParams.q" }, - "554": { + "571": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/list-inventory-items.ts", "qualifiedName": "AdminGetInventoryItemsParams.location_id" }, - "555": { + "572": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/list-inventory-items.ts", "qualifiedName": "AdminGetInventoryItemsParams.sku" }, - "556": { + "573": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/list-inventory-items.ts", "qualifiedName": "AdminGetInventoryItemsParams.origin_country" }, - "557": { + "574": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/list-inventory-items.ts", "qualifiedName": "AdminGetInventoryItemsParams.mid_code" }, - "558": { + "575": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/list-inventory-items.ts", "qualifiedName": "AdminGetInventoryItemsParams.material" }, - "559": { + "576": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/list-inventory-items.ts", "qualifiedName": "AdminGetInventoryItemsParams.hs_code" }, - "560": { + "577": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/list-inventory-items.ts", "qualifiedName": "AdminGetInventoryItemsParams.weight" }, - "561": { + "578": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/list-inventory-items.ts", "qualifiedName": "AdminGetInventoryItemsParams.length" }, - "562": { + "579": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/list-inventory-items.ts", "qualifiedName": "AdminGetInventoryItemsParams.height" }, - "563": { + "580": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/list-inventory-items.ts", "qualifiedName": "AdminGetInventoryItemsParams.width" }, - "564": { + "581": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/list-inventory-items.ts", "qualifiedName": "AdminGetInventoryItemsParams.requires_shipping" }, - "565": { + "582": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "566": { + "583": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "567": { + "584": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.offset" }, - "568": { + "585": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.limit" }, - "569": { + "586": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindPaginationParams.order" + }, + "587": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/list-location-levels.ts", "qualifiedName": "AdminGetInventoryItemsItemLocationLevelsParams" }, - "572": { + "590": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/list-location-levels.ts", "qualifiedName": "AdminGetInventoryItemsItemLocationLevelsParams.location_id" }, - "573": { + "591": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "574": { + "592": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "575": { + "593": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/update-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsInventoryItemReq" }, - "578": { + "596": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/update-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsInventoryItemReq.sku" }, - "579": { + "597": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/update-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsInventoryItemReq.origin_country" }, - "580": { + "598": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/update-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsInventoryItemReq.hs_code" }, - "581": { + "599": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/update-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsInventoryItemReq.mid_code" }, - "582": { + "600": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/update-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsInventoryItemReq.material" }, - "583": { + "601": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/update-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsInventoryItemReq.weight" }, - "584": { + "602": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/update-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsInventoryItemReq.height" }, - "585": { + "603": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/update-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsInventoryItemReq.length" }, - "586": { + "604": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/update-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsInventoryItemReq.width" }, - "587": { + "605": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/update-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsInventoryItemReq.title" }, - "588": { + "606": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/update-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsInventoryItemReq.description" }, - "589": { + "607": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/update-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsInventoryItemReq.thumbnail" }, - "590": { + "608": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/update-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsInventoryItemReq.requires_shipping" }, - "591": { + "609": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/update-inventory-item.ts", "qualifiedName": "AdminPostInventoryItemsInventoryItemParams" }, - "594": { + "612": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "595": { + "613": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "596": { + "614": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/update-location-level.ts", "qualifiedName": "AdminPostInventoryItemsItemLocationLevelsLevelReq" }, - "599": { + "617": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/update-location-level.ts", "qualifiedName": "AdminPostInventoryItemsItemLocationLevelsLevelReq.incoming_quantity" }, - "600": { + "618": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/update-location-level.ts", "qualifiedName": "AdminPostInventoryItemsItemLocationLevelsLevelReq.stocked_quantity" }, - "601": { + "619": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/inventory-items/update-location-level.ts", "qualifiedName": "AdminPostInventoryItemsItemLocationLevelsLevelParams" }, - "604": { + "622": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "605": { + "623": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "606": { + "624": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/invites/index.ts", "qualifiedName": "unauthenticatedInviteRoutes" }, - "607": { + "625": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/invites/index.ts", "qualifiedName": "unauthenticatedInviteRoutes" }, - "608": { + "626": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/invites/index.ts", "qualifiedName": "app" }, - "609": { + "627": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/invites/index.ts", "qualifiedName": "AdminInviteDeleteRes" }, - "610": { + "628": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/invites/index.ts", "qualifiedName": "AdminListInvitesRes" }, - "611": { + "629": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/invites/index.ts", "qualifiedName": "__type" }, - "612": { + "630": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/invites/index.ts", "qualifiedName": "__type.invites" }, - "613": { + "631": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/invites/accept-invite.ts", "qualifiedName": "AdminPostInvitesInviteAcceptUserReq" }, - "616": { + "634": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/invites/accept-invite.ts", "qualifiedName": "AdminPostInvitesInviteAcceptUserReq.first_name" }, - "617": { + "635": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/invites/accept-invite.ts", "qualifiedName": "AdminPostInvitesInviteAcceptUserReq.last_name" }, - "618": { + "636": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/invites/accept-invite.ts", "qualifiedName": "AdminPostInvitesInviteAcceptUserReq.password" }, - "619": { + "637": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/invites/accept-invite.ts", "qualifiedName": "AdminPostInvitesInviteAcceptReq" }, - "622": { + "640": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/invites/accept-invite.ts", "qualifiedName": "AdminPostInvitesInviteAcceptReq.token" }, - "623": { + "641": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/invites/accept-invite.ts", "qualifiedName": "AdminPostInvitesInviteAcceptReq.user" }, - "624": { + "642": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/invites/create-invite.ts", "qualifiedName": "AdminPostInvitesReq" }, - "627": { + "645": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/invites/create-invite.ts", "qualifiedName": "AdminPostInvitesReq.user" }, - "628": { + "646": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/invites/create-invite.ts", "qualifiedName": "AdminPostInvitesReq.role" }, - "629": { + "647": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notes/index.ts", "qualifiedName": "AdminNotesRes" }, - "630": { + "648": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notes/index.ts", "qualifiedName": "__type" }, - "631": { + "649": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notes/index.ts", "qualifiedName": "__type.note" }, - "632": { + "650": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notes/index.ts", "qualifiedName": "AdminNotesDeleteRes" }, - "633": { + "651": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notes/index.ts", "qualifiedName": "AdminNotesListRes" }, - "634": { + "652": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notes/index.ts", "qualifiedName": "__type" }, - "635": { + "653": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notes/index.ts", "qualifiedName": "__type.notes" }, - "636": { + "654": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notes/create-note.ts", "qualifiedName": "AdminPostNotesReq" }, - "639": { + "657": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notes/create-note.ts", "qualifiedName": "AdminPostNotesReq.resource_id" }, - "640": { + "658": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notes/create-note.ts", "qualifiedName": "AdminPostNotesReq.resource_type" }, - "641": { + "659": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notes/create-note.ts", "qualifiedName": "AdminPostNotesReq.value" }, - "642": { + "660": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notes/list-notes.ts", "qualifiedName": "AdminGetNotesParams" }, - "645": { + "663": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notes/list-notes.ts", "qualifiedName": "AdminGetNotesParams.resource_id" }, - "646": { + "664": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notes/list-notes.ts", "qualifiedName": "AdminGetNotesParams.limit" }, - "647": { + "665": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notes/list-notes.ts", "qualifiedName": "AdminGetNotesParams.offset" }, - "648": { + "666": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notes/update-note.ts", "qualifiedName": "AdminPostNotesNoteReq" }, - "651": { + "669": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notes/update-note.ts", "qualifiedName": "AdminPostNotesNoteReq.value" }, - "652": { + "670": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/index.ts", "qualifiedName": "defaultAdminNotificationsRelations" }, - "653": { + "671": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/index.ts", "qualifiedName": "defaultAdminNotificationsFields" }, - "654": { + "672": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/index.ts", "qualifiedName": "AdminNotificationsListRes" }, - "655": { + "673": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/index.ts", "qualifiedName": "__type" }, - "656": { + "674": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/index.ts", "qualifiedName": "__type.notifications" }, - "657": { + "675": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/index.ts", "qualifiedName": "AdminNotificationsRes" }, - "658": { + "676": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/index.ts", "qualifiedName": "__type" }, - "659": { + "677": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/index.ts", "qualifiedName": "__type.notification" }, - "660": { + "678": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/list-notifications.ts", "qualifiedName": "AdminGetNotificationsParams" }, - "663": { + "681": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/list-notifications.ts", "qualifiedName": "AdminGetNotificationsParams.limit" }, - "664": { + "682": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/list-notifications.ts", "qualifiedName": "AdminGetNotificationsParams.offset" }, - "665": { + "683": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/list-notifications.ts", "qualifiedName": "AdminGetNotificationsParams.fields" }, - "666": { + "684": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/list-notifications.ts", "qualifiedName": "AdminGetNotificationsParams.expand" }, - "667": { + "685": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/list-notifications.ts", "qualifiedName": "AdminGetNotificationsParams.event_name" }, - "668": { + "686": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/list-notifications.ts", "qualifiedName": "AdminGetNotificationsParams.resource_type" }, - "669": { + "687": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/list-notifications.ts", "qualifiedName": "AdminGetNotificationsParams.resource_id" }, - "670": { + "688": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/list-notifications.ts", "qualifiedName": "AdminGetNotificationsParams.to" }, - "671": { + "689": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/list-notifications.ts", "qualifiedName": "AdminGetNotificationsParams.include_resends" }, - "672": { + "690": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/resend-notification.ts", "qualifiedName": "AdminPostNotificationsNotificationResendReq" }, - "675": { + "693": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/notifications/resend-notification.ts", "qualifiedName": "AdminPostNotificationsNotificationResendReq.to" }, - "676": { + "694": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/index.ts", "qualifiedName": "AdminOrderEditsRes" }, - "677": { + "695": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/index.ts", "qualifiedName": "__type" }, - "678": { + "696": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/index.ts", "qualifiedName": "__type.order_edit" }, - "679": { + "697": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/index.ts", "qualifiedName": "AdminOrderEditsListRes" }, - "680": { + "698": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/index.ts", "qualifiedName": "__type" }, - "681": { + "699": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/index.ts", "qualifiedName": "__type.order_edits" }, - "682": { + "700": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/index.ts", "qualifiedName": "AdminOrderEditDeleteRes" }, - "683": { + "701": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/index.ts", "qualifiedName": "AdminOrderEditItemChangeDeleteRes" }, - "684": { + "702": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/index.ts", "qualifiedName": "__type" }, - "685": { + "703": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/index.ts", "qualifiedName": "__type.id" }, - "686": { + "704": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/index.ts", "qualifiedName": "__type.object" }, - "687": { + "705": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/index.ts", "qualifiedName": "__type.deleted" }, - "688": { + "706": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/add-line-item.ts", "qualifiedName": "AdminPostOrderEditsEditLineItemsReq" }, - "691": { + "709": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/add-line-item.ts", "qualifiedName": "AdminPostOrderEditsEditLineItemsReq.variant_id" }, - "692": { + "710": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/add-line-item.ts", "qualifiedName": "AdminPostOrderEditsEditLineItemsReq.quantity" }, - "693": { + "711": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/add-line-item.ts", "qualifiedName": "AdminPostOrderEditsEditLineItemsReq.metadata" }, - "694": { + "712": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/create-order-edit.ts", "qualifiedName": "AdminPostOrderEditsReq" }, - "697": { + "715": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/create-order-edit.ts", "qualifiedName": "AdminPostOrderEditsReq.order_id" }, - "698": { + "716": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/create-order-edit.ts", "qualifiedName": "AdminPostOrderEditsReq.internal_note" }, - "699": { + "717": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/create-order-edit.ts", "qualifiedName": "AdminPostOrderEditsReq.created_by" }, - "700": { + "718": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/get-order-edit.ts", "qualifiedName": "GetOrderEditsOrderEditParams" }, - "703": { + "721": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "704": { + "722": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "705": { + "723": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/list-order-edit.ts", "qualifiedName": "GetOrderEditsParams" }, - "706": { + "724": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.__new" }, - "707": { + "725": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "GetOrderEditsParams" }, - "708": { + "726": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "args" }, - "709": { + "727": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/list-order-edit.ts", "qualifiedName": "GetOrderEditsParams.q" }, - "710": { + "728": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/list-order-edit.ts", "qualifiedName": "GetOrderEditsParams.order_id" }, - "711": { + "729": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "712": { + "730": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "713": { + "731": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.offset" }, - "714": { + "732": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.limit" }, - "715": { + "733": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindPaginationParams.order" + }, + "734": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/request-confirmation.ts", "qualifiedName": "AdminPostOrderEditsRequestConfirmationReq" }, - "718": { + "737": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/request-confirmation.ts", "qualifiedName": "AdminPostOrderEditsRequestConfirmationReq.payment_collection_description" }, - "719": { + "738": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/update-order-edit.ts", "qualifiedName": "AdminPostOrderEditsOrderEditReq" }, - "722": { + "741": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/update-order-edit.ts", "qualifiedName": "AdminPostOrderEditsOrderEditReq.internal_note" }, - "723": { + "742": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/update-order-edit-line-item.ts", "qualifiedName": "AdminPostOrderEditsEditLineItemsLineItemReq" }, - "726": { + "745": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/order-edits/update-order-edit-line-item.ts", "qualifiedName": "AdminPostOrderEditsEditLineItemsLineItemReq.quantity" }, - "727": { + "746": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/index.ts", "qualifiedName": "AdminOrdersRes" }, - "728": { + "747": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/index.ts", "qualifiedName": "__type" }, - "729": { + "748": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/index.ts", "qualifiedName": "__type.order" }, - "730": { + "749": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/index.ts", "qualifiedName": "AdminOrdersListRes" }, - "731": { + "750": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/index.ts", "qualifiedName": "__type" }, - "732": { + "751": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/index.ts", "qualifiedName": "__type.orders" }, - "733": { + "752": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/index.ts", "qualifiedName": "filterableAdminOrdersFields" }, - "734": { + "753": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/index.ts", "qualifiedName": "AvailableOrderIncludes" }, - "735": { + "754": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/index.ts", "qualifiedName": "__object" }, - "736": { + "755": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/index.ts", "qualifiedName": "__object.RETURNABLE_ITEMS" }, - "737": { + "756": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/index.ts", "qualifiedName": "allowedOrderIncludes" }, - "738": { + "757": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/add-shipping-method.ts", "qualifiedName": "AdminPostOrdersOrderShippingMethodsReq" }, - "741": { + "760": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/add-shipping-method.ts", "qualifiedName": "AdminPostOrdersOrderShippingMethodsReq.price" }, - "742": { + "761": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/add-shipping-method.ts", "qualifiedName": "AdminPostOrdersOrderShippingMethodsReq.option_id" }, - "743": { + "762": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/add-shipping-method.ts", "qualifiedName": "AdminPostOrdersOrderShippingMethodsReq.data" }, - "744": { + "763": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/add-shipping-method.ts", "qualifiedName": "AdminPostOrdersOrderShippingMethodsParams" }, - "747": { + "766": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "748": { + "767": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "749": { + "768": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/archive-order.ts", "qualifiedName": "AdminPostOrdersOrderArchiveParams" }, - "752": { + "771": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "753": { + "772": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "754": { + "773": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/cancel-claim.ts", "qualifiedName": "AdminPostOrdersClaimCancel" }, - "757": { + "776": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "758": { + "777": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "759": { + "778": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/cancel-fulfillment.ts", "qualifiedName": "adjustInventoryForCancelledFulfillment" }, - "760": { + "779": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/cancel-fulfillment.ts", "qualifiedName": "adjustInventoryForCancelledFulfillment" }, - "761": { + "780": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/cancel-fulfillment.ts", "qualifiedName": "fulfillment" }, - "762": { + "781": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/cancel-fulfillment.ts", "qualifiedName": "context" }, - "763": { + "782": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/cancel-fulfillment.ts", "qualifiedName": "__type" }, - "764": { + "783": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/cancel-fulfillment.ts", "qualifiedName": "__type.productVariantInventoryService" }, - "765": { + "784": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/cancel-fulfillment.ts", "qualifiedName": "AdminPostOrdersOrderFulfillementsCancelParams" }, - "768": { + "787": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "769": { + "788": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "770": { + "789": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/cancel-fulfillment-claim.ts", "qualifiedName": "AdminPostOrdersClaimFulfillmentsCancelParams" }, - "773": { + "792": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "774": { + "793": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "775": { + "794": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/cancel-fulfillment-swap.ts", "qualifiedName": "AdminPostOrdersOrderSwapFulfillementsCancelParams" }, - "778": { + "797": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "779": { + "798": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "780": { + "799": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/cancel-order.ts", "qualifiedName": "AdminPostOrdersOrderCancel" }, - "783": { + "802": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "784": { + "803": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "785": { + "804": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/cancel-swap.ts", "qualifiedName": "AdminPostOrdersSwapCancelParams" }, - "788": { + "807": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "789": { + "808": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "790": { + "809": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/capture-payment.ts", "qualifiedName": "AdminPostOrdersOrderCaptureParams" }, - "793": { + "812": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "794": { + "813": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "795": { + "814": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/complete-order.ts", "qualifiedName": "AdminPostOrdersOrderCompleteParams" }, - "798": { + "817": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "799": { + "818": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "800": { + "819": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsReq" }, - "803": { + "822": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsReq.type" }, - "804": { + "823": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsReq.claim_items" }, - "805": { + "824": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsReq.return_shipping" }, - "806": { + "825": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsReq.additional_items" }, - "807": { + "826": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsReq.shipping_methods" }, - "808": { + "827": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsReq.refund_amount" }, - "809": { + "828": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsReq.shipping_address" }, - "810": { + "829": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsReq.no_notification" }, - "811": { + "830": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsReq.return_location_id" }, - "812": { + "831": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsReq.metadata" }, - "813": { + "832": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsParams" }, - "816": { + "835": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "817": { + "836": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "818": { + "837": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim-shipment.ts", "qualifiedName": "AdminPostOrdersOrderClaimsClaimShipmentsReq" }, - "821": { + "840": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim-shipment.ts", "qualifiedName": "AdminPostOrdersOrderClaimsClaimShipmentsReq.fulfillment_id" }, - "822": { + "841": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim-shipment.ts", "qualifiedName": "AdminPostOrdersOrderClaimsClaimShipmentsReq.tracking_numbers" }, - "823": { + "842": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim-shipment.ts", "qualifiedName": "AdminPostOrdersOrderClaimsClaimShipmentsParams" }, - "826": { + "845": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "827": { + "846": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "828": { + "847": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts", "qualifiedName": "updateInventoryAndReservations" }, - "829": { + "848": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts", "qualifiedName": "updateInventoryAndReservations" }, - "830": { + "849": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts", "qualifiedName": "fulfillments" }, - "831": { + "850": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts", "qualifiedName": "context" }, - "832": { + "851": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts", "qualifiedName": "__type" }, - "833": { + "852": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts", "qualifiedName": "__type.inventoryService" }, - "834": { + "853": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts", "qualifiedName": "__type.locationId" }, - "835": { + "854": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts", "qualifiedName": "AdminPostOrdersOrderFulfillmentsReq" }, - "838": { + "857": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts", "qualifiedName": "AdminPostOrdersOrderFulfillmentsReq.items" }, - "839": { + "858": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts", "qualifiedName": "AdminPostOrdersOrderFulfillmentsReq.location_id" }, - "840": { + "859": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts", "qualifiedName": "AdminPostOrdersOrderFulfillmentsReq.no_notification" }, - "841": { + "860": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts", "qualifiedName": "AdminPostOrdersOrderFulfillmentsReq.metadata" }, - "842": { + "861": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts", "qualifiedName": "AdminPostOrdersOrderFulfillmentsParams" }, - "845": { + "864": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "846": { + "865": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "847": { + "866": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-shipment.ts", "qualifiedName": "AdminPostOrdersOrderShipmentReq" }, - "850": { + "869": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-shipment.ts", "qualifiedName": "AdminPostOrdersOrderShipmentReq.fulfillment_id" }, - "851": { + "870": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-shipment.ts", "qualifiedName": "AdminPostOrdersOrderShipmentReq.tracking_numbers" }, - "852": { + "871": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-shipment.ts", "qualifiedName": "AdminPostOrdersOrderShipmentReq.no_notification" }, - "853": { + "872": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-shipment.ts", "qualifiedName": "AdminPostOrdersOrderShipmentParams" }, - "856": { + "875": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "857": { + "876": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "858": { + "877": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "AdminPostOrdersOrderSwapsReq" }, - "861": { + "880": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "AdminPostOrdersOrderSwapsReq.return_items" }, - "862": { + "881": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "AdminPostOrdersOrderSwapsReq.return_shipping" }, - "863": { + "882": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "AdminPostOrdersOrderSwapsReq.sales_channel_id" }, - "864": { + "883": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "AdminPostOrdersOrderSwapsReq.additional_items" }, - "865": { + "884": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "AdminPostOrdersOrderSwapsReq.custom_shipping_options" }, - "866": { + "885": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "AdminPostOrdersOrderSwapsReq.no_notification" }, - "867": { + "886": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "AdminPostOrdersOrderSwapsReq.return_location_id" }, - "868": { + "887": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "AdminPostOrdersOrderSwapsReq.allow_backorder" }, - "869": { + "888": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "AdminPostOrdersOrderSwapsParams" }, - "872": { + "891": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "873": { + "892": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "874": { + "893": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap-shipment.ts", "qualifiedName": "AdminPostOrdersOrderSwapsSwapShipmentsReq" }, - "877": { + "896": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap-shipment.ts", "qualifiedName": "AdminPostOrdersOrderSwapsSwapShipmentsReq.fulfillment_id" }, - "878": { + "897": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap-shipment.ts", "qualifiedName": "AdminPostOrdersOrderSwapsSwapShipmentsReq.tracking_numbers" }, - "879": { + "898": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap-shipment.ts", "qualifiedName": "AdminPostOrdersOrderSwapsSwapShipmentsReq.no_notification" }, - "880": { + "899": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap-shipment.ts", "qualifiedName": "AdminPostOrdersOrderSwapsSwapShipmentsParams" }, - "883": { + "902": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "884": { + "903": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "885": { + "904": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/fulfill-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsClaimFulfillmentsReq" }, - "888": { + "907": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/fulfill-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsClaimFulfillmentsReq.metadata" }, - "889": { + "908": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/fulfill-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsClaimFulfillmentsReq.no_notification" }, - "890": { + "909": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/fulfill-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsClaimFulfillmentsReq.location_id" }, - "891": { + "910": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/fulfill-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsClaimFulfillmentsParams" }, - "894": { + "913": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "895": { + "914": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "896": { + "915": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/fulfill-swap.ts", "qualifiedName": "AdminPostOrdersOrderSwapsSwapFulfillmentsReq" }, - "899": { + "918": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/fulfill-swap.ts", "qualifiedName": "AdminPostOrdersOrderSwapsSwapFulfillmentsReq.metadata" }, - "900": { + "919": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/fulfill-swap.ts", "qualifiedName": "AdminPostOrdersOrderSwapsSwapFulfillmentsReq.no_notification" }, - "901": { + "920": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/fulfill-swap.ts", "qualifiedName": "AdminPostOrdersOrderSwapsSwapFulfillmentsReq.location_id" }, - "902": { + "921": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/fulfill-swap.ts", "qualifiedName": "AdminPostOrdersOrderSwapsSwapFulfillmentsParams" }, - "905": { + "924": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "906": { + "925": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "907": { + "926": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/get-order.ts", "qualifiedName": "AdminGetOrdersOrderParams" }, - "910": { + "929": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "911": { + "930": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "912": { + "931": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/list-orders.ts", "qualifiedName": "AdminGetOrdersParams" }, - "915": { + "934": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/list-orders.ts", "qualifiedName": "AdminGetOrdersParams.offset" }, - "916": { + "935": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/list-orders.ts", "qualifiedName": "AdminGetOrdersParams.limit" }, - "917": { + "936": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/list-orders.ts", "qualifiedName": "AdminGetOrdersParams.expand" }, - "918": { + "937": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/list-orders.ts", "qualifiedName": "AdminGetOrdersParams.fields" }, - "919": { + "938": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/list-orders.ts", "qualifiedName": "AdminGetOrdersParams.order" }, - "920": { + "939": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.q" }, - "921": { + "940": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.id" }, - "922": { + "941": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.status" }, - "923": { + "942": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.fulfillment_status" }, - "924": { + "943": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.payment_status" }, - "925": { + "944": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.display_id" }, - "926": { + "945": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.cart_id" }, - "927": { + "946": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.customer_id" }, - "928": { + "947": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.email" }, - "929": { + "948": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.region_id" }, - "930": { + "949": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.currency_code" }, - "931": { + "950": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.tax_rate" }, - "932": { + "951": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.sales_channel_id" }, - "933": { + "952": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.canceled_at" }, - "934": { + "953": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.created_at" }, - "935": { + "954": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.updated_at" }, - "936": { + "955": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/process-swap-payment.ts", "qualifiedName": "AdminPostOrdersOrderSwapsSwapProcessPaymentParams" }, - "939": { + "958": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "940": { + "959": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "941": { + "960": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/refund-payment.ts", "qualifiedName": "AdminPostOrdersOrderRefundsReq" }, - "944": { + "963": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/refund-payment.ts", "qualifiedName": "AdminPostOrdersOrderRefundsReq.amount" }, - "945": { + "964": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/refund-payment.ts", "qualifiedName": "AdminPostOrdersOrderRefundsReq.reason" }, - "946": { + "965": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/refund-payment.ts", "qualifiedName": "AdminPostOrdersOrderRefundsReq.note" }, - "947": { + "966": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/refund-payment.ts", "qualifiedName": "AdminPostOrdersOrderRefundsReq.no_notification" }, - "948": { + "967": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/refund-payment.ts", "qualifiedName": "AdminPostOrdersOrderRefundsParams" }, - "951": { + "970": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "952": { + "971": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "953": { + "972": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/request-return.ts", "qualifiedName": "AdminPostOrdersOrderReturnsReq" }, - "956": { + "975": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/request-return.ts", "qualifiedName": "AdminPostOrdersOrderReturnsReq.items" }, - "957": { + "976": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/request-return.ts", "qualifiedName": "AdminPostOrdersOrderReturnsReq.return_shipping" }, - "958": { + "977": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/request-return.ts", "qualifiedName": "AdminPostOrdersOrderReturnsReq.note" }, - "959": { + "978": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/request-return.ts", "qualifiedName": "AdminPostOrdersOrderReturnsReq.receive_now" }, - "960": { + "979": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/request-return.ts", "qualifiedName": "AdminPostOrdersOrderReturnsReq.no_notification" }, - "961": { + "980": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/request-return.ts", "qualifiedName": "AdminPostOrdersOrderReturnsReq.refund" }, - "962": { + "981": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/request-return.ts", "qualifiedName": "AdminPostOrdersOrderReturnsReq.location_id" }, - "963": { + "982": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/request-return.ts", "qualifiedName": "AdminPostOrdersOrderReturnsParams" }, - "966": { + "985": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "967": { + "986": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "968": { + "987": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsClaimReq" }, - "971": { + "990": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsClaimReq.claim_items" }, - "972": { + "991": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsClaimReq.shipping_methods" }, - "973": { + "992": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsClaimReq.no_notification" }, - "974": { + "993": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsClaimReq.metadata" }, - "975": { + "994": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "AdminPostOrdersOrderClaimsClaimParams" }, - "978": { + "997": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "979": { + "998": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "980": { + "999": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "AdminPostOrdersOrderReq" }, - "983": { + "1002": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "AdminPostOrdersOrderReq.email" }, - "984": { + "1003": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "AdminPostOrdersOrderReq.billing_address" }, - "985": { + "1004": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "AdminPostOrdersOrderReq.shipping_address" }, - "986": { + "1005": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "AdminPostOrdersOrderReq.items" }, - "987": { + "1006": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "AdminPostOrdersOrderReq.region" }, - "988": { + "1007": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "AdminPostOrdersOrderReq.discounts" }, - "989": { + "1008": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "AdminPostOrdersOrderReq.customer_id" }, - "990": { + "1009": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "AdminPostOrdersOrderReq.payment_method" }, - "991": { + "1010": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "AdminPostOrdersOrderReq.shipping_method" }, - "992": { + "1011": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "AdminPostOrdersOrderReq.no_notification" }, - "993": { + "1012": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "AdminPostOrdersOrderParams" }, - "996": { + "1015": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "997": { + "1016": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "998": { + "1017": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payment-collections/index.ts", "qualifiedName": "defaultPaymentCollectionFields" }, - "999": { + "1018": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payment-collections/index.ts", "qualifiedName": "defaulPaymentCollectionRelations" }, - "1000": { + "1019": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payment-collections/index.ts", "qualifiedName": "AdminPaymentCollectionsRes" }, - "1001": { + "1020": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payment-collections/index.ts", "qualifiedName": "__type" }, - "1002": { + "1021": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payment-collections/index.ts", "qualifiedName": "__type.payment_collection" }, - "1003": { + "1022": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payment-collections/index.ts", "qualifiedName": "AdminPaymentCollectionDeleteRes" }, - "1004": { + "1023": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payment-collections/index.ts", "qualifiedName": "__type" }, - "1005": { + "1024": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payment-collections/index.ts", "qualifiedName": "__type.id" }, - "1006": { + "1025": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payment-collections/index.ts", "qualifiedName": "__type.object" }, - "1007": { + "1026": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payment-collections/index.ts", "qualifiedName": "__type.deleted" }, - "1008": { + "1027": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payment-collections/get-payment-collection.ts", "qualifiedName": "AdminGetPaymentCollectionsParams" }, - "1011": { + "1030": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "1012": { + "1031": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "1013": { + "1032": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payment-collections/update-payment-collection.ts", "qualifiedName": "AdminUpdatePaymentCollectionsReq" }, - "1016": { + "1035": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payment-collections/update-payment-collection.ts", "qualifiedName": "AdminUpdatePaymentCollectionsReq.description" }, - "1017": { + "1036": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payment-collections/update-payment-collection.ts", "qualifiedName": "AdminUpdatePaymentCollectionsReq.metadata" }, - "1018": { + "1037": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payments/index.ts", "qualifiedName": "defaultPaymentFields" }, - "1019": { + "1038": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payments/index.ts", "qualifiedName": "AdminPaymentRes" }, - "1020": { + "1039": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payments/index.ts", "qualifiedName": "__type" }, - "1021": { + "1040": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payments/index.ts", "qualifiedName": "__type.payment" }, - "1022": { + "1041": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payments/index.ts", "qualifiedName": "AdminRefundRes" }, - "1023": { + "1042": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payments/index.ts", "qualifiedName": "__type" }, - "1024": { + "1043": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payments/index.ts", "qualifiedName": "__type.refund" }, - "1025": { + "1044": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payments/get-payment.ts", "qualifiedName": "GetPaymentsParams" }, - "1028": { + "1047": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "1029": { + "1048": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "1030": { + "1049": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payments/refund-payment.ts", "qualifiedName": "AdminPostPaymentRefundsReq" }, - "1033": { + "1052": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payments/refund-payment.ts", "qualifiedName": "AdminPostPaymentRefundsReq.amount" }, - "1034": { + "1053": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payments/refund-payment.ts", "qualifiedName": "AdminPostPaymentRefundsReq.reason" }, - "1035": { + "1054": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/payments/refund-payment.ts", "qualifiedName": "AdminPostPaymentRefundsReq.note" }, - "1036": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "defaultAdminPriceListRemoteQueryObject" - }, - "1037": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object" - }, - "1038": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object.fields" - }, - "1039": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object.price_list_rules" - }, - "1040": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object" - }, - "1041": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object.price_list_rule_values" - }, - "1042": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object" - }, - "1043": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object.fields" - }, - "1044": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object.rule_type" - }, - "1045": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object" - }, - "1046": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object.fields" - }, - "1047": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object.price_set_money_amounts" - }, - "1048": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object" - }, - "1049": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object.money_amount" - }, - "1050": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object" - }, - "1051": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object.fields" - }, - "1052": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object.price_rules" - }, - "1053": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object" - }, - "1054": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object.fields" - }, "1055": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object.rule_type" - }, - "1056": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object" - }, - "1057": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object.fields" - }, - "1058": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object.price_set" - }, - "1059": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object" - }, - "1060": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object.variant_link" - }, - "1061": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object" - }, - "1062": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object.variant" - }, - "1063": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object" - }, - "1064": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", - "qualifiedName": "__object.fields" - }, - "1065": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", "qualifiedName": "defaultAdminPriceListFields" }, - "1066": { + "1056": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", "qualifiedName": "defaultAdminPriceListRelations" }, - "1067": { + "1057": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", "qualifiedName": "AdminPriceListRes" }, - "1068": { + "1058": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", "qualifiedName": "__type" }, - "1069": { + "1059": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", "qualifiedName": "__type.price_list" }, - "1070": { + "1060": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", "qualifiedName": "AdminPriceListDeleteBatchRes" }, - "1071": { + "1061": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", "qualifiedName": "__type" }, - "1072": { + "1062": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", "qualifiedName": "__type.ids" }, - "1073": { + "1063": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", "qualifiedName": "__type.deleted" }, - "1074": { + "1064": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", "qualifiedName": "__type.object" }, - "1075": { + "1065": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", "qualifiedName": "AdminPriceListDeleteProductPricesRes" }, - "1076": { + "1066": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", "qualifiedName": "AdminPriceListDeleteVariantPricesRes" }, - "1077": { + "1067": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", "qualifiedName": "AdminPriceListDeleteRes" }, - "1078": { + "1068": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", "qualifiedName": "AdminPriceListsListRes" }, - "1079": { + "1069": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", "qualifiedName": "__type" }, - "1080": { + "1070": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", "qualifiedName": "__type.price_lists" }, - "1081": { + "1071": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", "qualifiedName": "AdminPriceListsProductsListRes" }, - "1082": { + "1072": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", "qualifiedName": "__type" }, - "1083": { + "1073": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/index.ts", "qualifiedName": "__type.products" }, - "1084": { + "1074": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/add-prices-batch.ts", "qualifiedName": "AdminPostPriceListPricesPricesReq" }, - "1087": { + "1077": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/add-prices-batch.ts", "qualifiedName": "AdminPostPriceListPricesPricesReq.prices" }, - "1088": { + "1078": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/add-prices-batch.ts", "qualifiedName": "AdminPostPriceListPricesPricesReq.override" }, - "1089": { + "1079": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/create-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListReq" }, - "1092": { + "1082": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/create-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListReq.name" }, - "1093": { + "1083": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/create-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListReq.description" }, - "1094": { + "1084": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/create-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListReq.starts_at" }, - "1095": { + "1085": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/create-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListReq.ends_at" }, - "1096": { + "1086": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/create-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListReq.status" }, - "1097": { + "1087": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/create-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListReq.type" }, - "1098": { + "1088": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/create-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListReq.prices" }, - "1099": { + "1089": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/create-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListReq.customer_groups" }, - "1100": { + "1090": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/create-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListReq.includes_tax" }, - "1101": { + "1091": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/delete-prices-batch.ts", "qualifiedName": "AdminDeletePriceListPricesPricesReq" }, - "1104": { + "1094": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/delete-prices-batch.ts", "qualifiedName": "AdminDeletePriceListPricesPricesReq.price_ids" }, - "1105": { + "1095": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/delete-products-prices-batch.ts", "qualifiedName": "AdminDeletePriceListsPriceListProductsPricesBatchReq" }, - "1108": { + "1098": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/delete-products-prices-batch.ts", "qualifiedName": "AdminDeletePriceListsPriceListProductsPricesBatchReq.product_ids" }, - "1109": { + "1099": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-list-products.ts", "qualifiedName": "AdminGetPriceListsPriceListProductsParams" }, - "1110": { + "1100": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.__new" }, - "1111": { + "1101": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "AdminGetPriceListsPriceListProductsParams" }, - "1112": { + "1102": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "args" }, - "1113": { + "1103": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-list-products.ts", "qualifiedName": "AdminGetPriceListsPriceListProductsParams.id" }, - "1114": { + "1104": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-list-products.ts", "qualifiedName": "AdminGetPriceListsPriceListProductsParams.q" }, - "1115": { + "1105": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-list-products.ts", "qualifiedName": "AdminGetPriceListsPriceListProductsParams.status" }, - "1116": { + "1106": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-list-products.ts", "qualifiedName": "AdminGetPriceListsPriceListProductsParams.collection_id" }, - "1117": { + "1107": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-list-products.ts", "qualifiedName": "AdminGetPriceListsPriceListProductsParams.tags" }, - "1118": { + "1108": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-list-products.ts", "qualifiedName": "AdminGetPriceListsPriceListProductsParams.title" }, - "1119": { + "1109": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-list-products.ts", "qualifiedName": "AdminGetPriceListsPriceListProductsParams.description" }, - "1120": { + "1110": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-list-products.ts", "qualifiedName": "AdminGetPriceListsPriceListProductsParams.handle" }, - "1121": { + "1111": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-list-products.ts", "qualifiedName": "AdminGetPriceListsPriceListProductsParams.is_giftcard" }, - "1122": { + "1112": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-list-products.ts", "qualifiedName": "AdminGetPriceListsPriceListProductsParams.type" }, - "1123": { + "1113": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-list-products.ts", "qualifiedName": "AdminGetPriceListsPriceListProductsParams.order" }, - "1124": { + "1114": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-list-products.ts", "qualifiedName": "AdminGetPriceListsPriceListProductsParams.created_at" }, - "1125": { + "1115": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-list-products.ts", "qualifiedName": "AdminGetPriceListsPriceListProductsParams.updated_at" }, - "1126": { + "1116": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-list-products.ts", "qualifiedName": "AdminGetPriceListsPriceListProductsParams.deleted_at" }, - "1127": { + "1117": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "1128": { + "1118": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "1129": { + "1119": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.offset" }, - "1130": { + "1120": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.limit" }, - "1131": { + "1121": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-lists.ts", "qualifiedName": "AdminGetPriceListPaginationParams" }, - "1134": { + "1124": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-lists.ts", "qualifiedName": "AdminGetPriceListPaginationParams.offset" }, - "1135": { + "1125": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-lists.ts", "qualifiedName": "AdminGetPriceListPaginationParams.limit" }, - "1136": { + "1126": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-lists.ts", "qualifiedName": "AdminGetPriceListPaginationParams.expand" }, - "1137": { + "1127": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/list-price-lists.ts", "qualifiedName": "AdminGetPriceListPaginationParams.order" }, - "1138": { + "1128": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.id" }, - "1139": { + "1129": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.q" }, - "1140": { + "1130": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.status" }, - "1141": { + "1131": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.name" }, - "1142": { + "1132": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.customer_groups" }, - "1143": { + "1133": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.description" }, - "1144": { + "1134": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.type" }, - "1145": { + "1135": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.created_at" }, - "1146": { + "1136": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.updated_at" }, - "1147": { + "1137": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.deleted_at" }, - "1148": { + "1138": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/update-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListPriceListReq" }, - "1151": { + "1141": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/update-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListPriceListReq.name" }, - "1152": { + "1142": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/update-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListPriceListReq.description" }, - "1153": { + "1143": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/update-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListPriceListReq.starts_at" }, - "1154": { + "1144": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/update-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListPriceListReq.ends_at" }, - "1155": { + "1145": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/update-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListPriceListReq.status" }, - "1156": { + "1146": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/update-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListPriceListReq.type" }, - "1157": { + "1147": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/update-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListPriceListReq.prices" }, - "1158": { + "1148": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/update-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListPriceListReq.customer_groups" }, - "1159": { + "1149": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/update-price-list.ts", "qualifiedName": "AdminPostPriceListsPriceListPriceListReq.includes_tax" }, - "1160": { + "1150": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/index.ts", "qualifiedName": "defaultAdminProductCategoryRelations" }, - "1161": { + "1151": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/index.ts", "qualifiedName": "allowedAdminProductCategoryRelations" }, - "1162": { + "1152": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/index.ts", "qualifiedName": "defaultProductCategoryFields" }, - "1163": { + "1153": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/index.ts", "qualifiedName": "AdminProductCategoriesCategoryRes" }, - "1164": { + "1154": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/index.ts", "qualifiedName": "__type" }, - "1165": { + "1155": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/index.ts", "qualifiedName": "__type.product_category" }, - "1166": { + "1156": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/index.ts", "qualifiedName": "AdminProductCategoriesCategoryDeleteRes" }, - "1167": { + "1157": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/index.ts", "qualifiedName": "AdminProductCategoriesListRes" }, - "1168": { + "1158": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/index.ts", "qualifiedName": "__type" }, - "1169": { + "1159": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/index.ts", "qualifiedName": "__type.product_categories" }, - "1170": { + "1160": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/get-product-category.ts", "qualifiedName": "AdminGetProductCategoryParams" }, - "1173": { + "1163": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "1174": { + "1164": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "1175": { + "1165": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/list-product-categories.ts", "qualifiedName": "AdminGetProductCategoriesParams" }, - "1176": { + "1166": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.__new" }, - "1177": { + "1167": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "AdminGetProductCategoriesParams" }, - "1178": { + "1168": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "args" }, - "1179": { + "1169": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/list-product-categories.ts", "qualifiedName": "AdminGetProductCategoriesParams.q" }, - "1180": { + "1170": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/list-product-categories.ts", "qualifiedName": "AdminGetProductCategoriesParams.handle" }, - "1181": { + "1171": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/list-product-categories.ts", "qualifiedName": "AdminGetProductCategoriesParams.include_descendants_tree" }, - "1182": { + "1172": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/list-product-categories.ts", "qualifiedName": "AdminGetProductCategoriesParams.is_internal" }, - "1183": { + "1173": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/list-product-categories.ts", "qualifiedName": "AdminGetProductCategoriesParams.is_active" }, - "1184": { + "1174": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/list-product-categories.ts", "qualifiedName": "AdminGetProductCategoriesParams.parent_category_id" }, - "1185": { + "1175": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "1186": { + "1176": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "1187": { + "1177": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.offset" }, - "1188": { + "1178": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.limit" }, - "1189": { + "1179": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindPaginationParams.order" + }, + "1180": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/create-product-category.ts", "qualifiedName": "AdminPostProductCategoriesReq" }, - "1192": { + "1183": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/create-product-category.ts", "qualifiedName": "AdminPostProductCategoriesReq.name" }, - "1193": { + "1184": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/create-product-category.ts", "qualifiedName": "AdminPostProductCategoriesReq.metadata" }, - "1194": { + "1185": { "sourceFileName": "../../../packages/medusa/src/types/product-category.ts", "qualifiedName": "AdminProductCategoriesReqBase.description" }, - "1195": { + "1186": { "sourceFileName": "../../../packages/medusa/src/types/product-category.ts", "qualifiedName": "AdminProductCategoriesReqBase.handle" }, - "1196": { + "1187": { "sourceFileName": "../../../packages/medusa/src/types/product-category.ts", "qualifiedName": "AdminProductCategoriesReqBase.is_internal" }, - "1197": { + "1188": { "sourceFileName": "../../../packages/medusa/src/types/product-category.ts", "qualifiedName": "AdminProductCategoriesReqBase.is_active" }, - "1198": { + "1189": { "sourceFileName": "../../../packages/medusa/src/types/product-category.ts", "qualifiedName": "AdminProductCategoriesReqBase.parent_category_id" }, - "1199": { + "1190": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/create-product-category.ts", "qualifiedName": "AdminPostProductCategoriesParams" }, - "1202": { + "1193": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "1203": { + "1194": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "1204": { + "1195": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/update-product-category.ts", "qualifiedName": "AdminPostProductCategoriesCategoryReq" }, - "1207": { + "1198": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/update-product-category.ts", "qualifiedName": "AdminPostProductCategoriesCategoryReq.name" }, - "1208": { + "1199": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/update-product-category.ts", "qualifiedName": "AdminPostProductCategoriesCategoryReq.handle" }, - "1209": { + "1200": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/update-product-category.ts", "qualifiedName": "AdminPostProductCategoriesCategoryReq.rank" }, - "1210": { + "1201": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/update-product-category.ts", "qualifiedName": "AdminPostProductCategoriesCategoryReq.metadata" }, - "1211": { + "1202": { "sourceFileName": "../../../packages/medusa/src/types/product-category.ts", "qualifiedName": "AdminProductCategoriesReqBase.description" }, - "1212": { + "1203": { "sourceFileName": "../../../packages/medusa/src/types/product-category.ts", "qualifiedName": "AdminProductCategoriesReqBase.is_internal" }, - "1213": { + "1204": { "sourceFileName": "../../../packages/medusa/src/types/product-category.ts", "qualifiedName": "AdminProductCategoriesReqBase.is_active" }, - "1214": { + "1205": { "sourceFileName": "../../../packages/medusa/src/types/product-category.ts", "qualifiedName": "AdminProductCategoriesReqBase.parent_category_id" }, - "1215": { + "1206": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/update-product-category.ts", "qualifiedName": "AdminPostProductCategoriesCategoryParams" }, - "1218": { + "1209": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "1219": { + "1210": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "1220": { + "1211": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/add-products-batch.ts", "qualifiedName": "AdminPostProductCategoriesCategoryProductsBatchReq" }, - "1223": { + "1214": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/add-products-batch.ts", "qualifiedName": "AdminPostProductCategoriesCategoryProductsBatchReq.product_ids" }, - "1224": { + "1215": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/add-products-batch.ts", "qualifiedName": "AdminPostProductCategoriesCategoryProductsBatchParams" }, - "1227": { + "1218": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "1228": { + "1219": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "1229": { + "1220": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/delete-products-batch.ts", "qualifiedName": "AdminDeleteProductCategoriesCategoryProductsBatchReq" }, - "1232": { + "1223": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/delete-products-batch.ts", "qualifiedName": "AdminDeleteProductCategoriesCategoryProductsBatchReq.product_ids" }, - "1233": { + "1224": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-categories/delete-products-batch.ts", "qualifiedName": "AdminDeleteProductCategoriesCategoryProductsBatchParams" }, - "1236": { + "1227": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "1237": { + "1228": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "1238": { + "1229": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-tags/index.ts", "qualifiedName": "defaultAdminProductTagsFields" }, - "1239": { + "1230": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-tags/index.ts", "qualifiedName": "defaultAdminProductTagsRelations" }, - "1240": { + "1231": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-tags/index.ts", "qualifiedName": "AdminProductTagsListRes" }, - "1241": { + "1232": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-tags/index.ts", "qualifiedName": "__type" }, - "1242": { + "1233": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-tags/index.ts", "qualifiedName": "__type.product_tags" }, - "1243": { + "1234": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-tags/list-product-tags.ts", "qualifiedName": "AdminGetProductTagsPaginationParams" }, - "1246": { + "1237": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-tags/list-product-tags.ts", "qualifiedName": "AdminGetProductTagsPaginationParams.limit" }, - "1247": { + "1238": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-tags/list-product-tags.ts", "qualifiedName": "AdminGetProductTagsPaginationParams.offset" }, - "1248": { + "1239": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-tags/list-product-tags.ts", "qualifiedName": "AdminGetProductTagsParams" }, - "1251": { + "1242": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-tags/list-product-tags.ts", "qualifiedName": "AdminGetProductTagsParams.id" }, - "1252": { + "1243": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-tags/list-product-tags.ts", "qualifiedName": "AdminGetProductTagsParams.q" }, - "1253": { + "1244": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-tags/list-product-tags.ts", "qualifiedName": "AdminGetProductTagsParams.value" }, - "1254": { + "1245": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-tags/list-product-tags.ts", "qualifiedName": "AdminGetProductTagsParams.created_at" }, - "1255": { + "1246": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-tags/list-product-tags.ts", "qualifiedName": "AdminGetProductTagsParams.updated_at" }, - "1256": { + "1247": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-tags/list-product-tags.ts", "qualifiedName": "AdminGetProductTagsParams.order" }, - "1257": { + "1248": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-tags/list-product-tags.ts", "qualifiedName": "AdminGetProductTagsParams.discount_condition_id" }, - "1258": { + "1249": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-tags/list-product-tags.ts", "qualifiedName": "AdminGetProductTagsPaginationParams.limit" }, - "1259": { + "1250": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-tags/list-product-tags.ts", "qualifiedName": "AdminGetProductTagsPaginationParams.offset" }, - "1260": { + "1251": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-types/index.ts", "qualifiedName": "defaultAdminProductTypeFields" }, - "1261": { + "1252": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-types/index.ts", "qualifiedName": "defaultAdminProductTypeRelations" }, - "1262": { + "1253": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-types/index.ts", "qualifiedName": "AdminProductTypesListRes" }, - "1263": { + "1254": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-types/index.ts", "qualifiedName": "__type" }, - "1264": { + "1255": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-types/index.ts", "qualifiedName": "__type.product_types" }, - "1265": { + "1256": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-types/list-product-types.ts", "qualifiedName": "AdminGetProductTypesParams" }, - "1268": { + "1259": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-types/list-product-types.ts", "qualifiedName": "AdminGetProductTypesParams.id" }, - "1269": { + "1260": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-types/list-product-types.ts", "qualifiedName": "AdminGetProductTypesParams.q" }, - "1270": { + "1261": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-types/list-product-types.ts", "qualifiedName": "AdminGetProductTypesParams.value" }, - "1271": { + "1262": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-types/list-product-types.ts", "qualifiedName": "AdminGetProductTypesParams.created_at" }, - "1272": { + "1263": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-types/list-product-types.ts", "qualifiedName": "AdminGetProductTypesParams.updated_at" }, - "1273": { + "1264": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-types/list-product-types.ts", "qualifiedName": "AdminGetProductTypesParams.order" }, - "1274": { + "1265": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/product-types/list-product-types.ts", "qualifiedName": "AdminGetProductTypesParams.discount_condition_id" }, - "1275": { + "1266": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.offset" }, - "1276": { + "1267": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.limit" }, - "1277": { + "1268": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "defaultAdminProductRelations" }, - "1278": { + "1269": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "defaultAdminProductFields" }, - "1279": { + "1270": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "defaultAdminGetProductsVariantsFields" }, - "1280": { + "1271": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", + "qualifiedName": "defaultAdminGetProductsVariantsRelations" + }, + "1272": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "defaultAdminProductRemoteQueryObject" }, - "1281": { + "1273": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object" }, - "1282": { + "1274": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.fields" }, - "1283": { + "1275": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.images" }, - "1284": { + "1276": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object" }, - "1285": { + "1277": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.fields" }, - "1286": { + "1278": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.tags" }, - "1287": { + "1279": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object" }, - "1288": { + "1280": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.fields" }, - "1289": { + "1281": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.type" }, - "1290": { + "1282": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object" }, - "1291": { + "1283": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.fields" }, - "1292": { + "1284": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.collection" }, - "1293": { + "1285": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object" }, - "1294": { + "1286": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.fields" }, - "1295": { + "1287": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.categories" }, - "1296": { + "1288": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object" }, - "1297": { + "1289": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.fields" }, - "1298": { + "1290": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.options" }, - "1299": { + "1291": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object" }, - "1300": { + "1292": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.fields" }, - "1301": { + "1293": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.values" }, - "1302": { + "1294": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object" }, - "1303": { + "1295": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.fields" }, - "1304": { + "1296": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.variants" }, - "1305": { + "1297": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object" }, - "1306": { + "1298": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.fields" }, - "1307": { + "1299": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.options" }, - "1308": { + "1300": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object" }, - "1309": { + "1301": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.fields" }, - "1310": { + "1302": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.profile" }, - "1311": { + "1303": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object" }, - "1312": { + "1304": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.fields" }, - "1313": { + "1305": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.sales_channels" }, - "1314": { + "1306": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object" }, - "1315": { + "1307": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__object.fields" }, - "1316": { + "1308": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "AdminProductsDeleteOptionRes" }, - "1317": { + "1309": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type" }, - "1318": { + "1310": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type.option_id" }, - "1319": { + "1311": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type.object" }, - "1320": { + "1312": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type.deleted" }, - "1321": { + "1313": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type.product" }, - "1322": { + "1314": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "AdminProductsDeleteVariantRes" }, - "1323": { + "1315": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type" }, - "1324": { + "1316": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type.variant_id" }, - "1325": { + "1317": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type.object" }, - "1326": { + "1318": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type.deleted" }, - "1327": { + "1319": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type.product" }, - "1328": { + "1320": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "AdminProductsDeleteRes" }, - "1329": { + "1321": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type" }, - "1330": { + "1322": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type.id" }, - "1331": { + "1323": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type.object" }, - "1332": { + "1324": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type.deleted" }, - "1333": { + "1325": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "AdminProductsListRes" }, - "1334": { + "1326": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type" }, - "1335": { + "1327": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type.products" }, - "1336": { + "1328": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "AdminProductsListVariantsRes" }, - "1337": { + "1329": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type" }, - "1338": { + "1330": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type.variants" }, - "1339": { + "1331": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "AdminProductsListTypesRes" }, - "1340": { + "1332": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type" }, - "1341": { + "1333": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type.types" }, - "1342": { + "1334": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "AdminProductsListTagsRes" }, - "1343": { + "1335": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type" }, - "1344": { + "1336": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type.tags" }, - "1345": { + "1337": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type" }, - "1346": { + "1338": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type.usage_count" }, - "1347": { + "1339": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "AdminProductsRes" }, - "1348": { + "1340": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type" }, - "1349": { + "1341": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/index.ts", "qualifiedName": "__type.product" }, - "1350": { + "1342": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/add-option.ts", "qualifiedName": "AdminPostProductsProductOptionsReq" }, - "1353": { + "1345": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/add-option.ts", "qualifiedName": "AdminPostProductsProductOptionsReq.title" }, - "1354": { + "1346": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq" }, - "1357": { + "1347": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", + "qualifiedName": "AdminPostProductsReq.__constructor" + }, + "1348": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", + "qualifiedName": "AdminPostProductsReq" + }, + "1349": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.title" }, - "1358": { + "1350": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.subtitle" }, - "1359": { + "1351": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.description" }, - "1360": { + "1352": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.is_giftcard" }, - "1361": { + "1353": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.discountable" }, - "1362": { + "1354": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.images" }, - "1363": { + "1355": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.thumbnail" }, - "1364": { + "1356": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.handle" }, - "1365": { + "1357": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.status" }, - "1366": { + "1358": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.type" }, - "1367": { + "1359": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.collection_id" }, - "1368": { + "1360": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.tags" }, - "1369": { + "1361": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.sales_channels" }, - "1370": { + "1362": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.categories" }, - "1371": { + "1363": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.options" }, - "1372": { + "1364": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.variants" }, - "1373": { + "1365": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.weight" }, - "1374": { + "1366": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.length" }, - "1375": { + "1367": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.height" }, - "1376": { + "1368": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.width" }, - "1377": { + "1369": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.hs_code" }, - "1378": { + "1370": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.origin_country" }, - "1379": { + "1371": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.mid_code" }, - "1380": { + "1372": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.material" }, - "1381": { + "1373": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "AdminPostProductsReq.metadata" }, - "1382": { + "1374": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq" }, - "1385": { + "1377": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq.title" }, - "1386": { + "1378": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq.sku" }, - "1387": { + "1379": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq.ean" }, - "1388": { + "1380": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq.upc" }, - "1389": { + "1381": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq.barcode" }, - "1390": { + "1382": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq.hs_code" }, - "1391": { + "1383": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq.inventory_quantity" }, - "1392": { + "1384": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq.allow_backorder" }, - "1393": { + "1385": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq.manage_inventory" }, - "1394": { + "1386": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq.weight" }, - "1395": { + "1387": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq.length" }, - "1396": { + "1388": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq.height" }, - "1397": { + "1389": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq.width" }, - "1398": { + "1390": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq.origin_country" }, - "1399": { + "1391": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq.mid_code" }, - "1400": { + "1392": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq.material" }, - "1401": { + "1393": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq.metadata" }, - "1402": { + "1394": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq.prices" }, - "1403": { + "1395": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "AdminPostProductsProductVariantsReq.options" }, - "1404": { + "1396": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/get-product.ts", "qualifiedName": "AdminGetProductParams" }, - "1407": { + "1399": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "1408": { + "1400": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "1409": { + "1401": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/list-products.ts", "qualifiedName": "AdminGetProductsParams" }, - "1412": { + "1404": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/list-products.ts", "qualifiedName": "AdminGetProductsParams.offset" }, - "1413": { + "1405": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/list-products.ts", "qualifiedName": "AdminGetProductsParams.limit" }, - "1414": { + "1406": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/list-products.ts", "qualifiedName": "AdminGetProductsParams.expand" }, - "1415": { + "1407": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/list-products.ts", "qualifiedName": "AdminGetProductsParams.fields" }, - "1416": { + "1408": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/list-products.ts", "qualifiedName": "AdminGetProductsParams.order" }, - "1417": { + "1409": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.id" }, - "1418": { + "1410": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.q" }, - "1419": { + "1411": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.status" }, - "1420": { + "1412": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.price_list_id" }, - "1421": { + "1413": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.collection_id" }, - "1422": { + "1414": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.tags" }, - "1423": { + "1415": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.title" }, - "1424": { + "1416": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.description" }, - "1425": { + "1417": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.handle" }, - "1426": { + "1418": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.is_giftcard" }, - "1427": { + "1419": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.type_id" }, - "1428": { + "1420": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.sales_channel_id" }, - "1429": { + "1421": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.discount_condition_id" }, - "1430": { + "1422": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.category_id" }, - "1431": { + "1423": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.include_category_children" }, - "1432": { + "1424": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.created_at" }, - "1433": { + "1425": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.updated_at" }, - "1434": { + "1426": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.deleted_at" }, - "1435": { + "1427": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/list-variants.ts", "qualifiedName": "AdminGetProductsVariantsParams" }, - "1438": { + "1430": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/list-variants.ts", + "qualifiedName": "AdminGetProductsVariantsParams.id" + }, + "1431": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/list-variants.ts", "qualifiedName": "AdminGetProductsVariantsParams.fields" }, - "1439": { + "1432": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/list-variants.ts", "qualifiedName": "AdminGetProductsVariantsParams.expand" }, - "1440": { + "1433": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/list-variants.ts", "qualifiedName": "AdminGetProductsVariantsParams.offset" }, - "1441": { + "1434": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/list-variants.ts", "qualifiedName": "AdminGetProductsVariantsParams.limit" }, + "1435": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/list-variants.ts", + "qualifiedName": "AdminGetProductsVariantsParams.q" + }, + "1436": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/list-variants.ts", + "qualifiedName": "AdminGetProductsVariantsParams.order" + }, + "1437": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/list-variants.ts", + "qualifiedName": "AdminGetProductsVariantsParams.inventory_quantity" + }, + "1438": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/list-variants.ts", + "qualifiedName": "AdminGetProductsVariantsParams.manage_inventory" + }, + "1439": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/list-variants.ts", + "qualifiedName": "AdminGetProductsVariantsParams.allow_backorder" + }, + "1440": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/list-variants.ts", + "qualifiedName": "AdminGetProductsVariantsParams.created_at" + }, + "1441": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/list-variants.ts", + "qualifiedName": "AdminGetProductsVariantsParams.updated_at" + }, "1442": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/set-metadata.ts", "qualifiedName": "AdminPostProductsProductMetadataReq" @@ -130926,13936 +140470,14864 @@ "qualifiedName": "GetPublishableApiKeysParams.q" }, "1530": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/publishable-api-keys/list-publishable-api-keys.ts", + "qualifiedName": "GetPublishableApiKeysParams.order" + }, + "1531": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/publishable-api-keys/list-publishable-api-keys.ts", + "qualifiedName": "GetPublishableApiKeysParams.created_at" + }, + "1532": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/publishable-api-keys/list-publishable-api-keys.ts", + "qualifiedName": "GetPublishableApiKeysParams.updated_at" + }, + "1533": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/publishable-api-keys/list-publishable-api-keys.ts", + "qualifiedName": "GetPublishableApiKeysParams.revoked_at" + }, + "1534": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "1531": { + "1535": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "1532": { + "1536": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.offset" }, - "1533": { + "1537": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.limit" }, - "1534": { + "1538": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/publishable-api-keys/update-publishable-api-key.ts", "qualifiedName": "AdminPostPublishableApiKeysPublishableApiKeyReq" }, - "1537": { + "1541": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/publishable-api-keys/update-publishable-api-key.ts", "qualifiedName": "AdminPostPublishableApiKeysPublishableApiKeyReq.title" }, - "1538": { + "1542": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/index.ts", "qualifiedName": "defaultAdminRegionFields" }, - "1539": { + "1543": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/index.ts", "qualifiedName": "defaultAdminRegionRelations" }, - "1540": { + "1544": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/index.ts", "qualifiedName": "AdminRegionsRes" }, - "1541": { + "1545": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/index.ts", "qualifiedName": "__type" }, - "1542": { + "1546": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/index.ts", "qualifiedName": "__type.region" }, - "1543": { + "1547": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/index.ts", "qualifiedName": "AdminRegionsListRes" }, - "1544": { + "1548": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/index.ts", "qualifiedName": "__type" }, - "1545": { + "1549": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/index.ts", "qualifiedName": "__type.regions" }, - "1546": { + "1550": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/index.ts", "qualifiedName": "AdminRegionsDeleteRes" }, - "1547": { + "1551": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/index.ts", "qualifiedName": "FulfillmentOption" }, - "1550": { + "1554": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/index.ts", "qualifiedName": "FulfillmentOption.provider_id" }, - "1551": { + "1555": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/index.ts", "qualifiedName": "FulfillmentOption.options" }, - "1552": { + "1556": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/index.ts", "qualifiedName": "AdminGetRegionsRegionFulfillmentOptionsRes" }, - "1555": { + "1559": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/index.ts", "qualifiedName": "AdminGetRegionsRegionFulfillmentOptionsRes.fulfillment_options" }, - "1556": { + "1560": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/add-country.ts", "qualifiedName": "AdminPostRegionsRegionCountriesReq" }, - "1559": { + "1563": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/add-country.ts", "qualifiedName": "AdminPostRegionsRegionCountriesReq.country_code" }, - "1560": { + "1564": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/add-fulfillment-provider.ts", "qualifiedName": "AdminPostRegionsRegionFulfillmentProvidersReq" }, - "1563": { + "1567": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/add-fulfillment-provider.ts", "qualifiedName": "AdminPostRegionsRegionFulfillmentProvidersReq.provider_id" }, - "1564": { + "1568": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/add-payment-provider.ts", "qualifiedName": "AdminPostRegionsRegionPaymentProvidersReq" }, - "1567": { + "1571": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/add-payment-provider.ts", "qualifiedName": "AdminPostRegionsRegionPaymentProvidersReq.provider_id" }, - "1568": { + "1572": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/create-region.ts", "qualifiedName": "AdminPostRegionsReq" }, - "1571": { + "1575": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/create-region.ts", "qualifiedName": "AdminPostRegionsReq.name" }, - "1572": { + "1576": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/create-region.ts", "qualifiedName": "AdminPostRegionsReq.currency_code" }, - "1573": { + "1577": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/create-region.ts", "qualifiedName": "AdminPostRegionsReq.tax_code" }, - "1574": { + "1578": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/create-region.ts", "qualifiedName": "AdminPostRegionsReq.tax_rate" }, - "1575": { + "1579": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/create-region.ts", "qualifiedName": "AdminPostRegionsReq.payment_providers" }, - "1576": { + "1580": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/create-region.ts", "qualifiedName": "AdminPostRegionsReq.fulfillment_providers" }, - "1577": { + "1581": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/create-region.ts", "qualifiedName": "AdminPostRegionsReq.countries" }, - "1578": { + "1582": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/create-region.ts", "qualifiedName": "AdminPostRegionsReq.includes_tax" }, - "1579": { + "1583": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/create-region.ts", "qualifiedName": "AdminPostRegionsReq.metadata" }, - "1580": { + "1584": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/list-regions.ts", "qualifiedName": "AdminGetRegionsParams" }, - "1581": { + "1585": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.__new" }, - "1582": { + "1586": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "AdminGetRegionsParams" }, - "1583": { + "1587": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "args" }, - "1584": { + "1588": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/list-regions.ts", "qualifiedName": "AdminGetRegionsParams.q" }, - "1585": { + "1589": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/list-regions.ts", "qualifiedName": "AdminGetRegionsParams.order" }, - "1586": { + "1590": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/list-regions.ts", "qualifiedName": "AdminGetRegionsParams.created_at" }, - "1587": { + "1591": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/list-regions.ts", "qualifiedName": "AdminGetRegionsParams.updated_at" }, - "1588": { + "1592": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/list-regions.ts", "qualifiedName": "AdminGetRegionsParams.deleted_at" }, - "1589": { + "1593": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "1590": { + "1594": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "1591": { + "1595": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.offset" }, - "1592": { + "1596": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.limit" }, - "1593": { + "1597": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/update-region.ts", "qualifiedName": "AdminPostRegionsRegionReq" }, - "1596": { + "1600": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/update-region.ts", "qualifiedName": "AdminPostRegionsRegionReq.name" }, - "1597": { + "1601": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/update-region.ts", "qualifiedName": "AdminPostRegionsRegionReq.currency_code" }, - "1598": { + "1602": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/update-region.ts", "qualifiedName": "AdminPostRegionsRegionReq.tax_code" }, - "1599": { + "1603": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/update-region.ts", "qualifiedName": "AdminPostRegionsRegionReq.tax_rate" }, - "1600": { + "1604": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/update-region.ts", "qualifiedName": "AdminPostRegionsRegionReq.gift_cards_taxable" }, - "1601": { + "1605": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/update-region.ts", "qualifiedName": "AdminPostRegionsRegionReq.automatic_taxes" }, - "1602": { + "1606": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/update-region.ts", "qualifiedName": "AdminPostRegionsRegionReq.tax_provider_id" }, - "1603": { + "1607": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/update-region.ts", "qualifiedName": "AdminPostRegionsRegionReq.payment_providers" }, - "1604": { + "1608": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/update-region.ts", "qualifiedName": "AdminPostRegionsRegionReq.fulfillment_providers" }, - "1605": { + "1609": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/update-region.ts", "qualifiedName": "AdminPostRegionsRegionReq.countries" }, - "1606": { + "1610": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/update-region.ts", "qualifiedName": "AdminPostRegionsRegionReq.includes_tax" }, - "1607": { + "1611": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/update-region.ts", "qualifiedName": "AdminPostRegionsRegionReq.metadata" }, - "1608": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/index.ts", - "qualifiedName": "defaultAdminReturnReasonsFields" - }, - "1609": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/index.ts", - "qualifiedName": "defaultAdminReturnReasonsRelations" - }, - "1610": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/index.ts", - "qualifiedName": "AdminReturnReasonsRes" - }, - "1611": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/index.ts", - "qualifiedName": "__type" - }, "1612": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/index.ts", - "qualifiedName": "__type.return_reason" - }, - "1613": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/index.ts", - "qualifiedName": "AdminReturnReasonsListRes" - }, - "1614": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/index.ts", - "qualifiedName": "__type" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/regions/get-region.ts", + "qualifiedName": "AdminGetRegionsRegionParams" }, "1615": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/index.ts", - "qualifiedName": "__type.return_reasons" + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindParams.expand" }, "1616": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/index.ts", - "qualifiedName": "AdminReturnReasonsDeleteRes" + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindParams.fields" }, "1617": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/create-reason.ts", - "qualifiedName": "AdminPostReturnReasonsReq" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", + "qualifiedName": "AdminReservationsRes" + }, + "1618": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", + "qualifiedName": "__type" + }, + "1619": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", + "qualifiedName": "__type.reservation" }, "1620": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/create-reason.ts", - "qualifiedName": "AdminPostReturnReasonsReq.value" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", + "qualifiedName": "ExtendedReservationItem" }, "1621": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/create-reason.ts", - "qualifiedName": "AdminPostReturnReasonsReq.label" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", + "qualifiedName": "__type" }, "1622": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/create-reason.ts", - "qualifiedName": "AdminPostReturnReasonsReq.parent_return_reason_id" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", + "qualifiedName": "__type.line_item" }, "1623": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/create-reason.ts", - "qualifiedName": "AdminPostReturnReasonsReq.description" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", + "qualifiedName": "__type.inventory_item" }, "1624": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/create-reason.ts", - "qualifiedName": "AdminPostReturnReasonsReq.metadata" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", + "qualifiedName": "AdminReservationsListRes" }, "1625": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/update-reason.ts", - "qualifiedName": "AdminPostReturnReasonsReasonReq" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", + "qualifiedName": "__type" + }, + "1626": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", + "qualifiedName": "__type.reservations" + }, + "1627": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", + "qualifiedName": "defaultAdminReservationRelations" }, "1628": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/update-reason.ts", - "qualifiedName": "AdminPostReturnReasonsReasonReq.label" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", + "qualifiedName": "defaultReservationFields" }, "1629": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/update-reason.ts", - "qualifiedName": "AdminPostReturnReasonsReasonReq.value" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", + "qualifiedName": "AdminReservationsDeleteRes" }, "1630": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/update-reason.ts", - "qualifiedName": "AdminPostReturnReasonsReasonReq.description" - }, - "1631": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/update-reason.ts", - "qualifiedName": "AdminPostReturnReasonsReasonReq.metadata" - }, - "1632": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", - "qualifiedName": "defaultRelations" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/create-reservation.ts", + "qualifiedName": "AdminPostReservationsReq" }, "1633": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", - "qualifiedName": "defaultRelationsList" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/create-reservation.ts", + "qualifiedName": "AdminPostReservationsReq.line_item_id" }, "1634": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", - "qualifiedName": "defaultReturnCancelRelations" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/create-reservation.ts", + "qualifiedName": "AdminPostReservationsReq.location_id" }, "1635": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", - "qualifiedName": "defaultReturnCancelFields" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/create-reservation.ts", + "qualifiedName": "AdminPostReservationsReq.inventory_item_id" }, "1636": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", - "qualifiedName": "AdminReturnsCancelRes" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/create-reservation.ts", + "qualifiedName": "AdminPostReservationsReq.quantity" }, "1637": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", - "qualifiedName": "__type" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/create-reservation.ts", + "qualifiedName": "AdminPostReservationsReq.description" }, "1638": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", - "qualifiedName": "__type.order" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/create-reservation.ts", + "qualifiedName": "AdminPostReservationsReq.metadata" }, "1639": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", - "qualifiedName": "AdminReturnsListRes" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/list-reservations.ts", + "qualifiedName": "AdminGetReservationsParams" }, "1640": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", - "qualifiedName": "__type" + "sourceFileName": "../../../packages/medusa/src/types/global.ts", + "qualifiedName": "__type.__new" }, "1641": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", - "qualifiedName": "__type.returns" + "sourceFileName": "../../../packages/medusa/src/types/global.ts", + "qualifiedName": "AdminGetReservationsParams" }, "1642": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", - "qualifiedName": "AdminReturnsRes" + "sourceFileName": "../../../packages/medusa/src/types/global.ts", + "qualifiedName": "args" }, "1643": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", - "qualifiedName": "__type" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/list-reservations.ts", + "qualifiedName": "AdminGetReservationsParams.location_id" }, "1644": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", - "qualifiedName": "__type.return" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/list-reservations.ts", + "qualifiedName": "AdminGetReservationsParams.inventory_item_id" }, "1645": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/list-returns.ts", - "qualifiedName": "AdminGetReturnsParams" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/list-reservations.ts", + "qualifiedName": "AdminGetReservationsParams.line_item_id" + }, + "1646": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/list-reservations.ts", + "qualifiedName": "AdminGetReservationsParams.created_by" + }, + "1647": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/list-reservations.ts", + "qualifiedName": "AdminGetReservationsParams.quantity" }, "1648": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/list-returns.ts", - "qualifiedName": "AdminGetReturnsParams.limit" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/list-reservations.ts", + "qualifiedName": "AdminGetReservationsParams.created_at" }, "1649": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/list-returns.ts", - "qualifiedName": "AdminGetReturnsParams.offset" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/list-reservations.ts", + "qualifiedName": "AdminGetReservationsParams.updated_at" }, "1650": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/receive-return.ts", - "qualifiedName": "AdminPostReturnsReturnReceiveReq" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/list-reservations.ts", + "qualifiedName": "AdminGetReservationsParams.description" + }, + "1651": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindParams.expand" + }, + "1652": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindParams.fields" }, "1653": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/receive-return.ts", - "qualifiedName": "AdminPostReturnsReturnReceiveReq.items" + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindPaginationParams.offset" }, "1654": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/receive-return.ts", - "qualifiedName": "AdminPostReturnsReturnReceiveReq.refund" + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindPaginationParams.limit" }, "1655": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/receive-return.ts", - "qualifiedName": "AdminPostReturnsReturnReceiveReq.location_id" + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindPaginationParams.order" }, "1656": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", - "qualifiedName": "AdminReservationsRes" - }, - "1657": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", - "qualifiedName": "__type" - }, - "1658": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", - "qualifiedName": "__type.reservation" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/update-reservation.ts", + "qualifiedName": "AdminPostReservationsReservationReq" }, "1659": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", - "qualifiedName": "ExtendedReservationItem" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/update-reservation.ts", + "qualifiedName": "AdminPostReservationsReservationReq.quantity" }, "1660": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", - "qualifiedName": "__type" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/update-reservation.ts", + "qualifiedName": "AdminPostReservationsReservationReq.location_id" }, "1661": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", - "qualifiedName": "__type.line_item" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/update-reservation.ts", + "qualifiedName": "AdminPostReservationsReservationReq.description" }, "1662": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", - "qualifiedName": "__type.inventory_item" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/update-reservation.ts", + "qualifiedName": "AdminPostReservationsReservationReq.metadata" }, "1663": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", - "qualifiedName": "AdminReservationsListRes" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/index.ts", + "qualifiedName": "defaultAdminReturnReasonsFields" }, "1664": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", - "qualifiedName": "__type" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/index.ts", + "qualifiedName": "defaultAdminReturnReasonsRelations" }, "1665": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", - "qualifiedName": "__type.reservations" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/index.ts", + "qualifiedName": "AdminReturnReasonsRes" }, "1666": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", - "qualifiedName": "defaultAdminReservationRelations" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/index.ts", + "qualifiedName": "__type" }, "1667": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", - "qualifiedName": "defaultReservationFields" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/index.ts", + "qualifiedName": "__type.return_reason" }, "1668": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/index.ts", - "qualifiedName": "AdminReservationsDeleteRes" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/index.ts", + "qualifiedName": "AdminReturnReasonsListRes" }, "1669": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/create-reservation.ts", - "qualifiedName": "AdminPostReservationsReq" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/index.ts", + "qualifiedName": "__type" }, - "1672": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/create-reservation.ts", - "qualifiedName": "AdminPostReservationsReq.line_item_id" + "1670": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/index.ts", + "qualifiedName": "__type.return_reasons" }, - "1673": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/create-reservation.ts", - "qualifiedName": "AdminPostReservationsReq.location_id" + "1671": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/index.ts", + "qualifiedName": "AdminReturnReasonsDeleteRes" }, - "1674": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/create-reservation.ts", - "qualifiedName": "AdminPostReservationsReq.inventory_item_id" + "1672": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/create-reason.ts", + "qualifiedName": "AdminPostReturnReasonsReq" }, "1675": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/create-reservation.ts", - "qualifiedName": "AdminPostReservationsReq.quantity" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/create-reason.ts", + "qualifiedName": "AdminPostReturnReasonsReq.value" }, "1676": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/create-reservation.ts", - "qualifiedName": "AdminPostReservationsReq.description" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/create-reason.ts", + "qualifiedName": "AdminPostReturnReasonsReq.label" }, "1677": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/create-reservation.ts", - "qualifiedName": "AdminPostReservationsReq.metadata" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/create-reason.ts", + "qualifiedName": "AdminPostReturnReasonsReq.parent_return_reason_id" }, "1678": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/list-reservations.ts", - "qualifiedName": "AdminGetReservationsParams" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/create-reason.ts", + "qualifiedName": "AdminPostReturnReasonsReq.description" }, "1679": { - "sourceFileName": "../../../packages/medusa/src/types/global.ts", - "qualifiedName": "__type.__new" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/create-reason.ts", + "qualifiedName": "AdminPostReturnReasonsReq.metadata" }, "1680": { - "sourceFileName": "../../../packages/medusa/src/types/global.ts", - "qualifiedName": "AdminGetReservationsParams" - }, - "1681": { - "sourceFileName": "../../../packages/medusa/src/types/global.ts", - "qualifiedName": "args" - }, - "1682": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/list-reservations.ts", - "qualifiedName": "AdminGetReservationsParams.location_id" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/update-reason.ts", + "qualifiedName": "AdminPostReturnReasonsReasonReq" }, "1683": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/list-reservations.ts", - "qualifiedName": "AdminGetReservationsParams.inventory_item_id" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/update-reason.ts", + "qualifiedName": "AdminPostReturnReasonsReasonReq.label" }, "1684": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/list-reservations.ts", - "qualifiedName": "AdminGetReservationsParams.line_item_id" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/update-reason.ts", + "qualifiedName": "AdminPostReturnReasonsReasonReq.value" }, "1685": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/list-reservations.ts", - "qualifiedName": "AdminGetReservationsParams.created_by" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/update-reason.ts", + "qualifiedName": "AdminPostReturnReasonsReasonReq.description" }, "1686": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/list-reservations.ts", - "qualifiedName": "AdminGetReservationsParams.quantity" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/return-reasons/update-reason.ts", + "qualifiedName": "AdminPostReturnReasonsReasonReq.metadata" }, "1687": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/list-reservations.ts", - "qualifiedName": "AdminGetReservationsParams.created_at" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", + "qualifiedName": "defaultRelations" }, "1688": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/list-reservations.ts", - "qualifiedName": "AdminGetReservationsParams.description" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", + "qualifiedName": "defaultRelationsList" }, "1689": { - "sourceFileName": "../../../packages/medusa/src/types/common.ts", - "qualifiedName": "FindParams.expand" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", + "qualifiedName": "defaultReturnCancelRelations" }, "1690": { - "sourceFileName": "../../../packages/medusa/src/types/common.ts", - "qualifiedName": "FindParams.fields" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", + "qualifiedName": "defaultReturnCancelFields" }, "1691": { - "sourceFileName": "../../../packages/medusa/src/types/common.ts", - "qualifiedName": "FindPaginationParams.offset" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", + "qualifiedName": "AdminReturnsCancelRes" }, "1692": { - "sourceFileName": "../../../packages/medusa/src/types/common.ts", - "qualifiedName": "FindPaginationParams.limit" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", + "qualifiedName": "__type" }, "1693": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/update-reservation.ts", - "qualifiedName": "AdminPostReservationsReservationReq" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", + "qualifiedName": "__type.order" + }, + "1694": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", + "qualifiedName": "AdminReturnsListRes" + }, + "1695": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", + "qualifiedName": "__type" }, "1696": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/update-reservation.ts", - "qualifiedName": "AdminPostReservationsReservationReq.quantity" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", + "qualifiedName": "__type.returns" }, "1697": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/update-reservation.ts", - "qualifiedName": "AdminPostReservationsReservationReq.location_id" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", + "qualifiedName": "AdminReturnsRes" }, "1698": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/update-reservation.ts", - "qualifiedName": "AdminPostReservationsReservationReq.description" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", + "qualifiedName": "__type" }, "1699": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/reservations/update-reservation.ts", - "qualifiedName": "AdminPostReservationsReservationReq.metadata" + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/index.ts", + "qualifiedName": "__type.return" }, "1700": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/list-returns.ts", + "qualifiedName": "AdminGetReturnsParams" + }, + "1703": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/list-returns.ts", + "qualifiedName": "AdminGetReturnsParams.limit" + }, + "1704": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/list-returns.ts", + "qualifiedName": "AdminGetReturnsParams.offset" + }, + "1705": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/receive-return.ts", + "qualifiedName": "AdminPostReturnsReturnReceiveReq" + }, + "1708": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/receive-return.ts", + "qualifiedName": "AdminPostReturnsReturnReceiveReq.items" + }, + "1709": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/receive-return.ts", + "qualifiedName": "AdminPostReturnsReturnReceiveReq.refund" + }, + "1710": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/receive-return.ts", + "qualifiedName": "AdminPostReturnsReturnReceiveReq.location_id" + }, + "1711": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/index.ts", "qualifiedName": "AdminSalesChannelsRes" }, - "1701": { + "1712": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/index.ts", "qualifiedName": "__type" }, - "1702": { + "1713": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/index.ts", "qualifiedName": "__type.sales_channel" }, - "1703": { + "1714": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/index.ts", "qualifiedName": "AdminSalesChannelsDeleteRes" }, - "1704": { + "1715": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/index.ts", "qualifiedName": "AdminSalesChannelsDeleteLocationRes" }, - "1705": { + "1716": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/index.ts", "qualifiedName": "AdminSalesChannelsListRes" }, - "1706": { + "1717": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/index.ts", "qualifiedName": "__type" }, - "1707": { + "1718": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/index.ts", "qualifiedName": "__type.sales_channels" }, - "1708": { + "1719": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/add-product-batch.ts", "qualifiedName": "AdminPostSalesChannelsChannelProductsBatchReq" }, - "1711": { + "1722": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/add-product-batch.ts", "qualifiedName": "AdminPostSalesChannelsChannelProductsBatchReq.product_ids" }, - "1712": { + "1723": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/create-sales-channel.ts", "qualifiedName": "AdminPostSalesChannelsReq" }, - "1715": { + "1726": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/create-sales-channel.ts", "qualifiedName": "AdminPostSalesChannelsReq.name" }, - "1716": { + "1727": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/create-sales-channel.ts", "qualifiedName": "AdminPostSalesChannelsReq.description" }, - "1717": { + "1728": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/create-sales-channel.ts", "qualifiedName": "AdminPostSalesChannelsReq.is_disabled" }, - "1718": { + "1729": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/delete-products-batch.ts", "qualifiedName": "AdminDeleteSalesChannelsChannelProductsBatchReq" }, - "1721": { + "1732": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/delete-products-batch.ts", "qualifiedName": "AdminDeleteSalesChannelsChannelProductsBatchReq.product_ids" }, - "1722": { + "1733": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/list-sales-channels.ts", "qualifiedName": "AdminGetSalesChannelsParams" }, - "1723": { + "1734": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.__new" }, - "1724": { + "1735": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "AdminGetSalesChannelsParams" }, - "1725": { + "1736": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "args" }, - "1726": { + "1737": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/list-sales-channels.ts", "qualifiedName": "AdminGetSalesChannelsParams.id" }, - "1727": { + "1738": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/list-sales-channels.ts", "qualifiedName": "AdminGetSalesChannelsParams.q" }, - "1728": { + "1739": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/list-sales-channels.ts", "qualifiedName": "AdminGetSalesChannelsParams.name" }, - "1729": { + "1740": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/list-sales-channels.ts", "qualifiedName": "AdminGetSalesChannelsParams.description" }, - "1730": { + "1741": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/list-sales-channels.ts", "qualifiedName": "AdminGetSalesChannelsParams.created_at" }, - "1731": { + "1742": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/list-sales-channels.ts", "qualifiedName": "AdminGetSalesChannelsParams.updated_at" }, - "1732": { + "1743": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/list-sales-channels.ts", "qualifiedName": "AdminGetSalesChannelsParams.deleted_at" }, - "1733": { + "1744": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/list-sales-channels.ts", "qualifiedName": "AdminGetSalesChannelsParams.order" }, - "1734": { + "1745": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "1735": { + "1746": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "1736": { + "1747": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.offset" }, - "1737": { + "1748": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.limit" }, - "1738": { + "1749": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/update-sales-channel.ts", "qualifiedName": "AdminPostSalesChannelsSalesChannelReq" }, - "1741": { + "1752": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/update-sales-channel.ts", "qualifiedName": "AdminPostSalesChannelsSalesChannelReq.name" }, - "1742": { + "1753": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/update-sales-channel.ts", "qualifiedName": "AdminPostSalesChannelsSalesChannelReq.description" }, - "1743": { + "1754": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/update-sales-channel.ts", "qualifiedName": "AdminPostSalesChannelsSalesChannelReq.is_disabled" }, - "1744": { + "1755": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/associate-stock-location.ts", "qualifiedName": "AdminPostSalesChannelsChannelStockLocationsReq" }, - "1747": { + "1758": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/associate-stock-location.ts", "qualifiedName": "AdminPostSalesChannelsChannelStockLocationsReq.location_id" }, - "1748": { + "1759": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/remove-stock-location.ts", "qualifiedName": "AdminDeleteSalesChannelsChannelStockLocationsReq" }, - "1751": { + "1762": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/sales-channels/remove-stock-location.ts", "qualifiedName": "AdminDeleteSalesChannelsChannelStockLocationsReq.location_id" }, - "1752": { + "1763": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/index.ts", "qualifiedName": "shippingOptionsDefaultFields" }, - "1753": { + "1764": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/index.ts", "qualifiedName": "shippingOptionsDefaultRelations" }, - "1754": { + "1765": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/index.ts", "qualifiedName": "AdminShippingOptionsListRes" }, - "1755": { + "1766": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/index.ts", "qualifiedName": "__type" }, - "1756": { + "1767": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/index.ts", "qualifiedName": "__type.shipping_options" }, - "1757": { + "1768": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/index.ts", "qualifiedName": "AdminShippingOptionsRes" }, - "1758": { + "1769": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/index.ts", "qualifiedName": "__type" }, - "1759": { + "1770": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/index.ts", "qualifiedName": "__type.shipping_option" }, - "1760": { + "1771": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/index.ts", "qualifiedName": "AdminShippingOptionsDeleteRes" }, - "1761": { + "1772": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsReq" }, - "1764": { + "1775": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsReq.name" }, - "1765": { + "1776": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsReq.region_id" }, - "1766": { + "1777": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsReq.provider_id" }, - "1767": { + "1778": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsReq.profile_id" }, - "1768": { + "1779": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsReq.data" }, - "1769": { + "1780": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsReq.price_type" }, - "1770": { + "1781": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsReq.amount" }, - "1771": { + "1782": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsReq.requirements" }, - "1772": { + "1783": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsReq.admin_only" }, - "1773": { + "1784": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsReq.is_return" }, - "1774": { + "1785": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsReq.metadata" }, - "1775": { + "1786": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsReq.includes_tax" }, - "1776": { + "1787": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/list-shipping-options.ts", "qualifiedName": "AdminGetShippingOptionsParams" }, - "1777": { + "1788": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.__new" }, - "1778": { + "1789": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "AdminGetShippingOptionsParams" }, - "1779": { + "1790": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "args" }, - "1780": { + "1791": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/list-shipping-options.ts", "qualifiedName": "AdminGetShippingOptionsParams.id" }, - "1781": { + "1792": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/list-shipping-options.ts", "qualifiedName": "AdminGetShippingOptionsParams.name" }, - "1782": { + "1793": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/list-shipping-options.ts", "qualifiedName": "AdminGetShippingOptionsParams.region_id" }, - "1783": { + "1794": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/list-shipping-options.ts", "qualifiedName": "AdminGetShippingOptionsParams.is_return" }, - "1784": { + "1795": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/list-shipping-options.ts", "qualifiedName": "AdminGetShippingOptionsParams.admin_only" }, - "1785": { + "1796": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/list-shipping-options.ts", "qualifiedName": "AdminGetShippingOptionsParams.q" }, - "1786": { + "1797": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/list-shipping-options.ts", "qualifiedName": "AdminGetShippingOptionsParams.order" }, - "1787": { + "1798": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/list-shipping-options.ts", "qualifiedName": "AdminGetShippingOptionsParams.created_at" }, - "1788": { + "1799": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/list-shipping-options.ts", "qualifiedName": "AdminGetShippingOptionsParams.updated_at" }, - "1789": { + "1800": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/list-shipping-options.ts", "qualifiedName": "AdminGetShippingOptionsParams.deleted_at" }, - "1790": { + "1801": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/list-shipping-options.ts", "qualifiedName": "AdminGetShippingOptionsParams.fields" }, - "1791": { + "1802": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/list-shipping-options.ts", "qualifiedName": "AdminGetShippingOptionsParams.expand" }, - "1792": { + "1803": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.offset" }, - "1793": { + "1804": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.limit" }, - "1794": { + "1805": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/update-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsOptionReq" }, - "1797": { + "1808": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/update-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsOptionReq.name" }, - "1798": { + "1809": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/update-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsOptionReq.amount" }, - "1799": { + "1810": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/update-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsOptionReq.price_type" }, - "1800": { + "1811": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/update-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsOptionReq.requirements" }, - "1801": { + "1812": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/update-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsOptionReq.admin_only" }, - "1802": { + "1813": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/update-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsOptionReq.metadata" }, - "1803": { + "1814": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/update-shipping-option.ts", "qualifiedName": "AdminPostShippingOptionsOptionReq.includes_tax" }, - "1804": { + "1815": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-profiles/index.ts", "qualifiedName": "defaultAdminShippingProfilesFields" }, - "1805": { + "1816": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-profiles/index.ts", "qualifiedName": "defaultAdminShippingProfilesRelations" }, - "1806": { + "1817": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-profiles/index.ts", "qualifiedName": "AdminDeleteShippingProfileRes" }, - "1807": { + "1818": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-profiles/index.ts", "qualifiedName": "AdminShippingProfilesRes" }, - "1808": { + "1819": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-profiles/index.ts", "qualifiedName": "__type" }, - "1809": { + "1820": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-profiles/index.ts", "qualifiedName": "__type.shipping_profile" }, - "1810": { + "1821": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-profiles/index.ts", "qualifiedName": "AdminShippingProfilesListRes" }, - "1811": { + "1822": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-profiles/index.ts", "qualifiedName": "__type" }, - "1812": { + "1823": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-profiles/index.ts", "qualifiedName": "__type.shipping_profiles" }, - "1813": { + "1824": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-profiles/create-shipping-profile.ts", "qualifiedName": "AdminPostShippingProfilesReq" }, - "1816": { + "1827": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-profiles/create-shipping-profile.ts", "qualifiedName": "AdminPostShippingProfilesReq.name" }, - "1817": { + "1828": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-profiles/create-shipping-profile.ts", "qualifiedName": "AdminPostShippingProfilesReq.type" }, - "1818": { + "1829": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-profiles/create-shipping-profile.ts", "qualifiedName": "AdminPostShippingProfilesReq.metadata" }, - "1819": { + "1830": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-profiles/update-shipping-profile.ts", "qualifiedName": "AdminPostShippingProfilesProfileReq" }, - "1822": { + "1833": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-profiles/update-shipping-profile.ts", "qualifiedName": "AdminPostShippingProfilesProfileReq.name" }, - "1823": { + "1834": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-profiles/update-shipping-profile.ts", "qualifiedName": "AdminPostShippingProfilesProfileReq.metadata" }, - "1824": { + "1835": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-profiles/update-shipping-profile.ts", "qualifiedName": "AdminPostShippingProfilesProfileReq.type" }, - "1825": { + "1836": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-profiles/update-shipping-profile.ts", "qualifiedName": "AdminPostShippingProfilesProfileReq.products" }, - "1826": { + "1837": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-profiles/update-shipping-profile.ts", "qualifiedName": "AdminPostShippingProfilesProfileReq.shipping_options" }, - "1827": { + "1838": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/index.ts", "qualifiedName": "defaultAdminStockLocationFields" }, - "1828": { + "1839": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/index.ts", "qualifiedName": "defaultAdminStockLocationRelations" }, - "1829": { + "1840": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/index.ts", "qualifiedName": "AdminStockLocationsDeleteRes" }, - "1830": { + "1841": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/index.ts", "qualifiedName": "AdminStockLocationsRes" }, - "1831": { + "1842": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/index.ts", "qualifiedName": "__type" }, - "1832": { + "1843": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/index.ts", "qualifiedName": "__type.stock_location" }, - "1833": { + "1844": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/index.ts", "qualifiedName": "AdminStockLocationsListRes" }, - "1834": { + "1845": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/index.ts", "qualifiedName": "__type" }, - "1835": { + "1846": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/index.ts", "qualifiedName": "__type.stock_locations" }, - "1836": { + "1847": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/create-stock-location.ts", "qualifiedName": "AdminPostStockLocationsReq" }, - "1839": { + "1850": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/create-stock-location.ts", "qualifiedName": "AdminPostStockLocationsReq.name" }, - "1840": { + "1851": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/create-stock-location.ts", "qualifiedName": "AdminPostStockLocationsReq.address" }, - "1841": { + "1852": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/create-stock-location.ts", "qualifiedName": "AdminPostStockLocationsReq.address_id" }, - "1842": { + "1853": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/create-stock-location.ts", "qualifiedName": "AdminPostStockLocationsReq.metadata" }, - "1843": { + "1854": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/create-stock-location.ts", "qualifiedName": "AdminPostStockLocationsParams" }, - "1846": { + "1857": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "1847": { + "1858": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "1848": { + "1859": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/get-stock-location.ts", "qualifiedName": "AdminGetStockLocationsLocationParams" }, - "1851": { + "1862": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "1852": { + "1863": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "1853": { + "1864": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/list-stock-locations.ts", "qualifiedName": "AdminGetStockLocationsParams" }, - "1854": { + "1865": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.__new" }, - "1855": { + "1866": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "AdminGetStockLocationsParams" }, - "1856": { + "1867": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "args" }, - "1857": { + "1868": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/list-stock-locations.ts", "qualifiedName": "AdminGetStockLocationsParams.q" }, - "1858": { + "1869": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/list-stock-locations.ts", "qualifiedName": "AdminGetStockLocationsParams.id" }, - "1859": { + "1870": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/list-stock-locations.ts", "qualifiedName": "AdminGetStockLocationsParams.name" }, - "1860": { + "1871": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/list-stock-locations.ts", "qualifiedName": "AdminGetStockLocationsParams.address_id" }, - "1861": { + "1872": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/list-stock-locations.ts", "qualifiedName": "AdminGetStockLocationsParams.sales_channel_id" }, - "1862": { + "1873": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/list-stock-locations.ts", "qualifiedName": "AdminGetStockLocationsParams.order" }, - "1863": { + "1874": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "1864": { + "1875": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "1865": { + "1876": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.offset" }, - "1866": { + "1877": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.limit" }, - "1867": { + "1878": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/update-stock-location.ts", "qualifiedName": "AdminPostStockLocationsLocationReq" }, - "1870": { + "1881": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/update-stock-location.ts", "qualifiedName": "AdminPostStockLocationsLocationReq.name" }, - "1871": { + "1882": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/update-stock-location.ts", "qualifiedName": "AdminPostStockLocationsLocationReq.address" }, - "1872": { + "1883": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/update-stock-location.ts", "qualifiedName": "AdminPostStockLocationsLocationReq.address_id" }, - "1873": { + "1884": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/update-stock-location.ts", "qualifiedName": "AdminPostStockLocationsLocationReq.metadata" }, - "1874": { + "1885": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/update-stock-location.ts", "qualifiedName": "AdminPostStockLocationsLocationParams" }, - "1877": { + "1888": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "1878": { + "1889": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "1879": { + "1890": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/index.ts", "qualifiedName": "defaultRelationsExtended" }, - "1880": { + "1891": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/index.ts", "qualifiedName": "AdminExtendedStoresRes" }, - "1881": { + "1892": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/index.ts", "qualifiedName": "__type" }, - "1882": { + "1893": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/index.ts", "qualifiedName": "__type.store" }, - "1883": { + "1894": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/index.ts", "qualifiedName": "AdminStoresRes" }, - "1884": { + "1895": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/index.ts", "qualifiedName": "__type" }, - "1885": { + "1896": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/index.ts", "qualifiedName": "__type.store" }, - "1886": { + "1897": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/index.ts", "qualifiedName": "AdminTaxProvidersList" }, - "1887": { + "1898": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/index.ts", "qualifiedName": "__type" }, - "1888": { + "1899": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/index.ts", "qualifiedName": "__type.tax_providers" }, - "1889": { + "1900": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/index.ts", "qualifiedName": "AdminPaymentProvidersList" }, - "1890": { + "1901": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/index.ts", "qualifiedName": "__type" }, - "1891": { + "1902": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/index.ts", "qualifiedName": "__type.payment_providers" }, - "1892": { + "1903": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/update-store.ts", "qualifiedName": "AdminPostStoreReq" }, - "1895": { + "1906": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/update-store.ts", "qualifiedName": "AdminPostStoreReq.name" }, - "1896": { + "1907": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/update-store.ts", "qualifiedName": "AdminPostStoreReq.swap_link_template" }, - "1897": { + "1908": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/update-store.ts", "qualifiedName": "AdminPostStoreReq.payment_link_template" }, - "1898": { + "1909": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/update-store.ts", "qualifiedName": "AdminPostStoreReq.invite_link_template" }, - "1899": { + "1910": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/update-store.ts", "qualifiedName": "AdminPostStoreReq.default_currency_code" }, - "1900": { + "1911": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/update-store.ts", "qualifiedName": "AdminPostStoreReq.currencies" }, - "1901": { + "1912": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/store/update-store.ts", "qualifiedName": "AdminPostStoreReq.metadata" }, - "1902": { + "1913": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/swaps/index.ts", "qualifiedName": "defaultAdminSwapRelations" }, - "1903": { + "1914": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/swaps/index.ts", "qualifiedName": "defaultAdminSwapFields" }, - "1904": { + "1915": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/swaps/index.ts", "qualifiedName": "AdminSwapsListRes" }, - "1905": { + "1916": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/swaps/index.ts", "qualifiedName": "__type" }, - "1906": { + "1917": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/swaps/index.ts", "qualifiedName": "__type.swaps" }, - "1907": { + "1918": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/swaps/index.ts", "qualifiedName": "AdminSwapsRes" }, - "1908": { + "1919": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/swaps/index.ts", "qualifiedName": "__type" }, - "1909": { + "1920": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/swaps/index.ts", "qualifiedName": "__type.swap" }, - "1910": { + "1921": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/swaps/list-swaps.ts", "qualifiedName": "AdminGetSwapsParams" }, - "1913": { + "1924": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/swaps/list-swaps.ts", "qualifiedName": "AdminGetSwapsParams.limit" }, - "1914": { + "1925": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/swaps/list-swaps.ts", "qualifiedName": "AdminGetSwapsParams.offset" }, - "1915": { + "1926": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/index.ts", "qualifiedName": "defaultAdminTaxRatesRelations" }, - "1916": { + "1927": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/index.ts", "qualifiedName": "defaultAdminTaxRatesFields" }, - "1917": { + "1928": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/index.ts", "qualifiedName": "AdminTaxRatesDeleteRes" }, - "1918": { + "1929": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/index.ts", "qualifiedName": "AdminTaxRatesListRes" }, - "1919": { + "1930": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/index.ts", "qualifiedName": "__type" }, - "1920": { + "1931": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/index.ts", "qualifiedName": "__type.tax_rates" }, - "1921": { + "1932": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/index.ts", "qualifiedName": "AdminTaxRatesRes" }, - "1922": { + "1933": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/index.ts", "qualifiedName": "__type" }, - "1923": { + "1934": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/index.ts", "qualifiedName": "__type.tax_rate" }, - "1924": { + "1935": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/list-tax-rates.ts", "qualifiedName": "AdminGetTaxRatesParams" }, - "1927": { + "1938": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/list-tax-rates.ts", "qualifiedName": "AdminGetTaxRatesParams.region_id" }, - "1928": { + "1939": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/list-tax-rates.ts", "qualifiedName": "AdminGetTaxRatesParams.name" }, - "1929": { + "1940": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/list-tax-rates.ts", "qualifiedName": "AdminGetTaxRatesParams.code" }, - "1930": { + "1941": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/list-tax-rates.ts", "qualifiedName": "AdminGetTaxRatesParams.rate" }, - "1931": { + "1942": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/list-tax-rates.ts", "qualifiedName": "AdminGetTaxRatesParams.offset" }, - "1932": { + "1943": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/list-tax-rates.ts", "qualifiedName": "AdminGetTaxRatesParams.limit" }, - "1933": { + "1944": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/list-tax-rates.ts", "qualifiedName": "AdminGetTaxRatesParams.expand" }, - "1934": { + "1945": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/list-tax-rates.ts", "qualifiedName": "AdminGetTaxRatesParams.fields" }, - "1935": { + "1946": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/list-tax-rates.ts", + "qualifiedName": "AdminGetTaxRatesParams.order" + }, + "1947": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/list-tax-rates.ts", + "qualifiedName": "AdminGetTaxRatesParams.updated_at" + }, + "1948": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/list-tax-rates.ts", + "qualifiedName": "AdminGetTaxRatesParams.created_at" + }, + "1949": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/list-tax-rates.ts", + "qualifiedName": "AdminGetTaxRatesParams.deleted_at" + }, + "1950": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/list-tax-rates.ts", + "qualifiedName": "AdminGetTaxRatesParams.q" + }, + "1951": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/get-tax-rate.ts", "qualifiedName": "AdminGetTaxRatesTaxRateParams" }, - "1938": { + "1954": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/get-tax-rate.ts", "qualifiedName": "AdminGetTaxRatesTaxRateParams.expand" }, - "1939": { + "1955": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/get-tax-rate.ts", "qualifiedName": "AdminGetTaxRatesTaxRateParams.fields" }, - "1940": { + "1956": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/remove-from-product-types.ts", "qualifiedName": "AdminDeleteTaxRatesTaxRateProductTypesReq" }, - "1943": { + "1959": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/remove-from-product-types.ts", "qualifiedName": "AdminDeleteTaxRatesTaxRateProductTypesReq.product_types" }, - "1944": { + "1960": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/remove-from-product-types.ts", "qualifiedName": "AdminDeleteTaxRatesTaxRateProductTypesParams" }, - "1947": { + "1963": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/remove-from-product-types.ts", "qualifiedName": "AdminDeleteTaxRatesTaxRateProductTypesParams.expand" }, - "1948": { + "1964": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/remove-from-product-types.ts", "qualifiedName": "AdminDeleteTaxRatesTaxRateProductTypesParams.fields" }, - "1949": { + "1965": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/remove-from-products.ts", "qualifiedName": "AdminDeleteTaxRatesTaxRateProductsReq" }, - "1952": { + "1968": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/remove-from-products.ts", "qualifiedName": "AdminDeleteTaxRatesTaxRateProductsReq.products" }, - "1953": { + "1969": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/remove-from-products.ts", "qualifiedName": "AdminDeleteTaxRatesTaxRateProductsParams" }, - "1956": { + "1972": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/remove-from-products.ts", "qualifiedName": "AdminDeleteTaxRatesTaxRateProductsParams.expand" }, - "1957": { + "1973": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/remove-from-products.ts", "qualifiedName": "AdminDeleteTaxRatesTaxRateProductsParams.fields" }, - "1958": { + "1974": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/remove-from-shipping-options.ts", "qualifiedName": "AdminDeleteTaxRatesTaxRateShippingOptionsReq" }, - "1961": { + "1977": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/remove-from-shipping-options.ts", "qualifiedName": "AdminDeleteTaxRatesTaxRateShippingOptionsReq.shipping_options" }, - "1962": { + "1978": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/remove-from-shipping-options.ts", "qualifiedName": "AdminDeleteTaxRatesTaxRateShippingOptionsParams" }, - "1965": { + "1981": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/remove-from-shipping-options.ts", "qualifiedName": "AdminDeleteTaxRatesTaxRateShippingOptionsParams.expand" }, - "1966": { + "1982": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/remove-from-shipping-options.ts", "qualifiedName": "AdminDeleteTaxRatesTaxRateShippingOptionsParams.fields" }, - "1967": { + "1983": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/add-to-product-types.ts", "qualifiedName": "AdminPostTaxRatesTaxRateProductTypesReq" }, - "1970": { + "1986": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/add-to-product-types.ts", "qualifiedName": "AdminPostTaxRatesTaxRateProductTypesReq.product_types" }, - "1971": { + "1987": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/add-to-product-types.ts", "qualifiedName": "AdminPostTaxRatesTaxRateProductTypesParams" }, - "1974": { + "1990": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/add-to-product-types.ts", "qualifiedName": "AdminPostTaxRatesTaxRateProductTypesParams.expand" }, - "1975": { + "1991": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/add-to-product-types.ts", "qualifiedName": "AdminPostTaxRatesTaxRateProductTypesParams.fields" }, - "1976": { + "1992": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/add-to-products.ts", "qualifiedName": "AdminPostTaxRatesTaxRateProductsReq" }, - "1979": { + "1995": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/add-to-products.ts", "qualifiedName": "AdminPostTaxRatesTaxRateProductsReq.products" }, - "1980": { + "1996": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/add-to-products.ts", "qualifiedName": "AdminPostTaxRatesTaxRateProductsParams" }, - "1983": { + "1999": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/add-to-products.ts", "qualifiedName": "AdminPostTaxRatesTaxRateProductsParams.expand" }, - "1984": { + "2000": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/add-to-products.ts", "qualifiedName": "AdminPostTaxRatesTaxRateProductsParams.fields" }, - "1985": { + "2001": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/add-to-shipping-options.ts", "qualifiedName": "AdminPostTaxRatesTaxRateShippingOptionsReq" }, - "1988": { + "2004": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/add-to-shipping-options.ts", "qualifiedName": "AdminPostTaxRatesTaxRateShippingOptionsReq.shipping_options" }, - "1989": { + "2005": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/add-to-shipping-options.ts", "qualifiedName": "AdminPostTaxRatesTaxRateShippingOptionsParams" }, - "1992": { + "2008": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/add-to-shipping-options.ts", "qualifiedName": "AdminPostTaxRatesTaxRateShippingOptionsParams.expand" }, - "1993": { + "2009": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/add-to-shipping-options.ts", "qualifiedName": "AdminPostTaxRatesTaxRateShippingOptionsParams.fields" }, - "1994": { + "2010": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/create-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesReq" }, - "1997": { + "2013": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/create-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesReq.code" }, - "1998": { + "2014": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/create-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesReq.name" }, - "1999": { + "2015": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/create-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesReq.region_id" }, - "2000": { + "2016": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/create-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesReq.rate" }, - "2001": { + "2017": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/create-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesReq.products" }, - "2002": { + "2018": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/create-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesReq.shipping_options" }, - "2003": { + "2019": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/create-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesReq.product_types" }, - "2004": { + "2020": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/create-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesParams" }, - "2007": { + "2023": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/create-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesParams.expand" }, - "2008": { + "2024": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/create-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesParams.fields" }, - "2009": { + "2025": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/update-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesTaxRateReq" }, - "2012": { + "2028": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/update-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesTaxRateReq.code" }, - "2013": { + "2029": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/update-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesTaxRateReq.name" }, - "2014": { + "2030": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/update-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesTaxRateReq.region_id" }, - "2015": { + "2031": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/update-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesTaxRateReq.rate" }, - "2016": { + "2032": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/update-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesTaxRateReq.products" }, - "2017": { + "2033": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/update-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesTaxRateReq.shipping_options" }, - "2018": { + "2034": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/update-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesTaxRateReq.product_types" }, - "2019": { + "2035": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/update-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesTaxRateParams" }, - "2022": { + "2038": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/update-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesTaxRateParams.expand" }, - "2023": { + "2039": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/tax-rates/update-tax-rate.ts", "qualifiedName": "AdminPostTaxRatesTaxRateParams.fields" }, - "2024": { + "2040": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/uploads/index.ts", "qualifiedName": "AdminUploadsRes" }, - "2025": { + "2041": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/uploads/index.ts", "qualifiedName": "__type" }, - "2026": { + "2042": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/uploads/index.ts", "qualifiedName": "__type.uploads" }, - "2027": { + "2043": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/uploads/index.ts", "qualifiedName": "AdminDeleteUploadsRes" }, - "2028": { + "2044": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/uploads/index.ts", "qualifiedName": "AdminUploadsDownloadUrlRes" }, - "2029": { + "2045": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/uploads/index.ts", "qualifiedName": "__type" }, - "2030": { + "2046": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/uploads/index.ts", "qualifiedName": "__type.download_url" }, - "2031": { + "2047": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/uploads/create-upload.ts", "qualifiedName": "IAdminPostUploadsFileReq" }, - "2034": { + "2050": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/uploads/create-upload.ts", "qualifiedName": "IAdminPostUploadsFileReq.originalName" }, - "2035": { + "2051": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/uploads/create-upload.ts", "qualifiedName": "IAdminPostUploadsFileReq.path" }, - "2036": { + "2052": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/uploads/delete-upload.ts", "qualifiedName": "AdminDeleteUploadsReq" }, - "2039": { + "2055": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/uploads/delete-upload.ts", "qualifiedName": "AdminDeleteUploadsReq.file_key" }, - "2040": { + "2056": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/uploads/get-download-url.ts", "qualifiedName": "AdminPostUploadsDownloadUrlReq" }, - "2043": { + "2059": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/uploads/get-download-url.ts", "qualifiedName": "AdminPostUploadsDownloadUrlReq.file_key" }, - "2044": { + "2060": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/index.ts", "qualifiedName": "unauthenticatedUserRoutes" }, - "2045": { + "2061": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/index.ts", "qualifiedName": "unauthenticatedUserRoutes" }, - "2046": { + "2062": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/index.ts", "qualifiedName": "app" }, - "2047": { + "2063": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/index.ts", "qualifiedName": "defaultAdminUserFields" }, - "2048": { + "2064": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/index.ts", "qualifiedName": "AdminUserRes" }, - "2049": { + "2065": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/index.ts", "qualifiedName": "__type" }, - "2050": { + "2066": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/index.ts", "qualifiedName": "__type.user" }, - "2051": { + "2067": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/index.ts", "qualifiedName": "AdminUsersListRes" }, - "2052": { + "2068": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/index.ts", "qualifiedName": "__type" }, - "2053": { + "2069": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/index.ts", "qualifiedName": "__type.users" }, - "2054": { + "2070": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/index.ts", "qualifiedName": "AdminDeleteUserRes" }, - "2055": { + "2071": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/reset-password.ts", "qualifiedName": "payload" }, - "2056": { + "2072": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/reset-password.ts", "qualifiedName": "__type" }, - "2057": { + "2073": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/reset-password.ts", "qualifiedName": "__type.email" }, - "2058": { + "2074": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/reset-password.ts", "qualifiedName": "__type.user_id" }, - "2059": { + "2075": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/reset-password.ts", "qualifiedName": "__type.password" }, - "2060": { + "2076": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/reset-password.ts", "qualifiedName": "AdminResetPasswordRequest" }, - "2063": { + "2079": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/reset-password.ts", "qualifiedName": "AdminResetPasswordRequest.email" }, - "2064": { + "2080": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/reset-password.ts", "qualifiedName": "AdminResetPasswordRequest.token" }, - "2065": { + "2081": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/reset-password.ts", "qualifiedName": "AdminResetPasswordRequest.password" }, - "2066": { + "2082": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/reset-password-token.ts", "qualifiedName": "AdminResetPasswordTokenRequest" }, - "2069": { + "2085": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/reset-password-token.ts", "qualifiedName": "AdminResetPasswordTokenRequest.email" }, - "2070": { + "2086": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/create-user.ts", "qualifiedName": "AdminCreateUserRequest" }, - "2073": { + "2089": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/create-user.ts", "qualifiedName": "AdminCreateUserRequest.email" }, - "2074": { + "2090": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/create-user.ts", "qualifiedName": "AdminCreateUserRequest.first_name" }, - "2075": { + "2091": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/create-user.ts", "qualifiedName": "AdminCreateUserRequest.last_name" }, - "2076": { + "2092": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/create-user.ts", "qualifiedName": "AdminCreateUserRequest.role" }, - "2077": { + "2093": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/create-user.ts", "qualifiedName": "AdminCreateUserRequest.password" }, - "2078": { + "2094": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/list-users.ts", "qualifiedName": "AdminGetUsersParams" }, - "2079": { + "2095": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.__new" }, - "2080": { + "2096": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "AdminGetUsersParams" }, - "2081": { + "2097": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "args" }, - "2082": { + "2098": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/list-users.ts", "qualifiedName": "AdminGetUsersParams.id" }, - "2083": { + "2099": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/list-users.ts", "qualifiedName": "AdminGetUsersParams.q" }, - "2084": { + "2100": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/list-users.ts", "qualifiedName": "AdminGetUsersParams.order" }, - "2085": { + "2101": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/list-users.ts", "qualifiedName": "AdminGetUsersParams.updated_at" }, - "2086": { + "2102": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/list-users.ts", "qualifiedName": "AdminGetUsersParams.created_at" }, - "2087": { + "2103": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/list-users.ts", "qualifiedName": "AdminGetUsersParams.deleted_at" }, - "2088": { + "2104": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/list-users.ts", "qualifiedName": "AdminGetUsersParams.email" }, - "2089": { + "2105": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/list-users.ts", "qualifiedName": "AdminGetUsersParams.first_name" }, - "2090": { + "2106": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/list-users.ts", "qualifiedName": "AdminGetUsersParams.last_name" }, - "2091": { + "2107": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/list-users.ts", "qualifiedName": "AdminGetUsersParams.role" }, - "2092": { + "2108": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/list-users.ts", "qualifiedName": "AdminGetUsersParams.fields" }, - "2093": { + "2109": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "2094": { + "2110": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.offset" }, - "2095": { + "2111": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.limit" }, - "2096": { + "2112": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/update-user.ts", "qualifiedName": "AdminUpdateUserRequest" }, - "2099": { + "2115": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/update-user.ts", "qualifiedName": "AdminUpdateUserRequest.first_name" }, - "2100": { + "2116": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/update-user.ts", "qualifiedName": "AdminUpdateUserRequest.last_name" }, - "2101": { + "2117": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/update-user.ts", "qualifiedName": "AdminUpdateUserRequest.role" }, - "2102": { + "2118": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/update-user.ts", "qualifiedName": "AdminUpdateUserRequest.api_token" }, - "2103": { + "2119": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/users/update-user.ts", "qualifiedName": "AdminUpdateUserRequest.metadata" }, - "2104": { + "2120": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/index.ts", "qualifiedName": "defaultAdminVariantRelations" }, - "2105": { + "2121": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/index.ts", "qualifiedName": "defaultAdminVariantFields" }, - "2106": { + "2122": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/index.ts", "qualifiedName": "AdminVariantsListRes" }, - "2107": { + "2123": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/index.ts", "qualifiedName": "__type" }, - "2108": { + "2124": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/index.ts", "qualifiedName": "__type.variants" }, - "2109": { + "2125": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/index.ts", "qualifiedName": "AdminVariantsRes" }, - "2110": { + "2126": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/index.ts", "qualifiedName": "__type" }, - "2111": { + "2127": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/index.ts", "qualifiedName": "__type.variant" }, - "2112": { + "2128": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/list-variants.ts", "qualifiedName": "AdminGetVariantsParams" }, - "2115": { + "2131": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/list-variants.ts", "qualifiedName": "AdminGetVariantsParams.q" }, - "2116": { + "2132": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/list-variants.ts", "qualifiedName": "AdminGetVariantsParams.limit" }, - "2117": { + "2133": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/list-variants.ts", "qualifiedName": "AdminGetVariantsParams.offset" }, - "2118": { + "2134": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/list-variants.ts", "qualifiedName": "AdminGetVariantsParams.expand" }, - "2119": { + "2135": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/list-variants.ts", "qualifiedName": "AdminGetVariantsParams.fields" }, - "2120": { + "2136": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/list-variants.ts", "qualifiedName": "AdminGetVariantsParams.id" }, - "2121": { + "2137": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/list-variants.ts", "qualifiedName": "AdminGetVariantsParams.title" }, - "2122": { + "2138": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/list-variants.ts", "qualifiedName": "AdminGetVariantsParams.inventory_quantity" }, - "2123": { + "2139": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/list-variants.ts", + "qualifiedName": "AdminGetVariantsParams.order" + }, + "2140": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/list-variants.ts", + "qualifiedName": "AdminGetVariantsParams.manage_inventory" + }, + "2141": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/list-variants.ts", + "qualifiedName": "AdminGetVariantsParams.allow_backorder" + }, + "2142": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "AdminPriceSelectionParams.customer_id" }, - "2124": { + "2143": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.cart_id" }, - "2125": { + "2144": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.region_id" }, - "2126": { + "2145": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.currency_code" }, - "2127": { + "2146": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/get-variant.ts", "qualifiedName": "AdminGetVariantParams" }, - "2130": { + "2149": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "2131": { + "2150": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "2132": { + "2151": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/get-inventory.ts", "qualifiedName": "LevelWithAvailability" }, - "2133": { + "2152": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/get-inventory.ts", "qualifiedName": "__type" }, - "2134": { + "2153": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/get-inventory.ts", "qualifiedName": "__type.available_quantity" }, - "2135": { + "2154": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/get-inventory.ts", "qualifiedName": "ResponseInventoryItem" }, - "2136": { + "2155": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/get-inventory.ts", "qualifiedName": "__type" }, - "2137": { + "2156": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/get-inventory.ts", "qualifiedName": "__type.location_levels" }, - "2138": { + "2157": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/get-inventory.ts", "qualifiedName": "VariantInventory" }, - "2139": { + "2158": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/get-inventory.ts", "qualifiedName": "__type" }, - "2140": { + "2159": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/get-inventory.ts", "qualifiedName": "__type.id" }, - "2141": { + "2160": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/get-inventory.ts", "qualifiedName": "__type.inventory" }, - "2142": { + "2161": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/get-inventory.ts", "qualifiedName": "__type.sales_channel_availability" }, - "2143": { + "2162": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/get-inventory.ts", "qualifiedName": "__type" }, - "2144": { + "2163": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/get-inventory.ts", "qualifiedName": "__type.channel_name" }, - "2145": { + "2164": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/get-inventory.ts", "qualifiedName": "__type.channel_id" }, - "2146": { + "2165": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/get-inventory.ts", "qualifiedName": "__type.available_quantity" }, - "2147": { + "2166": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/get-inventory.ts", "qualifiedName": "AdminGetVariantsVariantInventoryRes" }, - "2148": { + "2167": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/get-inventory.ts", "qualifiedName": "__type" }, - "2149": { + "2168": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/variants/get-inventory.ts", "qualifiedName": "__type.variant" }, - "2150": { + "2169": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/workflows-executions/query-config.ts", + "qualifiedName": "defaultAdminWorkflowExecutionsRelations" + }, + "2170": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/workflows-executions/query-config.ts", + "qualifiedName": "allowedAdminWorkflowExecutionsRelations" + }, + "2171": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/workflows-executions/query-config.ts", + "qualifiedName": "defaultAdminWorkflowExecutionsFields" + }, + "2172": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/workflows-executions/query-config.ts", + "qualifiedName": "defaultAdminWorkflowExecutionDetailFields" + }, + "2173": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/workflows-executions/validators.ts", + "qualifiedName": "AdminGetWorkflowExecutionDetailsParams" + }, + "2176": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindParams.expand" + }, + "2177": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindParams.fields" + }, + "2178": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/workflows-executions/validators.ts", + "qualifiedName": "AdminGetWorkflowExecutionsParams" + }, + "2179": { + "sourceFileName": "../../../packages/medusa/src/types/global.ts", + "qualifiedName": "__type.__new" + }, + "2180": { + "sourceFileName": "../../../packages/medusa/src/types/global.ts", + "qualifiedName": "AdminGetWorkflowExecutionsParams" + }, + "2181": { + "sourceFileName": "../../../packages/medusa/src/types/global.ts", + "qualifiedName": "args" + }, + "2182": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/workflows-executions/validators.ts", + "qualifiedName": "AdminGetWorkflowExecutionsParams.transaction_id" + }, + "2183": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/workflows-executions/validators.ts", + "qualifiedName": "AdminGetWorkflowExecutionsParams.workflow_id" + }, + "2184": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindParams.expand" + }, + "2185": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindParams.fields" + }, + "2186": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindPaginationParams.offset" + }, + "2187": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindPaginationParams.limit" + }, + "2188": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindPaginationParams.order" + }, + "2189": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/workflows-executions/validators.ts", + "qualifiedName": "AdminPostWorkflowsRunReq" + }, + "2192": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/workflows-executions/validators.ts", + "qualifiedName": "AdminPostWorkflowsRunReq.input" + }, + "2193": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/workflows-executions/validators.ts", + "qualifiedName": "AdminPostWorkflowsRunReq.transaction_id" + }, + "2194": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/workflows-executions/validators.ts", + "qualifiedName": "AdminPostWorkflowsAsyncResponseReq" + }, + "2197": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/workflows-executions/validators.ts", + "qualifiedName": "AdminPostWorkflowsAsyncResponseReq.transaction_id" + }, + "2198": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/workflows-executions/validators.ts", + "qualifiedName": "AdminPostWorkflowsAsyncResponseReq.step_id" + }, + "2199": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/workflows-executions/validators.ts", + "qualifiedName": "AdminPostWorkflowsAsyncResponseReq.response" + }, + "2200": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/workflows-executions/validators.ts", + "qualifiedName": "AdminPostWorkflowsAsyncResponseReq.compensate_input" + }, + "2201": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/workflows-executions/validators.ts", + "qualifiedName": "AdminPostWorkflowsAsyncResponseReq.action" + }, + "2202": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/auth/index.ts", "qualifiedName": "StoreAuthRes" }, - "2151": { + "2203": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/auth/index.ts", "qualifiedName": "__type" }, - "2152": { + "2204": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/auth/index.ts", "qualifiedName": "__type.customer" }, - "2153": { + "2205": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/auth/index.ts", "qualifiedName": "StoreBearerAuthRes" }, - "2154": { + "2206": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/auth/index.ts", "qualifiedName": "__type" }, - "2155": { + "2207": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/auth/index.ts", "qualifiedName": "__type.access_token" }, - "2156": { + "2208": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/auth/index.ts", "qualifiedName": "StoreGetAuthEmailRes" }, - "2157": { + "2209": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/auth/index.ts", "qualifiedName": "__type" }, - "2158": { + "2210": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/auth/index.ts", "qualifiedName": "__type.exists" }, - "2159": { + "2211": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/auth/create-session.ts", "qualifiedName": "StorePostAuthReq" }, - "2162": { + "2214": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/auth/create-session.ts", "qualifiedName": "StorePostAuthReq.email" }, - "2163": { + "2215": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/auth/create-session.ts", "qualifiedName": "StorePostAuthReq.password" }, - "2164": { + "2216": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/index.ts", "qualifiedName": "defaultStoreCartFields" }, - "2165": { + "2217": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/index.ts", "qualifiedName": "defaultStoreCartRelations" }, - "2166": { + "2218": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/index.ts", "qualifiedName": "StoreCartsRes" }, - "2167": { + "2219": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/index.ts", "qualifiedName": "__type" }, - "2168": { + "2220": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/index.ts", "qualifiedName": "__type.cart" }, - "2169": { + "2221": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/index.ts", "qualifiedName": "StoreCompleteCartRes" }, - "2170": { + "2222": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/index.ts", "qualifiedName": "__type" }, - "2171": { + "2223": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/index.ts", "qualifiedName": "__type.type" }, - "2172": { + "2224": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/index.ts", "qualifiedName": "__type.data" }, - "2173": { + "2225": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/index.ts", "qualifiedName": "__type" }, - "2174": { + "2226": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/index.ts", "qualifiedName": "__type.type" }, - "2175": { + "2227": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/index.ts", "qualifiedName": "__type.data" }, - "2176": { + "2228": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/index.ts", "qualifiedName": "__type" }, - "2177": { + "2229": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/index.ts", "qualifiedName": "__type.type" }, - "2178": { + "2230": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/index.ts", "qualifiedName": "__type.data" }, - "2179": { + "2231": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/add-shipping-method.ts", "qualifiedName": "StorePostCartsCartShippingMethodReq" }, - "2182": { + "2234": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/add-shipping-method.ts", "qualifiedName": "StorePostCartsCartShippingMethodReq.option_id" }, - "2183": { + "2235": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/add-shipping-method.ts", "qualifiedName": "StorePostCartsCartShippingMethodReq.data" }, - "2184": { + "2236": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/create-cart.ts", "qualifiedName": "Item" }, - "2187": { + "2239": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/create-cart.ts", "qualifiedName": "Item.variant_id" }, - "2188": { + "2240": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/create-cart.ts", "qualifiedName": "Item.quantity" }, - "2189": { + "2241": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/create-cart.ts", "qualifiedName": "StorePostCartReq" }, - "2192": { + "2244": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/create-cart.ts", "qualifiedName": "StorePostCartReq.region_id" }, - "2193": { + "2245": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/create-cart.ts", "qualifiedName": "StorePostCartReq.country_code" }, - "2194": { + "2246": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/create-cart.ts", "qualifiedName": "StorePostCartReq.items" }, - "2195": { + "2247": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/create-cart.ts", "qualifiedName": "StorePostCartReq.context" }, - "2196": { + "2248": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/create-cart.ts", "qualifiedName": "StorePostCartReq.sales_channel_id" }, - "2197": { + "2249": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/create-line-item/index.ts", "qualifiedName": "StorePostCartsCartLineItemsReq" }, - "2200": { + "2252": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/create-line-item/index.ts", "qualifiedName": "StorePostCartsCartLineItemsReq.variant_id" }, - "2201": { + "2253": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/create-line-item/index.ts", "qualifiedName": "StorePostCartsCartLineItemsReq.quantity" }, - "2202": { + "2254": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/create-line-item/index.ts", "qualifiedName": "StorePostCartsCartLineItemsReq.metadata" }, - "2203": { + "2255": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/set-payment-session.ts", "qualifiedName": "StorePostCartsCartPaymentSessionReq" }, - "2206": { + "2258": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/set-payment-session.ts", "qualifiedName": "StorePostCartsCartPaymentSessionReq.provider_id" }, - "2207": { + "2259": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-cart.ts", "qualifiedName": "StorePostCartsCartReq" }, - "2210": { + "2262": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-cart.ts", "qualifiedName": "StorePostCartsCartReq.region_id" }, - "2211": { + "2263": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-cart.ts", "qualifiedName": "StorePostCartsCartReq.country_code" }, - "2212": { + "2264": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-cart.ts", "qualifiedName": "StorePostCartsCartReq.email" }, - "2213": { + "2265": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-cart.ts", "qualifiedName": "StorePostCartsCartReq.billing_address" }, - "2214": { + "2266": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-cart.ts", "qualifiedName": "StorePostCartsCartReq.shipping_address" }, - "2215": { + "2267": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-cart.ts", "qualifiedName": "StorePostCartsCartReq.gift_cards" }, - "2216": { + "2268": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-cart.ts", "qualifiedName": "StorePostCartsCartReq.discounts" }, - "2217": { + "2269": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-cart.ts", "qualifiedName": "StorePostCartsCartReq.customer_id" }, - "2218": { + "2270": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-cart.ts", "qualifiedName": "StorePostCartsCartReq.context" }, - "2219": { + "2271": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-cart.ts", "qualifiedName": "StorePostCartsCartReq.sales_channel_id" }, - "2220": { + "2272": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-line-item.ts", "qualifiedName": "StorePostCartsCartLineItemsItemReq" }, - "2223": { + "2275": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-line-item.ts", "qualifiedName": "StorePostCartsCartLineItemsItemReq.quantity" }, - "2224": { + "2276": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-line-item.ts", "qualifiedName": "StorePostCartsCartLineItemsItemReq.metadata" }, - "2225": { + "2277": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-payment-session.ts", "qualifiedName": "StorePostCartsCartPaymentSessionUpdateReq" }, - "2228": { + "2280": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-payment-session.ts", "qualifiedName": "StorePostCartsCartPaymentSessionUpdateReq.data" }, - "2229": { + "2281": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/collections/index.ts", "qualifiedName": "defaultStoreCollectionRelations" }, - "2230": { + "2282": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/collections/index.ts", "qualifiedName": "allowedFields" }, - "2231": { + "2283": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/collections/index.ts", "qualifiedName": "StoreCollectionsListRes" }, - "2232": { + "2284": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/collections/index.ts", "qualifiedName": "__type" }, - "2233": { + "2285": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/collections/index.ts", "qualifiedName": "__type.collections" }, - "2234": { + "2286": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/collections/index.ts", "qualifiedName": "StoreCollectionsRes" }, - "2235": { + "2287": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/collections/index.ts", "qualifiedName": "__type" }, - "2236": { + "2288": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/collections/index.ts", "qualifiedName": "__type.collection" }, - "2237": { + "2289": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/collections/list-collections.ts", "qualifiedName": "StoreGetCollectionsParams" }, - "2240": { + "2292": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/collections/list-collections.ts", "qualifiedName": "StoreGetCollectionsParams.handle" }, - "2241": { + "2293": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/collections/list-collections.ts", "qualifiedName": "StoreGetCollectionsParams.limit" }, - "2242": { + "2294": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/collections/list-collections.ts", "qualifiedName": "StoreGetCollectionsParams.offset" }, - "2243": { + "2295": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/collections/list-collections.ts", "qualifiedName": "StoreGetCollectionsParams.created_at" }, - "2244": { + "2296": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/collections/list-collections.ts", "qualifiedName": "StoreGetCollectionsParams.updated_at" }, - "2245": { + "2297": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/index.ts", "qualifiedName": "defaultStoreCustomersRelations" }, - "2246": { + "2298": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/index.ts", "qualifiedName": "defaultStoreCustomersFields" }, - "2247": { + "2299": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/index.ts", "qualifiedName": "allowedStoreCustomersRelations" }, - "2248": { + "2300": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/index.ts", "qualifiedName": "allowedStoreCustomersFields" }, - "2249": { + "2301": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/index.ts", "qualifiedName": "StoreCustomersRes" }, - "2250": { + "2302": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/index.ts", "qualifiedName": "__type" }, - "2251": { + "2303": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/index.ts", "qualifiedName": "__type.customer" }, - "2252": { + "2304": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/index.ts", "qualifiedName": "StoreCustomersResetPasswordRes" }, - "2253": { + "2305": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/index.ts", "qualifiedName": "__type" }, - "2254": { + "2306": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/index.ts", "qualifiedName": "__type.customer" }, - "2255": { + "2307": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/index.ts", "qualifiedName": "StoreCustomersListOrdersRes" }, - "2256": { + "2308": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/index.ts", "qualifiedName": "__type" }, - "2257": { + "2309": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/index.ts", "qualifiedName": "__type.orders" }, - "2258": { + "2310": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/index.ts", "qualifiedName": "StoreCustomersListPaymentMethodsRes" }, - "2259": { + "2311": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/index.ts", "qualifiedName": "__type" }, - "2260": { + "2312": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/index.ts", "qualifiedName": "__type.payment_methods" }, - "2261": { + "2313": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/index.ts", "qualifiedName": "__type" }, - "2262": { + "2314": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/index.ts", "qualifiedName": "__type.provider_id" }, - "2263": { + "2315": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/index.ts", "qualifiedName": "__type.data" }, - "2264": { + "2316": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/create-address.ts", "qualifiedName": "StorePostCustomersCustomerAddressesReq" }, - "2267": { + "2319": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/create-address.ts", "qualifiedName": "StorePostCustomersCustomerAddressesReq.address" }, - "2268": { + "2320": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/create-customer.ts", "qualifiedName": "StorePostCustomersReq" }, - "2271": { + "2323": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/create-customer.ts", "qualifiedName": "StorePostCustomersReq.first_name" }, - "2272": { + "2324": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/create-customer.ts", "qualifiedName": "StorePostCustomersReq.last_name" }, - "2273": { + "2325": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/create-customer.ts", "qualifiedName": "StorePostCustomersReq.email" }, - "2274": { + "2326": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/create-customer.ts", "qualifiedName": "StorePostCustomersReq.password" }, - "2275": { + "2327": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/create-customer.ts", "qualifiedName": "StorePostCustomersReq.phone" }, - "2276": { + "2328": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersPaginationParams" }, - "2279": { + "2331": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersPaginationParams.limit" }, - "2280": { + "2332": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersPaginationParams.offset" }, - "2281": { + "2333": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersPaginationParams.fields" }, - "2282": { + "2334": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersPaginationParams.expand" }, - "2283": { + "2335": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersParams" }, - "2286": { + "2338": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersParams.id" }, - "2287": { + "2339": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersParams.q" }, - "2288": { + "2340": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersParams.status" }, - "2289": { + "2341": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersParams.fulfillment_status" }, - "2290": { + "2342": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersParams.payment_status" }, - "2291": { + "2343": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersParams.display_id" }, - "2292": { + "2344": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersParams.cart_id" }, - "2293": { + "2345": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersParams.email" }, - "2294": { + "2346": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersParams.region_id" }, - "2295": { + "2347": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersParams.currency_code" }, - "2296": { + "2348": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersParams.tax_rate" }, - "2297": { + "2349": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersParams.created_at" }, - "2298": { + "2350": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersParams.updated_at" }, - "2299": { + "2351": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersParams.canceled_at" }, - "2300": { + "2352": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersPaginationParams.limit" }, - "2301": { + "2353": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersPaginationParams.offset" }, - "2302": { + "2354": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersPaginationParams.fields" }, - "2303": { + "2355": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/list-orders.ts", "qualifiedName": "StoreGetCustomersCustomerOrdersPaginationParams.expand" }, - "2304": { + "2356": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/reset-password.ts", "qualifiedName": "StorePostCustomersResetPasswordReq" }, - "2307": { + "2359": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/reset-password.ts", "qualifiedName": "StorePostCustomersResetPasswordReq.email" }, - "2308": { + "2360": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/reset-password.ts", "qualifiedName": "StorePostCustomersResetPasswordReq.token" }, - "2309": { + "2361": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/reset-password.ts", "qualifiedName": "StorePostCustomersResetPasswordReq.password" }, - "2310": { + "2362": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/reset-password-token.ts", "qualifiedName": "StorePostCustomersCustomerPasswordTokenReq" }, - "2313": { + "2365": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/reset-password-token.ts", "qualifiedName": "StorePostCustomersCustomerPasswordTokenReq.email" }, - "2314": { + "2366": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/update-address.ts", "qualifiedName": "StorePostCustomersCustomerAddressesAddressReq" }, - "2317": { + "2369": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.first_name" }, - "2318": { + "2370": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.last_name" }, - "2319": { + "2371": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.phone" }, - "2320": { + "2372": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.metadata" }, - "2321": { + "2373": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.company" }, - "2322": { + "2374": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.address_1" }, - "2323": { + "2375": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.address_2" }, - "2324": { + "2376": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.city" }, - "2325": { + "2377": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.country_code" }, - "2326": { + "2378": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.province" }, - "2327": { + "2379": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.postal_code" }, - "2328": { + "2380": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/update-customer.ts", "qualifiedName": "StorePostCustomersCustomerReq" }, - "2331": { + "2383": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/update-customer.ts", "qualifiedName": "StorePostCustomersCustomerReq.billing_address" }, - "2332": { + "2384": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/update-customer.ts", "qualifiedName": "StorePostCustomersCustomerReq.first_name" }, - "2333": { + "2385": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/update-customer.ts", "qualifiedName": "StorePostCustomersCustomerReq.last_name" }, - "2334": { + "2386": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/update-customer.ts", "qualifiedName": "StorePostCustomersCustomerReq.password" }, - "2335": { + "2387": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/update-customer.ts", "qualifiedName": "StorePostCustomersCustomerReq.phone" }, - "2336": { + "2388": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/update-customer.ts", "qualifiedName": "StorePostCustomersCustomerReq.email" }, - "2337": { + "2389": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/customers/update-customer.ts", "qualifiedName": "StorePostCustomersCustomerReq.metadata" }, - "2338": { + "2390": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/gift-cards/index.ts", "qualifiedName": "defaultStoreGiftCardRelations" }, - "2339": { + "2391": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/gift-cards/index.ts", "qualifiedName": "defaultStoreGiftCardFields" }, - "2340": { + "2392": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/gift-cards/index.ts", "qualifiedName": "allowedStoreGiftCardRelations" }, - "2341": { + "2393": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/gift-cards/index.ts", "qualifiedName": "allowedStoreGiftCardFields" }, - "2342": { + "2394": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/gift-cards/index.ts", "qualifiedName": "StoreGiftCardsRes" }, - "2343": { + "2395": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/gift-cards/index.ts", "qualifiedName": "__type" }, - "2344": { + "2396": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/gift-cards/index.ts", "qualifiedName": "__type.gift_card" }, - "2345": { + "2397": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/order-edits/index.ts", "qualifiedName": "StoreOrderEditsRes" }, - "2346": { + "2398": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/order-edits/index.ts", "qualifiedName": "__type" }, - "2347": { + "2399": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/order-edits/index.ts", "qualifiedName": "__type.order_edit" }, - "2348": { + "2400": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/order-edits/decline-order-edit.ts", "qualifiedName": "StorePostOrderEditsOrderEditDecline" }, - "2351": { + "2403": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/order-edits/decline-order-edit.ts", "qualifiedName": "StorePostOrderEditsOrderEditDecline.declined_reason" }, - "2352": { + "2404": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/orders/index.ts", "qualifiedName": "defaultStoreOrdersRelations" }, - "2353": { + "2405": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/orders/index.ts", "qualifiedName": "allowedStoreOrdersRelations" }, - "2354": { + "2406": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/orders/index.ts", "qualifiedName": "defaultStoreOrdersFields" }, - "2355": { + "2407": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/orders/index.ts", "qualifiedName": "allowedStoreOrdersFields" }, - "2356": { + "2408": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/orders/index.ts", "qualifiedName": "StoreOrdersRes" }, - "2357": { + "2409": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/orders/index.ts", "qualifiedName": "__type" }, - "2358": { + "2410": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/orders/index.ts", "qualifiedName": "__type.order" }, - "2359": { + "2411": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/orders/confirm-order-request.ts", "qualifiedName": "StorePostCustomersCustomerAcceptClaimReq" }, - "2362": { + "2414": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/orders/confirm-order-request.ts", "qualifiedName": "StorePostCustomersCustomerAcceptClaimReq.token" }, - "2363": { + "2415": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/orders/lookup-order.ts", "qualifiedName": "ShippingAddressPayload" }, - "2366": { + "2418": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/orders/lookup-order.ts", "qualifiedName": "ShippingAddressPayload.postal_code" }, - "2367": { + "2419": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/orders/lookup-order.ts", "qualifiedName": "StoreGetOrdersParams" }, - "2370": { + "2422": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/orders/lookup-order.ts", "qualifiedName": "StoreGetOrdersParams.display_id" }, - "2371": { + "2423": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/orders/lookup-order.ts", "qualifiedName": "StoreGetOrdersParams.email" }, - "2372": { + "2424": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/orders/lookup-order.ts", "qualifiedName": "StoreGetOrdersParams.shipping_address" }, - "2373": { + "2425": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "2374": { + "2426": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "2375": { + "2427": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/orders/request-order.ts", "qualifiedName": "StorePostCustomersCustomerOrderClaimReq" }, - "2378": { + "2430": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/orders/request-order.ts", "qualifiedName": "StorePostCustomersCustomerOrderClaimReq.order_ids" }, - "2379": { + "2431": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/payment-collections/index.ts", "qualifiedName": "defaultPaymentCollectionRelations" }, - "2380": { + "2432": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/payment-collections/index.ts", "qualifiedName": "StorePaymentCollectionsRes" }, - "2381": { + "2433": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/payment-collections/index.ts", "qualifiedName": "__type" }, - "2382": { + "2434": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/payment-collections/index.ts", "qualifiedName": "__type.payment_collection" }, - "2383": { + "2435": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/payment-collections/index.ts", "qualifiedName": "StorePaymentCollectionsSessionRes" }, - "2384": { + "2436": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/payment-collections/index.ts", "qualifiedName": "__type" }, - "2385": { + "2437": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/payment-collections/index.ts", "qualifiedName": "__type.payment_session" }, - "2386": { + "2438": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/payment-collections/authorize-batch-payment-sessions.ts", "qualifiedName": "StorePostPaymentCollectionsBatchSessionsAuthorizeReq" }, - "2389": { + "2441": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/payment-collections/authorize-batch-payment-sessions.ts", "qualifiedName": "StorePostPaymentCollectionsBatchSessionsAuthorizeReq.session_ids" }, - "2390": { + "2442": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/payment-collections/get-payment-collection.ts", "qualifiedName": "StoreGetPaymentCollectionsParams" }, - "2393": { + "2445": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "2394": { + "2446": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "2395": { + "2447": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/payment-collections/manage-batch-payment-sessions.ts", "qualifiedName": "StorePostPaymentCollectionsSessionsReq" }, - "2398": { + "2450": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/payment-collections/manage-batch-payment-sessions.ts", "qualifiedName": "StorePostPaymentCollectionsSessionsReq.provider_id" }, - "2399": { + "2451": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/payment-collections/manage-batch-payment-sessions.ts", "qualifiedName": "StorePostPaymentCollectionsSessionsReq.amount" }, - "2400": { + "2452": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/payment-collections/manage-batch-payment-sessions.ts", "qualifiedName": "StorePostPaymentCollectionsSessionsReq.session_id" }, - "2401": { + "2453": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/payment-collections/manage-batch-payment-sessions.ts", "qualifiedName": "StorePostPaymentCollectionsBatchSessionsReq" }, - "2404": { + "2456": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/payment-collections/manage-batch-payment-sessions.ts", "qualifiedName": "StorePostPaymentCollectionsBatchSessionsReq.sessions" }, - "2405": { + "2457": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/payment-collections/manage-payment-session.ts", "qualifiedName": "StorePaymentCollectionSessionsReq" }, - "2408": { + "2460": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/payment-collections/manage-payment-session.ts", "qualifiedName": "StorePaymentCollectionSessionsReq.provider_id" }, - "2409": { + "2461": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-categories/index.ts", "qualifiedName": "defaultStoreProductCategoryRelations" }, - "2410": { + "2462": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-categories/index.ts", "qualifiedName": "defaultStoreCategoryScope" }, - "2411": { + "2463": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-categories/index.ts", "qualifiedName": "__object" }, - "2412": { + "2464": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-categories/index.ts", "qualifiedName": "__object.is_internal" }, - "2413": { + "2465": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-categories/index.ts", "qualifiedName": "__object.is_active" }, - "2414": { + "2466": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-categories/index.ts", "qualifiedName": "defaultStoreProductCategoryFields" }, - "2415": { + "2467": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-categories/index.ts", "qualifiedName": "allowedStoreProductCategoryFields" }, - "2416": { + "2468": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-categories/index.ts", "qualifiedName": "StoreGetProductCategoriesCategoryRes" }, - "2417": { + "2469": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-categories/index.ts", "qualifiedName": "__type" }, - "2418": { + "2470": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-categories/index.ts", "qualifiedName": "__type.product_category" }, - "2419": { + "2471": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-categories/index.ts", "qualifiedName": "StoreGetProductCategoriesRes" }, - "2420": { + "2472": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-categories/index.ts", "qualifiedName": "__type" }, - "2421": { + "2473": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-categories/index.ts", "qualifiedName": "__type.product_categories" }, - "2422": { + "2474": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-categories/get-product-category.ts", "qualifiedName": "StoreGetProductCategoriesCategoryParams" }, - "2425": { + "2477": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "2426": { + "2478": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "2427": { + "2479": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-categories/list-product-categories.ts", "qualifiedName": "StoreGetProductCategoriesParams" }, - "2428": { + "2480": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.__new" }, - "2429": { + "2481": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "StoreGetProductCategoriesParams" }, - "2430": { + "2482": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "args" }, - "2431": { + "2483": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-categories/list-product-categories.ts", "qualifiedName": "StoreGetProductCategoriesParams.q" }, - "2432": { + "2484": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-categories/list-product-categories.ts", "qualifiedName": "StoreGetProductCategoriesParams.handle" }, - "2433": { + "2485": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-categories/list-product-categories.ts", "qualifiedName": "StoreGetProductCategoriesParams.parent_category_id" }, - "2434": { + "2486": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-categories/list-product-categories.ts", "qualifiedName": "StoreGetProductCategoriesParams.include_descendants_tree" }, - "2435": { + "2487": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "2436": { + "2488": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "2437": { + "2489": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.offset" }, - "2438": { + "2490": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.limit" }, - "2439": { + "2491": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindPaginationParams.order" + }, + "2492": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-tags/index.ts", "qualifiedName": "defaultStoreProductTagFields" }, - "2440": { + "2493": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-tags/index.ts", "qualifiedName": "allowedStoreProductTagFields" }, - "2441": { + "2494": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-tags/index.ts", "qualifiedName": "defaultStoreProductTagRelations" }, - "2442": { + "2495": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-tags/index.ts", "qualifiedName": "StoreProductTagsListRes" }, - "2443": { + "2496": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-tags/index.ts", "qualifiedName": "__type" }, - "2444": { + "2497": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-tags/index.ts", "qualifiedName": "__type.product_tags" }, - "2445": { + "2498": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-tags/list-product-tags.ts", "qualifiedName": "StoreGetProductTagsParams" }, - "2448": { + "2501": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-tags/list-product-tags.ts", "qualifiedName": "StoreGetProductTagsParams.id" }, - "2449": { + "2502": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-tags/list-product-tags.ts", "qualifiedName": "StoreGetProductTagsParams.q" }, - "2450": { + "2503": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-tags/list-product-tags.ts", "qualifiedName": "StoreGetProductTagsParams.value" }, - "2451": { + "2504": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-tags/list-product-tags.ts", "qualifiedName": "StoreGetProductTagsParams.created_at" }, - "2452": { + "2505": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-tags/list-product-tags.ts", "qualifiedName": "StoreGetProductTagsParams.updated_at" }, - "2453": { + "2506": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-tags/list-product-tags.ts", "qualifiedName": "StoreGetProductTagsParams.order" }, - "2454": { + "2507": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-tags/list-product-tags.ts", "qualifiedName": "StoreGetProductTagsParams.discount_condition_id" }, - "2455": { + "2508": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.offset" }, - "2456": { + "2509": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.limit" }, - "2457": { + "2510": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-types/index.ts", "qualifiedName": "allowedStoreProductTypeFields" }, - "2458": { + "2511": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-types/index.ts", "qualifiedName": "defaultStoreProductTypeFields" }, - "2459": { + "2512": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-types/index.ts", "qualifiedName": "defaultStoreProductTypeRelations" }, - "2460": { + "2513": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-types/index.ts", "qualifiedName": "StoreProductTypesListRes" }, - "2461": { + "2514": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-types/index.ts", "qualifiedName": "__type" }, - "2462": { + "2515": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-types/index.ts", "qualifiedName": "__type.product_types" }, - "2463": { + "2516": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-types/list-product-types.ts", "qualifiedName": "StoreGetProductTypesParams" }, - "2466": { + "2519": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-types/list-product-types.ts", "qualifiedName": "StoreGetProductTypesParams.id" }, - "2467": { + "2520": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-types/list-product-types.ts", "qualifiedName": "StoreGetProductTypesParams.q" }, - "2468": { + "2521": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-types/list-product-types.ts", "qualifiedName": "StoreGetProductTypesParams.value" }, - "2469": { + "2522": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-types/list-product-types.ts", "qualifiedName": "StoreGetProductTypesParams.created_at" }, - "2470": { + "2523": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-types/list-product-types.ts", "qualifiedName": "StoreGetProductTypesParams.updated_at" }, - "2471": { + "2524": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-types/list-product-types.ts", "qualifiedName": "StoreGetProductTypesParams.order" }, - "2472": { + "2525": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/product-types/list-product-types.ts", "qualifiedName": "StoreGetProductTypesParams.discount_condition_id" }, - "2473": { + "2526": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.offset" }, - "2474": { + "2527": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.limit" }, - "2475": { + "2528": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "defaultStoreProductsRelations" }, - "2476": { + "2529": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "defaultStoreProductsFields" }, - "2477": { + "2530": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "allowedStoreProductsFields" }, - "2478": { + "2531": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "allowedStoreProductsRelations" }, - "2479": { + "2532": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "defaultStoreProductRemoteQueryObject" }, - "2480": { + "2533": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object" }, - "2481": { + "2534": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.fields" }, - "2482": { + "2535": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.images" }, - "2483": { + "2536": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object" }, - "2484": { + "2537": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.fields" }, - "2485": { + "2538": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.tags" }, - "2486": { + "2539": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object" }, - "2487": { + "2540": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.fields" }, - "2488": { + "2541": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.type" }, - "2489": { + "2542": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object" }, - "2490": { + "2543": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.fields" }, - "2491": { + "2544": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.collection" }, - "2492": { + "2545": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object" }, - "2493": { + "2546": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.fields" }, - "2494": { + "2547": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.options" }, - "2495": { + "2548": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object" }, - "2496": { + "2549": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.fields" }, - "2497": { + "2550": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.values" }, - "2498": { + "2551": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object" }, - "2499": { + "2552": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.fields" }, - "2500": { + "2553": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.variants" }, - "2501": { + "2554": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object" }, - "2502": { + "2555": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.fields" }, - "2503": { + "2556": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.options" }, - "2504": { + "2557": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object" }, - "2505": { + "2558": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.fields" }, - "2506": { + "2559": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.profile" }, - "2507": { + "2560": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object" }, - "2508": { + "2561": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.fields" }, - "2509": { + "2562": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.sales_channels" }, - "2510": { + "2563": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object" }, - "2511": { + "2564": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__object.fields" }, - "2512": { + "2565": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "StoreProductsRes" }, - "2513": { + "2566": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__type" }, - "2514": { + "2567": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__type.product" }, - "2515": { + "2568": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "StorePostSearchRes" }, - "2516": { + "2569": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__type" }, - "2517": { + "2570": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__type.hits" }, - "2518": { + "2571": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "StoreProductsListRes" }, - "2519": { + "2572": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__type" }, - "2520": { + "2573": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/index.ts", "qualifiedName": "__type.products" }, - "2521": { + "2574": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsPaginationParams" }, - "2524": { + "2577": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsPaginationParams.offset" }, - "2525": { + "2578": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsPaginationParams.limit" }, - "2526": { + "2579": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsPaginationParams.order" }, - "2527": { + "2580": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.cart_id" }, - "2528": { + "2581": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.region_id" }, - "2529": { + "2582": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.currency_code" }, - "2530": { + "2583": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "2531": { + "2584": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "2532": { + "2585": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsParams" }, - "2535": { + "2588": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsParams.id" }, - "2536": { + "2589": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsParams.q" }, - "2537": { + "2590": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsParams.collection_id" }, - "2538": { + "2591": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsParams.tags" }, - "2539": { + "2592": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsParams.title" }, - "2540": { + "2593": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsParams.description" }, - "2541": { + "2594": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsParams.handle" }, - "2542": { + "2595": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsParams.is_giftcard" }, - "2543": { + "2596": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsParams.type_id" }, - "2544": { + "2597": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsParams.sales_channel_id" }, - "2545": { + "2598": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsParams.category_id" }, - "2546": { + "2599": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsParams.include_category_children" }, - "2547": { + "2600": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsParams.created_at" }, - "2548": { + "2601": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsParams.updated_at" }, - "2549": { + "2602": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsPaginationParams.offset" }, - "2550": { + "2603": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsPaginationParams.limit" }, - "2551": { + "2604": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/list-products.ts", "qualifiedName": "StoreGetProductsPaginationParams.order" }, - "2552": { + "2605": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.cart_id" }, - "2553": { + "2606": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.region_id" }, - "2554": { + "2607": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.currency_code" }, - "2555": { + "2608": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "2556": { + "2609": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "2557": { + "2610": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/search.ts", "qualifiedName": "StorePostSearchReq" }, - "2560": { + "2613": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/search.ts", "qualifiedName": "StorePostSearchReq.q" }, - "2561": { + "2614": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/search.ts", "qualifiedName": "StorePostSearchReq.offset" }, - "2562": { + "2615": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/search.ts", "qualifiedName": "StorePostSearchReq.limit" }, - "2563": { + "2616": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/products/search.ts", "qualifiedName": "StorePostSearchReq.filter" }, - "2564": { + "2617": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/regions/index.ts", "qualifiedName": "defaultStoreRegionRelations" }, - "2565": { + "2618": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/regions/index.ts", "qualifiedName": "defaultStoreRegionFields" }, - "2566": { + "2619": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/regions/index.ts", "qualifiedName": "StoreRegionsListRes" }, - "2567": { + "2620": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/regions/index.ts", "qualifiedName": "__type" }, - "2568": { + "2621": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/regions/index.ts", "qualifiedName": "__type.regions" }, - "2569": { + "2622": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/regions/index.ts", "qualifiedName": "StoreRegionsRes" }, - "2570": { + "2623": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/regions/index.ts", "qualifiedName": "__type" }, - "2571": { + "2624": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/regions/index.ts", "qualifiedName": "__type.region" }, - "2572": { + "2625": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/regions/get-region.ts", "qualifiedName": "StoreGetRegionsRegionParams" }, - "2575": { + "2628": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "2576": { + "2629": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "2577": { + "2630": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/regions/list-regions.ts", "qualifiedName": "StoreGetRegionsParams" }, - "2578": { + "2631": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.__new" }, - "2579": { + "2632": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "StoreGetRegionsParams" }, - "2580": { + "2633": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "args" }, - "2581": { + "2634": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/regions/list-regions.ts", "qualifiedName": "StoreGetRegionsParams.created_at" }, - "2582": { + "2635": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/regions/list-regions.ts", "qualifiedName": "StoreGetRegionsParams.updated_at" }, - "2583": { + "2636": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "2584": { + "2637": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "2585": { + "2638": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.offset" }, - "2586": { + "2639": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.limit" }, - "2587": { + "2640": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindPaginationParams.order" + }, + "2641": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/return-reasons/index.ts", "qualifiedName": "defaultStoreReturnReasonFields" }, - "2588": { + "2642": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/return-reasons/index.ts", "qualifiedName": "defaultStoreReturnReasonRelations" }, - "2589": { + "2643": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/return-reasons/index.ts", "qualifiedName": "StoreReturnReasonsListRes" }, - "2590": { + "2644": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/return-reasons/index.ts", "qualifiedName": "__type" }, - "2591": { + "2645": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/return-reasons/index.ts", "qualifiedName": "__type.return_reasons" }, - "2592": { + "2646": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/return-reasons/index.ts", "qualifiedName": "StoreReturnReasonsRes" }, - "2593": { + "2647": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/return-reasons/index.ts", "qualifiedName": "__type" }, - "2594": { + "2648": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/return-reasons/index.ts", "qualifiedName": "__type.return_reason" }, - "2595": { + "2649": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/returns/index.ts", "qualifiedName": "StoreReturnsRes" }, - "2596": { + "2650": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/returns/index.ts", "qualifiedName": "__type" }, - "2597": { + "2651": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/returns/index.ts", "qualifiedName": "__type.return" }, - "2598": { + "2652": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/returns/create-return.ts", "qualifiedName": "StorePostReturnsReq" }, - "2601": { + "2655": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/returns/create-return.ts", "qualifiedName": "StorePostReturnsReq.order_id" }, - "2602": { + "2656": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/returns/create-return.ts", "qualifiedName": "StorePostReturnsReq.items" }, - "2603": { + "2657": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/returns/create-return.ts", "qualifiedName": "StorePostReturnsReq.return_shipping" }, - "2604": { + "2658": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/shipping-options/index.ts", "qualifiedName": "StoreShippingOptionsListRes" }, - "2605": { + "2659": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/shipping-options/index.ts", "qualifiedName": "__type" }, - "2606": { + "2660": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/shipping-options/index.ts", "qualifiedName": "__type.shipping_options" }, - "2607": { + "2661": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/shipping-options/index.ts", "qualifiedName": "StoreCartShippingOptionsListRes" }, - "2608": { + "2662": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/shipping-options/index.ts", "qualifiedName": "__type" }, - "2609": { + "2663": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/shipping-options/index.ts", "qualifiedName": "__type.shipping_options" }, - "2610": { + "2664": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/shipping-options/list-options.ts", "qualifiedName": "StoreGetShippingOptionsParams" }, - "2613": { + "2667": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/shipping-options/list-options.ts", "qualifiedName": "StoreGetShippingOptionsParams.product_ids" }, - "2614": { + "2668": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/shipping-options/list-options.ts", "qualifiedName": "StoreGetShippingOptionsParams.region_id" }, - "2615": { + "2669": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/shipping-options/list-options.ts", "qualifiedName": "StoreGetShippingOptionsParams.is_return" }, - "2616": { + "2670": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/swaps/index.ts", "qualifiedName": "defaultStoreSwapRelations" }, - "2617": { + "2671": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/swaps/index.ts", "qualifiedName": "defaultStoreSwapFields" }, - "2618": { + "2672": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/swaps/index.ts", "qualifiedName": "StoreSwapsRes" }, - "2619": { + "2673": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/swaps/index.ts", "qualifiedName": "__type" }, - "2620": { + "2674": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/swaps/index.ts", "qualifiedName": "__type.swap" }, - "2621": { + "2675": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/swaps/create-swap.ts", "qualifiedName": "StorePostSwapsReq" }, - "2624": { + "2678": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/swaps/create-swap.ts", "qualifiedName": "StorePostSwapsReq.order_id" }, - "2625": { + "2679": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/swaps/create-swap.ts", "qualifiedName": "StorePostSwapsReq.return_items" }, - "2626": { + "2680": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/swaps/create-swap.ts", "qualifiedName": "StorePostSwapsReq.additional_items" }, - "2627": { + "2681": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/swaps/create-swap.ts", "qualifiedName": "StorePostSwapsReq.return_shipping_option" }, - "2628": { + "2682": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/variants/index.ts", "qualifiedName": "defaultStoreVariantRelations" }, - "2629": { + "2683": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/variants/index.ts", "qualifiedName": "allowedStoreVariantRelations" }, - "2630": { + "2684": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/variants/index.ts", "qualifiedName": "StoreVariantsRes" }, - "2631": { + "2685": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/variants/index.ts", "qualifiedName": "__type" }, - "2632": { + "2686": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/variants/index.ts", "qualifiedName": "__type.variant" }, - "2633": { + "2687": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/variants/index.ts", "qualifiedName": "StoreVariantsListRes" }, - "2634": { + "2688": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/variants/index.ts", "qualifiedName": "__type" }, - "2635": { + "2689": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/variants/index.ts", "qualifiedName": "__type.variants" }, - "2636": { + "2690": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/variants/get-variant.ts", "qualifiedName": "StoreGetVariantsVariantParams" }, - "2639": { + "2693": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/variants/get-variant.ts", "qualifiedName": "StoreGetVariantsVariantParams.sales_channel_id" }, - "2640": { + "2694": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.cart_id" }, - "2641": { + "2695": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.region_id" }, - "2642": { + "2696": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.currency_code" }, - "2643": { + "2697": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "2644": { + "2698": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "2645": { + "2699": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/variants/list-variants.ts", "qualifiedName": "StoreGetVariantsParams" }, - "2648": { + "2702": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/variants/list-variants.ts", "qualifiedName": "StoreGetVariantsParams.limit" }, - "2649": { + "2703": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/variants/list-variants.ts", "qualifiedName": "StoreGetVariantsParams.offset" }, - "2650": { + "2704": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/variants/list-variants.ts", "qualifiedName": "StoreGetVariantsParams.ids" }, - "2651": { + "2705": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/variants/list-variants.ts", "qualifiedName": "StoreGetVariantsParams.sales_channel_id" }, - "2652": { + "2706": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/variants/list-variants.ts", "qualifiedName": "StoreGetVariantsParams.id" }, - "2653": { + "2707": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/variants/list-variants.ts", "qualifiedName": "StoreGetVariantsParams.title" }, - "2654": { + "2708": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/variants/list-variants.ts", "qualifiedName": "StoreGetVariantsParams.inventory_quantity" }, - "2655": { + "2709": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.cart_id" }, - "2656": { + "2710": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.region_id" }, - "2657": { + "2711": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.currency_code" }, - "2658": { + "2712": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "2659": { + "2713": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "2660": { + "2714": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/authenticate.ts", "qualifiedName": "default" }, - "2661": { + "2715": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/authenticate.ts", "qualifiedName": "default" }, - "2662": { + "2716": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/authenticate-customer.ts", "qualifiedName": "default" }, - "2663": { + "2717": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/authenticate-customer.ts", "qualifiedName": "default" }, - "2664": { + "2718": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/await-middleware.ts", "qualifiedName": "default" }, - "2665": { + "2719": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/await-middleware.ts", "qualifiedName": "default" }, - "2666": { + "2720": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/await-middleware.ts", "qualifiedName": "fn" }, - "2667": { + "2721": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/batch-job/can-access-batch-job.ts", "qualifiedName": "canAccessBatchJob" }, - "2668": { + "2722": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/batch-job/can-access-batch-job.ts", "qualifiedName": "canAccessBatchJob" }, - "2669": { + "2723": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/batch-job/can-access-batch-job.ts", "qualifiedName": "req" }, - "2670": { + "2724": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/batch-job/can-access-batch-job.ts", "qualifiedName": "res" }, - "2671": { + "2725": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/batch-job/can-access-batch-job.ts", "qualifiedName": "next" }, - "2672": { + "2726": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/batch-job/get-requested-batch-job.ts", "qualifiedName": "getRequestedBatchJob" }, - "2673": { + "2727": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/batch-job/get-requested-batch-job.ts", "qualifiedName": "getRequestedBatchJob" }, - "2674": { + "2728": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/batch-job/get-requested-batch-job.ts", "qualifiedName": "req" }, - "2675": { + "2729": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/batch-job/get-requested-batch-job.ts", "qualifiedName": "res" }, - "2676": { + "2730": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/batch-job/get-requested-batch-job.ts", "qualifiedName": "next" }, - "2677": { + "2731": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/discount/does-condition-belong-to-discount.ts", "qualifiedName": "doesConditionBelongToDiscount" }, - "2678": { + "2732": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/discount/does-condition-belong-to-discount.ts", "qualifiedName": "doesConditionBelongToDiscount" }, - "2679": { + "2733": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/discount/does-condition-belong-to-discount.ts", "qualifiedName": "req" }, - "2680": { + "2734": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/discount/does-condition-belong-to-discount.ts", "qualifiedName": "res" }, - "2681": { + "2735": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/discount/does-condition-belong-to-discount.ts", "qualifiedName": "next" }, - "2682": { + "2736": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/error-handler.ts", "qualifiedName": "default" }, - "2683": { + "2737": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/error-handler.ts", "qualifiedName": "default" }, - "2684": { + "2738": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/error-handler.ts", "qualifiedName": "__function" }, - "2685": { + "2739": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/error-handler.ts", "qualifiedName": "__function" }, - "2686": { + "2740": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/error-handler.ts", "qualifiedName": "err" }, - "2687": { + "2741": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/error-handler.ts", "qualifiedName": "req" }, - "2688": { + "2742": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/error-handler.ts", "qualifiedName": "res" }, - "2689": { + "2743": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/error-handler.ts", "qualifiedName": "next" }, - "2690": { + "2744": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/feature-flag-enabled.ts", "qualifiedName": "isFeatureFlagEnabled" }, - "2691": { + "2745": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/feature-flag-enabled.ts", "qualifiedName": "isFeatureFlagEnabled" }, - "2692": { + "2746": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/feature-flag-enabled.ts", "qualifiedName": "flagKey" }, - "2693": { + "2747": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/feature-flag-enabled.ts", "qualifiedName": "__type" }, - "2694": { + "2748": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/feature-flag-enabled.ts", "qualifiedName": "__type" }, - "2695": { + "2749": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/feature-flag-enabled.ts", "qualifiedName": "req" }, - "2696": { + "2750": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/feature-flag-enabled.ts", "qualifiedName": "res" }, - "2697": { + "2751": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/feature-flag-enabled.ts", "qualifiedName": "next" }, - "2698": { + "2752": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/normalized-query.ts", "qualifiedName": "default" }, - "2699": { + "2753": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/normalized-query.ts", "qualifiedName": "default" }, - "2700": { + "2754": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/normalized-query.ts", "qualifiedName": "__type" }, - "2701": { + "2755": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/normalized-query.ts", "qualifiedName": "__type" }, - "2702": { + "2756": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/normalized-query.ts", "qualifiedName": "req" }, - "2703": { + "2757": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/normalized-query.ts", "qualifiedName": "res" }, - "2704": { + "2758": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/normalized-query.ts", "qualifiedName": "next" }, - "2705": { + "2759": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/require-customer-authentication.ts", "qualifiedName": "default" }, - "2706": { + "2760": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/require-customer-authentication.ts", "qualifiedName": "default" }, - "2707": { + "2761": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-body.ts", "qualifiedName": "transformBody" }, - "2708": { + "2762": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-body.ts", "qualifiedName": "transformBody" }, - "2709": { + "2763": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-body.ts", "qualifiedName": "T" }, - "2710": { + "2764": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-body.ts", "qualifiedName": "plainToClass" }, - "2711": { + "2765": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-body.ts", "qualifiedName": "config" }, - "2712": { + "2766": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-body.ts", "qualifiedName": "__type" }, - "2713": { + "2767": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-body.ts", "qualifiedName": "__type" }, - "2714": { + "2768": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-body.ts", "qualifiedName": "req" }, - "2715": { + "2769": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-body.ts", "qualifiedName": "res" }, - "2716": { + "2770": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-body.ts", "qualifiedName": "next" }, - "2717": { + "2771": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-includes-options.ts", "qualifiedName": "transformIncludesOptions" }, - "2718": { + "2772": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-includes-options.ts", "qualifiedName": "transformIncludesOptions" }, - "2719": { + "2773": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-includes-options.ts", "qualifiedName": "allowedIncludes" }, - "2720": { + "2774": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-includes-options.ts", "qualifiedName": "expectedIncludes" }, - "2721": { + "2775": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-includes-options.ts", "qualifiedName": "__function" }, - "2722": { + "2776": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-includes-options.ts", "qualifiedName": "__function" }, - "2723": { + "2777": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-includes-options.ts", "qualifiedName": "req" }, - "2724": { + "2778": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-includes-options.ts", "qualifiedName": "res" }, - "2725": { + "2779": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-includes-options.ts", "qualifiedName": "next" }, - "2726": { + "2780": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "transformQuery" }, - "2727": { + "2781": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "transformQuery" }, - "2728": { + "2782": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "T" }, - "2729": { + "2783": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "TEntity" }, - "2730": { + "2784": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "plainToClass" }, - "2731": { + "2785": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "queryConfig" }, - "2732": { + "2786": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "config" }, - "2733": { + "2787": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "__type" }, - "2734": { + "2788": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "__type" }, - "2735": { + "2789": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "req" }, - "2736": { + "2790": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "res" }, - "2737": { + "2791": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "next" }, - "2738": { + "2792": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "transformStoreQuery" }, - "2739": { + "2793": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "transformStoreQuery" }, - "2740": { + "2794": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "T" }, - "2741": { + "2795": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "TEntity" }, - "2742": { + "2796": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "plainToClass" }, - "2743": { + "2797": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "queryConfig" }, - "2744": { + "2798": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "config" }, - "2745": { + "2799": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "__type" }, - "2746": { + "2800": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "__type" }, - "2747": { + "2801": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "req" }, - "2748": { + "2802": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "res" }, - "2749": { + "2803": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/transform-query.ts", "qualifiedName": "next" }, - "2750": { + "2804": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "IBatchJobStrategy" }, - "2751": { + "2805": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "IBatchJobStrategy.prepareBatchJobForProcessing" }, - "2752": { + "2806": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "IBatchJobStrategy.prepareBatchJobForProcessing" }, - "2753": { + "2807": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "batchJobEntity" }, - "2754": { + "2808": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "req" }, - "2755": { + "2809": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "IBatchJobStrategy.preProcessBatchJob" }, - "2756": { + "2810": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "IBatchJobStrategy.preProcessBatchJob" }, - "2757": { + "2811": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "batchJobId" }, - "2758": { + "2812": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "IBatchJobStrategy.processJob" }, - "2759": { + "2813": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "IBatchJobStrategy.processJob" }, - "2760": { + "2814": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "batchJobId" }, - "2761": { + "2815": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "IBatchJobStrategy.buildTemplate" }, - "2762": { + "2816": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "IBatchJobStrategy.buildTemplate" }, - "2763": { + "2817": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "2764": { + "2818": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "2765": { + "2819": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "2766": { + "2820": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "2767": { + "2821": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "2768": { + "2822": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "2769": { + "2823": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "2770": { + "2824": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "2771": { + "2825": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "2772": { + "2826": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "2773": { + "2827": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "2774": { + "2828": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "2775": { + "2829": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "2776": { + "2830": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2777": { + "2831": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "2778": { + "2832": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "2779": { + "2833": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "2780": { + "2834": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "2781": { + "2835": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "2782": { + "2836": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "2783": { + "2837": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2784": { + "2838": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2785": { + "2839": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "2786": { + "2840": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "2787": { + "2841": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2788": { + "2842": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2789": { + "2843": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "2790": { + "2844": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "2791": { + "2845": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2792": { + "2846": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2793": { + "2847": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "2794": { + "2848": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "AbstractBatchJobStrategy" }, - "2795": { + "2849": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "AbstractBatchJobStrategy._isBatchJobStrategy" }, - "2796": { + "2850": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "AbstractBatchJobStrategy.identifier" }, - "2797": { + "2851": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "AbstractBatchJobStrategy.batchType" }, - "2798": { + "2852": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "AbstractBatchJobStrategy.isBatchJobStrategy" }, - "2799": { + "2853": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "AbstractBatchJobStrategy.isBatchJobStrategy" }, - "2800": { + "2854": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "object" }, - "2801": { + "2855": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__constructor" }, - "2802": { + "2856": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "AbstractBatchJobStrategy" }, - "2803": { + "2857": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__container__" }, - "2804": { + "2858": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__configModule__" }, - "2805": { + "2859": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__moduleDeclaration__" }, - "2806": { + "2860": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "AbstractBatchJobStrategy.batchJobService_" }, - "2807": { + "2861": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "AbstractBatchJobStrategy.prepareBatchJobForProcessing" }, - "2808": { + "2862": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "AbstractBatchJobStrategy.prepareBatchJobForProcessing" }, - "2809": { + "2863": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "batchJob" }, - "2810": { + "2864": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "req" }, - "2811": { + "2865": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "AbstractBatchJobStrategy.preProcessBatchJob" }, - "2812": { + "2866": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "AbstractBatchJobStrategy.preProcessBatchJob" }, - "2813": { + "2867": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "batchJobId" }, - "2814": { + "2868": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "AbstractBatchJobStrategy.processJob" }, - "2815": { + "2869": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "AbstractBatchJobStrategy.processJob" }, - "2816": { + "2870": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "batchJobId" }, - "2817": { + "2871": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "AbstractBatchJobStrategy.buildTemplate" }, - "2818": { + "2872": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "AbstractBatchJobStrategy.buildTemplate" }, - "2819": { + "2873": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "AbstractBatchJobStrategy.shouldRetryOnProcessingError" }, - "2820": { + "2874": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "AbstractBatchJobStrategy.shouldRetryOnProcessingError" }, - "2821": { + "2875": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "batchJob" }, - "2822": { + "2876": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "err" }, - "2823": { + "2877": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "AbstractBatchJobStrategy.handleProcessingError" }, - "2824": { + "2878": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "AbstractBatchJobStrategy.handleProcessingError" }, - "2825": { + "2879": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "T" }, - "2826": { + "2880": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "batchJobId" }, - "2827": { + "2881": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "err" }, - "2828": { + "2882": { "sourceFileName": "../../../packages/medusa/src/interfaces/batch-job-strategy.ts", "qualifiedName": "result" }, - "2829": { + "2883": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "2830": { + "2884": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "2831": { + "2885": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "2832": { + "2886": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "2833": { + "2887": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "2834": { + "2888": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "2835": { + "2889": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "2836": { + "2890": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "2837": { + "2891": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "2838": { + "2892": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "2839": { + "2893": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "2840": { + "2894": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "2841": { + "2895": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "2842": { + "2896": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2843": { + "2897": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "2844": { + "2898": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "2845": { + "2899": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "2846": { + "2900": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "2847": { + "2901": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "2848": { + "2902": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "2849": { + "2903": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2850": { + "2904": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2851": { + "2905": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "2852": { + "2906": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "2853": { + "2907": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2854": { + "2908": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2855": { + "2909": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "2856": { + "2910": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "2857": { + "2911": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2858": { + "2912": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2859": { + "2913": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "2860": { + "2914": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "CartCompletionResponse" }, - "2861": { + "2915": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "__type" }, - "2862": { + "2916": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "__type.response_code" }, - "2863": { + "2917": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "__type.response_body" }, - "2864": { + "2918": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "ICartCompletionStrategy" }, - "2865": { + "2919": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "ICartCompletionStrategy.complete" }, - "2866": { + "2920": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "ICartCompletionStrategy.complete" }, - "2867": { + "2921": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "cartId" }, - "2868": { + "2922": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "idempotencyKey" }, - "2869": { + "2923": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "context" }, - "2870": { + "2924": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "AbstractCartCompletionStrategy" }, - "2871": { + "2925": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "AbstractCartCompletionStrategy._isCartCompletionStrategy" }, - "2872": { + "2926": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "AbstractCartCompletionStrategy.isCartCompletionStrategy" }, - "2873": { + "2927": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "AbstractCartCompletionStrategy.isCartCompletionStrategy" }, - "2874": { + "2928": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "object" }, - "2875": { + "2929": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__constructor" }, - "2876": { + "2930": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "AbstractCartCompletionStrategy" }, - "2877": { + "2931": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__container__" }, - "2878": { + "2932": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__configModule__" }, - "2879": { + "2933": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__moduleDeclaration__" }, - "2880": { + "2934": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "AbstractCartCompletionStrategy.complete" }, - "2881": { + "2935": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "AbstractCartCompletionStrategy.complete" }, - "2882": { + "2936": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "cartId" }, - "2883": { + "2937": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "idempotencyKey" }, - "2884": { + "2938": { "sourceFileName": "../../../packages/medusa/src/interfaces/cart-completion-strategy.ts", "qualifiedName": "context" }, - "2885": { + "2939": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "2886": { + "2940": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "2887": { + "2941": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "2888": { + "2942": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "2889": { + "2943": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "2890": { + "2944": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "2891": { + "2945": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "2892": { + "2946": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "2893": { + "2947": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "2894": { + "2948": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "2895": { + "2949": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "2896": { + "2950": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "2897": { + "2951": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "2898": { + "2952": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2899": { + "2953": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "2900": { + "2954": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "2901": { + "2955": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "2902": { + "2956": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "2903": { + "2957": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "2904": { + "2958": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "2905": { + "2959": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2906": { + "2960": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2907": { + "2961": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "2908": { + "2962": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "2909": { + "2963": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2910": { + "2964": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2911": { + "2965": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "2912": { + "2966": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "2913": { + "2967": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2914": { + "2968": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2915": { + "2969": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "2916": { + "2970": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "IFileService" }, - "2917": { + "2971": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "IFileService.upload" }, - "2918": { + "2972": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "IFileService.upload" }, - "2919": { + "2973": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "file" }, - "2920": { + "2974": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "IFileService.uploadProtected" }, - "2921": { + "2975": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "IFileService.uploadProtected" }, - "2922": { + "2976": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "file" }, - "2923": { + "2977": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "IFileService.delete" }, - "2924": { + "2978": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "IFileService.delete" }, - "2925": { + "2979": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "fileData" }, - "2926": { + "2980": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "IFileService.getUploadStreamDescriptor" }, - "2927": { + "2981": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "IFileService.getUploadStreamDescriptor" }, - "2928": { + "2982": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "fileData" }, - "2929": { + "2983": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "IFileService.getDownloadStream" }, - "2930": { + "2984": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "IFileService.getDownloadStream" }, - "2931": { + "2985": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "fileData" }, - "2932": { + "2986": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "IFileService.getPresignedDownloadUrl" }, - "2933": { + "2987": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "IFileService.getPresignedDownloadUrl" }, - "2934": { + "2988": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "fileData" }, - "2935": { + "2989": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "2936": { + "2990": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "2937": { + "2991": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "2938": { + "2992": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "2939": { + "2993": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "2940": { + "2994": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "2941": { + "2995": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "2942": { + "2996": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "2943": { + "2997": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "2944": { + "2998": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "2945": { + "2999": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "2946": { + "3000": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "2947": { + "3001": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "2948": { + "3002": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2949": { + "3003": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "2950": { + "3004": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "2951": { + "3005": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "2952": { + "3006": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "2953": { + "3007": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "2954": { + "3008": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "2955": { + "3009": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2956": { + "3010": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2957": { + "3011": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "2958": { + "3012": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "2959": { + "3013": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2960": { + "3014": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2961": { + "3015": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "2962": { + "3016": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "2963": { + "3017": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2964": { + "3018": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "2965": { + "3019": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "2966": { + "3020": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "AbstractFileService" }, - "2971": { + "3025": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "AbstractFileService.__constructor" }, - "2972": { + "3026": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "AbstractFileService" }, - "2973": { + "3027": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "container" }, - "2974": { + "3028": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "config" }, - "2975": { + "3029": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "AbstractFileService.container" }, - "2976": { + "3030": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "AbstractFileService.config" }, - "2977": { + "3031": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "AbstractFileService.upload" }, - "2978": { + "3032": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "AbstractFileService.upload" }, - "2979": { + "3033": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "fileData" }, - "2980": { + "3034": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "AbstractFileService.uploadProtected" }, - "2981": { + "3035": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "AbstractFileService.uploadProtected" }, - "2982": { + "3036": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "fileData" }, - "2983": { + "3037": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "AbstractFileService.delete" }, - "2984": { + "3038": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "AbstractFileService.delete" }, - "2985": { + "3039": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "fileData" }, - "2986": { + "3040": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "AbstractFileService.getUploadStreamDescriptor" }, - "2987": { + "3041": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "AbstractFileService.getUploadStreamDescriptor" }, - "2988": { + "3042": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "fileData" }, - "2989": { + "3043": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "AbstractFileService.getDownloadStream" }, - "2990": { + "3044": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "AbstractFileService.getDownloadStream" }, - "2991": { + "3045": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "fileData" }, - "2992": { + "3046": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "AbstractFileService.getPresignedDownloadUrl" }, - "2993": { + "3047": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "AbstractFileService.getPresignedDownloadUrl" }, - "2994": { + "3048": { "sourceFileName": "../../../packages/medusa/src/interfaces/file-service.ts", "qualifiedName": "fileData" }, - "2995": { + "3049": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "2996": { + "3050": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "2997": { + "3051": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "2998": { + "3052": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "2999": { + "3053": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "3000": { + "3054": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "3001": { + "3055": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "3002": { + "3056": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3003": { + "3057": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3004": { + "3058": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3005": { + "3059": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3006": { + "3060": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3007": { + "3061": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "3008": { + "3062": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3009": { + "3063": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "3010": { + "3064": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3011": { + "3065": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3012": { + "3066": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "3013": { + "3067": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "3014": { + "3068": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "3015": { + "3069": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3016": { + "3070": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3017": { + "3071": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3018": { + "3072": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "3019": { + "3073": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3020": { + "3074": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3021": { + "3075": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3022": { + "3076": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "3023": { + "3077": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3024": { + "3078": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3025": { + "3079": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3026": { + "3080": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService" }, - "3029": { + "3083": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.getFulfillmentOptions" }, - "3030": { + "3084": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.getFulfillmentOptions" }, - "3031": { + "3085": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.validateFulfillmentData" }, - "3032": { + "3086": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.validateFulfillmentData" }, - "3033": { + "3087": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "optionData" }, - "3034": { + "3088": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "data" }, - "3035": { + "3089": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "cart" }, - "3036": { + "3090": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.validateOption" }, - "3037": { + "3091": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.validateOption" }, - "3038": { + "3092": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "data" }, - "3039": { + "3093": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.canCalculate" }, - "3040": { + "3094": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.canCalculate" }, - "3041": { + "3095": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "data" }, - "3042": { + "3096": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.calculatePrice" }, - "3043": { + "3097": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.calculatePrice" }, - "3044": { + "3098": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "optionData" }, - "3045": { + "3099": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "data" }, - "3046": { + "3100": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "cart" }, - "3047": { + "3101": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.createFulfillment" }, - "3048": { + "3102": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.createFulfillment" }, - "3049": { + "3103": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "data" }, - "3050": { + "3104": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "items" }, - "3051": { + "3105": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "order" }, - "3052": { + "3106": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "fulfillment" }, - "3053": { + "3107": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.cancelFulfillment" }, - "3054": { + "3108": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.cancelFulfillment" }, - "3055": { + "3109": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "fulfillmentData" }, - "3056": { + "3110": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.createReturn" }, - "3057": { + "3111": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.createReturn" }, - "3058": { + "3112": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "returnOrder" }, - "3059": { + "3113": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.getFulfillmentDocuments" }, - "3060": { + "3114": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.getFulfillmentDocuments" }, - "3061": { + "3115": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "data" }, - "3062": { + "3116": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.getReturnDocuments" }, - "3063": { + "3117": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.getReturnDocuments" }, - "3064": { + "3118": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "data" }, - "3065": { + "3119": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.getShipmentDocuments" }, - "3066": { + "3120": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.getShipmentDocuments" }, - "3067": { + "3121": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "data" }, - "3068": { + "3122": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.retrieveDocuments" }, - "3069": { + "3123": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentService.retrieveDocuments" }, - "3070": { + "3124": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "fulfillmentData" }, - "3071": { + "3125": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "documentType" }, - "3072": { + "3126": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "3073": { + "3127": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "3074": { + "3128": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3075": { + "3129": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3076": { + "3130": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "3077": { + "3131": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "3078": { + "3132": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "3079": { + "3133": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3080": { + "3134": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3081": { + "3135": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3082": { + "3136": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3083": { + "3137": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3084": { + "3138": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "3085": { + "3139": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3086": { + "3140": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "3087": { + "3141": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3088": { + "3142": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3089": { + "3143": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "3090": { + "3144": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "3091": { + "3145": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "3092": { + "3146": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3093": { + "3147": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3094": { + "3148": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3095": { + "3149": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "3096": { + "3150": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3097": { + "3151": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3098": { + "3152": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3099": { + "3153": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "3100": { + "3154": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3101": { + "3155": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3102": { + "3156": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3103": { + "3157": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService" }, - "3108": { + "3162": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.identifier" }, - "3109": { + "3163": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.__constructor" }, - "3110": { + "3164": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService" }, - "3111": { + "3165": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "container" }, - "3112": { + "3166": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "config" }, - "3113": { + "3167": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.container" }, - "3114": { + "3168": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.config" }, - "3117": { + "3171": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.getFulfillmentOptions" }, - "3118": { + "3172": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.getFulfillmentOptions" }, - "3119": { + "3173": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.validateFulfillmentData" }, - "3120": { + "3174": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.validateFulfillmentData" }, - "3121": { + "3175": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "optionData" }, - "3122": { + "3176": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "data" }, - "3123": { + "3177": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "cart" }, - "3124": { + "3178": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.validateOption" }, - "3125": { + "3179": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.validateOption" }, - "3126": { + "3180": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "data" }, - "3127": { + "3181": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.canCalculate" }, - "3128": { + "3182": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.canCalculate" }, - "3129": { + "3183": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "data" }, - "3130": { + "3184": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.calculatePrice" }, - "3131": { + "3185": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.calculatePrice" }, - "3132": { + "3186": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "optionData" }, - "3133": { + "3187": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "data" }, - "3134": { + "3188": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "cart" }, - "3135": { + "3189": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.createFulfillment" }, - "3136": { + "3190": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.createFulfillment" }, - "3137": { + "3191": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "data" }, - "3138": { + "3192": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "items" }, - "3139": { + "3193": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "order" }, - "3140": { + "3194": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "fulfillment" }, - "3141": { + "3195": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.cancelFulfillment" }, - "3142": { + "3196": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.cancelFulfillment" }, - "3143": { + "3197": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "fulfillment" }, - "3144": { + "3198": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.createReturn" }, - "3145": { + "3199": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.createReturn" }, - "3146": { + "3200": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "returnOrder" }, - "3147": { + "3201": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.getFulfillmentDocuments" }, - "3148": { + "3202": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.getFulfillmentDocuments" }, - "3149": { + "3203": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "data" }, - "3150": { + "3204": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.getReturnDocuments" }, - "3151": { + "3205": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.getReturnDocuments" }, - "3152": { + "3206": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "data" }, - "3153": { + "3207": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.getShipmentDocuments" }, - "3154": { + "3208": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.getShipmentDocuments" }, - "3155": { + "3209": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "data" }, - "3156": { + "3210": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.retrieveDocuments" }, - "3157": { + "3211": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "AbstractFulfillmentService.retrieveDocuments" }, - "3158": { + "3212": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "fulfillmentData" }, - "3159": { + "3213": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "documentType" }, - "3160": { + "3214": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "3161": { + "3215": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "3162": { + "3216": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3163": { + "3217": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3164": { + "3218": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "3165": { + "3219": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "3166": { + "3220": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "3167": { + "3221": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3168": { + "3222": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3169": { + "3223": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3170": { + "3224": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3171": { + "3225": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3172": { + "3226": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "3173": { + "3227": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3174": { + "3228": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "3175": { + "3229": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3176": { + "3230": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3177": { + "3231": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "3178": { + "3232": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "3179": { + "3233": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "3180": { + "3234": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3181": { + "3235": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3182": { + "3236": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3183": { + "3237": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "3184": { + "3238": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3185": { + "3239": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3186": { + "3240": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3187": { + "3241": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "3188": { + "3242": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3189": { + "3243": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3190": { + "3244": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3191": { + "3245": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "ReturnedData" }, - "3192": { + "3246": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "__type.to" }, - "3193": { + "3247": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "__type.status" }, - "3194": { + "3248": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "__type.data" }, - "3195": { + "3249": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "INotificationService" }, - "3196": { + "3250": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "INotificationService.sendNotification" }, - "3197": { + "3251": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "INotificationService.sendNotification" }, - "3198": { + "3252": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "event" }, - "3199": { + "3253": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "data" }, - "3200": { + "3254": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "attachmentGenerator" }, - "3201": { + "3255": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "INotificationService.resendNotification" }, - "3202": { + "3256": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "INotificationService.resendNotification" }, - "3203": { + "3257": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "notification" }, - "3204": { + "3258": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "config" }, - "3205": { + "3259": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "attachmentGenerator" }, - "3206": { + "3260": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "3207": { + "3261": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "3208": { + "3262": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3209": { + "3263": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3210": { + "3264": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "3211": { + "3265": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "3212": { + "3266": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "3213": { + "3267": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3214": { + "3268": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3215": { + "3269": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3216": { + "3270": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3217": { + "3271": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3218": { + "3272": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "3219": { + "3273": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3220": { + "3274": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "3221": { + "3275": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3222": { + "3276": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3223": { + "3277": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "3224": { + "3278": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "3225": { + "3279": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "3226": { + "3280": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3227": { + "3281": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3228": { + "3282": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3229": { + "3283": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "3230": { + "3284": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3231": { + "3285": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3232": { + "3286": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3233": { + "3287": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "3234": { + "3288": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3235": { + "3289": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3236": { + "3290": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3237": { + "3291": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "AbstractNotificationService" }, - "3239": { + "3293": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "AbstractNotificationService.identifier" }, - "3243": { + "3297": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "AbstractNotificationService.__constructor" }, - "3244": { + "3298": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "AbstractNotificationService" }, - "3245": { + "3299": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "container" }, - "3246": { + "3300": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "config" }, - "3249": { + "3303": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "AbstractNotificationService.container" }, - "3250": { + "3304": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "AbstractNotificationService.config" }, - "3251": { + "3305": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "AbstractNotificationService.sendNotification" }, - "3252": { + "3306": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "AbstractNotificationService.sendNotification" }, - "3253": { + "3307": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "event" }, - "3254": { + "3308": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "data" }, - "3255": { + "3309": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "attachmentGenerator" }, - "3256": { + "3310": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "AbstractNotificationService.resendNotification" }, - "3257": { + "3311": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "AbstractNotificationService.resendNotification" }, - "3258": { + "3312": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "notification" }, - "3259": { + "3313": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "config" }, - "3260": { + "3314": { "sourceFileName": "../../../packages/medusa/src/interfaces/notification-service.ts", "qualifiedName": "attachmentGenerator" }, - "3261": { + "3315": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "3262": { + "3316": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "3263": { + "3317": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3264": { + "3318": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3265": { + "3319": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "3266": { + "3320": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "3267": { + "3321": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "3268": { + "3322": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3269": { + "3323": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3270": { + "3324": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3271": { + "3325": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3272": { + "3326": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3273": { + "3327": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "3274": { + "3328": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3275": { + "3329": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "3276": { + "3330": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3277": { + "3331": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3278": { + "3332": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "3279": { + "3333": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "3280": { + "3334": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "3281": { + "3335": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3282": { + "3336": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3283": { + "3337": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3284": { + "3338": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "3285": { + "3339": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3286": { + "3340": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3287": { + "3341": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3288": { + "3342": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "3289": { + "3343": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3290": { + "3344": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3291": { + "3345": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3292": { + "3346": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "isPaymentProcessorError" }, - "3293": { + "3347": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "isPaymentProcessorError" }, - "3294": { + "3348": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "obj" }, - "3295": { + "3349": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessorContext" }, - "3296": { + "3350": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "__type.billing_address" }, - "3297": { + "3351": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "__type.email" }, - "3298": { + "3352": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "__type.currency_code" }, - "3299": { + "3353": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "__type.amount" }, - "3300": { + "3354": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "__type.resource_id" }, - "3301": { + "3355": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "__type.customer" }, - "3302": { + "3356": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "__type.context" }, - "3303": { + "3357": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "__type.paymentSessionData" }, - "3304": { + "3358": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessorSessionResponse" }, - "3305": { + "3359": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "__type.update_requests" }, - "3306": { + "3360": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "__type" }, - "3307": { + "3361": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "__type.customer_metadata" }, - "3308": { + "3362": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "__type.session_data" }, - "3309": { + "3363": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessorError" }, - "3310": { + "3364": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessorError.error" }, - "3311": { + "3365": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessorError.code" }, - "3312": { + "3366": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessorError.detail" }, - "3313": { + "3367": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor" }, - "3316": { + "3370": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.initiatePayment" }, - "3317": { + "3371": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.initiatePayment" }, - "3318": { + "3372": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "context" }, - "3319": { + "3373": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.updatePayment" }, - "3320": { + "3374": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.updatePayment" }, - "3321": { + "3375": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "context" }, - "3322": { + "3376": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.refundPayment" }, - "3323": { + "3377": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.refundPayment" }, - "3324": { + "3378": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "paymentSessionData" }, - "3325": { + "3379": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "refundAmount" }, - "3326": { + "3380": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.authorizePayment" }, - "3327": { + "3381": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.authorizePayment" }, - "3328": { + "3382": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "paymentSessionData" }, - "3329": { + "3383": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "context" }, - "3330": { + "3384": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "__type" }, - "3331": { + "3385": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "__type.status" }, - "3332": { + "3386": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "__type.data" }, - "3333": { + "3387": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.capturePayment" }, - "3334": { + "3388": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.capturePayment" }, - "3335": { + "3389": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "paymentSessionData" }, - "3336": { + "3390": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.deletePayment" }, - "3337": { + "3391": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.deletePayment" }, - "3338": { + "3392": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "paymentSessionData" }, - "3339": { + "3393": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.retrievePayment" }, - "3340": { + "3394": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.retrievePayment" }, - "3341": { + "3395": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "paymentSessionData" }, - "3342": { + "3396": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.cancelPayment" }, - "3343": { + "3397": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.cancelPayment" }, - "3344": { + "3398": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "paymentSessionData" }, - "3345": { + "3399": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.getPaymentStatus" }, - "3346": { + "3400": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.getPaymentStatus" }, - "3347": { + "3401": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "paymentSessionData" }, - "3348": { + "3402": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.updatePaymentData" }, - "3349": { + "3403": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "PaymentProcessor.updatePaymentData" }, - "3350": { + "3404": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "sessionId" }, - "3351": { + "3405": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "data" }, - "3352": { + "3406": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor" }, - "3353": { - "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", - "qualifiedName": "AbstractPaymentProcessor._isPaymentProcessor" - }, - "3354": { - "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", - "qualifiedName": "AbstractPaymentProcessor.isPaymentProcessor" - }, - "3355": { - "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", - "qualifiedName": "AbstractPaymentProcessor.isPaymentProcessor" - }, - "3356": { - "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", - "qualifiedName": "object" - }, - "3357": { + "3411": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.identifier" }, - "3358": { + "3412": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.__constructor" }, - "3359": { + "3413": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor" }, - "3360": { + "3414": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "container" }, - "3361": { + "3415": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "config" }, - "3362": { + "3416": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.container" }, - "3363": { + "3417": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.config" }, - "3366": { + "3420": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.capturePayment" }, - "3367": { + "3421": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.capturePayment" }, - "3368": { + "3422": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "paymentSessionData" }, - "3369": { + "3423": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.authorizePayment" }, - "3370": { + "3424": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.authorizePayment" }, - "3371": { + "3425": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "paymentSessionData" }, - "3372": { + "3426": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "context" }, - "3373": { + "3427": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "__type" }, - "3374": { + "3428": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "__type.status" }, - "3375": { + "3429": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "__type.data" }, - "3376": { + "3430": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.cancelPayment" }, - "3377": { + "3431": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.cancelPayment" }, - "3378": { + "3432": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "paymentSessionData" }, - "3379": { + "3433": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.initiatePayment" }, - "3380": { + "3434": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.initiatePayment" }, - "3381": { + "3435": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "context" }, - "3382": { + "3436": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.deletePayment" }, - "3383": { + "3437": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.deletePayment" }, - "3384": { + "3438": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "paymentSessionData" }, - "3385": { + "3439": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.getPaymentStatus" }, - "3386": { + "3440": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.getPaymentStatus" }, - "3387": { + "3441": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "paymentSessionData" }, - "3388": { + "3442": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.refundPayment" }, - "3389": { + "3443": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.refundPayment" }, - "3390": { + "3444": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "paymentSessionData" }, - "3391": { + "3445": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "refundAmount" }, - "3392": { + "3446": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.retrievePayment" }, - "3393": { + "3447": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.retrievePayment" }, - "3394": { + "3448": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "paymentSessionData" }, - "3395": { + "3449": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.updatePayment" }, - "3396": { + "3450": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.updatePayment" }, - "3397": { + "3451": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "context" }, - "3398": { + "3452": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.updatePaymentData" }, - "3399": { + "3453": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "AbstractPaymentProcessor.updatePaymentData" }, - "3400": { + "3454": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "sessionId" }, - "3401": { + "3455": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-processor.ts", "qualifiedName": "data" }, - "3402": { + "3456": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "Data" }, - "3403": { + "3457": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentData" }, - "3404": { + "3458": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentSessionData" }, - "3405": { + "3459": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentContext" }, - "3406": { + "3460": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type" }, - "3407": { + "3461": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type.cart" }, - "3408": { + "3462": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type" }, - "3409": { + "3463": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type.context" }, - "3410": { + "3464": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type.id" }, - "3411": { + "3465": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type.email" }, - "3412": { + "3466": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type.shipping_address" }, - "3413": { + "3467": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type.shipping_methods" }, - "3414": { + "3468": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type.billing_address" }, - "3415": { + "3469": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type.currency_code" }, - "3416": { + "3470": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type.amount" }, - "3417": { + "3471": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type.resource_id" }, - "3418": { + "3472": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type.customer" }, - "3419": { + "3473": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type.paymentSessionData" }, - "3420": { + "3474": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentSessionResponse" }, - "3421": { + "3475": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type" }, - "3422": { + "3476": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type.update_requests" }, - "3423": { + "3477": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type" }, - "3424": { + "3478": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type.customer_metadata" }, - "3425": { + "3479": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type.session_data" }, - "3426": { + "3480": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService" }, - "3427": { + "3481": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.getIdentifier" }, - "3428": { + "3482": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.getIdentifier" }, - "3429": { + "3483": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.getPaymentData" }, - "3430": { + "3484": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.getPaymentData" }, - "3431": { + "3485": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "paymentSession" }, - "3432": { + "3486": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.updatePaymentData" }, - "3433": { + "3487": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.updatePaymentData" }, - "3434": { + "3488": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "paymentSessionData" }, - "3435": { + "3489": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "data" }, - "3436": { + "3490": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.createPayment" }, - "3437": { + "3491": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.createPayment" }, - "3438": { + "3492": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "context" }, - "3439": { + "3493": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.createPayment" }, - "3440": { + "3494": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "cart" }, - "3441": { + "3495": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.retrievePayment" }, - "3442": { + "3496": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.retrievePayment" }, - "3443": { + "3497": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "paymentData" }, - "3444": { + "3498": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.updatePayment" }, - "3445": { + "3499": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.updatePayment" }, - "3446": { + "3500": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "paymentSessionData" }, - "3447": { + "3501": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "context" }, - "3448": { + "3502": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.updatePayment" }, - "3449": { + "3503": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "paymentSessionData" }, - "3450": { + "3504": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "cart" }, - "3451": { + "3505": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.authorizePayment" }, - "3452": { + "3506": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.authorizePayment" }, - "3453": { + "3507": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "paymentSession" }, - "3454": { + "3508": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "context" }, - "3455": { + "3509": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type" }, - "3456": { + "3510": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type.data" }, - "3457": { + "3511": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type.status" }, - "3458": { + "3512": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.capturePayment" }, - "3459": { + "3513": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.capturePayment" }, - "3460": { + "3514": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "payment" }, - "3461": { + "3515": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.refundPayment" }, - "3462": { + "3516": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.refundPayment" }, - "3463": { + "3517": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "payment" }, - "3464": { + "3518": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "refundAmount" }, - "3465": { + "3519": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.cancelPayment" }, - "3466": { + "3520": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.cancelPayment" }, - "3467": { + "3521": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "payment" }, - "3468": { + "3522": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.deletePayment" }, - "3469": { + "3523": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.deletePayment" }, - "3470": { + "3524": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "paymentSession" }, - "3471": { + "3525": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.retrieveSavedMethods" }, - "3472": { + "3526": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.retrieveSavedMethods" }, - "3473": { + "3527": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "customer" }, - "3474": { + "3528": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.getStatus" }, - "3475": { + "3529": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "PaymentService.getStatus" }, - "3476": { + "3530": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "data" }, - "3477": { + "3531": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "3478": { + "3532": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "3479": { + "3533": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3480": { + "3534": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3481": { + "3535": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "3482": { + "3536": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "3483": { + "3537": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "3484": { + "3538": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3485": { + "3539": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3486": { + "3540": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3487": { + "3541": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3488": { + "3542": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3489": { + "3543": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "3490": { + "3544": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3491": { + "3545": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "3492": { + "3546": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3493": { + "3547": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3494": { + "3548": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "3495": { + "3549": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "3496": { + "3550": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "3497": { + "3551": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3498": { + "3552": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3499": { + "3553": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3500": { + "3554": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "3501": { + "3555": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3502": { + "3556": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3503": { + "3557": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3504": { + "3558": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "3505": { + "3559": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3506": { + "3560": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3507": { + "3561": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3508": { + "3562": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService" }, - "3509": { + "3563": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService._isPaymentService" }, - "3513": { + "3567": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.identifier" }, - "3514": { + "3568": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.__constructor" }, - "3515": { + "3569": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService" }, - "3516": { + "3570": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "container" }, - "3517": { + "3571": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "config" }, - "3518": { + "3572": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.getIdentifier" }, - "3519": { + "3573": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.getIdentifier" }, - "3520": { + "3574": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.getPaymentData" }, - "3521": { + "3575": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.getPaymentData" }, - "3522": { + "3576": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "paymentSession" }, - "3523": { + "3577": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.updatePaymentData" }, - "3524": { + "3578": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.updatePaymentData" }, - "3525": { + "3579": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "paymentSessionData" }, - "3526": { + "3580": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "data" }, - "3527": { + "3581": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.createPayment" }, - "3528": { + "3582": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.createPayment" }, - "3529": { + "3583": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "context" }, - "3530": { + "3584": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.createPayment" }, - "3531": { + "3585": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "cart" }, - "3532": { + "3586": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.retrievePayment" }, - "3533": { + "3587": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.retrievePayment" }, - "3534": { + "3588": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "paymentData" }, - "3535": { + "3589": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.updatePayment" }, - "3536": { + "3590": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.updatePayment" }, - "3537": { + "3591": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "paymentSessionData" }, - "3538": { + "3592": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "context" }, - "3539": { + "3593": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.updatePayment" }, - "3540": { + "3594": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "paymentSessionData" }, - "3541": { + "3595": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "cart" }, - "3542": { + "3596": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.authorizePayment" }, - "3543": { + "3597": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.authorizePayment" }, - "3544": { + "3598": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "paymentSession" }, - "3545": { + "3599": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "context" }, - "3546": { + "3600": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type" }, - "3547": { + "3601": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type.data" }, - "3548": { + "3602": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "__type.status" }, - "3549": { + "3603": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.capturePayment" }, - "3550": { + "3604": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.capturePayment" }, - "3551": { + "3605": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "payment" }, - "3552": { + "3606": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.refundPayment" }, - "3553": { + "3607": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.refundPayment" }, - "3554": { + "3608": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "payment" }, - "3555": { + "3609": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "refundAmount" }, - "3556": { + "3610": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.cancelPayment" }, - "3557": { + "3611": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.cancelPayment" }, - "3558": { + "3612": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "payment" }, - "3559": { + "3613": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.deletePayment" }, - "3560": { + "3614": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.deletePayment" }, - "3561": { + "3615": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "paymentSession" }, - "3562": { + "3616": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.retrieveSavedMethods" }, - "3563": { + "3617": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.retrieveSavedMethods" }, - "3564": { + "3618": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "customer" }, - "3565": { + "3619": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.getStatus" }, - "3566": { + "3620": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "AbstractPaymentService.getStatus" }, - "3567": { + "3621": { "sourceFileName": "../../../packages/medusa/src/interfaces/payment-service.ts", "qualifiedName": "data" }, - "3568": { + "3622": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "3569": { + "3623": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "3570": { + "3624": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3571": { + "3625": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3572": { + "3626": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "3573": { + "3627": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "3574": { + "3628": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "3575": { + "3629": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3576": { + "3630": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3577": { + "3631": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3578": { + "3632": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3579": { + "3633": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3580": { + "3634": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "3581": { + "3635": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3582": { + "3636": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "3583": { + "3637": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3584": { + "3638": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3585": { + "3639": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "3586": { + "3640": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "3587": { + "3641": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "3588": { + "3642": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3589": { + "3643": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3590": { + "3644": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3591": { + "3645": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "3592": { + "3646": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3593": { + "3647": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3594": { + "3648": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3595": { + "3649": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "3596": { + "3650": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3597": { + "3651": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3598": { + "3652": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3599": { + "3653": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "IPriceSelectionStrategy" }, - "3600": { + "3654": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "IPriceSelectionStrategy.calculateVariantPrice" }, - "3601": { + "3655": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "IPriceSelectionStrategy.calculateVariantPrice" }, - "3602": { + "3656": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "data" }, - "3603": { + "3657": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type" }, - "3604": { + "3658": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type.variantId" }, - "3605": { + "3659": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type.quantity" }, - "3606": { + "3660": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "context" }, - "3607": { + "3661": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "IPriceSelectionStrategy.onVariantsPricesUpdate" }, - "3608": { + "3662": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "IPriceSelectionStrategy.onVariantsPricesUpdate" }, - "3609": { + "3663": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "variantIds" }, - "3610": { + "3664": { "sourceFileName": "../../../packages/types/src/transaction-base/transaction-base.ts", "qualifiedName": "ITransactionBaseService.withTransaction" }, - "3611": { + "3665": { "sourceFileName": "../../../packages/types/src/transaction-base/transaction-base.ts", "qualifiedName": "ITransactionBaseService.withTransaction" }, - "3612": { + "3666": { "sourceFileName": "../../../packages/types/src/transaction-base/transaction-base.ts", "qualifiedName": "transactionManager" }, - "3613": { + "3667": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "AbstractPriceSelectionStrategy" }, - "3618": { + "3672": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "AbstractPriceSelectionStrategy.__constructor" }, - "3619": { + "3673": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "AbstractPriceSelectionStrategy" }, - "3620": { + "3674": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "container" }, - "3621": { + "3675": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "config" }, - "3622": { + "3676": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "AbstractPriceSelectionStrategy.container" }, - "3623": { + "3677": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "AbstractPriceSelectionStrategy.config" }, - "3624": { + "3678": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "AbstractPriceSelectionStrategy.calculateVariantPrice" }, - "3625": { + "3679": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "AbstractPriceSelectionStrategy.calculateVariantPrice" }, - "3626": { + "3680": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "data" }, - "3627": { + "3681": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type" }, - "3628": { + "3682": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type.variantId" }, - "3630": { + "3684": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type.quantity" }, - "3631": { + "3685": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "context" }, - "3632": { + "3686": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "AbstractPriceSelectionStrategy.onVariantsPricesUpdate" }, - "3633": { + "3687": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "AbstractPriceSelectionStrategy.onVariantsPricesUpdate" }, - "3634": { + "3688": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "variantIds" }, - "3635": { + "3689": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "3636": { + "3690": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "3637": { + "3691": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3638": { + "3692": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3639": { + "3693": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "3640": { + "3694": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "3641": { + "3695": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "3642": { + "3696": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3643": { + "3697": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3644": { + "3698": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3645": { + "3699": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3646": { + "3700": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3647": { + "3701": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "3648": { + "3702": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3649": { + "3703": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "3650": { + "3704": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3651": { + "3705": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3652": { + "3706": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "3653": { + "3707": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "3654": { + "3708": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "3655": { + "3709": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3656": { + "3710": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3657": { + "3711": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3658": { + "3712": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "3659": { + "3713": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3660": { + "3714": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3661": { + "3715": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3662": { + "3716": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "3663": { + "3717": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3664": { + "3718": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3665": { + "3719": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3666": { + "3720": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "PriceSelectionContext" }, - "3667": { + "3721": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type.cart_id" }, - "3668": { + "3722": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type.customer_id" }, - "3669": { + "3723": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type.region_id" }, - "3670": { + "3724": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type.quantity" }, - "3671": { + "3725": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type.currency_code" }, - "3672": { + "3726": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type.include_discount_prices" }, - "3673": { + "3727": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type.tax_rates" }, - "3674": { + "3728": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type.ignore_cache" }, - "3675": { + "3729": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "PriceType" }, - "3676": { + "3730": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__object" }, - "3677": { + "3731": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "SALE" }, - "3678": { + "3732": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "OVERRIDE" }, - "3679": { + "3733": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "DEFAULT" }, - "3680": { + "3734": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "PriceType" }, - "3681": { + "3735": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "PriceSelectionResult" }, - "3682": { + "3736": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type.originalPrice" }, - "3683": { + "3737": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type.originalPriceIncludesTax" }, - "3684": { + "3738": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type.calculatedPrice" }, - "3685": { + "3739": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type.calculatedPriceIncludesTax" }, - "3686": { + "3740": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type.calculatedPriceType" }, - "3687": { + "3741": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "__type.prices" }, - "3688": { + "3742": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-calculation-strategy.ts", "qualifiedName": "ITaxCalculationStrategy" }, - "3689": { + "3743": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-calculation-strategy.ts", "qualifiedName": "ITaxCalculationStrategy.calculate" }, - "3690": { + "3744": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-calculation-strategy.ts", "qualifiedName": "ITaxCalculationStrategy.calculate" }, - "3691": { + "3745": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-calculation-strategy.ts", "qualifiedName": "items" }, - "3692": { + "3746": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-calculation-strategy.ts", "qualifiedName": "taxLines" }, - "3693": { + "3747": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-calculation-strategy.ts", "qualifiedName": "calculationContext" }, - "3694": { + "3748": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-calculation-strategy.ts", "qualifiedName": "AbstractTaxCalculationStrategy" }, - "3699": { + "3753": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-calculation-strategy.ts", "qualifiedName": "AbstractTaxCalculationStrategy.__constructor" }, - "3700": { + "3754": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-calculation-strategy.ts", "qualifiedName": "AbstractTaxCalculationStrategy" }, - "3701": { + "3755": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-calculation-strategy.ts", "qualifiedName": "container" }, - "3702": { + "3756": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-calculation-strategy.ts", "qualifiedName": "config" }, - "3703": { + "3757": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-calculation-strategy.ts", "qualifiedName": "AbstractTaxCalculationStrategy.container" }, - "3704": { + "3758": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-calculation-strategy.ts", "qualifiedName": "AbstractTaxCalculationStrategy.config" }, - "3705": { + "3759": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-calculation-strategy.ts", "qualifiedName": "AbstractTaxCalculationStrategy.calculate" }, - "3706": { + "3760": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-calculation-strategy.ts", "qualifiedName": "AbstractTaxCalculationStrategy.calculate" }, - "3707": { + "3761": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-calculation-strategy.ts", "qualifiedName": "items" }, - "3708": { + "3762": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-calculation-strategy.ts", "qualifiedName": "taxLines" }, - "3709": { + "3763": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-calculation-strategy.ts", "qualifiedName": "calculationContext" }, - "3710": { + "3764": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "3711": { + "3765": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "3712": { + "3766": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3713": { + "3767": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3714": { + "3768": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "3715": { + "3769": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "3716": { + "3770": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "3717": { + "3771": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3718": { + "3772": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3719": { + "3773": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3720": { + "3774": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3721": { + "3775": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3722": { + "3776": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "3723": { + "3777": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3724": { + "3778": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "3725": { + "3779": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3726": { + "3780": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3727": { + "3781": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "3728": { + "3782": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "3729": { + "3783": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "3730": { + "3784": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3731": { + "3785": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3732": { + "3786": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3733": { + "3787": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "3734": { + "3788": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3735": { + "3789": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3736": { + "3790": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3737": { + "3791": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "3738": { + "3792": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3739": { + "3793": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3740": { + "3794": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3741": { + "3795": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "ShippingTaxCalculationLine" }, - "3742": { + "3796": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "__type" }, - "3743": { + "3797": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "__type.shipping_method" }, - "3744": { + "3798": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "__type.rates" }, - "3745": { + "3799": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "ItemTaxCalculationLine" }, - "3746": { + "3800": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "__type" }, - "3747": { + "3801": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "__type.item" }, - "3748": { + "3802": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "__type.rates" }, - "3749": { + "3803": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "TaxCalculationContext" }, - "3750": { + "3804": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "__type" }, - "3751": { + "3805": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "__type.shipping_address" }, - "3752": { + "3806": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "__type.customer" }, - "3753": { + "3807": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "__type.region" }, - "3754": { + "3808": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "__type.is_return" }, - "3755": { + "3809": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "__type.shipping_methods" }, - "3756": { + "3810": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "__type.allocation_map" }, - "3757": { + "3811": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "ITaxService" }, - "3758": { + "3812": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "ITaxService.getTaxLines" }, - "3759": { + "3813": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "ITaxService.getTaxLines" }, - "3760": { + "3814": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "itemLines" }, - "3761": { + "3815": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "shippingLines" }, - "3762": { + "3816": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "context" }, - "3763": { + "3817": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "AbstractTaxService" }, - "3765": { + "3819": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "AbstractTaxService.identifier" }, - "3769": { + "3823": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "AbstractTaxService.__constructor" }, - "3770": { + "3824": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "AbstractTaxService" }, - "3771": { + "3825": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "container" }, - "3772": { + "3826": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "config" }, - "3773": { + "3827": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "AbstractTaxService.container" }, - "3774": { + "3828": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "AbstractTaxService.config" }, - "3777": { + "3831": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "AbstractTaxService.getTaxLines" }, - "3778": { + "3832": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "AbstractTaxService.getTaxLines" }, - "3779": { + "3833": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "itemLines" }, - "3780": { + "3834": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "shippingLines" }, - "3781": { + "3835": { "sourceFileName": "../../../packages/medusa/src/interfaces/tax-service.ts", "qualifiedName": "context" }, - "3782": { + "3836": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "3783": { + "3837": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "3784": { + "3838": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3785": { + "3839": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3786": { + "3840": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "3787": { + "3841": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "3788": { + "3842": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "3789": { + "3843": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3790": { + "3844": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3791": { + "3845": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3792": { + "3846": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3793": { + "3847": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3794": { + "3848": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "3795": { + "3849": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3796": { + "3850": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "3797": { + "3851": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3798": { + "3852": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3799": { + "3853": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "3800": { + "3854": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "3801": { + "3855": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "3802": { + "3856": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3803": { + "3857": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3804": { + "3858": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3805": { + "3859": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "3806": { + "3860": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3807": { + "3861": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3808": { + "3862": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3809": { + "3863": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "3810": { + "3864": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3811": { + "3865": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3812": { + "3866": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3813": { + "3867": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService" }, - "3814": { + "3868": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__constructor" }, - "3815": { + "3869": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService" }, - "3816": { + "3870": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__container__" }, - "3817": { + "3871": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__configModule__" }, - "3818": { + "3872": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__moduleDeclaration__" }, - "3819": { + "3873": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "3820": { + "3874": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "3821": { + "3875": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3822": { + "3876": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3823": { + "3877": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "3824": { + "3878": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "3825": { + "3879": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "3826": { + "3880": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3827": { + "3881": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3828": { + "3882": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3829": { + "3883": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3830": { + "3884": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3831": { + "3885": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "3832": { + "3886": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3833": { + "3887": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "3834": { + "3888": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3835": { + "3889": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3836": { + "3890": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "3837": { + "3891": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "3838": { + "3892": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "3839": { + "3893": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3840": { + "3894": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3841": { + "3895": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3842": { + "3896": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "3843": { + "3897": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3844": { + "3898": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3845": { + "3899": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3846": { + "3900": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "3847": { + "3901": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3848": { + "3902": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3849": { + "3903": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3850": { - "sourceFileName": "../../../packages/medusa/src/joiner-config.ts", - "qualifiedName": "joinerConfig" - }, - "3851": { + "3904": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "BatchJobStatus" }, - "3852": { + "3905": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "BatchJobStatus.CREATED" }, - "3853": { + "3906": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "BatchJobStatus.PRE_PROCESSED" }, - "3854": { + "3907": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "BatchJobStatus.CONFIRMED" }, - "3855": { + "3908": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "BatchJobStatus.PROCESSING" }, - "3856": { + "3909": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "BatchJobStatus.COMPLETED" }, - "3857": { + "3910": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "BatchJobStatus.CANCELED" }, - "3858": { + "3911": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "BatchJobStatus.FAILED" }, - "3859": { + "3912": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "BatchJobUpdateProps" }, - "3860": { + "3913": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "CreateBatchJobInput" }, - "3861": { + "3914": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "__type" }, - "3862": { + "3915": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "__type.type" }, - "3863": { + "3916": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "__type.context" }, - "3864": { + "3917": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "__type.dry_run" }, - "3865": { + "3918": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "BatchJobResultError" }, - "3866": { + "3919": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "__type" }, - "3867": { + "3920": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "__type.message" }, - "3868": { + "3921": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "__type.code" }, - "3869": { + "3922": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "__type.__index" }, - "3871": { + "3924": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "BatchJobResultStatDescriptor" }, - "3872": { + "3925": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "__type" }, - "3873": { + "3926": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "__type.key" }, - "3874": { + "3927": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "__type.name" }, - "3875": { + "3928": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "__type.message" }, - "3876": { + "3929": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "FilterableBatchJobProps" }, - "3879": { + "3932": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "FilterableBatchJobProps.id" }, - "3880": { + "3933": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "FilterableBatchJobProps.status" }, - "3881": { + "3934": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "FilterableBatchJobProps.type" }, - "3882": { + "3935": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "FilterableBatchJobProps.created_by" }, - "3883": { + "3936": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "FilterableBatchJobProps.created_at" }, - "3884": { + "3937": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "FilterableBatchJobProps.updated_at" }, - "3885": { + "3938": { "sourceFileName": "../../../packages/medusa/src/types/batch-job.ts", "qualifiedName": "BatchJobCreateProps" }, - "3886": { + "3939": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "extendedFindParamsMixin" }, - "3887": { + "3940": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "extendedFindParamsMixin" }, - "3888": { + "3941": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__0" }, - "3889": { + "3942": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type" }, - "3890": { + "3943": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.limit" }, - "3891": { + "3944": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.offset" }, - "3892": { + "3945": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "__type.order" + }, + "3946": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "WithRequiredProperty" }, - "3893": { + "3947": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "T" }, - "3894": { + "3948": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "K" }, - "3895": { + "3949": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "PartialPick" }, - "3896": { + "3950": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "T" }, - "3897": { + "3951": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "K" }, - "3898": { + "3952": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "Writable" }, - "3899": { + "3953": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "T" }, - "3900": { + "3954": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindConfig" }, - "3901": { + "3955": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindConfig.select" }, - "3902": { + "3956": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindConfig.skip" }, - "3903": { + "3957": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindConfig.take" }, - "3904": { + "3958": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindConfig.relations" }, - "3905": { + "3959": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindConfig.order" }, - "3906": { + "3960": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type" }, - "3907": { + "3961": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.__index" }, - "3909": { + "3963": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindConfig.Entity" }, - "3910": { + "3964": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "ExtendedFindConfig" }, - "3911": { + "3965": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type" }, - "3912": { + "3966": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.select" }, - "3913": { + "3967": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.relations" }, - "3914": { + "3968": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.where" }, - "3915": { + "3969": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.order" }, - "3916": { + "3970": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.skip" }, - "3917": { + "3971": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.take" }, - "3918": { + "3972": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "TEntity" }, - "3919": { + "3973": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "QuerySelector" }, - "3920": { + "3974": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type" }, - "3921": { + "3975": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.q" }, - "3922": { + "3976": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "TEntity" }, - "3923": { + "3977": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "TreeQuerySelector" }, - "3924": { + "3978": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type" }, - "3925": { + "3979": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.include_descendants_tree" }, - "3926": { + "3980": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "TEntity" }, - "3927": { + "3981": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "Selector" }, - "3928": { + "3982": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "TEntity" }, - "3929": { + "3983": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "TotalField" }, - "3930": { + "3984": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "CustomFindOptions" }, - "3931": { + "3985": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "CustomFindOptions.select" }, - "3932": { + "3986": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "CustomFindOptions.where" }, - "3933": { + "3987": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "CustomFindOptions.order" }, - "3934": { + "3988": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "CustomFindOptions.skip" }, - "3935": { + "3989": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "CustomFindOptions.take" }, - "3936": { + "3990": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "CustomFindOptions.TModel" }, - "3937": { + "3991": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "CustomFindOptions.InKeys" }, - "3938": { + "3992": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "QueryConfig" }, - "3939": { + "3993": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type" }, - "3940": { + "3994": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "__type.defaults" + }, + "3995": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.defaultFields" }, - "3941": { + "3996": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.defaultRelations" }, - "3942": { + "3997": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "__type.allowed" + }, + "3998": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.allowedFields" }, - "3943": { + "3999": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.allowedRelations" }, - "3944": { + "4000": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.defaultLimit" }, - "3945": { + "4001": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.isList" }, - "3946": { + "4002": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "TEntity" }, - "3947": { + "4003": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "RequestQueryFields" }, - "3948": { + "4004": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.expand" }, - "3949": { + "4005": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.fields" }, - "3950": { + "4006": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.offset" }, - "3951": { + "4007": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.limit" }, - "3952": { + "4008": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.order" }, - "3953": { + "4009": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "PaginatedResponse" }, - "3954": { + "4010": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.limit" }, - "3955": { + "4011": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.offset" }, - "3956": { + "4012": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.count" }, - "3957": { + "4013": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "DeleteResponse" }, - "3958": { + "4014": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.id" }, - "3959": { + "4015": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.object" }, - "3960": { + "4016": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "__type.deleted" }, - "3961": { + "4017": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "EmptyQueryParams" }, - "3964": { + "4020": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "DateComparisonOperator" }, - "3967": { + "4023": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "DateComparisonOperator.lt" }, - "3968": { + "4024": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "DateComparisonOperator.gt" }, - "3969": { + "4025": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "DateComparisonOperator.gte" }, - "3970": { + "4026": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "DateComparisonOperator.lte" }, - "3971": { + "4027": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "StringComparisonOperator" }, - "3974": { + "4030": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "StringComparisonOperator.lt" }, - "3975": { + "4031": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "StringComparisonOperator.gt" }, - "3976": { + "4032": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "StringComparisonOperator.gte" }, - "3977": { + "4033": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "StringComparisonOperator.lte" }, - "3978": { + "4034": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "StringComparisonOperator.contains" }, - "3979": { + "4035": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "StringComparisonOperator.starts_with" }, - "3980": { + "4036": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "StringComparisonOperator.ends_with" }, - "3981": { + "4037": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "NumericalComparisonOperator" }, - "3984": { + "4040": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "NumericalComparisonOperator.lt" }, - "3985": { + "4041": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "NumericalComparisonOperator.gt" }, - "3986": { + "4042": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "NumericalComparisonOperator.gte" }, - "3987": { + "4043": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "NumericalComparisonOperator.lte" }, - "3988": { + "4044": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload" }, - "3991": { + "4047": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.first_name" }, - "3992": { + "4048": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.last_name" }, - "3993": { + "4049": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.phone" }, - "3994": { + "4050": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.metadata" }, - "3995": { + "4051": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.company" }, - "3996": { + "4052": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.address_1" }, - "3997": { + "4053": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.address_2" }, - "3998": { + "4054": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.city" }, - "3999": { + "4055": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.country_code" }, - "4000": { + "4056": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.province" }, - "4001": { + "4057": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressPayload.postal_code" }, - "4002": { + "4058": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressCreatePayload" }, - "4005": { + "4061": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressCreatePayload.first_name" }, - "4006": { + "4062": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressCreatePayload.last_name" }, - "4007": { + "4063": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressCreatePayload.phone" }, - "4008": { + "4064": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressCreatePayload.metadata" }, - "4009": { + "4065": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressCreatePayload.company" }, - "4010": { + "4066": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressCreatePayload.address_1" }, - "4011": { + "4067": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressCreatePayload.address_2" }, - "4012": { + "4068": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressCreatePayload.city" }, - "4013": { + "4069": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressCreatePayload.country_code" }, - "4014": { + "4070": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressCreatePayload.province" }, - "4015": { + "4071": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "AddressCreatePayload.postal_code" }, - "4016": { + "4072": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams" }, - "4019": { + "4075": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "4020": { + "4076": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "4021": { + "4077": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams" }, - "4024": { + "4080": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.offset" }, - "4025": { + "4081": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindPaginationParams.limit" }, - "4026": { + "4082": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindPaginationParams.order" + }, + "4083": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "ExtendedRequest" }, - "4027": { + "4084": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4028": { + "4085": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.resource" }, - "4029": { + "4086": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "TEntity" }, - "4030": { + "4087": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "ClassConstructor" }, - "4031": { + "4088": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4032": { + "4089": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4033": { + "4090": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "args" }, - "4034": { + "4091": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "T" }, - "4035": { + "4092": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "MedusaContainer" }, - "4036": { + "4093": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "Logger" }, - "4037": { + "4094": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4038": { + "4095": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.panic" }, - "4039": { + "4096": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4040": { + "4097": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4041": { + "4098": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "data" }, - "4042": { + "4099": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.shouldLog" }, - "4043": { + "4100": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4044": { + "4101": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4045": { + "4102": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "level" }, - "4046": { + "4103": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.setLogLevel" }, - "4047": { + "4104": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4048": { + "4105": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4049": { + "4106": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "level" }, - "4050": { + "4107": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.unsetLogLevel" }, - "4051": { + "4108": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4052": { + "4109": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4053": { + "4110": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.activity" }, - "4054": { + "4111": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4055": { + "4112": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4056": { + "4113": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "message" }, - "4057": { + "4114": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "config" }, - "4058": { + "4115": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.progress" }, - "4059": { + "4116": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4060": { + "4117": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4061": { + "4118": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "activityId" }, - "4062": { + "4119": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "message" }, - "4063": { + "4120": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.error" }, - "4064": { + "4121": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4065": { + "4122": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4066": { + "4123": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "messageOrError" }, - "4067": { + "4124": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "error" }, - "4068": { + "4125": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.failure" }, - "4069": { + "4126": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4070": { + "4127": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4071": { + "4128": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "activityId" }, - "4072": { + "4129": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "message" }, - "4073": { + "4130": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.success" }, - "4074": { + "4131": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4075": { + "4132": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4076": { + "4133": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "activityId" }, - "4077": { + "4134": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "message" }, - "4078": { + "4135": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.debug" }, - "4079": { + "4136": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4080": { + "4137": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4081": { + "4138": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "message" }, - "4082": { + "4139": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.info" }, - "4083": { + "4140": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4084": { + "4141": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4085": { + "4142": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "message" }, - "4086": { + "4143": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.warn" }, - "4087": { + "4144": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4088": { + "4145": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4089": { + "4146": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "message" }, - "4090": { + "4147": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type.log" }, - "4091": { + "4148": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4092": { + "4149": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4093": { + "4150": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "args" }, - "4094": { + "4151": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "Constructor" }, - "4095": { + "4152": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4096": { + "4153": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "__type" }, - "4097": { + "4154": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "args" }, - "4098": { + "4155": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "T" }, - "4099": { + "4156": { "sourceFileName": "../../../packages/medusa/src/types/global.ts", "qualifiedName": "ConfigModule" }, - "4100": { + "4157": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "MiddlewareFunction" }, - "4101": { + "4158": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "__type" }, - "4102": { + "4159": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "__type" }, - "4103": { + "4160": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "args" }, - "4104": { + "4161": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "MiddlewareRoute" }, - "4105": { + "4162": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "__type" }, - "4106": { + "4163": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "__type.method" }, - "4107": { + "4164": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "__type.matcher" }, - "4108": { + "4165": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "__type.bodyParser" }, - "4109": { + "4166": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "__type.middlewares" }, - "4110": { + "4167": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "MiddlewaresConfig" }, - "4111": { + "4168": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "__type" }, - "4112": { + "4169": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "__type.errorHandler" }, - "4113": { + "4170": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "__type.routes" }, - "4114": { + "4171": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "PriceListType" }, - "4115": { + "4172": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "PriceListType.SALE" }, - "4116": { + "4173": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "PriceListType.OVERRIDE" }, - "4117": { + "4174": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "PriceListStatus" }, - "4118": { + "4175": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "PriceListStatus.ACTIVE" }, - "4119": { + "4176": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "PriceListStatus.DRAFT" }, - "4120": { + "4177": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps" }, - "4123": { + "4180": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.id" }, - "4124": { + "4181": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.q" }, - "4125": { + "4182": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.status" }, - "4126": { + "4183": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.name" }, - "4127": { + "4184": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.customer_groups" }, - "4128": { + "4185": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.description" }, - "4129": { + "4186": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.type" }, - "4130": { + "4187": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.created_at" }, - "4131": { + "4188": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.updated_at" }, - "4132": { + "4189": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "FilterablePriceListProps.deleted_at" }, - "4133": { + "4190": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "AdminPriceListPricesUpdateReq" }, - "4136": { + "4193": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "AdminPriceListPricesUpdateReq.id" }, - "4137": { + "4194": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "AdminPriceListPricesUpdateReq.region_id" }, - "4138": { + "4195": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "AdminPriceListPricesUpdateReq.currency_code" }, - "4139": { + "4196": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "AdminPriceListPricesUpdateReq.variant_id" }, - "4140": { + "4197": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "AdminPriceListPricesUpdateReq.amount" }, - "4141": { + "4198": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "AdminPriceListPricesUpdateReq.min_quantity" }, - "4142": { + "4199": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "AdminPriceListPricesUpdateReq.max_quantity" }, - "4143": { + "4200": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "AdminPriceListPricesCreateReq" }, - "4146": { + "4203": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "AdminPriceListPricesCreateReq.region_id" }, - "4147": { + "4204": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "AdminPriceListPricesCreateReq.currency_code" }, - "4148": { + "4205": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "AdminPriceListPricesCreateReq.amount" }, - "4149": { + "4206": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "AdminPriceListPricesCreateReq.variant_id" }, - "4150": { + "4207": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "AdminPriceListPricesCreateReq.min_quantity" }, - "4151": { + "4208": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "AdminPriceListPricesCreateReq.max_quantity" }, - "4152": { + "4209": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "CreatePriceListInput" }, - "4153": { + "4210": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type" }, - "4154": { + "4211": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.name" }, - "4155": { + "4212": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.description" }, - "4156": { + "4213": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.type" }, - "4157": { + "4214": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.status" }, - "4158": { + "4215": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.prices" }, - "4159": { + "4216": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.customer_groups" }, - "4160": { + "4217": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type" }, - "4161": { + "4218": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.id" }, - "4162": { + "4219": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.starts_at" }, - "4163": { + "4220": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.ends_at" }, - "4164": { + "4221": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.includes_tax" }, - "4165": { + "4222": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "UpdatePriceListInput" }, - "4166": { + "4223": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type" }, - "4167": { + "4224": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.prices" }, - "4168": { + "4225": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.customer_groups" }, - "4169": { + "4226": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type" }, - "4170": { + "4227": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.id" }, - "4171": { + "4228": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "PriceListPriceUpdateInput" }, - "4172": { + "4229": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type" }, - "4173": { + "4230": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.id" }, - "4174": { + "4231": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.variant_id" }, - "4175": { + "4232": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.region_id" }, - "4176": { + "4233": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.currency_code" }, - "4177": { + "4234": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.amount" }, - "4178": { + "4235": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.min_quantity" }, - "4179": { + "4236": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.max_quantity" }, - "4180": { + "4237": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "PriceListPriceCreateInput" }, - "4181": { + "4238": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type" }, - "4182": { + "4239": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.region_id" }, - "4183": { + "4240": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.currency_code" }, - "4184": { + "4241": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.variant_id" }, - "4185": { + "4242": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.amount" }, - "4186": { + "4243": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.min_quantity" }, - "4187": { + "4244": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.max_quantity" }, - "4188": { + "4245": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "PriceListLoadConfig" }, - "4189": { + "4246": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type" }, - "4190": { + "4247": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.include_discount_prices" }, - "4191": { + "4248": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.customer_id" }, - "4192": { + "4249": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.cart_id" }, - "4193": { + "4250": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.region_id" }, - "4194": { + "4251": { "sourceFileName": "../../../packages/medusa/src/types/price-list.ts", "qualifiedName": "__type.currency_code" }, - "4195": { + "4252": { "sourceFileName": "../../../packages/medusa/src/types/routing.ts", "qualifiedName": "MedusaRequest" }, - "4196": { + "4253": { "sourceFileName": "../../../packages/medusa/src/types/routing.ts", - "qualifiedName": "MedusaRequest.user" + "qualifiedName": "MedusaRequest.validatedBody" }, - "4197": { + "4254": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.validatedQuery" + }, + "4255": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.allowedProperties" + }, + "4256": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.listConfig" + }, + "4257": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.retrieveConfig" + }, + "4258": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.remoteQueryConfig" + }, + "4259": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "__type" + }, + "4260": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "__type.fields" + }, + "4261": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "__type.pagination" + }, + "4262": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "__type" + }, + "4263": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "__type.order" + }, + "4264": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "__type.skip" + }, + "4265": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "__type.take" + }, + "4266": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.filterableFields" + }, + "4267": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.includes" + }, + "4268": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.allowedFields" + }, + "4269": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.allowed" + }, + "4270": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.errors" + }, + "4271": { "sourceFileName": "../../../packages/medusa/src/types/routing.ts", "qualifiedName": "MedusaRequest.scope" }, - "4198": { + "4272": { "sourceFileName": "../../../packages/medusa/src/types/routing.ts", "qualifiedName": "MedusaRequest.session" }, - "4199": { + "4273": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.rawBody" + }, + "4274": { "sourceFileName": "../../../packages/medusa/src/types/routing.ts", "qualifiedName": "MedusaRequest.requestId" }, - "4200": { + "4275": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.pricingContext" + }, + "4276": { + "sourceFileName": "../../../packages/medusa/src/types/global.ts", + "qualifiedName": "__global.Express.Request.user" + }, + "4277": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.Body" + }, + "4278": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "AuthenticatedMedusaRequest" + }, + "4279": { "sourceFileName": "../../../packages/medusa/src/types/routing.ts", - "qualifiedName": "MedusaRequest.auth_user" + "qualifiedName": "AuthenticatedMedusaRequest.user" }, - "4201": { + "4280": { "sourceFileName": "../../../packages/medusa/src/types/routing.ts", "qualifiedName": "__type" }, - "4202": { + "4281": { "sourceFileName": "../../../packages/medusa/src/types/routing.ts", - "qualifiedName": "__type.id" + "qualifiedName": "__type.customer_id" }, - "4203": { + "4282": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "__type.userId" + }, + "4283": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "AuthenticatedMedusaRequest.auth" + }, + "4284": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "__type" + }, + "4285": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "__type.actor_id" + }, + "4286": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "__type.auth_user_id" + }, + "4287": { "sourceFileName": "../../../packages/medusa/src/types/routing.ts", "qualifiedName": "__type.app_metadata" }, - "4204": { + "4288": { "sourceFileName": "../../../packages/medusa/src/types/routing.ts", "qualifiedName": "__type.scope" }, - "4205": { - "sourceFileName": "../../../packages/medusa/src/types/global.ts", - "qualifiedName": "__global.Express.Request.validatedQuery" + "4289": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.validatedBody" }, - "4206": { - "sourceFileName": "../../../packages/medusa/src/types/global.ts", - "qualifiedName": "__global.Express.Request.validatedBody" + "4290": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.validatedQuery" }, - "4207": { - "sourceFileName": "../../../packages/medusa/src/types/global.ts", - "qualifiedName": "__global.Express.Request.listConfig" + "4291": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.allowedProperties" }, - "4208": { - "sourceFileName": "../../../packages/medusa/src/types/global.ts", - "qualifiedName": "__global.Express.Request.retrieveConfig" + "4292": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.listConfig" }, - "4209": { - "sourceFileName": "../../../packages/medusa/src/types/global.ts", - "qualifiedName": "__global.Express.Request.filterableFields" + "4293": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.retrieveConfig" }, - "4210": { - "sourceFileName": "../../../packages/medusa/src/types/global.ts", - "qualifiedName": "__global.Express.Request.allowedProperties" + "4294": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.remoteQueryConfig" }, - "4211": { - "sourceFileName": "../../../packages/medusa/src/types/global.ts", - "qualifiedName": "__global.Express.Request.includes" + "4295": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "__type" }, - "4212": { - "sourceFileName": "../../../packages/medusa/src/types/global.ts", - "qualifiedName": "__global.Express.Request.errors" + "4296": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "__type.fields" }, - "4213": { + "4297": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "__type.pagination" + }, + "4298": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "__type" + }, + "4299": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "__type.order" + }, + "4300": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "__type.skip" + }, + "4301": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "__type.take" + }, + "4302": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.filterableFields" + }, + "4303": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.includes" + }, + "4304": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.allowedFields" + }, + "4305": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.allowed" + }, + "4306": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.errors" + }, + "4307": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.scope" + }, + "4308": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.session" + }, + "4309": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.rawBody" + }, + "4310": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.requestId" + }, + "4311": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "MedusaRequest.pricingContext" + }, + "4312": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "AuthenticatedMedusaRequest.Body" + }, + "4313": { "sourceFileName": "../../../packages/medusa/src/types/routing.ts", "qualifiedName": "MedusaResponse" }, - "4214": { + "4314": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "Body" + }, + "4315": { "sourceFileName": "../../../packages/medusa/src/types/routing.ts", "qualifiedName": "MedusaNextFunction" }, - "4215": { + "4316": { "sourceFileName": "../../../packages/medusa/src/types/routing.ts", "qualifiedName": "MedusaRequestHandler" }, - "4216": { + "4317": { "sourceFileName": "../../../packages/medusa/src/types/routing.ts", "qualifiedName": "__type" }, - "4217": { + "4318": { "sourceFileName": "../../../packages/medusa/src/types/routing.ts", "qualifiedName": "__type" }, - "4218": { + "4319": { "sourceFileName": "../../../packages/medusa/src/types/routing.ts", "qualifiedName": "req" }, - "4219": { + "4320": { "sourceFileName": "../../../packages/medusa/src/types/routing.ts", "qualifiedName": "res" }, - "4220": { + "4321": { "sourceFileName": "../../../packages/medusa/src/types/routing.ts", "qualifiedName": "next" }, - "4221": { + "4322": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "Body" + }, + "4323": { + "sourceFileName": "../../../packages/medusa/src/types/routing.ts", + "qualifiedName": "Res" + }, + "4324": { "sourceFileName": "../../../packages/medusa/src/types/scheduled-jobs.ts", "qualifiedName": "ScheduledJobConfig" }, - "4222": { + "4325": { "sourceFileName": "../../../packages/medusa/src/types/scheduled-jobs.ts", "qualifiedName": "__type" }, - "4223": { + "4326": { "sourceFileName": "../../../packages/medusa/src/types/scheduled-jobs.ts", "qualifiedName": "__type.name" }, - "4224": { + "4327": { "sourceFileName": "../../../packages/medusa/src/types/scheduled-jobs.ts", "qualifiedName": "__type.schedule" }, - "4225": { + "4328": { "sourceFileName": "../../../packages/medusa/src/types/scheduled-jobs.ts", "qualifiedName": "__type.data" }, - "4226": { + "4329": { "sourceFileName": "../../../packages/medusa/src/types/scheduled-jobs.ts", "qualifiedName": "T" }, - "4227": { + "4330": { "sourceFileName": "../../../packages/medusa/src/types/scheduled-jobs.ts", "qualifiedName": "ScheduledJobArgs" }, - "4228": { + "4331": { "sourceFileName": "../../../packages/medusa/src/types/scheduled-jobs.ts", "qualifiedName": "__type" }, - "4229": { + "4332": { "sourceFileName": "../../../packages/medusa/src/types/scheduled-jobs.ts", "qualifiedName": "__type.container" }, - "4230": { + "4333": { "sourceFileName": "../../../packages/medusa/src/types/scheduled-jobs.ts", "qualifiedName": "__type.data" }, - "4231": { + "4334": { "sourceFileName": "../../../packages/medusa/src/types/scheduled-jobs.ts", "qualifiedName": "__type.pluginOptions" }, - "4232": { + "4335": { "sourceFileName": "../../../packages/medusa/src/types/scheduled-jobs.ts", "qualifiedName": "T" }, - "4233": { + "4336": { "sourceFileName": "../../../packages/medusa/src/types/subscribers.ts", "qualifiedName": "SubscriberConfig" }, - "4234": { + "4337": { "sourceFileName": "../../../packages/medusa/src/types/subscribers.ts", "qualifiedName": "__type" }, - "4235": { + "4338": { "sourceFileName": "../../../packages/medusa/src/types/subscribers.ts", "qualifiedName": "__type.event" }, - "4236": { + "4339": { "sourceFileName": "../../../packages/medusa/src/types/subscribers.ts", "qualifiedName": "__type.context" }, - "4237": { + "4340": { "sourceFileName": "../../../packages/medusa/src/types/subscribers.ts", "qualifiedName": "SubscriberArgs" }, - "4238": { + "4341": { "sourceFileName": "../../../packages/medusa/src/types/subscribers.ts", "qualifiedName": "__type" }, - "4239": { + "4342": { "sourceFileName": "../../../packages/medusa/src/types/subscribers.ts", "qualifiedName": "__type.data" }, - "4240": { + "4343": { "sourceFileName": "../../../packages/medusa/src/types/subscribers.ts", "qualifiedName": "__type.eventName" }, - "4241": { + "4344": { "sourceFileName": "../../../packages/medusa/src/types/subscribers.ts", "qualifiedName": "__type.container" }, - "4242": { + "4345": { "sourceFileName": "../../../packages/medusa/src/types/subscribers.ts", "qualifiedName": "__type.pluginOptions" }, - "4243": { + "4346": { "sourceFileName": "../../../packages/medusa/src/types/subscribers.ts", "qualifiedName": "T" }, - "4244": { + "4347": { "sourceFileName": "../../../packages/medusa/src/utils/validator.ts", "qualifiedName": "registerOverriddenValidators" }, - "4245": { + "4348": { "sourceFileName": "../../../packages/medusa/src/utils/validator.ts", "qualifiedName": "registerOverriddenValidators" }, - "4246": { + "4349": { "sourceFileName": "../../../packages/medusa/src/utils/validator.ts", "qualifiedName": "extendedValidator" }, - "4247": { + "4350": { "sourceFileName": "../../../packages/medusa/src/utils/validator.ts", "qualifiedName": "validator" }, - "4248": { + "4351": { "sourceFileName": "../../../packages/medusa/src/utils/validator.ts", "qualifiedName": "validator" }, - "4249": { + "4352": { "sourceFileName": "../../../packages/medusa/src/utils/validator.ts", "qualifiedName": "T" }, - "4250": { + "4353": { "sourceFileName": "../../../packages/medusa/src/utils/validator.ts", "qualifiedName": "V" }, - "4251": { + "4354": { "sourceFileName": "../../../packages/medusa/src/utils/validator.ts", "qualifiedName": "typedClass" }, - "4252": { + "4355": { "sourceFileName": "../../../packages/medusa/src/utils/validator.ts", "qualifiedName": "plain" }, - "4253": { + "4356": { "sourceFileName": "../../../packages/medusa/src/utils/validator.ts", "qualifiedName": "config" }, - "4254": { + "4357": { "sourceFileName": "../../../packages/medusa/src/utils/build-query.ts", "qualifiedName": "buildQuery" }, - "4255": { + "4358": { "sourceFileName": "../../../packages/medusa/src/utils/build-query.ts", "qualifiedName": "buildQuery" }, - "4256": { + "4359": { "sourceFileName": "../../../packages/medusa/src/utils/build-query.ts", "qualifiedName": "TWhereKeys" }, - "4257": { + "4360": { "sourceFileName": "../../../packages/medusa/src/utils/build-query.ts", "qualifiedName": "TEntity" }, - "4258": { + "4361": { "sourceFileName": "../../../packages/medusa/src/utils/build-query.ts", "qualifiedName": "selector" }, - "4259": { + "4362": { "sourceFileName": "../../../packages/medusa/src/utils/build-query.ts", "qualifiedName": "config" }, - "4260": { + "4363": { "sourceFileName": "../../../packages/medusa/src/utils/build-query.ts", "qualifiedName": "buildLegacyFieldsListFrom" }, - "4261": { + "4364": { "sourceFileName": "../../../packages/medusa/src/utils/build-query.ts", "qualifiedName": "buildLegacyFieldsListFrom" }, - "4262": { + "4365": { "sourceFileName": "../../../packages/medusa/src/utils/build-query.ts", "qualifiedName": "TEntity" }, - "4263": { + "4366": { "sourceFileName": "../../../packages/medusa/src/utils/build-query.ts", "qualifiedName": "input" }, - "4264": { + "4367": { "sourceFileName": "../../../packages/medusa/src/utils/build-query.ts", "qualifiedName": "addOrderToSelect" }, - "4265": { + "4368": { "sourceFileName": "../../../packages/medusa/src/utils/build-query.ts", "qualifiedName": "addOrderToSelect" }, - "4266": { + "4369": { "sourceFileName": "../../../packages/medusa/src/utils/build-query.ts", "qualifiedName": "TEntity" }, - "4267": { + "4370": { "sourceFileName": "../../../packages/medusa/src/utils/build-query.ts", "qualifiedName": "order" }, - "4268": { + "4371": { "sourceFileName": "../../../packages/medusa/src/utils/build-query.ts", "qualifiedName": "select" }, - "4269": { + "4372": { "sourceFileName": "../../../packages/medusa/src/utils/build-query.ts", "qualifiedName": "nullableValue" }, - "4270": { + "4373": { "sourceFileName": "../../../packages/medusa/src/utils/build-query.ts", "qualifiedName": "nullableValue" }, - "4271": { + "4374": { "sourceFileName": "../../../packages/medusa/src/utils/build-query.ts", "qualifiedName": "value" }, - "4272": { + "4375": { "sourceFileName": "../../../packages/medusa/src/utils/calculate-price-tax-amount.ts", "qualifiedName": "calculatePriceTaxAmount" }, - "4273": { + "4376": { "sourceFileName": "../../../packages/medusa/src/utils/calculate-price-tax-amount.ts", "qualifiedName": "calculatePriceTaxAmount" }, - "4274": { + "4377": { "sourceFileName": "../../../packages/medusa/src/utils/calculate-price-tax-amount.ts", "qualifiedName": "__0" }, - "4275": { + "4378": { "sourceFileName": "../../../packages/medusa/src/utils/calculate-price-tax-amount.ts", "qualifiedName": "__type" }, - "4276": { + "4379": { "sourceFileName": "../../../packages/medusa/src/utils/calculate-price-tax-amount.ts", "qualifiedName": "__type.price" }, - "4277": { + "4380": { "sourceFileName": "../../../packages/medusa/src/utils/calculate-price-tax-amount.ts", "qualifiedName": "__type.includesTax" }, - "4278": { + "4381": { "sourceFileName": "../../../packages/medusa/src/utils/calculate-price-tax-amount.ts", "qualifiedName": "__type.taxRate" }, - "4279": { + "4382": { "sourceFileName": "../../../packages/medusa/src/utils/clean-response-data.ts", "qualifiedName": "cleanResponseData" }, - "4280": { + "4383": { "sourceFileName": "../../../packages/medusa/src/utils/clean-response-data.ts", "qualifiedName": "cleanResponseData" }, - "4281": { + "4384": { "sourceFileName": "../../../packages/medusa/src/utils/clean-response-data.ts", "qualifiedName": "T" }, - "4282": { + "4385": { "sourceFileName": "../../../packages/medusa/src/utils/clean-response-data.ts", "qualifiedName": "data" }, - "4283": { + "4386": { "sourceFileName": "../../../packages/medusa/src/utils/clean-response-data.ts", "qualifiedName": "fields" }, - "4284": { + "4387": { "sourceFileName": "../../../packages/medusa/src/utils/csv-cell-content-formatter.ts", "qualifiedName": "csvCellContentFormatter" }, - "4285": { + "4388": { "sourceFileName": "../../../packages/medusa/src/utils/csv-cell-content-formatter.ts", "qualifiedName": "csvCellContentFormatter" }, - "4286": { + "4389": { "sourceFileName": "../../../packages/medusa/src/utils/csv-cell-content-formatter.ts", "qualifiedName": "str" }, - "4287": { + "4390": { "sourceFileName": "../../../packages/medusa/src/utils/csv-cell-content-formatter.ts", "qualifiedName": "csvRevertCellContentFormatter" }, - "4288": { + "4391": { "sourceFileName": "../../../packages/medusa/src/utils/csv-cell-content-formatter.ts", "qualifiedName": "csvRevertCellContentFormatter" }, - "4289": { + "4392": { "sourceFileName": "../../../packages/medusa/src/utils/csv-cell-content-formatter.ts", "qualifiedName": "str" }, - "4290": { + "4393": { "sourceFileName": "../../../packages/medusa/src/utils/db-aware-column.ts", "qualifiedName": "resolveDbType" }, - "4291": { + "4394": { "sourceFileName": "../../../packages/medusa/src/utils/db-aware-column.ts", "qualifiedName": "resolveDbType" }, - "4292": { + "4395": { "sourceFileName": "../../../packages/medusa/src/utils/db-aware-column.ts", "qualifiedName": "pgSqlType" }, - "4293": { + "4396": { "sourceFileName": "../../../packages/medusa/src/utils/db-aware-column.ts", "qualifiedName": "resolveDbGenerationStrategy" }, - "4294": { + "4397": { "sourceFileName": "../../../packages/medusa/src/utils/db-aware-column.ts", "qualifiedName": "resolveDbGenerationStrategy" }, - "4295": { + "4398": { "sourceFileName": "../../../packages/medusa/src/utils/db-aware-column.ts", "qualifiedName": "pgSqlType" }, - "4296": { + "4399": { "sourceFileName": "../../../packages/medusa/src/utils/db-aware-column.ts", "qualifiedName": "DbAwareColumn" }, - "4297": { + "4400": { "sourceFileName": "../../../packages/medusa/src/utils/db-aware-column.ts", "qualifiedName": "DbAwareColumn" }, - "4298": { + "4401": { "sourceFileName": "../../../packages/medusa/src/utils/db-aware-column.ts", "qualifiedName": "columnOptions" }, - "4299": { + "4402": { "sourceFileName": "../../../packages/medusa/src/utils/exception-formatter.ts", "qualifiedName": "PostgresError" }, - "4300": { + "4403": { "sourceFileName": "../../../packages/medusa/src/utils/exception-formatter.ts", "qualifiedName": "PostgresError.DUPLICATE_ERROR" }, - "4301": { + "4404": { "sourceFileName": "../../../packages/medusa/src/utils/exception-formatter.ts", "qualifiedName": "PostgresError.FOREIGN_KEY_ERROR" }, - "4302": { + "4405": { "sourceFileName": "../../../packages/medusa/src/utils/exception-formatter.ts", "qualifiedName": "PostgresError.SERIALIZATION_FAILURE" }, - "4303": { + "4406": { "sourceFileName": "../../../packages/medusa/src/utils/exception-formatter.ts", "qualifiedName": "PostgresError.NULL_VIOLATION" }, - "4304": { + "4407": { "sourceFileName": "../../../packages/medusa/src/utils/exception-formatter.ts", "qualifiedName": "formatException" }, - "4305": { + "4408": { "sourceFileName": "../../../packages/medusa/src/utils/exception-formatter.ts", "qualifiedName": "formatException" }, - "4306": { + "4409": { "sourceFileName": "../../../packages/medusa/src/utils/exception-formatter.ts", "qualifiedName": "err" }, - "4307": { + "4410": { "sourceFileName": "../../../packages/medusa/src/utils/generate-entity-id.ts", "qualifiedName": "generateEntityId" }, - "4308": { + "4411": { "sourceFileName": "../../../packages/medusa/src/utils/generate-entity-id.ts", "qualifiedName": "generateEntityId" }, - "4309": { + "4412": { "sourceFileName": "../../../packages/medusa/src/utils/generate-entity-id.ts", "qualifiedName": "idProperty" }, - "4310": { + "4413": { "sourceFileName": "../../../packages/medusa/src/utils/generate-entity-id.ts", "qualifiedName": "prefix" }, - "4311": { + "4414": { "sourceFileName": "../../../packages/medusa/src/utils/has-changes.ts", "qualifiedName": "hasChanges" }, - "4312": { + "4415": { "sourceFileName": "../../../packages/medusa/src/utils/has-changes.ts", "qualifiedName": "hasChanges" }, - "4313": { + "4416": { "sourceFileName": "../../../packages/medusa/src/utils/has-changes.ts", "qualifiedName": "T1" }, - "4314": { + "4417": { "sourceFileName": "../../../packages/medusa/src/utils/has-changes.ts", "qualifiedName": "T2" }, - "4315": { + "4418": { "sourceFileName": "../../../packages/medusa/src/utils/has-changes.ts", "qualifiedName": "obj1" }, - "4316": { + "4419": { "sourceFileName": "../../../packages/medusa/src/utils/has-changes.ts", "qualifiedName": "obj2" }, - "4317": { + "4420": { "sourceFileName": "../../../packages/medusa/src/utils/is-date.ts", "qualifiedName": "isDate" }, - "4318": { + "4421": { "sourceFileName": "../../../packages/medusa/src/utils/is-date.ts", "qualifiedName": "isDate" }, - "4319": { + "4422": { "sourceFileName": "../../../packages/medusa/src/utils/is-date.ts", "qualifiedName": "value" }, - "4320": { + "4423": { "sourceFileName": "../../../packages/medusa/src/utils/is-object.ts", "qualifiedName": "isObject" }, - "4321": { + "4424": { "sourceFileName": "../../../packages/medusa/src/utils/is-object.ts", "qualifiedName": "isObject" }, - "4322": { + "4425": { "sourceFileName": "../../../packages/medusa/src/utils/is-object.ts", "qualifiedName": "obj" }, - "4323": { + "4426": { "sourceFileName": "../../../packages/medusa/src/utils/is-string.ts", "qualifiedName": "isString" }, - "4324": { + "4427": { "sourceFileName": "../../../packages/medusa/src/utils/is-string.ts", "qualifiedName": "isString" }, - "4325": { + "4428": { "sourceFileName": "../../../packages/medusa/src/utils/is-string.ts", "qualifiedName": "val" }, - "4326": { + "4429": { "sourceFileName": "../../../packages/medusa/src/utils/omit-deep.ts", "qualifiedName": "omitDeep" }, - "4327": { + "4430": { "sourceFileName": "../../../packages/medusa/src/utils/omit-deep.ts", "qualifiedName": "omitDeep" }, - "4328": { + "4431": { "sourceFileName": "../../../packages/medusa/src/utils/omit-deep.ts", "qualifiedName": "T" }, - "4329": { + "4432": { "sourceFileName": "../../../packages/medusa/src/utils/omit-deep.ts", "qualifiedName": "input" }, - "4330": { + "4433": { "sourceFileName": "../../../packages/medusa/src/utils/omit-deep.ts", "qualifiedName": "excludes" }, - "4331": { + "4434": { "sourceFileName": "../../../packages/medusa/src/utils/product-category/index.ts", "qualifiedName": "categoryMatchesScope" }, - "4332": { + "4435": { "sourceFileName": "../../../packages/medusa/src/utils/product-category/index.ts", "qualifiedName": "categoryMatchesScope" }, - "4333": { + "4436": { "sourceFileName": "../../../packages/medusa/src/utils/product-category/index.ts", "qualifiedName": "category" }, - "4334": { + "4437": { "sourceFileName": "../../../packages/medusa/src/utils/product-category/index.ts", "qualifiedName": "query" }, - "4335": { + "4438": { "sourceFileName": "../../../packages/medusa/src/utils/product-category/index.ts", "qualifiedName": "fetchCategoryDescendantsIds" }, - "4336": { + "4439": { "sourceFileName": "../../../packages/medusa/src/utils/product-category/index.ts", "qualifiedName": "fetchCategoryDescendantsIds" }, - "4337": { + "4440": { "sourceFileName": "../../../packages/medusa/src/utils/product-category/index.ts", "qualifiedName": "productCategory" }, - "4338": { + "4441": { "sourceFileName": "../../../packages/medusa/src/utils/product-category/index.ts", "qualifiedName": "query" }, - "4339": { + "4442": { "sourceFileName": "../../../packages/medusa/src/utils/queries/products/get-variants-from-price-list.ts", "qualifiedName": "getVariantsFromPriceList" }, - "4340": { + "4443": { "sourceFileName": "../../../packages/medusa/src/utils/queries/products/get-variants-from-price-list.ts", "qualifiedName": "getVariantsFromPriceList" }, - "4341": { + "4444": { "sourceFileName": "../../../packages/medusa/src/utils/queries/products/get-variants-from-price-list.ts", "qualifiedName": "container" }, - "4342": { + "4445": { "sourceFileName": "../../../packages/medusa/src/utils/queries/products/get-variants-from-price-list.ts", "qualifiedName": "priceListId" }, - "4343": { + "4446": { "sourceFileName": "../../../packages/medusa/src/utils/queries/products/list-products.ts", "qualifiedName": "listProducts" }, - "4344": { + "4447": { "sourceFileName": "../../../packages/medusa/src/utils/queries/products/list-products.ts", "qualifiedName": "listProducts" }, - "4345": { + "4448": { "sourceFileName": "../../../packages/medusa/src/utils/queries/products/list-products.ts", "qualifiedName": "container" }, - "4346": { + "4449": { "sourceFileName": "../../../packages/medusa/src/utils/queries/products/list-products.ts", "qualifiedName": "filterableFields" }, - "4347": { + "4450": { "sourceFileName": "../../../packages/medusa/src/utils/queries/products/list-products.ts", "qualifiedName": "listConfig" }, - "4348": { + "4451": { "sourceFileName": "../../../packages/medusa/src/utils/queries/products/retrieve-product.ts", "qualifiedName": "retrieveProduct" }, - "4349": { + "4452": { "sourceFileName": "../../../packages/medusa/src/utils/queries/products/retrieve-product.ts", "qualifiedName": "retrieveProduct" }, - "4350": { + "4453": { "sourceFileName": "../../../packages/medusa/src/utils/queries/products/retrieve-product.ts", "qualifiedName": "container" }, - "4351": { + "4454": { "sourceFileName": "../../../packages/medusa/src/utils/queries/products/retrieve-product.ts", "qualifiedName": "id" }, - "4352": { + "4455": { "sourceFileName": "../../../packages/medusa/src/utils/queries/products/retrieve-product.ts", "qualifiedName": "remoteQueryObject" }, - "4353": { + "4456": { "sourceFileName": "../../../packages/medusa/src/utils/queries/products/retrieve-product.ts", "qualifiedName": "__object" }, - "4354": { + "4457": { "sourceFileName": "../../../packages/medusa/src/utils/remote-query-fetch-data.ts", "qualifiedName": "remoteQueryFetchData" }, - "4355": { + "4458": { "sourceFileName": "../../../packages/medusa/src/utils/remote-query-fetch-data.ts", "qualifiedName": "remoteQueryFetchData" }, - "4356": { + "4459": { "sourceFileName": "../../../packages/medusa/src/utils/remote-query-fetch-data.ts", "qualifiedName": "container" }, - "4357": { + "4460": { "sourceFileName": "../../../packages/medusa/src/utils/remote-query-fetch-data.ts", "qualifiedName": "__function" }, - "4358": { + "4461": { "sourceFileName": "../../../packages/medusa/src/utils/remote-query-fetch-data.ts", "qualifiedName": "__function" }, - "4359": { + "4462": { "sourceFileName": "../../../packages/medusa/src/utils/remote-query-fetch-data.ts", "qualifiedName": "expand" }, - "4360": { + "4463": { "sourceFileName": "../../../packages/medusa/src/utils/remote-query-fetch-data.ts", "qualifiedName": "keyField" }, - "4361": { + "4464": { "sourceFileName": "../../../packages/medusa/src/utils/remote-query-fetch-data.ts", "qualifiedName": "ids" }, - "4362": { + "4465": { "sourceFileName": "../../../packages/medusa/src/utils/remote-query-fetch-data.ts", "qualifiedName": "relationship" }, - "4363": { + "4466": { "sourceFileName": "../../../packages/medusa/src/utils/remove-undefined-properties.ts", "qualifiedName": "removeUndefinedProperties" }, - "4364": { + "4467": { "sourceFileName": "../../../packages/medusa/src/utils/remove-undefined-properties.ts", "qualifiedName": "removeUndefinedProperties" }, - "4365": { + "4468": { "sourceFileName": "../../../packages/medusa/src/utils/remove-undefined-properties.ts", "qualifiedName": "T" }, - "4366": { + "4469": { "sourceFileName": "../../../packages/medusa/src/utils/remove-undefined-properties.ts", "qualifiedName": "inputObj" }, - "4367": { + "4470": { "sourceFileName": "../../../packages/medusa/src/utils/set-metadata.ts", "qualifiedName": "setMetadata" }, - "4368": { + "4471": { "sourceFileName": "../../../packages/medusa/src/utils/set-metadata.ts", "qualifiedName": "setMetadata" }, - "4369": { + "4472": { "sourceFileName": "../../../packages/medusa/src/utils/set-metadata.ts", "qualifiedName": "obj" }, - "4370": { + "4473": { "sourceFileName": "../../../packages/medusa/src/utils/set-metadata.ts", "qualifiedName": "__type" }, - "4371": { + "4474": { "sourceFileName": "../../../packages/medusa/src/utils/set-metadata.ts", "qualifiedName": "__type.metadata" }, - "4372": { + "4475": { "sourceFileName": "../../../packages/medusa/src/utils/set-metadata.ts", "qualifiedName": "metadata" }, - "4373": { + "4476": { "sourceFileName": "../../../packages/medusa/src/utils/validate-id.ts", "qualifiedName": "validateId" }, - "4374": { + "4477": { "sourceFileName": "../../../packages/medusa/src/utils/validate-id.ts", "qualifiedName": "validateId" }, - "4375": { + "4478": { "sourceFileName": "../../../packages/medusa/src/utils/validate-id.ts", "qualifiedName": "rawId" }, - "4376": { + "4479": { "sourceFileName": "../../../packages/medusa/src/utils/validate-id.ts", "qualifiedName": "config" }, - "4377": { + "4480": { "sourceFileName": "../../../packages/medusa/src/utils/validate-id.ts", "qualifiedName": "__type" }, - "4378": { + "4481": { "sourceFileName": "../../../packages/medusa/src/utils/validate-id.ts", "qualifiedName": "__type.prefix" }, - "4379": { + "4482": { "sourceFileName": "../../../packages/medusa/src/utils/validate-id.ts", "qualifiedName": "__type.length" }, - "4380": { + "4483": { "sourceFileName": "../../../packages/medusa/src/utils/validators/is-type.ts", "qualifiedName": "IsType" }, - "4381": { + "4484": { "sourceFileName": "../../../packages/medusa/src/utils/validators/is-type.ts", "qualifiedName": "IsType" }, - "4382": { + "4485": { "sourceFileName": "../../../packages/medusa/src/utils/validators/is-type.ts", "qualifiedName": "types" }, - "4383": { + "4486": { "sourceFileName": "../../../packages/medusa/src/utils/validators/is-type.ts", "qualifiedName": "validationOptions" }, - "4384": { + "4487": { "sourceFileName": "../../../packages/medusa/src/utils/validators/is-type.ts", "qualifiedName": "__function" }, - "4385": { + "4488": { "sourceFileName": "../../../packages/medusa/src/utils/validators/is-type.ts", "qualifiedName": "__function" }, - "4386": { + "4489": { "sourceFileName": "../../../packages/medusa/src/utils/validators/is-type.ts", "qualifiedName": "object" }, - "4387": { + "4490": { "sourceFileName": "../../../packages/medusa/src/utils/validators/is-type.ts", "qualifiedName": "propertyName" }, - "4388": { + "4491": { "sourceFileName": "../../../packages/medusa/src/types/customer-groups.ts", "qualifiedName": "CustomerGroupsBatchCustomer" }, - "4391": { + "4494": { "sourceFileName": "../../../packages/medusa/src/types/customer-groups.ts", "qualifiedName": "CustomerGroupsBatchCustomer.id" }, - "4392": { + "4495": { "sourceFileName": "../../../packages/medusa/src/types/customer-groups.ts", "qualifiedName": "FilterableCustomerGroupProps" }, - "4395": { + "4498": { "sourceFileName": "../../../packages/medusa/src/types/customer-groups.ts", "qualifiedName": "FilterableCustomerGroupProps.id" }, - "4396": { + "4499": { "sourceFileName": "../../../packages/medusa/src/types/customer-groups.ts", "qualifiedName": "FilterableCustomerGroupProps.q" }, - "4397": { + "4500": { "sourceFileName": "../../../packages/medusa/src/types/customer-groups.ts", "qualifiedName": "FilterableCustomerGroupProps.name" }, - "4398": { + "4501": { "sourceFileName": "../../../packages/medusa/src/types/customer-groups.ts", "qualifiedName": "FilterableCustomerGroupProps.updated_at" }, - "4399": { + "4502": { "sourceFileName": "../../../packages/medusa/src/types/customer-groups.ts", "qualifiedName": "FilterableCustomerGroupProps.created_at" }, - "4400": { + "4503": { "sourceFileName": "../../../packages/medusa/src/types/customer-groups.ts", "qualifiedName": "FilterableCustomerGroupProps.discount_condition_id" }, - "4401": { + "4504": { "sourceFileName": "../../../packages/medusa/src/types/customers.ts", "qualifiedName": "AdminListCustomerSelector" }, - "4404": { + "4507": { "sourceFileName": "../../../packages/medusa/src/types/customers.ts", "qualifiedName": "AdminListCustomerSelector.q" }, - "4405": { + "4508": { "sourceFileName": "../../../packages/medusa/src/types/customers.ts", "qualifiedName": "AdminListCustomerSelector.has_account" }, - "4406": { + "4509": { "sourceFileName": "../../../packages/medusa/src/types/customers.ts", "qualifiedName": "AdminListCustomerSelector.groups" }, - "4407": { + "4510": { + "sourceFileName": "../../../packages/medusa/src/types/customers.ts", + "qualifiedName": "AdminListCustomerSelector.order" + }, + "4511": { + "sourceFileName": "../../../packages/medusa/src/types/customers.ts", + "qualifiedName": "AdminListCustomerSelector.created_at" + }, + "4512": { + "sourceFileName": "../../../packages/medusa/src/types/customers.ts", + "qualifiedName": "AdminListCustomerSelector.updated_at" + }, + "4513": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/update-customer.ts", "qualifiedName": "Group" }, - "4410": { + "4516": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/customers/update-customer.ts", "qualifiedName": "Group.id" }, - "4411": { + "4517": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq" }, - "4414": { + "4520": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.products" }, - "4415": { + "4521": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.product_collections" }, - "4416": { + "4522": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.product_types" }, - "4417": { + "4523": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.product_tags" }, - "4418": { + "4524": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminUpsertConditionsReq.customer_groups" }, - "4419": { + "4525": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminGetDiscountsDiscountRuleParams" }, - "4422": { + "4528": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminGetDiscountsDiscountRuleParams.type" }, - "4423": { + "4529": { "sourceFileName": "../../../packages/medusa/src/types/discount.ts", "qualifiedName": "AdminGetDiscountsDiscountRuleParams.allocation" }, - "4424": { + "4530": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "Item" }, - "4427": { + "4533": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "Item.title" }, - "4428": { + "4534": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "Item.unit_price" }, - "4429": { + "4535": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "Item.variant_id" }, - "4430": { + "4536": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "Item.quantity" }, - "4431": { + "4537": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "Item.metadata" }, - "4432": { + "4538": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "Discount" }, - "4435": { + "4541": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "Discount.code" }, - "4436": { + "4542": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "ShippingMethod" }, - "4439": { + "4545": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "ShippingMethod.option_id" }, - "4440": { + "4546": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "ShippingMethod.data" }, - "4441": { + "4547": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts", "qualifiedName": "ShippingMethod.price" }, - "4442": { + "4548": { + "sourceFileName": "../../../packages/medusa/src/types/draft-orders.ts", + "qualifiedName": "DraftOrderStatusValue" + }, + "4549": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/update-draft-order.ts", "qualifiedName": "Discount" }, - "4445": { + "4552": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/draft-orders/update-draft-order.ts", "qualifiedName": "Discount.code" }, - "4446": { + "4553": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "InventoryItemDTO" }, - "4447": { + "4554": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type" }, - "4448": { + "4555": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.id" }, - "4449": { + "4556": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.sku" }, - "4450": { + "4557": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.origin_country" }, - "4451": { + "4558": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.hs_code" }, - "4452": { + "4559": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.requires_shipping" }, - "4453": { + "4560": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.mid_code" }, - "4454": { + "4561": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.material" }, - "4455": { + "4562": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.weight" }, - "4456": { + "4563": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.length" }, - "4457": { + "4564": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.height" }, - "4458": { + "4565": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.width" }, - "4459": { + "4566": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.title" }, - "4460": { + "4567": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.description" }, - "4461": { + "4568": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.thumbnail" }, - "4462": { + "4569": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.metadata" }, - "4463": { + "4570": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.created_at" }, - "4464": { + "4571": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.updated_at" }, - "4465": { + "4572": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.deleted_at" }, - "4466": { + "4573": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "InventoryLevelDTO" }, - "4467": { + "4574": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type" }, - "4468": { + "4575": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.id" }, - "4469": { + "4576": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.inventory_item_id" }, - "4470": { + "4577": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.location_id" }, - "4471": { + "4578": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.stocked_quantity" }, - "4472": { + "4579": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.reserved_quantity" }, - "4473": { + "4580": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.incoming_quantity" }, - "4474": { + "4581": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.metadata" }, - "4475": { + "4582": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.created_at" }, - "4476": { + "4583": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.updated_at" }, - "4477": { + "4584": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.deleted_at" }, - "4478": { + "4585": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "PaginatedResponse" }, - "4479": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type" - }, - "4480": { + "4586": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "__type.limit" }, - "4481": { + "4587": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "__type.offset" }, - "4482": { + "4588": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "__type.count" }, - "4483": { + "4589": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "T" + }, + "4590": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "Item" }, - "4486": { + "4593": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "Item.item_id" }, - "4487": { + "4594": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "Item.quantity" }, - "4488": { + "4595": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "Item.note" }, - "4489": { + "4596": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "Item.reason" }, - "4490": { + "4597": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "Item.tags" }, - "4491": { + "4598": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "Item.images" }, - "4492": { + "4599": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "ReturnShipping" }, - "4495": { + "4602": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "ReturnShipping.option_id" }, - "4496": { + "4603": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "ReturnShipping.price" }, - "4497": { + "4604": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "AdditionalItem" }, - "4500": { + "4607": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "AdditionalItem.variant_id" }, - "4501": { + "4608": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "AdditionalItem.quantity" }, - "4502": { + "4609": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "ShippingMethod" }, - "4505": { + "4612": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "ShippingMethod.id" }, - "4506": { + "4613": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "ShippingMethod.option_id" }, - "4507": { + "4614": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "ShippingMethod.price" }, - "4508": { + "4615": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-claim.ts", "qualifiedName": "ShippingMethod.data" }, - "4509": { + "4616": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts", "qualifiedName": "Item" }, - "4512": { + "4619": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts", "qualifiedName": "Item.item_id" }, - "4513": { + "4620": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts", "qualifiedName": "Item.quantity" }, - "4514": { + "4621": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "ReturnItem" }, - "4517": { + "4624": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "ReturnItem.item_id" }, - "4518": { + "4625": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "ReturnItem.quantity" }, - "4519": { + "4626": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "ReturnItem.reason_id" }, - "4520": { + "4627": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "ReturnItem.note" }, - "4521": { + "4628": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "ReturnShipping" }, - "4524": { + "4631": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "ReturnShipping.option_id" }, - "4525": { + "4632": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "ReturnShipping.price" }, - "4526": { + "4633": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "AdditionalItem" }, - "4529": { + "4636": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "AdditionalItem.variant_id" }, - "4530": { + "4637": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "AdditionalItem.quantity" }, - "4531": { + "4638": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "CustomShippingOption" }, - "4534": { + "4641": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "CustomShippingOption.option_id" }, - "4535": { + "4642": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/create-swap.ts", "qualifiedName": "CustomShippingOption.price" }, - "4536": { + "4643": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector" }, - "4539": { + "4646": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.q" }, - "4540": { + "4647": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.id" }, - "4541": { + "4648": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.status" }, - "4542": { + "4649": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.fulfillment_status" }, - "4543": { + "4650": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.payment_status" }, - "4544": { + "4651": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.display_id" }, - "4545": { + "4652": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.cart_id" }, - "4546": { + "4653": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.customer_id" }, - "4547": { + "4654": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.email" }, - "4548": { + "4655": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.region_id" }, - "4549": { + "4656": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.currency_code" }, - "4550": { + "4657": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.tax_rate" }, - "4551": { + "4658": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.sales_channel_id" }, - "4552": { + "4659": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.canceled_at" }, - "4553": { + "4660": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.created_at" }, - "4554": { + "4661": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "AdminListOrdersSelector.updated_at" }, - "4555": { + "4662": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "OrdersReturnItem" }, - "4558": { + "4665": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "OrdersReturnItem.item_id" }, - "4559": { + "4666": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "OrdersReturnItem.quantity" }, - "4560": { + "4667": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "OrdersReturnItem.reason_id" }, - "4561": { + "4668": { "sourceFileName": "../../../packages/medusa/src/types/orders.ts", "qualifiedName": "OrdersReturnItem.note" }, - "4562": { + "4669": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/request-return.ts", "qualifiedName": "ReturnShipping" }, - "4565": { + "4672": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/request-return.ts", "qualifiedName": "ReturnShipping.option_id" }, - "4566": { + "4673": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/request-return.ts", "qualifiedName": "ReturnShipping.price" }, - "4567": { + "4674": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "Item" }, - "4570": { + "4677": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "Item.id" }, - "4571": { + "4678": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "Item.note" }, - "4572": { + "4679": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "Item.reason" }, - "4573": { + "4680": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "Item.images" }, - "4574": { + "4681": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "Item.tags" }, - "4575": { + "4682": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "Item.metadata" }, - "4576": { + "4683": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "ShippingMethod" }, - "4579": { + "4686": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "ShippingMethod.id" }, - "4580": { + "4687": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "ShippingMethod.option_id" }, - "4581": { + "4688": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "ShippingMethod.price" }, - "4582": { + "4689": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "ShippingMethod.data" }, - "4583": { + "4690": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "PaymentMethod" }, - "4586": { + "4693": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "PaymentMethod.provider_id" }, - "4587": { + "4694": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "PaymentMethod.data" }, - "4588": { + "4695": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "ShippingMethod" }, - "4591": { + "4698": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "ShippingMethod.provider_id" }, - "4592": { + "4699": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "ShippingMethod.profile_id" }, - "4593": { + "4700": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "ShippingMethod.price" }, - "4594": { + "4701": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "ShippingMethod.data" }, - "4595": { + "4702": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-order.ts", "qualifiedName": "ShippingMethod.items" }, - "4596": { - "sourceFileName": "../../../packages/utils/dist/pricing/price-list.d.ts", + "4703": { + "sourceFileName": "../../../packages/utils/src/pricing/price-list.ts", "qualifiedName": "PriceListStatus" }, - "4597": { - "sourceFileName": "../../../packages/utils/dist/pricing/price-list.d.ts", + "4704": { + "sourceFileName": "../../../packages/utils/src/pricing/price-list.ts", "qualifiedName": "PriceListStatus.ACTIVE" }, - "4598": { - "sourceFileName": "../../../packages/utils/dist/pricing/price-list.d.ts", + "4705": { + "sourceFileName": "../../../packages/utils/src/pricing/price-list.ts", "qualifiedName": "PriceListStatus.DRAFT" }, - "4599": { - "sourceFileName": "../../../packages/utils/dist/pricing/price-list.d.ts", + "4706": { + "sourceFileName": "../../../packages/utils/src/pricing/price-list.ts", "qualifiedName": "PriceListType" }, - "4600": { - "sourceFileName": "../../../packages/utils/dist/pricing/price-list.d.ts", + "4707": { + "sourceFileName": "../../../packages/utils/src/pricing/price-list.ts", "qualifiedName": "PriceListType.SALE" }, - "4601": { - "sourceFileName": "../../../packages/utils/dist/pricing/price-list.d.ts", + "4708": { + "sourceFileName": "../../../packages/utils/src/pricing/price-list.ts", "qualifiedName": "PriceListType.OVERRIDE" }, - "4602": { + "4709": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/create-price-list.ts", "qualifiedName": "CustomerGroup" }, - "4605": { + "4712": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/create-price-list.ts", "qualifiedName": "CustomerGroup.id" }, - "4606": { + "4713": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/update-price-list.ts", "qualifiedName": "CustomerGroup" }, - "4609": { + "4716": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/price-lists/update-price-list.ts", "qualifiedName": "CustomerGroup.id" }, - "4610": { + "4717": { "sourceFileName": "../../../packages/medusa/src/types/product-category.ts", "qualifiedName": "AdminProductCategoriesReqBase" }, - "4613": { + "4720": { "sourceFileName": "../../../packages/medusa/src/types/product-category.ts", "qualifiedName": "AdminProductCategoriesReqBase.description" }, - "4614": { + "4721": { "sourceFileName": "../../../packages/medusa/src/types/product-category.ts", "qualifiedName": "AdminProductCategoriesReqBase.handle" }, - "4615": { + "4722": { "sourceFileName": "../../../packages/medusa/src/types/product-category.ts", "qualifiedName": "AdminProductCategoriesReqBase.is_internal" }, - "4616": { + "4723": { "sourceFileName": "../../../packages/medusa/src/types/product-category.ts", "qualifiedName": "AdminProductCategoriesReqBase.is_active" }, - "4617": { + "4724": { "sourceFileName": "../../../packages/medusa/src/types/product-category.ts", "qualifiedName": "AdminProductCategoriesReqBase.parent_category_id" }, - "4618": { + "4725": { "sourceFileName": "../../../packages/medusa/src/types/product-category.ts", "qualifiedName": "ProductBatchProductCategory" }, - "4621": { + "4728": { "sourceFileName": "../../../packages/medusa/src/types/product-category.ts", "qualifiedName": "ProductBatchProductCategory.id" }, - "4622": { + "4729": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "PricedProduct" }, - "4623": { + "4730": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "__type" }, - "4624": { + "4731": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "__type.variants" }, - "4625": { + "4732": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "ProductTypeReq" }, - "4628": { + "4735": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "ProductTypeReq.id" }, - "4629": { + "4736": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "ProductTypeReq.value" }, - "4630": { + "4737": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "ProductTagReq" }, - "4633": { + "4740": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "ProductTagReq.id" }, - "4634": { + "4741": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "ProductTagReq.value" }, - "4635": { + "4742": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "ProductSalesChannelReq" }, - "4638": { + "4745": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "ProductSalesChannelReq.id" }, - "4639": { + "4746": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "ProductProductCategoryReq" }, - "4642": { + "4749": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "ProductProductCategoryReq.id" }, - "4643": { + "4750": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductOptionReq" }, - "4646": { + "4753": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductOptionReq.title" }, - "4647": { + "4754": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq" }, - "4650": { + "4757": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq.title" }, - "4651": { + "4758": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq.sku" }, - "4652": { + "4759": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq.ean" }, - "4653": { + "4760": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq.upc" }, - "4654": { + "4761": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq.barcode" }, - "4655": { + "4762": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq.hs_code" }, - "4656": { + "4763": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq.inventory_quantity" }, - "4657": { + "4764": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq.allow_backorder" }, - "4658": { + "4765": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq.manage_inventory" }, - "4659": { + "4766": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq.weight" }, - "4660": { + "4767": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq.length" }, - "4661": { + "4768": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq.height" }, - "4662": { + "4769": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq.width" }, - "4663": { + "4770": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq.origin_country" }, - "4664": { + "4771": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq.mid_code" }, - "4665": { + "4772": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq.material" }, - "4666": { + "4773": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq.metadata" }, - "4667": { + "4774": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq.prices" }, - "4668": { + "4775": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantReq.options" }, - "4669": { + "4776": { "sourceFileName": "../../../packages/medusa/src/types/product-variant.ts", "qualifiedName": "ProductVariantPricesCreateReq" }, - "4672": { + "4779": { "sourceFileName": "../../../packages/medusa/src/types/product-variant.ts", "qualifiedName": "ProductVariantPricesCreateReq.region_id" }, - "4673": { + "4780": { "sourceFileName": "../../../packages/medusa/src/types/product-variant.ts", "qualifiedName": "ProductVariantPricesCreateReq.currency_code" }, - "4674": { + "4781": { "sourceFileName": "../../../packages/medusa/src/types/product-variant.ts", "qualifiedName": "ProductVariantPricesCreateReq.amount" }, - "4675": { + "4782": { "sourceFileName": "../../../packages/medusa/src/types/product-variant.ts", "qualifiedName": "ProductVariantPricesCreateReq.min_quantity" }, - "4676": { + "4783": { "sourceFileName": "../../../packages/medusa/src/types/product-variant.ts", "qualifiedName": "ProductVariantPricesCreateReq.max_quantity" }, - "4677": { + "4784": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "ProductVariantOptionReq" }, - "4680": { + "4787": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "ProductVariantOptionReq.value" }, - "4681": { + "4788": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-variant.ts", "qualifiedName": "ProductVariantOptionReq.option_id" }, - "4682": { + "4789": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps" }, - "4685": { + "4792": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.id" }, - "4686": { + "4793": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.q" }, - "4687": { + "4794": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.status" }, - "4688": { + "4795": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.price_list_id" }, - "4689": { + "4796": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.collection_id" }, - "4690": { + "4797": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.tags" }, - "4691": { + "4798": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.title" }, - "4692": { + "4799": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.description" }, - "4693": { + "4800": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.handle" }, - "4694": { + "4801": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.is_giftcard" }, - "4695": { + "4802": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.type_id" }, - "4696": { + "4803": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.sales_channel_id" }, - "4697": { + "4804": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.discount_condition_id" }, - "4698": { + "4805": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.category_id" }, - "4699": { + "4806": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.include_category_children" }, - "4700": { + "4807": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.created_at" }, - "4701": { + "4808": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.updated_at" }, - "4702": { + "4809": { "sourceFileName": "../../../packages/medusa/src/types/product.ts", "qualifiedName": "FilterableProductProps.deleted_at" }, - "4703": { + "4810": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq" }, - "4706": { + "4813": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.id" }, - "4707": { + "4814": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.title" }, - "4708": { + "4815": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.sku" }, - "4709": { + "4816": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.ean" }, - "4710": { + "4817": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.upc" }, - "4711": { + "4818": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.barcode" }, - "4712": { + "4819": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.hs_code" }, - "4713": { + "4820": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.inventory_quantity" }, - "4714": { + "4821": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.allow_backorder" }, - "4715": { + "4822": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.manage_inventory" }, - "4716": { + "4823": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.weight" }, - "4717": { + "4824": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.length" }, - "4718": { + "4825": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.height" }, - "4719": { + "4826": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.width" }, - "4720": { + "4827": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.origin_country" }, - "4721": { + "4828": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.mid_code" }, - "4722": { + "4829": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.material" }, - "4723": { + "4830": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.metadata" }, - "4724": { + "4831": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.prices" }, - "4725": { + "4832": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantReq.options" }, - "4726": { + "4833": { "sourceFileName": "../../../packages/medusa/src/types/product-variant.ts", "qualifiedName": "ProductVariantPricesUpdateReq" }, - "4729": { + "4836": { "sourceFileName": "../../../packages/medusa/src/types/product-variant.ts", "qualifiedName": "ProductVariantPricesUpdateReq.id" }, - "4730": { + "4837": { "sourceFileName": "../../../packages/medusa/src/types/product-variant.ts", "qualifiedName": "ProductVariantPricesUpdateReq.region_id" }, - "4731": { + "4838": { "sourceFileName": "../../../packages/medusa/src/types/product-variant.ts", "qualifiedName": "ProductVariantPricesUpdateReq.currency_code" }, - "4732": { + "4839": { "sourceFileName": "../../../packages/medusa/src/types/product-variant.ts", "qualifiedName": "ProductVariantPricesUpdateReq.amount" }, - "4733": { + "4840": { "sourceFileName": "../../../packages/medusa/src/types/product-variant.ts", "qualifiedName": "ProductVariantPricesUpdateReq.min_quantity" }, - "4734": { + "4841": { "sourceFileName": "../../../packages/medusa/src/types/product-variant.ts", "qualifiedName": "ProductVariantPricesUpdateReq.max_quantity" }, - "4735": { + "4842": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-variant.ts", "qualifiedName": "ProductVariantOptionReq" }, - "4738": { + "4845": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-variant.ts", "qualifiedName": "ProductVariantOptionReq.value" }, - "4739": { + "4846": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-variant.ts", "qualifiedName": "ProductVariantOptionReq.option_id" }, - "4740": { + "4847": { "sourceFileName": "../../../packages/medusa/src/types/sales-channels.ts", "qualifiedName": "ProductBatchSalesChannel" }, - "4743": { + "4850": { "sourceFileName": "../../../packages/medusa/src/types/sales-channels.ts", "qualifiedName": "ProductBatchSalesChannel.id" }, - "4744": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/receive-return.ts", - "qualifiedName": "Item" - }, - "4747": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/receive-return.ts", - "qualifiedName": "Item.item_id" - }, - "4748": { - "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/receive-return.ts", - "qualifiedName": "Item.quantity" - }, - "4749": { + "4851": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "ReservationItemDTO" }, - "4750": { + "4852": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type" }, - "4751": { + "4853": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.id" }, - "4752": { + "4854": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.location_id" }, - "4753": { + "4855": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.inventory_item_id" }, - "4754": { + "4856": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.quantity" }, - "4755": { + "4857": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.line_item_id" }, - "4756": { + "4858": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.description" }, - "4757": { + "4859": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.created_by" }, - "4758": { + "4860": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.metadata" }, - "4759": { + "4861": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.created_at" }, - "4760": { + "4862": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.updated_at" }, - "4761": { + "4863": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.deleted_at" }, - "4762": { + "4864": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/receive-return.ts", + "qualifiedName": "Item" + }, + "4867": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/receive-return.ts", + "qualifiedName": "Item.item_id" + }, + "4868": { + "sourceFileName": "../../../packages/medusa/src/api/routes/admin/returns/receive-return.ts", + "qualifiedName": "Item.quantity" + }, + "4869": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts", "qualifiedName": "OptionRequirement" }, - "4765": { + "4872": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts", "qualifiedName": "OptionRequirement.type" }, - "4766": { + "4873": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts", "qualifiedName": "OptionRequirement.amount" }, - "4767": { + "4874": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/update-shipping-option.ts", "qualifiedName": "OptionRequirement" }, - "4770": { + "4877": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/update-shipping-option.ts", "qualifiedName": "OptionRequirement.id" }, - "4771": { + "4878": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/update-shipping-option.ts", "qualifiedName": "OptionRequirement.type" }, - "4772": { + "4879": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/shipping-options/update-shipping-option.ts", "qualifiedName": "OptionRequirement.amount" }, - "4773": { + "4880": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "StockLocationDTO" }, - "4774": { + "4881": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type" }, - "4775": { + "4882": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.id" }, - "4776": { + "4883": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.name" }, - "4777": { + "4884": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.metadata" }, - "4778": { + "4885": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.address_id" }, - "4779": { + "4886": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.address" }, - "4780": { + "4887": { + "sourceFileName": "../../../packages/types/src/stock-location/common.ts", + "qualifiedName": "__type.fulfillment_sets" + }, + "4888": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.created_at" }, - "4781": { + "4889": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.updated_at" }, - "4782": { + "4890": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.deleted_at" }, - "4783": { + "4891": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "DeleteResponse" }, - "4784": { + "4892": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "__type" }, - "4785": { + "4893": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "__type.id" }, - "4786": { + "4894": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "__type.object" }, - "4787": { + "4895": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "__type.deleted" }, - "4788": { + "4896": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "T" + }, + "4897": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "StockLocationExpandedDTO" }, - "4789": { + "4898": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type" }, - "4790": { + "4899": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.sales_channels" }, - "4791": { + "4900": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/create-stock-location.ts", "qualifiedName": "StockLocationAddress" }, - "4794": { + "4903": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/create-stock-location.ts", "qualifiedName": "StockLocationAddress.address_1" }, - "4795": { + "4904": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/create-stock-location.ts", "qualifiedName": "StockLocationAddress.address_2" }, - "4796": { + "4905": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/create-stock-location.ts", "qualifiedName": "StockLocationAddress.company" }, - "4797": { + "4906": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/create-stock-location.ts", "qualifiedName": "StockLocationAddress.city" }, - "4798": { + "4907": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/create-stock-location.ts", "qualifiedName": "StockLocationAddress.country_code" }, - "4799": { + "4908": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/create-stock-location.ts", "qualifiedName": "StockLocationAddress.phone" }, - "4800": { + "4909": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/create-stock-location.ts", "qualifiedName": "StockLocationAddress.postal_code" }, - "4801": { + "4910": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/create-stock-location.ts", "qualifiedName": "StockLocationAddress.province" }, - "4802": { + "4911": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/update-stock-location.ts", "qualifiedName": "StockLocationAddress" }, - "4805": { + "4914": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/update-stock-location.ts", "qualifiedName": "StockLocationAddress.address_1" }, - "4806": { + "4915": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/update-stock-location.ts", "qualifiedName": "StockLocationAddress.address_2" }, - "4807": { + "4916": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/update-stock-location.ts", "qualifiedName": "StockLocationAddress.company" }, - "4808": { + "4917": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/update-stock-location.ts", "qualifiedName": "StockLocationAddress.city" }, - "4809": { + "4918": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/update-stock-location.ts", "qualifiedName": "StockLocationAddress.country_code" }, - "4810": { + "4919": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/update-stock-location.ts", "qualifiedName": "StockLocationAddress.phone" }, - "4811": { + "4920": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/update-stock-location.ts", "qualifiedName": "StockLocationAddress.postal_code" }, - "4812": { + "4921": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/stock-locations/update-stock-location.ts", "qualifiedName": "StockLocationAddress.province" }, - "4813": { + "4922": { "sourceFileName": "../../../packages/medusa/src/types/store.ts", "qualifiedName": "ExtendedStoreDTO" }, - "4814": { + "4923": { "sourceFileName": "../../../packages/medusa/src/types/store.ts", "qualifiedName": "__type" }, - "4815": { + "4924": { "sourceFileName": "../../../packages/medusa/src/types/store.ts", "qualifiedName": "__type.payment_providers" }, - "4816": { + "4925": { "sourceFileName": "../../../packages/medusa/src/types/store.ts", "qualifiedName": "__type.fulfillment_providers" }, - "4817": { + "4926": { "sourceFileName": "../../../packages/medusa/src/types/store.ts", "qualifiedName": "__type.feature_flags" }, - "4818": { + "4927": { "sourceFileName": "../../../packages/medusa/src/types/store.ts", "qualifiedName": "__type.modules" }, - "4819": { + "4928": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "FileServiceUploadResult" }, - "4820": { + "4929": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.url" }, - "4821": { + "4930": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.key" }, - "4822": { + "4931": { "sourceFileName": "../../../packages/medusa/src/types/user.ts", "qualifiedName": "UserRole" }, - "4823": { + "4932": { "sourceFileName": "../../../packages/medusa/src/types/user.ts", "qualifiedName": "UserRole.MEMBER" }, - "4824": { + "4933": { "sourceFileName": "../../../packages/medusa/src/types/user.ts", "qualifiedName": "UserRole.ADMIN" }, - "4825": { + "4934": { "sourceFileName": "../../../packages/medusa/src/types/user.ts", "qualifiedName": "UserRole.DEVELOPER" }, - "4826": { + "4935": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "PricedVariant" }, - "4827": { + "4936": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "AdminPriceSelectionParams" }, - "4830": { + "4939": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "AdminPriceSelectionParams.customer_id" }, - "4831": { + "4940": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.cart_id" }, - "4832": { + "4941": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.region_id" }, - "4833": { + "4942": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.currency_code" }, - "4834": { + "4943": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "4835": { + "4944": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "4836": { + "4945": { + "sourceFileName": "../../../packages/utils/src/orchestration/types.ts", + "qualifiedName": "TransactionHandlerType" + }, + "4946": { + "sourceFileName": "../../../packages/utils/src/orchestration/types.ts", + "qualifiedName": "TransactionHandlerType.INVOKE" + }, + "4947": { + "sourceFileName": "../../../packages/utils/src/orchestration/types.ts", + "qualifiedName": "TransactionHandlerType.COMPENSATE" + }, + "4948": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-cart.ts", "qualifiedName": "GiftCard" }, - "4839": { + "4951": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-cart.ts", "qualifiedName": "GiftCard.code" }, - "4840": { + "4952": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-cart.ts", "qualifiedName": "Discount" }, - "4843": { + "4955": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/carts/update-cart.ts", "qualifiedName": "Discount.code" }, - "4844": { + "4956": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams" }, - "4847": { + "4959": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.cart_id" }, - "4848": { + "4960": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.region_id" }, - "4849": { + "4961": { "sourceFileName": "../../../packages/medusa/src/types/price-selection.ts", "qualifiedName": "PriceSelectionParams.currency_code" }, - "4850": { + "4962": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.expand" }, - "4851": { + "4963": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "FindParams.fields" }, - "4852": { + "4964": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/returns/create-return.ts", "qualifiedName": "Item" }, - "4855": { + "4967": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/returns/create-return.ts", "qualifiedName": "Item.item_id" }, - "4856": { + "4968": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/returns/create-return.ts", "qualifiedName": "Item.quantity" }, - "4857": { + "4969": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/returns/create-return.ts", "qualifiedName": "Item.reason_id" }, - "4858": { + "4970": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/returns/create-return.ts", "qualifiedName": "Item.note" }, - "4859": { + "4971": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/returns/create-return.ts", "qualifiedName": "ReturnShipping" }, - "4862": { + "4974": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/returns/create-return.ts", "qualifiedName": "ReturnShipping.option_id" }, - "4863": { + "4975": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "PricedShippingOption" }, - "4864": { + "4976": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/swaps/create-swap.ts", "qualifiedName": "Item" }, - "4867": { + "4979": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/swaps/create-swap.ts", "qualifiedName": "Item.item_id" }, - "4868": { + "4980": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/swaps/create-swap.ts", "qualifiedName": "Item.quantity" }, - "4869": { + "4981": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/swaps/create-swap.ts", "qualifiedName": "Item.reason_id" }, - "4870": { + "4982": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/swaps/create-swap.ts", "qualifiedName": "Item.note" }, - "4871": { + "4983": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/swaps/create-swap.ts", "qualifiedName": "AdditionalItem" }, - "4874": { + "4986": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/swaps/create-swap.ts", "qualifiedName": "AdditionalItem.variant_id" }, - "4875": { + "4987": { "sourceFileName": "../../../packages/medusa/src/api/routes/store/swaps/create-swap.ts", "qualifiedName": "AdditionalItem.quantity" }, - "4876": { + "4988": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/await-middleware.ts", "qualifiedName": "handler" }, - "4877": { + "4989": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/await-middleware.ts", "qualifiedName": "__type" }, - "4878": { + "4990": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/await-middleware.ts", "qualifiedName": "__type" }, - "4879": { + "4991": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/await-middleware.ts", "qualifiedName": "req" }, - "4880": { + "4992": { "sourceFileName": "../../../packages/medusa/src/api/middlewares/await-middleware.ts", "qualifiedName": "res" }, - "4881": { + "4993": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "MedusaError" }, - "4882": { + "4994": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "MedusaError.Types" }, - "4883": { + "4995": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "__type" }, - "4884": { + "4996": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "__type.DB_ERROR" }, - "4885": { + "4997": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "__type.DUPLICATE_ERROR" }, - "4886": { + "4998": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "__type.INVALID_ARGUMENT" }, - "4887": { + "4999": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "__type.INVALID_DATA" }, - "4888": { + "5000": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "__type.UNAUTHORIZED" }, - "4889": { + "5001": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "__type.NOT_FOUND" }, - "4890": { + "5002": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "__type.NOT_ALLOWED" }, - "4891": { + "5003": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "__type.UNEXPECTED_STATE" }, - "4892": { + "5004": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "__type.CONFLICT" }, - "4893": { + "5005": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "__type.PAYMENT_AUTHORIZATION_ERROR" }, - "4894": { + "5006": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "MedusaError.Codes" }, - "4895": { + "5007": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "__type" }, - "4896": { + "5008": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "__type.INSUFFICIENT_INVENTORY" }, - "4897": { + "5009": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "__type.CART_INCOMPATIBLE_STATE" }, - "4898": { + "5010": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "MedusaError.__constructor" }, - "4899": { + "5011": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "MedusaError" }, - "4900": { + "5012": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "type" }, - "4901": { + "5013": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "message" }, - "4902": { + "5014": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "code" }, - "4903": { + "5015": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "params" }, - "4904": { + "5016": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "MedusaError.type" }, - "4905": { + "5017": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "MedusaError.message" }, - "4906": { + "5018": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "MedusaError.code" }, - "4907": { + "5019": { "sourceFileName": "../../../packages/medusa-core-utils/dist/errors.d.ts", "qualifiedName": "MedusaError.date" }, - "4908": { + "5020": { "sourceFileName": "../../../packages/medusa/src/types/request.ts", "qualifiedName": "RequestContext" }, - "4909": { + "5021": { "sourceFileName": "../../../packages/medusa/src/types/request.ts", "qualifiedName": "__type" }, - "4910": { + "5022": { "sourceFileName": "../../../packages/medusa/src/types/request.ts", "qualifiedName": "__type.ip" }, - "4911": { + "5023": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "DeleteFileType" }, - "4912": { + "5024": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.fileKey" }, - "4913": { + "5025": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "UploadStreamDescriptorType" }, - "4914": { + "5026": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.name" }, - "4915": { + "5027": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.ext" }, - "4916": { + "5028": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.isPrivate" }, - "4917": { + "5029": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "FileServiceGetUploadStreamResult" }, - "4918": { + "5030": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.writeStream" }, - "4919": { + "5031": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.promise" }, - "4920": { + "5032": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.url" }, - "4921": { + "5033": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.fileKey" }, - "4922": { + "5034": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "GetUploadedFileType" }, - "4923": { + "5035": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.fileKey" }, - "4924": { + "5036": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.isPrivate" }, - "4925": { + "5037": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "ShippingOptionData" }, - "4926": { + "5038": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "FulfillmentProviderData" }, - "4927": { + "5039": { "sourceFileName": "../../../packages/medusa/src/interfaces/fulfillment-service.ts", "qualifiedName": "ShippingMethodData" }, - "4928": { + "5040": { "sourceFileName": "../../../packages/medusa/src/types/fulfillment-provider.ts", "qualifiedName": "CreateReturnType" }, - "4929": { + "5041": { "sourceFileName": "../../../packages/medusa/index.d.ts", "qualifiedName": "\"medusa-interfaces\"" }, - "4930": { + "5042": { "sourceFileName": "../../../packages/types/src/transaction-base/transaction-base.ts", "qualifiedName": "ITransactionBaseService" }, - "4931": { + "5043": { "sourceFileName": "../../../packages/types/src/transaction-base/transaction-base.ts", "qualifiedName": "ITransactionBaseService.withTransaction" }, - "4932": { + "5044": { "sourceFileName": "../../../packages/types/src/transaction-base/transaction-base.ts", "qualifiedName": "ITransactionBaseService.withTransaction" }, - "4933": { + "5045": { "sourceFileName": "../../../packages/types/src/transaction-base/transaction-base.ts", "qualifiedName": "transactionManager" }, - "4934": { + "5046": { "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", "qualifiedName": "TaxServiceRate" }, - "4935": { + "5047": { "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", "qualifiedName": "__type" }, - "4936": { + "5048": { "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", "qualifiedName": "__type.rate" }, - "4937": { + "5049": { "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", "qualifiedName": "__type.name" }, - "4938": { + "5050": { "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", "qualifiedName": "__type.code" }, - "4939": { + "5051": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "DefaultPriceType.DEFAULT" }, - "4940": { + "5052": { "sourceFileName": "../../../packages/medusa/src/interfaces/price-selection-strategy.ts", "qualifiedName": "DefaultPriceType" }, - "4941": { + "5053": { "sourceFileName": "../../../packages/medusa/src/types/totals.ts", "qualifiedName": "LineAllocationsMap" }, - "4942": { + "5054": { "sourceFileName": "../../../packages/medusa/src/types/totals.ts", "qualifiedName": "__type" }, - "4943": { + "5055": { "sourceFileName": "../../../packages/medusa/src/types/totals.ts", "qualifiedName": "__type.__index" }, - "4945": { - "sourceFileName": "../../../packages/medusa/src/types/totals.ts", - "qualifiedName": "__type" - }, - "4946": { - "sourceFileName": "../../../packages/medusa/src/types/totals.ts", - "qualifiedName": "__type.gift_card" - }, - "4947": { + "5057": { "sourceFileName": "../../../packages/medusa/src/types/totals.ts", - "qualifiedName": "__type.discount" - }, - "4948": { - "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", - "qualifiedName": "ProviderTaxLine" - }, - "4949": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "ModuleJoinerConfig" - }, - "4950": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" - }, - "4951": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.schema" - }, - "4952": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.relationships" - }, - "4953": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.extends" - }, - "4954": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" - }, - "4955": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.serviceName" - }, - "4956": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.fieldAlias" - }, - "4957": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" - }, - "4958": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.path" - }, - "4959": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.forwardArgumentsOnPath" - }, - "4960": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.relationship" - }, - "4961": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.serviceName" - }, - "4962": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.primaryKeys" - }, - "4963": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.isLink" - }, - "4964": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.linkableKeys" - }, - "4965": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.isReadOnlyLink" - }, - "4966": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.databaseConfig" - }, - "4967": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" - }, - "4968": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.tableName" - }, - "4969": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.idPrefix" - }, - "4970": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.extraFields" - }, - "4971": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "4972": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.type" - }, - "4973": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.defaultValue" + "5058": { + "sourceFileName": "../../../packages/medusa/src/types/totals.ts", + "qualifiedName": "__type.gift_card" }, - "4974": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.nullable" + "5059": { + "sourceFileName": "../../../packages/medusa/src/types/totals.ts", + "qualifiedName": "__type.discount" }, - "4975": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.options" + "5060": { + "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", + "qualifiedName": "ProviderTaxLine" }, - "4976": { + "5061": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "InnerSelector" }, - "4977": { + "5062": { "sourceFileName": "../../../packages/medusa/src/types/common.ts", "qualifiedName": "TEntity" }, - "4978": { + "5063": { "sourceFileName": "../../../packages/medusa-core-utils/dist/medusa-container.d.ts", "qualifiedName": "MedusaContainer" }, - "4979": { + "5064": { "sourceFileName": "../../../packages/medusa-core-utils/dist/medusa-container.d.ts", "qualifiedName": "__type" }, - "4980": { + "5065": { "sourceFileName": "../../../packages/medusa-core-utils/dist/medusa-container.d.ts", "qualifiedName": "__type.registerAdd" }, - "4981": { + "5066": { "sourceFileName": "../../../packages/medusa-core-utils/dist/medusa-container.d.ts", "qualifiedName": "__type" }, - "4982": { + "5067": { "sourceFileName": "../../../packages/medusa-core-utils/dist/medusa-container.d.ts", "qualifiedName": "__type" }, - "4983": { + "5068": { "sourceFileName": "../../../packages/medusa-core-utils/dist/medusa-container.d.ts", "qualifiedName": "name" }, - "4984": { + "5069": { "sourceFileName": "../../../packages/medusa-core-utils/dist/medusa-container.d.ts", "qualifiedName": "registration" }, - "4985": { + "5070": { "sourceFileName": "../../../packages/medusa-core-utils/dist/medusa-container.d.ts", "qualifiedName": "T" }, - "4986": { + "5071": { "sourceFileName": "../../../packages/medusa-core-utils/dist/medusa-container.d.ts", "qualifiedName": "__type.createScope" }, - "4987": { + "5072": { "sourceFileName": "../../../packages/medusa-core-utils/dist/medusa-container.d.ts", "qualifiedName": "__type" }, - "4988": { + "5073": { "sourceFileName": "../../../packages/medusa-core-utils/dist/medusa-container.d.ts", "qualifiedName": "__type" }, - "4989": { + "5074": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "ConfigModule" }, - "4990": { + "5075": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.projectConfig" }, - "4991": { + "5076": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.plugins" }, - "4992": { + "5077": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type" }, - "4993": { + "5078": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.resolve" }, - "4994": { + "5079": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.options" }, - "4995": { + "5080": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.modules" }, - "4996": { + "5081": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.featureFlags" }, - "4997": { + "5082": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "MiddlewareVerb" }, - "4998": { + "5083": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "ParserConfig" }, - "4999": { - "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", - "qualifiedName": "__type" - }, - "5000": { - "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", - "qualifiedName": "__type.sizeLimit" - }, - "5001": { + "5084": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "MedusaErrorHandlerFunction" }, - "5002": { + "5085": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "__type" }, - "5003": { + "5086": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "__type" }, - "5004": { + "5087": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "error" }, - "5005": { + "5088": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "req" }, - "5006": { + "5089": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "res" }, - "5007": { + "5090": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "next" }, - "5008": { + "5091": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "RequestQueryFields" + }, + "5092": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.expand" + }, + "5093": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.fields" + }, + "5094": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.offset" + }, + "5095": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.limit" + }, + "5096": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.order" + }, + "5097": { "sourceFileName": "../../../packages/types/src/common/medusa-container.ts", "qualifiedName": "MedusaContainer" }, - "5009": { + "5098": { "sourceFileName": "../../../packages/types/src/common/medusa-container.ts", "qualifiedName": "__type" }, - "5019": { + "5108": { + "sourceFileName": "../../../packages/types/src/pricing/common/pricing-context.ts", + "qualifiedName": "MedusaPricingContext" + }, + "5109": { + "sourceFileName": "../../../packages/types/src/pricing/common/pricing-context.ts", + "qualifiedName": "__type" + }, + "5110": { + "sourceFileName": "../../../packages/types/src/pricing/common/pricing-context.ts", + "qualifiedName": "__type.region_id" + }, + "5111": { + "sourceFileName": "../../../packages/types/src/pricing/common/pricing-context.ts", + "qualifiedName": "__type.currency_code" + }, + "5112": { + "sourceFileName": "../../../packages/types/src/pricing/common/pricing-context.ts", + "qualifiedName": "__type.customer_id" + }, + "5113": { + "sourceFileName": "../../../packages/types/src/pricing/common/pricing-context.ts", + "qualifiedName": "__type.customer_group_id" + }, + "5114": { "sourceFileName": "../../../packages/medusa/src/types/subscribers.ts", "qualifiedName": "SubscriberContext" }, - "5020": { + "5115": { "sourceFileName": "../../../packages/medusa/src/types/subscribers.ts", "qualifiedName": "SubscriberContext.subscriberId" }, - "5021": { + "5116": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "Constructor" }, - "5022": { + "5117": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "5023": { + "5118": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "5024": { + "5119": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "args" }, - "5025": { + "5120": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "T" }, - "5026": { + "5121": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO" }, - "5027": { + "5122": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.id" }, - "5028": { + "5123": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.title" }, - "5029": { + "5124": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.sku" }, - "5030": { + "5125": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.barcode" }, - "5031": { + "5126": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.ean" }, - "5032": { + "5127": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.upc" }, - "5033": { + "5128": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.inventory_quantity" }, - "5034": { + "5129": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.allow_backorder" }, - "5035": { + "5130": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.manage_inventory" }, - "5036": { + "5131": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.hs_code" }, - "5037": { + "5132": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.origin_country" }, - "5038": { + "5133": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.mid_code" }, - "5039": { + "5134": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.material" }, - "5040": { + "5135": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.weight" }, - "5041": { + "5136": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.length" }, - "5042": { + "5137": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.height" }, - "5043": { + "5138": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.width" }, - "5044": { + "5139": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.options" }, - "5045": { + "5140": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.metadata" }, - "5046": { + "5141": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.product" }, - "5047": { + "5142": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.product_id" }, - "5048": { + "5143": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.variant_rank" }, - "5049": { + "5144": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.created_at" }, - "5050": { + "5145": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.updated_at" }, - "5051": { + "5146": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.deleted_at" }, - "5052": { + "5147": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "Image" }, - "5055": { + "5150": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "Image.id" }, - "5056": { + "5151": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "Image.url" }, - "5057": { + "5152": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "Tag" }, - "5060": { + "5155": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "Tag.id" }, - "5061": { + "5156": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/orders/update-claim.ts", "qualifiedName": "Tag.value" }, - "5062": { + "5157": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantOptionReq" }, - "5065": { + "5160": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/create-product.ts", "qualifiedName": "ProductVariantOptionReq.value" }, - "5066": { + "5161": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantOptionReq" }, - "5069": { + "5164": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantOptionReq.value" }, - "5070": { + "5165": { "sourceFileName": "../../../packages/medusa/src/api/routes/admin/products/update-product.ts", "qualifiedName": "ProductVariantOptionReq.option_id" }, - "5071": { + "5166": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "StockLocationAddressDTO" }, - "5072": { + "5167": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type" }, - "5073": { + "5168": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.id" }, - "5074": { + "5169": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.address_1" }, - "5075": { + "5170": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.address_2" }, - "5076": { + "5171": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.company" }, - "5077": { + "5172": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.country_code" }, - "5078": { + "5173": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.city" }, - "5079": { + "5174": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.phone" }, - "5080": { + "5175": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.postal_code" }, - "5081": { + "5176": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.province" }, - "5082": { + "5177": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.metadata" }, - "5083": { + "5178": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.created_at" }, - "5084": { + "5179": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.updated_at" }, - "5085": { + "5180": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.deleted_at" }, - "5086": { + "5181": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO" + }, + "5182": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.id" + }, + "5183": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.name" + }, + "5184": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.type" + }, + "5185": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.metadata" + }, + "5186": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.service_zones" + }, + "5187": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.created_at" + }, + "5188": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.updated_at" + }, + "5189": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.deleted_at" + }, + "5190": { "sourceFileName": "../../../packages/medusa/src/types/feature-flags.ts", "qualifiedName": "FeatureFlagsResponse" }, - "5087": { + "5191": { "sourceFileName": "../../../packages/medusa/src/types/feature-flags.ts", "qualifiedName": "__type" }, - "5088": { + "5192": { "sourceFileName": "../../../packages/medusa/src/types/feature-flags.ts", "qualifiedName": "__type.key" }, - "5089": { + "5193": { "sourceFileName": "../../../packages/medusa/src/types/feature-flags.ts", "qualifiedName": "__type.value" }, - "5090": { + "5194": { "sourceFileName": "../../../packages/medusa/src/types/store.ts", "qualifiedName": "ModulesResponse" }, - "5091": { + "5195": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "ProductVariantPricing" }, - "5092": { + "5196": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "__type" }, - "5093": { + "5197": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "__type.prices" }, - "5094": { + "5198": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "__type.original_price" }, - "5095": { + "5199": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "__type.calculated_price" }, - "5096": { + "5200": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "__type.original_price_includes_tax" }, - "5097": { + "5201": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "__type.calculated_price_includes_tax" }, - "5098": { + "5202": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "__type.calculated_price_type" }, - "5099": { + "5203": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "ShippingOptionPricing" }, - "5100": { + "5204": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "__type" }, - "5101": { + "5205": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "__type.price_incl_tax" }, - "5102": { + "5206": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "__type.tax_rates" }, - "5103": { + "5207": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "__type.tax_amount" }, - "5104": { + "5208": { "sourceFileName": "../../../packages/medusa/src/types/totals.ts", "qualifiedName": "GiftCardAllocation" }, - "5105": { + "5209": { "sourceFileName": "../../../packages/medusa/src/types/totals.ts", "qualifiedName": "__type" }, - "5106": { + "5210": { "sourceFileName": "../../../packages/medusa/src/types/totals.ts", "qualifiedName": "__type.amount" }, - "5107": { + "5211": { "sourceFileName": "../../../packages/medusa/src/types/totals.ts", "qualifiedName": "__type.unit_amount" }, - "5108": { + "5212": { "sourceFileName": "../../../packages/medusa/src/types/totals.ts", "qualifiedName": "DiscountAllocation" }, - "5109": { + "5213": { "sourceFileName": "../../../packages/medusa/src/types/totals.ts", "qualifiedName": "__type" }, - "5110": { + "5214": { "sourceFileName": "../../../packages/medusa/src/types/totals.ts", "qualifiedName": "__type.amount" }, - "5111": { + "5215": { "sourceFileName": "../../../packages/medusa/src/types/totals.ts", "qualifiedName": "__type.unit_amount" }, - "5112": { + "5216": { "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", "qualifiedName": "ProviderLineItemTaxLine" }, - "5113": { + "5217": { "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", "qualifiedName": "__type" }, - "5114": { + "5218": { "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", "qualifiedName": "__type.rate" }, - "5115": { + "5219": { "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", "qualifiedName": "__type.name" }, - "5116": { + "5220": { "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", "qualifiedName": "__type.code" }, - "5117": { + "5221": { "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", "qualifiedName": "__type.item_id" }, - "5118": { + "5222": { "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", "qualifiedName": "__type.metadata" }, - "5119": { + "5223": { "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", "qualifiedName": "ProviderShippingMethodTaxLine" }, - "5120": { + "5224": { "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", "qualifiedName": "__type" }, - "5121": { + "5225": { "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", "qualifiedName": "__type.rate" }, - "5122": { + "5226": { "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", "qualifiedName": "__type.name" }, - "5123": { + "5227": { "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", "qualifiedName": "__type.code" }, - "5124": { + "5228": { "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", "qualifiedName": "__type.metadata" }, - "5125": { + "5229": { "sourceFileName": "../../../packages/medusa/src/types/tax-service.ts", "qualifiedName": "__type.shipping_method_id" }, - "5126": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "JoinerServiceConfig" - }, - "5127": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "JoinerServiceConfig.serviceName" - }, - "5128": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "JoinerServiceConfig.alias" - }, - "5129": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "JoinerServiceConfig.fieldAlias" - }, - "5130": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "__type" - }, - "5131": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "__type.path" - }, - "5132": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "__type.forwardArgumentsOnPath" - }, - "5133": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "JoinerServiceConfig.primaryKeys" - }, - "5134": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "JoinerServiceConfig.relationships" - }, - "5135": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "JoinerServiceConfig.extends" - }, - "5136": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "__type" - }, - "5137": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "__type.serviceName" - }, - "5138": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "__type.relationship" - }, - "5139": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "JoinerServiceConfig.args" - }, - "5140": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "ModuleJoinerRelationship" - }, - "5141": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" - }, - "5142": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.isInternalService" - }, - "5143": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.deleteCascade" - }, - "5144": { + "5230": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "ProjectConfigOptions" }, - "5145": { + "5231": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.store_cors" }, - "5146": { + "5232": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.admin_cors" }, - "5147": { + "5233": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.auth_cors" + }, + "5234": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.cookie_secret" }, - "5148": { + "5235": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.jwt_secret" }, - "5149": { + "5236": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.database_database" }, - "5150": { + "5237": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.database_url" }, - "5151": { + "5238": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.database_schema" }, - "5152": { + "5239": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.database_logging" }, - "5154": { + "5241": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.database_extra" }, - "5155": { + "5242": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type" }, - "5156": { + "5243": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.ssl" }, - "5157": { + "5244": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type" + }, + "5245": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.rejectUnauthorized" + }, + "5246": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.database_driver_options" + }, + "5247": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type" + }, + "5248": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.connection" + }, + "5249": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type" + }, + "5250": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.ssl" + }, + "5251": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type" }, - "5158": { + "5252": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.rejectUnauthorized" }, - "5159": { + "5253": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.redis_url" }, - "5160": { + "5254": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.redis_prefix" }, - "5161": { + "5255": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.redis_options" }, - "5162": { + "5256": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.session_options" }, - "5163": { + "5257": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.http_compression" }, - "5164": { + "5258": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.jobs_batch_size" }, - "5165": { + "5259": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.worker_mode" + }, + "5260": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "InternalModuleDeclaration" }, - "5166": { + "5261": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "5167": { + "5262": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.scope" }, - "5168": { + "5263": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.resources" }, - "5169": { + "5264": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.dependencies" }, - "5170": { + "5265": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.definition" }, - "5171": { + "5266": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.resolve" }, - "5172": { + "5267": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.options" }, - "5173": { + "5268": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.alias" }, - "5174": { + "5269": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.main" }, - "5175": { + "5270": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.worker_mode" + }, + "5271": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "ExternalModuleDeclaration" }, - "5176": { + "5272": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "5177": { + "5273": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.scope" }, - "5178": { + "5274": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.definition" }, - "5179": { + "5275": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.server" }, - "5180": { + "5276": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "5181": { + "5277": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.type" }, - "5182": { + "5278": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.url" }, - "5183": { + "5279": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.keepAlive" }, - "5184": { + "5280": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.options" }, - "5185": { + "5281": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.alias" }, - "5186": { + "5282": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.main" }, - "5187": { + "5283": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "RouteVerb" }, - "5188": { + "5284": { + "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", + "qualifiedName": "ParserConfigArgs" + }, + "5285": { + "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", + "qualifiedName": "__type" + }, + "5286": { + "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", + "qualifiedName": "__type.sizeLimit" + }, + "5287": { + "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", + "qualifiedName": "__type.preserveRawBody" + }, + "5288": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionValueDTO" }, - "5189": { + "5289": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionValueDTO.id" }, - "5190": { + "5290": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionValueDTO.value" }, - "5191": { + "5291": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionValueDTO.option" }, - "5192": { + "5292": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductOptionValueDTO.variant" + "qualifiedName": "ProductOptionValueDTO.option_id" }, - "5193": { + "5293": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionValueDTO.metadata" }, - "5194": { + "5294": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductOptionValueDTO.created_at" + }, + "5295": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductOptionValueDTO.updated_at" + }, + "5296": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionValueDTO.deleted_at" }, - "5195": { + "5297": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO" }, - "5196": { + "5298": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.id" }, - "5197": { + "5299": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.title" }, - "5198": { + "5300": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.handle" }, - "5199": { + "5301": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.subtitle" }, - "5200": { + "5302": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.description" }, - "5201": { + "5303": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.is_giftcard" }, - "5202": { + "5304": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.status" }, - "5203": { + "5305": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.thumbnail" }, - "5204": { + "5306": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.width" }, - "5205": { + "5307": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.weight" }, - "5206": { + "5308": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.length" }, - "5207": { + "5309": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.height" }, - "5208": { + "5310": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.origin_country" }, - "5209": { + "5311": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.hs_code" }, - "5210": { + "5312": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.mid_code" }, - "5211": { + "5313": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.material" }, - "5212": { + "5314": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.collection" }, - "5213": { + "5315": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.collection_id" + }, + "5316": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.categories" }, - "5214": { + "5317": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.type" }, - "5215": { + "5318": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.type_id" + }, + "5319": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.tags" }, - "5216": { + "5320": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.variants" }, - "5217": { + "5321": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.options" }, - "5218": { + "5322": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.images" }, - "5219": { + "5323": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.discountable" }, - "5220": { + "5324": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.external_id" }, - "5221": { + "5325": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.created_at" }, - "5222": { + "5326": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.updated_at" }, - "5223": { + "5327": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.deleted_at" }, - "5224": { + "5328": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductDTO.metadata" }, - "5225": { + "5329": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO" + }, + "5330": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.id" + }, + "5331": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.name" + }, + "5332": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.metadata" + }, + "5333": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.fulfillment_sets" + }, + "5334": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.geo_zones" + }, + "5335": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.shipping_options" + }, + "5336": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.created_at" + }, + "5337": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.updated_at" + }, + "5338": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.deleted_at" + }, + "5339": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "ModulesResponse" }, - "5226": { + "5340": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "5227": { + "5341": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.module" }, - "5228": { + "5342": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.resolution" }, - "5229": { + "5343": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "TaxedPricing" }, - "5230": { + "5344": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "__type" }, - "5231": { + "5345": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "__type.original_price_incl_tax" }, - "5232": { + "5346": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "__type.calculated_price_incl_tax" }, - "5233": { + "5347": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "__type.original_tax" }, - "5234": { + "5348": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "__type.calculated_tax" }, - "5235": { + "5349": { "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", "qualifiedName": "__type.tax_rates" }, - "5236": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "JoinerServiceConfigAlias" - }, - "5237": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "JoinerServiceConfigAlias.name" - }, - "5238": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "JoinerServiceConfigAlias.args" - }, - "5239": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "JoinerRelationship" - }, - "5240": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "__type" - }, - "5241": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "__type.alias" - }, - "5242": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "__type.foreignKey" - }, - "5243": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "__type.primaryKey" - }, - "5244": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "__type.serviceName" - }, - "5245": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "__type.isInternalService" - }, - "5246": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "__type.inverse" - }, - "5247": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "__type.isList" - }, - "5248": { - "sourceFileName": "../../../packages/types/src/joiner/index.ts", - "qualifiedName": "__type.args" - }, - "5249": { + "5350": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "SessionOptions" }, - "5250": { + "5351": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.name" }, - "5251": { + "5352": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.resave" }, - "5252": { + "5353": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.rolling" }, - "5253": { + "5354": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.saveUninitialized" }, - "5254": { + "5355": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.secret" }, - "5255": { + "5356": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.ttl" }, - "5256": { + "5357": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "HttpCompressionOptions" }, - "5257": { + "5358": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.enabled" }, - "5258": { + "5359": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.level" }, - "5259": { + "5360": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.memLevel" }, - "5260": { + "5361": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.threshold" }, - "5261": { + "5362": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "MODULE_SCOPE.INTERNAL" }, - "5262": { + "5363": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "MODULE_RESOURCE_TYPE" }, - "5263": { + "5364": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "MODULE_RESOURCE_TYPE.SHARED" }, - "5264": { + "5365": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "MODULE_RESOURCE_TYPE.ISOLATED" }, - "5265": { + "5366": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "ModuleDefinition" }, - "5266": { + "5367": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "5267": { + "5368": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.key" }, - "5268": { + "5369": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.registrationName" }, - "5269": { + "5370": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.defaultPackage" }, - "5270": { + "5371": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.label" }, - "5271": { + "5372": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.isRequired" }, - "5272": { + "5373": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.isQueryable" }, - "5273": { + "5374": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.isLegacy" }, - "5274": { + "5375": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.dependencies" }, - "5275": { + "5376": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.defaultModuleDeclaration" }, - "5276": { + "5377": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "ModuleExports" }, - "5277": { + "5378": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "5278": { + "5379": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.service" }, - "5279": { + "5380": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.loaders" }, - "5280": { + "5381": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.migrations" }, - "5281": { + "5382": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.models" }, - "5282": { + "5383": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.runMigrations" }, - "5283": { + "5384": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.runMigrations" }, - "5284": { + "5385": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "options" }, - "5285": { + "5386": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "moduleDeclaration" }, - "5286": { + "5387": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.revertMigration" }, - "5287": { + "5388": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.revertMigration" }, - "5288": { + "5389": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "options" }, - "5289": { + "5390": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "moduleDeclaration" }, - "5290": { + "5391": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "MODULE_SCOPE.EXTERNAL" }, - "5291": { + "5392": { "sourceFileName": "../../../packages/medusa/src/loaders/helpers/routing/types.ts", "qualifiedName": "HTTP_METHODS" }, - "5292": { + "5393": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionDTO" }, - "5293": { + "5394": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionDTO.id" }, - "5294": { + "5395": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionDTO.title" }, - "5295": { + "5396": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionDTO.product" }, - "5296": { + "5397": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductOptionDTO.product_id" + }, + "5398": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionDTO.values" }, - "5297": { + "5399": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionDTO.metadata" }, - "5298": { + "5400": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductOptionDTO.created_at" + }, + "5401": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductOptionDTO.updated_at" + }, + "5402": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionDTO.deleted_at" }, - "5299": { + "5403": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductStatus" }, - "5300": { + "5404": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductStatus.DRAFT" }, - "5301": { + "5405": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductStatus.PROPOSED" }, - "5302": { + "5406": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductStatus.PUBLISHED" }, - "5303": { + "5407": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductStatus.REJECTED" }, - "5304": { + "5408": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductCollectionDTO" }, - "5305": { + "5409": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductCollectionDTO.id" }, - "5306": { + "5410": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductCollectionDTO.title" }, - "5307": { + "5411": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductCollectionDTO.handle" }, - "5308": { + "5412": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductCollectionDTO.metadata" }, - "5309": { + "5413": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductCollectionDTO.created_at" + }, + "5414": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductCollectionDTO.updated_at" + }, + "5415": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductCollectionDTO.deleted_at" }, - "5310": { + "5416": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductCollectionDTO.products" }, - "5311": { + "5417": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductCategoryDTO" }, - "5312": { + "5418": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductCategoryDTO.id" }, - "5313": { + "5419": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductCategoryDTO.name" }, - "5314": { + "5420": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductCategoryDTO.description" }, - "5315": { + "5421": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductCategoryDTO.handle" }, - "5316": { + "5422": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductCategoryDTO.is_active" }, - "5317": { + "5423": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductCategoryDTO.is_internal" }, - "5318": { + "5424": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductCategoryDTO.rank" }, - "5319": { + "5425": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductCategoryDTO.metadata" + }, + "5426": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductCategoryDTO.parent_category" }, - "5320": { + "5427": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductCategoryDTO.parent_category_id" + }, + "5428": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductCategoryDTO.category_children" }, - "5321": { + "5429": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductCategoryDTO.products" + }, + "5430": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductCategoryDTO.created_at" }, - "5322": { + "5431": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductCategoryDTO.updated_at" }, - "5323": { + "5432": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductTypeDTO" }, - "5324": { + "5433": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductTypeDTO.id" }, - "5325": { + "5434": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductTypeDTO.value" }, - "5326": { + "5435": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductTypeDTO.metadata" }, - "5327": { + "5436": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductTypeDTO.created_at" + }, + "5437": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductTypeDTO.updated_at" + }, + "5438": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductTypeDTO.deleted_at" }, - "5328": { + "5439": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductTagDTO" }, - "5329": { + "5440": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductTagDTO.id" }, - "5330": { + "5441": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductTagDTO.value" }, - "5331": { + "5442": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductTagDTO.metadata" }, - "5332": { + "5443": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductTagDTO.products" }, - "5333": { + "5444": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductImageDTO" }, - "5334": { + "5445": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductImageDTO.id" }, - "5335": { + "5446": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductImageDTO.url" }, - "5336": { + "5447": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductImageDTO.metadata" }, - "5337": { + "5448": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductImageDTO.created_at" + }, + "5449": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductImageDTO.updated_at" + }, + "5450": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductImageDTO.deleted_at" }, - "5338": { + "5451": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO" + }, + "5452": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.id" + }, + "5453": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.type" + }, + "5454": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.country_code" + }, + "5455": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.province_code" + }, + "5456": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.city" + }, + "5457": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.postal_expression" + }, + "5458": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.metadata" + }, + "5459": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.created_at" + }, + "5460": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.updated_at" + }, + "5461": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.deleted_at" + }, + "5462": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO" + }, + "5463": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.id" + }, + "5464": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.name" + }, + "5465": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.price_type" + }, + "5466": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.service_zone_id" + }, + "5467": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.shipping_profile_id" + }, + "5468": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.provider_id" + }, + "5469": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.shipping_option_type_id" + }, + "5470": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.data" + }, + "5471": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.metadata" + }, + "5472": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.service_zone" + }, + "5473": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.shipping_profile" + }, + "5474": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.fulfillment_provider" + }, + "5475": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.type" + }, + "5476": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.rules" + }, + "5477": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.fulfillments" + }, + "5478": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.created_at" + }, + "5479": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.updated_at" + }, + "5480": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.deleted_at" + }, + "5481": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "ModuleLoaderFunction" }, - "5339": { + "5482": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "5340": { + "5483": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "5341": { + "5484": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "options" }, - "5342": { + "5485": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "moduleDeclaration" }, - "5343": { + "5486": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "LoaderOptions" }, - "5344": { + "5487": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "5345": { + "5488": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.container" }, - "5346": { + "5489": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.options" }, - "5347": { + "5490": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.logger" }, - "5348": { + "5491": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.dataLoaderOnly" + }, + "5492": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "TOptions" }, - "5349": { + "5493": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneType" + }, + "5494": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionPriceType" + }, + "5495": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO" + }, + "5496": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.id" + }, + "5497": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.name" + }, + "5498": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.type" + }, + "5499": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.metadata" + }, + "5500": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.shipping_options" + }, + "5501": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.created_at" + }, + "5502": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.updated_at" + }, + "5503": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.deleted_at" + }, + "5504": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO" + }, + "5505": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.id" + }, + "5506": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.name" + }, + "5507": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.metadata" + }, + "5508": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.shipping_options" + }, + "5509": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.created_at" + }, + "5510": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.updated_at" + }, + "5511": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.deleted_at" + }, + "5512": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO" + }, + "5513": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.id" + }, + "5514": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.label" + }, + "5515": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.description" + }, + "5516": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.code" + }, + "5517": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.shipping_option_id" + }, + "5518": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.shipping_option" + }, + "5519": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.created_at" + }, + "5520": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.updated_at" + }, + "5521": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.deleted_at" + }, + "5522": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO" + }, + "5523": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.id" + }, + "5524": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.attribute" + }, + "5525": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.operator" + }, + "5526": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.value" + }, + "5527": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "__type" + }, + "5528": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "__type.value" + }, + "5529": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.shipping_option_id" + }, + "5530": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.shipping_option" + }, + "5531": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.created_at" + }, + "5532": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.updated_at" + }, + "5533": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.deleted_at" + }, + "5534": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO" + }, + "5535": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.id" + }, + "5536": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.location_id" + }, + "5537": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.packed_at" + }, + "5538": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.shipped_at" + }, + "5539": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.delivered_at" + }, + "5540": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.canceled_at" + }, + "5541": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.data" + }, + "5542": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.provider_id" + }, + "5543": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.shipping_option_id" + }, + "5544": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.metadata" + }, + "5545": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.shipping_option" + }, + "5546": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.provider" + }, + "5547": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.delivery_address" + }, + "5548": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.items" + }, + "5549": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.labels" + }, + "5550": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.created_at" + }, + "5551": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.updated_at" + }, + "5552": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.deleted_at" + }, + "5553": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "Logger" }, - "5350": { + "5554": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "Logger.panic" }, - "5351": { + "5555": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5352": { + "5556": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5353": { + "5557": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "data" }, - "5354": { + "5558": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "Logger.shouldLog" }, - "5355": { + "5559": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5356": { + "5560": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5357": { + "5561": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "level" }, - "5358": { + "5562": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "Logger.setLogLevel" }, - "5359": { + "5563": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5360": { + "5564": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5361": { + "5565": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "level" }, - "5362": { + "5566": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "Logger.unsetLogLevel" }, - "5363": { + "5567": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5364": { + "5568": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5365": { + "5569": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "Logger.activity" }, - "5366": { + "5570": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5367": { + "5571": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5368": { + "5572": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "message" }, - "5369": { + "5573": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "config" }, - "5370": { + "5574": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "Logger.progress" }, - "5371": { + "5575": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5372": { + "5576": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5373": { + "5577": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "activityId" }, - "5374": { + "5578": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "message" }, - "5375": { + "5579": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "Logger.error" }, - "5376": { + "5580": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5377": { + "5581": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5378": { + "5582": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "messageOrError" }, - "5379": { + "5583": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "error" }, - "5380": { + "5584": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "Logger.failure" }, - "5381": { + "5585": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5382": { + "5586": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5383": { + "5587": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "activityId" }, - "5384": { + "5588": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "message" }, - "5385": { + "5589": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "Logger.success" }, - "5386": { + "5590": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5387": { + "5591": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5388": { + "5592": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "activityId" }, - "5389": { + "5593": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "message" }, - "5390": { + "5594": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "Logger.debug" }, - "5391": { + "5595": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5392": { + "5596": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5393": { + "5597": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "message" }, - "5394": { + "5598": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "Logger.info" }, - "5395": { + "5599": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5396": { + "5600": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5397": { + "5601": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "message" }, - "5398": { + "5602": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "Logger.warn" }, - "5399": { + "5603": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5400": { + "5604": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5401": { + "5605": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "message" }, - "5402": { + "5606": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "Logger.log" }, - "5403": { + "5607": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5404": { + "5608": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "__type" }, - "5405": { + "5609": { "sourceFileName": "../../../packages/types/src/logger/index.ts", "qualifiedName": "args" + }, + "5610": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO" + }, + "5611": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.id" + }, + "5612": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.fulfillment_id" + }, + "5613": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.company" + }, + "5614": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.first_name" + }, + "5615": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.last_name" + }, + "5616": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.address_1" + }, + "5617": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.address_2" + }, + "5618": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.city" + }, + "5619": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.country_code" + }, + "5620": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.province" + }, + "5621": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.postal_code" + }, + "5622": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.phone" + }, + "5623": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.metadata" + }, + "5624": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.created_at" + }, + "5625": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.updated_at" + }, + "5626": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.deleted_at" + }, + "5627": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO" + }, + "5628": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.id" + }, + "5629": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.title" + }, + "5630": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.quantity" + }, + "5631": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.sku" + }, + "5632": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.barcode" + }, + "5633": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.line_item_id" + }, + "5634": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.inventory_item_id" + }, + "5635": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.fulfillment_id" + }, + "5636": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.fulfillment" + }, + "5637": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.created_at" + }, + "5638": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.updated_at" + }, + "5639": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.deleted_at" + }, + "5640": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO" + }, + "5641": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.id" + }, + "5642": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.tracking_number" + }, + "5643": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.tracking_url" + }, + "5644": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.label_url" + }, + "5645": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.fulfillment_id" + }, + "5646": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.fulfillment" + }, + "5647": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.created_at" + }, + "5648": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.updated_at" + }, + "5649": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.deleted_at" } } } \ No newline at end of file diff --git a/docs-util/typedoc-json-output/0-types.json b/docs-util/typedoc-json-output/0-types.json index 7d3fdfec53530..3aa67d8090f0b 100644 --- a/docs-util/typedoc-json-output/0-types.json +++ b/docs-util/typedoc-json-output/0-types.json @@ -334,453 +334,312 @@ } }, { - "id": 68, - "name": "AuthUserDTO", + "id": 16, + "name": "ApiKeyType", "variant": "declaration", "kind": 2097152, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An API key's type." + } + ] + }, "type": { - "type": "reflection", - "declaration": { - "id": 69, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 70, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 71, - "name": "provider", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 72, - "name": "entity_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 73, - "name": "scope", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 74, - "name": "provider_metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 75, - "name": "user_metadata", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 76, - "name": "app_metadata", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 70, - 71, - 72, - 73, - 74, - 75, - 76 - ] - } - ] - } + "type": "union", + "types": [ + { + "type": "literal", + "value": "secret" + }, + { + "type": "literal", + "value": "publishable" + } + ] } }, { - "id": 77, - "name": "CreateAuthUserDTO", + "id": 17, + "name": "ApiKeyDTO", "variant": "declaration", - "kind": 2097152, + "kind": 256, "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 78, - "name": "__type", + "comment": { + "summary": [ + { + "kind": "text", + "text": "The API key details." + } + ] + }, + "children": [ + { + "id": 18, + "name": "id", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 79, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the API key." } - }, - { - "id": 80, - "name": "provider", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19, + "name": "token", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The token of the API key." } - }, - { - "id": 81, - "name": "entity_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 20, + "name": "redacted", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The redacted form of the API key's token. This is useful\nwhen showing portion of the token. For example " + }, + { + "kind": "code", + "text": "`sk_...123`" + }, + { + "kind": "text", + "text": "." } - }, - { - "id": 82, - "name": "scope", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 21, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the API key." } - }, - { - "id": 83, - "name": "provider_metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 22, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the API key." } - }, - { - "id": 84, - "name": "user_metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" + ] + }, + "type": { + "type": "reference", + "target": 16, + "name": "ApiKeyType", + "package": "@medusajs/types" + } + }, + { + "id": 23, + "name": "last_used_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the API key was last used." } - }, - { - "id": 85, - "name": "app_metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" + "qualifiedName": "Date" }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", + "name": "Date", "package": "typescript" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 79, - 80, - 81, - 82, - 83, - 84, - 85 - ] - } - ] - } - } - }, - { - "id": 86, - "name": "UpdateAuthUserDTO", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 87, - "name": "__type", + ] + } + }, + { + "id": 24, + "name": "created_by", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 88, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Who created the API key." } - }, - { - "id": 89, - "name": "provider_metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 25, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the API key was created." } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" }, - { - "id": 90, - "name": "user_metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "name": "Date", + "package": "typescript" + } + }, + { + "id": 26, + "name": "revoked_by", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Who revoked the API key. For example,\nthe ID of the user that revoked it." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" + { + "type": "intrinsic", + "name": "string" } - }, - { - "id": 91, - "name": "app_metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + } + }, + { + "id": 27, + "name": "revoked_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the API key was revoked." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" + "qualifiedName": "Date" }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", + "name": "Date", "package": "typescript" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 88, - 89, - 90, - 91 - ] - } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27 ] } - } + ] }, { - "id": 92, - "name": "FilterableAuthUserProps", + "id": 28, + "name": "FilterableApiKeyProps", "variant": "declaration", "kind": 256, "flags": {}, @@ -788,35 +647,114 @@ "summary": [ { "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." + "text": "The filters to apply on the retrieved API keys." } ] }, "children": [ { - "id": 93, + "id": 29, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Search through the api key names and redacted keys using this search term." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 30, "name": "id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the API keys by." + } + ] + }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 94, - "name": "provider", + "id": 31, + "name": "token", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tokens to filter the API keys by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 32, + "name": "title", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The titles to filter the API keys by." + } + ] + }, "type": { "type": "union", "types": [ @@ -835,7 +773,30 @@ } }, { - "id": 95, + "id": 33, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the API keys by their type." + } + ] + }, + "type": { + "type": "reference", + "target": 16, + "name": "ApiKeyType", + "package": "@medusajs/types" + } + }, + { + "id": 34, "name": "$and", "variant": "declaration", "kind": 1024, @@ -857,18 +818,18 @@ "types": [ { "type": "reference", - "target": 92, - "name": "FilterableAuthUserProps", + "target": 28, + "name": "FilterableApiKeyProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 1512, + "target": 2029, "typeArguments": [ { "type": "reference", - "target": 92, - "name": "FilterableAuthUserProps", + "target": 28, + "name": "FilterableApiKeyProps", "package": "@medusajs/types" } ], @@ -880,12 +841,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 1513, + "target": 2030, "name": "BaseFilterable.$and" } }, { - "id": 96, + "id": 35, "name": "$or", "variant": "declaration", "kind": 1024, @@ -907,18 +868,18 @@ "types": [ { "type": "reference", - "target": 92, - "name": "FilterableAuthUserProps", + "target": 28, + "name": "FilterableApiKeyProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 1512, + "target": 2029, "typeArguments": [ { "type": "reference", - "target": 92, - "name": "FilterableAuthUserProps", + "target": 28, + "name": "FilterableApiKeyProps", "package": "@medusajs/types" } ], @@ -930,7 +891,7 @@ }, "inheritedFrom": { "type": "reference", - "target": 1514, + "target": 2031, "name": "BaseFilterable.$or" } } @@ -939,22 +900,25 @@ { "title": "Properties", "children": [ - 93, - 94, - 95, - 96 + 29, + 30, + 31, + 32, + 33, + 34, + 35 ] } ], "extendedTypes": [ { "type": "reference", - "target": 1512, + "target": 2029, "typeArguments": [ { "type": "reference", - "target": 92, - "name": "FilterableAuthUserProps", + "target": 28, + "name": "FilterableApiKeyProps", "package": "@medusajs/types" } ], @@ -964,419 +928,425 @@ ] }, { - "id": 97, - "name": "AuthenticationResponse", + "id": 6158, + "name": "ApiKeyTypes", "variant": "declaration", - "kind": 2097152, + "kind": 4, + "flags": {} + }, + { + "id": 36, + "name": "CreateApiKeyDTO", + "variant": "declaration", + "kind": 256, "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 98, - "name": "__type", + "comment": { + "summary": [ + { + "kind": "text", + "text": "The API key to be created." + } + ] + }, + "children": [ + { + "id": 37, + "name": "title", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 99, - "name": "success", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 100, - "name": "authUser", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the API key." } - }, - { - "id": 101, - "name": "error", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 38, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the API key." } - }, - { - "id": 102, - "name": "location", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" + ] + }, + "type": { + "type": "reference", + "target": 16, + "name": "ApiKeyType", + "package": "@medusajs/types" + } + }, + { + "id": 39, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Who created the API key." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 99, - 100, - 101, - 102 - ] - } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 37, + 38, + 39 ] } - } + ] }, { - "id": 103, - "name": "AuthModuleProviderConfig", + "id": 40, + "name": "UpsertApiKeyDTO", "variant": "declaration", - "kind": 2097152, + "kind": 256, "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 104, - "name": "__type", + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the API key to be created or updated." + } + ] + }, + "children": [ + { + "id": 41, + "name": "id", "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 105, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the API key." } - }, - { - "id": 106, - "name": "scopes", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 107, - "name": "AuthProviderScope", - "package": "@medusajs/types" - } - ], - "name": "Record", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 42, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the API key." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 105, - 106 - ] - } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 43, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the API key. Required only when creating an API key." + } + ] + }, + "type": { + "type": "reference", + "target": 16, + "name": "ApiKeyType", + "package": "@medusajs/types" + } + }, + { + "id": 44, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Who created the API key. It's only\nusable and required when creating an API key." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 41, + 42, + 43, + 44 ] } - } + ] }, { - "id": 107, - "name": "AuthProviderScope", + "id": 45, + "name": "UpdateApiKeyDTO", "variant": "declaration", - "kind": 2097152, + "kind": 256, "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "string" + "kind": "text", + "text": "The attributes to update in the API key." + } + ] + }, + "children": [ + { + "id": 46, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the API key." + } + ] + }, + "type": { "type": "intrinsic", - "name": "unknown" + "name": "string" } - ], - "name": "Record", - "package": "typescript" - } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 46 + ] + } + ] }, { - "id": 108, - "name": "AuthenticationInput", + "id": 47, + "name": "RevokeApiKeyDTO", "variant": "declaration", - "kind": 2097152, + "kind": 256, "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 109, - "name": "__type", + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of revoking an API key." + } + ] + }, + "children": [ + { + "id": 48, + "name": "revoked_by", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 110, - "name": "url", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 111, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 112, - "name": "query", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 113, - "name": "body", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 114, - "name": "authScope", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Who revoked the API key." } - }, - { - "id": 115, - "name": "protocol", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 49, + "name": "revoke_in", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When to revoke the API key (time in seconds)." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 110, - 111, - 112, - 113, - 114, - 115 - ] - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } } - } - }, - { - "id": 116, - "name": "AuthTypes", - "variant": "declaration", - "kind": 4, - "flags": {} - }, - { - "id": 16, - "name": "JWTGenerationOptions", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 17, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, + ], + "groups": [ + { + "title": "Properties", "children": [ - { - "id": 18, - "name": "expiresIn", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 18 - ] - } + 48, + 49 ] } - } + ] }, { - "id": 19, - "name": "IAuthModuleService", + "id": 50, + "name": "IApiKeyModuleService", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The main service interface for the Api Key Module." + } + ] + }, "children": [ { - "id": 20, - "name": "authenticate", + "id": 51, + "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 21, - "name": "authenticate", + "id": 52, + "name": "create", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates API keys." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created API keys." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst apiKey = await apiKeyModuleService.create([\n {\n title: \"Development API key\",\n type: \"publishable\",\n created_by: \"user_123\",\n },\n])\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 22, - "name": "provider", + "id": 53, + "name": "data", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The API keys to be created." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 36, + "name": "CreateApiKeyDTO", + "package": "@medusajs/types" + } } }, { - "id": 23, - "name": "providerData", + "id": 54, + "name": "sharedContext", "variant": "param", "kind": 32768, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 108, - "name": "AuthenticationInput", + "target": 7891, + "name": "Context", "package": "@medusajs/types" } } @@ -1389,53 +1359,95 @@ }, "typeArguments": [ { - "type": "reference", - "target": 97, - "name": "AuthenticationResponse", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 17, + "name": "ApiKeyDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", "package": "typescript" } - } - ] - }, - { - "id": 24, - "name": "validateCallback", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 25, - "name": "validateCallback", + "id": 55, + "name": "create", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates an API key." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created API key." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst apiKey = await apiKeyModuleService.create({\n title: \"Development API key\",\n type: \"publishable\",\n created_by: \"user_123\"\n})\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 26, - "name": "provider", + "id": 56, + "name": "data", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The API key to be created." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 36, + "name": "CreateApiKeyDTO", + "package": "@medusajs/types" } }, { - "id": 27, - "name": "providerData", + "id": 57, + "name": "sharedContext", "variant": "param", "kind": 32768, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 108, - "name": "AuthenticationInput", + "target": 7891, + "name": "Context", "package": "@medusajs/types" } } @@ -1449,8 +1461,8 @@ "typeArguments": [ { "type": "reference", - "target": 97, - "name": "AuthenticationResponse", + "target": 17, + "name": "ApiKeyDTO", "package": "@medusajs/types" } ], @@ -1461,64 +1473,191 @@ ] }, { - "id": 28, - "name": "retrieve", + "id": 58, + "name": "upsert", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 29, - "name": "retrieve", + "id": 59, + "name": "upsert", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates or creates API keys if they don't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created or updated API keys." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst apiKey = await apiKeyModuleService.upsert([\n {\n id: \"apk_123\",\n title: \"My development key\",\n },\n {\n title: \"New development key\",\n type: \"secret\",\n created_by: \"user_123\",\n },\n])\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 30, - "name": "id", + "id": 60, + "name": "data", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the API keys that are created or updated." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 40, + "name": "UpsertApiKeyDTO", + "package": "@medusajs/types" + } } }, { - "id": 31, - "name": "config", + "id": 61, + "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 920, - "typeArguments": [ + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 17, + "name": "ApiKeyDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 62, + "name": "upsert", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates or creates an API key if it doesn't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ { - "type": "reference", - "target": 68, - "name": "AuthUserDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "The created or updated API key." } - ], - "name": "FindConfig", + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst apiKey = await apiKeyModuleService.upsert({\n id: \"apk_123\",\n title: \"My development key\"\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 63, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the API key that's created or updated." + } + ] + }, + "type": { + "type": "reference", + "target": 40, + "name": "UpsertApiKeyDTO", "package": "@medusajs/types" } }, { - "id": 32, + "id": 64, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -1533,8 +1672,8 @@ "typeArguments": [ { "type": "reference", - "target": 68, - "name": "AuthUserDTO", + "target": 17, + "name": "ApiKeyDTO", "package": "@medusajs/types" } ], @@ -1545,68 +1684,106 @@ ] }, { - "id": 33, - "name": "list", + "id": 65, + "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 34, - "name": "list", + "id": 66, + "name": "update", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing API key." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated API key." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst apiKey = await apiKeyModuleService.update(\"apk_123\", {\n title: \"My development key\"\n})\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 35, - "name": "filters", + "id": 67, + "name": "id", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the API key." + } + ] }, "type": { - "type": "reference", - "target": 92, - "name": "FilterableAuthUserProps", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } }, { - "id": 36, - "name": "config", + "id": 68, + "name": "data", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the API key." + } + ] }, "type": { "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 68, - "name": "AuthUserDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", + "target": 45, + "name": "UpdateApiKeyDTO", "package": "@medusajs/types" } }, { - "id": 37, + "id": 69, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -1620,84 +1797,112 @@ }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 68, - "name": "AuthUserDTO", - "package": "@medusajs/types" - } + "type": "reference", + "target": 17, + "name": "ApiKeyDTO", + "package": "@medusajs/types" } ], "name": "Promise", "package": "typescript" } - } - ] - }, - { - "id": 38, - "name": "listAndCount", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 39, - "name": "listAndCount", + "id": 70, + "name": "update", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing API keys." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated API keys." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst apiKey = await apiKeyModuleService.update(\n {\n title: \"Development key\",\n },\n {\n title: \"My development key\",\n }\n)\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 40, - "name": "filters", + "id": 71, + "name": "selector", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters that specify which API keys should be updated." + } + ] }, "type": { "type": "reference", - "target": 92, - "name": "FilterableAuthUserProps", + "target": 28, + "name": "FilterableApiKeyProps", "package": "@medusajs/types" } }, { - "id": 41, - "name": "config", + "id": 72, + "name": "data", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the API keys." + } + ] }, "type": { "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 68, - "name": "AuthUserDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", + "target": 45, + "name": "UpdateApiKeyDTO", "package": "@medusajs/types" } }, { - "id": 42, + "id": 73, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -1711,22 +1916,13 @@ }, "typeArguments": [ { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 68, - "name": "AuthUserDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] + "type": "array", + "elementType": { + "type": "reference", + "target": 17, + "name": "ApiKeyDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", @@ -1736,46 +1932,88 @@ ] }, { - "id": 43, - "name": "create", + "id": 74, + "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 44, - "name": "create", + "id": 75, + "name": "delete", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes API keys by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the API keys are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait apiKeyModuleService.delete([\"apk_123\"])\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 45, - "name": "data", + "id": 76, + "name": "ids", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the API keys." + } + ] + }, "type": { "type": "array", "elementType": { - "type": "reference", - "target": 77, - "name": "CreateAuthUserDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } } }, { - "id": 46, + "id": 77, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -1789,13 +2027,8 @@ }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 68, - "name": "AuthUserDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "void" } ], "name": "Promise", @@ -1803,36 +2036,78 @@ } }, { - "id": 47, - "name": "create", + "id": 78, + "name": "delete", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes an API key by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the API key is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait apiKeyModuleService.delete(\"apk_123\")\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 48, - "name": "data", + "id": 79, + "name": "id", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the API key." + } + ] + }, "type": { - "type": "reference", - "target": 77, - "name": "CreateAuthUserDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } }, { - "id": 49, + "id": 80, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -1846,10 +2121,8 @@ }, "typeArguments": [ { - "type": "reference", - "target": 68, - "name": "AuthUserDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "void" } ], "name": "Promise", @@ -1859,103 +2132,132 @@ ] }, { - "id": 50, - "name": "update", + "id": 81, + "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 51, - "name": "update", + "id": 82, + "name": "retrieve", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves an API key by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved API key." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst apiKey = await apiKeyModuleService.retrieve(\"apk_123\")\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 52, - "name": "data", + "id": 83, + "name": "id", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the API key." + } + ] + }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 86, - "name": "UpdateAuthUserDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "string" } }, { - "id": 53, - "name": "sharedContext", + "id": 84, + "name": "config", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the API key is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a api key." + } + ] + }, "type": { "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 68, - "name": "AuthUserDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 54, - "name": "update", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 55, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 86, - "name": "UpdateAuthUserDTO", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 17, + "name": "ApiKeyDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", "package": "@medusajs/types" } }, { - "id": 56, + "id": 85, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -1970,8 +2272,8 @@ "typeArguments": [ { "type": "reference", - "target": 68, - "name": "AuthUserDTO", + "target": 17, + "name": "ApiKeyDTO", "package": "@medusajs/types" } ], @@ -1982,44 +2284,180 @@ ] }, { - "id": 57, - "name": "delete", + "id": 86, + "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 58, - "name": "delete", + "id": 87, + "name": "list", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of API keys based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of API keys." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of API keys using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst apiKeys = await apiKeyModuleService.list({\n id: [\"apk_123\", \"apk_321\"]\n})\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst apiKeys = await apiKeyModuleService.list(\n {\n id: [\"apk_123\", \"apk_321\"],\n },\n {\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 59, - "name": "ids", + "id": 88, + "name": "filters", "variant": "param", "kind": 32768, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved API keys." + } + ] + }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "target": 28, + "name": "FilterableApiKeyProps", + "package": "@medusajs/types" } }, { - "id": 60, + "id": 89, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the API key is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a API key." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 17, + "name": "ApiKeyDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 90, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -2033,8 +2471,13 @@ }, "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "type": "array", + "elementType": { + "type": "reference", + "target": 17, + "name": "ApiKeyDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", @@ -2042,2444 +2485,3570 @@ } } ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 20, - 24, - 28, - 33, - 38, - 43, - 50, - 57 - ] - } - ], - "extendedTypes": [ + }, { - "type": "reference", - "target": 2048, - "name": "IModuleService", - "package": "@medusajs/types" - } - ] - }, - { - "id": 117, - "name": "CacheTypes", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ - { - "id": 118, - "name": "ICacheService", + "id": 91, + "name": "listAndCount", "variant": "declaration", - "kind": 256, + "kind": 2048, "flags": {}, - "children": [ + "signatures": [ { - "id": 119, - "name": "get", - "variant": "declaration", - "kind": 2048, + "id": 92, + "name": "listAndCount", + "variant": "signature", + "kind": 4096, "flags": {}, - "signatures": [ - { - "id": 120, - "name": "get", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 121, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "parameters": [ - { - "id": 122, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of API keys along with the total count of available API keys satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of API keys along with their total count." } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + ] + }, + { + "tag": "@example", + "content": [ { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": 121, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ] + "kind": "text", + "text": "To retrieve a list of API keys using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [apiKeys, count] =\nawait apiKeyModuleService.listAndCount({\n id: [\"apk_123\", \"apk_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [apiKeys, count] =\n await apiKeyModuleService.listAndCount(\n {\n id: [\"apk_123\", \"apk_321\"],\n },\n {\n take: 15,\n skip: 2,\n }\n )\n```" } - ], - "name": "Promise", - "package": "typescript" + ] } - } - ] - }, - { - "id": 123, - "name": "set", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + ] + }, + "parameters": [ { - "id": 124, - "name": "set", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 125, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 126, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" + "id": 93, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved API keys." } - }, - { - "id": 127, - "name": "ttl", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "reference", + "target": 28, + "name": "FilterableApiKeyProps", + "package": "@medusajs/types" + } + }, + { + "id": 94, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the api API is retrieved. Its properties, such as " }, - "type": { - "type": "intrinsic", - "name": "number" + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a API key." } - } - ], + ] + }, "type": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, + "target": 1377, "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "type": "reference", + "target": 17, + "name": "ApiKeyDTO", + "package": "@medusajs/types" } ], - "name": "Promise", - "package": "typescript" + "name": "FindConfig", + "package": "@medusajs/types" } - } - ] - }, - { - "id": 128, - "name": "invalidate", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 129, - "name": "invalidate", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 130, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "id": 95, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." } - } - ], + ] + }, "type": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 17, + "name": "ApiKeyDTO", + "package": "@medusajs/types" + } + }, { "type": "intrinsic", - "name": "void" + "name": "number" } - ], - "name": "Promise", - "package": "typescript" + ] } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 119, - 123, - 128 - ] + ], + "name": "Promise", + "package": "typescript" + } } ] - } - ], - "groups": [ - { - "title": "Interfaces", - "children": [ - 118 - ] - } - ] - }, - { - "id": 131, - "name": "CartTypes", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ + }, { - "id": 132, - "name": "AdjustmentLineDTO", + "id": 96, + "name": "revoke", "variant": "declaration", - "kind": 256, + "kind": 2048, "flags": {}, - "children": [ + "signatures": [ { - "id": 133, - "name": "id", - "variant": "declaration", - "kind": 1024, + "id": 97, + "name": "revoke", + "variant": "signature", + "kind": 4096, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the adjustment line" + "text": "This method revokes API keys based on the filters provided." } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 134, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + ], + "blockTags": [ { - "kind": "text", - "text": "The code of the adjustment line" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 135, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The revoked API keys." + } + ] + }, { - "kind": "text", - "text": "The amount of the adjustment line" + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst apiKey = await apiKeyModuleService.revoke(\n {\n id: \"apk_123\",\n },\n {\n revoked_by: \"user_123\",\n // 1 minute\n revoke_in: 60,\n }\n)\n```" + } + ] } ] }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 136, - "name": "cart_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated cart" + "parameters": [ + { + "id": 98, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to specify which API keys should be revoked." + } + ] + }, + "type": { + "type": "reference", + "target": 28, + "name": "FilterableApiKeyProps", + "package": "@medusajs/types" } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 137, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The description of the adjustment line" + }, + { + "id": 99, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of revoking the API keys." + } + ] + }, + "type": { + "type": "reference", + "target": 47, + "name": "RevokeApiKeyDTO", + "package": "@medusajs/types" } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 138, - "name": "promotion_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated promotion" + }, + { + "id": 100, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" } - ] - }, + } + ], "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 139, - "name": "provider_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ { - "kind": "text", - "text": "The ID of the associated provider" + "type": "array", + "elementType": { + "type": "reference", + "target": 17, + "name": "ApiKeyDTO", + "package": "@medusajs/types" + } } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" + ], + "name": "Promise", + "package": "typescript" } }, { - "id": 140, - "name": "created_at", - "variant": "declaration", - "kind": 1024, + "id": 101, + "name": "revoke", + "variant": "signature", + "kind": 4096, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "When the adjustment line was created" + "text": "This method revokes an API key based on the ID provided." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The revoked API key." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst apiKey = await apiKeyModuleService.revoke(\"apk_123\", {\n revoked_by: \"user_123\",\n // 1 minute\n revoke_in: 60,\n})\n```" + } + ] } ] }, - "type": { - "type": "union", - "types": [ - { + "parameters": [ + { + "id": 102, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the API key to revoke." + } + ] + }, + "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 103, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of revoking the API key." + } + ] + }, + "type": { + "type": "reference", + "target": 47, + "name": "RevokeApiKeyDTO", + "package": "@medusajs/types" + } + }, + { + "id": 104, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "target": 17, + "name": "ApiKeyDTO", + "package": "@medusajs/types" } - ] + ], + "name": "Promise", + "package": "typescript" } - }, + } + ] + }, + { + "id": 105, + "name": "authenticate", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "id": 141, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, + "id": 106, + "name": "authenticate", + "variant": "signature", + "kind": 4096, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "When the adjustment line was updated" + "text": "This method verifies whether a token is valid, considering it authenticated." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "If the token is verified successfully, the API key associated with the token is returned. Otherwise, " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": " is returned." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst apiKey =\n await apiKeyModuleService.authenticate(\"AbCD123987\")\n\nif (!apiKey) {\n // authentication failed\n}\n```" + } + ] } ] }, - "type": { - "type": "union", - "types": [ - { + "parameters": [ + { + "id": 107, + "name": "token", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The token to verify." + } + ] + }, + "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 108, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true }, - { + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "target": 7891, + "name": "Context", + "package": "@medusajs/types" } - ] + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": false + }, + { + "type": "reference", + "target": 17, + "name": "ApiKeyDTO", + "package": "@medusajs/types" + } + ] + } + ], + "name": "Promise", + "package": "typescript" } } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 133, - 134, - 135, - 136, - 137, - 138, - 139, - 140, - 141 - ] - } - ], - "extendedBy": [ - { - "type": "reference", - "target": 142, - "name": "ShippingMethodAdjustmentDTO" - }, - { - "type": "reference", - "target": 154, - "name": "LineItemAdjustmentDTO" - } ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 51, + 58, + 65, + 74, + 81, + 86, + 91, + 96, + 105 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3404, + "name": "IModuleService", + "package": "@medusajs/types" + } + ] + }, + { + "id": 180, + "name": "AuthUserDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The auth user details." + } + ] + }, + "children": [ + { + "id": 181, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the auth user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 142, - "name": "ShippingMethodAdjustmentDTO", + "id": 182, + "name": "provider", "variant": "declaration", - "kind": 256, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 145, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the adjustment line" - } - ] + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the provider used to authenticate the user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 183, + "name": "entity_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's identifier. For example, when using the " }, - "type": { - "type": "intrinsic", - "name": "string" + { + "kind": "code", + "text": "`emailpass`" }, - "inheritedFrom": { - "type": "reference", - "target": 133, - "name": "AdjustmentLineDTO.id" + { + "kind": "text", + "text": "\nprovider, the " + }, + { + "kind": "code", + "text": "`entity_id`" + }, + { + "kind": "text", + "text": " would be the user's email." } - }, - { - "id": 146, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 184, + "name": "scope", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The scope of the auth user. For example,\n" }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The code of the adjustment line" - } - ] + { + "kind": "code", + "text": "`admin`" }, - "type": { - "type": "intrinsic", - "name": "string" + { + "kind": "text", + "text": " or " }, - "inheritedFrom": { - "type": "reference", - "target": 134, - "name": "AdjustmentLineDTO.code" + { + "kind": "code", + "text": "`store`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 185, + "name": "provider_metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data related to the provider in key-value pairs." } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - { - "id": 147, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The amount of the adjustment line" - } - ] - }, - "type": { + "typeArguments": [ + { "type": "intrinsic", - "name": "number" + "name": "string" }, - "inheritedFrom": { - "type": "reference", - "target": 135, - "name": "AdjustmentLineDTO.amount" + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 186, + "name": "user_metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data related to the user in key-value pairs." } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - { - "id": 148, - "name": "cart_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated cart" - } - ] - }, - "type": { + "typeArguments": [ + { "type": "intrinsic", "name": "string" }, - "inheritedFrom": { - "type": "reference", - "target": 136, - "name": "AdjustmentLineDTO.cart_id" + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 187, + "name": "app_metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data related to the third-party app in key-value pairs." } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - { - "id": 149, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The description of the adjustment line" - } - ] - }, - "type": { + "typeArguments": [ + { "type": "intrinsic", "name": "string" }, - "inheritedFrom": { - "type": "reference", - "target": 137, - "name": "AdjustmentLineDTO.description" + { + "type": "intrinsic", + "name": "unknown" } - }, - { - "id": 150, - "name": "promotion_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated promotion" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 138, - "name": "AdjustmentLineDTO.promotion_id" - } - }, - { - "id": 151, - "name": "provider_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated provider" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 139, - "name": "AdjustmentLineDTO.provider_id" + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 181, + 182, + 183, + 184, + 185, + 186, + 187 + ] + } + ] + }, + { + "id": 188, + "name": "CreateAuthUserDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The auth user to be created." + } + ] + }, + "children": [ + { + "id": 189, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the auth user." } - }, - { - "id": 152, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the adjustment line was created" - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "target": 140, - "name": "AdjustmentLineDTO.created_at" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 190, + "name": "provider", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the provider used to authenticate\nthe user." } - }, - { - "id": 153, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the adjustment line was updated" - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 191, + "name": "entity_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's identifier. For example, when using the " }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] + { + "kind": "code", + "text": "`emailpass`" }, - "inheritedFrom": { - "type": "reference", - "target": 141, - "name": "AdjustmentLineDTO.updated_at" - } - }, - { - "id": 143, - "name": "shipping_method", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated shipping method" - } - ] + { + "kind": "text", + "text": "\nprovider, the " }, - "type": { - "type": "reference", - "target": 213, - "name": "CartShippingMethodDTO", - "package": "@medusajs/types" - } - }, - { - "id": 144, - "name": "shipping_method_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated shipping method" - } - ] + { + "kind": "code", + "text": "`entity_id`" }, - "type": { - "type": "intrinsic", - "name": "string" + { + "kind": "text", + "text": " would be the user's email." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 145, - 146, - 147, - 148, - 149, - 150, - 151, - 152, - 153, - 143, - 144 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 132, - "name": "AdjustmentLineDTO", - "package": "@medusajs/types" - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 154, - "name": "LineItemAdjustmentDTO", + "id": 192, + "name": "scope", "variant": "declaration", - "kind": 256, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 157, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the adjustment line" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The scope of the auth user. For example,\n" }, - "inheritedFrom": { - "type": "reference", - "target": 133, - "name": "AdjustmentLineDTO.id" - } - }, - { - "id": 158, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + { + "kind": "code", + "text": "`admin`" }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The code of the adjustment line" - } - ] + { + "kind": "text", + "text": " or " }, - "type": { - "type": "intrinsic", - "name": "string" + { + "kind": "code", + "text": "`store`" }, - "inheritedFrom": { - "type": "reference", - "target": 134, - "name": "AdjustmentLineDTO.code" + { + "kind": "text", + "text": "." } - }, - { - "id": 159, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The amount of the adjustment line" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "target": 135, - "name": "AdjustmentLineDTO.amount" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 193, + "name": "provider_metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data related to the provider in key-value pairs." } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - { - "id": 160, - "name": "cart_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated cart" - } - ] - }, - "type": { + "typeArguments": [ + { "type": "intrinsic", "name": "string" }, - "inheritedFrom": { - "type": "reference", - "target": 136, - "name": "AdjustmentLineDTO.cart_id" - } - }, - { - "id": 161, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The description of the adjustment line" - } - ] - }, - "type": { + { "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 137, - "name": "AdjustmentLineDTO.description" + "name": "unknown" } - }, - { - "id": 162, - "name": "promotion_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated promotion" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 138, - "name": "AdjustmentLineDTO.promotion_id" + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 194, + "name": "user_metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data related to the user in key-value pairs." } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - { - "id": 163, - "name": "provider_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated provider" - } - ] - }, - "type": { + "typeArguments": [ + { "type": "intrinsic", "name": "string" }, - "inheritedFrom": { - "type": "reference", - "target": 139, - "name": "AdjustmentLineDTO.provider_id" - } - }, - { - "id": 164, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the adjustment line was created" - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "target": 140, - "name": "AdjustmentLineDTO.created_at" - } - }, - { - "id": 165, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the adjustment line was updated" - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "target": 141, - "name": "AdjustmentLineDTO.updated_at" + { + "type": "intrinsic", + "name": "unknown" } - }, - { - "id": 155, - "name": "item", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated line item" - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "reference", - "target": 235, - "name": "CartLineItemDTO", - "package": "@medusajs/types" + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 195, + "name": "app_metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data related to the third-party app in key-value pairs." } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - { - "id": 156, - "name": "item_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated line item" - } - ] - }, - "type": { + "typeArguments": [ + { "type": "intrinsic", "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 157, - 158, - 159, - 160, - 161, - 162, - 163, - 164, - 165, - 155, - 156 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 132, - "name": "AdjustmentLineDTO", - "package": "@medusajs/types" - } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 189, + 190, + 191, + 192, + 193, + 194, + 195 ] - }, + } + ] + }, + { + "id": 196, + "name": "UpdateAuthUserDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the auth user." + } + ] + }, + "children": [ { - "id": 166, - "name": "TaxLineDTO", + "id": 197, + "name": "id", "variant": "declaration", - "kind": 256, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 167, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the tax line" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the auth user." } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 198, + "name": "provider_metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data related to the provider in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - { - "id": 168, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The description of the tax line" - } - ] - }, - "type": { + "typeArguments": [ + { "type": "intrinsic", "name": "string" - } - }, - { - "id": 169, - "name": "tax_rate_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated tax rate" - } - ] }, - "type": { + { "type": "intrinsic", - "name": "string" + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 199, + "name": "user_metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data related to the user in key-value pairs." } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - { - "id": 170, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The code of the tax line" - } - ] - }, - "type": { + "typeArguments": [ + { "type": "intrinsic", "name": "string" - } - }, - { - "id": 171, - "name": "rate", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rate of the tax line" - } - ] }, - "type": { + { "type": "intrinsic", - "name": "number" + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 200, + "name": "app_metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data related to the third-party app in key-value pairs." } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - { - "id": 172, - "name": "provider_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated provider" - } - ] - }, - "type": { + "typeArguments": [ + { "type": "intrinsic", "name": "string" - } - }, - { - "id": 173, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the tax line was created" - } - ] }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] + { + "type": "intrinsic", + "name": "unknown" } - }, - { - "id": 174, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the tax line was updated" - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 197, + 198, + 199, + 200 + ] + } + ] + }, + { + "id": 201, + "name": "FilterableAuthUserProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved auth user." + } + ] + }, + "children": [ + { + "id": 202, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the auth user by." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 167, - 168, - 169, - 170, - 171, - 172, - 173, - 174 - ] - } - ], - "extendedBy": [ - { - "type": "reference", - "target": 175, - "name": "ShippingMethodTaxLineDTO" - }, - { - "type": "reference", - "target": 186, - "name": "LineItemTaxLineDTO" - } - ] + } }, { - "id": 175, - "name": "ShippingMethodTaxLineDTO", + "id": 203, + "name": "provider", "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 178, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the tax line" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 167, - "name": "TaxLineDTO.id" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the auth users by the ID of their auth provider." } - }, - { - "id": 179, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The description of the tax line" - } - ] - }, - "type": { + ] + }, + "type": { + "type": "union", + "types": [ + { "type": "intrinsic", "name": "string" }, - "inheritedFrom": { - "type": "reference", - "target": 168, - "name": "TaxLineDTO.description" - } - }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 204, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 201, + "name": "FilterableAuthUserProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 201, + "name": "FilterableAuthUserProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 205, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 201, + "name": "FilterableAuthUserProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 201, + "name": "FilterableAuthUserProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 202, + 203, + 204, + 205 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ { - "id": 180, - "name": "tax_rate_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "type": "reference", + "target": 201, + "name": "FilterableAuthUserProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 206, + "name": "AuthenticationResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the authentication response." + } + ] + }, + "children": [ + { + "id": 207, + "name": "success", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the authentication was successful." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 208, + "name": "authUser", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The authenticated user's details." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 209, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If an error occurs during the authentication process,\nwhether within the Auth Module or a third-party provider,\nthe error message is set in this field." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 210, + "name": "location", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The URL to redirect to for further authentication action\nwith a third-party provider. This takes precedence before\nthe " }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated tax rate" - } - ] + { + "kind": "code", + "text": "`success`" }, - "type": { + { + "kind": "text", + "text": " field.\n\nSo, after checking that authentication is successful,\nyou should check whether this field is defined and, if so, redirect to the\nspecified location." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 211, + "name": "successRedirectUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Some authentication providers support redirecting to a specified URL on\nsuccess. In those cases, the URL to redirect to is set in this field.\n\nSo, if " + }, + { + "kind": "code", + "text": "`success`" + }, + { + "kind": "text", + "text": " is true, there's no " + }, + { + "kind": "code", + "text": "`location`" + }, + { + "kind": "text", + "text": " set, and this field\nis set, you can redirect to this URL." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 207, + 208, + 209, + 210, + 211 + ] + } + ] + }, + { + "id": 212, + "name": "AuthModuleProviderConfig", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations of the " + }, + { + "kind": "code", + "text": "`providers`" + }, + { + "kind": "text", + "text": " option\npassed to the Auth Module." + } + ] + }, + "children": [ + { + "id": 213, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The provider's name." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 214, + "name": "scopes", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The scopes configuration of that provider." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { "type": "intrinsic", "name": "string" }, - "inheritedFrom": { + { "type": "reference", - "target": 169, - "name": "TaxLineDTO.tax_rate_id" + "target": 215, + "name": "AuthProviderScope", + "package": "@medusajs/types" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 213, + 214 + ] + } + ] + }, + { + "id": 215, + "name": "AuthProviderScope", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The scope configurations of an auth provider." + } + ] + } + }, + { + "id": 216, + "name": "AuthenticationInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data passed to the auth provider when authenticating a user\nor validating a callback." + } + ] + }, + "children": [ + { + "id": 217, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "URL of the incoming authentication request." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 218, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Headers of incoming authentication request." } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - { - "id": 181, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The code of the tax line" - } - ] - }, - "type": { + "typeArguments": [ + { "type": "intrinsic", "name": "string" }, - "inheritedFrom": { - "type": "reference", - "target": 170, - "name": "TaxLineDTO.code" + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 219, + "name": "query", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Query params of the incoming authentication request." } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - { - "id": 182, - "name": "rate", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rate of the tax line" - } - ] - }, - "type": { + "typeArguments": [ + { "type": "intrinsic", - "name": "number" + "name": "string" }, - "inheritedFrom": { - "type": "reference", - "target": 171, - "name": "TaxLineDTO.rate" + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 220, + "name": "body", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Body of the incoming authentication request." } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - { - "id": 183, - "name": "provider_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated provider" - } - ] + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" }, - "type": { + { "type": "intrinsic", "name": "string" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 221, + "name": "authScope", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Scope for the authentication request." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 222, + "name": "protocol", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Protocol of the incoming authentication request (For example, " }, - "inheritedFrom": { - "type": "reference", - "target": 172, - "name": "TaxLineDTO.provider_id" + { + "kind": "code", + "text": "`https`" + }, + { + "kind": "text", + "text": ")." } - }, + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 217, + 218, + 219, + 220, + 221, + 222 + ] + } + ] + }, + { + "id": 223, + "name": "AuthTypes", + "variant": "declaration", + "kind": 4, + "flags": {} + }, + { + "id": 125, + "name": "IAuthModuleService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The main service interface for the Auth Module." + } + ] + }, + "children": [ + { + "id": 126, + "name": "authenticate", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "id": 184, - "name": "created_at", - "variant": "declaration", - "kind": 1024, + "id": 127, + "name": "authenticate", + "variant": "signature", + "kind": 4096, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "When the tax line was created" - } - ] - }, - "type": { - "type": "union", - "types": [ + "text": "This method is used to authenticate a user using a provider. The " + }, { - "type": "intrinsic", - "name": "string" + "kind": "code", + "text": "`authenticate`" }, { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "target": 173, - "name": "TaxLineDTO.created_at" - } - }, - { - "id": 185, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ + "kind": "text", + "text": " method of the\nunderlying provider is called, passing it the " + }, + { + "kind": "code", + "text": "`providerData`" + }, { "kind": "text", - "text": "When the tax line was updated" + "text": " parameter as a parameter. The method\nreturns the data returned by the provider.\n\nRefer to [this guide](https://docs.medusajs.com/v1/experimental/auth/auth-flows) to learn more about the authentication flows." } - ] - }, - "type": { - "type": "union", - "types": [ + ], + "blockTags": [ { - "type": "intrinsic", - "name": "string" + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The details of the authentication result." + } + ] }, { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "The following example is in the context of an API route, where\n" + }, + { + "kind": "code", + "text": "`req`" + }, + { + "kind": "text", + "text": " is an instance of the " + }, + { + "kind": "code", + "text": "`MedusaRequest`" + }, + { + "kind": "text", + "text": " object:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { success, authUser, location, error } =\n await authModuleService.authenticate(\"emailpass\", {\n url: req.url,\n headers: req.headers,\n query: req.query,\n body: req.body,\n authScope: \"admin\",\n protocol: req.protocol,\n } as AuthenticationInput)\n```" + } + ] } ] }, - "inheritedFrom": { - "type": "reference", - "target": 174, - "name": "TaxLineDTO.updated_at" - } - }, - { - "id": 176, - "name": "shipping_method", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated shipping method" + "parameters": [ + { + "id": 128, + "name": "provider", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the provider to authenticate the user with." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, + }, + { + "id": 129, + "name": "providerData", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to pass to the provider to authenticate the user." + } + ] + }, + "type": { + "type": "reference", + "target": 216, + "name": "AuthenticationInput", + "package": "@medusajs/types" + } + } + ], "type": { "type": "reference", - "target": 213, - "name": "CartShippingMethodDTO", - "package": "@medusajs/types" - } - }, - { - "id": 177, - "name": "shipping_method_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ { - "kind": "text", - "text": "The ID of the associated shipping method" + "type": "reference", + "target": 206, + "name": "AuthenticationResponse", + "package": "@medusajs/types" } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" + ], + "name": "Promise", + "package": "typescript" } } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 178, - 179, - 180, - 181, - 182, - 183, - 184, - 185, - 176, - 177 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 166, - "name": "TaxLineDTO", - "package": "@medusajs/types" - } ] }, { - "id": 186, - "name": "LineItemTaxLineDTO", + "id": 130, + "name": "validateCallback", "variant": "declaration", - "kind": 256, + "kind": 2048, "flags": {}, - "children": [ + "signatures": [ { - "id": 189, - "name": "id", - "variant": "declaration", - "kind": 1024, + "id": 131, + "name": "validateCallback", + "variant": "signature", + "kind": 4096, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the tax line" + "text": "When authenticating users with a third-party provider, such as Google, the user performs an\naction to finish the authentication, such as enter their credentials in Google's sign-in\nform.\n\nIn those cases, you must create an API route or endpoint that's called by the third-party\nprovider when the user finishes performing the required action.\n\nIn that API route, you can call this method to validate the third-party provider's\ncallback and authenticate the user.\n\nLearn more about this authentication flow in [this guide](https://docs.medusajs.com/v1/experimental/auth/auth-flows#authentication-with-third-party-service)." } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 167, - "name": "TaxLineDTO.id" - } - }, - { - "id": 190, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + ], + "blockTags": [ { - "kind": "text", - "text": "The description of the tax line" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 168, - "name": "TaxLineDTO.description" - } - }, - { - "id": 191, - "name": "tax_rate_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The details of the authentication result." + } + ] + }, { - "kind": "text", - "text": "The ID of the associated tax rate" + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "The following example is in the context of an API route, where\n" + }, + { + "kind": "code", + "text": "`req`" + }, + { + "kind": "text", + "text": " is an instance of the " + }, + { + "kind": "code", + "text": "`MedusaRequest`" + }, + { + "kind": "text", + "text": " object:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst { success, authUser, error, successRedirectUrl } =\n await authModuleService.validateCallback(\"google\", {\n url: req.url,\n headers: req.headers,\n query: req.query,\n body: req.body,\n authScope: \"admin\",\n protocol: req.protocol,\n } as AuthenticationInput)\n```" + } + ] } ] }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 169, - "name": "TaxLineDTO.tax_rate_id" - } - }, - { - "id": 192, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The code of the tax line" + "parameters": [ + { + "id": 132, + "name": "provider", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the provider to use to validate the callback." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 170, - "name": "TaxLineDTO.code" - } - }, - { - "id": 193, - "name": "rate", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rate of the tax line" + }, + { + "id": 133, + "name": "providerData", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to pass to the provider to validate the callback." + } + ] + }, + "type": { + "type": "reference", + "target": 216, + "name": "AuthenticationInput", + "package": "@medusajs/types" } - ] - }, + } + ], "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { "type": "reference", - "target": 171, - "name": "TaxLineDTO.rate" - } - }, - { - "id": 194, - "name": "provider_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ { - "kind": "text", - "text": "The ID of the associated provider" + "type": "reference", + "target": 206, + "name": "AuthenticationResponse", + "package": "@medusajs/types" } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 172, - "name": "TaxLineDTO.provider_id" + ], + "name": "Promise", + "package": "typescript" } - }, + } + ] + }, + { + "id": 134, + "name": "retrieve", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "id": 195, - "name": "created_at", - "variant": "declaration", - "kind": 1024, + "id": 135, + "name": "retrieve", + "variant": "signature", + "kind": 4096, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "When the tax line was created" + "text": "This method retrieves an auth user by its ID." } - ] - }, - "type": { - "type": "union", - "types": [ + ], + "blockTags": [ { - "type": "intrinsic", - "name": "string" + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved auth user." + } + ] }, { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst authUser = await authModuleService.retrieve(\"authusr_1\")\n```" + } + ] } ] }, - "inheritedFrom": { - "type": "reference", - "target": 173, - "name": "TaxLineDTO.created_at" - } - }, - { - "id": 196, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the tax line was updated" - } - ] - }, - "type": { - "type": "union", - "types": [ - { + "parameters": [ + { + "id": 136, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the auth user." + } + ] + }, + "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 137, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true }, - { + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the auth user is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a auth user." + } + ] + }, + "type": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 180, + "name": "AuthUserDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" } - ] - }, - "inheritedFrom": { - "type": "reference", - "target": 174, - "name": "TaxLineDTO.updated_at" - } - }, - { - "id": 187, - "name": "item", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated line item" + }, + { + "id": 138, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" } - ] - }, + } + ], "type": { "type": "reference", - "target": 235, - "name": "CartLineItemDTO", - "package": "@medusajs/types" - } - }, - { - "id": 188, - "name": "item_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ { - "kind": "text", - "text": "The ID of the associated line item" + "type": "reference", + "target": 180, + "name": "AuthUserDTO", + "package": "@medusajs/types" } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" + ], + "name": "Promise", + "package": "typescript" } } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 189, - 190, - 191, - 192, - 193, - 194, - 195, - 196, - 187, - 188 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 166, - "name": "TaxLineDTO", - "package": "@medusajs/types" - } ] }, { - "id": 197, - "name": "CartAddressDTO", + "id": 139, + "name": "list", "variant": "declaration", - "kind": 256, + "kind": 2048, "flags": {}, - "children": [ + "signatures": [ { - "id": 198, - "name": "id", - "variant": "declaration", - "kind": 1024, + "id": 140, + "name": "list", + "variant": "signature", + "kind": 4096, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the address" + "text": "This method retrieves a paginated list of auth users based on optional filters and configuration." } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 199, - "name": "customer_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + ], + "blockTags": [ { - "kind": "text", - "text": "The customer ID of the address" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 200, - "name": "first_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of auth users." + } + ] + }, { - "kind": "text", - "text": "The first name of the address" + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of auth users using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst authUsers = await authModuleService.list({\n id: [\"authusr_123\", \"authusr_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst authUsers = await authModuleService.list(\n {\n id: [\"authusr_123\", \"authusr_321\"],\n },\n {\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] } ] }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 201, - "name": "last_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The last name of the address" + "parameters": [ + { + "id": 141, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved auth users." + } + ] + }, + "type": { + "type": "reference", + "target": 201, + "name": "FilterableAuthUserProps", + "package": "@medusajs/types" } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 202, - "name": "phone", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The phone number of the address" + }, + { + "id": 142, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the auth user is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a auth user." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 180, + "name": "AuthUserDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 203, - "name": "company", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The company of the address" + }, + { + "id": 143, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" } - ] - }, + } + ], "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 204, - "name": "address_1", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ { - "kind": "text", - "text": "The first address line of the address" + "type": "array", + "elementType": { + "type": "reference", + "target": 180, + "name": "AuthUserDTO", + "package": "@medusajs/types" + } } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" + ], + "name": "Promise", + "package": "typescript" } - }, + } + ] + }, + { + "id": 144, + "name": "listAndCount", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "id": 205, - "name": "address_2", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "id": 145, + "name": "listAndCount", + "variant": "signature", + "kind": 4096, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The second address line of the address" + "text": "This method retrieves a paginated list of auth users along with the total count of available auth users satisfying the provided filters." } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 206, - "name": "city", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + ], + "blockTags": [ { - "kind": "text", - "text": "The city of the address" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 207, - "name": "country_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of auth users along with their total count." + } + ] + }, { - "kind": "text", - "text": "The country code of the address" + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of auth users using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [authUsers, count] =\n await authModuleService.listAndCount({\n id: [\"authusr_123\", \"authusr_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [authUsers, count] =\n await authModuleService.listAndCount(\n {\n id: [\"authusr_123\", \"authusr_321\"],\n },\n {\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] } ] }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 208, - "name": "province", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The province/state of the address" + "parameters": [ + { + "id": 146, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved auth users." + } + ] + }, + "type": { + "type": "reference", + "target": 201, + "name": "FilterableAuthUserProps", + "package": "@medusajs/types" } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 209, - "name": "postal_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The postal code of the address" + }, + { + "id": 147, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the auth user is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a auth user." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 180, + "name": "AuthUserDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 210, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Holds custom data in key-value pairs." + }, + { + "id": 148, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" } - ] - }, + } + ], "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + "type": "tuple", + "elements": [ { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 180, + "name": "AuthUserDTO", + "package": "@medusajs/types" + } }, { "type": "intrinsic", - "name": "unknown" + "name": "number" } - ], - "name": "Record", - "package": "typescript" + ] } - ] + ], + "name": "Promise", + "package": "typescript" } - }, + } + ] + }, + { + "id": 149, + "name": "create", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "id": 211, - "name": "created_at", - "variant": "declaration", - "kind": 1024, + "id": 150, + "name": "create", + "variant": "signature", + "kind": 4096, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "When the address was created." + "text": "This method creates auth users." } - ] - }, - "type": { - "type": "union", - "types": [ + ], + "blockTags": [ { - "type": "intrinsic", - "name": "string" + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created auth users." + } + ] }, { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst authUsers = await authModuleService.create([\n {\n provider: \"emailpass\",\n entity_id: \"user@example.com\",\n scope: \"admin\",\n },\n {\n provider: \"google\",\n entity_id: \"user@gmail.com\",\n scope: \"email profile\",\n },\n])\n```" + } + ] } ] + }, + "parameters": [ + { + "id": 151, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The auth users to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 188, + "name": "CreateAuthUserDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 152, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 180, + "name": "AuthUserDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" } }, { - "id": 212, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, + "id": 153, + "name": "create", + "variant": "signature", + "kind": 4096, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "When the address was updated." + "text": "This method creates an auth user." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created auth user." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst authUser = await authModuleService.create({\n provider: \"emailpass\",\n entity_id: \"user@example.com\",\n scope: \"admin\",\n})\n```" + } + ] } ] }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + "parameters": [ + { + "id": 154, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The auth user to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 188, + "name": "CreateAuthUserDTO", + "package": "@medusajs/types" + } + }, + { + "id": 155, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "target": 180, + "name": "AuthUserDTO", + "package": "@medusajs/types" } - ] + ], + "name": "Promise", + "package": "typescript" } } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 198, - 199, - 200, - 201, - 202, - 203, - 204, - 205, - 206, - 207, - 208, - 209, - 210, - 211, - 212 - ] - } ] }, { - "id": 213, - "name": "CartShippingMethodDTO", + "id": 156, + "name": "update", "variant": "declaration", - "kind": 256, + "kind": 2048, "flags": {}, - "children": [ + "signatures": [ { - "id": 214, - "name": "id", - "variant": "declaration", - "kind": 1024, + "id": 157, + "name": "update", + "variant": "signature", + "kind": 4096, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the shipping method" + "text": "This method updates existing auths." } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 215, - "name": "cart_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ + ], + "blockTags": [ { - "kind": "text", - "text": "The ID of the associated cart" + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated auths." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst authUsers = await authModuleService.update([\n {\n id: \"authusr_123\",\n app_metadata: {\n test: true,\n },\n },\n])\n```" + } + ] } ] }, + "parameters": [ + { + "id": 158, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the auth users." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 196, + "name": "UpdateAuthUserDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 159, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 180, + "name": "AuthUserDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" } }, { - "id": 216, - "name": "name", - "variant": "declaration", - "kind": 1024, + "id": 160, + "name": "update", + "variant": "signature", + "kind": 4096, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The name of the shipping method" + "text": "This method updates an existing auth." } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated auth." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst authUser = await authModuleService.update({\n id: \"authusr_123\",\n app_metadata: {\n test: true,\n },\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 161, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the auth user." + } + ] + }, + "type": { + "type": "reference", + "target": 196, + "name": "UpdateAuthUserDTO", + "package": "@medusajs/types" + } + }, + { + "id": 162, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 180, + "name": "AuthUserDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 163, + "name": "delete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 164, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a auth by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when {summary}" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait authModuleService.delete([\"authusr_123\", \"authusr_321\"])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 165, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the auth." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 166, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 126, + 130, + 134, + 139, + 144, + 149, + 156, + 163 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3404, + "name": "IModuleService", + "package": "@medusajs/types" + } + ] + }, + { + "id": 224, + "name": "CacheTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 225, + "name": "ICacheService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 226, + "name": "get", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 227, + "name": "get", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 228, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "parameters": [ + { + "id": 229, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 228, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] }, { - "id": 217, - "name": "description", + "id": 230, + "name": "set", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 231, + "name": "set", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 232, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 233, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 234, + "name": "ttl", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 235, + "name": "invalidate", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 236, + "name": "invalidate", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 237, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 226, + 230, + 235 + ] + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 225 + ] + } + ] + }, + { + "id": 238, + "name": "CartTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 239, + "name": "AdjustmentLineDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The adjustment line details." + } + ] + }, + "children": [ + { + "id": 240, + "name": "id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The description of the shipping method" + "text": "The ID of the adjustment line" } ] }, @@ -4489,27 +6058,29 @@ } }, { - "id": 218, - "name": "unit_price", + "id": 241, + "name": "code", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The price of the shipping method" + "text": "The code of the promotion that lead to\nthis adjustment." } ] }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" } }, { - "id": 219, - "name": "is_tax_inclusive", + "id": 242, + "name": "amount", "variant": "declaration", "kind": 1024, "flags": {}, @@ -4517,75 +6088,60 @@ "summary": [ { "kind": "text", - "text": "Whether the shipping method price is tax inclusive or not" + "text": "The amount to adjust the original amount with." } ] }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 220, - "name": "shipping_option_id", + "id": 243, + "name": "raw_amount", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the shipping option the method was created from" + "text": "The raw amount to adjust the original amount with." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 221, - "name": "data", + "id": 244, + "name": "cart_id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Additional data needed for fulfillment." + "text": "The ID of the associated cart." } ] }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" + "type": "intrinsic", + "name": "string" } }, { - "id": 222, - "name": "metadata", + "id": 245, + "name": "description", "variant": "declaration", "kind": 1024, "flags": { @@ -4595,42 +6151,18 @@ "summary": [ { "kind": "text", - "text": "Holds custom data in key-value pairs." + "text": "The description of the adjustment line." } ] }, "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - ] + "type": "intrinsic", + "name": "string" } }, { - "id": 223, - "name": "tax_lines", + "id": 246, + "name": "promotion_id", "variant": "declaration", "kind": 1024, "flags": { @@ -4640,26 +6172,18 @@ "summary": [ { "kind": "text", - "text": "The associated tax lines." + "text": "The ID of the associated promotion." } - ], - "modifierTags": [ - "@expandable" ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 175, - "name": "ShippingMethodTaxLineDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "string" } }, { - "id": 224, - "name": "adjustments", + "id": 247, + "name": "provider_id", "variant": "declaration", "kind": 1024, "flags": { @@ -4669,25 +6193,17 @@ "summary": [ { "kind": "text", - "text": "The associated adjustments." + "text": "The ID of the associated provider." } - ], - "modifierTags": [ - "@expandable" ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 142, - "name": "ShippingMethodAdjustmentDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "string" } }, { - "id": 225, + "id": 248, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -4696,7 +6212,7 @@ "summary": [ { "kind": "text", - "text": "When the shipping method was created." + "text": "When the adjustment line was created." } ] }, @@ -4720,7 +6236,7 @@ } }, { - "id": 226, + "id": 249, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -4729,7 +6245,7 @@ "summary": [ { "kind": "text", - "text": "When the shipping method was updated." + "text": "When the adjustment line was updated." } ] }, @@ -4751,134 +6267,55 @@ } ] } - }, - { - "id": 227, - "name": "original_total", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 228, - "name": "original_subtotal", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 229, - "name": "original_tax_total", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 230, - "name": "total", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 231, - "name": "subtotal", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 232, - "name": "tax_total", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 233, - "name": "discount_total", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 234, - "name": "discount_tax_total", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } } ], "groups": [ { "title": "Properties", "children": [ - 214, - 215, - 216, - 217, - 218, - 219, - 220, - 221, - 222, - 223, - 224, - 225, - 226, - 227, - 228, - 229, - 230, - 231, - 232, - 233, - 234 + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249 ] } + ], + "extendedBy": [ + { + "type": "reference", + "target": 250, + "name": "ShippingMethodAdjustmentDTO" + }, + { + "type": "reference", + "target": 263, + "name": "LineItemAdjustmentDTO" + } ] }, { - "id": 235, - "name": "CartLineItemDTO", + "id": 250, + "name": "ShippingMethodAdjustmentDTO", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping method adjustment details." + } + ] + }, "children": [ { - "id": 236, + "id": 253, "name": "id", "variant": "declaration", "kind": 1024, @@ -4887,37 +6324,23 @@ "summary": [ { "kind": "text", - "text": "The ID of the line item." + "text": "The ID of the adjustment line" } ] }, "type": { "type": "intrinsic", "name": "string" - } - }, - { - "id": 237, - "name": "title", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The title of the line item." - } - ] }, - "type": { - "type": "intrinsic", - "name": "string" + "inheritedFrom": { + "type": "reference", + "target": 240, + "name": "AdjustmentLineDTO.id" } }, { - "id": 238, - "name": "subtitle", + "id": 254, + "name": "code", "variant": "declaration", "kind": 1024, "flags": { @@ -4927,39 +6350,49 @@ "summary": [ { "kind": "text", - "text": "The subtitle of the line item." + "text": "The code of the promotion that lead to\nthis adjustment." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 241, + "name": "AdjustmentLineDTO.code" } }, { - "id": 239, - "name": "thumbnail", + "id": 255, + "name": "amount", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The url of the line item thumbnail." + "text": "The amount to adjust the original amount with." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 242, + "name": "AdjustmentLineDTO.amount" } }, { - "id": 240, - "name": "quantity", + "id": 256, + "name": "raw_amount", "variant": "declaration", "kind": 1024, "flags": {}, @@ -4967,39 +6400,49 @@ "summary": [ { "kind": "text", - "text": "The line item quantity" + "text": "The raw amount to adjust the original amount with." } ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 243, + "name": "AdjustmentLineDTO.raw_amount" } }, { - "id": 241, - "name": "product_id", + "id": 257, + "name": "cart_id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The product ID of the line item." + "text": "The ID of the associated cart." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 244, + "name": "AdjustmentLineDTO.cart_id" } }, { - "id": 242, - "name": "product_title", + "id": 258, + "name": "description", "variant": "declaration", "kind": 1024, "flags": { @@ -5009,18 +6452,23 @@ "summary": [ { "kind": "text", - "text": "The product title of the line item." + "text": "The description of the adjustment line." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 245, + "name": "AdjustmentLineDTO.description" } }, { - "id": 243, - "name": "product_description", + "id": 259, + "name": "promotion_id", "variant": "declaration", "kind": 1024, "flags": { @@ -5030,18 +6478,23 @@ "summary": [ { "kind": "text", - "text": "The product description of the line item." + "text": "The ID of the associated promotion." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 246, + "name": "AdjustmentLineDTO.promotion_id" } }, { - "id": 244, - "name": "product_subtitle", + "id": 260, + "name": "provider_id", "variant": "declaration", "kind": 1024, "flags": { @@ -5051,91 +6504,128 @@ "summary": [ { "kind": "text", - "text": "The product subtitle of the line item." + "text": "The ID of the associated provider." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 247, + "name": "AdjustmentLineDTO.provider_id" } }, { - "id": 245, - "name": "product_type", + "id": 261, + "name": "created_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The product type of the line item." + "text": "When the adjustment line was created." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 248, + "name": "AdjustmentLineDTO.created_at" } }, { - "id": 246, - "name": "product_collection", + "id": 262, + "name": "updated_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The product collection of the line item." + "text": "When the adjustment line was updated." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 249, + "name": "AdjustmentLineDTO.updated_at" } }, { - "id": 247, - "name": "product_handle", + "id": 251, + "name": "shipping_method", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The product handle of the line item." + "text": "The associated shipping method." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 331, + "name": "CartShippingMethodDTO", + "package": "@medusajs/types" } }, { - "id": 248, - "name": "variant_id", + "id": 252, + "name": "shipping_method_id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The variant ID of the line item." + "text": "The ID of the associated shipping method." } ] }, @@ -5143,31 +6633,78 @@ "type": "intrinsic", "name": "string" } - }, + } + ], + "groups": [ { - "id": 249, - "name": "variant_sku", + "title": "Properties", + "children": [ + 253, + 254, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 251, + 252 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 239, + "name": "AdjustmentLineDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 263, + "name": "LineItemAdjustmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The line item adjustment details." + } + ] + }, + "children": [ + { + "id": 266, + "name": "id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The variant sku of the line item." + "text": "The ID of the adjustment line" } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 240, + "name": "AdjustmentLineDTO.id" } }, { - "id": 250, - "name": "variant_barcode", + "id": 267, + "name": "code", "variant": "declaration", "kind": 1024, "flags": { @@ -5177,75 +6714,75 @@ "summary": [ { "kind": "text", - "text": "The variant barcode of the line item." + "text": "The code of the promotion that lead to\nthis adjustment." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 241, + "name": "AdjustmentLineDTO.code" } }, { - "id": 251, - "name": "variant_title", + "id": 268, + "name": "amount", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The variant title of the line item." + "text": "The amount to adjust the original amount with." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 242, + "name": "AdjustmentLineDTO.amount" } }, { - "id": 252, - "name": "variant_option_values", + "id": 269, + "name": "raw_amount", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The variant option values of the line item." + "text": "The raw amount to adjust the original amount with." } ] }, "type": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 243, + "name": "AdjustmentLineDTO.raw_amount" } }, { - "id": 253, - "name": "requires_shipping", + "id": 270, + "name": "cart_id", "variant": "declaration", "kind": 1024, "flags": {}, @@ -5253,56 +6790,75 @@ "summary": [ { "kind": "text", - "text": "Whether the line item requires shipping or not" + "text": "The ID of the associated cart." } ] }, "type": { "type": "intrinsic", - "name": "boolean" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 244, + "name": "AdjustmentLineDTO.cart_id" } }, { - "id": 254, - "name": "is_discountable", + "id": 271, + "name": "description", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "Whether the line item is discountable or not" + "text": "The description of the adjustment line." } ] }, "type": { "type": "intrinsic", - "name": "boolean" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 245, + "name": "AdjustmentLineDTO.description" } }, { - "id": 255, - "name": "is_tax_inclusive", + "id": 272, + "name": "promotion_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "Whether the line item price is tax inclusive or not" + "text": "The ID of the associated promotion." } ] }, "type": { "type": "intrinsic", - "name": "boolean" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 246, + "name": "AdjustmentLineDTO.promotion_id" } }, { - "id": 256, - "name": "compare_at_unit_price", + "id": 273, + "name": "provider_id", "variant": "declaration", "kind": 1024, "flags": { @@ -5312,18 +6868,23 @@ "summary": [ { "kind": "text", - "text": "The original price of the item before an adjustment or a sale." + "text": "The ID of the associated provider." } ] }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 247, + "name": "AdjustmentLineDTO.provider_id" } }, { - "id": 257, - "name": "unit_price", + "id": 274, + "name": "created_at", "variant": "declaration", "kind": 1024, "flags": {}, @@ -5331,76 +6892,75 @@ "summary": [ { "kind": "text", - "text": "The price of the item" + "text": "When the adjustment line was created." } ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 248, + "name": "AdjustmentLineDTO.created_at" } }, { - "id": 258, - "name": "tax_lines", + "id": 275, + "name": "updated_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The associated tax lines." + "text": "When the adjustment line was updated." } - ], - "modifierTags": [ - "@expandable" ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 186, - "name": "LineItemTaxLineDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 259, - "name": "adjustments", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + "type": "union", + "types": [ { - "kind": "text", - "text": "The associated adjustments." + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" } - ], - "modifierTags": [ - "@expandable" ] }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 154, - "name": "LineItemAdjustmentDTO", - "package": "@medusajs/types" - } + "inheritedFrom": { + "type": "reference", + "target": 249, + "name": "AdjustmentLineDTO.updated_at" } }, { - "id": 260, - "name": "cart", + "id": 264, + "name": "item", "variant": "declaration", "kind": 1024, "flags": {}, @@ -5408,7 +6968,7 @@ "summary": [ { "kind": "text", - "text": "The associated cart." + "text": "The associated line item." } ], "modifierTags": [ @@ -5417,14 +6977,14 @@ }, "type": { "type": "reference", - "target": 276, - "name": "CartDTO", + "target": 384, + "name": "CartLineItemDTO", "package": "@medusajs/types" } }, { - "id": 261, - "name": "cart_id", + "id": 265, + "name": "item_id", "variant": "declaration", "kind": 1024, "flags": {}, @@ -5432,7 +6992,7 @@ "summary": [ { "kind": "text", - "text": "The ID of the associated cart." + "text": "The ID of the associated line item." } ] }, @@ -5440,55 +7000,73 @@ "type": "intrinsic", "name": "string" } - }, + } + ], + "groups": [ { - "id": 262, - "name": "metadata", + "title": "Properties", + "children": [ + 266, + 267, + 268, + 269, + 270, + 271, + 272, + 273, + 274, + 275, + 264, + 265 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 239, + "name": "AdjustmentLineDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 276, + "name": "TaxLineDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax line details." + } + ] + }, + "children": [ + { + "id": 277, + "name": "id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Holds custom data in key-value pairs." + "text": "The ID of the tax line" } ] }, "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - ] + "type": "intrinsic", + "name": "string" } }, { - "id": 263, - "name": "created_at", + "id": 278, + "name": "description", "variant": "declaration", "kind": 1024, "flags": { @@ -5498,23 +7076,18 @@ "summary": [ { "kind": "text", - "text": "When the line item was created." + "text": "The description of the tax line" } ] }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "type": "intrinsic", + "name": "string" } }, { - "id": 264, - "name": "updated_at", + "id": 279, + "name": "tax_rate_id", "variant": "declaration", "kind": 1024, "flags": { @@ -5524,200 +7097,18 @@ "summary": [ { "kind": "text", - "text": "When the line item was updated." + "text": "The ID of the associated tax rate." } ] }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - }, - { - "id": 265, - "name": "original_total", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 266, - "name": "original_subtotal", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 267, - "name": "original_tax_total", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 268, - "name": "item_total", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 269, - "name": "item_subtotal", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 270, - "name": "item_tax_total", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 271, - "name": "total", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 272, - "name": "subtotal", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 273, - "name": "tax_total", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 274, - "name": "discount_total", - "variant": "declaration", - "kind": 1024, - "flags": {}, "type": { "type": "intrinsic", - "name": "number" + "name": "string" } }, { - "id": 275, - "name": "discount_tax_total", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 236, - 237, - 238, - 239, - 240, - 241, - 242, - 243, - 244, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 253, - 254, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, - 263, - 264, - 265, - 266, - 267, - 268, - 269, - 270, - 271, - 272, - 273, - 274, - 275 - ] - } - ] - }, - { - "id": 276, - "name": "CartDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 277, - "name": "id", + "id": 280, + "name": "code", "variant": "declaration", "kind": 1024, "flags": {}, @@ -5725,7 +7116,7 @@ "summary": [ { "kind": "text", - "text": "The ID of the cart." + "text": "The code of the tax line." } ] }, @@ -5735,29 +7126,27 @@ } }, { - "id": 278, - "name": "region_id", + "id": 281, + "name": "rate", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the region the cart belongs to." + "text": "The rate of the tax line." } ] }, "type": { "type": "intrinsic", - "name": "string" + "name": "number" } }, { - "id": 279, - "name": "customer_id", + "id": 282, + "name": "provider_id", "variant": "declaration", "kind": 1024, "flags": { @@ -5767,7 +7156,7 @@ "summary": [ { "kind": "text", - "text": "The ID of the customer on the cart." + "text": "The ID of the associated provider." } ] }, @@ -5777,50 +7166,118 @@ } }, { - "id": 280, - "name": "sales_channel_id", + "id": 283, + "name": "created_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the sales channel the cart belongs to." + "text": "When the tax line was created." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] } }, { - "id": 281, - "name": "email", + "id": 284, + "name": "updated_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The email of the cart." + "text": "When the tax line was updated." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 277, + 278, + 279, + 280, + 281, + 282, + 283, + 284 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 285, + "name": "ShippingMethodTaxLineDTO" }, { - "id": 282, - "name": "currency_code", + "type": "reference", + "target": 300, + "name": "LineItemTaxLineDTO" + } + ] + }, + { + "id": 285, + "name": "ShippingMethodTaxLineDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping method tax line details." + } + ] + }, + "children": [ + { + "id": 292, + "name": "id", "variant": "declaration", "kind": 1024, "flags": {}, @@ -5828,18 +7285,23 @@ "summary": [ { "kind": "text", - "text": "The currency of the cart" + "text": "The ID of the tax line" } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 277, + "name": "TaxLineDTO.id" } }, { - "id": 283, - "name": "shipping_address", + "id": 293, + "name": "description", "variant": "declaration", "kind": 1024, "flags": { @@ -5849,23 +7311,23 @@ "summary": [ { "kind": "text", - "text": "The associated shipping address." + "text": "The description of the tax line" } - ], - "modifierTags": [ - "@expandable" ] }, "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { "type": "reference", - "target": 197, - "name": "CartAddressDTO", - "package": "@medusajs/types" + "target": 278, + "name": "TaxLineDTO.description" } }, { - "id": 284, - "name": "billing_address", + "id": 294, + "name": "tax_rate_id", "variant": "declaration", "kind": 1024, "flags": { @@ -5875,81 +7337,71 @@ "summary": [ { "kind": "text", - "text": "The associated billing address." + "text": "The ID of the associated tax rate." } - ], - "modifierTags": [ - "@expandable" ] }, "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { "type": "reference", - "target": 197, - "name": "CartAddressDTO", - "package": "@medusajs/types" + "target": 279, + "name": "TaxLineDTO.tax_rate_id" } }, { - "id": 285, - "name": "items", + "id": 295, + "name": "code", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The associated line items." + "text": "The code of the tax line." } - ], - "modifierTags": [ - "@expandable" ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 235, - "name": "CartLineItemDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 280, + "name": "TaxLineDTO.code" } }, { - "id": 286, - "name": "shipping_methods", + "id": 296, + "name": "rate", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The associated shipping methods" + "text": "The rate of the tax line." } - ], - "modifierTags": [ - "@expandable" ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 213, - "name": "CartShippingMethodDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 281, + "name": "TaxLineDTO.rate" } }, { - "id": 287, - "name": "metadata", + "id": 297, + "name": "provider_id", "variant": "declaration", "kind": 1024, "flags": { @@ -5959,52 +7411,31 @@ "summary": [ { "kind": "text", - "text": "Holds custom data in key-value pairs." + "text": "The ID of the associated provider." } ] }, "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - ] + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 282, + "name": "TaxLineDTO.provider_id" } }, { - "id": 288, + "id": 298, "name": "created_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "When the cart was created." + "text": "When the tax line was created." } ] }, @@ -6025,21 +7456,24 @@ "package": "typescript" } ] + }, + "inheritedFrom": { + "type": "reference", + "target": 283, + "name": "TaxLineDTO.created_at" } }, { - "id": 289, + "id": 299, "name": "updated_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "When the cart was updated." + "text": "When the tax line was updated." } ] }, @@ -6060,226 +7494,531 @@ "package": "typescript" } ] + }, + "inheritedFrom": { + "type": "reference", + "target": 284, + "name": "TaxLineDTO.updated_at" } }, { - "id": 290, - "name": "original_item_total", + "id": 286, + "name": "shipping_method", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping method." + } + ] + }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 331, + "name": "CartShippingMethodDTO", + "package": "@medusajs/types" } }, { - "id": 291, - "name": "original_item_subtotal", + "id": 287, + "name": "shipping_method_id", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated shipping method." + } + ] + }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" } }, { - "id": 292, - "name": "original_item_tax_total", + "id": 288, + "name": "total", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total tax relative to the shipping method." + } + ] + }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 293, - "name": "item_total", + "id": 289, + "name": "subtotal", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtotal tax relative to the shipping method." + } + ] + }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 294, - "name": "item_subtotal", + "id": 290, + "name": "raw_total", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw total tax relative to the shipping method." + } + ] + }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 295, - "name": "item_tax_total", + "id": 291, + "name": "raw_subtotal", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw subtotal tax relative to the shipping method." + } + ] + }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } - }, + } + ], + "groups": [ { - "id": 296, - "name": "original_total", + "title": "Properties", + "children": [ + 292, + 293, + 294, + 295, + 296, + 297, + 298, + 299, + 286, + 287, + 288, + 289, + 290, + 291 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 276, + "name": "TaxLineDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 300, + "name": "LineItemTaxLineDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The line item tax line details." + } + ] + }, + "children": [ + { + "id": 307, + "name": "id", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the tax line" + } + ] + }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 277, + "name": "TaxLineDTO.id" } }, { - "id": 297, - "name": "original_subtotal", + "id": 308, + "name": "description", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the tax line" + } + ] + }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 278, + "name": "TaxLineDTO.description" } }, { - "id": 298, - "name": "original_tax_total", + "id": 309, + "name": "tax_rate_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated tax rate." + } + ] + }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 279, + "name": "TaxLineDTO.tax_rate_id" } }, { - "id": 299, - "name": "total", + "id": 310, + "name": "code", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the tax line." + } + ] + }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 280, + "name": "TaxLineDTO.code" } }, { - "id": 300, - "name": "subtotal", + "id": 311, + "name": "rate", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rate of the tax line." + } + ] + }, "type": { "type": "intrinsic", "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 281, + "name": "TaxLineDTO.rate" } }, { - "id": 301, - "name": "tax_total", + "id": 312, + "name": "provider_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated provider." + } + ] + }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 282, + "name": "TaxLineDTO.provider_id" } }, { - "id": 302, - "name": "discount_total", + "id": 313, + "name": "created_at", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the tax line was created." + } + ] + }, "type": { - "type": "intrinsic", - "name": "number" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 283, + "name": "TaxLineDTO.created_at" } }, { - "id": 303, - "name": "discount_tax_total", + "id": 314, + "name": "updated_at", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the tax line was updated." + } + ] + }, "type": { - "type": "intrinsic", - "name": "number" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 284, + "name": "TaxLineDTO.updated_at" } }, { - "id": 304, - "name": "shipping_total", + "id": 301, + "name": "item", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated line item." + } + ] + }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 384, + "name": "CartLineItemDTO", + "package": "@medusajs/types" } }, { - "id": 305, - "name": "shipping_subtotal", + "id": 302, + "name": "item_id", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated line item." + } + ] + }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" } }, { - "id": 306, - "name": "shipping_tax_total", + "id": 303, + "name": "total", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total tax relative to the item." + } + ] + }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 307, - "name": "original_shipping_total", + "id": 304, + "name": "subtotal", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtotal tax relative to the item." + } + ] + }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 308, - "name": "original_shipping_subtotal", + "id": 305, + "name": "raw_total", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw total tax relative to the item." + } + ] + }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 309, - "name": "original_shipping_tax_total", + "id": 306, + "name": "raw_subtotal", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw subtotal tax relative to the item." + } + ] + }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } } ], @@ -6287,46 +8026,35 @@ { "title": "Properties", "children": [ - 277, - 278, - 279, - 280, - 281, - 282, - 283, - 284, - 285, - 286, - 287, - 288, - 289, - 290, - 291, - 292, - 293, - 294, - 295, - 296, - 297, - 298, - 299, - 300, + 307, + 308, + 309, + 310, + 311, + 312, + 313, + 314, 301, 302, 303, 304, 305, - 306, - 307, - 308, - 309 + 306 ] } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 276, + "name": "TaxLineDTO", + "package": "@medusajs/types" + } ] }, { - "id": 310, - "name": "FilterableCartProps", + "id": 315, + "name": "CartAddressDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -6334,192 +8062,75 @@ "summary": [ { "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." + "text": "The cart address details." } ] }, "children": [ { - "id": 311, + "id": 316, "name": "id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The ID of the address." } ] - } - }, - { - "id": 312, - "name": "sales_channel_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - ] + "type": "intrinsic", + "name": "string" } }, { - "id": 313, + "id": 317, "name": "customer_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, + "comment": { + "summary": [ { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" + "kind": "text", + "text": "The customer ID of the address." } ] - } - }, - { - "id": 314, - "name": "region_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - ] + "type": "intrinsic", + "name": "string" } }, { - "id": 315, - "name": "created_at", + "id": 318, + "name": "first_name", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "reference", - "target": 1490, - "typeArguments": [ + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "string" + "kind": "text", + "text": "The first name of the address." } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - }, - { - "id": 316, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] }, "type": { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } }, { - "id": 317, - "name": "$and", + "id": 319, + "name": "last_name", "variant": "declaration", "kind": 1024, "flags": { @@ -6529,47 +8140,18 @@ "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + "text": "The last name of the address." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 310, - "name": "FilterableCartProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 310, - "name": "FilterableCartProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" + "type": "intrinsic", + "name": "string" } }, { - "id": 318, - "name": "$or", + "id": 320, + "name": "phone", "variant": "declaration", "kind": 1024, "flags": { @@ -6579,120 +8161,39 @@ "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + "text": "The phone number of the address." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 310, - "name": "FilterableCartProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 310, - "name": "FilterableCartProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 311, - 312, - 313, - 314, - 315, - 316, - 317, - 318 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 310, - "name": "FilterableCartProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 319, - "name": "FilterableAddressProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." + "type": "intrinsic", + "name": "string" } - ] - }, - "children": [ + }, { - "id": 320, - "name": "id", + "id": 321, + "name": "company", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The company of the address." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 321, - "name": "$and", + "id": 322, + "name": "address_1", "variant": "declaration", "kind": 1024, "flags": { @@ -6702,47 +8203,18 @@ "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + "text": "The first address line of the address." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 319, - "name": "FilterableAddressProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 319, - "name": "FilterableAddressProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" + "type": "intrinsic", + "name": "string" } }, { - "id": 322, - "name": "$or", + "id": 323, + "name": "address_2", "variant": "declaration", "kind": 1024, "flags": { @@ -6752,145 +8224,73 @@ "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + "text": "The second address line of the address." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 319, - "name": "FilterableAddressProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 319, - "name": "FilterableAddressProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 320, - 321, - 322 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 319, - "name": "FilterableAddressProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 323, - "name": "FilterableLineItemProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." + "type": "intrinsic", + "name": "string" } - ] - }, - "children": [ + }, { "id": 324, - "name": "id", + "name": "city", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The city of the address." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { "id": 325, - "name": "cart_id", + "name": "country_code", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The country code of the address." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { "id": 326, - "name": "title", + "name": "province", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province/state of the address." + } + ] + }, "type": { "type": "intrinsic", "name": "string" @@ -6898,152 +8298,134 @@ }, { "id": 327, - "name": "variant_id", + "name": "postal_code", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The postal code of the address." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { "id": 328, - "name": "product_id", + "name": "metadata", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, "type": { "type": "union", "types": [ { - "type": "intrinsic", - "name": "string" + "type": "literal", + "value": null }, { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } ] } }, { "id": 329, - "name": "$and", + "name": "created_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + "text": "When the address was created." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 323, - "name": "FilterableLineItemProps", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 323, - "name": "FilterableLineItemProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" + "name": "Date", + "package": "typescript" + } + ] } }, { "id": 330, - "name": "$or", + "name": "updated_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + "text": "When the address was updated." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 323, - "name": "FilterableLineItemProps", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 323, - "name": "FilterableLineItemProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" + "name": "Date", + "package": "typescript" + } + ] } } ], @@ -7051,6 +8433,14 @@ { "title": "Properties", "children": [ + 316, + 317, + 318, + 319, + 320, + 321, + 322, + 323, 324, 325, 326, @@ -7060,27 +8450,11 @@ 330 ] } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 323, - "name": "FilterableLineItemProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } ] }, { "id": 331, - "name": "FilterableLineItemAdjustmentProps", + "name": "CartShippingMethodDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -7088,7 +8462,7 @@ "summary": [ { "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." + "text": "The cart shipping method details." } ] }, @@ -7098,169 +8472,122 @@ "name": "id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The ID of the shipping method." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { "id": 333, - "name": "item_id", + "name": "cart_id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The ID of the associated cart." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { "id": 334, - "name": "promotion_id", + "name": "name", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The name of the shipping method." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { "id": 335, - "name": "provider_id", + "name": "description", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The description of the shipping method." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { "id": 336, - "name": "item", + "name": "amount", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price of the shipping method." + } + ] }, "type": { "type": "reference", - "target": 323, - "name": "FilterableLineItemProps", + "target": 7932, + "name": "BigNumberValue", "package": "@medusajs/types" } }, { "id": 337, - "name": "$and", + "name": "is_tax_inclusive", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + "text": "Whether the shipping method price is tax inclusive." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 331, - "name": "FilterableLineItemAdjustmentProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 331, - "name": "FilterableLineItemAdjustmentProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" + "type": "intrinsic", + "name": "boolean" } }, { "id": 338, - "name": "$or", + "name": "shipping_option_id", "variant": "declaration", "kind": 1024, "flags": { @@ -7270,538 +8597,554 @@ "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + "text": "The ID of the shipping option the method was created from." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 331, - "name": "FilterableLineItemAdjustmentProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 331, - "name": "FilterableLineItemAdjustmentProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 332, - 333, - 334, - 335, - 336, - 337, - 338 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 331, - "name": "FilterableLineItemAdjustmentProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 339, - "name": "FilterableShippingMethodProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." + "type": "intrinsic", + "name": "string" } - ] - }, - "children": [ + }, { - "id": 340, - "name": "id", + "id": 339, + "name": "data", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Additional data needed for fulfillment." + } + ] + }, "type": { - "type": "union", - "types": [ + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ { "type": "intrinsic", "name": "string" }, { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "intrinsic", + "name": "unknown" } - ] + ], + "name": "Record", + "package": "typescript" } }, { - "id": 341, - "name": "cart_id", + "id": 340, + "name": "metadata", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, "type": { "type": "union", "types": [ { - "type": "intrinsic", - "name": "string" + "type": "literal", + "value": null }, { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } ] } }, { - "id": 342, - "name": "name", + "id": 341, + "name": "tax_lines", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated tax lines." + } + ], + "modifierTags": [ + "@expandable" + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 285, + "name": "ShippingMethodTaxLineDTO", + "package": "@medusajs/types" + } } }, { - "id": 343, - "name": "shipping_option_id", + "id": 342, + "name": "adjustments", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The associated adjustments." } + ], + "modifierTags": [ + "@expandable" ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 250, + "name": "ShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + } } }, { - "id": 344, - "name": "$and", + "id": 343, + "name": "created_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + "text": "When the shipping method was created." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 339, - "name": "FilterableShippingMethodProps", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 339, - "name": "FilterableShippingMethodProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" + "name": "Date", + "package": "typescript" + } + ] } }, { - "id": 345, - "name": "$or", + "id": 344, + "name": "updated_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + "text": "When the shipping method was updated." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 339, - "name": "FilterableShippingMethodProps", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 339, - "name": "FilterableShippingMethodProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 345, + "name": "original_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original total of the cart shipping method." + } + ] }, - "inheritedFrom": { + "type": { "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 340, - 341, - 342, - 343, - 344, - 345 - ] - } - ], - "extendedTypes": [ + }, { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 339, - "name": "FilterableShippingMethodProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 346, - "name": "FilterableShippingMethodAdjustmentProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." + "id": 346, + "name": "original_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original subtotal of the cart shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } - ] - }, - "children": [ + }, { "id": 347, - "name": "id", + "name": "original_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The original tax total of the cart shipping method." } ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { "id": 348, - "name": "shipping_method_id", + "name": "total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The total of the cart shipping method." } ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { "id": 349, - "name": "promotion_id", + "name": "subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtotal of the cart shipping method." + } + ] }, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 350, + "name": "tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The tax total of the cart shipping method." } ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 350, - "name": "provider_id", + "id": 351, + "name": "discount_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount total of the cart shipping method." + } + ] }, "type": { - "type": "union", - "types": [ + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 352, + "name": "discount_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "string" - }, + "kind": "text", + "text": "The discount tax total of the cart shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 353, + "name": "raw_original_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The raw original total of the cart shipping method." } ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 351, - "name": "shipping_method", + "id": 354, + "name": "raw_original_subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original subtotal of the cart shipping method." + } + ] }, "type": { "type": "reference", - "target": 339, - "name": "FilterableShippingMethodProps", + "target": 7926, + "name": "BigNumberRawValue", "package": "@medusajs/types" } }, { - "id": 352, - "name": "$and", + "id": 355, + "name": "raw_original_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original tax total of the cart shipping method." + } + ] }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 356, + "name": "raw_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + "text": "The raw total of the cart shipping method." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 346, - "name": "FilterableShippingMethodAdjustmentProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 346, - "name": "FilterableShippingMethodAdjustmentProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 357, + "name": "raw_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw subtotal of the cart shipping method." + } + ] }, - "inheritedFrom": { + "type": { "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 353, - "name": "$or", + "id": 358, + "name": "raw_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw tax total of the cart shipping method." + } + ] }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 359, + "name": "raw_discount_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + "text": "The raw discount total of the cart shipping method." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 346, - "name": "FilterableShippingMethodAdjustmentProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 346, - "name": "FilterableShippingMethodAdjustmentProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 360, + "name": "raw_discount_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw discount tax total of the cart shipping method." + } + ] }, - "inheritedFrom": { + "type": { "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } } ], @@ -7809,36 +9152,42 @@ { "title": "Properties", "children": [ + 332, + 333, + 334, + 335, + 336, + 337, + 338, + 339, + 340, + 341, + 342, + 343, + 344, + 345, + 346, 347, 348, 349, 350, 351, 352, - 353 + 353, + 354, + 355, + 356, + 357, + 358, + 359, + 360 ] } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 346, - "name": "FilterableShippingMethodAdjustmentProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } ] }, { - "id": 354, - "name": "FilterableLineItemTaxLineProps", + "id": 361, + "name": "CartLineItemTotalsDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -7846,564 +9195,471 @@ "summary": [ { "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." + "text": "The cart line item totals details." } ] }, "children": [ { - "id": 355, - "name": "id", + "id": 362, + "name": "original_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The original total of the cart line item." } ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 356, - "name": "description", + "id": 363, + "name": "original_subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original subtotal of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 357, - "name": "code", + "id": 364, + "name": "original_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The original tax total of the cart line item." } ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 358, - "name": "tax_rate_id", + "id": 365, + "name": "item_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The item total of the cart line item." } ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 359, - "name": "provider_id", + "id": 366, + "name": "item_subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The item subtotal of the cart line item." } ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 360, - "name": "item_id", + "id": 367, + "name": "item_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The item tax total of the cart line item." } ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 361, - "name": "item", + "id": 368, + "name": "total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total of the cart line item." + } + ] }, "type": { "type": "reference", - "target": 323, - "name": "FilterableLineItemProps", + "target": 7932, + "name": "BigNumberValue", "package": "@medusajs/types" } }, { - "id": 362, - "name": "$and", + "id": 369, + "name": "subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + "text": "The subtotal of the cart line item." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 354, - "name": "FilterableLineItemTaxLineProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 354, - "name": "FilterableLineItemTaxLineProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 363, - "name": "$or", + "id": 370, + "name": "tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + "text": "The tax total of the cart line item." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 354, - "name": "FilterableLineItemTaxLineProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 354, - "name": "FilterableLineItemTaxLineProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 355, - 356, - 357, - 358, - 359, - 360, - 361, - 362, - 363 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 354, - "name": "FilterableLineItemTaxLineProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 364, - "name": "FilterableShippingMethodTaxLineProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } - ] - }, - "children": [ + }, { - "id": 365, - "name": "id", + "id": 371, + "name": "discount_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The discount total of the cart line item." } ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 366, - "name": "description", + "id": 372, + "name": "discount_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount tax total of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 367, - "name": "code", + "id": 373, + "name": "raw_original_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original total of the cart line item." + } + ] }, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 374, + "name": "raw_original_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The raw original subtotal of the cart line item." } ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 368, - "name": "tax_rate_id", + "id": 375, + "name": "raw_original_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original tax total of the cart line item." + } + ] }, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 376, + "name": "raw_item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The raw item total of the cart line item." } ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 369, - "name": "provider_id", + "id": 377, + "name": "raw_item_subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item subtotal of the cart line item." + } + ] }, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 378, + "name": "raw_item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The raw item tax total of the cart line item." } ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 370, - "name": "shipping_method_id", + "id": 379, + "name": "raw_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw total of the cart line item." + } + ] }, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 380, + "name": "raw_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The raw subtotal of the cart line item." } ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 371, - "name": "shipping_method", + "id": 381, + "name": "raw_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw tax total of the cart line item." + } + ] }, "type": { "type": "reference", - "target": 339, - "name": "FilterableShippingMethodProps", + "target": 7926, + "name": "BigNumberRawValue", "package": "@medusajs/types" } }, { - "id": 372, - "name": "$and", + "id": 382, + "name": "raw_discount_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + "text": "The raw discount total of the cart line item." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 364, - "name": "FilterableShippingMethodTaxLineProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 364, - "name": "FilterableShippingMethodTaxLineProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 373, - "name": "$or", + "id": 383, + "name": "raw_discount_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + "text": "The raw discount tax total of the cart line item." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 364, - "name": "FilterableShippingMethodTaxLineProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 364, - "name": "FilterableShippingMethodTaxLineProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } } ], @@ -8411,6 +9667,9 @@ { "title": "Properties", "children": [ + 362, + 363, + 364, 365, 366, 367, @@ -8419,1443 +9678,963 @@ 370, 371, 372, - 373 + 373, + 374, + 375, + 376, + 377, + 378, + 379, + 380, + 381, + 382, + 383 ] } ], - "extendedTypes": [ + "extendedBy": [ { "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 364, - "name": "FilterableShippingMethodTaxLineProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "target": 384, + "name": "CartLineItemDTO" } ] }, { - "id": 374, - "name": "legacy_CartDTO", + "id": 384, + "name": "CartLineItemDTO", "variant": "declaration", - "kind": 2097152, + "kind": 256, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "TODO: Remove this in favor of CartDTO, when module is released" + "text": "The cart line item details." } - ], - "blockTags": [ - { - "tag": "@deprecated", - "content": [ + ] + }, + "children": [ + { + "id": 415, + "name": "original_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { "kind": "text", - "text": "Use CartDTO instead" + "text": "The original total of the cart line item." } ] - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 375, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 376, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 377, - "name": "email", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 378, - "name": "billing_address_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 379, - "name": "shipping_address_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 380, - "name": "region_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 381, - "name": "customer_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 382, - "name": "payment_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 383, - "name": "completed_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - }, - { - "id": 384, - "name": "payment_authorized_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - }, - { - "id": 385, - "name": "idempotency_key", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 386, - "name": "context", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 387, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 388, - "name": "sales_channel_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 389, - "name": "shipping_total", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 390, - "name": "discount_total", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 391, - "name": "raw_discount_total", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 392, - "name": "item_tax_total", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 393, - "name": "shipping_tax_total", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 394, - "name": "tax_total", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 395, - "name": "refunded_total", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 396, - "name": "total", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 397, - "name": "subtotal", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 398, - "name": "refundable_amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 399, - "name": "gift_card_total", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 400, - "name": "gift_card_tax_total", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 376, - 377, - 378, - 379, - 380, - 381, - 382, - 383, - 384, - 385, - 386, - 387, - 388, - 389, - 390, - 391, - 392, - 393, - 394, - 395, - 396, - 397, - 398, - 399, - 400 - ] - } - ] - } - } - }, - { - "id": 401, - "name": "UpsertAddressDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ADDRESS START" - } - ] - }, - "children": [ - { - "id": 402, - "name": "customer_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 403, - "name": "company", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 404, - "name": "first_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 405, - "name": "last_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 406, - "name": "address_1", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 407, - "name": "address_2", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 408, - "name": "city", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 409, - "name": "country_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 410, - "name": "province", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 411, - "name": "postal_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 412, - "name": "phone", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 413, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" }, - "type": { + "inheritedFrom": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" + "target": 362, + "name": "CartLineItemTotalsDTO.original_total" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 402, - 403, - 404, - 405, - 406, - 407, - 408, - 409, - 410, - 411, - 412, - 413 - ] - } - ], - "extendedBy": [ - { - "type": "reference", - "target": 414, - "name": "UpdateAddressDTO" }, - { - "type": "reference", - "target": 428, - "name": "CreateAddressDTO" - } - ] - }, - { - "id": 414, - "name": "UpdateAddressDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ADDRESS START" - } - ] - }, - "children": [ { "id": 416, - "name": "customer_id", + "name": "original_subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original subtotal of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 402, - "name": "UpsertAddressDTO.customer_id" + "target": 363, + "name": "CartLineItemTotalsDTO.original_subtotal" } }, { "id": 417, - "name": "company", + "name": "original_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original tax total of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 403, - "name": "UpsertAddressDTO.company" + "target": 364, + "name": "CartLineItemTotalsDTO.original_tax_total" } }, { "id": 418, - "name": "first_name", + "name": "item_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item total of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 404, - "name": "UpsertAddressDTO.first_name" + "target": 365, + "name": "CartLineItemTotalsDTO.item_total" } }, { "id": 419, - "name": "last_name", + "name": "item_subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item subtotal of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 405, - "name": "UpsertAddressDTO.last_name" + "target": 366, + "name": "CartLineItemTotalsDTO.item_subtotal" } }, { "id": 420, - "name": "address_1", + "name": "item_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item tax total of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 406, - "name": "UpsertAddressDTO.address_1" + "target": 367, + "name": "CartLineItemTotalsDTO.item_tax_total" } }, { "id": 421, - "name": "address_2", + "name": "total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 407, - "name": "UpsertAddressDTO.address_2" + "target": 368, + "name": "CartLineItemTotalsDTO.total" } }, { "id": 422, - "name": "city", + "name": "subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtotal of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 408, - "name": "UpsertAddressDTO.city" + "target": 369, + "name": "CartLineItemTotalsDTO.subtotal" } }, { "id": 423, - "name": "country_code", + "name": "tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax total of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 409, - "name": "UpsertAddressDTO.country_code" + "target": 370, + "name": "CartLineItemTotalsDTO.tax_total" } }, { "id": 424, - "name": "province", + "name": "discount_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount total of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 410, - "name": "UpsertAddressDTO.province" + "target": 371, + "name": "CartLineItemTotalsDTO.discount_total" } }, { "id": 425, - "name": "postal_code", + "name": "discount_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount tax total of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 411, - "name": "UpsertAddressDTO.postal_code" + "target": 372, + "name": "CartLineItemTotalsDTO.discount_tax_total" } }, { "id": 426, - "name": "phone", + "name": "raw_original_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original total of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 412, - "name": "UpsertAddressDTO.phone" + "target": 373, + "name": "CartLineItemTotalsDTO.raw_original_total" } }, { "id": 427, - "name": "metadata", + "name": "raw_original_subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original subtotal of the cart line item." + } + ] }, "type": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 413, - "name": "UpsertAddressDTO.metadata" + "target": 374, + "name": "CartLineItemTotalsDTO.raw_original_subtotal" } }, { - "id": 415, - "name": "id", + "id": 428, + "name": "raw_original_tax_total", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original tax total of the cart line item." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 416, - 417, - 418, - 419, - 420, - 421, - 422, - 423, - 424, - 425, - 426, - 427, - 415 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 401, - "name": "UpsertAddressDTO", - "package": "@medusajs/types" - } - ] - }, - { - "id": 428, - "name": "CreateAddressDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ADDRESS START" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 375, + "name": "CartLineItemTotalsDTO.raw_original_tax_total" } - ] - }, - "children": [ + }, { "id": 429, - "name": "customer_id", + "name": "raw_item_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item total of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 402, - "name": "UpsertAddressDTO.customer_id" + "target": 376, + "name": "CartLineItemTotalsDTO.raw_item_total" } }, { "id": 430, - "name": "company", + "name": "raw_item_subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item subtotal of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 403, - "name": "UpsertAddressDTO.company" + "target": 377, + "name": "CartLineItemTotalsDTO.raw_item_subtotal" } }, { "id": 431, - "name": "first_name", + "name": "raw_item_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item tax total of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 404, - "name": "UpsertAddressDTO.first_name" + "target": 378, + "name": "CartLineItemTotalsDTO.raw_item_tax_total" } }, { "id": 432, - "name": "last_name", + "name": "raw_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw total of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 405, - "name": "UpsertAddressDTO.last_name" + "target": 379, + "name": "CartLineItemTotalsDTO.raw_total" } }, { "id": 433, - "name": "address_1", + "name": "raw_subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw subtotal of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 406, - "name": "UpsertAddressDTO.address_1" + "target": 380, + "name": "CartLineItemTotalsDTO.raw_subtotal" } }, { "id": 434, - "name": "address_2", + "name": "raw_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw tax total of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 407, - "name": "UpsertAddressDTO.address_2" + "target": 381, + "name": "CartLineItemTotalsDTO.raw_tax_total" } }, { "id": 435, - "name": "city", + "name": "raw_discount_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw discount total of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 408, - "name": "UpsertAddressDTO.city" + "target": 382, + "name": "CartLineItemTotalsDTO.raw_discount_total" } }, { "id": 436, - "name": "country_code", + "name": "raw_discount_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw discount tax total of the cart line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" }, "inheritedFrom": { "type": "reference", - "target": 409, - "name": "UpsertAddressDTO.country_code" + "target": 383, + "name": "CartLineItemTotalsDTO.raw_discount_tax_total" } }, { - "id": 437, - "name": "province", + "id": 385, + "name": "id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the line item." + } + ] }, "type": { "type": "intrinsic", "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 410, - "name": "UpsertAddressDTO.province" } }, { - "id": 438, - "name": "postal_code", + "id": 386, + "name": "title", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the line item." + } + ] }, "type": { "type": "intrinsic", "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 411, - "name": "UpsertAddressDTO.postal_code" } }, { - "id": 439, - "name": "phone", + "id": 387, + "name": "subtitle", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtitle of the line item." + } + ] + }, "type": { "type": "intrinsic", "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 412, - "name": "UpsertAddressDTO.phone" } }, { - "id": 440, - "name": "metadata", + "id": 388, + "name": "thumbnail", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "string" - }, + "kind": "text", + "text": "The line item's thumbnail." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 389, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "unknown" + "kind": "text", + "text": "The line item's quantity in the cart." } - ], - "name": "Record", - "package": "typescript" + ] }, - "inheritedFrom": { + "type": { "type": "reference", - "target": 413, - "name": "UpsertAddressDTO.metadata" + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 429, - 430, - 431, - 432, - 433, - 434, - 435, - 436, - 437, - 438, - 439, - 440 - ] - } - ], - "extendedTypes": [ + }, { - "type": "reference", - "target": 401, - "name": "UpsertAddressDTO", - "package": "@medusajs/types" - } - ] - }, - { - "id": 441, - "name": "CreateCartDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "CART START" + "id": 390, + "name": "product_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated product." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "children": [ + }, { - "id": 442, - "name": "region_id", + "id": 391, + "name": "product_title", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the associated product." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 443, - "name": "customer_id", + "id": 392, + "name": "product_description", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the associated product." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 444, - "name": "sales_channel_id", + "id": 393, + "name": "product_subtitle", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtitle of the associated product." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 445, - "name": "email", + "id": 394, + "name": "product_type", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the associated product." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 446, - "name": "currency_code", + "id": 395, + "name": "product_collection", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The collection of the associated product." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 447, - "name": "shipping_address_id", + "id": 396, + "name": "product_handle", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The handle of the associated product." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 448, - "name": "billing_address_id", + "id": 397, + "name": "variant_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated variant's ID of the line item." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 449, - "name": "shipping_address", + "id": 398, + "name": "variant_sku", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 414, - "name": "UpdateAddressDTO", - "package": "@medusajs/types" - }, + "comment": { + "summary": [ { - "type": "reference", - "target": 428, - "name": "CreateAddressDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "The sku of the associated variant." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 450, - "name": "billing_address", + "id": 399, + "name": "variant_barcode", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "union", - "types": [ + "comment": { + "summary": [ { - "type": "reference", - "target": 414, - "name": "UpdateAddressDTO", - "package": "@medusajs/types" - }, + "kind": "text", + "text": "The barcode of the associated variant." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 400, + "name": "variant_title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "reference", - "target": 428, - "name": "CreateAddressDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "The title of the associated variant." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 451, - "name": "metadata", + "id": 401, + "name": "variant_option_values", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The option values of the associated variant." + } + ] + }, "type": { "type": "reference", "target": { @@ -9877,146 +10656,201 @@ } }, { - "id": 452, - "name": "items", + "id": 402, + "name": "requires_shipping", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the line item requires shipping." + } + ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 540, - "name": "CreateLineItemDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "boolean" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 442, - 443, - 444, - 445, - 446, - 447, - 448, - 449, - 450, - 451, - 452 - ] - } - ] - }, - { - "id": 453, - "name": "UpdateCartDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + }, { - "id": 454, - "name": "id", + "id": 403, + "name": "is_discountable", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the line item is discountable." + } + ] + }, "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" } }, { - "id": 455, - "name": "region_id", + "id": 404, + "name": "is_tax_inclusive", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the line item price is tax inclusive." + } + ] }, "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" } }, { - "id": 456, - "name": "customer_id", + "id": 405, + "name": "compare_at_unit_price", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The calculated price of the line item." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 457, - "name": "sales_channel_id", + "id": 406, + "name": "unit_price", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unit price of the item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 458, - "name": "email", + "id": 407, + "name": "tax_lines", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated tax lines." + } + ], + "modifierTags": [ + "@expandable" + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 300, + "name": "LineItemTaxLineDTO", + "package": "@medusajs/types" + } } }, { - "id": 459, - "name": "currency_code", + "id": 408, + "name": "adjustments", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated adjustments." + } + ], + "modifierTags": [ + "@expandable" + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 263, + "name": "LineItemAdjustmentDTO", + "package": "@medusajs/types" + } } }, { - "id": 460, - "name": "shipping_address_id", + "id": 409, + "name": "cart", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated cart." + } + ], + "modifierTags": [ + "@expandable" + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 437, + "name": "CartDTO", + "package": "@medusajs/types" } }, { - "id": 461, - "name": "billing_address_id", + "id": 410, + "name": "cart_id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated cart." + } + ] }, "type": { "type": "intrinsic", @@ -10024,82 +10858,125 @@ } }, { - "id": 462, - "name": "billing_address", + "id": 411, + "name": "metadata", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, "type": { "type": "union", "types": [ { - "type": "reference", - "target": 414, - "name": "UpdateAddressDTO", - "package": "@medusajs/types" + "type": "literal", + "value": null }, { "type": "reference", - "target": 428, - "name": "CreateAddressDTO", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } ] } }, { - "id": 463, - "name": "shipping_address", + "id": 412, + "name": "created_at", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 414, - "name": "UpdateAddressDTO", - "package": "@medusajs/types" - }, + "comment": { + "summary": [ { - "type": "reference", - "target": 428, - "name": "CreateAddressDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "When the line item was created." } ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" } }, { - "id": 464, - "name": "metadata", + "id": 413, + "name": "updated_at", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the line item was updated." + } + ] + }, "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" + "qualifiedName": "Date" }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 414, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "unknown" + "kind": "text", + "text": "When the line item was deleted." } - ], - "name": "Record", + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", "package": "typescript" } } @@ -10108,24 +10985,73 @@ { "title": "Properties", "children": [ - 454, - 455, - 456, - 457, - 458, - 459, - 460, - 461, - 462, - 463, - 464 + 415, + 416, + 417, + 418, + 419, + 420, + 421, + 422, + 423, + 424, + 425, + 426, + 427, + 428, + 429, + 430, + 431, + 432, + 433, + 434, + 435, + 436, + 385, + 386, + 387, + 388, + 389, + 390, + 391, + 392, + 393, + 394, + 395, + 396, + 397, + 398, + 399, + 400, + 401, + 402, + 403, + 404, + 405, + 406, + 407, + 408, + 409, + 410, + 411, + 412, + 413, + 414 ] } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 361, + "name": "CartLineItemTotalsDTO", + "package": "@medusajs/types" + } ] }, { - "id": 465, - "name": "CreateAdjustmentDTO", + "id": 437, + "name": "CartDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -10133,1159 +11059,1280 @@ "summary": [ { "kind": "text", - "text": "ADJUSTMENT START" + "text": "The cart details." } ] }, "children": [ { - "id": 466, - "name": "code", + "id": 438, + "name": "id", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the cart." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 467, - "name": "amount", + "id": 439, + "name": "region_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the region the cart belongs to." + } + ] + }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" } }, { - "id": 468, - "name": "description", + "id": 440, + "name": "customer_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated customer" + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 469, - "name": "promotion_id", + "id": 441, + "name": "sales_channel_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the sales channel the cart belongs to." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 470, - "name": "provider_id", + "id": 442, + "name": "email", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email of the customer that owns the cart." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 466, - 467, - 468, - 469, - 470 - ] - } - ], - "extendedBy": [ - { - "type": "reference", - "target": 478, - "name": "CreateLineItemAdjustmentDTO" - } - ] - }, - { - "id": 471, - "name": "UpdateAdjustmentDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + }, { - "id": 472, - "name": "id", + "id": 443, + "name": "currency_code", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency of the cart" + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 473, - "name": "code", + "id": 444, + "name": "shipping_address", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping address." + } + ], + "modifierTags": [ + "@expandable" + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 315, + "name": "CartAddressDTO", + "package": "@medusajs/types" } }, { - "id": 474, - "name": "amount", + "id": 445, + "name": "billing_address", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated billing address." + } + ], + "modifierTags": [ + "@expandable" + ] + }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 315, + "name": "CartAddressDTO", + "package": "@medusajs/types" } }, { - "id": 475, - "name": "description", + "id": 446, + "name": "items", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated line items." + } + ], + "modifierTags": [ + "@expandable" + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 384, + "name": "CartLineItemDTO", + "package": "@medusajs/types" + } } }, { - "id": 476, - "name": "promotion_id", + "id": 447, + "name": "shipping_methods", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping methods" + } + ], + "modifierTags": [ + "@expandable" + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 331, + "name": "CartShippingMethodDTO", + "package": "@medusajs/types" + } } }, { - "id": 477, - "name": "provider_id", + "id": 448, + "name": "metadata", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 472, - 473, - 474, - 475, - 476, - 477 - ] - } - ], - "extendedBy": [ - { - "type": "reference", - "target": 485, - "name": "UpdateLineItemAdjustmentDTO" - } - ] - }, - { - "id": 478, - "name": "CreateLineItemAdjustmentDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "ADJUSTMENT START" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] } - ] - }, - "children": [ + }, { - "id": 480, - "name": "code", + "id": 449, + "name": "created_at", "variant": "declaration", "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "flags": { + "isOptional": true }, - "inheritedFrom": { - "type": "reference", - "target": 466, - "name": "CreateAdjustmentDTO.code" + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the cart was created." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] } }, { - "id": 481, - "name": "amount", + "id": 450, + "name": "updated_at", "variant": "declaration", "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" + "flags": { + "isOptional": true }, - "inheritedFrom": { - "type": "reference", - "target": 467, - "name": "CreateAdjustmentDTO.amount" + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the cart was updated." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] } }, { - "id": 482, - "name": "description", + "id": 451, + "name": "original_item_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original item total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { "type": "reference", - "target": 468, - "name": "CreateAdjustmentDTO.description" + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 483, - "name": "promotion_id", + "id": 452, + "name": "original_item_subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original item subtotal of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { "type": "reference", - "target": 469, - "name": "CreateAdjustmentDTO.promotion_id" + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 484, - "name": "provider_id", + "id": 453, + "name": "original_item_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original item tax total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { "type": "reference", - "target": 470, - "name": "CreateAdjustmentDTO.provider_id" + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 479, - "name": "item_id", + "id": 454, + "name": "item_total", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item total of the cart." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 480, - 481, - 482, - 483, - 484, - 479 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 465, - "name": "CreateAdjustmentDTO", - "package": "@medusajs/types" - } - ] - }, - { - "id": 485, - "name": "UpdateLineItemAdjustmentDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + }, { - "id": 487, - "name": "id", + "id": 455, + "name": "item_subtotal", "variant": "declaration", "kind": 1024, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item subtotal of the cart." + } + ] }, - "inheritedFrom": { + "type": { "type": "reference", - "target": 472, - "name": "UpdateAdjustmentDTO.id" + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 488, - "name": "code", + "id": 456, + "name": "item_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item tax total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { "type": "reference", - "target": 473, - "name": "UpdateAdjustmentDTO.code" + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 489, - "name": "amount", + "id": 457, + "name": "original_total", "variant": "declaration", "kind": 1024, "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original total of the cart." + } + ] }, - "inheritedFrom": { + "type": { "type": "reference", - "target": 474, - "name": "UpdateAdjustmentDTO.amount" + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 490, - "name": "description", + "id": 458, + "name": "original_subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original subtotal of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { "type": "reference", - "target": 475, - "name": "UpdateAdjustmentDTO.description" + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 491, - "name": "promotion_id", + "id": 459, + "name": "original_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original tax total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { "type": "reference", - "target": 476, - "name": "UpdateAdjustmentDTO.promotion_id" + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 492, - "name": "provider_id", + "id": 460, + "name": "total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { "type": "reference", - "target": 477, - "name": "UpdateAdjustmentDTO.provider_id" + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 486, - "name": "item_id", + "id": 461, + "name": "subtotal", "variant": "declaration", "kind": 1024, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 487, - 488, - 489, - 490, - 491, - 492, - 486 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 471, - "name": "UpdateAdjustmentDTO", - "package": "@medusajs/types" - } - ] - }, - { - "id": 493, - "name": "UpsertLineItemAdjustmentDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 494, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtotal of the cart. (Excluding taxes)" + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 495, - "name": "item_id", + "id": 462, + "name": "tax_total", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax total of the cart." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 496, - "name": "code", + "id": 463, + "name": "discount_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 497, - "name": "amount", + "id": 464, + "name": "discount_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount tax total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 498, - "name": "description", + "id": 465, + "name": "gift_card_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The gift card total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 499, - "name": "promotion_id", + "id": 466, + "name": "gift_card_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The gift card tax total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 500, - "name": "provider_id", + "id": 467, + "name": "shipping_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 494, - 495, - 496, - 497, - 498, - 499, - 500 - ] - } - ] - }, - { - "id": 501, - "name": "CreateTaxLineDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "TAX LINES START" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } - ] - }, - "children": [ + }, { - "id": 502, - "name": "description", + "id": 468, + "name": "shipping_subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping subtotal of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 503, - "name": "tax_rate_id", + "id": 469, + "name": "shipping_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping tax total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 504, - "name": "code", + "id": 470, + "name": "original_shipping_total", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original shipping total of the cart." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 505, - "name": "rate", + "id": 471, + "name": "original_shipping_subtotal", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original shipping subtotal of the cart." + } + ] + }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 506, - "name": "provider_id", + "id": 472, + "name": "original_shipping_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original shipping tax total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 502, - 503, - 504, - 505, - 506 - ] - } - ], - "extendedBy": [ - { - "type": "reference", - "target": 514, - "name": "CreateShippingMethodTaxLineDTO" }, { - "type": "reference", - "target": 527, - "name": "CreateLineItemTaxLineDTO" - } - ] - }, - { - "id": 507, - "name": "UpdateTaxLineDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 508, - "name": "id", + "id": 473, + "name": "raw_original_item_total", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original item total of the cart." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 509, - "name": "description", + "id": 474, + "name": "raw_original_item_subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original item subtotal of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 510, - "name": "tax_rate_id", + "id": 475, + "name": "raw_original_item_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original item tax total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 511, - "name": "code", + "id": 476, + "name": "raw_item_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 512, - "name": "rate", + "id": 477, + "name": "raw_item_subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item subtotal of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 513, - "name": "provider_id", + "id": 478, + "name": "raw_item_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item tax total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 508, - 509, - 510, - 511, - 512, - 513 - ] - } - ], - "extendedBy": [ - { - "type": "reference", - "target": 520, - "name": "UpdateShippingMethodTaxLineDTO" }, { - "type": "reference", - "target": 533, - "name": "UpdateLineItemTaxLineDTO" - } - ] - }, - { - "id": 514, - "name": "CreateShippingMethodTaxLineDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "TAX LINES START" - } - ] - }, - "children": [ - { - "id": 515, - "name": "description", + "id": 479, + "name": "raw_original_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { "type": "reference", - "target": 502, - "name": "CreateTaxLineDTO.description" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 516, - "name": "tax_rate_id", + "id": 480, + "name": "raw_original_subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original subtotal of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { "type": "reference", - "target": 503, - "name": "CreateTaxLineDTO.tax_rate_id" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 517, - "name": "code", + "id": 481, + "name": "raw_original_tax_total", "variant": "declaration", "kind": 1024, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original tax total of the cart." + } + ] }, - "inheritedFrom": { + "type": { "type": "reference", - "target": 504, - "name": "CreateTaxLineDTO.code" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 518, - "name": "rate", + "id": 482, + "name": "raw_total", "variant": "declaration", "kind": 1024, "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw total of the cart." + } + ] }, - "inheritedFrom": { + "type": { "type": "reference", - "target": 505, - "name": "CreateTaxLineDTO.rate" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 519, - "name": "provider_id", + "id": 483, + "name": "raw_subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw subtotal of the cart. (Excluding taxes)" + } + ] }, "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { "type": "reference", - "target": 506, - "name": "CreateTaxLineDTO.provider_id" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 515, - 516, - 517, - 518, - 519 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 501, - "name": "CreateTaxLineDTO", - "package": "@medusajs/types" - } - ] - }, - { - "id": 520, - "name": "UpdateShippingMethodTaxLineDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + }, { - "id": 521, - "name": "id", + "id": 484, + "name": "raw_tax_total", "variant": "declaration", "kind": 1024, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw tax total of the cart." + } + ] }, - "inheritedFrom": { + "type": { "type": "reference", - "target": 508, - "name": "UpdateTaxLineDTO.id" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 522, - "name": "description", + "id": 485, + "name": "raw_discount_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw discount total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { "type": "reference", - "target": 509, - "name": "UpdateTaxLineDTO.description" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 523, - "name": "tax_rate_id", + "id": 486, + "name": "raw_discount_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw discount tax total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { "type": "reference", - "target": 510, - "name": "UpdateTaxLineDTO.tax_rate_id" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 524, - "name": "code", + "id": 487, + "name": "raw_gift_card_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw gift card total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { "type": "reference", - "target": 511, - "name": "UpdateTaxLineDTO.code" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 525, - "name": "rate", + "id": 488, + "name": "raw_gift_card_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw gift card tax total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { "type": "reference", - "target": 512, - "name": "UpdateTaxLineDTO.rate" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 526, - "name": "provider_id", + "id": 489, + "name": "raw_shipping_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw shipping total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { "type": "reference", - "target": 513, - "name": "UpdateTaxLineDTO.provider_id" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 521, - 522, - 523, - 524, - 525, - 526 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 507, - "name": "UpdateTaxLineDTO", - "package": "@medusajs/types" - } - ] - }, - { - "id": 527, - "name": "CreateLineItemTaxLineDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "TAX LINES START" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } - ] - }, - "children": [ + }, { - "id": 528, - "name": "description", + "id": 490, + "name": "raw_shipping_subtotal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw shipping subtotal of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { "type": "reference", - "target": 502, - "name": "CreateTaxLineDTO.description" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 529, - "name": "tax_rate_id", + "id": 491, + "name": "raw_shipping_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw shipping tax total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { "type": "reference", - "target": 503, - "name": "CreateTaxLineDTO.tax_rate_id" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 530, - "name": "code", + "id": 492, + "name": "raw_original_shipping_total", "variant": "declaration", "kind": 1024, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original shipping total of the cart." + } + ] }, - "inheritedFrom": { + "type": { "type": "reference", - "target": 504, - "name": "CreateTaxLineDTO.code" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 531, - "name": "rate", + "id": 493, + "name": "raw_original_shipping_subtotal", "variant": "declaration", "kind": 1024, "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original shipping subtotal of the cart." + } + ] }, - "inheritedFrom": { + "type": { "type": "reference", - "target": 505, - "name": "CreateTaxLineDTO.rate" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } }, { - "id": 532, - "name": "provider_id", + "id": 494, + "name": "raw_original_shipping_tax_total", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original shipping tax total of the cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { "type": "reference", - "target": 506, - "name": "CreateTaxLineDTO.provider_id" + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" } } ], @@ -11293,134 +12340,413 @@ { "title": "Properties", "children": [ - 528, - 529, - 530, - 531, - 532 + 438, + 439, + 440, + 441, + 442, + 443, + 444, + 445, + 446, + 447, + 448, + 449, + 450, + 451, + 452, + 453, + 454, + 455, + 456, + 457, + 458, + 459, + 460, + 461, + 462, + 463, + 464, + 465, + 466, + 467, + 468, + 469, + 470, + 471, + 472, + 473, + 474, + 475, + 476, + 477, + 478, + 479, + 480, + 481, + 482, + 483, + 484, + 485, + 486, + 487, + 488, + 489, + 490, + 491, + 492, + 493, + 494 ] } ], - "extendedTypes": [ + "extendedBy": [ { "type": "reference", - "target": 501, - "name": "CreateTaxLineDTO", - "package": "@medusajs/types" + "target": 1269, + "name": "CartWorkflowDTO" } ] }, { - "id": 533, - "name": "UpdateLineItemTaxLineDTO", + "id": 495, + "name": "FilterableCartProps", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved carts." + } + ] + }, "children": [ { - "id": 534, + "id": 496, "name": "id", "variant": "declaration", "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 508, - "name": "UpdateTaxLineDTO.id" - } - }, - { - "id": 535, - "name": "description", - "variant": "declaration", - "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the carts by." + } + ] }, - "inheritedFrom": { - "type": "reference", - "target": 509, - "name": "UpdateTaxLineDTO.description" + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 536, - "name": "tax_rate_id", + "id": 497, + "name": "sales_channel_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the carts by the ID of their associated sales channel." + } + ] }, - "inheritedFrom": { - "type": "reference", - "target": 510, - "name": "UpdateTaxLineDTO.tax_rate_id" + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] } }, { - "id": 537, - "name": "code", + "id": 498, + "name": "customer_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the carts by the ID of their associated customer." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 499, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - "inheritedFrom": { + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the carts by the ID of their associated region." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 500, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the carts by their creation date." + } + ] + }, + "type": { "type": "reference", - "target": 511, - "name": "UpdateTaxLineDTO.code" + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" } }, { - "id": 538, - "name": "rate", + "id": 501, + "name": "updated_at", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the carts by their update date." + } + ] + }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 502, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 495, + "name": "FilterableCartProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 495, + "name": "FilterableCartProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } }, "inheritedFrom": { "type": "reference", - "target": 512, - "name": "UpdateTaxLineDTO.rate" + "target": 2030, + "name": "BaseFilterable.$and" } }, { - "id": 539, - "name": "provider_id", + "id": 503, + "name": "$or", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 495, + "name": "FilterableCartProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 495, + "name": "FilterableCartProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } }, "inheritedFrom": { "type": "reference", - "target": 513, - "name": "UpdateTaxLineDTO.provider_id" + "target": 2031, + "name": "BaseFilterable.$or" } } ], @@ -11428,27 +12754,37 @@ { "title": "Properties", "children": [ - 534, - 535, - 536, - 537, - 538, - 539 + 496, + 497, + 498, + 499, + 500, + 501, + 502, + 503 ] } ], "extendedTypes": [ { "type": "reference", - "target": 507, - "name": "UpdateTaxLineDTO", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 495, + "name": "FilterableCartProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", "package": "@medusajs/types" } ] }, { - "id": 540, - "name": "CreateLineItemDTO", + "id": 504, + "name": "FilterableAddressProps", "variant": "declaration", "kind": 256, "flags": {}, @@ -11456,157 +12792,268 @@ "summary": [ { "kind": "text", - "text": "LINE ITEMS START" + "text": "The filters to apply on the retrieved addresss." } ] }, "children": [ { - "id": 541, - "name": "title", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 542, - "name": "subtitle", + "id": 505, + "name": "id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the addresss by." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 543, - "name": "thumbnail", + "id": 506, + "name": "$and", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 504, + "name": "FilterableAddressProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 504, + "name": "FilterableAddressProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" } }, { - "id": 544, - "name": "cart_id", + "id": 507, + "name": "$or", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 504, + "name": "FilterableAddressProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 504, + "name": "FilterableAddressProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" } - }, + } + ], + "groups": [ { - "id": 545, - "name": "quantity", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, + "title": "Properties", + "children": [ + 505, + 506, + 507 + ] + } + ], + "extendedTypes": [ { - "id": 546, - "name": "product_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 504, + "name": "FilterableAddressProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 508, + "name": "FilterableLineItemProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved line items." } - }, + ] + }, + "children": [ { - "id": 547, - "name": "product_title", + "id": 509, + "name": "id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 548, - "name": "product_description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the line items by." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 549, - "name": "product_subtitle", + "id": 510, + "name": "cart_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 550, - "name": "product_type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the line items by the ID of their associated cart." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 551, - "name": "product_collection", + "id": 511, + "name": "title", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 552, - "name": "product_handle", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the line items by their title." + } + ] }, "type": { "type": "intrinsic", @@ -11614,182 +13061,471 @@ } }, { - "id": 553, + "id": 512, "name": "variant_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the line items by the ID of their associated variant." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 554, - "name": "variant_sku", + "id": 513, + "name": "product_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the line items by the ID of their associated product." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 555, - "name": "variant_barcode", + "id": 514, + "name": "$and", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 508, + "name": "FilterableLineItemProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 508, + "name": "FilterableLineItemProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" } }, { - "id": 556, - "name": "variant_title", + "id": 515, + "name": "$or", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 508, + "name": "FilterableLineItemProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 508, + "name": "FilterableLineItemProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" } - }, + } + ], + "groups": [ { - "id": 557, - "name": "variant_option_values", + "title": "Properties", + "children": [ + 509, + 510, + 511, + 512, + 513, + 514, + 515 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 508, + "name": "FilterableLineItemProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 516, + "name": "FilterableLineItemAdjustmentProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved line item adjustments." + } + ] + }, + "children": [ + { + "id": 517, + "name": "id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the line item adjustments by." + } + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + "type": "union", + "types": [ { "type": "intrinsic", "name": "string" }, { - "type": "intrinsic", - "name": "unknown" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } - ], - "name": "Record", - "package": "typescript" + ] } }, { - "id": 558, - "name": "requires_shipping", + "id": 518, + "name": "item_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the adjustments by the ID of their associated line item." + } + ] + }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 559, - "name": "is_discountable", + "id": 519, + "name": "promotion_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the line item adjustments by the ID of their associated promotion." + } + ] + }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 560, - "name": "is_tax_inclusive", + "id": 520, + "name": "provider_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the line item adjustments by the ID of their associated provider." + } + ] + }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 561, - "name": "compare_at_unit_price", + "id": 521, + "name": "item", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the adjustments by their associated line item." + } + ] + }, "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 562, - "name": "unit_price", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 508, + "name": "FilterableLineItemProps", + "package": "@medusajs/types" } }, { - "id": 563, - "name": "tax_lines", + "id": 522, + "name": "$and", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, "type": { "type": "array", "elementType": { - "type": "reference", - "target": 501, - "name": "CreateTaxLineDTO", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "reference", + "target": 516, + "name": "FilterableLineItemAdjustmentProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 516, + "name": "FilterableLineItemAdjustmentProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" } }, { - "id": 564, - "name": "adjustments", + "id": 523, + "name": "$or", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, "type": { "type": "array", "elementType": { - "type": "reference", - "target": 465, - "name": "CreateAdjustmentDTO", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "reference", + "target": 516, + "name": "FilterableLineItemAdjustmentProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 516, + "name": "FilterableLineItemAdjustmentProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" } } ], @@ -11797,44 +13533,36 @@ { "title": "Properties", "children": [ - 541, - 542, - 543, - 544, - 545, - 546, - 547, - 548, - 549, - 550, - 551, - 552, - 553, - 554, - 555, - 556, - 557, - 558, - 559, - 560, - 561, - 562, - 563, - 564 + 517, + 518, + 519, + 520, + 521, + 522, + 523 ] } ], - "extendedBy": [ + "extendedTypes": [ { "type": "reference", - "target": 565, - "name": "CreateLineItemForCartDTO" + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 516, + "name": "FilterableLineItemAdjustmentProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" } ] }, { - "id": 565, - "name": "CreateLineItemForCartDTO", + "id": 524, + "name": "FilterableShippingMethodProps", "variant": "declaration", "kind": 256, "flags": {}, @@ -11842,458 +13570,898 @@ "summary": [ { "kind": "text", - "text": "LINE ITEMS START" + "text": "The filters to apply on the retrieved shipping methods." } ] }, "children": [ { - "id": 567, - "name": "title", + "id": 525, + "name": "id", "variant": "declaration", "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "flags": { + "isOptional": true }, - "inheritedFrom": { - "type": "reference", - "target": 541, - "name": "CreateLineItemDTO.title" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the shipping methods by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 568, - "name": "subtitle", + "id": 526, + "name": "cart_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping methods by the ID of their associated cart." + } + ] }, - "inheritedFrom": { - "type": "reference", - "target": 542, - "name": "CreateLineItemDTO.subtitle" + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 569, - "name": "thumbnail", + "id": 527, + "name": "name", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping methods by their name." + } + ] + }, + "type": { "type": "intrinsic", "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 543, - "name": "CreateLineItemDTO.thumbnail" } }, { - "id": 570, - "name": "quantity", + "id": 528, + "name": "shipping_option_id", "variant": "declaration", "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" + "flags": { + "isOptional": true }, - "inheritedFrom": { - "type": "reference", - "target": 545, - "name": "CreateLineItemDTO.quantity" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping methods by the ID of their associated shipping option." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] } }, { - "id": 571, - "name": "product_id", + "id": 529, + "name": "$and", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 524, + "name": "FilterableShippingMethodProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 524, + "name": "FilterableShippingMethodProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } }, "inheritedFrom": { "type": "reference", - "target": 546, - "name": "CreateLineItemDTO.product_id" + "target": 2030, + "name": "BaseFilterable.$and" } }, { - "id": 572, - "name": "product_title", + "id": 530, + "name": "$or", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 524, + "name": "FilterableShippingMethodProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 524, + "name": "FilterableShippingMethodProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } }, "inheritedFrom": { "type": "reference", - "target": 547, - "name": "CreateLineItemDTO.product_title" + "target": 2031, + "name": "BaseFilterable.$or" } - }, + } + ], + "groups": [ { - "id": 573, - "name": "product_description", + "title": "Properties", + "children": [ + 525, + 526, + 527, + 528, + 529, + 530 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 524, + "name": "FilterableShippingMethodProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 531, + "name": "FilterableShippingMethodAdjustmentProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping method adjustments." + } + ] + }, + "children": [ + { + "id": 532, + "name": "id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the shipping method adjustments by." + } + ] }, - "inheritedFrom": { - "type": "reference", - "target": 548, - "name": "CreateLineItemDTO.product_description" + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 574, - "name": "product_subtitle", + "id": 533, + "name": "shipping_method_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the adjustments by the ID of their associated shipping method." + } + ] }, - "inheritedFrom": { - "type": "reference", - "target": 549, - "name": "CreateLineItemDTO.product_subtitle" + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 575, - "name": "product_type", + "id": 534, + "name": "promotion_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping method adjustments by the ID of their associated promotion." + } + ] }, - "inheritedFrom": { - "type": "reference", - "target": 550, - "name": "CreateLineItemDTO.product_type" + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 576, - "name": "product_collection", + "id": 535, + "name": "provider_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping method adjustments by the ID of their associated provider." + } + ] }, - "inheritedFrom": { - "type": "reference", - "target": 551, - "name": "CreateLineItemDTO.product_collection" + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 577, - "name": "product_handle", + "id": 536, + "name": "shipping_method", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the adjustments by their associated shipping method." + } + ] }, - "inheritedFrom": { + "type": { "type": "reference", - "target": 552, - "name": "CreateLineItemDTO.product_handle" + "target": 524, + "name": "FilterableShippingMethodProps", + "package": "@medusajs/types" } }, { - "id": 578, - "name": "variant_id", + "id": 537, + "name": "$and", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 531, + "name": "FilterableShippingMethodAdjustmentProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 531, + "name": "FilterableShippingMethodAdjustmentProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } }, "inheritedFrom": { "type": "reference", - "target": 553, - "name": "CreateLineItemDTO.variant_id" + "target": 2030, + "name": "BaseFilterable.$and" } }, { - "id": 579, - "name": "variant_sku", + "id": 538, + "name": "$or", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 531, + "name": "FilterableShippingMethodAdjustmentProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 531, + "name": "FilterableShippingMethodAdjustmentProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } }, "inheritedFrom": { "type": "reference", - "target": 554, - "name": "CreateLineItemDTO.variant_sku" + "target": 2031, + "name": "BaseFilterable.$or" } - }, + } + ], + "groups": [ { - "id": 580, - "name": "variant_barcode", + "title": "Properties", + "children": [ + 532, + 533, + 534, + 535, + 536, + 537, + 538 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 531, + "name": "FilterableShippingMethodAdjustmentProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 539, + "name": "FilterableLineItemTaxLineProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved line item tax lines." + } + ] + }, + "children": [ + { + "id": 540, + "name": "id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the line item tax lines by." + } + ] }, - "inheritedFrom": { - "type": "reference", - "target": 555, - "name": "CreateLineItemDTO.variant_barcode" + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 581, - "name": "variant_title", + "id": 541, + "name": "description", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the line item tax lines by their description." + } + ] + }, "type": { "type": "intrinsic", "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 556, - "name": "CreateLineItemDTO.variant_title" } }, { - "id": 582, - "name": "variant_option_values", + "id": 542, + "name": "code", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the line item tax lines by their code." + } + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + "type": "union", + "types": [ { "type": "intrinsic", "name": "string" }, { - "type": "intrinsic", - "name": "unknown" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": 557, - "name": "CreateLineItemDTO.variant_option_values" + ] } }, { - "id": 583, - "name": "requires_shipping", + "id": 543, + "name": "tax_rate_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "boolean" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the line item tax lines by the ID of their associated tax rate." + } + ] }, - "inheritedFrom": { - "type": "reference", - "target": 558, - "name": "CreateLineItemDTO.requires_shipping" + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 584, - "name": "is_discountable", + "id": 544, + "name": "provider_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "boolean" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the line item tax lines by the ID of their associated provider." + } + ] }, - "inheritedFrom": { - "type": "reference", - "target": 559, - "name": "CreateLineItemDTO.is_discountable" + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 585, - "name": "is_tax_inclusive", + "id": 545, + "name": "item_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "boolean" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax lines by the ID of their associated line item." + } + ] }, - "inheritedFrom": { - "type": "reference", - "target": 560, - "name": "CreateLineItemDTO.is_tax_inclusive" + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 586, - "name": "compare_at_unit_price", + "id": 546, + "name": "item", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "number" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax lines by their associated line item." + } + ] }, - "inheritedFrom": { - "type": "reference", - "target": 561, - "name": "CreateLineItemDTO.compare_at_unit_price" - } - }, - { - "id": 587, - "name": "unit_price", - "variant": "declaration", - "kind": 1024, - "flags": {}, "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { "type": "reference", - "target": 562, - "name": "CreateLineItemDTO.unit_price" + "target": 508, + "name": "FilterableLineItemProps", + "package": "@medusajs/types" } }, { - "id": 588, - "name": "tax_lines", + "id": 547, + "name": "$and", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, "type": { "type": "array", "elementType": { - "type": "reference", - "target": 501, - "name": "CreateTaxLineDTO", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "reference", + "target": 539, + "name": "FilterableLineItemTaxLineProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 539, + "name": "FilterableLineItemTaxLineProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] } }, "inheritedFrom": { "type": "reference", - "target": 563, - "name": "CreateLineItemDTO.tax_lines" + "target": 2030, + "name": "BaseFilterable.$and" } }, { - "id": 589, - "name": "adjustments", + "id": 548, + "name": "$or", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, "type": { "type": "array", "elementType": { - "type": "reference", - "target": 465, - "name": "CreateAdjustmentDTO", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "reference", + "target": 539, + "name": "FilterableLineItemTaxLineProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 539, + "name": "FilterableLineItemTaxLineProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] } }, "inheritedFrom": { "type": "reference", - "target": 564, - "name": "CreateLineItemDTO.adjustments" - } - }, - { - "id": 566, - "name": "cart_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "overwrites": { - "type": "reference", - "target": 544, - "name": "CreateLineItemDTO.cart_id" + "target": 2031, + "name": "BaseFilterable.$or" } } ], @@ -12301,375 +14469,1326 @@ { "title": "Properties", "children": [ - 567, - 568, - 569, - 570, - 571, - 572, - 573, - 574, - 575, - 576, - 577, - 578, - 579, - 580, - 581, - 582, - 583, - 584, - 585, - 586, - 587, - 588, - 589, - 566 + 540, + 541, + 542, + 543, + 544, + 545, + 546, + 547, + 548 ] } ], "extendedTypes": [ { "type": "reference", - "target": 540, - "name": "CreateLineItemDTO", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 539, + "name": "FilterableLineItemTaxLineProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", "package": "@medusajs/types" } ] }, { - "id": 590, - "name": "UpdateLineItemWithSelectorDTO", + "id": 549, + "name": "FilterableShippingMethodTaxLineProps", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping method tax lines." + } + ] + }, "children": [ { - "id": 591, - "name": "selector", + "id": 550, + "name": "id", "variant": "declaration", "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "reference", - "target": 235, - "name": "CartLineItemDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "The IDs to filter the shipping method tax lines by." } - ], - "name": "Partial", - "package": "typescript" - } - }, - { - "id": 592, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "reference", - "target": 593, - "name": "UpdateLineItemDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } - ], - "name": "Partial", - "package": "typescript" + ] } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 591, - 592 - ] - } - ] - }, - { - "id": 593, - "name": "UpdateLineItemDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + }, { - "id": 603, - "name": "subtitle", + "id": 551, + "name": "description", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping method tax lines by their description." + } + ] + }, "type": { "type": "intrinsic", "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.subtitle" } }, { - "id": 604, - "name": "thumbnail", + "id": 552, + "name": "code", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping method tax lines by their code." + } + ] }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.thumbnail" + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 600, - "name": "cart_id", + "id": 553, + "name": "tax_rate_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping method tax lines by the ID of their associated tax rate." + } + ] }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.cart_id" + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 602, - "name": "product_id", + "id": 554, + "name": "provider_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping method tax lines by the ID of their associated provider." + } + ] }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.product_id" + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 605, - "name": "product_title", + "id": 555, + "name": "shipping_method_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax lines by the ID of their associated shipping method." + } + ] }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.product_title" + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 606, - "name": "product_description", + "id": 556, + "name": "shipping_method", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax lines by their associated shipping method." + } + ] }, - "inheritedFrom": { + "type": { "type": "reference", - "target": -1, - "name": "Omit.product_description" + "target": 524, + "name": "FilterableShippingMethodProps", + "package": "@medusajs/types" } }, { - "id": 607, - "name": "product_subtitle", + "id": 557, + "name": "$and", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 549, + "name": "FilterableShippingMethodTaxLineProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 549, + "name": "FilterableShippingMethodTaxLineProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } }, "inheritedFrom": { "type": "reference", - "target": -1, - "name": "Omit.product_subtitle" + "target": 2030, + "name": "BaseFilterable.$and" } }, { - "id": 608, - "name": "product_type", - "variant": "declaration", + "id": 558, + "name": "$or", + "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 549, + "name": "FilterableShippingMethodTaxLineProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 549, + "name": "FilterableShippingMethodTaxLineProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } }, "inheritedFrom": { "type": "reference", - "target": -1, - "name": "Omit.product_type" + "target": 2031, + "name": "BaseFilterable.$or" } - }, + } + ], + "groups": [ { - "id": 609, - "name": "product_collection", + "title": "Properties", + "children": [ + 550, + 551, + 552, + 553, + 554, + 555, + 556, + 557, + 558 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 549, + "name": "FilterableShippingMethodTaxLineProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 559, + "name": "legacy_CartDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "TODO: Remove this in favor of CartDTO, when module is released" + } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "Use CartDTO instead" + } + ] + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 560, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 561, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the cart." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 562, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email of the cart." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 563, + "name": "billing_address_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated billing address's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 564, + "name": "shipping_address_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping address's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 565, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated region's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 566, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated customer's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 567, + "name": "payment_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated payment's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 568, + "name": "completed_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated date." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 569, + "name": "payment_authorized_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated date." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 570, + "name": "idempotency_key", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The idempotency key of the cart." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 571, + "name": "context", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The context of the cart." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 572, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 573, + "name": "sales_channel_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated sales channel's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 574, + "name": "shipping_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping total of the cart." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 575, + "name": "discount_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount total of the cart." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 576, + "name": "raw_discount_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw discount total of the cart." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 577, + "name": "item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item tax total of the cart." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 578, + "name": "shipping_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping tax total of the cart." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 579, + "name": "tax_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax total of the cart." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 580, + "name": "refunded_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The refunded total of the cart." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 581, + "name": "total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total of the cart." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 582, + "name": "subtotal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtotal of the cart." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 583, + "name": "refundable_amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The refundable amount of the cart." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 584, + "name": "gift_card_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The gift card total of the cart." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 585, + "name": "gift_card_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The gift card tax total of the cart." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 561, + 562, + 563, + 564, + 565, + 566, + 567, + 568, + 569, + 570, + 571, + 572, + 573, + 574, + 575, + 576, + 577, + 578, + 579, + 580, + 581, + 582, + 583, + 584, + 585 + ] + } + ] + } + } + }, + { + "id": 586, + "name": "UpsertAddressDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the address to be created or updated." + } + ] + }, + "children": [ + { + "id": 587, + "name": "customer_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated customer's ID." + } + ] + }, "type": { "type": "intrinsic", "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.product_collection" } }, { - "id": 610, - "name": "product_handle", + "id": 588, + "name": "company", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The company of the address." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 589, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.product_handle" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first name of the address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 601, - "name": "variant_id", + "id": 590, + "name": "last_name", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name of the address." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 591, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.variant_id" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first line of the address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 611, - "name": "variant_sku", + "id": 592, + "name": "address_2", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The second line of the address." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 593, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.variant_sku" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city of the address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 612, - "name": "variant_barcode", + "id": 594, + "name": "country_code", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO two country code of the address." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 595, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.variant_barcode" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province of the address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 613, - "name": "variant_title", + "id": 596, + "name": "postal_code", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The postal code of the address." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 597, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.variant_title" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The phone of the address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 614, - "name": "variant_option_values", + "id": 598, + "name": "metadata", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, "type": { "type": "reference", "target": { @@ -12688,197 +15807,400 @@ ], "name": "Record", "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.variant_option_values" } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 587, + 588, + 589, + 590, + 591, + 592, + 593, + 594, + 595, + 596, + 597, + 598 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 599, + "name": "UpdateAddressDTO" }, { - "id": 615, - "name": "requires_shipping", + "type": "reference", + "target": 613, + "name": "CreateAddressDTO" + } + ] + }, + { + "id": 599, + "name": "UpdateAddressDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the address." + } + ] + }, + "children": [ + { + "id": 601, + "name": "customer_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated customer's ID." + } + ] + }, "type": { "type": "intrinsic", - "name": "boolean" + "name": "string" }, "inheritedFrom": { "type": "reference", - "target": -1, - "name": "Omit.requires_shipping" + "target": 587, + "name": "UpsertAddressDTO.customer_id" } }, { - "id": 616, - "name": "is_discountable", + "id": 602, + "name": "company", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The company of the address." + } + ] + }, "type": { "type": "intrinsic", - "name": "boolean" + "name": "string" }, "inheritedFrom": { "type": "reference", - "target": -1, - "name": "Omit.is_discountable" + "target": 588, + "name": "UpsertAddressDTO.company" } }, { - "id": 617, - "name": "is_tax_inclusive", + "id": 603, + "name": "first_name", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first name of the address." + } + ] + }, "type": { "type": "intrinsic", - "name": "boolean" + "name": "string" }, "inheritedFrom": { "type": "reference", - "target": -1, - "name": "Omit.is_tax_inclusive" + "target": 589, + "name": "UpsertAddressDTO.first_name" } }, { - "id": 618, - "name": "compare_at_unit_price", + "id": 604, + "name": "last_name", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name of the address." + } + ] + }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" }, "inheritedFrom": { "type": "reference", - "target": -1, - "name": "Omit.compare_at_unit_price" + "target": 590, + "name": "UpsertAddressDTO.last_name" } }, { - "id": 594, - "name": "id", + "id": 605, + "name": "address_1", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first line of the address." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 591, + "name": "UpsertAddressDTO.address_1" } }, { - "id": 595, - "name": "title", + "id": 606, + "name": "address_2", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The second line of the address." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 592, + "name": "UpsertAddressDTO.address_2" } }, { - "id": 596, - "name": "quantity", + "id": 607, + "name": "city", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "number" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city of the address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 593, + "name": "UpsertAddressDTO.city" } }, { - "id": 597, - "name": "unit_price", + "id": 608, + "name": "country_code", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO two country code of the address." + } + ] + }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 594, + "name": "UpsertAddressDTO.country_code" } }, { - "id": 598, - "name": "tax_lines", + "id": 609, + "name": "province", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province of the address." + } + ] + }, "type": { - "type": "union", - "types": [ + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 595, + "name": "UpsertAddressDTO.province" + } + }, + { + "id": 610, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 501, - "name": "CreateTaxLineDTO", - "package": "@medusajs/types" - } - }, + "kind": "text", + "text": "The postal code of the address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 596, + "name": "UpsertAddressDTO.postal_code" + } + }, + { + "id": 611, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 507, - "name": "UpdateTaxLineDTO", - "package": "@medusajs/types" - } + "kind": "text", + "text": "The phone of the address." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 597, + "name": "UpsertAddressDTO.phone" } }, { - "id": 599, - "name": "adjustments", + "id": 612, + "name": "metadata", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, "type": { - "type": "union", - "types": [ + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 465, - "name": "CreateAdjustmentDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "string" }, { - "type": "array", - "elementType": { - "type": "reference", - "target": 471, - "name": "UpdateAdjustmentDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 598, + "name": "UpsertAddressDTO.metadata" + } + }, + { + "id": 600, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the address." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" } } ], @@ -12886,82 +16208,34 @@ { "title": "Properties", "children": [ + 601, + 602, 603, 604, - 600, - 602, 605, 606, 607, 608, 609, 610, - 601, 611, 612, - 613, - 614, - 615, - 616, - 617, - 618, - 594, - 595, - 596, - 597, - 598, - 599 + 600 ] } ], "extendedTypes": [ { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reference", - "target": 540, - "name": "CreateLineItemDTO", - "package": "@medusajs/types" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "tax_lines" - }, - { - "type": "literal", - "value": "adjustments" - }, - { - "type": "literal", - "value": "title" - }, - { - "type": "literal", - "value": "quantity" - }, - { - "type": "literal", - "value": "unit_price" - } - ] - } - ], - "name": "Omit", - "package": "typescript" + "target": 586, + "name": "UpsertAddressDTO", + "package": "@medusajs/types" } ] }, { - "id": 619, - "name": "CreateShippingMethodDTO", + "id": 613, + "name": "CreateAddressDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -12969,106 +16243,336 @@ "summary": [ { "kind": "text", - "text": "SHIPPING METHODS START" + "text": "The address to be created." } ] }, "children": [ + { + "id": 614, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated customer's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 587, + "name": "UpsertAddressDTO.customer_id" + } + }, + { + "id": 615, + "name": "company", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The company of the address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 588, + "name": "UpsertAddressDTO.company" + } + }, + { + "id": 616, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first name of the address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 589, + "name": "UpsertAddressDTO.first_name" + } + }, + { + "id": 617, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name of the address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 590, + "name": "UpsertAddressDTO.last_name" + } + }, + { + "id": 618, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first line of the address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 591, + "name": "UpsertAddressDTO.address_1" + } + }, + { + "id": 619, + "name": "address_2", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The second line of the address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 592, + "name": "UpsertAddressDTO.address_2" + } + }, { "id": 620, - "name": "name", + "name": "city", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city of the address." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 593, + "name": "UpsertAddressDTO.city" } }, { "id": 621, - "name": "cart_id", + "name": "country_code", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO two country code of the address." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 594, + "name": "UpsertAddressDTO.country_code" } }, { "id": 622, - "name": "amount", + "name": "province", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province of the address." + } + ] + }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 595, + "name": "UpsertAddressDTO.province" } }, { "id": 623, - "name": "data", + "name": "postal_code", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "unknown" + "kind": "text", + "text": "The postal code of the address." } - ], - "name": "Record", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 596, + "name": "UpsertAddressDTO.postal_code" } }, { "id": 624, - "name": "tax_lines", + "name": "phone", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The phone of the address." + } + ] + }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 501, - "name": "CreateTaxLineDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 597, + "name": "UpsertAddressDTO.phone" } }, { "id": 625, - "name": "adjustments", + "name": "metadata", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 465, - "name": "CreateAdjustmentDTO", - "package": "@medusajs/types" - } + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 598, + "name": "UpsertAddressDTO.metadata" } } ], @@ -13076,6 +16580,12 @@ { "title": "Properties", "children": [ + 614, + 615, + 616, + 617, + 618, + 619, 620, 621, 622, @@ -13084,21 +16594,47 @@ 625 ] } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 586, + "name": "UpsertAddressDTO", + "package": "@medusajs/types" + } ] }, { "id": 626, - "name": "CreateShippingMethodForSingleCartDTO", + "name": "CreateCartDTO", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cart to be created." + } + ] + }, "children": [ { "id": 627, - "name": "name", + "name": "region_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated region's ID." + } + ] + }, "type": { "type": "intrinsic", "name": "string" @@ -13106,106 +16642,123 @@ }, { "id": 628, - "name": "amount", + "name": "customer_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated customer's ID." + } + ] + }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" } }, { "id": 629, - "name": "data", + "name": "sales_channel_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "unknown" + "kind": "text", + "text": "The associated sales channel's ID." } - ], - "name": "Record", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { "id": 630, - "name": "tax_lines", + "name": "email", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email of the customer that owns the cart." + } + ] + }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 501, - "name": "CreateTaxLineDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "string" } }, { "id": 631, - "name": "adjustments", + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of the cart." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 632, + "name": "shipping_address_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping address's ID." + } + ] + }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 465, - "name": "CreateAdjustmentDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "string" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 627, - 628, - 629, - 630, - 631 - ] - } - ] - }, - { - "id": 632, - "name": "UpdateShippingMethodDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + }, { "id": 633, - "name": "id", + "name": "billing_address_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated billing address's ID." + } + ] + }, "type": { "type": "intrinsic", "name": "string" @@ -13213,38 +16766,84 @@ }, { "id": 634, - "name": "name", + "name": "shipping_address", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping address of the cart." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 613, + "name": "CreateAddressDTO", + "package": "@medusajs/types" + } + ] } }, { "id": 635, - "name": "amount", + "name": "billing_address", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The billing address of the cart." + } + ] + }, "type": { - "type": "intrinsic", - "name": "number" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 613, + "name": "CreateAddressDTO", + "package": "@medusajs/types" + } + ] } }, { "id": 636, - "name": "data", + "name": "metadata", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, "type": { "type": "reference", "target": { @@ -13267,66 +16866,28 @@ }, { "id": 637, - "name": "tax_lines", + "name": "items", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "union", - "types": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 501, - "name": "CreateTaxLineDTO", - "package": "@medusajs/types" - } - }, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 507, - "name": "UpdateTaxLineDTO", - "package": "@medusajs/types" - } + "kind": "text", + "text": "The items of the cart." } ] - } - }, - { - "id": 638, - "name": "adjustments", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, "type": { - "type": "union", - "types": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 465, - "name": "CreateAdjustmentDTO", - "package": "@medusajs/types" - } - }, - { - "type": "array", - "elementType": { - "type": "reference", - "target": 471, - "name": "UpdateAdjustmentDTO", - "package": "@medusajs/types" - } - } - ] + "type": "array", + "elementType": { + "type": "reference", + "target": 736, + "name": "CreateLineItemDTO", + "package": "@medusajs/types" + } } } ], @@ -13334,5058 +16895,2313 @@ { "title": "Properties", "children": [ + 627, + 628, + 629, + 630, + 631, + 632, 633, 634, 635, 636, - 637, - 638 + 637 ] } ] }, { - "id": 639, - "name": "CreateShippingMethodAdjustmentDTO", + "id": 638, + "name": "UpdateCartDataDTO", "variant": "declaration", "kind": 256, "flags": {}, - "children": [ - { - "id": 640, - "name": "shipping_method_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the cart data." } - }, + ] + }, + "children": [ { - "id": 641, - "name": "code", + "id": 639, + "name": "region_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated region's ID." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 642, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 643, - "name": "description", + "id": 640, + "name": "customer_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated customer's ID." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } }, { - "id": 644, - "name": "promotion_id", + "id": 641, + "name": "sales_channel_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated sales channel's ID." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } }, { - "id": 645, - "name": "provider_id", + "id": 642, + "name": "email", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email of the customer that owns the cart." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 640, - 641, - 642, - 643, - 644, - 645 - ] - } - ] - }, - { - "id": 646, - "name": "UpdateShippingMethodAdjustmentDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 647, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } }, { - "id": 648, - "name": "code", + "id": 643, + "name": "currency_code", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of the cart." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 649, - "name": "amount", + "id": 644, + "name": "shipping_address_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping address's ID." + } + ] + }, "type": { - "type": "intrinsic", - "name": "number" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } }, { - "id": 650, - "name": "description", + "id": 645, + "name": "billing_address_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated billing address's ID." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } }, { - "id": 651, - "name": "promotion_id", + "id": 646, + "name": "billing_address", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The billing address of the cart." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 599, + "name": "UpdateAddressDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 613, + "name": "CreateAddressDTO", + "package": "@medusajs/types" + } + ] } }, { - "id": 652, - "name": "provider_id", + "id": 647, + "name": "shipping_address", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" - } + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping address of the cart." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 599, + "name": "UpdateAddressDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 613, + "name": "CreateAddressDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 648, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } } ], "groups": [ { "title": "Properties", "children": [ + 639, + 640, + 641, + 642, + 643, + 644, + 645, + 646, 647, - 648, - 649, - 650, - 651, - 652 + 648 ] } + ], + "extendedBy": [ + { + "type": "reference", + "target": 649, + "name": "UpdateCartDTO" + } ] }, { - "id": 653, - "name": "ICartModuleService", + "id": 649, + "name": "UpdateCartDTO", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the cart." + } + ] + }, "children": [ + { + "id": 651, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated region's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 639, + "name": "UpdateCartDataDTO.region_id" + } + }, + { + "id": 652, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated customer's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 640, + "name": "UpdateCartDataDTO.customer_id" + } + }, + { + "id": 653, + "name": "sales_channel_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated sales channel's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 641, + "name": "UpdateCartDataDTO.sales_channel_id" + } + }, { "id": 654, - "name": "retrieve", + "name": "email", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 655, - "name": "retrieve", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 656, - "name": "cartId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 657, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 276, - "name": "CartDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 658, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 276, - "name": "CartDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email of the customer that owns the cart." } - } - ] + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 642, + "name": "UpdateCartDataDTO.email" + } }, { - "id": 659, - "name": "list", + "id": 655, + "name": "currency_code", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 660, - "name": "list", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 661, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 310, - "name": "FilterableCartProps", - "package": "@medusajs/types" - } - }, - { - "id": 662, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 276, - "name": "CartDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 663, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 276, - "name": "CartDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of the cart." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 643, + "name": "UpdateCartDataDTO.currency_code" + } }, { - "id": 664, - "name": "listAndCount", + "id": 656, + "name": "shipping_address_id", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 665, - "name": "listAndCount", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 666, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 310, - "name": "FilterableCartProps", - "package": "@medusajs/types" - } - }, - { - "id": 667, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 276, - "name": "CartDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 668, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 276, - "name": "CartDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping address's ID." } - } - ] + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 644, + "name": "UpdateCartDataDTO.shipping_address_id" + } }, { - "id": 669, - "name": "create", + "id": 657, + "name": "billing_address_id", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 670, - "name": "create", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 671, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 441, - "name": "CreateCartDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 672, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 276, - "name": "CartDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated billing address's ID." } - }, - { - "id": 673, - "name": "create", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 674, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 441, - "name": "CreateCartDTO", - "package": "@medusajs/types" - } - }, - { - "id": 675, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 276, - "name": "CartDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" } - } - ] + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 645, + "name": "UpdateCartDataDTO.billing_address_id" + } }, { - "id": 676, - "name": "update", + "id": 658, + "name": "billing_address", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 677, - "name": "update", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 678, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 453, - "name": "UpdateCartDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 679, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The billing address of the cart." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 276, - "name": "CartDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "target": 599, + "name": "UpdateAddressDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 613, + "name": "CreateAddressDTO", + "package": "@medusajs/types" } - }, - { - "id": 680, - "name": "update", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 681, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 453, - "name": "UpdateCartDTO", - "package": "@medusajs/types" - } - }, - { - "id": 682, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 646, + "name": "UpdateCartDataDTO.billing_address" + } + }, + { + "id": 659, + "name": "shipping_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping address of the cart." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 276, - "name": "CartDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "target": 599, + "name": "UpdateAddressDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 613, + "name": "CreateAddressDTO", + "package": "@medusajs/types" } - } - ] + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 647, + "name": "UpdateCartDataDTO.shipping_address" + } }, { - "id": 683, - "name": "delete", + "id": 660, + "name": "metadata", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 684, - "name": "delete", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 685, - "name": "cartIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 686, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Record" }, "typeArguments": [ { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 687, - "name": "delete", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 688, - "name": "cartId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { "type": "intrinsic", "name": "string" - } - }, - { - "id": 689, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ { "type": "intrinsic", - "name": "void" + "name": "unknown" } ], - "name": "Promise", + "name": "Record", "package": "typescript" } - } - ] + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 648, + "name": "UpdateCartDataDTO.metadata" + } }, { - "id": 690, - "name": "listAddresses", + "id": 650, + "name": "id", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 691, - "name": "listAddresses", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 692, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 319, - "name": "FilterableAddressProps", - "package": "@medusajs/types" - } - }, - { - "id": 693, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 197, - "name": "CartAddressDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 694, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 197, - "name": "CartAddressDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the cart." } - } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 651, + 652, + 653, + 654, + 655, + 656, + 657, + 658, + 659, + 660, + 650 ] - }, + } + ], + "extendedTypes": [ { - "id": 695, - "name": "createAddresses", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 696, - "name": "createAddresses", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 697, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 428, - "name": "CreateAddressDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 698, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 197, - "name": "CartAddressDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 699, - "name": "createAddresses", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 700, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 428, - "name": "CreateAddressDTO", - "package": "@medusajs/types" - } - }, - { - "id": 701, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 197, - "name": "CartAddressDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "type": "reference", + "target": 638, + "name": "UpdateCartDataDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 661, + "name": "CreateAdjustmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The adjustment to be created." + } + ] + }, + "children": [ + { + "id": 662, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the promotion that lead to\nthis adjustment." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 702, - "name": "updateAddresses", + "id": 663, + "name": "amount", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 703, - "name": "updateAddresses", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 704, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 414, - "name": "UpdateAddressDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 705, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 197, - "name": "CartAddressDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount to adjust the original amount with." } - }, - { - "id": 706, - "name": "updateAddresses", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 707, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 414, - "name": "UpdateAddressDTO", - "package": "@medusajs/types" - } - }, - { - "id": 708, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 197, - "name": "CartAddressDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 664, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the adjustment." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 709, - "name": "deleteAddresses", + "id": 665, + "name": "promotion_id", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 710, - "name": "deleteAddresses", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 711, - "name": "ids", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 712, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated promotion's ID." } - }, - { - "id": 713, - "name": "deleteAddresses", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 714, - "name": "ids", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 715, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 666, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated provider's ID." } - } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 662, + 663, + 664, + 665, + 666 ] - }, + } + ], + "extendedBy": [ { - "id": 716, - "name": "retrieveLineItem", + "type": "reference", + "target": 674, + "name": "CreateLineItemAdjustmentDTO" + } + ] + }, + { + "id": 667, + "name": "UpdateAdjustmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the adjustment." + } + ] + }, + "children": [ + { + "id": 668, + "name": "id", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 717, - "name": "retrieveLineItem", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 718, - "name": "itemId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 719, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 235, - "name": "CartLineItemDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 720, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 235, - "name": "CartLineItemDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the adjustment." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 721, - "name": "listLineItems", + "id": 669, + "name": "code", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 722, - "name": "listLineItems", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 723, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 323, - "name": "FilterableLineItemProps", - "package": "@medusajs/types" - } - }, - { - "id": 724, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 235, - "name": "CartLineItemDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 725, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 235, - "name": "CartLineItemDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the promotion that lead to\nthis adjustment." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 726, - "name": "addLineItems", + "id": 670, + "name": "amount", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 727, - "name": "addLineItems", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 728, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 565, - "name": "CreateLineItemForCartDTO", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 235, - "name": "CartLineItemDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount to adjust the original amount with." } - }, - { - "id": 729, - "name": "addLineItems", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 730, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 565, - "name": "CreateLineItemForCartDTO", - "package": "@medusajs/types" - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 235, - "name": "CartLineItemDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 671, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the adjustment." } - }, - { - "id": 731, - "name": "addLineItems", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 732, - "name": "cartId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 733, - "name": "items", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 540, - "name": "CreateLineItemDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 734, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 235, - "name": "CartLineItemDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 672, + "name": "promotion_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated promotion's ID." } - } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 673, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated provider's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 668, + 669, + 670, + 671, + 672, + 673 ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 681, + "name": "UpdateLineItemAdjustmentDTO" + } + ] + }, + { + "id": 674, + "name": "CreateLineItemAdjustmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The line item adjustment to be created." + } + ] + }, + "children": [ + { + "id": 676, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the promotion that lead to\nthis adjustment." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 662, + "name": "CreateAdjustmentDTO.code" + } }, { - "id": 735, - "name": "updateLineItems", + "id": 677, + "name": "amount", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 736, - "name": "updateLineItems", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 737, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 590, - "name": "UpdateLineItemWithSelectorDTO", - "package": "@medusajs/types" - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 235, - "name": "CartLineItemDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount to adjust the original amount with." } - }, - { - "id": 738, - "name": "updateLineItems", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 739, - "name": "selector", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "reference", - "target": 235, - "name": "CartLineItemDTO", - "package": "@medusajs/types" - } - ], - "name": "Partial", - "package": "typescript" - } - }, - { - "id": 740, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "reference", - "target": 593, - "name": "UpdateLineItemDTO", - "package": "@medusajs/types" - } - ], - "name": "Partial", - "package": "typescript" - } - }, - { - "id": 741, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 235, - "name": "CartLineItemDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 663, + "name": "CreateAdjustmentDTO.amount" + } + }, + { + "id": 678, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the adjustment." } - }, - { - "id": 742, - "name": "updateLineItems", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 743, - "name": "lineId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 744, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "reference", - "target": 593, - "name": "UpdateLineItemDTO", - "package": "@medusajs/types" - } - ], - "name": "Partial", - "package": "typescript" - } - }, - { - "id": 745, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 235, - "name": "CartLineItemDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 664, + "name": "CreateAdjustmentDTO.description" + } }, { - "id": 746, - "name": "removeLineItems", + "id": 679, + "name": "promotion_id", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 747, - "name": "removeLineItems", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 748, - "name": "itemIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 749, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 750, - "name": "removeLineItems", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 751, - "name": "itemIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 752, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 753, - "name": "removeLineItems", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 754, - "name": "selector", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "reference", - "target": 235, - "name": "CartLineItemDTO", - "package": "@medusajs/types" - } - ], - "name": "Partial", - "package": "typescript" - } - }, - { - "id": 755, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated promotion's ID." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 665, + "name": "CreateAdjustmentDTO.promotion_id" + } }, { - "id": 756, - "name": "listShippingMethods", + "id": 680, + "name": "provider_id", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 757, - "name": "listShippingMethods", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 758, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 339, - "name": "FilterableShippingMethodProps", - "package": "@medusajs/types" - } - }, - { - "id": 759, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 213, - "name": "CartShippingMethodDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 760, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 213, - "name": "CartShippingMethodDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated provider's ID." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 666, + "name": "CreateAdjustmentDTO.provider_id" + } }, { - "id": 761, - "name": "addShippingMethods", + "id": 675, + "name": "item_id", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 762, - "name": "addShippingMethods", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 763, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 619, - "name": "CreateShippingMethodDTO", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 213, - "name": "CartShippingMethodDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 764, - "name": "addShippingMethods", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 765, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 619, - "name": "CreateShippingMethodDTO", - "package": "@medusajs/types" - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 213, - "name": "CartShippingMethodDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 766, - "name": "addShippingMethods", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 767, - "name": "cartId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 768, - "name": "methods", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 626, - "name": "CreateShippingMethodForSingleCartDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 769, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 213, - "name": "CartShippingMethodDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated item's ID." } - } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 676, + 677, + 678, + 679, + 680, + 675 ] - }, + } + ], + "extendedTypes": [ { - "id": 770, - "name": "removeShippingMethods", + "type": "reference", + "target": 661, + "name": "CreateAdjustmentDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 681, + "name": "UpdateLineItemAdjustmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the line item adjustment." + } + ] + }, + "children": [ + { + "id": 683, + "name": "id", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 771, - "name": "removeShippingMethods", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 772, - "name": "methodIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 773, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 774, - "name": "removeShippingMethods", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 775, - "name": "methodIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 776, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 777, - "name": "removeShippingMethods", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 778, - "name": "selector", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "reference", - "target": 213, - "name": "CartShippingMethodDTO", - "package": "@medusajs/types" - } - ], - "name": "Partial", - "package": "typescript" - } - }, - { - "id": 779, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the adjustment." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 668, + "name": "UpdateAdjustmentDTO.id" + } }, { - "id": 780, - "name": "listLineItemAdjustments", + "id": 684, + "name": "code", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 781, - "name": "listLineItemAdjustments", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 782, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 331, - "name": "FilterableLineItemAdjustmentProps", - "package": "@medusajs/types" - } - }, - { - "id": 783, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 154, - "name": "LineItemAdjustmentDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 784, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 154, - "name": "LineItemAdjustmentDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the promotion that lead to\nthis adjustment." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 669, + "name": "UpdateAdjustmentDTO.code" + } }, { - "id": 785, - "name": "addLineItemAdjustments", + "id": 685, + "name": "amount", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 786, - "name": "addLineItemAdjustments", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 787, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 465, - "name": "CreateAdjustmentDTO", - "package": "@medusajs/types" - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 154, - "name": "LineItemAdjustmentDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 788, - "name": "addLineItemAdjustments", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 789, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 465, - "name": "CreateAdjustmentDTO", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 154, - "name": "LineItemAdjustmentDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 790, - "name": "addLineItemAdjustments", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 791, - "name": "cartId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 792, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 465, - "name": "CreateAdjustmentDTO", - "package": "@medusajs/types" - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 154, - "name": "LineItemAdjustmentDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount to adjust the original amount with." } - } - ] + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 670, + "name": "UpdateAdjustmentDTO.amount" + } }, { - "id": 793, - "name": "setLineItemAdjustments", + "id": 686, + "name": "description", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 794, - "name": "setLineItemAdjustments", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 795, - "name": "cartId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 796, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 493, - "name": "UpsertLineItemAdjustmentDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 797, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 154, - "name": "LineItemAdjustmentDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the adjustment." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 671, + "name": "UpdateAdjustmentDTO.description" + } }, { - "id": 798, - "name": "removeLineItemAdjustments", + "id": 687, + "name": "promotion_id", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 799, - "name": "removeLineItemAdjustments", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 800, - "name": "adjustmentIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 801, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 802, - "name": "removeLineItemAdjustments", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 803, - "name": "adjustmentIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 804, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated promotion's ID." } - }, - { - "id": 805, - "name": "removeLineItemAdjustments", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 806, - "name": "selector", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "reference", - "target": 154, - "name": "LineItemAdjustmentDTO", - "package": "@medusajs/types" - } - ], - "name": "Partial", - "package": "typescript" - } - }, - { - "id": 807, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 672, + "name": "UpdateAdjustmentDTO.promotion_id" + } + }, + { + "id": 688, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated provider's ID." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 673, + "name": "UpdateAdjustmentDTO.provider_id" + } }, { - "id": 808, - "name": "listShippingMethodAdjustments", + "id": 682, + "name": "item_id", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 809, - "name": "listShippingMethodAdjustments", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 810, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 346, - "name": "FilterableShippingMethodAdjustmentProps", - "package": "@medusajs/types" - } - }, - { - "id": 811, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 142, - "name": "ShippingMethodAdjustmentDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 812, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 142, - "name": "ShippingMethodAdjustmentDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated item's ID." } - } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 683, + 684, + 685, + 686, + 687, + 688, + 682 ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 667, + "name": "UpdateAdjustmentDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 689, + "name": "UpsertLineItemAdjustmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the line item adjustment to be created or updated." + } + ] + }, + "children": [ + { + "id": 690, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the line item adjustment." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 813, - "name": "addShippingMethodAdjustments", + "id": 691, + "name": "item_id", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 814, - "name": "addShippingMethodAdjustments", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 815, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 639, - "name": "CreateShippingMethodAdjustmentDTO", - "package": "@medusajs/types" - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 142, - "name": "ShippingMethodAdjustmentDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated item's ID." } - }, - { - "id": 816, - "name": "addShippingMethodAdjustments", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 817, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 639, - "name": "CreateShippingMethodAdjustmentDTO", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 142, - "name": "ShippingMethodAdjustmentDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 692, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the promotion that lead to the\nadjustment." } - }, - { - "id": 818, - "name": "addShippingMethodAdjustments", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 819, - "name": "cartId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 820, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 639, - "name": "CreateShippingMethodAdjustmentDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 821, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 142, - "name": "ShippingMethodAdjustmentDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 693, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount to adjust the original amount with." } - } - ] + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } }, { - "id": 822, - "name": "setShippingMethodAdjustments", + "id": 694, + "name": "description", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 823, - "name": "setShippingMethodAdjustments", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 824, - "name": "cartId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 825, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 639, - "name": "CreateShippingMethodAdjustmentDTO", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 646, - "name": "UpdateShippingMethodAdjustmentDTO", - "package": "@medusajs/types" - } - ] - } - } - }, - { - "id": 826, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 142, - "name": "ShippingMethodAdjustmentDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the line item adjustment." } - } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 695, + "name": "promotion_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated promotion's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 696, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated provider's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 690, + 691, + 692, + 693, + 694, + 695, + 696 ] + } + ] + }, + { + "id": 697, + "name": "CreateTaxLineDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax line to be created." + } + ] + }, + "children": [ + { + "id": 698, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the tax line." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 827, - "name": "removeShippingMethodAdjustments", + "id": 699, + "name": "tax_rate_id", "variant": "declaration", - "kind": 2048, + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated tax rate's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 700, + "name": "code", + "variant": "declaration", + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 828, - "name": "removeShippingMethodAdjustments", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 829, - "name": "adjustmentIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 830, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the tax line." } - }, - { - "id": 831, - "name": "removeShippingMethodAdjustments", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 832, - "name": "adjustmentId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 833, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 701, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rate of the tax line." } - }, - { - "id": 834, - "name": "removeShippingMethodAdjustments", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 835, - "name": "selector", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "reference", - "target": 142, - "name": "ShippingMethodAdjustmentDTO", - "package": "@medusajs/types" - } - ], - "name": "Partial", - "package": "typescript" - } - }, - { - "id": 836, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 702, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated provider's ID." } - } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 698, + 699, + 700, + 701, + 702 ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 710, + "name": "CreateShippingMethodTaxLineDTO" }, { - "id": 837, - "name": "listLineItemTaxLines", + "type": "reference", + "target": 723, + "name": "CreateLineItemTaxLineDTO" + } + ] + }, + { + "id": 703, + "name": "UpdateTaxLineDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the tax line." + } + ] + }, + "children": [ + { + "id": 704, + "name": "id", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 838, - "name": "listLineItemTaxLines", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 839, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 354, - "name": "FilterableLineItemTaxLineProps", - "package": "@medusajs/types" - } - }, - { - "id": 840, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 186, - "name": "LineItemTaxLineDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 841, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 186, - "name": "LineItemTaxLineDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the tax line." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 842, - "name": "addLineItemTaxLines", + "id": 705, + "name": "description", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 843, - "name": "addLineItemTaxLines", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 844, - "name": "taxLines", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 527, - "name": "CreateLineItemTaxLineDTO", - "package": "@medusajs/types" - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 186, - "name": "LineItemTaxLineDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 845, - "name": "addLineItemTaxLines", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 846, - "name": "taxLine", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 527, - "name": "CreateLineItemTaxLineDTO", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 186, - "name": "LineItemTaxLineDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 847, - "name": "addLineItemTaxLines", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 848, - "name": "cartId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 849, - "name": "taxLines", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 527, - "name": "CreateLineItemTaxLineDTO", - "package": "@medusajs/types" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "target": 527, - "name": "CreateLineItemTaxLineDTO", - "package": "@medusajs/types" - } - } - ] - } - }, - { - "id": 850, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 186, - "name": "LineItemTaxLineDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 851, - "name": "setLineItemTaxLines", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 852, - "name": "setLineItemTaxLines", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 853, - "name": "cartId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 854, - "name": "taxLines", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 527, - "name": "CreateLineItemTaxLineDTO", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 533, - "name": "UpdateLineItemTaxLineDTO", - "package": "@medusajs/types" - } - ] - } - } - }, - { - "id": 855, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 186, - "name": "LineItemTaxLineDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 856, - "name": "removeLineItemTaxLines", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 857, - "name": "removeLineItemTaxLines", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 858, - "name": "taxLineIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 859, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 860, - "name": "removeLineItemTaxLines", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 861, - "name": "taxLineIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 862, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 863, - "name": "removeLineItemTaxLines", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 864, - "name": "selector", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 354, - "name": "FilterableLineItemTaxLineProps", - "package": "@medusajs/types" - } - }, - { - "id": 865, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the tax line." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 866, - "name": "listShippingMethodTaxLines", + "id": 706, + "name": "tax_rate_id", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 867, - "name": "listShippingMethodTaxLines", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 868, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 364, - "name": "FilterableShippingMethodTaxLineProps", - "package": "@medusajs/types" - } - }, - { - "id": 869, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 175, - "name": "ShippingMethodTaxLineDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 870, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 175, - "name": "ShippingMethodTaxLineDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated tax rate's ID." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 871, - "name": "addShippingMethodTaxLines", + "id": 707, + "name": "code", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 872, - "name": "addShippingMethodTaxLines", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 873, - "name": "taxLines", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 514, - "name": "CreateShippingMethodTaxLineDTO", - "package": "@medusajs/types" - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 175, - "name": "ShippingMethodTaxLineDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 874, - "name": "addShippingMethodTaxLines", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 875, - "name": "taxLine", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 514, - "name": "CreateShippingMethodTaxLineDTO", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 175, - "name": "ShippingMethodTaxLineDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 876, - "name": "addShippingMethodTaxLines", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 877, - "name": "cartId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 878, - "name": "taxLines", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 514, - "name": "CreateShippingMethodTaxLineDTO", - "package": "@medusajs/types" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "target": 514, - "name": "CreateShippingMethodTaxLineDTO", - "package": "@medusajs/types" - } - } - ] - } - }, - { - "id": 879, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 175, - "name": "ShippingMethodTaxLineDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the tax line." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 880, - "name": "setShippingMethodTaxLines", + "id": 708, + "name": "rate", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 881, - "name": "setShippingMethodTaxLines", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 882, - "name": "cartId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 883, - "name": "taxLines", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 514, - "name": "CreateShippingMethodTaxLineDTO", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 520, - "name": "UpdateShippingMethodTaxLineDTO", - "package": "@medusajs/types" - } - ] - } - } - }, - { - "id": 884, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 175, - "name": "ShippingMethodTaxLineDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rate of the tax line." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } }, { - "id": 885, - "name": "removeShippingMethodTaxLines", + "id": 709, + "name": "provider_id", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 886, - "name": "removeShippingMethodTaxLines", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 887, - "name": "taxLineIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 888, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 889, - "name": "removeShippingMethodTaxLines", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 890, - "name": "taxLineIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 891, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 892, - "name": "removeShippingMethodTaxLines", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 893, - "name": "selector", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 364, - "name": "FilterableShippingMethodTaxLineProps", - "package": "@medusajs/types" - } - }, - { - "id": 894, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated provider's ID." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } } ], "groups": [ { - "title": "Methods", + "title": "Properties", "children": [ - 654, - 659, - 664, - 669, - 676, - 683, - 690, - 695, - 702, - 709, - 716, - 721, - 726, - 735, - 746, - 756, - 761, - 770, - 780, - 785, - 793, - 798, - 808, - 813, - 822, - 827, - 837, - 842, - 851, - 856, - 866, - 871, - 880, - 885 + 704, + 705, + 706, + 707, + 708, + 709 ] } ], - "extendedTypes": [ + "extendedBy": [ { "type": "reference", - "target": 2048, - "name": "IModuleService", - "package": "@medusajs/types" + "target": 716, + "name": "UpdateShippingMethodTaxLineDTO" + }, + { + "type": "reference", + "target": 729, + "name": "UpdateLineItemTaxLineDTO" } ] - } - ], - "groups": [ - { - "title": "Interfaces", - "children": [ - 132, - 142, - 154, - 166, - 175, - 186, - 197, - 213, - 235, - 276, - 310, - 319, - 323, - 331, - 339, - 346, - 354, - 364, - 401, - 414, - 428, - 441, - 453, - 465, - 471, - 478, - 485, - 493, - 501, - 507, - 514, - 520, - 527, - 533, - 540, - 565, - 590, - 593, - 619, - 626, - 632, - 639, - 646, - 653 - ] }, { - "title": "Type Aliases", - "children": [ - 374 - ] - } - ] - }, - { - "id": 3693, - "name": "SessionOptions", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Options to pass to " - }, - { - "kind": "code", - "text": "`express-session`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "children": [ - { - "id": 3694, - "name": "name", + "id": 710, + "name": "CreateShippingMethodTaxLineDTO", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "kind": 256, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The name of the session ID cookie to set in the response (and read from in the request). The default value is " - }, - { - "kind": "code", - "text": "`connect.sid`" - }, - { - "kind": "text", - "text": ". \nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#name) for more details." + "text": "The shipping method tax line to be created." } ] }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3695, - "name": "resave", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether the session should be saved back to the session store, even if the session was never modified during the request. The default value is " - }, - { - "kind": "code", - "text": "`true`" + "children": [ + { + "id": 711, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "kind": "text", - "text": ".\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#resave) for more details." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 3696, - "name": "rolling", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether the session identifier cookie should be force-set on every response. The default value is " + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the tax line." + } + ] }, - { - "kind": "code", - "text": "`false`" + "type": { + "type": "intrinsic", + "name": "string" }, - { - "kind": "text", - "text": ".\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#rolling) for more details." + "inheritedFrom": { + "type": "reference", + "target": 698, + "name": "CreateTaxLineDTO.description" } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 3697, - "name": "saveUninitialized", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether a session that is \"uninitialized\" is forced to be saved to the store. The default value is " + }, + { + "id": 712, + "name": "tax_rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "kind": "code", - "text": "`true`" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated tax rate's ID." + } + ] }, - { - "kind": "text", - "text": ". \nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#saveUninitialized) for more details." + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 699, + "name": "CreateTaxLineDTO.tax_rate_id" } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 3698, - "name": "secret", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The secret to sign the session ID cookie. By default, the value of " + }, + { + "id": 713, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the tax line." + } + ] }, - { - "kind": "code", - "text": "`cookie_secret`" + "type": { + "type": "intrinsic", + "name": "string" }, - { - "kind": "text", - "text": " is used.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#secret) for details." + "inheritedFrom": { + "type": "reference", + "target": 700, + "name": "CreateTaxLineDTO.code" } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3699, - "name": "ttl", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Used when calculating the " - }, - { - "kind": "code", - "text": "`Expires`" + }, + { + "id": 714, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rate of the tax line." + } + ] }, - { - "kind": "text", - "text": " " + "type": { + "type": "intrinsic", + "name": "number" }, - { - "kind": "code", - "text": "`Set-Cookie`" + "inheritedFrom": { + "type": "reference", + "target": 701, + "name": "CreateTaxLineDTO.rate" + } + }, + { + "id": 715, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "kind": "text", - "text": " attribute of cookies. By default, its value is " + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated provider's ID." + } + ] }, - { - "kind": "code", - "text": "`10 * 60 * 60 * 1000`" + "type": { + "type": "intrinsic", + "name": "string" }, - { - "kind": "text", - "text": ".\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#cookiemaxage) for details." + "inheritedFrom": { + "type": "reference", + "target": 702, + "name": "CreateTaxLineDTO.provider_id" } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3694, - 3695, - 3696, - 3697, - 3698, - 3699 + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 711, + 712, + 713, + 714, + 715 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 697, + "name": "CreateTaxLineDTO", + "package": "@medusajs/types" + } ] - } - ] - }, - { - "id": 902, - "name": "CommonTypes", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ + }, { - "id": 903, - "name": "WithRequiredProperty", + "id": 716, + "name": "UpdateShippingMethodTaxLineDTO", "variant": "declaration", - "kind": 2097152, + "kind": 256, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Utility type used to remove some optional attributes (coming from K) from a type T" + "text": "The attributes to update in the shipping method tax line." } ] }, - "typeParameters": [ - { - "id": 904, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - }, + "children": [ { - "id": 905, - "name": "K", - "variant": "typeParam", - "kind": 131072, + "id": 717, + "name": "id", + "variant": "declaration", + "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the tax line." + } + ] + }, "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "target": 904, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - } - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": 904, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true + "type": "intrinsic", + "name": "string" }, - { - "type": "mapped", - "parameter": "Property", - "parameterType": { - "type": "reference", - "target": 905, - "name": "K", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "templateType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "Property" - }, - "name": "Property", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 904, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - "optionalModifier": "-" + "inheritedFrom": { + "type": "reference", + "target": 704, + "name": "UpdateTaxLineDTO.id" } - ] - } - }, - { - "id": 906, - "name": "PartialPick", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ - { - "id": 907, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} }, { - "id": 908, - "name": "K", - "variant": "typeParam", - "kind": 131072, - "flags": {}, + "id": 718, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the tax line." + } + ] + }, "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "target": 907, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 705, + "name": "UpdateTaxLineDTO.description" } - } - ], - "type": { - "type": "mapped", - "parameter": "P", - "parameterType": { - "type": "reference", - "target": 908, - "name": "K", - "package": "@medusajs/types", - "refersToTypeParameter": true }, - "templateType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "P" - }, - "name": "P", - "package": "@medusajs/types", - "refersToTypeParameter": true + { + "id": 719, + "name": "tax_rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated tax rate's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" }, - "objectType": { + "inheritedFrom": { "type": "reference", - "target": 907, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true + "target": 706, + "name": "UpdateTaxLineDTO.tax_rate_id" } }, - "optionalModifier": "+" - } - }, - { - "id": 909, - "name": "BaseEntity", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ { - "id": 910, - "name": "id", + "id": 720, + "name": "code", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the tax line." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 707, + "name": "UpdateTaxLineDTO.code" } }, { - "id": 911, - "name": "created_at", + "id": 721, + "name": "rate", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rate of the tax line." + } + ] + }, "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "target": 708, + "name": "UpdateTaxLineDTO.rate" } }, { - "id": 912, - "name": "updated_at", + "id": 722, + "name": "provider_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated provider's ID." + } + ] + }, "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "target": 709, + "name": "UpdateTaxLineDTO.provider_id" } } ], @@ -18393,108 +19209,163 @@ { "title": "Properties", "children": [ - 910, - 911, - 912 + 717, + 718, + 719, + 720, + 721, + 722 ] } ], - "extendedBy": [ + "extendedTypes": [ { "type": "reference", - "target": 913, - "name": "SoftDeletableEntity" + "target": 703, + "name": "UpdateTaxLineDTO", + "package": "@medusajs/types" } ] }, { - "id": 913, - "name": "SoftDeletableEntity", + "id": 723, + "name": "CreateLineItemTaxLineDTO", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The line item tax line to be created." + } + ] + }, "children": [ { - "id": 915, - "name": "id", + "id": 724, + "name": "description", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the tax line." + } + ] + }, "type": { "type": "intrinsic", "name": "string" }, "inheritedFrom": { "type": "reference", - "target": 910, - "name": "BaseEntity.id" + "target": 698, + "name": "CreateTaxLineDTO.description" } }, { - "id": 916, - "name": "created_at", + "id": 725, + "name": "tax_rate_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated tax rate's ID." + } + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "type": "intrinsic", + "name": "string" }, "inheritedFrom": { "type": "reference", - "target": 911, - "name": "BaseEntity.created_at" + "target": 699, + "name": "CreateTaxLineDTO.tax_rate_id" } }, { - "id": 917, - "name": "updated_at", + "id": 726, + "name": "code", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the tax line." + } + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "type": "intrinsic", + "name": "string" }, "inheritedFrom": { "type": "reference", - "target": 912, - "name": "BaseEntity.updated_at" + "target": 700, + "name": "CreateTaxLineDTO.code" } }, { - "id": 914, - "name": "deleted_at", + "id": 727, + "name": "rate", "variant": "declaration", "kind": 1024, "flags": {}, - "type": { - "type": "union", - "types": [ + "comment": { + "summary": [ { - "type": "literal", - "value": null - }, + "kind": "text", + "text": "The rate of the tax line." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 701, + "name": "CreateTaxLineDTO.rate" + } + }, + { + "id": 728, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "kind": "text", + "text": "The associated provider's ID." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 702, + "name": "CreateTaxLineDTO.provider_id" } } ], @@ -18502,165 +19373,26 @@ { "title": "Properties", "children": [ - 915, - 916, - 917, - 914 + 724, + 725, + 726, + 727, + 728 ] } ], "extendedTypes": [ { "type": "reference", - "target": 909, - "name": "BaseEntity", + "target": 697, + "name": "CreateTaxLineDTO", "package": "@medusajs/types" } ] }, { - "id": 918, - "name": "Writable", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ - { - "id": 919, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "type": { - "type": "mapped", - "parameter": "key", - "parameterType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "target": 919, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - "templateType": { - "type": "union", - "types": [ - { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "key" - }, - "name": "key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 919, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/find-options/FindOperator.d.ts", - "qualifiedName": "FindOperator" - }, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "key" - }, - "name": "key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 919, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - } - ], - "name": "FindOperator", - "package": "typeorm" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/find-options/FindOperator.d.ts", - "qualifiedName": "FindOperator" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "key" - }, - "name": "key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 919, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - } - } - ], - "name": "FindOperator", - "package": "typeorm" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/find-options/FindOperator.d.ts", - "qualifiedName": "FindOperator" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ], - "name": "FindOperator", - "package": "typeorm" - } - ] - }, - "readonlyModifier": "-" - } - }, - { - "id": 920, - "name": "FindConfig", + "id": 729, + "name": "UpdateLineItemTaxLineDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -18668,63 +19400,38 @@ "summary": [ { "kind": "text", - "text": "An object that is used to configure how an entity is retrieved from the database. It accepts as a typed parameter an " - }, - { - "kind": "code", - "text": "`Entity`" - }, - { - "kind": "text", - "text": " class,\nwhich provides correct typing of field names in its properties." + "text": "The attributes to update in the line item tax line." } ] }, "children": [ { - "id": 921, - "name": "select", + "id": 730, + "name": "id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An array of strings, each being attribute names of the entity to retrieve in the result." + "text": "The ID of the tax line." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "target": 930, - "name": "Entity", - "package": "@medusajs/types", - "qualifiedName": "FindConfig.Entity", - "refersToTypeParameter": true - } - } - ] - } + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 704, + "name": "UpdateTaxLineDTO.id" } }, { - "id": 922, - "name": "skip", + "id": 731, + "name": "description", "variant": "declaration", "kind": 1024, "flags": { @@ -18734,27 +19441,23 @@ "summary": [ { "kind": "text", - "text": "A number indicating the number of records to skip before retrieving the results." + "text": "The description of the tax line." } ] }, "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 705, + "name": "UpdateTaxLineDTO.description" } }, { - "id": 923, - "name": "take", + "id": 732, + "name": "tax_rate_id", "variant": "declaration", "kind": 1024, "flags": { @@ -18764,27 +19467,23 @@ "summary": [ { "kind": "text", - "text": "A number indicating the number of records to return in the result." + "text": "The associated tax rate's ID." } ] }, "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 706, + "name": "UpdateTaxLineDTO.tax_rate_id" } }, { - "id": 924, - "name": "relations", + "id": 733, + "name": "code", "variant": "declaration", "kind": 1024, "flags": { @@ -18794,21 +19493,23 @@ "summary": [ { "kind": "text", - "text": "An array of strings, each being relation names of the entity to retrieve in the result." + "text": "The code of the tax line." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 707, + "name": "UpdateTaxLineDTO.code" } }, { - "id": 925, - "name": "order", + "id": 734, + "name": "rate", "variant": "declaration", "kind": 1024, "flags": { @@ -18818,73 +19519,23 @@ "summary": [ { "kind": "text", - "text": "An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be " - }, - { - "kind": "code", - "text": "`ASC`" - }, - { - "kind": "text", - "text": "\nto sort retrieved records in an ascending order, or " - }, - { - "kind": "code", - "text": "`DESC`" - }, - { - "kind": "text", - "text": " to sort retrieved records in a descending order." + "text": "The rate of the tax line." } ] }, "type": { - "type": "reflection", - "declaration": { - "id": 926, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "indexSignature": { - "id": 927, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "parameters": [ - { - "id": 928, - "name": "K", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "ASC" - }, - { - "type": "literal", - "value": "DESC" - } - ] - } - } - } + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 708, + "name": "UpdateTaxLineDTO.rate" } }, { - "id": 929, - "name": "withDeleted", + "id": 735, + "name": "provider_id", "variant": "declaration", "kind": 1024, "flags": { @@ -18894,21 +19545,18 @@ "summary": [ { "kind": "text", - "text": "A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the\n" - }, - { - "kind": "code", - "text": "`SoftDeletableEntity`" - }, - { - "kind": "text", - "text": " class." + "text": "The associated provider's ID." } ] }, "type": { "type": "intrinsic", - "name": "boolean" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 709, + "name": "UpdateTaxLineDTO.provider_id" } } ], @@ -18916,918 +19564,566 @@ { "title": "Properties", "children": [ - 921, - 922, - 923, - 924, - 925, - 929 + 730, + 731, + 732, + 733, + 734, + 735 ] } ], - "typeParameters": [ + "extendedTypes": [ { - "id": 930, - "name": "Entity", - "variant": "typeParam", - "kind": 131072, - "flags": {} + "type": "reference", + "target": 703, + "name": "UpdateTaxLineDTO", + "package": "@medusajs/types" } ] }, { - "id": 931, - "name": "ExtendedFindConfig", + "id": 736, + "name": "CreateLineItemDTO", "variant": "declaration", - "kind": 2097152, + "kind": 256, "flags": {}, - "typeParameters": [ - { - "id": 939, - "name": "TEntity", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "type": { - "type": "intersection", - "types": [ + "comment": { + "summary": [ { - "type": "union", - "types": [ + "kind": "text", + "text": "The line item to be created." + } + ] + }, + "children": [ + { + "id": 737, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/find-options/FindOneOptions.d.ts", - "qualifiedName": "FindOneOptions" - }, - "typeArguments": [ - { - "type": "reference", - "target": 939, - "name": "TEntity", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "FindOneOptions", - "package": "typeorm" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "where" - }, - { - "type": "literal", - "value": "relations" - }, - { - "type": "literal", - "value": "select" - } - ] - } - ], - "name": "Omit", - "package": "typescript" - }, + "kind": "text", + "text": "The title of the line item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 738, + "name": "subtitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/find-options/FindManyOptions.d.ts", - "qualifiedName": "FindManyOptions" - }, - "typeArguments": [ - { - "type": "reference", - "target": 939, - "name": "TEntity", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "FindManyOptions", - "package": "typeorm" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "where" - }, - { - "type": "literal", - "value": "relations" - }, - { - "type": "literal", - "value": "select" - } - ] - } - ], - "name": "Omit", - "package": "typescript" + "kind": "text", + "text": "The subtitle of the line item." } ] }, - { - "type": "reflection", - "declaration": { - "id": 932, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 933, - "name": "select", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/find-options/FindOptionsSelect.d.ts", - "qualifiedName": "FindOptionsSelect" - }, - "typeArguments": [ - { - "type": "reference", - "target": 939, - "name": "TEntity", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "FindOptionsSelect", - "package": "typeorm" - } - }, - { - "id": 934, - "name": "relations", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/find-options/FindOptionsRelations.d.ts", - "qualifiedName": "FindOptionsRelations" - }, - "typeArguments": [ - { - "type": "reference", - "target": 939, - "name": "TEntity", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "FindOptionsRelations", - "package": "typeorm" - } - }, - { - "id": 935, - "name": "where", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/find-options/FindOptionsWhere.d.ts", - "qualifiedName": "FindOptionsWhere" - }, - "typeArguments": [ - { - "type": "reference", - "target": 939, - "name": "TEntity", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "FindOptionsWhere", - "package": "typeorm" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/find-options/FindOptionsWhere.d.ts", - "qualifiedName": "FindOptionsWhere" - }, - "typeArguments": [ - { - "type": "reference", - "target": 939, - "name": "TEntity", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "FindOptionsWhere", - "package": "typeorm" - } - } - ] - } - }, - { - "id": 936, - "name": "order", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/find-options/FindOptionsOrder.d.ts", - "qualifiedName": "FindOptionsOrder" - }, - "typeArguments": [ - { - "type": "reference", - "target": 939, - "name": "TEntity", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "FindOptionsOrder", - "package": "typeorm" - } - }, - { - "id": 937, - "name": "skip", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 938, - "name": "take", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 933, - 934, - 935, - 936, - 937, - 938 - ] - } - ] - } + "type": { + "type": "intrinsic", + "name": "string" } - ] - } - }, - { - "id": 940, - "name": "QuerySelector", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ + }, { - "id": 943, - "name": "TEntity", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": 948, - "typeArguments": [ + "id": 739, + "name": "thumbnail", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "reference", - "target": 943, - "name": "TEntity", - "package": "@medusajs/types", - "refersToTypeParameter": true + "kind": "text", + "text": "The thumbnail of the line item." } - ], - "name": "Selector", - "package": "@medusajs/types" + ] }, - { - "type": "reflection", - "declaration": { - "id": 941, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 942, - "name": "q", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 942 - ] - } - ] - } + "type": { + "type": "intrinsic", + "name": "string" } - ] - } - }, - { - "id": 944, - "name": "TreeQuerySelector", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ + }, { - "id": 947, - "name": "TEntity", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": 940, - "typeArguments": [ + "id": 740, + "name": "cart_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "reference", - "target": 947, - "name": "TEntity", - "package": "@medusajs/types", - "refersToTypeParameter": true + "kind": "text", + "text": "The associated cart's ID." } - ], - "name": "QuerySelector", - "package": "@medusajs/types" + ] }, - { - "type": "reflection", - "declaration": { - "id": 945, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 946, - "name": "include_descendants_tree", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 946 - ] - } - ] - } + "type": { + "type": "intrinsic", + "name": "string" } - ] - } - }, - { - "id": 948, - "name": "Selector", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ + }, { - "id": 949, - "name": "TEntity", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "type": { - "type": "mapped", - "parameter": "key", - "parameterType": { - "type": "typeOperator", - "operator": "keyof", - "target": { + "id": 741, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The quantity of the line item in the cart." + } + ] + }, + "type": { "type": "reference", - "target": 949, - "name": "TEntity", - "package": "@medusajs/types", - "refersToTypeParameter": true + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" } }, - "templateType": { - "type": "union", - "types": [ - { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "key" - }, - "name": "key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 949, - "name": "TEntity", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "key" - }, - "name": "key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 949, - "name": "TEntity", - "package": "@medusajs/types", - "refersToTypeParameter": true - } + { + "id": 742, + "name": "product_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated product's ID." } - }, - { - "type": "reference", - "target": 987, - "name": "DateComparisonOperator", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 992, - "name": "StringComparisonOperator", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1000, - "name": "NumericalComparisonOperator", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/find-options/FindOperator.d.ts", - "qualifiedName": "FindOperator" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "key" - }, - "name": "key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 949, - "name": "TEntity", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - } - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - ], - "name": "FindOperator", - "package": "typeorm" - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, - "optionalModifier": "+" - } - }, - { - "id": 950, - "name": "TotalField", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "shipping_total" + { + "id": 743, + "name": "product_title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "type": "literal", - "value": "discount_total" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the associated product." + } + ] }, - { - "type": "literal", - "value": "tax_total" + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 744, + "name": "product_description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "type": "literal", - "value": "refunded_total" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the associated product." + } + ] }, - { - "type": "literal", - "value": "total" + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 745, + "name": "product_subtitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "type": "literal", - "value": "subtotal" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtitle of the associated product." + } + ] }, - { - "type": "literal", - "value": "refundable_amount" + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 746, + "name": "product_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "type": "literal", - "value": "gift_card_total" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the associated product." + } + ] }, - { - "type": "literal", - "value": "gift_card_tax_total" + "type": { + "type": "intrinsic", + "name": "string" } - ] - } - }, - { - "id": 951, - "name": "CustomFindOptions", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + }, { - "id": 952, - "name": "select", + "id": 747, + "name": "product_collection", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The collection of the associated product." + } + ] + }, "type": { - "type": "union", - "types": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 748, + "name": "product_handle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/find-options/FindOptionsSelect.d.ts", - "qualifiedName": "FindOptionsSelect" - }, - "typeArguments": [ - { - "type": "reference", - "target": 957, - "name": "TModel", - "package": "@medusajs/types", - "qualifiedName": "CustomFindOptions.TModel", - "refersToTypeParameter": true - } - ], - "name": "FindOptionsSelect", - "package": "typeorm" - }, + "kind": "text", + "text": "The handle of the associated product." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 749, + "name": "variant_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/find-options/FindOptionsSelect.d.ts", - "qualifiedName": "FindOptionsSelectByString" - }, - "typeArguments": [ - { - "type": "reference", - "target": 957, - "name": "TModel", - "package": "@medusajs/types", - "qualifiedName": "CustomFindOptions.TModel", - "refersToTypeParameter": true - } - ], - "name": "FindOptionsSelectByString", - "package": "typeorm" + "kind": "text", + "text": "The associated variant's ID." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 953, - "name": "where", + "id": 750, + "name": "variant_sku", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The SKU of the associated variant." + } + ] + }, "type": { - "type": "union", - "types": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 751, + "name": "variant_barcode", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/find-options/FindOptionsWhere.d.ts", - "qualifiedName": "FindOptionsWhere" - }, - "typeArguments": [ - { - "type": "reference", - "target": 957, - "name": "TModel", - "package": "@medusajs/types", - "qualifiedName": "CustomFindOptions.TModel", - "refersToTypeParameter": true - } - ], - "name": "FindOptionsWhere", - "package": "typeorm" - }, - { - "type": "mapped", - "parameter": "P", - "parameterType": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "symbol" - } - ] - }, - "templateType": { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "P" - }, - "name": "P", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 957, - "name": "TModel", - "package": "@medusajs/types", - "qualifiedName": "CustomFindOptions.TModel", - "refersToTypeParameter": true - } - } - }, - "optionalModifier": "+" - } - ] - }, + "kind": "text", + "text": "The barcode of the associated variant." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 752, + "name": "variant_title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "intersection", - "types": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/find-options/FindOptionsWhere.d.ts", - "qualifiedName": "FindOptionsWhere" - }, - "typeArguments": [ - { - "type": "reference", - "target": 957, - "name": "TModel", - "package": "@medusajs/types", - "qualifiedName": "CustomFindOptions.TModel", - "refersToTypeParameter": true - } - ], - "name": "FindOptionsWhere", - "package": "typeorm" - } - }, - { - "type": "mapped", - "parameter": "P", - "parameterType": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "symbol" - } - ] - }, - "templateType": { - "type": "array", - "elementType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "P" - }, - "name": "P", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 957, - "name": "TModel", - "package": "@medusajs/types", - "qualifiedName": "CustomFindOptions.TModel", - "refersToTypeParameter": true - } - } - }, - "optionalModifier": "+" - } - ] + "kind": "text", + "text": "The title of the associated variant." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 954, - "name": "order", + "id": 753, + "name": "variant_option_values", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The option values of the associated variant." + } + ] + }, "type": { "type": "reference", "target": { - "sourceFileName": "../../../node_modules/typeorm/find-options/OrderByCondition.d.ts", - "qualifiedName": "OrderByCondition" + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - "name": "OrderByCondition", - "package": "typeorm" + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } }, { - "id": 955, - "name": "skip", + "id": 754, + "name": "requires_shipping", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the line item requires shipping." + } + ] + }, "type": { "type": "intrinsic", - "name": "number" + "name": "boolean" } }, { - "id": 956, - "name": "take", + "id": 755, + "name": "is_discountable", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the line item is discountable." + } + ] + }, "type": { "type": "intrinsic", - "name": "number" + "name": "boolean" + } + }, + { + "id": 756, + "name": "is_tax_inclusive", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the line item's amount is tax inclusive." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 757, + "name": "compare_at_unit_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The calculated price of the line item after applying promotions." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 758, + "name": "unit_price", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unit price of the line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 759, + "name": "tax_lines", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax lines of the line item." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 697, + "name": "CreateTaxLineDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 760, + "name": "adjustments", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The adjustments of the line item." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 661, + "name": "CreateAdjustmentDTO", + "package": "@medusajs/types" + } } } ], @@ -19835,801 +20131,460 @@ { "title": "Properties", "children": [ - 952, - 953, - 954, - 955, - 956 + 737, + 738, + 739, + 740, + 741, + 742, + 743, + 744, + 745, + 746, + 747, + 748, + 749, + 750, + 751, + 752, + 753, + 754, + 755, + 756, + 757, + 758, + 759, + 760 ] } ], - "typeParameters": [ - { - "id": 957, - "name": "TModel", - "variant": "typeParam", - "kind": 131072, - "flags": {} - }, + "extendedBy": [ { - "id": 958, - "name": "InKeys", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "target": 957, - "name": "TModel", - "package": "@medusajs/types", - "qualifiedName": "CustomFindOptions.TModel", - "refersToTypeParameter": true - } - } + "type": "reference", + "target": 761, + "name": "CreateLineItemForCartDTO" } ] }, { - "id": 959, - "name": "QueryConfig", + "id": 761, + "name": "CreateLineItemForCartDTO", "variant": "declaration", - "kind": 2097152, + "kind": 256, "flags": {}, - "typeParameters": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "The line item to be created in a cart." + } + ] + }, + "children": [ { - "id": 967, - "name": "TEntity", - "variant": "typeParam", - "kind": 131072, + "id": 763, + "name": "title", + "variant": "declaration", + "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the line item." + } + ] + }, "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { "type": "reference", - "target": 909, - "name": "BaseEntity", - "package": "@medusajs/types" + "target": 737, + "name": "CreateLineItemDTO.title" } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 960, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 961, - "name": "defaultFields", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "target": 967, - "name": "TEntity", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - }, - { - "id": 962, - "name": "defaultRelations", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 963, - "name": "allowedFields", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 964, - "name": "allowedRelations", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 965, - "name": "defaultLimit", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 966, - "name": "isList", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 961, - 962, - 963, - 964, - 965, - 966 - ] - } - ] - } - } - }, - { - "id": 968, - "name": "RequestQueryFields", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 969, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 970, - "name": "expand", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 971, - "name": "fields", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 972, - "name": "offset", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 973, - "name": "limit", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 974, - "name": "order", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 970, - 971, - 972, - 973, - 974 - ] - } - ] - } - } - }, - { - "id": 975, - "name": "PaginatedResponse", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 976, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 977, - "name": "limit", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 978, - "name": "offset", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 979, - "name": "count", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 977, - 978, - 979 - ] - } - ] - } - } - }, - { - "id": 980, - "name": "DeleteResponse", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The fields returned in the response of a DELETE request." - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 981, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 982, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the item that was deleted." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 983, - "name": "object", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The type of the item that was deleted." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 984, - "name": "deleted", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether the item was deleted successfully." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 982, - 983, - 984 - ] - } - ] - } - } - }, - { - "id": 985, - "name": "EmptyQueryParams", - "variant": "declaration", - "kind": 256, - "flags": {} - }, - { - "id": 986, - "name": "RepositoryTransformOptions", - "variant": "declaration", - "kind": 256, - "flags": {}, - "extendedBy": [ - { - "type": "reference", - "target": 3505, - "name": "ProductCategoryTransformOptions" - } - ] - }, - { - "id": 987, - "name": "DateComparisonOperator", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 988, - "name": "lt", + }, + { + "id": 764, + "name": "subtitle", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtitle of the line item." + } + ] + }, "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "target": 738, + "name": "CreateLineItemDTO.subtitle" } }, { - "id": 989, - "name": "gt", + "id": 765, + "name": "thumbnail", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The thumbnail of the line item." + } + ] + }, "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "target": 739, + "name": "CreateLineItemDTO.thumbnail" } }, { - "id": 990, - "name": "gte", + "id": 766, + "name": "quantity", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The quantity of the line item in the cart." + } + ] }, "type": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - }, - { - "id": 991, - "name": "lte", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" }, - "type": { + "inheritedFrom": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "target": 741, + "name": "CreateLineItemDTO.quantity" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 988, - 989, - 990, - 991 - ] - } - ] - }, - { - "id": 992, - "name": "StringComparisonOperator", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + }, { - "id": 993, - "name": "lt", + "id": 767, + "name": "product_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated product's ID." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 742, + "name": "CreateLineItemDTO.product_id" } }, { - "id": 994, - "name": "gt", + "id": 768, + "name": "product_title", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the associated product." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 743, + "name": "CreateLineItemDTO.product_title" } }, { - "id": 995, - "name": "gte", + "id": 769, + "name": "product_description", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the associated product." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 744, + "name": "CreateLineItemDTO.product_description" } }, { - "id": 996, - "name": "lte", + "id": 770, + "name": "product_subtitle", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtitle of the associated product." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 745, + "name": "CreateLineItemDTO.product_subtitle" } }, { - "id": 997, - "name": "contains", + "id": 771, + "name": "product_type", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the associated product." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 746, + "name": "CreateLineItemDTO.product_type" } }, { - "id": 998, - "name": "starts_with", + "id": 772, + "name": "product_collection", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The collection of the associated product." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 747, + "name": "CreateLineItemDTO.product_collection" } }, { - "id": 999, - "name": "ends_with", + "id": 773, + "name": "product_handle", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The handle of the associated product." + } + ] + }, "type": { "type": "intrinsic", "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 993, - 994, - 995, - 996, - 997, - 998, - 999 - ] - } - ] - }, - { - "id": 1000, - "name": "NumericalComparisonOperator", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 1001, - "name": "lt", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "number" + "inheritedFrom": { + "type": "reference", + "target": 748, + "name": "CreateLineItemDTO.product_handle" } }, { - "id": 1002, - "name": "gt", + "id": 774, + "name": "variant_id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1003, - "name": "gte", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated variant's ID." + } + ] }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 749, + "name": "CreateLineItemDTO.variant_id" } }, { - "id": 1004, - "name": "lte", + "id": 775, + "name": "variant_sku", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1001, - 1002, - 1003, - 1004 - ] - } - ] - }, - { - "id": 1005, - "name": "AddressPayload", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 1006, - "name": "first_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "The SKU of the associated variant." + } + ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 750, + "name": "CreateLineItemDTO.variant_sku" } }, { - "id": 1007, - "name": "last_name", + "id": 776, + "name": "variant_barcode", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The barcode of the associated variant." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 751, + "name": "CreateLineItemDTO.variant_barcode" } }, { - "id": 1008, - "name": "phone", + "id": 777, + "name": "variant_title", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the associated variant." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 752, + "name": "CreateLineItemDTO.variant_title" } }, { - "id": 1009, - "name": "metadata", + "id": 778, + "name": "variant_option_values", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The option values of the associated variant." + } + ] + }, "type": { "type": "reference", "target": { @@ -20648,97 +20603,229 @@ ], "name": "Record", "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 753, + "name": "CreateLineItemDTO.variant_option_values" } }, { - "id": 1010, - "name": "company", + "id": 779, + "name": "requires_shipping", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the line item requires shipping." + } + ] + }, "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 754, + "name": "CreateLineItemDTO.requires_shipping" } }, { - "id": 1011, - "name": "address_1", + "id": 780, + "name": "is_discountable", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the line item is discountable." + } + ] + }, "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 755, + "name": "CreateLineItemDTO.is_discountable" } }, { - "id": 1012, - "name": "address_2", + "id": 781, + "name": "is_tax_inclusive", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the line item's amount is tax inclusive." + } + ] + }, "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 756, + "name": "CreateLineItemDTO.is_tax_inclusive" } }, { - "id": 1013, - "name": "city", + "id": 782, + "name": "compare_at_unit_price", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The calculated price of the line item after applying promotions." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 757, + "name": "CreateLineItemDTO.compare_at_unit_price" } }, { - "id": 1014, - "name": "country_code", + "id": 783, + "name": "unit_price", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unit price of the line item." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 758, + "name": "CreateLineItemDTO.unit_price" } }, { - "id": 1015, - "name": "province", + "id": 784, + "name": "tax_lines", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax lines of the line item." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 697, + "name": "CreateTaxLineDTO", + "package": "@medusajs/types" + } + }, + "inheritedFrom": { + "type": "reference", + "target": 759, + "name": "CreateLineItemDTO.tax_lines" } }, { - "id": 1016, - "name": "postal_code", + "id": 785, + "name": "adjustments", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The adjustments of the line item." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 661, + "name": "CreateAdjustmentDTO", + "package": "@medusajs/types" + } + }, + "inheritedFrom": { + "type": "reference", + "target": 760, + "name": "CreateLineItemDTO.adjustments" + } + }, + { + "id": 762, + "name": "cart_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated cart's ID." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + }, + "overwrites": { + "type": "reference", + "target": 740, + "name": "CreateLineItemDTO.cart_id" } } ], @@ -20746,147 +20833,119 @@ { "title": "Properties", "children": [ - 1006, - 1007, - 1008, - 1009, - 1010, - 1011, - 1012, - 1013, - 1014, - 1015, - 1016 + 763, + 764, + 765, + 766, + 767, + 768, + 769, + 770, + 771, + 772, + 773, + 774, + 775, + 776, + 777, + 778, + 779, + 780, + 781, + 782, + 783, + 784, + 785, + 762 ] } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 736, + "name": "CreateLineItemDTO", + "package": "@medusajs/types" + } ] }, { - "id": 1017, - "name": "AddressCreatePayload", + "id": 786, + "name": "UpdateLineItemWithSelectorDTO", "variant": "declaration", "kind": 256, "flags": {}, - "children": [ - { - "id": 1018, - "name": "first_name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1019, - "name": "last_name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1020, - "name": "phone", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1021, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 1022, - "name": "company", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1023, - "name": "address_1", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1024, - "name": "address_2", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1025, - "name": "city", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1026, - "name": "country_code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "A pair of selectors and data, where the selectors determine which\nline items to update, and the data determines what to update\nin the line items." } - }, + ] + }, + "children": [ { - "id": 1027, - "name": "province", + "id": 787, + "name": "selector", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters to specify which line items to update." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 384, + "name": "CartLineItemDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" } }, { - "id": 1028, - "name": "postal_code", + "id": 788, + "name": "data", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the line items." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 792, + "name": "UpdateLineItemDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" } } ], @@ -20894,52 +20953,78 @@ { "title": "Properties", "children": [ - 1018, - 1019, - 1020, - 1021, - 1022, - 1023, - 1024, - 1025, - 1026, - 1027, - 1028 + 787, + 788 ] } ] }, { - "id": 1029, - "name": "FindParams", + "id": 789, + "name": "UpdateCartWithSelectorDTO", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A pair of selectors and data, where the selectors determine which\ncarts to update, and the data determines what to update\nin the carts." + } + ] + }, "children": [ { - "id": 1030, - "name": "expand", + "id": 790, + "name": "selector", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters to specify which carts to update." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 437, + "name": "CartDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" } }, { - "id": 1031, - "name": "fields", + "id": 791, + "name": "data", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the carts." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 638, + "name": "UpdateCartDataDTO", + "package": "@medusajs/types" } } ], @@ -20947,300 +21032,160 @@ { "title": "Properties", "children": [ - 1030, - 1031 + 790, + 791 ] } ] }, { - "id": 1032, - "name": "FindPaginationParams", + "id": 792, + "name": "UpdateLineItemDTO", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in a line item." + } + ] + }, "children": [ { - "id": 1033, - "name": "offset", + "id": 803, + "name": "subtitle", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtitle of the line item." + } + ] + }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.subtitle" } }, { - "id": 1034, - "name": "limit", + "id": 804, + "name": "thumbnail", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The thumbnail of the line item." + } + ] + }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.thumbnail" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1033, - 1034 - ] - } - ] - }, - { - "id": 1035, - "name": "Pluralize", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ + }, { - "id": 1036, - "name": "Singular", - "variant": "typeParam", - "kind": 131072, - "flags": {}, + "id": 800, + "name": "cart_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated cart's ID." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.cart_id" } - } - ], - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": 1036, - "name": "Singular", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "templateLiteral", - "head": "", - "tail": [ - [ - { - "type": "inferred", - "name": "R" - }, - "y" - ] - ] }, - "trueType": { - "type": "templateLiteral", - "head": "", - "tail": [ - [ + { + "id": 802, + "name": "product_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "R" - }, - "name": "R", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "ies" + "kind": "text", + "text": "The associated product's ID." + } ] - ] - }, - "falseType": { - "type": "conditional", - "checkType": { + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { "type": "reference", - "target": 1036, - "name": "Singular", - "package": "@medusajs/types", - "refersToTypeParameter": true + "target": -1, + "name": "Omit.product_id" + } + }, + { + "id": 805, + "name": "product_title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - "extendsType": { - "type": "templateLiteral", - "head": "", - "tail": [ - [ - { - "type": "inferred", - "name": "R" - }, - "es" - ] + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the associated product." + } ] }, - "trueType": { - "type": "templateLiteral", - "head": "", - "tail": [ - [ - { - "type": "reference", - "target": 1036, - "name": "Singular", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "" - ] - ] + "type": { + "type": "intrinsic", + "name": "string" }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": 1036, - "name": "Singular", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "union", - "types": [ - { - "type": "templateLiteral", - "head": "", - "tail": [ - [ - { - "type": "inferred", - "name": "R" - }, - "ss" - ] - ] - }, - { - "type": "templateLiteral", - "head": "", - "tail": [ - [ - { - "type": "inferred", - "name": "R" - }, - "sh" - ] - ] - }, - { - "type": "templateLiteral", - "head": "", - "tail": [ - [ - { - "type": "inferred", - "name": "R" - }, - "ch" - ] - ] - }, - { - "type": "templateLiteral", - "head": "", - "tail": [ - [ - { - "type": "inferred", - "name": "R" - }, - "x" - ] - ] - }, - { - "type": "templateLiteral", - "head": "", - "tail": [ - [ - { - "type": "inferred", - "name": "R" - }, - "z" - ] - ] - }, - { - "type": "templateLiteral", - "head": "", - "tail": [ - [ - { - "type": "inferred", - "name": "R" - }, - "o" - ] - ] - } - ] - }, - "trueType": { - "type": "templateLiteral", - "head": "", - "tail": [ - [ - { - "type": "reference", - "target": 1036, - "name": "Singular", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "es" - ] - ] - }, - "falseType": { - "type": "templateLiteral", - "head": "", - "tail": [ - [ - { - "type": "reference", - "target": 1036, - "name": "Singular", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "s" - ] - ] - } - } - } - } - }, - { - "id": 1037, - "name": "HttpCompressionOptions", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "HTTP compression configurations." + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.product_title" } - ] - }, - "children": [ + }, { - "id": 1038, - "name": "enabled", + "id": 806, + "name": "product_description", "variant": "declaration", "kind": 1024, "flags": { @@ -21250,26 +21195,23 @@ "summary": [ { "kind": "text", - "text": "Whether HTTP compression is enabled. By default, it's " - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": "." + "text": "The description of the associated product." } ] }, "type": { "type": "intrinsic", - "name": "boolean" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.product_description" } }, { - "id": 1039, - "name": "level", + "id": 807, + "name": "product_subtitle", "variant": "declaration", "kind": 1024, "flags": { @@ -21279,26 +21221,23 @@ "summary": [ { "kind": "text", - "text": "The level of zlib compression to apply to responses. A higher level will result in better compression but will take longer to complete. \nA lower level will result in less compression but will be much faster. The default value is " - }, - { - "kind": "code", - "text": "`6`" - }, - { - "kind": "text", - "text": "." + "text": "The subtitle of the associated product." } ] }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.product_subtitle" } }, { - "id": 1040, - "name": "memLevel", + "id": 808, + "name": "product_type", "variant": "declaration", "kind": 1024, "flags": { @@ -21308,26 +21247,23 @@ "summary": [ { "kind": "text", - "text": "How much memory should be allocated to the internal compression state. It's an integer in the range of 1 (minimum level) and 9 (maximum level). \nThe default value is " - }, - { - "kind": "code", - "text": "`8`" - }, - { - "kind": "text", - "text": "." + "text": "The type of the associated product." } ] }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.product_type" } }, { - "id": 1041, - "name": "threshold", + "id": 809, + "name": "product_collection", "variant": "declaration", "kind": 1024, "flags": { @@ -21337,63 +21273,49 @@ "summary": [ { "kind": "text", - "text": "The minimum response body size that compression is applied on. Its value can be the number of bytes or any string accepted by the \n[bytes](https://www.npmjs.com/package/bytes) module. The default value is " - }, - { - "kind": "code", - "text": "`1024`" - }, - { - "kind": "text", - "text": "." + "text": "The collection of the associated product." } ] }, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.product_collection" + } + }, + { + "id": 810, + "name": "product_handle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "number" + "kind": "text", + "text": "The handle of the associated product." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.product_handle" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1038, - 1039, - 1040, - 1041 - ] - } - ] - }, - { - "id": 1042, - "name": "ProjectConfigOptions", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Essential configurations related to the Medusa backend, such as database and CORS configurations." - } - ] - }, - "children": [ + }, { - "id": 1043, - "name": "store_cors", + "id": 801, + "name": "variant_id", "variant": "declaration", "kind": 1024, "flags": { @@ -21403,105 +21325,23 @@ "summary": [ { "kind": "text", - "text": "The Medusa backend’s API Routes are protected by Cross-Origin Resource Sharing (CORS). So, only allowed URLs or URLs matching a specified pattern can send requests to the backend’s API Routes.\n\n" - }, - { - "kind": "code", - "text": "`store_cors`" - }, - { - "kind": "text", - "text": " is a string used to specify the accepted URLs or patterns for store API Routes. It can either be one accepted origin, or a comma-separated list of accepted origins. \n\nEvery origin in that list must either be:\n\n1. A URL. For example, " - }, - { - "kind": "code", - "text": "`http://localhost:8000`" - }, - { - "kind": "text", - "text": ". The URL must not end with a backslash;\n2. Or a regular expression pattern that can match more than one origin. For example, " - }, - { - "kind": "code", - "text": "`.example.com`" - }, - { - "kind": "text", - "text": ". The regex pattern that the backend tests for is " - }, - { - "kind": "code", - "text": "`^([/~@;%#'])(.*?)\\1([gimsuy]*)$`" - }, - { - "kind": "text", - "text": "." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "Some example values of common use cases:\n\n" - }, - { - "kind": "code", - "text": "```bash\n# Allow different ports locally starting with 800\nSTORE_CORS=/http://localhost:800\\d+$/\n\n# Allow any origin ending with vercel.app. For example, storefront.vercel.app\nSTORE_CORS=/vercel\\.app$/\n\n# Allow all HTTP requests\nSTORE_CORS=/http://.+/\n```" - }, - { - "kind": "text", - "text": "\n\nThen, set the configuration in " - }, - { - "kind": "code", - "text": "`medusa-config.js`" - }, - { - "kind": "text", - "text": ":\n\n" - }, - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n store_cors: process.env.STORE_CORS,\n // ...\n },\n // ...\n}\n```" - }, - { - "kind": "text", - "text": "\n\nIf you’re adding the value directly within " - }, - { - "kind": "code", - "text": "`medusa-config.js`" - }, - { - "kind": "text", - "text": ", make sure to add an extra escaping " - }, - { - "kind": "code", - "text": "`/`" - }, - { - "kind": "text", - "text": " for every backslash in the pattern. For example:\n\n" - }, - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n store_cors: \"/vercel\\\\.app$/\",\n // ...\n },\n // ...\n}\n```" - } - ] + "text": "The associated variant's ID." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.variant_id" } }, { - "id": 1044, - "name": "admin_cors", + "id": 811, + "name": "variant_sku", "variant": "declaration", "kind": 1024, "flags": { @@ -21511,105 +21351,23 @@ "summary": [ { "kind": "text", - "text": "The Medusa backend’s API Routes are protected by Cross-Origin Resource Sharing (CORS). So, only allowed URLs or URLs matching a specified pattern can send requests to the backend’s API Routes.\n\n" - }, - { - "kind": "code", - "text": "`admin_cors`" - }, - { - "kind": "text", - "text": " is a string used to specify the accepted URLs or patterns for admin API Routes. It can either be one accepted origin, or a comma-separated list of accepted origins. \n\nEvery origin in that list must either be:\n\n1. A URL. For example, " - }, - { - "kind": "code", - "text": "`http://localhost:7001`" - }, - { - "kind": "text", - "text": ". The URL must not end with a backslash;\n2. Or a regular expression pattern that can match more than one origin. For example, " - }, - { - "kind": "code", - "text": "`.example.com`" - }, - { - "kind": "text", - "text": ". The regex pattern that the backend tests for is " - }, - { - "kind": "code", - "text": "`^([/~@;%#'])(.*?)\\1([gimsuy]*)$`" - }, - { - "kind": "text", - "text": "." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "Some example values of common use cases:\n\n" - }, - { - "kind": "code", - "text": "```bash\n# Allow different ports locally starting with 700\nADMIN_CORS=/http://localhost:700\\d+$/\n\n# Allow any origin ending with vercel.app. For example, admin.vercel.app\nADMIN_CORS=/vercel\\.app$/\n\n# Allow all HTTP requests\nADMIN_CORS=/http://.+/\n```" - }, - { - "kind": "text", - "text": "\n\nThen, set the configuration in " - }, - { - "kind": "code", - "text": "`medusa-config.js`" - }, - { - "kind": "text", - "text": ":\n\n" - }, - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n admin_cors: process.env.ADMIN_CORS,\n // ...\n },\n // ...\n}\n```" - }, - { - "kind": "text", - "text": "\n\nIf you’re adding the value directly within " - }, - { - "kind": "code", - "text": "`medusa-config.js`" - }, - { - "kind": "text", - "text": ", make sure to add an extra escaping " - }, - { - "kind": "code", - "text": "`/`" - }, - { - "kind": "text", - "text": " for every backslash in the pattern. For example:\n\n" - }, - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n admin_cors: \"/http:\\\\/\\\\/localhost:700\\\\d+$/\",\n // ...\n },\n // ...\n}\n```" - } - ] + "text": "The SKU of the associated variant." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.variant_sku" } }, { - "id": 1045, - "name": "cookie_secret", + "id": 812, + "name": "variant_barcode", "variant": "declaration", "kind": 1024, "flags": { @@ -21619,37 +21377,23 @@ "summary": [ { "kind": "text", - "text": "A random string used to create cookie tokens. Although this configuration option is not required, it’s highly recommended to set it for better security.\n\nIn a development environment, if this option is not set, the default secret is " - }, - { - "kind": "code", - "text": "`supersecret`" - }, - { - "kind": "text", - "text": " However, in production, if this configuration is not set, an error is thrown and \nthe backend crashes." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n cookie_secret: process.env.COOKIE_SECRET ||\n \"supersecret\",\n // ...\n },\n // ...\n}\n```" - } - ] + "text": "The barcode of the associated variant." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.variant_barcode" } }, { - "id": 1046, - "name": "jwt_secret", + "id": 813, + "name": "variant_title", "variant": "declaration", "kind": 1024, "flags": { @@ -21659,37 +21403,23 @@ "summary": [ { "kind": "text", - "text": "A random string used to create authentication tokens. Although this configuration option is not required, it’s highly recommended to set it for better security.\n\nIn a development environment, if this option is not set the default secret is " - }, - { - "kind": "code", - "text": "`supersecret`" - }, - { - "kind": "text", - "text": " However, in production, if this configuration is not set an error, an\nerror is thrown and the backend crashes." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n jwt_secret: process.env.JWT_SECRET ||\n \"supersecret\",\n // ...\n },\n // ...\n}\n```" - } - ] + "text": "The title of the associated variant." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.variant_title" } }, { - "id": 1047, - "name": "database_database", + "id": 814, + "name": "variant_option_values", "variant": "declaration", "kind": 1024, "flags": { @@ -21699,37 +21429,64 @@ "summary": [ { "kind": "text", - "text": "The name of the database to connect to. If specified in " - }, + "text": "The option values of the associated variant." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ { - "kind": "code", - "text": "`database_url`" + "type": "intrinsic", + "name": "string" }, { - "kind": "text", - "text": ", then it’s not required to include it.\n\nMake sure to create the PostgreSQL database before using it. You can check how to create a database in \n[PostgreSQL's documentation](https://www.postgresql.org/docs/current/sql-createdatabase.html)." + "type": "intrinsic", + "name": "unknown" } ], - "blockTags": [ + "name": "Record", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.variant_option_values" + } + }, + { + "id": 815, + "name": "requires_shipping", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n database_database: process.env.DATABASE_DATABASE || \n \"medusa-store\",\n // ...\n },\n // ...\n}\n```" - } - ] + "kind": "text", + "text": "Whether the line item requires shipping." } ] }, "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.requires_shipping" } }, { - "id": 1048, - "name": "database_url", + "id": 816, + "name": "is_discountable", "variant": "declaration", "kind": 1024, "flags": { @@ -21739,126 +21496,85 @@ "summary": [ { "kind": "text", - "text": "The connection URL of the database. The format of the connection URL for PostgreSQL is:\n\n" - }, - { - "kind": "code", - "text": "```bash\npostgres://[user][:password]@[host][:port]/[dbname]\n```" - }, - { - "kind": "text", - "text": "\n\nWhere:\n\n- " - }, - { - "kind": "code", - "text": "`[user]`" - }, - { - "kind": "text", - "text": ": (required) your PostgreSQL username. If not specified, the system's username is used by default. The database user that you use must have create privileges. If you're using the " - }, - { - "kind": "code", - "text": "`postgres`" - }, - { - "kind": "text", - "text": " superuser, then it should have these privileges by default. Otherwise, make sure to grant your user create privileges. You can learn how to do that in [PostgreSQL's documentation](https://www.postgresql.org/docs/current/ddl-priv.html).\n- " - }, - { - "kind": "code", - "text": "`[:password]`" - }, - { - "kind": "text", - "text": ": an optional password for the user. When provided, make sure to put " - }, - { - "kind": "code", - "text": "`:`" - }, - { - "kind": "text", - "text": " before the password.\n- " - }, - { - "kind": "code", - "text": "`[host]`" - }, - { - "kind": "text", - "text": ": (required) your PostgreSQL host. When run locally, it should be " - }, - { - "kind": "code", - "text": "`localhost`" - }, - { - "kind": "text", - "text": ".\n- " - }, - { - "kind": "code", - "text": "`[:post]`" - }, - { - "kind": "text", - "text": ": an optional port that the PostgreSQL server is listening on. By default, it's " - }, - { - "kind": "code", - "text": "`5432`" - }, - { - "kind": "text", - "text": ". When provided, make sure to put " - }, - { - "kind": "code", - "text": "`:`" - }, + "text": "Whether the line item is discountable." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.is_discountable" + } + }, + { + "id": 817, + "name": "is_tax_inclusive", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { "kind": "text", - "text": " before the port.\n- " - }, - { - "kind": "code", - "text": "`[dbname]`" - }, + "text": "Whether the line item's amount is tax inclusive." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.is_tax_inclusive" + } + }, + { + "id": 818, + "name": "compare_at_unit_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { "kind": "text", - "text": ": (required) the name of the database.\n\nYou can learn more about the connection URL format in [PostgreSQL’s documentation](https://www.postgresql.org/docs/current/libpq-connect.html)." + "text": "The calculated price of the line item after applying promotions." } - ], - "blockTags": [ + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.compare_at_unit_price" + } + }, + { + "id": 793, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "For example, set the following database URL in your environment variables:\n\n" - }, - { - "kind": "code", - "text": "```bash\nDATABASE_URL=postgres://postgres@localhost/medusa-store\n```" - }, - { - "kind": "text", - "text": "\n\nThen, use the value in " - }, - { - "kind": "code", - "text": "`medusa-config.js`" - }, - { - "kind": "text", - "text": ":\n\n" - }, - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n database_url: process.env.DATABASE_URL,\n // ...\n },\n // ...\n}\n```" - } - ] + "kind": "text", + "text": "The ID of the line item." } ] }, @@ -21868,8 +21584,8 @@ } }, { - "id": 1049, - "name": "database_schema", + "id": 794, + "name": "title", "variant": "declaration", "kind": 1024, "flags": { @@ -21879,19 +21595,7 @@ "summary": [ { "kind": "text", - "text": "The database schema to connect to. This is not required to provide if you’re using the default schema, which is " - }, - { - "kind": "code", - "text": "`public`" - }, - { - "kind": "text", - "text": ".\n\n" - }, - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n database_schema: process.env.DATABASE_SCHEMA || \n \"custom\",\n // ...\n },\n // ...\n}\n```" + "text": "The title of the line item." } ] }, @@ -21901,115 +21605,31 @@ } }, { - "id": 1050, - "name": "database_logging", + "id": 795, + "name": "quantity", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "This configuration specifies what database messages to log. Its value can be one of the following:\n\n- (default) A boolean value that indicates whether any messages should be logged.\n- The string value " - }, - { - "kind": "code", - "text": "`all`" - }, - { - "kind": "text", - "text": " that indicates all types of messages should be logged.\n- An array of log-level strings to indicate which type of messages to show in the logs. The strings can be " - }, - { - "kind": "code", - "text": "`query`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`schema`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`error`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`warn`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`info`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`log`" - }, - { - "kind": "text", - "text": ", or " - }, - { - "kind": "code", - "text": "`migration`" - }, - { - "kind": "text", - "text": ". Refer to [Typeorm’s documentation](https://typeorm.io/logging#logging-options) for more details on what each of these values means.\n\nIf this configuration isn't set, its default value is " - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": ", meaning no database messages are logged." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n database_logging: [\n \"query\", \"error\",\n ],\n // ...\n },\n // ...\n}\n```" - } - ] + "text": "The quantity of the line item in the cart." } ] }, "type": { "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/logger/LoggerOptions.d.ts", - "qualifiedName": "LoggerOptions" - }, - "name": "LoggerOptions", - "package": "typeorm" + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" } }, { - "id": 1052, - "name": "database_extra", + "id": 796, + "name": "unit_price", "variant": "declaration", "kind": 1024, "flags": { @@ -22019,56 +21639,40 @@ "summary": [ { "kind": "text", - "text": "An object that includes additional configurations to pass to the database connection. You can pass any configuration. One defined configuration to pass is \n" - }, - { - "kind": "code", - "text": "`ssl`" - }, - { - "kind": "text", - "text": " which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the " - }, - { - "kind": "code", - "text": "`rejectUnauthorized`" - }, - { - "kind": "text", - "text": " attribute of " - }, - { - "kind": "code", - "text": "`ssl`" - }, - { - "kind": "text", - "text": " object to " - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": ". \nDuring development, it’s recommended not to pass this option." + "text": "The unit price of the line item." } - ], - "blockTags": [ + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 797, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n database_extra: \n process.env.NODE_ENV !== \"development\"\n ? { ssl: { rejectUnauthorized: false } }\n : {},\n // ...\n },\n // ...\n}\n```" - } - ] + "kind": "text", + "text": "Holds custom data in key-value pairs." } ] }, "type": { - "type": "intersection", + "type": "union", "types": [ + { + "type": "literal", + "value": null + }, { "type": "reference", "target": { @@ -22087,87 +21691,13 @@ ], "name": "Record", "package": "typescript" - }, - { - "type": "reflection", - "declaration": { - "id": 1053, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1054, - "name": "ssl", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Configure support for TLS/SSL connection" - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1055, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1056, - "name": "rejectUnauthorized", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether to fail connection if the server certificate is verified against the list of supplied CAs and the hostname and no match is found." - } - ] - }, - "type": { - "type": "literal", - "value": false - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1056 - ] - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1054 - ] - } - ] - } } ] } }, { - "id": 1057, - "name": "redis_url", + "id": 798, + "name": "tax_lines", "variant": "declaration", "kind": 1024, "flags": { @@ -22177,45 +21707,37 @@ "summary": [ { "kind": "text", - "text": "Used to specify the URL to connect to Redis. This is only used for scheduled jobs. If you omit this configuration, scheduled jobs won't work.\n\n:::note\n\nYou must first have Redis installed. You can refer to [Redis's installation guide](https://redis.io/docs/getting-started/installation/).\n\n:::\n\nThe Redis connection URL has the following format:\n\n" - }, - { - "kind": "code", - "text": "```bash\nredis[s]://[[username][:password]@][host][:port][/db-number]\n```" - }, - { - "kind": "text", - "text": "\n\nFor a local Redis installation, the connection URL should be " - }, + "text": "The tax lines of the line item." + } + ] + }, + "type": { + "type": "union", + "types": [ { - "kind": "code", - "text": "`redis://localhost:6379`" + "type": "array", + "elementType": { + "type": "reference", + "target": 697, + "name": "CreateTaxLineDTO", + "package": "@medusajs/types" + } }, { - "kind": "text", - "text": " unless you’ve made any changes to the Redis configuration during installation." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n redis_url: process.env.REDIS_URL || \n \"redis://localhost:6379\",\n // ...\n },\n // ...\n}\n```" - } - ] + "type": "array", + "elementType": { + "type": "reference", + "target": 703, + "name": "UpdateTaxLineDTO", + "package": "@medusajs/types" + } } ] - }, - "type": { - "type": "intrinsic", - "name": "string" } }, { - "id": 1058, - "name": "redis_prefix", + "id": 799, + "name": "adjustments", "variant": "declaration", "kind": 1024, "flags": { @@ -22225,34 +21747,139 @@ "summary": [ { "kind": "text", - "text": "The prefix set on all keys stored in Redis. The default value is " - }, - { - "kind": "code", - "text": "`sess:`" - }, - { - "kind": "text", - "text": ". \n\nIf this configuration option is provided, it is prepended to " - }, + "text": "The adjustments of the line item." + } + ] + }, + "type": { + "type": "union", + "types": [ { - "kind": "code", - "text": "`sess:`" + "type": "array", + "elementType": { + "type": "reference", + "target": 661, + "name": "CreateAdjustmentDTO", + "package": "@medusajs/types" + } }, { - "kind": "text", - "text": "." + "type": "array", + "elementType": { + "type": "reference", + "target": 667, + "name": "UpdateAdjustmentDTO", + "package": "@medusajs/types" + } } - ], - "blockTags": [ + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 803, + 804, + 800, + 802, + 805, + 806, + 807, + 808, + 809, + 810, + 801, + 811, + 812, + 813, + 814, + 815, + 816, + 817, + 818, + 793, + 794, + 795, + 796, + 797, + 798, + 799 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 736, + "name": "CreateLineItemDTO", + "package": "@medusajs/types" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "tax_lines" + }, + { + "type": "literal", + "value": "adjustments" + }, + { + "type": "literal", + "value": "title" + }, + { + "type": "literal", + "value": "quantity" + }, + { + "type": "literal", + "value": "unit_price" + } + ] + } + ], + "name": "Omit", + "package": "typescript" + } + ] + }, + { + "id": 819, + "name": "CreateShippingMethodDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping method to be created." + } + ] + }, + "children": [ + { + "id": 820, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n redis_prefix: process.env.REDIS_PREFIX || \n \"medusa:\",\n // ...\n },\n // ...\n}\n```" - } - ] + "kind": "text", + "text": "The name of the shipping method." } ] }, @@ -22262,45 +21889,48 @@ } }, { - "id": 1059, - "name": "redis_options", + "id": 821, + "name": "cart_id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An object of options to pass ioredis. You can refer to [ioredis’s RedisOptions documentation](https://redis.github.io/ioredis/index.html#RedisOptions) \nfor the list of available options." + "text": "The associated cart's ID." } - ], - "blockTags": [ + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 822, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n redis_options: {\n connectionName: process.env.REDIS_CONNECTION_NAME || \n \"medusa\",\n },\n // ...\n },\n // ...\n}\n```" - } - ] + "kind": "text", + "text": "The amount of the shipping method." } ] }, "type": { "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/ioredis/built/redis/RedisOptions.d.ts", - "qualifiedName": "RedisOptions" - }, - "name": "RedisOptions", - "package": "ioredis" + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" } }, { - "id": 1060, - "name": "session_options", + "id": 823, + "name": "shipping_option_id", "variant": "declaration", "kind": 1024, "flags": { @@ -22310,31 +21940,18 @@ "summary": [ { "kind": "text", - "text": "An object of options to pass to [express-session](https://www.npmjs.com/package/express-session)." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n session_options: {\n name: process.env.SESSION_NAME || \n \"custom\",\n },\n // ...\n },\n // ...\n}\n```" - } - ] + "text": "The amount of the shipping method." } ] }, "type": { - "type": "reference", - "target": 3693, - "name": "SessionOptions", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } }, { - "id": 1061, - "name": "http_compression", + "id": 824, + "name": "data", "variant": "declaration", "kind": 1024, "flags": { @@ -22344,39 +21961,59 @@ "summary": [ { "kind": "text", - "text": "Configure HTTP compression from the application layer. If you have access to the HTTP server, the recommended approach would be to enable it there. \nHowever, some platforms don't offer access to the HTTP layer and in those cases, this is a good alternative.\n\nIts value is an object that has the following properties:\n\nIf you enable HTTP compression and you want to disable it for specific API Routes, you can pass in the request header " - }, + "text": "The data of the shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ { - "kind": "code", - "text": "`\"x-no-compression\": true`" + "type": "intrinsic", + "name": "string" }, { - "kind": "text", - "text": "." + "type": "intrinsic", + "name": "unknown" } ], - "blockTags": [ + "name": "Record", + "package": "typescript" + } + }, + { + "id": 825, + "name": "tax_lines", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n http_compression: {\n enabled: true,\n level: 6,\n memLevel: 8,\n threshold: 1024,\n },\n // ...\n },\n // ...\n}\n```" - } - ] + "kind": "text", + "text": "The tax lines of the shipping method." } ] }, "type": { - "type": "reference", - "target": 1037, - "name": "HttpCompressionOptions", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 697, + "name": "CreateTaxLineDTO", + "package": "@medusajs/types" + } } }, { - "id": 1062, - "name": "jobs_batch_size", + "id": 826, + "name": "adjustments", "variant": "declaration", "kind": 1024, "flags": { @@ -22386,24 +22023,18 @@ "summary": [ { "kind": "text", - "text": "Configure the number of staged jobs that are polled from the database. Default is 1000." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n jobs_batch_size: 100\n // ...\n },\n // ...\n}\n```" - } - ] + "text": "The adjustments of the shipping method." } ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "array", + "elementType": { + "type": "reference", + "target": 661, + "name": "CreateAdjustmentDTO", + "package": "@medusajs/types" + } } } ], @@ -22411,28 +22042,20 @@ { "title": "Properties", "children": [ - 1043, - 1044, - 1045, - 1046, - 1047, - 1048, - 1049, - 1050, - 1052, - 1057, - 1058, - 1059, - 1060, - 1061, - 1062 + 820, + 821, + 822, + 823, + 824, + 825, + 826 ] } ] }, { - "id": 1063, - "name": "ConfigModule", + "id": 827, + "name": "CreateShippingMethodForSingleCartDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -22440,98 +22063,14 @@ "summary": [ { "kind": "text", - "text": "The configurations for your Medusa backend are in " - }, - { - "kind": "code", - "text": "`medusa-config.js`" - }, - { - "kind": "text", - "text": " located in the root of your Medusa project. The configurations include database, modules, and plugin configurations, among other configurations.\n\n" - }, - { - "kind": "code", - "text": "`medusa-config.js`" - }, - { - "kind": "text", - "text": " exports an object having the following properties:\n\n- " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "projectConfig", - "target": 1064, - "tsLinkText": "projectConfig" - }, - { - "kind": "text", - "text": ": (required): An object that holds general configurations related to the Medusa backend, such as database or CORS configurations.\n- " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "plugins", - "target": 1065, - "tsLinkText": "plugins" - }, - { - "kind": "text", - "text": ": An array of plugin configurations that defines what plugins are installed and optionally specifies each of their configurations.\n- " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "modules", - "target": 1069, - "tsLinkText": "modules" - }, - { - "kind": "text", - "text": ": An object that defines what modules are installed and optionally specifies each of their configurations.\n- " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "featureFlags", - "target": 1070, - "tsLinkText": "featureFlags" - }, - { - "kind": "text", - "text": ": An object that enables or disables features guarded by a feature flag.\n\nFor example:\n\n" - }, - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig,\n plugins,\n modules,\n featureFlags,\n}\n```" - }, - { - "kind": "text", - "text": "\n\n---\n\n## Environment Variables\n\nIt's highly recommended to store the values of configurations in environment variables, then reference them within " - }, - { - "kind": "code", - "text": "`medusa-config.js`" - }, - { - "kind": "text", - "text": ".\n\nDuring development, you can set your environment variables in the " - }, - { - "kind": "code", - "text": "`.env`" - }, - { - "kind": "text", - "text": " file at the root of your Medusa backend project. In production, \nsetting the environment variables depends on the hosting provider.\n\n---" + "text": "The shipping method to be created in a cart." } ] }, "children": [ { - "id": 1064, - "name": "projectConfig", + "id": 828, + "name": "name", "variant": "declaration", "kind": 1024, "flags": {}, @@ -22539,20 +22078,18 @@ "summary": [ { "kind": "text", - "text": "This property holds essential configurations related to the Medusa backend, such as database and CORS configurations." + "text": "The name of the shipping method." } ] }, "type": { - "type": "reference", - "target": 1042, - "name": "ProjectConfigOptions", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } }, { - "id": 1065, - "name": "plugins", + "id": 829, + "name": "amount", "variant": "declaration", "kind": 1024, "flags": {}, @@ -22560,127 +22097,20 @@ "summary": [ { "kind": "text", - "text": "On your Medusa backend, you can use [Plugins](https://docs.medusajs.com/development/plugins/overview) to add custom features or integrate third-party services. \nFor example, installing a plugin to use Stripe as a payment processor.\n\nAside from installing the plugin with NPM, you need to pass the plugin you installed into the " - }, - { - "kind": "code", - "text": "`plugins`" - }, - { - "kind": "text", - "text": " array defined in " - }, - { - "kind": "code", - "text": "`medusa-config.js`" - }, - { - "kind": "text", - "text": ".\n\nThe items in the array can either be:\n\n- A string, which is the name of the plugin to add. You can pass a plugin as a string if it doesn’t require any configurations.\n- An object having the following properties:\n - " - }, - { - "kind": "code", - "text": "`resolve`" - }, - { - "kind": "text", - "text": ": The name of the plugin.\n - " - }, - { - "kind": "code", - "text": "`options`" - }, - { - "kind": "text", - "text": ": An object that includes the plugin’s options. These options vary for each plugin, and you should refer to the plugin’s documentation for available options." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n plugins: [\n `medusa-my-plugin-1`,\n {\n resolve: `medusa-my-plugin`,\n options: {\n apiKey: process.env.MY_API_KEY || \n `test`,\n },\n },\n // ...\n ],\n // ...\n}\n```" - } - ] + "text": "The amount of the shipping method." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1066, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1067, - "name": "resolve", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1068, - "name": "options", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1067, - 1068 - ] - } - ] - } - } - ] - } + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" } }, { - "id": 1069, - "name": "modules", + "id": 830, + "name": "shipping_option_id", "variant": "declaration", "kind": 1024, "flags": { @@ -22690,106 +22120,28 @@ "summary": [ { "kind": "text", - "text": "In Medusa, commerce and core logic are modularized to allow developers to extend or replace certain [modules](https://docs.medusajs.com/development/modules/overview) \nwith custom implementations.\n\nAside from installing the module with NPM, you must add it to the exported object in " - }, - { - "kind": "code", - "text": "`medusa-config.js`" - }, - { - "kind": "text", - "text": ".\n\nThe keys of the " - }, - { - "kind": "code", - "text": "`modules`" - }, - { - "kind": "text", - "text": " configuration object refer to the type of module. Its value can be one of the following:\n\n1. A boolean value indicating whether the module type is enabled;\n2. Or a string value indicating the name of the module to be used for the module type. This can be used if the module does not require any options;\n3. Or an object having the following properties, but typically you would mainly use the " - }, - { - "kind": "code", - "text": "`resolve`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`options`" - }, - { - "kind": "text", - "text": " properties only:\n 1. " - }, - { - "kind": "code", - "text": "`resolve`" - }, - { - "kind": "text", - "text": ": a string indicating the name of the module.\n 2. " - }, - { - "kind": "code", - "text": "`options`" - }, - { - "kind": "text", - "text": ": an object indicating the options to pass to the module. These options vary for each module, and you should refer to the module’s documentation for details on them.\n 3. " - }, - { - "kind": "code", - "text": "`resources`" - }, - { - "kind": "text", - "text": ": a string indicating whether the module shares the dependency container with the Medusa core. Its value can either be " - }, - { - "kind": "code", - "text": "`shared`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`isolated`" - }, - { - "kind": "text", - "text": ". Refer to the [Modules documentation](https://docs.medusajs.com/development/modules/create#module-scope) for more details.\n 4. " - }, - { - "kind": "code", - "text": "`alias`" - }, - { - "kind": "text", - "text": ": a string indicating a unique alias to register the module under. Other modules can’t use the same alias.\n 5. " - }, - { - "kind": "code", - "text": "`main`" - }, - { - "kind": "text", - "text": ": a boolean value indicating whether this module is the main registered module. This is useful when an alias is used." + "text": "The amount of the shipping method." } - ], - "blockTags": [ + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 831, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n modules: {\n eventBus: {\n resolve: \"@medusajs/event-bus-local\",\n },\n cacheService: {\n resolve: \"@medusajs/cache-redis\",\n options: { \n redisUrl: process.env.CACHE_REDIS_URL,\n ttl: 30,\n },\n },\n // ...\n },\n // ...\n}\n```" - } - ] + "kind": "text", + "text": "The data of the shipping method." } ] }, @@ -22805,41 +22157,8 @@ "name": "string" }, { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "boolean" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "target": 1904, - "name": "InternalModuleDeclaration", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1914, - "name": "ExternalModuleDeclaration", - "package": "@medusajs/types" - } - ] - } - ], - "name": "Partial", - "package": "typescript" - } - ] + "type": "intrinsic", + "name": "unknown" } ], "name": "Record", @@ -22847,77 +22166,55 @@ } }, { - "id": 1070, - "name": "featureFlags", + "id": 832, + "name": "tax_lines", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "Some features in the Medusa backend are guarded by a feature flag. This ensures constant shipping of new features while maintaining the engine’s stability.\n\nYou can specify whether a feature should or shouldn’t be used in your backend by enabling its feature flag. Feature flags can be enabled through either environment \nvariables or through this configuration exported in " - }, - { - "kind": "code", - "text": "`medusa-config.js`" - }, - { - "kind": "text", - "text": ".\n\nIf you want to use the environment variables method, learn more about it in the [Feature Flags documentation](https://docs.medusajs.com/development/feature-flags/toggle#method-one-using-environment-variables).\n\nThe " - }, - { - "kind": "code", - "text": "`featureFlags`" - }, - { - "kind": "text", - "text": " configuration is an object. Its properties are the names of the feature flags. Each property’s value is a boolean indicating whether the feature flag is enabled.\n\nYou can find available feature flags and their key name [here](https://github.com/medusajs/medusa/tree/master/packages/medusa/src/loaders/feature-flags)." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n featureFlags: {\n product_categories: true,\n // ...\n },\n // ...\n}\n```" - }, - { - "kind": "text", - "text": "\n\n:::note\n\nAfter enabling a feature flag, make sure to [run migrations](https://docs.medusajs.com/development/entities/migrations/overview#migrate-command) as it may require making changes to the database.\n\n:::" - } - ] + "text": "The tax lines of the shipping method." } ] }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, + "type": "array", + "elementType": { + "type": "reference", + "target": 697, + "name": "CreateTaxLineDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 833, + "name": "adjustments", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "boolean" - } - ] + "kind": "text", + "text": "The adjustments of the shipping method." } - ], - "name": "Record", - "package": "typescript" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 661, + "name": "CreateAdjustmentDTO", + "package": "@medusajs/types" + } } } ], @@ -22925,1043 +22222,323 @@ { "title": "Properties", "children": [ - 1064, - 1065, - 1069, - 1070 + 828, + 829, + 830, + 831, + 832, + 833 ] } ] }, { - "id": 1071, - "name": "MedusaContainer", + "id": 834, + "name": "UpdateShippingMethodDTO", "variant": "declaration", - "kind": 2097152, + "kind": 256, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The Medusa Container extends [Awilix](https://github.com/jeffijoe/awilix) to \nprovide dependency injection functionalities." + "text": "The attributes to update in the shipping method." } ] }, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/awilix/lib/container.d.ts", - "qualifiedName": "AwilixContainer" - }, - "name": "AwilixContainer", - "package": "awilix" - }, - { - "type": "reflection", - "declaration": { - "id": 1072, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - } - ] - } - }, - { - "id": 1082, - "name": "ContainerLike", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1083, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1084, - "name": "resolve", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 1085, - "name": "resolve", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 1086, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "parameters": [ - { - "id": 1087, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "target": 1086, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 1084 - ] - } - ] - } - } - } - ], - "groups": [ - { - "title": "Interfaces", - "children": [ - 909, - 913, - 920, - 951, - 985, - 986, - 987, - 992, - 1000, - 1005, - 1017, - 1029, - 1032, - 1037, - 1042, - 1063 - ] - }, - { - "title": "Type Aliases", - "children": [ - 903, - 906, - 918, - 931, - 940, - 944, - 948, - 950, - 959, - 968, - 975, - 980, - 1035, - 1071, - 1082 - ] - } - ] - }, - { - "id": 1088, - "name": "CustomerTypes", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ - { - "id": 1089, - "name": "CustomerAddressDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, "children": [ { - "id": 1090, + "id": 835, "name": "id", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping method." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 1091, - "name": "address_name", + "id": 836, + "name": "name", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the shipping method." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 1092, - "name": "is_default_shipping", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1093, - "name": "is_default_billing", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1094, - "name": "customer_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1095, - "name": "company", + "id": 837, + "name": "amount", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of the shipping method." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" } }, { - "id": 1096, - "name": "first_name", + "id": 838, + "name": "data", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data of the shipping method." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } }, { - "id": 1097, - "name": "last_name", + "id": 839, + "name": "tax_lines", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1098, - "name": "address_1", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1099, - "name": "address_2", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1100, - "name": "city", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1101, - "name": "country_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1102, - "name": "province", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1103, - "name": "postal_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1104, - "name": "phone", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1105, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "unknown" + "kind": "text", + "text": "The tax lines of the shipping method." } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 1106, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1107, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1090, - 1091, - 1092, - 1093, - 1094, - 1095, - 1096, - 1097, - 1098, - 1099, - 1100, - 1101, - 1102, - 1103, - 1104, - 1105, - 1106, - 1107 - ] - } - ] - }, - { - "id": 1108, - "name": "FilterableCustomerAddressProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." - } - ] - }, - "children": [ - { - "id": 1109, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] }, "type": { "type": "union", "types": [ - { - "type": "intrinsic", - "name": "string" - }, { "type": "array", "elementType": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 697, + "name": "CreateTaxLineDTO", + "package": "@medusajs/types" } - } - ] - } - }, - { - "id": 1110, - "name": "address_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" }, { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 1111, - "name": "is_default_shipping", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "boolean" - }, - { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "boolean" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 703, + "name": "UpdateTaxLineDTO", + "package": "@medusajs/types" + } } ] } }, { - "id": 1112, - "name": "is_default_billing", + "id": 840, + "name": "adjustments", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "boolean" - }, + "comment": { + "summary": [ { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "boolean" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" + "kind": "text", + "text": "The adjustments of the shipping method." } ] - } - }, - { - "id": 1113, - "name": "customer_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, "type": { "type": "union", "types": [ - { - "type": "intrinsic", - "name": "string" - }, { "type": "array", "elementType": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 661, + "name": "CreateAdjustmentDTO", + "package": "@medusajs/types" } - } - ] - } - }, - { - "id": 1114, - "name": "customer", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" }, { "type": "array", "elementType": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 667, + "name": "UpdateAdjustmentDTO", + "package": "@medusajs/types" } - }, - { - "type": "reference", - "target": 1150, - "name": "FilterableCustomerProps", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 1115, - "name": "company", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 1116, - "name": "first_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 1117, - "name": "last_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" } ] } - }, + } + ], + "groups": [ { - "id": 1118, - "name": "address_1", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - ] + "title": "Properties", + "children": [ + 835, + 836, + 837, + 838, + 839, + 840 + ] + } + ] + }, + { + "id": 841, + "name": "CreateShippingMethodAdjustmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping method adjustment to be created." } - }, + ] + }, + "children": [ { - "id": 1119, - "name": "address_2", + "id": 842, + "name": "shipping_method_id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "flags": {}, + "comment": { + "summary": [ { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" + "kind": "text", + "text": "The associated shipping method's ID." } ] - } - }, - { - "id": 1120, - "name": "city", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - ] + "type": "intrinsic", + "name": "string" } }, { - "id": 1121, - "name": "country_code", + "id": 843, + "name": "code", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "flags": {}, + "comment": { + "summary": [ { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" + "kind": "text", + "text": "The code of the promotion that lead to\nthis adjustment." } ] - } - }, - { - "id": 1122, - "name": "province", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - ] + "type": "intrinsic", + "name": "string" } }, { - "id": 1123, - "name": "postal_code", + "id": 844, + "name": "amount", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "flags": {}, + "comment": { + "summary": [ { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" + "kind": "text", + "text": "The amount to adjust the original amount with." } ] - } - }, - { - "id": 1124, - "name": "phone", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - ] + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" } }, { - "id": 1125, - "name": "metadata", + "id": 845, + "name": "description", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - }, + "comment": { + "summary": [ { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" + "kind": "text", + "text": "The description of the shipping method adjustment." } ] - } - }, - { - "id": 1126, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - }, - { - "id": 1127, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, "type": { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } }, { - "id": 1128, - "name": "$and", + "id": 846, + "name": "promotion_id", "variant": "declaration", "kind": 1024, "flags": { @@ -23971,47 +22548,18 @@ "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + "text": "The associated promotion's ID." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 1108, - "name": "FilterableCustomerAddressProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 1108, - "name": "FilterableCustomerAddressProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" + "type": "intrinsic", + "name": "string" } }, { - "id": 1129, - "name": "$or", + "id": 847, + "name": "provider_id", "variant": "declaration", "kind": 1024, "flags": { @@ -24021,42 +22569,13 @@ "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + "text": "The associated provider's ID." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 1108, - "name": "FilterableCustomerAddressProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 1108, - "name": "FilterableCustomerAddressProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" + "type": "intrinsic", + "name": "string" } } ], @@ -24064,50 +22583,19 @@ { "title": "Properties", "children": [ - 1109, - 1110, - 1111, - 1112, - 1113, - 1114, - 1115, - 1116, - 1117, - 1118, - 1119, - 1120, - 1121, - 1122, - 1123, - 1124, - 1125, - 1126, - 1127, - 1128, - 1129 + 842, + 843, + 844, + 845, + 846, + 847 ] } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 1108, - "name": "FilterableCustomerAddressProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } ] }, { - "id": 1130, - "name": "FilterableCustomerGroupProps", + "id": 848, + "name": "UpdateShippingMethodAdjustmentDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -24115,171 +22603,98 @@ "summary": [ { "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." + "text": "The attributes to update in the shipping method adjustment." } ] }, "children": [ { - "id": 1131, + "id": 849, "name": "id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The ID of the shipping method adjustment." } ] - } - }, - { - "id": 1132, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - ] + "type": "intrinsic", + "name": "string" } }, { - "id": 1133, - "name": "customers", + "id": 850, + "name": "code", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, + "comment": { + "summary": [ { - "type": "reference", - "target": 1150, - "name": "FilterableCustomerProps", - "package": "@medusajs/types" + "kind": "text", + "text": "The code of the promotion that lead to\nthis adjustment." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 1134, - "name": "created_by", + "id": 851, + "name": "amount", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - }, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The amount to adjust the original amount with." } ] - } - }, - { - "id": 1135, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, "type": { "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", + "target": 7931, + "name": "BigNumberInput", "package": "@medusajs/types" } }, { - "id": 1136, - "name": "updated_at", + "id": 852, + "name": "description", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "reference", - "target": 1490, - "typeArguments": [ + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "string" + "kind": "text", + "text": "The description of the shipping method adjustment." } - ], - "name": "OperatorMap", - "package": "@medusajs/types" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 1137, - "name": "$and", + "id": 853, + "name": "promotion_id", "variant": "declaration", "kind": 1024, "flags": { @@ -24289,47 +22704,18 @@ "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + "text": "The associated promotion's ID." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 1130, - "name": "FilterableCustomerGroupProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 1130, - "name": "FilterableCustomerGroupProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" + "type": "intrinsic", + "name": "string" } }, { - "id": 1138, - "name": "$or", + "id": 854, + "name": "provider_id", "variant": "declaration", "kind": 1024, "flags": { @@ -24339,42 +22725,13 @@ "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + "text": "The associated provider's ID." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 1130, - "name": "FilterableCustomerGroupProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 1130, - "name": "FilterableCustomerGroupProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" + "type": "intrinsic", + "name": "string" } } ], @@ -24382,37 +22739,19 @@ { "title": "Properties", "children": [ - 1131, - 1132, - 1133, - 1134, - 1135, - 1136, - 1137, - 1138 + 849, + 850, + 851, + 852, + 853, + 854 ] } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 1130, - "name": "FilterableCustomerGroupProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } ] }, { - "id": 1139, - "name": "FilterableCustomerGroupCustomerProps", + "id": 855, + "name": "ICartModuleService", "variant": "declaration", "kind": 256, "flags": {}, @@ -24420,3474 +22759,3259 @@ "summary": [ { "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." + "text": "The main service interface for the Cart Module." } ] }, "children": [ { - "id": 1140, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "id": 1141, - "name": "customer_id", + "id": 856, + "name": "retrieve", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "id": 1142, - "name": "customer_group_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 857, + "name": "retrieve", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a cart by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved cart." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a cart by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst cart = await cartModuleService.retrieve(\"cart_123\")\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst cart = await cartModuleService.retrieve(\"cart_123\", {\n relations: [\"shipping_address\"],\n})\n```" + } + ] + } + ] }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" + "parameters": [ + { + "id": 858, + "name": "cartId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cart's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 859, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the cart is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a cart." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 437, + "name": "CartDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 860, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 437, + "name": "CartDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" } - ] - } + } + ] }, { - "id": 1143, - "name": "customer", + "id": 861, + "name": "list", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 862, + "name": "list", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of carts based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of carts." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of carts using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst carts = await cartModuleService.list({\n id: [\"cart_123\", \"cart_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the carts:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst carts = await cartModuleService.list(\n {\n id: [\"cart_123\", \"cart_321\"],\n },\n {\n relations: [\"shipping_address\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst carts = await cartModuleService.list(\n {\n id: [\"cart_123\", \"cart_321\"],\n },\n {\n relations: [\"shipping_address\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" + "parameters": [ + { + "id": 863, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved carts." + } + ] + }, + "type": { + "type": "reference", + "target": 495, + "name": "FilterableCartProps", + "package": "@medusajs/types" + } + }, + { + "id": 864, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the cart is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a cart." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 437, + "name": "CartDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 865, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } - }, - { + ], + "type": { "type": "reference", - "target": 1150, - "name": "FilterableCustomerProps", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 437, + "name": "CartDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" } - ] - } + } + ] }, { - "id": 1144, - "name": "group", + "id": 866, + "name": "listAndCount", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 867, + "name": "listAndCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of carts along with the total count of available carts satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of carts along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of carts using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [carts, count] = await cartModuleService.listAndCount({\n id: [\"cart_123\", \"cart_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the carts:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [carts, count] = await cartModuleService.listAndCount(\n {\n id: [\"cart_123\", \"cart_321\"],\n },\n {\n relations: [\"shipping_address\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [carts, count] = await cartModuleService.listAndCount(\n {\n id: [\"cart_123\", \"cart_321\"],\n },\n {\n relations: [\"shipping_address\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" + "parameters": [ + { + "id": 868, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved carts." + } + ] + }, + "type": { + "type": "reference", + "target": 495, + "name": "FilterableCartProps", + "package": "@medusajs/types" + } + }, + { + "id": 869, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the cart is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a cart." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 437, + "name": "CartDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 870, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } - }, - { + ], + "type": { "type": "reference", - "target": 1130, - "name": "FilterableCustomerGroupProps", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 437, + "name": "CartDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" } - ] - } + } + ] }, { - "id": 1145, - "name": "created_by", + "id": 871, + "name": "create", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 872, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates carts." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created carts." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst carts = await cartModuleService.create([\n {\n currency_code: \"usd\",\n },\n {\n currency_code: \"eur\",\n },\n])\n```" + } + ] + } + ] }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "id": 1146, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - }, - { - "id": 1147, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - }, - { - "id": 1148, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 1139, - "name": "FilterableCustomerGroupCustomerProps", - "package": "@medusajs/types" - }, + "parameters": [ { - "type": "reference", - "target": 1512, - "typeArguments": [ - { + "id": 873, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The carts to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { "type": "reference", - "target": 1139, - "name": "FilterableCustomerGroupCustomerProps", + "target": 626, + "name": "CreateCartDTO", "package": "@medusajs/types" } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } - }, - { - "id": 1149, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 1139, - "name": "FilterableCustomerGroupCustomerProps", - "package": "@medusajs/types" + } }, { - "type": "reference", - "target": 1512, - "typeArguments": [ - { + "id": 874, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { "type": "reference", - "target": 1139, - "name": "FilterableCustomerGroupCustomerProps", + "target": 437, + "name": "CartDTO", "package": "@medusajs/types" } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1140, - 1141, - 1142, - 1143, - 1144, - 1145, - 1146, - 1147, - 1148, - 1149 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 1139, - "name": "FilterableCustomerGroupCustomerProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 1150, - "name": "FilterableCustomerProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." - } - ] - }, - "children": [ - { - "id": 1151, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + } + ], + "name": "Promise", + "package": "typescript" } - ] - } - }, - { - "id": 1152, - "name": "email", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + }, + { + "id": 875, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a cart." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created cart." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst cart = await cartModuleService.create({\n currency_code: \"usd\",\n})\n```" + } + ] + } + ] }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" + "parameters": [ + { + "id": 876, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cart to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 626, + "name": "CreateCartDTO", + "package": "@medusajs/types" + } + }, + { + "id": 877, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } - }, - { + ], + "type": { "type": "reference", - "target": 1490, + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 437, + "name": "CartDTO", + "package": "@medusajs/types" } ], - "name": "OperatorMap", - "package": "@medusajs/types" + "name": "Promise", + "package": "typescript" } - ] - } + } + ] }, { - "id": 1153, - "name": "groups", + "id": 878, + "name": "update", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 879, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing carts." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated carts." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst carts = await cartModuleService.update([\n {\n id: \"cart_123\",\n region_id: \"reg_123\",\n },\n {\n id: \"cart_321\",\n customer_id: \"cus_123\",\n },\n])\n```" + } + ] + } + ] }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" + "parameters": [ + { + "id": 880, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the carts." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 649, + "name": "UpdateCartDTO", + "package": "@medusajs/types" + } + } } - }, - { + ], + "type": { "type": "reference", - "target": 1130, - "name": "FilterableCustomerGroupProps", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 1154, - "name": "default_billing_address_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "id": 1155, - "name": "default_shipping_address_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "id": 1156, - "name": "company_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - { - "type": "reference", - "target": 1490, + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 437, + "name": "CartDTO", + "package": "@medusajs/types" + } } ], - "name": "OperatorMap", - "package": "@medusajs/types" + "name": "Promise", + "package": "typescript" } - ] - } - }, - { - "id": 1157, - "name": "first_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - { - "type": "reference", - "target": 1490, - "typeArguments": [ + }, + { + "id": 881, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "string" + "kind": "text", + "text": "This method updates an existing cart." } ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 1158, - "name": "last_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated cart." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst cart = await cartModuleService.update(\"cart_123\", {\n region_id: \"reg_123\",\n})\n```" + } + ] + } + ] }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" + "parameters": [ + { + "id": 882, + "name": "cartId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cart's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 883, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the cart data." + } + ] + }, + "type": { + "type": "reference", + "target": 638, + "name": "UpdateCartDataDTO", + "package": "@medusajs/types" + } + }, + { + "id": 884, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } - }, - { + ], + "type": { "type": "reference", - "target": 1490, + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 437, + "name": "CartDTO", + "package": "@medusajs/types" } ], - "name": "OperatorMap", - "package": "@medusajs/types" + "name": "Promise", + "package": "typescript" } - ] - } - }, - { - "id": 1159, - "name": "created_by", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" + }, + { + "id": 885, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing carts matching the specified filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated carts." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst carts = await cartModuleService.update(\n {\n currency_code: \"usd\",\n },\n {\n region_id: \"reg_123\",\n }\n)\n```" + } + ] + } + ] }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "id": 1160, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - }, - { - "id": 1161, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - }, - { - "id": 1162, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ + "parameters": [ { - "type": "reference", - "target": 1150, - "name": "FilterableCustomerProps", - "package": "@medusajs/types" + "id": 886, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters that specify which carts to update." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 437, + "name": "CartDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } }, { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 1150, - "name": "FilterableCustomerProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } - }, - { - "id": 1163, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 1150, - "name": "FilterableCustomerProps", - "package": "@medusajs/types" + "id": 887, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the carts." + } + ] + }, + "type": { + "type": "reference", + "target": 638, + "name": "UpdateCartDataDTO", + "package": "@medusajs/types" + } }, { - "type": "reference", - "target": 1512, - "typeArguments": [ - { + "id": 888, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { "type": "reference", - "target": 1150, - "name": "FilterableCustomerProps", + "target": 437, + "name": "CartDTO", "package": "@medusajs/types" } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] + } + ], + "name": "Promise", + "package": "typescript" + } } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1151, - 1152, - 1153, - 1154, - 1155, - 1156, - 1157, - 1158, - 1159, - 1160, - 1161, - 1162, - 1163 ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 1150, - "name": "FilterableCustomerProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 1164, - "name": "CustomerGroupDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 1165, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } }, { - "id": 1166, - "name": "name", + "id": 889, + "name": "delete", "variant": "declaration", - "kind": 1024, + "kind": 2048, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1167, - "name": "customers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" + "signatures": [ + { + "id": 890, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes carts by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the carts are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.delete([\"cart_123\", \"cart_321\"])\n```" + } + ] + } + ] }, - "typeArguments": [ + "parameters": [ { - "type": "reference", - "target": 1182, - "name": "CustomerDTO", - "package": "@medusajs/types" + "id": 891, + "name": "cartIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The list of cart IDs." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 892, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "Partial", - "package": "typescript" - } - } - }, - { - "id": 1168, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 1169, - "name": "created_by", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" } - ] - } - }, - { - "id": 1170, - "name": "deleted_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" + }, + { + "id": 893, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a cart by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the carts are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.delete(\"cart_123\")\n```" + } + ] + } + ] }, - { + "parameters": [ + { + "id": 894, + "name": "cartId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cart's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 895, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" + "qualifiedName": "Promise" }, - "name": "Date", + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", "package": "typescript" } - ] - } - }, - { - "id": 1171, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + }, + { + "id": 896, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes carts by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the carts are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.delete([\"cart_123\", \"cart_321\"])\n```" + } + ] + } + ] }, - { + "parameters": [ + { + "id": 897, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the cart." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 898, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" + "qualifiedName": "Promise" }, - "name": "Date", + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", "package": "typescript" } - ] - } - }, - { - "id": 1172, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + }, + { + "id": 899, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a cart by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when a cart is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.delete(\"cart_123\")\n```" + } + ] + } + ] }, - { + "parameters": [ + { + "id": 900, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the cart." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 901, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" + "qualifiedName": "Promise" }, - "name": "Date", + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", "package": "typescript" } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1165, - 1166, - 1167, - 1168, - 1169, - 1170, - 1171, - 1172 + } ] - } - ] - }, - { - "id": 1173, - "name": "CustomerGroupCustomerDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 1174, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1175, - "name": "customer_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1176, - "name": "customer_group_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1177, - "name": "customer", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "reference", - "target": 1182, - "name": "CustomerDTO", - "package": "@medusajs/types" - } - ], - "name": "Partial", - "package": "typescript" - } - }, - { - "id": 1178, - "name": "group", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "reference", - "target": 1164, - "name": "CustomerGroupDTO", - "package": "@medusajs/types" - } - ], - "name": "Partial", - "package": "typescript" - } - }, - { - "id": 1179, - "name": "created_by", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1180, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - } }, { - "id": 1181, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1174, - 1175, - 1176, - 1177, - 1178, - 1179, - 1180, - 1181 - ] - } - ] - }, - { - "id": 1182, - "name": "CustomerDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 1183, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1184, - "name": "email", + "id": 902, + "name": "listAddresses", "variant": "declaration", - "kind": 1024, + "kind": 2048, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1185, - "name": "default_billing_address_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1186, - "name": "default_shipping_address_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1187, - "name": "company_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1188, - "name": "first_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1189, - "name": "last_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1190, - "name": "addresses", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 1089, - "name": "CustomerAddressDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 1191, - "name": "phone", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1192, - "name": "groups", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 1193, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ + "signatures": [ + { + "id": 903, + "name": "listAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ { - "id": 1194, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "This method retrieves a paginated list of addresses based on optional filters and configuration." } ], - "groups": [ + "blockTags": [ { - "title": "Properties", - "children": [ - 1194 + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of addresses." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of addresses using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst addresses = await cartModuleService.listAddresses({\n id: [\"caaddr_123\", \"caaddr_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst addresses = await cartModuleService.listAddresses(\n {\n id: [\"caaddr_123\", \"caaddr_321\"],\n },\n {\n take: 20,\n skip: 2,\n }\n)\n```" + } ] } ] - } - } - } - }, - { - "id": 1195, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 1196, - "name": "created_by", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1197, - "name": "deleted_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" + "parameters": [ + { + "id": 904, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved addresss." + } + ] + }, + "type": { + "type": "reference", + "target": 504, + "name": "FilterableAddressProps", + "package": "@medusajs/types" + } }, - "name": "Date", - "package": "typescript" - } - ] - } - }, - { - "id": 1198, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" + { + "id": 905, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the address is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a address." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 315, + "name": "CartAddressDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } }, - "name": "Date", - "package": "typescript" - } - ] - } - }, - { - "id": 1199, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { + { + "id": 906, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" + "qualifiedName": "Promise" }, - "name": "Date", + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 315, + "name": "CartAddressDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", "package": "typescript" } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1183, - 1184, - 1185, - 1186, - 1187, - 1188, - 1189, - 1190, - 1191, - 1192, - 1195, - 1196, - 1197, - 1198, - 1199 - ] - } - ] - }, - { - "id": 1200, - "name": "GroupCustomerPair", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1201, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1202, - "name": "customer_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1203, - "name": "customer_group_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1202, - 1203 - ] } ] - } - } - }, - { - "id": 1204, - "name": "legacy_CustomerDTO", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1205, - "name": "__type", + }, + { + "id": 907, + "name": "createAddresses", "variant": "declaration", - "kind": 65536, + "kind": 2048, "flags": {}, - "children": [ - { - "id": 1206, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "signatures": [ { - "id": 1207, - "name": "email", - "variant": "declaration", - "kind": 1024, + "id": 908, + "name": "createAddresses", + "variant": "signature", + "kind": 4096, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1208, - "name": "billing_address_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "comment": { + "summary": [ { - "type": "literal", - "value": null + "kind": "text", + "text": "This method creates addresses." } - ] - } - }, - { - "id": 1209, - "name": "shipping_address_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ + ], + "blockTags": [ { - "type": "intrinsic", - "name": "string" + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created addresses." + } + ] }, { - "type": "literal", - "value": null + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst addresses = await cartModuleService.createAddresses([\n {\n address_1: \"412 E Cheyenne Rd\",\n country_code: \"us\",\n },\n {\n first_name: \"Genevieve\",\n last_name: \"Fox\",\n address_1: \"17350 Northwest Fwy\",\n country_code: \"us\",\n },\n])\n```" + } + ] } ] - } - }, - { - "id": 1210, - "name": "first_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + "parameters": [ + { + "id": 909, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The addresss to be created." + } + ] }, - { - "type": "literal", - "value": null + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 613, + "name": "CreateAddressDTO", + "package": "@medusajs/types" + } } - ] - } - }, - { - "id": 1211, - "name": "last_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + }, + { + "id": 910, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true }, - { - "type": "literal", - "value": null + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" } - ] - } - }, - { - "id": 1212, - "name": "billing_address", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1, - "name": "AddressDTO", - "package": "@medusajs/types" - } - }, - { - "id": 1213, - "name": "shipping_address", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + } + ], "type": { "type": "reference", - "target": 1, - "name": "AddressDTO", - "package": "@medusajs/types" - } - }, - { - "id": 1214, - "name": "phone", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ { - "type": "literal", - "value": null + "type": "array", + "elementType": { + "type": "reference", + "target": 315, + "name": "CartAddressDTO", + "package": "@medusajs/types" + } } - ] + ], + "name": "Promise", + "package": "typescript" } }, { - "id": 1215, - "name": "has_account", - "variant": "declaration", - "kind": 1024, + "id": 911, + "name": "createAddresses", + "variant": "signature", + "kind": 4096, "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1216, - "name": "groups", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 1217, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a address." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ { - "id": 1218, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The created address." } - ], - "groups": [ + ] + }, + { + "tag": "@example", + "content": [ { - "title": "Properties", - "children": [ - 1218 - ] + "kind": "code", + "text": "```ts\nconst address = await cartModuleService.createAddresses({\n first_name: \"Genevieve\",\n last_name: \"Fox\",\n address_1: \"17350 Northwest Fwy\",\n country_code: \"us\",\n})\n```" } ] } - } - } - }, - { - "id": 1219, - "name": "orders", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 1220, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ + ] + }, + "parameters": [ + { + "id": 912, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ { - "id": 1221, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The address to be created." } - ], - "groups": [ + ] + }, + "type": { + "type": "reference", + "target": 613, + "name": "CreateAddressDTO", + "package": "@medusajs/types" + } + }, + { + "id": 913, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "title": "Properties", - "children": [ - 1221 - ] + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." } ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" } } - } - }, - { - "id": 1222, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + ], "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" + "qualifiedName": "Promise" }, "typeArguments": [ { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" + "type": "reference", + "target": 315, + "name": "CartAddressDTO", + "package": "@medusajs/types" } ], - "name": "Record", + "name": "Promise", "package": "typescript" } - }, + } + ] + }, + { + "id": 914, + "name": "updateAddresses", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "id": 1223, - "name": "deleted_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ + "id": 915, + "name": "updateAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "kind": "text", + "text": "This method updates existing addresses." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated addresses." + } + ] }, { - "type": "intrinsic", - "name": "string" + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst addresses = await cartModuleService.updateAddresses([\n {\n id: \"caaddr_123\",\n first_name: \"Leroy\",\n },\n {\n id: \"caaddr_321\",\n last_name: \"Hunt\",\n },\n])\n```" + } + ] } ] + }, + "parameters": [ + { + "id": 916, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the addresss." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 599, + "name": "UpdateAddressDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 917, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 315, + "name": "CartAddressDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" } }, { - "id": 1224, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "id": 918, + "name": "updateAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing address." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated address." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst address = await cartModuleService.updateAddresses({\n id: \"caaddr_123\",\n first_name: \"Leroy\",\n})\n```" + } + ] + } + ] }, + "parameters": [ + { + "id": 919, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the address." + } + ] + }, + "type": { + "type": "reference", + "target": 599, + "name": "UpdateAddressDTO", + "package": "@medusajs/types" + } + }, + { + "id": 920, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], "type": { - "type": "union", - "types": [ + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "target": 315, + "name": "CartAddressDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 921, + "name": "deleteAddresses", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 922, + "name": "deleteAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes addresses by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the addresses are deleted successfully." + } + ] }, { - "type": "intrinsic", - "name": "string" + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.deleteAddresses([\n \"caaddr_123\",\n \"caaddr_321\",\n])\n```" + } + ] } ] + }, + "parameters": [ + { + "id": 923, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the cart." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 924, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" } }, { - "id": 1225, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ + "id": 925, + "name": "deleteAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "kind": "text", + "text": "This method deletes an address by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the address are deleted successfully." + } + ] }, { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.deleteAddresses(\"caaddr_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 926, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the cart." + } + ] + }, + "type": { "type": "intrinsic", "name": "string" } - ] + }, + { + "id": 927, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" } } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1206, - 1207, - 1208, - 1209, - 1210, - 1211, - 1212, - 1213, - 1214, - 1215, - 1216, - 1219, - 1222, - 1223, - 1224, - 1225 - ] - } ] - } - } - }, - { - "id": 1411, - "name": "CreateCustomerAddressDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 1412, - "name": "address_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1413, - "name": "is_default_shipping", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1414, - "name": "is_default_billing", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } }, { - "id": 1415, - "name": "customer_id", + "id": 928, + "name": "retrieveLineItem", "variant": "declaration", - "kind": 1024, + "kind": 2048, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1416, - "name": "company", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1417, - "name": "first_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1418, - "name": "last_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1419, - "name": "address_1", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1420, - "name": "address_2", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1421, - "name": "city", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1422, - "name": "country_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1423, - "name": "province", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1424, - "name": "postal_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1425, - "name": "phone", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1426, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" + "signatures": [ + { + "id": 929, + "name": "retrieveLineItem", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a line item by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved line item." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a line item by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst lineItem =\n await cartModuleService.retrieveLineItem(\"cali_123\")\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst lineItem = await cartModuleService.retrieveLineItem(\n \"cali_123\",\n {\n relations: [\"cart\"],\n }\n)\n```" + } + ] + } + ] }, - { - "type": "intrinsic", - "name": "unknown" + "parameters": [ + { + "id": 930, + "name": "itemId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 931, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the line item is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a line item." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 384, + "name": "CartLineItemDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 932, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 384, + "name": "CartLineItemDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1412, - 1413, - 1414, - 1415, - 1416, - 1417, - 1418, - 1419, - 1420, - 1421, - 1422, - 1423, - 1424, - 1425, - 1426 + } ] - } - ] - }, - { - "id": 1427, - "name": "UpdateCustomerAddressDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 1428, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1429, - "name": "address_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1430, - "name": "is_default_shipping", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1431, - "name": "is_default_billing", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1432, - "name": "customer_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1433, - "name": "company", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1434, - "name": "first_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } }, { - "id": 1435, - "name": "last_name", + "id": 933, + "name": "listLineItems", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 934, + "name": "listLineItems", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of line items based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of line items." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of line items using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst lineItems = await cartModuleService.listLineItems({\n id: [\"cali_123\", \"cali_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the line items:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst lineItems = await cartModuleService.listLineItems(\n {\n id: [\"cali_123\", \"cali_321\"],\n },\n {\n relations: [\"cart\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst lineItems = await cartModuleService.listLineItems(\n {\n id: [\"cali_123\", \"cali_321\"],\n },\n {\n relations: [\"cart\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 935, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved line items." + } + ] + }, + "type": { + "type": "reference", + "target": 508, + "name": "FilterableLineItemProps", + "package": "@medusajs/types" + } + }, + { + "id": 936, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the line item is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a line item." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 384, + "name": "CartLineItemDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 937, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 384, + "name": "CartLineItemDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] }, { - "id": 1436, - "name": "address_1", + "id": 938, + "name": "addLineItems", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1437, - "name": "address_2", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1438, - "name": "city", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1439, - "name": "country_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1440, - "name": "province", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1441, - "name": "postal_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1442, - "name": "phone", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1443, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1428, - 1429, - 1430, - 1431, - 1432, - 1433, - 1434, - 1435, - 1436, - 1437, - 1438, - 1439, - 1440, - 1441, - 1442, - 1443 - ] - } - ] - }, - { - "id": 1444, - "name": "CreateCustomerDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 1445, - "name": "company_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1446, - "name": "first_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1447, - "name": "last_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1448, - "name": "email", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1449, - "name": "phone", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1450, - "name": "created_by", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1451, - "name": "addresses", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 939, + "name": "addLineItems", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds a line item to a cart" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added line item." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst lineItem = await cartModuleService.addLineItems({\n cart_id: \"cart_123\",\n title: \"Shirt\",\n quantity: 2,\n unit_price: 4000,\n})\n```" + } + ] + } + ] }, - "typeArguments": [ - { - "type": "reference", - "target": 1411, - "name": "CreateCustomerAddressDTO", - "package": "@medusajs/types" - }, + "parameters": [ { - "type": "literal", - "value": "customer_id" + "id": 940, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The line item to create and add to the cart.\nThe cart is specified in the " + }, + { + "kind": "code", + "text": "`cart_id`" + }, + { + "kind": "text", + "text": " field." + } + ] + }, + "type": { + "type": "reference", + "target": 761, + "name": "CreateLineItemForCartDTO", + "package": "@medusajs/types" + } } ], - "name": "Omit", - "package": "typescript" - } - } - }, - { - "id": 1452, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1445, - 1446, - 1447, - 1448, - 1449, - 1450, - 1451, - 1452 - ] - } - ] - }, - { - "id": 1453, - "name": "UpdateCustomerDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 1454, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1455, - "name": "company_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1456, - "name": "first_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1457, - "name": "last_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1458, - "name": "email", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1459, - "name": "phone", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1460, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { + "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" + "qualifiedName": "Promise" }, "typeArguments": [ { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" + "type": "array", + "elementType": { + "type": "reference", + "target": 384, + "name": "CartLineItemDTO", + "package": "@medusajs/types" + } } ], - "name": "Record", + "name": "Promise", "package": "typescript" } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1454, - 1455, - 1456, - 1457, - 1458, - 1459, - 1460 - ] - } - ] - }, - { - "id": 1461, - "name": "CustomerUpdatableFields", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 1462, - "name": "company_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1463, - "name": "first_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1464, - "name": "last_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1465, - "name": "email", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1466, - "name": "phone", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 1467, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null + }, + { + "id": 941, + "name": "addLineItems", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds line items to carts." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added line items." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst lineItems = await cartModuleService.addLineItems([\n {\n cart_id: \"cart_123\",\n title: \"Shirt\",\n quantity: 2,\n unit_price: 4000,\n },\n {\n cart_id: \"cart_123\",\n title: \"Pants\",\n quantity: 1,\n unit_price: 3000,\n },\n])\n```" + } + ] + } + ] }, - { + "parameters": [ + { + "id": 942, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The line item to create and add to the carts.\nThe cart is specified in the " + }, + { + "kind": "code", + "text": "`cart_id`" + }, + { + "kind": "text", + "text": " field." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 761, + "name": "CreateLineItemForCartDTO", + "package": "@medusajs/types" + } + } + } + ], + "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" + "qualifiedName": "Promise" }, "typeArguments": [ { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" + "type": "array", + "elementType": { + "type": "reference", + "target": 384, + "name": "CartLineItemDTO", + "package": "@medusajs/types" + } } ], - "name": "Record", + "name": "Promise", "package": "typescript" } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1462, - 1463, - 1464, - 1465, - 1466, - 1467 - ] - } - ] - }, - { - "id": 1468, - "name": "CreateCustomerGroupDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 1469, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1470, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null + }, + { + "id": 943, + "name": "addLineItems", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds line items to a cart." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added line items." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst lineItems = await cartModuleService.addLineItems(\n \"cart_123\",\n [\n {\n title: \"Shirt\",\n quantity: 2,\n unit_price: 4000,\n },\n {\n title: \"Pants\",\n quantity: 1,\n unit_price: 3000,\n },\n ]\n)\n```" + } + ] + } + ] }, - { + "parameters": [ + { + "id": 944, + "name": "cartId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cart's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 945, + "name": "items", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The line items to be created and added." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 736, + "name": "CreateLineItemDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 946, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" + "qualifiedName": "Promise" }, "typeArguments": [ { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" + "type": "array", + "elementType": { + "type": "reference", + "target": 384, + "name": "CartLineItemDTO", + "package": "@medusajs/types" + } } ], - "name": "Record", + "name": "Promise", "package": "typescript" } - ] - } - }, - { - "id": 1471, - "name": "created_by", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1469, - 1470, - 1471 + } ] - } - ] - }, - { - "id": 1472, - "name": "CustomerGroupUpdatableFields", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 1473, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } }, { - "id": 1474, - "name": "metadata", + "id": 947, + "name": "updateLineItems", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 948, + "name": "updateLineItems", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing line items." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated line items." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst lineItems = await cartModuleService.updateLineItems([\n {\n selector: {\n id: \"cali_123\",\n },\n data: {\n quantity: 2,\n },\n },\n {\n selector: {\n variant_sku: \"PANTS\",\n },\n data: {\n unit_price: 3000,\n },\n },\n])\n```" + } + ] + } + ] }, - { + "parameters": [ + { + "id": 949, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A list of objects, each holding the filters that specify which items\nto update, and the attributes to update in the items." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 786, + "name": "UpdateLineItemWithSelectorDTO", + "package": "@medusajs/types" + } + } + } + ], + "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" + "qualifiedName": "Promise" }, "typeArguments": [ { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" + "type": "array", + "elementType": { + "type": "reference", + "target": 384, + "name": "CartLineItemDTO", + "package": "@medusajs/types" + } } ], - "name": "Record", + "name": "Promise", "package": "typescript" } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1473, - 1474 - ] - } - ] - }, - { - "id": 1475, - "name": "UpdateCustomerGroupDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 1476, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1477, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1478, - "name": "customer_ids", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 1479, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, + }, + { + "id": 950, + "name": "updateLineItems", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "unknown" + "kind": "text", + "text": "This method updates existing line items matching the specified filters." } ], - "name": "Record", - "package": "typescript" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1476, - 1477, - 1478, - 1479 - ] - } - ] - }, - { - "id": 1480, - "name": "CustomerGroupUpdatableFileds", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 1481, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1482, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + "blockTags": [ { - "type": "intrinsic", - "name": "string" + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated line items." + } + ] }, { - "type": "intrinsic", - "name": "unknown" + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst lineItems = await cartModuleService.updateLineItems(\n {\n variant_sku: \"PANTS\",\n },\n {\n unit_price: 4000,\n }\n)\n```" + } + ] } - ], - "name": "Record", - "package": "typescript" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1481, - 1482 - ] - } - ] - }, - { - "id": 1226, - "name": "ICustomerModuleService", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 1227, - "name": "retrieve", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 1228, - "name": "retrieve", - "variant": "signature", - "kind": 4096, - "flags": {}, + ] + }, "parameters": [ { - "id": 1229, - "name": "customerId", + "id": 951, + "name": "selector", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters that specify which line items to update." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 384, + "name": "CartLineItemDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" } }, { - "id": 1230, - "name": "config", + "id": 952, + "name": "data", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the line items." + } + ] }, "type": { "type": "reference", - "target": 920, + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, "typeArguments": [ { "type": "reference", - "target": 1182, - "name": "CustomerDTO", + "target": 792, + "name": "UpdateLineItemDTO", "package": "@medusajs/types" } ], - "name": "FindConfig", - "package": "@medusajs/types" + "name": "Partial", + "package": "typescript" } }, { - "id": 1231, + "id": 953, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -27901,59 +26025,124 @@ }, "typeArguments": [ { - "type": "reference", - "target": 1182, - "name": "CustomerDTO", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 384, + "name": "CartLineItemDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", "package": "typescript" } - } - ] - }, - { - "id": 1232, - "name": "create", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 1233, - "name": "create", + "id": 954, + "name": "updateLineItems", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing line item." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated line item." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst lineItem = await cartModuleService.updateLineItems(\n \"cali_123\",\n {\n unit_price: 3000,\n }\n)\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1234, + "id": 955, + "name": "lineId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The line item's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 956, "name": "data", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the line item." + } + ] + }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 1444, - "name": "CreateCustomerDTO", - "package": "@medusajs/types" - } + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 792, + "name": "UpdateLineItemDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" } }, { - "id": 1235, + "id": 957, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -27967,50 +26156,199 @@ }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 1182, - "name": "CustomerDTO", - "package": "@medusajs/types" - } + "type": "reference", + "target": 384, + "name": "CartLineItemDTO", + "package": "@medusajs/types" } ], "name": "Promise", "package": "typescript" } - }, + } + ] + }, + { + "id": 958, + "name": "listShippingMethods", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "id": 1236, - "name": "create", + "id": 959, + "name": "listShippingMethods", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of shipping methods based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of shipping methods." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of shipping methods using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingMethods =\n await cartModuleService.listShippingMethods(\n {\n id: [\"casm_123\", \"casm_321\"],\n },\n {}\n )\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the shipping methods:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingMethods =\n await cartModuleService.listShippingMethods(\n {\n id: [\"casm_123\", \"casm_321\"],\n },\n {\n relations: [\"cart\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingMethods =\n await cartModuleService.listShippingMethods(\n {\n id: [\"casm_123\", \"casm_321\"],\n },\n {\n relations: [\"cart\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1237, - "name": "data", + "id": 960, + "name": "filters", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping methods." + } + ] + }, "type": { "type": "reference", - "target": 1444, - "name": "CreateCustomerDTO", + "target": 524, + "name": "FilterableShippingMethodProps", + "package": "@medusajs/types" + } + }, + { + "id": 961, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the shipping method is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 331, + "name": "CartShippingMethodDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", "package": "@medusajs/types" } }, { - "id": 1238, + "id": 962, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -28024,10 +26362,13 @@ }, "typeArguments": [ { - "type": "reference", - "target": 1182, - "name": "CustomerDTO", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 331, + "name": "CartShippingMethodDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", @@ -28037,55 +26378,73 @@ ] }, { - "id": 1239, - "name": "update", + "id": 963, + "name": "addShippingMethods", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1240, - "name": "update", + "id": 964, + "name": "addShippingMethods", "variant": "signature", "kind": 4096, "flags": {}, - "parameters": [ - { - "id": 1241, - "name": "customerId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds a shipping method to carts." } - }, + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added shipping method." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingMethod =\n await cartModuleService.addShippingMethods({\n cart_id: \"cart_123\",\n name: \"UPS\",\n amount: 3000,\n })\n```" + } + ] + } + ] + }, + "parameters": [ { - "id": 1242, + "id": 965, "name": "data", "variant": "param", "kind": 32768, "flags": {}, - "type": { - "type": "reference", - "target": 1461, - "name": "CustomerUpdatableFields", - "package": "@medusajs/types" - } - }, - { - "id": 1243, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping method to be created and added to the carts.\nThe cart is specified in the " + }, + { + "kind": "code", + "text": "`cart_id`" + }, + { + "kind": "text", + "text": " field." + } + ] }, "type": { "type": "reference", - "target": 3682, - "name": "Context", + "target": 819, + "name": "CreateShippingMethodDTO", "package": "@medusajs/types" } } @@ -28099,8 +26458,8 @@ "typeArguments": [ { "type": "reference", - "target": 1182, - "name": "CustomerDTO", + "target": 331, + "name": "CartShippingMethodDTO", "package": "@medusajs/types" } ], @@ -28109,53 +26468,71 @@ } }, { - "id": 1244, - "name": "update", + "id": 966, + "name": "addShippingMethods", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds shipping methods to carts." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added shipping methods." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingMethods =\n await cartModuleService.addShippingMethods([\n {\n cart_id: \"cart_123\",\n name: \"UPS\",\n amount: 3000,\n },\n {\n cart_id: \"cart_123\",\n name: \"FedEx\",\n amount: 2000,\n },\n ])\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1245, - "name": "customerIds", + "id": 967, + "name": "data", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping methods to be created and added to the carts.\nThe cart is specified in the " + }, + { + "kind": "code", + "text": "`cart_id`" + }, + { + "kind": "text", + "text": " field." + } + ] + }, "type": { "type": "array", "elementType": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 819, + "name": "CreateShippingMethodDTO", + "package": "@medusajs/types" } } - }, - { - "id": 1246, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 1461, - "name": "CustomerUpdatableFields", - "package": "@medusajs/types" - } - }, - { - "id": 1247, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } } ], "type": { @@ -28169,8 +26546,8 @@ "type": "array", "elementType": { "type": "reference", - "target": 1182, - "name": "CustomerDTO", + "target": 331, + "name": "CartShippingMethodDTO", "package": "@medusajs/types" } } @@ -28180,49 +26557,102 @@ } }, { - "id": 1248, - "name": "update", + "id": 968, + "name": "addShippingMethods", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds shipping methods to a cart." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added shipping methods." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingMethods =\n await cartModuleService.addShippingMethods(\"cart_123\", [\n {\n name: \"UPS\",\n amount: 3000,\n },\n {\n name: \"FedEx\",\n amount: 2000,\n },\n ])\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1249, - "name": "selector", + "id": 969, + "name": "cartId", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cart's ID." + } + ] + }, "type": { - "type": "reference", - "target": 1150, - "name": "FilterableCustomerProps", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } }, { - "id": 1250, - "name": "data", + "id": 970, + "name": "methods", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping methods to be created and added." + } + ] + }, "type": { - "type": "reference", - "target": 1461, - "name": "CustomerUpdatableFields", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 827, + "name": "CreateShippingMethodForSingleCartDTO", + "package": "@medusajs/types" + } } }, { - "id": 1251, + "id": 971, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -28239,8 +26669,8 @@ "type": "array", "elementType": { "type": "reference", - "target": 1182, - "name": "CustomerDTO", + "target": 331, + "name": "CartShippingMethodDTO", "package": "@medusajs/types" } } @@ -28252,146 +26682,186 @@ ] }, { - "id": 1252, - "name": "delete", + "id": 972, + "name": "listLineItemAdjustments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1253, - "name": "delete", + "id": 973, + "name": "listLineItemAdjustments", "variant": "signature", "kind": 4096, "flags": {}, - "parameters": [ - { - "id": 1254, - "name": "customerId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of line item adjustments based on optional filters and configuration." } - }, - { - "id": 1255, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of line item adjustments." + } + ] }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of line item adjustments using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst lineItemAdjustments =\n await cartModuleService.listLineItemAdjustments({\n id: [\"caliadj_123\", \"caliadj_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the line item adjustments:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst lineItemAdjustments =\n await cartModuleService.listLineItemAdjustments(\n {\n id: [\"caliadj_123\", \"caliadj_321\"],\n },\n {\n relations: [\"item\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst lineItemAdjustments =\n await cartModuleService.listLineItemAdjustments(\n {\n id: [\"caliadj_123\", \"caliadj_321\"],\n },\n {\n relations: [\"item\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 1256, - "name": "delete", - "variant": "signature", - "kind": 4096, - "flags": {}, + ] + }, "parameters": [ { - "id": 1257, - "name": "customerIds", + "id": 974, + "name": "filters", "variant": "param", "kind": 32768, "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 1258, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved line item adjustments." + } + ] }, "type": { "type": "reference", - "target": 3682, - "name": "Context", + "target": 516, + "name": "FilterableLineItemAdjustmentProps", "package": "@medusajs/types" } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 1259, - "name": "delete", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ { - "id": 1260, - "name": "selector", + "id": 975, + "name": "config", "variant": "param", "kind": 32768, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the line item adjustment is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a line item adjustment." + } + ] + }, "type": { "type": "reference", - "target": 1150, - "name": "FilterableCustomerProps", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 263, + "name": "LineItemAdjustmentDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", "package": "@medusajs/types" } }, { - "id": 1261, + "id": 976, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -28405,8 +26875,13 @@ }, "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "type": "array", + "elementType": { + "type": "reference", + "target": 263, + "name": "LineItemAdjustmentDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", @@ -28416,49 +26891,78 @@ ] }, { - "id": 1262, - "name": "createCustomerGroup", + "id": 977, + "name": "addLineItemAdjustments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1263, - "name": "createCustomerGroup", + "id": 978, + "name": "addLineItemAdjustments", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds line item adjustments to line items." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added line item adjustments." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst lineItemAdjustments =\n await cartModuleService.addLineItemAdjustments([\n {\n item_id: \"caliadj_123\",\n code: \"50%OFF\",\n amount: 3000,\n },\n {\n item_id: \"caliadj_321\",\n code: \"10%OFF\",\n amount: 3000,\n },\n ])\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1264, + "id": 979, "name": "data", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The line item adjustments to be created and added to line items.\nThe line item is specified by the " + }, + { + "kind": "code", + "text": "`item_id`" + }, + { + "kind": "text", + "text": " field." + } + ] + }, "type": { "type": "array", "elementType": { "type": "reference", - "target": 1468, - "name": "CreateCustomerGroupDTO", + "target": 674, + "name": "CreateLineItemAdjustmentDTO", "package": "@medusajs/types" } } - }, - { - "id": 1265, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } } ], "type": { @@ -28472,8 +26976,8 @@ "type": "array", "elementType": { "type": "reference", - "target": 1164, - "name": "CustomerGroupDTO", + "target": 263, + "name": "LineItemAdjustmentDTO", "package": "@medusajs/types" } } @@ -28483,37 +26987,66 @@ } }, { - "id": 1266, - "name": "createCustomerGroup", + "id": 980, + "name": "addLineItemAdjustments", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds a line item adjustment to a line item." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added line item adjustment." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst lineItemAdjustments =\n await cartModuleService.addLineItemAdjustments({\n item_id: \"caliadj_123\",\n code: \"50%OFF\",\n amount: 3000,\n })\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1267, + "id": 981, "name": "data", "variant": "param", "kind": 32768, "flags": {}, - "type": { - "type": "reference", - "target": 1468, - "name": "CreateCustomerGroupDTO", - "package": "@medusajs/types" - } - }, - { - "id": 1268, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "The line item adjustment to be created and added to a line item.\nThe line item is specified by the " + }, + { + "kind": "code", + "text": "`item_id`" + }, + { + "kind": "text", + "text": " field." + } + ] }, "type": { "type": "reference", - "target": 3682, - "name": "Context", + "target": 674, + "name": "CreateLineItemAdjustmentDTO", "package": "@medusajs/types" } } @@ -28526,79 +27059,103 @@ }, "typeArguments": [ { - "type": "reference", - "target": 1164, - "name": "CustomerGroupDTO", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 263, + "name": "LineItemAdjustmentDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", "package": "typescript" } - } - ] - }, - { - "id": 1269, - "name": "retrieveCustomerGroup", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 1270, - "name": "retrieveCustomerGroup", + "id": 982, + "name": "addLineItemAdjustments", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds line item adjustments to line items in a cart." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added line item adjustment." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst lineItemAdjustments =\n await cartModuleService.addLineItemAdjustments(\"cart_123\", [\n {\n item_id: \"caliadj_123\",\n code: \"50%OFF\",\n amount: 3000,\n },\n {\n item_id: \"caliadj_321\",\n code: \"10%OFF\",\n amount: 2000,\n },\n ])\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1271, - "name": "groupId", + "id": 983, + "name": "cartId", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cart's ID." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 1272, - "name": "config", + "id": 984, + "name": "data", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ + "flags": {}, + "comment": { + "summary": [ { - "type": "reference", - "target": 1164, - "name": "CustomerGroupDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "The line item adjustments to be created and added to line items.\nThe line item is specified by the " + }, + { + "kind": "code", + "text": "`item_id`" + }, + { + "kind": "text", + "text": " field." } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 1273, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] }, "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 674, + "name": "CreateLineItemAdjustmentDTO", + "package": "@medusajs/types" + } } } ], @@ -28610,10 +27167,13 @@ }, "typeArguments": [ { - "type": "reference", - "target": 1164, - "name": "CustomerGroupDTO", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 263, + "name": "LineItemAdjustmentDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", @@ -28623,122 +27183,125 @@ ] }, { - "id": 1274, - "name": "updateCustomerGroups", + "id": 985, + "name": "setLineItemAdjustments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1275, - "name": "updateCustomerGroups", + "id": 986, + "name": "setLineItemAdjustments", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method set the line item adjustments of line items in a cart. The existing line item adjustments, except those\nincluded in the specified list, of an item are removed and replaced with the specified adjustments." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added line item adjustments." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst lineItemAdjustments =\n await cartModuleService.setLineItemAdjustments(\"cart_123\", [\n {\n id: \"adj_123\",\n item_id: \"caliadj_123\",\n },\n {\n item_id: \"caliadj_123\",\n code: \"10%OFF\",\n amount: 2000,\n },\n {\n item_id: \"caliadj_321\",\n code: \"50%OFF\",\n amount: 3000,\n },\n ])\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1276, - "name": "groupId", + "id": 987, + "name": "cartId", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cart's ID." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 1277, + "id": 988, "name": "data", "variant": "param", "kind": 32768, "flags": {}, - "type": { - "type": "reference", - "target": 1472, - "name": "CustomerGroupUpdatableFields", - "package": "@medusajs/types" - } - }, - { - "id": 1278, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "The line item adjustments to add to the line items.\nThe line item is specified by the " + }, + { + "kind": "code", + "text": "`item_id`" + }, + { + "kind": "text", + "text": " field. If the " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " field is specified, the adjustment\nis kept in the line item's adjustment and its attributes can be updated." + } + ] }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 1164, - "name": "CustomerGroupDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 1279, - "name": "updateCustomerGroups", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1280, - "name": "groupIds", - "variant": "param", - "kind": 32768, - "flags": {}, "type": { "type": "array", "elementType": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 689, + "name": "UpsertLineItemAdjustmentDTO", + "package": "@medusajs/types" } } }, { - "id": 1281, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 1472, - "name": "CustomerGroupUpdatableFields", - "package": "@medusajs/types" - } - }, - { - "id": 1282, + "id": 989, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -28755,8 +27318,8 @@ "type": "array", "elementType": { "type": "reference", - "target": 1164, - "name": "CustomerGroupDTO", + "target": 263, + "name": "LineItemAdjustmentDTO", "package": "@medusajs/types" } } @@ -28764,51 +27327,190 @@ "name": "Promise", "package": "typescript" } - }, + } + ] + }, + { + "id": 990, + "name": "listShippingMethodAdjustments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "id": 1283, - "name": "updateCustomerGroups", + "id": 991, + "name": "listShippingMethodAdjustments", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of shipping method adjustments based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of shipping method adjustments." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of shipping method adjustments using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingMethodAdjustments =\n await cartModuleService.listShippingMethodAdjustments({\n id: [\"casmadj_123\", \"casmadj_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the shipping method adjustments:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingMethodAdjustments =\n await cartModuleService.listShippingMethodAdjustments(\n {\n id: [\"casmadj_123\", \"casmadj_321\"],\n },\n {\n relations: [\"shipping_method\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingMethodAdjustments =\n await cartModuleService.listShippingMethodAdjustments(\n {\n id: [\"casmadj_123\", \"casmadj_321\"],\n },\n {\n relations: [\"shipping_method\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1284, - "name": "selector", + "id": 992, + "name": "filters", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping method adjustments." + } + ] + }, "type": { "type": "reference", - "target": 1130, - "name": "FilterableCustomerGroupProps", + "target": 531, + "name": "FilterableShippingMethodAdjustmentProps", "package": "@medusajs/types" } }, { - "id": 1285, - "name": "data", + "id": 993, + "name": "config", "variant": "param", "kind": 32768, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the shipping method adjustment is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a shipping method adjustment." + } + ] + }, "type": { "type": "reference", - "target": 1472, - "name": "CustomerGroupUpdatableFields", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 250, + "name": "ShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", "package": "@medusajs/types" } }, { - "id": 1286, + "id": 994, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -28825,8 +27527,8 @@ "type": "array", "elementType": { "type": "reference", - "target": 1164, - "name": "CustomerGroupDTO", + "target": 250, + "name": "ShippingMethodAdjustmentDTO", "package": "@medusajs/types" } } @@ -28838,43 +27540,77 @@ ] }, { - "id": 1287, - "name": "deleteCustomerGroups", + "id": 995, + "name": "addShippingMethodAdjustments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1288, - "name": "deleteCustomerGroups", + "id": 996, + "name": "addShippingMethodAdjustments", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds shipping method adjustments to shipping methods." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added shipping method adjustments." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingMethodAdjustments =\n await cartModuleService.addShippingMethodAdjustments([\n {\n shipping_method_id: \"casm_123\",\n code: \"FREESHIPPING\",\n amount: 3000,\n },\n {\n shipping_method_id: \"casm_321\",\n code: \"10%OFF\",\n amount: 1500,\n },\n ])\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1289, - "name": "groupId", + "id": 997, + "name": "data", "variant": "param", "kind": 32768, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1290, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping method adjustments to be created and added to\nshipping methods. The shipping method is specified by the " + }, + { + "kind": "code", + "text": "`shipping_method_id`" + }, + { + "kind": "text", + "text": " field." + } + ] }, "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 841, + "name": "CreateShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + } } } ], @@ -28886,8 +27622,13 @@ }, "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "type": "array", + "elementType": { + "type": "reference", + "target": 250, + "name": "ShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", @@ -28895,38 +27636,66 @@ } }, { - "id": 1291, - "name": "deleteCustomerGroups", + "id": 998, + "name": "addShippingMethodAdjustments", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds a shipping method adjustment to a shipping method." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added shipping method adjustment." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingMethodAdjustment =\n await cartModuleService.addShippingMethodAdjustments({\n shipping_method_id: \"casm_123\",\n code: \"FREESHIPPING\",\n amount: 3000,\n })\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1292, - "name": "groupIds", + "id": 999, + "name": "data", "variant": "param", "kind": 32768, "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 1293, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping method adjustment to be created and added to a\nshipping method. The shipping method is specified by the " + }, + { + "kind": "code", + "text": "`shipping_method_id`" + }, + { + "kind": "text", + "text": " field." + } + ] }, "type": { "type": "reference", - "target": 3682, - "name": "Context", + "target": 841, + "name": "CreateShippingMethodAdjustmentDTO", "package": "@medusajs/types" } } @@ -28939,8 +27708,10 @@ }, "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "type": "reference", + "target": 250, + "name": "ShippingMethodAdjustmentDTO", + "package": "@medusajs/types" } ], "name": "Promise", @@ -28948,36 +27719,110 @@ } }, { - "id": 1294, - "name": "deleteCustomerGroups", + "id": 1000, + "name": "addShippingMethodAdjustments", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds shipping method adjustments to shipping methods in a cart." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added shipping method adjustments." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingMethodAdjustments =\n await cartModuleService.addShippingMethodAdjustments(\n \"cart_123\",\n [\n {\n shipping_method_id: \"casm_123\",\n code: \"FREESHIPPING\",\n amount: 3000,\n },\n {\n shipping_method_id: \"casm_321\",\n code: \"10%OFF\",\n amount: 1500,\n },\n ]\n )\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1295, - "name": "selector", + "id": 1001, + "name": "cartId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cart's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1002, + "name": "data", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping method adjustments to be created and added to\nshipping methods. The shipping method is specified by the " + }, + { + "kind": "code", + "text": "`shipping_method_id`" + }, + { + "kind": "text", + "text": " field." + } + ] + }, "type": { - "type": "reference", - "target": 1130, - "name": "FilterableCustomerGroupProps", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 841, + "name": "CreateShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + } } }, { - "id": 1296, + "id": 1003, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -28991,8 +27836,13 @@ }, "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "type": "array", + "elementType": { + "type": "reference", + "target": 250, + "name": "ShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", @@ -29002,125 +27852,128 @@ ] }, { - "id": 1297, - "name": "addCustomerToGroup", + "id": 1004, + "name": "setShippingMethodAdjustments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1298, - "name": "addCustomerToGroup", + "id": 1005, + "name": "setShippingMethodAdjustments", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method sets the shipping method adjustment of shipping methods in a cart. The existing shipping method adjustments,\nexcept those included in the specified list, of an item are removed and replaced with the specified adjustments." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added shipping method adjustments." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingMethodAdjustments =\n await cartModuleService.setShippingMethodAdjustments(\n \"cart_123\",\n [\n {\n id: \"casmadj_123\",\n shipping_method_id: \"casm_123\",\n code: \"FREESHIPPING\",\n },\n {\n shipping_method_id: \"casm_321\",\n code: \"10%OFF\",\n amount: 1500,\n },\n ]\n )\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1299, - "name": "groupCustomerPair", + "id": 1006, + "name": "cartId", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cart's ID." + } + ] + }, "type": { - "type": "reference", - "target": 1200, - "name": "GroupCustomerPair", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } }, { - "id": 1300, - "name": "sharedContext", + "id": 1007, + "name": "data", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping method adjustments to add to the shipping\nmethod. If the " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " field is specified, the adjustment is kept in the shipping method's adjustment and its attributes can be updated." + } + ] }, "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 1301, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ + "type": "array", + "elementType": { + "type": "union", + "types": [ { - "id": 1302, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ + "type": "reference", + "target": 841, + "name": "CreateShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + }, { - "title": "Properties", - "children": [ - 1302 - ] + "type": "reference", + "target": 848, + "name": "UpdateShippingMethodAdjustmentDTO", + "package": "@medusajs/types" } ] } } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 1303, - "name": "addCustomerToGroup", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1304, - "name": "groupCustomerPairs", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 1200, - "name": "GroupCustomerPair", - "package": "@medusajs/types" - } - } }, { - "id": 1305, + "id": 1008, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -29136,35 +27989,10 @@ { "type": "array", "elementType": { - "type": "reflection", - "declaration": { - "id": 1306, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1307, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1307 - ] - } - ] - } + "type": "reference", + "target": 250, + "name": "ShippingMethodAdjustmentDTO", + "package": "@medusajs/types" } } ], @@ -29175,98 +28003,186 @@ ] }, { - "id": 1308, - "name": "removeCustomerFromGroup", + "id": 1009, + "name": "listLineItemTaxLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1309, - "name": "removeCustomerFromGroup", + "id": 1010, + "name": "listLineItemTaxLines", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of line item tax lines based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of line item tax lines." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of line item tax lines using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst lineItemTaxLines =\n await cartModuleService.listLineItemTaxLines({\n id: [\"calitxl_123\", \"calitxl_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the line item tax lines:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst lineItemTaxLines =\n await cartModuleService.listLineItemTaxLines(\n {\n id: [\"calitxl_123\", \"calitxl_321\"],\n },\n {\n relations: [\"item\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst lineItemTaxLines =\n await cartModuleService.listLineItemTaxLines(\n {\n id: [\"calitxl_123\", \"calitxl_321\"],\n },\n {\n relations: [\"item\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1310, - "name": "groupCustomerPair", + "id": 1011, + "name": "filters", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved line item tax lines." + } + ] + }, "type": { "type": "reference", - "target": 1200, - "name": "GroupCustomerPair", + "target": 539, + "name": "FilterableLineItemTaxLineProps", "package": "@medusajs/types" } }, { - "id": 1311, - "name": "sharedContext", + "id": 1012, + "name": "config", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the line item tax line is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a line item tax line." + } + ] + }, "type": { "type": "reference", - "target": 3682, - "name": "Context", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 300, + "name": "LineItemTaxLineDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", "package": "@medusajs/types" } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 1312, - "name": "removeCustomerFromGroup", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1313, - "name": "groupCustomerPairs", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 1200, - "name": "GroupCustomerPair", - "package": "@medusajs/types" - } - } }, { - "id": 1314, + "id": 1013, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -29280,8 +28196,13 @@ }, "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "type": "array", + "elementType": { + "type": "reference", + "target": 300, + "name": "LineItemTaxLineDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", @@ -29291,49 +28212,70 @@ ] }, { - "id": 1315, - "name": "addAddresses", + "id": 1014, + "name": "addLineItemTaxLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1316, - "name": "addAddresses", + "id": 1015, + "name": "addLineItemTaxLines", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates and adds line item tax lines." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added line item tax lines." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst lineItemTaxLines =\n await cartModuleService.addLineItemTaxLines([\n {\n code: \"1000\",\n rate: 10,\n },\n {\n code: \"1234\",\n rate: 20,\n },\n ])\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1317, - "name": "addresses", + "id": 1016, + "name": "taxLines", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The line item tax lines to be created." + } + ] + }, "type": { "type": "array", "elementType": { "type": "reference", - "target": 1411, - "name": "CreateCustomerAddressDTO", + "target": 723, + "name": "CreateLineItemTaxLineDTO", "package": "@medusajs/types" } } - }, - { - "id": 1318, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } } ], "type": { @@ -29347,8 +28289,8 @@ "type": "array", "elementType": { "type": "reference", - "target": 1089, - "name": "CustomerAddressDTO", + "target": 300, + "name": "LineItemTaxLineDTO", "package": "@medusajs/types" } } @@ -29358,37 +28300,58 @@ } }, { - "id": 1319, - "name": "addAddresses", + "id": 1017, + "name": "addLineItemTaxLines", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates and adds a line item tax line." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added line item tax line." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst lineItemTaxLines =\n await cartModuleService.addLineItemTaxLines({\n code: \"1000\",\n rate: 10,\n })\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1320, - "name": "address", + "id": 1018, + "name": "taxLine", "variant": "param", "kind": 32768, "flags": {}, - "type": { - "type": "reference", - "target": 1411, - "name": "CreateCustomerAddressDTO", - "package": "@medusajs/types" - } - }, - { - "id": 1321, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "The line item tax line to be created." + } + ] }, "type": { "type": "reference", - "target": 3682, - "name": "Context", + "target": 723, + "name": "CreateLineItemTaxLineDTO", "package": "@medusajs/types" } } @@ -29402,66 +28365,123 @@ "typeArguments": [ { "type": "reference", - "target": 1089, - "name": "CustomerAddressDTO", + "target": 300, + "name": "LineItemTaxLineDTO", "package": "@medusajs/types" } ], "name": "Promise", "package": "typescript" } - } - ] - }, - { - "id": 1322, - "name": "updateAddresses", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 1323, - "name": "updateAddresses", + "id": 1019, + "name": "addLineItemTaxLines", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates and adds one or more line item tax lines to a cart." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added line item tax lines." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst lineItemTaxLines =\n await cartModuleService.addLineItemTaxLines(\"cart_123\", {\n code: \"1000\",\n rate: 10,\n })\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1324, - "name": "addressId", + "id": 1020, + "name": "cartId", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cart's ID." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 1325, - "name": "data", + "id": 1021, + "name": "taxLines", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The line item tax lines to add.\nYou can specify one or more items." + } + ] + }, "type": { - "type": "reference", - "target": 1427, - "name": "UpdateCustomerAddressDTO", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "reference", + "target": 723, + "name": "CreateLineItemTaxLineDTO", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 723, + "name": "CreateLineItemTaxLineDTO", + "package": "@medusajs/types" + } + } + ] } }, { - "id": 1326, + "id": 1022, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -29475,61 +28495,144 @@ }, "typeArguments": [ { - "type": "reference", - "target": 1089, - "name": "CustomerAddressDTO", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 300, + "name": "LineItemTaxLineDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", "package": "typescript" } - }, + } + ] + }, + { + "id": 1023, + "name": "setLineItemTaxLines", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "id": 1327, - "name": "updateAddresses", + "id": 1024, + "name": "setLineItemTaxLines", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method sets the line item tax lines in a cart. The existing line item tax lines,\nexcept those included in the specified list, are removed and replaced with the specified tax lines." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added line item tax lines." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst lineItemTaxLines =\n await cartModuleService.setLineItemTaxLines(\"cart_123\", [\n {\n code: \"1000\",\n rate: 10,\n },\n {\n code: \"1234\",\n rate: 20,\n },\n ])\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1328, - "name": "addressIds", + "id": 1025, + "name": "cartId", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cart's ID." + } + ] + }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "intrinsic", + "name": "string" } }, { - "id": 1329, - "name": "data", + "id": 1026, + "name": "taxLines", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The line item tax lines to add.\nIf the " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " field is specified, the tax line is kept and its attributes can be updated." + } + ] + }, "type": { - "type": "reference", - "target": 1427, - "name": "UpdateCustomerAddressDTO", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 723, + "name": "CreateLineItemTaxLineDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 729, + "name": "UpdateLineItemTaxLineDTO", + "package": "@medusajs/types" + } + ] + } } }, { - "id": 1330, + "id": 1027, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -29546,8 +28649,8 @@ "type": "array", "elementType": { "type": "reference", - "target": 1089, - "name": "CustomerAddressDTO", + "target": 300, + "name": "LineItemTaxLineDTO", "package": "@medusajs/types" } } @@ -29555,51 +28658,190 @@ "name": "Promise", "package": "typescript" } - }, + } + ] + }, + { + "id": 1028, + "name": "listShippingMethodTaxLines", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "id": 1331, - "name": "updateAddresses", + "id": 1029, + "name": "listShippingMethodTaxLines", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of shipping method tax lines based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of shipping method tax lines." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of shipping method tax lines using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingMethodTaxLines =\n await cartModuleService.listShippingMethodTaxLines({\n id: [\"casmtxl_123\", \"casmtxl_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the shipping method tax lines:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingMethodTaxLines =\n await cartModuleService.listShippingMethodTaxLines(\n {\n id: [\"casmtxl_123\", \"casmtxl_321\"],\n },\n {\n relations: [\"shipping_method\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingMethodTaxLines =\n await cartModuleService.listShippingMethodTaxLines(\n {\n id: [\"casmtxl_123\", \"casmtxl_321\"],\n },\n {\n relations: [\"shipping_method\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1332, - "name": "selector", + "id": 1030, + "name": "filters", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping method tax lines." + } + ] + }, "type": { "type": "reference", - "target": 1108, - "name": "FilterableCustomerAddressProps", + "target": 549, + "name": "FilterableShippingMethodTaxLineProps", "package": "@medusajs/types" } }, { - "id": 1333, - "name": "data", + "id": 1031, + "name": "config", "variant": "param", "kind": 32768, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the shipping method tax line is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a shipping method tax line." + } + ] + }, "type": { "type": "reference", - "target": 1427, - "name": "UpdateCustomerAddressDTO", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 285, + "name": "ShippingMethodTaxLineDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", "package": "@medusajs/types" } }, { - "id": 1334, + "id": 1032, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -29616,8 +28858,8 @@ "type": "array", "elementType": { "type": "reference", - "target": 1089, - "name": "CustomerAddressDTO", + "target": 285, + "name": "ShippingMethodTaxLineDTO", "package": "@medusajs/types" } } @@ -29629,43 +28871,69 @@ ] }, { - "id": 1335, - "name": "deleteAddresses", + "id": 1033, + "name": "addShippingMethodTaxLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1336, - "name": "deleteAddresses", + "id": 1034, + "name": "addShippingMethodTaxLines", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates and adds shipping method tax lines." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added shipping method tax lines." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingMethodTaxLines =\n await cartModuleService.addShippingMethodTaxLines([\n {\n code: \"1000\",\n rate: 10,\n },\n {\n code: \"1234\",\n rate: 20,\n },\n ])\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1337, - "name": "addressId", + "id": 1035, + "name": "taxLines", "variant": "param", "kind": 32768, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1338, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping method tax lines to be created." + } + ] }, "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 710, + "name": "CreateShippingMethodTaxLineDTO", + "package": "@medusajs/types" + } } } ], @@ -29677,8 +28945,13 @@ }, "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "type": "array", + "elementType": { + "type": "reference", + "target": 285, + "name": "ShippingMethodTaxLineDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", @@ -29686,38 +28959,58 @@ } }, { - "id": 1339, - "name": "deleteAddresses", + "id": 1036, + "name": "addShippingMethodTaxLines", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates and adds a shipping method tax line." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added shipping method tax line." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingMethodTaxLine =\n await cartModuleService.addShippingMethodTaxLines({\n code: \"1000\",\n rate: 10,\n })\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1340, - "name": "addressIds", + "id": 1037, + "name": "taxLine", "variant": "param", "kind": 32768, "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 1341, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping method tax line to be created." + } + ] }, "type": { "type": "reference", - "target": 3682, - "name": "Context", + "target": 710, + "name": "CreateShippingMethodTaxLineDTO", "package": "@medusajs/types" } } @@ -29730,8 +29023,10 @@ }, "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "type": "reference", + "target": 285, + "name": "ShippingMethodTaxLineDTO", + "package": "@medusajs/types" } ], "name": "Promise", @@ -29739,36 +29034,121 @@ } }, { - "id": 1342, - "name": "deleteAddresses", + "id": 1038, + "name": "addShippingMethodTaxLines", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates and adds one or more shipping method tax lines to a cart." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added shipping method tax lines." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingMethodTaxLines =\n await cartModuleService.addShippingMethodTaxLines(\n \"cart_123\",\n [\n {\n code: \"1000\",\n rate: 10,\n },\n {\n code: \"1234\",\n rate: 20,\n },\n ]\n )\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1343, - "name": "selector", + "id": 1039, + "name": "cartId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cart's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1040, + "name": "taxLines", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping item tax lines to add.\nIf the " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " field is specified, the tax line is kept and its attributes can be updated." + } + ] + }, "type": { - "type": "reference", - "target": 1108, - "name": "FilterableCustomerAddressProps", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "reference", + "target": 710, + "name": "CreateShippingMethodTaxLineDTO", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 710, + "name": "CreateShippingMethodTaxLineDTO", + "package": "@medusajs/types" + } + } + ] } }, { - "id": 1344, + "id": 1041, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -29782,8 +29162,13 @@ }, "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "type": "array", + "elementType": { + "type": "reference", + "target": 285, + "name": "ShippingMethodTaxLineDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", @@ -29793,68 +29178,128 @@ ] }, { - "id": 1345, - "name": "listAddresses", + "id": 1042, + "name": "setShippingMethodTaxLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1346, - "name": "listAddresses", + "id": 1043, + "name": "setShippingMethodTaxLines", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method sets the shipping item tax lines in a cart. The shipping line item tax lines,\nexcept those included in the specified list, are removed and replaced with the specified tax lines." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The added shipping method tax lines." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingMethodTaxLines =\n await cartModuleService.setShippingMethodTaxLines(\n \"cart_123\",\n [\n {\n code: \"1000\",\n rate: 10,\n },\n {\n code: \"1234\",\n rate: 20,\n },\n ]\n )\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1347, - "name": "filters", + "id": 1044, + "name": "cartId", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cart's ID." + } + ] }, "type": { - "type": "reference", - "target": 1108, - "name": "FilterableCustomerAddressProps", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } }, { - "id": 1348, - "name": "config", + "id": 1045, + "name": "taxLines", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ + "flags": {}, + "comment": { + "summary": [ { - "type": "reference", - "target": 1089, - "name": "CustomerAddressDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "The shipping item tax lines to add.\nIf the " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " field is specified, the tax line is kept and its attributes can be updated." } - ], - "name": "FindConfig", - "package": "@medusajs/types" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 710, + "name": "CreateShippingMethodTaxLineDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 716, + "name": "UpdateShippingMethodTaxLineDTO", + "package": "@medusajs/types" + } + ] + } } }, { - "id": 1349, + "id": 1046, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -29871,8 +29316,8 @@ "type": "array", "elementType": { "type": "reference", - "target": 1089, - "name": "CustomerAddressDTO", + "target": 285, + "name": "ShippingMethodTaxLineDTO", "package": "@medusajs/types" } } @@ -29884,68 +29329,88 @@ ] }, { - "id": 1350, - "name": "listAndCountAddresses", + "id": 1047, + "name": "deleteLineItems", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1351, - "name": "listAndCountAddresses", + "id": 1048, + "name": "deleteLineItems", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes line items by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the line items are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.deleteLineItems([\n \"cali_123\",\n \"cali_321\",\n])\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1352, - "name": "filters", + "id": 1049, + "name": "ids", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the line items." + } + ] }, "type": { - "type": "reference", - "target": 1108, - "name": "FilterableCustomerAddressProps", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } }, { - "id": 1353, - "name": "config", + "id": 1050, + "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ + "comment": { + "summary": [ { - "type": "reference", - "target": 1089, - "name": "CustomerAddressDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 1354, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -29959,93 +29424,87 @@ }, "typeArguments": [ { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 1089, - "name": "CustomerAddressDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] + "type": "intrinsic", + "name": "void" } ], "name": "Promise", "package": "typescript" } - } - ] - }, - { - "id": 1355, - "name": "listCustomerGroupCustomers", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 1356, - "name": "listCustomerGroupCustomers", + "id": 1051, + "name": "deleteLineItems", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a line item by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when a line item is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.deleteLineItems(\"cali_123\")\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1357, - "name": "filters", + "id": 1052, + "name": "id", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the line item." + } + ] }, "type": { - "type": "reference", - "target": 1139, - "name": "FilterableCustomerGroupCustomerProps", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } }, { - "id": 1358, - "name": "config", + "id": 1053, + "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ + "comment": { + "summary": [ { - "type": "reference", - "target": 1173, - "name": "CustomerGroupCustomerDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 1359, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -30059,13 +29518,8 @@ }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 1173, - "name": "CustomerGroupCustomerDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "void" } ], "name": "Promise", @@ -30075,68 +29529,88 @@ ] }, { - "id": 1360, - "name": "list", + "id": 1054, + "name": "deleteShippingMethods", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1361, - "name": "list", + "id": 1055, + "name": "deleteShippingMethods", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes shipping methods by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the shipping methods are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.deleteShippingMethods([\n \"casm_123\",\n \"casm_321\",\n])\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1362, - "name": "filters", + "id": 1056, + "name": "ids", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the shipping methods." + } + ] }, "type": { - "type": "reference", - "target": 1150, - "name": "FilterableCustomerProps", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } }, { - "id": 1363, - "name": "config", + "id": 1057, + "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ + "comment": { + "summary": [ { - "type": "reference", - "target": 1182, - "name": "CustomerDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 1364, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -30150,84 +29624,87 @@ }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 1182, - "name": "CustomerDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "void" } ], "name": "Promise", "package": "typescript" } - } - ] - }, - { - "id": 1365, - "name": "listAndCount", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 1366, - "name": "listAndCount", + "id": 1058, + "name": "deleteShippingMethods", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a shipping method by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the shipping method is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.deleteShippingMethods(\"casm_123\")\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1367, - "name": "filters", + "id": 1059, + "name": "id", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping method." + } + ] }, "type": { - "type": "reference", - "target": 1150, - "name": "FilterableCustomerProps", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } }, { - "id": 1368, - "name": "config", + "id": 1060, + "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ + "comment": { + "summary": [ { - "type": "reference", - "target": 1182, - "name": "CustomerDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 1369, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -30241,22 +29718,8 @@ }, "typeArguments": [ { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 1182, - "name": "CustomerDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] + "type": "intrinsic", + "name": "void" } ], "name": "Promise", @@ -30266,68 +29729,88 @@ ] }, { - "id": 1370, - "name": "listCustomerGroups", + "id": 1061, + "name": "deleteLineItemAdjustments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1371, - "name": "listCustomerGroups", + "id": 1062, + "name": "deleteLineItemAdjustments", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes line item adjustments by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the line item adjustments are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.deleteLineItemAdjustments([\n \"caliadj_123\",\n \"caliadj_321\",\n])\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1372, - "name": "filters", + "id": 1063, + "name": "ids", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the line item adjustments." + } + ] }, "type": { - "type": "reference", - "target": 1130, - "name": "FilterableCustomerGroupProps", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } }, { - "id": 1373, - "name": "config", + "id": 1064, + "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ + "comment": { + "summary": [ { - "type": "reference", - "target": 1164, - "name": "CustomerGroupDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 1374, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -30341,84 +29824,87 @@ }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 1164, - "name": "CustomerGroupDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "void" } ], "name": "Promise", "package": "typescript" } - } - ] - }, - { - "id": 1375, - "name": "listAndCountCustomerGroups", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 1376, - "name": "listAndCountCustomerGroups", + "id": 1065, + "name": "deleteLineItemAdjustments", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a line item adjustment by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the line item adjustment is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.deleteLineItemAdjustments(\n \"caliadj_123\"\n)\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1377, - "name": "filters", + "id": 1066, + "name": "id", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the line item adjustment." + } + ] }, "type": { - "type": "reference", - "target": 1130, - "name": "FilterableCustomerGroupProps", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } }, { - "id": 1378, - "name": "config", + "id": 1067, + "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ + "comment": { + "summary": [ { - "type": "reference", - "target": 1164, - "name": "CustomerGroupDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 1379, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -30432,22 +29918,8 @@ }, "typeArguments": [ { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 1164, - "name": "CustomerGroupDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] + "type": "intrinsic", + "name": "void" } ], "name": "Promise", @@ -30457,42 +29929,694 @@ ] }, { - "id": 1380, - "name": "softDelete", + "id": 1068, + "name": "deleteShippingMethodAdjustments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1381, - "name": "softDelete", + "id": 1069, + "name": "deleteShippingMethodAdjustments", "variant": "signature", "kind": 4096, "flags": {}, - "typeParameter": [ - { - "id": 1382, - "name": "TReturnableLinkableKeys", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "intrinsic", - "name": "string" - } + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes shipping method adjustments by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the shipping method adjustments are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.deleteShippingMethodAdjustments([\n \"casmadj_123\",\n \"casmadj_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1070, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the shipping method adjustments." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1071, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1072, + "name": "deleteShippingMethodAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a shipping method adjustment by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when shipping method adjustment is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.deleteShippingMethodAdjustments(\n \"casmadj_123\"\n)\n```" + } + ] + } + ] + }, "parameters": [ { - "id": 1383, - "name": "customerIds", + "id": 1073, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping method adjustment." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1074, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1075, + "name": "deleteLineItemTaxLines", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 1076, + "name": "deleteLineItemTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes line item tax lines by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the line item tax lines are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.deleteLineItemTaxLines([\n \"calitxl_123\",\n \"calitxl_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1077, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the line item tax lines." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1078, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1079, + "name": "deleteLineItemTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a line item tax line by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the line item tax line is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.deleteLineItemTaxLines(\"calitxl_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1080, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the line item tax line." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1081, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1082, + "name": "deleteShippingMethodTaxLines", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 1083, + "name": "deleteShippingMethodTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes shipping method tax lines by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the shipping method tax lines are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.deleteShippingMethodTaxLines([\n \"casmtxl_123\",\n \"casmtxl_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1084, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the shipping method tax lines." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1085, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1086, + "name": "deleteShippingMethodTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a shipping method tax line by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the shipping method tax line is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.deleteShippingMethodTaxLines(\n \"casmtxl_123\"\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1087, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping method tax line." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1088, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1089, + "name": "softDelete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 1090, + "name": "softDelete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes carts by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted, such as the ID of the associated line item.\nThe object's keys are the ID attribute names of the cart entity's relations, such as " + }, + { + "kind": "code", + "text": "`item_id`" + }, + { + "kind": "text", + "text": ", and its value is an array of strings, each being the ID of a record associated\nwith the cart through this relation, such as the IDs of associated line item.\n\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.softDelete([\"cart_123\", \"cart_321\"])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 1091, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 1092, + "name": "ids", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the carts." + } + ] + }, "type": { "type": "array", "elementType": { @@ -30502,20 +30626,28 @@ } }, { - "id": 1384, + "id": 1093, "name": "config", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, "type": { "type": "reference", - "target": 1642, + "target": 2172, "typeArguments": [ { "type": "reference", - "target": 1382, + "target": 1091, "name": "TReturnableLinkableKeys", "package": "@medusajs/types", "refersToTypeParameter": true @@ -30526,16 +30658,24 @@ } }, { - "id": 1385, + "id": 1094, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -30564,7 +30704,7 @@ "typeArguments": [ { "type": "reference", - "target": 1382, + "target": 1091, "name": "TReturnableLinkableKeys", "package": "@medusajs/types", "refersToTypeParameter": true @@ -30590,21 +30730,65 @@ ] }, { - "id": 1386, + "id": 1095, "name": "restore", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1387, + "id": 1096, "name": "restore", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores soft deleted carts by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored, such as the ID of associated line item.\nThe object's keys are the ID attribute names of the cart entity's relations, such as " + }, + { + "kind": "code", + "text": "`item_id`" + }, + { + "kind": "text", + "text": ",\nand its value is an array of strings, each being the ID of the record associated with the cart through this relation,\nsuch as the IDs of associated line item.\n\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.restore([\"cart_123\", \"cart_321\"])\n```" + } + ] + } + ] + }, "typeParameter": [ { - "id": 1388, + "id": 1097, "name": "TReturnableLinkableKeys", "variant": "typeParam", "kind": 131072, @@ -30621,11 +30805,19 @@ ], "parameters": [ { - "id": 1389, - "name": "customerIds", + "id": 1098, + "name": "ids", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the carts." + } + ] + }, "type": { "type": "array", "elementType": { @@ -30635,20 +30827,44 @@ } }, { - "id": 1390, + "id": 1099, "name": "config", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the carts. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the cart's relation attribute names, such as " + }, + { + "kind": "code", + "text": "`items`" + }, + { + "kind": "text", + "text": "." + } + ] + }, "type": { "type": "reference", - "target": 1645, + "target": 2175, "typeArguments": [ { "type": "reference", - "target": 1388, + "target": 1097, "name": "TReturnableLinkableKeys", "package": "@medusajs/types", "refersToTypeParameter": true @@ -30659,16 +30875,24 @@ } }, { - "id": 1391, + "id": 1100, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -30697,7 +30921,7 @@ "typeArguments": [ { "type": "reference", - "target": 1388, + "target": 1097, "name": "TReturnableLinkableKeys", "package": "@medusajs/types", "refersToTypeParameter": true @@ -30723,21 +30947,57 @@ ] }, { - "id": 1392, - "name": "softDeleteCustomerGroups", + "id": 1101, + "name": "softDeleteAddresses", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1393, - "name": "softDeleteCustomerGroups", + "id": 1102, + "name": "softDeleteAddresses", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes addresses by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted.\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.softDeleteAddresses([\n \"caaddr_123\",\n \"caaddr_321\",\n])\n```" + } + ] + } + ] + }, "typeParameter": [ { - "id": 1394, + "id": 1103, "name": "TReturnableLinkableKeys", "variant": "typeParam", "kind": 131072, @@ -30754,11 +31014,19 @@ ], "parameters": [ { - "id": 1395, - "name": "groupIds", + "id": 1104, + "name": "ids", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the addresses." + } + ] + }, "type": { "type": "array", "elementType": { @@ -30768,20 +31036,28 @@ } }, { - "id": 1396, + "id": 1105, "name": "config", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, "type": { "type": "reference", - "target": 1642, + "target": 2172, "typeArguments": [ { "type": "reference", - "target": 1394, + "target": 1103, "name": "TReturnableLinkableKeys", "package": "@medusajs/types", "refersToTypeParameter": true @@ -30792,16 +31068,24 @@ } }, { - "id": 1397, + "id": 1106, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -30830,7 +31114,7 @@ "typeArguments": [ { "type": "reference", - "target": 1394, + "target": 1103, "name": "TReturnableLinkableKeys", "package": "@medusajs/types", "refersToTypeParameter": true @@ -30856,21 +31140,57 @@ ] }, { - "id": 1398, - "name": "restoreCustomerGroups", + "id": 1107, + "name": "restoreAddresses", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1399, - "name": "restoreCustomerGroups", + "id": 1108, + "name": "restoreAddresses", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores soft deleted addresses by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored.\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.restoreAddresses([\n \"caaddr_123\",\n \"caaddr_321\",\n])\n```" + } + ] + } + ] + }, "typeParameter": [ { - "id": 1400, + "id": 1109, "name": "TReturnableLinkableKeys", "variant": "typeParam", "kind": 131072, @@ -30887,11 +31207,19 @@ ], "parameters": [ { - "id": 1401, - "name": "groupIds", + "id": 1110, + "name": "ids", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the addresses." + } + ] + }, "type": { "type": "array", "elementType": { @@ -30901,20 +31229,36 @@ } }, { - "id": 1402, + "id": 1111, "name": "config", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the addresses. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the address's relation attribute names." + } + ] + }, "type": { "type": "reference", - "target": 1645, + "target": 2175, "typeArguments": [ { "type": "reference", - "target": 1400, + "target": 1109, "name": "TReturnableLinkableKeys", "package": "@medusajs/types", "refersToTypeParameter": true @@ -30925,16 +31269,24 @@ } }, { - "id": 1403, + "id": 1112, "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -30963,7 +31315,7 @@ "typeArguments": [ { "type": "reference", - "target": 1400, + "target": 1109, "name": "TReturnableLinkableKeys", "package": "@medusajs/types", "refersToTypeParameter": true @@ -30987,957 +31339,374 @@ } } ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 1227, - 1232, - 1239, - 1252, - 1262, - 1269, - 1274, - 1287, - 1297, - 1308, - 1315, - 1322, - 1335, - 1345, - 1350, - 1355, - 1360, - 1365, - 1370, - 1375, - 1380, - 1386, - 1392, - 1398 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 2048, - "name": "IModuleService", - "package": "@medusajs/types" - } - ] - } - ], - "groups": [ - { - "title": "Interfaces", - "children": [ - 1089, - 1108, - 1130, - 1139, - 1150, - 1164, - 1173, - 1182, - 1411, - 1427, - 1444, - 1453, - 1461, - 1468, - 1472, - 1475, - 1480, - 1226 - ] - }, - { - "title": "Type Aliases", - "children": [ - 1200, - 1204 - ] - } - ] - }, - { - "id": 1483, - "name": "DAL", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ - { - "id": 1648, - "name": "EntityDateColumns", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "created_at" - }, - { - "type": "literal", - "value": "updated_at" - } - ] - } - }, - { - "id": 1649, - "name": "SoftDeletableEntityDateColumns", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "deleted_at" - }, - { - "type": "reference", - "target": 1648, - "name": "EntityDateColumns", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 1512, - "name": "BaseFilterable", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." - } - ] - }, - "children": [ + }, { - "id": 1513, - "name": "$and", + "id": 1113, + "name": "softDeleteLineItems", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 1114, + "name": "softDeleteLineItems", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes line items by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted, such as the ID of the associated tax lines.\nThe object's keys are the ID attribute names of the line item entity's relations, such as " + }, + { + "kind": "code", + "text": "`tax_line_id`" + }, + { + "kind": "text", + "text": ", and its value is an array of strings, each being the ID of a record associated\nwith the line item through this relation, such as the IDs of associated tax lines.\n\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.softDeleteLineItems([\n \"cali_123\",\n \"cali_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 1515, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "BaseFilterable.T", - "refersToTypeParameter": true + "id": 1115, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 1116, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the line items." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" + } }, { - "type": "reference", - "target": 1515, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "BaseFilterable.T", - "refersToTypeParameter": true - } - ] - } - } - }, - { - "id": 1514, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 1515, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "BaseFilterable.T", - "refersToTypeParameter": true - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1515, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "BaseFilterable.T", - "refersToTypeParameter": true - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1513, - 1514 - ] - } - ], - "typeParameters": [ - { - "id": 1515, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "extendedBy": [ - { - "type": "reference", - "target": 92, - "name": "FilterableAuthUserProps" - }, - { - "type": "reference", - "target": 310, - "name": "FilterableCartProps" - }, - { - "type": "reference", - "target": 319, - "name": "FilterableAddressProps" - }, - { - "type": "reference", - "target": 323, - "name": "FilterableLineItemProps" - }, - { - "type": "reference", - "target": 331, - "name": "FilterableLineItemAdjustmentProps" - }, - { - "type": "reference", - "target": 339, - "name": "FilterableShippingMethodProps" - }, - { - "type": "reference", - "target": 346, - "name": "FilterableShippingMethodAdjustmentProps" - }, - { - "type": "reference", - "target": 354, - "name": "FilterableLineItemTaxLineProps" - }, - { - "type": "reference", - "target": 364, - "name": "FilterableShippingMethodTaxLineProps" - }, - { - "type": "reference", - "target": 1108, - "name": "FilterableCustomerAddressProps" - }, - { - "type": "reference", - "target": 1130, - "name": "FilterableCustomerGroupProps" - }, - { - "type": "reference", - "target": 1139, - "name": "FilterableCustomerGroupCustomerProps" - }, - { - "type": "reference", - "target": 1150, - "name": "FilterableCustomerProps" - }, - { - "type": "reference", - "target": 2197, - "name": "FilterableApplicationMethodProps" - }, - { - "type": "reference", - "target": 2213, - "name": "FilterableCampaignProps" - }, - { - "type": "reference", - "target": 2224, - "name": "FilterableCampaignBudgetProps" - }, - { - "type": "reference", - "target": 2296, - "name": "FilterablePromotionProps" - }, - { - "type": "reference", - "target": 2320, - "name": "FilterablePromotionRuleProps" - }, - { - "type": "reference", - "target": 2333, - "name": "FilterablePromotionRuleValueProps" - }, - { - "type": "reference", - "target": 2531, - "name": "FilterableSalesChannelProps" - }, - { - "type": "reference", - "target": 2943, - "name": "FilterablePaymentCollectionProps" - }, - { - "type": "reference", - "target": 3165, - "name": "FilterableCurrencyProps" - }, - { - "type": "reference", - "target": 3193, - "name": "FilterableMoneyAmountProps" - }, - { - "type": "reference", - "target": 3228, - "name": "FilterablePriceRuleProps" - }, - { - "type": "reference", - "target": 3305, - "name": "FilterablePriceSetProps" - }, - { - "type": "reference", - "target": 3332, - "name": "FilterablePriceSetMoneyAmountProps" - }, - { - "type": "reference", - "target": 3352, - "name": "FilterablePriceSetMoneyAmountRulesProps" - }, - { - "type": "reference", - "target": 3371, - "name": "FilterablePriceSetRuleTypeProps" - }, - { - "type": "reference", - "target": 3392, - "name": "FilterableRuleTypeProps" - }, - { - "type": "reference", - "target": 3446, - "name": "FilterablePriceListProps" - }, - { - "type": "reference", - "target": 3454, - "name": "FilterablePriceListRuleProps" - }, - { - "type": "reference", - "target": 3461, - "name": "FilterablePriceListRuleValueProps" - }, - { - "type": "reference", - "target": 3520, - "name": "FilterableRegionProps" - }, - { - "type": "reference", - "target": 3537, - "name": "FilterableRegionCurrencyProps" - }, - { - "type": "reference", - "target": 3545, - "name": "FilterableRegionCountryProps" - } - ] - }, - { - "id": 1516, - "name": "OptionsQuery", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 1517, - "name": "populate", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 1518, - "name": "orderBy", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3705, - "typeArguments": [ - { - "type": "reference", - "target": 1524, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "OptionsQuery.T", - "refersToTypeParameter": true - } - ], - "name": "Order", - "package": "@medusajs/types" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "target": 3705, - "typeArguments": [ - { - "type": "reference", - "target": 1524, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "OptionsQuery.T", - "refersToTypeParameter": true - } - ], - "name": "Order", - "package": "@medusajs/types" - } - } - ] - } - }, - { - "id": 1519, - "name": "limit", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1520, - "name": "offset", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1521, - "name": "fields", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 1522, - "name": "groupBy", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "id": 1523, - "name": "filters", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "boolean" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - { - "type": "reference", - "target": 3707, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "boolean" - }, + "id": 1117, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "reference", - "target": 3707, - "name": "Dictionary", - "package": "@medusajs/types" + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." } ] - } - ], - "name": "Dictionary", - "package": "@medusajs/types" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1517, - 1518, - 1519, - 1520, - 1521, - 1522, - 1523 - ] - } - ], - "typeParameters": [ - { - "id": 1524, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - }, - { - "id": 1525, - "name": "P", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "intrinsic", - "name": "never" - } - } - ] - }, - { - "id": 1526, - "name": "FindOptions", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ - { - "id": 1530, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1527, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1528, - "name": "where", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intersection", - "types": [ - { + }, + "type": { "type": "reference", - "target": 1484, + "target": 2172, "typeArguments": [ { "type": "reference", - "target": 1530, - "name": "T", + "target": 1115, + "name": "TReturnableLinkableKeys", "package": "@medusajs/types", "refersToTypeParameter": true } ], - "name": "FilterQuery", + "name": "SoftDeleteReturn", "package": "@medusajs/types" + } + }, + { + "id": 1118, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true }, - { + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { "type": "reference", - "target": 1512, - "typeArguments": [ + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, { "type": "reference", - "target": 1484, + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "reference", - "target": 1530, - "name": "T", + "target": 1115, + "name": "TReturnableLinkableKeys", "package": "@medusajs/types", "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } ], - "name": "FilterQuery", - "package": "@medusajs/types" + "name": "Record", + "package": "typescript" } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 1529, - "name": "options", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1516, - "typeArguments": [ - { - "type": "reference", - "target": 1530, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - { - "type": "intrinsic", - "name": "any" + ] } ], - "name": "OptionsQuery", - "package": "@medusajs/types" + "name": "Promise", + "package": "typescript" } } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1528, - 1529 - ] - } ] - } - } - }, - { - "id": 1531, - "name": "RepositoryService", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Data access layer (DAL) interface to implements for any repository service.\nThis layer helps to separate the business logic (service layer) from accessing the\nORM directly and allows to switch to another ORM without changing the business logic." - } - ] - }, - "children": [ + }, { - "id": 1575, - "name": "transaction", + "id": 1119, + "name": "restoreLineItems", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1576, - "name": "transaction", + "id": 1120, + "name": "restoreLineItems", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores soft deleted line items by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored, such as the ID of associated tax line.\nThe object's keys are the ID attribute names of the line item entity's relations, such as " + }, + { + "kind": "code", + "text": "`tax_line_id`" + }, + { + "kind": "text", + "text": ",\nand its value is an array of strings, each being the ID of the record associated with the line item through this relation,\nsuch as the IDs of associated tax line.\n\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.restoreLineItems([\n \"cali_123\",\n \"cali_321\",\n])\n```" + } + ] + } + ] + }, "typeParameter": [ { - "id": 1577, - "name": "TManager", + "id": 1121, + "name": "TReturnableLinkableKeys", "variant": "typeParam", "kind": 131072, "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, "default": { "type": "intrinsic", - "name": "unknown" + "name": "string" } } ], "parameters": [ { - "id": 1578, - "name": "task", + "id": 1122, + "name": "ids", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the line items." + } + ] + }, "type": { - "type": "reflection", - "declaration": { - "id": 1579, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "signatures": [ - { - "id": 1580, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1581, - "name": "transactionManager", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 1577, - "name": "TManager", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" } } }, { - "id": 1582, - "name": "context", + "id": 1123, + "name": "config", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the line items. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the line item's relation attribute names, such as " + }, + { + "kind": "code", + "text": "`tax_lines`" + }, + { + "kind": "text", + "text": "." + } + ] + }, "type": { - "type": "reflection", - "declaration": { - "id": 1583, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1584, - "name": "isolationLevel", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1585, - "name": "transaction", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1577, - "name": "TManager", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - { - "id": 1586, - "name": "enableNestedTransactions", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1584, - 1585, - 1586 - ] - } - ] - } + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 1121, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 1124, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" } } ], @@ -31949,263 +31718,194 @@ }, "typeArguments": [ { - "type": "intrinsic", - "name": "any" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1121, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] } ], "name": "Promise", "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": 3714, - "name": "BaseRepositoryService.transaction" } } - ], - "inheritedFrom": { - "type": "reference", - "target": 3713, - "name": "BaseRepositoryService.transaction" - } + ] }, { - "id": 1587, - "name": "getFreshManager", + "id": 1125, + "name": "softDeleteShippingMethods", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1588, - "name": "getFreshManager", + "id": 1126, + "name": "softDeleteShippingMethods", "variant": "signature", "kind": 4096, "flags": {}, - "typeParameter": [ - { - "id": 1589, - "name": "TManager", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes shipping methods by their IDs." } - } - ], - "type": { - "type": "reference", - "target": 1589, - "name": "TManager", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "inheritedFrom": { - "type": "reference", - "target": 3726, - "name": "BaseRepositoryService.getFreshManager" - } - } - ], - "inheritedFrom": { - "type": "reference", - "target": 3725, - "name": "BaseRepositoryService.getFreshManager" - } - }, - { - "id": 1590, - "name": "getActiveManager", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 1591, - "name": "getActiveManager", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 1592, - "name": "TManager", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted, such as the ID of the associated tax lines.\nThe object's keys are the ID attribute names of the shipping method entity's relations, such as " + }, + { + "kind": "code", + "text": "`tax_line_id`" + }, + { + "kind": "text", + "text": ", and its value is an array of strings, each being the ID of a record associated\nwith the shipping method through this relation, such as the IDs of associated tax line.\n\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.softDeleteShippingMethods([\n \"casm_123\",\n \"casm_321\",\n])\n```" + } + ] } - } - ], - "type": { - "type": "reference", - "target": 1592, - "name": "TManager", - "package": "@medusajs/types", - "refersToTypeParameter": true + ] }, - "inheritedFrom": { - "type": "reference", - "target": 3729, - "name": "BaseRepositoryService.getActiveManager" - } - } - ], - "inheritedFrom": { - "type": "reference", - "target": 3728, - "name": "BaseRepositoryService.getActiveManager" - } - }, - { - "id": 1593, - "name": "serialize", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 1594, - "name": "serialize", - "variant": "signature", - "kind": 4096, - "flags": {}, "typeParameter": [ { - "id": 1595, - "name": "TOutput", + "id": 1127, + "name": "TReturnableLinkableKeys", "variant": "typeParam", "kind": 131072, "flags": {}, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "object" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "object" - } - } - ] + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" } } ], "parameters": [ { - "id": 1596, - "name": "data", + "id": 1128, + "name": "ids", "variant": "param", "kind": 32768, "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1597, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the shipping methods." + } + ] }, "type": { - "type": "intrinsic", - "name": "any" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" }, - "typeArguments": [ - { - "type": "reference", - "target": 1595, - "name": "TOutput", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "Promise", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": 3732, - "name": "BaseRepositoryService.serialize" - } - } - ], - "inheritedFrom": { - "type": "reference", - "target": 3731, - "name": "BaseRepositoryService.serialize" - } - }, - { - "id": 1532, - "name": "find", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 1533, - "name": "find", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ { - "id": 1534, - "name": "options", + "id": 1129, + "name": "config", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, "type": { "type": "reference", - "target": 1526, + "target": 2172, "typeArguments": [ { "type": "reference", - "target": 1598, - "name": "T", + "target": 1127, + "name": "TReturnableLinkableKeys", "package": "@medusajs/types", - "qualifiedName": "RepositoryService.T", "refersToTypeParameter": true } ], - "name": "FindOptions", + "name": "SoftDeleteReturn", "package": "@medusajs/types" } }, { - "id": 1535, - "name": "context", + "id": 1130, + "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -32219,15 +31919,38 @@ }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 1598, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "RepositoryService.T", - "refersToTypeParameter": true - } + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1127, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] } ], "name": "Promise", @@ -32237,55 +31960,169 @@ ] }, { - "id": 1536, - "name": "findAndCount", + "id": 1131, + "name": "restoreShippingMethods", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1537, - "name": "findAndCount", + "id": 1132, + "name": "restoreShippingMethods", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores soft deleted shipping methods by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored, such as the ID of associated tax lines.\nThe object's keys are the ID attribute names of the shipping method entity's relations, such as " + }, + { + "kind": "code", + "text": "`tax_line_id`" + }, + { + "kind": "text", + "text": ",\nand its value is an array of strings, each being the ID of the record associated with the shipping method through this relation,\nsuch as the IDs of associated tax lines.\n\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.restoreShippingMethods([\n \"casm_123\",\n \"casm_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 1133, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], "parameters": [ { - "id": 1538, - "name": "options", + "id": 1134, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the shipping methods." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1135, + "name": "config", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the shipping methods. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the shipping method's relation attribute names, such as " + }, + { + "kind": "code", + "text": "`tax_lines`" + }, + { + "kind": "text", + "text": "." + } + ] + }, "type": { "type": "reference", - "target": 1526, + "target": 2175, "typeArguments": [ { "type": "reference", - "target": 1598, - "name": "T", + "target": 1133, + "name": "TReturnableLinkableKeys", "package": "@medusajs/types", - "qualifiedName": "RepositoryService.T", "refersToTypeParameter": true } ], - "name": "FindOptions", + "name": "RestoreReturn", "package": "@medusajs/types" } }, { - "id": 1539, - "name": "context", + "id": 1136, + "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -32299,22 +32136,36 @@ }, "typeArguments": [ { - "type": "tuple", - "elements": [ + "type": "union", + "types": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 1598, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "RepositoryService.T", - "refersToTypeParameter": true - } + "type": "intrinsic", + "name": "void" }, { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1133, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" } ] } @@ -32326,44 +32177,145 @@ ] }, { - "id": 1540, - "name": "create", + "id": 1137, + "name": "softDeleteLineItemAdjustments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1541, - "name": "create", + "id": 1138, + "name": "softDeleteLineItemAdjustments", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes line item adjustments by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted.\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.softDeleteLineItemAdjustments([\n \"caliadj_123\",\n \"caliadj_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 1139, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], "parameters": [ { - "id": 1542, - "name": "data", + "id": 1140, + "name": "ids", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the line item adjustments." + } + ] + }, "type": { "type": "array", "elementType": { "type": "intrinsic", - "name": "any" + "name": "string" } } }, { - "id": 1543, - "name": "context", + "id": 1141, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 1139, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 1142, + "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -32377,15 +32329,38 @@ }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 1598, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "RepositoryService.T", - "refersToTypeParameter": true - } + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1139, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] } ], "name": "Promise", @@ -32395,83 +32370,346 @@ ] }, { - "id": 1544, - "name": "update", + "id": 1143, + "name": "restoreLineItemAdjustments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1545, - "name": "update", + "id": 1144, + "name": "restoreLineItemAdjustments", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores soft deleted line item adjustments by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored.\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.restoreLineItemAdjustments([\n \"caliadj_123\",\n \"caliadj_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 1145, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], "parameters": [ { - "id": 1546, - "name": "data", + "id": 1146, + "name": "ids", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the line item adjustments." + } + ] + }, "type": { "type": "array", "elementType": { - "type": "reflection", - "declaration": { - "id": 1547, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1147, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the line item adjustments. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the line item adjustment's relation attribute names." + } + ] + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 1145, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 1148, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ { - "id": 1548, - "name": "entity", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } + "type": "reference", + "target": 1145, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true }, { - "id": 1549, - "name": "update", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { + "type": "array", + "elementType": { "type": "intrinsic", - "name": "any" + "name": "string" } } ], - "groups": [ - { - "title": "Properties", - "children": [ - 1548, - 1549 - ] - } - ] + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1149, + "name": "softDeleteShippingMethodAdjustments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 1150, + "name": "softDeleteShippingMethodAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes shipping method adjustments by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted.\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.softDeleteShippingMethodAdjustments([\n \"casmadj_123\",\n \"casmadj_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 1151, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 1152, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the shipping method adjustments." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" } } }, { - "id": 1550, - "name": "context", + "id": 1153, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 1151, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 1154, + "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -32485,16 +32723,240 @@ }, "typeArguments": [ { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1151, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1155, + "name": "restoreShippingMethodAdjustments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 1156, + "name": "restoreShippingMethodAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores soft deleted shipping method adjustments by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored.\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.restoreShippingMethodAdjustments([\n \"casmadj_123\",\n \"casmadj_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 1157, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 1158, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the shipping method adjustments." + } + ] + }, + "type": { "type": "array", "elementType": { - "type": "reference", - "target": 1598, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "RepositoryService.T", - "refersToTypeParameter": true + "type": "intrinsic", + "name": "string" } } + }, + { + "id": 1159, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the shipping method adjustment. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the shipping method adjustment's relation attribute names." + } + ] + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 1157, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 1160, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1157, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } ], "name": "Promise", "package": "typescript" @@ -32503,866 +32965,191 @@ ] }, { - "id": 1551, - "name": "delete", + "id": 1161, + "name": "softDeleteLineItemTaxLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1552, - "name": "delete", + "id": 1162, + "name": "softDeleteLineItemTaxLines", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes line item tax lines by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted.\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.softDeleteLineItemTaxLines([\n \"calitxl_123\",\n \"calitxl_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 1163, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], "parameters": [ { - "id": 1553, - "name": "idsOrPKs", + "id": 1164, + "name": "ids", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the line item tax lines." + } + ] + }, "type": { - "type": "intersection", + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1165, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 1163, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 1166, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", "types": [ { - "type": "mapped", - "parameter": "Key", - "parameterType": { - "type": "union", - "types": [ - { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1163, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { "type": "intrinsic", "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "symbol" - } - ] - }, - "templateType": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "Key" - }, - "name": "Key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 1598, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "RepositoryService.T", - "refersToTypeParameter": true } - }, - "extendsType": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "bigint" - }, - { - "type": "intrinsic", - "name": "boolean" - }, - { - "type": "intrinsic", - "name": "symbol" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - }, - "trueType": { - "type": "union", - "types": [ - { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - ] - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "Key" - }, - "name": "Key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 1598, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "RepositoryService.T", - "refersToTypeParameter": true - } - }, - "extendsType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "U" - }, - "name": "U", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "U" - }, - "name": "U", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 1554, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "indexSignature": { - "id": 1555, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "parameters": [ - { - "id": 1556, - "name": "x", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "inferred", - "name": "V" - } - } - } - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "V" - }, - "name": "V", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "intrinsic", - "name": "object" - }, - "trueType": { - "type": "mapped", - "parameter": "Key", - "parameterType": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "symbol" - } - ] - }, - "templateType": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "Key" - }, - "name": "Key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "V", - "refersToTypeParameter": true - } - ], - "name": "Partial", - "package": "typescript" - } - }, - "extendsType": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "bigint" - }, - { - "type": "intrinsic", - "name": "boolean" - }, - { - "type": "intrinsic", - "name": "symbol" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - }, - "trueType": { - "type": "union", - "types": [ - { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - ] - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "Key" - }, - "name": "Key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "V", - "refersToTypeParameter": true - } - ], - "name": "Partial", - "package": "typescript" - } - }, - "extendsType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "U" - }, - "name": "U", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "trueType": { - "type": "unknown", - "name": "U extends { [x: number]: infer V; } ? V extends object ? { [Key in keyof Partial]?: (Partial[Key] extends string | number | bigint | boolean | symbol | Date ? Partial<...>[Key] | OperatorMap<...> : Partial<...>[Key] extends infer U ? U extends { ...; } ? V extends object ? ... : never : never : never) | undefi..." - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - }, - "optionalModifier": "+" - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - }, - "optionalModifier": "+" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "mapped", - "parameter": "Key", - "parameterType": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "symbol" - } - ] - }, - "templateType": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "Key" - }, - "name": "Key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 1598, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "RepositoryService.T", - "refersToTypeParameter": true - } - }, - "extendsType": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "bigint" - }, - { - "type": "intrinsic", - "name": "boolean" - }, - { - "type": "intrinsic", - "name": "symbol" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - }, - "trueType": { - "type": "union", - "types": [ - { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - ] - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "Key" - }, - "name": "Key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 1598, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "RepositoryService.T", - "refersToTypeParameter": true - } - }, - "extendsType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "U" - }, - "name": "U", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "U" - }, - "name": "U", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 1557, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "indexSignature": { - "id": 1558, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "parameters": [ - { - "id": 1559, - "name": "x", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "inferred", - "name": "V" - } - } - } - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "V" - }, - "name": "V", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "intrinsic", - "name": "object" - }, - "trueType": { - "type": "mapped", - "parameter": "Key", - "parameterType": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "symbol" - } - ] - }, - "templateType": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "Key" - }, - "name": "Key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "V", - "refersToTypeParameter": true - } - ], - "name": "Partial", - "package": "typescript" - } - }, - "extendsType": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "bigint" - }, - { - "type": "intrinsic", - "name": "boolean" - }, - { - "type": "intrinsic", - "name": "symbol" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - }, - "trueType": { - "type": "union", - "types": [ - { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - ] - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "Key" - }, - "name": "Key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "V", - "refersToTypeParameter": true - } - ], - "name": "Partial", - "package": "typescript" - } - }, - "extendsType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "U" - }, - "name": "U", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "trueType": { - "type": "unknown", - "name": "U extends { [x: number]: infer V; } ? V extends object ? { [Key in keyof Partial]?: (Partial[Key] extends string | number | bigint | boolean | symbol | Date ? Partial<...>[Key] | OperatorMap<...> : Partial<...>[Key] extends infer U ? U extends { ...; } ? V extends object ? ... : never : never : never) | undefi..." - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - }, - "optionalModifier": "+" - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - }, - "optionalModifier": "+" } ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "name": "Record", + "package": "typescript" } ] } - }, - { - "id": 1560, - "name": "context", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } ], "name": "Promise", "package": "typescript" @@ -33371,15 +33158,15 @@ ] }, { - "id": 1561, - "name": "softDelete", + "id": 1167, + "name": "restoreLineItemTaxLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1562, - "name": "softDelete", + "id": 1168, + "name": "restoreLineItemTaxLines", "variant": "signature", "kind": 4096, "flags": {}, @@ -33387,7 +33174,7 @@ "summary": [ { "kind": "text", - "text": "Soft delete entities and cascade to related entities if configured." + "text": "This method restores soft deleted line item tax lines by its IDs." } ], "blockTags": [ @@ -33396,53 +33183,128 @@ "content": [ { "kind": "text", - "text": "[T[], Record] the second value being the map of the entity names and ids that were soft deleted" + "text": "An object that includes the IDs of related records that were restored.\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.restoreLineItemTaxLines([\n \"calitxl_123\",\n \"calitxl_321\",\n])\n```" } ] } ] }, + "typeParameter": [ + { + "id": 1169, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], "parameters": [ { - "id": 1563, - "name": "idsOrFilter", + "id": 1170, + "name": "ids", "variant": "param", "kind": 32768, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the line item tax lines." + } + ] + }, "type": { - "type": "union", - "types": [ + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1171, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the line item tax lines. You can pass to its " }, { - "type": "reflection", - "declaration": { - "id": 1564, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the line item tax line's relation attribute names." } ] + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 1169, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" } }, { - "id": 1565, - "name": "context", + "id": 1172, + "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -33456,18 +33318,11 @@ }, "typeArguments": [ { - "type": "tuple", - "elements": [ + "type": "union", + "types": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 1598, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "RepositoryService.T", - "refersToTypeParameter": true - } + "type": "intrinsic", + "name": "void" }, { "type": "reference", @@ -33477,14 +33332,17 @@ }, "typeArguments": [ { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 1169, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true }, { "type": "array", "elementType": { "type": "intrinsic", - "name": "unknown" + "name": "string" } } ], @@ -33501,59 +33359,145 @@ ] }, { - "id": 1566, - "name": "restore", + "id": 1173, + "name": "softDeleteShippingMethodTaxLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1567, - "name": "restore", + "id": 1174, + "name": "softDeleteShippingMethodTaxLines", "variant": "signature", "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes shipping method tax lines by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted.\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.softDeleteShippingMethodTaxLines([\n \"casmtxl_123\",\n \"casmtxl_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 1175, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], "parameters": [ { - "id": 1568, - "name": "idsOrFilter", + "id": 1176, + "name": "ids", "variant": "param", "kind": 32768, "flags": {}, - "type": { - "type": "union", - "types": [ + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, + "kind": "text", + "text": "The IDs of the shipping method tax lines." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1177, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "reflection", - "declaration": { - "id": 1569, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." } ] + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 1175, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" } }, { - "id": 1570, - "name": "context", + "id": 1178, + "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -33567,18 +33511,11 @@ }, "typeArguments": [ { - "type": "tuple", - "elements": [ + "type": "union", + "types": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 1598, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "RepositoryService.T", - "refersToTypeParameter": true - } + "type": "intrinsic", + "name": "void" }, { "type": "reference", @@ -33588,14 +33525,17 @@ }, "typeArguments": [ { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 1175, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true }, { "type": "array", "elementType": { "type": "intrinsic", - "name": "unknown" + "name": "string" } } ], @@ -33612,674 +33552,153 @@ ] }, { - "id": 1571, - "name": "upsert", + "id": 1179, + "name": "restoreShippingMethodTaxLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1572, - "name": "upsert", + "id": 1180, + "name": "restoreShippingMethodTaxLines", "variant": "signature", "kind": 4096, "flags": {}, - "parameters": [ - { - "id": 1573, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "any" - } - } - }, - { - "id": 1574, - "name": "context", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 1598, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "RepositoryService.T", - "refersToTypeParameter": true - } + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores soft deleted shipping method tax lines by their IDs." } ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 1575, - 1587, - 1590, - 1593, - 1532, - 1536, - 1540, - 1544, - 1551, - 1561, - 1566, - 1571 - ] - } - ], - "typeParameters": [ - { - "id": 1598, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 3712, - "typeArguments": [ - { - "type": "reference", - "target": 1598, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "RepositoryService.T", - "refersToTypeParameter": true - } - ], - "name": "BaseRepositoryService", - "package": "@medusajs/types" - } - ] - }, - { - "id": 1599, - "name": "TreeRepositoryService", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Data access layer (DAL) interface to implements for any repository service.\nThis layer helps to separate the business logic (service layer) from accessing the\nORM directly and allows to switch to another ORM without changing the business logic." - } - ] - }, - "children": [ - { - "id": 1618, - "name": "transaction", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 1619, - "name": "transaction", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 1620, - "name": "TManager", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "parameters": [ - { - "id": 1621, - "name": "task", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1622, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "signatures": [ - { - "id": 1623, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1624, - "name": "transactionManager", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 1577, - "name": "TManager", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 1625, - "name": "context", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1626, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1627, - "name": "isolationLevel", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1628, - "name": "transaction", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1577, - "name": "TManager", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - { - "id": 1629, - "name": "enableNestedTransactions", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1627, - 1628, - 1629 - ] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "blockTags": [ { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Promise", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": 3714, - "name": "BaseRepositoryService.transaction" - } - } - ], - "inheritedFrom": { - "type": "reference", - "target": 3713, - "name": "BaseRepositoryService.transaction" - } - }, - { - "id": 1630, - "name": "getFreshManager", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 1631, - "name": "getFreshManager", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 1632, - "name": "TManager", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "target": 1589, - "name": "TManager", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "inheritedFrom": { - "type": "reference", - "target": 3726, - "name": "BaseRepositoryService.getFreshManager" - } - } - ], - "inheritedFrom": { - "type": "reference", - "target": 3725, - "name": "BaseRepositoryService.getFreshManager" - } - }, - { - "id": 1633, - "name": "getActiveManager", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 1634, - "name": "getActiveManager", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 1635, - "name": "TManager", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "target": 1592, - "name": "TManager", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "inheritedFrom": { - "type": "reference", - "target": 3729, - "name": "BaseRepositoryService.getActiveManager" - } - } - ], - "inheritedFrom": { - "type": "reference", - "target": 3728, - "name": "BaseRepositoryService.getActiveManager" - } - }, - { - "id": 1636, - "name": "serialize", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 1637, - "name": "serialize", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 1638, - "name": "TOutput", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "union", - "types": [ + "tag": "@returns", + "content": [ { - "type": "intrinsic", - "name": "object" + "kind": "text", + "text": "An object that includes the IDs of related records that were restored.\nIf there are no related records restored, the promise resolves to " }, { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "object" - } + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait cartModuleService.restoreShippingMethodTaxLines([\n \"casmtxl_123\",\n \"casmtxl_321\",\n])\n```" } ] } - } - ], - "parameters": [ + ] + }, + "typeParameter": [ { - "id": 1639, - "name": "data", - "variant": "param", - "kind": 32768, + "id": 1181, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, "flags": {}, "type": { "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1640, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "name": "string" }, - "type": { + "default": { "type": "intrinsic", - "name": "any" + "name": "string" } } ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 1595, - "name": "TOutput", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "Promise", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": 3732, - "name": "BaseRepositoryService.serialize" - } - } - ], - "inheritedFrom": { - "type": "reference", - "target": 3731, - "name": "BaseRepositoryService.serialize" - } - }, - { - "id": 1600, - "name": "find", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 1601, - "name": "find", - "variant": "signature", - "kind": 4096, - "flags": {}, "parameters": [ { - "id": 1602, - "name": "options", + "id": 1182, + "name": "ids", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1526, - "typeArguments": [ + "flags": {}, + "comment": { + "summary": [ { - "type": "reference", - "target": 1641, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "TreeRepositoryService.T", - "refersToTypeParameter": true + "kind": "text", + "text": "The IDs of the shipping method tax lines." } - ], - "name": "FindOptions", - "package": "@medusajs/types" - } - }, - { - "id": 1603, - "name": "transformOptions", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 986, - "name": "RepositoryTransformOptions", - "package": "@medusajs/types" - } - }, - { - "id": 1604, - "name": "context", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] }, "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { "type": "array", "elementType": { - "type": "reference", - "target": 1641, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "TreeRepositoryService.T", - "refersToTypeParameter": true + "type": "intrinsic", + "name": "string" } } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 1605, - "name": "findAndCount", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 1606, - "name": "findAndCount", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ + }, { - "id": 1607, - "name": "options", + "id": 1183, + "name": "config", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the shipping method tax lines. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the shipping method tax line's relation attribute names." + } + ] + }, "type": { "type": "reference", - "target": 1526, + "target": 2175, "typeArguments": [ { "type": "reference", - "target": 1641, - "name": "T", + "target": 1181, + "name": "TReturnableLinkableKeys", "package": "@medusajs/types", - "qualifiedName": "TreeRepositoryService.T", "refersToTypeParameter": true } ], - "name": "FindOptions", + "name": "RestoreReturn", "package": "@medusajs/types" } }, { - "id": 1608, - "name": "transformOptions", + "id": 1184, + "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, - "type": { - "type": "reference", - "target": 986, - "name": "RepositoryTransformOptions", - "package": "@medusajs/types" - } - }, - { - "id": 1609, - "name": "context", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] }, "type": { "type": "reference", - "target": 3682, + "target": 7891, "name": "Context", "package": "@medusajs/types" } @@ -34293,22 +33712,36 @@ }, "typeArguments": [ { - "type": "tuple", - "elements": [ + "type": "union", + "types": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 1641, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "TreeRepositoryService.T", - "refersToTypeParameter": true - } + "type": "intrinsic", + "name": "void" }, { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1181, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" } ] } @@ -34318,4116 +33751,3051 @@ } } ] - }, - { - "id": 1610, - "name": "create", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 1611, - "name": "create", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1612, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 1613, - "name": "context", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 1641, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "TreeRepositoryService.T", - "refersToTypeParameter": true - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 1614, - "name": "delete", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 1615, - "name": "delete", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1616, - "name": "id", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1617, - "name": "context", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] } ], "groups": [ { "title": "Methods", "children": [ - 1618, - 1630, - 1633, - 1636, - 1600, - 1605, - 1610, - 1614 + 856, + 861, + 866, + 871, + 878, + 889, + 902, + 907, + 914, + 921, + 928, + 933, + 938, + 947, + 958, + 963, + 972, + 977, + 985, + 990, + 995, + 1004, + 1009, + 1014, + 1023, + 1028, + 1033, + 1042, + 1047, + 1054, + 1061, + 1068, + 1075, + 1082, + 1089, + 1095, + 1101, + 1107, + 1113, + 1119, + 1125, + 1131, + 1137, + 1143, + 1149, + 1155, + 1161, + 1167, + 1173, + 1179 ] } ], - "typeParameters": [ - { - "id": 1641, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - } - ], "extendedTypes": [ { "type": "reference", - "target": 3712, - "typeArguments": [ - { - "type": "reference", - "target": 1641, - "name": "T", - "package": "@medusajs/types", - "qualifiedName": "TreeRepositoryService.T", - "refersToTypeParameter": true - } - ], - "name": "BaseRepositoryService", + "target": 3404, + "name": "IModuleService", "package": "@medusajs/types" } ] }, { - "id": 1642, - "name": "SoftDeleteReturn", + "id": 1198, + "name": "CreateCartCreateLineItemDTO", "variant": "declaration", "kind": 256, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." - } - ] - }, "children": [ { - "id": 1643, - "name": "returnLinkableKeys", + "id": 1199, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 1200, + "name": "variant_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1201, + "name": "title", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of strings, each being the ID attribute names of the entity's relations." - } - ] + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1202, + "name": "subtitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 1644, - "name": "TReturnableLinkableKeys", - "package": "@medusajs/types", - "refersToTypeParameter": true - } + "type": "intrinsic", + "name": "string" } - } - ], - "groups": [ + }, { - "title": "Properties", - "children": [ - 1643 - ] - } - ], - "typeParameters": [ + "id": 1203, + "name": "thumbnail", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, { - "id": 1644, - "name": "TReturnableLinkableKeys", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "default": { + "id": 1204, + "name": "product_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { "type": "intrinsic", "name": "string" } - } - ] - }, - { - "id": 1645, - "name": "RestoreReturn", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object that is used to specify an entity's related entities that should be restored when the main entity is restored." + }, + { + "id": 1205, + "name": "product_title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "children": [ + }, { - "id": 1646, - "name": "returnLinkableKeys", + "id": 1206, + "name": "product_description", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of strings, each being the ID attribute names of the entity's relations." - } - ] + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1207, + "name": "product_subtitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 1647, - "name": "TReturnableLinkableKeys", - "package": "@medusajs/types", - "refersToTypeParameter": true - } + "type": "intrinsic", + "name": "string" } - } - ], - "groups": [ + }, { - "title": "Properties", - "children": [ - 1646 - ] - } - ], - "typeParameters": [ + "id": 1208, + "name": "product_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, { - "id": 1647, - "name": "TReturnableLinkableKeys", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "default": { + "id": 1209, + "name": "product_collection", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { "type": "intrinsic", "name": "string" } - } - ] - }, - { - "id": 1490, - "name": "OperatorMap", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ + }, { - "id": 1511, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1491, - "name": "__type", + "id": 1210, + "name": "product_handle", "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1492, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3701, - "typeArguments": [ - { - "type": "reference", - "target": 1511, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "Query", - "package": "@medusajs/types" - } - } - }, - { - "id": 1493, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3701, - "typeArguments": [ - { - "type": "reference", - "target": 1511, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "Query", - "package": "@medusajs/types" - } - } - }, - { - "id": 1494, - "name": "$eq", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3703, - "typeArguments": [ - { - "type": "reference", - "target": 1511, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "ExpandScalar", - "package": "@medusajs/types" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "target": 3703, - "typeArguments": [ - { - "type": "reference", - "target": 1511, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "ExpandScalar", - "package": "@medusajs/types" - } - } - ] - } - }, - { - "id": 1495, - "name": "$ne", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3703, - "typeArguments": [ - { - "type": "reference", - "target": 1511, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "ExpandScalar", - "package": "@medusajs/types" - } - }, - { - "id": 1496, - "name": "$in", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3703, - "typeArguments": [ - { - "type": "reference", - "target": 1511, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "ExpandScalar", - "package": "@medusajs/types" - } - } - }, - { - "id": 1497, - "name": "$nin", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3703, - "typeArguments": [ - { - "type": "reference", - "target": 1511, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "ExpandScalar", - "package": "@medusajs/types" - } - } - }, - { - "id": 1498, - "name": "$not", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3701, - "typeArguments": [ - { - "type": "reference", - "target": 1511, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "Query", - "package": "@medusajs/types" - } - }, - { - "id": 1499, - "name": "$gt", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3703, - "typeArguments": [ - { - "type": "reference", - "target": 1511, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "ExpandScalar", - "package": "@medusajs/types" - } + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1211, + "name": "variant_sku", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1212, + "name": "variant_barcode", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1213, + "name": "variant_title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1214, + "name": "variant_option_values", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - { - "id": 1500, - "name": "$gte", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" }, - "type": { - "type": "reference", - "target": 3703, - "typeArguments": [ - { - "type": "reference", - "target": 1511, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "ExpandScalar", - "package": "@medusajs/types" + { + "type": "intrinsic", + "name": "unknown" } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 1215, + "name": "requires_shipping", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1216, + "name": "is_discountable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1217, + "name": "is_tax_inclusive", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1218, + "name": "is_giftcard", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1219, + "name": "compare_at_unit_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 1220, + "name": "unit_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 1221, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - { - "id": 1501, - "name": "$lt", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" }, - "type": { - "type": "reference", - "target": 3703, - "typeArguments": [ - { - "type": "reference", - "target": 1511, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "ExpandScalar", - "package": "@medusajs/types" + { + "type": "intrinsic", + "name": "unknown" } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1199, + 1200, + 1201, + 1202, + 1203, + 1204, + 1205, + 1206, + 1207, + 1208, + 1209, + 1210, + 1211, + 1212, + 1213, + 1214, + 1215, + 1216, + 1217, + 1218, + 1219, + 1220, + 1221 + ] + } + ] + }, + { + "id": 1222, + "name": "UpdateLineItemInCartWorkflowInputDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 1223, + "name": "cart", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 437, + "name": "CartDTO", + "package": "@medusajs/types" + } + }, + { + "id": 1224, + "name": "item", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 384, + "name": "CartLineItemDTO", + "package": "@medusajs/types" + } + }, + { + "id": 1225, + "name": "update", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" }, - { - "id": 1502, - "name": "$lte", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { + "typeArguments": [ + { "type": "reference", - "target": 3703, - "typeArguments": [ - { - "type": "reference", - "target": 1511, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "ExpandScalar", + "target": 792, + "name": "UpdateLineItemDTO", "package": "@medusajs/types" } + ], + "name": "Partial", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1223, + 1224, + 1225 + ] + } + ] + }, + { + "id": 1226, + "name": "CreateCartAddressDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 1227, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1228, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1229, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1230, + "name": "company", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1231, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1232, + "name": "address_2", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1233, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1234, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1235, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1236, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1237, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - { - "id": 1503, - "name": "$like", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { + "typeArguments": [ + { "type": "intrinsic", "name": "string" - } - }, - { - "id": 1504, - "name": "$re", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, - "type": { + { "type": "intrinsic", - "name": "string" + "name": "unknown" } - }, - { - "id": 1505, - "name": "$ilike", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1227, + 1228, + 1229, + 1230, + 1231, + 1232, + 1233, + 1234, + 1235, + 1236, + 1237 + ] + } + ] + }, + { + "id": 1238, + "name": "CreateCartWorkflowInputDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 1239, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1240, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1241, + "name": "sales_channel_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1242, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1243, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1244, + "name": "shipping_address_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1245, + "name": "billing_address_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1246, + "name": "shipping_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { "type": "intrinsic", "name": "string" - } - }, - { - "id": 1506, - "name": "$fulltext", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, - "type": { + { + "type": "reference", + "target": 1226, + "name": "CreateCartAddressDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 1247, + "name": "billing_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { "type": "intrinsic", "name": "string" - } - }, - { - "id": 1507, - "name": "$overlap", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 1508, - "name": "$contains", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 1509, - "name": "$contained", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + { + "type": "reference", + "target": 1226, + "name": "CreateCartAddressDTO", + "package": "@medusajs/types" } + ] + } + }, + { + "id": 1248, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - { - "id": 1510, - "name": "$exists", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" }, - "type": { + { "type": "intrinsic", - "name": "boolean" + "name": "unknown" } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 1249, + "name": "items", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1198, + "name": "CreateCartCreateLineItemDTO", + "package": "@medusajs/types" } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1492, - 1493, - 1494, - 1495, - 1496, - 1497, - 1498, - 1499, - 1500, - 1501, - 1502, - 1503, - 1504, - 1505, - 1506, - 1507, - 1508, - 1509, - 1510 - ] + } + }, + { + "id": 1250, + "name": "promo_codes", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1239, + 1240, + 1241, + 1242, + 1243, + 1244, + 1245, + 1246, + 1247, + 1248, + 1249, + 1250 ] } - } + ] }, { - "id": 1484, - "name": "FilterQuery", + "id": 1251, + "name": "AddToCartWorkflowInputDTO", "variant": "declaration", - "kind": 2097152, + "kind": 256, "flags": {}, - "typeParameters": [ + "children": [ { - "id": 1488, - "name": "T", - "variant": "typeParam", - "kind": 131072, + "id": 1252, + "name": "items", + "variant": "declaration", + "kind": 1024, "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1198, + "name": "CreateCartCreateLineItemDTO", + "package": "@medusajs/types" + } } }, { - "id": 1489, - "name": "Prev", - "variant": "typeParam", - "kind": 131072, + "id": 1253, + "name": "cart", + "variant": "declaration", + "kind": 1024, "flags": {}, "type": { - "type": "intrinsic", - "name": "number" - }, - "default": { - "type": "literal", - "value": 3 + "type": "reference", + "target": 1269, + "name": "CartWorkflowDTO", + "package": "@medusajs/types" } } ], - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": 1489, - "name": "Prev", - "package": "@medusajs/types", - "refersToTypeParameter": true + "groups": [ + { + "title": "Properties", + "children": [ + 1252, + 1253 + ] + } + ] + }, + { + "id": 1254, + "name": "UpdateCartWorkflowInputDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 1255, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } }, - "extendsType": { - "type": "intrinsic", - "name": "never" + { + "id": 1256, + "name": "promo_codes", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } }, - "trueType": { - "type": "intrinsic", - "name": "never" + { + "id": 1257, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, - "falseType": { - "type": "mapped", - "parameter": "Key", - "parameterType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "target": 1488, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } + { + "id": 1258, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - "templateType": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "Key" - }, - "name": "Key", - "package": "@medusajs/types", - "refersToTypeParameter": true + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "objectType": { - "type": "reference", - "target": 1488, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - "extendsType": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "boolean" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "bigint" - }, - { - "type": "intrinsic", - "name": "symbol" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - }, - "trueType": { - "type": "union", - "types": [ - { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "Key" - }, - "name": "Key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 1488, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "Key" - }, - "name": "Key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 1488, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - ] - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "Key" - }, - "name": "Key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 1488, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1259, + "name": "sales_channel_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "extendsType": { - "type": "inferred", - "name": "U" + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1260, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "U" - }, - "name": "U", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 1485, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "indexSignature": { - "id": 1486, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "parameters": [ - { - "id": 1487, - "name": "x", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "inferred", - "name": "V" - } - } - } + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1261, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1262, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "V" - }, - "name": "V", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "extendsType": { + "typeArguments": [ + { "type": "intrinsic", - "name": "object" - }, - "trueType": { - "type": "reference", - "target": 1484, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "V" - }, - "name": "V", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "Partial", - "package": "typescript" - }, - { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": 1489, - "name": "Prev", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 3700, - "name": "PrevLimit", - "package": "@medusajs/types" - } - } - ], - "name": "FilterQuery", - "package": "@medusajs/types" + "name": "string" }, - "falseType": { + { "type": "intrinsic", - "name": "never" + "name": "unknown" } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" + ], + "name": "Record", + "package": "typescript" } - } - }, - "optionalModifier": "+" + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1255, + 1256, + 1257, + 1258, + 1259, + 1260, + 1261, + 1262 + ] } - } - } - ], - "groups": [ - { - "title": "Interfaces", - "children": [ - 1512, - 1516, - 1531, - 1599, - 1642, - 1645 ] }, { - "title": "Type Aliases", - "children": [ - 1648, - 1649, - 1526, - 1490, - 1484 - ] - } - ] - }, - { - "id": 3712, - "name": "BaseRepositoryService", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Data access layer (DAL) interface to implements for any repository service.\nThis layer helps to separate the business logic (service layer) from accessing the\nORM directly and allows to switch to another ORM without changing the business logic." - } - ] - }, - "children": [ - { - "id": 3713, - "name": "transaction", + "id": 1263, + "name": "CreatePaymentCollectionForCartWorkflowInputDTO", "variant": "declaration", - "kind": 2048, + "kind": 256, "flags": {}, - "signatures": [ + "children": [ { - "id": 3714, - "name": "transaction", - "variant": "signature", - "kind": 4096, + "id": 1264, + "name": "cart_id", + "variant": "declaration", + "kind": 1024, "flags": {}, - "typeParameter": [ - { - "id": 3715, - "name": "TManager", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "parameters": [ - { - "id": 3716, - "name": "task", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 3717, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "signatures": [ - { - "id": 3718, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3719, - "name": "transactionManager", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 1577, - "name": "TManager", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 3720, - "name": "context", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 3721, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 3722, - "name": "isolationLevel", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3723, - "name": "transaction", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1577, - "name": "TManager", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - { - "id": 3724, - "name": "enableNestedTransactions", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3722, - 3723, - 3724 - ] - } - ] - } - } - } - ], "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Promise", - "package": "typescript" + "type": "intrinsic", + "name": "string" } - } - ] - }, - { - "id": 3725, - "name": "getFreshManager", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3726, - "name": "getFreshManager", - "variant": "signature", - "kind": 4096, + "id": 1265, + "name": "region_id", + "variant": "declaration", + "kind": 1024, "flags": {}, - "typeParameter": [ - { - "id": 3727, - "name": "TManager", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" - } - } - ], "type": { - "type": "reference", - "target": 1589, - "name": "TManager", - "package": "@medusajs/types", - "refersToTypeParameter": true + "type": "intrinsic", + "name": "string" } - } - ] - }, - { - "id": 3728, - "name": "getActiveManager", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3729, - "name": "getActiveManager", - "variant": "signature", - "kind": 4096, + "id": 1266, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, "flags": {}, - "typeParameter": [ - { - "id": 3730, - "name": "TManager", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" - } - } - ], "type": { - "type": "reference", - "target": 1592, - "name": "TManager", - "package": "@medusajs/types", - "refersToTypeParameter": true + "type": "intrinsic", + "name": "string" } - } - ] - }, - { - "id": 3731, - "name": "serialize", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3732, - "name": "serialize", - "variant": "signature", - "kind": 4096, + "id": 1267, + "name": "amount", + "variant": "declaration", + "kind": 1024, "flags": {}, - "typeParameter": [ - { - "id": 3733, - "name": "TOutput", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "object" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "object" - } - } - ] - } - } - ], - "parameters": [ - { - "id": 3734, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 3735, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 1268, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Record" }, "typeArguments": [ { - "type": "reference", - "target": 1595, - "name": "TOutput", - "package": "@medusajs/types", - "refersToTypeParameter": true + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "Promise", + "name": "Record", "package": "typescript" } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1264, + 1265, + 1266, + 1267, + 1268 + ] + } ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 3713, - 3725, - 3728, - 3731 - ] - } - ], - "typeParameters": [ - { - "id": 3736, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - } - ], - "extendedBy": [ - { - "type": "reference", - "target": 1531, - "name": "RepositoryService" }, { - "type": "reference", - "target": 1599, - "name": "TreeRepositoryService" - } - ] - }, - { - "id": 3707, - "name": "Dictionary", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ - { - "id": 3711, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 3708, - "name": "__type", + "id": 1269, + "name": "CartWorkflowDTO", "variant": "declaration", - "kind": 65536, + "kind": 256, "flags": {}, - "indexSignature": { - "id": 3709, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "parameters": [ + "comment": { + "summary": [ { - "id": 3710, - "name": "k", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The cart details." } - ], - "type": { - "type": "reference", - "target": 3711, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - } - } - } - }, - { - "id": 3701, - "name": "Query", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ - { - "id": 3702, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": 3702, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "intrinsic", - "name": "object" - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": 3702, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "reference", - "target": 3745, - "name": "Scalar", - "package": "@medusajs/types" - }, - "trueType": { - "type": "intrinsic", - "name": "never" + ] }, - "falseType": { - "type": "reference", - "target": 1484, - "typeArguments": [ - { + "children": [ + { + "id": 1273, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the cart." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { "type": "reference", - "target": 3702, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true + "target": 438, + "name": "CartDTO.id" } - ], - "name": "FilterQuery", - "package": "@medusajs/types" - } - }, - "falseType": { - "type": "reference", - "target": 3749, - "typeArguments": [ - { - "type": "reference", - "target": 3702, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "FilterValue", - "package": "@medusajs/types" - } - } - }, - { - "id": 3703, - "name": "ExpandScalar", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ - { - "id": 3704, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "conditional", - "checkType": { - "type": "reference", - "target": 3704, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "intrinsic", - "name": "string" }, - "trueType": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "RegExp" - }, - "name": "RegExp", - "package": "typescript" - } - ] + { + "id": 1274, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the region the cart belongs to." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 439, + "name": "CartDTO.region_id" + } }, - "falseType": { - "type": "conditional", - "checkType": { + { + "id": 1275, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated customer" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { "type": "reference", - "target": 3704, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true + "target": 440, + "name": "CartDTO.customer_id" + } + }, + { + "id": 1276, + "name": "sales_channel_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - "extendsType": { + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the sales channel the cart belongs to." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "target": 441, + "name": "CartDTO.sales_channel_id" + } + }, + { + "id": 1277, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - "trueType": { - "type": "union", - "types": [ + "comment": { + "summary": [ { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - }, + "kind": "text", + "text": "The email of the customer that owns the cart." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 442, + "name": "CartDTO.email" + } + }, + { + "id": 1278, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "string" + "kind": "text", + "text": "The currency of the cart" } ] }, - "falseType": { + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { "type": "reference", - "target": 3704, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true + "target": 443, + "name": "CartDTO.currency_code" } - } - } - ] - } - }, - { - "id": 3745, - "name": "Scalar", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "boolean" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "bigint" - }, - { - "type": "intrinsic", - "name": "symbol" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "RegExp" - }, - "name": "RegExp", - "package": "typescript" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/@types/node/buffer.d.ts", - "qualifiedName": "__global.Buffer" }, - "name": "Buffer", - "package": "@types/node", - "qualifiedName": "__global.Buffer" - }, - { - "type": "reflection", - "declaration": { - "id": 3746, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 3747, - "name": "toHexString", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 3748, - "name": "toHexString", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 3747 - ] - } - ] - } - } - ] - } - }, - { - "id": 3763, - "name": "ReadonlyPrimary", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ - { - "id": 3764, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": 3764, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "any" - } - }, - "trueType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Readonly" - }, - "typeArguments": [ { - "type": "reference", - "target": 3764, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "Readonly", - "package": "typescript" - }, - "falseType": { - "type": "reference", - "target": 3764, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - } - }, - { - "id": 3753, - "name": "Primary", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ - { - "id": 3762, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": 3762, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 3754, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 3755, - "name": "[PrimaryKeyType]", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "inferred", - "name": "PK" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3755 + "id": 1279, + "name": "shipping_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping address." + } + ], + "modifierTags": [ + "@expandable" ] + }, + "type": { + "type": "reference", + "target": 315, + "name": "CartAddressDTO", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 444, + "name": "CartDTO.shipping_address" } - ] - } - }, - "trueType": { - "type": "reference", - "target": 3763, - "typeArguments": [ + }, { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "PK" + "id": 1280, + "name": "billing_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - "name": "PK", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "ReadonlyPrimary", - "package": "@medusajs/types" - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": 3762, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 3756, - "name": "__type", + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated billing address." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 315, + "name": "CartAddressDTO", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 445, + "name": "CartDTO.billing_address" + } + }, + { + "id": 1281, + "name": "items", "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 3757, - "name": "_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "inferred", - "name": "PK" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated line items." } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 384, + "name": "CartLineItemDTO", + "package": "@medusajs/types" } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3757 - ] + }, + "inheritedFrom": { + "type": "reference", + "target": 446, + "name": "CartDTO.items" + } + }, + { + "id": 1282, + "name": "shipping_methods", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping methods" + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 331, + "name": "CartShippingMethodDTO", + "package": "@medusajs/types" } - ] - } - }, - "trueType": { - "type": "union", - "types": [ - { + }, + "inheritedFrom": { "type": "reference", - "target": 3763, - "typeArguments": [ + "target": 447, + "name": "CartDTO.shipping_methods" + } + }, + { + "id": 1283, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, { "type": "reference", "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "PK" + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" }, - "name": "PK", - "package": "@medusajs/types", - "refersToTypeParameter": true + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } - ], - "name": "ReadonlyPrimary", - "package": "@medusajs/types" + ] }, - { - "type": "intrinsic", - "name": "string" + "inheritedFrom": { + "type": "reference", + "target": 448, + "name": "CartDTO.metadata" } - ] - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": 3762, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 3758, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ + { + "id": 1284, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "id": 3759, - "name": "uuid", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "inferred", - "name": "PK" - } + "kind": "text", + "text": "When the cart was created." } - ], - "groups": [ + ] + }, + "type": { + "type": "union", + "types": [ { - "title": "Properties", - "children": [ - 3759 - ] + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" } ] + }, + "inheritedFrom": { + "type": "reference", + "target": 449, + "name": "CartDTO.created_at" } }, - "trueType": { - "type": "reference", - "target": 3763, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "PK" - }, - "name": "PK", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "ReadonlyPrimary", - "package": "@medusajs/types" - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": 3762, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true + { + "id": 1285, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - "extendsType": { - "type": "reflection", - "declaration": { - "id": 3760, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 3761, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "inferred", - "name": "PK" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3761 - ] - } - ] - } + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the cart was updated." + } + ] }, - "trueType": { - "type": "reference", - "target": 3763, - "typeArguments": [ + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, { "type": "reference", "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "PK" + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" }, - "name": "PK", - "package": "@medusajs/types", - "refersToTypeParameter": true + "name": "Date", + "package": "typescript" } - ], - "name": "ReadonlyPrimary", - "package": "@medusajs/types" + ] }, - "falseType": { - "type": "intrinsic", - "name": "never" + "inheritedFrom": { + "type": "reference", + "target": 450, + "name": "CartDTO.updated_at" } - } - } - } - } - }, - { - "id": 3751, - "name": "FilterValue2", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ - { - "id": 3752, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3752, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - { - "type": "reference", - "target": 3703, - "typeArguments": [ - { + }, + { + "id": 1286, + "name": "original_item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original item total of the cart." + } + ] + }, + "type": { "type": "reference", - "target": 3752, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 451, + "name": "CartDTO.original_item_total" } - ], - "name": "ExpandScalar", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 3753, - "typeArguments": [ - { + }, + { + "id": 1287, + "name": "original_item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original item subtotal of the cart." + } + ] + }, + "type": { "type": "reference", - "target": 3752, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 452, + "name": "CartDTO.original_item_subtotal" } - ], - "name": "Primary", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 3749, - "name": "FilterValue", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ - { - "id": 3750, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 1490, - "typeArguments": [ - { + }, + { + "id": 1288, + "name": "original_item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original item tax total of the cart." + } + ] + }, + "type": { "type": "reference", - "target": 3751, - "typeArguments": [ + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 453, + "name": "CartDTO.original_item_tax_total" + } + }, + { + "id": 1289, + "name": "item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "type": "reference", - "target": 3750, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true + "kind": "text", + "text": "The item total of the cart." } - ], - "name": "FilterValue2", + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 454, + "name": "CartDTO.item_total" } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 3751, - "typeArguments": [ - { + }, + { + "id": 1290, + "name": "item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item subtotal of the cart." + } + ] + }, + "type": { "type": "reference", - "target": 3750, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 455, + "name": "CartDTO.item_subtotal" } - ], - "name": "FilterValue2", - "package": "@medusajs/types" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "target": 3751, - "typeArguments": [ - { - "type": "reference", - "target": 3750, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "FilterValue2", - "package": "@medusajs/types" - } - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 3700, - "name": "PrevLimit", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "tuple", - "elements": [ - { - "type": "intrinsic", - "name": "never" - }, - { - "type": "literal", - "value": 1 - }, - { - "type": "literal", - "value": 2 - }, - { - "type": "literal", - "value": 3 - } - ] - } - }, - { - "id": 3705, - "name": "Order", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ - { - "id": 3706, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "type": { - "type": "mapped", - "parameter": "key", - "parameterType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "target": 3706, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - "templateType": { - "type": "union", - "types": [ + }, { - "type": "literal", - "value": "ASC" + "id": 1291, + "name": "item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item tax total of the cart." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 456, + "name": "CartDTO.item_tax_total" + } }, { - "type": "literal", - "value": "DESC" + "id": 1292, + "name": "original_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original total of the cart." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 457, + "name": "CartDTO.original_total" + } }, { - "type": "reference", - "target": 3705, - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "key" - }, - "name": "key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 3706, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - "extendsType": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "any" - } - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": 0 - }, - "objectType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "key" - }, - "name": "key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 3706, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - } - }, - "falseType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "key" - }, - "name": "key", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 3706, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } + "id": 1293, + "name": "original_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original subtotal of the cart." } - } - ], - "name": "Order", - "package": "@medusajs/types" - } - ] - }, - "optionalModifier": "+" - } - }, - { - "id": 1650, - "name": "EventBusTypes", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ - { - "id": 1651, - "name": "Subscriber", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 458, + "name": "CartDTO.original_subtotal" + } + }, { - "id": 1656, - "name": "T", - "variant": "typeParam", - "kind": 131072, + "id": 1294, + "name": "original_tax_total", + "variant": "declaration", + "kind": 1024, "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original tax total of the cart." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 459, + "name": "CartDTO.original_tax_total" } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1652, - "name": "__type", + }, + { + "id": 1295, + "name": "total", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 1653, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1654, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 1656, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - { - "id": 1655, - "name": "eventName", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total of the cart." } - } - ] - } - } - }, - { - "id": 1657, - "name": "SubscriberContext", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1658, - "name": "__type", + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 460, + "name": "CartDTO.total" + } + }, + { + "id": 1296, + "name": "subtotal", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 1659, - "name": "subscriberId", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtotal of the cart. (Excluding taxes)" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1659 - ] - } - ] - } - } - }, - { - "id": 1660, - "name": "SubscriberDescriptor", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1661, - "name": "__type", + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 461, + "name": "CartDTO.subtotal" + } + }, + { + "id": 1297, + "name": "tax_total", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 1662, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax total of the cart." } - }, - { - "id": 1663, - "name": "subscriber", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 1651, - "name": "Subscriber", - "package": "@medusajs/types" + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 462, + "name": "CartDTO.tax_total" + } + }, + { + "id": 1298, + "name": "discount_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount total of the cart." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1662, - 1663 - ] - } - ] - } - } - }, - { - "id": 1664, - "name": "EventHandler", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 463, + "name": "CartDTO.discount_total" + } + }, { - "id": 1669, - "name": "T", - "variant": "typeParam", - "kind": 131072, + "id": 1299, + "name": "discount_tax_total", + "variant": "declaration", + "kind": 1024, "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount tax total of the cart." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 464, + "name": "CartDTO.discount_tax_total" } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1665, - "name": "__type", + }, + { + "id": 1300, + "name": "gift_card_total", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 1666, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1667, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 1669, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - { - "id": 1668, - "name": "eventName", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The gift card total of the cart." } - } - ] - } - } - }, - { - "id": 1670, - "name": "EmitData", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 465, + "name": "CartDTO.gift_card_total" + } + }, { - "id": 1675, - "name": "T", - "variant": "typeParam", - "kind": 131072, + "id": 1301, + "name": "gift_card_tax_total", + "variant": "declaration", + "kind": 1024, "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The gift card tax total of the cart." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 466, + "name": "CartDTO.gift_card_tax_total" } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1671, - "name": "__type", + }, + { + "id": 1302, + "name": "shipping_total", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 1672, - "name": "eventName", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping total of the cart." } - }, - { - "id": 1673, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 1675, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 467, + "name": "CartDTO.shipping_total" + } + }, + { + "id": 1303, + "name": "shipping_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping subtotal of the cart." } - }, - { - "id": 1674, - "name": "options", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 468, + "name": "CartDTO.shipping_subtotal" + } + }, + { + "id": 1304, + "name": "shipping_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping tax total of the cart." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1672, - 1673, - 1674 - ] - } - ] - } - } - }, - { - "id": 1676, - "name": "MessageBody", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 469, + "name": "CartDTO.shipping_tax_total" + } + }, { - "id": 1685, - "name": "T", - "variant": "typeParam", - "kind": 131072, + "id": 1305, + "name": "original_shipping_total", + "variant": "declaration", + "kind": 1024, "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original shipping total of the cart." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 470, + "name": "CartDTO.original_shipping_total" } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1677, - "name": "__type", + }, + { + "id": 1306, + "name": "original_shipping_subtotal", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 1678, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1679, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1680, - "name": "service", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1681, - "name": "action", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1682, - "name": "object", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1683, - "name": "eventGroupId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1680, - 1681, - 1682, - 1683 - ] - } - ] - } + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original shipping subtotal of the cart." } - }, - { - "id": 1684, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 1685, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 471, + "name": "CartDTO.original_shipping_subtotal" + } + }, + { + "id": 1307, + "name": "original_shipping_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original shipping tax total of the cart." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1678, - 1684 - ] - } - ] - } - } - }, - { - "id": 1686, - "name": "Message", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 472, + "name": "CartDTO.original_shipping_tax_total" + } + }, { - "id": 1691, - "name": "T", - "variant": "typeParam", - "kind": 131072, + "id": 1308, + "name": "raw_original_item_total", + "variant": "declaration", + "kind": 1024, "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original item total of the cart." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 473, + "name": "CartDTO.raw_original_item_total" } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1687, - "name": "__type", + }, + { + "id": 1309, + "name": "raw_original_item_subtotal", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 1688, - "name": "eventName", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original item subtotal of the cart." } - }, - { - "id": 1689, - "name": "body", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 1676, - "typeArguments": [ - { - "type": "reference", - "target": 1691, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "MessageBody", - "package": "@medusajs/types" + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 474, + "name": "CartDTO.raw_original_item_subtotal" + } + }, + { + "id": 1310, + "name": "raw_original_item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original item tax total of the cart." } - }, - { - "id": 1690, - "name": "options", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 475, + "name": "CartDTO.raw_original_item_tax_total" + } + }, + { + "id": 1311, + "name": "raw_item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item total of the cart." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1688, - 1689, - 1690 - ] - } - ] - } - } - }, - { - "id": 1692, - "name": "MessageFormat", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 476, + "name": "CartDTO.raw_item_total" + } + }, { - "id": 1702, - "name": "T", - "variant": "typeParam", - "kind": 131072, + "id": 1312, + "name": "raw_item_subtotal", + "variant": "declaration", + "kind": 1024, "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item subtotal of the cart." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 477, + "name": "CartDTO.raw_item_subtotal" } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1693, - "name": "__type", + }, + { + "id": 1313, + "name": "raw_item_tax_total", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 1694, - "name": "eventName", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item tax total of the cart." } - }, - { - "id": 1695, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1696, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1697, - "name": "service", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1698, - "name": "action", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1699, - "name": "object", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1700, - "name": "eventGroupId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1697, - 1698, - 1699, - 1700 - ] - } - ] - } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 478, + "name": "CartDTO.raw_item_tax_total" + } + }, + { + "id": 1314, + "name": "raw_original_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original total of the cart." } - }, - { - "id": 1701, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 1702, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - }, - { - "type": "array", - "elementType": { - "type": "reference", - "target": 1702, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - } - ] + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 479, + "name": "CartDTO.raw_original_total" + } + }, + { + "id": 1315, + "name": "raw_original_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original subtotal of the cart." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1694, - 1695, - 1701 - ] - } - ] - } - } - }, - { - "id": 1729, - "name": "IEventBusModuleService", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 480, + "name": "CartDTO.raw_original_subtotal" + } + }, { - "id": 1730, - "name": "emit", + "id": 1316, + "name": "raw_original_tax_total", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 1731, - "name": "emit", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 1732, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "parameters": [ - { - "id": 1733, - "name": "eventName", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1734, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 1732, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - { - "id": 1735, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original tax total of the cart." } - }, - { - "id": 1736, - "name": "emit", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 1737, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "parameters": [ - { - "id": 1738, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 1670, - "typeArguments": [ - { - "type": "reference", - "target": 1737, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "EmitData", - "package": "@medusajs/types" - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 481, + "name": "CartDTO.raw_original_tax_total" + } + }, + { + "id": 1317, + "name": "raw_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw total of the cart." } - }, - { - "id": 1739, - "name": "emit", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 1740, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "parameters": [ - { - "id": 1741, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 1686, - "typeArguments": [ - { - "type": "reference", - "target": 1740, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "Message", - "package": "@medusajs/types" - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 482, + "name": "CartDTO.raw_total" + } + }, + { + "id": 1318, + "name": "raw_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw subtotal of the cart. (Excluding taxes)" } - } - ] + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 483, + "name": "CartDTO.raw_subtotal" + } }, { - "id": 1742, - "name": "subscribe", + "id": 1319, + "name": "raw_tax_total", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 1743, - "name": "subscribe", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1744, - "name": "eventName", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "symbol" - } - ] - } - }, - { - "id": 1745, - "name": "subscriber", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 1651, - "name": "Subscriber", - "package": "@medusajs/types" - } - }, - { - "id": 1746, - "name": "context", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1657, - "name": "SubscriberContext", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw tax total of the cart." } - } - ] + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 484, + "name": "CartDTO.raw_tax_total" + } }, { - "id": 1747, - "name": "unsubscribe", + "id": 1320, + "name": "raw_discount_total", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 1748, - "name": "unsubscribe", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1749, - "name": "eventName", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "symbol" - } - ] - } - }, - { - "id": 1750, - "name": "subscriber", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 1651, - "name": "Subscriber", - "package": "@medusajs/types" - } - }, - { - "id": 1751, - "name": "context", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1657, - "name": "SubscriberContext", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw discount total of the cart." } - } - ] - } - ], - "groups": [ + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 485, + "name": "CartDTO.raw_discount_total" + } + }, { - "title": "Methods", - "children": [ - 1730, - 1742, - 1747 - ] - } - ] - }, - { - "id": 1703, - "name": "IEventBusService", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + "id": 1321, + "name": "raw_discount_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw discount tax total of the cart." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 486, + "name": "CartDTO.raw_discount_tax_total" + } + }, { - "id": 1704, - "name": "subscribe", + "id": 1322, + "name": "raw_gift_card_total", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 1705, - "name": "subscribe", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1706, - "name": "eventName", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "symbol" - } - ] - } - }, - { - "id": 1707, - "name": "subscriber", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 1651, - "name": "Subscriber", - "package": "@medusajs/types" - } - }, - { - "id": 1708, - "name": "context", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1657, - "name": "SubscriberContext", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw gift card total of the cart." } - } - ] + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 487, + "name": "CartDTO.raw_gift_card_total" + } }, { - "id": 1709, - "name": "unsubscribe", + "id": 1323, + "name": "raw_gift_card_tax_total", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 1710, - "name": "unsubscribe", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1711, - "name": "eventName", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "symbol" - } - ] - } - }, - { - "id": 1712, - "name": "subscriber", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 1651, - "name": "Subscriber", - "package": "@medusajs/types" - } - }, - { - "id": 1713, - "name": "context", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1657, - "name": "SubscriberContext", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw gift card tax total of the cart." } - } - ] + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 488, + "name": "CartDTO.raw_gift_card_tax_total" + } }, { - "id": 1714, - "name": "emit", + "id": 1324, + "name": "raw_shipping_total", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 1715, - "name": "emit", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 1716, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "parameters": [ - { - "id": 1717, - "name": "event", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1718, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 1716, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - { - "id": 1719, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw shipping total of the cart." } - }, - { - "id": 1720, - "name": "emit", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 1721, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "parameters": [ - { - "id": 1722, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 1670, - "typeArguments": [ - { - "type": "reference", - "target": 1721, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "EmitData", - "package": "@medusajs/types" - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 489, + "name": "CartDTO.raw_shipping_total" + } + }, + { + "id": 1325, + "name": "raw_shipping_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw shipping subtotal of the cart." } - }, - { - "id": 1723, - "name": "emit", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 1724, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "parameters": [ - { - "id": 1725, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 1686, - "typeArguments": [ - { - "type": "reference", - "target": 1724, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "Message", - "package": "@medusajs/types" - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 490, + "name": "CartDTO.raw_shipping_subtotal" + } + }, + { + "id": 1326, + "name": "raw_shipping_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw shipping tax total of the cart." } - } - ] + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 491, + "name": "CartDTO.raw_shipping_tax_total" + } }, { - "id": 1726, - "name": "withTransaction", + "id": 1327, + "name": "raw_original_shipping_total", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 1727, - "name": "withTransaction", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1728, - "name": "transactionManager", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/entity-manager/EntityManager.d.ts", - "qualifiedName": "EntityManager" - }, - "name": "EntityManager", - "package": "typeorm" - } - } - ], - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { - "type": "reference", - "target": 2649, - "name": "ITransactionBaseService.withTransaction" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original shipping total of the cart." } - } - ], + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, "inheritedFrom": { "type": "reference", - "target": 2648, - "name": "ITransactionBaseService.withTransaction" + "target": 492, + "name": "CartDTO.raw_original_shipping_total" + } + }, + { + "id": 1328, + "name": "raw_original_shipping_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original shipping subtotal of the cart." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 493, + "name": "CartDTO.raw_original_shipping_subtotal" + } + }, + { + "id": 1329, + "name": "raw_original_shipping_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original shipping tax total of the cart." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 494, + "name": "CartDTO.raw_original_shipping_tax_total" + } + }, + { + "id": 1270, + "name": "customer", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 1696, + "name": "CustomerDTO", + "package": "@medusajs/types" + } + }, + { + "id": 1271, + "name": "product", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO" + }, + "name": "ProductDTO", + "package": "@medusajs/types" + } + }, + { + "id": 1272, + "name": "region", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7726, + "name": "RegionDTO", + "package": "@medusajs/types" } } ], "groups": [ { - "title": "Methods", + "title": "Properties", "children": [ - 1704, - 1709, - 1714, - 1726 + 1273, + 1274, + 1275, + 1276, + 1277, + 1278, + 1279, + 1280, + 1281, + 1282, + 1283, + 1284, + 1285, + 1286, + 1287, + 1288, + 1289, + 1290, + 1291, + 1292, + 1293, + 1294, + 1295, + 1296, + 1297, + 1298, + 1299, + 1300, + 1301, + 1302, + 1303, + 1304, + 1305, + 1306, + 1307, + 1308, + 1309, + 1310, + 1311, + 1312, + 1313, + 1314, + 1315, + 1316, + 1317, + 1318, + 1319, + 1320, + 1321, + 1322, + 1323, + 1324, + 1325, + 1326, + 1327, + 1328, + 1329, + 1270, + 1271, + 1272 ] } ], "extendedTypes": [ { "type": "reference", - "target": 2647, - "name": "ITransactionBaseService", + "target": 437, + "name": "CartDTO", "package": "@medusajs/types" } ] - } - ], - "groups": [ - { - "title": "Interfaces", - "children": [ - 1729, - 1703 - ] }, { - "title": "Type Aliases", - "children": [ - 1651, - 1657, - 1660, - 1664, - 1670, - 1676, - 1686, - 1692 - ] - } - ] - }, - { - "id": 1752, - "name": "FeatureFlagTypes", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ - { - "id": 1753, - "name": "IFlagRouter", + "id": 1330, + "name": "ListShippingOptionsForCartWorkflowInputDTO", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { - "id": 1754, - "name": "isFeatureEnabled", + "id": 1331, + "name": "cart_id", "variant": "declaration", "kind": 1024, "flags": {}, "type": { - "type": "reflection", - "declaration": { - "id": 1755, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "signatures": [ - { - "id": 1756, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1757, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - } + "type": "intrinsic", + "name": "string" } }, { - "id": 1758, - "name": "listFlags", + "id": 1332, + "name": "sales_channel_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1333, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1334, + "name": "shipping_address", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 1759, + "id": 1335, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, - "signatures": [ + "children": [ { - "id": 1760, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, + "id": 1336, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, "type": { - "type": "reference", - "target": 1761, - "name": "FeatureFlagsResponse", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1337, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1338, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1336, + 1337, + 1338 + ] + } ] } } @@ -38437,189 +36805,686 @@ { "title": "Properties", "children": [ - 1754, - 1758 + 1331, + 1332, + 1333, + 1334 ] } ] }, { - "id": 1761, - "name": "FeatureFlagsResponse", + "id": 1339, + "name": "PricedShippingOptionDTO", "variant": "declaration", - "kind": 2097152, + "kind": 256, "flags": {}, "comment": { - "summary": [], - "modifierTags": [ - "@interface" + "summary": [ + { + "kind": "text", + "text": "The shipping option details." + } ] }, - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 1762, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ + "children": [ + { + "id": 1340, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 1341, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "id": 1763, - "name": "key", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "kind": "text", + "text": "The ID of the shipping option." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2372, + "name": "ShippingOptionDTO.id" + } + }, + { + "id": 1342, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "id": 1764, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "boolean" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "boolean" - } - ], - "name": "Record", - "package": "typescript" - } - ] - } + "kind": "text", + "text": "The name of the shipping option." } - ], - "groups": [ + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2373, + "name": "ShippingOptionDTO.name" + } + }, + { + "id": 1343, + "name": "price_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "title": "Properties", - "children": [ - 1763, - 1764 - ] + "kind": "text", + "text": "The type of the shipping option's price." } ] + }, + "type": { + "type": "reference", + "target": 2370, + "name": "ShippingOptionPriceType", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 2374, + "name": "ShippingOptionDTO.price_type" } - } - } - }, - { - "id": 1765, - "name": "FlagSettings", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1766, - "name": "__type", + }, + { + "id": 1344, + "name": "service_zone_id", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 1767, - "name": "key", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone's ID." } - }, - { - "id": 1768, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2375, + "name": "ShippingOptionDTO.service_zone_id" + } + }, + { + "id": 1345, + "name": "shipping_profile_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping profile's ID." } - }, - { - "id": 1769, - "name": "env_key", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2376, + "name": "ShippingOptionDTO.shipping_profile_id" + } + }, + { + "id": 1346, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment provider's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2377, + "name": "ShippingOptionDTO.provider_id" + } + }, + { + "id": 1347, + "name": "shipping_option_type_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option type's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "intrinsic", "name": "string" } - }, - { - "id": 1770, - "name": "default_val", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2378, + "name": "ShippingOptionDTO.shipping_option_type_id" + } + }, + { + "id": 1348, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2379, + "name": "ShippingOptionDTO.data" + } + }, + { + "id": 1349, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2380, + "name": "ShippingOptionDTO.metadata" + } + }, + { + "id": 1350, + "name": "service_zone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone." + } + ] + }, + "type": { + "type": "reference", + "target": 2436, + "name": "ServiceZoneDTO", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 2381, + "name": "ShippingOptionDTO.service_zone" + } + }, + { + "id": 1351, + "name": "shipping_profile", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping profile." + } + ] + }, + "type": { + "type": "reference", + "target": 2335, + "name": "ShippingProfileDTO", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 2382, + "name": "ShippingOptionDTO.shipping_profile" + } + }, + { + "id": 1352, + "name": "fulfillment_provider", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment provider." + } + ] + }, + "type": { + "type": "reference", + "target": 2474, + "name": "FulfillmentProviderDTO", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 2383, + "name": "ShippingOptionDTO.fulfillment_provider" + } + }, + { + "id": 1353, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option type." + } + ] + }, + "type": { + "type": "reference", + "target": 2419, + "name": "ShippingOptionTypeDTO", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 2384, + "name": "ShippingOptionDTO.type" + } + }, + { + "id": 1354, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules associated with the shipping option." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2351, + "name": "ShippingOptionRuleDTO", + "package": "@medusajs/types" } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1767, - 1768, - 1769, - 1770 - ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2385, + "name": "ShippingOptionDTO.rules" + } + }, + { + "id": 1355, + "name": "fulfillments", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillments associated with the shipping option." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2486, + "name": "FulfillmentDTO", + "package": "@medusajs/types" } + }, + "inheritedFrom": { + "type": "reference", + "target": 2386, + "name": "ShippingOptionDTO.fulfillments" + } + }, + { + "id": 1356, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the shipping option." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 2387, + "name": "ShippingOptionDTO.created_at" + } + }, + { + "id": 1357, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the shipping option." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 2388, + "name": "ShippingOptionDTO.updated_at" + } + }, + { + "id": 1358, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the shipping option." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2389, + "name": "ShippingOptionDTO.deleted_at" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1340, + 1341, + 1342, + 1343, + 1344, + 1345, + 1346, + 1347, + 1348, + 1349, + 1350, + 1351, + 1352, + 1353, + 1354, + 1355, + 1356, + 1357, + 1358 ] } - } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + ] } ], "groups": [ { "title": "Interfaces", "children": [ - 1753 + 239, + 250, + 263, + 276, + 285, + 300, + 315, + 331, + 361, + 384, + 437, + 495, + 504, + 508, + 516, + 524, + 531, + 539, + 549, + 586, + 599, + 613, + 626, + 638, + 649, + 661, + 667, + 674, + 681, + 689, + 697, + 703, + 710, + 716, + 723, + 729, + 736, + 761, + 786, + 789, + 792, + 819, + 827, + 834, + 841, + 848, + 855, + 1198, + 1222, + 1226, + 1238, + 1251, + 1254, + 1263, + 1269, + 1330, + 1339 ] }, { "title": "Type Aliases", "children": [ - 1761, - 1765 + 559 ] } ] }, { - "id": 2797, - "name": "FileServiceUploadResult", + "id": 7956, + "name": "SessionOptions", "variant": "declaration", "kind": 256, "flags": {}, @@ -38627,141 +37492,40 @@ "summary": [ { "kind": "text", - "text": "Details of a file upload's result." - } - ] - }, - "children": [ - { - "id": 2798, - "name": "url", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The file's URL." - } - ] + "text": "Options to pass to " }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2799, - "name": "key", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The file's key. This key is used in other operations,\nsuch as deleting a file." - } - ] + { + "kind": "code", + "text": "`express-session`" }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2798, - 2799 - ] - } - ] - }, - { - "id": 2800, - "name": "FileServiceGetUploadStreamResult", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ { "kind": "text", - "text": "The relevant details to upload a file through a stream." + "text": "." } ] }, "children": [ { - "id": 2801, - "name": "writeStream", + "id": 7957, + "name": "name", "variant": "declaration", "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A [PassThrough](https://nodejs.org/api/stream.html#class-streampassthrough) write stream object to be used to write the file." - } - ] + "flags": { + "isOptional": true }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/@types/node/stream.d.ts", - "qualifiedName": "internal.PassThrough" - }, - "name": "PassThrough", - "package": "@types/node", - "qualifiedName": "internal.PassThrough" - } - }, - { - "id": 2802, - "name": "promise", - "variant": "declaration", - "kind": 1024, - "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "A promise that should resolved when the writing process is done to finish the upload." - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "text": "The name of the session ID cookie to set in the response (and read from in the request). The default value is " + }, { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 2803, - "name": "url", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ + "kind": "code", + "text": "`connect.sid`" + }, { "kind": "text", - "text": "The URL of the file once it’s uploaded." + "text": ".\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#name) for more details." } ] }, @@ -38771,74 +37535,37 @@ } }, { - "id": 2804, - "name": "fileKey", + "id": 7958, + "name": "resave", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The identifier of the file in the storage. For example, for a local file service, this can be the file's name." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2801, - 2802, - 2803, - 2804 - ] - } - ] - }, - { - "id": 2805, - "name": "GetUploadedFileType", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The details of a file to retrieve." - } - ] - }, - "children": [ - { - "id": 2806, - "name": "fileKey", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ + "text": "Whether the session should be saved back to the session store, even if the session was never modified during the request. The default value is " + }, + { + "kind": "code", + "text": "`true`" + }, { "kind": "text", - "text": "The file's key." + "text": ".\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#resave) for more details." } ] }, "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" } }, { - "id": 2807, - "name": "isPrivate", + "id": 7959, + "name": "rolling", "variant": "declaration", "kind": 1024, "flags": { @@ -38848,7 +37575,15 @@ "summary": [ { "kind": "text", - "text": "Whether the file is private." + "text": "Whether the session identifier cookie should be force-set on every response. The default value is " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ".\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#rolling) for more details." } ] }, @@ -38856,99 +37591,39 @@ "type": "intrinsic", "name": "boolean" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2806, - 2807 - ] - } - ] - }, - { - "id": 2808, - "name": "DeleteFileType", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The details of the file to remove." - } - ] - }, - "children": [ + }, { - "id": 2809, - "name": "fileKey", + "id": 7960, + "name": "saveUninitialized", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The file's key. When uploading a file, the\nreturned key is used here." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2809 - ] - } - ] - }, - { - "id": 2810, - "name": "UploadStreamDescriptorType", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The details of the file being uploaded through a stream." - } - ] - }, - "children": [ - { - "id": 2811, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ + "text": "Whether a session that is \"uninitialized\" is forced to be saved to the store. The default value is " + }, + { + "kind": "code", + "text": "`true`" + }, { "kind": "text", - "text": "The name of the file." + "text": ".\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#saveUninitialized) for more details." } ] }, "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" } }, { - "id": 2812, - "name": "ext", + "id": 7961, + "name": "secret", "variant": "declaration", "kind": 1024, "flags": { @@ -38958,7 +37633,15 @@ "summary": [ { "kind": "text", - "text": "The extension of the file." + "text": "The secret to sign the session ID cookie. By default, the value of " + }, + { + "kind": "code", + "text": "`cookie_secret`" + }, + { + "kind": "text", + "text": " is used.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#secret) for details." } ] }, @@ -38968,8 +37651,8 @@ } }, { - "id": 2813, - "name": "isPrivate", + "id": 7962, + "name": "ttl", "variant": "declaration", "kind": 1024, "flags": { @@ -38979,21 +37662,37 @@ "summary": [ { "kind": "text", - "text": "Whether the file should be uploaded to a private bucket or location. By convention, the default value of this property is " + "text": "Used when calculating the " }, { "kind": "code", - "text": "`true`" + "text": "`Expires`" }, { "kind": "text", - "text": "." + "text": " " + }, + { + "kind": "code", + "text": "`Set-Cookie`" + }, + { + "kind": "text", + "text": " attribute of cookies. By default, its value is " + }, + { + "kind": "code", + "text": "`10 * 60 * 60 * 1000`" + }, + { + "kind": "text", + "text": ".\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#cookiemaxage) for details." } ] }, "type": { "type": "intrinsic", - "name": "boolean" + "name": "number" } } ], @@ -39001,1080 +37700,838 @@ { "title": "Properties", "children": [ - 2811, - 2812, - 2813 + 7957, + 7958, + 7959, + 7960, + 7961, + 7962 ] } ] }, { - "id": 1771, - "name": "FulfillmentTypes", + "id": 1359, + "name": "CommonTypes", "variant": "declaration", "kind": 4, "flags": {}, "children": [ { - "id": 1772, - "name": "GeoZoneType", + "id": 1500, + "name": "LinkMethodRequest", "variant": "declaration", "kind": 2097152, "flags": {}, "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "country" - }, - { - "type": "literal", - "value": "province" - }, - { - "type": "literal", - "value": "city" - }, - { - "type": "literal", - "value": "zip" - } - ] - } - }, - { - "id": 1773, - "name": "FulfillmentDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 1774, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1775, - "name": "name", + "type": "reflection", + "declaration": { + "id": 1501, + "name": "__type", "variant": "declaration", - "kind": 1024, + "kind": 65536, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", "children": [ - 1774, - 1775 + { + "id": 1502, + "name": "add", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1503, + "name": "remove", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1502, + 1503 + ] + } ] } - ] + } }, { - "id": 1776, - "name": "IFulfillmentModuleService", + "id": 1504, + "name": "LinkWorkflowInput", "variant": "declaration", - "kind": 256, + "kind": 2097152, "flags": {}, - "children": [ - { - "id": 1777, - "name": "create", + "type": { + "type": "reflection", + "declaration": { + "id": 1505, + "name": "__type", "variant": "declaration", - "kind": 2048, + "kind": 65536, "flags": {}, - "signatures": [ + "children": [ { - "id": 1778, - "name": "create", - "variant": "signature", - "kind": 4096, + "id": 1506, + "name": "id", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 1779, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "any" - } - } - }, - { - "id": 1780, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 1773, - "name": "FulfillmentDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "type": "intrinsic", + "name": "string" } }, { - "id": 1781, - "name": "create", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1782, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1783, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } + "id": 1507, + "name": "add", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" } - ], + } + }, + { + "id": 1508, + "name": "remove", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 1773, - "name": "FulfillmentDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1506, + 1507, + 1508 + ] + } ] + } + }, + "extendedBy": [ + { + "type": "reference", + "target": 6128, + "name": "BatchUpdateProductsOnCategoryWorkflowInput" + } + ] + }, + { + "id": 1509, + "name": "BatchMethodRequest", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 1514, + "name": "TCreate", + "variant": "typeParam", + "kind": 131072, + "flags": {} }, { - "id": 1784, - "name": "update", + "id": 1515, + "name": "TUpdate", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1510, + "name": "__type", "variant": "declaration", - "kind": 2048, + "kind": 65536, "flags": {}, - "signatures": [ + "children": [ { - "id": 1785, - "name": "update", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1786, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "any" - } - } - }, - { - "id": 1787, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], + "id": 1511, + "name": "create", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 1773, - "name": "FulfillmentDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "type": "array", + "elementType": { + "type": "reference", + "target": 1514, + "name": "TCreate", + "package": "@medusajs/types", + "refersToTypeParameter": true + } } }, { - "id": 1788, + "id": 1512, "name": "update", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1789, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1790, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 1773, - "name": "FulfillmentDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 1791, - "name": "delete", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 1792, - "name": "delete", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1793, - "name": "ids", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 1794, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } + "type": "array", + "elementType": { + "type": "reference", + "target": 1515, + "name": "TUpdate", + "package": "@medusajs/types", + "refersToTypeParameter": true } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" } }, { - "id": 1795, + "id": 1513, "name": "delete", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1796, - "name": "id", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1797, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1511, + 1512, + 1513 + ] + } ] - }, + } + } + }, + { + "id": 1516, + "name": "BatchMethodResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ { - "id": 1798, - "name": "retrieve", + "id": 1525, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1517, + "name": "__type", "variant": "declaration", - "kind": 2048, + "kind": 65536, "flags": {}, - "signatures": [ + "children": [ { - "id": 1799, - "name": "retrieve", - "variant": "signature", - "kind": 4096, + "id": 1518, + "name": "created", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 1800, - "name": "id", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1801, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 1773, - "name": "FulfillmentDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 1802, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 1773, - "name": "FulfillmentDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "type": "array", + "elementType": { + "type": "reference", + "target": 1525, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } } - } - ] - }, - { - "id": 1803, - "name": "list", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 1804, - "name": "list", - "variant": "signature", - "kind": 4096, + "id": 1519, + "name": "updated", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 1805, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1806, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 1773, - "name": "FulfillmentDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 1807, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 1773, - "name": "FulfillmentDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "type": "array", + "elementType": { + "type": "reference", + "target": 1525, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } } - } - ] - }, - { - "id": 1808, - "name": "listAndCount", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 1809, - "name": "listAndCount", - "variant": "signature", - "kind": 4096, + "id": 1520, + "name": "deleted", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 1810, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1811, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 1773, - "name": "FulfillmentDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 1812, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "tuple", - "elements": [ - { + "type": "reflection", + "declaration": { + "id": 1521, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1522, + "name": "ids", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { "type": "array", "elementType": { - "type": "reference", - "target": 1773, - "name": "FulfillmentDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } - }, - { - "type": "intrinsic", - "name": "number" } - ] - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 1813, - "name": "softDelete", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 1814, - "name": "softDelete", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 1815, - "name": "TReturnableLinkableKeys", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 1816, - "name": "fulfillmentIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 1817, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1642, - "typeArguments": [ - { - "type": "reference", - "target": 1815, - "name": "TReturnableLinkableKeys", - "package": "@medusajs/types", - "refersToTypeParameter": true + }, + { + "id": 1523, + "name": "object", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" } - ], - "name": "SoftDeleteReturn", - "package": "@medusajs/types" - } - }, - { - "id": 1818, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { + }, + { + "id": 1524, + "name": "deleted", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { "type": "intrinsic", - "name": "void" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ], - "name": "Record", - "package": "typescript" + "name": "boolean" } - ] - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 1819, - "name": "restore", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 1820, - "name": "restore", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 1821, - "name": "TReturnableLinkableKeys", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 1822, - "name": "fulfillmentIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" } - } - }, - { - "id": 1823, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1645, - "typeArguments": [ - { - "type": "reference", - "target": 1821, - "name": "TReturnableLinkableKeys", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "RestoreReturn", - "package": "@medusajs/types" - } - }, - { - "id": 1824, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1522, + 1523, + 1524 + ] + } + ] } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "void" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ], - "name": "Record", - "package": "typescript" - } - ] - } - ], - "name": "Promise", - "package": "typescript" } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1518, + 1519, + 1520 + ] + } ] } - ], - "groups": [ + } + }, + { + "id": 1526, + "name": "BatchWorkflowInput", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ { - "title": "Methods", - "children": [ - 1777, - 1784, - 1791, - 1798, - 1803, - 1808, - 1813, - 1819 - ] + "id": 1527, + "name": "TCreate", + "variant": "typeParam", + "kind": 131072, + "flags": {} + }, + { + "id": 1528, + "name": "TUpdate", + "variant": "typeParam", + "kind": 131072, + "flags": {} } ], - "extendedTypes": [ + "type": { + "type": "reference", + "target": 1509, + "typeArguments": [ + { + "type": "reference", + "target": 1527, + "name": "TCreate", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 1528, + "name": "TUpdate", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "BatchMethodRequest", + "package": "@medusajs/types" + } + }, + { + "id": 1529, + "name": "BatchWorkflowOutput", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ { - "type": "reference", - "target": 2048, - "name": "IModuleService", - "package": "@medusajs/types" + "id": 1530, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} } - ] - } - ], - "groups": [ - { - "title": "Interfaces", - "children": [ - 1773, - 1776 - ] + ], + "type": { + "type": "reference", + "target": 1516, + "typeArguments": [ + { + "type": "reference", + "target": 1530, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "BatchMethodResponse", + "package": "@medusajs/types" + } }, { - "title": "Type Aliases", - "children": [ - 1772 - ] - } - ] - }, - { - "id": 2814, - "name": "JoinerRelationship", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 2815, - "name": "__type", + "id": 1360, + "name": "WithRequiredProperty", "variant": "declaration", - "kind": 65536, + "kind": 2097152, "flags": {}, - "children": [ - { - "id": 2816, - "name": "alias", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Utility type used to remove some optional attributes (coming from K) from a type T" } + ] + }, + "typeParameters": [ + { + "id": 1361, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} }, { - "id": 2817, - "name": "foreignKey", + "id": 1362, + "name": "K", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 1361, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + } + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 1361, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "mapped", + "parameter": "Property", + "parameterType": { + "type": "reference", + "target": 1362, + "name": "K", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "templateType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "Property" + }, + "name": "Property", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 1361, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + "optionalModifier": "-" + } + ] + } + }, + { + "id": 1366, + "name": "BaseEntity", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Representing a table in the database." + } + ] + }, + "children": [ + { + "id": 1367, + "name": "id", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of an entity's record." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 2818, - "name": "primaryKey", + "id": 1368, + "name": "created_at", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date an entity's record was created." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" } }, { - "id": 2819, - "name": "serviceName", + "id": 1369, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date an entity's record was updated." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1367, + 1368, + 1369 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 1370, + "name": "SoftDeletableEntity" + } + ] + }, + { + "id": 1370, + "name": "SoftDeletableEntity", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Representing a deletable entity." + } + ] + }, + "children": [ + { + "id": 1372, + "name": "id", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of an entity's record." + } + ] + }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 1367, + "name": "BaseEntity.id" } }, { - "id": 2820, - "name": "isInternalService", + "id": 1373, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date an entity's record was created." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 1368, + "name": "BaseEntity.created_at" + } + }, + { + "id": 1374, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date an entity's record was updated." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 1369, + "name": "BaseEntity.updated_at" + } + }, + { + "id": 1371, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date an entity's record was deleted." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1372, + 1373, + 1374, + 1371 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1366, + "name": "BaseEntity", + "package": "@medusajs/types" + } + ] + }, + { + "id": 1377, + "name": "FindConfig", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to configure how an entity is retrieved from the database. It accepts as a typed parameter an " + }, + { + "kind": "code", + "text": "`Entity`" + }, + { + "kind": "text", + "text": " class,\nwhich provides correct typing of field names in its properties." + } + ] + }, + "children": [ + { + "id": 1378, + "name": "select", "variant": "declaration", "kind": 1024, "flags": { @@ -40084,18 +38541,38 @@ "summary": [ { "kind": "text", - "text": "If true, the relationship is an internal service from the medusa core\nTODO: Remove when there are no more \"internal\" services" + "text": "An array of strings, each being attribute names of the entity to retrieve in the result." } ] }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 1388, + "name": "Entity", + "package": "@medusajs/types", + "qualifiedName": "FindConfig.Entity", + "refersToTypeParameter": true + } + } + ] + } } }, { - "id": 2821, - "name": "inverse", + "id": 1379, + "name": "skip", "variant": "declaration", "kind": 1024, "flags": { @@ -40105,18 +38582,27 @@ "summary": [ { "kind": "text", - "text": "In an inverted relationship the foreign key is on the other service and the primary key is on the current service" + "text": "A number indicating the number of records to skip before retrieving the results." } ] }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] } }, { - "id": 2822, - "name": "isList", + "id": 1380, + "name": "take", "variant": "declaration", "kind": 1024, "flags": { @@ -40126,7 +38612,145 @@ "summary": [ { "kind": "text", - "text": "Force the relationship to return a list" + "text": "A number indicating the number of records to return in the result." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 1381, + "name": "relations", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of strings, each being relation names of the entity to retrieve in the result." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1382, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be " + }, + { + "kind": "code", + "text": "`ASC`" + }, + { + "kind": "text", + "text": "\nto sort retrieved records in an ascending order, or " + }, + { + "kind": "code", + "text": "`DESC`" + }, + { + "kind": "text", + "text": " to sort retrieved records in a descending order." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1383, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "indexSignature": { + "id": 1384, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "parameters": [ + { + "id": 1385, + "name": "K", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "ASC" + }, + { + "type": "literal", + "value": "DESC" + } + ] + } + } + } + } + }, + { + "id": 1386, + "name": "withDeleted", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the\n" + }, + { + "kind": "code", + "text": "`SoftDeletableEntity`" + }, + { + "kind": "text", + "text": " class." } ] }, @@ -40136,8 +38760,8 @@ } }, { - "id": 2823, - "name": "args", + "id": 1387, + "name": "filters", "variant": "declaration", "kind": 1024, "flags": { @@ -40147,7 +38771,7 @@ "summary": [ { "kind": "text", - "text": "Extra arguments to pass to the remoteFetchData callback" + "text": "Enable ORM specific defined filters" } ] }, @@ -40176,2309 +38800,1525 @@ { "title": "Properties", "children": [ - 2816, - 2817, - 2818, - 2819, - 2820, - 2821, - 2822, - 2823 + 1378, + 1379, + 1380, + 1381, + 1382, + 1386, + 1387 ] } + ], + "typeParameters": [ + { + "id": 1388, + "name": "Entity", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } ] - } - } - }, - { - "id": 2824, - "name": "JoinerServiceConfigAlias", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2825, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } }, { - "id": 2826, - "name": "args", + "id": 1426, + "name": "RequestQueryFields", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "kind": 256, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Extra arguments to pass to the remoteFetchData callback" + "text": "Fields that can be passed in the query parameters of a request." } ] }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" + "children": [ + { + "id": 1427, + "name": "expand", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Comma-separated relations that should be expanded in the returned data." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, - "typeArguments": [ - { + { + "id": 1428, + "name": "fields", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Comma-separated fields that should be included in the returned data." + } + ] + }, + "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 1429, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of items to skip when retrieving a list." + } + ] + }, + "type": { "type": "intrinsic", - "name": "any" + "name": "number" } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2825, - 2826 + }, + { + "id": 1430, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Limit the number of items returned in the list." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1431, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Field to sort items in the list by." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1427, + 1428, + 1429, + 1430, + 1431 + ] + } ] - } - ] - }, - { - "id": 2827, - "name": "JoinerServiceConfig", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2828, - "name": "serviceName", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } }, { - "id": 2829, - "name": "alias", + "id": 1432, + "name": "PaginatedResponse", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "kind": 256, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Property name to use as entrypoint to the service" + "text": "Fields included in the response if it's paginated." } ] }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 2824, - "name": "JoinerServiceConfigAlias", - "package": "@medusajs/types" + "children": [ + { + "id": 1433, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The limit applied on the retrieved items." + } + ] }, - { - "type": "array", - "elementType": { - "type": "reference", - "target": 2824, - "name": "JoinerServiceConfigAlias", - "package": "@medusajs/types" - } + "type": { + "type": "intrinsic", + "name": "number" } - ] - } + }, + { + "id": 1434, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of items skipped before retrieving the list of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1435, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total count of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1433, + 1434, + 1435 + ] + } + ], + "typeParameters": [ + { + "id": 1436, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 6316, + "name": "AdminApiKeyListResponse" + }, + { + "type": "reference", + "target": 6370, + "name": "AdminCustomerListResponse" + }, + { + "type": "reference", + "target": 6377, + "name": "AdminCustomerGroupListResponse" + }, + { + "type": "reference", + "target": 6527, + "name": "AdminShippingProfilesResponse" + }, + { + "type": "reference", + "target": 6606, + "name": "AdminProductCategoryListResponse" + }, + { + "type": "reference", + "target": 6613, + "name": "StoreProductCategoryListResponse" + }, + { + "type": "reference", + "target": 6699, + "name": "AdminTaxRateListResponse" + }, + { + "type": "reference", + "target": 6724, + "name": "AdminTaxRegionListResponse" + }, + { + "type": "reference", + "target": 6731, + "name": "AdminReservationListResponse" + } + ] }, { - "id": 2830, - "name": "fieldAlias", + "id": 1437, + "name": "DeleteResponse", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "kind": 2097152, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "alias for deeper nested relationships (e.g. { 'price': 'prices.calculated_price_set.amount' })" + "text": "The fields returned in the response of a DELETE request." } ] }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { + "typeParameters": [ + { + "id": 1442, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { "type": "intrinsic", "name": "string" - }, - { - "type": "union", - "types": [ - { + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1438, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1439, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the item that was deleted." + } + ] + }, + "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 1440, + "name": "object", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the item that was deleted." + } + ] }, - { - "type": "reflection", - "declaration": { - "id": 2831, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 2832, - "name": "path", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2833, - "name": "forwardArgumentsOnPath", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2832, - 2833 - ] - } - ] - } + "type": { + "type": "reference", + "target": 1442, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } - ] - } - ], - "name": "Record", - "package": "typescript" - } + }, + { + "id": 1441, + "name": "deleted", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the item was deleted successfully." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1439, + 1440, + 1441 + ] + } + ] + } + }, + "extendedBy": [ + { + "type": "reference", + "target": 6400, + "name": "AdminFulfillmentSetsDeleteResponse" + }, + { + "type": "reference", + "target": 6532, + "name": "AdminShippingProfileDeleteResponse" + } + ] }, { - "id": 2834, - "name": "primaryKeys", + "id": 1443, + "name": "EmptyQueryParams", "variant": "declaration", - "kind": 1024, + "kind": 256, "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "comment": { + "summary": [ + { + "kind": "text", + "text": "Requests that don't accept any query parameters can use this type." + } + ] } }, { - "id": 2835, - "name": "relationships", + "id": 1444, + "name": "RepositoryTransformOptions", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { + "kind": 256, + "flags": {}, + "extendedBy": [ + { "type": "reference", - "target": 2814, - "name": "JoinerRelationship", - "package": "@medusajs/types" + "target": 7723, + "name": "ProductCategoryTransformOptions" } - } + ] }, { - "id": 2836, - "name": "extends", + "id": 1445, + "name": "DateComparisonOperator", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Fields used to apply flexible filters on dates." + } + ] }, - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 2837, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ + "children": [ + { + "id": 1446, + "name": "lt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "id": 2838, - "name": "serviceName", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "kind": "text", + "text": "The filtered date must be less than this value." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 1447, + "name": "gt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "id": 2839, - "name": "relationship", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 2814, - "name": "JoinerRelationship", - "package": "@medusajs/types" - } + "kind": "text", + "text": "The filtered date must be greater than this value." } - ], - "groups": [ + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 1448, + "name": "gte", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "title": "Properties", - "children": [ - 2838, - 2839 - ] + "kind": "text", + "text": "The filtered date must be greater than or equal to this value." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 1449, + "name": "lte", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filtered date must be less than or equal to this value." } ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" } } - } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1446, + 1447, + 1448, + 1449 + ] + } + ] }, { - "id": 2840, - "name": "args", + "id": 1450, + "name": "StringComparisonOperator", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "kind": 256, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Extra arguments to pass to the remoteFetchData callback" + "text": "Fields used to apply flexible filters on strings." } ] }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { + "children": [ + { + "id": 1451, + "name": "lt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filtered string must be less than this value." + } + ] + }, + "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 1452, + "name": "gt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filtered string must be greater than this value." + } + ] + }, + "type": { "type": "intrinsic", - "name": "any" + "name": "string" } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2828, - 2829, - 2830, - 2834, - 2835, - 2836, - 2840 - ] - } - ] - }, - { - "id": 2841, - "name": "JoinerArgument", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2842, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2843, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2842, - 2843 - ] - } - ] - }, - { - "id": 2844, - "name": "JoinerDirective", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2845, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2846, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2845, - 2846 - ] - } - ] - }, - { - "id": 2847, - "name": "RemoteJoinerQuery", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2848, - "name": "service", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2849, - "name": "alias", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2850, - "name": "expands", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 2851, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ + }, + { + "id": 1453, + "name": "gte", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "id": 2852, - "name": "property", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "kind": "text", + "text": "The filtered string must be greater than or equal to this value." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1454, + "name": "lte", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "id": 2853, - "name": "fields", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, + "kind": "text", + "text": "The filtered string must be less than or equal to this value." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1455, + "name": "contains", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "id": 2854, - "name": "args", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2841, - "name": "JoinerArgument", - "package": "@medusajs/types" - } - } - }, + "kind": "text", + "text": "The filtered string must contain this value." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1456, + "name": "starts_with", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "id": 2855, - "name": "directives", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 2856, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "indexSignature": { - "id": 2857, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "parameters": [ - { - "id": 2858, - "name": "field", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2844, - "name": "JoinerDirective", - "package": "@medusajs/types" - } - } - } - } - } + "kind": "text", + "text": "The filtered string must start with this value." } - ], - "groups": [ + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1457, + "name": "ends_with", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "title": "Properties", - "children": [ - 2852, - 2853, - 2854, - 2855 - ] + "kind": "text", + "text": "The filtered string must end with this value." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" } } - } - }, - { - "id": 2859, - "name": "fields", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 2860, - "name": "args", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2841, - "name": "JoinerArgument", - "package": "@medusajs/types" + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1451, + 1452, + 1453, + 1454, + 1455, + 1456, + 1457 + ] } - } + ] }, { - "id": 2861, - "name": "directives", + "id": 1458, + "name": "NumericalComparisonOperator", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Fields used to apply flexible filters on numbers." + } + ] }, - "type": { - "type": "reflection", - "declaration": { - "id": 2862, - "name": "__type", + "children": [ + { + "id": 1459, + "name": "lt", "variant": "declaration", - "kind": 65536, - "flags": {}, - "indexSignature": { - "id": 2863, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "parameters": [ + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "id": 2864, - "name": "field", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2844, - "name": "JoinerDirective", - "package": "@medusajs/types" + "kind": "text", + "text": "The filtered number must be less than this value." } - } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" } - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2848, - 2849, - 2850, - 2859, - 2860, - 2861 - ] - } - ] - }, - { - "id": 2865, - "name": "RemoteNestedExpands", - "variant": "declaration", - "kind": 256, - "flags": {}, - "indexSignature": { - "id": 2866, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "parameters": [ - { - "id": 2867, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 2868, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 2869, - "name": "fields", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" + }, + { + "id": 1460, + "name": "gt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filtered number must be greater than this value." } - } + ] }, - { - "id": 2870, - "name": "args", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2841, - "name": "JoinerArgument", - "package": "@medusajs/types" + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1461, + "name": "gte", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filtered number must be greater than or equal to this value." } - } + ] }, - { - "id": 2871, - "name": "expands", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2865, - "name": "RemoteNestedExpands", - "package": "@medusajs/types" - } + "type": { + "type": "intrinsic", + "name": "number" } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2869, - 2870, - 2871 + }, + { + "id": 1462, + "name": "lte", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filtered number must be less than or equal to this value." + } ] + }, + "type": { + "type": "intrinsic", + "name": "number" } - ] - } - } - } - }, - { - "id": 2872, - "name": "RemoteExpandProperty", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2873, - "name": "property", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2874, - "name": "parent", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2875, - "name": "parentConfig", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2827, - "name": "JoinerServiceConfig", - "package": "@medusajs/types" - } - }, - { - "id": 2876, - "name": "serviceConfig", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 2827, - "name": "JoinerServiceConfig", - "package": "@medusajs/types" - } - }, - { - "id": 2877, - "name": "fields", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" } - } - }, - { - "id": 2878, - "name": "args", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2841, - "name": "JoinerArgument", - "package": "@medusajs/types" + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1459, + 1460, + 1461, + 1462 + ] } - } + ] }, { - "id": 2879, - "name": "expands", + "id": 1463, + "name": "AddressPayload", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Address fields used when creating/updating an address." + } + ] }, - "type": { - "type": "reference", - "target": 2865, - "name": "RemoteNestedExpands", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", "children": [ - 2873, - 2874, - 2875, - 2876, - 2877, - 2878, - 2879 - ] - } - ] - }, - { - "id": 2880, - "name": "ILinkModule", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2881, - "name": "list", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ { - "id": 2882, - "name": "list", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2883, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" + "id": 1464, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "First name" } - }, - { - "id": 2884, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1465, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Last name" } - }, - { - "id": 2885, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1466, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Phone Number" } - } - ], + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1467, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Record" }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "Promise", + "name": "Record", "package": "typescript" } - } - ] - }, - { - "id": 2886, - "name": "listAndCount", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 2887, - "name": "listAndCount", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2888, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 2889, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 2890, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "id": 1468, + "name": "company", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] + "kind": "text", + "text": "Company" } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } - } - ] - }, - { - "id": 2891, - "name": "create", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 2892, - "name": "create", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2893, - "name": "primaryKeyOrBulkData", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - { - "type": "array", - "elementType": { - "type": "tuple", - "elements": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "optional", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - } - ] - } - } - ] - } - }, - { - "id": 2894, - "name": "foreignKeyData", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2895, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "id": 1469, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Address line 1" } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1470, + "name": "address_2", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } + "kind": "text", + "text": "Address line 2" } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } - } - ] - }, - { - "id": 2896, - "name": "dismiss", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 2897, - "name": "dismiss", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2898, - "name": "primaryKeyOrBulkData", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - { - "type": "array", - "elementType": { - "type": "tuple", - "elements": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ] - } - }, - { - "id": 2899, - "name": "foreignKeyData", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2900, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "id": 1471, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "City" } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1472, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } + "kind": "text", + "text": "The 2 character ISO code of the country in lower case" } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } - } - ] - }, - { - "id": 2901, - "name": "delete", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 2902, - "name": "delete", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2903, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 2904, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "id": 1473, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Province" } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1474, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "void" + "kind": "text", + "text": "Postal Code" } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1464, + 1465, + 1466, + 1467, + 1468, + 1469, + 1470, + 1471, + 1472, + 1473, + 1474 + ] + } ] }, { - "id": 2905, - "name": "softDelete", + "id": 1475, + "name": "AddressCreatePayload", "variant": "declaration", - "kind": 2048, + "kind": 256, "flags": {}, - "signatures": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "Address fields used when creating an address." + } + ] + }, + "children": [ { - "id": 2906, - "name": "softDelete", - "variant": "signature", - "kind": 4096, + "id": 1476, + "name": "first_name", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 2907, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 2908, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1642, - "name": "SoftDeleteReturn", - "package": "@medusajs/types" - } - }, - { - "id": 2909, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "comment": { + "summary": [ + { + "kind": "text", + "text": "First name" } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1477, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "void" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "name": "Record", - "package": "typescript" - } - ] + "kind": "text", + "text": "Last name" } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } - } - ] - }, - { - "id": 2910, - "name": "restore", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 2911, - "name": "restore", - "variant": "signature", - "kind": 4096, + "id": 1478, + "name": "phone", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 2912, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 2913, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1645, - "name": "RestoreReturn", - "package": "@medusajs/types" - } - }, - { - "id": 2914, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Phone Number" } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1479, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "void" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "name": "Record", - "package": "typescript" - } - ] + "kind": "text", + "text": "Holds custom data in key-value pairs." } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "object" } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 2881, - 2886, - 2891, - 2896, - 2901, - 2905, - 2910 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 2048, - "name": "IModuleService", - "package": "@medusajs/types" - } - ] - }, - { - "id": 1832, - "name": "LoggerTypes", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ - { - "id": 1833, - "name": "Logger", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + }, { - "id": 1834, - "name": "panic", + "id": 1480, + "name": "company", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Company" + } + ] + }, "type": { - "type": "reflection", - "declaration": { - "id": 1835, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "signatures": [ - { - "id": 1836, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1837, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } + "type": "intrinsic", + "name": "string" } }, { - "id": 1838, - "name": "shouldLog", + "id": 1481, + "name": "address_1", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Address line 1" + } + ] + }, "type": { - "type": "reflection", - "declaration": { - "id": 1839, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "signatures": [ - { - "id": 1840, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1841, - "name": "level", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } + "type": "intrinsic", + "name": "string" } }, { - "id": 1842, - "name": "setLogLevel", + "id": 1482, + "name": "address_2", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Address line 2" + } + ] + }, "type": { - "type": "reflection", - "declaration": { - "id": 1843, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "signatures": [ - { - "id": 1844, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1845, - "name": "level", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } + "type": "intrinsic", + "name": "string" } }, { - "id": 1846, - "name": "unsetLogLevel", + "id": 1483, + "name": "city", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "City" + } + ] + }, "type": { - "type": "reflection", - "declaration": { - "id": 1847, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "signatures": [ - { - "id": 1848, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } + "type": "intrinsic", + "name": "string" } }, { - "id": 1849, - "name": "activity", + "id": 1484, + "name": "country_code", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The 2 character ISO code of the country in lower case" + } + ] + }, "type": { - "type": "reflection", - "declaration": { - "id": 1850, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "signatures": [ - { - "id": 1851, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1852, - "name": "message", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1853, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } + "type": "intrinsic", + "name": "string" } }, { - "id": 1854, - "name": "progress", + "id": 1485, + "name": "province", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Province" + } + ] + }, "type": { - "type": "reflection", - "declaration": { - "id": 1855, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "signatures": [ - { - "id": 1856, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1857, - "name": "activityId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1858, - "name": "message", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } + "type": "intrinsic", + "name": "string" } }, { - "id": 1859, - "name": "error", + "id": 1486, + "name": "postal_code", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Postal Code" + } + ] + }, "type": { - "type": "reflection", - "declaration": { - "id": 1860, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "signatures": [ - { - "id": 1861, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1862, - "name": "messageOrError", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1863, - "name": "error", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } + "type": "intrinsic", + "name": "string" } - }, + } + ], + "groups": [ { - "id": 1864, - "name": "failure", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1865, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "signatures": [ - { - "id": 1866, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1867, - "name": "activityId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1868, - "name": "message", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } + "title": "Properties", + "children": [ + 1476, + 1477, + 1478, + 1479, + 1480, + 1481, + 1482, + 1483, + 1484, + 1485, + 1486 + ] + } + ] + }, + { + "id": 1487, + "name": "FindParams", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Parameters that can be used to configure how data is retrieved." } - }, + ] + }, + "children": [ { - "id": 1869, - "name": "success", + "id": 1488, + "name": "expand", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Comma-separated relations that should be expanded in the returned data." + } + ] + }, "type": { - "type": "reflection", - "declaration": { - "id": 1870, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "signatures": [ - { - "id": 1871, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1872, - "name": "activityId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1873, - "name": "message", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } + "type": "intrinsic", + "name": "string" } }, { - "id": 1874, - "name": "debug", + "id": 1489, + "name": "fields", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Comma-separated fields that should be included in the returned data." + } + ] + }, "type": { - "type": "reflection", - "declaration": { - "id": 1875, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "signatures": [ - { - "id": 1876, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1877, - "name": "message", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } + "type": "intrinsic", + "name": "string" } - }, + } + ], + "groups": [ { - "id": 1878, - "name": "info", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1879, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "signatures": [ - { - "id": 1880, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1881, - "name": "message", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } + "title": "Properties", + "children": [ + 1488, + 1489 + ] + } + ] + }, + { + "id": 1490, + "name": "FindPaginationParams", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Parameters that can be used to configure how a list of data is paginated." } - }, + ] + }, + "children": [ { - "id": 1882, - "name": "warn", + "id": 1491, + "name": "offset", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of items to skip when retrieving a list." + } + ] + }, "type": { - "type": "reflection", - "declaration": { - "id": 1883, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "signatures": [ - { - "id": 1884, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1885, - "name": "message", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } + "type": "intrinsic", + "name": "number" } }, { - "id": 1886, - "name": "log", + "id": 1492, + "name": "limit", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Limit the number of items returned in the list." + } + ] + }, "type": { - "type": "reflection", - "declaration": { - "id": 1887, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "signatures": [ - { - "id": 1888, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 1889, - "name": "args", - "variant": "param", - "kind": 32768, - "flags": { - "isRest": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "any" - } - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } + "type": "intrinsic", + "name": "number" } } ], @@ -42486,547 +40326,1542 @@ { "title": "Properties", "children": [ - 1834, - 1838, - 1842, - 1846, - 1849, - 1854, - 1859, - 1864, - 1869, - 1874, - 1878, - 1882, - 1886 + 1491, + 1492 ] } ] - } - ], - "groups": [ - { - "title": "Interfaces", - "children": [ - 1833 - ] - } - ] - }, - { - "id": 1890, - "name": "ModulesSdkTypes", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ + }, { - "id": 1891, - "name": "Constructor", + "id": 1495, + "name": "SnakeCase", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 1895, - "name": "T", + "id": 1496, + "name": "S", "variant": "typeParam", "kind": 131072, - "flags": {} + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } } ], "type": { - "type": "reflection", - "declaration": { - "id": 1892, - "name": "__type", - "variant": "declaration", - "kind": 512, - "flags": {}, - "signatures": [ - { - "id": 1893, - "name": "__type", - "variant": "signature", - "kind": 16384, - "flags": {}, - "parameters": [ - { - "id": 1894, - "name": "args", - "variant": "param", - "kind": 32768, - "flags": { - "isRest": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "any" - } - } - } - ], - "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 1496, + "name": "S", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "templateLiteral", + "head": "", + "tail": [ + [ + { + "type": "inferred", + "name": "T" + }, + "" + ], + [ + { + "type": "inferred", + "name": "U" + }, + "" + ], + [ + { + "type": "inferred", + "name": "V" + }, + "" + ] + ] + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Uppercase" + }, + "typeArguments": [ + { "type": "reference", - "target": 1895, - "name": "T", + "target": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "U" + }, + "name": "U", "package": "@medusajs/types", "refersToTypeParameter": true } - } - ] + ], + "name": "Uppercase", + "package": "typescript" + }, + "trueType": { + "type": "templateLiteral", + "head": "", + "tail": [ + [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Lowercase" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "T" + }, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Lowercase", + "package": "typescript" + }, + "_" + ], + [ + { + "type": "reference", + "target": 1495, + "typeArguments": [ + { + "type": "templateLiteral", + "head": "", + "tail": [ + [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Lowercase" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Lowercase", + "package": "typescript" + }, + "" + ], + [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "V" + }, + "name": "V", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "" + ] + ] + } + ], + "name": "SnakeCase", + "package": "@medusajs/types" + }, + "" + ] + ] + }, + "falseType": { + "type": "templateLiteral", + "head": "", + "tail": [ + [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "T" + }, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "" + ], + [ + { + "type": "reference", + "target": 1495, + "typeArguments": [ + { + "type": "templateLiteral", + "head": "", + "tail": [ + [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "" + ], + [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "V" + }, + "name": "V", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "" + ] + ] + } + ], + "name": "SnakeCase", + "package": "@medusajs/types" + }, + "" + ] + ] + } + }, + "falseType": { + "type": "reference", + "target": 1496, + "name": "S", + "package": "@medusajs/types", + "refersToTypeParameter": true } } }, { - "id": 1896, - "name": "LogLevel", + "id": 1497, + "name": "KebabCase", "variant": "declaration", "kind": 2097152, "flags": {}, + "typeParameters": [ + { + "id": 1498, + "name": "S", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "query" - }, - { - "type": "literal", - "value": "schema" - }, - { - "type": "literal", - "value": "error" - }, - { - "type": "literal", - "value": "warn" + "type": "conditional", + "checkType": { + "type": "reference", + "target": 1498, + "name": "S", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "templateLiteral", + "head": "", + "tail": [ + [ + { + "type": "inferred", + "name": "T" + }, + "" + ], + [ + { + "type": "inferred", + "name": "U" + }, + "" + ], + [ + { + "type": "inferred", + "name": "V" + }, + "" + ] + ] + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true }, - { - "type": "literal", - "value": "info" + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Uppercase" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Uppercase", + "package": "typescript" }, - { - "type": "literal", - "value": "log" + "trueType": { + "type": "templateLiteral", + "head": "", + "tail": [ + [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Lowercase" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "T" + }, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Lowercase", + "package": "typescript" + }, + "-" + ], + [ + { + "type": "reference", + "target": 1497, + "typeArguments": [ + { + "type": "templateLiteral", + "head": "", + "tail": [ + [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Lowercase" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Lowercase", + "package": "typescript" + }, + "" + ], + [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "V" + }, + "name": "V", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "" + ] + ] + } + ], + "name": "KebabCase", + "package": "@medusajs/types" + }, + "" + ] + ] }, - { - "type": "literal", - "value": "migration" + "falseType": { + "type": "templateLiteral", + "head": "", + "tail": [ + [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "T" + }, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "" + ], + [ + { + "type": "reference", + "target": 1497, + "typeArguments": [ + { + "type": "templateLiteral", + "head": "", + "tail": [ + [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "" + ], + [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "V" + }, + "name": "V", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "" + ] + ] + } + ], + "name": "KebabCase", + "package": "@medusajs/types" + }, + "" + ] + ] } - ] + }, + "falseType": { + "type": "reference", + "target": 1498, + "name": "S", + "package": "@medusajs/types", + "refersToTypeParameter": true + } } }, { - "id": 1897, - "name": "LoggerOptions", + "id": 1531, + "name": "HttpCompressionOptions", "variant": "declaration", - "kind": 2097152, + "kind": 256, "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "boolean" - }, - { - "type": "literal", - "value": "all" - }, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 1896, - "name": "LogLevel", - "package": "@medusajs/types" - } + "kind": "text", + "text": "HTTP compression configurations." } ] - } - }, - { - "id": 1898, - "name": "MODULE_SCOPE", - "variant": "declaration", - "kind": 8, - "flags": {}, + }, "children": [ { - "id": 1899, - "name": "INTERNAL", + "id": 1532, + "name": "enabled", "variant": "declaration", - "kind": 16, - "flags": {}, + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether HTTP compression is enabled. By default, it's " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": "." + } + ] + }, "type": { - "type": "literal", - "value": "internal" + "type": "intrinsic", + "name": "boolean" } }, { - "id": 1900, - "name": "EXTERNAL", + "id": 1533, + "name": "level", "variant": "declaration", - "kind": 16, - "flags": {}, + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The level of zlib compression to apply to responses. A higher level will result in better compression but will take longer to complete.\nA lower level will result in less compression but will be much faster. The default value is " + }, + { + "kind": "code", + "text": "`6`" + }, + { + "kind": "text", + "text": "." + } + ] + }, "type": { - "type": "literal", - "value": "external" + "type": "intrinsic", + "name": "number" } - } - ], - "groups": [ - { - "title": "Enumeration Members", - "children": [ - 1899, - 1900 - ] - } - ] - }, - { - "id": 1901, - "name": "MODULE_RESOURCE_TYPE", - "variant": "declaration", - "kind": 8, - "flags": {}, - "children": [ + }, { - "id": 1902, - "name": "SHARED", + "id": 1534, + "name": "memLevel", "variant": "declaration", - "kind": 16, - "flags": {}, + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "How much memory should be allocated to the internal compression state. It's an integer in the range of 1 (minimum level) and 9 (maximum level).\nThe default value is " + }, + { + "kind": "code", + "text": "`8`" + }, + { + "kind": "text", + "text": "." + } + ] + }, "type": { - "type": "literal", - "value": "shared" + "type": "intrinsic", + "name": "number" } }, { - "id": 1903, - "name": "ISOLATED", + "id": 1535, + "name": "threshold", "variant": "declaration", - "kind": 16, - "flags": {}, + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The minimum response body size that compression is applied on. Its value can be the number of bytes or any string accepted by the\n[bytes](https://www.npmjs.com/package/bytes) module. The default value is " + }, + { + "kind": "code", + "text": "`1024`" + }, + { + "kind": "text", + "text": "." + } + ] + }, "type": { - "type": "literal", - "value": "isolated" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] } } ], "groups": [ { - "title": "Enumeration Members", + "title": "Properties", "children": [ - 1902, - 1903 + 1532, + 1533, + 1534, + 1535 ] } ] }, { - "id": 1904, - "name": "InternalModuleDeclaration", + "id": 1536, + "name": "ProjectConfigOptions", "variant": "declaration", - "kind": 2097152, + "kind": 256, "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1905, - "name": "__type", + "comment": { + "summary": [ + { + "kind": "text", + "text": "Essential configurations related to the Medusa backend, such as database and CORS configurations." + } + ] + }, + "children": [ + { + "id": 1537, + "name": "store_cors", "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1906, - "name": "scope", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 1899, - "name": "MODULE_SCOPE.INTERNAL", - "package": "@medusajs/types" - } - }, - { - "id": 1907, - "name": "resources", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 1901, - "name": "MODULE_RESOURCE_TYPE", - "package": "@medusajs/types" - } - }, - { - "id": 1908, - "name": "dependencies", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The Medusa backend’s API Routes are protected by Cross-Origin Resource Sharing (CORS). So, only allowed URLs or URLs matching a specified pattern can send requests to the backend’s API Routes.\n\n" }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 1909, - "name": "definition", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + { + "kind": "code", + "text": "`store_cors`" }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ + { + "kind": "text", + "text": " is a string used to specify the accepted URLs or patterns for store API Routes. It can either be one accepted origin, or a comma-separated list of accepted origins.\n\nEvery origin in that list must either be:\n\n1. A URL. For example, " + }, + { + "kind": "code", + "text": "`http://localhost:8000`" + }, + { + "kind": "text", + "text": ". The URL must not end with a backslash;\n2. Or a regular expression pattern that can match more than one origin. For example, " + }, + { + "kind": "code", + "text": "`.example.com`" + }, + { + "kind": "text", + "text": ". The regex pattern that the backend tests for is " + }, + { + "kind": "code", + "text": "`^([/~@;%#'])(.*?)\\1([gimsuy]*)$`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ { - "type": "reference", - "target": 1934, - "name": "ModuleDefinition", - "package": "@medusajs/types" + "kind": "text", + "text": "Some example values of common use cases:\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Allow different ports locally starting with 800\nSTORE_CORS=/http://localhost:800\\d+$/\n\n# Allow any origin ending with vercel.app. For example, storefront.vercel.app\nSTORE_CORS=/vercel\\.app$/\n\n# Allow all HTTP requests\nSTORE_CORS=/http://.+/\n```" + }, + { + "kind": "text", + "text": "\n\nThen, set the configuration in " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": ":\n\n" + }, + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n store_cors: process.env.STORE_CORS,\n // ...\n },\n // ...\n}\n```" + }, + { + "kind": "text", + "text": "\n\nIf you’re adding the value directly within " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": ", make sure to add an extra escaping " + }, + { + "kind": "code", + "text": "`/`" + }, + { + "kind": "text", + "text": " for every backslash in the pattern. For example:\n\n" + }, + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n store_cors: \"/vercel\\\\.app$/\",\n // ...\n },\n // ...\n}\n```" } - ], - "name": "Partial", - "package": "typescript" + ] } - }, - { - "id": 1910, - "name": "resolve", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1538, + "name": "admin_cors", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The Medusa backend’s API Routes are protected by Cross-Origin Resource Sharing (CORS). So, only allowed URLs or URLs matching a specified pattern can send requests to the backend’s API Routes.\n\n" }, - "type": { - "type": "union", - "types": [ + { + "kind": "code", + "text": "`admin_cors`" + }, + { + "kind": "text", + "text": " is a string used to specify the accepted URLs or patterns for admin API Routes. It can either be one accepted origin, or a comma-separated list of accepted origins.\n\nEvery origin in that list must either be:\n\n1. A URL. For example, " + }, + { + "kind": "code", + "text": "`http://localhost:7001`" + }, + { + "kind": "text", + "text": ". The URL must not end with a backslash;\n2. Or a regular expression pattern that can match more than one origin. For example, " + }, + { + "kind": "code", + "text": "`.example.com`" + }, + { + "kind": "text", + "text": ". The regex pattern that the backend tests for is " + }, + { + "kind": "code", + "text": "`^([/~@;%#'])(.*?)\\1([gimsuy]*)$`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ { - "type": "intrinsic", - "name": "string" + "kind": "text", + "text": "Some example values of common use cases:\n\n" }, { - "type": "reference", - "target": 2007, - "name": "ModuleExports", - "package": "@medusajs/types" + "kind": "code", + "text": "```bash\n# Allow different ports locally starting with 700\nADMIN_CORS=/http://localhost:700\\d+$/\n\n# Allow any origin ending with vercel.app. For example, admin.vercel.app\nADMIN_CORS=/vercel\\.app$/\n\n# Allow all HTTP requests\nADMIN_CORS=/http://.+/\n```" + }, + { + "kind": "text", + "text": "\n\nThen, set the configuration in " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": ":\n\n" + }, + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n admin_cors: process.env.ADMIN_CORS,\n // ...\n },\n // ...\n}\n```" + }, + { + "kind": "text", + "text": "\n\nIf you’re adding the value directly within " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": ", make sure to add an extra escaping " + }, + { + "kind": "code", + "text": "`/`" + }, + { + "kind": "text", + "text": " for every backslash in the pattern. For example:\n\n" + }, + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n admin_cors: \"/http:\\\\/\\\\/localhost:700\\\\d+$/\",\n // ...\n },\n // ...\n}\n```" } ] } - }, - { - "id": 1911, - "name": "options", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1539, + "name": "auth_cors", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The Medusa backend’s API Routes are protected by Cross-Origin Resource Sharing (CORS). So, only allowed URLs or URLs matching a specified pattern can send requests to the backend’s API Routes.\n\n" }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + { + "kind": "code", + "text": "`auth_cors`" + }, + { + "kind": "text", + "text": " is a string used to specify the accepted URLs or patterns for API Routes starting with " + }, + { + "kind": "code", + "text": "`/auth`" + }, + { + "kind": "text", + "text": ". It can either be one accepted origin, or a comma-separated list of accepted origins.\n\nEvery origin in that list must either be:\n\n1. A URL. For example, " + }, + { + "kind": "code", + "text": "`http://localhost:7001`" + }, + { + "kind": "text", + "text": ". The URL must not end with a backslash;\n2. Or a regular expression pattern that can match more than one origin. For example, " + }, + { + "kind": "code", + "text": "`.example.com`" + }, + { + "kind": "text", + "text": ". The regex pattern that the backend tests for is " + }, + { + "kind": "code", + "text": "`^([/~@;%#'])(.*?)\\1([gimsuy]*)$`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ { - "type": "intrinsic", - "name": "string" + "kind": "text", + "text": "Some example values of common use cases:\n\n" }, { - "type": "intrinsic", - "name": "unknown" + "kind": "code", + "text": "```bash\n# Allow different ports locally starting with 700\nAUTH_CORS=/http://localhost:700\\d+$/\n\n# Allow any origin ending with vercel.app. For example, admin.vercel.app\nAUTH_CORS=/vercel\\.app$/\n\n# Allow all HTTP requests\nAUTH_CORS=/http://.+/\n```" + }, + { + "kind": "text", + "text": "\n\nThen, set the configuration in " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": ":\n\n" + }, + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n auth_cors: process.env.AUTH_CORS,\n // ...\n },\n // ...\n}\n```" + }, + { + "kind": "text", + "text": "\n\nIf you’re adding the value directly within " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": ", make sure to add an extra escaping " + }, + { + "kind": "code", + "text": "`/`" + }, + { + "kind": "text", + "text": " for every backslash in the pattern. For example:\n\n" + }, + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n auth_cors: \"/http:\\\\/\\\\/localhost:700\\\\d+$/\",\n // ...\n },\n // ...\n}\n```" } - ], - "name": "Record", - "package": "typescript" + ] } - }, - { - "id": 1912, - "name": "alias", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1540, + "name": "cookie_secret", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A random string used to create cookie tokens. Although this configuration option is not required, it’s highly recommended to set it for better security.\n\nIn a development environment, if this option is not set, the default secret is " }, - "comment": { - "summary": [ + { + "kind": "code", + "text": "`supersecret`" + }, + { + "kind": "text", + "text": " However, in production, if this configuration is not set, an error is thrown and\nthe backend crashes." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ { - "kind": "text", - "text": "If multiple modules are registered with the same key, the alias can be used to differentiate them" + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n cookie_secret: process.env.COOKIE_SECRET ||\n \"supersecret\",\n // ...\n },\n // ...\n}\n```" } ] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1541, + "name": "jwt_secret", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A random string used to create authentication tokens. Although this configuration option is not required, it’s highly recommended to set it for better security.\n\nIn a development environment, if this option is not set the default secret is " }, - "type": { - "type": "intrinsic", - "name": "string" + { + "kind": "code", + "text": "`supersecret`" + }, + { + "kind": "text", + "text": " However, in production, if this configuration is not set an error, an\nerror is thrown and the backend crashes." } - }, - { - "id": 1913, - "name": "main", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n jwt_secret: process.env.JWT_SECRET ||\n \"supersecret\",\n // ...\n },\n // ...\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1542, + "name": "database_database", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the database to connect to. If specified in " }, - "comment": { - "summary": [ + { + "kind": "code", + "text": "`database_url`" + }, + { + "kind": "text", + "text": ", then it’s not required to include it.\n\nMake sure to create the PostgreSQL database before using it. You can check how to create a database in\n[PostgreSQL's documentation](https://www.postgresql.org/docs/current/sql-createdatabase.html)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n database_database: process.env.DATABASE_DATABASE ||\n \"medusa-store\",\n // ...\n },\n // ...\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1543, + "name": "database_url", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The connection URL of the database. The format of the connection URL for PostgreSQL is:\n\n" + }, + { + "kind": "code", + "text": "```bash\npostgres://[user][:password]@[host][:port]/[dbname]\n```" + }, + { + "kind": "text", + "text": "\n\nWhere:\n\n- " + }, + { + "kind": "code", + "text": "`[user]`" + }, + { + "kind": "text", + "text": ": (required) your PostgreSQL username. If not specified, the system's username is used by default. The database user that you use must have create privileges. If you're using the " + }, + { + "kind": "code", + "text": "`postgres`" + }, + { + "kind": "text", + "text": " superuser, then it should have these privileges by default. Otherwise, make sure to grant your user create privileges. You can learn how to do that in [PostgreSQL's documentation](https://www.postgresql.org/docs/current/ddl-priv.html).\n- " + }, + { + "kind": "code", + "text": "`[:password]`" + }, + { + "kind": "text", + "text": ": an optional password for the user. When provided, make sure to put " + }, + { + "kind": "code", + "text": "`:`" + }, + { + "kind": "text", + "text": " before the password.\n- " + }, + { + "kind": "code", + "text": "`[host]`" + }, + { + "kind": "text", + "text": ": (required) your PostgreSQL host. When run locally, it should be " + }, + { + "kind": "code", + "text": "`localhost`" + }, + { + "kind": "text", + "text": ".\n- " + }, + { + "kind": "code", + "text": "`[:port]`" + }, + { + "kind": "text", + "text": ": an optional port that the PostgreSQL server is listening on. By default, it's " + }, + { + "kind": "code", + "text": "`5432`" + }, + { + "kind": "text", + "text": ". When provided, make sure to put " + }, + { + "kind": "code", + "text": "`:`" + }, + { + "kind": "text", + "text": " before the port.\n- " + }, + { + "kind": "code", + "text": "`[dbname]`" + }, + { + "kind": "text", + "text": ": (required) the name of the database.\n\nYou can learn more about the connection URL format in [PostgreSQL’s documentation](https://www.postgresql.org/docs/current/libpq-connect.html)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ { "kind": "text", - "text": "If the module is the main module for the key when multiple ones are registered" + "text": "For example, set the following database URL in your environment variables:\n\n" + }, + { + "kind": "code", + "text": "```bash\nDATABASE_URL=postgres://postgres@localhost/medusa-store\n```" + }, + { + "kind": "text", + "text": "\n\nThen, use the value in " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": ":\n\n" + }, + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n database_url: process.env.DATABASE_URL,\n // ...\n },\n // ...\n}\n```" } ] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1544, + "name": "database_schema", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The database schema to connect to. This is not required to provide if you’re using the default schema, which is " }, - "type": { - "type": "intrinsic", - "name": "boolean" + { + "kind": "code", + "text": "`public`" + }, + { + "kind": "text", + "text": ".\n\n" + }, + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n database_schema: process.env.DATABASE_SCHEMA ||\n \"custom\",\n // ...\n },\n // ...\n}\n```" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1906, - 1907, - 1908, - 1909, - 1910, - 1911, - 1912, - 1913 - ] - } - ] - } - } - }, - { - "id": 1914, - "name": "ExternalModuleDeclaration", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1915, - "name": "__type", + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1545, + "name": "database_logging", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 1916, - "name": "scope", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 1900, - "name": "MODULE_SCOPE.EXTERNAL", - "package": "@medusajs/types" + "comment": { + "summary": [ + { + "kind": "text", + "text": "This configuration specifies what database messages to log. Its value can be one of the following:\n\n- (default) A boolean value that indicates whether any messages should be logged.\n- The string value " + }, + { + "kind": "code", + "text": "`all`" + }, + { + "kind": "text", + "text": " that indicates all types of messages should be logged.\n- An array of log-level strings to indicate which type of messages to show in the logs. The strings can be " + }, + { + "kind": "code", + "text": "`query`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`schema`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`error`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`warn`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`info`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`log`" + }, + { + "kind": "text", + "text": ", or " + }, + { + "kind": "code", + "text": "`migration`" + }, + { + "kind": "text", + "text": ". Refer to [Typeorm’s documentation](https://typeorm.io/logging#logging-options) for more details on what each of these values means.\n\nIf this configuration isn't set, its default value is " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ", meaning no database messages are logged." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n database_logging: [\n \"query\", \"error\",\n ],\n // ...\n },\n // ...\n}\n```" + } + ] } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typeorm/logger/LoggerOptions.d.ts", + "qualifiedName": "LoggerOptions" }, - { - "id": 1917, - "name": "definition", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "name": "LoggerOptions", + "package": "typeorm" + } + }, + { + "id": 1547, + "name": "database_extra", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that includes additional configurations to pass to the database connection. You can pass any configuration. One defined configuration to pass is\n" }, - "type": { + { + "kind": "code", + "text": "`ssl`" + }, + { + "kind": "text", + "text": " which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the " + }, + { + "kind": "code", + "text": "`rejectUnauthorized`" + }, + { + "kind": "text", + "text": " attribute of " + }, + { + "kind": "code", + "text": "`ssl`" + }, + { + "kind": "text", + "text": " object to " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ".\nDuring development, it’s recommended not to pass this option." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n database_extra:\n process.env.NODE_ENV !== \"development\"\n ? { ssl: { rejectUnauthorized: false } }\n : {},\n // ...\n },\n // ...\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "intersection", + "types": [ + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" + "qualifiedName": "Record" }, "typeArguments": [ { - "type": "reference", - "target": 1934, - "name": "ModuleDefinition", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "Partial", + "name": "Record", "package": "typescript" - } - }, - { - "id": 1918, - "name": "server", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, - "type": { + { "type": "reflection", "declaration": { - "id": 1919, + "id": 1548, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1920, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "literal", - "value": "http" - } - }, - { - "id": 1921, - "name": "url", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1922, - "name": "keepAlive", + "id": 1549, + "name": "ssl", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configure support for TLS/SSL connection" + } + ] + }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "reflection", + "declaration": { + "id": 1550, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1551, + "name": "rejectUnauthorized", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to fail connection if the server certificate is verified against the list of supplied CAs and the hostname and no match is found." + } + ] + }, + "type": { + "type": "literal", + "value": false + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1551 + ] + } + ] + } } } ], @@ -43034,159 +41869,78 @@ { "title": "Properties", "children": [ - 1920, - 1921, - 1922 + 1549 ] } ] } } - }, - { - "id": 1923, - "name": "options", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + } + }, + { + "id": 1552, + "name": "database_driver_options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that includes additional configurations to pass to the database connection for v2. You can pass any configuration. One defined configuration to pass is\n" }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 1924, - "name": "alias", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + { + "kind": "code", + "text": "`ssl`" }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If multiple modules are registered with the same key, the alias can be used to differentiate them" - } - ] + { + "kind": "text", + "text": " which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the " }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1925, - "name": "main", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + { + "kind": "code", + "text": "`rejectUnauthorized`" }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If the module is the main module for the key when multiple ones are registered" - } - ] + { + "kind": "text", + "text": " attribute of " }, - "type": { - "type": "intrinsic", - "name": "boolean" + { + "kind": "code", + "text": "`ssl`" + }, + { + "kind": "text", + "text": " object to " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ".\nDuring development, it’s recommended not to pass this option." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1916, - 1917, - 1918, - 1923, - 1924, - 1925 - ] - } - ] - } - } - }, - { - "id": 1926, - "name": "ModuleResolution", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1927, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1928, - "name": "resolutionPath", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + ], + "blockTags": [ + { + "tag": "@example", + "content": [ { - "type": "literal", - "value": false + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n database_driver_options:\n process.env.NODE_ENV !== \"development\"\n ? { connection: { ssl: { rejectUnauthorized: false } } }\n : {},\n // ...\n },\n // ...\n}\n```" } ] } - }, - { - "id": 1929, - "name": "definition", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 1934, - "name": "ModuleDefinition", - "package": "@medusajs/types" - } - }, - { - "id": 1930, - "name": "options", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { + ] + }, + "type": { + "type": "intersection", + "types": [ + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", @@ -43204,783 +41958,1698 @@ ], "name": "Record", "package": "typescript" - } - }, - { - "id": 1931, - "name": "dependencies", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" + { + "type": "reflection", + "declaration": { + "id": 1553, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1554, + "name": "connection", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1555, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1556, + "name": "ssl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configure support for TLS/SSL connection" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1557, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1558, + "name": "rejectUnauthorized", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to fail connection if the server certificate is verified against the list of supplied CAs and the hostname and no match is found." + } + ] + }, + "type": { + "type": "literal", + "value": false + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1558 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1556 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1554 + ] + } + ] } } - }, - { - "id": 1932, - "name": "moduleDeclaration", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + } + }, + { + "id": 1559, + "name": "redis_url", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Used to specify the URL to connect to Redis. This is only used for scheduled jobs. If you omit this configuration, scheduled jobs won't work.\n\n:::note\n\nYou must first have Redis installed. You can refer to [Redis's installation guide](https://redis.io/docs/getting-started/installation/).\n\n:::\n\nThe Redis connection URL has the following format:\n\n" }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 1904, - "name": "InternalModuleDeclaration", - "package": "@medusajs/types" - }, + { + "kind": "code", + "text": "```bash\nredis[s]://[[username][:password]@][host][:port][/db-number]\n```" + }, + { + "kind": "text", + "text": "\n\nFor a local Redis installation, the connection URL should be " + }, + { + "kind": "code", + "text": "`redis://localhost:6379`" + }, + { + "kind": "text", + "text": " unless you’ve made any changes to the Redis configuration during installation." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ { - "type": "reference", - "target": 1914, - "name": "ExternalModuleDeclaration", - "package": "@medusajs/types" + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n redis_url: process.env.REDIS_URL ||\n \"redis://localhost:6379\",\n // ...\n },\n // ...\n}\n```" } ] } - }, - { - "id": 1933, - "name": "moduleExports", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1560, + "name": "redis_prefix", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prefix set on all keys stored in Redis. The default value is " }, - "type": { - "type": "reference", - "target": 2007, - "name": "ModuleExports", - "package": "@medusajs/types" + { + "kind": "code", + "text": "`sess:`" + }, + { + "kind": "text", + "text": ".\n\nIf this configuration option is provided, it is prepended to " + }, + { + "kind": "code", + "text": "`sess:`" + }, + { + "kind": "text", + "text": "." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1928, - 1929, - 1930, - 1931, - 1932, - 1933 - ] - } - ] - } - } - }, - { - "id": 1934, - "name": "ModuleDefinition", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1935, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1936, - "name": "key", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n redis_prefix: process.env.REDIS_PREFIX ||\n \"medusa:\",\n // ...\n },\n // ...\n}\n```" + } + ] } - }, - { - "id": 1937, - "name": "registrationName", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1561, + "name": "redis_options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object of options to pass ioredis. You can refer to [ioredis’s RedisOptions documentation](https://redis.github.io/ioredis/index.html#RedisOptions)\nfor the list of available options." } - }, - { - "id": 1938, - "name": "defaultPackage", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + ], + "blockTags": [ + { + "tag": "@example", + "content": [ { - "type": "literal", - "value": false + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n redis_options: {\n connectionName: process.env.REDIS_CONNECTION_NAME ||\n \"medusa\",\n },\n // ...\n },\n // ...\n}\n```" } ] } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/ioredis/built/redis/RedisOptions.d.ts", + "qualifiedName": "RedisOptions" }, - { - "id": 1939, - "name": "label", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "name": "RedisOptions", + "package": "ioredis" + } + }, + { + "id": 1562, + "name": "session_options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object of options to pass to [express-session](https://www.npmjs.com/package/express-session)." } - }, - { - "id": 1940, - "name": "isRequired", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n session_options: {\n name: process.env.SESSION_NAME ||\n \"custom\",\n },\n // ...\n },\n // ...\n}\n```" + } + ] } - }, - { - "id": 1941, - "name": "isQueryable", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "reference", + "target": 7956, + "name": "SessionOptions", + "package": "@medusajs/types" + } + }, + { + "id": 1563, + "name": "http_compression", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configure HTTP compression from the application layer. If you have access to the HTTP server, the recommended approach would be to enable it there.\nHowever, some platforms don't offer access to the HTTP layer and in those cases, this is a good alternative.\n\nIts value is an object that has the following properties:\n\nIf you enable HTTP compression and you want to disable it for specific API Routes, you can pass in the request header " }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1942, - "name": "isLegacy", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + { + "kind": "code", + "text": "`\"x-no-compression\": true`" }, - "type": { - "type": "intrinsic", - "name": "boolean" + { + "kind": "text", + "text": "." } - }, - { - "id": 1943, - "name": "dependencies", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n http_compression: {\n enabled: true,\n level: 6,\n memLevel: 8,\n threshold: 1024,\n },\n // ...\n },\n // ...\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "reference", + "target": 1531, + "name": "HttpCompressionOptions", + "package": "@medusajs/types" + } + }, + { + "id": 1564, + "name": "jobs_batch_size", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configure the number of staged jobs that are polled from the database. Default is " }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + { + "kind": "code", + "text": "`1000`" + }, + { + "kind": "text", + "text": "." } - }, - { - "id": 1944, - "name": "defaultModuleDeclaration", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 1904, - "name": "InternalModuleDeclaration", - "package": "@medusajs/types" - }, + ], + "blockTags": [ + { + "tag": "@example", + "content": [ { - "type": "reference", - "target": 1914, - "name": "ExternalModuleDeclaration", - "package": "@medusajs/types" + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n jobs_batch_size: 100\n // ...\n },\n // ...\n}\n```" } ] } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1936, - 1937, - 1938, - 1939, - 1940, - 1941, - 1942, - 1943, - 1944 - ] - } - ] - } - } - }, - { - "id": 1945, - "name": "LinkModuleDefinition", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1946, - "name": "__type", + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1565, + "name": "worker_mode", "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1947, - "name": "key", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1948, - "name": "registrationName", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configure the application's worker mode. Default is " + }, + { + "kind": "code", + "text": "`shared`" + }, + { + "kind": "text", + "text": ".\n\n- Use " + }, + { + "kind": "code", + "text": "`shared`" + }, + { + "kind": "text", + "text": " to run the application in a single process.\n- Use " + }, + { + "kind": "code", + "text": "`worker`" + }, + { + "kind": "text", + "text": " to run the a worker process only.\n- Use " + }, + { + "kind": "code", + "text": "`server`" + }, + { + "kind": "text", + "text": " to run the application server only.\n\nLearn more in [this guide](https://docs.medusajs.com/v1/development/medusa-worker)." } - }, - { - "id": 1949, - "name": "label", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n worker_mode: \"shared\"\n // ...\n },\n // ...\n}\n```" + } + ] } - }, - { - "id": 1950, - "name": "dependencies", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "shared" }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 1951, - "name": "defaultModuleDeclaration", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 1904, - "name": "InternalModuleDeclaration", - "package": "@medusajs/types" + { + "type": "literal", + "value": "worker" + }, + { + "type": "literal", + "value": "server" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1947, - 1948, - 1949, - 1950, - 1951 - ] - } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1537, + 1538, + 1539, + 1540, + 1541, + 1542, + 1543, + 1544, + 1545, + 1547, + 1552, + 1559, + 1560, + 1561, + 1562, + 1563, + 1564, + 1565 ] } - } + ] }, { - "id": 1952, - "name": "ModuleConfig", + "id": 1566, + "name": "ConfigModule", "variant": "declaration", - "kind": 2097152, + "kind": 256, "flags": {}, - "type": { - "type": "intersection", - "types": [ + "comment": { + "summary": [ { - "type": "reference", - "target": 3737, - "name": "ModuleDeclaration", - "package": "@medusajs/types" + "kind": "text", + "text": "The configurations for your Medusa backend are in " }, { - "type": "reflection", - "declaration": { - "id": 1953, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1954, - "name": "module", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1955, - "name": "path", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1956, - "name": "definition", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 1934, - "name": "ModuleDefinition", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1954, - 1955, - 1956 - ] - } - ] - } - } - ] - } - }, - { - "id": 1957, - "name": "LoadedModule", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "intersection", - "types": [ + "kind": "code", + "text": "`medusa-config.js`" + }, { - "type": "intrinsic", - "name": "unknown" + "kind": "text", + "text": " located in the root of your Medusa project. The configurations include database, modules, and plugin configurations, among other configurations.\n\n" }, { - "type": "reflection", - "declaration": { - "id": 1958, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1959, - "name": "__joinerConfig", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 1976, - "name": "ModuleJoinerConfig", - "package": "@medusajs/types" - } - }, - { - "id": 1960, - "name": "__definition", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 1934, - "name": "ModuleDefinition", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1959, - 1960 - ] - } - ] - } + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": " exports an object having the following properties:\n\n- " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "projectConfig", + "target": 1567, + "tsLinkText": "projectConfig" + }, + { + "kind": "text", + "text": ": (required): An object that holds general configurations related to the Medusa backend, such as database or CORS configurations.\n- " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "plugins", + "target": 1568, + "tsLinkText": "plugins" + }, + { + "kind": "text", + "text": ": An array of plugin configurations that defines what plugins are installed and optionally specifies each of their configurations.\n- " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "modules", + "target": 1572, + "tsLinkText": "modules" + }, + { + "kind": "text", + "text": ": An object that defines what modules are installed and optionally specifies each of their configurations.\n- " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "featureFlags", + "target": 1573, + "tsLinkText": "featureFlags" + }, + { + "kind": "text", + "text": ": An object that enables or disables features guarded by a feature flag.\n\nFor example:\n\n" + }, + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig,\n plugins,\n modules,\n featureFlags,\n}\n```" + }, + { + "kind": "text", + "text": "\n\n---\n\n## Environment Variables\n\nIt's highly recommended to store the values of configurations in environment variables, then reference them within " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": ".\n\nDuring development, you can set your environment variables in the " + }, + { + "kind": "code", + "text": "`.env`" + }, + { + "kind": "text", + "text": " file at the root of your Medusa backend project. In production,\nsetting the environment variables depends on the hosting provider.\n\n---" } ] - } - }, - { - "id": 1961, - "name": "LoaderOptions", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "typeParameters": [ + }, + "children": [ { - "id": 1966, - "name": "TOptions", - "variant": "typeParam", - "kind": 131072, + "id": 1567, + "name": "projectConfig", + "variant": "declaration", + "kind": 1024, "flags": {}, - "default": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "unknown" + "kind": "text", + "text": "This property holds essential configurations related to the Medusa backend, such as database and CORS configurations." } - ], - "name": "Record", - "package": "typescript" + ] + }, + "type": { + "type": "reference", + "target": 1536, + "name": "ProjectConfigOptions", + "package": "@medusajs/types" } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1962, - "name": "__type", + }, + { + "id": 1568, + "name": "plugins", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 1963, - "name": "container", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 1071, - "name": "MedusaContainer", - "package": "@medusajs/types" - } - }, - { - "id": 1964, - "name": "options", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1966, - "name": "TOptions", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - { - "id": 1965, - "name": "logger", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "On your Medusa backend, you can use [Plugins](https://docs.medusajs.com/v1/development/plugins/overview) to add custom features or integrate third-party services.\nFor example, installing a plugin to use Stripe as a payment processor.\n\nAside from installing the plugin with NPM, you need to pass the plugin you installed into the " }, - "type": { - "type": "reference", - "target": 1833, - "name": "Logger", - "package": "@medusajs/types" + { + "kind": "code", + "text": "`plugins`" + }, + { + "kind": "text", + "text": " array defined in " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": ".\n\nThe items in the array can either be:\n\n- A string, which is the name of the plugin to add. You can pass a plugin as a string if it doesn’t require any configurations.\n- An object having the following properties:\n - " + }, + { + "kind": "code", + "text": "`resolve`" + }, + { + "kind": "text", + "text": ": The name of the plugin.\n - " + }, + { + "kind": "code", + "text": "`options`" + }, + { + "kind": "text", + "text": ": An object that includes the plugin’s options. These options vary for each plugin, and you should refer to the plugin’s documentation for available options." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1963, - 1964, - 1965 + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n plugins: [\n `medusa-my-plugin-1`,\n {\n resolve: `medusa-my-plugin`,\n options: {\n apiKey: process.env.MY_API_KEY ||\n `test`,\n },\n },\n // ...\n ],\n // ...\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1569, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1570, + "name": "resolve", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1571, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1570, + 1571 + ] + } + ] + } + } ] } + } + }, + { + "id": 1572, + "name": "modules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "In Medusa, commerce and core logic are modularized to allow developers to extend or replace certain [modules](https://docs.medusajs.com/v1/development/modules/overview)\nwith custom implementations.\n\nAside from installing the module with NPM, you must add it to the exported object in " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": ".\n\nThe keys of the " + }, + { + "kind": "code", + "text": "`modules`" + }, + { + "kind": "text", + "text": " configuration object refer to the type of module. Its value can be one of the following:\n\n1. A boolean value indicating whether the module type is enabled;\n2. Or a string value indicating the name of the module to be used for the module type. This can be used if the module does not require any options;\n3. Or an object having the following properties, but typically you would mainly use the " + }, + { + "kind": "code", + "text": "`resolve`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`options`" + }, + { + "kind": "text", + "text": " properties only:\n 1. " + }, + { + "kind": "code", + "text": "`resolve`" + }, + { + "kind": "text", + "text": ": a string indicating the name of the module.\n 2. " + }, + { + "kind": "code", + "text": "`options`" + }, + { + "kind": "text", + "text": ": an object indicating the options to pass to the module. These options vary for each module, and you should refer to the module’s documentation for details on them.\n 3. " + }, + { + "kind": "code", + "text": "`resources`" + }, + { + "kind": "text", + "text": ": a string indicating whether the module shares the dependency container with the Medusa core. Its value can either be " + }, + { + "kind": "code", + "text": "`shared`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`isolated`" + }, + { + "kind": "text", + "text": ". Refer to the [Modules documentation](https://docs.medusajs.com/v1/development/modules/create#module-scope) for more details.\n 4. " + }, + { + "kind": "code", + "text": "`alias`" + }, + { + "kind": "text", + "text": ": a string indicating a unique alias to register the module under. Other modules can’t use the same alias.\n 5. " + }, + { + "kind": "code", + "text": "`main`" + }, + { + "kind": "text", + "text": ": a boolean value indicating whether this module is the main registered module. This is useful when an alias is used." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n modules: {\n eventBus: {\n resolve: \"@medusajs/event-bus-local\",\n },\n cacheService: {\n resolve: \"@medusajs/cache-redis\",\n options: {\n redisUrl: process.env.CACHE_REDIS_URL,\n ttl: 30,\n },\n },\n // ...\n },\n // ...\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3254, + "name": "InternalModuleDeclaration", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 3265, + "name": "ExternalModuleDeclaration", + "package": "@medusajs/types" + } + ] + } + ], + "name": "Partial", + "package": "typescript" + } + ] + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 1573, + "name": "featureFlags", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Some features in the Medusa backend are guarded by a feature flag. This ensures constant shipping of new features while maintaining the engine’s stability.\n\nYou can specify whether a feature should or shouldn’t be used in your backend by enabling its feature flag. Feature flags can be enabled through either environment\nvariables or through this configuration exported in " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": ".\n\nIf you want to use the environment variables method, learn more about it in the [Feature Flags documentation](https://docs.medusajs.com/v1/development/feature-flags/toggle#method-one-using-environment-variables).\n\nThe " + }, + { + "kind": "code", + "text": "`featureFlags`" + }, + { + "kind": "text", + "text": " configuration is an object. Its properties are the names of the feature flags. Each property’s value is a boolean indicating whether the feature flag is enabled.\n\nYou can find available feature flags and their key name [here](https://github.com/medusajs/medusa/tree/master/packages/medusa/src/loaders/feature-flags)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n featureFlags: {\n product_categories: true,\n // ...\n },\n // ...\n}\n```" + }, + { + "kind": "text", + "text": "\n\n:::note\n\nAfter enabling a feature flag, make sure to [run migrations](https://docs.medusajs.com/v1/development/entities/migrations/overview#migrate-command) as it may require making changes to the database.\n\n:::" + } + ] + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1567, + 1568, + 1572, + 1573 ] } - } + ] }, { - "id": 1967, - "name": "ModuleLoaderFunction", + "id": 1574, + "name": "PluginDetails", "variant": "declaration", "kind": 2097152, "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 1968, + "id": 1575, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, - "signatures": [ + "children": [ { - "id": 1969, - "name": "__type", - "variant": "signature", - "kind": 4096, + "id": 1576, + "name": "resolve", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1577, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1578, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1579, + "name": "options", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 1970, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 1961, - "name": "LoaderOptions", - "package": "@medusajs/types" - } - }, - { - "id": 1971, - "name": "moduleDeclaration", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1904, - "name": "InternalModuleDeclaration", - "package": "@medusajs/types" - } - } - ], "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Record" }, "typeArguments": [ { "type": "intrinsic", - "name": "void" + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "Promise", + "name": "Record", "package": "typescript" } + }, + { + "id": 1580, + "name": "version", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1576, + 1577, + 1578, + 1579, + 1580 + ] } ] } } }, { - "id": 1972, - "name": "ModulesResponse", + "id": 1581, + "name": "MedusaContainer", "variant": "declaration", "kind": 2097152, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The Medusa Container extends [Awilix](https://github.com/jeffijoe/awilix) to \nprovide dependency injection functionalities." + } + ] + }, "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 1973, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1974, - "name": "module", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1975, - "name": "resolution", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/awilix/lib/container.d.ts", + "qualifiedName": "AwilixContainer" + }, + "name": "AwilixContainer", + "package": "awilix" + }, + { + "type": "reflection", + "declaration": { + "id": 1582, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + } + }, + { + "id": 1592, + "name": "ContainerLike", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1593, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1594, + "name": "resolve", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 1595, + "name": "resolve", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ { - "type": "intrinsic", - "name": "string" - }, + "id": 1596, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "parameters": [ { - "type": "literal", - "value": false + "id": 1597, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } } - ] + ], + "type": { + "type": "reference", + "target": 1596, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1974, - 1975 - ] - } - ] - } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 1594 + ] + } + ] } } }, { - "id": 1976, - "name": "ModuleJoinerConfig", + "id": 1499, + "name": "RuleOperatorType", "variant": "declaration", "kind": 2097152, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The accepted values for the shipping rule option's operator." + } + ] + }, "type": { - "type": "intersection", + "type": "union", "types": [ { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ + "type": "literal", + "value": "in" + }, + { + "type": "literal", + "value": "eq" + }, + { + "type": "literal", + "value": "ne" + }, + { + "type": "literal", + "value": "gt" + }, + { + "type": "literal", + "value": "gte" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "lte" + }, + { + "type": "literal", + "value": "nin" + } + ] + } + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 1366, + 1370, + 1377, + 1426, + 1432, + 1443, + 1444, + 1445, + 1450, + 1458, + 1463, + 1475, + 1487, + 1490, + 1531, + 1536, + 1566 + ] + }, + { + "title": "Type Aliases", + "children": [ + 1500, + 1504, + 1509, + 1516, + 1526, + 1529, + 1360, + 1437, + 1495, + 1497, + 1574, + 1581, + 1592, + 1499 + ] + } + ] + }, + { + "id": 6273, + "name": "CurrencyTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 6274, + "name": "CurrencyDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A currency's data." + } + ] + }, + "children": [ + { + "id": 6275, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "type": "reference", - "target": 2827, - "name": "JoinerServiceConfig", - "package": "@medusajs/types" - }, + "kind": "text", + "text": "The ISO 3 character code of the currency." + } + ], + "blockTags": [ { - "type": "union", - "types": [ - { - "type": "literal", - "value": "serviceName" - }, + "tag": "@example", + "content": [ { - "type": "literal", - "value": "primaryKeys" - }, + "kind": "code", + "text": "```ts\nusd\n```" + } + ] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6276, + "name": "symbol", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The symbol of the currency." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ { - "type": "literal", - "value": "relationships" - }, + "kind": "code", + "text": "```ts\n$\n```" + } + ] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6277, + "name": "symbol_native", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The symbol of the currecy in its native form. This is typically the symbol used when displaying a price." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ { - "type": "literal", - "value": "extends" + "kind": "code", + "text": "```ts\n$\n```" } ] } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6278, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the currency." + } ], - "name": "Omit", - "package": "typescript" + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nUS Dollar\n```" + } + ] + } + ] }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6275, + 6276, + 6277, + 6278 + ] + } + ] + }, + { + "id": 6279, + "name": "FilterableCurrencyProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ { - "type": "reflection", - "declaration": { - "id": 1977, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ + "kind": "text", + "text": "Filters to apply on a currency." + } + ] + }, + "children": [ + { + "id": 6280, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Search through currencies using this search term." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6281, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The codes to filter the currencies by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 6282, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ { - "id": 1978, - "name": "schema", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "type": "reference", + "target": 6279, + "name": "FilterableCurrencyProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 6279, + "name": "FilterableCurrencyProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 6283, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 6279, + "name": "FilterableCurrencyProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 6279, + "name": "FilterableCurrencyProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6280, + 6281, + 6282, + 6283 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 6279, + "name": "FilterableCurrencyProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 6284, + "name": "ICurrencyModuleService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The main service interface for the Currency Module." + } + ] + }, + "children": [ + { + "id": 6285, + "name": "retrieve", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 6286, + "name": "retrieve", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a currency by its code and and optionally based on the provided configurations." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved currency." + } + ] }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst currency = await currencyModuleService.retrieve(\"usd\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 6287, + "name": "code", + "variant": "param", + "kind": 32768, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "GraphQL schema for the all module's available entities and fields" + "text": "The code of the currency to retrieve." } ] }, @@ -43990,194 +43659,57 @@ } }, { - "id": 1979, - "name": "relationships", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2003, - "name": "ModuleJoinerRelationship", - "package": "@medusajs/types" - } - } - }, - { - "id": 1980, - "name": "extends", - "variant": "declaration", - "kind": 1024, + "id": 6288, + "name": "config", + "variant": "param", + "kind": 32768, "flags": { "isOptional": true }, - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 1981, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1982, - "name": "serviceName", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1983, - "name": "fieldAlias", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1984, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1985, - "name": "path", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1986, - "name": "forwardArgumentsOnPath", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1985, - 1986 - ] - } - ] - } - } - ] - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 1987, - "name": "relationship", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 2003, - "name": "ModuleJoinerRelationship", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1982, - 1983, - 1987 - ] - } - ] + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the currency is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a currency." } - } - } - }, - { - "id": 1988, - "name": "serviceName", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1989, - "name": "primaryKeys", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 6274, + "name": "CurrencyDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" } }, { - "id": 1990, - "name": "isLink", - "variant": "declaration", - "kind": 1024, + "id": 6289, + "name": "sharedContext", + "variant": "param", + "kind": 32768, "flags": { "isOptional": true }, @@ -44185,56 +43717,129 @@ "summary": [ { "kind": "text", - "text": "If the module is a link module" + "text": "A context used to share resources, such as transaction manager, between the application and the module." } ] }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" }, - { - "id": 1991, - "name": "linkableKeys", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + "typeArguments": [ + { + "type": "reference", + "target": 6274, + "name": "CurrencyDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 6290, + "name": "list", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 6291, + "name": "list", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a paginated list of currencies based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ { "kind": "text", - "text": "Keys that can be used to link to other modules. e.g { product_id: \"Product\" } \"Product\" being the entity it refers to" + "text": "The list of currencies." } ] }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + { + "tag": "@example", + "content": [ { - "type": "intrinsic", - "name": "string" + "kind": "text", + "text": "To retrieve a list of currencies using their codes:\n\n" }, { - "type": "intrinsic", - "name": "string" + "kind": "code", + "text": "```ts\nconst currencies = await currencyModuleService.list({\n code: [\"usd\", \"eur\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst currencies = await currencyModuleService.list(\n {\n code: [\"usd\", \"eur\"],\n },\n {\n take: 20,\n skip: 2,\n }\n)\n```" } - ], - "name": "Record", - "package": "typescript" + ] } - }, + ] + }, + "parameters": [ { - "id": 1992, - "name": "isReadOnlyLink", - "variant": "declaration", - "kind": 1024, + "id": 6292, + "name": "filters", + "variant": "param", + "kind": 32768, "flags": { "isOptional": true }, @@ -44242,344 +43847,22 @@ "summary": [ { "kind": "text", - "text": "If true it expands a RemoteQuery property but doesn't create a pivot table" + "text": "The filters to apply on the retrieved currencies." } ] }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "reference", + "target": 6279, + "name": "FilterableCurrencyProps", + "package": "@medusajs/types" } }, { - "id": 1993, - "name": "databaseConfig", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1994, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1995, - "name": "tableName", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Name of the pivot table. If not provided it is auto generated" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1996, - "name": "idPrefix", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Prefix for the id column. If not provided it is \"link\"" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1997, - "name": "extraFields", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1998, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1999, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "date" - }, - { - "type": "literal", - "value": "time" - }, - { - "type": "literal", - "value": "datetime" - }, - { - "type": "literal", - "value": "bigint" - }, - { - "type": "literal", - "value": "blob" - }, - { - "type": "literal", - "value": "uint8array" - }, - { - "type": "literal", - "value": "array" - }, - { - "type": "literal", - "value": "enumArray" - }, - { - "type": "literal", - "value": "enum" - }, - { - "type": "literal", - "value": "json" - }, - { - "type": "literal", - "value": "integer" - }, - { - "type": "literal", - "value": "smallint" - }, - { - "type": "literal", - "value": "tinyint" - }, - { - "type": "literal", - "value": "mediumint" - }, - { - "type": "literal", - "value": "float" - }, - { - "type": "literal", - "value": "double" - }, - { - "type": "literal", - "value": "boolean" - }, - { - "type": "literal", - "value": "decimal" - }, - { - "type": "literal", - "value": "string" - }, - { - "type": "literal", - "value": "uuid" - }, - { - "type": "literal", - "value": "text" - } - ] - } - }, - { - "id": 2000, - "name": "defaultValue", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2001, - "name": "nullable", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 2002, - "name": "options", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Mikro-orm options for the column" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1999, - 2000, - 2001, - 2002 - ] - } - ] - } - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1995, - 1996, - 1997 - ] - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1978, - 1979, - 1980, - 1988, - 1989, - 1990, - 1991, - 1992, - 1993 - ] - } - ] - } - } - ] - } - }, - { - "id": 2003, - "name": "ModuleJoinerRelationship", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": 2814, - "name": "JoinerRelationship", - "package": "@medusajs/types" - }, - { - "type": "reflection", - "declaration": { - "id": 2004, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 2005, - "name": "isInternalService", - "variant": "declaration", - "kind": 1024, + "id": 6293, + "name": "config", + "variant": "param", + "kind": 32768, "flags": { "isOptional": true }, @@ -44587,20 +43870,46 @@ "summary": [ { "kind": "text", - "text": "If true, the relationship is an internal service from the medusa core TODO: Remove when there are no more \"internal\" services" + "text": "The configurations determining how the currencies are retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a currency." } ] }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 6274, + "name": "CurrencyDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" } }, { - "id": 2006, - "name": "deleteCascade", - "variant": "declaration", - "kind": 1024, + "id": 6294, + "name": "sharedContext", + "variant": "param", + "kind": 32768, "flags": { "isOptional": true }, @@ -44608,337 +43917,202 @@ "summary": [ { "kind": "text", - "text": "If true, the link joiner will cascade deleting the relationship" + "text": "A context used to share resources, such as transaction manager, between the application and the module." } ] }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" } } ], - "groups": [ - { - "title": "Properties", - "children": [ - 2005, - 2006 - ] - } - ] - } - } - ] - } - }, - { - "id": 2007, - "name": "ModuleExports", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 2008, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 2009, - "name": "service", - "variant": "declaration", - "kind": 1024, - "flags": {}, "type": { "type": "reference", - "target": 1891, + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { - "type": "intrinsic", - "name": "any" + "type": "array", + "elementType": { + "type": "reference", + "target": 6274, + "name": "CurrencyDTO", + "package": "@medusajs/types" + } } ], - "name": "Constructor", - "package": "@medusajs/types" - } - }, - { - "id": 2010, - "name": "loaders", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 1967, - "name": "ModuleLoaderFunction", - "package": "@medusajs/types" - } + "name": "Promise", + "package": "typescript" } - }, + } + ] + }, + { + "id": 6295, + "name": "listAndCount", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "id": 2011, - "name": "migrations", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "id": 6296, + "name": "listAndCount", + "variant": "signature", + "kind": 4096, + "flags": {}, "comment": { - "summary": [], + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a paginated list of currencies along with the total count of available currencies satisfying the provided filters." + } + ], "blockTags": [ { - "tag": "@deprecated", + "tag": "@returns", "content": [ { "kind": "text", - "text": "property will be removed in future versions" + "text": "The list of currencies along with the total count." } ] - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "any" - } - } - }, - { - "id": 2012, - "name": "models", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [], - "blockTags": [ + }, { - "tag": "@deprecated", + "tag": "@example", "content": [ { "kind": "text", - "text": "property will be removed in future versions" + "text": "To retrieve a list of currencies using their codes:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [currencies, count] =\n await currencyModuleService.listAndCount({\n code: [\"usd\", \"eur\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [currencies, count] =\n await currencyModuleService.listAndCount(\n {\n code: [\"usd\", \"eur\"],\n },\n {\n take: 20,\n skip: 2,\n }\n )\n```" } ] } ] }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 1891, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Constructor", - "package": "@medusajs/types" - } - } - }, - { - "id": 2013, - "name": "runMigrations", - "variant": "declaration", - "kind": 2048, - "flags": { - "isOptional": true - }, - "signatures": [ + "parameters": [ { - "id": 2014, - "name": "runMigrations", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2015, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 1961, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "LoaderOptions", - "package": "@medusajs/types" - } - }, - { - "id": 2016, - "name": "moduleDeclaration", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1904, - "name": "InternalModuleDeclaration", - "package": "@medusajs/types" + "id": 6297, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved currencies." } - } - ], + ] + }, "type": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "target": 6279, + "name": "FilterableCurrencyProps", + "package": "@medusajs/types" } - } - ] - }, - { - "id": 2017, - "name": "revertMigration", - "variant": "declaration", - "kind": 2048, - "flags": { - "isOptional": true - }, - "signatures": [ + }, { - "id": 2018, - "name": "revertMigration", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2019, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 1961, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "LoaderOptions", - "package": "@medusajs/types" - } - }, - { - "id": 2020, - "name": "moduleDeclaration", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "id": 6298, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the currencies are retrieved. Its properties, such as " }, - "type": { - "type": "reference", - "target": 1904, - "name": "InternalModuleDeclaration", - "package": "@medusajs/types" + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a currency." } - } - ], + ] + }, "type": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, + "target": 1377, "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "type": "reference", + "target": 6274, + "name": "CurrencyDTO", + "package": "@medusajs/types" } ], - "name": "Promise", - "package": "typescript" + "name": "FindConfig", + "package": "@medusajs/types" } - } - ] - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2009, - 2010, - 2011, - 2012 - ] - }, - { - "title": "Methods", - "children": [ - 2013, - 2017 - ] - } - ] - } - } - }, - { - "id": 2021, - "name": "ModuleServiceInitializeOptions", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2022, - "name": "database", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 2023, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ + }, { - "id": 2024, - "name": "connection", - "variant": "declaration", - "kind": 1024, + "id": 6299, + "name": "sharedContext", + "variant": "param", + "kind": 32768, "flags": { "isOptional": true }, @@ -44946,16964 +44120,16166 @@ "summary": [ { "kind": "text", - "text": "Forces to use a shared knex connection" + "text": "A context used to share resources, such as transaction manager, between the application and the module." } ] }, "type": { - "type": "intrinsic", - "name": "any" + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" }, - { - "id": 2025, - "name": "clientUrl", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2026, - "name": "schema", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2027, - "name": "host", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2028, - "name": "port", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 2029, - "name": "user", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2030, - "name": "password", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2031, - "name": "database", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2032, - "name": "driverOptions", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 2033, - "name": "debug", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 2034, - "name": "pool", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + "typeArguments": [ + { + "type": "tuple", + "elements": [ { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 6274, + "name": "CurrencyDTO", + "package": "@medusajs/types" + } }, { "type": "intrinsic", - "name": "unknown" + "name": "number" } - ], - "name": "Record", - "package": "typescript" + ] } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2024, - 2025, - 2026, - 2027, - 2028, - 2029, - 2030, - 2031, - 2032, - 2033, - 2034 - ] - } - ] + ], + "name": "Promise", + "package": "typescript" + } } - } + ] } ], "groups": [ { - "title": "Properties", + "title": "Methods", "children": [ - 2022 + 6285, + 6290, + 6295 ] } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3404, + "name": "IModuleService", + "package": "@medusajs/types" + } ] - }, + } + ], + "groups": [ { - "id": 2035, - "name": "ModuleServiceInitializeCustomDataLayerOptions", + "title": "Interfaces", + "children": [ + 6274, + 6279, + 6284 + ] + } + ] + }, + { + "id": 1598, + "name": "CustomerTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 1599, + "name": "CustomerAddressDTO", "variant": "declaration", - "kind": 2097152, + "kind": 256, "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 2036, - "name": "__type", + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer address details." + } + ] + }, + "children": [ + { + "id": 1600, + "name": "id", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 2037, - "name": "manager", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the customer address." } - }, - { - "id": 2038, - "name": "repositories", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 2039, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "indexSignature": { - "id": 2040, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "parameters": [ - { - "id": 2041, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "target": 1891, - "typeArguments": [ - { - "type": "reference", - "target": 1531, - "name": "RepositoryService", - "package": "@medusajs/types" - } - ], - "name": "Constructor", - "package": "@medusajs/types" - } - } - } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1601, + "name": "address_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address name of the customer address." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2037, - 2038 - ] - } - ] - } - } - }, - { - "id": 2042, - "name": "ModuleBootstrapDeclaration", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 1904, - "name": "InternalModuleDeclaration", - "package": "@medusajs/types" + ] }, - { - "type": "reference", - "target": 1914, - "name": "ExternalModuleDeclaration", - "package": "@medusajs/types" + "type": { + "type": "intrinsic", + "name": "string" } - ] - } - }, - { - "id": 2043, - "name": "RemoteQueryFunction", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 2044, - "name": "__type", + }, + { + "id": 1602, + "name": "is_default_shipping", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 2045, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2046, - "name": "query", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 2847, - "name": "RemoteJoinerQuery", - "package": "@medusajs/types" - }, - { - "type": "intrinsic", - "name": "object" - } - ] - } - }, - { - "id": 2047, - "name": "variables", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Promise", - "package": "typescript" - }, - { - "type": "literal", - "value": null - } - ] + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the customer address is default shipping." } - } - ] - } - } - }, - { - "id": 2048, - "name": "IModuleService", - "variant": "declaration", - "kind": 256, - "flags": {}, - "extendedBy": [ + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, { - "type": "reference", - "target": 19, - "name": "IAuthModuleService" + "id": 1603, + "name": "is_default_billing", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the customer address is default billing." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } }, { - "type": "reference", - "target": 653, - "name": "ICartModuleService" + "id": 1604, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated customer's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "type": "reference", - "target": 1226, - "name": "ICustomerModuleService" + "id": 1605, + "name": "company", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The company of the customer address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "type": "reference", - "target": 1776, - "name": "IFulfillmentModuleService" + "id": 1606, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first name of the customer address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "type": "reference", - "target": 2365, - "name": "IPromotionModuleService" + "id": 1607, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name of the customer address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "type": "reference", - "target": 2546, - "name": "ISalesChannelModuleService" + "id": 1608, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address 1 of the customer address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "type": "reference", - "target": 2661, - "name": "IUserModuleService" + "id": 1609, + "name": "address_2", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address 2 of the customer address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "type": "reference", - "target": 2880, - "name": "ILinkModule" + "id": 1610, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city of the customer address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "type": "reference", - "target": 3039, - "name": "IPaymentModuleService" + "id": 1611, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The country code of the customer address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "type": "reference", - "target": 3575, - "name": "IRegionModuleService" + "id": 1612, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province of the customer address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1613, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The postal code of the customer address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1614, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The phone of the customer address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1615, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 1616, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The created at of the customer address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1617, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The updated at of the customer address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1600, + 1601, + 1602, + 1603, + 1604, + 1605, + 1606, + 1607, + 1608, + 1609, + 1610, + 1611, + 1612, + 1613, + 1614, + 1615, + 1616, + 1617 + ] } ] }, { - "id": 2056, - "name": "ModuleProviderExports", + "id": 1618, + "name": "FilterableCustomerAddressProps", "variant": "declaration", - "kind": 2097152, + "kind": 256, "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 2057, - "name": "__type", + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved customer address." + } + ] + }, + "children": [ + { + "id": 1619, + "name": "q", "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 2058, - "name": "services", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Searches for addreses by properties such as name and street using this search term." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1620, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the customer address by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { "type": "array", "elementType": { - "type": "reference", - "target": 1891, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Constructor", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2058 - ] - } - ] - } - } - }, - { - "id": 2059, - "name": "ModuleProvider", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 2060, - "name": "__type", + ] + } + }, + { + "id": 1621, + "name": "address_name", "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 2061, - "name": "resolve", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 2056, - "name": "ModuleProviderExports", - "package": "@medusajs/types" - } - ] + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter addresses by name." } - }, - { - "id": 2062, - "name": "provider_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { + ] + }, + "type": { + "type": "union", + "types": [ + { "type": "intrinsic", "name": "string" - } - }, - { - "id": 2063, - "name": "options", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { + }, + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, + "target": 2007, "typeArguments": [ { "type": "intrinsic", "name": "string" - }, + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 1622, + "name": "is_default_shipping", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter addresses by whether they're the default for shipping." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ { "type": "intrinsic", - "name": "unknown" + "name": "boolean" } ], - "name": "Record", - "package": "typescript" + "name": "OperatorMap", + "package": "@medusajs/types" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2061, - 2062, - 2063 - ] - } - ] - } - } - }, - { - "id": 2064, - "name": "InternalModuleService", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + ] + } + }, { - "id": 2065, - "name": "__container__", + "id": 1623, + "name": "is_default_billing", "variant": "declaration", - "kind": 262144, - "flags": {}, - "getSignature": { - "id": 2066, - "name": "__container__", - "variant": "signature", - "kind": 524288, - "flags": {}, - "type": { - "type": "reference", - "target": 2159, - "name": "TContainer", - "package": "@medusajs/types", - "qualifiedName": "InternalModuleService.TContainer", - "refersToTypeParameter": true - } + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter addresses by whether they're the default for billing." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] } }, { - "id": 2067, - "name": "retrieve", + "id": 1624, + "name": "customer_id", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2068, - "name": "retrieve", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2069, - "name": "idOrObject", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2070, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 2071, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter addresses by the associated customer's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" } - ], - "type": { + } + ] + } + }, + { + "id": 1625, + "name": "customer", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter addresses by the associated customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, + "target": 1662, + "name": "FilterableCustomerProps", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 1626, + "name": "company", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter addresses by company." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 2007, "typeArguments": [ { - "type": "reference", - "target": 2157, - "name": "TEntity", - "package": "@medusajs/types", - "qualifiedName": "InternalModuleService.TEntity", - "refersToTypeParameter": true + "type": "intrinsic", + "name": "string" } ], - "name": "Promise", - "package": "typescript" + "name": "OperatorMap", + "package": "@medusajs/types" } - }, - { - "id": 2072, - "name": "retrieve", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2073, - "name": "idOrObject", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 2074, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 2075, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { + ] + } + }, + { + "id": 1627, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter addresses by first name." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, + "target": 2007, "typeArguments": [ { - "type": "reference", - "target": 2157, - "name": "TEntity", - "package": "@medusajs/types", - "qualifiedName": "InternalModuleService.TEntity", - "refersToTypeParameter": true + "type": "intrinsic", + "name": "string" } ], - "name": "Promise", - "package": "typescript" + "name": "OperatorMap", + "package": "@medusajs/types" } - } - ] + ] + } }, { - "id": 2076, - "name": "list", + "id": 1628, + "name": "last_name", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2077, - "name": "list", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2078, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 2079, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 2080, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 2081, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 2082, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter addresses by last name." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, + "target": 2007, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 2157, - "name": "TEntity", - "package": "@medusajs/types", - "qualifiedName": "InternalModuleService.TEntity", - "refersToTypeParameter": true - } + "type": "intrinsic", + "name": "string" } ], - "name": "Promise", - "package": "typescript" + "name": "OperatorMap", + "package": "@medusajs/types" } - } - ] + ] + } }, { - "id": 2083, - "name": "listAndCount", + "id": 1629, + "name": "address_1", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2084, - "name": "listAndCount", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2085, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 2086, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 2087, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 2088, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 2089, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter addresses by first address line." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, + "target": 2007, "typeArguments": [ { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 2157, - "name": "TEntity", - "package": "@medusajs/types", - "qualifiedName": "InternalModuleService.TEntity", - "refersToTypeParameter": true - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] + "type": "intrinsic", + "name": "string" } ], - "name": "Promise", - "package": "typescript" + "name": "OperatorMap", + "package": "@medusajs/types" } - } - ] + ] + } }, { - "id": 2090, - "name": "create", + "id": 1630, + "name": "address_2", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2091, - "name": "create", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2092, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "any" - } - } - }, - { - "id": 2093, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter addresses by second address line." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, + "target": 2007, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 2157, - "name": "TEntity", - "package": "@medusajs/types", - "qualifiedName": "InternalModuleService.TEntity", - "refersToTypeParameter": true - } + "type": "intrinsic", + "name": "string" } ], - "name": "Promise", - "package": "typescript" + "name": "OperatorMap", + "package": "@medusajs/types" } - }, - { - "id": 2094, - "name": "create", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2095, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { + ] + } + }, + { + "id": 1631, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter addresses by city." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { "type": "intrinsic", - "name": "any" - } - }, - { - "id": 2096, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "name": "string" } - } - ], - "type": { + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 1632, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter addresses by country code." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, + "target": 2007, "typeArguments": [ { - "type": "reference", - "target": 2157, - "name": "TEntity", - "package": "@medusajs/types", - "qualifiedName": "InternalModuleService.TEntity", - "refersToTypeParameter": true + "type": "intrinsic", + "name": "string" } ], - "name": "Promise", - "package": "typescript" + "name": "OperatorMap", + "package": "@medusajs/types" } - } - ] + ] + } }, { - "id": 2097, - "name": "update", + "id": 1633, + "name": "province", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2098, - "name": "update", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2099, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "any" - } - } - }, - { - "id": 2100, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter addresses by province." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, + "target": 2007, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 2157, - "name": "TEntity", - "package": "@medusajs/types", - "qualifiedName": "InternalModuleService.TEntity", - "refersToTypeParameter": true - } + "type": "intrinsic", + "name": "string" } ], - "name": "Promise", - "package": "typescript" + "name": "OperatorMap", + "package": "@medusajs/types" } - }, - { - "id": 2101, - "name": "update", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2102, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { + ] + } + }, + { + "id": 1634, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter addresses by postal code." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { "type": "intrinsic", - "name": "any" - } - }, - { - "id": 2103, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "name": "string" } - } - ], - "type": { + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 1635, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter addresses by phone number." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, + "target": 2007, "typeArguments": [ { - "type": "reference", - "target": 2157, - "name": "TEntity", - "package": "@medusajs/types", - "qualifiedName": "InternalModuleService.TEntity", - "refersToTypeParameter": true + "type": "intrinsic", + "name": "string" } ], - "name": "Promise", - "package": "typescript" + "name": "OperatorMap", + "package": "@medusajs/types" } - }, - { - "id": 2104, - "name": "update", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2105, - "name": "selectorAndData", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 2106, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 2107, - "name": "selector", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 2108, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 2109, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 2110, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2107, - 2110 - ] - } - ] - } - } - }, - { - "id": 2111, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { + ] + } + }, + { + "id": 1636, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Record" }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 2157, - "name": "TEntity", - "package": "@medusajs/types", - "qualifiedName": "InternalModuleService.TEntity", - "refersToTypeParameter": true - } + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "Promise", + "name": "Record", "package": "typescript" - } - }, - { - "id": 2112, - "name": "update", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2113, - "name": "selectorAndData", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 2114, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 2115, - "name": "selector", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 2116, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 2117, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 2118, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2115, - 2118 - ] - } - ] - } - } - } - }, - { - "id": 2119, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { + }, + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, + "target": 2007, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 2157, - "name": "TEntity", - "package": "@medusajs/types", - "qualifiedName": "InternalModuleService.TEntity", - "refersToTypeParameter": true - } + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } ], - "name": "Promise", - "package": "typescript" + "name": "OperatorMap", + "package": "@medusajs/types" } - } - ] + ] + } }, { - "id": 2120, - "name": "delete", + "id": 1637, + "name": "created_at", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2121, - "name": "delete", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2122, - "name": "idOrSelector", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2123, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 2124, - "name": "delete", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2125, - "name": "idOrSelector", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 2126, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 2127, - "name": "delete", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2128, - "name": "idOrSelector", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 2129, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 2130, - "name": "delete", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2131, - "name": "idOrSelector", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "object" - } - } - }, - { - "id": 2132, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter addresses by created date." } - }, - { - "id": 2133, - "name": "delete", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2134, - "name": "idOrSelector", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 2135, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 2136, - "name": "selector", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 2137, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 2138, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2136 - ] - } - ] - } - } - }, - { - "id": 2139, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" } - } - ] + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } }, { - "id": 2140, - "name": "softDelete", + "id": 1638, + "name": "updated_at", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2141, - "name": "softDelete", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2142, - "name": "idsOrFilter", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - { - "type": "reflection", - "declaration": { - "id": 2143, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - } - ] - } - }, - { - "id": 2144, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 2157, - "name": "TEntity", - "package": "@medusajs/types", - "qualifiedName": "InternalModuleService.TEntity", - "refersToTypeParameter": true - } - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "name": "Record", - "package": "typescript" - } - ] - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter addresses by updated date." } - } - ] + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } }, { - "id": 2145, - "name": "restore", + "id": 1639, + "name": "$and", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2146, - "name": "restore", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ { - "id": 2147, - "name": "idsOrFilter", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - { - "type": "reflection", - "declaration": { - "id": 2148, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - } - ] - } + "type": "reference", + "target": 1618, + "name": "FilterableCustomerAddressProps", + "package": "@medusajs/types" }, { - "id": 2149, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 1618, + "name": "FilterableCustomerAddressProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 2157, - "name": "TEntity", - "package": "@medusajs/types", - "qualifiedName": "InternalModuleService.TEntity", - "refersToTypeParameter": true - } - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "name": "Record", - "package": "typescript" - } - ] - } - ], - "name": "Promise", - "package": "typescript" - } + ] } - ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } }, { - "id": 2150, - "name": "upsert", + "id": 1640, + "name": "$or", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2151, - "name": "upsert", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ { - "id": 2152, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "any" - } - } + "type": "reference", + "target": 1618, + "name": "FilterableCustomerAddressProps", + "package": "@medusajs/types" }, { - "id": 2153, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { + "type": "reference", + "target": 2029, + "typeArguments": [ + { "type": "reference", - "target": 2157, - "name": "TEntity", - "package": "@medusajs/types", - "qualifiedName": "InternalModuleService.TEntity", - "refersToTypeParameter": true + "target": 1618, + "name": "FilterableCustomerAddressProps", + "package": "@medusajs/types" } - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 2154, - "name": "upsert", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2155, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 2156, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 2157, - "name": "TEntity", - "package": "@medusajs/types", - "qualifiedName": "InternalModuleService.TEntity", - "refersToTypeParameter": true - } - ], - "name": "Promise", - "package": "typescript" - } + ] } - ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } } ], "groups": [ { - "title": "Accessors", - "children": [ - 2065 - ] - }, - { - "title": "Methods", + "title": "Properties", "children": [ - 2067, - 2076, - 2083, - 2090, - 2097, - 2120, - 2140, - 2145, - 2150 + 1619, + 1620, + 1621, + 1622, + 1623, + 1624, + 1625, + 1626, + 1627, + 1628, + 1629, + 1630, + 1631, + 1632, + 1633, + 1634, + 1635, + 1636, + 1637, + 1638, + 1639, + 1640 ] } ], - "typeParameters": [ + "extendedTypes": [ { - "id": 2157, - "name": "TEntity", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 2158, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 1618, + "name": "FilterableCustomerAddressProps", + "package": "@medusajs/types" } - } - }, - { - "id": 2159, - "name": "TContainer", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "object" - }, - "default": { - "type": "intrinsic", - "name": "object" - } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" } ] - } - ], - "groups": [ - { - "title": "Enumerations", - "children": [ - 1898, - 1901 - ] - }, - { - "title": "Interfaces", - "children": [ - 2021, - 2048, - 2064 - ] - }, - { - "title": "Type Aliases", - "children": [ - 1891, - 1896, - 1897, - 1904, - 1914, - 1926, - 1934, - 1945, - 1952, - 1957, - 1961, - 1967, - 1972, - 1976, - 2003, - 2007, - 2035, - 2042, - 2043, - 2056, - 2059 - ] - } - ] - }, - { - "id": 3737, - "name": "ModuleDeclaration", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 1914, - "name": "ExternalModuleDeclaration", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1904, - "name": "InternalModuleDeclaration", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 2922, - "name": "PaymentCollectionStatus", - "variant": "declaration", - "kind": 8, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The payment collection's status." - } - ] - }, - "children": [ - { - "id": 2923, - "name": "NOT_PAID", - "variant": "declaration", - "kind": 16, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The payment collection isn't paid." - } - ] - }, - "type": { - "type": "literal", - "value": "not_paid" - } }, { - "id": 2924, - "name": "AWAITING", + "id": 1641, + "name": "FilterableCustomerGroupProps", "variant": "declaration", - "kind": 16, + "kind": 256, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The payment collection is awaiting payment." + "text": "The filters to apply on the retrieved customer group." } ] }, - "type": { - "type": "literal", - "value": "awaiting" - } - }, - { - "id": 2925, - "name": "AUTHORIZED", - "variant": "declaration", - "kind": 16, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The payment collection is authorized." + "children": [ + { + "id": 1642, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Searches for customer groups by name using this search term." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "type": { - "type": "literal", - "value": "authorized" - } - }, - { - "id": 2926, - "name": "PARTIALLY_AUTHORIZED", - "variant": "declaration", - "kind": 16, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Some of the payments in the payment collection are authorized." + }, + { + "id": 1643, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the customer group by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } - ] - }, - "type": { - "type": "literal", - "value": "partially_authorized" - } - }, - { - "id": 2927, - "name": "CANCELED", - "variant": "declaration", - "kind": 16, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The payment collection is canceled." + }, + { + "id": 1644, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter customer groups by name." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] } - ] - }, - "type": { - "type": "literal", - "value": "canceled" - } - } - ], - "groups": [ - { - "title": "Enumeration Members", - "children": [ - 2923, - 2924, - 2925, - 2926, - 2927 - ] - } - ] - }, - { - "id": 2928, - "name": "PaymentCollectionDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2929, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the Payment Collection" + }, + { + "id": 1645, + "name": "customers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter customer groups by associated customers." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 1662, + "name": "FilterableCustomerProps", + "package": "@medusajs/types" + } + ] } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2930, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The currency of the payments/sessions associated with payment collection" + }, + { + "id": 1646, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter customer groups by their " + }, + { + "kind": "code", + "text": "`created_by`" + }, + { + "kind": "text", + "text": " attribute." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2931, - "name": "region_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The id of the region" + }, + { + "id": 1647, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter customer groups by created date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2932, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The amount" + }, + { + "id": 1648, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter customer groups by updated date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 2933, - "name": "authorized_amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The amount authorized within associated payment sessions" + }, + { + "id": 1649, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1641, + "name": "FilterableCustomerGroupProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 1641, + "name": "FilterableCustomerGroupProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 2934, - "name": "refunded_amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The amount refunded from associated payments" + }, + { + "id": 1650, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1641, + "name": "FilterableCustomerGroupProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 1641, + "name": "FilterableCustomerGroupProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1642, + 1643, + 1644, + 1645, + 1646, + 1647, + 1648, + 1649, + 1650 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 1641, + "name": "FilterableCustomerGroupProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] }, { - "id": 2935, - "name": "completed_at", + "id": 1651, + "name": "FilterableCustomerGroupCustomerProps", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "kind": 256, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "When the payment collection was completed" + "text": "The filters to apply on the retrieved customer group's customers." } ] }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + "children": [ + { + "id": 1652, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the customer group's customer relation." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } - ] - } - }, - { - "id": 2936, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the payment collection was created" + }, + { + "id": 1653, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by customer ID(s)." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + }, + { + "id": 1654, + "name": "customer_group_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by customer group ID(s)." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } - ] - } - }, - { - "id": 2937, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the payment collection was updated" + }, + { + "id": 1655, + "name": "customer", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by customer IDs or filterable customer attributes." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 1662, + "name": "FilterableCustomerProps", + "package": "@medusajs/types" + } + ] } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + }, + { + "id": 1656, + "name": "group", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by customer group IDs or filterable group attributes." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 1641, + "name": "FilterableCustomerGroupProps", + "package": "@medusajs/types" + } + ] } - ] - } - }, - { - "id": 2938, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Holds custom data in key-value pairs" + }, + { + "id": 1657, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by the group's " + }, + { + "kind": "code", + "text": "`created_by`" + }, + { + "kind": "text", + "text": " attribute." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null + }, + { + "id": 1658, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by created date." + } + ] + }, + "type": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, + "target": 2007, "typeArguments": [ { "type": "intrinsic", "name": "string" - }, + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 1659, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by updated date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ { "type": "intrinsic", - "name": "unknown" + "name": "string" } ], - "name": "Record", - "package": "typescript" + "name": "OperatorMap", + "package": "@medusajs/types" } - ] - } - }, - { - "id": 2939, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The status of the payment collection" + }, + { + "id": 1660, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1651, + "name": "FilterableCustomerGroupCustomerProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 1651, + "name": "FilterableCustomerGroupCustomerProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" } - ] - }, - "type": { - "type": "reference", - "target": 2922, - "name": "PaymentCollectionStatus", - "package": "@medusajs/types" - } - }, - { - "id": 2940, - "name": "payment_providers", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The payment provider for the payments" + }, + { + "id": 1661, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1651, + "name": "FilterableCustomerGroupCustomerProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 1651, + "name": "FilterableCustomerGroupCustomerProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2985, - "name": "PaymentProviderDTO", - "package": "@medusajs/types" } - } - }, - { - "id": 2941, - "name": "payment_sessions", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated payment sessions" - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "array", - "elementType": { + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1652, + 1653, + 1654, + 1655, + 1656, + 1657, + 1658, + 1659, + 1660, + 1661 + ] + } + ], + "extendedTypes": [ + { "type": "reference", - "target": 2983, - "name": "PaymentSessionDTO", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 1651, + "name": "FilterableCustomerGroupCustomerProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", "package": "@medusajs/types" } - } + ] }, { - "id": 2942, - "name": "payments", + "id": 1662, + "name": "FilterableCustomerProps", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "kind": 256, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The associated payments" + "text": "The filters to apply on the retrieved customer." } - ], - "modifierTags": [ - "@expandable" ] }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2950, - "name": "PaymentDTO", - "package": "@medusajs/types" - } - } - } - ], - "groups": [ - { - "title": "Properties", "children": [ - 2929, - 2930, - 2931, - 2932, - 2933, - 2934, - 2935, - 2936, - 2937, - 2938, - 2939, - 2940, - 2941, - 2942 - ] - } - ] - }, - { - "id": 2943, - "name": "FilterablePaymentCollectionProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." - } - ] - }, - "children": [ - { - "id": 2948, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + { + "id": 1663, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Searches for customers by properties such as name and email using this search term." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ + }, + { + "id": 1664, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the customer by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 1665, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by email." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 1666, + "name": "groups", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by associated customer group." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 1641, + "name": "FilterableCustomerGroupProps", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 1667, + "name": "default_billing_address_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by the associated default billing address's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 1668, + "name": "default_shipping_address_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by the associated default shipping address's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 1669, + "name": "company_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by company name." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 1670, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by first name." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 1671, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by last name." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 1672, + "name": "has_account", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by whether the customer has an account." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 1673, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by the " + }, + { + "kind": "code", + "text": "`created_by`" + }, + { + "kind": "text", + "text": " attribute." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 1674, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by created date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 1675, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by updated date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 1676, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ { "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", + "target": 1662, + "name": "FilterableCustomerProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 1662, + "name": "FilterableCustomerProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", "package": "@medusajs/types" } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 1677, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1662, + "name": "FilterableCustomerProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 1662, + "name": "FilterableCustomerProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1663, + 1664, + 1665, + 1666, + 1667, + 1668, + 1669, + 1670, + 1671, + 1672, + 1673, + 1674, + 1675, + 1676, + 1677 ] } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 1662, + "name": "FilterableCustomerProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] }, { - "id": 2949, - "name": "$or", + "id": 1678, + "name": "CustomerGroupDTO", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "kind": 256, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + "text": "The customer group details." } ] }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" - }, - { + "children": [ + { + "id": 1679, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the customer group." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1680, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the customer group." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1681, + "name": "customers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customers of the customer group." + } + ] + }, + "type": { + "type": "array", + "elementType": { "type": "reference", - "target": 1512, + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, "typeArguments": [ { "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", + "target": 1696, + "name": "CustomerDTO", "package": "@medusajs/types" } ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - }, - { - "id": 2944, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" + "name": "Partial", + "package": "typescript" } } - ] - } - }, - { - "id": 2945, - "name": "region_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + }, + { + "id": 1682, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] }, - { + "type": { "type": "reference", - "target": 1490, + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { "type": "intrinsic", "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "OperatorMap", - "package": "@medusajs/types" + "name": "Record", + "package": "typescript" } - ] - } - }, - { - "id": 2946, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" + }, + { + "id": 1683, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Who created the customer group." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - }, - { - "id": 2947, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1490, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" + }, + { + "id": 1684, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the customer group." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2948, - 2949, - 2944, - 2945, - 2946, - 2947 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ + }, { - "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 2950, - "name": "PaymentDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2951, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the Payment" + "id": 1685, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the customer group." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2952, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The payment amount" + }, + { + "id": 1686, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the customer group." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 2953, - "name": "authorized_amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1679, + 1680, + 1681, + 1682, + 1683, + 1684, + 1685, + 1686 + ] + } + ] }, { - "id": 2954, - "name": "currency_code", + "id": 1687, + "name": "CustomerGroupCustomerDTO", "variant": "declaration", - "kind": 1024, + "kind": 256, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Payment currency" + "text": "The details of a group's customer." } ] }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2955, - "name": "provider_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of payment provider" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2956, - "name": "cart_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2957, - "name": "order_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2958, - "name": "order_edit_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2959, - "name": "customer_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2960, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Payment provider data" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { + "children": [ + { + "id": 1688, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the relation." + } + ] + }, + "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 1689, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer's ID." + } + ] }, - { + "type": { "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 2961, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the payment collection was created" + "name": "string" } - ] - }, - "type": { - "type": "union", - "types": [ - { + }, + { + "id": 1690, + "name": "customer_group_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer group's ID." + } + ] + }, + "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 1691, + "name": "customer", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer's details." + } + ] + }, + "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" + "qualifiedName": "Partial" }, - "name": "Date", + "typeArguments": [ + { + "type": "reference", + "target": 1696, + "name": "CustomerDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", "package": "typescript" } - ] - } - }, - { - "id": 2962, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the payment collection was updated" - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + }, + { + "id": 1692, + "name": "group", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { + "comment": { + "summary": [ + { + "kind": "text", + "text": "The group's details." + } + ] + }, + "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" + "qualifiedName": "Partial" }, - "name": "Date", + "typeArguments": [ + { + "type": "reference", + "target": 1678, + "name": "CustomerGroupDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", "package": "typescript" } - ] - } - }, - { - "id": 2963, - "name": "captured_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the payment was captured" + }, + { + "id": 1693, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Who the relation was created by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + }, + { + "id": 1694, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the customer group customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] } - ] - } + }, + { + "id": 1695, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the customer group customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1688, + 1689, + 1690, + 1691, + 1692, + 1693, + 1694, + 1695 + ] + } + ] }, { - "id": 2964, - "name": "canceled_at", + "id": 1696, + "name": "CustomerDTO", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "kind": 256, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "When the payment was canceled" + "text": "The customer details." } ] }, - "type": { - "type": "union", - "types": [ - { + "children": [ + { + "id": 1697, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the customer." + } + ] + }, + "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 1698, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email of the customer." + } + ] }, - { + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1699, + "name": "has_account", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A flag indicating if customer has an account or not." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1700, + "name": "default_billing_address_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated default billing address's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1701, + "name": "default_shipping_address_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated default shipping address's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1702, + "name": "company_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The company name of the customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1703, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first name of the customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1704, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name of the customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1705, + "name": "addresses", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The addresses of the customer." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1599, + "name": "CustomerAddressDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 1706, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The phone of the customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1707, + "name": "groups", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The groups of the customer." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 1708, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1709, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the group." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1710, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the group." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1709, + 1710 + ] + } + ] + } + } + } + }, + { + "id": 1711, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" + "qualifiedName": "Record" }, - "name": "Date", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", "package": "typescript" } - ] - } - }, - { - "id": 2965, - "name": "captured_amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The sum of the associated captures" + }, + { + "id": 1712, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Who created the customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 2966, - "name": "refunded_amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The sum of the associated refunds" + }, + { + "id": 1713, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 2967, - "name": "captures", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated payment captures" + }, + { + "id": 1714, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2971, - "name": "CaptureDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 2968, - "name": "refunds", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated refunds of the payment" + }, + { + "id": 1715, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2977, - "name": "RefundDTO", - "package": "@medusajs/types" } - } - }, - { - "id": 2969, - "name": "payment_collection", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The payment collection the payment is associated with" - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" - } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1697, + 1698, + 1699, + 1700, + 1701, + 1702, + 1703, + 1704, + 1705, + 1706, + 1707, + 1711, + 1712, + 1713, + 1714, + 1715 + ] + } + ] }, { - "id": 2970, - "name": "payment_session", + "id": 1716, + "name": "GroupCustomerPair", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "kind": 256, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The payment session from which the payment is created" + "text": "The details of a customer and customer group pair." } - ], - "modifierTags": [ - "@expandable" ] }, - "type": { - "type": "reference", - "target": 2983, - "name": "PaymentSessionDTO", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", "children": [ - 2951, - 2952, - 2953, - 2954, - 2955, - 2956, - 2957, - 2958, - 2959, - 2960, - 2961, - 2962, - 2963, - 2964, - 2965, - 2966, - 2967, - 2968, - 2969, - 2970 + { + "id": 1717, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1718, + "name": "customer_group_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer group's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1717, + 1718 + ] + } ] - } - ] - }, - { - "id": 2971, - "name": "CaptureDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + }, { - "id": 2972, - "name": "id", + "id": 1719, + "name": "legacy_CustomerDTO", "variant": "declaration", - "kind": 1024, + "kind": 256, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the Capture" + "text": "The legacy customer details." } ] }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2973, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Captured amount" + "children": [ + { + "id": 1720, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the customer." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 2974, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" }, - "name": "Date", - "package": "typescript" - } - }, - { - "id": 2975, - "name": "created_by", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2976, - "name": "payment", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 2950, - "name": "PaymentDTO", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2972, - 2973, - 2974, - 2975, - 2976 - ] - } - ] - }, - { - "id": 2977, - "name": "RefundDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2978, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the Refund" + { + "id": 1721, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email of the customer." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2979, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Refunded amount" + }, + { + "id": 1722, + "name": "billing_address_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated billing address's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 2980, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" }, - "name": "Date", - "package": "typescript" - } - }, - { - "id": 2981, - "name": "created_by", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2982, - "name": "payment", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 2950, - "name": "PaymentDTO", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2978, - 2979, - 2980, - 2981, - 2982 + { + "id": 1723, + "name": "shipping_address_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping address's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1724, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first name of the customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1725, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name of the customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1726, + "name": "billing_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The billing address of the customer." + } + ] + }, + "type": { + "type": "reference", + "target": 1, + "name": "AddressDTO", + "package": "@medusajs/types" + } + }, + { + "id": 1727, + "name": "shipping_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping address of the customer." + } + ] + }, + "type": { + "type": "reference", + "target": 1, + "name": "AddressDTO", + "package": "@medusajs/types" + } + }, + { + "id": 1728, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The phone of the customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 1729, + "name": "has_account", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the customer has account." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1730, + "name": "groups", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The groups of the customer." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 1731, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1732, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the customer group." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1732 + ] + } + ] + } + } + } + }, + { + "id": 1733, + "name": "orders", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The orders of the customer." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 1734, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1735, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the order." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1735 + ] + } + ] + } + } + } + }, + { + "id": 1736, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 1737, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 1738, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 1739, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the legacy_ customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1720, + 1721, + 1722, + 1723, + 1724, + 1725, + 1726, + 1727, + 1728, + 1729, + 1730, + 1733, + 1736, + 1737, + 1738, + 1739 + ] + } ] - } - ] - }, - { - "id": 2983, - "name": "PaymentSessionDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + }, { - "id": 2984, - "name": "id", + "id": 1931, + "name": "CreateCustomerAddressDTO", "variant": "declaration", - "kind": 1024, + "kind": 256, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the Payment Session" + "text": "The customer address to be created." } ] }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2984 - ] - } - ] - }, - { - "id": 2985, - "name": "PaymentProviderDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2986, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2987, - "name": "is_enabled", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", "children": [ - 2986, - 2987 - ] - } - ] - }, - { - "id": 2988, - "name": "CreatePaymentCollectionDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Payment Collection" - } - ] - }, - "children": [ - { - "id": 2989, - "name": "region_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2990, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2991, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 2992, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { + { + "id": 1932, + "name": "address_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address's name." + } + ] + }, + "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 1933, + "name": "is_default_shipping", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the address is default shipping." + } + ] + }, + "type": { "type": "intrinsic", - "name": "unknown" + "name": "boolean" } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2989, - 2990, - 2991, - 2992 - ] - } - ] - }, - { - "id": 2993, - "name": "UpdatePaymentCollectionDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2998, - "name": "region_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Partial.region_id" - } - }, - { - "id": 2999, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Partial.currency_code" - } - }, - { - "id": 3000, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Partial.amount" - } - }, - { - "id": 3001, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" + { + "id": 1934, + "name": "is_default_billing", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the address is the default for billing." + } + ] + }, + "type": { "type": "intrinsic", - "name": "unknown" + "name": "boolean" } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Partial.metadata" - } - }, - { - "id": 2994, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2995, - "name": "authorized_amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 2996, - "name": "refunded_amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 2997, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2922, - "name": "PaymentCollectionStatus", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2998, - 2999, - 3000, - 3001, - 2994, - 2995, - 2996, - 2997 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "reference", - "target": 2988, - "name": "CreatePaymentCollectionDTO", - "package": "@medusajs/types" - } - ], - "name": "Partial", - "package": "typescript" - } - ] - }, - { - "id": 3002, - "name": "CreatePaymentDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Payment" - } - ] - }, - "children": [ - { - "id": 3003, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3004, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3005, - "name": "provider_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3006, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" + { + "id": 1935, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated customer's ID." + } + ] }, - { + "type": { "type": "intrinsic", - "name": "unknown" + "name": "string" } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 3007, - "name": "payment_session_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3008, - "name": "payment_collection_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3009, - "name": "cart_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3010, - "name": "order_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3011, - "name": "order_edit_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3012, - "name": "customer_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3003, - 3004, - 3005, - 3006, - 3007, - 3008, - 3009, - 3010, - 3011, - 3012 - ] - } - ] - }, - { - "id": 3013, - "name": "UpdatePaymentDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3014, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3015, - "name": "cart_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3016, - "name": "order_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3017, - "name": "order_edit_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3018, - "name": "customer_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3019, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" }, - "typeArguments": [ - { + { + "id": 1936, + "name": "company", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The company." + } + ] + }, + "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 1937, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first name." + } + ] + }, + "type": { "type": "intrinsic", - "name": "unknown" + "name": "string" } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3014, - 3015, - 3016, - 3017, - 3018, - 3019 - ] - } - ] - }, - { - "id": 3020, - "name": "CreateCaptureDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3021, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3022, - "name": "payment_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3023, - "name": "captured_by", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3021, - 3022, - 3023 - ] - } - ] - }, - { - "id": 3024, - "name": "CreateRefundDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3025, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3026, - "name": "payment_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3027, - "name": "created_by", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3025, - 3026, - 3027 - ] - } - ] - }, - { - "id": 3028, - "name": "CreatePaymentSessionDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Payment Session" - } - ] - }, - "children": [ - { - "id": 3029, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3030, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3031, - "name": "provider_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3032, - "name": "cart_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3033, - "name": "resource_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3034, - "name": "customer_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3029, - 3030, - 3031, - 3032, - 3033, - 3034 - ] - } - ] - }, - { - "id": 3035, - "name": "SetPaymentSessionsDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3036, - "name": "provider_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3037, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3038, - "name": "session_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3036, - 3037, - 3038 - ] - } - ] - }, - { - "id": 3039, - "name": "IPaymentModuleService", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3040, - "name": "createPaymentCollection", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3041, - "name": "createPaymentCollection", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3042, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2988, - "name": "CreatePaymentCollectionDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 3043, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "id": 1938, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1939, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" - } + "kind": "text", + "text": "The address 1." } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 3044, - "name": "createPaymentCollection", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3045, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 2988, - "name": "CreatePaymentCollectionDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3046, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "id": 1940, + "name": "address_2", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address 2." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1941, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "The city." } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } - } - ] - }, - { - "id": 3047, - "name": "retrievePaymentCollection", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3048, - "name": "retrievePaymentCollection", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3049, - "name": "paymentCollectionId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3050, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 3051, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "id": 1942, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The country code." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1943, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "The province." } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } - } - ] - }, - { - "id": 3052, - "name": "listPaymentCollections", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3053, - "name": "listPaymentCollections", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3054, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2943, - "name": "FilterablePaymentCollectionProps", - "package": "@medusajs/types" - } - }, - { - "id": 3055, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 3056, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "id": 1944, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The postal code." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1945, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" - } + "kind": "text", + "text": "The phone." } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } - } - ] - }, - { - "id": 3057, - "name": "listAndCountPaymentCollections", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3058, - "name": "listAndCountPaymentCollections", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3059, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2943, - "name": "FilterablePaymentCollectionProps", - "package": "@medusajs/types" + "id": 1946, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." } - }, - { - "id": 3060, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { + { "type": "reference", - "target": 920, + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { - "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 3061, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "string" }, { "type": "intrinsic", - "name": "number" + "name": "unknown" } - ] + ], + "name": "Record", + "package": "typescript" } - ], - "name": "Promise", - "package": "typescript" + ] } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1932, + 1933, + 1934, + 1935, + 1936, + 1937, + 1938, + 1939, + 1940, + 1941, + 1942, + 1943, + 1944, + 1945, + 1946 + ] + } ] }, { - "id": 3062, - "name": "updatePaymentCollection", + "id": 1947, + "name": "UpdateCustomerAddressDTO", "variant": "declaration", - "kind": 2048, + "kind": 256, "flags": {}, - "signatures": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the customer's address." + } + ] + }, + "children": [ { - "id": 3063, - "name": "updatePaymentCollection", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3064, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2993, - "name": "UpdatePaymentCollectionDTO", - "package": "@medusajs/types" - } + "id": 1948, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the address." } - }, - { - "id": 3065, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1949, + "name": "address_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address's name." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" - } + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" } - ], - "name": "Promise", - "package": "typescript" + ] } }, { - "id": 3066, - "name": "updatePaymentCollection", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3067, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 2993, - "name": "UpdatePaymentCollectionDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3068, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "id": 1950, + "name": "is_default_shipping", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the address is the default for shipping." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1951, + "name": "is_default_billing", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "Whether the address is the default for billing." } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" } - } - ] - }, - { - "id": 3069, - "name": "deletePaymentCollections", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3070, - "name": "deletePaymentCollections", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3071, - "name": "paymentCollectionId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "id": 1952, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated customer's ID." } - }, - { - "id": 3072, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + { + "type": "intrinsic", + "name": "string" } - } - ], + ] + } + }, + { + "id": 1953, + "name": "company", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The company." + } + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, { "type": "intrinsic", - "name": "void" + "name": "string" } - ], - "name": "Promise", - "package": "typescript" + ] } }, { - "id": 3073, - "name": "deletePaymentCollections", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3074, - "name": "paymentCollectionId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { + "id": 1954, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first name." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "intrinsic", "name": "string" } - }, - { - "id": 3075, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + ] + } + }, + { + "id": 1955, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, { "type": "intrinsic", - "name": "void" + "name": "string" } - ], - "name": "Promise", - "package": "typescript" + ] } - } - ] - }, - { - "id": 3076, - "name": "authorizePaymentCollection", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3077, - "name": "authorizePaymentCollection", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3078, - "name": "paymentCollectionId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { + "id": 1956, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address 1." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "intrinsic", "name": "string" } - }, - { - "id": 3079, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + ] + } + }, + { + "id": 1957, + "name": "address_2", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address 2." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" } - ], - "name": "Promise", - "package": "typescript" + ] } - } - ] - }, - { - "id": 3080, - "name": "completePaymentCollection", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3081, - "name": "completePaymentCollection", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3082, - "name": "paymentCollectionId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { + "id": 1958, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "intrinsic", "name": "string" } - }, - { - "id": 3083, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + ] + } + }, + { + "id": 1959, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The country code." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" } - ], - "name": "Promise", - "package": "typescript" + ] } - } - ] - }, - { - "id": 3084, - "name": "createPayment", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3085, - "name": "createPayment", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3086, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 3002, - "name": "CreatePaymentDTO", - "package": "@medusajs/types" + "id": 1960, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province." } - }, - { - "id": 3087, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + { + "type": "intrinsic", + "name": "string" } - } - ], + ] + } + }, + { + "id": 1961, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The postal code." + } + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "reference", - "target": 2950, - "name": "PaymentDTO", - "package": "@medusajs/types" + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" } - ], - "name": "Promise", - "package": "typescript" + ] } }, { - "id": 3088, - "name": "createPayment", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3089, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3002, - "name": "CreatePaymentDTO", - "package": "@medusajs/types" - } + "id": 1962, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The phone." } - }, - { - "id": 3090, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + { + "type": "intrinsic", + "name": "string" } - } - ], + ] + } + }, + { + "id": 1963, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 2950, - "name": "PaymentDTO", - "package": "@medusajs/types" - } + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } - ], - "name": "Promise", - "package": "typescript" + ] } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1948, + 1949, + 1950, + 1951, + 1952, + 1953, + 1954, + 1955, + 1956, + 1957, + 1958, + 1959, + 1960, + 1961, + 1962, + 1963 + ] + } ] }, { - "id": 3091, - "name": "capturePayment", + "id": 1964, + "name": "CreateCustomerDTO", "variant": "declaration", - "kind": 2048, + "kind": 256, "flags": {}, - "signatures": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer to be created." + } + ] + }, + "children": [ { - "id": 3092, - "name": "capturePayment", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3093, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 3020, - "name": "CreateCaptureDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3094, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "id": 1965, + "name": "company_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The company name of the customer." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1966, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "reference", - "target": 2950, - "name": "PaymentDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "The first name of the customer." } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 3095, - "name": "capturePayment", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3096, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3020, - "name": "CreateCaptureDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 3097, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "id": 1967, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name of the customer." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1968, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 2950, - "name": "PaymentDTO", - "package": "@medusajs/types" - } + "kind": "text", + "text": "The email of the customer." } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } - } - ] - }, - { - "id": 3098, - "name": "refundPayment", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3099, - "name": "refundPayment", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3100, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 3024, - "name": "CreateRefundDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3101, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "id": 1969, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The phone of the customer." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1970, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "reference", - "target": 2950, - "name": "PaymentDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "Who created the customer." } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 3102, - "name": "refundPayment", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3103, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { + "id": 1971, + "name": "addresses", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The addresses of the customer." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { "type": "reference", - "target": 3024, - "name": "CreateRefundDTO", + "target": 1931, + "name": "CreateCustomerAddressDTO", "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "customer_id" } - } - }, - { - "id": 3104, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } + ], + "name": "Omit", + "package": "typescript" } - ], + } + }, + { + "id": 1972, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Record" }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 2950, - "name": "PaymentDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "Promise", + "name": "Record", "package": "typescript" } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1965, + 1966, + 1967, + 1968, + 1969, + 1970, + 1971, + 1972 + ] + } ] }, { - "id": 3105, - "name": "cancelPayment", + "id": 1973, + "name": "UpdateCustomerDTO", "variant": "declaration", - "kind": 2048, + "kind": 256, "flags": {}, - "signatures": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the customer." + } + ] + }, + "children": [ { - "id": 3106, - "name": "cancelPayment", - "variant": "signature", - "kind": 4096, + "id": 1974, + "name": "id", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 3107, - "name": "paymentId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3108, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the customer." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 2950, - "name": "PaymentDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "type": "intrinsic", + "name": "string" } }, { - "id": 3109, - "name": "cancelPayment", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3110, - "name": "paymentId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "id": 1975, + "name": "company_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The company name of the customer." } - }, - { - "id": 3111, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + { + "type": "intrinsic", + "name": "string" } - } - ], + ] + } + }, + { + "id": 1976, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first name of the customer." + } + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 2950, - "name": "PaymentDTO", - "package": "@medusajs/types" - } + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" } - ], - "name": "Promise", - "package": "typescript" + ] } - } - ] - }, - { - "id": 3112, - "name": "updatePayment", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3113, - "name": "updatePayment", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3114, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 3013, - "name": "UpdatePaymentDTO", - "package": "@medusajs/types" + "id": 1977, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name of the customer." } - }, - { - "id": 3115, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + { + "type": "intrinsic", + "name": "string" } - } - ], + ] + } + }, + { + "id": 1978, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email of the customer." + } + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "reference", - "target": 2950, - "name": "PaymentDTO", - "package": "@medusajs/types" + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" } - ], - "name": "Promise", - "package": "typescript" + ] } }, { - "id": 3116, - "name": "updatePayment", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3117, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3013, - "name": "UpdatePaymentDTO", - "package": "@medusajs/types" - } + "id": 1979, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The phone of the customer." } - }, - { - "id": 3118, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + { + "type": "intrinsic", + "name": "string" } - } - ], + ] + } + }, + { + "id": 1980, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 2950, - "name": "PaymentDTO", - "package": "@medusajs/types" - } + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } - ], - "name": "Promise", - "package": "typescript" + ] } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1974, + 1975, + 1976, + 1977, + 1978, + 1979, + 1980 + ] + } ] }, { - "id": 3119, - "name": "createPaymentSession", + "id": 1981, + "name": "CustomerUpdatableFields", "variant": "declaration", - "kind": 2048, + "kind": 256, "flags": {}, - "signatures": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "The updatable fields of a customer." + } + ] + }, + "children": [ { - "id": 3120, - "name": "createPaymentSession", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3121, - "name": "paymentCollectionId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { + "id": 1982, + "name": "company_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The company name of the customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "intrinsic", "name": "string" } - }, - { - "id": 3122, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 3028, - "name": "CreatePaymentSessionDTO", - "package": "@medusajs/types" + ] + } + }, + { + "id": 1983, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first name of the customer." } - }, - { - "id": 3123, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + { + "type": "intrinsic", + "name": "string" } - } - ], + ] + } + }, + { + "id": 1984, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name of the customer." + } + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" } - ], - "name": "Promise", - "package": "typescript" + ] } }, { - "id": 3124, - "name": "createPaymentSession", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3125, - "name": "paymentCollectionId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { + "id": 1985, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email of the customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "intrinsic", "name": "string" } - }, - { - "id": 3126, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3028, - "name": "CreatePaymentSessionDTO", - "package": "@medusajs/types" - } + ] + } + }, + { + "id": 1986, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The phone of the customer." } - }, - { - "id": 3127, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + { + "type": "intrinsic", + "name": "string" } - } - ], + ] + } + }, + { + "id": 1987, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, { "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } - ], - "name": "Promise", - "package": "typescript" + ] } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1982, + 1983, + 1984, + 1985, + 1986, + 1987 + ] + } ] }, { - "id": 3128, - "name": "authorizePaymentSessions", + "id": 1988, + "name": "CustomerGroupUpdatableFields", "variant": "declaration", - "kind": 2048, + "kind": 256, "flags": {}, - "signatures": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "The updatable fields of a customer group." + } + ] + }, + "children": [ { - "id": 3129, - "name": "authorizePaymentSessions", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3130, - "name": "paymentCollectionId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3131, - "name": "sessionIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "id": 1989, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the customer group." } - }, - { - "id": 3132, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1990, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, { "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } - ], - "name": "Promise", - "package": "typescript" + ] } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1989, + 1990 + ] + } ] }, { - "id": 3133, - "name": "completePaymentSessions", + "id": 1991, + "name": "UpdateCustomerGroupDTO", "variant": "declaration", - "kind": 2048, + "kind": 256, "flags": {}, - "signatures": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the customer group." + } + ] + }, + "children": [ { - "id": 3134, - "name": "completePaymentSessions", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3135, - "name": "paymentCollectionId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "id": 1992, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the customer group." } - }, - { - "id": 3136, - "name": "sessionIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1993, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the customer group." } - }, - { - "id": 3137, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1994, + "name": "customer_ids", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of associated customers." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" } - ], + } + }, + { + "id": 1995, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, { "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } - ], - "name": "Promise", - "package": "typescript" + ] } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1992, + 1993, + 1994, + 1995 + ] + } ] }, { - "id": 3138, - "name": "setPaymentSessions", + "id": 1996, + "name": "CreateCustomerGroupDTO", "variant": "declaration", - "kind": 2048, + "kind": 256, "flags": {}, - "signatures": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer group to be created." + } + ] + }, + "children": [ { - "id": 3139, - "name": "setPaymentSessions", - "variant": "signature", - "kind": 4096, + "id": 1997, + "name": "name", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 3140, - "name": "paymentCollectionId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the customer group." } - }, - { - "id": 3141, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3035, - "name": "SetPaymentSessionsDTO", - "package": "@medusajs/types" - } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1998, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." } - }, - { - "id": 3142, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { + { "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + ] + } + }, + { + "id": 1999, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "reference", - "target": 2928, - "name": "PaymentCollectionDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "Who created the customer group. For example,\nthe ID of the user that created the customer group." } - ], - "name": "Promise", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1997, + 1998, + 1999 + ] + } ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 3040, - 3047, - 3052, - 3057, - 3062, - 3069, - 3076, - 3080, - 3084, - 3091, - 3098, - 3105, - 3112, - 3119, - 3128, - 3133, - 3138 - ] - } - ], - "extendedTypes": [ + }, { - "type": "reference", - "target": 2048, - "name": "IModuleService", - "package": "@medusajs/types" - } - ] - }, - { - "id": 3150, - "name": "CurrencyDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A currency's data." - } - ] - }, - "children": [ - { - "id": 3151, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The code of the currency." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3152, - "name": "symbol", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The symbol of the currency." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3153, - "name": "symbol_native", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The symbol of the currecy in its native form. This is typically the symbol used when displaying a price." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3154, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The name of the currency." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3151, - 3152, - 3153, - 3154 - ] - } - ] - }, - { - "id": 3155, - "name": "CreateCurrencyDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A currency to create." - } - ] - }, - "children": [ - { - "id": 3156, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The code of the currency." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3157, - "name": "symbol", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The symbol of the currency." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3158, - "name": "symbol_native", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The symbol of the currecy in its native form. This is typically the symbol used when displaying a price." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3159, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The name of the currency." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3156, - 3157, - 3158, - 3159 - ] - } - ] - }, - { - "id": 3160, - "name": "UpdateCurrencyDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The data to update in a currency. The " - }, - { - "kind": "code", - "text": "`code`" - }, - { - "kind": "text", - "text": " is used to identify which currency to update." - } - ] - }, - "children": [ - { - "id": 3161, - "name": "code", + "id": 1740, + "name": "ICustomerModuleService", "variant": "declaration", - "kind": 1024, + "kind": 256, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The code of the currency to update." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3162, - "name": "symbol", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The symbol of the currency." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3163, - "name": "symbol_native", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The symbol of the currecy in its native form. This is typically the symbol used when displaying a price." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3164, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The name of the currency." + "text": "The main service interface for the Customer Module." } ] }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", "children": [ - 3161, - 3162, - 3163, - 3164 - ] - } - ] - }, - { - "id": 3165, - "name": "FilterableCurrencyProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filters to apply on a currency." - } - ] - }, - "children": [ - { - "id": 3167, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ + { + "id": 1741, + "name": "retrieve", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "type": "reference", - "target": 3165, - "name": "FilterableCurrencyProps", - "package": "@medusajs/types" + "id": 1742, + "name": "retrieve", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a customer by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved customer." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a customer by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst customer =\n await customerModuleService.retrieve(\"cus_123\")\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst customer = await customerModuleService.retrieve(\n \"cus_123\",\n {\n relations: [\"groups\"],\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1743, + "name": "customerId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1744, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the customer is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a customer." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 1696, + "name": "CustomerDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 1745, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1696, + "name": "CustomerDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1746, + "name": "create", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 1747, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates customers." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created customers." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst customers = await customerModuleService.create([\n {\n email: \"john@smith.com\",\n first_name: \"John\",\n last_name: \"Smith\",\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1748, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customers to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1964, + "name": "CreateCustomerDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 1749, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 1696, + "name": "CustomerDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } }, { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 1750, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a customer." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created customer." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst customer = await customerModuleService.create({\n email: \"john@smith.com\",\n first_name: \"John\",\n last_name: \"Smith\",\n})\n```" + } + ] + } + ] + }, + "parameters": [ { - "type": "reference", - "target": 3165, - "name": "FilterableCurrencyProps", - "package": "@medusajs/types" + "id": 1751, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 1964, + "name": "CreateCustomerDTO", + "package": "@medusajs/types" + } + }, + { + "id": 1752, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1696, + "name": "CustomerDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } } ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } - }, - { - "id": 3168, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ + }, + { + "id": 1753, + "name": "update", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "type": "reference", - "target": 3165, - "name": "FilterableCurrencyProps", - "package": "@medusajs/types" + "id": 1754, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing customer." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated customer." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst customer = await customerModuleService.update(\n \"cus_123\",\n {\n first_name: \"Matt\",\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1755, + "name": "customerId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1756, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The updatable fields of a customer." + } + ] + }, + "type": { + "type": "reference", + "target": 1981, + "name": "CustomerUpdatableFields", + "package": "@medusajs/types" + } + }, + { + "id": 1757, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1696, + "name": "CustomerDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } }, { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 1758, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing customers." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated customers." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst customers = await customerModuleService.update(\n [\"cus_123\", \"cus_321\"],\n {\n company_name: \"Acme\",\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ { - "type": "reference", - "target": 3165, - "name": "FilterableCurrencyProps", - "package": "@medusajs/types" + "id": 1759, + "name": "customerIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of customers to update." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1760, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the customers." + } + ] + }, + "type": { + "type": "reference", + "target": 1981, + "name": "CustomerUpdatableFields", + "package": "@medusajs/types" + } + }, + { + "id": 1761, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 1696, + "name": "CustomerDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1762, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing customers." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated customers." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst customers = await customerModuleService.update(\n { company_name: \"Acme\" },\n {\n company_name: \"Acme Inc.\",\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1763, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters that specify which API keys should be updated." + } + ] + }, + "type": { + "type": "reference", + "target": 1662, + "name": "FilterableCustomerProps", + "package": "@medusajs/types" + } + }, + { + "id": 1764, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the customers." + } + ] + }, + "type": { + "type": "reference", + "target": 1981, + "name": "CustomerUpdatableFields", + "package": "@medusajs/types" + } + }, + { + "id": 1765, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 1696, + "name": "CustomerDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } } ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - }, - { - "id": 3166, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The codes to filter the currencies by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3167, - 3168, - 3166 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 3165, - "name": "FilterableCurrencyProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 3169, - "name": "MoneyAmountDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A money amount's data. A money amount represents a price." - } - ] - }, - "children": [ - { - "id": 3170, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3171, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The currency code of this money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3172, - "name": "currency", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The money amount's currency." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "reference", - "target": 3150, - "name": "CurrencyDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3173, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price of this money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3174, - "name": "min_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The minimum quantity required to be purchased for this price to be applied." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3175, - "name": "max_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The maximum quantity required to be purchased for this price to be applied." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3176, - "name": "price_set_money_amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The details of the relation between the money amount and its associated price set." - } - ] - }, - "type": { - "type": "reference", - "target": 3310, - "name": "PriceSetMoneyAmountDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3177, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the money_amount was created." - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - }, - { - "id": 3178, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the money_amount was updated." - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" }, - "name": "Date", - "package": "typescript" - } - }, - { - "id": 3179, - "name": "deleted_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the money_amount was deleted." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3170, - 3171, - 3172, - 3173, - 3174, - 3175, - 3176, - 3177, - 3178, - 3179 - ] - } - ] - }, - { - "id": 3180, - "name": "CreateMoneyAmountDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The money amount to create." - } - ] - }, - "children": [ - { - "id": 3181, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3182, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The currency code of this money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3183, - "name": "currency", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The currency of this money amount." - } - ] - }, - "type": { - "type": "reference", - "target": 3155, - "name": "CreateCurrencyDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3184, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The amount of this money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3185, - "name": "min_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The minimum quantity required to be purchased for this money amount to be applied." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 3186, - "name": "max_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The maximum quantity required to be purchased for this money amount to be applied." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3181, - 3182, - 3183, - 3184, - 3185, - 3186 - ] - } - ], - "extendedBy": [ - { - "type": "reference", - "target": 3284, - "name": "CreatePricesDTO" - }, - { - "type": "reference", - "target": 3416, - "name": "PriceListPriceDTO" - } - ] - }, - { - "id": 3187, - "name": "UpdateMoneyAmountDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The data to update in a money amount. The " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " is used to identify which money amount to update." - } - ] - }, - "children": [ - { - "id": 3188, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the money amount to update." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3189, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The code of the currency to associate with the money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3190, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price of this money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3191, - "name": "min_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The minimum quantity required to be purchased for this money amount to be applied." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3192, - "name": "max_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The maximum quantity required to be purchased for this money amount to be applied." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3188, - 3189, - 3190, - 3191, - 3192 - ] - } - ] - }, - { - "id": 3193, - "name": "FilterableMoneyAmountProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filters to apply on a money amount." - } - ] - }, - "children": [ - { - "id": 3196, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ + { + "id": 1766, + "name": "delete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "type": "reference", - "target": 3193, - "name": "FilterableMoneyAmountProps", - "package": "@medusajs/types" + "id": 1767, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a customer by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the customer is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait customerModuleService.delete(\"cus_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1768, + "name": "customerId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1769, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } }, { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 1770, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes customers by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the customers are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait customerModuleService.delete([\"cus_123\", \"cus_321\"])\n```" + } + ] + } + ] + }, + "parameters": [ { - "type": "reference", - "target": 3193, - "name": "FilterableMoneyAmountProps", - "package": "@medusajs/types" + "id": 1771, + "name": "customerIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of customers." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1772, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } - }, - { - "id": 3197, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3193, - "name": "FilterableMoneyAmountProps", - "package": "@medusajs/types" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } }, { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 1773, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a customer matching the specified filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the customers are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait customerModuleService.delete({\n id: [\"cus_123\"],\n})\n```" + } + ] + } + ] + }, + "parameters": [ { - "type": "reference", - "target": 3193, - "name": "FilterableMoneyAmountProps", - "package": "@medusajs/types" + "id": 1774, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters that specify which customers should be deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 1662, + "name": "FilterableCustomerProps", + "package": "@medusajs/types" + } + }, + { + "id": 1775, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } } ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - }, - { - "id": 3194, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "IDs to filter money amounts by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3195, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Currency codes to filter money amounts by." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3196, - 3197, - 3194, - 3195 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ + }, { - "type": "reference", - "target": 3193, - "name": "FilterableMoneyAmountProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 3398, - "name": "PriceListStatus", - "variant": "declaration", - "kind": 8, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's status." - } - ] - }, - "children": [ - { - "id": 3399, - "name": "ACTIVE", - "variant": "declaration", - "kind": 16, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list is enabled and its prices can be used." - } - ] - }, - "type": { - "type": "literal", - "value": "active" - } - }, - { - "id": 3400, - "name": "DRAFT", - "variant": "declaration", - "kind": 16, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list is disabled, meaning its prices can't be used yet." - } - ] - }, - "type": { - "type": "literal", - "value": "draft" - } - } - ], - "groups": [ - { - "title": "Enumeration Members", - "children": [ - 3399, - 3400 - ] - } - ] - }, - { - "id": 3401, - "name": "PriceListType", - "variant": "declaration", - "kind": 8, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's type." - } - ] - }, - "children": [ - { - "id": 3402, - "name": "SALE", - "variant": "declaration", - "kind": 16, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's prices are used for a sale." - } - ] - }, - "type": { - "type": "literal", - "value": "sale" - } - }, - { - "id": 3403, - "name": "OVERRIDE", - "variant": "declaration", - "kind": 16, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's prices override original prices. This affects the calculated price of associated price sets." - } - ] - }, - "type": { - "type": "literal", - "value": "override" - } - } - ], - "groups": [ - { - "title": "Enumeration Members", - "children": [ - 3402, - 3403 - ] - } - ] - }, - { - "id": 3404, - "name": "PriceListDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A price list's details." - } - ] - }, - "children": [ - { - "id": 3405, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's ID." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3406, - "name": "title", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's title." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3407, - "name": "starts_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list is enabled starting from this date." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 3408, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's status." - } - ] - }, - "type": { - "type": "reference", - "target": 3398, - "name": "PriceListStatus", - "package": "@medusajs/types" - } - }, - { - "id": 3409, - "name": "ends_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list expires after this date." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 3410, - "name": "rules_count", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The number of rules associated with this price list." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3411, - "name": "price_set_money_amounts", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated price set money amounts." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3310, - "name": "PriceSetMoneyAmountDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 3412, - "name": "money_amounts", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated money amounts." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3169, - "name": "MoneyAmountDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 3413, - "name": "rule_types", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated rule types." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3377, - "name": "RuleTypeDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 3414, - "name": "rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price set's rules." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3467, - "name": "PriceListRuleDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 3415, - "name": "price_list_rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price set's rules." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3467, - "name": "PriceListRuleDTO", - "package": "@medusajs/types" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3405, - 3406, - 3407, - 3408, - 3409, - 3410, - 3411, - 3412, - 3413, - 3414, - 3415 - ] - } - ] - }, - { - "id": 3416, - "name": "PriceListPriceDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The prices associated with a price list." - } - ] - }, - "children": [ - { - "id": 3419, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 3181, - "name": "CreateMoneyAmountDTO.id" - } - }, - { - "id": 3420, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The currency code of this money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 3182, - "name": "CreateMoneyAmountDTO.currency_code" - } - }, - { - "id": 3421, - "name": "currency", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The currency of this money amount." - } - ] - }, - "type": { - "type": "reference", - "target": 3155, - "name": "CreateCurrencyDTO", - "package": "@medusajs/types" - }, - "inheritedFrom": { - "type": "reference", - "target": 3183, - "name": "CreateMoneyAmountDTO.currency" - } - }, - { - "id": 3422, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The amount of this money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "target": 3184, - "name": "CreateMoneyAmountDTO.amount" - } - }, - { - "id": 3423, - "name": "min_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The minimum quantity required to be purchased for this money amount to be applied." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "target": 3185, - "name": "CreateMoneyAmountDTO.min_quantity" - } - }, - { - "id": 3424, - "name": "max_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The maximum quantity required to be purchased for this money amount to be applied." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "target": 3186, - "name": "CreateMoneyAmountDTO.max_quantity" - } - }, - { - "id": 3417, - "name": "price_set_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated price set." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3418, - "name": "rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rules to add to the price. The object's keys are rule types' " - }, - { - "kind": "code", - "text": "`rule_attribute`" - }, - { - "kind": "text", - "text": " attribute, and values are the value of that rule associated with this price." - } - ] - }, - "type": { - "type": "reference", - "target": 3425, - "name": "CreatePriceSetPriceRules", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3419, - 3420, - 3421, - 3422, - 3423, - 3424, - 3417, - 3418 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 3180, - "name": "CreateMoneyAmountDTO", - "package": "@medusajs/types" - } - ] - }, - { - "id": 3425, - "name": "CreatePriceSetPriceRules", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price rules to be set for each price in the price set.\n\nEach key of the object is a rule type's " - }, - { - "kind": "code", - "text": "`rule_attribute`" - }, - { - "kind": "text", - "text": ", and its value\nis the values of the rule." - } - ] - }, - "extendedTypes": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" + "id": 1776, + "name": "createCustomerGroup", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 1777, + "name": "createCustomerGroup", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates customer groups." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created customer groups." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst customerGroup =\n await customerModuleService.createCustomerGroup([\n {\n name: \"VIP\",\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1778, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer groups to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1996, + "name": "CreateCustomerGroupDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 1779, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 1678, + "name": "CustomerGroupDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1780, + "name": "createCustomerGroup", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a customer group." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created customer group." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst customerGroup =\n await customerModuleService.createCustomerGroup({\n name: \"VIP\",\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1781, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer group to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 1996, + "name": "CreateCustomerGroupDTO", + "package": "@medusajs/types" + } + }, + { + "id": 1782, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1678, + "name": "CustomerGroupDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] }, { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - } - ] - }, - { - "id": 3426, - "name": "CreatePriceListRules", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's rules to be set. Each key of the object is a rule type's " - }, - { - "kind": "code", - "text": "`rule_attribute`" - }, - { - "kind": "text", - "text": ", and its value\nis the values of the rule." - } - ] - }, - "extendedTypes": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" + "id": 1783, + "name": "retrieveCustomerGroup", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 1784, + "name": "retrieveCustomerGroup", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a customer group by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved customer group." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst customerGroup =\n await customerModuleService.retrieve(\"cusgroup_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1785, + "name": "groupId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer group's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1786, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the customer group is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a customer group." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 1678, + "name": "CustomerGroupDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 1787, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1678, + "name": "CustomerGroupDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] }, { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ], - "name": "Record", - "package": "typescript" - } - ] - }, - { - "id": 3427, - "name": "CreatePriceListDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list to create." - } - ] - }, - "children": [ - { - "id": 3428, - "name": "title", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's title." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3429, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's description." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3430, - "name": "starts_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list is enabled starting from this date." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - } - }, - { - "id": 3431, - "name": "ends_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list expires after this date." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - } - }, - { - "id": 3432, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's status." - } - ] - }, - "type": { - "type": "reference", - "target": 3398, - "name": "PriceListStatus", - "package": "@medusajs/types" - } - }, - { - "id": 3433, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's type." - } - ] - }, - "type": { - "type": "reference", - "target": 3401, - "name": "PriceListType", - "package": "@medusajs/types" - } - }, - { - "id": 3434, - "name": "rules_count", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The number of rules associated with the price list." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3435, - "name": "rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rules to be created and associated with the price list." - } - ] - }, - "type": { - "type": "reference", - "target": 3426, - "name": "CreatePriceListRules", - "package": "@medusajs/types" - } - }, - { - "id": 3436, - "name": "prices", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The prices associated with the price list." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3416, - "name": "PriceListPriceDTO", - "package": "@medusajs/types" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3428, - 3429, - 3430, - 3431, - 3432, - 3433, - 3434, - 3435, - 3436 - ] - } - ] - }, - { - "id": 3437, - "name": "UpdatePriceListDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The attributes to update in a price list." - } - ] - }, - "children": [ - { - "id": 3438, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the price list to update." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3439, - "name": "title", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's title." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3440, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's description." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3441, - "name": "starts_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list is enabled starting from this date." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - } - }, - { - "id": 3442, - "name": "ends_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list expires after this date." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - } - }, - { - "id": 3443, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's status." - } - ] - }, - "type": { - "type": "reference", - "target": 3398, - "name": "PriceListStatus", - "package": "@medusajs/types" - } - }, - { - "id": 3444, - "name": "rules_count", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The number of rules associated with the price list." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3445, - "name": "rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rules to be created and associated with the price list." - } - ] - }, - "type": { - "type": "reference", - "target": 3426, - "name": "CreatePriceListRules", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3438, - 3439, - 3440, - 3441, - 3442, - 3443, - 3444, - 3445 - ] - } - ] - }, - { - "id": 3446, - "name": "FilterablePriceListProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filters to apply on price lists." - } - ] - }, - "children": [ - { - "id": 3452, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3446, - "name": "FilterablePriceListProps", - "package": "@medusajs/types" - }, + "id": 1788, + "name": "updateCustomerGroups", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 1789, + "name": "updateCustomerGroups", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing customer group." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated customer group." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst customerGroup =\n await customerModuleService.updateCustomerGroups(\n \"cusgroup_123\",\n {\n name: \"Very Important\",\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ { - "type": "reference", - "target": 3446, - "name": "FilterablePriceListProps", - "package": "@medusajs/types" + "id": 1790, + "name": "groupId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The group's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1791, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the customer group." + } + ] + }, + "type": { + "type": "reference", + "target": 1988, + "name": "CustomerGroupUpdatableFields", + "package": "@medusajs/types" + } + }, + { + "id": 1792, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } - }, - { - "id": 3453, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3446, - "name": "FilterablePriceListProps", - "package": "@medusajs/types" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1678, + "name": "CustomerGroupDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } }, { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 1793, + "name": "updateCustomerGroups", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing customer groups." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated customer groups." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst customerGroups =\n await customerModuleService.updateCustomerGroups(\n [\"cusgroup_123\", \"cusgroup_321\"],\n {\n name: \"Very Important\",\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ { - "type": "reference", - "target": 3446, - "name": "FilterablePriceListProps", - "package": "@medusajs/types" + "id": 1794, + "name": "groupIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of customer groups." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1795, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the customer groups." + } + ] + }, + "type": { + "type": "reference", + "target": 1988, + "name": "CustomerGroupUpdatableFields", + "package": "@medusajs/types" + } + }, + { + "id": 1796, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - }, - { - "id": 3447, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IDs to filter price lists by" - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3448, - "name": "starts_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The start dates to filter price lists by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3449, - "name": "ends_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The end dates to filter price lists by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3450, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The statuses to filter price lists by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3398, - "name": "PriceListStatus", - "package": "@medusajs/types" - } - } - }, - { - "id": 3451, - "name": "rules_count", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The number of rules to filter price lists by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "number" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3452, - 3453, - 3447, - 3448, - 3449, - 3450, - 3451 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 3446, - "name": "FilterablePriceListProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 3454, - "name": "FilterablePriceListRuleProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filters to apply on price list rules." - } - ] - }, - "children": [ - { - "id": 3459, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3454, - "name": "FilterablePriceListRuleProps", - "package": "@medusajs/types" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 1678, + "name": "CustomerGroupDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } }, { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 1797, + "name": "updateCustomerGroups", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing customer groups." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated customer groups." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst customerGroups =\n await customerModuleService.updateCustomerGroups(\n {\n name: \"VIP\",\n },\n {\n name: \"Very Important\",\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ { - "type": "reference", - "target": 3454, - "name": "FilterablePriceListRuleProps", - "package": "@medusajs/types" + "id": 1798, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters that specify which customer groups should be updates." + } + ] + }, + "type": { + "type": "reference", + "target": 1641, + "name": "FilterableCustomerGroupProps", + "package": "@medusajs/types" + } + }, + { + "id": 1799, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the customer groups." + } + ] + }, + "type": { + "type": "reference", + "target": 1988, + "name": "CustomerGroupUpdatableFields", + "package": "@medusajs/types" + } + }, + { + "id": 1800, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 1678, + "name": "CustomerGroupDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } } ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } - }, - { - "id": 3460, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ + }, + { + "id": 1801, + "name": "deleteCustomerGroups", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "type": "reference", - "target": 3454, - "name": "FilterablePriceListRuleProps", - "package": "@medusajs/types" + "id": 1802, + "name": "deleteCustomerGroups", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a customer group by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the customer group is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait customerModuleService.deleteCustomerGroups(\n \"cusgroup_123\"\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1803, + "name": "groupId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer group's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1804, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } }, { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 1805, + "name": "deleteCustomerGroups", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes customer groups by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the customer groups are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait customerModuleService.deleteCustomerGroups([\n \"cusgroup_123\",\n \"cusgroup_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ { - "type": "reference", - "target": 3454, - "name": "FilterablePriceListRuleProps", - "package": "@medusajs/types" + "id": 1806, + "name": "groupIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of customer groups." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1807, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1808, + "name": "deleteCustomerGroups", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes customer groups matching the specified filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the customer groups are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait customerModuleService.deleteCustomerGroups({\n name: \"VIP\",\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1809, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters that specify which customer group to delete." + } + ] + }, + "type": { + "type": "reference", + "target": 1641, + "name": "FilterableCustomerGroupProps", + "package": "@medusajs/types" + } + }, + { + "id": 1810, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } } ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - }, - { - "id": 3455, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IDs to filter price list rules by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3456, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The values to filter price list rules by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3457, - "name": "rule_type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filter price list rules by the ID of their associated rule types." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3458, - "name": "price_list_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filter price list rules by the ID of their associated price lists." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3459, - 3460, - 3455, - 3456, - 3457, - 3458 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ + }, { - "type": "reference", - "target": 3454, - "name": "FilterablePriceListRuleProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 3461, - "name": "FilterablePriceListRuleValueProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." - } - ] - }, - "children": [ - { - "id": 3465, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ + "id": 1811, + "name": "addCustomerToGroup", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "type": "reference", - "target": 3461, - "name": "FilterablePriceListRuleValueProps", - "package": "@medusajs/types" + "id": 1812, + "name": "addCustomerToGroup", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds a customer to a group." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The ID of the relation between the customer and the group." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst customerGroupCustomerId =\n await customerModuleService.addCustomerToGroup({\n customer_id: \"cus_123\",\n customer_group_id: \"cus_321\",\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1813, + "name": "groupCustomerPair", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the customer and the group it should be added to." + } + ] + }, + "type": { + "type": "reference", + "target": 1716, + "name": "GroupCustomerPair", + "package": "@medusajs/types" + } + }, + { + "id": 1814, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1815, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1816, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the relation between the customer and the group." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1816 + ] + } + ] + } + } + ], + "name": "Promise", + "package": "typescript" + } }, { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 1817, + "name": "addCustomerToGroup", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds customers to groups." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The IDs of the relations between each of the customer and group pairs." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst customerGroupCustomerIds =\n await customerModuleService.addCustomerToGroup([\n {\n customer_id: \"cus_123\",\n customer_group_id: \"cus_321\",\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ { - "type": "reference", - "target": 3461, - "name": "FilterablePriceListRuleValueProps", - "package": "@medusajs/types" + "id": 1818, + "name": "groupCustomerPairs", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A list of items, each being the details of a customer and the group it should be added to." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1716, + "name": "GroupCustomerPair", + "package": "@medusajs/types" + } + } + }, + { + "id": 1819, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 1820, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1821, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the relation between the customer and the group." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1821 + ] + } + ] + } + } + } + ], + "name": "Promise", + "package": "typescript" + } } ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } - }, - { - "id": 3466, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ + }, + { + "id": 1822, + "name": "removeCustomerFromGroup", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "type": "reference", - "target": 3461, - "name": "FilterablePriceListRuleValueProps", - "package": "@medusajs/types" + "id": 1823, + "name": "removeCustomerFromGroup", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method removes a customer from a group." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the customer is removed from the group successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait customerModuleService.removeCustomerFromGroup({\n customer_id: \"cus_123\",\n customer_group_id: \"cus_321\",\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1824, + "name": "groupCustomerPair", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the customer and the group it should be removed from." + } + ] + }, + "type": { + "type": "reference", + "target": 1716, + "name": "GroupCustomerPair", + "package": "@medusajs/types" + } + }, + { + "id": 1825, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } }, { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 1826, + "name": "removeCustomerFromGroup", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method removes customers from groups." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the customers are removed from the groups successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait customerModuleService.removeCustomerFromGroup([\n {\n customer_id: \"cus_123\",\n customer_group_id: \"cus_321\",\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ { - "type": "reference", - "target": 3461, - "name": "FilterablePriceListRuleValueProps", - "package": "@medusajs/types" + "id": 1827, + "name": "groupCustomerPairs", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A list of items, each being the details of a customer and the group it should be removed from." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1716, + "name": "GroupCustomerPair", + "package": "@medusajs/types" + } + } + }, + { + "id": 1828, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } } ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - }, - { - "id": 3462, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3463, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3464, - "name": "price_list_rule_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3465, - 3466, - 3462, - 3463, - 3464 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ + }, { - "type": "reference", - "target": 3461, - "name": "FilterablePriceListRuleValueProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 3467, - "name": "PriceListRuleDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list rule's details." - } - ] - }, - "children": [ - { - "id": 3468, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list rule's ID." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3469, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value of the rule." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3470, - "name": "rule_type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated rule type." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "reference", - "target": 3377, - "name": "RuleTypeDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3471, - "name": "price_list", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated price list." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "reference", - "target": 3404, - "name": "PriceListDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3472, - "name": "price_list_rule_values", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated rule values." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3484, - "name": "PriceListRuleValueDTO", - "package": "@medusajs/types" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3468, - 3469, - 3470, - 3471, - 3472 - ] - } - ] - }, - { - "id": 3473, - "name": "CreatePriceListRuleDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list rule to create." - } - ] - }, - "children": [ - { - "id": 3474, - "name": "rule_type_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of a rule type to be associated with the price list rule." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3475, - "name": "rule_type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of a rule type or the details of an existing rule type to be associated with the price list rule." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 3377, - "name": "RuleTypeDTO", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 3476, - "name": "price_list_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of a price list to be associated with the price list rule." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3477, - "name": "price_list", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of a price list or the details of an existing price list to be associated with the price list rule." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 3404, - "name": "PriceListDTO", - "package": "@medusajs/types" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3474, - 3475, - 3476, - 3477 - ] - } - ] - }, - { - "id": 3478, - "name": "UpdatePriceListRuleDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The attributes to update in a price list rule." - } - ] - }, - "children": [ - { - "id": 3479, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the price list rule to update." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3480, - "name": "price_list_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of a price list to be associated with the price list rule." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3481, - "name": "rule_type_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of a rule type to be associated with the price list rule." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3482, - "name": "price_list", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of a price list to be associated with the price list rule." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3483, - "name": "rule_type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of a rule type or the details of an existing rule type to be associated with the price list rule." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3479, - 3480, - 3481, - 3482, - 3483 - ] - } - ] - }, - { - "id": 3484, - "name": "PriceListRuleValueDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list rule value's details." - } - ] - }, - "children": [ - { - "id": 3485, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list rule value's ID." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3486, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rule's value." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3487, - "name": "price_list_rule", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated price list rule." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "reference", - "target": 3467, - "name": "PriceListRuleDTO", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3485, - 3486, - 3487 - ] - } - ] - }, - { - "id": 3488, - "name": "CreatePriceListRuleValueDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3489, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3490, - "name": "price_list_rule_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3491, - "name": "price_list_rule", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 3467, - "name": "PriceListRuleDTO", - "package": "@medusajs/types" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3489, - 3490, - 3491 - ] - } - ] - }, - { - "id": 3492, - "name": "UpdatePriceListRuleValueDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3493, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3494, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3495, - "name": "price_list_rule_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3493, - 3494, - 3495 - ] - } - ] - }, - { - "id": 3496, - "name": "AddPriceListPricesDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The prices to be added to a price list." - } - ] - }, - "children": [ - { - "id": 3497, - "name": "priceListId", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the price list to add prices to." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3498, - "name": "prices", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The prices to add." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3416, - "name": "PriceListPriceDTO", - "package": "@medusajs/types" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3497, - 3498 - ] - } - ] - }, - { - "id": 3499, - "name": "SetPriceListRulesDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rules to add to a price list." - } - ] - }, - "children": [ - { - "id": 3500, - "name": "priceListId", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the price list to add rules to." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3501, - "name": "rules", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rules to add to the price list. Each key of the object is a rule type's " - }, - { - "kind": "code", - "text": "`rule_attribute`" - }, - { - "kind": "text", - "text": ", and its value\nis the value(s) of the rule." - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" + "id": 1829, + "name": "addAddresses", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 1830, + "name": "addAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds addresses to customers." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of created addresses." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst addresses = await customerModuleService.addAddresses([\n {\n customer_id: \"cus_123\",\n address_name: \"Home\",\n address_1: \"432 Stierlin Rd\",\n city: \"Mountain View\",\n country_code: \"us\",\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1831, + "name": "addresses", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A list of items, each being the details of the address to add to a customer." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 1931, + "name": "CreateCustomerAddressDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 1832, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 1599, + "name": "CustomerAddressDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1833, + "name": "addAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds an address to a customer." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created address." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst address = await customerModuleService.addAddresses({\n customer_id: \"cus_123\",\n address_name: \"Home\",\n address_1: \"432 Stierlin Rd\",\n city: \"Mountain View\",\n country_code: \"us\",\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1834, + "name": "address", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the address to add to a customer." + } + ] + }, + "type": { + "type": "reference", + "target": 1931, + "name": "CreateCustomerAddressDTO", + "package": "@medusajs/types" + } + }, + { + "id": 1835, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1599, + "name": "CustomerAddressDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + { + "id": 1836, + "name": "updateAddresses", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 1837, + "name": "updateAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an address." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated address." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst address = await customerModuleService.updateAddresses(\n \"cuaddr_123\",\n {\n first_name: \"John\",\n last_name: \"Smith\",\n }\n)\n```" + } + ] + } + ] }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" + "parameters": [ + { + "id": 1838, + "name": "addressId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1839, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the address." + } + ] + }, + "type": { + "type": "reference", + "target": 1947, + "name": "UpdateCustomerAddressDTO", + "package": "@medusajs/types" + } + }, + { + "id": 1840, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1599, + "name": "CustomerAddressDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" } - ] - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3500, - 3501 - ] - } - ] - }, - { - "id": 3502, - "name": "RemovePriceListRulesDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rules to remove from a price list." - } - ] - }, - "children": [ - { - "id": 3503, - "name": "priceListId", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the price list to remove rules from." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3504, - "name": "rules", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rules to remove from the price list. Each item being a rule type's " - }, - { - "kind": "code", - "text": "`rule_attribute`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3503, - 3504 - ] - } - ] - }, - { - "id": 3198, - "name": "PriceRuleDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A price rule's data." - } - ] - }, - "children": [ - { - "id": 3199, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the price rule." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3200, - "name": "price_set_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated price set." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3201, - "name": "price_set", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated price set." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "reference", - "target": 3245, - "name": "PriceSetDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3202, - "name": "rule_type_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated rule type." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3203, - "name": "rule_type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated rule type." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "reference", - "target": 3377, - "name": "RuleTypeDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3204, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value of the price rule." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3205, - "name": "priority", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The priority of the price rule in comparison to other applicable price rules." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3206, - "name": "price_set_money_amount_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated price set money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3207, - "name": "price_list_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated price list." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3208, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the price_rule was created." - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - }, - { - "id": 3209, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the price_rule was updated." - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - }, - { - "id": 3210, - "name": "deleted_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the price_rule was deleted." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3199, - 3200, - 3201, - 3202, - 3203, - 3204, - 3205, - 3206, - 3207, - 3208, - 3209, - 3210 - ] - } - ] - }, - { - "id": 3211, - "name": "CreatePriceRuleDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A price rule to create." - } - ] - }, - "children": [ - { - "id": 3212, - "name": "price_set_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated price set." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3213, - "name": "price_set", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID or object of the associated price set." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 3245, - "name": "PriceSetDTO", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 3214, - "name": "rule_type_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated rule type." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3215, - "name": "rule_type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated rule type." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 3377, - "name": "RuleTypeDTO", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 3216, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value of the price rule." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3217, - "name": "priority", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The priority of the price rule in comparison to other applicable price rules." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3218, - "name": "price_set_money_amount_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated price set money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3219, - "name": "price_set_money_amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID or object of the associated price set money amount." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 3310, - "name": "PriceSetMoneyAmountDTO", - "package": "@medusajs/types" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3212, - 3213, - 3214, - 3215, - 3216, - 3217, - 3218, - 3219 - ] - } - ] - }, - { - "id": 3220, - "name": "UpdatePriceRuleDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The data to update in a price rule. The " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " is used to identify which money amount to update." - } - ] - }, - "children": [ - { - "id": 3221, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3222, - "name": "price_set_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3223, - "name": "rule_type_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3224, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value of the price rule." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3225, - "name": "priority", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The priority of the price rule in comparison to other applicable price rules." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3226, - "name": "price_set_money_amount_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated price set money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3227, - "name": "price_list_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated price list." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3221, - 3222, - 3223, - 3224, - 3225, - 3226, - 3227 - ] - } - ] - }, - { - "id": 3228, - "name": "FilterablePriceRuleProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filters to apply on price rules." - } - ] - }, - "children": [ - { - "id": 3233, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3228, - "name": "FilterablePriceRuleProps", - "package": "@medusajs/types" }, { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 1841, + "name": "updateAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing addresses." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated addresses." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst addresses = await customerModuleService.updateAddresses(\n [\"cuaddr_123\", \"cuaddr_321\"],\n {\n first_name: \"John\",\n last_name: \"Smith\",\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ { - "type": "reference", - "target": 3228, - "name": "FilterablePriceRuleProps", - "package": "@medusajs/types" + "id": 1842, + "name": "addressIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of addresses to update." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1843, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the addresses." + } + ] + }, + "type": { + "type": "reference", + "target": 1947, + "name": "UpdateCustomerAddressDTO", + "package": "@medusajs/types" + } + }, + { + "id": 1844, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } - }, - { - "id": 3234, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3228, - "name": "FilterablePriceRuleProps", - "package": "@medusajs/types" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 1599, + "name": "CustomerAddressDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } }, { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 1845, + "name": "updateAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing addresses matching the specified filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated addresses." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst addresses = await customerModuleService.updateAddresses(\n { first_name: \"John\" },\n {\n last_name: \"Smith\",\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ { - "type": "reference", - "target": 3228, - "name": "FilterablePriceRuleProps", - "package": "@medusajs/types" + "id": 1846, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters that specify which address should be updated." + } + ] + }, + "type": { + "type": "reference", + "target": 1618, + "name": "FilterableCustomerAddressProps", + "package": "@medusajs/types" + } + }, + { + "id": 1847, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the addresses." + } + ] + }, + "type": { + "type": "reference", + "target": 1947, + "name": "UpdateCustomerAddressDTO", + "package": "@medusajs/types" + } + }, + { + "id": 1848, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 1599, + "name": "CustomerAddressDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } } ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - }, - { - "id": 3229, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IDs to filter price rules by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3230, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The names to filter price rules by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3231, - "name": "price_set_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IDs to filter the price rule's associated price set." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3232, - "name": "rule_type_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IDs to filter the price rule's associated rule type." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3233, - 3234, - 3229, - 3230, - 3231, - 3232 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ + }, { - "type": "reference", - "target": 3228, - "name": "FilterablePriceRuleProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 3338, - "name": "PriceSetMoneyAmountRulesDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A price set money amount rule's data." - } - ] - }, - "children": [ - { - "id": 3339, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the price set money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3340, - "name": "price_set_money_amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated price set money amount." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "reference", - "target": 3310, - "name": "PriceSetMoneyAmountDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3341, - "name": "rule_type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated rule type." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "reference", - "target": 3377, - "name": "RuleTypeDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3342, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value of the price set money amount rule." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3339, - 3340, - 3341, - 3342 - ] - } - ] - }, - { - "id": 3343, - "name": "CreatePriceSetMoneyAmountRulesDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price set money amount rule to create." - } - ] - }, - "children": [ - { - "id": 3344, - "name": "price_set_money_amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of a price set money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3345, - "name": "rule_type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of a rule type." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3346, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value of the price set money amount rule." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3344, - 3345, - 3346 - ] - } - ] - }, - { - "id": 3347, - "name": "UpdatePriceSetMoneyAmountRulesDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The data to update in a price set money amount rule. The " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " is used to identify which money amount to update." - } - ] - }, - "children": [ - { - "id": 3348, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the price set money amount rule to update." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3349, - "name": "price_set_money_amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of a price set money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3350, - "name": "rule_type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of a rule type." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3351, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value of the price set money amount rule." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3348, - 3349, - 3350, - 3351 - ] - } - ] - }, - { - "id": 3352, - "name": "FilterablePriceSetMoneyAmountRulesProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filters to apply on price set money amount rules." - } - ] - }, - "children": [ - { - "id": 3357, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ + "id": 1849, + "name": "deleteAddresses", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "type": "reference", - "target": 3352, - "name": "FilterablePriceSetMoneyAmountRulesProps", - "package": "@medusajs/types" + "id": 1850, + "name": "deleteAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes an address by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the address is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait customerModuleService.deleteAddresses(\"cuaddr_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1851, + "name": "addressId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1852, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } }, { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 1853, + "name": "deleteAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes addresses by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the addresses are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait customerModuleService.deleteAddresses([\n \"cuaddr_123\",\n \"cuaddr_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ { - "type": "reference", - "target": 3352, - "name": "FilterablePriceSetMoneyAmountRulesProps", - "package": "@medusajs/types" + "id": 1854, + "name": "addressIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of addresses." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1855, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 1856, + "name": "deleteAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes addresses matching the specified filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the addresses are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait customerModuleService.deleteAddresses({\n first_name: \"John\",\n last_name: \"Smith\",\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1857, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters that specify which addresses should be deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 1618, + "name": "FilterableCustomerAddressProps", + "package": "@medusajs/types" + } + }, + { + "id": 1858, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } } ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } - }, - { - "id": 3358, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3352, - "name": "FilterablePriceSetMoneyAmountRulesProps", - "package": "@medusajs/types" - }, + }, + { + "id": 1859, + "name": "listAddresses", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 1860, + "name": "listAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of addresses based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of addresses." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of addresses using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst addresses = await customerModuleService.listAddresses({\n id: [\"cuaddr_123\", \"cuaddr_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the addresses:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst addresses = await customerModuleService.listAddresses(\n {\n id: [\"cuaddr_123\", \"cuaddr_321\"],\n },\n {\n relations: [\"customer\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst addresses = await customerModuleService.listAddresses(\n {\n id: [\"cuaddr_123\", \"cuaddr_321\"],\n },\n {\n relations: [\"customer\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ { - "type": "reference", - "target": 3352, - "name": "FilterablePriceSetMoneyAmountRulesProps", - "package": "@medusajs/types" + "id": 1861, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved addresss." + } + ] + }, + "type": { + "type": "reference", + "target": 1618, + "name": "FilterableCustomerAddressProps", + "package": "@medusajs/types" + } + }, + { + "id": 1862, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the address is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a address." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 1599, + "name": "CustomerAddressDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 1863, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 1599, + "name": "CustomerAddressDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } } ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - }, - { - "id": 3353, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID to filter price set money amount rules by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3354, - "name": "rule_type_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IDs to filter the price set money amount rule's associated rule type." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3355, - "name": "price_set_money_amount_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IDs to filter the price set money amount rule's associated price set money amount." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3356, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value to filter price set money amount rules by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3357, - 3358, - 3353, - 3354, - 3355, - 3356 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ + }, { - "type": "reference", - "target": 3352, - "name": "FilterablePriceSetMoneyAmountRulesProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 3310, - "name": "PriceSetMoneyAmountDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A price set money amount's data." - } - ] - }, - "children": [ - { - "id": 3311, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of a price set money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3312, - "name": "title", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The title of the price set money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3313, - "name": "price_set", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price set associated with the price set money amount." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "reference", - "target": 3245, - "name": "PriceSetDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3314, - "name": "price_list", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list associated with the price set money amount." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "reference", - "target": 3404, - "name": "PriceListDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3315, - "name": "price_set_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated price set." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3316, - "name": "price_rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price rules associated with the price set money amount." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3198, - "name": "PriceRuleDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 3317, - "name": "money_amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The money amount associated with the price set money amount." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "reference", - "target": 3169, - "name": "MoneyAmountDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3318, - "name": "created_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the price_set_money_amount was created." - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - }, - { - "id": 3319, - "name": "updated_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the price_set_money_amount was updated." - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - }, - { - "id": 3320, - "name": "deleted_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the price_set_money_amount was deleted." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3311, - 3312, - 3313, - 3314, - 3315, - 3316, - 3317, - 3318, - 3319, - 3320 - ] - } - ] - }, - { - "id": 3321, - "name": "UpdatePriceSetMoneyAmountDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3322, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3323, - "name": "title", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3324, - "name": "price_set", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3245, - "name": "PriceSetDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3325, - "name": "money_amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3169, - "name": "MoneyAmountDTO", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3322, - 3323, - 3324, - 3325 - ] - } - ] - }, - { - "id": 3326, - "name": "CreatePriceSetMoneyAmountDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3327, - "name": "title", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3328, - "name": "price_set", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 3245, - "name": "PriceSetDTO", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 3329, - "name": "price_list", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 3404, - "name": "PriceListDTO", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 3330, - "name": "money_amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 3169, - "name": "MoneyAmountDTO", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 3331, - "name": "rules_count", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3327, - 3328, - 3329, - 3330, - 3331 - ] - } - ] - }, - { - "id": 3332, - "name": "FilterablePriceSetMoneyAmountProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filters to apply on price set money amounts." - } - ] - }, - "children": [ - { - "id": 3336, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3332, - "name": "FilterablePriceSetMoneyAmountProps", - "package": "@medusajs/types" - }, + "id": 1864, + "name": "listAndCountAddresses", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 1865, + "name": "listAndCountAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of addresses along with the total count of available addresses satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of addresses along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of addresses using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [addresses, count] =\n await customerModuleService.listAndCountAddresses({\n id: [\"cuaddr_123\", \"cuaddr_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the addresses:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [addresses, count] =\n await customerModuleService.listAndCountAddresses(\n {\n id: [\"cuaddr_123\", \"cuaddr_321\"],\n },\n {\n relations: [\"customer\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [addresses, count] =\n await customerModuleService.listAndCountAddresses(\n {\n id: [\"cuaddr_123\", \"cuaddr_321\"],\n },\n {\n relations: [\"customer\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ { - "type": "reference", - "target": 3332, - "name": "FilterablePriceSetMoneyAmountProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } - }, - { - "id": 3337, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3332, - "name": "FilterablePriceSetMoneyAmountProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 1866, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved addresss." + } + ] + }, + "type": { + "type": "reference", + "target": 1618, + "name": "FilterableCustomerAddressProps", + "package": "@medusajs/types" + } + }, { - "type": "reference", - "target": 3332, - "name": "FilterablePriceSetMoneyAmountProps", - "package": "@medusajs/types" + "id": 1867, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the address is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a address." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 1599, + "name": "CustomerAddressDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 1868, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 1599, + "name": "CustomerAddressDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } } ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - }, - { - "id": 3333, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IDs to filter the price set money amounts by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3334, - "name": "price_set_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IDs to filter the price set money amount's associated price set." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3335, - "name": "price_list_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IDs to filter the price set money amount's associated price list." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3336, - 3337, - 3333, - 3334, - 3335 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ + }, { - "type": "reference", - "target": 3332, - "name": "FilterablePriceSetMoneyAmountProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 3359, - "name": "PriceSetRuleTypeDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3360, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3361, - "name": "price_set", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 3245, - "name": "PriceSetDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3362, - "name": "rule_type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 3377, - "name": "RuleTypeDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3363, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3360, - 3361, - 3362, - 3363 - ] - } - ] - }, - { - "id": 3364, - "name": "CreatePriceSetRuleTypeDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3365, - "name": "price_set", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 3245, - "name": "PriceSetDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3366, - "name": "rule_type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 3377, - "name": "RuleTypeDTO", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3365, - 3366 - ] - } - ] - }, - { - "id": 3367, - "name": "UpdatePriceSetRuleTypeDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3368, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3369, - "name": "price_set", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3370, - "name": "rule_type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3368, - 3369, - 3370 - ] - } - ] - }, - { - "id": 3371, - "name": "FilterablePriceSetRuleTypeProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." - } - ] - }, - "children": [ - { - "id": 3375, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3371, - "name": "FilterablePriceSetRuleTypeProps", - "package": "@medusajs/types" - }, + "id": 1869, + "name": "listCustomerGroupCustomers", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 1870, + "name": "listCustomerGroupCustomers", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of relations between customer and groups based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of customer-group relations." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of customer-group relations using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst customerGroupCustomerRels =\n await customerModuleService.listCustomerGroupCustomers({\n id: [\"cusgc_123\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the customer-group relations:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst customerGroupCustomerRels =\n await customerModuleService.listCustomerGroupCustomers(\n {\n id: [\"cusgc_123\"],\n },\n {\n relations: [\"customer\", \"customer_group\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst customerGroupCustomerRels =\n await customerModuleService.listCustomerGroupCustomers(\n {\n id: [\"cusgc_123\"],\n },\n {\n relations: [\"customer\", \"customer_group\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ { - "type": "reference", - "target": 3371, - "name": "FilterablePriceSetRuleTypeProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } - }, - { - "id": 3376, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3371, - "name": "FilterablePriceSetRuleTypeProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 1871, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved customer-group relations." + } + ] + }, + "type": { + "type": "reference", + "target": 1651, + "name": "FilterableCustomerGroupCustomerProps", + "package": "@medusajs/types" + } + }, { - "type": "reference", - "target": 3371, - "name": "FilterablePriceSetRuleTypeProps", - "package": "@medusajs/types" + "id": 1872, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the customer-group relations is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a customer-group relations." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 1687, + "name": "CustomerGroupCustomerDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 1873, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 1687, + "name": "CustomerGroupCustomerDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } } ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - }, - { - "id": 3372, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3373, - "name": "rule_type_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3374, - "name": "price_set_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3375, - 3376, - 3372, - 3373, - 3374 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 3371, - "name": "FilterablePriceSetRuleTypeProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 3235, - "name": "PricingRepositoryService", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3236, - "name": "calculatePrices", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3237, - "name": "calculatePrices", - "variant": "signature", - "kind": 4096, + "id": 1874, + "name": "list", + "variant": "declaration", + "kind": 2048, "flags": {}, - "parameters": [ + "signatures": [ { - "id": 3238, - "name": "pricingFilters", - "variant": "param", - "kind": 32768, + "id": 1875, + "name": "list", + "variant": "signature", + "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of customers based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of customers." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of customers using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst customers = await customerModuleService.list({\n id: [\"cus_123\", \"cus_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the customers:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst customers = await customerModuleService.list(\n {\n id: [\"cus_123\", \"cus_321\"],\n },\n {\n relations: [\"groups\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst customers = await customerModuleService.list(\n {\n id: [\"cus_123\", \"cus_321\"],\n },\n {\n relations: [\"groups\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1876, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved customers." + } + ] + }, + "type": { + "type": "reference", + "target": 1662, + "name": "FilterableCustomerProps", + "package": "@medusajs/types" + } + }, + { + "id": 1877, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the customer is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a customer." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 1696, + "name": "CustomerDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 1878, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], "type": { "type": "reference", - "target": 3243, - "name": "PricingFilters", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 1696, + "name": "CustomerDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" } - }, + } + ] + }, + { + "id": 1879, + "name": "listAndCount", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "id": 3239, - "name": "pricingContext", - "variant": "param", - "kind": 32768, + "id": 1880, + "name": "listAndCount", + "variant": "signature", + "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of customers along with the total count of available customers satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of customers along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of customers using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [customers, count] = await customerModuleService.list({\n id: [\"cus_123\", \"cus_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the customers:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [customers, count] = await customerModuleService.list(\n {\n id: [\"cus_123\", \"cus_321\"],\n },\n {\n relations: [\"groups\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [customers, count] = await customerModuleService.list(\n {\n id: [\"cus_123\", \"cus_321\"],\n },\n {\n relations: [\"groups\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1881, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved customers." + } + ] + }, + "type": { + "type": "reference", + "target": 1662, + "name": "FilterableCustomerProps", + "package": "@medusajs/types" + } + }, + { + "id": 1882, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the customer is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a customer." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 1696, + "name": "CustomerDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 1883, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], "type": { "type": "reference", - "target": 3241, - "name": "PricingContext", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 1696, + "name": "CustomerDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" } - }, + } + ] + }, + { + "id": 1884, + "name": "listCustomerGroups", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "id": 3240, - "name": "context", - "variant": "param", - "kind": 32768, + "id": 1885, + "name": "listCustomerGroups", + "variant": "signature", + "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of customer groups based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of customer groups." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of customer groups using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst customerGroups =\n await customerModuleService.listCustomerGroups({\n id: [\"cusgroup_123\", \"cusgroup_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the customer groups:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst customerGroups =\n await customerModuleService.listCustomerGroups(\n {\n id: [\"cusgroup_123\", \"cusgroup_321\"],\n },\n {\n relations: [\"customers\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst customerGroups =\n await customerModuleService.listCustomerGroups(\n {\n id: [\"cusgroup_123\", \"cusgroup_321\"],\n },\n {\n relations: [\"customers\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1886, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved customer groups." + } + ] + }, + "type": { + "type": "reference", + "target": 1641, + "name": "FilterableCustomerGroupProps", + "package": "@medusajs/types" + } + }, + { + "id": 1887, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the customer group is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a customer group." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 1678, + "name": "CustomerGroupDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 1888, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], "type": { "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 1678, + "name": "CustomerGroupDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" } } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 3249, - "name": "CalculatedPriceSetDTO", - "package": "@medusajs/types" + ] + }, + { + "id": 1889, + "name": "listAndCountCustomerGroups", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 1890, + "name": "listAndCountCustomerGroups", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of customer groups along with the total count of available customer groups satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of customer groups along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of customer groups using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [customerGroups, count] =\n await customerModuleService.listCustomerGroups({\n id: [\"cusgroup_123\", \"cusgroup_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the customer groups:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [customerGroups, count] =\n await customerModuleService.listCustomerGroups(\n {\n id: [\"cusgroup_123\", \"cusgroup_321\"],\n },\n {\n relations: [\"customers\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [customerGroups, count] =\n await customerModuleService.listCustomerGroups(\n {\n id: [\"cusgroup_123\", \"cusgroup_321\"],\n },\n {\n relations: [\"customers\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 1891, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved customer groups." + } + ] + }, + "type": { + "type": "reference", + "target": 1641, + "name": "FilterableCustomerGroupProps", + "package": "@medusajs/types" + } + }, + { + "id": 1892, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the customer group is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a customer group." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 1678, + "name": "CustomerGroupDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 1893, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 1678, + "name": "CustomerGroupDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 3236 - ] - } - ] - }, - { - "id": 3241, - "name": "PricingContext", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The context to calculate prices. For example, you can specify the currency code to calculate prices in." - } - ] - }, - "children": [ - { - "id": 3242, - "name": "context", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an object whose keys are the name of the context attribute. Its value can be a string or a number. For example, you can pass the " - }, - { - "kind": "code", - "text": "`currency_code`" - }, - { - "kind": "text", - "text": " property with its value being the currency code to calculate the price in.\nAnother example is passing the " - }, - { - "kind": "code", - "text": "`quantity`" - }, - { - "kind": "text", - "text": " property to calculate the price for that specified quantity, which finds a price set whose " - }, - { - "kind": "code", - "text": "`min_quantity`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`max_quantity`" - }, - { - "kind": "text", - "text": " conditions match the specified quantity." - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" + } + ] }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + { + "id": 1894, + "name": "softDelete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 1895, + "name": "softDelete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes customers by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted, such as the ID of the associated address.\nThe object's keys are the ID attribute names of the customer entity's relations, such as " + }, + { + "kind": "code", + "text": "`address_id`" + }, + { + "kind": "text", + "text": ", and its value is an array of strings, each being the ID of a record associated\nwith the customer through this relation, such as the IDs of associated address.\n\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait customerModuleService.softDelete([\"cus_123\"])\n```" + } + ] + } + ] }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3242 - ] - } - ] - }, - { - "id": 3243, - "name": "PricingFilters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filters to apply on prices." - } - ] - }, - "children": [ - { - "id": 3244, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "IDs to filter prices." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3244 - ] - } - ] - }, - { - "id": 3245, - "name": "PriceSetDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A price set's data." - } - ] - }, - "children": [ - { - "id": 3246, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the price set." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3247, - "name": "money_amounts", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The prices that belong to this price set." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3169, - "name": "MoneyAmountDTO", - "package": "@medusajs/types" + "typeParameter": [ + { + "id": 1896, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 1897, + "name": "customerIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of customers." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1898, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 1896, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 1899, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1896, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1900, + "name": "restore", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 1901, + "name": "restore", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores soft deleted customer by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored.\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait customerModuleService.restore([\"cus_123\"])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 1902, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 1903, + "name": "customerIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of customers." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1904, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the customer. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the customer's relation attribute names, such as " + }, + { + "kind": "code", + "text": "`groups`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 1902, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 1905, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1902, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1906, + "name": "softDeleteCustomerGroups", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 1907, + "name": "softDeleteCustomerGroups", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes customer groups by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted.\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait customerModuleService.softDeleteCustomerGroups([\n \"cusgroup_123\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 1908, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 1909, + "name": "groupIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of customer groups." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1910, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 1908, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 1911, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1908, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 1912, + "name": "restoreCustomerGroups", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 1913, + "name": "restoreCustomerGroups", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores a soft deleted customer group by its IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored.\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait customerModuleService.restoreCustomerGroups([\n \"cusgroup_123\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 1914, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 1915, + "name": "groupIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of customer groups." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 1916, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the customer groups. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the customer group's relation attribute names, such as " + }, + { + "kind": "code", + "text": "`customers`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 1914, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 1917, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1914, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] } - } - }, - { - "id": 3248, - "name": "rule_types", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rule types applied on this price set." - } - ] - }, - "type": { - "type": "array", - "elementType": { + ], + "groups": [ + { + "title": "Methods", + "children": [ + 1741, + 1746, + 1753, + 1766, + 1776, + 1783, + 1788, + 1801, + 1811, + 1822, + 1829, + 1836, + 1849, + 1859, + 1864, + 1869, + 1874, + 1879, + 1884, + 1889, + 1894, + 1900, + 1906, + 1912 + ] + } + ], + "extendedTypes": [ + { "type": "reference", - "target": 3377, - "name": "RuleTypeDTO", + "target": 3404, + "name": "IModuleService", "package": "@medusajs/types" } - } + ] } ], "groups": [ { - "title": "Properties", + "title": "Interfaces", "children": [ - 3246, - 3247, - 3248 + 1599, + 1618, + 1641, + 1651, + 1662, + 1678, + 1687, + 1696, + 1716, + 1719, + 1931, + 1947, + 1964, + 1973, + 1981, + 1988, + 1991, + 1996, + 1740 ] } ] }, { - "id": 3249, - "name": "CalculatedPriceSetDTO", + "id": 2000, + "name": "DAL", "variant": "declaration", - "kind": 256, + "kind": 4, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A calculated price set's data." - } - ] - }, "children": [ { - "id": 3250, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3251, - "name": "price_set_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated price set." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3252, - "name": "amount", + "id": 2178, + "name": "EntityDateColumns", "variant": "declaration", - "kind": 1024, + "kind": 2097152, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The calculated amount. It can possibly be " - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": " if there's no price set up for the provided context." - } - ] - }, "type": { "type": "union", "types": [ { "type": "literal", - "value": null + "value": "created_at" }, { - "type": "intrinsic", - "name": "string" + "type": "literal", + "value": "updated_at" } ] } }, { - "id": 3253, - "name": "currency_code", + "id": 2179, + "name": "SoftDeletableEntityDateColumns", "variant": "declaration", - "kind": 1024, + "kind": 2097152, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The currency code of the calculated price. It can possibly be " - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": "." - } - ] - }, "type": { "type": "union", "types": [ { "type": "literal", - "value": null + "value": "deleted_at" }, { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 2178, + "name": "EntityDateColumns", + "package": "@medusajs/types" } ] } }, { - "id": 3254, - "name": "min_quantity", + "id": 2029, + "name": "BaseFilterable", "variant": "declaration", - "kind": 1024, + "kind": 256, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The minimum quantity required to be purchased for this price to apply. It's set if the " - }, - { - "kind": "code", - "text": "`quantity`" - }, - { - "kind": "text", - "text": " property is provided in the context. Otherwise, its value will be " - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": "." + "text": "An object used to allow specifying flexible queries with and/or conditions." } ] }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 3255, - "name": "max_quantity", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The maximum quantity required to be purchased for this price to apply. It's set if the " - }, - { - "kind": "code", - "text": "`quantity`" - }, - { - "kind": "text", - "text": " property is provided in the context. Otherwise, its value will be " + "children": [ + { + "id": 2030, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "kind": "code", - "text": "`null`" + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] }, - { - "kind": "text", - "text": "." + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2032, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "BaseFilterable.T", + "refersToTypeParameter": true + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2032, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "BaseFilterable.T", + "refersToTypeParameter": true + } + ] + } } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null + }, + { + "id": 2031, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 3256, - "name": "price_list_type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The type of the associated price list, if any." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] }, - { - "type": "intrinsic", - "name": "string" + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2032, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "BaseFilterable.T", + "refersToTypeParameter": true + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2032, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "BaseFilterable.T", + "refersToTypeParameter": true + } + ] + } } - ] - } - }, - { - "id": 3257, - "name": "price_list_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated price list, if any." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3250, - 3251, - 3252, - 3253, - 3254, - 3255, - 3256, - 3257 + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2030, + 2031 + ] + } + ], + "typeParameters": [ + { + "id": 2032, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 28, + "name": "FilterableApiKeyProps" + }, + { + "type": "reference", + "target": 201, + "name": "FilterableAuthUserProps" + }, + { + "type": "reference", + "target": 495, + "name": "FilterableCartProps" + }, + { + "type": "reference", + "target": 504, + "name": "FilterableAddressProps" + }, + { + "type": "reference", + "target": 508, + "name": "FilterableLineItemProps" + }, + { + "type": "reference", + "target": 516, + "name": "FilterableLineItemAdjustmentProps" + }, + { + "type": "reference", + "target": 524, + "name": "FilterableShippingMethodProps" + }, + { + "type": "reference", + "target": 531, + "name": "FilterableShippingMethodAdjustmentProps" + }, + { + "type": "reference", + "target": 539, + "name": "FilterableLineItemTaxLineProps" + }, + { + "type": "reference", + "target": 549, + "name": "FilterableShippingMethodTaxLineProps" + }, + { + "type": "reference", + "target": 1618, + "name": "FilterableCustomerAddressProps" + }, + { + "type": "reference", + "target": 1641, + "name": "FilterableCustomerGroupProps" + }, + { + "type": "reference", + "target": 1651, + "name": "FilterableCustomerGroupCustomerProps" + }, + { + "type": "reference", + "target": 1662, + "name": "FilterableCustomerProps" + }, + { + "type": "reference", + "target": 2328, + "name": "FilterableFulfillmentSetProps" + }, + { + "type": "reference", + "target": 2344, + "name": "FilterableShippingProfileProps" + }, + { + "type": "reference", + "target": 2363, + "name": "FilterableShippingOptionRuleProps" + }, + { + "type": "reference", + "target": 2390, + "name": "FilterableShippingOptionProps" + }, + { + "type": "reference", + "target": 2429, + "name": "FilterableShippingOptionTypeProps" + }, + { + "type": "reference", + "target": 2446, + "name": "FilterableServiceZoneProps" + }, + { + "type": "reference", + "target": 2466, + "name": "FilterableGeoZoneProps" + }, + { + "type": "reference", + "target": 2482, + "name": "FilterableFulfillmentProviderProps" + }, + { + "type": "reference", + "target": 2505, + "name": "FilterableFulfillmentProps" + }, + { + "type": "reference", + "target": 3870, + "name": "FilterableOrderProps" + }, + { + "type": "reference", + "target": 3879, + "name": "FilterableOrderAddressProps" + }, + { + "type": "reference", + "target": 3883, + "name": "FilterableOrderLineItemProps" + }, + { + "type": "reference", + "target": 3891, + "name": "FilterableOrderLineItemAdjustmentProps" + }, + { + "type": "reference", + "target": 3899, + "name": "FilterableOrderShippingMethodProps" + }, + { + "type": "reference", + "target": 3906, + "name": "FilterableOrderShippingMethodAdjustmentProps" + }, + { + "type": "reference", + "target": 3914, + "name": "FilterableOrderLineItemTaxLineProps" + }, + { + "type": "reference", + "target": 3924, + "name": "FilterableOrderShippingMethodTaxLineProps" + }, + { + "type": "reference", + "target": 3934, + "name": "FilterableOrderChangeProps" + }, + { + "type": "reference", + "target": 3948, + "name": "FilterableOrderChangeActionProps" + }, + { + "type": "reference", + "target": 3955, + "name": "FilterableOrderTransactionProps" + }, + { + "type": "reference", + "target": 3964, + "name": "FilterableOrderItemProps" + }, + { + "type": "reference", + "target": 4890, + "name": "FilterableApplicationMethodProps" + }, + { + "type": "reference", + "target": 4906, + "name": "FilterableCampaignProps" + }, + { + "type": "reference", + "target": 4918, + "name": "FilterableCampaignBudgetProps" + }, + { + "type": "reference", + "target": 4990, + "name": "FilterablePromotionProps" + }, + { + "type": "reference", + "target": 5019, + "name": "FilterablePromotionRuleProps" + }, + { + "type": "reference", + "target": 5032, + "name": "FilterablePromotionRuleValueProps" + }, + { + "type": "reference", + "target": 5275, + "name": "FilterableSalesChannelProps" + }, + { + "type": "reference", + "target": 5429, + "name": "FilterableTaxRateProps" + }, + { + "type": "reference", + "target": 5451, + "name": "FilterableTaxRegionProps" + }, + { + "type": "reference", + "target": 5473, + "name": "FilterableTaxRateRuleProps" + }, + { + "type": "reference", + "target": 5748, + "name": "FilterableUserProps" + }, + { + "type": "reference", + "target": 5766, + "name": "FilterableInviteProps" + }, + { + "type": "reference", + "target": 6171, + "name": "FilterableStoreProps" + }, + { + "type": "reference", + "target": 6279, + "name": "FilterableCurrencyProps" + }, + { + "type": "reference", + "target": 6986, + "name": "FilterablePaymentCollectionProps" + }, + { + "type": "reference", + "target": 6993, + "name": "FilterablePaymentSessionProps" + }, + { + "type": "reference", + "target": 7005, + "name": "FilterableCaptureProps" + }, + { + "type": "reference", + "target": 7015, + "name": "FilterableRefundProps" + }, + { + "type": "reference", + "target": 7046, + "name": "FilterablePaymentProps" + }, + { + "type": "reference", + "target": 7086, + "name": "FilterablePaymentProviderProps" + }, + { + "type": "reference", + "target": 7395, + "name": "FilterableMoneyAmountProps" + }, + { + "type": "reference", + "target": 7432, + "name": "FilterablePriceProps" + }, + { + "type": "reference", + "target": 7494, + "name": "FilterablePriceListProps" + }, + { + "type": "reference", + "target": 7503, + "name": "FilterablePriceListRuleProps" + }, + { + "type": "reference", + "target": 7510, + "name": "FilterablePriceListRuleValueProps" + }, + { + "type": "reference", + "target": 7584, + "name": "FilterablePriceRuleProps" + }, + { + "type": "reference", + "target": 7670, + "name": "FilterablePriceSetProps" + }, + { + "type": "reference", + "target": 7688, + "name": "FilterablePriceSetRuleTypeProps" + }, + { + "type": "reference", + "target": 7717, + "name": "FilterableRuleTypeProps" + }, + { + "type": "reference", + "target": 7743, + "name": "FilterableRegionProps" + }, + { + "type": "reference", + "target": 7753, + "name": "FilterableRegionCountryProps" + } ] - } - ] - }, - { - "id": 3258, - "name": "CalculatedPriceSet", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The calculated price for a specific price set and context." - } - ] - }, - "children": [ + }, { - "id": 3259, - "name": "id", + "id": 2033, + "name": "OptionsQuery", "variant": "declaration", - "kind": 1024, + "kind": 256, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the price set." + "text": "The options to apply when retrieving an item." } ] }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3260, - "name": "is_calculated_price_price_list", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether the calculated price is associated with a price list. During the calculation process, if no valid price list is found,\nthe calculated price is set to the original price, which doesn't belong to a price list. In that case, the value of this property is " + "children": [ + { + "id": 2034, + "name": "populate", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "kind": "code", - "text": "`false`" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Relations to populate in the retrieved items." + } + ] }, - { - "kind": "text", - "text": "." + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 3261, - "name": "calculated_amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The amount of the calculated price, or " + }, + { + "id": 2035, + "name": "orderBy", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "kind": "code", - "text": "`null`" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Fields to sort-order items by." + } + ] }, - { - "kind": "text", - "text": " if there isn't a calculated price." + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7968, + "typeArguments": [ + { + "type": "reference", + "target": 2041, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "OptionsQuery.T", + "refersToTypeParameter": true + } + ], + "name": "Order", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 7968, + "typeArguments": [ + { + "type": "reference", + "target": 2041, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "OptionsQuery.T", + "refersToTypeParameter": true + } + ], + "name": "Order", + "package": "@medusajs/types" + } + } + ] } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null + }, + { + "id": 2036, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { + "comment": { + "summary": [ + { + "kind": "text", + "text": "Limit the number of items retrieved in the list." + } + ] + }, + "type": { "type": "intrinsic", "name": "number" } - ] - } - }, - { - "id": 3262, - "name": "is_original_price_price_list", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether the original price is associated with a price list. During the calculation process, if the price list of the calculated price is of type override,\nthe original price will be the same as the calculated price. In that case, the value of this property is " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 3263, - "name": "original_amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The amount of the original price, or " - }, - { - "kind": "code", - "text": "`null`" + }, + { + "id": 2037, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "kind": "text", - "text": " if there isn't a calculated price." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of items to skip before the retrieved items in the list." + } + ] }, - { + "type": { "type": "intrinsic", "name": "number" } - ] - } - }, - { - "id": 3264, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The currency code of the calculated price, or null if there isn't a calculated price." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null + }, + { + "id": 2038, + "name": "fields", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 3265, - "name": "calculated_price", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The details of the calculated price." + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fields to include in each of the items." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 3266, - "name": "__type", + }, + { + "id": 2039, + "name": "groupBy", "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 3267, - "name": "money_amount_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the money amount selected as the calculated price." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Group results by a field or set of fields." } - }, - { - "id": 3268, - "name": "price_list_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated price list, if any." - } - ] + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } - }, - { - "id": 3269, - "name": "price_list_type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The type of the associated price list, if any." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] + ] + } + }, + { + "id": 2040, + "name": "filters", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters to apply on the retrieved items." } - }, - { - "id": 3270, - "name": "min_quantity", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`min_quantity`" - }, - { - "kind": "text", - "text": " field defined on a money amount." - } - ] + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 3271, - "name": "max_quantity", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`max_quantity`" - }, - { - "kind": "text", - "text": " field defined on a money amount." - } - ] + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, + { + "type": "reference", + "target": 7970, + "typeArguments": [ { - "type": "intrinsic", - "name": "number" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "reference", + "target": 7970, + "name": "Dictionary", + "package": "@medusajs/types" + } + ] } - ] + ], + "name": "Dictionary", + "package": "@medusajs/types" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3267, - 3268, - 3269, - 3270, - 3271 - ] - } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2034, + 2035, + 2036, + 2037, + 2038, + 2039, + 2040 ] } - } + ], + "typeParameters": [ + { + "id": 2041, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + }, + { + "id": 2042, + "name": "P", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ] }, { - "id": 3272, - "name": "original_price", + "id": 2043, + "name": "FindOptions", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "kind": 256, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The details of the original price." + "text": "An object used to specify filters and options on a list of items." } ] }, - "type": { - "type": "reflection", - "declaration": { - "id": 3273, - "name": "__type", + "children": [ + { + "id": 2044, + "name": "where", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 3274, - "name": "money_amount_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the money amount selected as the original price." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 3275, - "name": "price_list_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated price list, if any." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 3276, - "name": "price_list_type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The type of the associated price list, if any." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the items." } - }, - { - "id": 3277, - "name": "min_quantity", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " + ] + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "mapped", + "parameter": "Key", + "parameterType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "symbol" + } + ] + }, + "templateType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 2052, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } }, - { - "kind": "code", - "text": "`min_quantity`" + "extendsType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "intrinsic", + "name": "symbol" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] }, - { - "kind": "text", - "text": " field defined on a money amount." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 3278, - "name": "max_quantity", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`max_quantity`" + "trueType": { + "type": "union", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] }, - { - "kind": "text", - "text": " field defined on a money amount." + "falseType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 2052, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 2045, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "indexSignature": { + "id": 2046, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "parameters": [ + { + "id": 2047, + "name": "x", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "inferred", + "name": "V" + } + } + } + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "V" + }, + "name": "V", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "object" + }, + "trueType": { + "type": "mapped", + "parameter": "Key", + "parameterType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "symbol" + } + ] + }, + "templateType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "V", + "refersToTypeParameter": true + } + ], + "name": "Partial", + "package": "typescript" + } + }, + "extendsType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "intrinsic", + "name": "symbol" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "V", + "refersToTypeParameter": true + } + ], + "name": "Partial", + "package": "typescript" + } + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "trueType": { + "type": "unknown", + "name": "U extends { [x: number]: infer V; } ? V extends object ? { [Key in keyof Partial]?: (Partial[Key] extends string | number | bigint | boolean | symbol | Date ? Partial<...>[Key] | OperatorMap<...> : Partial<...>[Key] extends infer U ? U extends { ...; } ? V extends object ? ... : never : never : never) | undefi..." + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + }, + "optionalModifier": "+" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } } - ] + }, + "optionalModifier": "+" }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ { - "type": "intrinsic", - "name": "number" + "type": "mapped", + "parameter": "Key", + "parameterType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "symbol" + } + ] + }, + "templateType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 2052, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + "extendsType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "intrinsic", + "name": "symbol" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 2052, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 2048, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "indexSignature": { + "id": 2049, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "parameters": [ + { + "id": 2050, + "name": "x", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "inferred", + "name": "V" + } + } + } + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "V" + }, + "name": "V", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "object" + }, + "trueType": { + "type": "mapped", + "parameter": "Key", + "parameterType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "symbol" + } + ] + }, + "templateType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "V", + "refersToTypeParameter": true + } + ], + "name": "Partial", + "package": "typescript" + } + }, + "extendsType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "intrinsic", + "name": "symbol" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "V", + "refersToTypeParameter": true + } + ], + "name": "Partial", + "package": "typescript" + } + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "trueType": { + "type": "unknown", + "name": "U extends { [x: number]: infer V; } ? V extends object ? { [Key in keyof Partial]?: (Partial[Key] extends string | number | bigint | boolean | symbol | Date ? Partial<...>[Key] | OperatorMap<...> : Partial<...>[Key] extends infer U ? U extends { ...; } ? V extends object ? ... : never : never : never) | undefi..." + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + }, + "optionalModifier": "+" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + }, + "optionalModifier": "+" } - ] + ], + "name": "BaseFilterable", + "package": "@medusajs/types" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3274, - 3275, - 3276, - 3277, - 3278 - ] - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3259, - 3260, - 3261, - 3262, - 3263, - 3264, - 3265, - 3272 - ] - } - ] - }, - { - "id": 3279, - "name": "AddRulesDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rules to add to a price set." - } - ] - }, - "children": [ - { - "id": 3280, - "name": "priceSetId", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the price set to add the rules to." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3281, - "name": "rules", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rules to add to a price set." + ] } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 3282, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ + }, + { + "id": 2051, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "id": 3283, - "name": "attribute", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value of the rule's " - }, - { - "kind": "code", - "text": "`rule_attribute`" - }, - { - "kind": "text", - "text": " attribute." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The options to apply when retrieving the items." } - ], - "groups": [ + ] + }, + "type": { + "type": "reference", + "target": 2033, + "typeArguments": [ { - "title": "Properties", - "children": [ - 3283 - ] + "type": "reference", + "target": 2052, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "any" } - ] + ], + "name": "OptionsQuery", + "package": "@medusajs/types" } } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3280, - 3281 - ] - } - ] - }, - { - "id": 3284, - "name": "CreatePricesDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The prices to create part of a price set." - } - ] - }, - "children": [ - { - "id": 3286, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 3181, - "name": "CreateMoneyAmountDTO.id" - } - }, - { - "id": 3287, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The currency code of this money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 3182, - "name": "CreateMoneyAmountDTO.currency_code" - } - }, - { - "id": 3288, - "name": "currency", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The currency of this money amount." + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2044, + 2051 + ] + } + ], + "typeParameters": [ + { + "id": 2052, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" } - ] - }, - "type": { - "type": "reference", - "target": 3155, - "name": "CreateCurrencyDTO", - "package": "@medusajs/types" - }, - "inheritedFrom": { - "type": "reference", - "target": 3183, - "name": "CreateMoneyAmountDTO.currency" - } + } + ] }, { - "id": 3289, - "name": "amount", + "id": 2053, + "name": "UpsertWithReplaceConfig", "variant": "declaration", - "kind": 1024, + "kind": 256, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The amount of this money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "target": 3184, - "name": "CreateMoneyAmountDTO.amount" - } - }, - { - "id": 3290, - "name": "min_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The minimum quantity required to be purchased for this money amount to be applied." + "text": "An object used to specify the configuration of how the upsert should be performed." } ] }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null + "children": [ + { + "id": 2054, + "name": "relations", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "type": "intrinsic", - "name": "number" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "target": 3185, - "name": "CreateMoneyAmountDTO.min_quantity" - } - }, - { - "id": 3291, - "name": "max_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The maximum quantity required to be purchased for this money amount to be applied." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null + "comment": { + "summary": [ + { + "kind": "text", + "text": "The relationships that will be updated/created/deleted as part of the upsert" + } + ] }, - { - "type": "intrinsic", - "name": "number" + "type": { + "type": "array", + "elementType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 2055, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + } } - ] - }, - "inheritedFrom": { - "type": "reference", - "target": 3186, - "name": "CreateMoneyAmountDTO.max_quantity" - } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2054 + ] + } + ], + "typeParameters": [ + { + "id": 2055, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ] }, { - "id": 3285, - "name": "rules", + "id": 2056, + "name": "RepositoryService", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "kind": 256, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The rules to add to the price. The object's keys are rule types' " - }, - { - "kind": "code", - "text": "`rule_attribute`" - }, - { - "kind": "text", - "text": " attribute, and values are the value of that rule associated with this price." + "text": "Data access layer (DAL) interface to implements for any repository service.\nThis layer helps to separate the business logic (service layer) from accessing the\nORM directly and allows to switch to another ORM without changing the business logic." } ] }, - "type": { - "type": "reference", - "target": 3425, - "name": "CreatePriceSetPriceRules", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", "children": [ - 3286, - 3287, - 3288, - 3289, - 3290, - 3291, - 3285 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 3180, - "name": "CreateMoneyAmountDTO", - "package": "@medusajs/types" - } - ] - }, - { - "id": 3292, - "name": "AddPricesDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The prices to add to a price set." - } - ] - }, - "children": [ - { - "id": 3293, - "name": "priceSetId", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the price set to add prices to." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3294, - "name": "prices", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The prices to add to the price set." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3284, - "name": "CreatePricesDTO", - "package": "@medusajs/types" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3293, - 3294 - ] - } - ] - }, - { - "id": 3295, - "name": "RemovePriceSetRulesDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rules to remove from a price set." - } - ] - }, - "children": [ - { - "id": 3296, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the price set." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3297, - "name": "rules", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rules to remove. Each string is the " - }, - { - "kind": "code", - "text": "`rule_attribute`" - }, - { - "kind": "text", - "text": " of a rule to remove." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3296, - 3297 - ] - } - ] - }, - { - "id": 3298, - "name": "CreatePriceSetDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A price set to create." - } - ] - }, - "children": [ - { - "id": 3299, - "name": "rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rules to associate with the price set." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 3300, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 3301, - "name": "rule_attribute", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the value of the rule's " - }, - { - "kind": "code", - "text": "`rule_attribute`" - }, - { - "kind": "text", - "text": " attribute." + { + "id": 2105, + "name": "transaction", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2106, + "name": "transaction", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 2107, + "name": "TManager", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "parameters": [ + { + "id": 2108, + "name": "task", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 2109, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "signatures": [ + { + "id": 2110, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 2111, + "name": "transactionManager", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 2107, + "name": "TManager", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] } - ] + } }, - "type": { - "type": "intrinsic", - "name": "string" + { + "id": 2112, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 2113, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 2114, + "name": "isolationLevel", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2115, + "name": "transaction", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2107, + "name": "TManager", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + { + "id": 2116, + "name": "enableNestedTransactions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2114, + 2115, + 2116 + ] + } + ] + } + } } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 7977, + "name": "BaseRepositoryService.transaction" } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3301 - ] - } - ] - } - } - } - }, - { - "id": 3302, - "name": "prices", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The prices to create and add to this price set." + } + ], + "inheritedFrom": { + "type": "reference", + "target": 7976, + "name": "BaseRepositoryService.transaction" } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3284, - "name": "CreatePricesDTO", - "package": "@medusajs/types" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3299, - 3302 - ] - } - ] - }, - { - "id": 3303, - "name": "UpdatePriceSetDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The data to update in a price set. The " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " is used to identify which price set to update." - } - ] - }, - "children": [ - { - "id": 3304, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A string indicating the ID of the price set to update." + }, + { + "id": 2117, + "name": "getFreshManager", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2118, + "name": "getFreshManager", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 2119, + "name": "TManager", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "target": 2119, + "name": "TManager", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "inheritedFrom": { + "type": "reference", + "target": 7989, + "name": "BaseRepositoryService.getFreshManager" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 7988, + "name": "BaseRepositoryService.getFreshManager" } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3304 - ] - } - ] - }, - { - "id": 3305, - "name": "FilterablePriceSetProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filters to apply on price sets." - } - ] - }, - "children": [ - { - "id": 3308, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + }, + { + "id": 2120, + "name": "getActiveManager", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2121, + "name": "getActiveManager", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 2122, + "name": "TManager", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "target": 2122, + "name": "TManager", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "inheritedFrom": { + "type": "reference", + "target": 7992, + "name": "BaseRepositoryService.getActiveManager" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 7991, + "name": "BaseRepositoryService.getActiveManager" } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ + }, + { + "id": 2123, + "name": "serialize", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "type": "reference", - "target": 3305, - "name": "FilterablePriceSetProps", - "package": "@medusajs/types" - }, + "id": 2124, + "name": "serialize", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 2125, + "name": "TOutput", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "object" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "object" + } + } + ] + } + } + ], + "parameters": [ + { + "id": 2126, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 2127, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2125, + "name": "TOutput", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 7995, + "name": "BaseRepositoryService.serialize" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 7994, + "name": "BaseRepositoryService.serialize" + } + }, + { + "id": 2057, + "name": "find", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 2058, + "name": "find", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ { - "type": "reference", - "target": 3305, - "name": "FilterablePriceSetProps", - "package": "@medusajs/types" + "id": 2059, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2043, + "typeArguments": [ + { + "type": "reference", + "target": 2128, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "RepositoryService.T", + "refersToTypeParameter": true + } + ], + "name": "FindOptions", + "package": "@medusajs/types" + } + }, + { + "id": 2060, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2128, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "RepositoryService.T", + "refersToTypeParameter": true + } + } + ], + "name": "Promise", + "package": "typescript" + } } ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } - }, - { - "id": 3309, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ + }, + { + "id": 2061, + "name": "findAndCount", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "type": "reference", - "target": 3305, - "name": "FilterablePriceSetProps", - "package": "@medusajs/types" - }, + "id": 2062, + "name": "findAndCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 2063, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2043, + "typeArguments": [ + { + "type": "reference", + "target": 2128, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "RepositoryService.T", + "refersToTypeParameter": true + } + ], + "name": "FindOptions", + "package": "@medusajs/types" + } + }, + { + "id": 2064, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2128, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "RepositoryService.T", + "refersToTypeParameter": true + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2065, + "name": "create", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 2066, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ { - "type": "reference", - "target": 3305, - "name": "FilterablePriceSetProps", - "package": "@medusajs/types" + "id": 2067, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + }, + { + "id": 2068, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2128, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "RepositoryService.T", + "refersToTypeParameter": true + } + } + ], + "name": "Promise", + "package": "typescript" + } } ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - }, - { - "id": 3306, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "IDs to filter price sets by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3307, - "name": "money_amounts", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filters to apply on a price set's associated money amounts." - } - ] - }, - "type": { - "type": "reference", - "target": 3193, - "name": "FilterableMoneyAmountProps", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3308, - 3309, - 3306, - 3307 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ + }, { - "type": "reference", - "target": 3305, - "name": "FilterablePriceSetProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 3377, - "name": "RuleTypeDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A rule type's data." - } - ] - }, - "children": [ - { - "id": 3378, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the rule type." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3379, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The display name of the rule type." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3380, - "name": "rule_attribute", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The unique name used to later identify the rule_attribute. For example, it can be used in the " - }, - { - "kind": "code", - "text": "`context`" - }, - { - "kind": "text", - "text": " parameter of \nthe " - }, - { - "kind": "code", - "text": "`calculatePrices`" - }, - { - "kind": "text", - "text": " method to specify a rule for calculating the price." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3381, - "name": "default_priority", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The priority of the rule type. This is useful when calculating the price of a price set, and multiple rules satisfy \nthe provided context. The higher the value, the higher the priority of the rule type." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3378, - 3379, - 3380, - 3381 - ] - } - ] - }, - { - "id": 3382, - "name": "CreateRuleTypeDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rule type to create." - } - ] - }, - "children": [ - { - "id": 3383, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the rule type." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3384, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The display name of the rule type." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3385, - "name": "rule_attribute", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The unique name used to later identify the rule_attribute. For example, it can be used in the " - }, - { - "kind": "code", - "text": "`context`" - }, - { - "kind": "text", - "text": " parameter of the " - }, - { - "kind": "code", - "text": "`calculatePrices`" - }, - { - "kind": "text", - "text": " \nmethod to specify a rule for calculating the price." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3386, - "name": "default_priority", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The priority of the rule type. This is useful when calculating the price of a price set, and multiple rules satisfy the provided context. \nThe higher the value, the higher the priority of the rule type." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3383, - 3384, - 3385, - 3386 - ] - } - ] - }, - { - "id": 3387, - "name": "UpdateRuleTypeDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The data to update in a rule type. The " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " is used to identify which price set to update." - } - ] - }, - "children": [ - { - "id": 3388, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the rule type to update." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3389, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The display name of the rule type." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3390, - "name": "rule_attribute", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The unique name used to later identify the rule_attribute. For example, it can be used in the " - }, - { - "kind": "code", - "text": "`context`" - }, - { - "kind": "text", - "text": " parameter of the " - }, - { - "kind": "code", - "text": "`calculatePrices`" - }, - { - "kind": "text", - "text": " method to specify a rule for calculating the price." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3391, - "name": "default_priority", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The priority of the rule type. This is useful when calculating the price of a price set, and multiple rules satisfy the provided context. The higher the value, the higher the priority of the rule type." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3388, - 3389, - 3390, - 3391 - ] - } - ] - }, - { - "id": 3392, - "name": "FilterableRuleTypeProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filters to apply on rule types." - } - ] - }, - "children": [ - { - "id": 3396, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3392, - "name": "FilterableRuleTypeProps", - "package": "@medusajs/types" - }, + "id": 2069, + "name": "update", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 2070, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ { - "type": "reference", - "target": 3392, - "name": "FilterableRuleTypeProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } - }, - { - "id": 3397, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3392, - "name": "FilterableRuleTypeProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ + "id": 2071, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 2072, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 2073, + "name": "entity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 2074, + "name": "update", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2073, + 2074 + ] + } + ] + } + } + } + }, { - "type": "reference", - "target": 3392, - "name": "FilterableRuleTypeProps", - "package": "@medusajs/types" + "id": 2075, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - }, - { - "id": 3393, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IDs to filter rule types by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3394, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The names to filter rule types by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3395, - "name": "rule_attribute", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rule attributes to filter rule types by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3396, - 3397, - 3393, - 3394, - 3395 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 3392, - "name": "FilterableRuleTypeProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 3505, - "name": "ProductCategoryTransformOptions", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3506, - "name": "includeDescendantsTree", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3506 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 986, - "name": "RepositoryTransformOptions", - "package": "@medusajs/types" - } - ] - }, - { - "id": 2160, - "name": "PromotionTypes", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ - { - "id": 2161, - "name": "ApplicationMethodTypeValues", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "fixed" - }, - { - "type": "literal", - "value": "percentage" - } - ] - } - }, - { - "id": 2162, - "name": "ApplicationMethodTargetTypeValues", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "order" - }, - { - "type": "literal", - "value": "shipping_methods" - }, - { - "type": "literal", - "value": "items" - } - ] - } - }, - { - "id": 2163, - "name": "ApplicationMethodAllocationValues", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "each" - }, - { - "type": "literal", - "value": "across" - } - ] - } - }, - { - "id": 2164, - "name": "ApplicationMethodDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2165, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2166, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2161, - "name": "ApplicationMethodTypeValues", - "package": "@medusajs/types" - } - }, - { - "id": 2167, - "name": "target_type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2162, - "name": "ApplicationMethodTargetTypeValues", - "package": "@medusajs/types" - } - }, - { - "id": 2168, - "name": "allocation", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2163, - "name": "ApplicationMethodAllocationValues", - "package": "@medusajs/types" - } - }, - { - "id": 2169, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 2170, - "name": "max_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 2171, - "name": "buy_rules_min_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 2172, - "name": "apply_to_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 2173, - "name": "promotion", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { + "type": { "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2128, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "RepositoryService.T", + "refersToTypeParameter": true + } + } + ], + "name": "Promise", + "package": "typescript" } - ] - } - }, - { - "id": 2174, - "name": "target_rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2305, - "name": "PromotionRuleDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 2175, - "name": "buy_rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2305, - "name": "PromotionRuleDTO", - "package": "@medusajs/types" } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2165, - 2166, - 2167, - 2168, - 2169, - 2170, - 2171, - 2172, - 2173, - 2174, - 2175 ] - } - ] - }, - { - "id": 2176, - "name": "CreateApplicationMethodDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2177, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 2161, - "name": "ApplicationMethodTypeValues", - "package": "@medusajs/types" - } }, { - "id": 2178, - "name": "target_type", + "id": 2076, + "name": "delete", "variant": "declaration", - "kind": 1024, + "kind": 2048, "flags": {}, - "type": { - "type": "reference", - "target": 2162, - "name": "ApplicationMethodTargetTypeValues", - "package": "@medusajs/types" - } - }, - { - "id": 2179, - "name": "allocation", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2163, - "name": "ApplicationMethodAllocationValues", - "package": "@medusajs/types" - } - }, - { - "id": 2180, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 2181, - "name": "max_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 2182, - "name": "buy_rules_min_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 2183, - "name": "apply_to_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 2184, - "name": "promotion", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 2185, - "name": "target_rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2311, - "name": "CreatePromotionRuleDTO", - "package": "@medusajs/types" + "signatures": [ + { + "id": 2077, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 2078, + "name": "idsOrPKs", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "mapped", + "parameter": "Key", + "parameterType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "symbol" + } + ] + }, + "templateType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 2128, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "RepositoryService.T", + "refersToTypeParameter": true + } + }, + "extendsType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "intrinsic", + "name": "symbol" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 2128, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "RepositoryService.T", + "refersToTypeParameter": true + } + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 2079, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "indexSignature": { + "id": 2080, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "parameters": [ + { + "id": 2081, + "name": "x", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "inferred", + "name": "V" + } + } + } + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "V" + }, + "name": "V", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "object" + }, + "trueType": { + "type": "mapped", + "parameter": "Key", + "parameterType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "symbol" + } + ] + }, + "templateType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "V", + "refersToTypeParameter": true + } + ], + "name": "Partial", + "package": "typescript" + } + }, + "extendsType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "intrinsic", + "name": "symbol" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "V", + "refersToTypeParameter": true + } + ], + "name": "Partial", + "package": "typescript" + } + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "trueType": { + "type": "unknown", + "name": "U extends { [x: number]: infer V; } ? V extends object ? { [Key in keyof Partial]?: (Partial[Key] extends string | number | bigint | boolean | symbol | Date ? Partial<...>[Key] | OperatorMap<...> : Partial<...>[Key] extends infer U ? U extends { ...; } ? V extends object ? ... : never : never : never) | undefi..." + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + }, + "optionalModifier": "+" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + }, + "optionalModifier": "+" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "mapped", + "parameter": "Key", + "parameterType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "symbol" + } + ] + }, + "templateType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 2128, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "RepositoryService.T", + "refersToTypeParameter": true + } + }, + "extendsType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "intrinsic", + "name": "symbol" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 2128, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "RepositoryService.T", + "refersToTypeParameter": true + } + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 2082, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "indexSignature": { + "id": 2083, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "parameters": [ + { + "id": 2084, + "name": "x", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "inferred", + "name": "V" + } + } + } + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "V" + }, + "name": "V", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "object" + }, + "trueType": { + "type": "mapped", + "parameter": "Key", + "parameterType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "symbol" + } + ] + }, + "templateType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "V", + "refersToTypeParameter": true + } + ], + "name": "Partial", + "package": "typescript" + } + }, + "extendsType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "intrinsic", + "name": "symbol" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "V", + "refersToTypeParameter": true + } + ], + "name": "Partial", + "package": "typescript" + } + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "trueType": { + "type": "unknown", + "name": "U extends { [x: number]: infer V; } ? V extends object ? { [Key in keyof Partial]?: (Partial[Key] extends string | number | bigint | boolean | symbol | Date ? Partial<...>[Key] | OperatorMap<...> : Partial<...>[Key] extends infer U ? U extends { ...; } ? V extends object ? ... : never : never : never) | undefi..." + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + }, + "optionalModifier": "+" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + }, + "optionalModifier": "+" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 2085, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } } - } + ] }, { - "id": 2186, - "name": "buy_rules", + "id": 2086, + "name": "softDelete", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2311, - "name": "CreatePromotionRuleDTO", - "package": "@medusajs/types" + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2087, + "name": "softDelete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Soft delete entities and cascade to related entities if configured." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "[T[], Record] the second value being the map of the entity names and ids that were soft deleted" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2088, + "name": "idsOrFilter", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reflection", + "declaration": { + "id": 2089, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + } + }, + { + "id": 2090, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2128, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "RepositoryService.T", + "refersToTypeParameter": true + } + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2177, - 2178, - 2179, - 2180, - 2181, - 2182, - 2183, - 2184, - 2185, - 2186 ] - } - ] - }, - { - "id": 2187, - "name": "UpdateApplicationMethodDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2188, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } }, { - "id": 2189, - "name": "type", + "id": 2091, + "name": "restore", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2161, - "name": "ApplicationMethodTypeValues", - "package": "@medusajs/types" - } - }, - { - "id": 2190, - "name": "target_type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2162, - "name": "ApplicationMethodTargetTypeValues", - "package": "@medusajs/types" - } - }, - { - "id": 2191, - "name": "allocation", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2163, - "name": "ApplicationMethodAllocationValues", - "package": "@medusajs/types" - } - }, - { - "id": 2192, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 2193, - "name": "max_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 2194, - "name": "buy_rules_min_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 2195, - "name": "apply_to_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 2196, - "name": "promotion", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2092, + "name": "restore", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 2093, + "name": "idsOrFilter", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reflection", + "declaration": { + "id": 2094, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + } + }, + { + "id": 2095, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2128, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "RepositoryService.T", + "refersToTypeParameter": true + } + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2188, - 2189, - 2190, - 2191, - 2192, - 2193, - 2194, - 2195, - 2196 + } ] - } - ] - }, - { - "id": 2197, - "name": "FilterableApplicationMethodProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." - } - ] - }, - "children": [ + }, { - "id": 2202, - "name": "$and", + "id": 2096, + "name": "upsert", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2097, + "name": "upsert", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ { - "type": "reference", - "target": 2197, - "name": "FilterableApplicationMethodProps", - "package": "@medusajs/types" + "id": 2098, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } }, { - "type": "reference", - "target": 1512, - "typeArguments": [ - { + "id": 2099, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { "type": "reference", - "target": 2197, - "name": "FilterableApplicationMethodProps", - "package": "@medusajs/types" + "target": 2128, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "RepositoryService.T", + "refersToTypeParameter": true } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] + } + ], + "name": "Promise", + "package": "typescript" + } } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } + ] }, { - "id": 2203, - "name": "$or", + "id": 2100, + "name": "upsertWithReplace", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2101, + "name": "upsertWithReplace", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ { - "type": "reference", - "target": 2197, - "name": "FilterableApplicationMethodProps", - "package": "@medusajs/types" + "id": 2102, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } }, { - "type": "reference", - "target": 1512, - "typeArguments": [ - { + "id": 2103, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2053, + "typeArguments": [ + { + "type": "reference", + "target": 2128, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "RepositoryService.T", + "refersToTypeParameter": true + } + ], + "name": "UpsertWithReplaceConfig", + "package": "@medusajs/types" + } + }, + { + "id": 2104, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { "type": "reference", - "target": 2197, - "name": "FilterableApplicationMethodProps", - "package": "@medusajs/types" + "target": 2128, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "RepositoryService.T", + "refersToTypeParameter": true } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - }, - { - "id": 2198, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 2199, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2161, - "name": "ApplicationMethodTypeValues", - "package": "@medusajs/types" - } - } - }, - { - "id": 2200, - "name": "target_type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2162, - "name": "ApplicationMethodTargetTypeValues", - "package": "@medusajs/types" - } - } - }, - { - "id": 2201, - "name": "allocation", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2163, - "name": "ApplicationMethodAllocationValues", - "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } } - } + ] } ], "groups": [ { - "title": "Properties", + "title": "Methods", "children": [ - 2202, - 2203, - 2198, - 2199, - 2200, - 2201 + 2105, + 2117, + 2120, + 2123, + 2057, + 2061, + 2065, + 2069, + 2076, + 2086, + 2091, + 2096, + 2100 ] } ], + "typeParameters": [ + { + "id": 2128, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + } + ], "extendedTypes": [ { "type": "reference", - "target": 1512, + "target": 7975, "typeArguments": [ { "type": "reference", - "target": 2197, - "name": "FilterableApplicationMethodProps", - "package": "@medusajs/types" + "target": 2128, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "RepositoryService.T", + "refersToTypeParameter": true } ], - "name": "BaseFilterable", + "name": "BaseRepositoryService", "package": "@medusajs/types" } ] }, { - "id": 2218, - "name": "CampaignBudgetTypeValues", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "spend" - }, - { - "type": "literal", - "value": "usage" - } - ] - } - }, - { - "id": 2219, - "name": "CampaignBudgetDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2220, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2221, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2218, - "name": "CampaignBudgetTypeValues", - "package": "@medusajs/types" - } - }, - { - "id": 2222, - "name": "limit", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 2223, - "name": "used", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2220, - 2221, - 2222, - 2223 - ] - } - ] - }, - { - "id": 2224, - "name": "FilterableCampaignBudgetProps", + "id": 2129, + "name": "TreeRepositoryService", "variant": "declaration", "kind": 256, "flags": {}, @@ -61911,654 +60287,793 @@ "summary": [ { "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." + "text": "Data access layer (DAL) interface to implements for any repository service.\nThis layer helps to separate the business logic (service layer) from accessing the\nORM directly and allows to switch to another ORM without changing the business logic." } ] }, "children": [ { - "id": 2227, - "name": "$and", + "id": 2148, + "name": "transaction", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2149, + "name": "transaction", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ { - "type": "reference", - "target": 2224, - "name": "FilterableCampaignBudgetProps", - "package": "@medusajs/types" + "id": 2150, + "name": "TManager", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "parameters": [ + { + "id": 2151, + "name": "task", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 2152, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "signatures": [ + { + "id": 2153, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 2154, + "name": "transactionManager", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 2107, + "name": "TManager", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } }, { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 2224, - "name": "FilterableCampaignBudgetProps", - "package": "@medusajs/types" + "id": 2155, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 2156, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 2157, + "name": "isolationLevel", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2158, + "name": "transaction", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2107, + "name": "TManager", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + { + "id": 2159, + "name": "enableNestedTransactions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2157, + 2158, + 2159 + ] + } + ] } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" + } } - ] + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 7977, + "name": "BaseRepositoryService.transaction" + } } - }, + ], "inheritedFrom": { "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" + "target": 7976, + "name": "BaseRepositoryService.transaction" } }, { - "id": 2228, - "name": "$or", + "id": 2160, + "name": "getFreshManager", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 2224, - "name": "FilterableCampaignBudgetProps", - "package": "@medusajs/types" - }, + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2161, + "name": "getFreshManager", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 2224, - "name": "FilterableCampaignBudgetProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "id": 2162, + "name": "TManager", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } } - ] + ], + "type": { + "type": "reference", + "target": 2119, + "name": "TManager", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "inheritedFrom": { + "type": "reference", + "target": 7989, + "name": "BaseRepositoryService.getFreshManager" + } } - }, + ], "inheritedFrom": { "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - }, - { - "id": 2225, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "target": 7988, + "name": "BaseRepositoryService.getFreshManager" } }, { - "id": 2226, - "name": "type", + "id": 2163, + "name": "getActiveManager", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2227, - 2228, - 2225, - 2226 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ + "kind": 2048, + "flags": {}, + "signatures": [ { - "type": "reference", - "target": 2224, - "name": "FilterableCampaignBudgetProps", - "package": "@medusajs/types" + "id": 2164, + "name": "getActiveManager", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 2165, + "name": "TManager", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "target": 2122, + "name": "TManager", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "inheritedFrom": { + "type": "reference", + "target": 7992, + "name": "BaseRepositoryService.getActiveManager" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 2204, - "name": "CampaignDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2205, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2206, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2207, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" + "inheritedFrom": { + "type": "reference", + "target": 7991, + "name": "BaseRepositoryService.getActiveManager" } }, { - "id": 2208, - "name": "currency", + "id": 2166, + "name": "serialize", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2209, - "name": "campaign_identifier", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2210, - "name": "starts_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - }, - { - "id": 2211, - "name": "ends_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2167, + "name": "serialize", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 2168, + "name": "TOutput", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "object" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "object" + } + } + ] + } + } + ], + "parameters": [ + { + "id": 2169, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 2170, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2125, + "name": "TOutput", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 7995, + "name": "BaseRepositoryService.serialize" + } + } + ], + "inheritedFrom": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "target": 7994, + "name": "BaseRepositoryService.serialize" } }, { - "id": 2212, - "name": "budget", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2219, - "name": "CampaignBudgetDTO", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2205, - 2206, - 2207, - 2208, - 2209, - 2210, - 2211, - 2212 - ] - } - ] - }, - { - "id": 2213, - "name": "FilterableCampaignProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." - } - ] - }, - "children": [ - { - "id": 2216, - "name": "$and", + "id": 2130, + "name": "find", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2131, + "name": "find", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ { - "type": "reference", - "target": 2213, - "name": "FilterableCampaignProps", - "package": "@medusajs/types" + "id": 2132, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2043, + "typeArguments": [ + { + "type": "reference", + "target": 2171, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "TreeRepositoryService.T", + "refersToTypeParameter": true + } + ], + "name": "FindOptions", + "package": "@medusajs/types" + } }, { - "type": "reference", - "target": 1512, - "typeArguments": [ - { + "id": 2133, + "name": "transformOptions", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 1444, + "name": "RepositoryTransformOptions", + "package": "@medusajs/types" + } + }, + { + "id": 2134, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { "type": "reference", - "target": 2213, - "name": "FilterableCampaignProps", - "package": "@medusajs/types" + "target": 2171, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "TreeRepositoryService.T", + "refersToTypeParameter": true } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] + } + ], + "name": "Promise", + "package": "typescript" + } } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } + ] }, { - "id": 2217, - "name": "$or", + "id": 2135, + "name": "findAndCount", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2136, + "name": "findAndCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ { - "type": "reference", - "target": 2213, - "name": "FilterableCampaignProps", - "package": "@medusajs/types" + "id": 2137, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2043, + "typeArguments": [ + { + "type": "reference", + "target": 2171, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "TreeRepositoryService.T", + "refersToTypeParameter": true + } + ], + "name": "FindOptions", + "package": "@medusajs/types" + } }, { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 2213, - "name": "FilterableCampaignProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "id": 2138, + "name": "transformOptions", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 1444, + "name": "RepositoryTransformOptions", + "package": "@medusajs/types" + } + }, + { + "id": 2139, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } } - ] + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2171, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "TreeRepositoryService.T", + "refersToTypeParameter": true + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } + ] }, { - "id": 2214, - "name": "id", + "id": 2140, + "name": "create", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2141, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 2142, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 2143, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2171, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "TreeRepositoryService.T", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + } } - } + ] }, { - "id": 2215, - "name": "campaign_identifier", + "id": 2144, + "name": "delete", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2145, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 2146, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2147, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } } - } + ] } ], "groups": [ { - "title": "Properties", + "title": "Methods", "children": [ - 2216, - 2217, - 2214, - 2215 + 2148, + 2160, + 2163, + 2166, + 2130, + 2135, + 2140, + 2144 ] } ], + "typeParameters": [ + { + "id": 2171, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + } + ], "extendedTypes": [ { "type": "reference", - "target": 1512, + "target": 7975, "typeArguments": [ { "type": "reference", - "target": 2213, - "name": "FilterableCampaignProps", - "package": "@medusajs/types" + "target": 2171, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "TreeRepositoryService.T", + "refersToTypeParameter": true } ], - "name": "BaseFilterable", + "name": "BaseRepositoryService", "package": "@medusajs/types" } ] }, { - "id": 2229, - "name": "ComputeActions", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 2234, - "name": "AddItemAdjustmentAction", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 2240, - "name": "RemoveItemAdjustmentAction", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 2245, - "name": "AddShippingMethodAdjustment", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 2251, - "name": "RemoveShippingMethodAdjustment", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 2231, - "name": "CampaignBudgetExceededAction", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 2230, - "name": "UsageComputedActions", + "id": 2172, + "name": "SoftDeleteReturn", "variant": "declaration", - "kind": 2097152, + "kind": 256, "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 2245, - "name": "AddShippingMethodAdjustment", - "package": "@medusajs/types" - }, + "comment": { + "summary": [ { - "type": "reference", - "target": 2234, - "name": "AddItemAdjustmentAction", - "package": "@medusajs/types" + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." } ] - } - }, - { - "id": 2231, - "name": "CampaignBudgetExceededAction", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2232, - "name": "action", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "literal", - "value": "campaignBudgetExceeded" - } - }, - { - "id": 2233, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2232, - 2233 - ] - } - ] - }, - { - "id": 2234, - "name": "AddItemAdjustmentAction", - "variant": "declaration", - "kind": 256, - "flags": {}, + }, "children": [ { - "id": 2235, - "name": "action", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "literal", - "value": "addItemAdjustment" - } - }, - { - "id": 2236, - "name": "item_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2237, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 2238, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2239, - "name": "description", + "id": 2173, + "name": "returnLinkableKeys", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of strings, each being the ID attribute names of the entity's relations." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 2174, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } } } ], @@ -62566,143 +61081,64 @@ { "title": "Properties", "children": [ - 2235, - 2236, - 2237, - 2238, - 2239 + 2173 ] } - ] - }, - { - "id": 2240, - "name": "RemoveItemAdjustmentAction", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2241, - "name": "action", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "literal", - "value": "removeItemAdjustment" - } - }, - { - "id": 2242, - "name": "adjustment_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2243, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, + ], + "typeParameters": [ { - "id": 2244, - "name": "code", - "variant": "declaration", - "kind": 1024, + "id": 2174, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, "flags": {}, - "type": { + "default": { "type": "intrinsic", "name": "string" } } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2241, - 2242, - 2243, - 2244 - ] - } ] }, { - "id": 2245, - "name": "AddShippingMethodAdjustment", + "id": 2175, + "name": "RestoreReturn", "variant": "declaration", "kind": 256, "flags": {}, - "children": [ - { - "id": 2246, - "name": "action", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "literal", - "value": "addShippingMethodAdjustment" - } - }, - { - "id": 2247, - "name": "shipping_method_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2248, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 2249, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be restored when the main entity is restored." } - }, + ] + }, + "children": [ { - "id": 2250, - "name": "description", + "id": 2176, + "name": "returnLinkableKeys", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of strings, each being the ID attribute names of the entity's relations." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 2177, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } } } ], @@ -62710,2122 +61146,1429 @@ { "title": "Properties", "children": [ - 2246, - 2247, - 2248, - 2249, - 2250 + 2176 ] } - ] - }, - { - "id": 2251, - "name": "RemoveShippingMethodAdjustment", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2252, - "name": "action", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "literal", - "value": "removeShippingMethodAdjustment" - } - }, - { - "id": 2253, - "name": "adjustment_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, + ], + "typeParameters": [ { - "id": 2254, - "name": "code", - "variant": "declaration", - "kind": 1024, + "id": 2177, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, "flags": {}, - "type": { + "default": { "type": "intrinsic", "name": "string" } } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2252, - 2253, - 2254 - ] - } ] }, { - "id": 2255, - "name": "ComputeActionAdjustmentLine", + "id": 2007, + "name": "OperatorMap", "variant": "declaration", - "kind": 256, + "kind": 2097152, "flags": {}, - "children": [ - { - "id": 2256, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "typeParameters": [ { - "id": 2257, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } + "id": 2028, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} } ], - "groups": [ - { - "title": "Properties", + "type": { + "type": "reflection", + "declaration": { + "id": 2008, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, "children": [ - 2256, - 2257 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ { - "type": "intrinsic", - "name": "string" + "id": 2009, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7964, + "typeArguments": [ + { + "type": "reference", + "target": 2028, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Query", + "package": "@medusajs/types" + } + } }, { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - ] - }, - { - "id": 2258, - "name": "ComputeActionItemLine", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2259, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2260, - "name": "quantity", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 2261, - "name": "subtotal", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 2262, - "name": "adjustments", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2255, - "name": "ComputeActionAdjustmentLine", - "package": "@medusajs/types" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2259, - 2260, - 2261, - 2262 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" + "id": 2010, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7964, + "typeArguments": [ + { + "type": "reference", + "target": 2028, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Query", + "package": "@medusajs/types" + } + } }, { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - ] - }, - { - "id": 2263, - "name": "ComputeActionShippingLine", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2264, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2265, - "name": "subtotal", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 2266, - "name": "adjustments", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2255, - "name": "ComputeActionAdjustmentLine", - "package": "@medusajs/types" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2264, - 2265, - 2266 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" + "id": 2011, + "name": "$eq", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7966, + "typeArguments": [ + { + "type": "reference", + "target": 2028, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 7966, + "typeArguments": [ + { + "type": "reference", + "target": 2028, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } + } + ] + } }, { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - ] - }, - { - "id": 2267, - "name": "ComputeActionContext", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2268, - "name": "items", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2258, - "name": "ComputeActionItemLine", - "package": "@medusajs/types" - } - } - }, - { - "id": 2269, - "name": "shipping_methods", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2263, - "name": "ComputeActionShippingLine", - "package": "@medusajs/types" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2268, - 2269 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" + "id": 2012, + "name": "$ne", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7966, + "typeArguments": [ + { + "type": "reference", + "target": 2028, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } }, { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - ] - }, - { - "id": 2270, - "name": "ComputeActionOptions", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2271, - "name": "prevent_auto_promotions", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2271 - ] - } - ] - }, - { - "id": 2325, - "name": "PromotionRuleValueDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2326, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2327, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2326, - 2327 - ] - } - ] - }, - { - "id": 2328, - "name": "CreatePromotionRuleValueDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2329, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2330, - "name": "promotion_rule", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 2305, - "name": "PromotionRuleDTO", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2329, - 2330 - ] - } - ] - }, - { - "id": 2331, - "name": "UpdatePromotionRuleValueDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2332, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2332 - ] - } - ] - }, - { - "id": 2333, - "name": "FilterablePromotionRuleValueProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." - } - ] - }, - "children": [ - { - "id": 2335, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 2333, - "name": "FilterablePromotionRuleValueProps", - "package": "@medusajs/types" - }, - { + "id": 2013, + "name": "$in", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { "type": "reference", - "target": 1512, + "target": 7966, "typeArguments": [ { "type": "reference", - "target": 2333, - "name": "FilterablePromotionRuleValueProps", - "package": "@medusajs/types" + "target": 2028, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } ], - "name": "BaseFilterable", + "name": "ExpandScalar", "package": "@medusajs/types" } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } - }, - { - "id": 2336, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 2333, - "name": "FilterablePromotionRuleValueProps", - "package": "@medusajs/types" - }, - { + }, + { + "id": 2014, + "name": "$nin", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { "type": "reference", - "target": 1512, + "target": 7966, "typeArguments": [ { "type": "reference", - "target": 2333, - "name": "FilterablePromotionRuleValueProps", - "package": "@medusajs/types" + "target": 2028, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } ], - "name": "BaseFilterable", + "name": "ExpandScalar", "package": "@medusajs/types" } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - }, - { - "id": 2334, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2335, - 2336, - 2334 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ + } + }, { - "type": "reference", - "target": 2333, - "name": "FilterablePromotionRuleValueProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 2304, - "name": "PromotionRuleOperatorValues", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "gt" - }, - { - "type": "literal", - "value": "lt" - }, - { - "type": "literal", - "value": "eq" - }, - { - "type": "literal", - "value": "ne" - }, - { - "type": "literal", - "value": "in" - }, - { - "type": "literal", - "value": "lte" - }, - { - "type": "literal", - "value": "gte" - } - ] - } - }, - { - "id": 2305, - "name": "PromotionRuleDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2306, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2307, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null + "id": 2015, + "name": "$not", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { + "type": { + "type": "reference", + "target": 7964, + "typeArguments": [ + { + "type": "reference", + "target": 2028, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Query", + "package": "@medusajs/types" + } + }, + { + "id": 2016, + "name": "$gt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7966, + "typeArguments": [ + { + "type": "reference", + "target": 2028, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } + }, + { + "id": 2017, + "name": "$gte", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7966, + "typeArguments": [ + { + "type": "reference", + "target": 2028, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } + }, + { + "id": 2018, + "name": "$lt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7966, + "typeArguments": [ + { + "type": "reference", + "target": 2028, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } + }, + { + "id": 2019, + "name": "$lte", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7966, + "typeArguments": [ + { + "type": "reference", + "target": 2028, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } + }, + { + "id": 2020, + "name": "$like", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { "type": "intrinsic", "name": "string" } - ] - } - }, - { - "id": 2308, - "name": "attribute", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2309, - "name": "operator", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2304, - "name": "PromotionRuleOperatorValues", - "package": "@medusajs/types" - } - }, - { - "id": 2310, - "name": "values", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2325, - "name": "PromotionRuleValueDTO", - "package": "@medusajs/types" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2306, - 2307, - 2308, - 2309, - 2310 - ] - } - ] - }, - { - "id": 2311, - "name": "CreatePromotionRuleDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2312, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null + }, + { + "id": 2021, + "name": "$re", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { + "type": { "type": "intrinsic", "name": "string" } - ] - } - }, - { - "id": 2313, - "name": "attribute", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2314, - "name": "operator", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 2304, - "name": "PromotionRuleOperatorValues", - "package": "@medusajs/types" - } - }, - { - "id": 2315, - "name": "values", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ - { + }, + { + "id": 2022, + "name": "$ilike", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 2023, + "name": "$fulltext", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2024, + "name": "$overlap", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { "type": "array", "elementType": { "type": "intrinsic", "name": "string" } } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2312, - 2313, - 2314, - 2315 + }, + { + "id": 2025, + "name": "$contains", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 2026, + "name": "$contained", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 2027, + "name": "$exists", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2009, + 2010, + 2011, + 2012, + 2013, + 2014, + 2015, + 2016, + 2017, + 2018, + 2019, + 2020, + 2021, + 2022, + 2023, + 2024, + 2025, + 2026, + 2027 + ] + } ] } - ] + } }, { - "id": 2316, - "name": "UpdatePromotionRuleDTO", + "id": 2001, + "name": "FilterQuery", "variant": "declaration", - "kind": 256, + "kind": 2097152, "flags": {}, - "children": [ + "typeParameters": [ { - "id": 2317, - "name": "id", - "variant": "declaration", - "kind": 1024, + "id": 2005, + "name": "T", + "variant": "typeParam", + "kind": 131072, "flags": {}, - "type": { + "default": { "type": "intrinsic", - "name": "string" + "name": "any" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2317 - ] - } - ] - }, - { - "id": 2318, - "name": "RemovePromotionRuleDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + }, { - "id": 2319, - "name": "id", - "variant": "declaration", - "kind": 1024, + "id": 2006, + "name": "Prev", + "variant": "typeParam", + "kind": 131072, "flags": {}, "type": { "type": "intrinsic", - "name": "string" + "name": "number" + }, + "default": { + "type": "literal", + "value": 3 } } ], - "groups": [ - { - "title": "Properties", - "children": [ - 2319 - ] - } - ] - }, - { - "id": 2320, - "name": "FilterablePromotionRuleProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." - } - ] - }, - "children": [ - { - "id": 2323, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 2006, + "name": "Prev", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "never" + }, + "trueType": { + "type": "intrinsic", + "name": "never" + }, + "falseType": { + "type": "mapped", + "parameter": "Key", + "parameterType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 2005, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + "templateType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 2005, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } - ] - }, - "type": { - "type": "array", - "elementType": { + }, + "extendsType": { "type": "union", "types": [ { - "type": "reference", - "target": 2320, - "name": "FilterablePromotionRuleProps", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "intrinsic", + "name": "symbol" }, { "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 2320, - "name": "FilterablePromotionRuleProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" } ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } - }, - { - "id": 2324, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { + }, + "trueType": { "type": "union", "types": [ { - "type": "reference", - "target": 2320, - "name": "FilterablePromotionRuleProps", - "package": "@medusajs/types" + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 2005, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } }, { "type": "reference", - "target": 1512, + "target": 2007, "typeArguments": [ { - "type": "reference", - "target": 2320, - "name": "FilterablePromotionRuleProps", - "package": "@medusajs/types" + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 2005, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } } ], - "name": "BaseFilterable", + "name": "OperatorMap", "package": "@medusajs/types" } ] + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 2005, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + "extendsType": { + "type": "inferred", + "name": "U" + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 2002, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "indexSignature": { + "id": 2003, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "parameters": [ + { + "id": 2004, + "name": "x", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "inferred", + "name": "V" + } + } + } + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "V" + }, + "name": "V", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "object" + }, + "trueType": { + "type": "reference", + "target": 2001, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "V" + }, + "name": "V", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Partial", + "package": "typescript" + }, + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 2006, + "name": "Prev", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 7963, + "name": "PrevLimit", + "package": "@medusajs/types" + } + } + ], + "name": "FilterQuery", + "package": "@medusajs/types" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } } }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - }, - { - "id": 2321, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 2322, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2323, - 2324, - 2321, - 2322 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 2320, - "name": "FilterablePromotionRuleProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "optionalModifier": "+" } + } + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 2029, + 2033, + 2043, + 2053, + 2056, + 2129, + 2172, + 2175 ] }, { - "id": 2272, - "name": "PromotionTypeValues", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "standard" - }, - { - "type": "literal", - "value": "buyget" - } - ] + "title": "Type Aliases", + "children": [ + 2178, + 2179, + 2007, + 2001 + ] + } + ] + }, + { + "id": 7975, + "name": "BaseRepositoryService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Data access layer (DAL) interface to implements for any repository service.\nThis layer helps to separate the business logic (service layer) from accessing the\nORM directly and allows to switch to another ORM without changing the business logic." } - }, + ] + }, + "children": [ { - "id": 2273, - "name": "PromotionDTO", + "id": 7976, + "name": "transaction", "variant": "declaration", - "kind": 256, + "kind": 2048, "flags": {}, - "children": [ + "signatures": [ { - "id": 2274, - "name": "id", - "variant": "declaration", - "kind": 1024, + "id": 7977, + "name": "transaction", + "variant": "signature", + "kind": 4096, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2275, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2276, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2272, - "name": "PromotionTypeValues", - "package": "@medusajs/types" - } - }, - { - "id": 2277, - "name": "is_automatic", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 2278, - "name": "application_method", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2164, - "name": "ApplicationMethodDTO", - "package": "@medusajs/types" - } - }, - { - "id": 2279, - "name": "rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2305, - "name": "PromotionRuleDTO", - "package": "@medusajs/types" + "typeParameter": [ + { + "id": 7978, + "name": "TManager", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } } - } - }, - { - "id": 2280, - "name": "campaign", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + ], + "parameters": [ + { + "id": 7979, + "name": "task", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 7980, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "signatures": [ + { + "id": 7981, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 7982, + "name": "transactionManager", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 2107, + "name": "TManager", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 7983, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 7984, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7985, + "name": "isolationLevel", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7986, + "name": "transaction", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2107, + "name": "TManager", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + { + "id": 7987, + "name": "enableNestedTransactions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7985, + 7986, + 7987 + ] + } + ] + } + } + } + ], "type": { "type": "reference", - "target": 2204, - "name": "CampaignDTO", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise", + "package": "typescript" } } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2274, - 2275, - 2276, - 2277, - 2278, - 2279, - 2280 - ] - } ] }, { - "id": 2281, - "name": "CreatePromotionDTO", + "id": 7988, + "name": "getFreshManager", "variant": "declaration", - "kind": 256, + "kind": 2048, "flags": {}, - "children": [ - { - "id": 2282, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "signatures": [ { - "id": 2283, - "name": "type", - "variant": "declaration", - "kind": 1024, + "id": 7989, + "name": "getFreshManager", + "variant": "signature", + "kind": 4096, "flags": {}, - "type": { - "type": "reference", - "target": 2272, - "name": "PromotionTypeValues", - "package": "@medusajs/types" - } - }, - { - "id": 2284, - "name": "is_automatic", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 2285, - "name": "application_method", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2176, - "name": "CreateApplicationMethodDTO", - "package": "@medusajs/types" - } - }, - { - "id": 2286, - "name": "rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2311, - "name": "CreatePromotionRuleDTO", - "package": "@medusajs/types" + "typeParameter": [ + { + "id": 7990, + "name": "TManager", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } } - } - }, - { - "id": 2287, - "name": "campaign", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + ], "type": { "type": "reference", - "target": 2346, - "name": "CreateCampaignDTO", - "package": "@medusajs/types" - } - }, - { - "id": 2288, - "name": "campaign_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" + "target": 2119, + "name": "TManager", + "package": "@medusajs/types", + "refersToTypeParameter": true } } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2282, - 2283, - 2284, - 2285, - 2286, - 2287, - 2288 - ] - } ] }, { - "id": 2289, - "name": "UpdatePromotionDTO", + "id": 7991, + "name": "getActiveManager", "variant": "declaration", - "kind": 256, + "kind": 2048, "flags": {}, - "children": [ + "signatures": [ { - "id": 2290, - "name": "id", - "variant": "declaration", - "kind": 1024, + "id": 7992, + "name": "getActiveManager", + "variant": "signature", + "kind": 4096, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2291, - "name": "is_automatic", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 2292, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2293, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2272, - "name": "PromotionTypeValues", - "package": "@medusajs/types" - } - }, - { - "id": 2294, - "name": "application_method", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "typeParameter": [ + { + "id": 7993, + "name": "TManager", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], "type": { "type": "reference", - "target": 2187, - "name": "UpdateApplicationMethodDTO", - "package": "@medusajs/types" - } - }, - { - "id": 2295, - "name": "campaign_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" + "target": 2122, + "name": "TManager", + "package": "@medusajs/types", + "refersToTypeParameter": true } } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2290, - 2291, - 2292, - 2293, - 2294, - 2295 - ] - } ] }, { - "id": 2296, - "name": "FilterablePromotionProps", + "id": 7994, + "name": "serialize", "variant": "declaration", - "kind": 256, + "kind": 2048, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." - } - ] - }, - "children": [ + "signatures": [ { - "id": 2302, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 2296, - "name": "FilterablePromotionProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 2296, - "name": "FilterablePromotionProps", - "package": "@medusajs/types" + "id": 7995, + "name": "serialize", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 7996, + "name": "TOutput", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "object" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "object" } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] + } + ] + } } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } - }, - { - "id": 2303, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + ], + "parameters": [ + { + "id": 7997, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 7998, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 2296, - "name": "FilterablePromotionProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 2296, - "name": "FilterablePromotionProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] } - }, - "inheritedFrom": { + ], + "type": { "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - }, - { - "id": 2297, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 2298, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 2299, - "name": "is_automatic", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 2300, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2272, - "name": "PromotionTypeValues", - "package": "@medusajs/types" - } - } - }, - { - "id": 2301, - "name": "budget_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2125, + "name": "TOutput", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" } } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2302, - 2303, - 2297, - 2298, - 2299, - 2300, - 2301 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 2296, - "name": "FilterablePromotionProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } ] - }, + } + ], + "groups": [ { - "id": 2337, - "name": "CreateCampaignBudgetDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, + "title": "Methods", "children": [ - { - "id": 2338, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 2218, - "name": "CampaignBudgetTypeValues", - "package": "@medusajs/types" - } - }, - { - "id": 2339, - "name": "limit", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 2340, - "name": "used", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2338, - 2339, - 2340 - ] - } + 7976, + 7988, + 7991, + 7994 ] + } + ], + "typeParameters": [ + { + "id": 7999, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 2056, + "name": "RepositoryService" }, { - "id": 2341, - "name": "UpdateCampaignBudgetDTO", + "type": "reference", + "target": 2129, + "name": "TreeRepositoryService" + } + ] + }, + { + "id": 7970, + "name": "Dictionary", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 7974, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 7971, + "name": "__type", "variant": "declaration", - "kind": 256, + "kind": 65536, "flags": {}, - "children": [ - { - "id": 2342, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "indexSignature": { + "id": 7972, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "parameters": [ + { + "id": 7973, + "name": "k", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } } - }, - { - "id": 2343, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { + ], + "type": { + "type": "reference", + "target": 7974, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + } + } + } + }, + { + "id": 7964, + "name": "Query", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 7965, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 7965, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "object" + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 7965, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reference", + "target": 8266, + "name": "Scalar", + "package": "@medusajs/types" + }, + "trueType": { + "type": "intrinsic", + "name": "never" + }, + "falseType": { + "type": "reference", + "target": 2001, + "typeArguments": [ + { "type": "reference", - "target": 2218, - "name": "CampaignBudgetTypeValues", - "package": "@medusajs/types" - } - }, - { - "id": 2344, - "name": "limit", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] + "target": 7965, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } - }, + ], + "name": "FilterQuery", + "package": "@medusajs/types" + } + }, + "falseType": { + "type": "reference", + "target": 8270, + "typeArguments": [ { - "id": 2345, - "name": "used", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } + "type": "reference", + "target": 7965, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } ], - "groups": [ - { - "title": "Properties", - "children": [ - 2342, - 2343, - 2344, - 2345 - ] - } - ] - }, + "name": "FilterValue", + "package": "@medusajs/types" + } + } + }, + { + "id": 7966, + "name": "ExpandScalar", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ { - "id": 2346, - "name": "CreateCampaignDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2347, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2348, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2349, - "name": "currency", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2350, - "name": "campaign_identifier", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } + "id": 7967, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 7967, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true }, - { - "id": 2351, - "name": "starts_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } + "extendsType": { + "type": "intrinsic", + "name": "string" }, - { - "id": 2352, - "name": "ends_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" + "trueType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" }, - "name": "Date", - "package": "typescript" - } - }, - { - "id": 2353, - "name": "budget", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2337, - "name": "CreateCampaignBudgetDTO", - "package": "@medusajs/types" - } - }, - { - "id": 2354, - "name": "promotions", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Pick" + "qualifiedName": "RegExp" }, - "typeArguments": [ - { - "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" - }, - { - "type": "literal", - "value": "id" - } - ], - "name": "Pick", + "name": "RegExp", "package": "typescript" } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2347, - 2348, - 2349, - 2350, - 2351, - 2352, - 2353, - 2354 ] - } - ] - }, - { - "id": 2355, - "name": "UpdateCampaignDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2356, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2357, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2358, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2359, - "name": "currency", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2360, - "name": "campaign_identifier", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } }, - { - "id": 2361, - "name": "starts_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { + "falseType": { + "type": "conditional", + "checkType": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - }, - { - "id": 2362, - "name": "ends_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "target": 7967, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true }, - "type": { + "extendsType": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", @@ -64833,404 +62576,830 @@ }, "name": "Date", "package": "typescript" - } - }, - { - "id": 2363, - "name": "budget", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ + "trueType": { + "type": "union", + "types": [ { "type": "reference", - "target": 2341, - "name": "UpdateCampaignBudgetDTO", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" }, { - "type": "literal", - "value": "id" + "type": "intrinsic", + "name": "string" } - ], - "name": "Omit", - "package": "typescript" + ] + }, + "falseType": { + "type": "reference", + "target": 7967, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } + } + } + ] + } + }, + { + "id": 8266, + "name": "Scalar", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "intrinsic", + "name": "symbol" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" }, - { - "id": 2364, - "name": "promotions", + "name": "Date", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "RegExp" + }, + "name": "RegExp", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/@types/node/buffer.d.ts", + "qualifiedName": "__global.Buffer" + }, + "name": "Buffer", + "package": "@types/node", + "qualifiedName": "__global.Buffer" + }, + { + "type": "reflection", + "declaration": { + "id": 8267, + "name": "__type", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Pick" - }, - "typeArguments": [ - { - "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" - }, + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 8268, + "name": "toHexString", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "type": "literal", - "value": "id" + "id": 8269, + "name": "toHexString", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } } - ], - "name": "Pick", - "package": "typescript" + ] } - } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 8268 + ] + } + ] } - ], - "groups": [ + } + ] + } + }, + { + "id": 8378, + "name": "ReadonlyPrimary", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 8379, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 8379, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Readonly" + }, + "typeArguments": [ { - "title": "Properties", - "children": [ - 2356, - 2357, - 2358, - 2359, - 2360, - 2361, - 2362, - 2363, - 2364 - ] + "type": "reference", + "target": 8379, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } - ] + ], + "name": "Readonly", + "package": "typescript" }, + "falseType": { + "type": "reference", + "target": 8379, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + } + }, + { + "id": 8368, + "name": "Primary", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ { - "id": 2365, - "name": "IPromotionModuleService", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + "id": 8377, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 8377, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 8369, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 8370, + "name": "[PrimaryKeyType]", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "inferred", + "name": "PK" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8370 + ] + } + ] + } + }, + "trueType": { + "type": "reference", + "target": 8378, + "typeArguments": [ { - "id": 2366, - "name": "registerUsage", + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "PK" + }, + "name": "PK", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ReadonlyPrimary", + "package": "@medusajs/types" + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 8377, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 8371, + "name": "__type", "variant": "declaration", - "kind": 2048, + "kind": 65536, "flags": {}, - "signatures": [ + "children": [ { - "id": 2367, - "name": "registerUsage", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2368, - "name": "computedActions", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2229, - "name": "ComputeActions", - "package": "@medusajs/types" - } - } - } - ], + "id": 8372, + "name": "_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, "type": { + "type": "inferred", + "name": "PK" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8372 + ] + } + ] + } + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 8378, + "typeArguments": [ + { "type": "reference", "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "PK" }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "name": "PK", + "package": "@medusajs/types", + "refersToTypeParameter": true } - } - ] - }, - { - "id": 2369, - "name": "computeActions", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2370, - "name": "computeActions", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2371, - "name": "promotionCodesToApply", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 2372, - "name": "applicationContext", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 2267, - "name": "ComputeActionContext", - "package": "@medusajs/types" - } + ], + "name": "ReadonlyPrimary", + "package": "@medusajs/types" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 8377, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 8373, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 8374, + "name": "uuid", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, + "type": { + "type": "inferred", + "name": "PK" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8374 + ] + } + ] + } + }, + "trueType": { + "type": "reference", + "target": 8378, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "PK" + }, + "name": "PK", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ReadonlyPrimary", + "package": "@medusajs/types" + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 8377, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 8375, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "id": 2373, - "name": "options", - "variant": "param", - "kind": 32768, + "id": 8376, + "name": "id", + "variant": "declaration", + "kind": 1024, "flags": { "isOptional": true }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Record", - "package": "typescript" + "type": "inferred", + "name": "PK" } } ], - "type": { + "groups": [ + { + "title": "Properties", + "children": [ + 8376 + ] + } + ] + } + }, + "trueType": { + "type": "reference", + "target": 8378, + "typeArguments": [ + { "type": "reference", "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "PK" }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 2229, - "name": "ComputeActions", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "name": "PK", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ReadonlyPrimary", + "package": "@medusajs/types" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + } + } + }, + { + "id": 8347, + "name": "FilterValue2", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 8348, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 8348, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 7966, + "typeArguments": [ + { + "type": "reference", + "target": 8348, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 8368, + "typeArguments": [ + { + "type": "reference", + "target": 8348, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Primary", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 8270, + "name": "FilterValue", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 8271, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "reference", + "target": 8347, + "typeArguments": [ + { + "type": "reference", + "target": 8271, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } + ], + "name": "FilterValue2", + "package": "@medusajs/types" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 8347, + "typeArguments": [ + { + "type": "reference", + "target": 8271, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "FilterValue2", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 8347, + "typeArguments": [ + { + "type": "reference", + "target": 8271, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } - ] + ], + "name": "FilterValue2", + "package": "@medusajs/types" + } + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 7963, + "name": "PrevLimit", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "tuple", + "elements": [ + { + "type": "intrinsic", + "name": "never" + }, + { + "type": "literal", + "value": 1 + }, + { + "type": "literal", + "value": 2 + }, + { + "type": "literal", + "value": 3 + } + ] + } + }, + { + "id": 7968, + "name": "Order", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 7969, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "mapped", + "parameter": "key", + "parameterType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 7969, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + "templateType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "ASC" }, { - "id": 2374, - "name": "create", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + "type": "literal", + "value": "DESC" + }, + { + "type": "reference", + "target": 7968, + "typeArguments": [ { - "id": 2375, - "name": "create", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2376, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2281, - "name": "CreatePromotionDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 2377, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "key" }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } + "name": "key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 7969, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": 0 }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 2378, - "name": "create", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2379, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { + "objectType": { + "type": "indexedAccess", + "indexType": { "type": "reference", - "target": 2281, - "name": "CreatePromotionDTO", - "package": "@medusajs/types" - } - }, - { - "id": 2380, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "key" + }, + "name": "key", + "package": "@medusajs/types", + "refersToTypeParameter": true }, - "type": { + "objectType": { "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "target": 7969, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + }, + "falseType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "key" + }, + "name": "key", + "package": "@medusajs/types", + "refersToTypeParameter": true }, - "typeArguments": [ - { - "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "objectType": { + "type": "reference", + "target": 7969, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } } } - ] - }, + ], + "name": "Order", + "package": "@medusajs/types" + } + ] + }, + "optionalModifier": "+" + } + }, + { + "id": 2180, + "name": "EventBusTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 2181, + "name": "Subscriber", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ { - "id": 2381, - "name": "update", + "id": 2186, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 2182, + "name": "__type", "variant": "declaration", - "kind": 2048, + "kind": 65536, "flags": {}, "signatures": [ { - "id": 2382, - "name": "update", + "id": 2183, + "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2383, + "id": 2184, "name": "data", "variant": "param", "kind": 32768, "flags": {}, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2289, - "name": "UpdatePromotionDTO", - "package": "@medusajs/types" - } + "type": "reference", + "target": 2186, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } }, { - "id": 2384, - "name": "sharedContext", + "id": 2185, + "name": "eventName", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true - }, + "flags": {}, "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } } ], @@ -65242,231 +63411,166 @@ }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "void" } ], "name": "Promise", "package": "typescript" } - }, + } + ] + } + } + }, + { + "id": 2187, + "name": "SubscriberContext", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 2188, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "id": 2385, - "name": "update", - "variant": "signature", - "kind": 4096, + "id": 2189, + "name": "subscriberId", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 2386, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 2289, - "name": "UpdatePromotionDTO", - "package": "@medusajs/types" - } - }, - { - "id": 2387, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "type": "intrinsic", + "name": "string" } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2189 + ] + } ] - }, - { - "id": 2388, - "name": "list", + } + } + }, + { + "id": 2190, + "name": "SubscriberDescriptor", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 2191, + "name": "__type", "variant": "declaration", - "kind": 2048, + "kind": 65536, "flags": {}, - "signatures": [ + "children": [ { - "id": 2389, - "name": "list", - "variant": "signature", - "kind": 4096, + "id": 2192, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2193, + "name": "subscriber", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 2390, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2296, - "name": "FilterablePromotionProps", - "package": "@medusajs/types" - } - }, - { - "id": 2391, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 2392, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], "type": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "target": 2181, + "name": "Subscriber", + "package": "@medusajs/types" } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2192, + 2193 + ] + } ] - }, + } + } + }, + { + "id": 2194, + "name": "EventHandler", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ { - "id": 2393, - "name": "listAndCount", + "id": 2199, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 2195, + "name": "__type", "variant": "declaration", - "kind": 2048, + "kind": 65536, "flags": {}, "signatures": [ { - "id": 2394, - "name": "listAndCount", + "id": 2196, + "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2395, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2296, - "name": "FilterablePromotionProps", - "package": "@medusajs/types" - } - }, - { - "id": 2396, - "name": "config", + "id": 2197, + "name": "data", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true - }, + "flags": {}, "type": { "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" + "target": 2199, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } }, { - "id": 2397, - "name": "sharedContext", + "id": 2198, + "name": "eventName", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true - }, + "flags": {}, "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } } ], @@ -65478,22 +63582,8 @@ }, "typeArguments": [ { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] + "type": "intrinsic", + "name": "void" } ], "name": "Promise", @@ -65501,284 +63591,554 @@ } } ] - }, + } + } + }, + { + "id": 2200, + "name": "EmitData", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ { - "id": 2398, - "name": "retrieve", + "id": 2205, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 2201, + "name": "__type", "variant": "declaration", - "kind": 2048, + "kind": 65536, "flags": {}, - "signatures": [ + "children": [ { - "id": 2399, - "name": "retrieve", - "variant": "signature", - "kind": 4096, + "id": 2202, + "name": "eventName", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 2400, - "name": "id", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2401, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 2402, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2203, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 2205, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + { + "id": 2204, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Record" }, "typeArguments": [ { - "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "Promise", + "name": "Record", "package": "typescript" } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2202, + 2203, + 2204 + ] + } ] - }, + } + } + }, + { + "id": 2206, + "name": "MessageBody", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ { - "id": 2403, - "name": "delete", - "variant": "declaration", - "kind": 2048, + "id": 2215, + "name": "T", + "variant": "typeParam", + "kind": 131072, "flags": {}, - "signatures": [ - { - "id": 2404, - "name": "delete", - "variant": "signature", - "kind": 4096, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 2207, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 2208, + "name": "metadata", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 2405, - "name": "ids", - "variant": "param", - "kind": 32768, + "type": { + "type": "reflection", + "declaration": { + "id": 2209, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" + "children": [ + { + "id": 2210, + "name": "service", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2211, + "name": "action", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2212, + "name": "object", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2213, + "name": "eventGroupId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } } - } - }, - { - "id": 2406, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2210, + 2211, + 2212, + 2213 + ] + } + ] + } + } + }, + { + "id": 2214, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 2215, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2208, + 2214 + ] + } + ] + } + } + }, + { + "id": 2216, + "name": "Message", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 2221, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 2217, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 2218, + "name": "eventName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2219, + "name": "body", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 2206, + "typeArguments": [ + { "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "target": 2221, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } - } - ], + ], + "name": "MessageBody", + "package": "@medusajs/types" + } + }, + { + "id": 2220, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Record" }, "typeArguments": [ { "type": "intrinsic", - "name": "void" + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "Promise", + "name": "Record", "package": "typescript" } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2218, + 2219, + 2220 + ] + } + ] + } + } + }, + { + "id": 2222, + "name": "MessageFormat", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 2232, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 2223, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 2224, + "name": "eventName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 2407, - "name": "delete", - "variant": "signature", - "kind": 4096, + "id": 2225, + "name": "metadata", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 2408, - "name": "ids", - "variant": "param", - "kind": 32768, + "type": { + "type": "reflection", + "declaration": { + "id": 2226, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2409, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } + "children": [ + { + "id": 2227, + "name": "service", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2228, + "name": "action", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2229, + "name": "object", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2230, + "name": "eventGroupId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2227, + 2228, + 2229, + 2230 + ] + } + ] } - ], + } + }, + { + "id": 2231, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "intrinsic", - "name": "void" + "type": "reference", + "target": 2232, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2232, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } } - ], - "name": "Promise", - "package": "typescript" + ] } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2224, + 2225, + 2231 + ] + } ] - }, + } + } + }, + { + "id": 2259, + "name": "IEventBusModuleService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ { - "id": 2410, - "name": "softDelete", + "id": 2260, + "name": "emit", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2411, - "name": "softDelete", + "id": 2261, + "name": "emit", "variant": "signature", "kind": 4096, "flags": {}, "typeParameter": [ { - "id": 2412, - "name": "TReturnableLinkableKeys", + "id": 2262, + "name": "T", "variant": "typeParam", "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "intrinsic", - "name": "string" - } + "flags": {} } ], "parameters": [ { - "id": 2413, - "name": "promotionIds", + "id": 2263, + "name": "eventName", "variant": "param", "kind": 32768, "flags": {}, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] + "type": "intrinsic", + "name": "string" } }, { - "id": 2414, - "name": "config", + "id": 2264, + "name": "data", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true - }, + "flags": {}, "type": { "type": "reference", - "target": 1642, - "typeArguments": [ - { - "type": "reference", - "target": 2412, - "name": "TReturnableLinkableKeys", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "SoftDeleteReturn", - "package": "@medusajs/types" + "target": 2262, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } }, { - "id": 2415, - "name": "sharedContext", + "id": 2265, + "name": "options", "variant": "param", "kind": 32768, "flags": { @@ -65786,9 +64146,22 @@ }, "type": { "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } } ], @@ -65800,134 +64173,53 @@ }, "typeArguments": [ { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "void" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ], - "name": "Record", - "package": "typescript" - } - ] + "type": "intrinsic", + "name": "void" } ], "name": "Promise", "package": "typescript" } - } - ] - }, - { - "id": 2416, - "name": "restore", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 2417, - "name": "restore", + "id": 2266, + "name": "emit", "variant": "signature", "kind": 4096, "flags": {}, "typeParameter": [ { - "id": 2418, - "name": "TReturnableLinkableKeys", + "id": 2267, + "name": "T", "variant": "typeParam", "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "intrinsic", - "name": "string" - } + "flags": {} } ], "parameters": [ { - "id": 2419, - "name": "promotionIds", + "id": 2268, + "name": "data", "variant": "param", "kind": 32768, "flags": {}, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 2200, + "typeArguments": [ + { + "type": "reference", + "target": 2267, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } - } - ] - } - }, - { - "id": 2420, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1645, - "typeArguments": [ - { - "type": "reference", - "target": 2418, - "name": "TReturnableLinkableKeys", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "RestoreReturn", - "package": "@medusajs/types" - } - }, - { - "id": 2421, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + ], + "name": "EmitData", + "package": "@medusajs/types" + } } } ], @@ -65939,71 +64231,33 @@ }, "typeArguments": [ { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "void" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ], - "name": "Record", - "package": "typescript" - } - ] + "type": "intrinsic", + "name": "void" } ], "name": "Promise", "package": "typescript" } - } - ] - }, - { - "id": 2422, - "name": "addPromotionRules", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 2423, - "name": "addPromotionRules", + "id": 2269, + "name": "emit", "variant": "signature", "kind": 4096, "flags": {}, - "parameters": [ + "typeParameter": [ { - "id": 2424, - "name": "promotionId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "id": 2270, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "parameters": [ { - "id": 2425, - "name": "rulesData", + "id": 2271, + "name": "data", "variant": "param", "kind": 32768, "flags": {}, @@ -66011,26 +64265,20 @@ "type": "array", "elementType": { "type": "reference", - "target": 2311, - "name": "CreatePromotionRuleDTO", + "target": 2216, + "typeArguments": [ + { + "type": "reference", + "target": 2270, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Message", "package": "@medusajs/types" } } - }, - { - "id": 2426, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } } ], "type": { @@ -66041,10 +64289,8 @@ }, "typeArguments": [ { - "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "void" } ], "name": "Promise", @@ -66054,49 +64300,55 @@ ] }, { - "id": 2427, - "name": "addPromotionTargetRules", + "id": 2272, + "name": "subscribe", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2428, - "name": "addPromotionTargetRules", + "id": 2273, + "name": "subscribe", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2429, - "name": "promotionId", + "id": 2274, + "name": "eventName", "variant": "param", "kind": 32768, "flags": {}, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "symbol" + } + ] } }, { - "id": 2430, - "name": "rulesData", + "id": 2275, + "name": "subscriber", "variant": "param", "kind": 32768, "flags": {}, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2311, - "name": "CreatePromotionRuleDTO", - "package": "@medusajs/types" - } + "type": "reference", + "target": 2181, + "name": "Subscriber", + "package": "@medusajs/types" } }, { - "id": 2431, - "name": "sharedContext", + "id": 2276, + "name": "context", "variant": "param", "kind": 32768, "flags": { @@ -66104,76 +64356,69 @@ }, "type": { "type": "reference", - "target": 3682, - "name": "Context", + "target": 2187, + "name": "SubscriberContext", "package": "@medusajs/types" } } ], "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 2432, - "name": "addPromotionBuyRules", + "id": 2277, + "name": "unsubscribe", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2433, - "name": "addPromotionBuyRules", + "id": 2278, + "name": "unsubscribe", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2434, - "name": "promotionId", + "id": 2279, + "name": "eventName", "variant": "param", "kind": 32768, "flags": {}, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "symbol" + } + ] } }, { - "id": 2435, - "name": "rulesData", + "id": 2280, + "name": "subscriber", "variant": "param", "kind": 32768, "flags": {}, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2311, - "name": "CreatePromotionRuleDTO", - "package": "@medusajs/types" - } + "type": "reference", + "target": 2181, + "name": "Subscriber", + "package": "@medusajs/types" } }, { - "id": 2436, - "name": "sharedContext", + "id": 2281, + "name": "context", "variant": "param", "kind": 32768, "flags": { @@ -66181,76 +64426,88 @@ }, "type": { "type": "reference", - "target": 3682, - "name": "Context", + "target": 2187, + "name": "SubscriberContext", "package": "@medusajs/types" } } ], "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "type": "intrinsic", + "name": "this" } } ] - }, + } + ], + "groups": [ { - "id": 2437, - "name": "removePromotionRules", + "title": "Methods", + "children": [ + 2260, + 2272, + 2277 + ] + } + ] + }, + { + "id": 2233, + "name": "IEventBusService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 2234, + "name": "subscribe", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2438, - "name": "removePromotionRules", + "id": 2235, + "name": "subscribe", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2439, - "name": "promotionId", + "id": 2236, + "name": "eventName", "variant": "param", "kind": 32768, "flags": {}, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "symbol" + } + ] } }, { - "id": 2440, - "name": "rulesData", + "id": 2237, + "name": "subscriber", "variant": "param", "kind": 32768, "flags": {}, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2318, - "name": "RemovePromotionRuleDTO", - "package": "@medusajs/types" - } + "type": "reference", + "target": 2181, + "name": "Subscriber", + "package": "@medusajs/types" } }, { - "id": 2441, - "name": "sharedContext", + "id": 2238, + "name": "context", "variant": "param", "kind": 32768, "flags": { @@ -66258,76 +64515,69 @@ }, "type": { "type": "reference", - "target": 3682, - "name": "Context", + "target": 2187, + "name": "SubscriberContext", "package": "@medusajs/types" } } ], "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 2442, - "name": "removePromotionTargetRules", + "id": 2239, + "name": "unsubscribe", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2443, - "name": "removePromotionTargetRules", + "id": 2240, + "name": "unsubscribe", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2444, - "name": "promotionId", + "id": 2241, + "name": "eventName", "variant": "param", "kind": 32768, "flags": {}, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "symbol" + } + ] } }, { - "id": 2445, - "name": "rulesData", + "id": 2242, + "name": "subscriber", "variant": "param", "kind": 32768, "flags": {}, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2318, - "name": "RemovePromotionRuleDTO", - "package": "@medusajs/types" - } + "type": "reference", + "target": 2181, + "name": "Subscriber", + "package": "@medusajs/types" } }, { - "id": 2446, - "name": "sharedContext", + "id": 2243, + "name": "context", "variant": "param", "kind": 32768, "flags": { @@ -66335,49 +64585,45 @@ }, "type": { "type": "reference", - "target": 3682, - "name": "Context", + "target": 2187, + "name": "SubscriberContext", "package": "@medusajs/types" } } ], "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "type": "intrinsic", + "name": "this" } } ] }, { - "id": 2447, - "name": "removePromotionBuyRules", + "id": 2244, + "name": "emit", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2448, - "name": "removePromotionBuyRules", + "id": 2245, + "name": "emit", "variant": "signature", "kind": 4096, "flags": {}, + "typeParameter": [ + { + "id": 2246, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], "parameters": [ { - "id": 2449, - "name": "promotionId", + "id": 2247, + "name": "event", "variant": "param", "kind": 32768, "flags": {}, @@ -66387,34 +64633,30 @@ } }, { - "id": 2450, - "name": "rulesData", + "id": 2248, + "name": "data", "variant": "param", "kind": 32768, "flags": {}, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2318, - "name": "RemovePromotionRuleDTO", - "package": "@medusajs/types" - } + "type": "reference", + "target": 2246, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } }, { - "id": 2451, - "name": "sharedContext", + "id": 2249, + "name": "options", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "unknown" } } ], @@ -66426,58 +64668,53 @@ }, "typeArguments": [ { - "type": "reference", - "target": 2273, - "name": "PromotionDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "unknown" } ], "name": "Promise", "package": "typescript" } - } - ] - }, - { - "id": 2452, - "name": "createCampaigns", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 2453, - "name": "createCampaigns", + "id": 2250, + "name": "emit", "variant": "signature", "kind": 4096, "flags": {}, + "typeParameter": [ + { + "id": 2251, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], "parameters": [ { - "id": 2454, + "id": 2252, "name": "data", "variant": "param", "kind": 32768, "flags": {}, "type": { - "type": "reference", - "target": 2346, - "name": "CreateCampaignDTO", - "package": "@medusajs/types" - } - }, - { - "id": 2455, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 2200, + "typeArguments": [ + { + "type": "reference", + "target": 2251, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "EmitData", + "package": "@medusajs/types" + } } } ], @@ -66489,10 +64726,8 @@ }, "typeArguments": [ { - "type": "reference", - "target": 2204, - "name": "CampaignDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "unknown" } ], "name": "Promise", @@ -66500,14 +64735,23 @@ } }, { - "id": 2456, - "name": "createCampaigns", + "id": 2253, + "name": "emit", "variant": "signature", "kind": 4096, "flags": {}, + "typeParameter": [ + { + "id": 2254, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], "parameters": [ { - "id": 2457, + "id": 2255, "name": "data", "variant": "param", "kind": 32768, @@ -66516,26 +64760,20 @@ "type": "array", "elementType": { "type": "reference", - "target": 2346, - "name": "CreateCampaignDTO", + "target": 2216, + "typeArguments": [ + { + "type": "reference", + "target": 2254, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Message", "package": "@medusajs/types" } } - }, - { - "id": 2458, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } } ], "type": { @@ -66546,13 +64784,8 @@ }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 2204, - "name": "CampaignDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "unknown" } ], "name": "Promise", @@ -66562,95 +64795,22 @@ ] }, { - "id": 2459, - "name": "updateCampaigns", + "id": 2256, + "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2460, - "name": "updateCampaigns", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2461, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2355, - "name": "UpdateCampaignDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 2462, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 2204, - "name": "CampaignDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 2463, - "name": "updateCampaigns", + "id": 2257, + "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2464, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 2355, - "name": "UpdateCampaignDTO", - "package": "@medusajs/types" - } - }, - { - "id": 2465, - "name": "sharedContext", + "id": 2258, + "name": "transactionManager", "variant": "param", "kind": 32768, "flags": { @@ -66658,947 +64818,518 @@ }, "type": { "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../../node_modules/typeorm/entity-manager/EntityManager.d.ts", + "qualifiedName": "EntityManager" + }, + "name": "EntityManager", + "package": "typeorm" } } ], "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 2204, - "name": "CampaignDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "target": 5735, + "name": "ITransactionBaseService.withTransaction" } } - ] - }, + ], + "inheritedFrom": { + "type": "reference", + "target": 5734, + "name": "ITransactionBaseService.withTransaction" + } + } + ], + "groups": [ { - "id": 2466, - "name": "listCampaigns", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2467, - "name": "listCampaigns", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2468, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2213, - "name": "FilterableCampaignProps", - "package": "@medusajs/types" - } - }, - { - "id": 2469, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 2204, - "name": "CampaignDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 2470, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 2204, - "name": "CampaignDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" - } - } + "title": "Methods", + "children": [ + 2234, + 2239, + 2244, + 2256 ] - }, + } + ], + "extendedTypes": [ { - "id": 2471, - "name": "listAndCountCampaigns", + "type": "reference", + "target": 5733, + "name": "ITransactionBaseService", + "package": "@medusajs/types" + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 2259, + 2233 + ] + }, + { + "title": "Type Aliases", + "children": [ + 2181, + 2187, + 2190, + 2194, + 2200, + 2206, + 2216, + 2222 + ] + } + ] + }, + { + "id": 2282, + "name": "FeatureFlagTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 2283, + "name": "IFlagRouter", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 2284, + "name": "isFeatureEnabled", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 2472, - "name": "listAndCountCampaigns", - "variant": "signature", - "kind": 4096, + "type": { + "type": "reflection", + "declaration": { + "id": 2285, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "parameters": [ - { - "id": 2473, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2213, - "name": "FilterableCampaignProps", - "package": "@medusajs/types" - } - }, + "signatures": [ { - "id": 2474, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 2204, - "name": "CampaignDTO", - "package": "@medusajs/types" + "id": 2286, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 2287, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 2475, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, + } + ], "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "boolean" } } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 2204, - "name": "CampaignDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - ], - "name": "Promise", - "package": "typescript" - } + ] } - ] + } }, { - "id": 2476, - "name": "retrieveCampaign", + "id": 2288, + "name": "listFlags", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 2477, - "name": "retrieveCampaign", - "variant": "signature", - "kind": 4096, + "type": { + "type": "reflection", + "declaration": { + "id": 2289, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "parameters": [ + "signatures": [ { - "id": 2478, - "name": "id", - "variant": "param", - "kind": 32768, + "id": 2290, + "name": "__type", + "variant": "signature", + "kind": 4096, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2479, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 2204, - "name": "CampaignDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 2480, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, "type": { "type": "reference", - "target": 3682, - "name": "Context", + "target": 2291, + "name": "FeatureFlagsResponse", "package": "@medusajs/types" } } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 2204, - "name": "CampaignDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" - } + ] } - ] - }, + } + } + ], + "groups": [ { - "id": 2481, - "name": "deleteCampaigns", + "title": "Properties", + "children": [ + 2284, + 2288 + ] + } + ] + }, + { + "id": 2291, + "name": "FeatureFlagsResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@interface" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 2292, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 2293, + "name": "key", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2294, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2293, + 2294 + ] + } + ] + } + } + } + }, + { + "id": 2295, + "name": "FlagSettings", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 2296, + "name": "__type", "variant": "declaration", - "kind": 2048, + "kind": 65536, "flags": {}, - "signatures": [ + "children": [ { - "id": 2482, - "name": "deleteCampaigns", - "variant": "signature", - "kind": 4096, + "id": 2297, + "name": "key", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 2483, - "name": "ids", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 2484, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "type": "intrinsic", + "name": "string" } }, { - "id": 2485, - "name": "deleteCampaigns", - "variant": "signature", - "kind": 4096, + "id": 2298, + "name": "description", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 2486, - "name": "ids", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2487, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "type": "intrinsic", + "name": "string" } - } - ] - }, - { - "id": 2488, - "name": "softDeleteCampaigns", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 2489, - "name": "softDeleteCampaigns", - "variant": "signature", - "kind": 4096, + "id": 2299, + "name": "env_key", + "variant": "declaration", + "kind": 1024, "flags": {}, - "typeParameter": [ - { - "id": 2490, - "name": "TReturnableLinkableKeys", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 2491, - "name": "campaignIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "id": 2492, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1642, - "typeArguments": [ - { - "type": "reference", - "target": 2490, - "name": "TReturnableLinkableKeys", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "SoftDeleteReturn", - "package": "@medusajs/types" - } - }, - { - "id": 2493, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "void" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ], - "name": "Record", - "package": "typescript" - } - ] - } - ], - "name": "Promise", - "package": "typescript" + "type": "intrinsic", + "name": "string" } - } - ] - }, - { - "id": 2494, - "name": "restoreCampaigns", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 2495, - "name": "restoreCampaigns", - "variant": "signature", - "kind": 4096, + "id": 2300, + "name": "default_val", + "variant": "declaration", + "kind": 1024, "flags": {}, - "typeParameter": [ - { - "id": 2496, - "name": "TReturnableLinkableKeys", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 2497, - "name": "campaignIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "id": 2498, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1645, - "typeArguments": [ - { - "type": "reference", - "target": 2496, - "name": "TReturnableLinkableKeys", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "RestoreReturn", - "package": "@medusajs/types" - } - }, - { - "id": 2499, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "void" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ], - "name": "Record", - "package": "typescript" - } - ] - } - ], - "name": "Promise", - "package": "typescript" + "type": "intrinsic", + "name": "boolean" } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2297, + 2298, + 2299, + 2300 + ] + } ] } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 2366, - 2369, - 2374, - 2381, - 2388, - 2393, - 2398, - 2403, - 2410, - 2416, - 2422, - 2427, - 2432, - 2437, - 2442, - 2447, - 2452, - 2459, - 2466, - 2471, - 2476, - 2481, - 2488, - 2494 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 2048, - "name": "IModuleService", - "package": "@medusajs/types" - } - ] + } } ], "groups": [ { "title": "Interfaces", "children": [ - 2164, - 2176, - 2187, - 2197, - 2219, - 2224, - 2204, - 2213, - 2231, - 2234, - 2240, - 2245, - 2251, - 2255, - 2258, - 2263, - 2267, - 2270, - 2325, - 2328, - 2331, - 2333, - 2305, - 2311, - 2316, - 2318, - 2320, - 2273, - 2281, - 2289, - 2296, - 2337, - 2341, - 2346, - 2355, - 2365 + 2283 ] }, { "title": "Type Aliases", "children": [ - 2161, - 2162, - 2163, - 2218, - 2229, - 2230, - 2304, - 2272 + 2291, + 2295 ] } ] }, { - "id": 3507, - "name": "RegionDTO", + "id": 6825, + "name": "FileServiceUploadResult", "variant": "declaration", "kind": 256, "flags": {}, - "children": [ - { - "id": 3508, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "Details of a file upload's result." } - }, + ] + }, + "children": [ { - "id": 3509, - "name": "name", + "id": 6826, + "name": "url", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file's URL." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 3510, - "name": "currency_code", + "id": 6827, + "name": "key", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file's key. This key is used in other operations,\nsuch as deleting a file." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } - }, - { - "id": 3511, - "name": "currency", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 3532, - "name": "RegionCurrencyDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3512, - "name": "countries", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3513, - "name": "CountryDTO", - "package": "@medusajs/types" - } - } } ], "groups": [ { "title": "Properties", "children": [ - 3508, - 3509, - 3510, - 3511, - 3512 + 6826, + 6827 ] } ] }, { - "id": 3513, - "name": "CountryDTO", + "id": 6828, + "name": "FileServiceGetUploadStreamResult", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The relevant details to upload a file through a stream." + } + ] + }, "children": [ { - "id": 3514, - "name": "id", + "id": 6829, + "name": "writeStream", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A [PassThrough](https://nodejs.org/api/stream.html#class-streampassthrough) write stream object to be used to write the file." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/@types/node/stream.d.ts", + "qualifiedName": "internal.PassThrough" + }, + "name": "PassThrough", + "package": "@types/node", + "qualifiedName": "internal.PassThrough" } }, { - "id": 3515, - "name": "iso_2", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3516, - "name": "iso_3", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3517, - "name": "num_code", + "id": 6830, + "name": "promise", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A promise that should resolved when the writing process is done to finish the upload." + } + ] + }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise", + "package": "typescript" } }, { - "id": 3518, - "name": "name", + "id": 6831, + "name": "url", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The URL of the file once it’s uploaded." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 3519, - "name": "display_name", + "id": 6832, + "name": "fileKey", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The identifier of the file in the storage. For example, for a local file service, this can be the file's name." + } + ] + }, "type": { "type": "intrinsic", "name": "string" @@ -67609,19 +65340,17 @@ { "title": "Properties", "children": [ - 3514, - 3515, - 3516, - 3517, - 3518, - 3519 + 6829, + 6830, + 6831, + 6832 ] } ] }, { - "id": 3520, - "name": "FilterableRegionProps", + "id": 6833, + "name": "GetUploadedFileType", "variant": "declaration", "kind": 256, "flags": {}, @@ -67629,64 +65358,33 @@ "summary": [ { "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." + "text": "The details of a file to retrieve." } ] }, "children": [ { - "id": 3523, - "name": "$and", + "id": 6834, + "name": "fileKey", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + "text": "The file's key." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3520, - "name": "FilterableRegionProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 3520, - "name": "FilterableRegionProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" + "type": "intrinsic", + "name": "string" } }, { - "id": 3524, - "name": "$or", + "id": 6835, + "name": "isPrivate", "variant": "declaration", "kind": 1024, "flags": { @@ -67696,176 +65394,13 @@ "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + "text": "Whether the file is private." } ] }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3520, - "name": "FilterableRegionProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 3520, - "name": "FilterableRegionProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - }, - { - "id": 3521, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3522, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3523, - 3524, - 3521, - 3522 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 3520, - "name": "FilterableRegionProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 3525, - "name": "RegionCountryDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3526, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3527, - "name": "iso_2", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3528, - "name": "iso_3", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3529, - "name": "num_code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3530, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3531, - "name": "display_name", - "variant": "declaration", - "kind": 1024, - "flags": {}, "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" } } ], @@ -67873,62 +65408,41 @@ { "title": "Properties", "children": [ - 3526, - 3527, - 3528, - 3529, - 3530, - 3531 + 6834, + 6835 ] } ] }, { - "id": 3532, - "name": "RegionCurrencyDTO", + "id": 6836, + "name": "DeleteFileType", "variant": "declaration", "kind": 256, "flags": {}, - "children": [ - { - "id": 3533, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3534, - "name": "symbol", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3535, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the file to remove." } - }, + ] + }, + "children": [ { - "id": 3536, - "name": "symbol_native", + "id": 6837, + "name": "fileKey", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file's key. When uploading a file, the\nreturned key is used here." + } + ] + }, "type": { "type": "intrinsic", "name": "string" @@ -67939,17 +65453,14 @@ { "title": "Properties", "children": [ - 3533, - 3534, - 3535, - 3536 + 6837 ] } ] }, { - "id": 3537, - "name": "FilterableRegionCurrencyProps", + "id": 6838, + "name": "UploadStreamDescriptorType", "variant": "declaration", "kind": 256, "flags": {}, @@ -67957,64 +65468,33 @@ "summary": [ { "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." + "text": "The details of the file being uploaded through a stream." } ] }, "children": [ { - "id": 3543, - "name": "$and", + "id": 6839, + "name": "name", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + "text": "The name of the file." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3537, - "name": "FilterableRegionCurrencyProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 3537, - "name": "FilterableRegionCurrencyProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" + "type": "intrinsic", + "name": "string" } }, { - "id": 3544, - "name": "$or", + "id": 6840, + "name": "ext", "variant": "declaration", "kind": 1024, "flags": { @@ -68024,167 +65504,42 @@ "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3537, - "name": "FilterableRegionCurrencyProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 3537, - "name": "FilterableRegionCurrencyProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } - }, - { - "id": 3538, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "text": "The extension of the file." } ] - } - }, - { - "id": 3539, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] + "type": "intrinsic", + "name": "string" } }, { - "id": 3540, - "name": "symbol", + "id": 6841, + "name": "isPrivate", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "union", - "types": [ + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "string" + "kind": "text", + "text": "Whether the file should be uploaded to a private bucket or location. By convention, the default value of this property is " }, { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "id": 3541, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + "kind": "code", + "text": "`true`" }, { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "." } ] - } - }, - { - "id": 3542, - "name": "symbol_native", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] + "type": "intrinsic", + "name": "boolean" } } ], @@ -68192,2472 +65547,2500 @@ { "title": "Properties", "children": [ - 3543, - 3544, - 3538, - 3539, - 3540, - 3541, - 3542 + 6839, + 6840, + 6841 ] } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 3537, - "name": "FilterableRegionCurrencyProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } ] }, { - "id": 3545, - "name": "FilterableRegionCountryProps", + "id": 6736, + "name": "FileTypes", "variant": "declaration", - "kind": 256, + "kind": 4, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." - } - ] - }, "children": [ { - "id": 3552, - "name": "$and", + "id": 6737, + "name": "FileDTO", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "kind": 256, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + "text": "The File details." } ] }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3545, - "name": "FilterableRegionCountryProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 3545, - "name": "FilterableRegionCountryProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } + "children": [ + { + "id": 6738, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the File." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6739, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The URL of the File." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6738, + 6739 ] } - }, - "inheritedFrom": { - "type": "reference", - "target": 1513, - "name": "BaseFilterable.$and" - } + ] }, { - "id": 3553, - "name": "$or", + "id": 6740, + "name": "FilterableFileProps", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "kind": 256, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + "text": "Filters to apply on a currency." } ] }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 3545, - "name": "FilterableRegionCountryProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 1512, - "typeArguments": [ - { - "type": "reference", - "target": 3545, - "name": "FilterableRegionCountryProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } + "children": [ + { + "id": 6741, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file ID to filter by." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6741 ] } - }, - "inheritedFrom": { - "type": "reference", - "target": 1514, - "name": "BaseFilterable.$or" - } + ] }, { - "id": 3546, - "name": "id", + "id": 6742, + "name": "CreateFileDTO", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "kind": 256, + "flags": {}, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "The File to be created." } ] - } - }, - { - "id": 3547, - "name": "iso_2", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, - "type": { - "type": "union", - "types": [ - { + "children": [ + { + "id": 6743, + "name": "filename", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filename of the uploaded file" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6744, + "name": "mimeType", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The mimetype of the uploaded file" + } + ] + }, + "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 6745, + "name": "content", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file content as a binary-encoded string" + } + ] }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": { + "type": "intrinsic", + "name": "string" } - ] - } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6743, + 6744, + 6745 + ] + } + ] }, { - "id": 3548, - "name": "iso_3", + "id": 6789, + "name": "ProviderFileResultDTO", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ + "kind": 256, + "flags": {}, + "comment": { + "summary": [ { + "kind": "text", + "text": "Details of a file upload's result." + } + ] + }, + "children": [ + { + "id": 6790, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file's URL." + } + ] + }, + "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 6791, + "name": "key", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file's key. This key is used in other operations,\nsuch as deleting a file." + } + ] }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": { + "type": "intrinsic", + "name": "string" } - ] - } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6790, + 6791 + ] + } + ] }, { - "id": 3549, - "name": "num_code", + "id": 6792, + "name": "ProviderGetFileDTO", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ + "kind": 256, + "flags": {}, + "comment": { + "summary": [ { + "kind": "text", + "text": "The details of a file to retrieve." + } + ] + }, + "children": [ + { + "id": 6793, + "name": "fileKey", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file's key." + } + ] + }, + "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 6794, + "name": "isPrivate", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "number" - } + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the file is private." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" } - ] - } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6793, + 6794 + ] + } + ] }, { - "id": 3550, - "name": "name", + "id": 6795, + "name": "ProviderDeleteFileDTO", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ + "kind": 256, + "flags": {}, + "comment": { + "summary": [ { + "kind": "text", + "text": "The details of the file to remove." + } + ] + }, + "children": [ + { + "id": 6796, + "name": "fileKey", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file's key. When uploading a file, the\nreturned key is used here." + } + ] + }, + "type": { "type": "intrinsic", "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } } - ] - } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6796 + ] + } + ] }, { - "id": 3551, - "name": "display_name", + "id": 6797, + "name": "ProviderUploadFileDTO", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ + "kind": 256, + "flags": {}, + "comment": { + "summary": [ { + "kind": "text", + "text": "The details of the file to create." + } + ] + }, + "children": [ + { + "id": 6798, + "name": "filename", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filename of the uploaded file" + } + ] + }, + "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 6799, + "name": "mimeType", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The mimetype of the uploaded file" + } + ] }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": { + "type": "intrinsic", + "name": "string" } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3552, - 3553, - 3546, - 3547, - 3548, - 3549, - 3550, - 3551 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 1512, - "typeArguments": [ + }, { - "type": "reference", - "target": 3545, - "name": "FilterableRegionCountryProps", - "package": "@medusajs/types" + "id": 6800, + "name": "content", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file content as a binary-encoded string" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 3554, - "name": "CreateRegionDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + "groups": [ + { + "title": "Properties", + "children": [ + 6798, + 6799, + 6800 + ] + } + ] + }, { - "id": 3555, - "name": "name", + "id": 6801, + "name": "IFileProvider", "variant": "declaration", - "kind": 1024, + "kind": 256, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3556, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3557, - "name": "currency", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3532, - "name": "RegionCurrencyDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3558, - "name": "tax_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3559, - "name": "tax_rate", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3560, - "name": "tax_provider_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3555, - 3556, - 3557, - 3558, - 3559, - 3560 - ] - } - ] - }, - { - "id": 3561, - "name": "UpdateRegionDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3562, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3563, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3564, - "name": "currency", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3532, - "name": "RegionCurrencyDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3565, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3566, - "name": "tax_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3567, - "name": "tax_rate", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3568, - "name": "tax_provider_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3562, - 3563, - 3564, - 3565, - 3566, - 3567, - 3568 - ] - } - ] - }, - { - "id": 3569, - "name": "AddCountryToRegionDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3570, - "name": "region_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3571, - "name": "country_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3570, - 3571 - ] - } - ], - "extendedBy": [ - { - "type": "reference", - "target": 3572, - "name": "RemoveCountryFromRegionDTO" - } - ] - }, - { - "id": 3572, - "name": "RemoveCountryFromRegionDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3573, - "name": "region_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 3570, - "name": "AddCountryToRegionDTO.region_id" - } - }, - { - "id": 3574, - "name": "country_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "## Overview\n\nFile provider interface for the file module." + } + ] }, - "inheritedFrom": { - "type": "reference", - "target": 3571, - "name": "AddCountryToRegionDTO.country_id" - } - } - ], - "groups": [ - { - "title": "Properties", "children": [ - 3573, - 3574 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 3569, - "name": "AddCountryToRegionDTO", - "package": "@medusajs/types" - } - ] - }, - { - "id": 3575, - "name": "IRegionModuleService", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3576, - "name": "create", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ { - "id": 3577, - "name": "create", - "variant": "signature", - "kind": 4096, + "id": 6802, + "name": "upload", + "variant": "declaration", + "kind": 2048, "flags": {}, - "parameters": [ + "signatures": [ { - "id": 3578, - "name": "data", - "variant": "param", - "kind": 32768, + "id": 6803, + "name": "upload", + "variant": "signature", + "kind": 4096, "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3554, - "name": "CreateRegionDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 3579, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to upload a file" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The details of the upload's result." + } + ] + } + ] }, + "parameters": [ + { + "id": 6804, + "name": "file", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The contents and metadata of the file.\nAmong the file’s details, you can access the file’s path in the " + }, + { + "kind": "code", + "text": "`path`" + }, + { + "kind": "text", + "text": " property of the file object." + } + ] + }, + "type": { + "type": "reference", + "target": 6797, + "name": "ProviderUploadFileDTO", + "package": "@medusajs/types" + } + } + ], "type": { "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 6789, + "name": "ProviderFileResultDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" } } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 3507, - "name": "RegionDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" - } + ] }, { - "id": 3580, - "name": "create", - "variant": "signature", - "kind": 4096, + "id": 6805, + "name": "delete", + "variant": "declaration", + "kind": 2048, "flags": {}, - "parameters": [ + "signatures": [ { - "id": 3581, - "name": "data", - "variant": "param", - "kind": 32768, + "id": 6806, + "name": "delete", + "variant": "signature", + "kind": 4096, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to delete a file from storage." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the file is deleted successfully." + } + ] + } + ] + }, + "parameters": [ + { + "id": 6807, + "name": "fileData", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the file to remove." + } + ] + }, + "type": { + "type": "reference", + "target": 6795, + "name": "ProviderDeleteFileDTO", + "package": "@medusajs/types" + } + } + ], "type": { "type": "reference", - "target": 3554, - "name": "CreateRegionDTO", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" } - }, + } + ] + }, + { + "id": 6808, + "name": "getPresignedDownloadUrl", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "id": 3582, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "id": 6809, + "name": "getPresignedDownloadUrl", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a download URL of the file. For some file services, such as S3, a presigned URL indicates a temporary URL to get access to a file.\n\nIf your file service doesn’t perform or offer a similar functionality, you can just return the URL to download the file." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The presigned URL to download the file" + } + ] + } + ] }, + "parameters": [ + { + "id": 6810, + "name": "fileData", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the file." + } + ] + }, + "type": { + "type": "reference", + "target": 6792, + "name": "ProviderGetFileDTO", + "package": "@medusajs/types" + } + } + ], "type": { "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Promise", + "package": "typescript" } } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 3507, - "name": "RegionDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" - } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 6802, + 6805, + 6808 + ] } ] }, { - "id": 3583, - "name": "update", + "id": 6822, + "name": "LocalFileServiceOptions", "variant": "declaration", - "kind": 2048, + "kind": 256, "flags": {}, - "signatures": [ + "children": [ { - "id": 3584, - "name": "update", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3585, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 3561, - "name": "UpdateRegionDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 3586, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], + "id": 6823, + "name": "upload_dir", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 3507, - "name": "RegionDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "type": "intrinsic", + "name": "string" } }, { - "id": 3587, - "name": "update", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3588, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 3561, - "name": "UpdateRegionDTO", - "package": "@medusajs/types" - } - }, - { - "id": 3589, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], + "id": 6824, + "name": "backend_url", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 3507, - "name": "RegionDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "type": "intrinsic", + "name": "string" } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6823, + 6824 + ] + } ] }, { - "id": 3590, - "name": "delete", + "id": 6811, + "name": "S3FileServiceOptions", "variant": "declaration", - "kind": 2048, + "kind": 256, "flags": {}, - "signatures": [ + "children": [ { - "id": 3591, - "name": "delete", - "variant": "signature", - "kind": 4096, + "id": 6812, + "name": "file_url", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 3592, - "name": "ids", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3593, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "type": "intrinsic", + "name": "string" } }, { - "id": 3594, - "name": "delete", - "variant": "signature", - "kind": 4096, + "id": 6813, + "name": "access_key_id", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 3595, - "name": "id", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3596, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6814, + "name": "secret_access_key", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6815, + "name": "region", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6816, + "name": "bucket", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6817, + "name": "prefix", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6818, + "name": "endpoint", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6819, + "name": "cache_control", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6820, + "name": "download_file_duration", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6821, + "name": "additional_client_config", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Record" }, "typeArguments": [ { "type": "intrinsic", - "name": "void" + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" } ], - "name": "Promise", + "name": "Record", "package": "typescript" } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6812, + 6813, + 6814, + 6815, + 6816, + 6817, + 6818, + 6819, + 6820, + 6821 + ] + } ] }, { - "id": 3597, - "name": "retrieve", + "id": 6746, + "name": "IFileModuleService", "variant": "declaration", - "kind": 2048, + "kind": 256, "flags": {}, - "signatures": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "The main service interface for the File Module." + } + ] + }, + "children": [ { - "id": 3598, - "name": "retrieve", - "variant": "signature", - "kind": 4096, + "id": 6747, + "name": "create", + "variant": "declaration", + "kind": 2048, "flags": {}, - "parameters": [ + "signatures": [ { - "id": 3599, - "name": "id", - "variant": "param", - "kind": 32768, + "id": 6748, + "name": "create", + "variant": "signature", + "kind": 4096, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3600, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method uploads files to the designated file storage system." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created files." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst [file] = await fileModuleService.create([{\n filename: \"product.png\",\n mimeType: \"image/png\",\n content: \"somecontent\"\n}])\n```" + } + ] + } + ] }, + "parameters": [ + { + "id": 6749, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The files to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6742, + "name": "CreateFileDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 6750, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], "type": { "type": "reference", - "target": 920, + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { - "type": "reference", - "target": 3507, - "name": "RegionDTO", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 6737, + "name": "FileDTO", + "package": "@medusajs/types" + } } ], - "name": "FindConfig", - "package": "@medusajs/types" + "name": "Promise", + "package": "typescript" } }, { - "id": 3601, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "id": 6751, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method uploads a file to the designated file storage system." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created file." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst file = await fileModuleService.create({\n filename: \"product.png\",\n mimeType: \"image/png\",\n content: \"somecontent\"\n})\n```" + } + ] + } + ] }, + "parameters": [ + { + "id": 6752, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 6742, + "name": "CreateFileDTO", + "package": "@medusajs/types" + } + }, + { + "id": 6753, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], "type": { "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 6737, + "name": "FileDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" } } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 3507, - "name": "RegionDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 3602, - "name": "list", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + ] + }, { - "id": 3603, - "name": "list", - "variant": "signature", - "kind": 4096, + "id": 6754, + "name": "delete", + "variant": "declaration", + "kind": 2048, "flags": {}, - "parameters": [ - { - "id": 3604, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3520, - "name": "FilterableRegionProps", - "package": "@medusajs/types" - } - }, + "signatures": [ { - "id": 3605, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "id": 6755, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes files by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the files are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fileModuleService.delete([\"file_123\"])\n```" + } + ] + } + ] }, + "parameters": [ + { + "id": 6756, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the files." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 6757, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], "type": { "type": "reference", - "target": 920, + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { - "type": "reference", - "target": 3507, - "name": "RegionDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "void" } ], - "name": "FindConfig", - "package": "@medusajs/types" + "name": "Promise", + "package": "typescript" } }, { - "id": 3606, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "id": 6758, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a file by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the file is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fileModuleService.delete(\"file_123\")\n```" + } + ] + } + ] }, + "parameters": [ + { + "id": 6759, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the file." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6760, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], "type": { "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" } } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 3507, - "name": "RegionDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 3607, - "name": "listAndCount", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + ] + }, { - "id": 3608, - "name": "listAndCount", - "variant": "signature", - "kind": 4096, + "id": 6761, + "name": "retrieve", + "variant": "declaration", + "kind": 2048, "flags": {}, - "parameters": [ - { - "id": 3609, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3520, - "name": "FilterableRegionProps", - "package": "@medusajs/types" - } - }, + "signatures": [ { - "id": 3610, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "id": 6762, + "name": "retrieve", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a file with a downloadable URL by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved file." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst file = await fileModuleService.retrieve(\"file_123\")\n```" + } + ] + } + ] }, + "parameters": [ + { + "id": 6763, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the file." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6764, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the file is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a file." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 6737, + "name": "FileDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 6765, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], "type": { "type": "reference", - "target": 920, + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { "type": "reference", - "target": 3507, - "name": "RegionDTO", + "target": 6737, + "name": "FileDTO", "package": "@medusajs/types" } ], - "name": "FindConfig", - "package": "@medusajs/types" + "name": "Promise", + "package": "typescript" } - }, + } + ] + }, + { + "id": 6766, + "name": "list", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ { - "id": 3611, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "id": 6767, + "name": "list", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a file by ID, similarly to " + }, + { + "kind": "code", + "text": "`retrieve`" + }, + { + "kind": "text", + "text": ". Enumeration of files is not supported, but the list method is in order to support remote queries" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of files. In this particular case, it will either be at most one file." + } + ] + } + ] }, + "parameters": [ + { + "id": 6768, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved files." + } + ] + }, + "type": { + "type": "reference", + "target": 6740, + "name": "FilterableFileProps", + "package": "@medusajs/types" + } + }, + { + "id": 6769, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the files are retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a file." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 6737, + "name": "FileDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 6770, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], "type": { "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "tuple", - "elements": [ + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ { "type": "array", "elementType": { "type": "reference", - "target": 3507, - "name": "RegionDTO", + "target": 6737, + "name": "FileDTO", "package": "@medusajs/types" } - }, - { - "type": "intrinsic", - "name": "number" } - ] + ], + "name": "Promise", + "package": "typescript" } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 3612, - "name": "retrieveCountry", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + } + ] + }, { - "id": 3613, - "name": "retrieveCountry", - "variant": "signature", - "kind": 4096, + "id": 6771, + "name": "listAndCount", + "variant": "declaration", + "kind": 2048, "flags": {}, - "parameters": [ + "signatures": [ { - "id": 3614, - "name": "countryId", - "variant": "param", - "kind": 32768, + "id": 6772, + "name": "listAndCount", + "variant": "signature", + "kind": 4096, "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3615, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a file by ID, similarly to " + }, + { + "kind": "code", + "text": "`retrieve`" + }, + { + "kind": "text", + "text": ". Enumeration of files is not supported, but the listAndCount method is in order to support remote queries" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of files and their count. In this particular case, it will either be at most one file." + } + ] + } + ] }, + "parameters": [ + { + "id": 6773, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved files." + } + ] + }, + "type": { + "type": "reference", + "target": 6740, + "name": "FilterableFileProps", + "package": "@medusajs/types" + } + }, + { + "id": 6774, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the files are retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a file." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 6737, + "name": "FileDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 6775, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], "type": { "type": "reference", - "target": 920, + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, "typeArguments": [ { - "type": "reference", - "target": 3525, - "name": "RegionCountryDTO", - "package": "@medusajs/types" + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 6737, + "name": "FileDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] } ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 3616, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "name": "Promise", + "package": "typescript" } } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 3525, - "name": "RegionCountryDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" - } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 6747, + 6754, + 6761, + 6766, + 6771 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3404, + "name": "IModuleService", + "package": "@medusajs/types" } ] - }, + } + ], + "groups": [ { - "id": 3617, - "name": "listCountries", + "title": "Interfaces", + "children": [ + 6737, + 6740, + 6742, + 6789, + 6792, + 6795, + 6797, + 6801, + 6822, + 6811, + 6746 + ] + } + ] + }, + { + "id": 2301, + "name": "FulfillmentTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 2302, + "name": "FulfillmentAddressDTO", "variant": "declaration", - "kind": 2048, + "kind": 256, "flags": {}, - "signatures": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment address details." + } + ] + }, + "children": [ { - "id": 3618, - "name": "listCountries", - "variant": "signature", - "kind": 4096, + "id": 2303, + "name": "id", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 3619, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3545, - "name": "FilterableRegionCountryProps", - "package": "@medusajs/types" - } - }, - { - "id": 3620, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 3525, - "name": "RegionCountryDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the address." } - }, - { - "id": 3621, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2304, + "name": "fulfillment_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment's ID." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 3525, - "name": "RegionCountryDTO", - "package": "@medusajs/types" - } + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" } - ], - "name": "Promise", - "package": "typescript" + ] } - } - ] - }, - { - "id": 3622, - "name": "retrieveCurrency", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3623, - "name": "retrieveCurrency", - "variant": "signature", - "kind": 4096, + "id": 2305, + "name": "company", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 3624, - "name": "currencyId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The company of the address." } - }, - { - "id": 3625, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 3525, - "name": "RegionCountryDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" + { + "type": "intrinsic", + "name": "string" } - }, - { - "id": 3626, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + ] + } + }, + { + "id": 2306, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first name of the address." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "reference", - "target": 3532, - "name": "RegionCurrencyDTO", - "package": "@medusajs/types" + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" } - ], - "name": "Promise", - "package": "typescript" + ] } - } - ] - }, - { - "id": 3627, - "name": "listAndCountCountries", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3628, - "name": "listAndCountCountries", - "variant": "signature", - "kind": 4096, + "id": 2307, + "name": "last_name", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 3629, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { - "type": "reference", - "target": 3545, - "name": "FilterableRegionCountryProps", - "package": "@medusajs/types" + { + "type": "intrinsic", + "name": "string" } - }, - { - "id": 3630, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 3525, - "name": "RegionCountryDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 3631, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + ] + } + }, + { + "id": 2308, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first line of the address." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 3525, - "name": "RegionCountryDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" } - ], - "name": "Promise", - "package": "typescript" + ] } - } - ] - }, - { - "id": 3632, - "name": "listCurrencies", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3633, - "name": "listCurrencies", - "variant": "signature", - "kind": 4096, + "id": 2309, + "name": "address_2", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 3634, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3537, - "name": "FilterableRegionCurrencyProps", - "package": "@medusajs/types" - } - }, - { - "id": 3635, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 3532, - "name": "RegionCurrencyDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 3636, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The second line of the address." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 3532, - "name": "RegionCurrencyDTO", - "package": "@medusajs/types" - } + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" } - ], - "name": "Promise", - "package": "typescript" + ] } - } - ] - }, - { - "id": 3637, - "name": "listAndCountCurrencies", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3638, - "name": "listAndCountCurrencies", - "variant": "signature", - "kind": 4096, + "id": 2310, + "name": "city", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 3639, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3537, - "name": "FilterableRegionCurrencyProps", - "package": "@medusajs/types" - } - }, - { - "id": 3640, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 3532, - "name": "RegionCurrencyDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 3641, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city of the address." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 3532, - "name": "RegionCurrencyDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" } - ], - "name": "Promise", - "package": "typescript" + ] } - } - ] - }, - { - "id": 3642, - "name": "softDelete", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3643, - "name": "softDelete", - "variant": "signature", - "kind": 4096, + "id": 2311, + "name": "country_code", + "variant": "declaration", + "kind": 1024, "flags": {}, - "typeParameter": [ - { - "id": 3644, - "name": "TReturnableLinkableKeys", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 2 character country code of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "default": { + { "type": "intrinsic", "name": "string" } - } - ], - "parameters": [ - { - "id": 3645, - "name": "regionIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + ] + } + }, + { + "id": 2312, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province of the address." } - }, - { - "id": 3646, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { - "type": "reference", - "target": 1642, - "typeArguments": [ - { - "type": "reference", - "target": 3644, - "name": "TReturnableLinkableKeys", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "SoftDeleteReturn", - "package": "@medusajs/types" + { + "type": "intrinsic", + "name": "string" } - }, - { - "id": 3647, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + ] + } + }, + { + "id": 2313, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The postal code of the address." } - } - ], + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "void" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ], - "name": "Record", - "package": "typescript" - } - ] + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" } - ], - "name": "Promise", - "package": "typescript" + ] } - } - ] - }, - { - "id": 3648, - "name": "restore", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3649, - "name": "restore", - "variant": "signature", - "kind": 4096, + "id": 2314, + "name": "phone", + "variant": "declaration", + "kind": 1024, "flags": {}, - "typeParameter": [ - { - "id": 3650, - "name": "TReturnableLinkableKeys", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The phone of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "default": { + { "type": "intrinsic", "name": "string" } - } - ], - "parameters": [ - { - "id": 3651, - "name": "regionIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + ] + } + }, + { + "id": 2315, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." } - }, - { - "id": 3652, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { + { "type": "reference", - "target": 1645, + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, "typeArguments": [ { - "type": "reference", - "target": 3650, - "name": "TReturnableLinkableKeys", - "package": "@medusajs/types", - "refersToTypeParameter": true + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "RestoreReturn", - "package": "@medusajs/types" + "name": "Record", + "package": "typescript" } - }, - { - "id": 3653, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + ] + } + }, + { + "id": 2316, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the address." } - } - ], + ] + }, "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Date" }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "void" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ], - "name": "Record", - "package": "typescript" - } - ] - } - ], - "name": "Promise", + "name": "Date", "package": "typescript" } - } - ] - }, - { - "id": 3654, - "name": "createDefaultCountriesAndCurrencies", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3655, - "name": "createDefaultCountriesAndCurrencies", - "variant": "signature", - "kind": 4096, + "id": 2317, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, "flags": {}, - "parameters": [ - { - "id": 3656, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the address." } - } - ], + ] + }, "type": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Date" }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", + "name": "Date", "package": "typescript" } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 3576, - 3583, - 3590, - 3597, - 3602, - 3607, - 3612, - 3617, - 3622, - 3627, - 3632, - 3637, - 3642, - 3648, - 3654 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 2048, - "name": "IModuleService", - "package": "@medusajs/types" - } - ] - }, - { - "id": 2507, - "name": "RegionTypes", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ - { - "id": 2508, - "name": "RegionDTO__legacy", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 2509, - "name": "__type", + }, + { + "id": 2318, + "name": "deleted_at", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 2510, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2511, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2512, - "name": "tax_rate", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 2513, - "name": "tax_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 2514, - "name": "gift_cards_taxable", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 2515, - "name": "automatic_taxes", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 2516, - "name": "tax_provider_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the address." } - }, - { - "id": 2517, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" + "qualifiedName": "Date" }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", + "name": "Date", "package": "typescript" } - }, - { - "id": 2518, - "name": "includes_tax", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2510, - 2511, - 2512, - 2513, - 2514, - 2515, - 2516, - 2517, - 2518 - ] - } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2303, + 2304, + 2305, + 2306, + 2307, + 2308, + 2309, + 2310, + 2311, + 2312, + 2313, + 2314, + 2315, + 2316, + 2317, + 2318 ] } - } - } - ], - "groups": [ - { - "title": "Type Aliases", - "children": [ - 2508 ] - } - ] - }, - { - "id": 2519, - "name": "SalesChannelTypes", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ + }, { - "id": 2520, - "name": "SalesChannelLocationDTO", + "id": 2518, + "name": "FulfillmentItemDTO", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment item details." + } + ] + }, "children": [ { - "id": 2521, - "name": "sales_channel_id", + "id": 2519, + "name": "id", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment item." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 2522, - "name": "location_id", + "id": 2520, + "name": "title", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the fulfillment item." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 2523, - "name": "sales_channel", + "id": 2521, + "name": "quantity", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The quantity of the fulfillment item." + } + ] + }, "type": { - "type": "reference", - "target": 2524, - "name": "SalesChannelDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "number" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2521, - 2522, - 2523 - ] - } - ] - }, - { - "id": 2524, - "name": "SalesChannelDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + }, { - "id": 2525, - "name": "id", + "id": 2522, + "name": "sku", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The sku of the fulfillment item." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 2526, - "name": "name", + "id": 2523, + "name": "barcode", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The barcode of the fulfillment item." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 2527, - "name": "description", + "id": 2524, + "name": "line_item_id", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated line item's ID." + } + ] + }, "type": { "type": "union", "types": [ @@ -70673,22 +68056,19 @@ } }, { - "id": 2528, - "name": "is_disabled", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 2529, - "name": "metadata", + "id": 2525, + "name": "inventory_item_id", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated inventory item's ID." + } + ] + }, "type": { "type": "union", "types": [ @@ -70697,43 +68077,131 @@ "value": null }, { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" + "type": "intrinsic", + "name": "string" } ] } }, { - "id": 2530, - "name": "locations", + "id": 2526, + "name": "fulfillment_id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2520, - "name": "SalesChannelLocationDTO", - "package": "@medusajs/types" - } + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2527, + "name": "fulfillment", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment." + } + ] + }, + "type": { + "type": "reference", + "target": 2486, + "name": "FulfillmentDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2528, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the fulfillment item." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 2529, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the fulfillment item." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 2530, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the fulfillment item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] } } ], @@ -70741,6 +68209,12 @@ { "title": "Properties", "children": [ + 2519, + 2520, + 2521, + 2522, + 2523, + 2524, 2525, 2526, 2527, @@ -70753,7 +68227,7 @@ }, { "id": 2531, - "name": "FilterableSalesChannelProps", + "name": "FulfillmentLabelDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -70761,13 +68235,460 @@ "summary": [ { "kind": "text", - "text": "An object used to allow specifying flexible queries with and/or conditions." + "text": "The fulfillment label details." } ] }, "children": [ + { + "id": 2532, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment label." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2533, + "name": "tracking_number", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tracking number of the fulfillment label." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2534, + "name": "tracking_url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tracking URL of the fulfillment label." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, { "id": 2535, + "name": "label_url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The label's URL." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2536, + "name": "fulfillment_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2537, + "name": "fulfillment", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment." + } + ] + }, + "type": { + "type": "reference", + "target": 2486, + "name": "FulfillmentDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2538, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the fulfillment label." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 2539, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the fulfillment label." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 2540, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the fulfillment label." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2532, + 2533, + 2534, + 2535, + 2536, + 2537, + 2538, + 2539, + 2540 + ] + } + ] + }, + { + "id": 2474, + "name": "FulfillmentProviderDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment provider details." + } + ] + }, + "children": [ + { + "id": 2475, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment provider." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2476, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the fulfillment provider." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2477, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 2478, + "name": "shipping_options", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping options associated with the fulfillment provider." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 2479, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the fulfillment provider." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 2480, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the fulfillment provider." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 2481, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the fulfillment provider." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2475, + 2476, + 2477, + 2478, + 2479, + 2480, + 2481 + ] + } + ] + }, + { + "id": 2482, + "name": "FilterableFulfillmentProviderProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved fulfillment providers." + } + ] + }, + "children": [ + { + "id": 2484, "name": "$and", "variant": "declaration", "kind": 1024, @@ -70789,18 +68710,18 @@ "types": [ { "type": "reference", - "target": 2531, - "name": "FilterableSalesChannelProps", + "target": 2482, + "name": "FilterableFulfillmentProviderProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 1512, + "target": 2029, "typeArguments": [ { "type": "reference", - "target": 2531, - "name": "FilterableSalesChannelProps", + "target": 2482, + "name": "FilterableFulfillmentProviderProps", "package": "@medusajs/types" } ], @@ -70812,12 +68733,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 1513, + "target": 2030, "name": "BaseFilterable.$and" } }, { - "id": 2536, + "id": 2485, "name": "$or", "variant": "declaration", "kind": 1024, @@ -70839,18 +68760,18 @@ "types": [ { "type": "reference", - "target": 2531, - "name": "FilterableSalesChannelProps", + "target": 2482, + "name": "FilterableFulfillmentProviderProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 1512, + "target": 2029, "typeArguments": [ { "type": "reference", - "target": 2531, - "name": "FilterableSalesChannelProps", + "target": 2482, + "name": "FilterableFulfillmentProviderProps", "package": "@medusajs/types" } ], @@ -70862,53 +68783,65 @@ }, "inheritedFrom": { "type": "reference", - "target": 1514, + "target": 2031, "name": "BaseFilterable.$or" } }, { - "id": 2532, + "id": 2483, "name": "id", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 2533, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 2534, - "name": "is_disabled", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the provider by." + } + ] }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] } } ], @@ -70916,23 +68849,21 @@ { "title": "Properties", "children": [ - 2535, - 2536, - 2532, - 2533, - 2534 + 2484, + 2485, + 2483 ] } ], "extendedTypes": [ { "type": "reference", - "target": 1512, + "target": 2029, "typeArguments": [ { "type": "reference", - "target": 2531, - "name": "FilterableSalesChannelProps", + "target": 2482, + "name": "FilterableFulfillmentProviderProps", "package": "@medusajs/types" } ], @@ -70942,30 +68873,52 @@ ] }, { - "id": 2537, - "name": "CreateSalesChannelDTO", + "id": 2319, + "name": "FulfillmentSetDTO", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment set details." + } + ] + }, "children": [ { - "id": 2538, - "name": "name", + "id": 2320, + "name": "id", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment set." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 2539, - "name": "description", + "id": 2321, + "name": "name", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the fulfillment set." + } + ] }, "type": { "type": "intrinsic", @@ -70973,16 +68926,170 @@ } }, { - "id": 2540, - "name": "is_disabled", + "id": 2322, + "name": "type", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the fulfillment set." + } + ] }, "type": { "type": "intrinsic", - "name": "boolean" + "name": "string" + } + }, + { + "id": 2323, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 2324, + "name": "service_zones", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The service zones associated with the fulfillment set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2436, + "name": "ServiceZoneDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 2325, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the fulfillment set." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 2326, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the fulfillment set." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 2327, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the fulfillment set." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] } } ], @@ -70990,68 +69097,253 @@ { "title": "Properties", "children": [ - 2538, - 2539, - 2540 + 2320, + 2321, + 2322, + 2323, + 2324, + 2325, + 2326, + 2327 ] } ] }, { - "id": 2541, - "name": "UpdateSalesChannelDTO", + "id": 2328, + "name": "FilterableFulfillmentSetProps", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved fulfillment sets." + } + ] + }, "children": [ { - "id": 2542, + "id": 2333, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2328, + "name": "FilterableFulfillmentSetProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2328, + "name": "FilterableFulfillmentSetProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 2334, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2328, + "name": "FilterableFulfillmentSetProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2328, + "name": "FilterableFulfillmentSetProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 2329, "name": "id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the fulfillment sets by." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 2543, + "id": 2330, "name": "name", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the fulfillment sets by their name." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 2544, - "name": "description", + "id": 2331, + "name": "type", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the fulfillment sets by their type." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 2545, - "name": "is_disabled", + "id": 2332, + "name": "service_zones", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved service zones." + } + ] + }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "reference", + "target": 2446, + "name": "FilterableServiceZoneProps", + "package": "@medusajs/types" } } ], @@ -71059,2133 +69351,1817 @@ { "title": "Properties", "children": [ - 2542, - 2543, - 2544, - 2545 + 2333, + 2334, + 2329, + 2330, + 2331, + 2332 ] } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2328, + "name": "FilterableFulfillmentSetProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } ] }, { - "id": 2546, - "name": "ISalesChannelModuleService", + "id": 2486, + "name": "FulfillmentDTO", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment details." + } + ] + }, "children": [ { - "id": 2547, - "name": "create", + "id": 2487, + "name": "id", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 2548, - "name": "create", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2549, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2537, - "name": "CreateSalesChannelDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 2550, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2488, + "name": "location_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated location's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2489, + "name": "packed_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was packed." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Date" }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 2524, - "name": "SalesChannelDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", + "name": "Date", "package": "typescript" } - }, - { - "id": 2551, - "name": "create", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2552, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 2537, - "name": "CreateSalesChannelDTO", - "package": "@medusajs/types" - } - }, - { - "id": 2553, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { + ] + } + }, + { + "id": 2490, + "name": "shipped_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was shipped." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Date" }, - "typeArguments": [ - { - "type": "reference", - "target": 2524, - "name": "SalesChannelDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", + "name": "Date", "package": "typescript" } - } - ] + ] + } }, { - "id": 2554, - "name": "update", + "id": 2491, + "name": "delivered_at", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 2555, - "name": "update", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2556, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2541, - "name": "UpdateSalesChannelDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 2557, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was delivered." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Date" }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 2524, - "name": "SalesChannelDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", + "name": "Date", "package": "typescript" } - }, - { - "id": 2558, - "name": "update", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2559, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 2541, - "name": "UpdateSalesChannelDTO", - "package": "@medusajs/types" - } - }, - { - "id": 2560, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { + ] + } + }, + { + "id": 2492, + "name": "canceled_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was canceled." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Date" }, - "typeArguments": [ - { - "type": "reference", - "target": 2524, - "name": "SalesChannelDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", + "name": "Date", "package": "typescript" } - } - ] + ] + } }, { - "id": 2561, - "name": "delete", + "id": 2493, + "name": "data", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 2562, - "name": "delete", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2563, - "name": "ids", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 2564, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data necessary for the fulfillment provider to process\nthe fulfillment." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Record" }, "typeArguments": [ { "type": "intrinsic", - "name": "void" + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "Promise", + "name": "Record", "package": "typescript" } - }, - { - "id": 2565, - "name": "delete", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2566, - "name": "id", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2567, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { + ] + } + }, + { + "id": 2494, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment provider's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2495, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2496, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Record" }, "typeArguments": [ { "type": "intrinsic", - "name": "void" + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "Promise", + "name": "Record", "package": "typescript" } + ] + } + }, + { + "id": 2497, + "name": "shipping_option", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 2498, + "name": "provider", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment provider." + } + ] + }, + "type": { + "type": "reference", + "target": 2474, + "name": "FulfillmentProviderDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2499, + "name": "delivery_address", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment address used for delivery." + } + ] + }, + "type": { + "type": "reference", + "target": 2302, + "name": "FulfillmentAddressDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2500, + "name": "items", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The items of the fulfillment." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2518, + "name": "FulfillmentItemDTO", + "package": "@medusajs/types" } - ] + } }, { - "id": 2568, - "name": "retrieve", + "id": 2501, + "name": "labels", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 2569, - "name": "retrieve", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2570, - "name": "id", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2571, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 2524, - "name": "SalesChannelDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 2572, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { + "comment": { + "summary": [ + { + "kind": "text", + "text": "The labels of the fulfillment." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2531, + "name": "FulfillmentLabelDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 2502, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the fulfillment." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 2503, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the fulfillment." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 2504, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the fulfillment." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Date" }, - "typeArguments": [ - { - "type": "reference", - "target": 2524, - "name": "SalesChannelDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", + "name": "Date", "package": "typescript" } - } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2487, + 2488, + 2489, + 2490, + 2491, + 2492, + 2493, + 2494, + 2495, + 2496, + 2497, + 2498, + 2499, + 2500, + 2501, + 2502, + 2503, + 2504 ] - }, + } + ] + }, + { + "id": 2505, + "name": "FilterableFulfillmentProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved fulfillments." + } + ] + }, + "children": [ { - "id": 2573, - "name": "list", + "id": 2516, + "name": "$and", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2574, - "name": "list", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2575, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2531, - "name": "FilterableSalesChannelProps", - "package": "@medusajs/types" - } - }, + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ { - "id": 2576, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 2524, - "name": "SalesChannelDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } + "type": "reference", + "target": 2505, + "name": "FilterableFulfillmentProps", + "package": "@medusajs/types" }, { - "id": 2577, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { + "type": "reference", + "target": 2029, + "typeArguments": [ + { "type": "reference", - "target": 2524, - "name": "SalesChannelDTO", + "target": 2505, + "name": "FilterableFulfillmentProps", "package": "@medusajs/types" } - } - ], - "name": "Promise", - "package": "typescript" - } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] } - ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } }, { - "id": 2578, - "name": "listAndCount", + "id": 2517, + "name": "$or", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2579, - "name": "listAndCount", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2580, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2531, - "name": "FilterableSalesChannelProps", - "package": "@medusajs/types" - } - }, + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ { - "id": 2581, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 2524, - "name": "SalesChannelDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } + "type": "reference", + "target": 2505, + "name": "FilterableFulfillmentProps", + "package": "@medusajs/types" }, { - "id": 2582, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2505, + "name": "FilterableFulfillmentProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" } - ], - "type": { + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 2506, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the fulfillments by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, + "target": 2007, "typeArguments": [ { - "type": "tuple", - "elements": [ + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, { "type": "array", "elementType": { - "type": "reference", - "target": 2524, - "name": "SalesChannelDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } - }, - { - "type": "intrinsic", - "name": "number" } ] } ], - "name": "Promise", - "package": "typescript" + "name": "OperatorMap", + "package": "@medusajs/types" } - } - ] + ] + } }, { - "id": 2583, - "name": "softDelete", + "id": 2507, + "name": "location_id", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2584, - "name": "softDelete", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 2585, - "name": "TReturnableLinkableKeys", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 2586, - "name": "salesChannelIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 2587, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1642, - "typeArguments": [ + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the fulfillments by the ID of their associated location." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ { - "type": "reference", - "target": 2585, - "name": "TReturnableLinkableKeys", - "package": "@medusajs/types", - "refersToTypeParameter": true + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } - ], - "name": "SoftDeleteReturn", - "package": "@medusajs/types" - } - }, - { - "id": 2588, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + ] } - } - ], - "type": { + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 2508, + "name": "packed_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the fulfillments by their packing date." + } + ] + }, + "type": { + "type": "union", + "types": [ + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Date" }, + "name": "Date", + "package": "typescript" + }, + { + "type": "reference", + "target": 2007, "typeArguments": [ { "type": "union", "types": [ { "type": "intrinsic", - "name": "void" + "name": "string" }, { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ], - "name": "Record", - "package": "typescript" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } ] } ], - "name": "Promise", - "package": "typescript" + "name": "OperatorMap", + "package": "@medusajs/types" } - } - ] + ] + } }, { - "id": 2589, - "name": "restore", + "id": 2509, + "name": "shipped_at", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2590, - "name": "restore", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 2591, - "name": "TReturnableLinkableKeys", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 2592, - "name": "salesChannelIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the fulfillments by their shipping date." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" }, - { - "id": 2593, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1645, - "typeArguments": [ + "name": "Date", + "package": "typescript" + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ { - "type": "reference", - "target": 2591, - "name": "TReturnableLinkableKeys", - "package": "@medusajs/types", - "refersToTypeParameter": true + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } - ], - "name": "RestoreReturn", - "package": "@medusajs/types" - } - }, - { - "id": 2594, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" + ] } - } - ], - "type": { + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 2510, + "name": "delivered_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the fulfillments by their delivery date." + } + ] + }, + "type": { + "type": "union", + "types": [ + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Date" }, + "name": "Date", + "package": "typescript" + }, + { + "type": "reference", + "target": 2007, "typeArguments": [ { "type": "union", "types": [ { "type": "intrinsic", - "name": "void" + "name": "string" }, { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ], - "name": "Record", - "package": "typescript" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } ] } ], - "name": "Promise", - "package": "typescript" + "name": "OperatorMap", + "package": "@medusajs/types" } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 2547, - 2554, - 2561, - 2568, - 2573, - 2578, - 2583, - 2589 - ] - } - ], - "extendedTypes": [ + ] + } + }, { - "type": "reference", - "target": 2048, - "name": "IModuleService", - "package": "@medusajs/types" - } - ] - } - ], - "groups": [ - { - "title": "Interfaces", - "children": [ - 2520, - 2524, - 2531, - 2537, - 2541, - 2546 - ] - } - ] - }, - { - "id": 2602, - "name": "SearchTypes", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ - { - "id": 2603, - "name": "IndexSettings", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 2604, - "name": "__type", + "id": 2511, + "name": "canceled_at", "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 2605, - "name": "indexSettings", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Settings specific to the provider. E.g. " - }, - { - "kind": "code", - "text": "`searchableAttributes`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "type": { + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the fulfillments by their cancelation date." + } + ] + }, + "type": { + "type": "union", + "types": [ + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" + "qualifiedName": "Date" }, + "name": "Date", + "package": "typescript" + }, + { + "type": "reference", + "target": 2007, "typeArguments": [ { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } ], - "name": "Record", - "package": "typescript" + "name": "OperatorMap", + "package": "@medusajs/types" } - }, - { - "id": 2606, - "name": "primaryKey", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + } + }, + { + "id": 2512, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the fulfillments by the ID of their associated fulfillment provider." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" }, - "comment": { - "summary": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ { - "kind": "text", - "text": "Primary key for the index. Used to enforce unique documents in an index. See more in Meilisearch' https://docs.meilisearch.com/learn/core_concepts/primary_key.html." + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } - ] + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 2513, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the fulfillments by the ID of their associated shipping option." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { + { "type": "intrinsic", "name": "string" } - }, - { - "id": 2607, - "name": "transformer", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + } + }, + { + "id": 2514, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the fulfillments by their creation date." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" }, - "comment": { - "summary": [ + { + "type": "reference", + "target": 2007, + "typeArguments": [ { - "kind": "text", - "text": "Document transformer. Used to transform documents before they are added to the index." + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } - ] + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 2515, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the fulfillments by their update date." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" }, - "type": { - "type": "reflection", - "declaration": { - "id": 2608, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "signatures": [ - { - "id": 2609, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Document transformer. Used to transform documents before they are added to the index." - } - ] + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" }, - "parameters": [ - { - "id": 2610, - "name": "document", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" } - ], - "type": { - "type": "intrinsic", - "name": "any" } - } - ] - } + ] + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" } - } - ], - "groups": [ + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2516, + 2517, + 2506, + 2507, + 2508, + 2509, + 2510, + 2511, + 2512, + 2513, + 2514, + 2515 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ { - "title": "Properties", - "children": [ - 2605, - 2606, - 2607 - ] + "type": "reference", + "target": 2505, + "name": "FilterableFulfillmentProps", + "package": "@medusajs/types" } - ] + ], + "name": "BaseFilterable", + "package": "@medusajs/types" } + ] + }, + { + "id": 2454, + "name": "GeoZoneType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the geo zone." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "country" + }, + { + "type": "literal", + "value": "province" + }, + { + "type": "literal", + "value": "city" + }, + { + "type": "literal", + "value": "zip" + } + ] } }, { - "id": 2611, - "name": "ISearchService", + "id": 2455, + "name": "GeoZoneDTO", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The geo zone details." + } + ] + }, "children": [ { - "id": 2612, - "name": "options", + "id": 2456, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2457, + "name": "type", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the geo zone." + } + ] + }, "type": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + "target": 2454, + "name": "GeoZoneType", + "package": "@medusajs/types" + } + }, + { + "id": 2458, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The country code of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2459, + "name": "province_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province code of the geo zone." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, { "type": "intrinsic", "name": "string" + } + ] + } + }, + { + "id": 2460, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city of the geo zone." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, { "type": "intrinsic", - "name": "unknown" + "name": "string" } - ], - "name": "Record", - "package": "typescript" + ] } }, { - "id": 2613, - "name": "createIndex", + "id": 2461, + "name": "postal_expression", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 2614, - "name": "createIndex", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Used to create an index" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "returns response from search engine provider" - } - ] - } - ] + "comment": { + "summary": [ + { + "kind": "text", + "text": "The postal expression of the geo zone." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "parameters": [ - { - "id": 2615, - "name": "indexName", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the index name" - } - ] - }, - "type": { + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { "type": "intrinsic", "name": "string" - } - }, - { - "id": 2616, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the options" - } - ] }, - "type": { + { "type": "intrinsic", "name": "unknown" } - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" + ], + "name": "Record", + "package": "typescript" } - } - ] + ] + } }, { - "id": 2617, - "name": "getIndex", + "id": 2462, + "name": "metadata", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 2618, - "name": "getIndex", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Used to get an index" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "returns response from search engine provider" - } - ] - } - ] + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "parameters": [ - { - "id": 2619, - "name": "indexName", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the index name." - } - ] - }, - "type": { + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { "type": "intrinsic", "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" + ], + "name": "Record", + "package": "typescript" } - } - ] + ] + } }, { - "id": 2620, - "name": "addDocuments", + "id": 2463, + "name": "created_at", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 2621, - "name": "addDocuments", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Used to index documents by the search engine provider" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "returns response from search engine provider" - } - ] - } - ] - }, - "parameters": [ - { - "id": 2622, - "name": "indexName", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the index name" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2623, - "name": "documents", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "documents array to be indexed" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 2624, - "name": "type", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "of documents to be added (e.g: products, regions, orders, etc)" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ] - }, - { - "id": 2625, - "name": "replaceDocuments", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2626, - "name": "replaceDocuments", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Used to replace documents" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "returns response from search engine provider" - } - ] - } - ] - }, - "parameters": [ - { - "id": 2627, - "name": "indexName", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the index name." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2628, - "name": "documents", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "array of document objects that will replace existing documents" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 2629, - "name": "type", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "type of documents to be replaced (e.g: products, regions, orders, etc)" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ] - }, - { - "id": 2630, - "name": "deleteDocument", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2631, - "name": "deleteDocument", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Used to delete document" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "returns response from search engine provider" - } - ] - } - ] - }, - "parameters": [ - { - "id": 2632, - "name": "indexName", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the index name" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2633, - "name": "document_id", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the id of the document" - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the geo zone." } - } - ] + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } }, { - "id": 2634, - "name": "deleteAllDocuments", + "id": 2464, + "name": "updated_at", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 2635, - "name": "deleteAllDocuments", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Used to delete all documents" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "returns response from search engine provider" - } - ] - } - ] - }, - "parameters": [ - { - "id": 2636, - "name": "indexName", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the index name" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the geo zone." } - } - ] + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } }, { - "id": 2637, - "name": "search", + "id": 2465, + "name": "deleted_at", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 2638, - "name": "search", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Used to search for a document in an index" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "returns response from search engine provider" - } - ] - } - ] - }, - "parameters": [ - { - "id": 2639, - "name": "indexName", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the index name" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2640, - "name": "query", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the search query" - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 2641, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "any options passed to the request object other than the query and indexName\n- additionalOptions contain any provider specific options" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the geo zone." } - } - ] - }, - { - "id": 2642, - "name": "updateSettings", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2643, - "name": "updateSettings", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Used to update the settings of an index" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "returns response from search engine provider" - } - ] - } - ] + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "parameters": [ - { - "id": 2644, - "name": "indexName", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the index name" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" }, - { - "id": 2645, - "name": "settings", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "settings object" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" + "name": "Date", + "package": "typescript" } - } - ] + ] + } } ], "groups": [ { "title": "Properties", "children": [ - 2612 - ] - }, - { - "title": "Methods", - "children": [ - 2613, - 2617, - 2620, - 2625, - 2630, - 2634, - 2637, - 2642 + 2456, + 2457, + 2458, + 2459, + 2460, + 2461, + 2462, + 2463, + 2464, + 2465 ] } ] - } - ], - "groups": [ - { - "title": "Interfaces", - "children": [ - 2611 - ] - }, - { - "title": "Type Aliases", - "children": [ - 2603 - ] - } - ] - }, - { - "id": 3664, - "name": "SharedContext", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@deprecated", - "content": [ - { - "kind": "text", - "text": "use " - }, - { - "kind": "code", - "text": "`Context`" - }, - { - "kind": "text", - "text": " instead\n\n\nA context used to share resources, such as transaction manager, between the application and the module." - } - ] - } - ] - }, - "children": [ - { - "id": 3665, - "name": "transactionManager", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An instance of a transaction manager." - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/entity-manager/EntityManager.d.ts", - "qualifiedName": "EntityManager" - }, - "name": "EntityManager", - "package": "typeorm" - } }, { - "id": 3666, - "name": "manager", + "id": 2466, + "name": "FilterableGeoZoneProps", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "kind": 256, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An instance of an entity manager." + "text": "The filters to apply on the retrieved geo zones." } ] }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/entity-manager/EntityManager.d.ts", - "qualifiedName": "EntityManager" - }, - "name": "EntityManager", - "package": "typeorm" - } - } - ], - "groups": [ - { - "title": "Properties", "children": [ - 3665, - 3666 - ] - } - ] - }, - { - "id": 3667, - "name": "MessageAggregatorFormat", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3668, - "name": "groupBy", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 3669, - "name": "sortBy", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 3670, - "name": "__type", + { + "id": 2472, + "name": "$and", "variant": "declaration", - "kind": 65536, - "flags": {}, - "indexSignature": { - "id": 3671, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "parameters": [ + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "id": 3672, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." } - ], - "type": { + ] + }, + "type": { + "type": "array", + "elementType": { "type": "union", "types": [ { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 2466, + "name": "FilterableGeoZoneProps", + "package": "@medusajs/types" }, { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2466, + "name": "FilterableGeoZoneProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" } ] } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" } - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3668, - 3669 - ] - } - ] - }, - { - "id": 3673, - "name": "IMessageAggregator", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3674, - "name": "save", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3675, - "name": "save", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3676, - "name": "msg", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 1686, - "name": "Message", - "package": "@medusajs/types" - }, - { - "type": "array", - "elementType": { + "id": 2473, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2466, + "name": "FilterableGeoZoneProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { "type": "reference", - "target": 1686, - "name": "Message", + "target": 2466, + "name": "FilterableGeoZoneProps", "package": "@medusajs/types" } - } - ] - } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] } - ], - "type": { - "type": "intrinsic", - "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" } - } - ] - }, - { - "id": 3677, - "name": "getMessages", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3678, - "name": "getMessages", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3679, - "name": "format", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "id": 2467, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the geo zones by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" }, - "type": { + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 2468, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the geo zones by their type." + } + ] + }, + "type": { + "type": "union", + "types": [ + { "type": "reference", - "target": 3667, - "name": "MessageAggregatorFormat", + "target": 2454, + "name": "GeoZoneType", "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2454, + "name": "GeoZoneType", + "package": "@medusajs/types" + } } - } - ], + ] + } + }, + { + "id": 2469, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the geo zones by their country code." + } + ] + }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + "type": "union", + "types": [ { "type": "intrinsic", "name": "string" @@ -73193,539 +71169,358 @@ { "type": "array", "elementType": { - "type": "reference", - "target": 1686, - "name": "Message", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } } - ], - "name": "Record", - "package": "typescript" + ] } - } - ] - }, - { - "id": 3680, - "name": "clearMessages", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 3681, - "name": "clearMessages", - "variant": "signature", - "kind": 4096, - "flags": {}, + "id": 2470, + "name": "province_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the geo zones by their province code." + } + ] + }, "type": { - "type": "intrinsic", - "name": "void" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 2471, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the geo zones by their city." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2472, + 2473, + 2467, + 2468, + 2469, + 2470, + 2471 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2466, + "name": "FilterableGeoZoneProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 3674, - 3677, - 3680 - ] - } - ] - }, - { - "id": 3682, - "name": "Context", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "children": [ - { - "id": 3683, - "name": "__type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "literal", - "value": "MedusaContext" - } }, { - "id": 3684, - "name": "transactionManager", + "id": 2436, + "name": "ServiceZoneDTO", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "kind": 256, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "An instance of a transaction manager of type " - }, - { - "kind": "code", - "text": "`TManager`" - }, - { - "kind": "text", - "text": ", which is a typed parameter passed to the context to specify the type of the " - }, - { - "kind": "code", - "text": "`transactionManager`" - }, - { - "kind": "text", - "text": "." + "text": "The service zone details." } ] }, - "type": { - "type": "reference", - "target": 3692, - "name": "TManager", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - { - "id": 3685, - "name": "manager", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An instance of a manager, typically an entity manager, of type " - }, - { - "kind": "code", - "text": "`TManager`" - }, - { - "kind": "text", - "text": ", which is a typed parameter passed to the context to specify the type of the " - }, - { - "kind": "code", - "text": "`manager`" + "children": [ + { + "id": 2437, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the service zone." + } + ] }, - { - "kind": "text", - "text": "." + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "type": { - "type": "reference", - "target": 3692, - "name": "TManager", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - { - "id": 3686, - "name": "isolationLevel", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A string indicating the isolation level of the context. Possible values are " - }, - { - "kind": "code", - "text": "`READ UNCOMMITTED`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`READ COMMITTED`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`REPEATABLE READ`" - }, - { - "kind": "text", - "text": ", or " - }, - { - "kind": "code", - "text": "`SERIALIZABLE`" + }, + { + "id": 2438, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the service zone." + } + ] }, - { - "kind": "text", - "text": "." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3687, - "name": "enableNestedTransactions", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A boolean value indicating whether nested transactions are enabled." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 3688, - "name": "eventGroupId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A string indicating the ID of the group to aggregate the events to be emitted at a later point." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3689, - "name": "transactionId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A string indicating the ID of the current transaction." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3690, - "name": "messageAggregator", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point." - } - ] - }, - "type": { - "type": "reference", - "target": 3673, - "name": "IMessageAggregator", - "package": "@medusajs/types" - } - }, - { - "id": 3691, - "name": "requestId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A string indicating the ID of the current request." + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3683, - 3684, - 3685, - 3686, - 3687, - 3688, - 3689, - 3690, - 3691 - ] - } - ], - "typeParameters": [ - { - "id": 3692, - "name": "TManager", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" - } - } - ] - }, - { - "id": 2646, - "name": "TransactionBaseTypes", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ - { - "id": 2647, - "name": "ITransactionBaseService", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + }, { - "id": 2648, - "name": "withTransaction", + "id": 2439, + "name": "metadata", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 2649, - "name": "withTransaction", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2650, - "name": "transactionManager", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../../node_modules/typeorm/entity-manager/EntityManager.d.ts", - "qualifiedName": "EntityManager" - }, - "name": "EntityManager", - "package": "typeorm" + { + "type": "intrinsic", + "name": "unknown" } - } - ], - "type": { - "type": "intrinsic", - "name": "this" + ], + "name": "Record", + "package": "typescript" } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 2648 - ] - } - ], - "extendedBy": [ + ] + } + }, { - "type": "reference", - "target": 1703, - "name": "IEventBusService" - } - ] - } - ], - "groups": [ - { - "title": "Interfaces", - "children": [ - 2647 - ] - } - ] - }, - { - "id": 2651, - "name": "UserTypes", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ - { - "id": 2652, - "name": "UserDTO", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 2653, - "name": "__type", + "id": 2440, + "name": "fulfillment_sets", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 2654, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment sets assoiated with the service zone." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2319, + "name": "FulfillmentSetDTO", + "package": "@medusajs/types" } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2654 - ] + } + }, + { + "id": 2441, + "name": "geo_zones", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The geo zones assoiated with the service zone." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2455, + "name": "GeoZoneDTO", + "package": "@medusajs/types" } - ] - } - } - }, - { - "id": 2655, - "name": "FilterableUserProps", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 2656, - "name": "__type", + } + }, + { + "id": 2442, + "name": "shipping_options", "variant": "declaration", - "kind": 65536, - "flags": {} - } - } - }, - { - "id": 2657, - "name": "CreateUserDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping options assoiated with the service zone." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + } + }, { - "id": 2658, - "name": "id", + "id": 2443, + "name": "created_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the service zone." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" } - } - ], - "groups": [ + }, { - "title": "Properties", - "children": [ - 2658 - ] - } - ] - }, - { - "id": 2659, - "name": "UpdateUserDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + "id": 2444, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the service zone." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, { - "id": 2660, - "name": "id", + "id": 2445, + "name": "deleted_at", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the service zone." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] } } ], @@ -73733,948 +71528,467 @@ { "title": "Properties", "children": [ - 2660 + 2437, + 2438, + 2439, + 2440, + 2441, + 2442, + 2443, + 2444, + 2445 ] } ] }, { - "id": 2661, - "name": "IUserModuleService", + "id": 2446, + "name": "FilterableServiceZoneProps", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved service zones." + } + ] + }, "children": [ { - "id": 2662, - "name": "retrieve", + "id": 2452, + "name": "$and", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2663, - "name": "retrieve", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2664, - "name": "id", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ { - "id": 2665, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 2652, - "name": "UserDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } + "type": "reference", + "target": 2446, + "name": "FilterableServiceZoneProps", + "package": "@medusajs/types" }, { - "id": 2666, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2446, + "name": "FilterableServiceZoneProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 2652, - "name": "UserDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" - } + ] } - ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } }, { - "id": 2667, - "name": "list", + "id": 2453, + "name": "$or", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2668, - "name": "list", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2669, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2655, - "name": "FilterableUserProps", - "package": "@medusajs/types" - } - }, + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ { - "id": 2670, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 2652, - "name": "UserDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } + "type": "reference", + "target": 2446, + "name": "FilterableServiceZoneProps", + "package": "@medusajs/types" }, { - "id": 2671, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { + "type": "reference", + "target": 2029, + "typeArguments": [ + { "type": "reference", - "target": 2652, - "name": "UserDTO", + "target": 2446, + "name": "FilterableServiceZoneProps", "package": "@medusajs/types" } - } - ], - "name": "Promise", - "package": "typescript" - } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] } - ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } }, { - "id": 2672, - "name": "listAndCount", + "id": 2447, + "name": "id", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2673, - "name": "listAndCount", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2674, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 2655, - "name": "FilterableUserProps", - "package": "@medusajs/types" - } - }, - { - "id": 2675, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 920, - "typeArguments": [ - { - "type": "reference", - "target": 2652, - "name": "UserDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 2676, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the service zones by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" } - ], - "type": { + }, + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, + "target": 2007, "typeArguments": [ { - "type": "tuple", - "elements": [ + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, { "type": "array", "elementType": { - "type": "reference", - "target": 2652, - "name": "UserDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } - }, - { - "type": "intrinsic", - "name": "number" } ] } ], - "name": "Promise", - "package": "typescript" + "name": "OperatorMap", + "package": "@medusajs/types" } - } - ] + ] + } }, { - "id": 2677, - "name": "create", + "id": 2448, + "name": "name", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2678, - "name": "create", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2679, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2657, - "name": "CreateUserDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 2680, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the service zones by their name." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" } - ], - "type": { + }, + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, + "target": 2007, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 2652, - "name": "UserDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 2681, - "name": "create", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2682, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 2657, - "name": "CreateUserDTO", - "package": "@medusajs/types" - } - }, - { - "id": 2683, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 2652, - "name": "UserDTO", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } ], - "name": "Promise", - "package": "typescript" + "name": "OperatorMap", + "package": "@medusajs/types" } - } - ] + ] + } }, { - "id": 2684, - "name": "update", + "id": 2449, + "name": "geo_zones", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2685, - "name": "update", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2686, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2659, - "name": "UpdateUserDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 2687, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 2652, - "name": "UserDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 2688, - "name": "update", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2689, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 2659, - "name": "UpdateUserDTO", - "package": "@medusajs/types" - } - }, - { - "id": 2690, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 2652, - "name": "UserDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the associated geo zones." } - } - ] + ] + }, + "type": { + "type": "reference", + "target": 2466, + "name": "FilterableGeoZoneProps", + "package": "@medusajs/types" + } }, { - "id": 2691, - "name": "delete", + "id": 2450, + "name": "fulfillment_set", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 2692, - "name": "delete", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 2693, - "name": "ids", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 2694, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3682, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the associated fulfillment sets." } - } - ] + ] + }, + "type": { + "type": "reference", + "target": 2328, + "name": "FilterableFulfillmentSetProps", + "package": "@medusajs/types" + } } ], "groups": [ { - "title": "Methods", + "title": "Properties", "children": [ - 2662, - 2667, - 2672, - 2677, - 2684, - 2691 + 2452, + 2453, + 2447, + 2448, + 2449, + 2450 ] } ], "extendedTypes": [ { "type": "reference", - "target": 2048, - "name": "IModuleService", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2446, + "name": "FilterableServiceZoneProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", "package": "@medusajs/types" } ] - } - ], - "groups": [ - { - "title": "Interfaces", - "children": [ - 2657, - 2659, - 2661 - ] }, { - "title": "Type Aliases", - "children": [ - 2652, - 2655 - ] - } - ] - }, - { - "id": 2702, - "name": "WorkflowTypes", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ - { - "id": 2703, - "name": "CartWorkflow", + "id": 2351, + "name": "ShippingOptionRuleDTO", "variant": "declaration", - "kind": 4, + "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option rule details." + } + ] + }, "children": [ { - "id": 2704, - "name": "CreateLineItemInputDTO", + "id": 2352, + "name": "id", "variant": "declaration", - "kind": 256, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 2705, - "name": "variant_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2706, - "name": "quantity", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option rule." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2705, - 2706 - ] - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 2707, - "name": "CreateCartWorkflowInputDTO", + "id": 2353, + "name": "attribute", "variant": "declaration", - "kind": 256, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 2708, - "name": "region_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2709, - "name": "country_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2710, - "name": "items", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2704, - "name": "CreateLineItemInputDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 2711, - "name": "context", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 2712, - "name": "sales_channel_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2713, - "name": "shipping_address_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2714, - "name": "billing_address_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2715, - "name": "billing_address", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1, - "name": "AddressDTO", - "package": "@medusajs/types" - } - }, - { - "id": 2716, - "name": "shipping_address", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 1, - "name": "AddressDTO", - "package": "@medusajs/types" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attribute of the shipping option rule." } - }, - { - "id": 2717, - "name": "customer_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2354, + "name": "operator", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The operator of the shipping option rule." } - }, - { - "id": 2718, - "name": "email", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nin\n```" + } + ] } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2708, - 2709, - 2710, - 2711, - 2712, - 2713, - 2714, - 2715, - 2716, - 2717, - 2718 - ] - } - ] - } - ], - "groups": [ - { - "title": "Interfaces", - "children": [ - 2704, - 2707 - ] - } - ] - }, - { - "id": 2719, - "name": "CommonWorkflow", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, { - "id": 2720, - "name": "WorkflowInputConfig", + "id": 2355, + "name": "value", "variant": "declaration", - "kind": 256, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 2721, - "name": "listConfig", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "The values of the shipping option rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { + { "type": "reflection", "declaration": { - "id": 2722, + "id": 2356, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2723, - "name": "select", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 2724, - "name": "relations", + "id": 2357, + "name": "value", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The values of the shipping option rule." + } + ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } } ], @@ -74682,729 +71996,729 @@ { "title": "Properties", "children": [ - 2723, - 2724 + 2357 ] } ] } } + ] + } + }, + { + "id": 2358, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2359, + "name": "shipping_option", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option." + } + ] + }, + "type": { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2360, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the shipping option rule." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" }, - { - "id": 2725, - "name": "retrieveConfig", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "name": "Date", + "package": "typescript" + } + }, + { + "id": 2361, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the shipping option rule." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 2362, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the shipping option rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { - "type": "reflection", - "declaration": { - "id": 2726, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 2727, - "name": "select", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 2728, - "name": "relations", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2727, - 2728 - ] - } - ] - } + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2721, - 2725 - ] - } - ] + ] + } } ], "groups": [ { - "title": "Interfaces", + "title": "Properties", "children": [ - 2720 + 2352, + 2353, + 2354, + 2355, + 2358, + 2359, + 2360, + 2361, + 2362 ] } ] }, { - "id": 2729, - "name": "PriceListWorkflow", + "id": 2363, + "name": "FilterableShippingOptionRuleProps", "variant": "declaration", - "kind": 4, + "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping option rules." + } + ] + }, "children": [ { - "id": 2730, - "name": "CreatePriceListDTO", + "id": 2368, + "name": "$and", "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2731, - "name": "starts_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2732, - "name": "ends_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2733, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3398, - "name": "PriceListStatus", - "package": "@medusajs/types" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." } - }, - { - "id": 2734, - "name": "rules_count", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2363, + "name": "FilterableShippingOptionRuleProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2363, + "name": "FilterableShippingOptionRuleProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 2369, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." } - }, - { - "id": 2735, - "name": "rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { "type": "reference", - "target": 3467, - "name": "PriceListRuleDTO", + "target": 2363, + "name": "FilterableShippingOptionRuleProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2363, + "name": "FilterableShippingOptionRuleProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", "package": "@medusajs/types" } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 2364, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the shipping option rules by." } - }, - { - "id": 2736, - "name": "prices", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" }, - "type": { + { "type": "array", "elementType": { - "type": "reflection", - "declaration": { - "id": 2737, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ { - "id": 2738, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 2739, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } + "type": "intrinsic", + "name": "string" }, { - "id": 2740, - "name": "region_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { + "type": "array", + "elementType": { "type": "intrinsic", "name": "string" } - }, - { - "id": 2741, - "name": "max_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 2742, - "name": "min_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2738, - 2739, - 2740, - 2741, - 2742 - ] } ] } - } + ], + "name": "OperatorMap", + "package": "@medusajs/types" } - }, - { - "id": 2743, - "name": "customer_groups", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + } + }, + { + "id": 2365, + "name": "attribute", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping option rules by their attribute." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" }, - "type": { + { "type": "array", "elementType": { - "type": "reflection", - "declaration": { - "id": 2744, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ { - "id": 2745, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { "type": "intrinsic", "name": "string" } } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2745 - ] - } ] } - } + ], + "name": "OperatorMap", + "package": "@medusajs/types" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2731, - 2732, - 2733, - 2734, - 2735, - 2736, - 2743 - ] - } - ] + ] + } }, { - "id": 2746, - "name": "CreatePriceListRuleDTO", + "id": 2366, + "name": "operator", "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2747, - "name": "rule_attribute", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping option rules by their operator." + } + ] + }, + "type": { + "type": "union", + "types": [ + { "type": "intrinsic", "name": "string" - } - }, - { - "id": 2748, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { + }, + { "type": "array", "elementType": { "type": "intrinsic", "name": "string" } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2747, - 2748 - ] - } - ] + ] + } }, { - "id": 2749, - "name": "CreatePriceListPriceDTO", + "id": 2367, + "name": "value", "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2750, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping option rules by their values." } - }, - { - "id": 2751, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { + ] + }, + "type": { + "type": "union", + "types": [ + { "type": "intrinsic", "name": "string" - } - }, - { - "id": 2752, - "name": "price_set_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 2753, - "name": "region_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 2754, - "name": "max_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } }, - "type": { - "type": "intrinsic", - "name": "number" + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" } - }, + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2368, + 2369, + 2364, + 2365, + 2366, + 2367 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ { - "id": 2755, - "name": "min_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } + "type": "reference", + "target": 2363, + "name": "FilterableShippingOptionRuleProps", + "package": "@medusajs/types" } ], - "groups": [ - { - "title": "Properties", - "children": [ - 2750, - 2751, - 2752, - 2753, - 2754, - 2755 - ] - } - ] - }, + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 2419, + "name": "ShippingOptionTypeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option type details." + } + ] + }, + "children": [ { - "id": 2756, - "name": "CreatePriceListWorkflowInputDTO", + "id": 2420, + "name": "id", "variant": "declaration", - "kind": 256, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 2757, - "name": "price_lists", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 2767, - "name": "CreatePriceListWorkflowDTO", - "package": "@medusajs/types" - } + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option type." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2757 - ] - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 2758, - "name": "RemovePriceListProductsWorkflowInputDTO", + "id": 2421, + "name": "label", "variant": "declaration", - "kind": 256, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 2759, - "name": "product_ids", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 2760, - "name": "price_list_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The label of the shipping option type." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2759, - 2760 - ] - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 2761, - "name": "RemovePriceListVariantsWorkflowInputDTO", + "id": 2422, + "name": "description", "variant": "declaration", - "kind": 256, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 2762, - "name": "variant_ids", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 2763, - "name": "price_list_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the shipping option type." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2762, - 2763 - ] - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 2764, - "name": "RemovePriceListPricesWorkflowInputDTO", + "id": 2423, + "name": "code", "variant": "declaration", - "kind": 256, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 2765, - "name": "money_amount_ids", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 2766, - "name": "price_list_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the shipping option type." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2765, - 2766 - ] - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 2767, - "name": "CreatePriceListWorkflowDTO", + "id": 2424, + "name": "shipping_option_id", "variant": "declaration", - "kind": 256, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 2768, - "name": "title", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option's ID." } - }, - { - "id": 2769, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2425, + "name": "shipping_option", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option." } - }, - { - "id": 2770, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + ] + }, + "type": { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2426, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the shipping option type." } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" }, - { - "id": 2771, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" + "name": "Date", + "package": "typescript" + } + }, + { + "id": 2427, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the shipping option type." } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" }, - { - "id": 2772, - "name": "starts_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "name": "Date", + "package": "typescript" + } + }, + { + "id": 2428, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the shipping option type." } - }, - { - "id": 2773, - "name": "ends_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", @@ -75413,15370 +72727,171342 @@ "name": "Date", "package": "typescript" } - }, - { - "id": 2774, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3398, - "name": "PriceListStatus", - "package": "@medusajs/types" - } - }, - { - "id": 2775, - "name": "rules_count", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2420, + 2421, + 2422, + 2423, + 2424, + 2425, + 2426, + 2427, + 2428 + ] + } + ] + }, + { + "id": 2429, + "name": "FilterableShippingOptionTypeProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping option types." + } + ] + }, + "children": [ + { + "id": 2434, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." } - }, - { - "id": 2776, - "name": "prices", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { "type": "reference", - "target": 3738, - "name": "InputPrice", + "target": 2429, + "name": "FilterableShippingOptionTypeProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2429, + "name": "FilterableShippingOptionTypeProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", "package": "@medusajs/types" } - } - }, - { - "id": 2777, - "name": "rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 3426, - "name": "CreatePriceListRules", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2768, - 2769, - 2770, - 2771, - 2772, - 2773, - 2774, - 2775, - 2776, - 2777 ] } - ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } }, { - "id": 2795, - "name": "RemovePriceListWorkflowInputDTO", + "id": 2435, + "name": "$or", "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2796, - "name": "price_lists", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2796 + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2429, + "name": "FilterableShippingOptionTypeProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2429, + "name": "FilterableShippingOptionTypeProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } ] } - ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } }, { - "id": 2778, - "name": "PriceListVariantPriceDTO", + "id": 2430, + "name": "id", "variant": "declaration", - "kind": 2097152, - "flags": {}, + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the shipping option types by." + } + ] + }, "type": { - "type": "intersection", + "type": "union", "types": [ { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/types/src/workflow/product/update-products.ts", - "qualifiedName": "UpdateProductVariantPricesInputDTO" - }, - "name": "UpdateProductVariantPricesInputDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" }, { - "type": "reflection", - "declaration": { - "id": 2779, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 2780, - "name": "variant_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ + { "type": "intrinsic", "name": "string" - } - }, - { - "id": 2781, - "name": "price_set_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2780, - 2781 - ] - } - ] - } + ] + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" } ] } }, { - "id": 2782, - "name": "UpdatePriceListWorkflowDTO", + "id": 2431, + "name": "label", "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2783, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping option types by their label." } - }, - { - "id": 2784, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { + ] + }, + "type": { + "type": "union", + "types": [ + { "type": "intrinsic", "name": "string" - } - }, - { - "id": 2785, - "name": "starts_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - }, - { - "id": 2786, - "name": "ends_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } }, - "type": { + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - }, - { - "id": 2787, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 2432, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping option types by their description." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" }, - "type": { + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { "type": "reference", - "target": 3398, - "name": "PriceListStatus", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "name": "OperatorMap", "package": "@medusajs/types" } - }, - { - "id": 2788, - "name": "rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + } + }, + { + "id": 2433, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping option types by their code." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" }, - "type": { + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { "type": "reference", - "target": 3426, - "name": "CreatePriceListRules", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "name": "OperatorMap", "package": "@medusajs/types" } - }, + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2434, + 2435, + 2430, + 2431, + 2432, + 2433 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ { - "id": 2789, - "name": "prices", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "type": "reference", + "target": 2429, + "name": "FilterableShippingOptionTypeProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 2370, + "name": "ShippingOptionPriceType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option's price type.\n\n- Use " + }, + { + "kind": "code", + "text": "`calculated`" + }, + { + "kind": "text", + "text": " if the shipping option's price amount is calculated by the fulfillment provider.\n- Use " + }, + { + "kind": "code", + "text": "`flat_rate`" + }, + { + "kind": "text", + "text": " if the shipping option's price is always the same amount." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "calculated" + }, + { + "type": "literal", + "value": "flat" + } + ] + } + }, + { + "id": 2371, + "name": "ShippingOptionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option details." + } + ] + }, + "children": [ + { + "id": 2372, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2373, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the shipping option." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2374, + "name": "price_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the shipping option's price." + } + ] + }, + "type": { + "type": "reference", + "target": 2370, + "name": "ShippingOptionPriceType", + "package": "@medusajs/types" + } + }, + { + "id": 2375, + "name": "service_zone_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2376, + "name": "shipping_profile_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping profile's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2377, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment provider's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2378, + "name": "shipping_option_type_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option type's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { - "type": "array", - "elementType": { + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2379, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 2380, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 2381, + "name": "service_zone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone." + } + ] + }, + "type": { + "type": "reference", + "target": 2436, + "name": "ServiceZoneDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2382, + "name": "shipping_profile", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping profile." + } + ] + }, + "type": { + "type": "reference", + "target": 2335, + "name": "ShippingProfileDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2383, + "name": "fulfillment_provider", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment provider." + } + ] + }, + "type": { + "type": "reference", + "target": 2474, + "name": "FulfillmentProviderDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2384, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option type." + } + ] + }, + "type": { + "type": "reference", + "target": 2419, + "name": "ShippingOptionTypeDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2385, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules associated with the shipping option." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2351, + "name": "ShippingOptionRuleDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 2386, + "name": "fulfillments", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillments associated with the shipping option." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2486, + "name": "FulfillmentDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 2387, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the shipping option." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 2388, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the shipping option." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 2389, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the shipping option." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2372, + 2373, + 2374, + 2375, + 2376, + 2377, + 2378, + 2379, + 2380, + 2381, + 2382, + 2383, + 2384, + 2385, + 2386, + 2387, + 2388, + 2389 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 1339, + "name": "PricedShippingOptionDTO" + } + ] + }, + { + "id": 2390, + "name": "FilterableShippingOptionProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping options." + } + ] + }, + "children": [ + { + "id": 2398, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2390, + "name": "FilterableShippingOptionProps", + "package": "@medusajs/types" + }, + { "type": "reference", - "target": 2778, - "name": "PriceListVariantPriceDTO", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2390, + "name": "FilterableShippingOptionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", "package": "@medusajs/types" } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 2399, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." } - }, - { - "id": 2790, - "name": "customer_groups", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2390, + "name": "FilterableShippingOptionProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2390, + "name": "FilterableShippingOptionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 2391, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the shipping options by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" }, - "type": { + { "type": "array", "elementType": { - "type": "reflection", - "declaration": { - "id": 2791, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ { - "id": 2792, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { "type": "intrinsic", "name": "string" } } - ], - "groups": [ + ] + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 2392, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping options by their name." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ { - "title": "Properties", - "children": [ - 2792 - ] + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } ] } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 2393, + "name": "shipping_profile_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping options by the ID of their associated shipping profile." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2783, - 2784, - 2785, - 2786, - 2787, - 2788, - 2789, - 2790 - ] - } - ] + ] + } }, { - "id": 2793, - "name": "UpdatePriceListWorkflowInputDTO", + "id": 2394, + "name": "price_type", "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 2794, - "name": "price_lists", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping options by their price type." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2370, + "name": "ShippingOptionPriceType", + "package": "@medusajs/types" + }, + { "type": "array", "elementType": { "type": "reference", - "target": 2782, - "name": "UpdatePriceListWorkflowDTO", + "target": 2370, + "name": "ShippingOptionPriceType", "package": "@medusajs/types" } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "unknown", + "name": "ShippingOptionPriceType | ShippingOptionPriceType[]" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 2794 - ] - } - ] + ] + } + }, + { + "id": 2395, + "name": "service_zone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved service zones." + } + ] + }, + "type": { + "type": "reference", + "target": 2446, + "name": "FilterableServiceZoneProps", + "package": "@medusajs/types" + } + }, + { + "id": 2396, + "name": "shipping_option_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping option types." + } + ] + }, + "type": { + "type": "reference", + "target": 2429, + "name": "FilterableShippingOptionTypeProps", + "package": "@medusajs/types" + } + }, + { + "id": 2397, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping option rules." + } + ] + }, + "type": { + "type": "reference", + "target": 2363, + "name": "FilterableShippingOptionRuleProps", + "package": "@medusajs/types" + } } ], "groups": [ { - "title": "Interfaces", - "children": [ - 2730, - 2746, - 2749, - 2756, - 2758, - 2761, - 2764, - 2767, - 2795, - 2782, - 2793 - ] - }, - { - "title": "Type Aliases", + "title": "Properties", "children": [ - 2778 + 2398, + 2399, + 2391, + 2392, + 2393, + 2394, + 2395, + 2396, + 2397 ] } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2390, + "name": "FilterableShippingOptionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 2400, + "name": "FilterableShippingOptionForContextProps" + } ] - } - ], - "groups": [ + }, { - "title": "Namespaces", + "id": 2400, + "name": "FilterableShippingOptionForContextProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context's details used to filter the shipping option." + } + ] + }, + "children": [ + { + "id": 2417, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2390, + "name": "FilterableShippingOptionProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2390, + "name": "FilterableShippingOptionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2398, + "name": "FilterableShippingOptionProps.$and" + } + }, + { + "id": 2418, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2390, + "name": "FilterableShippingOptionProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2390, + "name": "FilterableShippingOptionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2399, + "name": "FilterableShippingOptionProps.$or" + } + }, + { + "id": 2410, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the shipping options by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2391, + "name": "FilterableShippingOptionProps.id" + } + }, + { + "id": 2411, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping options by their name." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2392, + "name": "FilterableShippingOptionProps.name" + } + }, + { + "id": 2412, + "name": "shipping_profile_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping options by the ID of their associated shipping profile." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2393, + "name": "FilterableShippingOptionProps.shipping_profile_id" + } + }, + { + "id": 2413, + "name": "price_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping options by their price type." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2370, + "name": "ShippingOptionPriceType", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2370, + "name": "ShippingOptionPriceType", + "package": "@medusajs/types" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "unknown", + "name": "ShippingOptionPriceType | ShippingOptionPriceType[]" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2394, + "name": "FilterableShippingOptionProps.price_type" + } + }, + { + "id": 2414, + "name": "service_zone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved service zones." + } + ] + }, + "type": { + "type": "reference", + "target": 2446, + "name": "FilterableServiceZoneProps", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 2395, + "name": "FilterableShippingOptionProps.service_zone" + } + }, + { + "id": 2415, + "name": "shipping_option_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping option types." + } + ] + }, + "type": { + "type": "reference", + "target": 2429, + "name": "FilterableShippingOptionTypeProps", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 2396, + "name": "FilterableShippingOptionProps.shipping_option_type" + } + }, + { + "id": 2416, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping option rules." + } + ] + }, + "type": { + "type": "reference", + "target": 2363, + "name": "FilterableShippingOptionRuleProps", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 2397, + "name": "FilterableShippingOptionProps.rules" + } + }, + { + "id": 2401, + "name": "fulfillment_set_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment set's ID used in the context." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 2402, + "name": "fulfillment_set_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment set's type used in the context." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 2403, + "name": "address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address used in the context. It filters the shipping options based on\nthe geo zones of their associated service zone." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 2404, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 2405, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 2 character country code." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2406, + "name": "province_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province code." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2407, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2408, + "name": "postal_expression", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The postal expression" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2405, + 2406, + 2407, + 2408 + ] + } + ] + } + } + }, + { + "id": 2409, + "name": "context", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option's context to filter directly." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2417, + 2418, + 2410, + 2411, + 2412, + 2413, + 2414, + 2415, + 2416, + 2401, + 2402, + 2403, + 2409 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2390, + "name": "FilterableShippingOptionProps", + "package": "@medusajs/types" + } + ] + }, + { + "id": 2335, + "name": "ShippingProfileDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping profile details." + } + ] + }, "children": [ - 2703, - 2719, - 2729 + { + "id": 2336, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping profile." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2337, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the shipping profile." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2338, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the shipping profile." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2339, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 2340, + "name": "shipping_options", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping options associated with the shipping profile." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 2341, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the shipping profile." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 2342, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the shipping profile." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 2343, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the shipping profile." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2336, + 2337, + 2338, + 2339, + 2340, + 2341, + 2342, + 2343 + ] + } ] - } - ] + }, + { + "id": 2344, + "name": "FilterableShippingProfileProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping profiles." + } + ] + }, + "children": [ + { + "id": 2349, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2344, + "name": "FilterableShippingProfileProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2344, + "name": "FilterableShippingProfileProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 2350, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2344, + "name": "FilterableShippingProfileProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2344, + "name": "FilterableShippingProfileProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 2345, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the shipping profiles by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 2346, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping profiles by their name." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 2347, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the shipping profiles by their type." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 2348, + "name": "shipping_options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping options." + } + ] + }, + "type": { + "type": "reference", + "target": 2390, + "name": "FilterableShippingOptionProps", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2349, + 2350, + 2345, + 2346, + 2347, + 2348 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 2344, + "name": "FilterableShippingProfileProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 2722, + "name": "CreateFulfillmentAddressDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment address to be created." + } + ] + }, + "children": [ + { + "id": 2723, + "name": "fulfillment_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2724, + "name": "company", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The company of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2725, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first name of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2726, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2727, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first line of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2728, + "name": "address_2", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The second line of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2729, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2730, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 2 character country code of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2731, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2732, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The postal code of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2733, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The phone of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2734, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2723, + 2724, + 2725, + 2726, + 2727, + 2728, + 2729, + 2730, + 2731, + 2732, + 2733, + 2734 + ] + } + ] + }, + { + "id": 2740, + "name": "CreateFulfillmentItemDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment item to be created." + } + ] + }, + "children": [ + { + "id": 2741, + "name": "fulfillment_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2742, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the fulfillment item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2743, + "name": "sku", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The SKU of the fulfillment item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2744, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The quantity of the fulfillment item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 2745, + "name": "barcode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The barcode of the fulfillment item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2746, + "name": "line_item_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated line item's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2747, + "name": "inventory_item_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated inventory item's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2741, + 2742, + 2743, + 2744, + 2745, + 2746, + 2747 + ] + } + ] + }, + { + "id": 2735, + "name": "CreateFulfillmentLabelDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment label to be created." + } + ] + }, + "children": [ + { + "id": 2736, + "name": "tracking_number", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tracking number of the fulfillment label." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2737, + "name": "tracking_url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tracking URL of the fulfillment label." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2738, + "name": "label_url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The URL of the label." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2739, + "name": "fulfillment_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2736, + 2737, + 2738, + 2739 + ] + } + ] + }, + { + "id": 2688, + "name": "CreateFulfillmentSetDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment set to be created." + } + ] + }, + "children": [ + { + "id": 2689, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the fulfillment set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2690, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the fulfillment set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2691, + "name": "service_zones", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The service zones associated with the fulfillment set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2635, + "name": "CreateServiceZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "fulfillment_set_id" + } + ], + "name": "Omit", + "package": "typescript" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2689, + 2690, + 2691 + ] + } + ] + }, + { + "id": 2692, + "name": "UpdateFulfillmentSetDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the fulfillment set." + } + ] + }, + "children": [ + { + "id": 2693, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2694, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the fulfillment set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2695, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the fulfillment set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2696, + "name": "service_zones", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The service zones associated with the fulfillment set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2635, + "name": "CreateServiceZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "fulfillment_set_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reflection", + "declaration": { + "id": 2697, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 2698, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the service zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2698 + ] + } + ] + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2693, + 2694, + 2695, + 2696 + ] + } + ] + }, + { + "id": 2699, + "name": "CreateFulfillmentOrderDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment order to be created." + } + ] + } + }, + { + "id": 2700, + "name": "CreateFulfillmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment to be created." + } + ] + }, + "children": [ + { + "id": 2701, + "name": "location_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated location's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2702, + "name": "packed_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was packed." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 2703, + "name": "shipped_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was shipped." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 2704, + "name": "delivered_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was delivered." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 2705, + "name": "canceled_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was canceled." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 2706, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data necessary for the associated fulfillment provider to process the fulfillment." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 2707, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment provider's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2708, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 2709, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 2710, + "name": "delivery_address", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address associated with the fulfillment. It's used for delivery." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2722, + "name": "CreateFulfillmentAddressDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "fulfillment_id" + } + ], + "name": "Omit", + "package": "typescript" + } + }, + { + "id": 2711, + "name": "items", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The items associated with the fulfillment." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2740, + "name": "CreateFulfillmentItemDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "fulfillment_id" + } + ], + "name": "Omit", + "package": "typescript" + } + } + }, + { + "id": 2712, + "name": "labels", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The labels associated with the fulfillment." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2735, + "name": "CreateFulfillmentLabelDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "fulfillment_id" + } + ], + "name": "Omit", + "package": "typescript" + } + } + }, + { + "id": 2713, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment order." + } + ] + }, + "type": { + "type": "reference", + "target": 2699, + "name": "CreateFulfillmentOrderDTO", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2701, + 2702, + 2703, + 2704, + 2705, + 2706, + 2707, + 2708, + 2709, + 2710, + 2711, + 2712, + 2713 + ] + } + ] + }, + { + "id": 2714, + "name": "UpdateFulfillmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the fulfillment." + } + ] + }, + "children": [ + { + "id": 2715, + "name": "location_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated location's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2716, + "name": "packed_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was packed." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 2717, + "name": "shipped_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was shipped." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 2718, + "name": "delivered_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was delivered." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 2719, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data necessary for the associated fulfillment provider to process the fulfillment." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 2720, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 2721, + "name": "labels", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The labels associated with the fulfillment." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2735, + "name": "CreateFulfillmentLabelDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "fulfillment_id" + } + ], + "name": "Omit", + "package": "typescript" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2715, + 2716, + 2717, + 2718, + 2719, + 2720, + 2721 + ] + } + ] + }, + { + "id": 2571, + "name": "CreateCountryGeoZoneDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The geo zone to be created of type " + }, + { + "kind": "code", + "text": "`country`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "children": [ + { + "id": 2573, + "name": "service_zone_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8002, + "name": "CreateGeoZoneBaseDTO.service_zone_id" + } + }, + { + "id": 2574, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 2 character country code of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8003, + "name": "CreateGeoZoneBaseDTO.country_code" + } + }, + { + "id": 2575, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 8004, + "name": "CreateGeoZoneBaseDTO.metadata" + } + }, + { + "id": 2572, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the geo zone." + } + ], + "blockTags": [ + { + "tag": "@defaultValue", + "content": [ + { + "kind": "code", + "text": "`\"country\"`" + } + ] + } + ] + }, + "type": { + "type": "literal", + "value": "country" + }, + "overwrites": { + "type": "reference", + "target": 8001, + "name": "CreateGeoZoneBaseDTO.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2573, + 2574, + 2575, + 2572 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 8000, + "name": "CreateGeoZoneBaseDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 2576, + "name": "CreateProvinceGeoZoneDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The geo zone to be created of type " + }, + { + "kind": "code", + "text": "`province`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "children": [ + { + "id": 2579, + "name": "service_zone_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8002, + "name": "CreateGeoZoneBaseDTO.service_zone_id" + } + }, + { + "id": 2580, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 2 character country code of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8003, + "name": "CreateGeoZoneBaseDTO.country_code" + } + }, + { + "id": 2581, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 8004, + "name": "CreateGeoZoneBaseDTO.metadata" + } + }, + { + "id": 2577, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the geo zone." + } + ], + "blockTags": [ + { + "tag": "@defaultValue", + "content": [ + { + "kind": "code", + "text": "`\"province\"`" + } + ] + } + ] + }, + "type": { + "type": "literal", + "value": "province" + }, + "overwrites": { + "type": "reference", + "target": 8001, + "name": "CreateGeoZoneBaseDTO.type" + } + }, + { + "id": 2578, + "name": "province_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province code of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2579, + 2580, + 2581, + 2577, + 2578 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 8000, + "name": "CreateGeoZoneBaseDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 2582, + "name": "CreateCityGeoZoneDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The geo zone to be created of type " + }, + { + "kind": "code", + "text": "`city`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "children": [ + { + "id": 2586, + "name": "service_zone_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8002, + "name": "CreateGeoZoneBaseDTO.service_zone_id" + } + }, + { + "id": 2587, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 2 character country code of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8003, + "name": "CreateGeoZoneBaseDTO.country_code" + } + }, + { + "id": 2588, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 8004, + "name": "CreateGeoZoneBaseDTO.metadata" + } + }, + { + "id": 2583, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the geo zone." + } + ], + "blockTags": [ + { + "tag": "@defaultValue", + "content": [ + { + "kind": "code", + "text": "`\"city\"`" + } + ] + } + ] + }, + "type": { + "type": "literal", + "value": "city" + }, + "overwrites": { + "type": "reference", + "target": 8001, + "name": "CreateGeoZoneBaseDTO.type" + } + }, + { + "id": 2584, + "name": "province_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province code of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2585, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2586, + 2587, + 2588, + 2583, + 2584, + 2585 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 8000, + "name": "CreateGeoZoneBaseDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 2589, + "name": "CreateZipGeoZoneDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The geo zone to be created of type " + }, + { + "kind": "code", + "text": "`zip`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "children": [ + { + "id": 2594, + "name": "service_zone_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8002, + "name": "CreateGeoZoneBaseDTO.service_zone_id" + } + }, + { + "id": 2595, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 2 character country code of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8003, + "name": "CreateGeoZoneBaseDTO.country_code" + } + }, + { + "id": 2596, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 8004, + "name": "CreateGeoZoneBaseDTO.metadata" + } + }, + { + "id": 2590, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the geo zone." + } + ], + "blockTags": [ + { + "tag": "@defaultValue", + "content": [ + { + "kind": "code", + "text": "`\"zip\"`" + } + ] + } + ] + }, + "type": { + "type": "literal", + "value": "zip" + }, + "overwrites": { + "type": "reference", + "target": 8001, + "name": "CreateGeoZoneBaseDTO.type" + } + }, + { + "id": 2591, + "name": "province_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province code of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2592, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2593, + "name": "postal_expression", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The postal expression of the geo zone." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2594, + 2595, + 2596, + 2590, + 2591, + 2592, + 2593 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 8000, + "name": "CreateGeoZoneBaseDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 2597, + "name": "CreateGeoZoneDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The geo zone to be created. The value of the " + }, + { + "kind": "code", + "text": "`type`" + }, + { + "kind": "text", + "text": " attributes allows for passing more attributes." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2571, + "name": "CreateCountryGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2576, + "name": "CreateProvinceGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2582, + "name": "CreateCityGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2589, + "name": "CreateZipGeoZoneDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 2598, + "name": "UpdateGeoZoneBaseDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the geo zone." + } + ] + }, + "children": [ + { + "id": 2600, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the geo zone." + } + ] + }, + "type": { + "type": "reference", + "target": 2454, + "name": "GeoZoneType", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.type" + } + }, + { + "id": 2601, + "name": "service_zone_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.service_zone_id" + } + }, + { + "id": 2602, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 2 character country code of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.country_code" + } + }, + { + "id": 2603, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.metadata" + } + }, + { + "id": 2599, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2600, + 2601, + 2602, + 2603, + 2599 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 8000, + "name": "CreateGeoZoneBaseDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 2604, + "name": "UpdateCountryGeoZoneDTO" + }, + { + "type": "reference", + "target": 2610, + "name": "UpdateProvinceGeoZoneDTO" + }, + { + "type": "reference", + "target": 2617, + "name": "UpdateCityGeoZoneDTO" + }, + { + "type": "reference", + "target": 2625, + "name": "UpdateZipGeoZoneDTO" + } + ] + }, + { + "id": 2604, + "name": "UpdateCountryGeoZoneDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the geo zone of type " + }, + { + "kind": "code", + "text": "`country`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "children": [ + { + "id": 2607, + "name": "service_zone_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2601, + "name": "UpdateGeoZoneBaseDTO.service_zone_id" + } + }, + { + "id": 2608, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 2 character country code of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2602, + "name": "UpdateGeoZoneBaseDTO.country_code" + } + }, + { + "id": 2609, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2603, + "name": "UpdateGeoZoneBaseDTO.metadata" + } + }, + { + "id": 2606, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2599, + "name": "UpdateGeoZoneBaseDTO.id" + } + }, + { + "id": 2605, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the geo zone." + } + ], + "blockTags": [ + { + "tag": "@defaultValue", + "content": [ + { + "kind": "code", + "text": "`\"country\"`" + } + ] + } + ] + }, + "type": { + "type": "literal", + "value": "country" + }, + "overwrites": { + "type": "reference", + "target": 2600, + "name": "UpdateGeoZoneBaseDTO.type" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2607, + 2608, + 2609, + 2606, + 2605 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2598, + "name": "UpdateGeoZoneBaseDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 2610, + "name": "UpdateProvinceGeoZoneDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the geo zone of type " + }, + { + "kind": "code", + "text": "`province`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "children": [ + { + "id": 2614, + "name": "service_zone_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2601, + "name": "UpdateGeoZoneBaseDTO.service_zone_id" + } + }, + { + "id": 2615, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 2 character country code of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2602, + "name": "UpdateGeoZoneBaseDTO.country_code" + } + }, + { + "id": 2616, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2603, + "name": "UpdateGeoZoneBaseDTO.metadata" + } + }, + { + "id": 2613, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2599, + "name": "UpdateGeoZoneBaseDTO.id" + } + }, + { + "id": 2611, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the geo zone." + } + ], + "blockTags": [ + { + "tag": "@defaultValue", + "content": [ + { + "kind": "code", + "text": "`\"province\"`" + } + ] + } + ] + }, + "type": { + "type": "literal", + "value": "province" + }, + "overwrites": { + "type": "reference", + "target": 2600, + "name": "UpdateGeoZoneBaseDTO.type" + } + }, + { + "id": 2612, + "name": "province_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province code of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2614, + 2615, + 2616, + 2613, + 2611, + 2612 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2598, + "name": "UpdateGeoZoneBaseDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 2617, + "name": "UpdateCityGeoZoneDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the geo zone of type " + }, + { + "kind": "code", + "text": "`city`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "children": [ + { + "id": 2622, + "name": "service_zone_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2601, + "name": "UpdateGeoZoneBaseDTO.service_zone_id" + } + }, + { + "id": 2623, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 2 character country code of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2602, + "name": "UpdateGeoZoneBaseDTO.country_code" + } + }, + { + "id": 2624, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2603, + "name": "UpdateGeoZoneBaseDTO.metadata" + } + }, + { + "id": 2621, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2599, + "name": "UpdateGeoZoneBaseDTO.id" + } + }, + { + "id": 2618, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the geo zone." + } + ], + "blockTags": [ + { + "tag": "@defaultValue", + "content": [ + { + "kind": "code", + "text": "`\"city\"`" + } + ] + } + ] + }, + "type": { + "type": "literal", + "value": "city" + }, + "overwrites": { + "type": "reference", + "target": 2600, + "name": "UpdateGeoZoneBaseDTO.type" + } + }, + { + "id": 2619, + "name": "province_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province code of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2620, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2622, + 2623, + 2624, + 2621, + 2618, + 2619, + 2620 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2598, + "name": "UpdateGeoZoneBaseDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 2625, + "name": "UpdateZipGeoZoneDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the geo zone of type " + }, + { + "kind": "code", + "text": "`zip`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "children": [ + { + "id": 2631, + "name": "service_zone_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2601, + "name": "UpdateGeoZoneBaseDTO.service_zone_id" + } + }, + { + "id": 2632, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 2 character country code of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2602, + "name": "UpdateGeoZoneBaseDTO.country_code" + } + }, + { + "id": 2633, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2603, + "name": "UpdateGeoZoneBaseDTO.metadata" + } + }, + { + "id": 2630, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2599, + "name": "UpdateGeoZoneBaseDTO.id" + } + }, + { + "id": 2626, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the geo zone." + } + ], + "blockTags": [ + { + "tag": "@defaultValue", + "content": [ + { + "kind": "code", + "text": "`\"zip\"`" + } + ] + } + ] + }, + "type": { + "type": "literal", + "value": "zip" + }, + "overwrites": { + "type": "reference", + "target": 2600, + "name": "UpdateGeoZoneBaseDTO.type" + } + }, + { + "id": 2627, + "name": "province_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province code of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2628, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2629, + "name": "postal_expression", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The postal expression of the geo zone." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2631, + 2632, + 2633, + 2630, + 2626, + 2627, + 2628, + 2629 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2598, + "name": "UpdateGeoZoneBaseDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 2634, + "name": "UpdateGeoZoneDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the geo zone. The value of the " + }, + { + "kind": "code", + "text": "`type`" + }, + { + "kind": "text", + "text": " attributes allows for passing more attributes." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2604, + "name": "UpdateCountryGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2610, + "name": "UpdateProvinceGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2617, + "name": "UpdateCityGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2625, + "name": "UpdateZipGeoZoneDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 2635, + "name": "CreateServiceZoneDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The service zone to be created." + } + ] + }, + "children": [ + { + "id": 2636, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the service zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2637, + "name": "fulfillment_set_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment set's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2638, + "name": "geo_zones", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The geo zones associated with the service zone." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2571, + "name": "CreateCountryGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2576, + "name": "CreateProvinceGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2582, + "name": "CreateCityGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2589, + "name": "CreateZipGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2636, + 2637, + 2638 + ] + } + ] + }, + { + "id": 2639, + "name": "UpdateServiceZoneDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the service zone." + } + ] + }, + "children": [ + { + "id": 2640, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the service zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2641, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the service zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2642, + "name": "geo_zones", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The geo zones associated with the service zone." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2571, + "name": "CreateCountryGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2576, + "name": "CreateProvinceGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2582, + "name": "CreateCityGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2589, + "name": "CreateZipGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reflection", + "declaration": { + "id": 2643, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 2644, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2644 + ] + } + ] + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2640, + 2641, + 2642 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 2645, + "name": "UpsertServiceZoneDTO" + } + ] + }, + { + "id": 2645, + "name": "UpsertServiceZoneDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A service zone to be created or updated." + } + ] + }, + "children": [ + { + "id": 2646, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the service zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2640, + "name": "UpdateServiceZoneDTO.id" + } + }, + { + "id": 2647, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the service zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2641, + "name": "UpdateServiceZoneDTO.name" + } + }, + { + "id": 2648, + "name": "geo_zones", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The geo zones associated with the service zone." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2571, + "name": "CreateCountryGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2576, + "name": "CreateProvinceGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2582, + "name": "CreateCityGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2589, + "name": "CreateZipGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reflection", + "declaration": { + "id": 2649, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 2650, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2650 + ] + } + ] + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2642, + "name": "UpdateServiceZoneDTO.geo_zones" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2646, + 2647, + 2648 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2639, + "name": "UpdateServiceZoneDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 2560, + "name": "CreateShippingOptionRuleDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option rule to be created." + } + ] + }, + "children": [ + { + "id": 2561, + "name": "attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attribute of the shipping option rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2562, + "name": "operator", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The operator of the shipping option rule." + } + ] + }, + "type": { + "type": "reference", + "target": 1499, + "name": "RuleOperatorType", + "package": "@medusajs/types" + } + }, + { + "id": 2563, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The value(s) of the shipping option rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 2564, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2561, + 2562, + 2563, + 2564 + ] + } + ] + }, + { + "id": 2565, + "name": "UpdateShippingOptionRuleDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the shipping option rule." + } + ] + }, + "children": [ + { + "id": 2567, + "name": "attribute", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attribute of the shipping option rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.attribute" + } + }, + { + "id": 2568, + "name": "operator", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The operator of the shipping option rule." + } + ] + }, + "type": { + "type": "reference", + "target": 1499, + "name": "RuleOperatorType", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.operator" + } + }, + { + "id": 2569, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The value(s) of the shipping option rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.value" + } + }, + { + "id": 2570, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.shipping_option_id" + } + }, + { + "id": 2566, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2567, + 2568, + 2569, + 2570, + 2566 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2560, + "name": "CreateShippingOptionRuleDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + ] + }, + { + "id": 2549, + "name": "CreateShippingOptionTypeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option type to be created." + } + ] + }, + "children": [ + { + "id": 2550, + "name": "label", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The label of the shipping option type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2551, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the shipping option type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2552, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the shipping option type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2553, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2550, + 2551, + 2552, + 2553 + ] + } + ] + }, + { + "id": 2554, + "name": "UpdateShippingOptionTypeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the shipping option type." + } + ] + }, + "children": [ + { + "id": 2556, + "name": "label", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The label of the shipping option type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.label" + } + }, + { + "id": 2557, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the shipping option type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.description" + } + }, + { + "id": 2558, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the shipping option type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.code" + } + }, + { + "id": 2559, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.shipping_option_id" + } + }, + { + "id": 2555, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2556, + 2557, + 2558, + 2559, + 2555 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2549, + "name": "CreateShippingOptionTypeDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + ] + }, + { + "id": 2651, + "name": "CreateShippingOptionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option to be created." + } + ] + }, + "children": [ + { + "id": 2652, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the shipping option." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2653, + "name": "price_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the shipping option's price." + } + ] + }, + "type": { + "type": "reference", + "target": 2370, + "name": "ShippingOptionPriceType", + "package": "@medusajs/types" + } + }, + { + "id": 2654, + "name": "service_zone_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2655, + "name": "shipping_profile_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping profile's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2656, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated provider's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2657, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option type associated with the shipping option." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2549, + "name": "CreateShippingOptionTypeDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "shipping_option_id" + } + ], + "name": "Omit", + "package": "typescript" + } + }, + { + "id": 2658, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data necessary for the associated fulfillment provider to process the shipping option\nand its associated fulfillments." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 2659, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option rules associated with the shipping option." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2560, + "name": "CreateShippingOptionRuleDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "shipping_option_id" + } + ], + "name": "Omit", + "package": "typescript" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2652, + 2653, + 2654, + 2655, + 2656, + 2657, + 2658, + 2659 + ] + } + ] + }, + { + "id": 2660, + "name": "UpdateShippingOptionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the shipping option." + } + ] + }, + "children": [ + { + "id": 2661, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2662, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the shipping option." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2663, + "name": "price_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the shipping option's price." + } + ] + }, + "type": { + "type": "reference", + "target": 2370, + "name": "ShippingOptionPriceType", + "package": "@medusajs/types" + } + }, + { + "id": 2664, + "name": "service_zone_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2665, + "name": "shipping_profile_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping profile's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2666, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated provider's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2667, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option type associated with the shipping option." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2549, + "name": "CreateShippingOptionTypeDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "shipping_option_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reflection", + "declaration": { + "id": 2668, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 2669, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2669 + ] + } + ] + } + } + ] + } + }, + { + "id": 2670, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data necessary for the associated fulfillment provider to process the shipping option\nand its associated fulfillments." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 2671, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option rules associated with the shipping option." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2560, + "name": "CreateShippingOptionRuleDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "shipping_option_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reflection", + "declaration": { + "id": 2672, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 2673, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2673 + ] + } + ] + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2661, + 2662, + 2663, + 2664, + 2665, + 2666, + 2667, + 2670, + 2671 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 2674, + "name": "UpsertShippingOptionDTO" + } + ] + }, + { + "id": 2674, + "name": "UpsertShippingOptionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A shipping option to be created or updated." + } + ] + }, + "children": [ + { + "id": 2675, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2661, + "name": "UpdateShippingOptionDTO.id" + } + }, + { + "id": 2676, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the shipping option." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2662, + "name": "UpdateShippingOptionDTO.name" + } + }, + { + "id": 2677, + "name": "price_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the shipping option's price." + } + ] + }, + "type": { + "type": "reference", + "target": 2370, + "name": "ShippingOptionPriceType", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 2663, + "name": "UpdateShippingOptionDTO.price_type" + } + }, + { + "id": 2678, + "name": "service_zone_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2664, + "name": "UpdateShippingOptionDTO.service_zone_id" + } + }, + { + "id": 2679, + "name": "shipping_profile_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping profile's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2665, + "name": "UpdateShippingOptionDTO.shipping_profile_id" + } + }, + { + "id": 2680, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated provider's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 2666, + "name": "UpdateShippingOptionDTO.provider_id" + } + }, + { + "id": 2681, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option type associated with the shipping option." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2549, + "name": "CreateShippingOptionTypeDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "shipping_option_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reflection", + "declaration": { + "id": 2682, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 2683, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2683 + ] + } + ] + } + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2667, + "name": "UpdateShippingOptionDTO.type" + } + }, + { + "id": 2684, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data necessary for the associated fulfillment provider to process the shipping option\nand its associated fulfillments." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 2670, + "name": "UpdateShippingOptionDTO.data" + } + }, + { + "id": 2685, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option rules associated with the shipping option." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2560, + "name": "CreateShippingOptionRuleDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "shipping_option_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reflection", + "declaration": { + "id": 2686, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 2687, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2687 + ] + } + ] + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2671, + "name": "UpdateShippingOptionDTO.rules" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2675, + 2676, + 2677, + 2678, + 2679, + 2680, + 2681, + 2684, + 2685 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2660, + "name": "UpdateShippingOptionDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 2541, + "name": "CreateShippingProfileDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping profile to be created." + } + ] + }, + "children": [ + { + "id": 2542, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the shipping profile." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2543, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the shipping profile." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2544, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2542, + 2543, + 2544 + ] + } + ] + }, + { + "id": 2545, + "name": "UpdateShippingProfileDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the shipping profile." + } + ] + }, + "children": [ + { + "id": 2546, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the shipping profile." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.name" + } + }, + { + "id": 2547, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the shipping profile." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.type" + } + }, + { + "id": 2548, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.metadata" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 2546, + 2547, + 2548 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2541, + "name": "CreateShippingProfileDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + ] + }, + { + "id": 2748, + "name": "IFulfillmentProvider", + "variant": "declaration", + "kind": 256, + "flags": {} + }, + { + "id": 2794, + "name": "IFulfillmentModuleService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The main service interface for the Fulfillment Module." + } + ] + }, + "children": [ + { + "id": 2795, + "name": "retrieve", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2796, + "name": "retrieve", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a fulfillment set by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved fulfillment set." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a fulfillment set by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst fulfillmentSet =\n await fulfillmentModuleService.retrieve(\"fuset_123\")\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst fulfillmentSet = await fulfillmentModuleService.retrieve(\n \"fuset_123\",\n {\n relations: [\"service_zones\"],\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2797, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2798, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the fulfillment set is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a fulfillment set." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2319, + "name": "FulfillmentSetDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 2799, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2319, + "name": "FulfillmentSetDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2800, + "name": "list", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2801, + "name": "list", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of fulfillment sets based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of fulfillment sets." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of fulfillment sets using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst fulfillmentSets = await fulfillmentModuleService.list({\n id: [\"fuset_123\", \"fuset_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the fulfillment set:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst fulfillmentSets = await fulfillmentModuleService.list(\n {\n id: [\"fuset_123\", \"fuset_321\"],\n },\n {\n relations: [\"search_zones\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst fulfillmentSets = await fulfillmentModuleService.list(\n {\n id: [\"fuset_123\", \"fuset_321\"],\n },\n {\n relations: [\"search_zones\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2802, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved fulfillment sets." + } + ] + }, + "type": { + "type": "reference", + "target": 2328, + "name": "FilterableFulfillmentSetProps", + "package": "@medusajs/types" + } + }, + { + "id": 2803, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the fulfillment set is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a fulfillment set." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2319, + "name": "FulfillmentSetDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 2804, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2319, + "name": "FulfillmentSetDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2805, + "name": "listAndCount", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2806, + "name": "listAndCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of fulfillment sets along with the total count of available fulfillment sets satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of fulfillment sets along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of fulfillment sets using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [fulfillmentSets, count] =\n await fulfillmentModuleService.listAndCount({\n id: [\"fuset_123\", \"fuset_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the fulfillment set:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [fulfillmentSets, count] =\n await fulfillmentModuleService.listAndCount(\n {\n id: [\"fuset_123\", \"fuset_321\"],\n },\n {\n relations: [\"search_zones\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [fulfillmentSets, count] =\n await fulfillmentModuleService.listAndCount(\n {\n id: [\"fuset_123\", \"fuset_321\"],\n },\n {\n relations: [\"search_zones\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2807, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved fulfillment sets." + } + ] + }, + "type": { + "type": "reference", + "target": 2328, + "name": "FilterableFulfillmentSetProps", + "package": "@medusajs/types" + } + }, + { + "id": 2808, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the fulfillment set is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a fulfillment set." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2319, + "name": "FulfillmentSetDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 2809, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2319, + "name": "FulfillmentSetDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2810, + "name": "create", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2811, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates fulfillment sets." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created fulfillment sets." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst fulfillmentSets = await fulfillmentModuleService.create(\n [\n {\n name: \"Shipping\",\n type: \"default\",\n },\n {\n name: \"Pickup\",\n type: \"provider-controlled\",\n },\n ]\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2812, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment sets to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2688, + "name": "CreateFulfillmentSetDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 2813, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2319, + "name": "FulfillmentSetDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 2814, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a fulfillment set." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created fulfillment set." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst fulfillmentSet = await fulfillmentModuleService.create({\n name: \"Shipping\",\n type: \"default\",\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2815, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment set to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 2688, + "name": "CreateFulfillmentSetDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2816, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2319, + "name": "FulfillmentSetDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2817, + "name": "update", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2818, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing fulfillment sets." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated fulfillment sets." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst fulfillmentSets = await fulfillmentModuleService.update(\n [\n {\n id: \"fuset_123\",\n name: \"Shipping\",\n },\n {\n id: \"fuset_321\",\n name: \"Pickup\",\n },\n ]\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2819, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the fulfillment sets." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2692, + "name": "UpdateFulfillmentSetDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 2820, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2319, + "name": "FulfillmentSetDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 2821, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing fulfillment set." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated fulfillment set." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst fulfillmentSet = await fulfillmentModuleService.update({\n id: \"fuset_123\",\n name: \"Shipping\",\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2822, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the fulfillment set." + } + ] + }, + "type": { + "type": "reference", + "target": 2692, + "name": "UpdateFulfillmentSetDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2823, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2319, + "name": "FulfillmentSetDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2824, + "name": "delete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2825, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes fulfillment sets by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the fulfillment sets are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.delete([\n \"fuset_123\",\n \"fuset_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2826, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the fulfillment sets." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 2827, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 2828, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a fulfillment set by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the fulfillment set is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.delete(\"fuset_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2829, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2830, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2831, + "name": "softDelete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2832, + "name": "softDelete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes fulfillment sets by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted.\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.softDelete([\n \"fuset_123\",\n \"fuset_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 2833, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 2834, + "name": "fulfillmentIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the fulfillment sets." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 2835, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 2833, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 2836, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2837, + "name": "restore", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2838, + "name": "restore", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores a soft deleted fulfillment by its IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored.\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.restore([\n \"fuset_123\",\n \"fuset_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 2839, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 2840, + "name": "fulfillmentIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the fulfillment sets." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 2841, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the fulfillment sets. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the fulfillment set's relation attribute names." + } + ] + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 2839, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 2842, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2843, + "name": "retrieveServiceZone", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2844, + "name": "retrieveServiceZone", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a service zone by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved service zone." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a service zone by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst serviceZone =\n await fulfillmentModuleService.retrieveServiceZone(\n \"serzo_123\"\n )\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst serviceZone =\n await fulfillmentModuleService.retrieveServiceZone(\n \"serzo_123\",\n {\n relations: [\"shipping_options\"],\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2845, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the service zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2846, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the service zone is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a service zone." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2436, + "name": "ServiceZoneDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 2847, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2436, + "name": "ServiceZoneDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2848, + "name": "listServiceZones", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2849, + "name": "listServiceZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of service zones based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of service zones." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of service zones using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst serviceZones =\n await fulfillmentModuleService.listServiceZones({\n id: [\"serzo_123\", \"serzo_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the service zone:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst serviceZones =\n await fulfillmentModuleService.listServiceZones(\n {\n id: [\"serzo_123\", \"serzo_321\"],\n },\n {\n relations: [\"shipping_options\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst serviceZones =\n await fulfillmentModuleService.listServiceZones(\n {\n id: [\"serzo_123\", \"serzo_321\"],\n },\n {\n relations: [\"shipping_options\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2850, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved service zones." + } + ] + }, + "type": { + "type": "reference", + "target": 2446, + "name": "FilterableServiceZoneProps", + "package": "@medusajs/types" + } + }, + { + "id": 2851, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the service zone is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a service zone." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2436, + "name": "ServiceZoneDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 2852, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2436, + "name": "ServiceZoneDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2853, + "name": "listAndCountServiceZones", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2854, + "name": "listAndCountServiceZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of service zones along with the total count of available service zones satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of service zones along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of service zones using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [serviceZones, count] =\n await fulfillmentModuleService.listAndCountServiceZones({\n id: [\"serzo_123\", \"serzo_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the service zone:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [serviceZones, count] =\n await fulfillmentModuleService.listAndCountServiceZones(\n {\n id: [\"serzo_123\", \"serzo_321\"],\n },\n {\n relations: [\"shipping_options\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [serviceZones, count] =\n await fulfillmentModuleService.listAndCountServiceZones(\n {\n id: [\"serzo_123\", \"serzo_321\"],\n },\n {\n relations: [\"shipping_options\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2855, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved service zones." + } + ] + }, + "type": { + "type": "reference", + "target": 2446, + "name": "FilterableServiceZoneProps", + "package": "@medusajs/types" + } + }, + { + "id": 2856, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the service zone is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a service zone." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2436, + "name": "ServiceZoneDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 2857, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2436, + "name": "ServiceZoneDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2858, + "name": "createServiceZones", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2859, + "name": "createServiceZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates service zones." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created service zones." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst serviceZones =\n await fulfillmentModuleService.createServiceZones([\n {\n name: \"Nordic Shipping Methods\",\n fulfillment_set_id: \"fuset_123\",\n },\n {\n name: \"Pickup Service Area\",\n fulfillment_set_id: \"fuset_321\",\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2860, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The service zones to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2635, + "name": "CreateServiceZoneDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 2861, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2436, + "name": "ServiceZoneDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 2862, + "name": "createServiceZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a service zone." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created service zone." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst serviceZone =\n await fulfillmentModuleService.createServiceZones({\n name: \"Nordic Shipping Methods\",\n fulfillment_set_id: \"fuset_123\",\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2863, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The service zone to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 2635, + "name": "CreateServiceZoneDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2864, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2436, + "name": "ServiceZoneDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2865, + "name": "updateServiceZones", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2866, + "name": "updateServiceZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing service zone." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated service zone." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst serviceZone =\n await fulfillmentModuleService.updateServiceZones(\n \"serzo_123\",\n {\n name: \"US\",\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2867, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the service zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2868, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the service zone." + } + ] + }, + "type": { + "type": "reference", + "target": 2639, + "name": "UpdateServiceZoneDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2869, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2436, + "name": "ServiceZoneDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 2870, + "name": "updateServiceZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing service zones matching the specified filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated service zones." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst serviceZones =\n await fulfillmentModuleService.updateServiceZones(\n {\n id: [\"serzo_123\", \"serzo_321\"],\n },\n {\n name: \"US\",\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2871, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters specifying which service zones to update." + } + ] + }, + "type": { + "type": "reference", + "target": 2446, + "name": "FilterableServiceZoneProps", + "package": "@medusajs/types" + } + }, + { + "id": 2872, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the service zone." + } + ] + }, + "type": { + "type": "reference", + "target": 2639, + "name": "UpdateServiceZoneDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2873, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2436, + "name": "ServiceZoneDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2874, + "name": "upsertServiceZones", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2875, + "name": "upsertServiceZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates or creates a service zone if it doesn't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created or updated service zone." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst serviceZone =\n await fulfillmentModuleService.upsertServiceZones({\n id: \"serzo_123\",\n name: \"US\",\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2876, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the service zone to be created or updated." + } + ] + }, + "type": { + "type": "reference", + "target": 2645, + "name": "UpsertServiceZoneDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2877, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2436, + "name": "ServiceZoneDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 2878, + "name": "upsertServiceZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates or creates service zones if they don't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created or updated service zones." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst serviceZones =\n await fulfillmentModuleService.upsertServiceZones([\n {\n id: \"serzo_123\",\n name: \"US\",\n },\n {\n name: \"US\",\n fulfillment_set_id: \"fuset_123\",\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2879, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the service zones to be created or updated." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2645, + "name": "UpsertServiceZoneDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 2880, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2436, + "name": "ServiceZoneDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2881, + "name": "deleteServiceZones", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2882, + "name": "deleteServiceZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes service zones by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the service zones are deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.deleteServiceZones([\n \"serzo_123\",\n \"serzo_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2883, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the service zone." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 2884, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 2885, + "name": "deleteServiceZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a service zone by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the service zone is deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.deleteServiceZones(\"serzo_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2886, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the service zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2887, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2888, + "name": "softDeleteServiceZones", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2889, + "name": "softDeleteServiceZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes service zones by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted.\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.softDeleteServiceZones([\n \"serzo_123\",\n \"serzo_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 2890, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 2891, + "name": "serviceZoneIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the service zones." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 2892, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 2890, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 2893, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2894, + "name": "restoreServiceZones", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2895, + "name": "restoreServiceZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores a soft deleted service zones by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored.\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.restoreServiceZones([\n \"serzo_123\",\n \"serzo_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 2896, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 2897, + "name": "serviceZoneIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the service zones." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 2898, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the service zones. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the service zone's relation attribute names, such as " + }, + { + "kind": "code", + "text": "`{type relation name}`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 2896, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 2899, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2900, + "name": "retrieveGeoZone", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2901, + "name": "retrieveGeoZone", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a geo zone by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved geo zone." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a geo zone by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst geoZone =\n await fulfillmentModuleService.retrieveGeoZone(\"fgz_123\")\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst geoZone =\n await fulfillmentModuleService.retrieveGeoZone(\"fgz_123\", {\n relations: [\"service_zone\"],\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2902, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2903, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the geo zone is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a geo zone." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2455, + "name": "GeoZoneDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 2904, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2455, + "name": "GeoZoneDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2905, + "name": "listGeoZones", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2906, + "name": "listGeoZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of geo zones based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of geo zones." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of geo zones using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst geoZones = await fulfillmentModuleService.listGeoZones({\n id: [\"fgz_123\", \"fgz_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the geo zone:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst geoZones = await fulfillmentModuleService.listGeoZones(\n {\n id: [\"fgz_123\", \"fgz_321\"],\n },\n {\n relations: [\"service_zone\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst geoZones = await fulfillmentModuleService.listGeoZones(\n {\n id: [\"fgz_123\", \"fgz_321\"],\n },\n {\n relations: [\"service_zone\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2907, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved geo zones." + } + ] + }, + "type": { + "type": "reference", + "target": 2466, + "name": "FilterableGeoZoneProps", + "package": "@medusajs/types" + } + }, + { + "id": 2908, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the geo zone is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a geo zone." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2455, + "name": "GeoZoneDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 2909, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2455, + "name": "GeoZoneDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2910, + "name": "listAndCountGeoZones", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2911, + "name": "listAndCountGeoZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of geo zones along with the total count of available geo zones satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of geo zones along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of geo zones using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [geoZones, count] =\n await fulfillmentModuleService.listAndCountGeoZones({\n id: [\"fgz_123\", \"fgz_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the geo zone:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [geoZones, count] =\n await fulfillmentModuleService.listAndCountGeoZones(\n {\n id: [\"fgz_123\", \"fgz_321\"],\n },\n {\n relations: [\"service_zone\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [geoZones, count] =\n await fulfillmentModuleService.listAndCountGeoZones(\n {\n id: [\"fgz_123\", \"fgz_321\"],\n },\n {\n relations: [\"service_zone\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2912, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved geo zones." + } + ] + }, + "type": { + "type": "reference", + "target": 2466, + "name": "FilterableGeoZoneProps", + "package": "@medusajs/types" + } + }, + { + "id": 2913, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the geo zone is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a geo zone." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2455, + "name": "GeoZoneDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 2914, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2455, + "name": "GeoZoneDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2915, + "name": "createGeoZones", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2916, + "name": "createGeoZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates geo zones." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created geo zones." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst geoZones =\n await fulfillmentModuleService.createGeoZones([\n {\n type: \"country\",\n service_zone_id: \"serzo_123\",\n country_code: \"us\",\n },\n {\n type: \"city\",\n service_zone_id: \"serzo_321\",\n province_code: \"VT\",\n city: \"Vermont\",\n country_code: \"us\",\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2917, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The geo zones to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2597, + "name": "CreateGeoZoneDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 2918, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2455, + "name": "GeoZoneDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 2919, + "name": "createGeoZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a geo zones." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created geo zones." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst geoZones =\n await fulfillmentModuleService.createGeoZones({\n type: \"country\",\n service_zone_id: \"serzo_123\",\n country_code: \"us\",\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2920, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The geo zone to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 2597, + "name": "CreateGeoZoneDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2921, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2455, + "name": "GeoZoneDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2922, + "name": "updateGeoZones", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2923, + "name": "updateGeoZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing geo zones." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated geo zones." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst geoZones =\n await fulfillmentModuleService.updateGeoZones([\n {\n id: \"fgz_123\",\n type: \"country\",\n country_code: \"us\",\n },\n {\n id: \"fgz_321\",\n type: \"city\",\n province_code: \"VT\",\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2924, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the geo zones." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2634, + "name": "UpdateGeoZoneDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 2925, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2455, + "name": "GeoZoneDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 2926, + "name": "updateGeoZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing fulfillment." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated fulfillment." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst geoZones =\n await fulfillmentModuleService.updateGeoZones({\n id: \"fgz_123\",\n type: \"country\",\n country_code: \"us\",\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2927, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the geo zone." + } + ] + }, + "type": { + "type": "reference", + "target": 2634, + "name": "UpdateGeoZoneDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2928, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2455, + "name": "GeoZoneDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2929, + "name": "deleteGeoZones", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2930, + "name": "deleteGeoZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes geo zones by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the geo zones are deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.deleteGeoZones([\n \"fgz_123\",\n \"fgz_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2931, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the geo zones." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 2932, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 2933, + "name": "deleteGeoZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a geo zone by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the geo zone is deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.deleteGeoZones(\"fgz_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2934, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2935, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2936, + "name": "softDeleteGeoZones", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2937, + "name": "softDeleteGeoZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes geo zones by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted.\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.softDeleteGeoZones([\n \"fgz_123\",\n \"fgz_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 2938, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 2939, + "name": "geoZoneIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the geo zones." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 2940, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 2938, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 2941, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2942, + "name": "restoreGeoZones", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2943, + "name": "restoreGeoZones", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores soft deleted geo zones by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored.\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.restoreGeoZones([\n \"fgz_123\",\n \"fgz_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 2944, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 2945, + "name": "geoZoneIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the geo zones." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 2946, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the geo zones. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the geo zone's relation attribute names, such as " + }, + { + "kind": "code", + "text": "`{type relation name}`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 2944, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 2947, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2948, + "name": "retrieveShippingOption", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2949, + "name": "retrieveShippingOption", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a shipping option by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved shipping option." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a shipping option by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingOption =\n await fulfillmentModuleService.retrieveShippingOption(\n \"so_123\"\n )\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingOption =\n await fulfillmentModuleService.retrieveShippingOption(\n \"so_123\",\n {\n relations: [\"fulfillments\"],\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2950, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2951, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the shipping option is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a shipping option." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 2952, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2953, + "name": "listShippingOptions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2954, + "name": "listShippingOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of shipping options based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of shipping options." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of shipping options using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingOptions =\n await fulfillmentModuleService.listShippingOptions({\n id: [\"so_123\", \"so_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the shipping option:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingOptions =\n await fulfillmentModuleService.listShippingOptions(\n {\n id: [\"so_123\", \"so_321\"],\n },\n {\n relations: [\"fulfillments\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingOptions =\n await fulfillmentModuleService.listShippingOptions(\n {\n id: [\"so_123\", \"so_321\"],\n },\n {\n relations: [\"fulfillments\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2955, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping options." + } + ] + }, + "type": { + "type": "reference", + "target": 2390, + "name": "FilterableShippingOptionProps", + "package": "@medusajs/types" + } + }, + { + "id": 2956, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the shipping option is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a shipping option." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 2957, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2958, + "name": "listShippingOptionsForContext", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2959, + "name": "listShippingOptionsForContext", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of shipping options based on the provided context." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of shipping options." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of shipping options matching a context:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingOptions =\n await fulfillmentModuleService.listShippingOptionsForContext(\n {\n fulfillment_set_id: [\"fuset_123\"],\n address: {\n country_code: \"us\",\n },\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the shipping option:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingOptions =\n await fulfillmentModuleService.listShippingOptionsForContext(\n {\n fulfillment_set_id: [\"fuset_123\"],\n address: {\n country_code: \"us\",\n },\n },\n {\n relations: [\"fulfillments\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingOptions =\n await fulfillmentModuleService.listShippingOptionsForContext(\n {\n fulfillment_set_id: [\"fuset_123\"],\n address: {\n country_code: \"us\",\n },\n },\n {\n relations: [\"fulfillments\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2960, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The context of the how the shipping option is being used. It\nacts as a filter for the retrieved shipping options." + } + ] + }, + "type": { + "type": "reference", + "target": 2400, + "name": "FilterableShippingOptionForContextProps", + "package": "@medusajs/types" + } + }, + { + "id": 2961, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the shipping option is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a shipping option." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 2962, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2963, + "name": "listAndCountShippingOptions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2964, + "name": "listAndCountShippingOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of shipping options along with the total count of available shipping options satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of shipping options along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of shipping options using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [shippingOptions, count] =\n await fulfillmentModuleService.listAndCountShippingOptions({\n id: [\"so_123\", \"so_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the shipping option:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [shippingOptions, count] =\n await fulfillmentModuleService.listAndCountShippingOptions(\n {\n id: [\"so_123\", \"so_321\"],\n },\n {\n relations: [\"fulfillments\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [shippingOptions, count] =\n await fulfillmentModuleService.listAndCountShippingOptions(\n {\n id: [\"so_123\", \"so_321\"],\n },\n {\n relations: [\"fulfillments\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2965, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Construct a type with the properties of T except for those in type K." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2390, + "name": "FilterableShippingOptionProps", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "context" + } + ], + "name": "Omit", + "package": "typescript" + } + }, + { + "id": 2966, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the shipping option is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a shipping option." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 2967, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2968, + "name": "createShippingOptions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2969, + "name": "createShippingOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates shipping options." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created shipping options." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingOptions =\n await fulfillmentModuleService.createShippingOptions([\n {\n name: \"DHL Express Shipping\",\n price_type: \"flat\",\n service_zone_id: \"serzo_123\",\n shipping_profile_id: \"sp_123\",\n provider_id: \"dhl\",\n type: {\n label: \"Express\",\n description: \"Ship in 24 hours\",\n code: \"express\",\n },\n },\n {\n name: \"Webshipper Shipping\",\n price_type: \"flat\",\n service_zone_id: \"serzo_321\",\n shipping_profile_id: \"sp_321\",\n provider_id: \"webshipper\",\n type: {\n label: \"Express\",\n description: \"Ship in 24 hours\",\n code: \"express\",\n },\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2970, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping options to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2651, + "name": "CreateShippingOptionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 2971, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 2972, + "name": "createShippingOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a shipping option." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created shipping option." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingOption =\n await fulfillmentModuleService.createShippingOptions({\n name: \"DHL Express Shipping\",\n price_type: \"flat\",\n service_zone_id: \"serzo_123\",\n shipping_profile_id: \"sp_123\",\n provider_id: \"dhl\",\n type: {\n label: \"Express\",\n description: \"Ship in 24 hours\",\n code: \"express\",\n },\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2973, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 2651, + "name": "CreateShippingOptionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2974, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2975, + "name": "updateShippingOptions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2976, + "name": "updateShippingOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing shipping option." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated shipping option." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingOption =\n await fulfillmentModuleService.updateShippingOptions(\n \"so_123\",\n {\n name: \"Express shipping\",\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2977, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2978, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the shipping option." + } + ] + }, + "type": { + "type": "reference", + "target": 2660, + "name": "UpdateShippingOptionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2979, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 2980, + "name": "updateShippingOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing shipping options matching the specified filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated shipping options." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingOptions =\n await fulfillmentModuleService.updateShippingOptions(\n {\n id: [\"so_123\", \"so_321\"],\n },\n {\n name: \"Express Shipping\",\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2981, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters specifying which shipping options to update." + } + ] + }, + "type": { + "type": "reference", + "target": 2390, + "name": "FilterableShippingOptionProps", + "package": "@medusajs/types" + } + }, + { + "id": 2982, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the shipping option." + } + ] + }, + "type": { + "type": "reference", + "target": 2660, + "name": "UpdateShippingOptionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2983, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2984, + "name": "upsertShippingOptions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2985, + "name": "upsertShippingOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates or creates a shipping option if it doesn't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created or updated shipping option." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingOptions =\n await fulfillmentModuleService.upsertShippingOptions({\n id: \"so_123\",\n name: \"Express Shipping\",\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2986, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the shipping option to be created or updated." + } + ] + }, + "type": { + "type": "reference", + "target": 2674, + "name": "UpsertShippingOptionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 2987, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 2988, + "name": "upsertShippingOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates or creates shipping options if they don't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created or updated shipping options." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingOptions =\n await fulfillmentModuleService.upsertShippingOptions([\n {\n id: \"so_123\",\n name: \"Express Shipping\",\n },\n {\n name: \"Express Shipping\",\n price_type: \"flat\",\n service_zone_id: \"serzo_123\",\n shipping_profile_id: \"sp_123\",\n provider_id: \"webshipper\",\n type: {\n label: \"Express\",\n description: \"express shipping\",\n code: \"express\",\n },\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2989, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the shipping options to be created or updated." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2674, + "name": "UpsertShippingOptionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 2990, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2371, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2991, + "name": "deleteShippingOptions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2992, + "name": "deleteShippingOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes shipping options by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the shipping options are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.deleteShippingOptions([\n \"so_123\",\n \"so_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2993, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the shipping options." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 2994, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 2995, + "name": "deleteShippingOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a shipping option by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the shipping option is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.deleteShippingOptions(\"so_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 2996, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 2997, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 2998, + "name": "softDeleteShippingOptions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 2999, + "name": "softDeleteShippingOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes shipping option by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted.\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.softDeleteShippingOptions([\n \"so_123\",\n \"so_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 3000, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 3001, + "name": "shippingOptionIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the shipping options." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 3002, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 3000, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 3003, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3004, + "name": "restoreShippingOptions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3005, + "name": "restoreShippingOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores soft deleted shipping options by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored.\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.restoreShippingOptions([\n \"so_123\",\n \"so_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 3006, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 3007, + "name": "shippingOptionIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The list of {summary}" + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 3008, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the shipping options. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the shipping option's relation attribute names." + } + ] + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 3006, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 3009, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3010, + "name": "retrieveShippingProfile", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3011, + "name": "retrieveShippingProfile", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a shipping profile by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved shipping profile." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a shipping profile by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingProfile =\n await fulfillmentModuleService.retrieveShippingProfile(\n \"sp_123\"\n )\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingProfile =\n await fulfillmentModuleService.retrieveShippingProfile(\n \"sp_123\",\n {\n relations: [\"options\"],\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3012, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping profile." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3013, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the shipping profile is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a shipping profile." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2335, + "name": "ShippingProfileDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 3014, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2335, + "name": "ShippingProfileDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3015, + "name": "listShippingProfiles", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3016, + "name": "listShippingProfiles", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of shipping profiles based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of shipping profiles." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of shipping profiles using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingProfiles =\n await fulfillmentModuleService.listShippingProfiles({\n id: [\"sp_123\", \"sp_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the shipping profile:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingProfiles =\n await fulfillmentModuleService.listShippingProfiles(\n {\n id: [\"sp_123\", \"sp_321\"],\n },\n {\n relations: [\"shipping_options\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingProfiles =\n await fulfillmentModuleService.listShippingProfiles(\n {\n id: [\"sp_123\", \"sp_321\"],\n },\n {\n relations: [\"shipping_options\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3017, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping profiles." + } + ] + }, + "type": { + "type": "reference", + "target": 2344, + "name": "FilterableShippingProfileProps", + "package": "@medusajs/types" + } + }, + { + "id": 3018, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the shipping profile is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a shipping profile." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2335, + "name": "ShippingProfileDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 3019, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2335, + "name": "ShippingProfileDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3020, + "name": "listAndCountShippingProfiles", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3021, + "name": "listAndCountShippingProfiles", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of shipping profiles along with the total count of available shipping profiles satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of shipping profiles along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of shipping profiles using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [shippingProfiles, count] =\n await fulfillmentModuleService.listAndCountShippingProfiles(\n {\n id: [\"sp_123\", \"sp_321\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the shipping profile:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [shippingProfiles, count] =\n await fulfillmentModuleService.listAndCountShippingProfiles(\n {\n id: [\"sp_123\", \"sp_321\"],\n },\n {\n relations: [\"shipping_options\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [shippingProfiles, count] =\n await fulfillmentModuleService.listAndCountShippingProfiles(\n {\n id: [\"sp_123\", \"sp_321\"],\n },\n {\n relations: [\"shipping_options\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3022, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping profiles." + } + ] + }, + "type": { + "type": "reference", + "target": 2344, + "name": "FilterableShippingProfileProps", + "package": "@medusajs/types" + } + }, + { + "id": 3023, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the shipping profile is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a shipping profile." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2335, + "name": "ShippingProfileDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 3024, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2335, + "name": "ShippingProfileDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3025, + "name": "createShippingProfiles", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3026, + "name": "createShippingProfiles", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates shipping profiles." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created shipping profiles." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingProfiles =\n await fulfillmentModuleService.createShippingProfiles([\n {\n name: \"Default\",\n },\n {\n name: \"Digital\",\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3027, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping profiles to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2541, + "name": "CreateShippingProfileDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 3028, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2335, + "name": "ShippingProfileDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 3029, + "name": "createShippingProfiles", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a shipping profile." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created shipping profile." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingProfile =\n await fulfillmentModuleService.createShippingProfiles({\n name: \"Default\",\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3030, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping profile to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 2541, + "name": "CreateShippingProfileDTO", + "package": "@medusajs/types" + } + }, + { + "id": 3031, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2335, + "name": "ShippingProfileDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3032, + "name": "updateShippingProfiles", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3033, + "name": "updateShippingProfiles", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing shipping profiles." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated shipping profiles." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingProfiles =\n await fulfillmentModuleService.updateShippingProfiles([\n {\n id: \"sp_123\",\n name: \"Default\",\n },\n {\n id: \"sp_321\",\n name: \"Digital\",\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3034, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping profiles to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2545, + "name": "UpdateShippingProfileDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 3035, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2335, + "name": "ShippingProfileDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 3036, + "name": "updateShippingProfiles", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing shipping profiles." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated shipping profiles." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingProfiles =\n await fulfillmentModuleService.updateShippingProfiles({\n id: \"sp_123\",\n name: \"Default\",\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3037, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping profile to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 2545, + "name": "UpdateShippingProfileDTO", + "package": "@medusajs/types" + } + }, + { + "id": 3038, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2335, + "name": "ShippingProfileDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3039, + "name": "deleteShippingProfiles", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3040, + "name": "deleteShippingProfiles", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes shipping profiles by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the shipping profiles are deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.deleteShippingProfiles([\n \"sp_123\",\n \"sp_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3041, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the shipping profiles." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 3042, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 3043, + "name": "deleteShippingProfiles", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a shipping profile by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the shipping profile is deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.deleteShippingProfiles(\n \"sp_123\"\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3044, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping profile." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3045, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3046, + "name": "softDeleteShippingProfiles", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3047, + "name": "softDeleteShippingProfiles", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes shipping profiles by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted.\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.softDeleteShippingProfiles([\n \"sp_123\",\n \"sp_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 3048, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 3049, + "name": "shippingProfileIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the shipping profiles." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 3050, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 3048, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 3051, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3052, + "name": "restoreShippingProfiles", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3053, + "name": "restoreShippingProfiles", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores soft deleted shipping profiles by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored.\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.restoreShippingProfiles([\n \"sp_123\",\n \"sp_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 3054, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 3055, + "name": "shippingProfileIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the shipping profiles." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 3056, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the shipping profiles. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the shipping profile's relation attribute names, such as " + }, + { + "kind": "code", + "text": "`{type relation name}`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 3054, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 3057, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3058, + "name": "retrieveShippingOptionRule", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3059, + "name": "retrieveShippingOptionRule", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a shipping option rule by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved shipping option rule." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a shipping option rule by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingOptionRule =\n await fulfillmentModuleService.retrieveShippingOptionRule(\n \"sorul_123\"\n )\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingOptionRule =\n await fulfillmentModuleService.retrieveShippingOptionRule(\n \"sorul_123\",\n {\n relations: [\"shipping_option\"],\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3060, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3061, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the shipping option rule is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a shipping option rule." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2351, + "name": "ShippingOptionRuleDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 3062, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2351, + "name": "ShippingOptionRuleDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3063, + "name": "listShippingOptionRules", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3064, + "name": "listShippingOptionRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of shipping option rules based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of shipping option rules." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of shipping option rules using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingOptionRules =\n await fulfillmentModuleService.listShippingOptionRules({\n id: [\"sorul_123\", \"sorul_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the shipping option rule:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingOptionRules =\n await fulfillmentModuleService.listShippingOptionRules(\n {\n id: [\"sorul_123\", \"sorul_321\"],\n },\n {\n relations: [\"shipping_option\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingOptionRules =\n await fulfillmentModuleService.listShippingOptionRules(\n {\n id: [\"sorul_123\", \"sorul_321\"],\n },\n {\n relations: [\"shipping_option\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3065, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping option rules." + } + ] + }, + "type": { + "type": "reference", + "target": 2363, + "name": "FilterableShippingOptionRuleProps", + "package": "@medusajs/types" + } + }, + { + "id": 3066, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the shipping option rule is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a shipping option rule." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2351, + "name": "ShippingOptionRuleDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 3067, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2351, + "name": "ShippingOptionRuleDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3068, + "name": "listAndCountShippingOptionRules", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3069, + "name": "listAndCountShippingOptionRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of shipping option rules along with the total count of available shipping option rules satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of shipping option rules along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of shipping option rules using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [shippingOptionRules, count] =\n await fulfillmentModuleService.listAndCountShippingOptionRules(\n {\n id: [\"sorul_123\", \"sorul_321\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the shipping option rule:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [shippingOptionRules, count] =\n await fulfillmentModuleService.listAndCountShippingOptionRules(\n {\n id: [\"sorul_123\", \"sorul_321\"],\n },\n {\n relations: [\"shipping_option\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [shippingOptionRules, count] =\n await fulfillmentModuleService.listAndCountShippingOptionRules(\n {\n id: [\"sorul_123\", \"sorul_321\"],\n },\n {\n relations: [\"shipping_option\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3070, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping option rules." + } + ] + }, + "type": { + "type": "reference", + "target": 2363, + "name": "FilterableShippingOptionRuleProps", + "package": "@medusajs/types" + } + }, + { + "id": 3071, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the shipping option rule is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a shipping option rule." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2351, + "name": "ShippingOptionRuleDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 3072, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2351, + "name": "ShippingOptionRuleDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3073, + "name": "createShippingOptionRules", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3074, + "name": "createShippingOptionRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates shipping option rules." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created shipping option rules." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingOptionRules =\n await fulfillmentModuleService.createShippingOptionRules([\n {\n attribute: \"customer_group\",\n operator: \"in\",\n value: \"cg_vipgroup\",\n shipping_option_id: \"so_123\",\n },\n {\n attribute: \"total_weight\",\n operator: \"lt\",\n value: \"2000\",\n shipping_option_id: \"so_321\",\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3075, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option rules to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2560, + "name": "CreateShippingOptionRuleDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 3076, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2351, + "name": "ShippingOptionRuleDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 3077, + "name": "createShippingOptionRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a shipping option rule." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created shipping option rule." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingOptionRule =\n await fulfillmentModuleService.createShippingOptionRules({\n attribute: \"customer_group\",\n operator: \"in\",\n value: \"cg_vipgroup\",\n shipping_option_id: \"so_123\",\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3078, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option rule to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 2560, + "name": "CreateShippingOptionRuleDTO", + "package": "@medusajs/types" + } + }, + { + "id": 3079, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2351, + "name": "ShippingOptionRuleDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3080, + "name": "updateShippingOptionRules", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3081, + "name": "updateShippingOptionRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing shipping option rules." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated shipping option rules." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingOptionRules =\n await fulfillmentModuleService.updateShippingOptionRules([\n {\n id: \"sorul_123\",\n operator: \"in\",\n },\n {\n id: \"sorul_321\",\n attribute: \"customer_group\",\n value: \"cp_vipgroup\",\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3082, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the shipping option rules." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2565, + "name": "UpdateShippingOptionRuleDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 3083, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2351, + "name": "ShippingOptionRuleDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 3084, + "name": "updateShippingOptionRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing shipping option rule." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated shipping option rule." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst shippingOptionRule =\n await fulfillmentModuleService.updateShippingOptionRules({\n id: \"sorul_123\",\n operator: \"in\",\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3085, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the shipping option rule." + } + ] + }, + "type": { + "type": "reference", + "target": 2565, + "name": "UpdateShippingOptionRuleDTO", + "package": "@medusajs/types" + } + }, + { + "id": 3086, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2351, + "name": "ShippingOptionRuleDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3087, + "name": "deleteShippingOptionRules", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3088, + "name": "deleteShippingOptionRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes shipping option rules by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the shipping option rules are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.deleteShippingOptionRules([\n \"sorul_123\",\n \"sorul_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3089, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the shipping option rules." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 3090, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 3091, + "name": "deleteShippingOptionRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a shipping option by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the shipping option is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.deleteShippingOptionRules(\n \"sorul_123\"\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3092, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3093, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3094, + "name": "retrieveShippingOptionType", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3095, + "name": "retrieveShippingOptionType", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a shipping option type by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved shipping option type." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a shipping option type by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingOptionType =\n await fulfillmentModuleService.retrieveShippingOptionType(\n \"sotype_123\"\n )\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingOptionType =\n await fulfillmentModuleService.retrieveShippingOptionType(\n \"sotype_123\",\n {\n relations: [\"shipping_option\"],\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3096, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3097, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the shipping option type is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a shipping option type." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2419, + "name": "ShippingOptionTypeDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 3098, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2419, + "name": "ShippingOptionTypeDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3099, + "name": "listShippingOptionTypes", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3100, + "name": "listShippingOptionTypes", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of shipping option types based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of shipping option types." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of shipping option types using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingOptionTypes =\n await fulfillmentModuleService.listShippingOptionTypes({\n id: [\"sotype_123\", \"sotype_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the shipping option type:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingOptionTypes =\n await fulfillmentModuleService.listShippingOptionTypes(\n {\n id: [\"sotype_123\", \"sotype_321\"],\n },\n {\n relations: [\"shipping_option\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst shippingOptionTypes =\n await fulfillmentModuleService.listShippingOptionTypes(\n {\n id: [\"sotype_123\", \"sotype_321\"],\n },\n {\n relations: [\"shipping_option\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3101, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping option types." + } + ] + }, + "type": { + "type": "reference", + "target": 2429, + "name": "FilterableShippingOptionTypeProps", + "package": "@medusajs/types" + } + }, + { + "id": 3102, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the shipping option type is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a shipping option type." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2419, + "name": "ShippingOptionTypeDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 3103, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2419, + "name": "ShippingOptionTypeDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3104, + "name": "listAndCountShippingOptionTypes", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3105, + "name": "listAndCountShippingOptionTypes", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of shipping option types along with the total count of available shipping option types satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of shipping option types along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of shipping option types using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [shippingOptionTypes, count] =\n await fulfillmentModuleService.listAndCountShippingOptionTypes(\n {\n id: [\"sotype_123\", \"sotype_321\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the shipping option type:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [shippingOptionTypes, count] =\n await fulfillmentModuleService.listAndCountShippingOptionTypes(\n {\n id: [\"sotype_123\", \"sotype_321\"],\n },\n {\n relations: [\"shipping_option\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [shippingOptionTypes, count] =\n await fulfillmentModuleService.listAndCountShippingOptionTypes(\n {\n id: [\"sotype_123\", \"sotype_321\"],\n },\n {\n relations: [\"shipping_option\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3106, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved shipping option types." + } + ] + }, + "type": { + "type": "reference", + "target": 2429, + "name": "FilterableShippingOptionTypeProps", + "package": "@medusajs/types" + } + }, + { + "id": 3107, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the shipping option type is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a shipping option type." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2419, + "name": "ShippingOptionTypeDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 3108, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2419, + "name": "ShippingOptionTypeDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3109, + "name": "deleteShippingOptionTypes", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3110, + "name": "deleteShippingOptionTypes", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes shipping option types by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the shipping option types are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.deleteShippingOptionTypes([\n \"sotype_123\",\n \"sotype_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3111, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the shipping option types." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 3112, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 3113, + "name": "deleteShippingOptionTypes", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a shipping option type by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the shipping option type is deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait fulfillmentModuleService.deleteShippingOptionTypes(\n \"sotype_123\"\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3114, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3115, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3116, + "name": "retrieveFulfillment", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3117, + "name": "retrieveFulfillment", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a fulfillment by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved fulfillment." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a fulfillment by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst fulfillment =\n await fulfillmentModuleService.retrieveFulfillment(\n \"ful_123\"\n )\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst fulfillment =\n await fulfillmentModuleService.retrieveFulfillment(\n \"ful_123\",\n {\n relations: [\"shipping_option\"],\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3118, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3119, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the fulfillment is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a fulfillment." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2486, + "name": "FulfillmentDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 3120, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2486, + "name": "FulfillmentDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3121, + "name": "listFulfillments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3122, + "name": "listFulfillments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of fulfillments based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of fulfillments." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of fulfillments using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst fulfillments =\n await fulfillmentModuleService.listFulfillments({\n id: [\"ful_123\", \"ful_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the fulfillment:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst fulfillments =\n await fulfillmentModuleService.listFulfillments(\n {\n id: [\"ful_123\", \"ful_321\"],\n },\n {\n relations: [\"shipping_option\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst fulfillments =\n await fulfillmentModuleService.listFulfillments(\n {\n id: [\"ful_123\", \"ful_321\"],\n },\n {\n relations: [\"shipping_option\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3123, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved fulfillments." + } + ] + }, + "type": { + "type": "reference", + "target": 2505, + "name": "FilterableFulfillmentProps", + "package": "@medusajs/types" + } + }, + { + "id": 3124, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the fulfillment is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a fulfillment." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2486, + "name": "FulfillmentDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 3125, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2486, + "name": "FulfillmentDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3126, + "name": "listAndCountFulfillments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3127, + "name": "listAndCountFulfillments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of fulfillments along with the total count of available fulfillments satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of fulfillments along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of fulfillments using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [fulfillments, count] =\n await fulfillmentModuleService.listAndCountFulfillments(\n {\n id: [\"ful_123\", \"ful_321\"],\n },\n {\n relations: [\"shipping_option\"],\n take: 20,\n skip: 2,\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the fulfillment:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [fulfillments, count] =\n await fulfillmentModuleService.listAndCountFulfillments(\n {\n id: [\"ful_123\", \"ful_321\"],\n },\n {\n relations: [\"shipping_option\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [fulfillments, count] =\n await fulfillmentModuleService.listAndCountFulfillments({\n id: [\"ful_123\", \"ful_321\"],\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3128, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved fulfillment sets." + } + ] + }, + "type": { + "type": "reference", + "target": 2505, + "name": "FilterableFulfillmentProps", + "package": "@medusajs/types" + } + }, + { + "id": 3129, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the fulfillment is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a fulfillment." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2486, + "name": "FulfillmentDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 3130, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2486, + "name": "FulfillmentDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3131, + "name": "createFulfillment", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3132, + "name": "createFulfillment", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a fulfillment." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created fulfillment." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst fulfillment =\n await fulfillmentModuleService.createFulfillment({\n location_id: \"loc_123\",\n provider_id: \"webshipper\",\n delivery_address: {\n address_1: \"4120 Auto Park Cir\",\n country_code: \"us\",\n },\n items: [\n {\n title: \"Shirt\",\n sku: \"SHIRT\",\n quantity: 1,\n barcode: \"ABCED\",\n },\n ],\n labels: [\n {\n tracking_number: \"1234567\",\n tracking_url: \"https://example.com/tracking\",\n label_url: \"https://example.com/label\",\n },\n ],\n order: {},\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3133, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 2700, + "name": "CreateFulfillmentDTO", + "package": "@medusajs/types" + } + }, + { + "id": 3134, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2486, + "name": "FulfillmentDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3135, + "name": "updateFulfillment", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3136, + "name": "updateFulfillment", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing fulfillment." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated fulfillment." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst fulfillment =\n await fulfillmentModuleService.updateFulfillment(\n \"ful_123\",\n {\n location_id: \"loc_123\",\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3137, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3138, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the fulfillment." + } + ] + }, + "type": { + "type": "reference", + "target": 2714, + "name": "UpdateFulfillmentDTO", + "package": "@medusajs/types" + } + }, + { + "id": 3139, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2486, + "name": "FulfillmentDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3140, + "name": "cancelFulfillment", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3141, + "name": "cancelFulfillment", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method cancels a fulfillment." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "cancels a fulfillment." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst fulfillment =\n await fulfillmentModuleService.cancelFulfillment(\"ful_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3142, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3143, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2486, + "name": "FulfillmentDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3144, + "name": "retrieveFulfillmentOptions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3145, + "name": "retrieveFulfillmentOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves the fulfillment options of a fulfillment provider." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The fulfillment provider's options." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst fulfillment =\n await fulfillmentModuleService.retrieveFulfillmentOptions(\n \"ful_123\"\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3146, + "name": "providerId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment provider's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3147, + "name": "validateFulfillmentOption", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3148, + "name": "validateFulfillmentOption", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method validates a fulfillment option with the provider it belongs to." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Whether the fulfillment option is valid with the specified provider." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst isValid =\n await fulfillmentModuleService.validateFulfillmentOption(\n \"webshipper\",\n {\n code: \"express\",\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3149, + "name": "providerId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment provider's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3150, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment option to validate." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3151, + "name": "validateShippingOption", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3152, + "name": "validateShippingOption", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method checks whether a shipping option can be used for a specified context." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Whether the shipping option is valid for the specified context." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst isValid =\n await fulfillmentModuleService.validateShippingOption(\n \"so_123\",\n {\n customer_group: \"cg_vipgroup\",\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3153, + "name": "shippingOptionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3154, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The context to check." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3155, + "name": "listFulfillmentProviders", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3156, + "name": "listFulfillmentProviders", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of fulfillment providers based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of fulfillment providers." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of fulfillment providers using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst providers = await fulfillmentModuleService.listFulfillmentProviders({\n id: [\"sepro_123\", \"sepro_321\"],\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 3157, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved fulfillment providers." + } + ] + }, + "type": { + "type": "reference", + "target": 2482, + "name": "FilterableFulfillmentProviderProps", + "package": "@medusajs/types" + } + }, + { + "id": 3158, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the fulfillment provider is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a fulfillment provider." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 2474, + "name": "FulfillmentProviderDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 3159, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2474, + "name": "FulfillmentProviderDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 2795, + 2800, + 2805, + 2810, + 2817, + 2824, + 2831, + 2837, + 2843, + 2848, + 2853, + 2858, + 2865, + 2874, + 2881, + 2888, + 2894, + 2900, + 2905, + 2910, + 2915, + 2922, + 2929, + 2936, + 2942, + 2948, + 2953, + 2958, + 2963, + 2968, + 2975, + 2984, + 2991, + 2998, + 3004, + 3010, + 3015, + 3020, + 3025, + 3032, + 3039, + 3046, + 3052, + 3058, + 3063, + 3068, + 3073, + 3080, + 3087, + 3094, + 3099, + 3104, + 3109, + 3116, + 3121, + 3126, + 3131, + 3135, + 3140, + 3144, + 3147, + 3151, + 3155 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3404, + "name": "IModuleService", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3173, + "name": "AddFulfillmentShippingOptionRulesWorkflowDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3174, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3175, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2560, + "name": "CreateShippingOptionRuleDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3175 + ] + } + ] + } + } + }, + { + "id": 3176, + "name": "RemoveFulfillmentShippingOptionRulesWorkflowDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3177, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3178, + "name": "ids", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3178 + ] + } + ] + } + } + }, + { + "id": 3179, + "name": "UpdateFulfillmentShippingOptionRulesWorkflowDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3180, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3181, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 2565, + "name": "UpdateShippingOptionRuleDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3181 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 2302, + 2518, + 2531, + 2474, + 2482, + 2319, + 2328, + 2486, + 2505, + 2455, + 2466, + 2436, + 2446, + 2351, + 2363, + 2419, + 2429, + 2371, + 2390, + 2400, + 2335, + 2344, + 2722, + 2740, + 2735, + 2688, + 2692, + 2699, + 2700, + 2714, + 2571, + 2576, + 2582, + 2589, + 2598, + 2604, + 2610, + 2617, + 2625, + 2635, + 2639, + 2645, + 2560, + 2565, + 2549, + 2554, + 2651, + 2660, + 2674, + 2541, + 2545, + 2748, + 2794 + ] + }, + { + "title": "Type Aliases", + "children": [ + 2454, + 2370, + 2597, + 2634, + 3173, + 3176, + 3179 + ] + } + ] + }, + { + "id": 8000, + "name": "CreateGeoZoneBaseDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The geo zone to be created." + } + ] + }, + "children": [ + { + "id": 8001, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the geo zone." + } + ] + }, + "type": { + "type": "reference", + "target": 2454, + "name": "GeoZoneType", + "package": "@medusajs/types" + } + }, + { + "id": 8002, + "name": "service_zone_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8003, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 2 character country code of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8004, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8001, + 8002, + 8003, + 8004 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 2571, + "name": "CreateCountryGeoZoneDTO" + }, + { + "type": "reference", + "target": 2576, + "name": "CreateProvinceGeoZoneDTO" + }, + { + "type": "reference", + "target": 2582, + "name": "CreateCityGeoZoneDTO" + }, + { + "type": "reference", + "target": 2589, + "name": "CreateZipGeoZoneDTO" + } + ] + }, + { + "id": 8061, + "name": "ApiKeyResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 8062, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8063, + "name": "token", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8064, + "name": "redacted", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8065, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8066, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 16, + "name": "ApiKeyType", + "package": "@medusajs/types" + } + }, + { + "id": 8067, + "name": "last_used_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 8068, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8069, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 8070, + "name": "revoked_by", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8071, + "name": "revoked_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8062, + 8063, + 8064, + 8065, + 8066, + 8067, + 8068, + 8069, + 8070, + 8071 + ] + } + ] + }, + { + "id": 8112, + "name": "DeleteResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fields returned in the response of a DELETE request." + } + ] + }, + "typeParameters": [ + { + "id": 8117, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 8113, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 8114, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the item that was deleted." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8115, + "name": "object", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the item that was deleted." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8116, + "name": "deleted", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the item was deleted successfully." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8114, + 8115, + 8116 + ] + } + ] + } + }, + "extendedBy": [ + { + "type": "reference", + "target": 6493, + "name": "AdminShippingOptionDeleteResponse" + } + ] + }, + { + "id": 8072, + "name": "PaginatedResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 8073, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8074, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8075, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8073, + 8074, + 8075 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 6335, + "name": "AdminCampaignListResponse" + }, + { + "type": "reference", + "target": 6488, + "name": "AdminShippingOptionListResponse" + }, + { + "type": "reference", + "target": 6597, + "name": "AdminOrderListResponse" + }, + { + "type": "reference", + "target": 6647, + "name": "AdminSalesChannelListResponse" + } + ] + }, + { + "id": 8076, + "name": "CustomerResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 8077, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8078, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8079, + "name": "default_billing_address_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8080, + "name": "default_shipping_address_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8081, + "name": "company_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8082, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8083, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8084, + "name": "has_account", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8085, + "name": "addresses", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6349, + "name": "CustomerAddressResponse", + "package": "@medusajs/types" + } + } + }, + { + "id": 8086, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8087, + "name": "groups", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6342, + "name": "CustomerGroupResponse", + "package": "@medusajs/types" + } + } + }, + { + "id": 8088, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 8089, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8090, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 8091, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 8092, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8077, + 8078, + 8079, + 8080, + 8081, + 8082, + 8083, + 8084, + 8085, + 8086, + 8087, + 8088, + 8089, + 8090, + 8091, + 8092 + ] + } + ] + }, + { + "id": 8093, + "name": "AdminShippingOptionResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 8094, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8095, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8096, + "name": "price_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 2370, + "name": "ShippingOptionPriceType", + "package": "@medusajs/types" + } + }, + { + "id": 8097, + "name": "service_zone_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8098, + "name": "shipping_profile_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8099, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8100, + "name": "shipping_option_type_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8101, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 8102, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 8103, + "name": "service_zone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 6471, + "name": "AdminServiceZoneResponse", + "package": "@medusajs/types" + } + }, + { + "id": 8104, + "name": "shipping_profile", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 6525, + "name": "AdminShippingProfileResponse", + "package": "@medusajs/types" + } + }, + { + "id": 8105, + "name": "provider", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 6436, + "name": "AdminFulfillmentProviderResponse", + "package": "@medusajs/types" + } + }, + { + "id": 8106, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 6508, + "name": "AdminShippingOptionTypeResponse", + "package": "@medusajs/types" + } + }, + { + "id": 8107, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6497, + "name": "AdminShippingOptionRuleResponse", + "package": "@medusajs/types" + } + } + }, + { + "id": 8108, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/http/pricing/price.ts", + "qualifiedName": "AdminPriceSetPriceResponse" + }, + "name": "AdminPriceSetPriceResponse", + "package": "@medusajs/types" + } + } + }, + { + "id": 8109, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 8110, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 8111, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8094, + 8095, + 8096, + 8097, + 8098, + 8099, + 8100, + 8101, + 8102, + 8103, + 8104, + 8105, + 8106, + 8107, + 8108, + 8109, + 8110, + 8111 + ] + } + ] + }, + { + "id": 6313, + "name": "HttpTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 6314, + "name": "AdminApiKeyResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6315, + "name": "api_key", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 8061, + "name": "ApiKeyResponse", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6315 + ] + } + ] + }, + { + "id": 6316, + "name": "AdminApiKeyListResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6318, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The limit applied on the retrieved items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1433, + "name": "PaginatedResponse.limit" + } + }, + { + "id": 6319, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of items skipped before retrieving the list of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1434, + "name": "PaginatedResponse.offset" + } + }, + { + "id": 6320, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total count of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1435, + "name": "PaginatedResponse.count" + } + }, + { + "id": 6317, + "name": "api_keys", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8061, + "name": "ApiKeyResponse", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6318, + 6319, + 6320, + 6317 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1432, + "name": "PaginatedResponse", + "package": "@medusajs/types" + } + ] + }, + { + "id": 6321, + "name": "CampaignResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6322, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6323, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6324, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6325, + "name": "currency", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6326, + "name": "campaign_identifier", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6327, + "name": "starts_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6328, + "name": "ends_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6329, + "name": "budget", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 6330, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6331, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6332, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6333, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 6334, + "name": "used", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6331, + 6332, + 6333, + 6334 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6322, + 6323, + 6324, + 6325, + 6326, + 6327, + 6328, + 6329 + ] + } + ] + }, + { + "id": 6335, + "name": "AdminCampaignListResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6336, + "name": "campaigns", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6321, + "name": "CampaignResponse", + "package": "@medusajs/types" + } + } + }, + { + "id": 6337, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 8073, + "name": "PaginatedResponse.limit" + } + }, + { + "id": 6338, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 8074, + "name": "PaginatedResponse.offset" + } + }, + { + "id": 6339, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 8075, + "name": "PaginatedResponse.count" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6336, + 6337, + 6338, + 6339 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 8072, + "name": "PaginatedResponse", + "package": "@medusajs/types" + } + ] + }, + { + "id": 6340, + "name": "AdminCampaignResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6341, + "name": "campaign", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 6321, + "name": "CampaignResponse", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6341 + ] + } + ] + }, + { + "id": 6342, + "name": "CustomerGroupResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6343, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6344, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6345, + "name": "customers", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8076, + "name": "CustomerResponse", + "package": "@medusajs/types" + } + } + }, + { + "id": 6346, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 6347, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6348, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6343, + 6344, + 6345, + 6346, + 6347, + 6348 + ] + } + ] + }, + { + "id": 6349, + "name": "CustomerAddressResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6350, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6351, + "name": "address_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6352, + "name": "is_default_shipping", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6353, + "name": "is_default_billing", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6354, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6355, + "name": "company", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6356, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6357, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6358, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6359, + "name": "address_2", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6360, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6361, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6362, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6363, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6364, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6365, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 6366, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6367, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6350, + 6351, + 6352, + 6353, + 6354, + 6355, + 6356, + 6357, + 6358, + 6359, + 6360, + 6361, + 6362, + 6363, + 6364, + 6365, + 6366, + 6367 + ] + } + ] + }, + { + "id": 6368, + "name": "AdminCustomerResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6369, + "name": "customer", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 8076, + "name": "CustomerResponse", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6369 + ] + } + ] + }, + { + "id": 6370, + "name": "AdminCustomerListResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6372, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The limit applied on the retrieved items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1433, + "name": "PaginatedResponse.limit" + } + }, + { + "id": 6373, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of items skipped before retrieving the list of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1434, + "name": "PaginatedResponse.offset" + } + }, + { + "id": 6374, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total count of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1435, + "name": "PaginatedResponse.count" + } + }, + { + "id": 6371, + "name": "customers", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8076, + "name": "CustomerResponse", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6372, + 6373, + 6374, + 6371 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1432, + "name": "PaginatedResponse", + "package": "@medusajs/types" + } + ] + }, + { + "id": 6375, + "name": "AdminCustomerGroupResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6376, + "name": "customer_group", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 6342, + "name": "CustomerGroupResponse", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6376 + ] + } + ] + }, + { + "id": 6377, + "name": "AdminCustomerGroupListResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6379, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The limit applied on the retrieved items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1433, + "name": "PaginatedResponse.limit" + } + }, + { + "id": 6380, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of items skipped before retrieving the list of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1434, + "name": "PaginatedResponse.offset" + } + }, + { + "id": 6381, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total count of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1435, + "name": "PaginatedResponse.count" + } + }, + { + "id": 6378, + "name": "customer_groups", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6342, + "name": "CustomerGroupResponse", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6379, + 6380, + 6381, + 6378 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1432, + "name": "PaginatedResponse", + "package": "@medusajs/types" + } + ] + }, + { + "id": 6443, + "name": "AdminFulfillmentAddressResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6444, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6445, + "name": "fulfillment_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6446, + "name": "company", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6447, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6448, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6449, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6450, + "name": "address_2", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6451, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6452, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6453, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6454, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6455, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6456, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 6457, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6458, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6459, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6444, + 6445, + 6446, + 6447, + 6448, + 6449, + 6450, + 6451, + 6452, + 6453, + 6454, + 6455, + 6456, + 6457, + 6458, + 6459 + ] + } + ] + }, + { + "id": 6404, + "name": "AdminFulfillmentItemResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6405, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6406, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6407, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6408, + "name": "sku", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6409, + "name": "barcode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6410, + "name": "line_item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6411, + "name": "inventory_item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6412, + "name": "fulfillment_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6413, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6414, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6415, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6405, + 6406, + 6407, + 6408, + 6409, + 6410, + 6411, + 6412, + 6413, + 6414, + 6415 + ] + } + ] + }, + { + "id": 6427, + "name": "AdminFulfillmentLabelResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6428, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6429, + "name": "tracking_number", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6430, + "name": "tracking_url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6431, + "name": "label_url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6432, + "name": "fulfillment_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6433, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6434, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6435, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6428, + 6429, + 6430, + 6431, + 6432, + 6433, + 6434, + 6435 + ] + } + ] + }, + { + "id": 6436, + "name": "AdminFulfillmentProviderResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6437, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6438, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6439, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 6440, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6441, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6442, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6437, + 6438, + 6439, + 6440, + 6441, + 6442 + ] + } + ] + }, + { + "id": 6416, + "name": "FulfillmentSetResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6417, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6418, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6419, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6420, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 6421, + "name": "service_zones", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6478, + "name": "ServiceZoneResponse", + "package": "@medusajs/types" + } + } + }, + { + "id": 6422, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6423, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6424, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6417, + 6418, + 6419, + 6420, + 6421, + 6422, + 6423, + 6424 + ] + } + ] + }, + { + "id": 6425, + "name": "AdminFulfillmentSetResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6426, + "name": "fulfillment_set", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 6416, + "name": "FulfillmentSetResponse", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6426 + ] + } + ] + }, + { + "id": 6382, + "name": "AdminFulfillmentResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6383, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6384, + "name": "location_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6385, + "name": "packed_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6386, + "name": "shipped_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6387, + "name": "delivered_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6388, + "name": "canceled_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6389, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 6390, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6391, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6392, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 6393, + "name": "provider", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 6436, + "name": "AdminFulfillmentProviderResponse", + "package": "@medusajs/types" + } + }, + { + "id": 6394, + "name": "delivery_address", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 6443, + "name": "AdminFulfillmentAddressResponse", + "package": "@medusajs/types" + } + }, + { + "id": 6395, + "name": "items", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6404, + "name": "AdminFulfillmentItemResponse", + "package": "@medusajs/types" + } + } + }, + { + "id": 6396, + "name": "labels", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6427, + "name": "AdminFulfillmentLabelResponse", + "package": "@medusajs/types" + } + } + }, + { + "id": 6397, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6398, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6399, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6383, + 6384, + 6385, + 6386, + 6387, + 6388, + 6389, + 6390, + 6391, + 6392, + 6393, + 6394, + 6395, + 6396, + 6397, + 6398, + 6399 + ] + } + ] + }, + { + "id": 6400, + "name": "AdminFulfillmentSetsDeleteResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6401, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the item that was deleted." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "DeleteResponse.id" + } + }, + { + "id": 6402, + "name": "object", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the item that was deleted." + } + ] + }, + "type": { + "type": "literal", + "value": "fulfillment_set" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "DeleteResponse.object" + } + }, + { + "id": 6403, + "name": "deleted", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the item was deleted successfully." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "DeleteResponse.deleted" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6401, + 6402, + 6403 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1437, + "typeArguments": [ + { + "type": "literal", + "value": "fulfillment_set" + } + ], + "name": "DeleteResponse", + "package": "@medusajs/types" + } + ] + }, + { + "id": 6460, + "name": "AdminGeoZoneResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6461, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6462, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 2454, + "name": "GeoZoneType", + "package": "@medusajs/types" + } + }, + { + "id": 6463, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6464, + "name": "province_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6465, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6466, + "name": "postal_expression", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 6467, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 6468, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6469, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6470, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6461, + 6462, + 6463, + 6464, + 6465, + 6466, + 6467, + 6468, + 6469, + 6470 + ] + } + ] + }, + { + "id": 6471, + "name": "AdminServiceZoneResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6472, + "name": "service_zone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 6478, + "name": "ServiceZoneResponse", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6472 + ] + } + ] + }, + { + "id": 6473, + "name": "AdminServiceZoneDeleteResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6474, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6475, + "name": "object", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "literal", + "value": "service-zone" + } + }, + { + "id": 6476, + "name": "deleted", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6477, + "name": "parent", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 6416, + "name": "FulfillmentSetResponse", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6474, + 6475, + 6476, + 6477 + ] + } + ] + }, + { + "id": 6478, + "name": "ServiceZoneResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6479, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6480, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6481, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 6482, + "name": "geo_zones", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6460, + "name": "AdminGeoZoneResponse", + "package": "@medusajs/types" + } + } + }, + { + "id": 6483, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6484, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6485, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6479, + 6480, + 6481, + 6482, + 6483, + 6484, + 6485 + ] + } + ] + }, + { + "id": 6497, + "name": "AdminShippingOptionRuleResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6498, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6499, + "name": "attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6500, + "name": "operator", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6501, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 6502, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6503, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6503 + ] + } + ] + } + } + ] + } + }, + { + "id": 6504, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6505, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6506, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6507, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6498, + 6499, + 6500, + 6501, + 6504, + 6505, + 6506, + 6507 + ] + } + ] + }, + { + "id": 6508, + "name": "AdminShippingOptionTypeResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6509, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6510, + "name": "label", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6511, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6512, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6513, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6514, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6515, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6516, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6509, + 6510, + 6511, + 6512, + 6513, + 6514, + 6515, + 6516 + ] + } + ] + }, + { + "id": 6486, + "name": "AdminShippingOptionRetrieveResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6487, + "name": "shipping_option", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 8093, + "name": "AdminShippingOptionResponse", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6487 + ] + } + ] + }, + { + "id": 6488, + "name": "AdminShippingOptionListResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6490, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 8073, + "name": "PaginatedResponse.limit" + } + }, + { + "id": 6491, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 8074, + "name": "PaginatedResponse.offset" + } + }, + { + "id": 6492, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 8075, + "name": "PaginatedResponse.count" + } + }, + { + "id": 6489, + "name": "shipping_options", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8093, + "name": "AdminShippingOptionResponse", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6490, + 6491, + 6492, + 6489 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 8072, + "name": "PaginatedResponse", + "package": "@medusajs/types" + } + ] + }, + { + "id": 6493, + "name": "AdminShippingOptionDeleteResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6494, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the item that was deleted." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "DeleteResponse.id" + } + }, + { + "id": 6495, + "name": "object", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the item that was deleted." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "DeleteResponse.object" + } + }, + { + "id": 6496, + "name": "deleted", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the item was deleted successfully." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "DeleteResponse.deleted" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6494, + 6495, + 6496 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 8112, + "typeArguments": [ + { + "type": "literal", + "value": "shipping_option" + } + ], + "name": "DeleteResponse", + "package": "@medusajs/types" + } + ] + }, + { + "id": 6517, + "name": "ShippingProfileResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6518, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6519, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6520, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6521, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 6522, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6523, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6524, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6518, + 6519, + 6520, + 6521, + 6522, + 6523, + 6524 + ] + } + ] + }, + { + "id": 6525, + "name": "AdminShippingProfileResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6526, + "name": "shipping_profile", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 6517, + "name": "ShippingProfileResponse", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6526 + ] + } + ] + }, + { + "id": 6527, + "name": "AdminShippingProfilesResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Fields included in the response if it's paginated." + } + ] + }, + "children": [ + { + "id": 6529, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The limit applied on the retrieved items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1433, + "name": "PaginatedResponse.limit" + } + }, + { + "id": 6530, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of items skipped before retrieving the list of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1434, + "name": "PaginatedResponse.offset" + } + }, + { + "id": 6531, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total count of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1435, + "name": "PaginatedResponse.count" + } + }, + { + "id": 6528, + "name": "shipping_profiles", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6517, + "name": "ShippingProfileResponse", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6529, + 6530, + 6531, + 6528 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1432, + "name": "PaginatedResponse", + "package": "@medusajs/types" + } + ] + }, + { + "id": 6532, + "name": "AdminShippingProfileDeleteResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6533, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the item that was deleted." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "DeleteResponse.id" + } + }, + { + "id": 6534, + "name": "object", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the item that was deleted." + } + ] + }, + "type": { + "type": "literal", + "value": "shipping_profile" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "DeleteResponse.object" + } + }, + { + "id": 6535, + "name": "deleted", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the item was deleted successfully." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "DeleteResponse.deleted" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6533, + 6534, + 6535 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1437, + "typeArguments": [ + { + "type": "literal", + "value": "shipping_profile" + } + ], + "name": "DeleteResponse", + "package": "@medusajs/types" + } + ] + }, + { + "id": 6536, + "name": "OrderResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6537, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6538, + "name": "version", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6539, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6540, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6541, + "name": "sales_channel_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6542, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6543, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6544, + "name": "shipping_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 8118, + "name": "OrderAddress", + "package": "@medusajs/types" + } + }, + { + "id": 6545, + "name": "billing_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 8118, + "name": "OrderAddress", + "package": "@medusajs/types" + } + }, + { + "id": 6546, + "name": "items", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 8134, + "name": "OrderLineItem", + "package": "@medusajs/types" + } + } + ] + } + }, + { + "id": 6547, + "name": "shipping_methods", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 8188, + "name": "OrderShippingMethod", + "package": "@medusajs/types" + } + } + ] + } + }, + { + "id": 6548, + "name": "transactions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8203, + "name": "OrderTransaction", + "package": "@medusajs/types" + } + } + }, + { + "id": 6549, + "name": "summary", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 8214, + "name": "OrderSummary", + "package": "@medusajs/types" + } + }, + { + "id": 6550, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 6551, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6552, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6553, + "name": "original_item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6554, + "name": "original_item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6555, + "name": "original_item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6556, + "name": "item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6557, + "name": "item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6558, + "name": "item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6559, + "name": "original_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6560, + "name": "original_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6561, + "name": "original_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6562, + "name": "total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6563, + "name": "subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6564, + "name": "tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6565, + "name": "discount_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6566, + "name": "discount_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6567, + "name": "gift_card_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6568, + "name": "gift_card_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6569, + "name": "shipping_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6570, + "name": "shipping_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6571, + "name": "shipping_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6572, + "name": "original_shipping_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6573, + "name": "original_shipping_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6574, + "name": "original_shipping_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6575, + "name": "raw_original_item_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6576, + "name": "raw_original_item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6577, + "name": "raw_original_item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6578, + "name": "raw_item_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6579, + "name": "raw_item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6580, + "name": "raw_item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6581, + "name": "raw_original_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6582, + "name": "raw_original_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6583, + "name": "raw_original_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6584, + "name": "raw_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6585, + "name": "raw_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6586, + "name": "raw_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6587, + "name": "raw_discount_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6588, + "name": "raw_discount_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6589, + "name": "raw_gift_card_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6590, + "name": "raw_gift_card_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6591, + "name": "raw_shipping_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6592, + "name": "raw_shipping_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6593, + "name": "raw_shipping_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6594, + "name": "raw_original_shipping_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6595, + "name": "raw_original_shipping_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 6596, + "name": "raw_original_shipping_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6537, + 6538, + 6539, + 6540, + 6541, + 6542, + 6543, + 6544, + 6545, + 6546, + 6547, + 6548, + 6549, + 6550, + 6551, + 6552, + 6553, + 6554, + 6555, + 6556, + 6557, + 6558, + 6559, + 6560, + 6561, + 6562, + 6563, + 6564, + 6565, + 6566, + 6567, + 6568, + 6569, + 6570, + 6571, + 6572, + 6573, + 6574, + 6575, + 6576, + 6577, + 6578, + 6579, + 6580, + 6581, + 6582, + 6583, + 6584, + 6585, + 6586, + 6587, + 6588, + 6589, + 6590, + 6591, + 6592, + 6593, + 6594, + 6595, + 6596 + ] + } + ] + }, + { + "id": 6597, + "name": "AdminOrderListResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6599, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 8073, + "name": "PaginatedResponse.limit" + } + }, + { + "id": 6600, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 8074, + "name": "PaginatedResponse.offset" + } + }, + { + "id": 6601, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 8075, + "name": "PaginatedResponse.count" + } + }, + { + "id": 6598, + "name": "orders", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6536, + "name": "OrderResponse", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6599, + 6600, + 6601, + 6598 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 8072, + "name": "PaginatedResponse", + "package": "@medusajs/types" + } + ] + }, + { + "id": 6602, + "name": "AdminOrderResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6603, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 6536, + "name": "OrderResponse", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6603 + ] + } + ] + }, + { + "id": 6604, + "name": "AdminProductCategoryResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6605, + "name": "product_category", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 8233, + "name": "ProductCategoryResponse", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6605 + ] + } + ] + }, + { + "id": 6606, + "name": "AdminProductCategoryListResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6608, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The limit applied on the retrieved items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1433, + "name": "PaginatedResponse.limit" + } + }, + { + "id": 6609, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of items skipped before retrieving the list of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1434, + "name": "PaginatedResponse.offset" + } + }, + { + "id": 6610, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total count of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1435, + "name": "PaginatedResponse.count" + } + }, + { + "id": 6607, + "name": "product_categories", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8233, + "name": "ProductCategoryResponse", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6608, + 6609, + 6610, + 6607 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1432, + "name": "PaginatedResponse", + "package": "@medusajs/types" + } + ] + }, + { + "id": 6611, + "name": "StoreProductCategoryResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6612, + "name": "product_category", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 8233, + "name": "ProductCategoryResponse", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6612 + ] + } + ] + }, + { + "id": 6613, + "name": "StoreProductCategoryListResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6615, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The limit applied on the retrieved items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1433, + "name": "PaginatedResponse.limit" + } + }, + { + "id": 6616, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of items skipped before retrieving the list of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1434, + "name": "PaginatedResponse.offset" + } + }, + { + "id": 6617, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total count of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1435, + "name": "PaginatedResponse.count" + } + }, + { + "id": 6614, + "name": "product_categories", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8233, + "name": "ProductCategoryResponse", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6615, + 6616, + 6617, + 6614 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1432, + "name": "PaginatedResponse", + "package": "@medusajs/types" + } + ] + }, + { + "id": 6618, + "name": "PromotionRuleResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6619, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6620, + "name": "attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6621, + "name": "attribute_label", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6622, + "name": "field_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6623, + "name": "operator", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6624, + "name": "operator_label", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6625, + "name": "values", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 6626, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6627, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6627 + ] + } + ] + } + } + } + }, + { + "id": 6628, + "name": "disguised", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6629, + "name": "required", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6619, + 6620, + 6621, + 6622, + 6623, + 6624, + 6625, + 6628, + 6629 + ] + } + ] + }, + { + "id": 6630, + "name": "AdminPromotionRuleListResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6631, + "name": "attributes", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6618, + "name": "PromotionRuleResponse", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6631 + ] + } + ] + }, + { + "id": 6632, + "name": "RuleAttributeOptionsResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6633, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6634, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6635, + "name": "label", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6636, + "name": "field_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6637, + "name": "required", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6638, + "name": "disguised", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6633, + 6634, + 6635, + 6636, + 6637, + 6638 + ] + } + ] + }, + { + "id": 6639, + "name": "AdminRuleAttributeOptionsListResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6640, + "name": "attributes", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6632, + "name": "RuleAttributeOptionsResponse", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6640 + ] + } + ] + }, + { + "id": 6641, + "name": "RuleOperatorOptionsResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6642, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6643, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6644, + "name": "label", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6642, + 6643, + 6644 + ] + } + ] + }, + { + "id": 6645, + "name": "AdminRuleOperatorOptionsListResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6646, + "name": "operators", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6641, + "name": "RuleOperatorOptionsResponse", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6646 + ] + } + ] + }, + { + "id": 6729, + "name": "AdminReservationResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6730, + "name": "reservation", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 8252, + "name": "ReservationResponse", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6730 + ] + } + ] + }, + { + "id": 6731, + "name": "AdminReservationListResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6733, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The limit applied on the retrieved items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1433, + "name": "PaginatedResponse.limit" + } + }, + { + "id": 6734, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of items skipped before retrieving the list of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1434, + "name": "PaginatedResponse.offset" + } + }, + { + "id": 6735, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total count of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1435, + "name": "PaginatedResponse.count" + } + }, + { + "id": 6732, + "name": "reservations", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8252, + "name": "ReservationResponse", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6733, + 6734, + 6735, + 6732 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1432, + "name": "PaginatedResponse", + "package": "@medusajs/types" + } + ] + }, + { + "id": 6647, + "name": "AdminSalesChannelListResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6649, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 8073, + "name": "PaginatedResponse.limit" + } + }, + { + "id": 6650, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 8074, + "name": "PaginatedResponse.offset" + } + }, + { + "id": 6651, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 8075, + "name": "PaginatedResponse.count" + } + }, + { + "id": 6648, + "name": "sales_channels", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8246, + "name": "SalesChannelResponse", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6649, + 6650, + 6651, + 6648 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 8072, + "name": "PaginatedResponse", + "package": "@medusajs/types" + } + ] + }, + { + "id": 6652, + "name": "AdminSalesChannelResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6653, + "name": "sales_channel", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 8246, + "name": "SalesChannelResponse", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6653 + ] + } + ] + }, + { + "id": 6654, + "name": "AdminStockLocationAddressResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 6655, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6656, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6657, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6658, + "name": "address_2", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 6659, + "name": "company", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 6660, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6661, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 6662, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 6663, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 6664, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 6665, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 6666, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6667, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6668, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6656, + 6657, + 6658, + 6659, + 6660, + 6661, + 6662, + 6663, + 6664, + 6665, + 6666, + 6667, + 6668 + ] + } + ] + } + } + }, + { + "id": 6669, + "name": "AdminStockLocationResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6670, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6671, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6672, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 6673, + "name": "address_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6674, + "name": "address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 6654, + "name": "AdminStockLocationAddressResponse", + "package": "@medusajs/types" + } + }, + { + "id": 6675, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6676, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6677, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6678, + "name": "fulfillment_sets", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6425, + "name": "AdminFulfillmentSetResponse", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6670, + 6671, + 6672, + 6673, + 6674, + 6675, + 6676, + 6677, + 6678 + ] + } + ] + }, + { + "id": 6679, + "name": "TaxRateResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6680, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6681, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 6682, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6683, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6684, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 6685, + "name": "tax_region_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6686, + "name": "is_combinable", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6687, + "name": "is_default", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6688, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6689, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6690, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6691, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6692, + "name": "tax_region", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 6704, + "name": "TaxRegionResponse", + "package": "@medusajs/types" + } + }, + { + "id": 6693, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 6694, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6695, + "name": "reference", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6696, + "name": "reference_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6695, + 6696 + ] + } + ] + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6680, + 6681, + 6682, + 6683, + 6684, + 6685, + 6686, + 6687, + 6688, + 6689, + 6690, + 6691, + 6692, + 6693 + ] + } + ] + }, + { + "id": 6697, + "name": "AdminTaxRateResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6698, + "name": "tax_rate", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 6679, + "name": "TaxRateResponse", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6698 + ] + } + ] + }, + { + "id": 6699, + "name": "AdminTaxRateListResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6701, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The limit applied on the retrieved items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1433, + "name": "PaginatedResponse.limit" + } + }, + { + "id": 6702, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of items skipped before retrieving the list of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1434, + "name": "PaginatedResponse.offset" + } + }, + { + "id": 6703, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total count of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1435, + "name": "PaginatedResponse.count" + } + }, + { + "id": 6700, + "name": "tax_rates", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6679, + "name": "TaxRateResponse", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6701, + 6702, + 6703, + 6700 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1432, + "name": "PaginatedResponse", + "package": "@medusajs/types" + } + ] + }, + { + "id": 6704, + "name": "TaxRegionResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6705, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6706, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 6707, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6708, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6709, + "name": "province_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6710, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6711, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 6712, + "name": "tax_region_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6713, + "name": "is_combinable", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6714, + "name": "is_default", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6715, + "name": "parent_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6716, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6717, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6718, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6719, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6720, + "name": "tax_rates", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6679, + "name": "TaxRateResponse", + "package": "@medusajs/types" + } + } + }, + { + "id": 6721, + "name": "parent", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 6704, + "name": "TaxRegionResponse", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6705, + 6706, + 6707, + 6708, + 6709, + 6710, + 6711, + 6712, + 6713, + 6714, + 6715, + 6716, + 6717, + 6718, + 6719, + 6720, + 6721 + ] + } + ] + }, + { + "id": 6722, + "name": "AdminTaxRegionResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6723, + "name": "tax_region", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 6704, + "name": "TaxRegionResponse", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6723 + ] + } + ] + }, + { + "id": 6724, + "name": "AdminTaxRegionListResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 6726, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The limit applied on the retrieved items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1433, + "name": "PaginatedResponse.limit" + } + }, + { + "id": 6727, + "name": "offset", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of items skipped before retrieving the list of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1434, + "name": "PaginatedResponse.offset" + } + }, + { + "id": 6728, + "name": "count", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total count of items." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 1435, + "name": "PaginatedResponse.count" + } + }, + { + "id": 6725, + "name": "tax_regions", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6704, + "name": "TaxRegionResponse", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6726, + 6727, + 6728, + 6725 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1432, + "name": "PaginatedResponse", + "package": "@medusajs/types" + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 6314, + 6316, + 6321, + 6335, + 6340, + 6342, + 6349, + 6368, + 6370, + 6375, + 6377, + 6443, + 6404, + 6427, + 6436, + 6416, + 6425, + 6382, + 6400, + 6460, + 6471, + 6473, + 6478, + 6497, + 6508, + 6486, + 6488, + 6493, + 6517, + 6525, + 6527, + 6532, + 6536, + 6597, + 6602, + 6604, + 6606, + 6611, + 6613, + 6618, + 6630, + 6632, + 6639, + 6641, + 6645, + 6729, + 6731, + 6647, + 6652, + 6669, + 6679, + 6697, + 6699, + 6704, + 6722, + 6724 + ] + }, + { + "title": "Type Aliases", + "children": [ + 6654 + ] + } + ] + }, + { + "id": 8214, + "name": "OrderSummary", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 8215, + "name": "total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8216, + "name": "subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8217, + "name": "total_tax", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8218, + "name": "ordered_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8219, + "name": "fulfilled_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8220, + "name": "returned_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8221, + "name": "return_request_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8222, + "name": "write_off_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8223, + "name": "projected_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8224, + "name": "net_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8225, + "name": "net_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8226, + "name": "net_total_tax", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8227, + "name": "future_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8228, + "name": "future_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8229, + "name": "future_total_tax", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8230, + "name": "future_projected_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8231, + "name": "balance", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8232, + "name": "future_balance", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8215, + 8216, + 8217, + 8218, + 8219, + 8220, + 8221, + 8222, + 8223, + 8224, + 8225, + 8226, + 8227, + 8228, + 8229, + 8230, + 8231, + 8232 + ] + } + ] + }, + { + "id": 8358, + "name": "OrderAdjustmentLine", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 8359, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8360, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8361, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8362, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8363, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8364, + "name": "promotion_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8365, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8366, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 8367, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8359, + 8360, + 8361, + 8362, + 8363, + 8364, + 8365, + 8366, + 8367 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 8287, + "name": "OrderLineItemAdjustment" + }, + { + "type": "reference", + "target": 8335, + "name": "OrderShippingMethodAdjustment" + } + ] + }, + { + "id": 8335, + "name": "OrderShippingMethodAdjustment", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 8338, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8359, + "name": "OrderAdjustmentLine.id" + } + }, + { + "id": 8339, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8360, + "name": "OrderAdjustmentLine.code" + } + }, + { + "id": 8340, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 8361, + "name": "OrderAdjustmentLine.amount" + } + }, + { + "id": 8341, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8362, + "name": "OrderAdjustmentLine.order_id" + } + }, + { + "id": 8342, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8363, + "name": "OrderAdjustmentLine.description" + } + }, + { + "id": 8343, + "name": "promotion_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8364, + "name": "OrderAdjustmentLine.promotion_id" + } + }, + { + "id": 8344, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8365, + "name": "OrderAdjustmentLine.provider_id" + } + }, + { + "id": 8345, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 8366, + "name": "OrderAdjustmentLine.created_at" + } + }, + { + "id": 8346, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 8367, + "name": "OrderAdjustmentLine.updated_at" + } + }, + { + "id": 8336, + "name": "shipping_method", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 8188, + "name": "OrderShippingMethod", + "package": "@medusajs/types" + } + }, + { + "id": 8337, + "name": "shipping_method_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8338, + 8339, + 8340, + 8341, + 8342, + 8343, + 8344, + 8345, + 8346, + 8336, + 8337 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 8358, + "name": "OrderAdjustmentLine", + "package": "@medusajs/types" + } + ] + }, + { + "id": 8287, + "name": "OrderLineItemAdjustment", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 8290, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8359, + "name": "OrderAdjustmentLine.id" + } + }, + { + "id": 8291, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8360, + "name": "OrderAdjustmentLine.code" + } + }, + { + "id": 8292, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 8361, + "name": "OrderAdjustmentLine.amount" + } + }, + { + "id": 8293, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8362, + "name": "OrderAdjustmentLine.order_id" + } + }, + { + "id": 8294, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8363, + "name": "OrderAdjustmentLine.description" + } + }, + { + "id": 8295, + "name": "promotion_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8364, + "name": "OrderAdjustmentLine.promotion_id" + } + }, + { + "id": 8296, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8365, + "name": "OrderAdjustmentLine.provider_id" + } + }, + { + "id": 8297, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 8366, + "name": "OrderAdjustmentLine.created_at" + } + }, + { + "id": 8298, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 8367, + "name": "OrderAdjustmentLine.updated_at" + } + }, + { + "id": 8288, + "name": "item", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 8134, + "name": "OrderLineItem", + "package": "@medusajs/types" + } + }, + { + "id": 8289, + "name": "item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8290, + 8291, + 8292, + 8293, + 8294, + 8295, + 8296, + 8297, + 8298, + 8288, + 8289 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 8358, + "name": "OrderAdjustmentLine", + "package": "@medusajs/types" + } + ] + }, + { + "id": 8349, + "name": "OrderTaxLine", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 8350, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8351, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8352, + "name": "tax_rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8353, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8354, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8355, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8356, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 8357, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8350, + 8351, + 8352, + 8353, + 8354, + 8355, + 8356, + 8357 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 8272, + "name": "OrderLineItemTaxLine" + }, + { + "type": "reference", + "target": 8320, + "name": "OrderShippingMethodTaxLine" + } + ] + }, + { + "id": 8320, + "name": "OrderShippingMethodTaxLine", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 8327, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8350, + "name": "OrderTaxLine.id" + } + }, + { + "id": 8328, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8351, + "name": "OrderTaxLine.description" + } + }, + { + "id": 8329, + "name": "tax_rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8352, + "name": "OrderTaxLine.tax_rate_id" + } + }, + { + "id": 8330, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8353, + "name": "OrderTaxLine.code" + } + }, + { + "id": 8331, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 8354, + "name": "OrderTaxLine.rate" + } + }, + { + "id": 8332, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8355, + "name": "OrderTaxLine.provider_id" + } + }, + { + "id": 8333, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 8356, + "name": "OrderTaxLine.created_at" + } + }, + { + "id": 8334, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 8357, + "name": "OrderTaxLine.updated_at" + } + }, + { + "id": 8321, + "name": "shipping_method", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 8188, + "name": "OrderShippingMethod", + "package": "@medusajs/types" + } + }, + { + "id": 8322, + "name": "shipping_method_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8323, + "name": "total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8324, + "name": "subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8325, + "name": "raw_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8326, + "name": "raw_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8327, + 8328, + 8329, + 8330, + 8331, + 8332, + 8333, + 8334, + 8321, + 8322, + 8323, + 8324, + 8325, + 8326 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 8349, + "name": "OrderTaxLine", + "package": "@medusajs/types" + } + ] + }, + { + "id": 8272, + "name": "OrderLineItemTaxLine", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 8279, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8350, + "name": "OrderTaxLine.id" + } + }, + { + "id": 8280, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8351, + "name": "OrderTaxLine.description" + } + }, + { + "id": 8281, + "name": "tax_rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8352, + "name": "OrderTaxLine.tax_rate_id" + } + }, + { + "id": 8282, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8353, + "name": "OrderTaxLine.code" + } + }, + { + "id": 8283, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 8354, + "name": "OrderTaxLine.rate" + } + }, + { + "id": 8284, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8355, + "name": "OrderTaxLine.provider_id" + } + }, + { + "id": 8285, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 8356, + "name": "OrderTaxLine.created_at" + } + }, + { + "id": 8286, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 8357, + "name": "OrderTaxLine.updated_at" + } + }, + { + "id": 8273, + "name": "item", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 8134, + "name": "OrderLineItem", + "package": "@medusajs/types" + } + }, + { + "id": 8274, + "name": "item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8275, + "name": "total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8276, + "name": "subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8277, + "name": "raw_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8278, + "name": "raw_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8279, + 8280, + 8281, + 8282, + 8283, + 8284, + 8285, + 8286, + 8273, + 8274, + 8275, + 8276, + 8277, + 8278 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 8349, + "name": "OrderTaxLine", + "package": "@medusajs/types" + } + ] + }, + { + "id": 8118, + "name": "OrderAddress", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 8119, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8120, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8121, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8122, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8123, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8124, + "name": "company", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8125, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8126, + "name": "address_2", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8127, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8128, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8129, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8130, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8131, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 8132, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 8133, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8119, + 8120, + 8121, + 8122, + 8123, + 8124, + 8125, + 8126, + 8127, + 8128, + 8129, + 8130, + 8131, + 8132, + 8133 + ] + } + ] + }, + { + "id": 8188, + "name": "OrderShippingMethod", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 8189, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8190, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8191, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8192, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8193, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8194, + "name": "raw_amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8195, + "name": "is_tax_inclusive", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8196, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8197, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 8198, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 8199, + "name": "tax_lines", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8320, + "name": "OrderShippingMethodTaxLine", + "package": "@medusajs/types" + } + } + }, + { + "id": 8200, + "name": "adjustments", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8335, + "name": "OrderShippingMethodAdjustment", + "package": "@medusajs/types" + } + } + }, + { + "id": 8201, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 8202, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8189, + 8190, + 8191, + 8192, + 8193, + 8194, + 8195, + 8196, + 8197, + 8198, + 8199, + 8200, + 8201, + 8202 + ] + } + ] + }, + { + "id": 8134, + "name": "OrderLineItem", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 8135, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8136, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8137, + "name": "subtitle", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8138, + "name": "thumbnail", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8139, + "name": "variant_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8140, + "name": "product_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8141, + "name": "product_title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8142, + "name": "product_description", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8143, + "name": "product_subtitle", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8144, + "name": "product_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8145, + "name": "product_collection", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8146, + "name": "product_handle", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8147, + "name": "variant_sku", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8148, + "name": "variant_barcode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8149, + "name": "variant_title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8150, + "name": "variant_option_values", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 8151, + "name": "requires_shipping", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8152, + "name": "is_discountable", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8153, + "name": "is_tax_inclusive", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8154, + "name": "compare_at_unit_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8155, + "name": "raw_compare_at_unit_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8156, + "name": "unit_price", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8157, + "name": "raw_unit_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8158, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8159, + "name": "raw_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8160, + "name": "tax_lines", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8272, + "name": "OrderLineItemTaxLine", + "package": "@medusajs/types" + } + } + }, + { + "id": 8161, + "name": "adjustments", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8287, + "name": "OrderLineItemAdjustment", + "package": "@medusajs/types" + } + } + }, + { + "id": 8162, + "name": "detail", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 8299, + "name": "OrderItemDetail", + "package": "@medusajs/types" + } + }, + { + "id": 8163, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 8164, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 8165, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 8166, + "name": "original_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8167, + "name": "original_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8168, + "name": "original_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8169, + "name": "item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8170, + "name": "item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8171, + "name": "item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8172, + "name": "total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8173, + "name": "subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8174, + "name": "tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8175, + "name": "discount_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8176, + "name": "discount_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8177, + "name": "raw_original_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8178, + "name": "raw_original_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8179, + "name": "raw_original_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8180, + "name": "raw_item_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8181, + "name": "raw_item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8182, + "name": "raw_item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8183, + "name": "raw_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8184, + "name": "raw_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8185, + "name": "raw_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8186, + "name": "raw_discount_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8187, + "name": "raw_discount_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8135, + 8136, + 8137, + 8138, + 8139, + 8140, + 8141, + 8142, + 8143, + 8144, + 8145, + 8146, + 8147, + 8148, + 8149, + 8150, + 8151, + 8152, + 8153, + 8154, + 8155, + 8156, + 8157, + 8158, + 8159, + 8160, + 8161, + 8162, + 8163, + 8164, + 8165, + 8166, + 8167, + 8168, + 8169, + 8170, + 8171, + 8172, + 8173, + 8174, + 8175, + 8176, + 8177, + 8178, + 8179, + 8180, + 8181, + 8182, + 8183, + 8184, + 8185, + 8186, + 8187 + ] + } + ] + }, + { + "id": 8299, + "name": "OrderItemDetail", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 8300, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8301, + "name": "item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8302, + "name": "item", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 8134, + "name": "OrderLineItem", + "package": "@medusajs/types" + } + }, + { + "id": 8303, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8304, + "name": "fulfilled_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8305, + "name": "shipped_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8306, + "name": "return_requested_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8307, + "name": "return_received_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8308, + "name": "return_dismissed_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8309, + "name": "written_off_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8310, + "name": "raw_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8311, + "name": "raw_fulfilled_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8312, + "name": "raw_shipped_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8313, + "name": "raw_return_requested_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8314, + "name": "raw_return_received_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8315, + "name": "raw_return_dismissed_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8316, + "name": "raw_written_off_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8317, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 8318, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 8319, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8300, + 8301, + 8302, + 8303, + 8304, + 8305, + 8306, + 8307, + 8308, + 8309, + 8310, + 8311, + 8312, + 8313, + 8314, + 8315, + 8316, + 8317, + 8318, + 8319 + ] + } + ] + }, + { + "id": 8203, + "name": "OrderTransaction", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 8204, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8205, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8206, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8207, + "name": "raw_amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 8208, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8209, + "name": "reference", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8210, + "name": "reference_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8211, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 8212, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 8213, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8204, + 8205, + 8206, + 8207, + 8208, + 8209, + 8210, + 8211, + 8212, + 8213 + ] + } + ] + }, + { + "id": 8233, + "name": "ProductCategoryResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 8234, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8235, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8236, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8237, + "name": "handle", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8238, + "name": "is_active", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8239, + "name": "is_internal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8240, + "name": "rank", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 8241, + "name": "parent_category_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8242, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 8243, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 8244, + "name": "parent_category", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 8233, + "name": "ProductCategoryResponse", + "package": "@medusajs/types" + } + }, + { + "id": 8245, + "name": "category_children", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8233, + "name": "ProductCategoryResponse", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8234, + 8235, + 8236, + 8237, + 8238, + 8239, + 8240, + 8241, + 8242, + 8243, + 8244, + 8245 + ] + } + ] + }, + { + "id": 8252, + "name": "ReservationResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 8253, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8254, + "name": "line_item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8255, + "name": "location_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8256, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8257, + "name": "external_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8258, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8259, + "name": "inventory_item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8260, + "name": "inventory_item", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 8261, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 8262, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8263, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 8264, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 8265, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8253, + 8254, + 8255, + 8256, + 8257, + 8258, + 8259, + 8260, + 8261, + 8262, + 8263, + 8264, + 8265 + ] + } + ] + }, + { + "id": 8246, + "name": "SalesChannelResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "modifierTags": [ + "@experimental" + ] + }, + "children": [ + { + "id": 8247, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8248, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8249, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8250, + "name": "is_disabled", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 8251, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8247, + 8248, + 8249, + 8250, + 8251 + ] + } + ] + }, + { + "id": 8043, + "name": "ReservationItemDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The reservation item details." + } + ] + }, + "children": [ + { + "id": 8044, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the reservation item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8045, + "name": "location_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated location's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8046, + "name": "inventory_item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated inventory item's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8047, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The quantity of the reservation item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8048, + "name": "line_item_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated line item's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8049, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the reservation item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8050, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The created by of the reservation item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8051, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 8052, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the reservation item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 8053, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the reservation item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 8054, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the reservation item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8044, + 8045, + 8046, + 8047, + 8048, + 8049, + 8050, + 8051, + 8052, + 8053, + 8054 + ] + } + ] + }, + { + "id": 8055, + "name": "UpdateReservationItemInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in a reservation item." + } + ] + }, + "children": [ + { + "id": 8056, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8057, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The reserved quantity." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8058, + "name": "location_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated location." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8059, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the reservation item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8060, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8056, + 8057, + 8058, + 8059, + 8060 + ] + } + ] + }, + { + "id": 8034, + "name": "CreateReservationItemInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the reservation item to be created." + } + ] + }, + "children": [ + { + "id": 8035, + "name": "line_item_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated line item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8036, + "name": "inventory_item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated inventory item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8037, + "name": "location_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated location." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8038, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The reserved quantity." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8039, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the reservation." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8040, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user or system that created the reservation. Can be any form of identification string." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8041, + "name": "external_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An ID associated with an external third-party system that the reservation item is connected to." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8042, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8035, + 8036, + 8037, + 8038, + 8039, + 8040, + 8041, + 8042 + ] + } + ] + }, + { + "id": 6842, + "name": "JoinerRelationship", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 6843, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6844, + "name": "alias", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6845, + "name": "foreignKey", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6846, + "name": "primaryKey", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6847, + "name": "serviceName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6848, + "name": "isInternalService", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the relationship is an internal service from the medusa core\nTODO: Remove when there are no more \"internal\" services" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6849, + "name": "inverse", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "In an inverted relationship the foreign key is on the other service and the primary key is on the current service" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6850, + "name": "isList", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Force the relationship to return a list" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6851, + "name": "args", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Extra arguments to pass to the remoteFetchData callback" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6844, + 6845, + 6846, + 6847, + 6848, + 6849, + 6850, + 6851 + ] + } + ] + } + } + }, + { + "id": 6852, + "name": "JoinerServiceConfigAlias", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6853, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 6854, + "name": "args", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Extra arguments to pass to the remoteFetchData callback" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6853, + 6854 + ] + } + ] + }, + { + "id": 6855, + "name": "JoinerServiceConfig", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6856, + "name": "serviceName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6857, + "name": "alias", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Property name to use as entrypoint to the service" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 6852, + "name": "JoinerServiceConfigAlias", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 6852, + "name": "JoinerServiceConfigAlias", + "package": "@medusajs/types" + } + } + ] + } + }, + { + "id": 6858, + "name": "fieldAlias", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "alias for deeper nested relationships (e.g. { 'price': 'prices.calculated_price_set.amount' })" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 6859, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6860, + "name": "path", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6861, + "name": "forwardArgumentsOnPath", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6860, + 6861 + ] + } + ] + } + } + ] + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 6862, + "name": "primaryKeys", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 6863, + "name": "relationships", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6842, + "name": "JoinerRelationship", + "package": "@medusajs/types" + } + } + }, + { + "id": 6864, + "name": "extends", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 6865, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6866, + "name": "serviceName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6867, + "name": "relationship", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 6842, + "name": "JoinerRelationship", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6866, + 6867 + ] + } + ] + } + } + } + }, + { + "id": 6868, + "name": "args", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Extra arguments to pass to the remoteFetchData callback" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6856, + 6857, + 6858, + 6862, + 6863, + 6864, + 6868 + ] + } + ] + }, + { + "id": 6869, + "name": "JoinerArgument", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6870, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6871, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6870, + 6871 + ] + } + ] + }, + { + "id": 6872, + "name": "JoinerDirective", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6873, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6874, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6873, + 6874 + ] + } + ] + }, + { + "id": 6875, + "name": "RemoteJoinerQuery", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6876, + "name": "service", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6877, + "name": "alias", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6878, + "name": "expands", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 6879, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6880, + "name": "property", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6881, + "name": "fields", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 6882, + "name": "args", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6869, + "name": "JoinerArgument", + "package": "@medusajs/types" + } + } + }, + { + "id": 6883, + "name": "directives", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 6884, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "indexSignature": { + "id": 6885, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "parameters": [ + { + "id": 6886, + "name": "field", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6872, + "name": "JoinerDirective", + "package": "@medusajs/types" + } + } + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6880, + 6881, + 6882, + 6883 + ] + } + ] + } + } + } + }, + { + "id": 6887, + "name": "fields", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 6888, + "name": "args", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6869, + "name": "JoinerArgument", + "package": "@medusajs/types" + } + } + }, + { + "id": 6889, + "name": "directives", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 6890, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "indexSignature": { + "id": 6891, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "parameters": [ + { + "id": 6892, + "name": "field", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6872, + "name": "JoinerDirective", + "package": "@medusajs/types" + } + } + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6876, + 6877, + 6878, + 6887, + 6888, + 6889 + ] + } + ] + }, + { + "id": 6893, + "name": "RemoteJoinerOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6894, + "name": "throwIfKeyNotFound", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 6895, + "name": "throwIfRelationNotFound", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6894, + 6895 + ] + } + ] + }, + { + "id": 6896, + "name": "RemoteNestedExpands", + "variant": "declaration", + "kind": 256, + "flags": {}, + "indexSignature": { + "id": 6897, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "parameters": [ + { + "id": 6898, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 6899, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6900, + "name": "fields", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 6901, + "name": "args", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6869, + "name": "JoinerArgument", + "package": "@medusajs/types" + } + } + }, + { + "id": 6902, + "name": "expands", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 6896, + "name": "RemoteNestedExpands", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6900, + 6901, + 6902 + ] + } + ] + } + } + } + }, + { + "id": 6903, + "name": "RemoteExpandProperty", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6904, + "name": "property", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6905, + "name": "parent", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6906, + "name": "parentConfig", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 6855, + "name": "JoinerServiceConfig", + "package": "@medusajs/types" + } + }, + { + "id": 6907, + "name": "serviceConfig", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 6855, + "name": "JoinerServiceConfig", + "package": "@medusajs/types" + } + }, + { + "id": 6908, + "name": "fields", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 6909, + "name": "args", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6869, + "name": "JoinerArgument", + "package": "@medusajs/types" + } + } + }, + { + "id": 6910, + "name": "expands", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 6896, + "name": "RemoteNestedExpands", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6904, + 6905, + 6906, + 6907, + 6908, + 6909, + 6910 + ] + } + ] + }, + { + "id": 6911, + "name": "ILinkModule", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6912, + "name": "list", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 6913, + "name": "list", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 6914, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 6915, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 6916, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 6917, + "name": "listAndCount", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 6918, + "name": "listAndCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 6919, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 6920, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 6921, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 6922, + "name": "create", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 6923, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 6924, + "name": "primaryKeyOrBulkData", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "array", + "elementType": { + "type": "tuple", + "elements": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "optional", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ] + } + } + ] + } + }, + { + "id": 6925, + "name": "foreignKeyData", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6926, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 6927, + "name": "dismiss", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 6928, + "name": "dismiss", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 6929, + "name": "primaryKeyOrBulkData", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "array", + "elementType": { + "type": "tuple", + "elements": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ] + } + }, + { + "id": 6930, + "name": "foreignKeyData", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6931, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 6932, + "name": "delete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 6933, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 6934, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 6935, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 6936, + "name": "softDelete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 6937, + "name": "softDelete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 6938, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 6939, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2172, + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 6940, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 6941, + "name": "restore", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 6942, + "name": "restore", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 6943, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 6944, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2175, + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 6945, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 6912, + 6917, + 6922, + 6927, + 6932, + 6936, + 6941 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3404, + "name": "IModuleService", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3182, + "name": "LoggerTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 3183, + "name": "Logger", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 3184, + "name": "panic", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3185, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "signatures": [ + { + "id": 3186, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3187, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 3188, + "name": "shouldLog", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3189, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "signatures": [ + { + "id": 3190, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3191, + "name": "level", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 3192, + "name": "setLogLevel", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3193, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "signatures": [ + { + "id": 3194, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3195, + "name": "level", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 3196, + "name": "unsetLogLevel", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3197, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "signatures": [ + { + "id": 3198, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 3199, + "name": "activity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3200, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "signatures": [ + { + "id": 3201, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3202, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3203, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 3204, + "name": "progress", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3205, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "signatures": [ + { + "id": 3206, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3207, + "name": "activityId", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 3208, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 3209, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3210, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "signatures": [ + { + "id": 3211, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3212, + "name": "messageOrError", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 3213, + "name": "error", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 3214, + "name": "failure", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3215, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "signatures": [ + { + "id": 3216, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3217, + "name": "activityId", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 3218, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 3219, + "name": "success", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3220, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "signatures": [ + { + "id": 3221, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3222, + "name": "activityId", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 3223, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 3224, + "name": "debug", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3225, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "signatures": [ + { + "id": 3226, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3227, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 3228, + "name": "info", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3229, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "signatures": [ + { + "id": 3230, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3231, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 3232, + "name": "warn", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3233, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "signatures": [ + { + "id": 3234, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3235, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 3236, + "name": "log", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3237, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "signatures": [ + { + "id": 3238, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3239, + "name": "args", + "variant": "param", + "kind": 32768, + "flags": { + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3184, + 3188, + 3192, + 3196, + 3199, + 3204, + 3209, + 3214, + 3219, + 3224, + 3228, + 3232, + 3236 + ] + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 3183 + ] + } + ] + }, + { + "id": 3240, + "name": "ModulesSdkTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 3241, + "name": "Constructor", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 3245, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 3242, + "name": "__type", + "variant": "declaration", + "kind": 512, + "flags": {}, + "signatures": [ + { + "id": 3243, + "name": "__type", + "variant": "signature", + "kind": 16384, + "flags": {}, + "parameters": [ + { + "id": 3244, + "name": "args", + "variant": "param", + "kind": 32768, + "flags": { + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "type": { + "type": "reference", + "target": 3245, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + } + ] + } + } + }, + { + "id": 3246, + "name": "LogLevel", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "query" + }, + { + "type": "literal", + "value": "schema" + }, + { + "type": "literal", + "value": "error" + }, + { + "type": "literal", + "value": "warn" + }, + { + "type": "literal", + "value": "info" + }, + { + "type": "literal", + "value": "log" + }, + { + "type": "literal", + "value": "migration" + } + ] + } + }, + { + "id": 3247, + "name": "LoggerOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": "all" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3246, + "name": "LogLevel", + "package": "@medusajs/types" + } + } + ] + } + }, + { + "id": 3248, + "name": "MODULE_SCOPE", + "variant": "declaration", + "kind": 8, + "flags": {}, + "children": [ + { + "id": 3249, + "name": "INTERNAL", + "variant": "declaration", + "kind": 16, + "flags": {}, + "type": { + "type": "literal", + "value": "internal" + } + }, + { + "id": 3250, + "name": "EXTERNAL", + "variant": "declaration", + "kind": 16, + "flags": {}, + "type": { + "type": "literal", + "value": "external" + } + } + ], + "groups": [ + { + "title": "Enumeration Members", + "children": [ + 3249, + 3250 + ] + } + ] + }, + { + "id": 3251, + "name": "MODULE_RESOURCE_TYPE", + "variant": "declaration", + "kind": 8, + "flags": {}, + "children": [ + { + "id": 3252, + "name": "SHARED", + "variant": "declaration", + "kind": 16, + "flags": {}, + "type": { + "type": "literal", + "value": "shared" + } + }, + { + "id": 3253, + "name": "ISOLATED", + "variant": "declaration", + "kind": 16, + "flags": {}, + "type": { + "type": "literal", + "value": "isolated" + } + } + ], + "groups": [ + { + "title": "Enumeration Members", + "children": [ + 3252, + 3253 + ] + } + ] + }, + { + "id": 3254, + "name": "InternalModuleDeclaration", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3255, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3256, + "name": "scope", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 3249, + "name": "MODULE_SCOPE.INTERNAL", + "package": "@medusajs/types" + } + }, + { + "id": 3257, + "name": "resources", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 3251, + "name": "MODULE_RESOURCE_TYPE", + "package": "@medusajs/types" + } + }, + { + "id": 3258, + "name": "dependencies", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 3259, + "name": "definition", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3285, + "name": "ModuleDefinition", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + }, + { + "id": 3260, + "name": "resolve", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 3360, + "name": "ModuleExports", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3261, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 3262, + "name": "alias", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If multiple modules are registered with the same key, the alias can be used to differentiate them" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3263, + "name": "main", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If the module is the main module for the key when multiple ones are registered" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3264, + "name": "worker_mode", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "shared" + }, + { + "type": "literal", + "value": "worker" + }, + { + "type": "literal", + "value": "server" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3256, + 3257, + 3258, + 3259, + 3260, + 3261, + 3262, + 3263, + 3264 + ] + } + ] + } + } + }, + { + "id": 3265, + "name": "ExternalModuleDeclaration", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3266, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3267, + "name": "scope", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 3250, + "name": "MODULE_SCOPE.EXTERNAL", + "package": "@medusajs/types" + } + }, + { + "id": 3268, + "name": "definition", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3285, + "name": "ModuleDefinition", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + }, + { + "id": 3269, + "name": "server", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 3270, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3271, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "literal", + "value": "http" + } + }, + { + "id": 3272, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3273, + "name": "keepAlive", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3271, + 3272, + 3273 + ] + } + ] + } + } + }, + { + "id": 3274, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 3275, + "name": "alias", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If multiple modules are registered with the same key, the alias can be used to differentiate them" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3276, + "name": "main", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If the module is the main module for the key when multiple ones are registered" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3267, + 3268, + 3269, + 3274, + 3275, + 3276 + ] + } + ] + } + } + }, + { + "id": 3277, + "name": "ModuleResolution", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3278, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3279, + "name": "resolutionPath", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": false + } + ] + } + }, + { + "id": 3280, + "name": "definition", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 3285, + "name": "ModuleDefinition", + "package": "@medusajs/types" + } + }, + { + "id": 3281, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 3282, + "name": "dependencies", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 3283, + "name": "moduleDeclaration", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3254, + "name": "InternalModuleDeclaration", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 3265, + "name": "ExternalModuleDeclaration", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3284, + "name": "moduleExports", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 3360, + "name": "ModuleExports", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3279, + 3280, + 3281, + 3282, + 3283, + 3284 + ] + } + ] + } + } + }, + { + "id": 3285, + "name": "ModuleDefinition", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3286, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3287, + "name": "key", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3288, + "name": "registrationName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3289, + "name": "defaultPackage", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": false + } + ] + } + }, + { + "id": 3290, + "name": "label", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3291, + "name": "isRequired", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3292, + "name": "isQueryable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3293, + "name": "isLegacy", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3294, + "name": "dependencies", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 3295, + "name": "defaultModuleDeclaration", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3254, + "name": "InternalModuleDeclaration", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 3265, + "name": "ExternalModuleDeclaration", + "package": "@medusajs/types" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3287, + 3288, + 3289, + 3290, + 3291, + 3292, + 3293, + 3294, + 3295 + ] + } + ] + } + } + }, + { + "id": 3296, + "name": "LinkModuleDefinition", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3297, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3298, + "name": "key", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3299, + "name": "registrationName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3300, + "name": "label", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3301, + "name": "dependencies", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 3302, + "name": "defaultModuleDeclaration", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 3254, + "name": "InternalModuleDeclaration", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3298, + 3299, + 3300, + 3301, + 3302 + ] + } + ] + } + } + }, + { + "id": 3303, + "name": "ModuleConfig", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 8005, + "name": "ModuleDeclaration", + "package": "@medusajs/types" + }, + { + "type": "reflection", + "declaration": { + "id": 3304, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3305, + "name": "module", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3306, + "name": "path", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3307, + "name": "definition", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 3285, + "name": "ModuleDefinition", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3305, + 3306, + 3307 + ] + } + ] + } + } + ] + } + }, + { + "id": 3308, + "name": "LoadedModule", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reflection", + "declaration": { + "id": 3309, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3310, + "name": "__joinerConfig", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 3328, + "name": "ModuleJoinerConfig", + "package": "@medusajs/types" + } + }, + { + "id": 3311, + "name": "__definition", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 3285, + "name": "ModuleDefinition", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3310, + 3311 + ] + } + ] + } + } + ] + } + }, + { + "id": 3312, + "name": "LoaderOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 3318, + "name": "TOptions", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 3313, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3314, + "name": "container", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 1581, + "name": "MedusaContainer", + "package": "@medusajs/types" + } + }, + { + "id": 3315, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 3318, + "name": "TOptions", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + { + "id": 3316, + "name": "logger", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 3183, + "name": "Logger", + "package": "@medusajs/types" + } + }, + { + "id": 3317, + "name": "dataLoaderOnly", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3314, + 3315, + 3316, + 3317 + ] + } + ] + } + } + }, + { + "id": 3319, + "name": "ModuleLoaderFunction", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3320, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "signatures": [ + { + "id": 3321, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3322, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 3312, + "name": "LoaderOptions", + "package": "@medusajs/types" + } + }, + { + "id": 3323, + "name": "moduleDeclaration", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 3254, + "name": "InternalModuleDeclaration", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 3324, + "name": "ModulesResponse", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 3325, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3326, + "name": "module", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3327, + "name": "resolution", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": false + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3326, + 3327 + ] + } + ] + } + } + } + }, + { + "id": 3328, + "name": "ModuleJoinerConfig", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 6855, + "name": "JoinerServiceConfig", + "package": "@medusajs/types" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "serviceName" + }, + { + "type": "literal", + "value": "primaryKeys" + }, + { + "type": "literal", + "value": "relationships" + }, + { + "type": "literal", + "value": "extends" + } + ] + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reflection", + "declaration": { + "id": 3329, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3330, + "name": "schema", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "GraphQL schema for the all module's available entities and fields" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3331, + "name": "relationships", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 3356, + "name": "ModuleJoinerRelationship", + "package": "@medusajs/types" + } + } + }, + { + "id": 3332, + "name": "extends", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 3333, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3334, + "name": "serviceName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3335, + "name": "fieldAlias", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 3336, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3337, + "name": "path", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3338, + "name": "forwardArgumentsOnPath", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 3339, + "name": "isList", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3337, + 3338, + 3339 + ] + } + ] + } + } + ] + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 3340, + "name": "relationship", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 3356, + "name": "ModuleJoinerRelationship", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3334, + 3335, + 3340 + ] + } + ] + } + } + } + }, + { + "id": 3341, + "name": "serviceName", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3342, + "name": "primaryKeys", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 3343, + "name": "isLink", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If the module is a link module" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3344, + "name": "linkableKeys", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Keys that can be used to link to other modules. e.g { product_id: \"Product\" } \"Product\" being the entity it refers to" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 3345, + "name": "isReadOnlyLink", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true it expands a RemoteQuery property but doesn't create a pivot table" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3346, + "name": "databaseConfig", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 3347, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3348, + "name": "tableName", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the pivot table. If not provided it is auto generated" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3349, + "name": "idPrefix", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Prefix for the id column. If not provided it is \"link\"" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3350, + "name": "extraFields", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 3351, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3352, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "date" + }, + { + "type": "literal", + "value": "time" + }, + { + "type": "literal", + "value": "datetime" + }, + { + "type": "literal", + "value": "bigint" + }, + { + "type": "literal", + "value": "blob" + }, + { + "type": "literal", + "value": "uint8array" + }, + { + "type": "literal", + "value": "array" + }, + { + "type": "literal", + "value": "enumArray" + }, + { + "type": "literal", + "value": "enum" + }, + { + "type": "literal", + "value": "json" + }, + { + "type": "literal", + "value": "integer" + }, + { + "type": "literal", + "value": "smallint" + }, + { + "type": "literal", + "value": "tinyint" + }, + { + "type": "literal", + "value": "mediumint" + }, + { + "type": "literal", + "value": "float" + }, + { + "type": "literal", + "value": "double" + }, + { + "type": "literal", + "value": "boolean" + }, + { + "type": "literal", + "value": "decimal" + }, + { + "type": "literal", + "value": "string" + }, + { + "type": "literal", + "value": "uuid" + }, + { + "type": "literal", + "value": "text" + } + ] + } + }, + { + "id": 3353, + "name": "defaultValue", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3354, + "name": "nullable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3355, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Mikro-orm options for the column" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3352, + 3353, + 3354, + 3355 + ] + } + ] + } + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3348, + 3349, + 3350 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3330, + 3331, + 3332, + 3341, + 3342, + 3343, + 3344, + 3345, + 3346 + ] + } + ] + } + } + ] + } + }, + { + "id": 3356, + "name": "ModuleJoinerRelationship", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 6842, + "name": "JoinerRelationship", + "package": "@medusajs/types" + }, + { + "type": "reflection", + "declaration": { + "id": 3357, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3358, + "name": "isInternalService", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the relationship is an internal service from the medusa core TODO: Remove when there are no more \"internal\" services" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3359, + "name": "deleteCascade", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the link joiner will cascade deleting the relationship" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3358, + 3359 + ] + } + ] + } + } + ] + } + }, + { + "id": 3360, + "name": "ModuleExports", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3361, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3362, + "name": "service", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 3241, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Constructor", + "package": "@medusajs/types" + } + }, + { + "id": 3363, + "name": "loaders", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 3319, + "name": "ModuleLoaderFunction", + "package": "@medusajs/types" + } + } + }, + { + "id": 3364, + "name": "migrations", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "property will be removed in future versions" + } + ] + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + }, + { + "id": 3365, + "name": "models", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "property will be removed in future versions" + } + ] + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 3241, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Constructor", + "package": "@medusajs/types" + } + } + }, + { + "id": 3366, + "name": "runMigrations", + "variant": "declaration", + "kind": 2048, + "flags": { + "isOptional": true + }, + "signatures": [ + { + "id": 3367, + "name": "runMigrations", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3368, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 3312, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "LoaderOptions", + "package": "@medusajs/types" + } + }, + { + "id": 3369, + "name": "moduleDeclaration", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 3254, + "name": "InternalModuleDeclaration", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3370, + "name": "revertMigration", + "variant": "declaration", + "kind": 2048, + "flags": { + "isOptional": true + }, + "signatures": [ + { + "id": 3371, + "name": "revertMigration", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3372, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 3312, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "LoaderOptions", + "package": "@medusajs/types" + } + }, + { + "id": 3373, + "name": "moduleDeclaration", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 3254, + "name": "InternalModuleDeclaration", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3362, + 3363, + 3364, + 3365 + ] + }, + { + "title": "Methods", + "children": [ + 3366, + 3370 + ] + } + ] + } + } + }, + { + "id": 3374, + "name": "ModuleServiceInitializeOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 3375, + "name": "database", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3376, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3377, + "name": "connection", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Forces to use a shared knex connection" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 3378, + "name": "clientUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3379, + "name": "schema", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3380, + "name": "host", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3381, + "name": "port", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3382, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3383, + "name": "password", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3384, + "name": "database", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3385, + "name": "driverOptions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + { + "type": "reflection", + "declaration": { + "id": 3386, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3387, + "name": "connection", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3387 + ] + } + ] + } + } + ] + } + }, + { + "id": 3388, + "name": "debug", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3389, + "name": "pool", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3377, + 3378, + 3379, + 3380, + 3381, + 3382, + 3383, + 3384, + 3385, + 3388, + 3389 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3375 + ] + } + ] + }, + { + "id": 3390, + "name": "ModuleServiceInitializeCustomDataLayerOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3391, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3392, + "name": "manager", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 3393, + "name": "repositories", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 3394, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "indexSignature": { + "id": 3395, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "parameters": [ + { + "id": 3396, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": 3241, + "typeArguments": [ + { + "type": "reference", + "target": 2056, + "name": "RepositoryService", + "package": "@medusajs/types" + } + ], + "name": "Constructor", + "package": "@medusajs/types" + } + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3392, + 3393 + ] + } + ] + } + } + }, + { + "id": 3397, + "name": "ModuleBootstrapDeclaration", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3254, + "name": "InternalModuleDeclaration", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 3265, + "name": "ExternalModuleDeclaration", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3398, + "name": "RemoteQueryFunction", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3399, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "signatures": [ + { + "id": 3400, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3401, + "name": "query", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 6875, + "name": "RemoteJoinerQuery", + "package": "@medusajs/types" + }, + { + "type": "intrinsic", + "name": "object" + } + ] + } + }, + { + "id": 3402, + "name": "variables", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 3403, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 6893, + "name": "RemoteJoinerOptions", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise", + "package": "typescript" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ] + } + } + }, + { + "id": 3404, + "name": "IModuleService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "extendedBy": [ + { + "type": "reference", + "target": 50, + "name": "IApiKeyModuleService" + }, + { + "type": "reference", + "target": 125, + "name": "IAuthModuleService" + }, + { + "type": "reference", + "target": 855, + "name": "ICartModuleService" + }, + { + "type": "reference", + "target": 1740, + "name": "ICustomerModuleService" + }, + { + "type": "reference", + "target": 2794, + "name": "IFulfillmentModuleService" + }, + { + "type": "reference", + "target": 4346, + "name": "IOrderModuleService" + }, + { + "type": "reference", + "target": 5078, + "name": "IPromotionModuleService" + }, + { + "type": "reference", + "target": 5297, + "name": "ISalesChannelModuleService" + }, + { + "type": "reference", + "target": 5574, + "name": "ITaxModuleService" + }, + { + "type": "reference", + "target": 5792, + "name": "IUserModuleService" + }, + { + "type": "reference", + "target": 6202, + "name": "IStoreModuleService" + }, + { + "type": "reference", + "target": 6284, + "name": "ICurrencyModuleService" + }, + { + "type": "reference", + "target": 6746, + "name": "IFileModuleService" + }, + { + "type": "reference", + "target": 6911, + "name": "ILinkModule" + }, + { + "type": "reference", + "target": 7238, + "name": "IPaymentModuleService" + }, + { + "type": "reference", + "target": 7782, + "name": "IRegionModuleService" + } + ] + }, + { + "id": 3418, + "name": "InternalModuleService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 3419, + "name": "__container__", + "variant": "declaration", + "kind": 262144, + "flags": {}, + "getSignature": { + "id": 3420, + "name": "__container__", + "variant": "signature", + "kind": 524288, + "flags": {}, + "type": { + "type": "reference", + "target": 3518, + "name": "TContainer", + "package": "@medusajs/types", + "qualifiedName": "InternalModuleService.TContainer", + "refersToTypeParameter": true + } + } + }, + { + "id": 3421, + "name": "retrieve", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3422, + "name": "retrieve", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3423, + "name": "idOrObject", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3424, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 3425, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3516, + "name": "TEntity", + "package": "@medusajs/types", + "qualifiedName": "InternalModuleService.TEntity", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 3426, + "name": "retrieve", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3427, + "name": "idOrObject", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 3428, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 3429, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3516, + "name": "TEntity", + "package": "@medusajs/types", + "qualifiedName": "InternalModuleService.TEntity", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3430, + "name": "list", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3431, + "name": "list", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3432, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 3433, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 3434, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3435, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 3436, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3516, + "name": "TEntity", + "package": "@medusajs/types", + "qualifiedName": "InternalModuleService.TEntity", + "refersToTypeParameter": true + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3437, + "name": "listAndCount", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3438, + "name": "listAndCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3439, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 3440, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 3441, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3442, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 3443, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3516, + "name": "TEntity", + "package": "@medusajs/types", + "qualifiedName": "InternalModuleService.TEntity", + "refersToTypeParameter": true + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3444, + "name": "create", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3445, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3446, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + }, + { + "id": 3447, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3516, + "name": "TEntity", + "package": "@medusajs/types", + "qualifiedName": "InternalModuleService.TEntity", + "refersToTypeParameter": true + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 3448, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3449, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 3450, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3516, + "name": "TEntity", + "package": "@medusajs/types", + "qualifiedName": "InternalModuleService.TEntity", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3451, + "name": "update", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3452, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3453, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + }, + { + "id": 3454, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3516, + "name": "TEntity", + "package": "@medusajs/types", + "qualifiedName": "InternalModuleService.TEntity", + "refersToTypeParameter": true + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 3455, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3456, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 3457, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3516, + "name": "TEntity", + "package": "@medusajs/types", + "qualifiedName": "InternalModuleService.TEntity", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 3458, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3459, + "name": "selectorAndData", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3460, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3461, + "name": "selector", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 3462, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 3463, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3464, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3461, + 3464 + ] + } + ] + } + } + }, + { + "id": 3465, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3516, + "name": "TEntity", + "package": "@medusajs/types", + "qualifiedName": "InternalModuleService.TEntity", + "refersToTypeParameter": true + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 3466, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3467, + "name": "selectorAndData", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 3468, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3469, + "name": "selector", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 3470, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 3471, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3472, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3469, + 3472 + ] + } + ] + } + } + } + }, + { + "id": 3473, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3516, + "name": "TEntity", + "package": "@medusajs/types", + "qualifiedName": "InternalModuleService.TEntity", + "refersToTypeParameter": true + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3474, + "name": "delete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3475, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3476, + "name": "idOrSelector", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3477, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 3478, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3479, + "name": "idOrSelector", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 3480, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 3481, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3482, + "name": "idOrSelector", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 3483, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 3484, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3485, + "name": "idOrSelector", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "object" + } + } + }, + { + "id": 3486, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 3487, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3488, + "name": "idOrSelector", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3489, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3490, + "name": "selector", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 3491, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 3492, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3490 + ] + } + ] + } + } + }, + { + "id": 3493, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3494, + "name": "softDelete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3495, + "name": "softDelete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3496, + "name": "idsOrFilter", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reflection", + "declaration": { + "id": 3497, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + } + }, + { + "id": 3498, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3516, + "name": "TEntity", + "package": "@medusajs/types", + "qualifiedName": "InternalModuleService.TEntity", + "refersToTypeParameter": true + } + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3499, + "name": "restore", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3500, + "name": "restore", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3501, + "name": "idsOrFilter", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reflection", + "declaration": { + "id": 3502, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + } + }, + { + "id": 3503, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3516, + "name": "TEntity", + "package": "@medusajs/types", + "qualifiedName": "InternalModuleService.TEntity", + "refersToTypeParameter": true + } + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3504, + "name": "upsert", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3505, + "name": "upsert", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3506, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + }, + { + "id": 3507, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3516, + "name": "TEntity", + "package": "@medusajs/types", + "qualifiedName": "InternalModuleService.TEntity", + "refersToTypeParameter": true + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 3508, + "name": "upsert", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3509, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 3510, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3516, + "name": "TEntity", + "package": "@medusajs/types", + "qualifiedName": "InternalModuleService.TEntity", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 3511, + "name": "upsertWithReplace", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3512, + "name": "upsertWithReplace", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 3513, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + }, + { + "id": 3514, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2053, + "typeArguments": [ + { + "type": "reference", + "target": 3516, + "name": "TEntity", + "package": "@medusajs/types", + "qualifiedName": "InternalModuleService.TEntity", + "refersToTypeParameter": true + } + ], + "name": "UpsertWithReplaceConfig", + "package": "@medusajs/types" + } + }, + { + "id": 3515, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3516, + "name": "TEntity", + "package": "@medusajs/types", + "qualifiedName": "InternalModuleService.TEntity", + "refersToTypeParameter": true + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Accessors", + "children": [ + 3419 + ] + }, + { + "title": "Methods", + "children": [ + 3421, + 3430, + 3437, + 3444, + 3451, + 3474, + 3494, + 3499, + 3504, + 3511 + ] + } + ], + "typeParameters": [ + { + "id": 3516, + "name": "TEntity", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3517, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + }, + { + "id": 3518, + "name": "TContainer", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "object" + }, + "default": { + "type": "intrinsic", + "name": "object" + } + } + ] + }, + { + "id": 3519, + "name": "ModuleProviderExports", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3520, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3521, + "name": "services", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 3241, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Constructor", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3521 + ] + } + ] + } + } + }, + { + "id": 3522, + "name": "ModuleProvider", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3523, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3524, + "name": "resolve", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 3519, + "name": "ModuleProviderExports", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3525, + "name": "provider_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3526, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3524, + 3525, + 3526 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Enumerations", + "children": [ + 3248, + 3251 + ] + }, + { + "title": "Interfaces", + "children": [ + 3374, + 3404, + 3418 + ] + }, + { + "title": "Type Aliases", + "children": [ + 3241, + 3246, + 3247, + 3254, + 3265, + 3277, + 3285, + 3296, + 3303, + 3308, + 3312, + 3319, + 3324, + 3328, + 3356, + 3360, + 3390, + 3397, + 3398, + 3519, + 3522 + ] + } + ] + }, + { + "id": 8005, + "name": "ModuleDeclaration", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3265, + "name": "ExternalModuleDeclaration", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 3254, + "name": "InternalModuleDeclaration", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3527, + "name": "OrderTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 3528, + "name": "OrderSummaryDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 3529, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 3530, + "name": "total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3531, + "name": "subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3532, + "name": "total_tax", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3533, + "name": "ordered_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3534, + "name": "fulfilled_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3535, + "name": "returned_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3536, + "name": "return_request_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3537, + "name": "write_off_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3538, + "name": "projected_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3539, + "name": "net_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3540, + "name": "net_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3541, + "name": "net_total_tax", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3542, + "name": "future_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3543, + "name": "future_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3544, + "name": "future_total_tax", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3545, + "name": "future_projected_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3546, + "name": "balance", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3547, + "name": "future_balance", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3530, + 3531, + 3532, + 3533, + 3534, + 3535, + 3536, + 3537, + 3538, + 3539, + 3540, + 3541, + 3542, + 3543, + 3544, + 3545, + 3546, + 3547 + ] + } + ] + } + } + }, + { + "id": 3548, + "name": "OrderAdjustmentLineDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 3549, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the adjustment line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3550, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the adjustment line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3551, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of the adjustment line" + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3552, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated order" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3553, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the adjustment line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3554, + "name": "promotion_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated promotion" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3555, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated provider" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3556, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the adjustment line was created" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 3557, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the adjustment line was updated" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3549, + 3550, + 3551, + 3552, + 3553, + 3554, + 3555, + 3556, + 3557 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 3558, + "name": "OrderShippingMethodAdjustmentDTO" + }, + { + "type": "reference", + "target": 3570, + "name": "OrderLineItemAdjustmentDTO" + } + ] + }, + { + "id": 3558, + "name": "OrderShippingMethodAdjustmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 3561, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the adjustment line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3549, + "name": "OrderAdjustmentLineDTO.id" + } + }, + { + "id": 3562, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the adjustment line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3550, + "name": "OrderAdjustmentLineDTO.code" + } + }, + { + "id": 3563, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of the adjustment line" + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3551, + "name": "OrderAdjustmentLineDTO.amount" + } + }, + { + "id": 3564, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated order" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3552, + "name": "OrderAdjustmentLineDTO.order_id" + } + }, + { + "id": 3565, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the adjustment line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3553, + "name": "OrderAdjustmentLineDTO.description" + } + }, + { + "id": 3566, + "name": "promotion_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated promotion" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3554, + "name": "OrderAdjustmentLineDTO.promotion_id" + } + }, + { + "id": 3567, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated provider" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3555, + "name": "OrderAdjustmentLineDTO.provider_id" + } + }, + { + "id": 3568, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the adjustment line was created" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 3556, + "name": "OrderAdjustmentLineDTO.created_at" + } + }, + { + "id": 3569, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the adjustment line was updated" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 3557, + "name": "OrderAdjustmentLineDTO.updated_at" + } + }, + { + "id": 3559, + "name": "shipping_method", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping method" + } + ] + }, + "type": { + "type": "reference", + "target": 3637, + "name": "OrderShippingMethodDTO", + "package": "@medusajs/types" + } + }, + { + "id": 3560, + "name": "shipping_method_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated shipping method" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3561, + 3562, + 3563, + 3564, + 3565, + 3566, + 3567, + 3568, + 3569, + 3559, + 3560 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3548, + "name": "OrderAdjustmentLineDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3570, + "name": "OrderLineItemAdjustmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 3573, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the adjustment line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3549, + "name": "OrderAdjustmentLineDTO.id" + } + }, + { + "id": 3574, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the adjustment line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3550, + "name": "OrderAdjustmentLineDTO.code" + } + }, + { + "id": 3575, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of the adjustment line" + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3551, + "name": "OrderAdjustmentLineDTO.amount" + } + }, + { + "id": 3576, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated order" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3552, + "name": "OrderAdjustmentLineDTO.order_id" + } + }, + { + "id": 3577, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the adjustment line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3553, + "name": "OrderAdjustmentLineDTO.description" + } + }, + { + "id": 3578, + "name": "promotion_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated promotion" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3554, + "name": "OrderAdjustmentLineDTO.promotion_id" + } + }, + { + "id": 3579, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated provider" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3555, + "name": "OrderAdjustmentLineDTO.provider_id" + } + }, + { + "id": 3580, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the adjustment line was created" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 3556, + "name": "OrderAdjustmentLineDTO.created_at" + } + }, + { + "id": 3581, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the adjustment line was updated" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 3557, + "name": "OrderAdjustmentLineDTO.updated_at" + } + }, + { + "id": 3571, + "name": "item", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated line item" + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 3691, + "name": "OrderLineItemDTO", + "package": "@medusajs/types" + } + }, + { + "id": 3572, + "name": "item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated line item" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3573, + 3574, + 3575, + 3576, + 3577, + 3578, + 3579, + 3580, + 3581, + 3571, + 3572 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3548, + "name": "OrderAdjustmentLineDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3582, + "name": "OrderTaxLineDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 3583, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the tax line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3584, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the tax line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3585, + "name": "tax_rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated tax rate" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3586, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the tax line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3587, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rate of the tax line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3588, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated provider" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3589, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the tax line was created" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 3590, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the tax line was updated" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3583, + 3584, + 3585, + 3586, + 3587, + 3588, + 3589, + 3590 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 3591, + "name": "OrderShippingMethodTaxLineDTO" + }, + { + "type": "reference", + "target": 3606, + "name": "OrderLineItemTaxLineDTO" + } + ] + }, + { + "id": 3591, + "name": "OrderShippingMethodTaxLineDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 3598, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the tax line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3583, + "name": "OrderTaxLineDTO.id" + } + }, + { + "id": 3599, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the tax line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3584, + "name": "OrderTaxLineDTO.description" + } + }, + { + "id": 3600, + "name": "tax_rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated tax rate" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3585, + "name": "OrderTaxLineDTO.tax_rate_id" + } + }, + { + "id": 3601, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the tax line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3586, + "name": "OrderTaxLineDTO.code" + } + }, + { + "id": 3602, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rate of the tax line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 3587, + "name": "OrderTaxLineDTO.rate" + } + }, + { + "id": 3603, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated provider" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3588, + "name": "OrderTaxLineDTO.provider_id" + } + }, + { + "id": 3604, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the tax line was created" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 3589, + "name": "OrderTaxLineDTO.created_at" + } + }, + { + "id": 3605, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the tax line was updated" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 3590, + "name": "OrderTaxLineDTO.updated_at" + } + }, + { + "id": 3592, + "name": "shipping_method", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping method" + } + ] + }, + "type": { + "type": "reference", + "target": 3637, + "name": "OrderShippingMethodDTO", + "package": "@medusajs/types" + } + }, + { + "id": 3593, + "name": "shipping_method_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated shipping method" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3594, + "name": "total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total tax relative to the shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3595, + "name": "subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtotal tax relative to the shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3596, + "name": "raw_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw total tax relative to the shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3597, + "name": "raw_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw subtotal tax relative to the shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3598, + 3599, + 3600, + 3601, + 3602, + 3603, + 3604, + 3605, + 3592, + 3593, + 3594, + 3595, + 3596, + 3597 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3582, + "name": "OrderTaxLineDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3606, + "name": "OrderLineItemTaxLineDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 3613, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the tax line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3583, + "name": "OrderTaxLineDTO.id" + } + }, + { + "id": 3614, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the tax line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3584, + "name": "OrderTaxLineDTO.description" + } + }, + { + "id": 3615, + "name": "tax_rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated tax rate" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3585, + "name": "OrderTaxLineDTO.tax_rate_id" + } + }, + { + "id": 3616, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the tax line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3586, + "name": "OrderTaxLineDTO.code" + } + }, + { + "id": 3617, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rate of the tax line" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 3587, + "name": "OrderTaxLineDTO.rate" + } + }, + { + "id": 3618, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated provider" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3588, + "name": "OrderTaxLineDTO.provider_id" + } + }, + { + "id": 3619, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the tax line was created" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 3589, + "name": "OrderTaxLineDTO.created_at" + } + }, + { + "id": 3620, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the tax line was updated" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 3590, + "name": "OrderTaxLineDTO.updated_at" + } + }, + { + "id": 3607, + "name": "item", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated line item" + } + ] + }, + "type": { + "type": "reference", + "target": 3691, + "name": "OrderLineItemDTO", + "package": "@medusajs/types" + } + }, + { + "id": 3608, + "name": "item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated line item" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3609, + "name": "total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total tax relative to the item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3610, + "name": "subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtotal tax relative to the item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3611, + "name": "raw_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw total tax relative to the item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3612, + "name": "raw_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw subtotal tax relative to the item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3613, + 3614, + 3615, + 3616, + 3617, + 3618, + 3619, + 3620, + 3607, + 3608, + 3609, + 3610, + 3611, + 3612 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3582, + "name": "OrderTaxLineDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3621, + "name": "OrderAddressDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 3622, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the address" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3623, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer ID of the address" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3624, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first name of the address" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3625, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name of the address" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3626, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The phone number of the address" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3627, + "name": "company", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The company of the address" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3628, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first address line of the address" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3629, + "name": "address_2", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The second address line of the address" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3630, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city of the address" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3631, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The country code of the address" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3632, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province/state of the address" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3633, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The postal code of the address" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3634, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 3635, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the address was created." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 3636, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the address was updated." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3622, + 3623, + 3624, + 3625, + 3626, + 3627, + 3628, + 3629, + 3630, + 3631, + 3632, + 3633, + 3634, + 3635, + 3636 + ] + } + ] + }, + { + "id": 3637, + "name": "OrderShippingMethodDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 3638, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping method" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3639, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated order" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3640, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the shipping method" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3641, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the shipping method" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3642, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price of the shipping method" + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3643, + "name": "raw_amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw price of the shipping method" + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3644, + "name": "is_tax_inclusive", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the shipping method price is tax inclusive or not" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3645, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option the method was created from" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3646, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Additional data needed for fulfillment." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 3647, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 3648, + "name": "tax_lines", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated tax lines." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 3591, + "name": "OrderShippingMethodTaxLineDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 3649, + "name": "adjustments", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated adjustments." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 3558, + "name": "OrderShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 3650, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the shipping method was created." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 3651, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the shipping method was updated." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 3652, + "name": "original_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original total of the order shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3653, + "name": "original_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original subtotal of the order shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3654, + "name": "original_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original tax total of the order shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3655, + "name": "total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total of the order shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3656, + "name": "subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtotal of the order shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3657, + "name": "tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax total of the order shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3658, + "name": "discount_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount total of the order shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3659, + "name": "discount_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount tax total of the order shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3660, + "name": "raw_original_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original total of the order shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3661, + "name": "raw_original_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original subtotal of the order shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3662, + "name": "raw_original_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original tax total of the order shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3663, + "name": "raw_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw total of the order shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3664, + "name": "raw_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw subtotal of the order shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3665, + "name": "raw_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw tax total of the order shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3666, + "name": "raw_discount_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw discount total of the order shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3667, + "name": "raw_discount_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw discount tax total of the order shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3638, + 3639, + 3640, + 3641, + 3642, + 3643, + 3644, + 3645, + 3646, + 3647, + 3648, + 3649, + 3650, + 3651, + 3652, + 3653, + 3654, + 3655, + 3656, + 3657, + 3658, + 3659, + 3660, + 3661, + 3662, + 3663, + 3664, + 3665, + 3666, + 3667 + ] + } + ] + }, + { + "id": 3668, + "name": "OrderLineItemTotalsDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 3669, + "name": "original_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3670, + "name": "original_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original subtotal of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3671, + "name": "original_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original tax total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3672, + "name": "item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3673, + "name": "item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item subtotal of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3674, + "name": "item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item tax total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3675, + "name": "total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3676, + "name": "subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtotal of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3677, + "name": "tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3678, + "name": "discount_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3679, + "name": "discount_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount tax total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3680, + "name": "raw_original_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3681, + "name": "raw_original_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original subtotal of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3682, + "name": "raw_original_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original tax total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3683, + "name": "raw_item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3684, + "name": "raw_item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item subtotal of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3685, + "name": "raw_item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item tax total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3686, + "name": "raw_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3687, + "name": "raw_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw subtotal of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3688, + "name": "raw_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw tax total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3689, + "name": "raw_discount_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw discount total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3690, + "name": "raw_discount_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw discount tax total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3669, + 3670, + 3671, + 3672, + 3673, + 3674, + 3675, + 3676, + 3677, + 3678, + 3679, + 3680, + 3681, + 3682, + 3683, + 3684, + 3685, + 3686, + 3687, + 3688, + 3689, + 3690 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 3691, + "name": "OrderLineItemDTO" + } + ] + }, + { + "id": 3691, + "name": "OrderLineItemDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 3723, + "name": "original_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3669, + "name": "OrderLineItemTotalsDTO.original_total" + } + }, + { + "id": 3724, + "name": "original_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original subtotal of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3670, + "name": "OrderLineItemTotalsDTO.original_subtotal" + } + }, + { + "id": 3725, + "name": "original_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original tax total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3671, + "name": "OrderLineItemTotalsDTO.original_tax_total" + } + }, + { + "id": 3726, + "name": "item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3672, + "name": "OrderLineItemTotalsDTO.item_total" + } + }, + { + "id": 3727, + "name": "item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item subtotal of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3673, + "name": "OrderLineItemTotalsDTO.item_subtotal" + } + }, + { + "id": 3728, + "name": "item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item tax total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3674, + "name": "OrderLineItemTotalsDTO.item_tax_total" + } + }, + { + "id": 3729, + "name": "total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3675, + "name": "OrderLineItemTotalsDTO.total" + } + }, + { + "id": 3730, + "name": "subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtotal of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3676, + "name": "OrderLineItemTotalsDTO.subtotal" + } + }, + { + "id": 3731, + "name": "tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3677, + "name": "OrderLineItemTotalsDTO.tax_total" + } + }, + { + "id": 3732, + "name": "discount_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3678, + "name": "OrderLineItemTotalsDTO.discount_total" + } + }, + { + "id": 3733, + "name": "discount_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount tax total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3679, + "name": "OrderLineItemTotalsDTO.discount_tax_total" + } + }, + { + "id": 3734, + "name": "raw_original_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3680, + "name": "OrderLineItemTotalsDTO.raw_original_total" + } + }, + { + "id": 3735, + "name": "raw_original_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original subtotal of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3681, + "name": "OrderLineItemTotalsDTO.raw_original_subtotal" + } + }, + { + "id": 3736, + "name": "raw_original_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original tax total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3682, + "name": "OrderLineItemTotalsDTO.raw_original_tax_total" + } + }, + { + "id": 3737, + "name": "raw_item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3683, + "name": "OrderLineItemTotalsDTO.raw_item_total" + } + }, + { + "id": 3738, + "name": "raw_item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item subtotal of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3684, + "name": "OrderLineItemTotalsDTO.raw_item_subtotal" + } + }, + { + "id": 3739, + "name": "raw_item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item tax total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3685, + "name": "OrderLineItemTotalsDTO.raw_item_tax_total" + } + }, + { + "id": 3740, + "name": "raw_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3686, + "name": "OrderLineItemTotalsDTO.raw_total" + } + }, + { + "id": 3741, + "name": "raw_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw subtotal of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3687, + "name": "OrderLineItemTotalsDTO.raw_subtotal" + } + }, + { + "id": 3742, + "name": "raw_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw tax total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3688, + "name": "OrderLineItemTotalsDTO.raw_tax_total" + } + }, + { + "id": 3743, + "name": "raw_discount_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw discount total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3689, + "name": "OrderLineItemTotalsDTO.raw_discount_total" + } + }, + { + "id": 3744, + "name": "raw_discount_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw discount tax total of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3690, + "name": "OrderLineItemTotalsDTO.raw_discount_tax_total" + } + }, + { + "id": 3692, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the order line item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3693, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the order line item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3694, + "name": "subtitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtitle of the order line item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3695, + "name": "thumbnail", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The thumbnail of the order line item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3696, + "name": "variant_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the variant associated with the order line item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3697, + "name": "product_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the product associated with the order line item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3698, + "name": "product_title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the product associated with the order line item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3699, + "name": "product_description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the product associated with the order line item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3700, + "name": "product_subtitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtitle of the product associated with the order line item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3701, + "name": "product_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the product associated with the order line item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3702, + "name": "product_collection", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The collection of the product associated with the order line item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3703, + "name": "product_handle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The handle of the product associated with the order line item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3704, + "name": "variant_sku", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The SKU (stock keeping unit) of the variant associated with the order line item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3705, + "name": "variant_barcode", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The barcode of the variant associated with the order line item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3706, + "name": "variant_title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the variant associated with the order line item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3707, + "name": "variant_option_values", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The option values of the variant associated with the order line item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 3708, + "name": "requires_shipping", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Indicates whether the order line item requires shipping." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3709, + "name": "is_discountable", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Indicates whether the order line item is discountable." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3710, + "name": "is_tax_inclusive", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Indicates whether the order line item price is tax inclusive." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 3711, + "name": "compare_at_unit_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The compare at unit price of the order line item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3712, + "name": "raw_compare_at_unit_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw compare at unit price of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3713, + "name": "unit_price", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unit price of the order line item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3714, + "name": "raw_unit_price", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw unit price of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3715, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The quantity of the order line item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3716, + "name": "raw_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw quantity of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3717, + "name": "tax_lines", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated tax lines." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 3606, + "name": "OrderLineItemTaxLineDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 3718, + "name": "adjustments", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated adjustments." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 3570, + "name": "OrderLineItemAdjustmentDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 3719, + "name": "detail", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the item" + } + ] + }, + "type": { + "type": "reference", + "target": 3745, + "name": "OrderItemDTO", + "package": "@medusajs/types" + } + }, + { + "id": 3720, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date when the order line item was created." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 3721, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date when the order line item was last updated." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 3722, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3723, + 3724, + 3725, + 3726, + 3727, + 3728, + 3729, + 3730, + 3731, + 3732, + 3733, + 3734, + 3735, + 3736, + 3737, + 3738, + 3739, + 3740, + 3741, + 3742, + 3743, + 3744, + 3692, + 3693, + 3694, + 3695, + 3696, + 3697, + 3698, + 3699, + 3700, + 3701, + 3702, + 3703, + 3704, + 3705, + 3706, + 3707, + 3708, + 3709, + 3710, + 3711, + 3712, + 3713, + 3714, + 3715, + 3716, + 3717, + 3718, + 3719, + 3720, + 3721, + 3722 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3668, + "name": "OrderLineItemTotalsDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3745, + "name": "OrderItemDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 3746, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the order detail." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3747, + "name": "item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3748, + "name": "item", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The Line Item of the order detail." + } + ] + }, + "type": { + "type": "reference", + "target": 3691, + "name": "OrderLineItemDTO", + "package": "@medusajs/types" + } + }, + { + "id": 3749, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The quantity of the order line item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3750, + "name": "raw_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw quantity of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3751, + "name": "fulfilled_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfilled quantity of the order line item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3752, + "name": "raw_fulfilled_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw fulfilled quantity of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3753, + "name": "shipped_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipped quantity of the order line item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3754, + "name": "raw_shipped_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw shipped quantity of the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3755, + "name": "return_requested_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The quantity of return requested for the order line item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3756, + "name": "raw_return_requested_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw quantity of return requested for the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3757, + "name": "return_received_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The quantity of return received for the order line item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3758, + "name": "raw_return_received_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw quantity of return received for the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3759, + "name": "return_dismissed_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The quantity of return dismissed for the order line item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3760, + "name": "raw_return_dismissed_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw quantity of return dismissed for the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3761, + "name": "written_off_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The quantity of written off for the order line item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3762, + "name": "raw_written_off_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw quantity of written off for the order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3763, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The metadata of the order detail" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 3764, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date when the order line item was created." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 3765, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date when the order line item was last updated." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3746, + 3747, + 3748, + 3749, + 3750, + 3751, + 3752, + 3753, + 3754, + 3755, + 3756, + 3757, + 3758, + 3759, + 3760, + 3761, + 3762, + 3763, + 3764, + 3765 + ] + } + ] + }, + { + "id": 3766, + "name": "OrderDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 3767, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the order." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3768, + "name": "version", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The version of the order." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 3769, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the region the order belongs to." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3770, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the customer on the order." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3771, + "name": "sales_channel_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the sales channel the order belongs to." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3772, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email of the order." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3773, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency of the order" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3774, + "name": "shipping_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping address." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 3621, + "name": "OrderAddressDTO", + "package": "@medusajs/types" + } + }, + { + "id": 3775, + "name": "billing_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated billing address." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 3621, + "name": "OrderAddressDTO", + "package": "@medusajs/types" + } + }, + { + "id": 3776, + "name": "items", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated order details / line items." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 3691, + "name": "OrderLineItemDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 3777, + "name": "shipping_methods", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping methods" + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 3637, + "name": "OrderShippingMethodDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 3778, + "name": "transactions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tramsactions associated with the order" + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 3858, + "name": "OrderTransactionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 3779, + "name": "summary", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The summary of the order totals." + } + ] + }, + "type": { + "type": "reference", + "target": 3528, + "name": "OrderSummaryDTO", + "package": "@medusajs/types" + } + }, + { + "id": 3780, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 3781, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the order was created." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 3782, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the order was updated." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 3783, + "name": "original_item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original item total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3784, + "name": "original_item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original item subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3785, + "name": "original_item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original item tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3786, + "name": "item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3787, + "name": "item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3788, + "name": "item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3789, + "name": "original_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3790, + "name": "original_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3791, + "name": "original_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3792, + "name": "total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3793, + "name": "subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtotal of the order. (Excluding taxes)" + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3794, + "name": "tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3795, + "name": "discount_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3796, + "name": "discount_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3797, + "name": "gift_card_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The gift card total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3798, + "name": "gift_card_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The gift card tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3799, + "name": "shipping_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3800, + "name": "shipping_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3801, + "name": "shipping_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3802, + "name": "original_shipping_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original shipping total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3803, + "name": "original_shipping_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original shipping subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3804, + "name": "original_shipping_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original shipping tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3805, + "name": "raw_original_item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original item total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3806, + "name": "raw_original_item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original item subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3807, + "name": "raw_original_item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original item tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3808, + "name": "raw_item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3809, + "name": "raw_item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3810, + "name": "raw_item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3811, + "name": "raw_original_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3812, + "name": "raw_original_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3813, + "name": "raw_original_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3814, + "name": "raw_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3815, + "name": "raw_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw subtotal of the order. (Excluding taxes)" + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3816, + "name": "raw_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3817, + "name": "raw_discount_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw discount total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3818, + "name": "raw_discount_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw discount tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3819, + "name": "raw_gift_card_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw gift card total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3820, + "name": "raw_gift_card_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw gift card tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3821, + "name": "raw_shipping_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw shipping total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3822, + "name": "raw_shipping_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw shipping subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3823, + "name": "raw_shipping_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw shipping tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3824, + "name": "raw_original_shipping_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original shipping total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3825, + "name": "raw_original_shipping_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original shipping subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3826, + "name": "raw_original_shipping_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original shipping tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3767, + 3768, + 3769, + 3770, + 3771, + 3772, + 3773, + 3774, + 3775, + 3776, + 3777, + 3778, + 3779, + 3780, + 3781, + 3782, + 3783, + 3784, + 3785, + 3786, + 3787, + 3788, + 3789, + 3790, + 3791, + 3792, + 3793, + 3794, + 3795, + 3796, + 3797, + 3798, + 3799, + 3800, + 3801, + 3802, + 3803, + 3804, + 3805, + 3806, + 3807, + 3808, + 3809, + 3810, + 3811, + 3812, + 3813, + 3814, + 3815, + 3816, + 3817, + 3818, + 3819, + 3820, + 3821, + 3822, + 3823, + 3824, + 3825, + 3826 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 4790, + "name": "OrderWorkflowDTO" + } + ] + }, + { + "id": 3827, + "name": "OrderChangeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 3828, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the order change" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3829, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated order" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3830, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated order" + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 3766, + "name": "OrderDTO", + "package": "@medusajs/types" + } + }, + { + "id": 3831, + "name": "actions", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The actions of the order change" + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 3845, + "name": "OrderChangeActionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 3832, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The status of the order change" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3833, + "name": "requested_by", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The requested by of the order change" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3834, + "name": "requested_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the order change was requested" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 3835, + "name": "confirmed_by", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The confirmed by of the order change" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3836, + "name": "confirmed_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the order change was confirmed" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 3837, + "name": "declined_by", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The declined by of the order change" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3838, + "name": "declined_reason", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The declined reason of the order change" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3839, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The metadata of the order change" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 3840, + "name": "declined_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the order change was declined" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 3841, + "name": "canceled_by", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The canceled by of the order change" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3842, + "name": "canceled_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the order change was canceled" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 3843, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the order change was created" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 3844, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the order change was updated" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3828, + 3829, + 3830, + 3831, + 3832, + 3833, + 3834, + 3835, + 3836, + 3837, + 3838, + 3839, + 3840, + 3841, + 3842, + 3843, + 3844 + ] + } + ] + }, + { + "id": 3845, + "name": "OrderChangeActionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 3846, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the order change action" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3847, + "name": "order_change_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated order change" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3848, + "name": "order_change", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated order change" + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 3827, + "name": "OrderChangeDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3849, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated order" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3850, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated order" + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 3766, + "name": "OrderDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3851, + "name": "reference", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The reference of the order change action" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3852, + "name": "reference_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the reference" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3853, + "name": "action", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The action of the order change action" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3854, + "name": "details", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the order change action" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 3855, + "name": "internal_note", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The internal note of the order change action" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 3856, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the order change action was created" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 3857, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the order change action was updated" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3846, + 3847, + 3848, + 3849, + 3850, + 3851, + 3852, + 3853, + 3854, + 3855, + 3856, + 3857 + ] + } + ] + }, + { + "id": 3858, + "name": "OrderTransactionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 3859, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the transaction" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3860, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated order" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3861, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated order" + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 3766, + "name": "OrderDTO", + "package": "@medusajs/types" + } + }, + { + "id": 3862, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of the transaction" + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 3863, + "name": "raw_amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw amount of the transaction" + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + } + }, + { + "id": 3864, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of the transaction" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3865, + "name": "reference", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The reference of the transaction" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3866, + "name": "reference_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the reference" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3867, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The metadata of the transaction" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 3868, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the transaction was created" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 3869, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the transaction was updated" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3859, + 3860, + 3861, + 3862, + 3863, + 3864, + 3865, + 3866, + 3867, + 3868, + 3869 + ] + } + ] + }, + { + "id": 3870, + "name": "FilterableOrderProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object used to allow specifying flexible queries with and/or conditions." + } + ] + }, + "children": [ + { + "id": 3877, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3870, + "name": "FilterableOrderProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3870, + "name": "FilterableOrderProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 3878, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3870, + "name": "FilterableOrderProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3870, + "name": "FilterableOrderProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 3871, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3872, + "name": "sales_channel_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3873, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3874, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3875, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 3876, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3877, + 3878, + 3871, + 3872, + 3873, + 3874, + 3875, + 3876 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3870, + "name": "FilterableOrderProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3879, + "name": "FilterableOrderAddressProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object used to allow specifying flexible queries with and/or conditions." + } + ] + }, + "children": [ + { + "id": 3881, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3879, + "name": "FilterableOrderAddressProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3879, + "name": "FilterableOrderAddressProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 3882, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3879, + "name": "FilterableOrderAddressProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3879, + "name": "FilterableOrderAddressProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 3880, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3881, + 3882, + 3880 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3879, + "name": "FilterableOrderAddressProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3883, + "name": "FilterableOrderLineItemProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object used to allow specifying flexible queries with and/or conditions." + } + ] + }, + "children": [ + { + "id": 3889, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3883, + "name": "FilterableOrderLineItemProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3883, + "name": "FilterableOrderLineItemProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 3890, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3883, + "name": "FilterableOrderLineItemProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3883, + "name": "FilterableOrderLineItemProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 3884, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3885, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3886, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3887, + "name": "variant_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3888, + "name": "product_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3889, + 3890, + 3884, + 3885, + 3886, + 3887, + 3888 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3883, + "name": "FilterableOrderLineItemProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3891, + "name": "FilterableOrderLineItemAdjustmentProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object used to allow specifying flexible queries with and/or conditions." + } + ] + }, + "children": [ + { + "id": 3897, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3891, + "name": "FilterableOrderLineItemAdjustmentProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3891, + "name": "FilterableOrderLineItemAdjustmentProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 3898, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3891, + "name": "FilterableOrderLineItemAdjustmentProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3891, + "name": "FilterableOrderLineItemAdjustmentProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 3892, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3893, + "name": "item_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3894, + "name": "promotion_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3895, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3896, + "name": "item", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 3883, + "name": "FilterableOrderLineItemProps", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3897, + 3898, + 3892, + 3893, + 3894, + 3895, + 3896 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3891, + "name": "FilterableOrderLineItemAdjustmentProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3899, + "name": "FilterableOrderShippingMethodProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object used to allow specifying flexible queries with and/or conditions." + } + ] + }, + "children": [ + { + "id": 3904, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3899, + "name": "FilterableOrderShippingMethodProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3899, + "name": "FilterableOrderShippingMethodProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 3905, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3899, + "name": "FilterableOrderShippingMethodProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3899, + "name": "FilterableOrderShippingMethodProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 3900, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3901, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3902, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3903, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3904, + 3905, + 3900, + 3901, + 3902, + 3903 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3899, + "name": "FilterableOrderShippingMethodProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3906, + "name": "FilterableOrderShippingMethodAdjustmentProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object used to allow specifying flexible queries with and/or conditions." + } + ] + }, + "children": [ + { + "id": 3912, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3906, + "name": "FilterableOrderShippingMethodAdjustmentProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3906, + "name": "FilterableOrderShippingMethodAdjustmentProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 3913, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3906, + "name": "FilterableOrderShippingMethodAdjustmentProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3906, + "name": "FilterableOrderShippingMethodAdjustmentProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 3907, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3908, + "name": "shipping_method_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3909, + "name": "promotion_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3910, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3911, + "name": "shipping_method", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 3899, + "name": "FilterableOrderShippingMethodProps", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3912, + 3913, + 3907, + 3908, + 3909, + 3910, + 3911 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3906, + "name": "FilterableOrderShippingMethodAdjustmentProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3914, + "name": "FilterableOrderLineItemTaxLineProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object used to allow specifying flexible queries with and/or conditions." + } + ] + }, + "children": [ + { + "id": 3922, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3914, + "name": "FilterableOrderLineItemTaxLineProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3914, + "name": "FilterableOrderLineItemTaxLineProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 3923, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3914, + "name": "FilterableOrderLineItemTaxLineProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3914, + "name": "FilterableOrderLineItemTaxLineProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 3915, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3916, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3917, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3918, + "name": "tax_rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3919, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3920, + "name": "item_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3921, + "name": "item", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 3883, + "name": "FilterableOrderLineItemProps", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3922, + 3923, + 3915, + 3916, + 3917, + 3918, + 3919, + 3920, + 3921 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3914, + "name": "FilterableOrderLineItemTaxLineProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3924, + "name": "FilterableOrderShippingMethodTaxLineProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object used to allow specifying flexible queries with and/or conditions." + } + ] + }, + "children": [ + { + "id": 3932, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3924, + "name": "FilterableOrderShippingMethodTaxLineProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3924, + "name": "FilterableOrderShippingMethodTaxLineProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 3933, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3924, + "name": "FilterableOrderShippingMethodTaxLineProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3924, + "name": "FilterableOrderShippingMethodTaxLineProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 3925, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3926, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3927, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3928, + "name": "tax_rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3929, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3930, + "name": "shipping_method_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 3931, + "name": "shipping_method", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 3899, + "name": "FilterableOrderShippingMethodProps", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3932, + 3933, + 3925, + 3926, + 3927, + 3928, + 3929, + 3930, + 3931 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3924, + "name": "FilterableOrderShippingMethodTaxLineProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3934, + "name": "FilterableOrderChangeProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object used to allow specifying flexible queries with and/or conditions." + } + ] + }, + "children": [ + { + "id": 3946, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3934, + "name": "FilterableOrderChangeProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3934, + "name": "FilterableOrderChangeProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 3947, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3934, + "name": "FilterableOrderChangeProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3934, + "name": "FilterableOrderChangeProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 3935, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3936, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3937, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3938, + "name": "requested_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3939, + "name": "confirmed_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3940, + "name": "declined_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3941, + "name": "canceled_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3942, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 3943, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 3944, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 3945, + "name": "canceled_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3946, + 3947, + 3935, + 3936, + 3937, + 3938, + 3939, + 3940, + 3941, + 3942, + 3943, + 3944, + 3945 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3934, + "name": "FilterableOrderChangeProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3948, + "name": "FilterableOrderChangeActionProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object used to allow specifying flexible queries with and/or conditions." + } + ] + }, + "children": [ + { + "id": 3953, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3948, + "name": "FilterableOrderChangeActionProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3948, + "name": "FilterableOrderChangeActionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 3954, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3948, + "name": "FilterableOrderChangeActionProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3948, + "name": "FilterableOrderChangeActionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 3949, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3950, + "name": "order_change_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3951, + "name": "reference", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3952, + "name": "reference_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3953, + 3954, + 3949, + 3950, + 3951, + 3952 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3948, + "name": "FilterableOrderChangeActionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3955, + "name": "FilterableOrderTransactionProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object used to allow specifying flexible queries with and/or conditions." + } + ] + }, + "children": [ + { + "id": 3962, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3955, + "name": "FilterableOrderTransactionProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3955, + "name": "FilterableOrderTransactionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 3963, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3955, + "name": "FilterableOrderTransactionProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3955, + "name": "FilterableOrderTransactionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 3956, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3957, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3958, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3959, + "name": "reference", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3960, + "name": "reference_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3961, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3962, + 3963, + 3956, + 3957, + 3958, + 3959, + 3960, + 3961 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3955, + "name": "FilterableOrderTransactionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3964, + "name": "FilterableOrderItemProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object used to allow specifying flexible queries with and/or conditions." + } + ] + }, + "children": [ + { + "id": 3969, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3964, + "name": "FilterableOrderItemProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3964, + "name": "FilterableOrderItemProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 3970, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3964, + "name": "FilterableOrderItemProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3964, + "name": "FilterableOrderItemProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 3965, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3966, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3967, + "name": "version", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 3968, + "name": "item_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3969, + 3970, + 3965, + 3966, + 3967, + 3968 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 3964, + "name": "FilterableOrderItemProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3971, + "name": "UpsertOrderAddressDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ADDRESS START" + } + ] + }, + "children": [ + { + "id": 3972, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3973, + "name": "company", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3974, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3975, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3976, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3977, + "name": "address_2", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3978, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3979, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3980, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3981, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3982, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 3983, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3972, + 3973, + 3974, + 3975, + 3976, + 3977, + 3978, + 3979, + 3980, + 3981, + 3982, + 3983 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 3984, + "name": "UpdateOrderAddressDTO" + }, + { + "type": "reference", + "target": 3998, + "name": "CreateOrderAddressDTO" + } + ] + }, + { + "id": 3984, + "name": "UpdateOrderAddressDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ADDRESS START" + } + ] + }, + "children": [ + { + "id": 3986, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3972, + "name": "UpsertOrderAddressDTO.customer_id" + } + }, + { + "id": 3987, + "name": "company", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3973, + "name": "UpsertOrderAddressDTO.company" + } + }, + { + "id": 3988, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3974, + "name": "UpsertOrderAddressDTO.first_name" + } + }, + { + "id": 3989, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3975, + "name": "UpsertOrderAddressDTO.last_name" + } + }, + { + "id": 3990, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3976, + "name": "UpsertOrderAddressDTO.address_1" + } + }, + { + "id": 3991, + "name": "address_2", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3977, + "name": "UpsertOrderAddressDTO.address_2" + } + }, + { + "id": 3992, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3978, + "name": "UpsertOrderAddressDTO.city" + } + }, + { + "id": 3993, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3979, + "name": "UpsertOrderAddressDTO.country_code" + } + }, + { + "id": 3994, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3980, + "name": "UpsertOrderAddressDTO.province" + } + }, + { + "id": 3995, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3981, + "name": "UpsertOrderAddressDTO.postal_code" + } + }, + { + "id": 3996, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3982, + "name": "UpsertOrderAddressDTO.phone" + } + }, + { + "id": 3997, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 3983, + "name": "UpsertOrderAddressDTO.metadata" + } + }, + { + "id": 3985, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3986, + 3987, + 3988, + 3989, + 3990, + 3991, + 3992, + 3993, + 3994, + 3995, + 3996, + 3997, + 3985 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3971, + "name": "UpsertOrderAddressDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 3998, + "name": "CreateOrderAddressDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ADDRESS START" + } + ] + }, + "children": [ + { + "id": 3999, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3972, + "name": "UpsertOrderAddressDTO.customer_id" + } + }, + { + "id": 4000, + "name": "company", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3973, + "name": "UpsertOrderAddressDTO.company" + } + }, + { + "id": 4001, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3974, + "name": "UpsertOrderAddressDTO.first_name" + } + }, + { + "id": 4002, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3975, + "name": "UpsertOrderAddressDTO.last_name" + } + }, + { + "id": 4003, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3976, + "name": "UpsertOrderAddressDTO.address_1" + } + }, + { + "id": 4004, + "name": "address_2", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3977, + "name": "UpsertOrderAddressDTO.address_2" + } + }, + { + "id": 4005, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3978, + "name": "UpsertOrderAddressDTO.city" + } + }, + { + "id": 4006, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3979, + "name": "UpsertOrderAddressDTO.country_code" + } + }, + { + "id": 4007, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3980, + "name": "UpsertOrderAddressDTO.province" + } + }, + { + "id": 4008, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3981, + "name": "UpsertOrderAddressDTO.postal_code" + } + }, + { + "id": 4009, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3982, + "name": "UpsertOrderAddressDTO.phone" + } + }, + { + "id": 4010, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 3983, + "name": "UpsertOrderAddressDTO.metadata" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 3999, + 4000, + 4001, + 4002, + 4003, + 4004, + 4005, + 4006, + 4007, + 4008, + 4009, + 4010 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3971, + "name": "UpsertOrderAddressDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 4011, + "name": "CreateOrderDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ORDER START" + } + ] + }, + "children": [ + { + "id": 4012, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4013, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4014, + "name": "sales_channel_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4015, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4016, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4017, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4018, + "name": "shipping_address_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4019, + "name": "billing_address_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4020, + "name": "shipping_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3984, + "name": "UpdateOrderAddressDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 3998, + "name": "CreateOrderAddressDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 4021, + "name": "billing_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3984, + "name": "UpdateOrderAddressDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 3998, + "name": "CreateOrderAddressDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 4022, + "name": "no_notification", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4023, + "name": "items", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4115, + "name": "CreateOrderLineItemDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4024, + "name": "shipping_methods", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4197, + "name": "CreateOrderShippingMethodDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "order_id" + } + ], + "name": "Omit", + "package": "typescript" + } + } + }, + { + "id": 4025, + "name": "transactions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4275, + "name": "CreateOrderTransactionDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "order_id" + } + ], + "name": "Omit", + "package": "typescript" + } + } + }, + { + "id": 4026, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 4027, + "name": "promo_codes", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4012, + 4013, + 4014, + 4015, + 4016, + 4017, + 4018, + 4019, + 4020, + 4021, + 4022, + 4023, + 4024, + 4025, + 4026, + 4027 + ] + } + ] + }, + { + "id": 4028, + "name": "UpdateOrderDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4029, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4030, + "name": "version", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4031, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4032, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4033, + "name": "sales_channel_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4034, + "name": "items", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4115, + "name": "CreateOrderLineItemDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4035, + "name": "shipping_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3984, + "name": "UpdateOrderAddressDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 3998, + "name": "CreateOrderAddressDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 4036, + "name": "billing_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3984, + "name": "UpdateOrderAddressDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 3998, + "name": "CreateOrderAddressDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 4037, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4038, + "name": "no_notification", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4039, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4029, + 4030, + 4031, + 4032, + 4033, + 4034, + 4035, + 4036, + 4037, + 4038, + 4039 + ] + } + ] + }, + { + "id": 4040, + "name": "CreateOrderAdjustmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ADJUSTMENT START" + } + ] + }, + "children": [ + { + "id": 4041, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4042, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4043, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4044, + "name": "promotion_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4045, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4041, + 4042, + 4043, + 4044, + 4045 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 4053, + "name": "CreateOrderLineItemAdjustmentDTO" + } + ] + }, + { + "id": 4046, + "name": "UpdateOrderAdjustmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4047, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4048, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4049, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4050, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4051, + "name": "promotion_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4052, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4047, + 4048, + 4049, + 4050, + 4051, + 4052 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 4060, + "name": "UpdateOrderLineItemAdjustmentDTO" + } + ] + }, + { + "id": 4053, + "name": "CreateOrderLineItemAdjustmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ADJUSTMENT START" + } + ] + }, + "children": [ + { + "id": 4055, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4041, + "name": "CreateOrderAdjustmentDTO.code" + } + }, + { + "id": 4056, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 4042, + "name": "CreateOrderAdjustmentDTO.amount" + } + }, + { + "id": 4057, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4043, + "name": "CreateOrderAdjustmentDTO.description" + } + }, + { + "id": 4058, + "name": "promotion_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4044, + "name": "CreateOrderAdjustmentDTO.promotion_id" + } + }, + { + "id": 4059, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4045, + "name": "CreateOrderAdjustmentDTO.provider_id" + } + }, + { + "id": 4054, + "name": "item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4055, + 4056, + 4057, + 4058, + 4059, + 4054 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 4040, + "name": "CreateOrderAdjustmentDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 4060, + "name": "UpdateOrderLineItemAdjustmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4062, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4047, + "name": "UpdateOrderAdjustmentDTO.id" + } + }, + { + "id": 4063, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4048, + "name": "UpdateOrderAdjustmentDTO.code" + } + }, + { + "id": 4064, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 4049, + "name": "UpdateOrderAdjustmentDTO.amount" + } + }, + { + "id": 4065, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4050, + "name": "UpdateOrderAdjustmentDTO.description" + } + }, + { + "id": 4066, + "name": "promotion_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4051, + "name": "UpdateOrderAdjustmentDTO.promotion_id" + } + }, + { + "id": 4067, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4052, + "name": "UpdateOrderAdjustmentDTO.provider_id" + } + }, + { + "id": 4061, + "name": "item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4062, + 4063, + 4064, + 4065, + 4066, + 4067, + 4061 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 4046, + "name": "UpdateOrderAdjustmentDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 4068, + "name": "UpsertOrderLineItemAdjustmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4069, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4070, + "name": "item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4071, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4072, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4073, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4074, + "name": "promotion_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4075, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4069, + 4070, + 4071, + 4072, + 4073, + 4074, + 4075 + ] + } + ] + }, + { + "id": 4076, + "name": "CreateOrderTaxLineDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "TAX LINES START" + } + ] + }, + "children": [ + { + "id": 4077, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4078, + "name": "tax_rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4079, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4080, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4081, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4077, + 4078, + 4079, + 4080, + 4081 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 4089, + "name": "CreateOrderShippingMethodTaxLineDTO" + }, + { + "type": "reference", + "target": 4102, + "name": "CreateOrderLineItemTaxLineDTO" + } + ] + }, + { + "id": 4082, + "name": "UpdateOrderTaxLineDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4083, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4084, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4085, + "name": "tax_rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4086, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4087, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4088, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4083, + 4084, + 4085, + 4086, + 4087, + 4088 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 4095, + "name": "UpdateOrderShippingMethodTaxLineDTO" + }, + { + "type": "reference", + "target": 4108, + "name": "UpdateOrderLineItemTaxLineDTO" + } + ] + }, + { + "id": 4089, + "name": "CreateOrderShippingMethodTaxLineDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "TAX LINES START" + } + ] + }, + "children": [ + { + "id": 4090, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4077, + "name": "CreateOrderTaxLineDTO.description" + } + }, + { + "id": 4091, + "name": "tax_rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4078, + "name": "CreateOrderTaxLineDTO.tax_rate_id" + } + }, + { + "id": 4092, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4079, + "name": "CreateOrderTaxLineDTO.code" + } + }, + { + "id": 4093, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 4080, + "name": "CreateOrderTaxLineDTO.rate" + } + }, + { + "id": 4094, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4081, + "name": "CreateOrderTaxLineDTO.provider_id" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4090, + 4091, + 4092, + 4093, + 4094 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 4076, + "name": "CreateOrderTaxLineDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 4095, + "name": "UpdateOrderShippingMethodTaxLineDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4096, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4083, + "name": "UpdateOrderTaxLineDTO.id" + } + }, + { + "id": 4097, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4084, + "name": "UpdateOrderTaxLineDTO.description" + } + }, + { + "id": 4098, + "name": "tax_rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4085, + "name": "UpdateOrderTaxLineDTO.tax_rate_id" + } + }, + { + "id": 4099, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4086, + "name": "UpdateOrderTaxLineDTO.code" + } + }, + { + "id": 4100, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 4087, + "name": "UpdateOrderTaxLineDTO.rate" + } + }, + { + "id": 4101, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4088, + "name": "UpdateOrderTaxLineDTO.provider_id" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4096, + 4097, + 4098, + 4099, + 4100, + 4101 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 4082, + "name": "UpdateOrderTaxLineDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 4102, + "name": "CreateOrderLineItemTaxLineDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "TAX LINES START" + } + ] + }, + "children": [ + { + "id": 4103, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4077, + "name": "CreateOrderTaxLineDTO.description" + } + }, + { + "id": 4104, + "name": "tax_rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4078, + "name": "CreateOrderTaxLineDTO.tax_rate_id" + } + }, + { + "id": 4105, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4079, + "name": "CreateOrderTaxLineDTO.code" + } + }, + { + "id": 4106, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 4080, + "name": "CreateOrderTaxLineDTO.rate" + } + }, + { + "id": 4107, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4081, + "name": "CreateOrderTaxLineDTO.provider_id" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4103, + 4104, + 4105, + 4106, + 4107 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 4076, + "name": "CreateOrderTaxLineDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 4108, + "name": "UpdateOrderLineItemTaxLineDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4109, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4083, + "name": "UpdateOrderTaxLineDTO.id" + } + }, + { + "id": 4110, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4084, + "name": "UpdateOrderTaxLineDTO.description" + } + }, + { + "id": 4111, + "name": "tax_rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4085, + "name": "UpdateOrderTaxLineDTO.tax_rate_id" + } + }, + { + "id": 4112, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4086, + "name": "UpdateOrderTaxLineDTO.code" + } + }, + { + "id": 4113, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 4087, + "name": "UpdateOrderTaxLineDTO.rate" + } + }, + { + "id": 4114, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4088, + "name": "UpdateOrderTaxLineDTO.provider_id" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4109, + 4110, + 4111, + 4112, + 4113, + 4114 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 4082, + "name": "UpdateOrderTaxLineDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 4115, + "name": "CreateOrderLineItemDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "LINE ITEMS START" + } + ] + }, + "children": [ + { + "id": 4116, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4117, + "name": "subtitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4118, + "name": "thumbnail", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4119, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4120, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4121, + "name": "product_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4122, + "name": "product_title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4123, + "name": "product_description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4124, + "name": "product_subtitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4125, + "name": "product_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4126, + "name": "product_collection", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4127, + "name": "product_handle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4128, + "name": "variant_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4129, + "name": "variant_sku", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4130, + "name": "variant_barcode", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4131, + "name": "variant_title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4132, + "name": "variant_option_values", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 4133, + "name": "requires_shipping", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4134, + "name": "is_discountable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4135, + "name": "is_tax_inclusive", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4136, + "name": "compare_at_unit_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4137, + "name": "unit_price", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4138, + "name": "tax_lines", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4076, + "name": "CreateOrderTaxLineDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4139, + "name": "adjustments", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4040, + "name": "CreateOrderAdjustmentDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4140, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4116, + 4117, + 4118, + 4119, + 4120, + 4121, + 4122, + 4123, + 4124, + 4125, + 4126, + 4127, + 4128, + 4129, + 4130, + 4131, + 4132, + 4133, + 4134, + 4135, + 4136, + 4137, + 4138, + 4139, + 4140 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 4141, + "name": "CreateOrderLineItemForOrderDTO" + } + ] + }, + { + "id": 4141, + "name": "CreateOrderLineItemForOrderDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "LINE ITEMS START" + } + ] + }, + "children": [ + { + "id": 4143, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4116, + "name": "CreateOrderLineItemDTO.title" + } + }, + { + "id": 4144, + "name": "subtitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4117, + "name": "CreateOrderLineItemDTO.subtitle" + } + }, + { + "id": 4145, + "name": "thumbnail", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4118, + "name": "CreateOrderLineItemDTO.thumbnail" + } + }, + { + "id": 4146, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 4120, + "name": "CreateOrderLineItemDTO.quantity" + } + }, + { + "id": 4147, + "name": "product_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4121, + "name": "CreateOrderLineItemDTO.product_id" + } + }, + { + "id": 4148, + "name": "product_title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4122, + "name": "CreateOrderLineItemDTO.product_title" + } + }, + { + "id": 4149, + "name": "product_description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4123, + "name": "CreateOrderLineItemDTO.product_description" + } + }, + { + "id": 4150, + "name": "product_subtitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4124, + "name": "CreateOrderLineItemDTO.product_subtitle" + } + }, + { + "id": 4151, + "name": "product_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4125, + "name": "CreateOrderLineItemDTO.product_type" + } + }, + { + "id": 4152, + "name": "product_collection", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4126, + "name": "CreateOrderLineItemDTO.product_collection" + } + }, + { + "id": 4153, + "name": "product_handle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4127, + "name": "CreateOrderLineItemDTO.product_handle" + } + }, + { + "id": 4154, + "name": "variant_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4128, + "name": "CreateOrderLineItemDTO.variant_id" + } + }, + { + "id": 4155, + "name": "variant_sku", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4129, + "name": "CreateOrderLineItemDTO.variant_sku" + } + }, + { + "id": 4156, + "name": "variant_barcode", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4130, + "name": "CreateOrderLineItemDTO.variant_barcode" + } + }, + { + "id": 4157, + "name": "variant_title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 4131, + "name": "CreateOrderLineItemDTO.variant_title" + } + }, + { + "id": 4158, + "name": "variant_option_values", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 4132, + "name": "CreateOrderLineItemDTO.variant_option_values" + } + }, + { + "id": 4159, + "name": "requires_shipping", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 4133, + "name": "CreateOrderLineItemDTO.requires_shipping" + } + }, + { + "id": 4160, + "name": "is_discountable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 4134, + "name": "CreateOrderLineItemDTO.is_discountable" + } + }, + { + "id": 4161, + "name": "is_tax_inclusive", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 4135, + "name": "CreateOrderLineItemDTO.is_tax_inclusive" + } + }, + { + "id": 4162, + "name": "compare_at_unit_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 4136, + "name": "CreateOrderLineItemDTO.compare_at_unit_price" + } + }, + { + "id": 4163, + "name": "unit_price", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 4137, + "name": "CreateOrderLineItemDTO.unit_price" + } + }, + { + "id": 4164, + "name": "tax_lines", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4076, + "name": "CreateOrderTaxLineDTO", + "package": "@medusajs/types" + } + }, + "inheritedFrom": { + "type": "reference", + "target": 4138, + "name": "CreateOrderLineItemDTO.tax_lines" + } + }, + { + "id": 4165, + "name": "adjustments", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4040, + "name": "CreateOrderAdjustmentDTO", + "package": "@medusajs/types" + } + }, + "inheritedFrom": { + "type": "reference", + "target": 4139, + "name": "CreateOrderLineItemDTO.adjustments" + } + }, + { + "id": 4166, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 4140, + "name": "CreateOrderLineItemDTO.metadata" + } + }, + { + "id": 4142, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "target": 4119, + "name": "CreateOrderLineItemDTO.order_id" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4143, + 4144, + 4145, + 4146, + 4147, + 4148, + 4149, + 4150, + 4151, + 4152, + 4153, + 4154, + 4155, + 4156, + 4157, + 4158, + 4159, + 4160, + 4161, + 4162, + 4163, + 4164, + 4165, + 4166, + 4142 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 4115, + "name": "CreateOrderLineItemDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 4167, + "name": "UpdateOrderLineItemWithSelectorDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4168, + "name": "selector", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3691, + "name": "OrderLineItemDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + }, + { + "id": 4169, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4170, + "name": "UpdateOrderLineItemDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4168, + 4169 + ] + } + ] + }, + { + "id": 4170, + "name": "UpdateOrderLineItemDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4179, + "name": "subtitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.subtitle" + } + }, + { + "id": 4180, + "name": "thumbnail", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.thumbnail" + } + }, + { + "id": 4196, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.order_id" + } + }, + { + "id": 4178, + "name": "product_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.product_id" + } + }, + { + "id": 4181, + "name": "product_title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.product_title" + } + }, + { + "id": 4182, + "name": "product_description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.product_description" + } + }, + { + "id": 4183, + "name": "product_subtitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.product_subtitle" + } + }, + { + "id": 4184, + "name": "product_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.product_type" + } + }, + { + "id": 4185, + "name": "product_collection", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.product_collection" + } + }, + { + "id": 4186, + "name": "product_handle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.product_handle" + } + }, + { + "id": 4177, + "name": "variant_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.variant_id" + } + }, + { + "id": 4187, + "name": "variant_sku", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.variant_sku" + } + }, + { + "id": 4188, + "name": "variant_barcode", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.variant_barcode" + } + }, + { + "id": 4189, + "name": "variant_title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.variant_title" + } + }, + { + "id": 4190, + "name": "variant_option_values", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.variant_option_values" + } + }, + { + "id": 4191, + "name": "requires_shipping", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.requires_shipping" + } + }, + { + "id": 4192, + "name": "is_discountable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.is_discountable" + } + }, + { + "id": 4193, + "name": "is_tax_inclusive", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.is_tax_inclusive" + } + }, + { + "id": 4194, + "name": "compare_at_unit_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.compare_at_unit_price" + } + }, + { + "id": 4195, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.metadata" + } + }, + { + "id": 4171, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4172, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4173, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4174, + "name": "unit_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4175, + "name": "tax_lines", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4076, + "name": "CreateOrderTaxLineDTO", + "package": "@medusajs/types" + } + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4082, + "name": "UpdateOrderTaxLineDTO", + "package": "@medusajs/types" + } + } + ] + } + }, + { + "id": 4176, + "name": "adjustments", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4040, + "name": "CreateOrderAdjustmentDTO", + "package": "@medusajs/types" + } + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4046, + "name": "UpdateOrderAdjustmentDTO", + "package": "@medusajs/types" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4179, + 4180, + 4196, + 4178, + 4181, + 4182, + 4183, + 4184, + 4185, + 4186, + 4177, + 4187, + 4188, + 4189, + 4190, + 4191, + 4192, + 4193, + 4194, + 4195, + 4171, + 4172, + 4173, + 4174, + 4175, + 4176 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4115, + "name": "CreateOrderLineItemDTO", + "package": "@medusajs/types" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "tax_lines" + }, + { + "type": "literal", + "value": "adjustments" + }, + { + "type": "literal", + "value": "title" + }, + { + "type": "literal", + "value": "quantity" + }, + { + "type": "literal", + "value": "unit_price" + } + ] + } + ], + "name": "Omit", + "package": "typescript" + } + ] + }, + { + "id": 4197, + "name": "CreateOrderShippingMethodDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "SHIPPING METHODS START" + } + ] + }, + "children": [ + { + "id": 4198, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4199, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4200, + "name": "version", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4201, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4202, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4203, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 4204, + "name": "tax_lines", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4076, + "name": "CreateOrderTaxLineDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4205, + "name": "adjustments", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4040, + "name": "CreateOrderAdjustmentDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4198, + 4199, + 4200, + 4201, + 4202, + 4203, + 4204, + 4205 + ] + } + ] + }, + { + "id": 4206, + "name": "UpdateOrderShippingMethodDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4207, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4208, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4209, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4210, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4211, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 4212, + "name": "tax_lines", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4076, + "name": "CreateOrderTaxLineDTO", + "package": "@medusajs/types" + } + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4082, + "name": "UpdateOrderTaxLineDTO", + "package": "@medusajs/types" + } + } + ] + } + }, + { + "id": 4213, + "name": "adjustments", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4040, + "name": "CreateOrderAdjustmentDTO", + "package": "@medusajs/types" + } + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4046, + "name": "UpdateOrderAdjustmentDTO", + "package": "@medusajs/types" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4207, + 4208, + 4209, + 4210, + 4211, + 4212, + 4213 + ] + } + ] + }, + { + "id": 4214, + "name": "CreateOrderShippingMethodAdjustmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4215, + "name": "shipping_method_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4216, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4217, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4218, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4219, + "name": "promotion_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4220, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4215, + 4216, + 4217, + 4218, + 4219, + 4220 + ] + } + ] + }, + { + "id": 4221, + "name": "UpdateOrderShippingMethodAdjustmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4222, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4223, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4224, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4225, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4226, + "name": "promotion_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4227, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4222, + 4223, + 4224, + 4225, + 4226, + 4227 + ] + } + ] + }, + { + "id": 4228, + "name": "CreateOrderChangeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ORDER CHANGE START" + } + ] + }, + "children": [ + { + "id": 4229, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4230, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4231, + "name": "internal_note", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4232, + "name": "requested_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4233, + "name": "requested_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 4234, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4235, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 4236, + "name": "actions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4263, + "name": "CreateOrderChangeActionDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4229, + 4230, + 4231, + 4232, + 4233, + 4234, + 4235, + 4236 + ] + } + ] + }, + { + "id": 4237, + "name": "UpdateOrderChangeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4238, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4239, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4240, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4241, + "name": "internal_note", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4242, + "name": "requested_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4243, + "name": "requested_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 4244, + "name": "confirmed_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4245, + "name": "confirmed_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 4246, + "name": "declined_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4247, + "name": "declined_reason", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4248, + "name": "declined_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 4249, + "name": "canceled_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4250, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4238, + 4239, + 4240, + 4241, + 4242, + 4243, + 4244, + 4245, + 4246, + 4247, + 4248, + 4249, + 4250 + ] + } + ] + }, + { + "id": 4251, + "name": "CancelOrderChangeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4252, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4253, + "name": "canceled_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4254, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4252, + 4253, + 4254 + ] + } + ] + }, + { + "id": 4255, + "name": "DeclineOrderChangeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4256, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4257, + "name": "declined_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4258, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4256, + 4257, + 4258 + ] + } + ] + }, + { + "id": 4259, + "name": "ConfirmOrderChangeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4260, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4261, + "name": "confirmed_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4262, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4260, + 4261, + 4262 + ] + } + ] + }, + { + "id": 4263, + "name": "CreateOrderChangeActionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ORDER CHANGE ACTION START" + } + ] + }, + "children": [ + { + "id": 4264, + "name": "order_change_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4265, + "name": "version", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4266, + "name": "reference", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4267, + "name": "reference_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4268, + "name": "action", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4269, + "name": "internal_note", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4270, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4271, + "name": "details", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4264, + 4265, + 4266, + 4267, + 4268, + 4269, + 4270, + 4271 + ] + } + ] + }, + { + "id": 4272, + "name": "UpdateOrderChangeActionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4273, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4274, + "name": "internal_note", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4273, + 4274 + ] + } + ] + }, + { + "id": 4275, + "name": "CreateOrderTransactionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ORDER TRANSACTION START" + } + ] + }, + "children": [ + { + "id": 4276, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4277, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4278, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4279, + "name": "reference", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4280, + "name": "reference_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4281, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4276, + 4277, + 4278, + 4279, + 4280, + 4281 + ] + } + ] + }, + { + "id": 4282, + "name": "UpdateOrderTransactionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4283, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4284, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4285, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4286, + "name": "reference", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4287, + "name": "reference_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4288, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4283, + 4284, + 4285, + 4286, + 4287, + 4288 + ] + } + ] + }, + { + "id": 4289, + "name": "UpdateOrderItemDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ORDER DETAIL START" + } + ] + }, + "children": [ + { + "id": 4290, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4291, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4292, + "name": "version", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4293, + "name": "item_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4294, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4295, + "name": "fulfilled_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4296, + "name": "return_requested_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4297, + "name": "return_received_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4298, + "name": "return_dismissed_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4299, + "name": "written_off_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4300, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4290, + 4291, + 4292, + 4293, + 4294, + 4295, + 4296, + 4297, + 4298, + 4299, + 4300 + ] + } + ] + }, + { + "id": 4301, + "name": "UpdateOrderItemWithSelectorDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4302, + "name": "selector", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3745, + "name": "OrderItemDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + }, + { + "id": 4303, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4289, + "name": "UpdateOrderItemDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4302, + 4303 + ] + } + ] + }, + { + "id": 4304, + "name": "RegisterOrderFulfillmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "ORDER bundled action flows" + } + ] + }, + "children": [ + { + "id": 4305, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4306, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4307, + "name": "internal_note", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4308, + "name": "reference", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4309, + "name": "reference_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4310, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4311, + "name": "items", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 4312, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 4313, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4314, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4315, + "name": "internal_note", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4316, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4313, + 4314, + 4315, + 4316 + ] + } + ] + } + } + } + }, + { + "id": 4317, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4305, + 4306, + 4307, + 4308, + 4309, + 4310, + 4311, + 4317 + ] + } + ] + }, + { + "id": 4318, + "name": "RegisterOrderShipmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4319, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4320, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4321, + "name": "internal_note", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4322, + "name": "reference", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4323, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4324, + "name": "shipping_method", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4197, + "name": "CreateOrderShippingMethodDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "order_id" + } + ], + "name": "Omit", + "package": "typescript" + } + ] + } + }, + { + "id": 4325, + "name": "items", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 4326, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 4327, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4328, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4329, + "name": "internal_note", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4330, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4327, + 4328, + 4329, + 4330 + ] + } + ] + } + } + } + }, + { + "id": 4331, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4319, + 4320, + 4321, + 4322, + 4323, + 4324, + 4325, + 4331 + ] + } + ] + }, + { + "id": 4332, + "name": "CreateOrderReturnDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4333, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4334, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4335, + "name": "reference", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4336, + "name": "internal_note", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4337, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4338, + "name": "shipping_method", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4197, + "name": "CreateOrderShippingMethodDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "order_id" + } + ], + "name": "Omit", + "package": "typescript" + } + ] + } + }, + { + "id": 4339, + "name": "items", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 4340, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 4341, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4342, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 4343, + "name": "internal_note", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4344, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4341, + 4342, + 4343, + 4344 + ] + } + ] + } + } + } + }, + { + "id": 4345, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4333, + 4334, + 4335, + 4336, + 4337, + 4338, + 4339, + 4345 + ] + } + ] + }, + { + "id": 4346, + "name": "IOrderModuleService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "{summary}" + } + ] + }, + "children": [ + { + "id": 4347, + "name": "retrieve", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4348, + "name": "retrieve", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a {return type} by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst result = await orderModuleService.retrieve(\"orderId123\");\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4349, + "name": "orderId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4350, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the order is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a order." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 3766, + "name": "OrderDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 4351, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3766, + "name": "OrderDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4352, + "name": "list", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4353, + "name": "list", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of {return type}(s) based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst orderDTOs = await orderModuleService.list();\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4354, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved order." + } + ] + }, + "type": { + "type": "reference", + "target": 3870, + "name": "FilterableOrderProps", + "package": "@medusajs/types" + } + }, + { + "id": 4355, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the order is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a order." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 3766, + "name": "OrderDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 4356, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3766, + "name": "OrderDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4357, + "name": "listAndCount", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4358, + "name": "listAndCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of {return type} along with the total count of available {return type}(s) satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of {return type}(s) along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.listAndCount();\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4359, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved order." + } + ] + }, + "type": { + "type": "reference", + "target": 3870, + "name": "FilterableOrderProps", + "package": "@medusajs/types" + } + }, + { + "id": 4360, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the order is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a order." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 3766, + "name": "OrderDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 4361, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3766, + "name": "OrderDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4362, + "name": "create", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4363, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates {return type}(s)" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst orderData: CreateOrderDTO[] = [\n {\n currency_code: \"USD\",\n items: [\n {\n title: \"Product Name\",\n quantity: 1,\n unit_price: 1999, // Assuming type is an integer for price in cents\n }\n ]\n }\n];\n\nconst result = await orderModuleService.create(orderData);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4364, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4011, + "name": "CreateOrderDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4365, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3766, + "name": "OrderDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4366, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates {return type}(s)" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\n// Example execution of the create method of IOrderModuleService\nconst orderData: CreateOrderDTO = {\n currency_code: \"USD\"\n};\n\nconst createdOrder = await orderModuleService.create(orderData);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4367, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 4011, + "name": "CreateOrderDTO", + "package": "@medusajs/types" + } + }, + { + "id": 4368, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3766, + "name": "OrderDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4369, + "name": "update", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4370, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing {return type}(s)." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst updatedOrders = await orderModuleService.update([\n {\n id: \"order_id_1\",\n status: \"shipped\"\n },\n {\n id: \"order_id_2\",\n status: \"delivered\"\n }\n]);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4371, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the order." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4028, + "name": "UpdateOrderDTO", + "package": "@medusajs/types" + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3766, + "name": "OrderDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4372, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing {return type}(s)." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.update(\"orderId123\", {\n status: \"shipped\"\n});\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4373, + "name": "orderId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4374, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the order." + } + ] + }, + "type": { + "type": "reference", + "target": 4028, + "name": "UpdateOrderDTO", + "package": "@medusajs/types" + } + }, + { + "id": 4375, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3766, + "name": "OrderDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4376, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing {return type}(s)." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.update(\n { id: \"order-123\" },\n { status: \"completed\" }\n);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4377, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Make all properties in T optional" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3870, + "name": "FilterableOrderProps", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + }, + { + "id": 4378, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the order." + } + ] + }, + "type": { + "type": "reference", + "target": 4028, + "name": "UpdateOrderDTO", + "package": "@medusajs/types" + } + }, + { + "id": 4379, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3766, + "name": "OrderDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4380, + "name": "delete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4381, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes {return type} by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when {summary}" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.delete([\"12345abc\", \"67890def\"]);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4382, + "name": "orderIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The list of {summary}" + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4383, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4384, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes {return type} by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when {summary}" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.delete(\"orderId\");\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4385, + "name": "orderId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4386, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4387, + "name": "softDelete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4388, + "name": "softDelete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 4389, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 4390, + "name": "storeIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4391, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 4389, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 4392, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4393, + "name": "restore", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4394, + "name": "restore", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 4395, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 4396, + "name": "storeIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4397, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 4395, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 4398, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4399, + "name": "listAddresses", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4400, + "name": "listAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4401, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 3879, + "name": "FilterableOrderAddressProps", + "package": "@medusajs/types" + } + }, + { + "id": 4402, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 3621, + "name": "OrderAddressDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 4403, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3621, + "name": "OrderAddressDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4404, + "name": "createAddresses", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4405, + "name": "createAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates {return type}(s)" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.createAddresses([\n {\n first_name: \"John\",\n last_name: \"Doe\",\n address_1: \"123 Main St\",\n city: \"Anytown\",\n country_code: \"US\",\n province: \"AnyState\",\n postal_code: \"12345\"\n }\n]);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4406, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order address to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 3998, + "name": "CreateOrderAddressDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4407, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3621, + "name": "OrderAddressDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4408, + "name": "createAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates {return type}(s)" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst orderAddressData: CreateOrderAddressDTO = {\n orderId: '123',\n line1: '123 Main St',\n city: 'Metropolis',\n state: 'NY',\n postalCode: '12345',\n country: 'USA'\n};\n\nconst result = await orderModuleService.createAddresses(orderAddressData);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4409, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order address to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 3998, + "name": "CreateOrderAddressDTO", + "package": "@medusajs/types" + } + }, + { + "id": 4410, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3621, + "name": "OrderAddressDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4411, + "name": "updateAddresses", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4412, + "name": "updateAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing {return type}(s)." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst updatedAddress: UpdateOrderAddressDTO[] = [\n {\n id: \"address1\",\n first_name: \"John\",\n last_name: \"Doe\",\n address_1: \"123 Main St\",\n city: \"Anytown\",\n country_code: \"US\",\n province: \"AnyState\",\n postal_code: \"12345\"\n }\n];\n\nconst result = await orderModuleService.updateAddresses(updatedAddress);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4413, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the order address." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 3984, + "name": "UpdateOrderAddressDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4414, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3621, + "name": "OrderAddressDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4415, + "name": "updateAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing {return type}(s)." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst updateOrderAddressData: UpdateOrderAddressDTO = {\n id: '123',\n address_1: '123 Main St',\n city: 'Metropolis',\n province: 'NY',\n postal_code: '12345',\n};\n\nconst updatedAddress = await orderModuleService.updateAddresses(updateOrderAddressData);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4416, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the order address." + } + ] + }, + "type": { + "type": "reference", + "target": 3984, + "name": "UpdateOrderAddressDTO", + "package": "@medusajs/types" + } + }, + { + "id": 4417, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3621, + "name": "OrderAddressDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4418, + "name": "deleteAddresses", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4419, + "name": "deleteAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes {return type} by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when {summary}" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.deleteAddresses([\"your_address_id_1\", \"your_address_id_2\"]);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4420, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The list of {summary}" + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4421, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4422, + "name": "deleteAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes {return type} by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when {summary}" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.deleteAddresses(\"123456\");\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4423, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "{summary}" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4424, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4425, + "name": "retrieveLineItem", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4426, + "name": "retrieveLineItem", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a {return type} by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.retrieveLineItem(\"12345\");\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4427, + "name": "itemId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4428, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the order line item is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 3691, + "name": "OrderLineItemDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 4429, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3691, + "name": "OrderLineItemDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4430, + "name": "listLineItems", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4431, + "name": "listLineItems", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of {return type}(s) based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst result = await orderModuleService.listLineItems({\n title: \"Sample Product Title\",\n});\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4432, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 3883, + "name": "FilterableOrderLineItemProps", + "package": "@medusajs/types" + } + }, + { + "id": 4433, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the order line item is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a order line item." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 3691, + "name": "OrderLineItemDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 4434, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3691, + "name": "OrderLineItemDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4435, + "name": "createLineItems", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4436, + "name": "createLineItems", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4437, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 4141, + "name": "CreateOrderLineItemForOrderDTO", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3691, + "name": "OrderLineItemDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4438, + "name": "createLineItems", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4439, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4141, + "name": "CreateOrderLineItemForOrderDTO", + "package": "@medusajs/types" + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3691, + "name": "OrderLineItemDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4440, + "name": "createLineItems", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4441, + "name": "orderId", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4442, + "name": "items", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4115, + "name": "CreateOrderLineItemDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4443, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3691, + "name": "OrderLineItemDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4444, + "name": "updateLineItems", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4445, + "name": "updateLineItems", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing {return type}(s)." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst updateOrderLineItems: UpdateOrderLineItemWithSelectorDTO[] = [\n {\n selector: {\n id: \"line-item-id-1\"\n },\n data: {\n id: \"line-item-id-1\",\n quantity: 2,\n unit_price: 1999\n }\n }\n];\n\nconst updatedLineItems = await orderModuleService.updateLineItems(updateOrderLineItems);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4446, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the order line item with selector." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4167, + "name": "UpdateOrderLineItemWithSelectorDTO", + "package": "@medusajs/types" + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3691, + "name": "OrderLineItemDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4447, + "name": "updateLineItems", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing {return type}(s)." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst result = await orderModuleService.updateLineItems(\n { id: \"line-item-id-1\" },\n { quantity: 10 }\n);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4448, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Make all properties in T optional" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3883, + "name": "FilterableOrderLineItemProps", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + }, + { + "id": 4449, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Make all properties in T optional" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4170, + "name": "UpdateOrderLineItemDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + }, + { + "id": 4450, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3691, + "name": "OrderLineItemDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4451, + "name": "updateLineItems", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing {return type}(s)." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst result = await orderModuleService.updateLineItems(\n \"lineIdExample\",\n {\n quantity: 10,\n }\n);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4452, + "name": "lineId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The line's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4453, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Make all properties in T optional" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4170, + "name": "UpdateOrderLineItemDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + }, + { + "id": 4454, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3691, + "name": "OrderLineItemDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4455, + "name": "deleteLineItems", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4456, + "name": "deleteLineItems", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4457, + "name": "itemIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4458, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4459, + "name": "deleteLineItems", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4460, + "name": "itemIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4461, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4462, + "name": "deleteLineItems", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4463, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3883, + "name": "FilterableOrderLineItemProps", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + }, + { + "id": 4464, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4465, + "name": "updateOrderItem", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4466, + "name": "updateOrderItem", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing {return type}(s)." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.updateOrderItem(\n { id: \"item123\" },\n { quantity: \"2\" }\n);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4467, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Make all properties in T optional" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3899, + "name": "FilterableOrderShippingMethodProps", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + }, + { + "id": 4468, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the order item." + } + ] + }, + "type": { + "type": "reference", + "target": 4289, + "name": "UpdateOrderItemDTO", + "package": "@medusajs/types" + } + }, + { + "id": 4469, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3745, + "name": "OrderItemDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4470, + "name": "updateOrderItem", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing {return type}(s)." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.updateOrderItem(\n 'orderDetailId123',\n {\n item_id: 'item123',\n quantity: 2\n }\n);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4471, + "name": "orderDetailId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order detail's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4472, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Make all properties in T optional" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4289, + "name": "UpdateOrderItemDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + }, + { + "id": 4473, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3745, + "name": "OrderItemDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4474, + "name": "updateOrderItem", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing {return type}(s)." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.updateOrderItem(\n \"order-detail-id\",\n {\n quantity: 2,\n item_id: 'item123',\n }\n);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4475, + "name": "orderDetailIdOrDataOrSelector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The string | partial< order item d t o> | update order item with selector details." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3745, + "name": "OrderItemDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4301, + "name": "UpdateOrderItemWithSelectorDTO", + "package": "@medusajs/types" + } + } + ] + } + }, + { + "id": 4476, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "{summary}" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 4289, + "name": "UpdateOrderItemDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4289, + "name": "UpdateOrderItemDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + ] + } + }, + { + "id": 4477, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3745, + "name": "OrderItemDTO", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3745, + "name": "OrderItemDTO", + "package": "@medusajs/types" + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4478, + "name": "listShippingMethods", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4479, + "name": "listShippingMethods", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of {return type}(s) based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.listShippingMethods(\n { order_id: \"order_123\" },\n { limit: 10, offset: 0 }\n);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4480, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved order shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 3899, + "name": "FilterableOrderShippingMethodProps", + "package": "@medusajs/types" + } + }, + { + "id": 4481, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the order shipping method is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a order shipping method." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 3637, + "name": "OrderShippingMethodDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 4482, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3637, + "name": "OrderShippingMethodDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4483, + "name": "createShippingMethods", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4484, + "name": "createShippingMethods", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4485, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 4197, + "name": "CreateOrderShippingMethodDTO", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3637, + "name": "OrderShippingMethodDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4486, + "name": "createShippingMethods", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4487, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4197, + "name": "CreateOrderShippingMethodDTO", + "package": "@medusajs/types" + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3637, + "name": "OrderShippingMethodDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4488, + "name": "createShippingMethods", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4489, + "name": "orderId", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4490, + "name": "methods", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4197, + "name": "CreateOrderShippingMethodDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4491, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3637, + "name": "OrderShippingMethodDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4492, + "name": "deleteShippingMethods", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4493, + "name": "deleteShippingMethods", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4494, + "name": "methodIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4495, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4496, + "name": "deleteShippingMethods", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4497, + "name": "methodIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4498, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4499, + "name": "deleteShippingMethods", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4500, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3899, + "name": "FilterableOrderShippingMethodProps", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + }, + { + "id": 4501, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4502, + "name": "listLineItemAdjustments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4503, + "name": "listLineItemAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of {return type}(s) based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst orderLineItemAdjustments = await orderModuleService.listLineItemAdjustments({ item_id: \"order-line-item-123\" });\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4504, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved order line item adjustment." + } + ] + }, + "type": { + "type": "reference", + "target": 3891, + "name": "FilterableOrderLineItemAdjustmentProps", + "package": "@medusajs/types" + } + }, + { + "id": 4505, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the order line item adjustment is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a order line item adjustment." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 3570, + "name": "OrderLineItemAdjustmentDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 4506, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3570, + "name": "OrderLineItemAdjustmentDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4507, + "name": "createLineItemAdjustments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4508, + "name": "createLineItemAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4509, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4040, + "name": "CreateOrderAdjustmentDTO", + "package": "@medusajs/types" + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3570, + "name": "OrderLineItemAdjustmentDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4510, + "name": "createLineItemAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4511, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 4040, + "name": "CreateOrderAdjustmentDTO", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3570, + "name": "OrderLineItemAdjustmentDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4512, + "name": "createLineItemAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4513, + "name": "orderId", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4514, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4040, + "name": "CreateOrderAdjustmentDTO", + "package": "@medusajs/types" + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3570, + "name": "OrderLineItemAdjustmentDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4515, + "name": "setLineItemAdjustments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4516, + "name": "setLineItemAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method Represents the completion of an asynchronous operation" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Represents the completion of an asynchronous operation" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst adjustmentsData: UpsertOrderLineItemAdjustmentDTO[] = [{\n item_id: \"item123\",\n amount: 1000\n}];\n\nconst result = await orderModuleService.setLineItemAdjustments(\"order456\", adjustmentsData);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4517, + "name": "orderId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4518, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The upsert order line item adjustment details." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4068, + "name": "UpsertOrderLineItemAdjustmentDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4519, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3570, + "name": "OrderLineItemAdjustmentDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4520, + "name": "deleteLineItemAdjustments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4521, + "name": "deleteLineItemAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4522, + "name": "adjustmentIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4523, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4524, + "name": "deleteLineItemAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4525, + "name": "adjustmentIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4526, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4527, + "name": "deleteLineItemAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4528, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3570, + "name": "OrderLineItemAdjustmentDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + }, + { + "id": 4529, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4530, + "name": "listShippingMethodAdjustments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4531, + "name": "listShippingMethodAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of {return type}(s) based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst result = await orderModuleService.listShippingMethodAdjustments({\n id: \"12345\",\n});\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4532, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved order shipping method adjustment." + } + ] + }, + "type": { + "type": "reference", + "target": 3906, + "name": "FilterableOrderShippingMethodAdjustmentProps", + "package": "@medusajs/types" + } + }, + { + "id": 4533, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the order shipping method adjustment is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a order shipping method adjustment." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 3558, + "name": "OrderShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 4534, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3558, + "name": "OrderShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4535, + "name": "createShippingMethodAdjustments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4536, + "name": "createShippingMethodAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4537, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4214, + "name": "CreateOrderShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3558, + "name": "OrderShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4538, + "name": "createShippingMethodAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4539, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 4214, + "name": "CreateOrderShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3558, + "name": "OrderShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4540, + "name": "createShippingMethodAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4541, + "name": "orderId", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4542, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4214, + "name": "CreateOrderShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4543, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3558, + "name": "OrderShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4544, + "name": "setShippingMethodAdjustments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4545, + "name": "setShippingMethodAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method Represents the completion of an asynchronous operation" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Represents the completion of an asynchronous operation" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.setShippingMethodAdjustments(\"orderId123\", [\n {\n shipping_method_id: \"shipMethodId123\",\n code: \"CODE123\",\n amount: 1000,\n }\n]);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4546, + "name": "orderId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4547, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The list of The order shipping method adjustment d t o | update order shipping method adjustment to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 4214, + "name": "CreateOrderShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 4221, + "name": "UpdateOrderShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + } + ] + } + } + }, + { + "id": 4548, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3558, + "name": "OrderShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4549, + "name": "deleteShippingMethodAdjustments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4550, + "name": "deleteShippingMethodAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4551, + "name": "adjustmentIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4552, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4553, + "name": "deleteShippingMethodAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4554, + "name": "adjustmentId", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4555, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4556, + "name": "deleteShippingMethodAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4557, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3558, + "name": "OrderShippingMethodAdjustmentDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + }, + { + "id": 4558, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4559, + "name": "listLineItemTaxLines", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4560, + "name": "listLineItemTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of {return type}(s) based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.listLineItemTaxLines({ id: \"123\" });\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4561, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved order line item tax line." + } + ] + }, + "type": { + "type": "reference", + "target": 3914, + "name": "FilterableOrderLineItemTaxLineProps", + "package": "@medusajs/types" + } + }, + { + "id": 4562, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the order line item tax line is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a order line item tax line." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 3606, + "name": "OrderLineItemTaxLineDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 4563, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3606, + "name": "OrderLineItemTaxLineDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4564, + "name": "createLineItemTaxLines", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4565, + "name": "createLineItemTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4566, + "name": "taxLines", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4102, + "name": "CreateOrderLineItemTaxLineDTO", + "package": "@medusajs/types" + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3606, + "name": "OrderLineItemTaxLineDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4567, + "name": "createLineItemTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4568, + "name": "taxLine", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 4102, + "name": "CreateOrderLineItemTaxLineDTO", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3606, + "name": "OrderLineItemTaxLineDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4569, + "name": "createLineItemTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4570, + "name": "orderId", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4571, + "name": "taxLines", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 4102, + "name": "CreateOrderLineItemTaxLineDTO", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4102, + "name": "CreateOrderLineItemTaxLineDTO", + "package": "@medusajs/types" + } + } + ] + } + }, + { + "id": 4572, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3606, + "name": "OrderLineItemTaxLineDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4573, + "name": "setLineItemTaxLines", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4574, + "name": "setLineItemTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method Represents the completion of an asynchronous operation" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Represents the completion of an asynchronous operation" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst orderId = '12345';\nconst taxLines: (CreateOrderLineItemTaxLineDTO | UpdateOrderLineItemTaxLineDTO)[] = [\n {\n code: \"TAX1001\",\n rate: 70,\n }\n];\n\nconst result = await orderModuleService.setLineItemTaxLines(orderId, taxLines);\n\nconsole.log(result);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4575, + "name": "orderId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4576, + "name": "taxLines", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The list of The order line item tax line d t o | update order line item tax line to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 4102, + "name": "CreateOrderLineItemTaxLineDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 4108, + "name": "UpdateOrderLineItemTaxLineDTO", + "package": "@medusajs/types" + } + ] + } + } + }, + { + "id": 4577, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3606, + "name": "OrderLineItemTaxLineDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4578, + "name": "deleteLineItemTaxLines", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4579, + "name": "deleteLineItemTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4580, + "name": "taxLineIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4581, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4582, + "name": "deleteLineItemTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4583, + "name": "taxLineIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4584, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4585, + "name": "deleteLineItemTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4586, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 3914, + "name": "FilterableOrderLineItemTaxLineProps", + "package": "@medusajs/types" + } + }, + { + "id": 4587, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4588, + "name": "listShippingMethodTaxLines", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4589, + "name": "listShippingMethodTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of {return type}(s) based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nasync function executeMethod() {\n const result = await orderModuleService.listShippingMethodTaxLines({\n id: \"123\",\n });\n}\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4590, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved order shipping method tax line." + } + ] + }, + "type": { + "type": "reference", + "target": 3924, + "name": "FilterableOrderShippingMethodTaxLineProps", + "package": "@medusajs/types" + } + }, + { + "id": 4591, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the order shipping method tax line is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a order shipping method tax line." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 3591, + "name": "OrderShippingMethodTaxLineDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 4592, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3591, + "name": "OrderShippingMethodTaxLineDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4593, + "name": "createShippingMethodTaxLines", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4594, + "name": "createShippingMethodTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4595, + "name": "taxLines", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4089, + "name": "CreateOrderShippingMethodTaxLineDTO", + "package": "@medusajs/types" + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3591, + "name": "OrderShippingMethodTaxLineDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4596, + "name": "createShippingMethodTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4597, + "name": "taxLine", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 4089, + "name": "CreateOrderShippingMethodTaxLineDTO", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3591, + "name": "OrderShippingMethodTaxLineDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4598, + "name": "createShippingMethodTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4599, + "name": "orderId", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4600, + "name": "taxLines", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 4089, + "name": "CreateOrderShippingMethodTaxLineDTO", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4089, + "name": "CreateOrderShippingMethodTaxLineDTO", + "package": "@medusajs/types" + } + } + ] + } + }, + { + "id": 4601, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3591, + "name": "OrderShippingMethodTaxLineDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4602, + "name": "setShippingMethodTaxLines", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4603, + "name": "setShippingMethodTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method Represents the completion of an asynchronous operation" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Represents the completion of an asynchronous operation" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst orderId = \"someOrderId\";\nconst taxLines = [\n {\n code: \"VAT20\",\n rate: 20,\n }\n];\n\nconst result = await orderModuleService.setShippingMethodTaxLines(orderId, taxLines);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4604, + "name": "orderId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4605, + "name": "taxLines", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The list of The order shipping method tax line d t o | update order shipping method tax line to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 4089, + "name": "CreateOrderShippingMethodTaxLineDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 4095, + "name": "UpdateOrderShippingMethodTaxLineDTO", + "package": "@medusajs/types" + } + ] + } + } + }, + { + "id": 4606, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3591, + "name": "OrderShippingMethodTaxLineDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4607, + "name": "deleteShippingMethodTaxLines", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4608, + "name": "deleteShippingMethodTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4609, + "name": "taxLineIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4610, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4611, + "name": "deleteShippingMethodTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4612, + "name": "taxLineIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4613, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4614, + "name": "deleteShippingMethodTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4615, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 3924, + "name": "FilterableOrderShippingMethodTaxLineProps", + "package": "@medusajs/types" + } + }, + { + "id": 4616, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4617, + "name": "createOrderChange", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4618, + "name": "createOrderChange", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4619, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 4228, + "name": "CreateOrderChangeDTO", + "package": "@medusajs/types" + } + }, + { + "id": 4620, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3827, + "name": "OrderChangeDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4621, + "name": "createOrderChange", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates {return type}(s)" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\n// Example call to createOrderChange\n\nconst createOrderChangeData: CreateOrderChangeDTO[] = [{\n order_id: \"order123\",\n description: \"Change due to customer request\"\n}];\n\nconst result = await orderModuleService.createOrderChange(createOrderChangeData);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4622, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order change to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4228, + "name": "CreateOrderChangeDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4623, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3827, + "name": "OrderChangeDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4624, + "name": "createOrderChange", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates {return type}(s)" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created {return type}(s)." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst result = await orderModuleService.createOrderChange({\n order_id: \"order123\",\n description: \"Adding new item to the order\"\n});\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4625, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order change d t o | create order change to be created." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 4228, + "name": "CreateOrderChangeDTO", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4228, + "name": "CreateOrderChangeDTO", + "package": "@medusajs/types" + } + } + ] + } + }, + { + "id": 4626, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": 3827, + "name": "OrderChangeDTO", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3827, + "name": "OrderChangeDTO", + "package": "@medusajs/types" + } + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4627, + "name": "cancelOrderChange", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4628, + "name": "cancelOrderChange", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method Represents the completion of an asynchronous operation" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when {summary}" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.cancelOrderChange(\"orderId123\");\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4629, + "name": "orderId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4630, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4631, + "name": "cancelOrderChange", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method Represents the completion of an asynchronous operation" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when {summary}" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.cancelOrderChange([\"1234ABCD\"]);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4632, + "name": "orderId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order's ID." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4633, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4634, + "name": "cancelOrderChange", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method Represents the completion of an asynchronous operation" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when {summary}" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst cancelOrderChangeData: CancelOrderChangeDTO = {\n id: \"orderChangeId\",\n};\n\nawait orderModuleService.cancelOrderChange(cancelOrderChangeData);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4635, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cancel order change details." + } + ] + }, + "type": { + "type": "reference", + "target": 4251, + "name": "CancelOrderChangeDTO", + "package": "@medusajs/types" + } + }, + { + "id": 4636, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4637, + "name": "cancelOrderChange", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method Represents the completion of an asynchronous operation" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when {summary}" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.cancelOrderChange([{ id: \"orderChangeId\" }]);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4638, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cancel order change details." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4251, + "name": "CancelOrderChangeDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4639, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4640, + "name": "confirmOrderChange", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4641, + "name": "confirmOrderChange", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method Represents the completion of an asynchronous operation" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when {summary}" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.confirmOrderChange(\"123456789\");\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4642, + "name": "orderChangeId", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4643, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4644, + "name": "confirmOrderChange", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method Represents the completion of an asynchronous operation" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when {summary}" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.confirmOrderChange([\"12345\"]);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4645, + "name": "orderChangeId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order change's ID." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4646, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4647, + "name": "confirmOrderChange", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method Represents the completion of an asynchronous operation" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when {summary}" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.confirmOrderChange({\n id: \"123456\"\n});\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4648, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The confirm order change details." + } + ] + }, + "type": { + "type": "reference", + "target": 4259, + "name": "ConfirmOrderChangeDTO", + "package": "@medusajs/types" + } + }, + { + "id": 4649, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4650, + "name": "confirmOrderChange", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method Represents the completion of an asynchronous operation" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when {summary}" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst confirmOrderChangesData: ConfirmOrderChangeDTO[] = [{\n id: \"orderChangeId\",\n}];\n\nawait orderModuleService.confirmOrderChange(confirmOrderChangesData);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4651, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The confirm order change details." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4259, + "name": "ConfirmOrderChangeDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4652, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4653, + "name": "declineOrderChange", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4654, + "name": "declineOrderChange", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method Represents the completion of an asynchronous operation" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when {summary}" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.declineOrderChange(\"orderChangeId\");\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4655, + "name": "orderChangeId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order change's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4656, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4657, + "name": "declineOrderChange", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method Represents the completion of an asynchronous operation" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when {summary}" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.declineOrderChange([\"orderChangeId\"]);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4658, + "name": "orderChangeId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order change's ID." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4659, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4660, + "name": "declineOrderChange", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method Represents the completion of an asynchronous operation" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when {summary}" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.declineOrderChange({\n id: \"123456\",\n});\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4661, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The decline order change details." + } + ] + }, + "type": { + "type": "reference", + "target": 4255, + "name": "DeclineOrderChangeDTO", + "package": "@medusajs/types" + } + }, + { + "id": 4662, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4663, + "name": "declineOrderChange", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method Represents the completion of an asynchronous operation" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when {summary}" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.declineOrderChange([\n {\n id: \"12345\",\n }\n]);\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4664, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The decline order change details." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4255, + "name": "DeclineOrderChangeDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4665, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4666, + "name": "applyPendingOrderActions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4667, + "name": "applyPendingOrderActions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method {summary}" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "{summary}" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait orderModuleService.applyPendingOrderActions(\"12345\");\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 4668, + "name": "orderId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The order's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 4669, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + }, + { + "id": 4670, + "name": "addOrderAction", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4671, + "name": "addOrderAction", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4672, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 4263, + "name": "CreateOrderChangeActionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 4673, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3845, + "name": "OrderChangeActionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 4674, + "name": "addOrderAction", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4675, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4263, + "name": "CreateOrderChangeActionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4676, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 3845, + "name": "OrderChangeActionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4677, + "name": "softDeleteAddresses", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4678, + "name": "softDeleteAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 4679, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 4680, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4681, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 4679, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 4682, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4679, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4683, + "name": "restoreAddresses", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4684, + "name": "restoreAddresses", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 4685, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 4686, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4687, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 4685, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 4688, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4685, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4689, + "name": "softDeleteLineItems", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4690, + "name": "softDeleteLineItems", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 4691, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 4692, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4693, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 4691, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 4694, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4691, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4695, + "name": "restoreLineItems", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4696, + "name": "restoreLineItems", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 4697, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 4698, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4699, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 4697, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 4700, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4697, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4701, + "name": "softDeleteShippingMethods", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4702, + "name": "softDeleteShippingMethods", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 4703, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 4704, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4705, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 4703, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 4706, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4703, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4707, + "name": "restoreShippingMethods", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4708, + "name": "restoreShippingMethods", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 4709, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 4710, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4711, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 4709, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 4712, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4709, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4713, + "name": "softDeleteLineItemAdjustments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4714, + "name": "softDeleteLineItemAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 4715, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 4716, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4717, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 4715, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 4718, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4715, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4719, + "name": "restoreLineItemAdjustments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4720, + "name": "restoreLineItemAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 4721, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 4722, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4723, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 4721, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 4724, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4721, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4725, + "name": "softDeleteShippingMethodAdjustments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4726, + "name": "softDeleteShippingMethodAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 4727, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 4728, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4729, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 4727, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 4730, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4727, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4731, + "name": "restoreShippingMethodAdjustments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4732, + "name": "restoreShippingMethodAdjustments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 4733, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 4734, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4735, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 4733, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 4736, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4733, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4737, + "name": "softDeleteLineItemTaxLines", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4738, + "name": "softDeleteLineItemTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 4739, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 4740, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4741, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 4739, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 4742, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4739, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4743, + "name": "restoreLineItemTaxLines", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4744, + "name": "restoreLineItemTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 4745, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 4746, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4747, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 4745, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 4748, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4745, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4749, + "name": "softDeleteShippingMethodTaxLines", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4750, + "name": "softDeleteShippingMethodTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 4751, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 4752, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4753, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 4751, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 4754, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4751, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4755, + "name": "restoreShippingMethodTaxLines", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4756, + "name": "restoreShippingMethodTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 4757, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 4758, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4759, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 4757, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 4760, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4757, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4761, + "name": "revertLastVersion", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4762, + "name": "revertLastVersion", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4763, + "name": "orderId", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4764, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4765, + "name": "registerFulfillment", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4766, + "name": "registerFulfillment", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4767, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 4304, + "name": "RegisterOrderFulfillmentDTO", + "package": "@medusajs/types" + } + }, + { + "id": 4768, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4769, + "name": "registerShipment", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4770, + "name": "registerShipment", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4771, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 4318, + "name": "RegisterOrderShipmentDTO", + "package": "@medusajs/types" + } + }, + { + "id": 4772, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 4773, + "name": "createReturn", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 4774, + "name": "createReturn", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 4775, + "name": "returnData", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 4332, + "name": "CreateOrderReturnDTO", + "package": "@medusajs/types" + } + }, + { + "id": 4776, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 4347, + 4352, + 4357, + 4362, + 4369, + 4380, + 4387, + 4393, + 4399, + 4404, + 4411, + 4418, + 4425, + 4430, + 4435, + 4444, + 4455, + 4465, + 4478, + 4483, + 4492, + 4502, + 4507, + 4515, + 4520, + 4530, + 4535, + 4544, + 4549, + 4559, + 4564, + 4573, + 4578, + 4588, + 4593, + 4602, + 4607, + 4617, + 4627, + 4640, + 4653, + 4666, + 4670, + 4677, + 4683, + 4689, + 4695, + 4701, + 4707, + 4713, + 4719, + 4725, + 4731, + 4737, + 4743, + 4749, + 4755, + 4761, + 4765, + 4769, + 4773 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3404, + "name": "IModuleService", + "package": "@medusajs/types" + } + ] + }, + { + "id": 4790, + "name": "OrderWorkflowDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 4793, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the order." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3767, + "name": "OrderDTO.id" + } + }, + { + "id": 4794, + "name": "version", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The version of the order." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 3768, + "name": "OrderDTO.version" + } + }, + { + "id": 4795, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the region the order belongs to." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3769, + "name": "OrderDTO.region_id" + } + }, + { + "id": 4796, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the customer on the order." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3770, + "name": "OrderDTO.customer_id" + } + }, + { + "id": 4797, + "name": "sales_channel_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the sales channel the order belongs to." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3771, + "name": "OrderDTO.sales_channel_id" + } + }, + { + "id": 4798, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email of the order." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3772, + "name": "OrderDTO.email" + } + }, + { + "id": 4799, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency of the order" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 3773, + "name": "OrderDTO.currency_code" + } + }, + { + "id": 4800, + "name": "shipping_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping address." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 3621, + "name": "OrderAddressDTO", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3774, + "name": "OrderDTO.shipping_address" + } + }, + { + "id": 4801, + "name": "billing_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated billing address." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 3621, + "name": "OrderAddressDTO", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3775, + "name": "OrderDTO.billing_address" + } + }, + { + "id": 4802, + "name": "items", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated order details / line items." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 3691, + "name": "OrderLineItemDTO", + "package": "@medusajs/types" + } + }, + "inheritedFrom": { + "type": "reference", + "target": 3776, + "name": "OrderDTO.items" + } + }, + { + "id": 4803, + "name": "shipping_methods", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping methods" + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 3637, + "name": "OrderShippingMethodDTO", + "package": "@medusajs/types" + } + }, + "inheritedFrom": { + "type": "reference", + "target": 3777, + "name": "OrderDTO.shipping_methods" + } + }, + { + "id": 4804, + "name": "transactions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tramsactions associated with the order" + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 3858, + "name": "OrderTransactionDTO", + "package": "@medusajs/types" + } + }, + "inheritedFrom": { + "type": "reference", + "target": 3778, + "name": "OrderDTO.transactions" + } + }, + { + "id": 4805, + "name": "summary", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The summary of the order totals." + } + ] + }, + "type": { + "type": "reference", + "target": 3528, + "name": "OrderSummaryDTO", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3779, + "name": "OrderDTO.summary" + } + }, + { + "id": 4806, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 3780, + "name": "OrderDTO.metadata" + } + }, + { + "id": 4807, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the order was created." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 3781, + "name": "OrderDTO.created_at" + } + }, + { + "id": 4808, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the order was updated." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 3782, + "name": "OrderDTO.updated_at" + } + }, + { + "id": 4809, + "name": "original_item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original item total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3783, + "name": "OrderDTO.original_item_total" + } + }, + { + "id": 4810, + "name": "original_item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original item subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3784, + "name": "OrderDTO.original_item_subtotal" + } + }, + { + "id": 4811, + "name": "original_item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original item tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3785, + "name": "OrderDTO.original_item_tax_total" + } + }, + { + "id": 4812, + "name": "item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3786, + "name": "OrderDTO.item_total" + } + }, + { + "id": 4813, + "name": "item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3787, + "name": "OrderDTO.item_subtotal" + } + }, + { + "id": 4814, + "name": "item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3788, + "name": "OrderDTO.item_tax_total" + } + }, + { + "id": 4815, + "name": "original_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3789, + "name": "OrderDTO.original_total" + } + }, + { + "id": 4816, + "name": "original_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3790, + "name": "OrderDTO.original_subtotal" + } + }, + { + "id": 4817, + "name": "original_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3791, + "name": "OrderDTO.original_tax_total" + } + }, + { + "id": 4818, + "name": "total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3792, + "name": "OrderDTO.total" + } + }, + { + "id": 4819, + "name": "subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtotal of the order. (Excluding taxes)" + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3793, + "name": "OrderDTO.subtotal" + } + }, + { + "id": 4820, + "name": "tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3794, + "name": "OrderDTO.tax_total" + } + }, + { + "id": 4821, + "name": "discount_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3795, + "name": "OrderDTO.discount_total" + } + }, + { + "id": 4822, + "name": "discount_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discount tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3796, + "name": "OrderDTO.discount_tax_total" + } + }, + { + "id": 4823, + "name": "gift_card_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The gift card total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3797, + "name": "OrderDTO.gift_card_total" + } + }, + { + "id": 4824, + "name": "gift_card_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The gift card tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3798, + "name": "OrderDTO.gift_card_tax_total" + } + }, + { + "id": 4825, + "name": "shipping_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3799, + "name": "OrderDTO.shipping_total" + } + }, + { + "id": 4826, + "name": "shipping_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3800, + "name": "OrderDTO.shipping_subtotal" + } + }, + { + "id": 4827, + "name": "shipping_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3801, + "name": "OrderDTO.shipping_tax_total" + } + }, + { + "id": 4828, + "name": "original_shipping_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original shipping total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3802, + "name": "OrderDTO.original_shipping_total" + } + }, + { + "id": 4829, + "name": "original_shipping_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original shipping subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3803, + "name": "OrderDTO.original_shipping_subtotal" + } + }, + { + "id": 4830, + "name": "original_shipping_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original shipping tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3804, + "name": "OrderDTO.original_shipping_tax_total" + } + }, + { + "id": 4831, + "name": "raw_original_item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original item total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3805, + "name": "OrderDTO.raw_original_item_total" + } + }, + { + "id": 4832, + "name": "raw_original_item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original item subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3806, + "name": "OrderDTO.raw_original_item_subtotal" + } + }, + { + "id": 4833, + "name": "raw_original_item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original item tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3807, + "name": "OrderDTO.raw_original_item_tax_total" + } + }, + { + "id": 4834, + "name": "raw_item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3808, + "name": "OrderDTO.raw_item_total" + } + }, + { + "id": 4835, + "name": "raw_item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3809, + "name": "OrderDTO.raw_item_subtotal" + } + }, + { + "id": 4836, + "name": "raw_item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw item tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3810, + "name": "OrderDTO.raw_item_tax_total" + } + }, + { + "id": 4837, + "name": "raw_original_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3811, + "name": "OrderDTO.raw_original_total" + } + }, + { + "id": 4838, + "name": "raw_original_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3812, + "name": "OrderDTO.raw_original_subtotal" + } + }, + { + "id": 4839, + "name": "raw_original_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3813, + "name": "OrderDTO.raw_original_tax_total" + } + }, + { + "id": 4840, + "name": "raw_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3814, + "name": "OrderDTO.raw_total" + } + }, + { + "id": 4841, + "name": "raw_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw subtotal of the order. (Excluding taxes)" + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3815, + "name": "OrderDTO.raw_subtotal" + } + }, + { + "id": 4842, + "name": "raw_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3816, + "name": "OrderDTO.raw_tax_total" + } + }, + { + "id": 4843, + "name": "raw_discount_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw discount total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3817, + "name": "OrderDTO.raw_discount_total" + } + }, + { + "id": 4844, + "name": "raw_discount_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw discount tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3818, + "name": "OrderDTO.raw_discount_tax_total" + } + }, + { + "id": 4845, + "name": "raw_gift_card_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw gift card total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3819, + "name": "OrderDTO.raw_gift_card_total" + } + }, + { + "id": 4846, + "name": "raw_gift_card_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw gift card tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3820, + "name": "OrderDTO.raw_gift_card_tax_total" + } + }, + { + "id": 4847, + "name": "raw_shipping_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw shipping total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3821, + "name": "OrderDTO.raw_shipping_total" + } + }, + { + "id": 4848, + "name": "raw_shipping_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw shipping subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3822, + "name": "OrderDTO.raw_shipping_subtotal" + } + }, + { + "id": 4849, + "name": "raw_shipping_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw shipping tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3823, + "name": "OrderDTO.raw_shipping_tax_total" + } + }, + { + "id": 4850, + "name": "raw_original_shipping_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original shipping total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3824, + "name": "OrderDTO.raw_original_shipping_total" + } + }, + { + "id": 4851, + "name": "raw_original_shipping_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original shipping subtotal of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3825, + "name": "OrderDTO.raw_original_shipping_subtotal" + } + }, + { + "id": 4852, + "name": "raw_original_shipping_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw original shipping tax total of the order." + } + ] + }, + "type": { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 3826, + "name": "OrderDTO.raw_original_shipping_tax_total" + } + }, + { + "id": 4791, + "name": "customer", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 1696, + "name": "CustomerDTO", + "package": "@medusajs/types" + } + }, + { + "id": 4792, + "name": "region", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7726, + "name": "RegionDTO", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4793, + 4794, + 4795, + 4796, + 4797, + 4798, + 4799, + 4800, + 4801, + 4802, + 4803, + 4804, + 4805, + 4806, + 4807, + 4808, + 4809, + 4810, + 4811, + 4812, + 4813, + 4814, + 4815, + 4816, + 4817, + 4818, + 4819, + 4820, + 4821, + 4822, + 4823, + 4824, + 4825, + 4826, + 4827, + 4828, + 4829, + 4830, + 4831, + 4832, + 4833, + 4834, + 4835, + 4836, + 4837, + 4838, + 4839, + 4840, + 4841, + 4842, + 4843, + 4844, + 4845, + 4846, + 4847, + 4848, + 4849, + 4850, + 4851, + 4852, + 4791, + 4792 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3766, + "name": "OrderDTO", + "package": "@medusajs/types" + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 3548, + 3558, + 3570, + 3582, + 3591, + 3606, + 3621, + 3637, + 3668, + 3691, + 3745, + 3766, + 3827, + 3845, + 3858, + 3870, + 3879, + 3883, + 3891, + 3899, + 3906, + 3914, + 3924, + 3934, + 3948, + 3955, + 3964, + 3971, + 3984, + 3998, + 4011, + 4028, + 4040, + 4046, + 4053, + 4060, + 4068, + 4076, + 4082, + 4089, + 4095, + 4102, + 4108, + 4115, + 4141, + 4167, + 4170, + 4197, + 4206, + 4214, + 4221, + 4228, + 4237, + 4251, + 4255, + 4259, + 4263, + 4272, + 4275, + 4282, + 4289, + 4301, + 4304, + 4318, + 4332, + 4346, + 4790 + ] + }, + { + "title": "Type Aliases", + "children": [ + 3528 + ] + } + ] + }, + { + "id": 6959, + "name": "PaymentCollectionStatus", + "variant": "declaration", + "kind": 8, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment collection's status." + } + ] + }, + "children": [ + { + "id": 6960, + "name": "NOT_PAID", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment collection isn't paid." + } + ] + }, + "type": { + "type": "literal", + "value": "not_paid" + } + }, + { + "id": 6961, + "name": "AWAITING", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment sessions in the payment collection are await authorization." + } + ] + }, + "type": { + "type": "literal", + "value": "awaiting" + } + }, + { + "id": 6962, + "name": "AUTHORIZED", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment sessions in the payment collection are authorized." + } + ] + }, + "type": { + "type": "literal", + "value": "authorized" + } + }, + { + "id": 6963, + "name": "PARTIALLY_AUTHORIZED", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Some of the payments in the payment collection are authorized." + } + ] + }, + "type": { + "type": "literal", + "value": "partially_authorized" + } + }, + { + "id": 6964, + "name": "CANCELED", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payments in the payment collection are canceled." + } + ] + }, + "type": { + "type": "literal", + "value": "canceled" + } + } + ], + "groups": [ + { + "title": "Enumeration Members", + "children": [ + 6960, + 6961, + 6962, + 6963, + 6964 + ] + } + ] + }, + { + "id": 6965, + "name": "PaymentSessionStatus", + "variant": "declaration", + "kind": 8, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The status of a payment session." + } + ] + }, + "children": [ + { + "id": 6966, + "name": "AUTHORIZED", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment is authorized." + } + ] + }, + "type": { + "type": "literal", + "value": "authorized" + } + }, + { + "id": 6967, + "name": "PENDING", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment is pending." + } + ] + }, + "type": { + "type": "literal", + "value": "pending" + } + }, + { + "id": 6968, + "name": "REQUIRES_MORE", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment requires an action." + } + ] + }, + "type": { + "type": "literal", + "value": "requires_more" + } + }, + { + "id": 6969, + "name": "ERROR", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An error occurred while processing the payment." + } + ] + }, + "type": { + "type": "literal", + "value": "error" + } + }, + { + "id": 6970, + "name": "CANCELED", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment is canceled." + } + ] + }, + "type": { + "type": "literal", + "value": "canceled" + } + } + ], + "groups": [ + { + "title": "Enumeration Members", + "children": [ + 6966, + 6967, + 6968, + 6969, + 6970 + ] + } + ] + }, + { + "id": 6971, + "name": "PaymentCollectionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment collection details." + } + ] + }, + "children": [ + { + "id": 6972, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the payment collection." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6973, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 3 character currency code of the payment sessions and payments associated with payment collection." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6974, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The id of the associated region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6975, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The total amount to be authorized and captured." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 6976, + "name": "authorized_amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount authorized within the associated payment sessions." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 6977, + "name": "refunded_amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount refunded within the associated payments." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 6978, + "name": "completed_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the payment collection was completed." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6979, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the payment collection was created." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6980, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the payment collection was updated." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6981, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 6982, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The status of the payment collection." + } + ] + }, + "type": { + "type": "reference", + "target": 6959, + "name": "PaymentCollectionStatus", + "package": "@medusajs/types" + } + }, + { + "id": 6983, + "name": "payment_providers", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment provider used to process the associated payment sessions and payments." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7083, + "name": "PaymentProviderDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 6984, + "name": "payment_sessions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated payment sessions." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7072, + "name": "PaymentSessionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 6985, + "name": "payments", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated payments." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7025, + "name": "PaymentDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6972, + 6973, + 6974, + 6975, + 6976, + 6977, + 6978, + 6979, + 6980, + 6981, + 6982, + 6983, + 6984, + 6985 + ] + } + ] + }, + { + "id": 6986, + "name": "FilterablePaymentCollectionProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved payment collection." + } + ] + }, + "children": [ + { + "id": 6991, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 6992, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 6987, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the payment collection by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 6988, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by associated region's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 6989, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter payment collections by created date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 6990, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter payment collections by updated date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6991, + 6992, + 6987, + 6988, + 6989, + 6990 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 6993, + "name": "FilterablePaymentSessionProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved payment sessions." + } + ] + }, + "children": [ + { + "id": 7003, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7072, + "name": "PaymentSessionDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7072, + "name": "PaymentSessionDTO", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 7004, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7072, + "name": "PaymentSessionDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7072, + "name": "PaymentSessionDTO", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 6994, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the payment sessions by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 6995, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the payment sessions by their currency code." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 6996, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the payment sessions by their amount." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 6997, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the payment sessions by the ID of their associated payment provider." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 6998, + "name": "payment_collection_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the payment sessions by the ID of their associated payment collection." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 6999, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the payment sessions by the ID of their associated region." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7000, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the payment sessions by their creation date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 7001, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the payment sessions by their update date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 7002, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the payment sessions by their deletion date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7003, + 7004, + 6994, + 6995, + 6996, + 6997, + 6998, + 6999, + 7000, + 7001, + 7002 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7072, + "name": "PaymentSessionDTO", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7005, + "name": "FilterableCaptureProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved captures." + } + ] + }, + "children": [ + { + "id": 7013, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7060, + "name": "CaptureDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7060, + "name": "CaptureDTO", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 7014, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7060, + "name": "CaptureDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7060, + "name": "CaptureDTO", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 7006, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the captures by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 7007, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the captures by their currency code." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 7008, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the captures by their amounts." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7009, + "name": "payment_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the captures by the ID of their associated payment." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 7010, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the captures by their creation date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 7011, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the captures by their update date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 7012, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the captures by their deletion date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7013, + 7014, + 7006, + 7007, + 7008, + 7009, + 7010, + 7011, + 7012 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7060, + "name": "CaptureDTO", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7015, + "name": "FilterableRefundProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved refunds." + } + ] + }, + "children": [ + { + "id": 7023, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7066, + "name": "RefundDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7066, + "name": "RefundDTO", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 7024, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7066, + "name": "RefundDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7066, + "name": "RefundDTO", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 7016, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the refunds by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 7017, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the refunds by their currency code." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 7018, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the refunds by their amount." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7019, + "name": "payment_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the refunds by the ID of their associated payment." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 7020, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the refunds by their creation date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 7021, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the refunds by their update date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 7022, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the refunds by their deletion date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7023, + 7024, + 7016, + 7017, + 7018, + 7019, + 7020, + 7021, + 7022 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7066, + "name": "RefundDTO", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7025, + "name": "PaymentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 7026, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the payment." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7027, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment's total amount." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7028, + "name": "authorized_amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The authorized amount of the payment." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7029, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 3 character currency code of the payment." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7030, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated payment provider." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7031, + "name": "cart_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated cart." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7032, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated order." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7033, + "name": "order_edit_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated order edit." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7034, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated customer." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7035, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data relevant for the payment provider to process the payment." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 7036, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the payment was created." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 7037, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the payment was updated." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 7038, + "name": "captured_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the payment was captured." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 7039, + "name": "canceled_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the payment was canceled." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 7040, + "name": "captured_amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The sum of the associated captures' amounts." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7041, + "name": "refunded_amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The sum of the associated refunds' amounts." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7042, + "name": "captures", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated captures." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7060, + "name": "CaptureDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 7043, + "name": "refunds", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated refunds." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7066, + "name": "RefundDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 7044, + "name": "payment_collection", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated payment collection." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7045, + "name": "payment_session", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment session from which the payment is created." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 7072, + "name": "PaymentSessionDTO", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7026, + 7027, + 7028, + 7029, + 7030, + 7031, + 7032, + 7033, + 7034, + 7035, + 7036, + 7037, + 7038, + 7039, + 7040, + 7041, + 7042, + 7043, + 7044, + 7045 + ] + } + ] + }, + { + "id": 7046, + "name": "FilterablePaymentProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved payments." + } + ] + }, + "children": [ + { + "id": 7058, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7046, + "name": "FilterablePaymentProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7046, + "name": "FilterablePaymentProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 7059, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7046, + "name": "FilterablePaymentProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7046, + "name": "FilterablePaymentProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 7047, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Find payments based on cart, order, or customer IDs through this search term." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7048, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the payments by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 7049, + "name": "session_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the payments by the ID of their associated payment session." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7050, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the payments by the ID of their associated customer." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7051, + "name": "cart_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the payments by the ID of their associated cart." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7052, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the payments by the ID of their associated order." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7053, + "name": "order_edit_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the payments by the ID of their associated order edit." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7054, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the payments by their creation date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 7055, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the payments by their update date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 7056, + "name": "captured_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the payments by their capture date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 7057, + "name": "canceled_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the payments by their cancelation date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7058, + 7059, + 7047, + 7048, + 7049, + 7050, + 7051, + 7052, + 7053, + 7054, + 7055, + 7056, + 7057 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7046, + "name": "FilterablePaymentProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7060, + "name": "CaptureDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The capture details." + } + ] + }, + "children": [ + { + "id": 7061, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the capture." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7062, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The captured amount." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7063, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the capture." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 7064, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Who the capture was created by. For example,\nthe ID of a user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7065, + "name": "payment", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated payment." + } + ] + }, + "type": { + "type": "reference", + "target": 7025, + "name": "PaymentDTO", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7061, + 7062, + 7063, + 7064, + 7065 + ] + } + ] + }, + { + "id": 7066, + "name": "RefundDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The refund details." + } + ] + }, + "children": [ + { + "id": 7067, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the refund" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7068, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The refunded amount." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7069, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the refund." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 7070, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Who created the refund. For example,\nthe user's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7071, + "name": "payment", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated payment." + } + ] + }, + "type": { + "type": "reference", + "target": 7025, + "name": "PaymentDTO", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7067, + 7068, + 7069, + 7070, + 7071 + ] + } + ] + }, + { + "id": 7072, + "name": "PaymentSessionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment session details." + } + ] + }, + "children": [ + { + "id": 7073, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the payment session." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7074, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount to authorize." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7075, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The 3 character currency code of the payment session." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7076, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated payment provider." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7077, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data necessary for the payment provider to process the payment session." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 7078, + "name": "context", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The context necessary for the payment provider." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 7079, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The status of the payment session." + } + ] + }, + "type": { + "type": "reference", + "target": 6965, + "name": "PaymentSessionStatus", + "package": "@medusajs/types" + } + }, + { + "id": 7080, + "name": "authorized_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the payment session was authorized." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 7081, + "name": "payment_collection", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment collection the session is associated with." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7082, + "name": "payment", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment created from the session." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 7025, + "name": "PaymentDTO", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7073, + 7074, + 7075, + 7076, + 7077, + 7078, + 7079, + 7080, + 7081, + 7082 + ] + } + ] + }, + { + "id": 7083, + "name": "PaymentProviderDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment provider details." + } + ] + }, + "children": [ + { + "id": 7084, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the payment provider." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7085, + "name": "is_enabled", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the payment provider is enabled." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7084, + 7085 + ] + } + ] + }, + { + "id": 7086, + "name": "FilterablePaymentProviderProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved payment providers." + } + ] + }, + "children": [ + { + "id": 7089, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7083, + "name": "PaymentProviderDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7083, + "name": "PaymentProviderDTO", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 7090, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7083, + "name": "PaymentProviderDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7083, + "name": "PaymentProviderDTO", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 7087, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the payment collection by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7088, + "name": "is_enabled", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter by whether the payment provider is enabled." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7089, + 7090, + 7087, + 7088 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7083, + "name": "PaymentProviderDTO", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7091, + "name": "CreatePaymentCollectionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment collection to be created." + } + ] + }, + "children": [ + { + "id": 7092, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated region's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7093, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 3 character currency code of the payment collection." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7094, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of the payment collection." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 7095, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7092, + 7093, + 7094, + 7095 + ] + } + ] + }, + { + "id": 7096, + "name": "UpdatePaymentCollectionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the payment collection." + } + ] + }, + "children": [ + { + "id": 7098, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated region's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.region_id" + } + }, + { + "id": 7099, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 3 character currency code of the payment collection." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.currency_code" + } + }, + { + "id": 7100, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of the payment collection." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.amount" + } + }, + { + "id": 7101, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.metadata" + } + }, + { + "id": 7097, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the payment collection." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7098, + 7099, + 7100, + 7101, + 7097 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 7091, + "name": "CreatePaymentCollectionDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + ] + }, + { + "id": 7102, + "name": "UpsertPaymentCollectionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the payment collection to be created or updated." + } + ] + }, + "children": [ + { + "id": 7103, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the payment collection." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7104, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated region's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7105, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 3 character currency code of the payment collection." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7106, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of the payment collection." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 7107, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7103, + 7104, + 7105, + 7106, + 7107 + ] + } + ] + }, + { + "id": 7108, + "name": "PaymentCollectionUpdatableFields", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the payment collection." + } + ] + }, + "children": [ + { + "id": 7109, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated region's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7110, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "{The ISO 3 character currency code of the payment collection." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7111, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of the payment collection." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 7112, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7109, + 7110, + 7111, + 7112 + ] + } + ] + }, + { + "id": 7113, + "name": "CreatePaymentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment to be created." + } + ] + }, + "children": [ + { + "id": 7114, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of the payment." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 7115, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 3 character currency code of the payment." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7116, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated provider's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7117, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data necessary for the associated payment provider to process the payment." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 7118, + "name": "payment_session_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the payment session this payment was created from." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7119, + "name": "payment_collection_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated payment collection's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7120, + "name": "cart_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated cart's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7121, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated order's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7122, + "name": "order_edit_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated order edit's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7123, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated customer's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7114, + 7115, + 7116, + 7117, + 7118, + 7119, + 7120, + 7121, + 7122, + 7123 + ] + } + ] + }, + { + "id": 7124, + "name": "UpdatePaymentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the payment." + } + ] + }, + "children": [ + { + "id": 7125, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the payment." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7126, + "name": "cart_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated cart's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7127, + "name": "order_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated order's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7128, + "name": "order_edit_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated order edit's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7129, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated customer's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7125, + 7126, + 7127, + 7128, + 7129 + ] + } + ] + }, + { + "id": 7130, + "name": "CreateCaptureDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The capture to be created." + } + ] + }, + "children": [ + { + "id": 7131, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of the capture." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 7132, + "name": "payment_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated payment's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7133, + "name": "captured_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Who captured the payment. For example,\na user's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7131, + 7132, + 7133 + ] + } + ] + }, + { + "id": 7134, + "name": "CreateRefundDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The refund to be created." + } + ] + }, + "children": [ + { + "id": 7135, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of the refund." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 7136, + "name": "payment_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated payment's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7137, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Who refunded the payment. For example,\na user's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7135, + 7136, + 7137 + ] + } + ] + }, + { + "id": 7138, + "name": "CreatePaymentSessionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment session to be created." + } + ] + }, + "children": [ + { + "id": 7139, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The provider's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7140, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 3 character currency code of the payment session." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7141, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount to be authorized." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 7142, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Necessary data for the associated payment provider to process the payment." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 7143, + "name": "context", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Necessary context data for the associated payment provider." + } + ] + }, + "type": { + "type": "reference", + "target": 7167, + "name": "PaymentProviderContext", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7139, + 7140, + 7141, + 7142, + 7143 + ] + } + ] + }, + { + "id": 7144, + "name": "UpdatePaymentSessionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in a payment session." + } + ] + }, + "children": [ + { + "id": 7145, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment session's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7146, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Necessary data for the associated payment provider to process the payment." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 7147, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 3 character currency code." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7148, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount to be authorized." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 7149, + "name": "context", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Necessary context data for the associated payment provider." + } + ] + }, + "type": { + "type": "reference", + "target": 7167, + "name": "PaymentProviderContext", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7145, + 7146, + 7147, + 7148, + 7149 + ] + } + ] + }, + { + "id": 7150, + "name": "CreatePaymentProviderDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment provider to be created." + } + ] + }, + "children": [ + { + "id": 7151, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The provider's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7152, + "name": "is_enabled", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the provider is enabled." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7151, + 7152 + ] + } + ] + }, + { + "id": 7153, + "name": "ProviderWebhookPayload", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the webhook event payload." + } + ] + }, + "children": [ + { + "id": 7154, + "name": "provider", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the provider to pass the webhook event payload to." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7155, + "name": "payload", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The webhook event payload passed to the specified provider." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 7156, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7157, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The parsed webhook body." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 7158, + "name": "rawData", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw webhook request body." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/@types/node/buffer.d.ts", + "qualifiedName": "__global.Buffer" + }, + "name": "Buffer", + "package": "@types/node", + "qualifiedName": "__global.Buffer" + } + ] + } + }, + { + "id": 7159, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The headers of the webhook request." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7157, + 7158, + 7159 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7154, + 7155 + ] + } + ] + }, + { + "id": 7160, + "name": "PaymentAddressDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address of the payment." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1, + "name": "AddressDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + }, + { + "id": 7161, + "name": "PaymentCustomerDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer associated with the payment." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1696, + "name": "CustomerDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + }, + { + "id": 7162, + "name": "PaymentActions", + "variant": "declaration", + "kind": 8, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Normalized events from payment provider to internal payment module events." + } + ] + }, + "children": [ + { + "id": 7163, + "name": "AUTHORIZED", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Payment session has been authorized and there are available funds for capture." + } + ] + }, + "type": { + "type": "literal", + "value": "authorized" + } + }, + { + "id": 7164, + "name": "SUCCESSFUL", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Payment was successful and the mount is captured." + } + ] + }, + "type": { + "type": "literal", + "value": "captured" + } + }, + { + "id": 7165, + "name": "FAILED", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Payment failed." + } + ] + }, + "type": { + "type": "literal", + "value": "failed" + } + }, + { + "id": 7166, + "name": "NOT_SUPPORTED", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Received an event that is not processable." + } + ] + }, + "type": { + "type": "literal", + "value": "not_supported" + } + } + ], + "groups": [ + { + "title": "Enumeration Members", + "children": [ + 7163, + 7164, + 7165, + 7166 + ] + } + ] + }, + { + "id": 7167, + "name": "PaymentProviderContext", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Context data provided to the payment provider when authorizing a payment session." + } + ] + }, + "children": [ + { + "id": 7168, + "name": "billing_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment's billing address." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1, + "name": "AddressDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + }, + { + "id": 7169, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated customer's email." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7170, + "name": "resource_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the resource the payment is associated with. For example, the ID of the payment session." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7171, + "name": "customer", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer associated with this payment." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1696, + "name": "CustomerDTO", + "package": "@medusajs/types" + } + ], + "name": "Partial", + "package": "typescript" + } + }, + { + "id": 7172, + "name": "extra", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The extra fields specific to the provider session." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7168, + 7169, + 7170, + 7171, + 7172 + ] + } + ] + }, + { + "id": 7173, + "name": "CreatePaymentProviderSession", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data used initiate a payment in a provider when a payment\nsession is created." + } + ] + }, + "children": [ + { + "id": 7174, + "name": "context", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context necessary for the payment provider." + } + ] + }, + "type": { + "type": "reference", + "target": 7167, + "name": "PaymentProviderContext", + "package": "@medusajs/types" + } + }, + { + "id": 7175, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount to be authorized." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 7176, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 3 character currency code." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7174, + 7175, + 7176 + ] + } + ] + }, + { + "id": 7177, + "name": "UpdatePaymentProviderSession", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update a payment related to a payment session in a provider." + } + ] + }, + "children": [ + { + "id": 7178, + "name": "context", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A payment's context." + } + ] + }, + "type": { + "type": "reference", + "target": 7167, + "name": "PaymentProviderContext", + "package": "@medusajs/types" + } + }, + { + "id": 7179, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " field of the payment session." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 7180, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment session's amount." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 7181, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 3 character code of the payment session." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7178, + 7179, + 7180, + 7181 + ] + } + ] + }, + { + "id": 7182, + "name": "PaymentProviderSessionResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The response of operations on a payment." + } + ] + }, + "children": [ + { + "id": 7183, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to be stored in the " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " field of the Payment Session to be created.\nThe " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " field is useful to hold any data required by the third-party provider to process the payment or retrieve its details at a later point." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7183 + ] + } + ] + }, + { + "id": 7184, + "name": "PaymentProviderAuthorizeResponse", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The successful result of authorizing a payment session using a payment provider." + } + ] + }, + "children": [ + { + "id": 7185, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The status of the payment, which will be stored in the payment session's " + }, + { + "kind": "code", + "text": "`status`" + }, + { + "kind": "text", + "text": " field." + } + ] + }, + "type": { + "type": "reference", + "target": 6965, + "name": "PaymentSessionStatus", + "package": "@medusajs/types" + } + }, + { + "id": 7186, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " to be stored in the payment session's " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " field." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7185, + 7186 + ] + } + ] + }, + { + "id": 7187, + "name": "PaymentProviderDataInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of which payment provider to use to perform an action, and what\ndata to be passed to that provider." + } + ] + }, + "children": [ + { + "id": 7188, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the provider to be used to perform an action." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7189, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to be passed to the provider." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7188, + 7189 + ] + } + ] + }, + { + "id": 7190, + "name": "PaymentProviderError", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is returned in case of an error." + } + ] + }, + "children": [ + { + "id": 7191, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The error message" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7192, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The error code." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7193, + "name": "detail", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Any additional helpful details." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7191, + 7192, + 7193 + ] + } + ] + }, + { + "id": 7194, + "name": "WebhookActionData", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of an action to be performed as a result of a received webhook event." + } + ] + }, + "children": [ + { + "id": 7195, + "name": "resource_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated resource's ID. For example,\na payment session's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7196, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount to be captured or authorized (based on the action's type.)" + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7195, + 7196 + ] + } + ] + }, + { + "id": 7197, + "name": "WebhookActionResult", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The actions that the payment provider informs the Payment Module to perform." + } + ] + }, + "children": [ + { + "id": 7198, + "name": "action", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Received an event that is not processable." + } + ] + }, + "type": { + "type": "reference", + "target": 7162, + "name": "PaymentActions", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7198 + ] + } + ] + }, + { + "id": 7199, + "name": "IPaymentProvider", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 7202, + "name": "initiatePayment", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7203, + "name": "initiatePayment", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This methods sends a request to the third-party provider to initialize the payment. It's called when the payment session is created.\n\nFor example, in the Stripe provider, this method is used to create a Payment Intent for the customer." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Either the payment's data, which is stored in the " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " field\nof the payment session, or an error object." + } + ] + } + ] + }, + "parameters": [ + { + "id": 7204, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data necessary to initiate the payment." + } + ] + }, + "type": { + "type": "reference", + "target": 7173, + "name": "CreatePaymentProviderSession", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7182, + "name": "PaymentProviderSessionResponse", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 7190, + "name": "PaymentProviderError", + "package": "@medusajs/types" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7205, + "name": "updatePayment", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7206, + "name": "updatePayment", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to update a payment associated with a session in the third-party provider." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Either the payment's data or an error object." + } + ] + } + ] + }, + "parameters": [ + { + "id": 7207, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data related to the update." + } + ] + }, + "type": { + "type": "reference", + "target": 7177, + "name": "UpdatePaymentProviderSession", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7182, + "name": "PaymentProviderSessionResponse", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 7190, + "name": "PaymentProviderError", + "package": "@medusajs/types" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7208, + "name": "deletePayment", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7209, + "name": "deletePayment", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is called before a payment session is deleted. It's used to perform any actions necessary before the deletion." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Either an error object or an empty object." + } + ] + } + ] + }, + "parameters": [ + { + "id": 7210, + "name": "paymentSessionData", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " field of the Payment Session." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + { + "type": "reference", + "target": 7190, + "name": "PaymentProviderError", + "package": "@medusajs/types" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7211, + "name": "authorizePayment", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7212, + "name": "authorizePayment", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is called when a payment session should be authorized.\nYou can interact with a third-party provider and perform the necessary actions to authorize the payment.\n\nRefer to [this guide](https://docs.medusajs.com/v1/experimental/payment/payment-flow/#3-authorize-payment-session)\nto learn more about how this fits into the payment flow and how to handle required actions." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The authorization details or an error object. If\nthe authorization details are returned, the " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`status`" + }, + { + "kind": "text", + "text": " field are set in the associated payment session." + } + ] + } + ] + }, + "parameters": [ + { + "id": 7213, + "name": "paymentSessionData", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " field of the payment session." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 7214, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The context of the authorization." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7184, + "name": "PaymentProviderAuthorizeResponse", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 7190, + "name": "PaymentProviderError", + "package": "@medusajs/types" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7215, + "name": "capturePayment", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7216, + "name": "capturePayment", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is called when a payment should be captured. The payment is captured in one of the following scenarios:\n\n- The payment provider supports automatically capturing the payment after authorization.\n- The merchant requests to capture the payment after its associated payment session was authorized.\n- A webhook event occurred that instructs the payment provider to capture the payment session. Learn more about handing webhook events in [this guide](https://docs.medusajs.com/v1/experimental/payment/webhook-events/)\n\nIn this method, you can interact with the third-party provider and perform any actions necessary to capture the payment." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Either an error object or a value that's stored in the " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " field of the payment." + } + ] + } + ] + }, + "parameters": [ + { + "id": 7217, + "name": "paymentSessionData", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " field of the payment." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + { + "type": "reference", + "target": 7190, + "name": "PaymentProviderError", + "package": "@medusajs/types" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7218, + "name": "refundPayment", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7219, + "name": "refundPayment", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is called when a payment should be refunded. This is typically triggered manually by the merchant.\n\nIn this method, you can interact with the third-party provider and perform any actions necessary to refund the payment." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Either an error object or an object that's stored in the " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " field of the payment." + } + ] + } + ] + }, + "parameters": [ + { + "id": 7220, + "name": "paymentSessionData", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " field of a Payment." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 7221, + "name": "refundAmount", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount to refund." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + { + "type": "reference", + "target": 7190, + "name": "PaymentProviderError", + "package": "@medusajs/types" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7222, + "name": "retrievePayment", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7223, + "name": "retrievePayment", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to provide a uniform way of retrieving the payment information from the third-party provider.\n\nFor example, in Stripe’s payment provider this method is used to retrieve the payment intent details from Stripe." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Either an error object or the payment's data retrieved from a third-party provider." + } + ] + } + ] + }, + "parameters": [ + { + "id": 7224, + "name": "paymentSessionData", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " field of a payment session. Make sure to store in the " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " field any necessary data that would allow you to retrieve the payment data from the third-party provider." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + { + "type": "reference", + "target": 7190, + "name": "PaymentProviderError", + "package": "@medusajs/types" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7225, + "name": "cancelPayment", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7226, + "name": "cancelPayment", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is called when a payment is canceled.\n\nIn this method, you can interact with the third-party provider and perform any actions necessary to cancel the payment." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Either an error object or a value that's stored in the " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " field of the payment." + } + ] + } + ] + }, + "parameters": [ + { + "id": 7227, + "name": "paymentSessionData", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " field of the payment." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + { + "type": "reference", + "target": 7190, + "name": "PaymentProviderError", + "package": "@medusajs/types" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7228, + "name": "getPaymentStatus", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7229, + "name": "getPaymentStatus", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to get the status of a payment or a payment session." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The status of the payment or payment session." + } + ] + } + ] + }, + "parameters": [ + { + "id": 7230, + "name": "paymentSessionData", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`data`" + }, + { + "kind": "text", + "text": " field of a payment as a parameter. You can use this data to interact with the third-party provider to check the status of the payment if necessary." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 6965, + "name": "PaymentSessionStatus", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7231, + "name": "getWebhookActionAndData", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7232, + "name": "getWebhookActionAndData", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The method is called when a webhook event is received for this provider.\n\nThe method is responsible for normalizing the received event and inform the Payment Module of actions to perform, such as authorize or capture payment.\n\nLearn more about handling webhook events in [this guide](https://docs.medusajs.com/v1/experimental/payment/webhook-events/)" + } + ] + }, + "parameters": [ + { + "id": 7233, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The webhook event's details." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 7234, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7235, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The parsed webhook body." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 7236, + "name": "rawData", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The raw webhook request body." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/@types/node/buffer.d.ts", + "qualifiedName": "__global.Buffer" + }, + "name": "Buffer", + "package": "@types/node", + "qualifiedName": "__global.Buffer" + } + ] + } + }, + { + "id": 7237, + "name": "headers", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The headers of the webhook request." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7235, + 7236, + 7237 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 7197, + "name": "WebhookActionResult", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 7202, + 7205, + 7208, + 7211, + 7215, + 7218, + 7222, + 7225, + 7228, + 7231 + ] + } + ] + }, + { + "id": 7238, + "name": "IPaymentModuleService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The main service interface for the Payment Module." + } + ] + }, + "children": [ + { + "id": 7239, + "name": "createPaymentCollections", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7240, + "name": "createPaymentCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates payment collections." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created payment collections." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst paymentCollections =\n await paymentModuleService.createPaymentCollections([\n {\n region_id: \"reg_123\",\n currency_code: \"usd\",\n amount: 3000,\n },\n {\n region_id: \"reg_321\",\n currency_code: \"eur\",\n amount: 2000,\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7241, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment collections to create." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7091, + "name": "CreatePaymentCollectionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 7242, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 7243, + "name": "createPaymentCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a payment collection." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created payment collection." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst paymentCollection =\n await paymentModuleService.createPaymentCollections({\n region_id: \"reg_123\",\n currency_code: \"usd\",\n amount: 3000,\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7244, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment collection to create." + } + ] + }, + "type": { + "type": "reference", + "target": 7091, + "name": "CreatePaymentCollectionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7245, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7246, + "name": "retrievePaymentCollection", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7247, + "name": "retrievePaymentCollection", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a payment collection by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved payment collection." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a {type name} by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst paymentCollection =\n await paymentModuleService.retrievePaymentCollection(\n \"pay_col_123\"\n )\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst paymentCollection =\n await paymentModuleService.retrievePaymentCollection(\n \"pay_col_123\",\n {\n relations: [\"payment_sessions\"],\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7248, + "name": "paymentCollectionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment collection's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7249, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the payment collection is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a payment collection." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 7250, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7251, + "name": "listPaymentCollections", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7252, + "name": "listPaymentCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of payment collections based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of payment collections." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of payment collections using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst paymentCollections =\n await paymentModuleService.listPaymentCollections({\n id: [\"pay_col_123\", \"pay_col_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the payment collection:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst paymentCollections =\n await paymentModuleService.listPaymentCollections(\n {\n id: [\"pay_col_123\", \"pay_col_321\"],\n },\n {\n relations: [\"payment_sessions\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst paymentCollections =\n await paymentModuleService.listPaymentCollections(\n {\n id: [\"pay_col_123\", \"pay_col_321\"],\n },\n {\n relations: [\"payment_sessions\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7253, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved payment collection." + } + ] + }, + "type": { + "type": "reference", + "target": 6986, + "name": "FilterablePaymentCollectionProps", + "package": "@medusajs/types" + } + }, + { + "id": 7254, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the payment collection is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a payment collection." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 7255, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7256, + "name": "listAndCountPaymentCollections", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7257, + "name": "listAndCountPaymentCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of payment collections along with the total count of available payment collections satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of payment collections along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of {type name} using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst paymentCollections =\n await paymentModuleService.listAndCountPaymentCollections({\n id: [\"pay_col_123\", \"pay_col_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the {type name}:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst paymentCollections =\n await paymentModuleService.listAndCountPaymentCollections(\n {\n id: [\"pay_col_123\", \"pay_col_321\"],\n },\n {\n relations: [\"payment_sessions\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`{default limit}`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst paymentCollections =\n await paymentModuleService.listAndCountPaymentCollections(\n {\n id: [\"pay_col_123\", \"pay_col_321\"],\n },\n {\n relations: [\"payment_sessions\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7258, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved payment collection." + } + ] + }, + "type": { + "type": "reference", + "target": 6986, + "name": "FilterablePaymentCollectionProps", + "package": "@medusajs/types" + } + }, + { + "id": 7259, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the payment collection is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a payment collection." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 7260, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7261, + "name": "updatePaymentCollections", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7262, + "name": "updatePaymentCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing payment collection." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated payment collection." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst paymentCollection =\n await paymentModuleService.updatePaymentCollections(\n \"pay_col_123\",\n {\n amount: 3000,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7263, + "name": "paymentCollectionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment collection's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7264, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the payment collection." + } + ] + }, + "type": { + "type": "reference", + "target": 7108, + "name": "PaymentCollectionUpdatableFields", + "package": "@medusajs/types" + } + }, + { + "id": 7265, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 7266, + "name": "updatePaymentCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing payment collections matching the specified filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated payment collections." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst paymentCollections =\n await paymentModuleService.updatePaymentCollections(\n {\n id: [\"pay_col_123\", \"pay_col_321\"],\n },\n {\n currency_code: \"usd\",\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7267, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters specifying which payment collections to update." + } + ] + }, + "type": { + "type": "reference", + "target": 6986, + "name": "FilterablePaymentCollectionProps", + "package": "@medusajs/types" + } + }, + { + "id": 7268, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the payment collections." + } + ] + }, + "type": { + "type": "reference", + "target": 7108, + "name": "PaymentCollectionUpdatableFields", + "package": "@medusajs/types" + } + }, + { + "id": 7269, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7270, + "name": "upsertPaymentCollections", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7271, + "name": "upsertPaymentCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates or creates payment collections if they don't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created or updated payment collections." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst paymentCollections =\n await paymentModuleService.upsertPaymentCollections([\n {\n id: \"pay_col_123\",\n region_id: \"reg_123\",\n },\n {\n region_id: \"reg_123\",\n currency_code: \"usd\",\n amount: 3000,\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7272, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the payment collections to be created or updated. If\nthe object includes the " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " field, then the payment collection is updated. Otherise, it's created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7102, + "name": "UpsertPaymentCollectionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 7273, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 7274, + "name": "upsertPaymentCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates or creates a payment collection if it doesn't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created or updated payment collection." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst paymentCollection =\n await paymentModuleService.upsertPaymentCollections({\n id: \"pay_col_123\",\n region_id: \"reg_123\",\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7275, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the payment collection to be created or updated. If the " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": "\nfield is included, the payment collection is updated. Otherwise, it's created." + } + ] + }, + "type": { + "type": "reference", + "target": 7102, + "name": "UpsertPaymentCollectionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7276, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7277, + "name": "deletePaymentCollections", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7278, + "name": "deletePaymentCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a payment collection by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the payment collection is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait paymentModuleService.deletePaymentCollections([\n \"pay_col_123\",\n \"pay_col_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7279, + "name": "paymentCollectionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment collection's ID." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7280, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 7281, + "name": "deletePaymentCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a payment collection by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the payment collection is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait paymentModuleService.deletePaymentCollections(\n \"pay_col_123\"\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7282, + "name": "paymentCollectionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment collection's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7283, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7284, + "name": "completePaymentCollections", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7285, + "name": "completePaymentCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method marks a payment collection as completed by settings its " + }, + { + "kind": "code", + "text": "`completed_at`" + }, + { + "kind": "text", + "text": " field to the current date and time." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The payment collection's details." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst paymentCollection =\n await paymentModuleService.completePaymentCollections(\n \"pay_col_123\"\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7286, + "name": "paymentCollectionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment collection's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7287, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 7288, + "name": "completePaymentCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method marks payment collections as completed by settings their " + }, + { + "kind": "code", + "text": "`completed_at`" + }, + { + "kind": "text", + "text": " field to the current date and time." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The payment collections' details." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst paymentCollection =\n await paymentModuleService.completePaymentCollections([\n \"pay_col_123\",\n \"pay_col_321\",\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7289, + "name": "paymentCollectionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment collections' IDs." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7290, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 6971, + "name": "PaymentCollectionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7291, + "name": "createPaymentSession", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7292, + "name": "createPaymentSession", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a payment session in a payment collection." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The payment collection's details." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst paymentSession =\n await paymentModuleService.createPaymentSession(\n \"pay_col_1\",\n {\n provider_id: \"stripe\",\n currency_code: \"usd\",\n amount: 3000,\n data: {},\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7293, + "name": "paymentCollectionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the payment collection to create the session for." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7294, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the payment session." + } + ] + }, + "type": { + "type": "reference", + "target": 7138, + "name": "CreatePaymentSessionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7295, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 7072, + "name": "PaymentSessionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7296, + "name": "updatePaymentSession", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7297, + "name": "updatePaymentSession", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates a payment session." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The payment session's details." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst paymentSession =\n await paymentModuleService.updatePaymentSession({\n id: \"payses_123\",\n currency_code: \"usd\",\n amount: 3000,\n data: {},\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7298, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the payment session." + } + ] + }, + "type": { + "type": "reference", + "target": 7144, + "name": "UpdatePaymentSessionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7299, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 7072, + "name": "PaymentSessionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7300, + "name": "deletePaymentSession", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7301, + "name": "deletePaymentSession", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a payment session." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves whent the payment session is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait paymentModuleService.deletePaymentSession(\"payses_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7302, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the payment session." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7303, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7304, + "name": "authorizePaymentSession", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7305, + "name": "authorizePaymentSession", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method authorizes a payment session using its associated payment provider. This creates a payment that can later be captured.\n\nLearn more about the payment flow in [this guide](https://docs.medusajs.com/v1/experimental/payment/payment-flow/)" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created payment." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst payment =\n await paymentModuleService.authorizePaymentSession(\n \"payses_123\",\n {}\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7306, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment session's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7307, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Context data to pass to the associated payment provider." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 7308, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 7025, + "name": "PaymentDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7309, + "name": "listPaymentSessions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7310, + "name": "listPaymentSessions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of payment sessions based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of payment sessions." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of payment sessions using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst paymentSessions =\n await paymentModuleService.listPaymentSessions({\n id: [\"payses_123\", \"payses_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the payment session:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst paymentSessions =\n await paymentModuleService.listPaymentSessions(\n {\n id: [\"payses_123\", \"payses_321\"],\n },\n {\n relations: [\"payment\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst paymentSessions =\n await paymentModuleService.listPaymentSessions(\n {\n id: [\"payses_123\", \"payses_321\"],\n },\n {\n relations: [\"payment\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7311, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved payment sessions." + } + ] + }, + "type": { + "type": "reference", + "target": 6993, + "name": "FilterablePaymentSessionProps", + "package": "@medusajs/types" + } + }, + { + "id": 7312, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the payment session is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a payment session." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 7072, + "name": "PaymentSessionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 7313, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 7072, + "name": "PaymentSessionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7314, + "name": "listPayments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7315, + "name": "listPayments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of payments based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A list of payment." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of payments using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst payments = await paymentModuleService.listPayments({\n id: [\"pay_123\", \"pay_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the payment:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst payments = await paymentModuleService.listPayments(\n {\n id: [\"pay_123\", \"pay_321\"],\n },\n {\n relations: [\"payment_session\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst payments = await paymentModuleService.listPayments(\n {\n id: [\"pay_123\", \"pay_321\"],\n },\n {\n relations: [\"payment_session\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7316, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved payment." + } + ] + }, + "type": { + "type": "reference", + "target": 7046, + "name": "FilterablePaymentProps", + "package": "@medusajs/types" + } + }, + { + "id": 7317, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the payment is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a payment." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 7025, + "name": "PaymentDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 7318, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 7025, + "name": "PaymentDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7319, + "name": "updatePayment", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7320, + "name": "updatePayment", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing payment." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated payment." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst payment = await paymentModuleService.updatePayment({\n id: \"pay_123\",\n customer_id: \"cus_123\",\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7321, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the payment." + } + ] + }, + "type": { + "type": "reference", + "target": 7124, + "name": "UpdatePaymentDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7322, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 7025, + "name": "PaymentDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7323, + "name": "capturePayment", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7324, + "name": "capturePayment", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method captures a payment using its associated payment provider.\n\nLearn more about the payment flow in [this guide](https://docs.medusajs.com/v1/experimental/payment/payment-flow/)" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The payment's details." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst payment = await paymentModuleService.capturePayment({\n payment_id: \"pay_123\",\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7325, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment capture to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 7130, + "name": "CreateCaptureDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7326, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 7025, + "name": "PaymentDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7327, + "name": "refundPayment", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7328, + "name": "refundPayment", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method refunds a payment using its associated payment provider. An amount can only be refunded if it has been captured first." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The payment's details." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst payment = await paymentModuleService.refundPayment({\n payment_id: \"pay_123\",\n amount: 300,\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7329, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The refund to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 7134, + "name": "CreateRefundDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7330, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 7025, + "name": "PaymentDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7331, + "name": "cancelPayment", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7332, + "name": "cancelPayment", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method cancels a payment." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The payment's details." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst payment =\n await paymentModuleService.cancelPayment(\"pay_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7333, + "name": "paymentId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The payment's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7334, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 7025, + "name": "PaymentDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7335, + "name": "listPaymentProviders", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7336, + "name": "listPaymentProviders", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of payment providers based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of payment providers." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of payment providers using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst paymentProviders =\n await paymentModuleService.listPaymentProviders({\n id: [\"stripe\", \"system\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst paymentProviders =\n await paymentModuleService.listPaymentProviders(\n {\n id: [\"stripe\", \"system\"],\n },\n {\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7337, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved payment providers." + } + ] + }, + "type": { + "type": "reference", + "target": 7086, + "name": "FilterablePaymentProviderProps", + "package": "@medusajs/types" + } + }, + { + "id": 7338, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the payment provider is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a payment provider." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 7083, + "name": "PaymentProviderDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 7339, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 7083, + "name": "PaymentProviderDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7340, + "name": "listAndCountPaymentProviders", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7341, + "name": "listAndCountPaymentProviders", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 7342, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7086, + "name": "FilterablePaymentProviderProps", + "package": "@medusajs/types" + } + }, + { + "id": 7343, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 7083, + "name": "PaymentProviderDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 7344, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 7083, + "name": "PaymentProviderDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7345, + "name": "listCaptures", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7346, + "name": "listCaptures", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of captures based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of captures." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of captures using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst captures = await paymentModuleService.listCaptures({\n id: [\"capt_123\", \"capt_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the capture:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst captures = await paymentModuleService.listCaptures(\n {\n id: [\"capt_123\", \"capt_321\"],\n },\n {\n relations: [\"payment\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst captures = await paymentModuleService.listCaptures(\n {\n id: [\"capt_123\", \"capt_321\"],\n },\n {\n relations: [\"payment\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7347, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved captures." + } + ] + }, + "type": { + "type": "reference", + "target": 7005, + "name": "FilterableCaptureProps", + "package": "@medusajs/types" + } + }, + { + "id": 7348, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the capture is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a capture." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 7060, + "name": "CaptureDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 7349, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 7060, + "name": "CaptureDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7350, + "name": "listRefunds", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7351, + "name": "listRefunds", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of refunds based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of refunds." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of refunds using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst refunds = await paymentModuleService.listRefunds({\n id: [\"ref_123\", \"ref_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the refund:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst refunds = await paymentModuleService.listRefunds(\n {\n id: [\"ref_123\", \"ref_321\"],\n },\n {\n relations: [\"payment\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst refunds = await paymentModuleService.listRefunds(\n {\n id: [\"ref_123\", \"ref_321\"],\n },\n {\n relations: [\"payment\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7352, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved refunds." + } + ] + }, + "type": { + "type": "reference", + "target": 7015, + "name": "FilterableRefundProps", + "package": "@medusajs/types" + } + }, + { + "id": 7353, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the refund is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a refund." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 7066, + "name": "RefundDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 7354, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 7066, + "name": "RefundDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7355, + "name": "processEvent", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7356, + "name": "processEvent", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method handles a webhook event with the associated payment provider.\n\nLearn more about handling webhook events in [this guide](https://docs.medusajs.com/v1/experimental/payment/webhook-events/)" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the webhook event is handled successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "In the following example, " + }, + { + "kind": "code", + "text": "`req`" + }, + { + "kind": "text", + "text": " is an instance of " + }, + { + "kind": "code", + "text": "`MedusaRequest`" + }, + { + "kind": "text", + "text": ":\n\n" + }, + { + "kind": "code", + "text": "```ts\nawait paymentModuleService.processEvent({\n provider: \"stripe\",\n payload: {\n data: req.body,\n rawData: req.rawBody,\n headers: req.headers,\n },\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7357, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The webhook event's details." + } + ] + }, + "type": { + "type": "reference", + "target": 7153, + "name": "ProviderWebhookPayload", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 7239, + 7246, + 7251, + 7256, + 7261, + 7270, + 7277, + 7284, + 7291, + 7296, + 7300, + 7304, + 7309, + 7314, + 7319, + 7323, + 7327, + 7331, + 7335, + 7340, + 7345, + 7350, + 7355 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3404, + "name": "IModuleService", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7371, + "name": "PaymentModuleOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The options that the Payment Module accepts." + } + ] + }, + "children": [ + { + "id": 7372, + "name": "webhook_delay", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The delay in milliseconds before processing the webhook event." + } + ], + "blockTags": [ + { + "tag": "@defaultValue", + "content": [ + { + "kind": "code", + "text": "```ts\n5000\n```" + } + ] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7373, + "name": "webhook_retries", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of times to retry the webhook event processing in case of an error." + } + ], + "blockTags": [ + { + "tag": "@defaultValue", + "content": [ + { + "kind": "code", + "text": "```ts\n3\n```" + } + ] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7372, + 7373 + ] + } + ] + }, + { + "id": 7374, + "name": "MoneyAmountDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A money amount's data. A money amount represents a price." + } + ] + }, + "children": [ + { + "id": 7375, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the money amount." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7376, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of this money amount." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7377, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price of this money amount." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7378, + "name": "min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The minimum quantity required to be purchased for this price to be applied." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7379, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The maximum quantity required to be purchased for this price to be applied." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7380, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the money_amount was created." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 7381, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the money_amount was updated." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 7382, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the money_amount was deleted." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7375, + 7376, + 7377, + 7378, + 7379, + 7380, + 7381, + 7382 + ] + } + ] + }, + { + "id": 7383, + "name": "CreateMoneyAmountDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The money amount to create." + } + ] + }, + "children": [ + { + "id": 7384, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the money amount." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7385, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of this money amount." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7386, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of this money amount." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 7387, + "name": "min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The minimum quantity required to be purchased for this money amount to be applied." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7388, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The maximum quantity required to be purchased for this money amount to be applied." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7384, + 7385, + 7386, + 7387, + 7388 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 7457, + "name": "CreatePriceListPriceDTO" + }, + { + "type": "reference", + "target": 7641, + "name": "CreatePricesDTO" + } + ] + }, + { + "id": 7389, + "name": "UpdateMoneyAmountDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to update in a money amount. The " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " is used to identify which money amount to update." + } + ] + }, + "children": [ + { + "id": 7390, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the money amount to update." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7391, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the currency to associate with the money amount." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7392, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price of this money amount." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 7393, + "name": "min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The minimum quantity required to be purchased for this money amount to be applied." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 7394, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The maximum quantity required to be purchased for this money amount to be applied." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7390, + 7391, + 7392, + 7393, + 7394 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 7465, + "name": "UpdatePriceListPriceDTO" + } + ] + }, + { + "id": 7395, + "name": "FilterableMoneyAmountProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters to apply on a money amount." + } + ] + }, + "children": [ + { + "id": 7398, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7395, + "name": "FilterableMoneyAmountProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7395, + "name": "FilterableMoneyAmountProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 7399, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7395, + "name": "FilterableMoneyAmountProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7395, + "name": "FilterableMoneyAmountProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 7396, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "IDs to filter money amounts by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7397, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Currency codes to filter money amounts by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7398, + 7399, + 7396, + 7397 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7395, + "name": "FilterableMoneyAmountProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7439, + "name": "PriceListStatus", + "variant": "declaration", + "kind": 8, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list's status." + } + ] + }, + "children": [ + { + "id": 7440, + "name": "ACTIVE", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list is enabled and its prices can be used." + } + ] + }, + "type": { + "type": "literal", + "value": "active" + } + }, + { + "id": 7441, + "name": "DRAFT", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list is disabled, meaning its prices can't be used yet." + } + ] + }, + "type": { + "type": "literal", + "value": "draft" + } + } + ], + "groups": [ + { + "title": "Enumeration Members", + "children": [ + 7440, + 7441 + ] + } + ] + }, + { + "id": 7442, + "name": "PriceListType", + "variant": "declaration", + "kind": 8, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list's type." + } + ] + }, + "children": [ + { + "id": 7443, + "name": "SALE", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list's prices are used for a sale." + } + ] + }, + "type": { + "type": "literal", + "value": "sale" + } + }, + { + "id": 7444, + "name": "OVERRIDE", + "variant": "declaration", + "kind": 16, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list's prices override original prices. This affects the calculated price of associated price sets." + } + ] + }, + "type": { + "type": "literal", + "value": "override" + } + } + ], + "groups": [ + { + "title": "Enumeration Members", + "children": [ + 7443, + 7444 + ] + } + ] + }, + { + "id": 7445, + "name": "PriceListDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A price list's details." + } + ] + }, + "children": [ + { + "id": 7446, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7447, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list's title." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7448, + "name": "starts_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list is enabled starting from this date." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7449, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list's status." + } + ] + }, + "type": { + "type": "reference", + "target": 7439, + "name": "PriceListStatus", + "package": "@medusajs/types" + } + }, + { + "id": 7450, + "name": "ends_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list expires after this date." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7451, + "name": "rules_count", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of rules associated with this price list." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7452, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated price set money amounts." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7400, + "name": "PriceDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 7453, + "name": "money_amounts", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated money amounts." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7374, + "name": "MoneyAmountDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 7454, + "name": "rule_types", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated rule types." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7700, + "name": "RuleTypeDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 7455, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price set's rules." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7516, + "name": "PriceListRuleDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 7456, + "name": "price_list_rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price set's rules." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7516, + "name": "PriceListRuleDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7446, + 7447, + 7448, + 7449, + 7450, + 7451, + 7452, + 7453, + 7454, + 7455, + 7456 + ] + } + ] + }, + { + "id": 7457, + "name": "CreatePriceListPriceDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices associated with a price list." + } + ] + }, + "children": [ + { + "id": 7460, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the money amount." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 7384, + "name": "CreateMoneyAmountDTO.id" + } + }, + { + "id": 7461, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of this money amount." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 7385, + "name": "CreateMoneyAmountDTO.currency_code" + } + }, + { + "id": 7462, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of this money amount." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 7386, + "name": "CreateMoneyAmountDTO.amount" + } + }, + { + "id": 7463, + "name": "min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The minimum quantity required to be purchased for this money amount to be applied." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 7387, + "name": "CreateMoneyAmountDTO.min_quantity" + } + }, + { + "id": 7464, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The maximum quantity required to be purchased for this money amount to be applied." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 7388, + "name": "CreateMoneyAmountDTO.max_quantity" + } + }, + { + "id": 7458, + "name": "price_set_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated price set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7459, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to add to the price. The object's keys are rule types' " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": " attribute, and values are the value of that rule associated with this price." + } + ] + }, + "type": { + "type": "reference", + "target": 7473, + "name": "CreatePriceSetPriceRules", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7460, + 7461, + 7462, + 7463, + 7464, + 7458, + 7459 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 7383, + "name": "CreateMoneyAmountDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7465, + "name": "UpdatePriceListPriceDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to update in a money amount. The " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " is used to identify which money amount to update." + } + ] + }, + "children": [ + { + "id": 7468, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the money amount to update." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 7390, + "name": "UpdateMoneyAmountDTO.id" + } + }, + { + "id": 7469, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the currency to associate with the money amount." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 7391, + "name": "UpdateMoneyAmountDTO.currency_code" + } + }, + { + "id": 7470, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price of this money amount." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 7392, + "name": "UpdateMoneyAmountDTO.amount" + } + }, + { + "id": 7471, + "name": "min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The minimum quantity required to be purchased for this money amount to be applied." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 7393, + "name": "UpdateMoneyAmountDTO.min_quantity" + } + }, + { + "id": 7472, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The maximum quantity required to be purchased for this money amount to be applied." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 7394, + "name": "UpdateMoneyAmountDTO.max_quantity" + } + }, + { + "id": 7466, + "name": "price_set_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated price set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7467, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to add to the price. The object's keys are rule types' " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": " attribute, and values are the value of that rule associated with this price." + } + ] + }, + "type": { + "type": "reference", + "target": 7473, + "name": "CreatePriceSetPriceRules", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7468, + 7469, + 7470, + 7471, + 7472, + 7466, + 7467 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 7389, + "name": "UpdateMoneyAmountDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7473, + "name": "CreatePriceSetPriceRules", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price rules to be set for each price in the price set.\n\nEach key of the object is a rule type's " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": ", and its value\nis the values of the rule." + } + ] + }, + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + { + "id": 7474, + "name": "CreatePriceListRules", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list's rules to be set. Each key of the object is a rule type's " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": ", and its value\nis the values of the rule." + } + ] + }, + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + { + "id": 7475, + "name": "CreatePriceListDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list to create." + } + ] + }, + "children": [ + { + "id": 7476, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list's title." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7477, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list's description." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7478, + "name": "starts_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list is enabled starting from this date." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7479, + "name": "ends_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list expires after this date." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7480, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list's status." + } + ] + }, + "type": { + "type": "reference", + "target": 7439, + "name": "PriceListStatus", + "package": "@medusajs/types" + } + }, + { + "id": 7481, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list's type." + } + ] + }, + "type": { + "type": "reference", + "target": 7442, + "name": "PriceListType", + "package": "@medusajs/types" + } + }, + { + "id": 7482, + "name": "rules_count", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of rules associated with the price list." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7483, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to be created and associated with the price list." + } + ] + }, + "type": { + "type": "reference", + "target": 7474, + "name": "CreatePriceListRules", + "package": "@medusajs/types" + } + }, + { + "id": 7484, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices associated with the price list." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7457, + "name": "CreatePriceListPriceDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7476, + 7477, + 7478, + 7479, + 7480, + 7481, + 7482, + 7483, + 7484 + ] + } + ] + }, + { + "id": 7485, + "name": "UpdatePriceListDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in a price list." + } + ] + }, + "children": [ + { + "id": 7486, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the price list to update." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7487, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list's title." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7488, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list's description." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7489, + "name": "starts_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list is enabled starting from this date." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7490, + "name": "ends_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list expires after this date." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7491, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list's status." + } + ] + }, + "type": { + "type": "reference", + "target": 7439, + "name": "PriceListStatus", + "package": "@medusajs/types" + } + }, + { + "id": 7492, + "name": "rules_count", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of rules associated with the price list." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7493, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to be created and associated with the price list." + } + ] + }, + "type": { + "type": "reference", + "target": 7474, + "name": "CreatePriceListRules", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7486, + 7487, + 7488, + 7489, + 7490, + 7491, + 7492, + 7493 + ] + } + ] + }, + { + "id": 7494, + "name": "FilterablePriceListProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters to apply on price lists." + } + ] + }, + "children": [ + { + "id": 7501, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7494, + "name": "FilterablePriceListProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7494, + "name": "FilterablePriceListProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 7502, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7494, + "name": "FilterablePriceListProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7494, + "name": "FilterablePriceListProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 7495, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Find price lists by title or description through this search term." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7496, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter price lists by" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 7497, + "name": "starts_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The start dates to filter price lists by." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 7498, + "name": "ends_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The end dates to filter price lists by." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 7499, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The statuses to filter price lists by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7439, + "name": "PriceListStatus", + "package": "@medusajs/types" + } + } + }, + { + "id": 7500, + "name": "rules_count", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of rules to filter price lists by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "number" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7501, + 7502, + 7495, + 7496, + 7497, + 7498, + 7499, + 7500 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7494, + "name": "FilterablePriceListProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7503, + "name": "FilterablePriceListRuleProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters to apply on price list rules." + } + ] + }, + "children": [ + { + "id": 7508, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7503, + "name": "FilterablePriceListRuleProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7503, + "name": "FilterablePriceListRuleProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 7509, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7503, + "name": "FilterablePriceListRuleProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7503, + "name": "FilterablePriceListRuleProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 7504, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter price list rules by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7505, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The values to filter price list rules by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7506, + "name": "rule_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter price list rules by the ID of their associated rule types." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7507, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter price list rules by the ID of their associated price lists." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7508, + 7509, + 7504, + 7505, + 7506, + 7507 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7503, + "name": "FilterablePriceListRuleProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7510, + "name": "FilterablePriceListRuleValueProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object used to allow specifying flexible queries with and/or conditions." + } + ] + }, + "children": [ + { + "id": 7514, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7510, + "name": "FilterablePriceListRuleValueProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7510, + "name": "FilterablePriceListRuleValueProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 7515, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7510, + "name": "FilterablePriceListRuleValueProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7510, + "name": "FilterablePriceListRuleValueProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 7511, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7512, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7513, + "name": "price_list_rule_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7514, + 7515, + 7511, + 7512, + 7513 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7510, + "name": "FilterablePriceListRuleValueProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7516, + "name": "PriceListRuleDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list rule's details." + } + ] + }, + "children": [ + { + "id": 7517, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list rule's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7518, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The value of the rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7519, + "name": "rule_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated rule type." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 7700, + "name": "RuleTypeDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7520, + "name": "price_list", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated price list." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 7445, + "name": "PriceListDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7521, + "name": "price_list_rule_values", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated rule values." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7533, + "name": "PriceListRuleValueDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7517, + 7518, + 7519, + 7520, + 7521 + ] + } + ] + }, + { + "id": 7522, + "name": "CreatePriceListRuleDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list rule to create." + } + ] + }, + "children": [ + { + "id": 7523, + "name": "rule_type_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of a rule type to be associated with the price list rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7524, + "name": "rule_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of a rule type or the details of an existing rule type to be associated with the price list rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 7700, + "name": "RuleTypeDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7525, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of a price list to be associated with the price list rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7526, + "name": "price_list", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of a price list or the details of an existing price list to be associated with the price list rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 7445, + "name": "PriceListDTO", + "package": "@medusajs/types" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7523, + 7524, + 7525, + 7526 + ] + } + ] + }, + { + "id": 7527, + "name": "UpdatePriceListRuleDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in a price list rule." + } + ] + }, + "children": [ + { + "id": 7528, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the price list rule to update." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7529, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of a price list to be associated with the price list rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7530, + "name": "rule_type_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of a rule type to be associated with the price list rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7531, + "name": "price_list", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of a price list to be associated with the price list rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7532, + "name": "rule_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of a rule type or the details of an existing rule type to be associated with the price list rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7528, + 7529, + 7530, + 7531, + 7532 + ] + } + ] + }, + { + "id": 7533, + "name": "PriceListRuleValueDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list rule value's details." + } + ] + }, + "children": [ + { + "id": 7534, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list rule value's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7535, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rule's value." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7536, + "name": "price_list_rule", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated price list rule." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 7516, + "name": "PriceListRuleDTO", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7534, + 7535, + 7536 + ] + } + ] + }, + { + "id": 7537, + "name": "CreatePriceListRuleValueDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 7538, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7539, + "name": "price_list_rule_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7540, + "name": "price_list_rule", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 7516, + "name": "PriceListRuleDTO", + "package": "@medusajs/types" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7538, + 7539, + 7540 + ] + } + ] + }, + { + "id": 7541, + "name": "UpdatePriceListRuleValueDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 7542, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7543, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7544, + "name": "price_list_rule_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7542, + 7543, + 7544 + ] + } + ] + }, + { + "id": 7545, + "name": "AddPriceListPricesDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices to be added to a price list." + } + ] + }, + "children": [ + { + "id": 7546, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the price list to add prices to." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7547, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices to add." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7457, + "name": "CreatePriceListPriceDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7546, + 7547 + ] + } + ] + }, + { + "id": 7548, + "name": "UpdatePriceListPricesDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices to be added to a price list." + } + ] + }, + "children": [ + { + "id": 7549, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the price list to add prices to." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7550, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices to add." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7465, + "name": "UpdatePriceListPriceDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7549, + 7550 + ] + } + ] + }, + { + "id": 7551, + "name": "SetPriceListRulesDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to set in a price list." + } + ] + }, + "children": [ + { + "id": 7552, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the price list to set its rules." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7553, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to add to the price list. Each key of the object is a rule type's " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": ", and its value\nis the value(s) of the rule." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7552, + 7553 + ] + } + ] + }, + { + "id": 7554, + "name": "RemovePriceListRulesDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to remove from a price list." + } + ] + }, + "children": [ + { + "id": 7555, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the price list to remove rules from." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7556, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to remove from the price list. Each item being a rule type's " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7555, + 7556 + ] + } + ] + }, + { + "id": 7557, + "name": "PriceRuleDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A price rule's data." + } + ] + }, + "children": [ + { + "id": 7558, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the price rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7559, + "name": "price_set_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated price set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7560, + "name": "price_set", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated price set." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 7601, + "name": "PriceSetDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7561, + "name": "rule_type_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated rule type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7562, + "name": "rule_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated rule type." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 7700, + "name": "RuleTypeDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7563, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The value of the price rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7564, + "name": "priority", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The priority of the price rule in comparison to other applicable price rules." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7565, + "name": "price_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated price." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7566, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated price list." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7567, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the price_rule was created." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 7568, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the price_rule was updated." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 7569, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the price_rule was deleted." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7558, + 7559, + 7560, + 7561, + 7562, + 7563, + 7564, + 7565, + 7566, + 7567, + 7568, + 7569 + ] + } + ] + }, + { + "id": 7570, + "name": "CreatePriceRuleDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A price rule to create." + } + ] + }, + "children": [ + { + "id": 7571, + "name": "price_set_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated price set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7572, + "name": "rule_type_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated rule type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7573, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The value of the price rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7574, + "name": "priority", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The priority of the price rule in comparison to other applicable price rules." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7575, + "name": "price_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated price." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7571, + 7572, + 7573, + 7574, + 7575 + ] + } + ] + }, + { + "id": 7576, + "name": "UpdatePriceRuleDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to update in a price rule. The " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " is used to identify which price rule to update." + } + ] + }, + "children": [ + { + "id": 7577, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7578, + "name": "price_set_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7579, + "name": "rule_type_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7580, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The value of the price rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7581, + "name": "priority", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The priority of the price rule in comparison to other applicable price rules." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7582, + "name": "price_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated price." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7583, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated price list." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7577, + 7578, + 7579, + 7580, + 7581, + 7582, + 7583 + ] + } + ] + }, + { + "id": 7584, + "name": "FilterablePriceRuleProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters to apply on price rules." + } + ] + }, + "children": [ + { + "id": 7589, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7584, + "name": "FilterablePriceRuleProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7584, + "name": "FilterablePriceRuleProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 7590, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7584, + "name": "FilterablePriceRuleProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7584, + "name": "FilterablePriceRuleProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 7585, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter price rules by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7586, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The names to filter price rules by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7587, + "name": "price_set_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the price rule's associated price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7588, + "name": "rule_type_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the price rule's associated rule type." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7589, + 7590, + 7585, + 7586, + 7587, + 7588 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7584, + "name": "FilterablePriceRuleProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7676, + "name": "PriceSetRuleTypeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 7677, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7678, + "name": "price_set", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7601, + "name": "PriceSetDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7679, + "name": "rule_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7700, + "name": "RuleTypeDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7680, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7677, + 7678, + 7679, + 7680 + ] + } + ] + }, + { + "id": 7681, + "name": "CreatePriceSetRuleTypeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 7682, + "name": "price_set_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7683, + "name": "rule_type_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7682, + 7683 + ] + } + ] + }, + { + "id": 7684, + "name": "UpdatePriceSetRuleTypeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 7685, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7686, + "name": "price_set", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7687, + "name": "rule_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7685, + 7686, + 7687 + ] + } + ] + }, + { + "id": 7688, + "name": "FilterablePriceSetRuleTypeProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object used to allow specifying flexible queries with and/or conditions." + } + ] + }, + "children": [ + { + "id": 7692, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7688, + "name": "FilterablePriceSetRuleTypeProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7688, + "name": "FilterablePriceSetRuleTypeProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 7693, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7688, + "name": "FilterablePriceSetRuleTypeProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7688, + "name": "FilterablePriceSetRuleTypeProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 7689, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7690, + "name": "rule_type_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7691, + "name": "price_set_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7692, + 7693, + 7689, + 7690, + 7691 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7688, + "name": "FilterablePriceSetRuleTypeProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7591, + "name": "PricingRepositoryService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 7592, + "name": "calculatePrices", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7593, + "name": "calculatePrices", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 7594, + "name": "pricingFilters", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 7599, + "name": "PricingFilters", + "package": "@medusajs/types" + } + }, + { + "id": 7595, + "name": "pricingContext", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 7597, + "name": "PricingContext", + "package": "@medusajs/types" + } + }, + { + "id": 7596, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 7606, + "name": "CalculatedPriceSetDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 7592 + ] + } + ] + }, + { + "id": 7597, + "name": "PricingContext", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The context to calculate prices. For example, you can specify the currency code to calculate prices in." + } + ] + }, + "children": [ + { + "id": 7598, + "name": "context", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an object whose keys are the name of the context attribute. Its value can be a string or a BigNumberInput. For example, you can pass the " + }, + { + "kind": "code", + "text": "`currency_code`" + }, + { + "kind": "text", + "text": " property with its value being the currency code to calculate the price in.\nAnother example is passing the " + }, + { + "kind": "code", + "text": "`quantity`" + }, + { + "kind": "text", + "text": " property to calculate the price for that specified quantity, which finds a price set whose " + }, + { + "kind": "code", + "text": "`min_quantity`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`max_quantity`" + }, + { + "kind": "text", + "text": " conditions match the specified quantity." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7598 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 7670, + "name": "FilterablePriceSetProps" + } + ] + }, + { + "id": 7599, + "name": "PricingFilters", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters to apply when calculating prices." + } + ] + }, + "children": [ + { + "id": 7600, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "IDs of the price sets to use in the\ncalculation." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7600 + ] + } + ] + }, + { + "id": 7601, + "name": "PriceSetDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A price set's data." + } + ] + }, + "children": [ + { + "id": 7602, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the price set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7603, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices that belong to this price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7374, + "name": "MoneyAmountDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 7604, + "name": "calculated_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The calculated price based on the context." + } + ] + }, + "type": { + "type": "reference", + "target": 7615, + "name": "CalculatedPriceSet", + "package": "@medusajs/types" + } + }, + { + "id": 7605, + "name": "rule_types", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rule types applied on this price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7700, + "name": "RuleTypeDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7602, + 7603, + 7604, + 7605 + ] + } + ] + }, + { + "id": 7606, + "name": "CalculatedPriceSetDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A calculated price set's data." + } + ] + }, + "children": [ + { + "id": 7607, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the money amount." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7608, + "name": "price_set_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated price set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7609, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The calculated amount. It can possibly be " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": " if there's no price set up for the provided context." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7610, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of the calculated price. It can possibly be " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7611, + "name": "min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The minimum quantity required to be purchased for this price to apply. It's set if the " + }, + { + "kind": "code", + "text": "`quantity`" + }, + { + "kind": "text", + "text": " property is provided in the context. Otherwise, its value will be " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7612, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The maximum quantity required to be purchased for this price to apply. It's set if the " + }, + { + "kind": "code", + "text": "`quantity`" + }, + { + "kind": "text", + "text": " property is provided in the context. Otherwise, its value will be " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7613, + "name": "price_list_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the associated price list, if any." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7614, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated price list, if any." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7607, + 7608, + 7609, + 7610, + 7611, + 7612, + 7613, + 7614 + ] + } + ] + }, + { + "id": 7615, + "name": "CalculatedPriceSet", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The calculated price for a specific price set and context." + } + ] + }, + "children": [ + { + "id": 7616, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the price set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7617, + "name": "is_calculated_price_price_list", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the calculated price is associated with a price list. During the calculation process, if no valid price list is found,\nthe calculated price is set to the original price, which doesn't belong to a price list. In that case, the value of this property is " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7618, + "name": "calculated_amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of the calculated price, or " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": " if there isn't a calculated price." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7619, + "name": "is_original_price_price_list", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the original price is associated with a price list. During the calculation process, if the price list of the calculated price is of type override,\nthe original price will be the same as the calculated price. In that case, the value of this property is " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7620, + "name": "original_amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of the original price, or " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": " if there isn't a calculated price." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7621, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of the calculated price, or null if there isn't a calculated price." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7622, + "name": "calculated_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the calculated price." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 7623, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7624, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the price selected as the calculated price." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7625, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated price list, if any." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7626, + "name": "price_list_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the associated price list, if any." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7627, + "name": "min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`min_quantity`" + }, + { + "kind": "text", + "text": " field defined on a price." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7628, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`max_quantity`" + }, + { + "kind": "text", + "text": " field defined on a price." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7624, + 7625, + 7626, + 7627, + 7628 + ] + } + ] + } + } + }, + { + "id": 7629, + "name": "original_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the original price." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 7630, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7631, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the price selected as the original price." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7632, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated price list, if any." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7633, + "name": "price_list_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the associated price list, if any." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7634, + "name": "min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`min_quantity`" + }, + { + "kind": "text", + "text": " field defined on a price." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7635, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`max_quantity`" + }, + { + "kind": "text", + "text": " field defined on a price." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7631, + 7632, + 7633, + 7634, + 7635 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7616, + 7617, + 7618, + 7619, + 7620, + 7621, + 7622, + 7629 + ] + } + ] + }, + { + "id": 7636, + "name": "AddRulesDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to add to a price set." + } + ] + }, + "children": [ + { + "id": 7637, + "name": "priceSetId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the price set to add the rules to." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7638, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to add to a price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 7639, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7640, + "name": "attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The value of the rule's " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": " attribute." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7640 + ] + } + ] + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7637, + 7638 + ] + } + ] + }, + { + "id": 7641, + "name": "CreatePricesDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices to create part of a price set." + } + ] + }, + "children": [ + { + "id": 7643, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the money amount." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 7384, + "name": "CreateMoneyAmountDTO.id" + } + }, + { + "id": 7644, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of this money amount." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 7385, + "name": "CreateMoneyAmountDTO.currency_code" + } + }, + { + "id": 7645, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of this money amount." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 7386, + "name": "CreateMoneyAmountDTO.amount" + } + }, + { + "id": 7646, + "name": "min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The minimum quantity required to be purchased for this money amount to be applied." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 7387, + "name": "CreateMoneyAmountDTO.min_quantity" + } + }, + { + "id": 7647, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The maximum quantity required to be purchased for this money amount to be applied." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 7388, + "name": "CreateMoneyAmountDTO.max_quantity" + } + }, + { + "id": 7642, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to add to the price. The object's keys are rule types' " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": " attribute, and values are the value of that rule associated with this price." + } + ] + }, + "type": { + "type": "reference", + "target": 7473, + "name": "CreatePriceSetPriceRules", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7643, + 7644, + 7645, + 7646, + 7647, + 7642 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 7383, + "name": "CreateMoneyAmountDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7648, + "name": "AddPricesDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices to add to a price set." + } + ] + }, + "children": [ + { + "id": 7649, + "name": "priceSetId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the price set to add prices to." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7650, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices to add to the price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7641, + "name": "CreatePricesDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7649, + 7650 + ] + } + ] + }, + { + "id": 7651, + "name": "RemovePriceSetRulesDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to remove from a price set." + } + ] + }, + "children": [ + { + "id": 7652, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the price set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7653, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to remove. Each string is the " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": " of a rule to remove." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7652, + 7653 + ] + } + ] + }, + { + "id": 7654, + "name": "CreatePriceSetDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A price set to create." + } + ] + }, + "children": [ + { + "id": 7655, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to associate with the price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 7656, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7657, + "name": "rule_attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the value of the rule's " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": " attribute." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7657 + ] + } + ] + } + } + } + }, + { + "id": 7658, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices to create and add to this price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7641, + "name": "CreatePricesDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7655, + 7658 + ] + } + ] + }, + { + "id": 7659, + "name": "UpsertPriceSetDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to upsert in a price set." + } + ] + }, + "children": [ + { + "id": 7660, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A string indicating the ID of the price set to update.\nIf not provided, a price set is created." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7661, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to associate with the price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 7662, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7663, + "name": "rule_attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the value of the rule's " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": " attribute." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7663 + ] + } + ] + } + } + }, + "inheritedFrom": { + "type": "reference", + "target": 7666, + "name": "UpdatePriceSetDTO.rules" + } + }, + { + "id": 7664, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices to create and add to this price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7641, + "name": "CreatePricesDTO", + "package": "@medusajs/types" + } + }, + "inheritedFrom": { + "type": "reference", + "target": 7669, + "name": "UpdatePriceSetDTO.prices" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7660, + 7661, + 7664 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 7665, + "name": "UpdatePriceSetDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7665, + "name": "UpdatePriceSetDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to update in a price set." + } + ] + }, + "children": [ + { + "id": 7666, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to associate with the price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 7667, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7668, + "name": "rule_attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the value of the rule's " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": " attribute." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7668 + ] + } + ] + } + } + } + }, + { + "id": 7669, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices to create and add to this price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7641, + "name": "CreatePricesDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7666, + 7669 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 7659, + "name": "UpsertPriceSetDTO" + } + ] + }, + { + "id": 7670, + "name": "FilterablePriceSetProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters to apply on price sets." + } + ] + }, + "children": [ + { + "id": 7673, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7670, + "name": "FilterablePriceSetProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7670, + "name": "FilterablePriceSetProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 7674, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7670, + "name": "FilterablePriceSetProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7670, + "name": "FilterablePriceSetProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 7675, + "name": "context", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an object whose keys are the name of the context attribute. Its value can be a string or a BigNumberInput. For example, you can pass the " + }, + { + "kind": "code", + "text": "`currency_code`" + }, + { + "kind": "text", + "text": " property with its value being the currency code to calculate the price in.\nAnother example is passing the " + }, + { + "kind": "code", + "text": "`quantity`" + }, + { + "kind": "text", + "text": " property to calculate the price for that specified quantity, which finds a price set whose " + }, + { + "kind": "code", + "text": "`min_quantity`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`max_quantity`" + }, + { + "kind": "text", + "text": " conditions match the specified quantity." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + ], + "name": "Record", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 7598, + "name": "PricingContext.context" + } + }, + { + "id": 7671, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "IDs to filter price sets by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7672, + "name": "money_amounts", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters to apply on a price set's associated money amounts." + } + ] + }, + "type": { + "type": "reference", + "target": 7395, + "name": "FilterableMoneyAmountProps", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7673, + 7674, + 7675, + 7671, + 7672 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7670, + "name": "FilterablePriceSetProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 7597, + "name": "PricingContext", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7400, + "name": "PriceDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A price's data." + } + ] + }, + "children": [ + { + "id": 7401, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of a price." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7402, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the price." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7403, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of this price." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7404, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price of this price." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7405, + "name": "min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The minimum quantity required to be purchased for this price to be applied." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7406, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The maximum quantity required to be purchased for this price to be applied." + } + ] + }, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7407, + "name": "price_set", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price set associated with the price." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 7601, + "name": "PriceSetDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7408, + "name": "price_list", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list associated with the price." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 7445, + "name": "PriceListDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7409, + "name": "price_set_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated price set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7410, + "name": "price_rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price rules associated with the price." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7557, + "name": "PriceRuleDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 7411, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the price was created." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 7412, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the price was updated." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 7413, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the price was deleted." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7401, + 7402, + 7403, + 7404, + 7405, + 7406, + 7407, + 7408, + 7409, + 7410, + 7411, + 7412, + 7413 + ] + } + ] + }, + { + "id": 7414, + "name": "UpdatePriceDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 7415, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7416, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7417, + "name": "price_set", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7601, + "name": "PriceSetDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7418, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the currency to associate with the price." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7419, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of this price." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 7420, + "name": "min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The minimum quantity required to be purchased for this price to be applied." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 7421, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The maximum quantity required to be purchased for this price to be applied." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7415, + 7416, + 7417, + 7418, + 7419, + 7420, + 7421 + ] + } + ] + }, + { + "id": 7422, + "name": "CreatePriceDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 7423, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7424, + "name": "price_set", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 7601, + "name": "PriceSetDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7425, + "name": "price_set_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7426, + "name": "price_list", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 7445, + "name": "PriceListDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7427, + "name": "rules_count", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7428, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of this price." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7429, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of this price." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 7430, + "name": "min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The minimum quantity required to be purchased for this price to be applied." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7431, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The maximum quantity required to be purchased for this price to be applied." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7423, + 7424, + 7425, + 7426, + 7427, + 7428, + 7429, + 7430, + 7431 + ] + } + ] + }, + { + "id": 7432, + "name": "FilterablePriceProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters to apply on prices." + } + ] + }, + "children": [ + { + "id": 7437, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7432, + "name": "FilterablePriceProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7432, + "name": "FilterablePriceProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 7438, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7432, + "name": "FilterablePriceProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7432, + "name": "FilterablePriceProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 7433, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the prices by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7434, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Currency codes to filter price by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 7435, + "name": "price_set_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the price's associated price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7436, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the price's associated price list." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7437, + 7438, + 7433, + 7434, + 7435, + 7436 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7432, + "name": "FilterablePriceProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7694, + "name": "MedusaPricingContext", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 7695, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7696, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7697, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7698, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7699, + "name": "customer_group_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7696, + 7697, + 7698, + 7699 + ] + } + ] + } + } + }, + { + "id": 7700, + "name": "RuleTypeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A rule type's data." + } + ] + }, + "children": [ + { + "id": 7701, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the rule type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7702, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The display name of the rule type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7703, + "name": "rule_attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique name used to later identify the rule_attribute. For example, it can be used in the " + }, + { + "kind": "code", + "text": "`context`" + }, + { + "kind": "text", + "text": " parameter of\nthe " + }, + { + "kind": "code", + "text": "`calculatePrices`" + }, + { + "kind": "text", + "text": " method to specify a rule for calculating the price." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7704, + "name": "default_priority", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The priority of the rule type. This is useful when calculating the price of a price set, and multiple rules satisfy\nthe provided context. The higher the value, the higher the priority of the rule type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7705, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the rule type." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 7706, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the rule type." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7701, + 7702, + 7703, + 7704, + 7705, + 7706 + ] + } + ] + }, + { + "id": 7707, + "name": "CreateRuleTypeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rule type to create." + } + ] + }, + "children": [ + { + "id": 7708, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the rule type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7709, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The display name of the rule type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7710, + "name": "rule_attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique name used to later identify the rule_attribute. For example, it can be used in the " + }, + { + "kind": "code", + "text": "`context`" + }, + { + "kind": "text", + "text": " parameter of the " + }, + { + "kind": "code", + "text": "`calculatePrices`" + }, + { + "kind": "text", + "text": "\nmethod to specify a rule for calculating the price." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7711, + "name": "default_priority", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The priority of the rule type. This is useful when calculating the price of a price set, and multiple rules satisfy the provided context.\nThe higher the value, the higher the priority of the rule type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7708, + 7709, + 7710, + 7711 + ] + } + ] + }, + { + "id": 7712, + "name": "UpdateRuleTypeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to update in a rule type. The " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " is used to identify which price set to update." + } + ] + }, + "children": [ + { + "id": 7713, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the rule type to update." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7714, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The display name of the rule type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7715, + "name": "rule_attribute", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique name used to later identify the rule_attribute. For example, it can be used in the " + }, + { + "kind": "code", + "text": "`context`" + }, + { + "kind": "text", + "text": " parameter of the " + }, + { + "kind": "code", + "text": "`calculatePrices`" + }, + { + "kind": "text", + "text": " method to specify a rule for calculating the price." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7716, + "name": "default_priority", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The priority of the rule type. This is useful when calculating the price of a price set, and multiple rules satisfy the provided context. The higher the value, the higher the priority of the rule type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7713, + 7714, + 7715, + 7716 + ] + } + ] + }, + { + "id": 7717, + "name": "FilterableRuleTypeProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters to apply on rule types." + } + ] + }, + "children": [ + { + "id": 7721, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7717, + "name": "FilterableRuleTypeProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7717, + "name": "FilterableRuleTypeProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 7722, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7717, + "name": "FilterableRuleTypeProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7717, + "name": "FilterableRuleTypeProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 7718, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter rule types by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7719, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The names to filter rule types by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7720, + "name": "rule_attribute", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rule attributes to filter rule types by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7721, + 7722, + 7718, + 7719, + 7720 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7717, + "name": "FilterableRuleTypeProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7723, + "name": "ProductCategoryTransformOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 7724, + "name": "includeDescendantsTree", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7725, + "name": "includeAncestorsTree", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7724, + 7725 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1444, + "name": "RepositoryTransformOptions", + "package": "@medusajs/types" + } + ] + }, + { + "id": 4853, + "name": "PromotionTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 4854, + "name": "ApplicationMethodTypeValues", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The application method's possible types." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "fixed" + }, + { + "type": "literal", + "value": "percentage" + } + ] + } + }, + { + "id": 4855, + "name": "ApplicationMethodTargetTypeValues", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The application method's possible target types." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "order" + }, + { + "type": "literal", + "value": "shipping_methods" + }, + { + "type": "literal", + "value": "items" + } + ] + } + }, + { + "id": 4856, + "name": "ApplicationMethodAllocationValues", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The application method's possible allocation values." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "each" + }, + { + "type": "literal", + "value": "across" + } + ] + } + }, + { + "id": 4857, + "name": "ApplicationMethodDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The application method details." + } + ] + }, + "children": [ + { + "id": 4858, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the application method." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4859, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the application method indicating how\nthe associated promotion is applied." + } + ] + }, + "type": { + "type": "reference", + "target": 4854, + "name": "ApplicationMethodTypeValues", + "package": "@medusajs/types" + } + }, + { + "id": 4860, + "name": "target_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The target type of the application method indicating\nwhether the associated promotion is applied to the cart's items,\nshipping methods, or the whole order." + } + ] + }, + "type": { + "type": "reference", + "target": 4855, + "name": "ApplicationMethodTargetTypeValues", + "package": "@medusajs/types" + } + }, + { + "id": 4861, + "name": "allocation", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The allocation value that indicates whether the associated promotion\nis applied on each item in a cart or split between the items in the cart." + } + ] + }, + "type": { + "type": "reference", + "target": 4856, + "name": "ApplicationMethodAllocationValues", + "package": "@medusajs/types" + } + }, + { + "id": 4862, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discounted amount applied by the associated promotion based on the " + }, + { + "kind": "code", + "text": "`type`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4863, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The max quantity allowed in the cart for the associated promotion to be applied." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 4864, + "name": "buy_rules_min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The minimum quantity required for a " + }, + { + "kind": "code", + "text": "`buyget`" + }, + { + "kind": "text", + "text": " promotion to be applied.\nFor example, if the promotion is a \"Buy 2 shirts get 1 free\", the\nvalue of this attribute is " + }, + { + "kind": "code", + "text": "`2`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 4865, + "name": "apply_to_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The quantity that results from matching the " + }, + { + "kind": "code", + "text": "`buyget`" + }, + { + "kind": "text", + "text": " promotion's condition.\nFor example, if the promotion is a \"Buy 2 shirts get 1 free\", the value\nof this attribute is " + }, + { + "kind": "code", + "text": "`1`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 4866, + "name": "promotion", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion of the application method." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 4967, + "name": "PromotionDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 4867, + "name": "target_rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The target rules of the application method." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5000, + "name": "PromotionRuleDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4868, + "name": "buy_rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The buy rules of the application method." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5000, + "name": "PromotionRuleDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4858, + 4859, + 4860, + 4861, + 4862, + 4863, + 4864, + 4865, + 4866, + 4867, + 4868 + ] + } + ] + }, + { + "id": 4869, + "name": "CreateApplicationMethodDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The application method to be created." + } + ] + }, + "children": [ + { + "id": 4870, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the application method indicating how\nthe associated promotion is applied." + } + ] + }, + "type": { + "type": "reference", + "target": 4854, + "name": "ApplicationMethodTypeValues", + "package": "@medusajs/types" + } + }, + { + "id": 4871, + "name": "target_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The target type of the application method indicating\nwhether the associated promotion is applied to the cart's items,\nshipping methods, or the whole order." + } + ] + }, + "type": { + "type": "reference", + "target": 4855, + "name": "ApplicationMethodTargetTypeValues", + "package": "@medusajs/types" + } + }, + { + "id": 4872, + "name": "allocation", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The allocation value that indicates whether the associated promotion\nis applied on each item in a cart or split between the items in the cart." + } + ] + }, + "type": { + "type": "reference", + "target": 4856, + "name": "ApplicationMethodAllocationValues", + "package": "@medusajs/types" + } + }, + { + "id": 4873, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discounted amount applied by the associated promotion based on the " + }, + { + "kind": "code", + "text": "`type`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4874, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The max quantity allowed in the cart for the associated promotion to be applied." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 4875, + "name": "buy_rules_min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The minimum quantity required for a " + }, + { + "kind": "code", + "text": "`buyget`" + }, + { + "kind": "text", + "text": " promotion to be applied.\nFor example, if the promotion is a \"Buy 2 shirts get 1 free\", the\nvalue of this attribute is " + }, + { + "kind": "code", + "text": "`2`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 4876, + "name": "apply_to_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The quantity that results from matching the " + }, + { + "kind": "code", + "text": "`buyget`" + }, + { + "kind": "text", + "text": " promotion's condition.\nFor example, if the promotion is a \"Buy 2 shirts get 1 free\", the value\nof this attribute is " + }, + { + "kind": "code", + "text": "`1`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 4877, + "name": "promotion", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion of the application method." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 4967, + "name": "PromotionDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 4878, + "name": "target_rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The target rules of the application method." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5006, + "name": "CreatePromotionRuleDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4879, + "name": "buy_rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The buy rules of the application method." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5006, + "name": "CreatePromotionRuleDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4870, + 4871, + 4872, + 4873, + 4874, + 4875, + 4876, + 4877, + 4878, + 4879 + ] + } + ] + }, + { + "id": 4880, + "name": "UpdateApplicationMethodDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the application method." + } + ] + }, + "children": [ + { + "id": 4881, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the application method." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4882, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the application method indicating how\nthe associated promotion is applied." + } + ] + }, + "type": { + "type": "reference", + "target": 4854, + "name": "ApplicationMethodTypeValues", + "package": "@medusajs/types" + } + }, + { + "id": 4883, + "name": "target_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The target type of the application method indicating\nwhether the associated promotion is applied to the cart's items,\nshipping methods, or the whole order." + } + ] + }, + "type": { + "type": "reference", + "target": 4855, + "name": "ApplicationMethodTargetTypeValues", + "package": "@medusajs/types" + } + }, + { + "id": 4884, + "name": "allocation", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The allocation value that indicates whether the associated promotion\nis applied on each item in a cart or split between the items in the cart." + } + ] + }, + "type": { + "type": "reference", + "target": 4856, + "name": "ApplicationMethodAllocationValues", + "package": "@medusajs/types" + } + }, + { + "id": 4885, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The discounted amount applied by the associated promotion based on the " + }, + { + "kind": "code", + "text": "`type`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4886, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The max quantity allowed in the cart for the associated promotion to be applied." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 4887, + "name": "buy_rules_min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The minimum quantity required for a " + }, + { + "kind": "code", + "text": "`buyget`" + }, + { + "kind": "text", + "text": " promotion to be applied.\nFor example, if the promotion is a \"Buy 2 shirts get 1 free\", the\nvalue of this attribute is " + }, + { + "kind": "code", + "text": "`2`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 4888, + "name": "apply_to_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The quantity that results from matching the " + }, + { + "kind": "code", + "text": "`buyget`" + }, + { + "kind": "text", + "text": " promotion's condition.\nFor example, if the promotion is a \"Buy 2 shirts get 1 free\", the value\nof this attribute is " + }, + { + "kind": "code", + "text": "`1`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 4889, + "name": "promotion", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion of the application method." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 4967, + "name": "PromotionDTO", + "package": "@medusajs/types" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4881, + 4882, + 4883, + 4884, + 4885, + 4886, + 4887, + 4888, + 4889 + ] + } + ] + }, + { + "id": 4890, + "name": "FilterableApplicationMethodProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved application methods." + } + ] + }, + "children": [ + { + "id": 4895, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 4890, + "name": "FilterableApplicationMethodProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 4890, + "name": "FilterableApplicationMethodProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 4896, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 4890, + "name": "FilterableApplicationMethodProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 4890, + "name": "FilterableApplicationMethodProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 4891, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the application methods by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4892, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the application methods by their type." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4854, + "name": "ApplicationMethodTypeValues", + "package": "@medusajs/types" + } + } + }, + { + "id": 4893, + "name": "target_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the application methods by their target type." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4855, + "name": "ApplicationMethodTargetTypeValues", + "package": "@medusajs/types" + } + } + }, + { + "id": 4894, + "name": "allocation", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the application methods by their allocation value." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4856, + "name": "ApplicationMethodAllocationValues", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4895, + 4896, + 4891, + 4892, + 4893, + 4894 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 4890, + "name": "FilterableApplicationMethodProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 4912, + "name": "CampaignBudgetTypeValues", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The campaign budget's possible types." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "spend" + }, + { + "type": "literal", + "value": "usage" + } + ] + } + }, + { + "id": 4913, + "name": "CampaignBudgetDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The campaign budget details." + } + ] + }, + "children": [ + { + "id": 4914, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the campaign budget." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4915, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the campaign budget:\n\n- " + }, + { + "kind": "code", + "text": "`spend`" + }, + { + "kind": "text", + "text": " indicates that the budget is limited by the amount discounted by the promotions in the associated campaign.\n- " + }, + { + "kind": "code", + "text": "`usage`" + }, + { + "kind": "text", + "text": " indicates that the budget is limited by the number of times the promotions of the associated campaign have been used." + } + ] + }, + "type": { + "type": "reference", + "target": 4912, + "name": "CampaignBudgetTypeValues", + "package": "@medusajs/types" + } + }, + { + "id": 4916, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The limit of the campaign budget." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 4917, + "name": "used", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The usage from the campaign budget's limit:\n\n- If the budget's type is " + }, + { + "kind": "code", + "text": "`spend`" + }, + { + "kind": "text", + "text": ", the value of this attribute is the amount discounted so far by the promotions in the associated campaign.\n- If the budget's type is " + }, + { + "kind": "code", + "text": "`usage`" + }, + { + "kind": "text", + "text": ", the value of this attribute is the number of times the promotions of the associated campaign have been used so far." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4914, + 4915, + 4916, + 4917 + ] + } + ] + }, + { + "id": 4918, + "name": "FilterableCampaignBudgetProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved campaign budgets." + } + ] + }, + "children": [ + { + "id": 4921, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 4918, + "name": "FilterableCampaignBudgetProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 4918, + "name": "FilterableCampaignBudgetProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 4922, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 4918, + "name": "FilterableCampaignBudgetProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 4918, + "name": "FilterableCampaignBudgetProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 4919, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the campaign budgets by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4920, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters the campaign budgets by their type." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4921, + 4922, + 4919, + 4920 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 4918, + "name": "FilterableCampaignBudgetProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 4897, + "name": "CampaignDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The campaign details." + } + ] + }, + "children": [ + { + "id": 4898, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the campaign." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4899, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the campaign." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4900, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the campaign." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4901, + "name": "currency", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency of the campaign." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4902, + "name": "campaign_identifier", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The campaign identifier of the campaign." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4903, + "name": "starts_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The start date of the campaign." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 4904, + "name": "ends_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The end date of the campaign." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 4905, + "name": "budget", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated campaign budget." + } + ] + }, + "type": { + "type": "reference", + "target": 4913, + "name": "CampaignBudgetDTO", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4898, + 4899, + 4900, + 4901, + 4902, + 4903, + 4904, + 4905 + ] + } + ] + }, + { + "id": 4906, + "name": "FilterableCampaignProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved campaigns." + } + ] + }, + "children": [ + { + "id": 4910, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 4906, + "name": "FilterableCampaignProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 4906, + "name": "FilterableCampaignProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 4911, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 4906, + "name": "FilterableCampaignProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 4906, + "name": "FilterableCampaignProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 4907, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Find campaigns by their name or description through this search term." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4908, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the campaigns by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 4909, + "name": "campaign_identifier", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters the campaigns by their campaign identifier." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4910, + 4911, + 4907, + 4908, + 4909 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 4906, + "name": "FilterableCampaignProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 4923, + "name": "ComputeActions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A compute action informs you what adjustment must be made to a cart item or shipping method." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 4928, + "name": "AddItemAdjustmentAction", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 4934, + "name": "RemoveItemAdjustmentAction", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 4939, + "name": "AddShippingMethodAdjustment", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 4945, + "name": "RemoveShippingMethodAdjustment", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 4925, + "name": "CampaignBudgetExceededAction", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 4924, + "name": "UsageComputedActions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "These computed action types can affect a campaign's budget." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 4939, + "name": "AddShippingMethodAdjustment", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 4928, + "name": "AddItemAdjustmentAction", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 4925, + "name": "CampaignBudgetExceededAction", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This action indicates that the promotions within a campaign can no longer be used\nas the campaign budget has been exceeded." + } + ] + }, + "children": [ + { + "id": 4926, + "name": "action", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of action." + } + ] + }, + "type": { + "type": "literal", + "value": "campaignBudgetExceeded" + } + }, + { + "id": 4927, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion's code." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4926, + 4927 + ] + } + ] + }, + { + "id": 4928, + "name": "AddItemAdjustmentAction", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This action indicates that an adjustment must be made to an item. For example, removing $5 off its amount." + } + ] + }, + "children": [ + { + "id": 4929, + "name": "action", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of action." + } + ] + }, + "type": { + "type": "literal", + "value": "addItemAdjustment" + } + }, + { + "id": 4930, + "name": "item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated item's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4931, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount to remove off the item's total." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4932, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion's code." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4933, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion's description." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4929, + 4930, + 4931, + 4932, + 4933 + ] + } + ] + }, + { + "id": 4934, + "name": "RemoveItemAdjustmentAction", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This action indicates that an adjustment must be removed from a line item. For example, remove the $5 discount applied before." + } + ] + }, + "children": [ + { + "id": 4935, + "name": "action", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of action." + } + ] + }, + "type": { + "type": "literal", + "value": "removeItemAdjustment" + } + }, + { + "id": 4936, + "name": "adjustment_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated adjustment's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4937, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion's description." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4938, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion's code." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4935, + 4936, + 4937, + 4938 + ] + } + ] + }, + { + "id": 4939, + "name": "AddShippingMethodAdjustment", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This action indicates that an adjustment must be made on a shipping method. For example, make the shipping method free." + } + ] + }, + "children": [ + { + "id": 4940, + "name": "action", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of action." + } + ] + }, + "type": { + "type": "literal", + "value": "addShippingMethodAdjustment" + } + }, + { + "id": 4941, + "name": "shipping_method_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping method's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4942, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount to remove off the shipping method's total." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4943, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion's code." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4944, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion's description." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4940, + 4941, + 4942, + 4943, + 4944 + ] + } + ] + }, + { + "id": 4945, + "name": "RemoveShippingMethodAdjustment", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This action indicates that an adjustment must be removed from a shipping method. For example, remove the free shipping discount applied before." + } + ] + }, + "children": [ + { + "id": 4946, + "name": "action", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of action" + } + ] + }, + "type": { + "type": "literal", + "value": "removeShippingMethodAdjustment" + } + }, + { + "id": 4947, + "name": "adjustment_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated adjustment's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4948, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion's code." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4946, + 4947, + 4948 + ] + } + ] + }, + { + "id": 4949, + "name": "ComputeActionAdjustmentLine", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An action's adjustment line." + } + ] + }, + "children": [ + { + "id": 4950, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the compute action's adjustment line." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4951, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion's code." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4950, + 4951 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + { + "id": 4952, + "name": "ComputeActionItemLine", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A cart's line item passed in the context when computing actions." + } + ] + }, + "children": [ + { + "id": 4953, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the item line." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4954, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The quantity of the line item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4955, + "name": "subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtotal of the line item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4956, + "name": "adjustments", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The adjustments applied before on the line item." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4949, + "name": "ComputeActionAdjustmentLine", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4953, + 4954, + 4955, + 4956 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + { + "id": 4957, + "name": "ComputeActionShippingLine", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A cart's shipping method passed in the content when computing actions." + } + ] + }, + "children": [ + { + "id": 4958, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping method." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4959, + "name": "subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subtotal of the shipping method." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 4960, + "name": "adjustments", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The adjustments applied before on the shipping method." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4949, + "name": "ComputeActionAdjustmentLine", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4958, + 4959, + 4960 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + { + "id": 4961, + "name": "ComputeActionContext", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The context provided when computing actions of promotions." + } + ] + }, + "children": [ + { + "id": 4962, + "name": "items", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cart's line items." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4952, + "name": "ComputeActionItemLine", + "package": "@medusajs/types" + } + } + }, + { + "id": 4963, + "name": "shipping_methods", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The cart's shipping methods." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4957, + "name": "ComputeActionShippingLine", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4962, + 4963 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + { + "id": 4964, + "name": "ComputeActionOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options to configure how actions are computed." + } + ] + }, + "children": [ + { + "id": 4965, + "name": "prevent_auto_promotions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to apply promotions having their " + }, + { + "kind": "code", + "text": "`is_automatic`" + }, + { + "kind": "text", + "text": " field enabled\nautomatically. If not provided, the automatic promotions are applied." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4965 + ] + } + ] + }, + { + "id": 5024, + "name": "PromotionRuleValueDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion rule value details." + } + ] + }, + "children": [ + { + "id": 5025, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the promotion rule value." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5026, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The value of the promotion rule value." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5025, + 5026 + ] + } + ] + }, + { + "id": 5027, + "name": "CreatePromotionRuleValueDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion rule value to be created." + } + ] + }, + "children": [ + { + "id": 5028, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The value of the promotion rule value." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5029, + "name": "promotion_rule", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated promotion rule." + } + ] + }, + "type": { + "type": "reference", + "target": 5000, + "name": "PromotionRuleDTO", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5028, + 5029 + ] + } + ] + }, + { + "id": 5030, + "name": "UpdatePromotionRuleValueDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the promotion rule value." + } + ] + }, + "children": [ + { + "id": 5031, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the promotion rule value." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5031 + ] + } + ] + }, + { + "id": 5032, + "name": "FilterablePromotionRuleValueProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved promotion rule values." + } + ] + }, + "children": [ + { + "id": 5034, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5032, + "name": "FilterablePromotionRuleValueProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5032, + "name": "FilterablePromotionRuleValueProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 5035, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5032, + "name": "FilterablePromotionRuleValueProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5032, + "name": "FilterablePromotionRuleValueProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 5033, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the promotion rule values by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5034, + 5035, + 5033 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5032, + "name": "FilterablePromotionRuleValueProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 4999, + "name": "PromotionRuleOperatorValues", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The possible operators to use in a promotion rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "gt" + }, + { + "type": "literal", + "value": "lt" + }, + { + "type": "literal", + "value": "eq" + }, + { + "type": "literal", + "value": "ne" + }, + { + "type": "literal", + "value": "in" + }, + { + "type": "literal", + "value": "lte" + }, + { + "type": "literal", + "value": "gte" + } + ] + } + }, + { + "id": 5000, + "name": "PromotionRuleDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion rule details." + } + ] + }, + "children": [ + { + "id": 5001, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the promotion rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5002, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the promotion rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5003, + "name": "attribute", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attribute of the promotion rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5004, + "name": "operator", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The operator of the promotion rule." + } + ] + }, + "type": { + "type": "reference", + "target": 4999, + "name": "PromotionRuleOperatorValues", + "package": "@medusajs/types" + } + }, + { + "id": 5005, + "name": "values", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The values of the promotion rule." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5024, + "name": "PromotionRuleValueDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5001, + 5002, + 5003, + 5004, + 5005 + ] + } + ] + }, + { + "id": 5006, + "name": "CreatePromotionRuleDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion rule to be created." + } + ] + }, + "children": [ + { + "id": 5007, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the promotion rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5008, + "name": "attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attribute of the promotion rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5009, + "name": "operator", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The operator of the promotion rule." + } + ] + }, + "type": { + "type": "reference", + "target": 4999, + "name": "PromotionRuleOperatorValues", + "package": "@medusajs/types" + } + }, + { + "id": 5010, + "name": "values", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The values of the promotion rule.\nWhen provided, " + }, + { + "kind": "code", + "text": "`PromotionRuleValue`" + }, + { + "kind": "text", + "text": " records are\ncreated and associated with the promotion rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5007, + 5008, + 5009, + 5010 + ] + } + ] + }, + { + "id": 5011, + "name": "UpdatePromotionRuleDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the promotion rule." + } + ] + }, + "children": [ + { + "id": 5012, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the promotion rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5013, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the promotion rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5014, + "name": "attribute", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attribute of the promotion rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5015, + "name": "operator", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The operator of the promotion rule." + } + ] + }, + "type": { + "type": "reference", + "target": 4999, + "name": "PromotionRuleOperatorValues", + "package": "@medusajs/types" + } + }, + { + "id": 5016, + "name": "values", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The values of the promotion rule.\nWhen provided, " + }, + { + "kind": "code", + "text": "`PromotionRuleValue`" + }, + { + "kind": "text", + "text": " records are\ncreated and associated with the promotion rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5012, + 5013, + 5014, + 5015, + 5016 + ] + } + ] + }, + { + "id": 5017, + "name": "RemovePromotionRuleDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details required when removing a promotion rule." + } + ] + }, + "children": [ + { + "id": 5018, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the promotion rule to remove." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5018 + ] + } + ] + }, + { + "id": 5019, + "name": "FilterablePromotionRuleProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved promotion rules." + } + ] + }, + "children": [ + { + "id": 5021, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5019, + "name": "FilterablePromotionRuleProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5019, + "name": "FilterablePromotionRuleProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 5022, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5019, + "name": "FilterablePromotionRuleProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5019, + "name": "FilterablePromotionRuleProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 5020, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the promotion rules by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5021, + 5022, + 5020 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5019, + "name": "FilterablePromotionRuleProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 5023, + "name": "PromotionRuleTypes", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion rule's possible types." + } + ] + } + }, + { + "id": 4966, + "name": "PromotionTypeValues", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion's possible types." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "standard" + }, + { + "type": "literal", + "value": "buyget" + } + ] + } + }, + { + "id": 4967, + "name": "PromotionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion details." + } + ] + }, + "children": [ + { + "id": 4968, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the promotion." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4969, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the promotion." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4970, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the promotion:\n\n- " + }, + { + "kind": "code", + "text": "`standard`" + }, + { + "kind": "text", + "text": " indicates that a promotion is a standard one applied with conditions.\n- " + }, + { + "kind": "code", + "text": "`buyget`" + }, + { + "kind": "text", + "text": " indicates that a promotion is a \"Buy X get Y\" promotion." + } + ] + }, + "type": { + "type": "reference", + "target": 4966, + "name": "PromotionTypeValues", + "package": "@medusajs/types" + } + }, + { + "id": 4971, + "name": "is_automatic", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the promotion is applied automatically." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4972, + "name": "application_method", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated application method." + } + ] + }, + "type": { + "type": "reference", + "target": 4857, + "name": "ApplicationMethodDTO", + "package": "@medusajs/types" + } + }, + { + "id": 4973, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules of the promotion." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5000, + "name": "PromotionRuleDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4974, + "name": "campaign", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated campaign." + } + ] + }, + "type": { + "type": "reference", + "target": 4897, + "name": "CampaignDTO", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4968, + 4969, + 4970, + 4971, + 4972, + 4973, + 4974 + ] + } + ] + }, + { + "id": 4975, + "name": "CreatePromotionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion to be created." + } + ] + }, + "children": [ + { + "id": 4976, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the promotion." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4977, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the promotion:\n\n- " + }, + { + "kind": "code", + "text": "`standard`" + }, + { + "kind": "text", + "text": " indicates that a promotion is a standard one applied with conditions.\n- " + }, + { + "kind": "code", + "text": "`buyget`" + }, + { + "kind": "text", + "text": " indicates that a promotion is a \"Buy X get Y\" promotion." + } + ] + }, + "type": { + "type": "reference", + "target": 4966, + "name": "PromotionTypeValues", + "package": "@medusajs/types" + } + }, + { + "id": 4978, + "name": "is_automatic", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the promotion is applied automatically." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4979, + "name": "application_method", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated application method." + } + ] + }, + "type": { + "type": "reference", + "target": 4869, + "name": "CreateApplicationMethodDTO", + "package": "@medusajs/types" + } + }, + { + "id": 4980, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules of the promotion." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5006, + "name": "CreatePromotionRuleDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 4981, + "name": "campaign", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated campaign." + } + ] + }, + "type": { + "type": "reference", + "target": 5059, + "name": "CreateCampaignDTO", + "package": "@medusajs/types" + } + }, + { + "id": 4982, + "name": "campaign_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated campaign's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4976, + 4977, + 4978, + 4979, + 4980, + 4981, + 4982 + ] + } + ] + }, + { + "id": 4983, + "name": "UpdatePromotionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the promotion." + } + ] + }, + "children": [ + { + "id": 4984, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the promotion." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4985, + "name": "is_automatic", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the promotion is applied automatically." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4986, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the promotion." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4987, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the promotion." + } + ] + }, + "type": { + "type": "reference", + "target": 4966, + "name": "PromotionTypeValues", + "package": "@medusajs/types" + } + }, + { + "id": 4988, + "name": "application_method", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated application method." + } + ] + }, + "type": { + "type": "reference", + "target": 4880, + "name": "UpdateApplicationMethodDTO", + "package": "@medusajs/types" + } + }, + { + "id": 4989, + "name": "campaign_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated campaign's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4984, + 4985, + 4986, + 4987, + 4988, + 4989 + ] + } + ] + }, + { + "id": 4990, + "name": "FilterablePromotionProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved promotions." + } + ] + }, + "children": [ + { + "id": 4997, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 4990, + "name": "FilterablePromotionProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 4990, + "name": "FilterablePromotionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 4998, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 4990, + "name": "FilterablePromotionProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 4990, + "name": "FilterablePromotionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 4991, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the promotions by." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 4992, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the promotions by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 4993, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter promotions by their code." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 4994, + "name": "budget_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter promotions by the ID of their associated campaign budget." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 4995, + "name": "is_automatic", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter promotions by whether they're applied automatically." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 4996, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter promotions by their type." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4966, + "name": "PromotionTypeValues", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 4997, + 4998, + 4991, + 4992, + 4993, + 4994, + 4995, + 4996 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 4990, + "name": "FilterablePromotionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 5036, + "name": "AdminGetPromotionRulesRes", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 5037, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5038, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5039, + "name": "attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5040, + "name": "attribute_label", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5041, + "name": "field_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5042, + "name": "operator", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5043, + "name": "operator_label", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5044, + "name": "values", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 5045, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5046, + "name": "label", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5047, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5046, + 5047 + ] + } + ] + } + } + } + }, + { + "id": 5048, + "name": "disguised", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5049, + "name": "required", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5038, + 5039, + 5040, + 5041, + 5042, + 5043, + 5044, + 5048, + 5049 + ] + } + ] + } + } + } + }, + { + "id": 5050, + "name": "CreateCampaignBudgetDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The campaign budget to be created." + } + ] + }, + "children": [ + { + "id": 5051, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the campaign budget." + } + ] + }, + "type": { + "type": "reference", + "target": 4912, + "name": "CampaignBudgetTypeValues", + "package": "@medusajs/types" + } + }, + { + "id": 5052, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The limit of the campaign budget." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 5053, + "name": "used", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "How much is used of the campaign budget." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5051, + 5052, + 5053 + ] + } + ] + }, + { + "id": 5054, + "name": "UpdateCampaignBudgetDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the campaign budget." + } + ] + }, + "children": [ + { + "id": 5055, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the campaign budget." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5056, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the campaign budget." + } + ] + }, + "type": { + "type": "reference", + "target": 4912, + "name": "CampaignBudgetTypeValues", + "package": "@medusajs/types" + } + }, + { + "id": 5057, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The limit of the campaign budget." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 5058, + "name": "used", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "How much is used of the campaign budget." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5055, + 5056, + 5057, + 5058 + ] + } + ] + }, + { + "id": 5059, + "name": "CreateCampaignDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The campaign to be created." + } + ] + }, + "children": [ + { + "id": 5060, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the campaign." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5061, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the campaign." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5062, + "name": "currency", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency of the campaign." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5063, + "name": "campaign_identifier", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The campaign identifier of the campaign." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5064, + "name": "starts_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The start date of the campaign." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5065, + "name": "ends_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The end date of the campaign." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5066, + "name": "budget", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated campaign budget." + } + ] + }, + "type": { + "type": "reference", + "target": 5050, + "name": "CreateCampaignBudgetDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5067, + "name": "promotions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotions of the campaign." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Pick" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4967, + "name": "PromotionDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "id" + } + ], + "name": "Pick", + "package": "typescript" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5060, + 5061, + 5062, + 5063, + 5064, + 5065, + 5066, + 5067 + ] + } + ] + }, + { + "id": 5068, + "name": "UpdateCampaignDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the campaign." + } + ] + }, + "children": [ + { + "id": 5069, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the campaign." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5070, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the campaign." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5071, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the campaign." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5072, + "name": "currency", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency of the campaign." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5073, + "name": "campaign_identifier", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The campaign identifier of the campaign." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5074, + "name": "starts_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The start date of the campaign." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5075, + "name": "ends_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The end date of the campaign." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5076, + "name": "budget", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The budget of the campaign." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5054, + "name": "UpdateCampaignBudgetDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "id" + } + ], + "name": "Omit", + "package": "typescript" + } + }, + { + "id": 5077, + "name": "promotions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotions of the campaign." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Pick" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4967, + "name": "PromotionDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "id" + } + ], + "name": "Pick", + "package": "typescript" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5069, + 5070, + 5071, + 5072, + 5073, + 5074, + 5075, + 5076, + 5077 + ] + } + ] + }, + { + "id": 5078, + "name": "IPromotionModuleService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The main service interface for the Promotion Module." + } + ] + }, + "children": [ + { + "id": 5079, + "name": "registerUsage", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5080, + "name": "registerUsage", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adjusts the budget for each campaign associated with the promotions' specified computed actions.\nIt adjusts the " + }, + { + "kind": "code", + "text": "`used`" + }, + { + "kind": "text", + "text": " property of a " + }, + { + "kind": "code", + "text": "`CampaignBudget`" + }, + { + "kind": "text", + "text": " to account for the adjustment amounts in the specified associated\ncomputed actions." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the campaign budgets have been adjusted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait promotionModuleService.registerUsage([\n {\n action: \"addItemAdjustment\",\n item_id: \"cali_123\",\n amount: 50,\n code: \"50OFF\",\n },\n {\n action: \"addShippingMethodAdjustment\",\n shipping_method_id: \"casm_123\",\n amount: 5000,\n code: \"FREESHIPPING\",\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5081, + "name": "computedActions", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The computed actions to adjust their promotion's campaign budget." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4923, + "name": "ComputeActions", + "package": "@medusajs/types" + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5082, + "name": "computeActions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5083, + "name": "computeActions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method provides the actions to perform on a cart based on the specified promotions\nand context." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of computed actions to be applied on the cart." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst actions = await promotionModuleService.computeActions(\n [\"50OFF\"],\n {\n items: [\n {\n id: \"cali_123\",\n quantity: 2,\n subtotal: 1000,\n },\n ],\n shipping_methods: [\n {\n id: \"casm_123\",\n subtotal: 0,\n adjustments: [\n {\n id: \"adj_123\",\n code: \"FREESHIPPING\",\n },\n ],\n },\n ],\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5084, + "name": "promotionCodesToApply", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion codes to be applied on the cart." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5085, + "name": "applicationContext", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The items and shipping methods of the cart." + } + ] + }, + "type": { + "type": "reference", + "target": 4961, + "name": "ComputeActionContext", + "package": "@medusajs/types" + } + }, + { + "id": 5086, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Any relevant options that may change how the actions are computed." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4923, + "name": "ComputeActions", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5087, + "name": "create", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5088, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates promotions." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created promotions." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst promotions = await promotionModuleService.create([\n {\n code: \"50OFF\",\n type: \"standard\",\n application_method: {\n type: \"percentage\",\n target_type: \"items\",\n value: 50,\n },\n },\n {\n code: \"FREESHIPPING\",\n type: \"standard\",\n application_method: {\n type: \"percentage\",\n target_type: \"shipping_methods\",\n value: 100,\n },\n },\n {\n code: \"BUY2GET1\",\n type: \"buyget\",\n application_method: {\n type: \"fixed\",\n target_type: \"items\",\n buy_rules_min_quantity: 2,\n apply_to_quantity: 1,\n buy_rules: [\n {\n attribute: \"SKU\",\n operator: \"eq\",\n values: [\"SHIRT\"],\n },\n ],\n },\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5089, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotions to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4975, + "name": "CreatePromotionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5090, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4967, + "name": "PromotionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5091, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a promotion." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created promotion." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst promotionA = await promotionModuleService.create({\n code: \"50OFF\",\n type: \"standard\",\n application_method: {\n type: \"percentage\",\n target_type: \"items\",\n value: 50,\n },\n})\n\nconst promotionB = await promotionModuleService.create({\n code: \"FREESHIPPING\",\n type: \"standard\",\n application_method: {\n type: \"percentage\",\n target_type: \"shipping_methods\",\n value: 100,\n },\n})\n\nconst promotionC = await promotionModuleService.create({\n code: \"BUY2GET1\",\n type: \"buyget\",\n application_method: {\n type: \"fixed\",\n target_type: \"items\",\n buy_rules_min_quantity: 2,\n apply_to_quantity: 1,\n buy_rules: [\n {\n attribute: \"SKU\",\n operator: \"eq\",\n values: [\"SHIRT\"],\n },\n ],\n },\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5092, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 4975, + "name": "CreatePromotionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5093, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4967, + "name": "PromotionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5094, + "name": "update", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5095, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing promotions." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated promotions." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst promotions = await promotionModuleService.update([\n {\n id: \"promo_123\",\n is_automatic: true,\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5096, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the promotions." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 4983, + "name": "UpdatePromotionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5097, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4967, + "name": "PromotionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5098, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing promotion." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated promotion." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst promotion = await promotionModuleService.update({\n id: \"promo_123\",\n is_automatic: true,\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5099, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the promotion." + } + ] + }, + "type": { + "type": "reference", + "target": 4983, + "name": "UpdatePromotionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5100, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4967, + "name": "PromotionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5101, + "name": "list", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5102, + "name": "list", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of promotions based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of promotions." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of promotions using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst promotions = await promotionModuleService.list({\n id: [\"promo_123\", \"promo_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the promotions:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst promotions = await promotionModuleService.list(\n {\n id: [\"promo_123\", \"promo_321\"],\n },\n {\n relations: [\"application_method\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst promotions = await promotionModuleService.list(\n {\n id: [\"promo_123\", \"promo_321\"],\n },\n {\n relations: [\"application_method\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5103, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved promotions." + } + ] + }, + "type": { + "type": "reference", + "target": 4990, + "name": "FilterablePromotionProps", + "package": "@medusajs/types" + } + }, + { + "id": 5104, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the promotion is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a promotion." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 4967, + "name": "PromotionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5105, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4967, + "name": "PromotionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5106, + "name": "listAndCount", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5107, + "name": "listAndCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of promotions along with the total count of available promotions satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of promotions along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of promotions using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [promotions, count] =\n await promotionModuleService.listAndCount({\n id: [\"promo_123\", \"promo_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the promotions:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [promotions, count] =\n await promotionModuleService.listAndCount(\n {\n id: [\"promo_123\", \"promo_321\"],\n },\n {\n relations: [\"application_method\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [promotions, count] =\n await promotionModuleService.listAndCount(\n {\n id: [\"promo_123\", \"promo_321\"],\n },\n {\n relations: [\"application_method\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5108, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved promotions." + } + ] + }, + "type": { + "type": "reference", + "target": 4990, + "name": "FilterablePromotionProps", + "package": "@medusajs/types" + } + }, + { + "id": 5109, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the promotion is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a promotion." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 4967, + "name": "PromotionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5110, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4967, + "name": "PromotionDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5111, + "name": "retrieve", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5112, + "name": "retrieve", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a promotion by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved promotion." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a promotion by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst promotion =\n await promotionModuleService.retrieve(\"promo_123\")\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst promotion = await promotionModuleService.retrieve(\n \"promo_123\",\n {\n relations: [\"application_method\"],\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5113, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the promotion." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5114, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the promotion is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a promotion." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 4967, + "name": "PromotionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5115, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4967, + "name": "PromotionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5116, + "name": "delete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5117, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes promotions by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the promotions are deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait promotionModuleService.delete([\n \"promo_123\",\n \"promo_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5118, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the promotion." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5119, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5120, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a promotion by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the promotion is deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait promotionModuleService.delete(\"promo_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5121, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the promotion." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5122, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5123, + "name": "softDelete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5124, + "name": "softDelete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes a promotion by its IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted, such as the ID of the associated application method.\nThe object's keys are the ID attribute names of the promotion entity's relations, such as " + }, + { + "kind": "code", + "text": "`application_method_id`" + }, + { + "kind": "text", + "text": ", and its value is an array of strings, each being the ID of a record associated\nwith the promotion through this relation, such as the IDs of associated application method.\n\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait promotionModuleService.softDelete(\"promo_123\")\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 5125, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 5126, + "name": "promotionIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The list of promotions to soft delete." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 5127, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 5125, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 5128, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5129, + "name": "restore", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5130, + "name": "restore", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores soft deleted promotions by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored, such as the ID of associated application method.\nThe object's keys are the ID attribute names of the promotion entity's relations, such as " + }, + { + "kind": "code", + "text": "`application_method_id`" + }, + { + "kind": "text", + "text": ",\nand its value is an array of strings, each being the ID of the record associated with the promotion through this relation,\nsuch as the IDs of associated application method.\n\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait promotionModuleService.restore(\"promo_123\")\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 5131, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 5132, + "name": "promotionIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotions' IDs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 5133, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the promotion. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the promotion's relation attribute names, such as " + }, + { + "kind": "code", + "text": "`application_method_id`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 5131, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 5134, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5135, + "name": "addPromotionRules", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5136, + "name": "addPromotionRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds promotion rules to a promotion." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The promotion rules created." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst promotionRules =\n await promotionModuleService.addPromotionRules(\n \"promo_123\",\n [\n {\n attribute: \"customer_group_id\",\n operator: \"in\",\n values: [\"VIP\", \"VVIP\"],\n },\n ]\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5137, + "name": "promotionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5138, + "name": "rulesData", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion rules to be created and added to the promotion." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5006, + "name": "CreatePromotionRuleDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5139, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5000, + "name": "PromotionRuleDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5140, + "name": "addPromotionTargetRules", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5141, + "name": "addPromotionTargetRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds target promotion rules to a promotion's application method." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created promotion rules." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst targetPromotionRules =\n await promotionModuleService.addPromotionTargetRules(\n \"promo_123\",\n [\n {\n attribute: \"SKU\",\n operator: \"eq\",\n values: \"SHIRT\",\n },\n ]\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5142, + "name": "promotionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5143, + "name": "rulesData", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion rules to be created and added as target rules to the promotion's application method." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5006, + "name": "CreatePromotionRuleDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5144, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5000, + "name": "PromotionRuleDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5145, + "name": "addPromotionBuyRules", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5146, + "name": "addPromotionBuyRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds buy promotion rules to a promotion's application method." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created promotion rules." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst buyPromotionRules =\n await promotionModuleService.addPromotionBuyRules(\n \"promo_123\",\n [\n {\n attribute: \"SKU\",\n operator: \"eq\",\n values: \"SHIRT\",\n },\n ]\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5147, + "name": "promotionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5148, + "name": "rulesData", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion rules to be created and added as buy rules to the promotion's applicatio method." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5006, + "name": "CreatePromotionRuleDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5149, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5000, + "name": "PromotionRuleDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5150, + "name": "removePromotionRules", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5151, + "name": "removePromotionRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method removes promotion rules from a promotion." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the promotion rules are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait promotionModuleService.removePromotionRules(\n \"promo_123\",\n [\"prorul_123\", \"prorul_321\"]\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5152, + "name": "promotionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5153, + "name": "ruleIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion rules' IDs." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5154, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5155, + "name": "removePromotionTargetRules", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5156, + "name": "removePromotionTargetRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method removes target promotion rules from a promotion's application method." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the target promotion rules are deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait promotionModuleService.removePromotionTargetRules(\n \"promo_123\",\n [\"prorul_123\", \"prorul_321\"]\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5157, + "name": "promotionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5158, + "name": "ruleIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The target promotion rules' IDs." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5159, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5160, + "name": "removePromotionBuyRules", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5161, + "name": "removePromotionBuyRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method removes buy promotion rules from a promotion's application method." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the buy promotion rules are deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait promotionModuleService.removePromotionBuyRules(\n \"promo_123\",\n [\"prorul_123\", \"prorul_321\"]\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5162, + "name": "promotionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The promotion's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5163, + "name": "ruleIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The buy promotion rules' IDs." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5164, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5165, + "name": "createCampaigns", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5166, + "name": "createCampaigns", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a campaign." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created campaign." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst campaign = await promotionModuleService.createCampaigns(\n {\n name: \"Summer discounts\",\n campaign_identifier: \"G-123456\",\n starts_at: new Date(\"2025-06-01\"),\n ends_at: new Date(\"2025-09-01\"),\n budget: {\n type: \"usage\",\n limit: 10,\n },\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5167, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The campaign to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 5059, + "name": "CreateCampaignDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5168, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4897, + "name": "CampaignDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5169, + "name": "createCampaigns", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates campaigns." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created campaigns." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst campaigns =\n await promotionModuleService.createCampaigns([\n {\n name: \"Summer discounts\",\n campaign_identifier: \"G-123456\",\n starts_at: new Date(\"2025-06-01\"),\n ends_at: new Date(\"2025-09-01\"),\n budget: {\n type: \"usage\",\n limit: 10,\n },\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5170, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The campaigns to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5059, + "name": "CreateCampaignDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5171, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4897, + "name": "CampaignDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5172, + "name": "updateCampaigns", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5173, + "name": "updateCampaigns", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing campaigns." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated campaigns." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst campaigns =\n await promotionModuleService.updateCampaigns([\n {\n id: \"procamp_123\",\n name: \"Summer Sales\",\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5174, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the campaigns." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5068, + "name": "UpdateCampaignDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5175, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4897, + "name": "CampaignDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5176, + "name": "updateCampaigns", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing campaign." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated campaign." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst campaigns =\n await promotionModuleService.updateCampaigns({\n id: \"procamp_123\",\n name: \"Summer Sales\",\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5177, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the campaign." + } + ] + }, + "type": { + "type": "reference", + "target": 5068, + "name": "UpdateCampaignDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5178, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4897, + "name": "CampaignDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5179, + "name": "listPromotionRules", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5180, + "name": "listPromotionRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of promotion rules based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of promotion rules." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of promotion rules using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst promotionRules =\n await promotionModuleService.listPromotionRules({\n id: [\"prorul_123\", \"prorul_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the promotion rules:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst promotionRules =\n await promotionModuleService.listPromotionRules(\n {\n id: [\"prorul_123\", \"prorul_321\"],\n },\n {\n relations: [\"promotions\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst promotionRules =\n await promotionModuleService.listPromotionRules(\n {\n id: [\"prorul_123\", \"prorul_321\"],\n },\n {\n relations: [\"promotions\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5181, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved promotion rules." + } + ] + }, + "type": { + "type": "reference", + "target": 5019, + "name": "FilterablePromotionRuleProps", + "package": "@medusajs/types" + } + }, + { + "id": 5182, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the promotion rule is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a promotion rule." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 5000, + "name": "PromotionRuleDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5183, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5000, + "name": "PromotionRuleDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5184, + "name": "updatePromotionRules", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5185, + "name": "updatePromotionRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing promotion rules." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated promotion rules." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst promotionRules =\n await promotionModuleService.updatePromotionRules([\n {\n id: \"prorul_123\",\n description: \"Only allow VIP customers\",\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5186, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the promotion rules." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5011, + "name": "UpdatePromotionRuleDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5187, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5000, + "name": "PromotionRuleDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5188, + "name": "listCampaigns", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5189, + "name": "listCampaigns", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of campaigns based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of campaigns." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of campaigns using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst campaigns = await promotionModuleService.listCampaigns({\n id: [\"procamp_123\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the campaigns:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst campaigns = await promotionModuleService.listCampaigns(\n {\n id: [\"procamp_123\"],\n },\n {\n relations: [\"promotions\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst campaigns = await promotionModuleService.listCampaigns(\n {\n id: [\"procamp_123\"],\n },\n {\n relations: [\"promotions\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5190, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved campaigns." + } + ] + }, + "type": { + "type": "reference", + "target": 4906, + "name": "FilterableCampaignProps", + "package": "@medusajs/types" + } + }, + { + "id": 5191, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the campaign is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a campaign." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 4897, + "name": "CampaignDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5192, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4897, + "name": "CampaignDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5193, + "name": "listAndCountCampaigns", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5194, + "name": "listAndCountCampaigns", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of campaigns along with the total count of available campaigns satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of campaigns along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of campaigns using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [campaigns, count] =\n await promotionModuleService.listAndCountCampaigns({\n id: [\"procamp_123\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the campaigns:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [campaigns, count] =\n await promotionModuleService.listAndCountCampaigns(\n {\n id: [\"procamp_123\"],\n },\n {\n relations: [\"promotions\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [campaigns, count] =\n await promotionModuleService.listAndCountCampaigns(\n {\n id: [\"procamp_123\"],\n },\n {\n relations: [\"promotions\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5195, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved campaigns." + } + ] + }, + "type": { + "type": "reference", + "target": 4906, + "name": "FilterableCampaignProps", + "package": "@medusajs/types" + } + }, + { + "id": 5196, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the campaign is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a campaign." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 4897, + "name": "CampaignDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5197, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 4897, + "name": "CampaignDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5198, + "name": "retrieveCampaign", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5199, + "name": "retrieveCampaign", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a campaigns by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved campaigns." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a promotion by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst campaign =\n await promotionModuleService.retrieveCampaign(\"procamp_123\")\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst campaign =\n await promotionModuleService.retrieveCampaign(\n \"procamp_123\",\n {\n relations: [\"promotions\"],\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5200, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the campaigns." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5201, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the campaign is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a campaign." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 4897, + "name": "CampaignDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5202, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 4897, + "name": "CampaignDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5203, + "name": "deleteCampaigns", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5204, + "name": "deleteCampaigns", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes campaigns by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the campaigns are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait promotionModuleService.deleteCampaigns([\"procamp_123\"])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5205, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the campaigns." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5206, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5207, + "name": "deleteCampaigns", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a campaign by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the campaign is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait promotionModuleService.deleteCampaigns(\"procamp_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5208, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the campaign." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5209, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5210, + "name": "softDeleteCampaigns", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5211, + "name": "softDeleteCampaigns", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes campaigns by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted, such as the ID of the associated campaign budget.\nThe object's keys are the ID attribute names of the campaign entity's relations, such as " + }, + { + "kind": "code", + "text": "`budget_id`" + }, + { + "kind": "text", + "text": ", and its value is an array of strings, each being the ID of a record associated\nwith the campaign through this relation, such as the IDs of associated campaign budget.\n\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait promotionModuleService.softDeleteCampaigns(\n \"procamp_123\",\n {\n returnLinkableKeys: [\"budget_id\"],\n }\n)\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 5212, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 5213, + "name": "campaignIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the campaigns." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 5214, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 5212, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 5215, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5216, + "name": "restoreCampaigns", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5217, + "name": "restoreCampaigns", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores soft deleted campaigns by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored, such as the ID of associated campaign budget.\nThe object's keys are the ID attribute names of the campaign entity's relations, such as " + }, + { + "kind": "code", + "text": "`budget_id`" + }, + { + "kind": "text", + "text": ",\nand its value is an array of strings, each being the ID of the record associated with the campaign through this relation,\nsuch as the IDs of associated campaign budget.\n\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait promotionModuleService.restoreCampaigns(\"procamp_123\", {\n returnLinkableKeys: [\"budget_id\"],\n})\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 5218, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 5219, + "name": "campaignIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the campaigns" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 5220, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the campaigns. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the campaign's relation attribute names, such as " + }, + { + "kind": "code", + "text": "`budget_id`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 5218, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 5221, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 5079, + 5082, + 5087, + 5094, + 5101, + 5106, + 5111, + 5116, + 5123, + 5129, + 5135, + 5140, + 5145, + 5150, + 5155, + 5160, + 5165, + 5172, + 5179, + 5184, + 5188, + 5193, + 5198, + 5203, + 5210, + 5216 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3404, + "name": "IModuleService", + "package": "@medusajs/types" + } + ] + }, + { + "id": 5235, + "name": "AddPromotionRulesWorkflowDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 5236, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5237, + "name": "rule_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 5023, + "name": "PromotionRuleTypes", + "package": "@medusajs/types" + } + }, + { + "id": 5238, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 5239, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5240, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5241, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5006, + "name": "CreatePromotionRuleDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5240, + 5241 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5237, + 5238 + ] + } + ] + } + } + }, + { + "id": 5242, + "name": "RemovePromotionRulesWorkflowDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 5243, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5244, + "name": "rule_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 5023, + "name": "PromotionRuleTypes", + "package": "@medusajs/types" + } + }, + { + "id": 5245, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 5246, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5247, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5248, + "name": "rule_ids", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5247, + 5248 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5244, + 5245 + ] + } + ] + } + } + }, + { + "id": 5249, + "name": "UpdatePromotionRulesWorkflowDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 5250, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5251, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5011, + "name": "UpdatePromotionRuleDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5251 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 4857, + 4869, + 4880, + 4890, + 4913, + 4918, + 4897, + 4906, + 4925, + 4928, + 4934, + 4939, + 4945, + 4949, + 4952, + 4957, + 4961, + 4964, + 5024, + 5027, + 5030, + 5032, + 5000, + 5006, + 5011, + 5017, + 5019, + 5023, + 4967, + 4975, + 4983, + 4990, + 5050, + 5054, + 5059, + 5068, + 5078 + ] + }, + { + "title": "Type Aliases", + "children": [ + 4854, + 4855, + 4856, + 4912, + 4923, + 4924, + 4999, + 4966, + 5036, + 5235, + 5242, + 5249 + ] + } + ] + }, + { + "id": 7726, + "name": "RegionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The region details." + } + ] + }, + "children": [ + { + "id": 7727, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7728, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7729, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of the region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7730, + "name": "automatic_taxes", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Setting to indicate whether taxes need to be applied automatically" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7731, + "name": "countries", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The countries of the region." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7736, + "name": "RegionCountryDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 7732, + "name": "payment_providers", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Payment providers available in the region" + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7083, + "name": "PaymentProviderDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 7733, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 7734, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the region was created." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7735, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the region was updated." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7727, + 7728, + 7729, + 7730, + 7731, + 7732, + 7733, + 7734, + 7735 + ] + } + ] + }, + { + "id": 7736, + "name": "RegionCountryDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The country details." + } + ] + }, + "children": [ + { + "id": 7737, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the country." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7738, + "name": "iso_2", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 2 code of the country." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7739, + "name": "iso_3", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 3 code of the country." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7740, + "name": "num_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The country's code number." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 7741, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the country." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7742, + "name": "display_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The display name of the country." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7737, + 7738, + 7739, + 7740, + 7741, + 7742 + ] + } + ] + }, + { + "id": 7743, + "name": "FilterableRegionProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved regions." + } + ] + }, + "children": [ + { + "id": 7751, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7743, + "name": "FilterableRegionProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7743, + "name": "FilterableRegionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 7752, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7743, + "name": "FilterableRegionProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7743, + "name": "FilterableRegionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 7744, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Find regions by name through this search term" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7745, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the regions by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7746, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter regions by their name." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7747, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter regions by their currency code." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7748, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter regions by their metadata." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 7749, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter regions by their creation date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 7750, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter regions by their update date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7751, + 7752, + 7744, + 7745, + 7746, + 7747, + 7748, + 7749, + 7750 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7743, + "name": "FilterableRegionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7753, + "name": "FilterableRegionCountryProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved region's countries." + } + ] + }, + "children": [ + { + "id": 7760, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7753, + "name": "FilterableRegionCountryProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7753, + "name": "FilterableRegionCountryProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 7761, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7753, + "name": "FilterableRegionCountryProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7753, + "name": "FilterableRegionCountryProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 7754, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the countries by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 7755, + "name": "iso_2", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter countries by their ISO 2 code." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 7756, + "name": "iso_3", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter countries by their ISO 3 code." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 7757, + "name": "num_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter countries by their code number." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "number" + } + } + ] + } + }, + { + "id": 7758, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter countries by their name." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 7759, + "name": "display_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter countries by their display name." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7760, + 7761, + 7754, + 7755, + 7756, + 7757, + 7758, + 7759 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 7753, + "name": "FilterableRegionCountryProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 7762, + "name": "CreateRegionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The region to be created." + } + ] + }, + "children": [ + { + "id": 7763, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7764, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of the region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7765, + "name": "automatic_taxes", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Setting to indicate whether taxes need to be applied automatically" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7766, + "name": "countries", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The region's countries." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7767, + "name": "payment_providers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The region's payment providers." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7768, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7763, + 7764, + 7765, + 7766, + 7767, + 7768 + ] + } + ] + }, + { + "id": 7769, + "name": "UpsertRegionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the region to be created or updated." + } + ] + }, + "children": [ + { + "id": 7770, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The id of the region in the case of an update" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7771, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The target name of the region. Required when\ncreating a region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7772, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of the region. Required when\ncreating a region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7773, + "name": "automatic_taxes", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Setting to indicate whether taxes need to be applied automatically." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7774, + "name": "countries", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The region's countries." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7775, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7770, + 7771, + 7772, + 7773, + 7774, + 7775 + ] + } + ] + }, + { + "id": 7776, + "name": "UpdateRegionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the region." + } + ] + }, + "children": [ + { + "id": 7777, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The target name of the region" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7778, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of the region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7779, + "name": "automatic_taxes", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Setting to indicate whether taxes need to be applied automatically" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7780, + "name": "countries", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The region's countries." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7781, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7777, + 7778, + 7779, + 7780, + 7781 + ] + } + ] + }, + { + "id": 7782, + "name": "IRegionModuleService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The main service interface for the Region Module." + } + ] + }, + "children": [ + { + "id": 7783, + "name": "create", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7784, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates regions." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created regions." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst region = await regionModuleService.create([\n {\n name: \"Europe\",\n currency_code: \"eur\",\n countries: [\"dk\", \"de\", \"fr\"],\n },\n {\n name: \"United States of America\",\n currency_code: \"usd\",\n countries: [\"us\"],\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7785, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The regions to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7762, + "name": "CreateRegionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 7786, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 7726, + "name": "RegionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 7787, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a region." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created region." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst region = await regionModuleService.create({\n name: \"Europe\",\n currency_code: \"eur\",\n countries: [\"dk\", \"de\", \"fr\"],\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7788, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The region to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 7762, + "name": "CreateRegionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7789, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 7726, + "name": "RegionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7790, + "name": "upsert", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7791, + "name": "upsert", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates or creates regions if they don't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created or updated regions." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst region = await regionModuleService.upsert([\n {\n id: \"reg_123\",\n automatic_taxes: false,\n },\n {\n name: \"Europe\",\n currency_code: \"eur\",\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7792, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the regions to be created or updated." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7769, + "name": "UpsertRegionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 7793, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 7726, + "name": "RegionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 7794, + "name": "upsert", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates or creates a region if it doesn't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created or updated region." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst region = await regionModuleService.upsert({\n id: \"reg_123\",\n automatic_taxes: false,\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7795, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the region to be created or updated." + } + ] + }, + "type": { + "type": "reference", + "target": 7769, + "name": "UpsertRegionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7796, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 7726, + "name": "RegionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7797, + "name": "update", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7798, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing region." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated region." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst region = await regionModuleService.update(\"reg_123\", {\n automatic_taxes: false,\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7799, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7800, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the region." + } + ] + }, + "type": { + "type": "reference", + "target": 7776, + "name": "UpdateRegionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7801, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 7726, + "name": "RegionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 7802, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing regions." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated regions." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst region = await regionModuleService.update(\n {\n name: \"Europe\",\n },\n {\n automatic_taxes: false,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7803, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved regions." + } + ] + }, + "type": { + "type": "reference", + "target": 7743, + "name": "FilterableRegionProps", + "package": "@medusajs/types" + } + }, + { + "id": 7804, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the region." + } + ] + }, + "type": { + "type": "reference", + "target": 7776, + "name": "UpdateRegionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 7805, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 7726, + "name": "RegionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7806, + "name": "delete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7807, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes regions by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the regions are deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait regionModuleService.delete([\"reg_123\", \"reg_321\"])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7808, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the region." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7809, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 7810, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a region by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the region is deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait regionModuleService.delete(\"reg_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7811, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7812, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7813, + "name": "retrieve", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7814, + "name": "retrieve", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a region by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved region." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a region by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst region = await regionModuleService.retrieve(\"reg_123\")\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst region = await regionModuleService.retrieve(\"reg_123\", {\n relations: [\"countries\"],\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7815, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7816, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the region is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a region." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 7726, + "name": "RegionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 7817, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 7726, + "name": "RegionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7818, + "name": "list", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7819, + "name": "list", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of regions based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of regions." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of regions using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst regions = await regionModuleService.list({\n id: [\"reg_123\", \"reg_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the regions:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst regions = await regionModuleService.list(\n {\n id: [\"reg_123\", \"reg_321\"],\n },\n {\n relations: [\"countries\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst regions = await regionModuleService.list(\n {\n id: [\"reg_123\", \"reg_321\"],\n },\n {\n relations: [\"countries\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7820, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved regions." + } + ] + }, + "type": { + "type": "reference", + "target": 7743, + "name": "FilterableRegionProps", + "package": "@medusajs/types" + } + }, + { + "id": 7821, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the region is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a region." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 7726, + "name": "RegionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 7822, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 7726, + "name": "RegionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7823, + "name": "listAndCount", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7824, + "name": "listAndCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of regions along with the total count of available regions satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of regions along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of regions using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [regions, count] =\n await regionModuleService.listAndCount({\n id: [\"reg_123\", \"reg_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the regions:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [regions, count] =\n await regionModuleService.listAndCount(\n {\n id: [\"reg_123\", \"reg_321\"],\n },\n {\n relations: [\"countries\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [regions, count] =\nawait regionModuleService.listAndCount(\n {\n id: [\"reg_123\", \"reg_321\"],\n },\n {\n relations: [\"countries\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7825, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved regions." + } + ] + }, + "type": { + "type": "reference", + "target": 7743, + "name": "FilterableRegionProps", + "package": "@medusajs/types" + } + }, + { + "id": 7826, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the region is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a region." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 7726, + "name": "RegionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 7827, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 7726, + "name": "RegionDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7828, + "name": "retrieveCountry", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7829, + "name": "retrieveCountry", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a country by its 2 character ISO code." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved country." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a country by its 2 character ISO code:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst country =\n await regionModuleService.retrieveCountry(\"us\")\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst country = await regionModuleService.retrieveCountry(\n \"us\",\n {\n relations: [\"region\"],\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7830, + "name": "countryId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The country's ID, which is the 2 character ISO code." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7831, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the country is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a country." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 7736, + "name": "RegionCountryDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 7832, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 7736, + "name": "RegionCountryDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7833, + "name": "listCountries", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7834, + "name": "listCountries", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of countries based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of countries." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of countries using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst countries = await regionModuleService.listCountries({\n iso_2: [\"us\", \"eur\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the countries:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst countries = await regionModuleService.listCountries(\n {\n iso_2: [\"us\", \"eur\"],\n },\n {\n relations: [\"region\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst countries = await regionModuleService.listCountries(\n {\n iso_2: [\"us\", \"eur\"],\n },\n {\n relations: [\"region\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7835, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved countries." + } + ] + }, + "type": { + "type": "reference", + "target": 7753, + "name": "FilterableRegionCountryProps", + "package": "@medusajs/types" + } + }, + { + "id": 7836, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the country is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a country." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 7736, + "name": "RegionCountryDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 7837, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 7736, + "name": "RegionCountryDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7838, + "name": "listAndCountCountries", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7839, + "name": "listAndCountCountries", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of countries along with the total count of available countries satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of countries along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of countries using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [countries, count] =\n await regionModuleService.listAndCountCountries({\n iso_2: [\"us\", \"eur\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the countries:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [countries, count] =\n await regionModuleService.listAndCountCountries(\n {\n iso_2: [\"us\", \"eur\"],\n },\n {\n relations: [\"region\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [countries, count] =\n await regionModuleService.listAndCountCountries(\n {\n iso_2: [\"us\", \"eur\"],\n },\n {\n relations: [\"region\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 7840, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved countries." + } + ] + }, + "type": { + "type": "reference", + "target": 7753, + "name": "FilterableRegionCountryProps", + "package": "@medusajs/types" + } + }, + { + "id": 7841, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the country is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a country." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 7736, + "name": "RegionCountryDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 7842, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 7736, + "name": "RegionCountryDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7843, + "name": "softDelete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7844, + "name": "softDelete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes a region by its IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted, such as the ID of the associated country.\nThe object's keys are the ID attribute names of the region entity's relations, such as " + }, + { + "kind": "code", + "text": "`country_id`" + }, + { + "kind": "text", + "text": ", and its value is an array of strings, each being the ID of a record associated\nwith the region through this relation, such as the IDs of associated countries.\n\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait regionModuleService.softDelete([\"reg_123\", \"reg_321\"], {\n returnLinkableKeys: [\"country_id\"],\n})\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 7845, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 7846, + "name": "regionIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The regions' IDs." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7847, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 7845, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 7848, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 7849, + "name": "restore", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7850, + "name": "restore", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores soft deleted regions by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored, such as the ID of associated countries.\nThe object's keys are the ID attribute names of the region entity's relations, such as " + }, + { + "kind": "code", + "text": "`country_id`" + }, + { + "kind": "text", + "text": ",\nand its value is an array of strings, each being the ID of the record associated with the region through this relation,\nsuch as the IDs of associated countries.\n\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait regionModuleService.restore([\"reg_123\", \"reg_321\"], {\n returnLinkableKeys: [\"country_id\"],\n})\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 7851, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 7852, + "name": "regionIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The regions' IDs." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7853, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the region. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the region's relation attribute names, such as " + }, + { + "kind": "code", + "text": "`countries`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 7851, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 7854, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 7783, + 7790, + 7797, + 7806, + 7813, + 7818, + 7823, + 7828, + 7833, + 7838, + 7843, + 7849 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3404, + "name": "IModuleService", + "package": "@medusajs/types" + } + ] + }, + { + "id": 5252, + "name": "RegionTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 5253, + "name": "RegionDTO__legacy", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of a legacy region." + } + ] + }, + "children": [ + { + "id": 5254, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5255, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of the region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5256, + "name": "tax_rate", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax rate of the region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5257, + "name": "tax_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax code of the region." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5258, + "name": "gift_cards_taxable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether gift cards in the region are taxable." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5259, + "name": "automatic_taxes", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether taxes should be calculated automatically in the region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5260, + "name": "tax_provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated tax provider's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5261, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 5262, + "name": "includes_tax", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether prices include taxes in the region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5254, + 5255, + 5256, + 5257, + 5258, + 5259, + 5260, + 5261, + 5262 + ] + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 5253 + ] + } + ] + }, + { + "id": 5263, + "name": "SalesChannelTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 5264, + "name": "SalesChannelLocationDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The sales channel location details." + } + ] + }, + "children": [ + { + "id": 5265, + "name": "sales_channel_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated sales channel's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5266, + "name": "location_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated location's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5267, + "name": "sales_channel", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated sales channel." + } + ] + }, + "type": { + "type": "reference", + "target": 5268, + "name": "SalesChannelDTO", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5265, + 5266, + 5267 + ] + } + ] + }, + { + "id": 5268, + "name": "SalesChannelDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The sales channel details." + } + ] + }, + "children": [ + { + "id": 5269, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the sales channel." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5270, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the sales channel." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5271, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the sales channel." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5272, + "name": "is_disabled", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the sales channel is disabled." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5273, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 5274, + "name": "locations", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The locations of the sales channel." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5264, + "name": "SalesChannelLocationDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5269, + 5270, + 5271, + 5272, + 5273, + 5274 + ] + } + ] + }, + { + "id": 5275, + "name": "FilterableSalesChannelProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved sales channel." + } + ] + }, + "children": [ + { + "id": 5280, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5275, + "name": "FilterableSalesChannelProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5275, + "name": "FilterableSalesChannelProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 5281, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5275, + "name": "FilterableSalesChannelProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5275, + "name": "FilterableSalesChannelProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 5276, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Find sales channels by their name or description through this search term." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5277, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the sales channel by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 5278, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter sales channels by their names." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 5279, + "name": "is_disabled", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter sales channels by whether they're disabled." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5280, + 5281, + 5276, + 5277, + 5278, + 5279 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5275, + "name": "FilterableSalesChannelProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 5282, + "name": "CreateSalesChannelDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The sales channel to be created." + } + ] + }, + "children": [ + { + "id": 5283, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the sales channel." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5284, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the sales channel." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5285, + "name": "is_disabled", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the sales channel is disabled." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5283, + 5284, + 5285 + ] + } + ] + }, + { + "id": 5286, + "name": "UpdateSalesChannelDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the sales channel." + } + ] + }, + "children": [ + { + "id": 5287, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the sales channel." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5288, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the sales channel." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5289, + "name": "is_disabled", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the sales channel is disabled." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5290, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5287, + 5288, + 5289, + 5290 + ] + } + ] + }, + { + "id": 5291, + "name": "UpsertSalesChannelDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the sales channel to be created or updated." + } + ] + }, + "children": [ + { + "id": 5292, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the sales channel." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5293, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the sales channel. Required\nwhen creating a sales channel." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5294, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the sales channel." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5295, + "name": "is_disabled", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the sales channel is disabled." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5296, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5292, + 5293, + 5294, + 5295, + 5296 + ] + } + ] + }, + { + "id": 5297, + "name": "ISalesChannelModuleService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The main service interface for the Sales Channel Module." + } + ] + }, + "children": [ + { + "id": 5298, + "name": "create", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5299, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates sales channels." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created sales channels." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst salesChannels = await salesChannelModuleService.create([\n {\n name: \"B2B\",\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5300, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The sales channels to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5282, + "name": "CreateSalesChannelDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5301, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5268, + "name": "SalesChannelDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5302, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a sales channel." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created sales channel." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst salesChannel = await salesChannelModuleService.create({\n name: \"B2B\",\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5303, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The sales channel to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 5282, + "name": "CreateSalesChannelDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5304, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5268, + "name": "SalesChannelDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5305, + "name": "update", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5306, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing sales channel." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated sales channel." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst salesChannel = await salesChannelModuleService.update(\n \"sc_123\",\n {\n description: \"Sales channel for B2B customers\",\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5307, + "name": "channelId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The sales channel's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5308, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the sales channel." + } + ] + }, + "type": { + "type": "reference", + "target": 5286, + "name": "UpdateSalesChannelDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5309, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5268, + "name": "SalesChannelDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5310, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing sales channels matching the specified filters" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated sales channels." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst salesChannels = await salesChannelModuleService.update(\n {\n name: \"B2B\",\n },\n {\n description: \"Sales channel for B2B customers\",\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5311, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters specifying which sales channels to update." + } + ] + }, + "type": { + "type": "reference", + "target": 5275, + "name": "FilterableSalesChannelProps", + "package": "@medusajs/types" + } + }, + { + "id": 5312, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the sales channel." + } + ] + }, + "type": { + "type": "reference", + "target": 5286, + "name": "UpdateSalesChannelDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5313, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5268, + "name": "SalesChannelDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5314, + "name": "upsert", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5315, + "name": "upsert", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates or creates a sales channel if it doesn't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created or updated sales channel." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst salesChannel = await salesChannelModuleService.upsert({\n name: \"B2B\",\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5316, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the sales channel to be created or updated." + } + ] + }, + "type": { + "type": "reference", + "target": 5291, + "name": "UpsertSalesChannelDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5317, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5268, + "name": "SalesChannelDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5318, + "name": "upsert", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates or creates sales channels if they don't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created or updated sales channels." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst salesChannels = await salesChannelModuleService.upsert([\n {\n name: \"B2B\",\n },\n {\n id: \"sc_123\",\n description: \"Sales channel for B2B customers\",\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5319, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the sales channels to be created or updated." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5291, + "name": "UpsertSalesChannelDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5320, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5268, + "name": "SalesChannelDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5321, + "name": "delete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5322, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes sales channel by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the sales channels are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait salesChannelModuleService.delete([\"sc_123\", \"sc_321\"])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5323, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the sales channel." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5324, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5325, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a sales channel by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the sales channel is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait salesChannelModuleService.delete(\"sc_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5326, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the sales channel." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5327, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5328, + "name": "retrieve", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5329, + "name": "retrieve", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a sales channel by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved sales channel." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst salesChannel =\n await salesChannelModuleService.retrieve(\"sc_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5330, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the sales channel." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5331, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the sales channel is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a sales channel." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 5268, + "name": "SalesChannelDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5332, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5268, + "name": "SalesChannelDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5333, + "name": "list", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5334, + "name": "list", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of sales channels based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of sales channels." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of sales channels using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst salesChannels = await salesChannelModuleService.list({\n id: [\"sc_123\", \"sc_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst salesChannels = await salesChannelModuleService.list(\n {\n id: [\"sc_123\", \"sc_321\"],\n },\n {\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5335, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved sales channels." + } + ] + }, + "type": { + "type": "reference", + "target": 5275, + "name": "FilterableSalesChannelProps", + "package": "@medusajs/types" + } + }, + { + "id": 5336, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the sales channel is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a sales channel." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 5268, + "name": "SalesChannelDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5337, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5268, + "name": "SalesChannelDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5338, + "name": "listAndCount", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5339, + "name": "listAndCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of sales channels along with the total count of available sales channels satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of sales channels along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of sales channels using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [salesChannels, count] =\n await salesChannelModuleService.listAndCount({\n id: [\"sc_123\", \"sc_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [salesChannels, count] =\n await salesChannelModuleService.listAndCount(\n {\n id: [\"sc_123\", \"sc_321\"],\n },\n {\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5340, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved sales channels." + } + ] + }, + "type": { + "type": "reference", + "target": 5275, + "name": "FilterableSalesChannelProps", + "package": "@medusajs/types" + } + }, + { + "id": 5341, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the sales channel is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a sales channel." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 5268, + "name": "SalesChannelDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5342, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5268, + "name": "SalesChannelDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5343, + "name": "softDelete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5344, + "name": "softDelete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes sales channels by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted.\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait salesChannelModuleService.delete([\"sc_123\", \"sc_321\"])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 5345, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 5346, + "name": "salesChannelIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The sales channels' ID." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5347, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 5345, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 5348, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5349, + "name": "restore", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5350, + "name": "restore", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores a soft deleted sales channel by its IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored.\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait salesChannelModuleService.restore([\"sc_123\", \"sc_321\"])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 5351, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 5352, + "name": "salesChannelIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The list of {summary}" + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5353, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the sales channel. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the sales channel's relation attribute names." + } + ] + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 5351, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 5354, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 5298, + 5305, + 5314, + 5321, + 5328, + 5333, + 5338, + 5343, + 5349 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3404, + "name": "IModuleService", + "package": "@medusajs/types" + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 5264, + 5268, + 5275, + 5282, + 5286, + 5291, + 5297 + ] + } + ] + }, + { + "id": 5368, + "name": "SearchTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 5369, + "name": "IndexSettings", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 5370, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5371, + "name": "indexSettings", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Settings specific to the provider. E.g. " + }, + { + "kind": "code", + "text": "`searchableAttributes`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 5372, + "name": "primaryKey", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Primary key for the index. Used to enforce unique documents in an index. See more in Meilisearch' https://docs.meilisearch.com/learn/core_concepts/primary_key.html." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5373, + "name": "transformer", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Document transformer. Used to transform documents before they are added to the index." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 5374, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "signatures": [ + { + "id": 5375, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Document transformer. Used to transform documents before they are added to the index." + } + ] + }, + "parameters": [ + { + "id": 5376, + "name": "document", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5371, + 5372, + 5373 + ] + } + ] + } + } + }, + { + "id": 5377, + "name": "ISearchService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 5378, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 5379, + "name": "createIndex", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5380, + "name": "createIndex", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Used to create an index" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "returns response from search engine provider" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5381, + "name": "indexName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the index name" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5382, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the options" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + }, + { + "id": 5383, + "name": "getIndex", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5384, + "name": "getIndex", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Used to get an index" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "returns response from search engine provider" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5385, + "name": "indexName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the index name." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + }, + { + "id": 5386, + "name": "addDocuments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5387, + "name": "addDocuments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Used to index documents by the search engine provider" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "returns response from search engine provider" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5388, + "name": "indexName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the index name" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5389, + "name": "documents", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "documents array to be indexed" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 5390, + "name": "type", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "of documents to be added (e.g: products, regions, orders, etc)" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + }, + { + "id": 5391, + "name": "replaceDocuments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5392, + "name": "replaceDocuments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Used to replace documents" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "returns response from search engine provider" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5393, + "name": "indexName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the index name." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5394, + "name": "documents", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "array of document objects that will replace existing documents" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 5395, + "name": "type", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "type of documents to be replaced (e.g: products, regions, orders, etc)" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + }, + { + "id": 5396, + "name": "deleteDocument", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5397, + "name": "deleteDocument", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Used to delete document" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "returns response from search engine provider" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5398, + "name": "indexName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the index name" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5399, + "name": "document_id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the id of the document" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + }, + { + "id": 5400, + "name": "deleteAllDocuments", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5401, + "name": "deleteAllDocuments", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Used to delete all documents" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "returns response from search engine provider" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5402, + "name": "indexName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the index name" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + }, + { + "id": 5403, + "name": "search", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5404, + "name": "search", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Used to search for a document in an index" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "returns response from search engine provider" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5405, + "name": "indexName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the index name" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5406, + "name": "query", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the search query" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5407, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "any options passed to the request object other than the query and indexName\n- additionalOptions contain any provider specific options" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + }, + { + "id": 5408, + "name": "updateSettings", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5409, + "name": "updateSettings", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Used to update the settings of an index" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "returns response from search engine provider" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5410, + "name": "indexName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the index name" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5411, + "name": "settings", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "settings object" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5378 + ] + }, + { + "title": "Methods", + "children": [ + 5379, + 5383, + 5386, + 5391, + 5396, + 5400, + 5403, + 5408 + ] + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 5377 + ] + }, + { + "title": "Type Aliases", + "children": [ + 5369 + ] + } + ] + }, + { + "id": 7868, + "name": "SharedContext", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "use " + }, + { + "kind": "code", + "text": "`Context`" + }, + { + "kind": "text", + "text": " instead\n\n\nA context used to share resources, such as transaction manager, between the application and the module." + } + ] + } + ] + }, + "children": [ + { + "id": 7869, + "name": "transactionManager", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An instance of a transaction manager." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typeorm/entity-manager/EntityManager.d.ts", + "qualifiedName": "EntityManager" + }, + "name": "EntityManager", + "package": "typeorm" + } + }, + { + "id": 7870, + "name": "manager", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An instance of an entity manager." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typeorm/entity-manager/EntityManager.d.ts", + "qualifiedName": "EntityManager" + }, + "name": "EntityManager", + "package": "typeorm" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7869, + 7870 + ] + } + ] + }, + { + "id": 7871, + "name": "MessageAggregatorFormat", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 7872, + "name": "groupBy", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 7873, + "name": "sortBy", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 7874, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "indexSignature": { + "id": 7875, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "parameters": [ + { + "id": 7876, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7872, + 7873 + ] + } + ] + }, + { + "id": 7877, + "name": "IMessageAggregator", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 7878, + "name": "save", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7879, + "name": "save", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 7880, + "name": "msg", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2216, + "name": "Message", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2216, + "name": "Message", + "package": "@medusajs/types" + } + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 7881, + "name": "getMessages", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7882, + "name": "getMessages", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 7883, + "name": "format", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7871, + "name": "MessageAggregatorFormat", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2216, + "name": "Message", + "package": "@medusajs/types" + } + } + ], + "name": "Record", + "package": "typescript" + } + } + ] + }, + { + "id": 7884, + "name": "clearMessages", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7885, + "name": "clearMessages", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 7886, + "name": "saveRawMessageData", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 7887, + "name": "saveRawMessageData", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 7888, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "parameters": [ + { + "id": 7889, + "name": "messageData", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 2222, + "typeArguments": [ + { + "type": "reference", + "target": 7888, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "MessageFormat", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 2222, + "typeArguments": [ + { + "type": "reference", + "target": 7888, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "MessageFormat", + "package": "@medusajs/types" + } + } + ] + } + }, + { + "id": 7890, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 7878, + 7881, + 7884, + 7886 + ] + } + ] + }, + { + "id": 7891, + "name": "Context", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "children": [ + { + "id": 7892, + "name": "__type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "literal", + "value": "MedusaContext" + } + }, + { + "id": 7893, + "name": "transactionManager", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An instance of a transaction manager of type " + }, + { + "kind": "code", + "text": "`TManager`" + }, + { + "kind": "text", + "text": ", which is a typed parameter passed to the context to specify the type of the " + }, + { + "kind": "code", + "text": "`transactionManager`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "target": 7902, + "name": "TManager", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + { + "id": 7894, + "name": "manager", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An instance of a manager, typically an entity manager, of type " + }, + { + "kind": "code", + "text": "`TManager`" + }, + { + "kind": "text", + "text": ", which is a typed parameter passed to the context to specify the type of the " + }, + { + "kind": "code", + "text": "`manager`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "target": 7902, + "name": "TManager", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + { + "id": 7895, + "name": "isolationLevel", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A string indicating the isolation level of the context. Possible values are " + }, + { + "kind": "code", + "text": "`READ UNCOMMITTED`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`READ COMMITTED`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`REPEATABLE READ`" + }, + { + "kind": "text", + "text": ", or " + }, + { + "kind": "code", + "text": "`SERIALIZABLE`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7896, + "name": "enableNestedTransactions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A boolean value indicating whether nested transactions are enabled." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 7897, + "name": "eventGroupId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A string indicating the ID of the group to aggregate the events to be emitted at a later point." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7898, + "name": "transactionId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A string indicating the ID of the current transaction." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7899, + "name": "messageAggregator", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point." + } + ] + }, + "type": { + "type": "reference", + "target": 7877, + "name": "IMessageAggregator", + "package": "@medusajs/types" + } + }, + { + "id": 7900, + "name": "requestId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A string indicating the ID of the current request." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7901, + "name": "idempotencyKey", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A string indicating the idempotencyKey of the current workflow execution." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7892, + 7893, + 7894, + 7895, + 7896, + 7897, + 7898, + 7899, + 7900, + 7901 + ] + } + ], + "typeParameters": [ + { + "id": 7902, + "name": "TManager", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + }, + { + "id": 6159, + "name": "StoreTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 6160, + "name": "StoreDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The store details." + } + ] + }, + "children": [ + { + "id": 6161, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the store." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6162, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the store." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6163, + "name": "supported_currency_codes", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The supported currency codes of the store." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 6164, + "name": "default_currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The default currency code of the store." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6165, + "name": "default_sales_channel_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated default sales channel's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6166, + "name": "default_region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated default region's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6167, + "name": "default_location_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated default location's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6168, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 6169, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The created at of the store." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6170, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The updated at of the store." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6161, + 6162, + 6163, + 6164, + 6165, + 6166, + 6167, + 6168, + 6169, + 6170 + ] + } + ] + }, + { + "id": 6171, + "name": "FilterableStoreProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved stores." + } + ] + }, + "children": [ + { + "id": 6175, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 6171, + "name": "FilterableStoreProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 6171, + "name": "FilterableStoreProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 6176, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 6171, + "name": "FilterableStoreProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 6171, + "name": "FilterableStoreProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 6172, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Find stores by name through this search term." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6173, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the stores by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 6174, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter stores by their names." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6175, + 6176, + 6172, + 6173, + 6174 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 6171, + "name": "FilterableStoreProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 6177, + "name": "CreateStoreDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The store to be created." + } + ] + }, + "children": [ + { + "id": 6178, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the store." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6179, + "name": "supported_currency_codes", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The supported currency codes of the store." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 6180, + "name": "default_currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The default currency code of the store." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6181, + "name": "default_sales_channel_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated default sales channel's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6182, + "name": "default_region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated default region's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6183, + "name": "default_location_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated default location's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6184, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6178, + 6179, + 6180, + 6181, + 6182, + 6183, + 6184 + ] + } + ] + }, + { + "id": 6185, + "name": "UpsertStoreDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the store to be created or updated." + } + ] + }, + "children": [ + { + "id": 6186, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the store." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6187, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the store." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6188, + "name": "supported_currency_codes", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The supported currency codes of the store." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 6189, + "name": "default_currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The default currency code of the store." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6190, + "name": "default_sales_channel_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated default sales channel's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6191, + "name": "default_region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated default region's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6192, + "name": "default_location_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated default location's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6193, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6186, + 6187, + 6188, + 6189, + 6190, + 6191, + 6192, + 6193 + ] + } + ] + }, + { + "id": 6194, + "name": "UpdateStoreDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the store." + } + ] + }, + "children": [ + { + "id": 6195, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the store." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6196, + "name": "supported_currency_codes", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The supported currency codes of the store." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 6197, + "name": "default_currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The default currency code of the store." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6198, + "name": "default_sales_channel_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated default sales channel's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6199, + "name": "default_region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated default region's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6200, + "name": "default_location_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated default location's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6201, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6195, + 6196, + 6197, + 6198, + 6199, + 6200, + 6201 + ] + } + ] + }, + { + "id": 6202, + "name": "IStoreModuleService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The main service interface for the Store Module." + } + ] + }, + "children": [ + { + "id": 6203, + "name": "create", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 6204, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates stores." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created stores." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst stores = await storeModuleService.create([\n {\n name: \"Acme\",\n supported_currency_codes: [\"usd\", \"eur\"],\n default_currency_code: \"usd\",\n },\n {\n name: \"Acme 2\",\n supported_currency_codes: [\"usd\"],\n default_currency_code: \"usd\",\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 6205, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The stores to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6177, + "name": "CreateStoreDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 6206, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 6160, + "name": "StoreDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 6207, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a store." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created store." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst store = await storeModuleService.create({\n name: \"Acme\",\n supported_currency_codes: [\"usd\", \"eur\"],\n default_currency_code: \"usd\",\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 6208, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The store to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 6177, + "name": "CreateStoreDTO", + "package": "@medusajs/types" + } + }, + { + "id": 6209, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 6160, + "name": "StoreDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 6210, + "name": "upsert", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 6211, + "name": "upsert", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates or creates stores if they don't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created or updated stores." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst stores = await storeModuleService.upsert([\n {\n id: \"store_123\",\n name: \"Acme\",\n },\n {\n name: \"Acme 2\",\n supported_currency_codes: [\"usd\"],\n default_currency_code: \"usd\",\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 6212, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the stores to be created or updated." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6185, + "name": "UpsertStoreDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 6213, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 6160, + "name": "StoreDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 6214, + "name": "upsert", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates or creates a store if it doesn't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created or updated store." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst store = await storeModuleService.upsert({\n id: \"store_123\",\n name: \"Acme\",\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 6215, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the store to be created or updated." + } + ] + }, + "type": { + "type": "reference", + "target": 6185, + "name": "UpsertStoreDTO", + "package": "@medusajs/types" + } + }, + { + "id": 6216, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 6160, + "name": "StoreDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 6217, + "name": "update", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 6218, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing store." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated store." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst store = await storeModuleService.update(\"store_123\", {\n name: \"Acme\",\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 6219, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the store." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6220, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the store." + } + ] + }, + "type": { + "type": "reference", + "target": 6194, + "name": "UpdateStoreDTO", + "package": "@medusajs/types" + } + }, + { + "id": 6221, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 6160, + "name": "StoreDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 6222, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing stores matching the specified filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated stores." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst store = await storeModuleService.update(\n {\n name: [\"Acme\"],\n },\n {\n default_currency_code: \"usd\",\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 6223, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters specifying which stores to update." + } + ] + }, + "type": { + "type": "reference", + "target": 6171, + "name": "FilterableStoreProps", + "package": "@medusajs/types" + } + }, + { + "id": 6224, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the store." + } + ] + }, + "type": { + "type": "reference", + "target": 6194, + "name": "UpdateStoreDTO", + "package": "@medusajs/types" + } + }, + { + "id": 6225, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 6160, + "name": "StoreDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 6226, + "name": "delete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 6227, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes stores by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the stores are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait storeModuleService.delete([\"store_123\", \"store_321\"])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 6228, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the stores." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 6229, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 6230, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a store by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the store is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait storeModuleService.delete(\"store_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 6231, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the store." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6232, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 6233, + "name": "retrieve", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 6234, + "name": "retrieve", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a store by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved store." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst store = await storeModuleService.retrieve(\"store_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 6235, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the store." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6236, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the store is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a store." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 6160, + "name": "StoreDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 6237, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 6160, + "name": "StoreDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 6238, + "name": "list", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 6239, + "name": "list", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of stores based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of stores." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of stores using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst stores = await storeModuleService.list({\n id: [\"store_123\", \"store_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst stores = await storeModuleService.list(\n {\n id: [\"store_123\", \"store_321\"],\n },\n {\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 6240, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved stores." + } + ] + }, + "type": { + "type": "reference", + "target": 6171, + "name": "FilterableStoreProps", + "package": "@medusajs/types" + } + }, + { + "id": 6241, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the store is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a store." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 6160, + "name": "StoreDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 6242, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 6160, + "name": "StoreDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 6243, + "name": "listAndCount", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 6244, + "name": "listAndCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of stores along with the total count of available stores satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of stores along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of stores using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [stores, count] = await storeModuleService.listAndCount(\n {\n id: [\"store_123\", \"store_321\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [stores, count] = await storeModuleService.listAndCount(\n {\n id: [\"store_123\", \"store_321\"],\n },\n {\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 6245, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved stores." + } + ] + }, + "type": { + "type": "reference", + "target": 6171, + "name": "FilterableStoreProps", + "package": "@medusajs/types" + } + }, + { + "id": 6246, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the store is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a store." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 6160, + "name": "StoreDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 6247, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 6160, + "name": "StoreDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 6248, + "name": "softDelete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 6249, + "name": "softDelete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes a store by its IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted.\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait storeModuleService.softDelete([\n \"store_123\",\n \"store_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 6250, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 6251, + "name": "storeIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the stores." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 6252, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 6250, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 6253, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 6254, + "name": "restore", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 6255, + "name": "restore", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores a soft deleted store by its IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored.\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait storeModuleService.restore([\"store_123\", \"store_321\"])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 6256, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 6257, + "name": "storeIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the stores." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 6258, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the store. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the store's relation attribute names." + } + ] + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 6256, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 6259, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 6203, + 6210, + 6217, + 6226, + 6233, + 6238, + 6243, + 6248, + 6254 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3404, + "name": "IModuleService", + "package": "@medusajs/types" + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 6160, + 6171, + 6177, + 6185, + 6194, + 6202 + ] + } + ] + }, + { + "id": 8006, + "name": "TaxLineDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax line details." + } + ] + }, + "children": [ + { + "id": 8007, + "name": "rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated rate's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8008, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rate of the tax line." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 8009, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the tax line." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 8010, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the tax line." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8011, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the tax provider used to calculate and retrieve the tax line." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8007, + 8008, + 8009, + 8010, + 8011 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 5516, + "name": "ItemTaxLineDTO" + }, + { + "type": "reference", + "target": 5523, + "name": "ShippingTaxLineDTO" + } + ] + }, + { + "id": 5412, + "name": "TaxTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 5413, + "name": "TaxRateDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax rate details." + } + ] + }, + "children": [ + { + "id": 5414, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the tax rate." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5415, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rate to charge." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\n10\n```" + } + ] + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 5416, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code the tax rate is identified by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5417, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the Tax Rate." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nVAT\n```" + } + ] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5418, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 5419, + "name": "tax_region_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated tax region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5420, + "name": "is_combinable", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the tax rate should be combined with parent rates.\n\nLearn more [here](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#combinable-tax-rates)." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5421, + "name": "is_default", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the tax rate is the default rate for the region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5422, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the tax rate." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5423, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the tax rate." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5424, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the tax rate." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5425, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Who created the tax rate. For example, the ID of the user that created the tax rate." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5414, + 5415, + 5416, + 5417, + 5418, + 5419, + 5420, + 5421, + 5422, + 5423, + 5424, + 5425 + ] + } + ] + }, + { + "id": 5426, + "name": "TaxProviderDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax provider details." + } + ] + }, + "children": [ + { + "id": 5427, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the tax provider." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5428, + "name": "is_enabled", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the tax provider is enabled." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5427, + 5428 + ] + } + ] + }, + { + "id": 5429, + "name": "FilterableTaxRateProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved tax rates." + } + ] + }, + "children": [ + { + "id": 5439, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5429, + "name": "FilterableTaxRateProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5429, + "name": "FilterableTaxRateProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 5440, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5429, + "name": "FilterableTaxRateProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5429, + "name": "FilterableTaxRateProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 5430, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Find tax rates based on name and code properties through this search term." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5431, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the tax rates by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 5432, + "name": "tax_region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax rates by their associated tax regions." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 5433, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax rates by their rate." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "number" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "number" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 5434, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax rates by their code." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 5435, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax rates by their name." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 5436, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax rates by their creation date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 5437, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax rates by their update date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 5438, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax rates by who created it." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5439, + 5440, + 5430, + 5431, + 5432, + 5433, + 5434, + 5435, + 5436, + 5437, + 5438 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5429, + "name": "FilterableTaxRateProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 5441, + "name": "TaxRegionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax region details." + } + ] + }, + "children": [ + { + "id": 5442, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the tax region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5443, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 2 character country code of the tax region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5444, + "name": "province_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province code of the tax region." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5445, + "name": "parent_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the tax region's parent tax region." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5446, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 5447, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the tax region." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5448, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the tax region." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5449, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Who created the tax region. For example, the ID of the user\nthat created the tax region." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5450, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the tax region." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5442, + 5443, + 5444, + 5445, + 5446, + 5447, + 5448, + 5449, + 5450 + ] + } + ] + }, + { + "id": 5451, + "name": "FilterableTaxRegionProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved tax regions." + } + ] + }, + "children": [ + { + "id": 5461, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5451, + "name": "FilterableTaxRegionProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5451, + "name": "FilterableTaxRegionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 5462, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5451, + "name": "FilterableTaxRegionProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5451, + "name": "FilterableTaxRegionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 5452, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Find tax regions based on currency and province codes through this search term." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5453, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the tax regions by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 5454, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax regions by their country code." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 5455, + "name": "province_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax regions by their province code." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 5456, + "name": "parent_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax regions by the ID of their parent tax region." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 5457, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax regions by their metadata." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ] + } + }, + { + "id": 5458, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax regions by their creation date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 5459, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax regions by their update date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 5460, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax regions by who created it." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5461, + 5462, + 5452, + 5453, + 5454, + 5455, + 5456, + 5457, + 5458, + 5459, + 5460 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5451, + "name": "FilterableTaxRegionProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 5463, + "name": "TaxRateRuleDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax rate rule details." + } + ] + }, + "children": [ + { + "id": 5464, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the tax rate rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5465, + "name": "reference", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The snake-case name of the data model that the tax rule references.\nFor example, " + }, + { + "kind": "code", + "text": "`product`" + }, + { + "kind": "text", + "text": ".\n\nLearn more in [this guide](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#what-are-tax-rules)." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5466, + "name": "reference_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the record of the data model that the tax rule references.\nFor example, " + }, + { + "kind": "code", + "text": "`prod_123`" + }, + { + "kind": "text", + "text": ".\n\nLearn more in [this guide](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#what-are-tax-rules)." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5467, + "name": "tax_rate_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated tax rate's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5468, + "name": "tax_rate", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated tax rate." + } + ] + }, + "type": { + "type": "reference", + "target": 5413, + "name": "TaxRateDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5469, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 5470, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the tax rate rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5471, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the tax rate rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 5472, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Who created the tax rate rule. For example, the ID of the user\nthat created the tax rate rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5464, + 5465, + 5466, + 5467, + 5468, + 5469, + 5470, + 5471, + 5472 + ] + } + ] + }, + { + "id": 5473, + "name": "FilterableTaxRateRuleProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved tax rate rules." + } + ] + }, + "children": [ + { + "id": 5482, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5473, + "name": "FilterableTaxRateRuleProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5473, + "name": "FilterableTaxRateRuleProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 5483, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5473, + "name": "FilterableTaxRateRuleProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5473, + "name": "FilterableTaxRateRuleProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 5474, + "name": "reference", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax rate rule by what it references." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 5475, + "name": "reference_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax rate rule by the ID of the record it references." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 5476, + "name": "tax_rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax rate rule by the ID of their associated tax rate." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 5477, + "name": "tax_rate", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax rate rule by their associated tax rate." + } + ] + }, + "type": { + "type": "reference", + "target": 5429, + "name": "FilterableTaxRateProps", + "package": "@medusajs/types" + } + }, + { + "id": 5478, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax rate rule by what its metadata." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ] + } + }, + { + "id": 5479, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax rate rule by its creation date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 5480, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax rate rule by its update date." + } + ] + }, + "type": { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 5481, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter the tax rate rule by who created it." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "reference", + "target": 2007, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5482, + 5483, + 5474, + 5475, + 5476, + 5477, + 5478, + 5479, + 5480, + 5481 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5473, + "name": "FilterableTaxRateRuleProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 5484, + "name": "TaxableItemDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The taxable item details." + } + ] + }, + "children": [ + { + "id": 5485, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the taxable item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5486, + "name": "product_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated product's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5487, + "name": "product_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the item's product." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5488, + "name": "product_category_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the category of the item's product." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5489, + "name": "product_categories", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The categories of the item's product." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5490, + "name": "product_sku", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The SKU of the item's product." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5491, + "name": "product_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the item's product." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5492, + "name": "product_type_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the type of the item's product." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5493, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The quantity of the taxable item." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 5494, + "name": "unit_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unit price of the taxable item." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 5495, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 3 character currency code of the taxable item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5485, + 5486, + 5487, + 5488, + 5489, + 5490, + 5491, + 5492, + 5493, + 5494, + 5495 + ] + } + ] + }, + { + "id": 5496, + "name": "TaxableShippingDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The taxable shipping details." + } + ] + }, + "children": [ + { + "id": 5497, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the taxable shipping." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5498, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5499, + "name": "unit_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unit price of the taxable shipping." + } + ] + }, + "type": { + "type": "reference", + "target": 7931, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 5500, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 3 character currency code of the taxable shipping." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5497, + 5498, + 5499, + 5500 + ] + } + ] + }, + { + "id": 5501, + "name": "TaxCalculationContext", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The context provided when tax lines are calculated and retrieved. This\ncontext is later passed to the underlying tax provider." + } + ] + }, + "children": [ + { + "id": 5502, + "name": "address", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer's address" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 5503, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5504, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 2 character currency code." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5505, + "name": "province_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province code." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5506, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first line of the address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5507, + "name": "address_2", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The second line of the address" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5508, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5509, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The postal code." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5504, + 5505, + 5506, + 5507, + 5508, + 5509 + ] + } + ] + } + } + }, + { + "id": 5510, + "name": "customer", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The customer's details." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 5511, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5512, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the customer." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5513, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email of the customer." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5514, + "name": "customer_groups", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The groups that the customer belongs to." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5512, + 5513, + 5514 + ] + } + ] + } + } + }, + { + "id": 5515, + "name": "is_return", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the tax lines are calculated for an order return." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5502, + 5510, + 5515 + ] + } + ] + }, + { + "id": 5516, + "name": "ItemTaxLineDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The item tax line details." + } + ] + }, + "children": [ + { + "id": 5518, + "name": "rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated rate's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8007, + "name": "TaxLineDTO.rate_id" + } + }, + { + "id": 5519, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rate of the tax line." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 8008, + "name": "TaxLineDTO.rate" + } + }, + { + "id": 5520, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the tax line." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 8009, + "name": "TaxLineDTO.code" + } + }, + { + "id": 5521, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the tax line." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8010, + "name": "TaxLineDTO.name" + } + }, + { + "id": 5522, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the tax provider used to calculate and retrieve the tax line." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8011, + "name": "TaxLineDTO.provider_id" + } + }, + { + "id": 5517, + "name": "line_item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated line item's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5518, + 5519, + 5520, + 5521, + 5522, + 5517 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 8006, + "name": "TaxLineDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 5523, + "name": "ShippingTaxLineDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping tax line details." + } + ] + }, + "children": [ + { + "id": 5525, + "name": "rate_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated rate's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8007, + "name": "TaxLineDTO.rate_id" + } + }, + { + "id": 5526, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rate of the tax line." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 8008, + "name": "TaxLineDTO.rate" + } + }, + { + "id": 5527, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the tax line." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 8009, + "name": "TaxLineDTO.code" + } + }, + { + "id": 5528, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the tax line." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8010, + "name": "TaxLineDTO.name" + } + }, + { + "id": 5529, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the tax provider used to calculate and retrieve the tax line." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 8011, + "name": "TaxLineDTO.provider_id" + } + }, + { + "id": 5524, + "name": "shipping_line_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping line's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5525, + 5526, + 5527, + 5528, + 5529, + 5524 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 8006, + "name": "TaxLineDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 5530, + "name": "CreateTaxRateDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax rate to be created." + } + ] + }, + "children": [ + { + "id": 5531, + "name": "tax_region_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated tax region's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5532, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rate to charge." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\n10\n```" + } + ] + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 5533, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the tax rate." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5534, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the tax rate." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5535, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules of the tax rate." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5568, + "name": "CreateTaxRateRuleDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "tax_rate_id" + } + ], + "name": "Omit", + "package": "typescript" + } + } + }, + { + "id": 5536, + "name": "is_default", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the tax rate is default." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5537, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Who created the tax rate. For example, the ID of the user\nthat created the tax rate." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5538, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5531, + 5532, + 5533, + 5534, + 5535, + 5536, + 5537, + 5538 + ] + } + ] + }, + { + "id": 5539, + "name": "UpsertTaxRateDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the tax rate to be created or updated." + } + ] + }, + "children": [ + { + "id": 5540, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the tax rate. If not provided, the tax rate\nis created." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5541, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rate to charge" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\n10\n```" + } + ] + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 5542, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the tax rate." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5543, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the tax rate." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5544, + "name": "is_default", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the tax rate is default." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5545, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Who created the tax rate. For example, the\nID of the user that created it." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5546, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5540, + 5541, + 5542, + 5543, + 5544, + 5545, + 5546 + ] + } + ] + }, + { + "id": 5547, + "name": "UpdateTaxRateDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the tax rate." + } + ] + }, + "children": [ + { + "id": 5548, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rate to charge." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\n10\n```" + } + ] + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 5549, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the tax rate." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5550, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the tax rate." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5551, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules of the tax rate." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5568, + "name": "CreateTaxRateRuleDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "tax_rate_id" + } + ], + "name": "Omit", + "package": "typescript" + } + } + }, + { + "id": 5552, + "name": "is_default", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the tax rate is default." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5553, + "name": "is_combinable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the tax rate is combinable.\n\nLearn more [here](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#combinable-tax-rates)." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5555, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5548, + 5549, + 5550, + 5551, + 5552, + 5553, + 5555 + ] + } + ] + }, + { + "id": 5556, + "name": "CreateTaxRegionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax region to be created." + } + ] + }, + "children": [ + { + "id": 5557, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 3 character country code of the tax region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5558, + "name": "province_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province code of the tax region." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5559, + "name": "parent_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the tax region's parent." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5560, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 5561, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Who created the tax region. For example, the ID of\nthe user that created the tax region." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5562, + "name": "default_tax_rate", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The default tax rate of the tax region." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 5563, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5564, + "name": "rate", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rate to charge." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\n10\n```" + } + ] + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 5565, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the tax rate." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5566, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the tax rate." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5567, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5564, + 5565, + 5566, + 5567 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5557, + 5558, + 5559, + 5560, + 5561, + 5562 + ] + } + ] + }, + { + "id": 5568, + "name": "CreateTaxRateRuleDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax rate rule to be created." + } + ] + }, + "children": [ + { + "id": 5569, + "name": "reference", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The snake-case name of the data model that the tax rule references.\nFor example, " + }, + { + "kind": "code", + "text": "`product`" + }, + { + "kind": "text", + "text": ".\n\nLearn more in [this guide](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#what-are-tax-rules)." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5570, + "name": "reference_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the record of the data model that the tax rule references.\nFor example, " + }, + { + "kind": "code", + "text": "`prod_123`" + }, + { + "kind": "text", + "text": ".\n\nLearn more in [this guide](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#what-are-tax-rules)." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5571, + "name": "tax_rate_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated tax rate's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5572, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 5573, + "name": "created_by", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Who created the tax rate rule. For example, the ID of the\nuser that created it." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5569, + 5570, + 5571, + 5572, + 5573 + ] + } + ] + }, + { + "id": 5716, + "name": "ShippingTaxCalculationLine", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A shipping method and the tax rates configured to apply to the\nshipping method." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 5717, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5718, + "name": "shipping_line", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping method to calculate taxes for." + } + ] + }, + "type": { + "type": "reference", + "target": 5496, + "name": "TaxableShippingDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5719, + "name": "rates", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rates applicable on the shipping method." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5413, + "name": "TaxRateDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5718, + 5719 + ] + } + ] + } + } + }, + { + "id": 5720, + "name": "ItemTaxCalculationLine", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A line item and the tax rates configured to apply to the\nproduct contained in the line item." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 5721, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5722, + "name": "line_item", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The line item to calculate taxes for." + } + ] + }, + "type": { + "type": "reference", + "target": 5484, + "name": "TaxableItemDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5723, + "name": "rates", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rates applicable on the item." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5413, + "name": "TaxRateDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5722, + 5723 + ] + } + ] + } + } + }, + { + "id": 5724, + "name": "ITaxProvider", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "## Overview\n\nA tax provider is used to retrieve the tax lines in a provided context. The Tax Module provides a default " + }, + { + "kind": "code", + "text": "`system`" + }, + { + "kind": "text", + "text": " provider. You can create your own tax provider,\neither in a plugin, in a provider module, or directly in your Medusa application's codebase, then use it in any tax region.\n\n---\n\n## How to Create a Tax Provider\n\nA tax provider class is defined in a TypeScript or JavaScript file. The class must implement the\n" + }, + { + "kind": "code", + "text": "`ITaxProvider`" + }, + { + "kind": "text", + "text": " interface imported from " + }, + { + "kind": "code", + "text": "`@medusajs/types`" + }, + { + "kind": "text", + "text": ".\n\nThe file can be defined in a plugin, a provider module, or under the " + }, + { + "kind": "code", + "text": "`src/services`" + }, + { + "kind": "text", + "text": " directory of your Medusa application. You can later pass the package's name or the\npath to the file in the " + }, + { + "kind": "code", + "text": "`providers`" + }, + { + "kind": "text", + "text": " option of the Tax Module.\n\nFor example:\n\n" + }, + { + "kind": "code", + "text": "```ts title=\"src/services/my-tax.ts\"\nimport { ITaxProvider } from \"@medusajs/types\"\n\nexport default class MyTaxProvider implements ITaxProvider {\n // ...\n}\n```" + }, + { + "kind": "text", + "text": "\n\n---\n\n## Identifier Property\n\nThe " + }, + { + "kind": "code", + "text": "`identifier`" + }, + { + "kind": "text", + "text": " property in a tax provider is used when the tax provider is registered in the dependency container or added to the database. A tax provider is represented in the database by the " + }, + { + "kind": "code", + "text": "`TaxProvider`" + }, + { + "kind": "text", + "text": " data model.\n\nFor example:\n\n" + }, + { + "kind": "code", + "text": "```ts title=\"src/services/my-tax.ts\"\nexport default class MyTaxProvider implements ITaxProvider {\n static identifier = \"my-tax\"\n // ...\n}\n```" + }, + { + "kind": "text", + "text": "\n\n---\n\n## Constructor\n\nYou can use the " + }, + { + "kind": "code", + "text": "`constructor`" + }, + { + "kind": "text", + "text": " of your tax provider to access the resources registered in the dependency container.\n\nYou can also use the constructor to initialize your integration with the third-party provider. For example, if you use a client to connect to the third-party provider’s APIs, you can initialize it in the constructor and use it in other methods in the service.\n\nAdditionally, if you’re creating your tax provider as a plugin or a provider module to be installed in any Medusa application and you want to access its options, you can access them in the constructor.\n\nFor example:\n\n" + }, + { + "kind": "code", + "text": "```ts\nexport default class MyTaxProvider implements ITaxProvider {\n // ...\n constructor(container, options) {\n // you can access options here\n\n // you can also initialize a client that\n // communicates with a third-party service.\n this.client = new Client(options)\n }\n}\n```" + }, + { + "kind": "text", + "text": "\n\n---" + } + ] + }, + "children": [ + { + "id": 5727, + "name": "getTaxLines", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5728, + "name": "getTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve the tax lines of items and shipping methods. It's used\nwhen the " + }, + { + "kind": "code", + "text": "`getTaxLines`" + }, + { + "kind": "text", + "text": " method of the Tax Module's main service is called.\n\nThis method is useful during checkout or when calculating the totals of orders or exchanges." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of calculated line item and shipping tax lines.\nIf an item in the array has the " + }, + { + "kind": "code", + "text": "`shipping_line_id`" + }, + { + "kind": "text", + "text": " property, then it's a shipping tax line. Otherwise, if it has\nthe " + }, + { + "kind": "code", + "text": "`line_item_id`" + }, + { + "kind": "text", + "text": " property, then it's a line item tax line." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "An example of how this method is implemented in the " + }, + { + "kind": "code", + "text": "`system`" + }, + { + "kind": "text", + "text": " provider:\n\n" + }, + { + "kind": "code", + "text": "```ts\n// ...\n\nexport default class SystemTaxService implements ITaxProvider {\n // ...\n\n async getTaxLines(\n itemLines: TaxTypes.ItemTaxCalculationLine[],\n shippingLines: TaxTypes.ShippingTaxCalculationLine[],\n _: TaxTypes.TaxCalculationContext\n ): Promise<(TaxTypes.ItemTaxLineDTO | TaxTypes.ShippingTaxLineDTO)[]> {\n let taxLines: (TaxTypes.ItemTaxLineDTO | TaxTypes.ShippingTaxLineDTO)[] =\n itemLines.flatMap((l) => {\n return l.rates.map((r) => ({\n rate_id: r.id,\n rate: r.rate || 0,\n name: r.name,\n code: r.code,\n line_item_id: l.line_item.id,\n provider_id: this.getIdentifier(),\n }))\n })\n\n taxLines = taxLines.concat(\n shippingLines.flatMap((l) => {\n return l.rates.map((r) => ({\n rate_id: r.id,\n rate: r.rate || 0,\n name: r.name,\n code: r.code,\n shipping_line_id: l.shipping_line.id,\n provider_id: this.getIdentifier(),\n }))\n })\n )\n\n return taxLines\n }\n}\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5729, + "name": "itemLines", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The line item lines to calculate taxes for." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5720, + "name": "ItemTaxCalculationLine", + "package": "@medusajs/types" + } + } + }, + { + "id": 5730, + "name": "shippingLines", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping method lines to calculate taxes for." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5716, + "name": "ShippingTaxCalculationLine", + "package": "@medusajs/types" + } + } + }, + { + "id": 5731, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The context relevant and useful for the taxes calculation." + } + ] + }, + "type": { + "type": "reference", + "target": 5501, + "name": "TaxCalculationContext", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5516, + "name": "ItemTaxLineDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 5523, + "name": "ShippingTaxLineDTO", + "package": "@medusajs/types" + } + ] + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 5727 + ] + } + ] + }, + { + "id": 5574, + "name": "ITaxModuleService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The main service interface for the Tax Module." + } + ] + }, + "children": [ + { + "id": 5575, + "name": "retrieve", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5576, + "name": "retrieve", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a tax by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved tax." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a tax rate by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst taxRate = await taxModuleService.retrieve(\"txr_123\")\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst taxRate = await taxModuleService.retrieve(\"txr_123\", {\n relations: [\"tax_region\"],\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5577, + "name": "taxRateId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax rate's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5578, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the tax rate is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a tax rate." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 5413, + "name": "TaxRateDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5579, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5413, + "name": "TaxRateDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5580, + "name": "list", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5581, + "name": "list", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of tax rates based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of tax rates." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of tax rates using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst taxRates = await taxModuleService.list({\n id: [\"txr_123\", \"txr_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the tax rate:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst taxRates = await taxModuleService.list(\n {\n id: [\"txr_123\", \"txr_321\"],\n },\n {\n relations: [\"tax_region\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst taxRates = await taxModuleService.list(\n {\n id: [\"txr_123\", \"txr_321\"],\n },\n {\n relations: [\"tax_region\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5582, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved tax rates." + } + ] + }, + "type": { + "type": "reference", + "target": 5429, + "name": "FilterableTaxRateProps", + "package": "@medusajs/types" + } + }, + { + "id": 5583, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the tax rate is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a tax rate." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 5413, + "name": "TaxRateDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5584, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5413, + "name": "TaxRateDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5585, + "name": "listAndCount", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5586, + "name": "listAndCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of tax rates along with the total count of available tax rates satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of tax rates along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of tax rates using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [taxRates, count] = await taxModuleService.listAndCount(\n {\n id: [\"txr_123\", \"txr_321\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the tax rate:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [taxRates, count] = await taxModuleService.listAndCount(\n {\n id: [\"txr_123\", \"txr_321\"],\n },\n {\n relations: [\"tax_region\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [taxRates, count] = await taxModuleService.listAndCount(\n {\n id: [\"txr_123\", \"txr_321\"],\n },\n {\n relations: [\"tax_region\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5587, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved tax rates." + } + ] + }, + "type": { + "type": "reference", + "target": 5429, + "name": "FilterableTaxRateProps", + "package": "@medusajs/types" + } + }, + { + "id": 5588, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the tax rate is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a tax rate." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 5413, + "name": "TaxRateDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5589, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5413, + "name": "TaxRateDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5590, + "name": "create", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5591, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates tax rates." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created tax rates." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst taxRates = await taxModuleService.create([\n {\n tax_region_id: \"txreg_123\",\n name: \"Default rate\",\n rate: 10,\n },\n {\n tax_region_id: \"txreg_123\",\n name: \"Custom rate\",\n rate: 15,\n rules: [\n {\n reference: \"product_type\",\n reference_id: \"ptyp_1\",\n },\n {\n reference: \"product\",\n reference_id: \"prod_123\",\n },\n ],\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5592, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax rates to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5530, + "name": "CreateTaxRateDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5593, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5413, + "name": "TaxRateDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5594, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a tax rate." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created tax rate." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst taxRate = await taxModuleService.create({\n tax_region_id: \"txreg_123\",\n name: \"Default rate\",\n rate: 10,\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5595, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax rate to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 5530, + "name": "CreateTaxRateDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5596, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5413, + "name": "TaxRateDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5597, + "name": "update", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5598, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing tax rate." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated tax rate." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst taxRate = await taxModuleService.update(\"txr_123\", {\n rate: 10,\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5599, + "name": "taxRateId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax rate's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5600, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the tax rate." + } + ] + }, + "type": { + "type": "reference", + "target": 5547, + "name": "UpdateTaxRateDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5601, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5413, + "name": "TaxRateDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5602, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing tax rates." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated tax rates." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst taxRates = await taxModuleService.update(\n [\"txr_123\", \"txr_321\"],\n {\n rate: 10,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5603, + "name": "taxRateIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of tax rates to update." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5604, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the tax rate." + } + ] + }, + "type": { + "type": "reference", + "target": 5547, + "name": "UpdateTaxRateDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5605, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5413, + "name": "TaxRateDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5606, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing tax rates matching the specified filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated tax rates." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst taxRates = await taxModuleService.update(\n {\n id: [\"txr_123\", \"txr_321\"],\n },\n {\n rate: 10,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5607, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters specifying which tax rates to update." + } + ] + }, + "type": { + "type": "reference", + "target": 5429, + "name": "FilterableTaxRateProps", + "package": "@medusajs/types" + } + }, + { + "id": 5608, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the tax rate." + } + ] + }, + "type": { + "type": "reference", + "target": 5547, + "name": "UpdateTaxRateDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5609, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5413, + "name": "TaxRateDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5610, + "name": "upsert", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5611, + "name": "upsert", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates or creates a tax rate if it doesn't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created or updated tax rate." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst taxRate = await taxModuleService.upsert({\n id: \"txr_123\",\n rate: 10,\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5612, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the tax rate to be created or updated." + } + ] + }, + "type": { + "type": "reference", + "target": 5539, + "name": "UpsertTaxRateDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5613, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5413, + "name": "TaxRateDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5614, + "name": "upsert", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates or creates tax rates if they don't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created or updated tax rates." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst taxRates = await taxModuleService.upsert([\n {\n id: \"txr_123\",\n rate: 10,\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5615, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes in the tax rates to be created or updated." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5539, + "name": "UpsertTaxRateDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5616, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5413, + "name": "TaxRateDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5617, + "name": "delete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5618, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes tax rates by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the tax rates are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait taxModuleService.delete([\"txr_123\", \"txr_321\"])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5619, + "name": "taxRateIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of tax rates to delete." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5620, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5621, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a tax rate by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the tax rate is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait taxModuleService.delete(\"txr_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5622, + "name": "taxRateId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax rate's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5623, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5624, + "name": "restore", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5625, + "name": "restore", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores soft deleted tax rates by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored, such as the ID of associated rules.\nThe object's keys are the ID attribute names of the tax rate entity's relations, such as " + }, + { + "kind": "code", + "text": "`rule_id`" + }, + { + "kind": "text", + "text": ",\nand its value is an array of strings, each being the ID of the record associated with the tax rate through this relation,\nsuch as the IDs of associated rules.\n\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait taxModuleService.restore([\"txr_123\", \"txr_321\"])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 5626, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 5627, + "name": "taxRateIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the tax rates." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5628, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the tax. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the tax rate's relation attribute names, such as " + }, + { + "kind": "code", + "text": "`rules`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 5626, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 5629, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5630, + "name": "createTaxRegions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5631, + "name": "createTaxRegions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a tax region." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created tax region." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst taxRegion = await taxModuleService.createTaxRegions({\n country_code: \"us\",\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5632, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax region to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 5556, + "name": "CreateTaxRegionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5633, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5441, + "name": "TaxRegionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5634, + "name": "createTaxRegions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates tax regions." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created tax regions." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst taxRegions = await taxModuleService.createTaxRegions([\n {\n country_code: \"us\",\n },\n {\n country_code: \"gb\",\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5635, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax regions to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5556, + "name": "CreateTaxRegionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5636, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5441, + "name": "TaxRegionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5637, + "name": "deleteTaxRegions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5638, + "name": "deleteTaxRegions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes tax regions by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the tax regions are deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait taxModuleService.deleteTaxRegions([\n \"txreg_123\",\n \"txreg_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5639, + "name": "taxRegionIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the tax regions." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5640, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5641, + "name": "deleteTaxRegions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a tax region by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the tax region is successfully deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait taxModuleService.deleteTaxRegions(\"txreg_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5642, + "name": "taxRegionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax region's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5643, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5644, + "name": "listTaxRegions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5645, + "name": "listTaxRegions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of tax regions based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of tax regions." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of tax regions using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst taxRegions = await taxModuleService.listTaxRegions({\n id: [\"txreg_123\", \"txreg_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the tax region:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst taxRegions = await taxModuleService.listTaxRegions(\n {\n id: [\"txreg_123\", \"txreg_321\"],\n },\n {\n relations: [\"tax_rates\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst taxRegions = await taxModuleService.listTaxRegions(\n {\n id: [\"txreg_123\", \"txreg_321\"],\n },\n {\n relations: [\"tax_rates\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5646, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved tax regions." + } + ] + }, + "type": { + "type": "reference", + "target": 5451, + "name": "FilterableTaxRegionProps", + "package": "@medusajs/types" + } + }, + { + "id": 5647, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the tax region is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a tax region." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 5441, + "name": "TaxRegionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5648, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5441, + "name": "TaxRegionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5649, + "name": "createTaxRateRules", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5650, + "name": "createTaxRateRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a tax rate rule." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created tax rate rule." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst taxRateRule = await taxModuleService.createTaxRateRules(\n {\n reference: \"product_type\",\n reference_id: \"ptyp_123\",\n tax_rate_id: \"txr_123\",\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5651, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax rate rule to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 5568, + "name": "CreateTaxRateRuleDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5652, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5463, + "name": "TaxRateRuleDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5653, + "name": "createTaxRateRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates tax rate rules." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created tax rate rules." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst taxRateRules =\n await taxModuleService.createTaxRateRules([\n {\n reference: \"product_type\",\n reference_id: \"ptyp_123\",\n tax_rate_id: \"txr_123\",\n },\n {\n reference: \"product\",\n reference_id: \"prod_123\",\n tax_rate_id: \"txr_321\",\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5654, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax rate rules to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5568, + "name": "CreateTaxRateRuleDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5655, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5463, + "name": "TaxRateRuleDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5656, + "name": "deleteTaxRateRules", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5657, + "name": "deleteTaxRateRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes a tax rate rule by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the tax rate rule is deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait taxModuleService.deleteTaxRateRules(\"txrule_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5658, + "name": "taxRateRuleId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax rate rule's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5659, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5660, + "name": "deleteTaxRateRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes tax rate rules by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the tax rate rules are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait taxModuleService.deleteTaxRateRules([\n \"txrule_123\",\n \"txrule_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5661, + "name": "taxRateRuleIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tax rate rules' IDs." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5662, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5663, + "name": "listTaxRateRules", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5664, + "name": "listTaxRateRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of tax rate rules based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of tax rate rules." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of tax rate rules using their associated tax rate's ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst taxRateRules = await taxModuleService.listTaxRateRules({\n tax_rate_id: [\"txr_123\", \"txr_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the tax rate rule:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst taxRateRules = await taxModuleService.listTaxRateRules(\n {\n tax_rate_id: [\"txr_123\", \"txr_321\"],\n },\n {\n relations: [\"tax_rate\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst taxRateRules = await taxModuleService.listTaxRateRules(\n {\n tax_rate_id: [\"txr_123\", \"txr_321\"],\n },\n {\n relations: [\"tax_rate\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5665, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved tax rate rules." + } + ] + }, + "type": { + "type": "reference", + "target": 5473, + "name": "FilterableTaxRateRuleProps", + "package": "@medusajs/types" + } + }, + { + "id": 5666, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the tax rate rule is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a tax rate rule." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 5463, + "name": "TaxRateRuleDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5667, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5463, + "name": "TaxRateRuleDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5668, + "name": "getTaxLines", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5669, + "name": "getTaxLines", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves tax lines for taxable items and shipping methods in a cart.\n\nLearn more in [this guide](https://docs.medusajs.com/v1/experimental/tax/tax-calculation-with-provider/)." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The item and shipping methods' tax lines." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst taxLines = await taxModuleService.getTaxLines(\n [\n {\n id: \"cali_123\",\n product_id: \"prod_123\",\n unit_price: 1000,\n quantity: 1,\n },\n {\n id: \"casm_123\",\n shipping_option_id: \"so_123\",\n unit_price: 2000,\n },\n ],\n {\n address: {\n country_code: \"us\",\n },\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5670, + "name": "items", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The items and shipping methods to retrieve their tax lines." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5484, + "name": "TaxableItemDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 5496, + "name": "TaxableShippingDTO", + "package": "@medusajs/types" + } + ] + } + } + }, + { + "id": 5671, + "name": "calculationContext", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The context to pass to the underlying tax provider. It provides more\ndetails that are useful to provide accurate tax lines." + } + ] + }, + "type": { + "type": "reference", + "target": 5501, + "name": "TaxCalculationContext", + "package": "@medusajs/types" + } + }, + { + "id": 5672, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5516, + "name": "ItemTaxLineDTO", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 5523, + "name": "ShippingTaxLineDTO", + "package": "@medusajs/types" + } + ] + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5673, + "name": "softDelete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5674, + "name": "softDelete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes tax raes by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted, such as the ID of the associated rules.\nThe object's keys are the ID attribute names of the tax rate entity's relations, such as " + }, + { + "kind": "code", + "text": "`rule_id`" + }, + { + "kind": "text", + "text": ", and its value is an array of strings, each being the ID of a record associated\nwith the tax rate through this relation, such as the IDs of associated rules.\n\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait taxModuleService.softDelete([\"txr_123\", \"txr_321\"])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 5675, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 5676, + "name": "taxRateIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the tax rates." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5677, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 5675, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 5678, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5679, + "name": "softDeleteTaxRegions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5680, + "name": "softDeleteTaxRegions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes tax regions by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted, such as the ID of the associated tax rates.\nThe object's keys are the ID attribute names of the tax region entity's relations, such as " + }, + { + "kind": "code", + "text": "`tax_rate_id`" + }, + { + "kind": "text", + "text": ", and its value is an array of strings, each being the ID of a record associated\nwith the tax region through this relation, such as the IDs of associated tax rates.\n\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait taxModuleService.softDeleteTaxRegions([\n \"txreg_123\",\n \"txreg_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 5681, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 5682, + "name": "taxRegionIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the tax regions." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5683, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 5681, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 5684, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5685, + "name": "restoreTaxRegions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5686, + "name": "restoreTaxRegions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores soft deleted tax regions by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored, such as the ID of associated tax rates.\nThe object's keys are the ID attribute names of the tax region entity's relations, such as " + }, + { + "kind": "code", + "text": "`tax_rate_id`" + }, + { + "kind": "text", + "text": ",\nand its value is an array of strings, each being the ID of the record associated with the tax region through this relation,\nsuch as the IDs of associated tax rates.\n\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait taxModuleService.restoreTaxRegions([\n \"txreg_123\",\n \"txreg_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 5687, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 5688, + "name": "taxRegionIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the tax regions." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5689, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the tax. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the tax region's relation attribute names, such as " + }, + { + "kind": "code", + "text": "`tax_rates`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 5687, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 5690, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5691, + "name": "softDeleteTaxRateRules", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5692, + "name": "softDeleteTaxRateRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes tax rate rules by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted.\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait taxModuleService.softDeleteTaxRateRules([\n \"txrule_123\",\n \"txrule_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 5693, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 5694, + "name": "taxRateRuleIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the tax rate rules." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5695, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 5693, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 5696, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5697, + "name": "restoreTaxRateRules", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5698, + "name": "restoreTaxRateRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method restores soft deleted tax rate rules by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored.\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait taxModuleService.restoreTaxRateRules([\n \"txrule_123\",\n \"txrule_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 5699, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 5700, + "name": "taxRateRuleIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the tax rate rules." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5701, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the tax. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the tax rate rule's relation attribute names." + } + ] + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 5699, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 5702, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 5575, + 5580, + 5585, + 5590, + 5597, + 5610, + 5617, + 5624, + 5630, + 5637, + 5644, + 5649, + 5656, + 5663, + 5668, + 5673, + 5679, + 5685, + 5691, + 5697 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3404, + "name": "IModuleService", + "package": "@medusajs/types" + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 5413, + 5426, + 5429, + 5441, + 5451, + 5463, + 5473, + 5484, + 5496, + 5501, + 5516, + 5523, + 5530, + 5539, + 5547, + 5556, + 5568, + 5724, + 5574 + ] + }, + { + "title": "Type Aliases", + "children": [ + 5716, + 5720 + ] + } + ] + }, + { + "id": 7926, + "name": "BigNumberRawValue", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 7927, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7928, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7928 + ] + } + ], + "indexSignature": { + "id": 7929, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "parameters": [ + { + "id": 7930, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + } + } + }, + { + "id": 7931, + "name": "BigNumberInput", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 7926, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/bignumber.js/bignumber.d.ts", + "qualifiedName": "BigNumber" + }, + "name": "BigNumberJS", + "package": "bignumber.js", + "qualifiedName": "BigNumber" + } + ] + } + }, + { + "id": 7932, + "name": "BigNumberValue", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/bignumber.js/bignumber.d.ts", + "qualifiedName": "BigNumber" + }, + "name": "BigNumberJS", + "package": "bignumber.js", + "qualifiedName": "BigNumber" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 7903, + "name": "CartLikeWithTotals", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 7904, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7905, + "name": "original_item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7906, + "name": "original_item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7907, + "name": "item_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7908, + "name": "item_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7909, + "name": "item_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7910, + "name": "original_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7911, + "name": "original_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7912, + "name": "original_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7913, + "name": "total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7914, + "name": "subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7915, + "name": "tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7916, + "name": "discount_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7917, + "name": "discount_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7918, + "name": "gift_card_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7919, + "name": "gift_card_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7920, + "name": "shipping_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7921, + "name": "shipping_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7922, + "name": "shipping_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7923, + "name": "original_shipping_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7924, + "name": "original_shipping_subtotal", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 7925, + "name": "original_shipping_tax_total", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7932, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7905, + 7906, + 7907, + 7908, + 7909, + 7910, + 7911, + 7912, + 7913, + 7914, + 7915, + 7916, + 7917, + 7918, + 7919, + 7920, + 7921, + 7922, + 7923, + 7924, + 7925 + ] + } + ] + } + } + }, + { + "id": 5732, + "name": "TransactionBaseTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 5733, + "name": "ITransactionBaseService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 5734, + "name": "withTransaction", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5735, + "name": "withTransaction", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 5736, + "name": "transactionManager", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/typeorm/entity-manager/EntityManager.d.ts", + "qualifiedName": "EntityManager" + }, + "name": "EntityManager", + "package": "typeorm" + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 5734 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 2233, + "name": "IEventBusService" + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 5733 + ] + } + ] + }, + { + "id": 5737, + "name": "UserTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 5738, + "name": "UserDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user details." + } + ] + }, + "children": [ + { + "id": 5739, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5740, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email of the user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5741, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first name of the user." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5742, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name of the user." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5743, + "name": "avatar_url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The avatar URL of the user." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5744, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 5745, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the user." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5746, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The updated date of the user." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5747, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the user." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5739, + 5740, + 5741, + 5742, + 5743, + 5744, + 5745, + 5746, + 5747 + ] + } + ] + }, + { + "id": 5748, + "name": "FilterableUserProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved user." + } + ] + }, + "children": [ + { + "id": 5754, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5748, + "name": "FilterableUserProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5748, + "name": "FilterableUserProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 5755, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5748, + "name": "FilterableUserProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5748, + "name": "FilterableUserProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 5749, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Find users by name or email through this search term" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5750, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter users by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 5751, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter users by their email." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 5752, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter users by their first name." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 5753, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filter users by their last name." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5754, + 5755, + 5749, + 5750, + 5751, + 5752, + 5753 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5748, + "name": "FilterableUserProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 5756, + "name": "InviteDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 5757, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5758, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5759, + "name": "accepted", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5760, + "name": "token", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5761, + "name": "expires_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5762, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 5763, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5764, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 5765, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5757, + 5758, + 5759, + 5760, + 5761, + 5762, + 5763, + 5764, + 5765 + ] + } + ] + }, + { + "id": 5766, + "name": "FilterableInviteProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object used to allow specifying flexible queries with and/or conditions." + } + ] + }, + "children": [ + { + "id": 5770, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5766, + "name": "FilterableInviteProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5766, + "name": "FilterableInviteProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2030, + "name": "BaseFilterable.$and" + } + }, + { + "id": 5771, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 5766, + "name": "FilterableInviteProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5766, + "name": "FilterableInviteProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 2031, + "name": "BaseFilterable.$or" + } + }, + { + "id": 5767, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 5768, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 5769, + "name": "expires_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 1445, + "name": "DateComparisonOperator", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5770, + 5771, + 5767, + 5768, + 5769 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 2029, + "typeArguments": [ + { + "type": "reference", + "target": 5766, + "name": "FilterableInviteProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 5772, + "name": "CreateUserDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user to be created." + } + ] + }, + "children": [ + { + "id": 5773, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email of the user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5774, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first name of the user." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5775, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name of the user." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5776, + "name": "avatar_url", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The avatar URL of the user." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 5777, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5773, + 5774, + 5775, + 5776, + 5777 + ] + } + ] + }, + { + "id": 5778, + "name": "UpdateUserDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the user." + } + ] + }, + "children": [ + { + "id": 5781, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first name of the user." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.first_name" + } + }, + { + "id": 5782, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name of the user." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.last_name" + } + }, + { + "id": 5783, + "name": "avatar_url", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The avatar URL of the user." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.avatar_url" + } + }, + { + "id": 5780, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.metadata" + } + }, + { + "id": 5779, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5781, + 5782, + 5783, + 5780, + 5779 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5772, + "name": "CreateUserDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "email" + } + ], + "name": "Omit", + "package": "typescript" + } + ], + "name": "Partial", + "package": "typescript" + } + ] + }, + { + "id": 5784, + "name": "CreateInviteDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 5785, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5786, + "name": "accepted", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 5787, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5785, + 5786, + 5787 + ] + } + ] + }, + { + "id": 5788, + "name": "UpdateInviteDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 5791, + "name": "accepted", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.accepted" + } + }, + { + "id": 5790, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Partial.metadata" + } + }, + { + "id": 5789, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5791, + 5790, + 5789 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5784, + "name": "CreateInviteDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "email" + } + ], + "name": "Omit", + "package": "typescript" + } + ], + "name": "Partial", + "package": "typescript" + } + ] + }, + { + "id": 5792, + "name": "IUserModuleService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The main service interface for the user module." + } + ] + }, + "children": [ + { + "id": 5793, + "name": "validateInviteToken", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5794, + "name": "validateInviteToken", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method validates an invite token." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The associated invite's details." + } + ] + } + ] + }, + "parameters": [ + { + "id": 5795, + "name": "token", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The token to validate." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5796, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5756, + "name": "InviteDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5797, + "name": "refreshInviteTokens", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5798, + "name": "refreshInviteTokens", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 5799, + "name": "inviteIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5800, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5756, + "name": "InviteDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5801, + "name": "retrieve", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5802, + "name": "retrieve", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a user by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved user." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a {type name} by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\n{example-code}\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\n{example-code}\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5803, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the retrieve." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5804, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the user is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a user." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 5738, + "name": "UserDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5805, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5738, + "name": "UserDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5806, + "name": "list", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5807, + "name": "list", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of users based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of users." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of {type name} using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\n{example-code}\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the {type name}:\n\n" + }, + { + "kind": "code", + "text": "```ts\n{example-code}\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`{default limit}`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\n{example-code}\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5808, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved user." + } + ] + }, + "type": { + "type": "reference", + "target": 5748, + "name": "FilterableUserProps", + "package": "@medusajs/types" + } + }, + { + "id": 5809, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the user is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a user." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 5738, + "name": "UserDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5810, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5738, + "name": "UserDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5811, + "name": "listAndCount", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5812, + "name": "listAndCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method retrieves a paginated list of user along with the total count of available users satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of users along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of {type name} using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\n{example-code}\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the {type name}:\n\n" + }, + { + "kind": "code", + "text": "```ts\n{example-code}\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`{default limit}`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\n{example-code}\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5813, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved user." + } + ] + }, + "type": { + "type": "reference", + "target": 5748, + "name": "FilterableUserProps", + "package": "@medusajs/types" + } + }, + { + "id": 5814, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the user is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a user." + } + ] + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 5738, + "name": "UserDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5815, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5738, + "name": "UserDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5816, + "name": "create", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5817, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates users." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created users." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\n{example-code}\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5818, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The users to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5772, + "name": "CreateUserDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5819, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5738, + "name": "UserDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5820, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method creates a user." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created user." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\n{example-code}\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5821, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 5772, + "name": "CreateUserDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5822, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5738, + "name": "UserDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5823, + "name": "update", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5824, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing users." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated users." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\n{example-code}\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5825, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in each user." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5778, + "name": "UpdateUserDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5826, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5738, + "name": "UserDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5827, + "name": "update", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing user." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated user." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\n{example-code}\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5828, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the user." + } + ] + }, + "type": { + "type": "reference", + "target": 5778, + "name": "UpdateUserDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5829, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5738, + "name": "UserDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5830, + "name": "delete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5831, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes users by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the users are deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\n{example-code}\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 5832, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The list of IDs of users to delete." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5833, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5834, + "name": "softDelete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5835, + "name": "softDelete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 5836, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 5837, + "name": "userIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5838, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 5836, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 5839, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5836, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5840, + "name": "restore", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5841, + "name": "restore", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 5842, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 5843, + "name": "userIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5844, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 5842, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 5845, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5842, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5846, + "name": "retrieveInvite", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5847, + "name": "retrieveInvite", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 5848, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5849, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 5756, + "name": "InviteDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5850, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5756, + "name": "InviteDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5851, + "name": "listInvites", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5852, + "name": "listInvites", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 5853, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 5748, + "name": "FilterableUserProps", + "package": "@medusajs/types" + } + }, + { + "id": 5854, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 5756, + "name": "InviteDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5855, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5756, + "name": "InviteDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5856, + "name": "listAndCountInvites", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5857, + "name": "listAndCountInvites", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 5858, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 5748, + "name": "FilterableUserProps", + "package": "@medusajs/types" + } + }, + { + "id": 5859, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 1377, + "typeArguments": [ + { + "type": "reference", + "target": 5756, + "name": "InviteDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 5860, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5756, + "name": "InviteDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5861, + "name": "createInvites", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5862, + "name": "createInvites", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 5863, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5784, + "name": "CreateInviteDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5864, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5756, + "name": "InviteDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5865, + "name": "createInvites", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 5866, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 5784, + "name": "CreateInviteDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5867, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5756, + "name": "InviteDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5868, + "name": "updateInvites", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5869, + "name": "updateInvites", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 5870, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5788, + "name": "UpdateInviteDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5871, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 5756, + "name": "InviteDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 5872, + "name": "updateInvites", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 5873, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 5788, + "name": "UpdateInviteDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5874, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5756, + "name": "InviteDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5875, + "name": "deleteInvites", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5876, + "name": "deleteInvites", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 5877, + "name": "ids", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5878, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5879, + "name": "softDeleteInvites", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5880, + "name": "softDeleteInvites", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 5881, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 5882, + "name": "inviteIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5883, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2172, + "typeArguments": [ + { + "type": "reference", + "target": 5881, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 5884, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5881, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 5885, + "name": "restoreInvites", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 5886, + "name": "restoreInvites", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 5887, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 5888, + "name": "inviteIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5889, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2175, + "typeArguments": [ + { + "type": "reference", + "target": 5887, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 5890, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7891, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "reference", + "target": 5887, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 5793, + 5797, + 5801, + 5806, + 5811, + 5816, + 5823, + 5830, + 5834, + 5840, + 5846, + 5851, + 5856, + 5861, + 5868, + 5875, + 5879, + 5885 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 3404, + "name": "IModuleService", + "package": "@medusajs/types" + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 5738, + 5748, + 5756, + 5766, + 5772, + 5778, + 5784, + 5788, + 5792 + ] + } + ] + }, + { + "id": 8012, + "name": "CreateServiceZone", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 8013, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8014, + "name": "fulfillment_set_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8015, + "name": "geo_zones", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2571, + "name": "CreateCountryGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2576, + "name": "CreateProvinceGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2582, + "name": "CreateCityGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2589, + "name": "CreateZipGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8013, + 8014, + 8015 + ] + } + ] + }, + { + "id": 8016, + "name": "UpdateServiceZone", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 8017, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8018, + "name": "geo_zones", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2571, + "name": "CreateCountryGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2576, + "name": "CreateProvinceGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2582, + "name": "CreateCityGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2589, + "name": "CreateZipGeoZoneDTO", + "package": "@medusajs/types" + }, + { + "type": "literal", + "value": "service_zone_id" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reflection", + "declaration": { + "id": 8019, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 8020, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8020 + ] + } + ] + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8017, + 8018 + ] + } + ] + }, + { + "id": 8021, + "name": "CreateShippingProfile", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 8022, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8023, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8022, + 8023 + ] + } + ] + }, + { + "id": 8024, + "name": "UpdateShippingProfile", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 8025, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8026, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8025, + 8026 + ] + } + ] + }, + { + "id": 5904, + "name": "WorkflowTypes", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 5905, + "name": "CartWorkflow", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 5906, + "name": "CreateLineItemInputDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 5907, + "name": "variant_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5908, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5907, + 5908 + ] + } + ] + }, + { + "id": 5909, + "name": "CreateCartWorkflowInputDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 5910, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5911, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5912, + "name": "items", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5906, + "name": "CreateLineItemInputDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5913, + "name": "context", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 5914, + "name": "sales_channel_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5915, + "name": "shipping_address_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5916, + "name": "billing_address_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5917, + "name": "billing_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 1, + "name": "AddressDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5918, + "name": "shipping_address", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 1, + "name": "AddressDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5919, + "name": "customer_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5920, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5910, + 5911, + 5912, + 5913, + 5914, + 5915, + 5916, + 5917, + 5918, + 5919, + 5920 + ] + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 5906, + 5909 + ] + } + ] + }, + { + "id": 5921, + "name": "CommonWorkflow", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 5922, + "name": "WorkflowInputConfig", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 5923, + "name": "listConfig", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 5924, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5925, + "name": "select", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5926, + "name": "relations", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5925, + 5926 + ] + } + ] + } + } + }, + { + "id": 5927, + "name": "retrieveConfig", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 5928, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5929, + "name": "select", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 5930, + "name": "relations", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5929, + 5930 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5923, + 5927 + ] + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 5922 + ] + } + ] + }, + { + "id": 5931, + "name": "FulfillmentWorkflow", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 5932, + "name": "CreateFulfillmentAddressWorkflowDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment address to be created." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 5933, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5934, + "name": "company", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The company of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 5935, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first name of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 5936, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 5937, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first line of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 5938, + "name": "address_2", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The second line of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 5939, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 5940, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 2 character country code of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 5941, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 5942, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The postal code of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 5943, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The phone of the fulfillment address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 5944, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5934, + 5935, + 5936, + 5937, + 5938, + 5939, + 5940, + 5941, + 5942, + 5943, + 5944 + ] + } + ] + } + } + }, + { + "id": 5945, + "name": "CreateFulfillmentItemWorkflowDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment item to be created." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 5946, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5947, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the fulfillment item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5948, + "name": "sku", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The SKU of the fulfillment item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5949, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The quantity of the fulfillment item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 5950, + "name": "barcode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The barcode of the fulfillment item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5951, + "name": "line_item_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated line item's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 5952, + "name": "inventory_item_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated inventory item's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5947, + 5948, + 5949, + 5950, + 5951, + 5952 + ] + } + ] + } + } + }, + { + "id": 5953, + "name": "CreateFulfillmentLabelWorkflowDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment label to be created." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 5954, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5955, + "name": "tracking_number", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tracking number of the fulfillment label." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5956, + "name": "tracking_url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tracking URL of the fulfillment label." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5957, + "name": "label_url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The URL of the label." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5955, + 5956, + 5957 + ] + } + ] + } + } + }, + { + "id": 5958, + "name": "CreateFulfillmentOrderWorkflowDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 5959, + "name": "CreateFulfillmentWorkflowInput", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 5960, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5961, + "name": "location_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated location's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5962, + "name": "packed_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was packed." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 5963, + "name": "shipped_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was shipped." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 5964, + "name": "delivered_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was delivered." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 5965, + "name": "canceled_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was canceled." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 5966, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data necessary for the associated fulfillment provider to process the fulfillment." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 5967, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment provider's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5968, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 5969, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 5970, + "name": "delivery_address", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The address associated with the fulfillment. It's used for delivery." + } + ] + }, + "type": { + "type": "reference", + "target": 5932, + "name": "CreateFulfillmentAddressWorkflowDTO", + "package": "@medusajs/types" + } + }, + { + "id": 5971, + "name": "items", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The items associated with the fulfillment." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5945, + "name": "CreateFulfillmentItemWorkflowDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5972, + "name": "labels", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The labels associated with the fulfillment." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5953, + "name": "CreateFulfillmentLabelWorkflowDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 5973, + "name": "order", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment order." + } + ] + }, + "type": { + "type": "reference", + "target": 5958, + "name": "CreateFulfillmentOrderWorkflowDTO", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5961, + 5962, + 5963, + 5964, + 5965, + 5966, + 5967, + 5968, + 5969, + 5970, + 5971, + 5972, + 5973 + ] + } + ] + } + } + }, + { + "id": 5974, + "name": "CreateShipmentWorkflowInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the fulfillment." + } + ] + }, + "children": [ + { + "id": 5975, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5976, + "name": "labels", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The labels associated with the fulfillment." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5953, + "name": "CreateFulfillmentLabelWorkflowDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5975, + 5976 + ] + } + ] + }, + { + "id": 5977, + "name": "CreateShippingOptionsWorkflowInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 5978, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5979, + "name": "service_zone_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5980, + "name": "shipping_profile_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5981, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 5982, + "name": "price_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 2370, + "name": "ShippingOptionPriceType", + "package": "@medusajs/types" + } + }, + { + "id": 5983, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5984, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 5985, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5986, + "name": "label", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5987, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5988, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5986, + 5987, + 5988 + ] + } + ] + } + } + }, + { + "id": 5989, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 5990, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5991, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5992, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5991, + 5992 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 5993, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5994, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5995, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5994, + 5995 + ] + } + ] + } + } + ] + } + } + }, + { + "id": 5996, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 5997, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 5998, + "name": "attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5999, + "name": "operator", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 1499, + "name": "RuleOperatorType", + "package": "@medusajs/types" + } + }, + { + "id": 6000, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5998, + 5999, + 6000 + ] + } + ] + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 5978, + 5979, + 5980, + 5981, + 5982, + 5983, + 5984, + 5989, + 5996 + ] + } + ] + }, + { + "id": 6001, + "name": "CreateShippingOptionsWorkflowOutput", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 6002, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6003, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6003 + ] + } + ] + } + } + } + }, + { + "id": 6004, + "name": "DeleteShippingOptionsWorkflowInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6005, + "name": "ids", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6005 + ] + } + ] + }, + { + "id": 6006, + "name": "CreateServiceZonesWorkflowInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6007, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8012, + "name": "CreateServiceZone", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6007 + ] + } + ] + }, + { + "id": 6008, + "name": "UpdateServiceZonesWorkflowInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6009, + "name": "selector", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 2446, + "name": "FilterableServiceZoneProps", + "package": "@medusajs/types" + } + }, + { + "id": 6010, + "name": "update", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 8016, + "name": "UpdateServiceZone", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6009, + 6010 + ] + } + ] + }, + { + "id": 6011, + "name": "CreateShippingProfilesWorkflowInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6012, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8021, + "name": "CreateShippingProfile", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6012 + ] + } + ] + }, + { + "id": 6013, + "name": "UpdateShippingProfilesWorkflowInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6014, + "name": "selector", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 2344, + "name": "FilterableShippingProfileProps", + "package": "@medusajs/types" + } + }, + { + "id": 6015, + "name": "update", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 8024, + "name": "UpdateShippingProfile", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6014, + 6015 + ] + } + ] + }, + { + "id": 6016, + "name": "UpdateFulfillmentWorkflowInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in the fulfillment." + } + ] + }, + "children": [ + { + "id": 6017, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6018, + "name": "location_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated location's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6019, + "name": "packed_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was packed." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6020, + "name": "shipped_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was shipped." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6021, + "name": "delivered_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was delivered." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 6022, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data necessary for the associated fulfillment provider to process the fulfillment." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 6023, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6017, + 6018, + 6019, + 6020, + 6021, + 6022, + 6023 + ] + } + ] + }, + { + "id": 6024, + "name": "UpdateShippingOptionsWorkflowInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6025, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6026, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6027, + "name": "service_zone_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6028, + "name": "shipping_profile_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6029, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 6030, + "name": "price_type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 2370, + "name": "ShippingOptionPriceType", + "package": "@medusajs/types" + } + }, + { + "id": 6031, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6032, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 6033, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6034, + "name": "label", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6035, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6036, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6034, + 6035, + 6036 + ] + } + ] + } + } + }, + { + "id": 6037, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 6038, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6039, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6040, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6041, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6039, + 6040, + 6041 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 6042, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6043, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6044, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6045, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6043, + 6044, + 6045 + ] + } + ] + } + } + ] + } + } + }, + { + "id": 6046, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 6047, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6048, + "name": "attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6049, + "name": "operator", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 1499, + "name": "RuleOperatorType", + "package": "@medusajs/types" + } + }, + { + "id": 6050, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6048, + 6049, + 6050 + ] + } + ] + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6025, + 6026, + 6027, + 6028, + 6029, + 6030, + 6031, + 6032, + 6037, + 6046 + ] + } + ] + }, + { + "id": 6051, + "name": "UpdateShippingOptionsWorkflowOutput", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 6052, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6053, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6053 + ] + } + ] + } + } + } + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 5974, + 5977, + 6004, + 6006, + 6008, + 6011, + 6013, + 6016, + 6024 + ] + }, + { + "title": "Type Aliases", + "children": [ + 5932, + 5945, + 5953, + 5958, + 5959, + 6001, + 6051 + ] + } + ] + }, + { + "id": 6054, + "name": "InviteWorkflow", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 6059, + "name": "AcceptInviteWorkflowInputDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6060, + "name": "invite_token", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6061, + "name": "auth_user_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6062, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 6063, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6064, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6065, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6066, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6067, + "name": "avatar_url", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6068, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6064, + 6065, + 6066, + 6067, + 6068 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6060, + 6061, + 6062 + ] + } + ] + }, + { + "id": 6055, + "name": "CreateInvitesWorkflowInputDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6056, + "name": "invites", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5784, + "name": "CreateInviteDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6056 + ] + } + ] + }, + { + "id": 6057, + "name": "DeleteInvitesWorkflowInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6058, + "name": "ids", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6058 + ] + } + ] + }, + { + "id": 6069, + "name": "ResendInvitesWorkflowInputDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6070, + "name": "invite_ids", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6070 + ] + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 6059, + 6055, + 6057, + 6069 + ] + } + ] + }, + { + "id": 6071, + "name": "PriceListWorkflow", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 6072, + "name": "CreatePriceListDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6073, + "name": "starts_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6074, + "name": "ends_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6075, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7439, + "name": "PriceListStatus", + "package": "@medusajs/types" + } + }, + { + "id": 6076, + "name": "rules_count", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6077, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7516, + "name": "PriceListRuleDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 6078, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 6079, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6080, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6081, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6082, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6083, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6084, + "name": "min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6080, + 6081, + 6082, + 6083, + 6084 + ] + } + ] + } + } + } + }, + { + "id": 6085, + "name": "customer_groups", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 6086, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6087, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6087 + ] + } + ] + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6073, + 6074, + 6075, + 6076, + 6077, + 6078, + 6085 + ] + } + ] + }, + { + "id": 6088, + "name": "CreatePriceListRuleDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6089, + "name": "rule_attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6090, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6089, + 6090 + ] + } + ] + }, + { + "id": 6091, + "name": "CreatePriceListPriceDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6092, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6093, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6094, + "name": "price_set_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 6095, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6096, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6097, + "name": "min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6092, + 6093, + 6094, + 6095, + 6096, + 6097 + ] + } + ] + }, + { + "id": 6098, + "name": "CreatePriceListWorkflowInputDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6099, + "name": "price_lists", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 6109, + "name": "CreatePriceListWorkflowDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6099 + ] + } + ] + }, + { + "id": 6100, + "name": "RemovePriceListProductsWorkflowInputDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6101, + "name": "product_ids", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 6102, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6101, + 6102 + ] + } + ] + }, + { + "id": 6103, + "name": "RemovePriceListVariantsWorkflowInputDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6104, + "name": "variant_ids", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 6105, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6104, + 6105 + ] + } + ] + }, + { + "id": 6106, + "name": "RemovePriceListPricesWorkflowInputDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6107, + "name": "money_amount_ids", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 6108, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6107, + 6108 + ] + } + ] + }, + { + "id": 6109, + "name": "CreatePriceListWorkflowDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6110, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6111, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6112, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6113, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6114, + "name": "starts_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6115, + "name": "ends_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 6116, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7439, + "name": "PriceListStatus", + "package": "@medusajs/types" + } + }, + { + "id": 6117, + "name": "rules_count", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 6118, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8027, + "name": "InputPrice", + "package": "@medusajs/types" + } + } + }, + { + "id": 6119, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 7474, + "name": "CreatePriceListRules", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6110, + 6111, + 6112, + 6113, + 6114, + 6115, + 6116, + 6117, + 6118, + 6119 + ] + } + ] + }, + { + "id": 6120, + "name": "RemovePriceListWorkflowInputDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6121, + "name": "price_lists", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6121 + ] + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 6072, + 6088, + 6091, + 6098, + 6100, + 6103, + 6106, + 6109, + 6120 + ] + } + ] + }, + { + "id": 6122, + "name": "ProductCategoryWorkflow", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 6123, + "name": "CreateProductCategoryWorkflowInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6124, + "name": "product_category", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductCategoryDTO" + }, + "name": "CreateProductCategoryDTO", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6124 + ] + } + ] + }, + { + "id": 6125, + "name": "UpdateProductCategoryWorkflowInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6126, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 6127, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductCategoryDTO" + }, + "name": "UpdateProductCategoryDTO", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6126, + 6127 + ] + } + ] + }, + { + "id": 6128, + "name": "BatchUpdateProductsOnCategoryWorkflowInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6129, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "LinkWorkflowInput.id" + } + }, + { + "id": 6130, + "name": "add", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "LinkWorkflowInput.add" + } + }, + { + "id": 6131, + "name": "remove", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "LinkWorkflowInput.remove" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6129, + 6130, + 6131 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 1504, + "name": "LinkWorkflowInput", + "package": "@medusajs/types" + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 6123, + 6125, + 6128 + ] + } + ] + }, + { + "id": 6132, + "name": "RegionWorkflow", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 6139, + "name": "CreateRegionsWorkflowInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6140, + "name": "regions", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 7762, + "name": "CreateRegionDTO", + "package": "@medusajs/types" + }, + { + "type": "reflection", + "declaration": { + "id": 6141, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6142, + "name": "payment_providers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6142 + ] + } + ] + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6140 + ] + } + ] + }, + { + "id": 6143, + "name": "CreateRegionsWorkflowOutput", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7726, + "name": "RegionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 6133, + "name": "UpdateRegionsWorkflowInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6134, + "name": "selector", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 7743, + "name": "FilterableRegionProps", + "package": "@medusajs/types" + } + }, + { + "id": 6135, + "name": "update", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 7776, + "name": "UpdateRegionDTO", + "package": "@medusajs/types" + }, + { + "type": "reflection", + "declaration": { + "id": 6136, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 6137, + "name": "payment_providers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6137 + ] + } + ] + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6134, + 6135 + ] + } + ] + }, + { + "id": 6138, + "name": "UpdateRegionsWorkflowOutput", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7726, + "name": "RegionDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 6139, + 6133 + ] + }, + { + "title": "Type Aliases", + "children": [ + 6143, + 6138 + ] + } + ] + }, + { + "id": 6144, + "name": "ReservationWorkflow", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 6145, + "name": "CreateReservationsWorkflowInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6146, + "name": "reservations", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8034, + "name": "CreateReservationItemInput", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6146 + ] + } + ] + }, + { + "id": 6147, + "name": "CreateReservationsWorkflowOutput", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8043, + "name": "InventoryNext.ReservationItemDTO", + "package": "@medusajs/types", + "qualifiedName": "ReservationItemDTO" + } + } + }, + { + "id": 6148, + "name": "UpdateReservationsWorkflowInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6149, + "name": "updates", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8055, + "name": "UpdateReservationItemInput", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6149 + ] + } + ] + }, + { + "id": 6150, + "name": "UpdateReservationsWorkflowOutput", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 8043, + "name": "InventoryNext.ReservationItemDTO", + "package": "@medusajs/types", + "qualifiedName": "ReservationItemDTO" + } + } + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 6145, + 6148 + ] + }, + { + "title": "Type Aliases", + "children": [ + 6147, + 6150 + ] + } + ] + }, + { + "id": 6151, + "name": "UserWorkflow", + "variant": "declaration", + "kind": 4, + "flags": {}, + "children": [ + { + "id": 6152, + "name": "CreateUsersWorkflowInputDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6153, + "name": "users", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5772, + "name": "CreateUserDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6153 + ] + } + ] + }, + { + "id": 6156, + "name": "DeleteUserWorkflowInput", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6157, + "name": "ids", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6157 + ] + } + ] + }, + { + "id": 6154, + "name": "UpdateUsersWorkflowInputDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 6155, + "name": "updates", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 5778, + "name": "UpdateUserDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 6155 + ] + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 6152, + 6156, + 6154 + ] + } + ] + } + ], + "groups": [ + { + "title": "Namespaces", + "children": [ + 5905, + 5921, + 5931, + 6054, + 6071, + 6122, + 6132, + 6144, + 6151 + ] + } + ] + }, + { + "id": 8027, + "name": "InputPrice", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 8028, + "name": "region_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8029, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8030, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8031, + "name": "variant_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8032, + "name": "min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 8033, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 8028, + 8029, + 8030, + 8031, + 8032, + 8033 + ] + } + ] + }, + { + "id": 7939, + "name": "CreateProductVariantWorkflowInputDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductVariantDTO" + }, + "name": "ProductTypes.CreateProductVariantDTO", + "package": "@medusajs/types", + "qualifiedName": "CreateProductVariantDTO" + }, + { + "type": "reflection", + "declaration": { + "id": 7940, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7941, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7383, + "name": "PricingTypes.CreateMoneyAmountDTO", + "package": "@medusajs/types", + "qualifiedName": "CreateMoneyAmountDTO" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7941 + ] + } + ] + } + } + ] + } + }, + { + "id": 7942, + "name": "UpdateProductVariantWorkflowInputDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpsertProductVariantDTO" + }, + "name": "ProductTypes.UpsertProductVariantDTO", + "package": "@medusajs/types", + "qualifiedName": "UpsertProductVariantDTO" + }, + { + "type": "reflection", + "declaration": { + "id": 7943, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7944, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7383, + "name": "PricingTypes.CreateMoneyAmountDTO", + "package": "@medusajs/types", + "qualifiedName": "CreateMoneyAmountDTO" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7944 + ] + } + ] + } + } + ] + } + } + }, + { + "id": 7945, + "name": "CreateProductWorkflowInputDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO" + }, + "name": "ProductTypes.CreateProductDTO", + "package": "@medusajs/types", + "qualifiedName": "CreateProductDTO" + }, + { + "type": "literal", + "value": "variants" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reflection", + "declaration": { + "id": 7946, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7947, + "name": "sales_channels", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 7948, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7949, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7949 + ] + } + ] + } + } + } + }, + { + "id": 7950, + "name": "variants", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 7939, + "name": "CreateProductVariantWorkflowInputDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7947, + 7950 + ] + } + ] + } + } + ] + } + }, + { + "id": 7951, + "name": "UpdateProductWorkflowInputDTO", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpsertProductDTO" + }, + "name": "ProductTypes.UpsertProductDTO", + "package": "@medusajs/types", + "qualifiedName": "UpsertProductDTO" + }, + { + "type": "reflection", + "declaration": { + "id": 7952, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7953, + "name": "sales_channels", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 7954, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7955, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7955 + ] + } + ] + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7953 + ] + } + ] + } + } + ] + } + }, + { + "id": 7933, + "name": "CreateLocationFulfillmentSetWorkflowInputDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 7934, + "name": "location_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7935, + "name": "fulfillment_set_data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 7936, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 7937, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7938, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7937, + 7938 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 7934, + 7935 + ] + } + ] + } + ], + "groups": [ + { + "title": "Namespaces", + "children": [ + 6158, + 223, + 224, + 238, + 1359, + 6273, + 1598, + 2000, + 2180, + 2282, + 6736, + 2301, + 6313, + 3182, + 3240, + 3527, + 4853, + 5252, + 5263, + 5368, + 6159, + 5412, + 5732, + 5737, + 5904 + ] + }, + { + "title": "Enumerations", + "children": [ + 6959, + 6965, + 7162, + 7439, + 7442 + ] + }, + { + "title": "Interfaces", + "children": [ + 17, + 28, + 36, + 40, + 45, + 47, + 50, + 180, + 188, + 196, + 201, + 206, + 212, + 215, + 216, + 125, + 7956, + 7975, + 6825, + 6828, + 6833, + 6836, + 6838, + 8000, + 8061, + 8072, + 8076, + 8093, + 8214, + 8358, + 8335, + 8287, + 8349, + 8320, + 8272, + 8118, + 8188, + 8134, + 8299, + 8203, + 8233, + 8252, + 8246, + 8043, + 8055, + 8034, + 6852, + 6855, + 6869, + 6872, + 6875, + 6893, + 6896, + 6903, + 6911, + 6971, + 6986, + 6993, + 7005, + 7015, + 7025, + 7046, + 7060, + 7066, + 7072, + 7083, + 7086, + 7091, + 7096, + 7102, + 7108, + 7113, + 7124, + 7130, + 7134, + 7138, + 7144, + 7150, + 7153, + 7167, + 7173, + 7177, + 7182, + 7184, + 7187, + 7190, + 7194, + 7197, + 7199, + 7238, + 7371, + 7374, + 7383, + 7389, + 7395, + 7445, + 7457, + 7465, + 7473, + 7474, + 7475, + 7485, + 7494, + 7503, + 7510, + 7516, + 7522, + 7527, + 7533, + 7537, + 7541, + 7545, + 7548, + 7551, + 7554, + 7557, + 7570, + 7576, + 7584, + 7676, + 7681, + 7684, + 7688, + 7591, + 7597, + 7599, + 7601, + 7606, + 7615, + 7636, + 7641, + 7648, + 7651, + 7654, + 7659, + 7665, + 7670, + 7400, + 7414, + 7422, + 7432, + 7700, + 7707, + 7712, + 7717, + 7723, + 7726, + 7736, + 7743, + 7753, + 7762, + 7769, + 7776, + 7782, + 7868, + 7871, + 7877, + 7891, + 8006, + 8012, + 8016, + 8021, + 8024, + 8027, + 7933 + ] + }, + { + "title": "Type Aliases", + "children": [ + 1, + 16, + 7970, + 7964, + 7966, + 8266, + 8378, + 8368, + 8347, + 8270, + 7963, + 7968, + 8112, + 6842, + 8005, + 7160, + 7161, + 7694, + 7926, + 7931, + 7932, + 7903, + 7939, + 7942, + 7945, + 7951 + ] + } + ], + "packageName": "@medusajs/types", + "symbolIdMap": { + "0": { + "sourceFileName": "../../../packages/types/src/index.ts", + "qualifiedName": "" + }, + "1": { + "sourceFileName": "../../../packages/types/src/address/common.ts", + "qualifiedName": "AddressDTO" + }, + "2": { + "sourceFileName": "../../../packages/types/src/address/common.ts", + "qualifiedName": "__type" + }, + "3": { + "sourceFileName": "../../../packages/types/src/address/common.ts", + "qualifiedName": "__type.id" + }, + "4": { + "sourceFileName": "../../../packages/types/src/address/common.ts", + "qualifiedName": "__type.address_1" + }, + "5": { + "sourceFileName": "../../../packages/types/src/address/common.ts", + "qualifiedName": "__type.address_2" + }, + "6": { + "sourceFileName": "../../../packages/types/src/address/common.ts", + "qualifiedName": "__type.company" + }, + "7": { + "sourceFileName": "../../../packages/types/src/address/common.ts", + "qualifiedName": "__type.country_code" + }, + "8": { + "sourceFileName": "../../../packages/types/src/address/common.ts", + "qualifiedName": "__type.city" + }, + "9": { + "sourceFileName": "../../../packages/types/src/address/common.ts", + "qualifiedName": "__type.phone" + }, + "10": { + "sourceFileName": "../../../packages/types/src/address/common.ts", + "qualifiedName": "__type.postal_code" + }, + "11": { + "sourceFileName": "../../../packages/types/src/address/common.ts", + "qualifiedName": "__type.province" + }, + "12": { + "sourceFileName": "../../../packages/types/src/address/common.ts", + "qualifiedName": "__type.metadata" + }, + "13": { + "sourceFileName": "../../../packages/types/src/address/common.ts", + "qualifiedName": "__type.created_at" + }, + "14": { + "sourceFileName": "../../../packages/types/src/address/common.ts", + "qualifiedName": "__type.updated_at" + }, + "15": { + "sourceFileName": "../../../packages/types/src/address/common.ts", + "qualifiedName": "__type.deleted_at" + }, + "16": { + "sourceFileName": "../../../packages/types/src/api-key/common/api-key.ts", + "qualifiedName": "ApiKeyType" + }, + "17": { + "sourceFileName": "../../../packages/types/src/api-key/common/api-key.ts", + "qualifiedName": "ApiKeyDTO" + }, + "18": { + "sourceFileName": "../../../packages/types/src/api-key/common/api-key.ts", + "qualifiedName": "ApiKeyDTO.id" + }, + "19": { + "sourceFileName": "../../../packages/types/src/api-key/common/api-key.ts", + "qualifiedName": "ApiKeyDTO.token" + }, + "20": { + "sourceFileName": "../../../packages/types/src/api-key/common/api-key.ts", + "qualifiedName": "ApiKeyDTO.redacted" + }, + "21": { + "sourceFileName": "../../../packages/types/src/api-key/common/api-key.ts", + "qualifiedName": "ApiKeyDTO.title" + }, + "22": { + "sourceFileName": "../../../packages/types/src/api-key/common/api-key.ts", + "qualifiedName": "ApiKeyDTO.type" + }, + "23": { + "sourceFileName": "../../../packages/types/src/api-key/common/api-key.ts", + "qualifiedName": "ApiKeyDTO.last_used_at" + }, + "24": { + "sourceFileName": "../../../packages/types/src/api-key/common/api-key.ts", + "qualifiedName": "ApiKeyDTO.created_by" + }, + "25": { + "sourceFileName": "../../../packages/types/src/api-key/common/api-key.ts", + "qualifiedName": "ApiKeyDTO.created_at" + }, + "26": { + "sourceFileName": "../../../packages/types/src/api-key/common/api-key.ts", + "qualifiedName": "ApiKeyDTO.revoked_by" + }, + "27": { + "sourceFileName": "../../../packages/types/src/api-key/common/api-key.ts", + "qualifiedName": "ApiKeyDTO.revoked_at" + }, + "28": { + "sourceFileName": "../../../packages/types/src/api-key/common/api-key.ts", + "qualifiedName": "FilterableApiKeyProps" + }, + "29": { + "sourceFileName": "../../../packages/types/src/api-key/common/api-key.ts", + "qualifiedName": "FilterableApiKeyProps.q" + }, + "30": { + "sourceFileName": "../../../packages/types/src/api-key/common/api-key.ts", + "qualifiedName": "FilterableApiKeyProps.id" + }, + "31": { + "sourceFileName": "../../../packages/types/src/api-key/common/api-key.ts", + "qualifiedName": "FilterableApiKeyProps.token" + }, + "32": { + "sourceFileName": "../../../packages/types/src/api-key/common/api-key.ts", + "qualifiedName": "FilterableApiKeyProps.title" + }, + "33": { + "sourceFileName": "../../../packages/types/src/api-key/common/api-key.ts", + "qualifiedName": "FilterableApiKeyProps.type" + }, + "34": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "35": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "36": { + "sourceFileName": "../../../packages/types/src/api-key/mutations/api-key.ts", + "qualifiedName": "CreateApiKeyDTO" + }, + "37": { + "sourceFileName": "../../../packages/types/src/api-key/mutations/api-key.ts", + "qualifiedName": "CreateApiKeyDTO.title" + }, + "38": { + "sourceFileName": "../../../packages/types/src/api-key/mutations/api-key.ts", + "qualifiedName": "CreateApiKeyDTO.type" + }, + "39": { + "sourceFileName": "../../../packages/types/src/api-key/mutations/api-key.ts", + "qualifiedName": "CreateApiKeyDTO.created_by" + }, + "40": { + "sourceFileName": "../../../packages/types/src/api-key/mutations/api-key.ts", + "qualifiedName": "UpsertApiKeyDTO" + }, + "41": { + "sourceFileName": "../../../packages/types/src/api-key/mutations/api-key.ts", + "qualifiedName": "UpsertApiKeyDTO.id" + }, + "42": { + "sourceFileName": "../../../packages/types/src/api-key/mutations/api-key.ts", + "qualifiedName": "UpsertApiKeyDTO.title" + }, + "43": { + "sourceFileName": "../../../packages/types/src/api-key/mutations/api-key.ts", + "qualifiedName": "UpsertApiKeyDTO.type" + }, + "44": { + "sourceFileName": "../../../packages/types/src/api-key/mutations/api-key.ts", + "qualifiedName": "UpsertApiKeyDTO.created_by" + }, + "45": { + "sourceFileName": "../../../packages/types/src/api-key/mutations/api-key.ts", + "qualifiedName": "UpdateApiKeyDTO" + }, + "46": { + "sourceFileName": "../../../packages/types/src/api-key/mutations/api-key.ts", + "qualifiedName": "UpdateApiKeyDTO.title" + }, + "47": { + "sourceFileName": "../../../packages/types/src/api-key/mutations/api-key.ts", + "qualifiedName": "RevokeApiKeyDTO" + }, + "48": { + "sourceFileName": "../../../packages/types/src/api-key/mutations/api-key.ts", + "qualifiedName": "RevokeApiKeyDTO.revoked_by" + }, + "49": { + "sourceFileName": "../../../packages/types/src/api-key/mutations/api-key.ts", + "qualifiedName": "RevokeApiKeyDTO.revoke_in" + }, + "50": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService" + }, + "51": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.create" + }, + "52": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.create" + }, + "53": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "data" + }, + "54": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "sharedContext" + }, + "55": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.create" + }, + "56": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "data" + }, + "57": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "sharedContext" + }, + "58": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.upsert" + }, + "59": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.upsert" + }, + "60": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "data" + }, + "61": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "sharedContext" + }, + "62": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.upsert" + }, + "63": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "data" + }, + "64": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "sharedContext" + }, + "65": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.update" + }, + "66": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.update" + }, + "67": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "id" + }, + "68": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "data" + }, + "69": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "sharedContext" + }, + "70": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.update" + }, + "71": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "selector" + }, + "72": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "data" + }, + "73": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "sharedContext" + }, + "74": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.delete" + }, + "75": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.delete" + }, + "76": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "ids" + }, + "77": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "sharedContext" + }, + "78": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.delete" + }, + "79": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "id" + }, + "80": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "sharedContext" + }, + "81": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.retrieve" + }, + "82": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.retrieve" + }, + "83": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "id" + }, + "84": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "config" + }, + "85": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "sharedContext" + }, + "86": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.list" + }, + "87": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.list" + }, + "88": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "filters" + }, + "89": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "config" + }, + "90": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "sharedContext" + }, + "91": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.listAndCount" + }, + "92": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.listAndCount" + }, + "93": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "filters" + }, + "94": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "config" + }, + "95": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "sharedContext" + }, + "96": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.revoke" + }, + "97": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.revoke" + }, + "98": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "selector" + }, + "99": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "data" + }, + "100": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "sharedContext" + }, + "101": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.revoke" + }, + "102": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "id" + }, + "103": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "data" + }, + "104": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "sharedContext" + }, + "105": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.authenticate" + }, + "106": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "IApiKeyModuleService.authenticate" + }, + "107": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "token" + }, + "108": { + "sourceFileName": "../../../packages/types/src/api-key/service.ts", + "qualifiedName": "sharedContext" + }, + "125": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "IAuthModuleService" + }, + "126": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "IAuthModuleService.authenticate" + }, + "127": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "IAuthModuleService.authenticate" + }, + "128": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "provider" + }, + "129": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "providerData" + }, + "130": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "IAuthModuleService.validateCallback" + }, + "131": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "IAuthModuleService.validateCallback" + }, + "132": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "provider" + }, + "133": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "providerData" + }, + "134": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "IAuthModuleService.retrieve" + }, + "135": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "IAuthModuleService.retrieve" + }, + "136": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "id" + }, + "137": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "config" + }, + "138": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "sharedContext" + }, + "139": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "IAuthModuleService.list" + }, + "140": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "IAuthModuleService.list" + }, + "141": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "filters" + }, + "142": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "config" + }, + "143": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "sharedContext" + }, + "144": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "IAuthModuleService.listAndCount" + }, + "145": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "IAuthModuleService.listAndCount" + }, + "146": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "filters" + }, + "147": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "config" + }, + "148": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "sharedContext" + }, + "149": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "IAuthModuleService.create" + }, + "150": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "IAuthModuleService.create" + }, + "151": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "data" + }, + "152": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "sharedContext" + }, + "153": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "IAuthModuleService.create" + }, + "154": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "data" + }, + "155": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "sharedContext" + }, + "156": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "IAuthModuleService.update" + }, + "157": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "IAuthModuleService.update" + }, + "158": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "data" + }, + "159": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "sharedContext" + }, + "160": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "IAuthModuleService.update" + }, + "161": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "data" + }, + "162": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "sharedContext" + }, + "163": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "IAuthModuleService.delete" + }, + "164": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "IAuthModuleService.delete" + }, + "165": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "ids" + }, + "166": { + "sourceFileName": "../../../packages/types/src/auth/service.ts", + "qualifiedName": "sharedContext" + }, + "180": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "AuthUserDTO" + }, + "181": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "__type.id" + }, + "182": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "__type.provider" + }, + "183": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "__type.entity_id" + }, + "184": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "__type.scope" + }, + "185": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "__type.provider_metadata" + }, + "186": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "__type.user_metadata" + }, + "187": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "__type.app_metadata" + }, + "188": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "CreateAuthUserDTO" + }, + "189": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "__type.id" + }, + "190": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "__type.provider" + }, + "191": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "__type.entity_id" + }, + "192": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "__type.scope" + }, + "193": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "__type.provider_metadata" + }, + "194": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "__type.user_metadata" + }, + "195": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "__type.app_metadata" + }, + "196": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "UpdateAuthUserDTO" + }, + "197": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "__type.id" + }, + "198": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "__type.provider_metadata" + }, + "199": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "__type.user_metadata" + }, + "200": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "__type.app_metadata" + }, + "201": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "FilterableAuthUserProps" + }, + "202": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "FilterableAuthUserProps.id" + }, + "203": { + "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", + "qualifiedName": "FilterableAuthUserProps.provider" + }, + "204": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "205": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "206": { + "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", + "qualifiedName": "AuthenticationResponse" + }, + "207": { + "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", + "qualifiedName": "__type.success" + }, + "208": { + "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", + "qualifiedName": "__type.authUser" + }, + "209": { + "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", + "qualifiedName": "__type.error" + }, + "210": { + "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", + "qualifiedName": "__type.location" + }, + "211": { + "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", + "qualifiedName": "__type.successRedirectUrl" + }, + "212": { + "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", + "qualifiedName": "AuthModuleProviderConfig" + }, + "213": { + "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", + "qualifiedName": "__type.name" + }, + "214": { + "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", + "qualifiedName": "__type.scopes" + }, + "215": { + "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", + "qualifiedName": "AuthProviderScope" + }, + "216": { + "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", + "qualifiedName": "AuthenticationInput" + }, + "217": { + "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", + "qualifiedName": "__type.url" + }, + "218": { + "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", + "qualifiedName": "__type.headers" + }, + "219": { + "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", + "qualifiedName": "__type.query" + }, + "220": { + "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", + "qualifiedName": "__type.body" + }, + "221": { + "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", + "qualifiedName": "__type.authScope" + }, + "222": { + "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", + "qualifiedName": "__type.protocol" + }, + "223": { + "sourceFileName": "../../../packages/types/src/auth/index.ts", + "qualifiedName": "" + }, + "224": { + "sourceFileName": "../../../packages/types/src/cache/index.ts", + "qualifiedName": "" + }, + "225": { + "sourceFileName": "../../../packages/types/src/cache/service.ts", + "qualifiedName": "ICacheService" + }, + "226": { + "sourceFileName": "../../../packages/types/src/cache/service.ts", + "qualifiedName": "ICacheService.get" + }, + "227": { + "sourceFileName": "../../../packages/types/src/cache/service.ts", + "qualifiedName": "ICacheService.get" + }, + "228": { + "sourceFileName": "../../../packages/types/src/cache/service.ts", + "qualifiedName": "T" + }, + "229": { + "sourceFileName": "../../../packages/types/src/cache/service.ts", + "qualifiedName": "key" + }, + "230": { + "sourceFileName": "../../../packages/types/src/cache/service.ts", + "qualifiedName": "ICacheService.set" + }, + "231": { + "sourceFileName": "../../../packages/types/src/cache/service.ts", + "qualifiedName": "ICacheService.set" + }, + "232": { + "sourceFileName": "../../../packages/types/src/cache/service.ts", + "qualifiedName": "key" + }, + "233": { + "sourceFileName": "../../../packages/types/src/cache/service.ts", + "qualifiedName": "data" + }, + "234": { + "sourceFileName": "../../../packages/types/src/cache/service.ts", + "qualifiedName": "ttl" + }, + "235": { + "sourceFileName": "../../../packages/types/src/cache/service.ts", + "qualifiedName": "ICacheService.invalidate" + }, + "236": { + "sourceFileName": "../../../packages/types/src/cache/service.ts", + "qualifiedName": "ICacheService.invalidate" + }, + "237": { + "sourceFileName": "../../../packages/types/src/cache/service.ts", + "qualifiedName": "key" + }, + "238": { + "sourceFileName": "../../../packages/types/src/cart/index.ts", + "qualifiedName": "" + }, + "239": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO" + }, + "240": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.id" + }, + "241": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.code" + }, + "242": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.amount" + }, + "243": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.raw_amount" + }, + "244": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.cart_id" + }, + "245": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.description" + }, + "246": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.promotion_id" + }, + "247": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.provider_id" + }, + "248": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.created_at" + }, + "249": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.updated_at" + }, + "250": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "ShippingMethodAdjustmentDTO" + }, + "251": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "ShippingMethodAdjustmentDTO.shipping_method" + }, + "252": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "ShippingMethodAdjustmentDTO.shipping_method_id" + }, + "253": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.id" + }, + "254": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.code" + }, + "255": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.amount" + }, + "256": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.raw_amount" + }, + "257": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.cart_id" + }, + "258": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.description" + }, + "259": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.promotion_id" + }, + "260": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.provider_id" + }, + "261": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.created_at" + }, + "262": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.updated_at" + }, + "263": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "LineItemAdjustmentDTO" + }, + "264": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "LineItemAdjustmentDTO.item" + }, + "265": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "LineItemAdjustmentDTO.item_id" + }, + "266": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.id" + }, + "267": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.code" + }, + "268": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.amount" + }, + "269": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.raw_amount" + }, + "270": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.cart_id" + }, + "271": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.description" + }, + "272": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.promotion_id" + }, + "273": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.provider_id" + }, + "274": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.created_at" + }, + "275": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "AdjustmentLineDTO.updated_at" + }, + "276": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO" + }, + "277": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.id" + }, + "278": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.description" + }, + "279": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.tax_rate_id" + }, + "280": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.code" + }, + "281": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.rate" + }, + "282": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.provider_id" + }, + "283": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.created_at" + }, + "284": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.updated_at" + }, + "285": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "ShippingMethodTaxLineDTO" + }, + "286": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "ShippingMethodTaxLineDTO.shipping_method" + }, + "287": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "ShippingMethodTaxLineDTO.shipping_method_id" + }, + "288": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "ShippingMethodTaxLineDTO.total" + }, + "289": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "ShippingMethodTaxLineDTO.subtotal" + }, + "290": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "ShippingMethodTaxLineDTO.raw_total" + }, + "291": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "ShippingMethodTaxLineDTO.raw_subtotal" + }, + "292": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.id" + }, + "293": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.description" + }, + "294": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.tax_rate_id" + }, + "295": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.code" + }, + "296": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.rate" + }, + "297": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.provider_id" + }, + "298": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.created_at" + }, + "299": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.updated_at" + }, + "300": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "LineItemTaxLineDTO" + }, + "301": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "LineItemTaxLineDTO.item" + }, + "302": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "LineItemTaxLineDTO.item_id" + }, + "303": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "LineItemTaxLineDTO.total" + }, + "304": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "LineItemTaxLineDTO.subtotal" + }, + "305": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "LineItemTaxLineDTO.raw_total" + }, + "306": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "LineItemTaxLineDTO.raw_subtotal" + }, + "307": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.id" + }, + "308": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.description" + }, + "309": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.tax_rate_id" + }, + "310": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.code" + }, + "311": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.rate" + }, + "312": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.provider_id" + }, + "313": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.created_at" + }, + "314": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "TaxLineDTO.updated_at" + }, + "315": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartAddressDTO" + }, + "316": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartAddressDTO.id" + }, + "317": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartAddressDTO.customer_id" + }, + "318": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartAddressDTO.first_name" + }, + "319": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartAddressDTO.last_name" + }, + "320": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartAddressDTO.phone" + }, + "321": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartAddressDTO.company" + }, + "322": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartAddressDTO.address_1" + }, + "323": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartAddressDTO.address_2" + }, + "324": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartAddressDTO.city" + }, + "325": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartAddressDTO.country_code" + }, + "326": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartAddressDTO.province" + }, + "327": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartAddressDTO.postal_code" + }, + "328": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartAddressDTO.metadata" + }, + "329": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartAddressDTO.created_at" + }, + "330": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartAddressDTO.updated_at" + }, + "331": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO" + }, + "332": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.id" + }, + "333": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.cart_id" + }, + "334": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.name" + }, + "335": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.description" + }, + "336": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.amount" + }, + "337": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.is_tax_inclusive" + }, + "338": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.shipping_option_id" + }, + "339": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.data" + }, + "340": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.metadata" + }, + "341": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.tax_lines" + }, + "342": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.adjustments" + }, + "343": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.created_at" + }, + "344": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.updated_at" + }, + "345": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.original_total" + }, + "346": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.original_subtotal" + }, + "347": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.original_tax_total" + }, + "348": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.total" + }, + "349": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.subtotal" + }, + "350": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.tax_total" + }, + "351": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.discount_total" + }, + "352": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.discount_tax_total" + }, + "353": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.raw_original_total" + }, + "354": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.raw_original_subtotal" + }, + "355": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.raw_original_tax_total" + }, + "356": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.raw_total" + }, + "357": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.raw_subtotal" + }, + "358": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.raw_tax_total" + }, + "359": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.raw_discount_total" + }, + "360": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartShippingMethodDTO.raw_discount_tax_total" + }, + "361": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO" + }, + "362": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.original_total" + }, + "363": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.original_subtotal" + }, + "364": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.original_tax_total" + }, + "365": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.item_total" + }, + "366": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.item_subtotal" + }, + "367": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.item_tax_total" + }, + "368": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.total" + }, + "369": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.subtotal" + }, + "370": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.tax_total" + }, + "371": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.discount_total" + }, + "372": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.discount_tax_total" + }, + "373": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_original_total" + }, + "374": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_original_subtotal" + }, + "375": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_original_tax_total" + }, + "376": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_item_total" + }, + "377": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_item_subtotal" + }, + "378": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_item_tax_total" + }, + "379": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_total" + }, + "380": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_subtotal" + }, + "381": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_tax_total" + }, + "382": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_discount_total" + }, + "383": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_discount_tax_total" + }, + "384": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO" + }, + "385": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.id" + }, + "386": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.title" + }, + "387": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.subtitle" + }, + "388": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.thumbnail" + }, + "389": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.quantity" + }, + "390": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.product_id" + }, + "391": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.product_title" + }, + "392": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.product_description" + }, + "393": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.product_subtitle" + }, + "394": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.product_type" + }, + "395": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.product_collection" + }, + "396": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.product_handle" + }, + "397": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.variant_id" + }, + "398": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.variant_sku" + }, + "399": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.variant_barcode" + }, + "400": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.variant_title" + }, + "401": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.variant_option_values" + }, + "402": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.requires_shipping" + }, + "403": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.is_discountable" + }, + "404": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.is_tax_inclusive" + }, + "405": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.compare_at_unit_price" + }, + "406": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.unit_price" + }, + "407": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.tax_lines" + }, + "408": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.adjustments" + }, + "409": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.cart" + }, + "410": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.cart_id" + }, + "411": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.metadata" + }, + "412": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.created_at" + }, + "413": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.updated_at" + }, + "414": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemDTO.deleted_at" + }, + "415": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.original_total" + }, + "416": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.original_subtotal" + }, + "417": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.original_tax_total" + }, + "418": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.item_total" + }, + "419": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.item_subtotal" + }, + "420": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.item_tax_total" + }, + "421": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.total" + }, + "422": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.subtotal" + }, + "423": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.tax_total" + }, + "424": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.discount_total" + }, + "425": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.discount_tax_total" + }, + "426": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_original_total" + }, + "427": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_original_subtotal" + }, + "428": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_original_tax_total" + }, + "429": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_item_total" + }, + "430": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_item_subtotal" + }, + "431": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_item_tax_total" + }, + "432": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_total" + }, + "433": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_subtotal" + }, + "434": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_tax_total" + }, + "435": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_discount_total" + }, + "436": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartLineItemTotalsDTO.raw_discount_tax_total" + }, + "437": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO" + }, + "438": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.id" + }, + "439": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.region_id" + }, + "440": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.customer_id" + }, + "441": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.sales_channel_id" + }, + "442": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.email" + }, + "443": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.currency_code" + }, + "444": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.shipping_address" + }, + "445": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.billing_address" + }, + "446": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.items" + }, + "447": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.shipping_methods" + }, + "448": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.metadata" + }, + "449": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.created_at" + }, + "450": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.updated_at" + }, + "451": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.original_item_total" + }, + "452": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.original_item_subtotal" + }, + "453": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.original_item_tax_total" + }, + "454": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.item_total" + }, + "455": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.item_subtotal" + }, + "456": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.item_tax_total" + }, + "457": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.original_total" + }, + "458": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.original_subtotal" + }, + "459": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.original_tax_total" + }, + "460": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.total" + }, + "461": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.subtotal" + }, + "462": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.tax_total" + }, + "463": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.discount_total" + }, + "464": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.discount_tax_total" + }, + "465": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.gift_card_total" + }, + "466": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.gift_card_tax_total" + }, + "467": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.shipping_total" + }, + "468": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.shipping_subtotal" + }, + "469": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.shipping_tax_total" + }, + "470": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.original_shipping_total" + }, + "471": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.original_shipping_subtotal" + }, + "472": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.original_shipping_tax_total" + }, + "473": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_original_item_total" + }, + "474": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_original_item_subtotal" + }, + "475": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_original_item_tax_total" + }, + "476": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_item_total" + }, + "477": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_item_subtotal" + }, + "478": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_item_tax_total" + }, + "479": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_original_total" + }, + "480": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_original_subtotal" + }, + "481": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_original_tax_total" + }, + "482": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_total" + }, + "483": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_subtotal" + }, + "484": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_tax_total" + }, + "485": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_discount_total" + }, + "486": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_discount_tax_total" + }, + "487": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_gift_card_total" + }, + "488": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_gift_card_tax_total" + }, + "489": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_shipping_total" + }, + "490": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_shipping_subtotal" + }, + "491": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_shipping_tax_total" + }, + "492": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_original_shipping_total" + }, + "493": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_original_shipping_subtotal" + }, + "494": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_original_shipping_tax_total" + }, + "495": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableCartProps" + }, + "496": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableCartProps.id" + }, + "497": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableCartProps.sales_channel_id" + }, + "498": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableCartProps.customer_id" + }, + "499": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableCartProps.region_id" + }, + "500": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableCartProps.created_at" + }, + "501": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableCartProps.updated_at" + }, + "502": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "503": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "504": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableAddressProps" + }, + "505": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableAddressProps.id" + }, + "506": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "507": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "508": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemProps" + }, + "509": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemProps.id" + }, + "510": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemProps.cart_id" + }, + "511": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemProps.title" + }, + "512": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemProps.variant_id" + }, + "513": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemProps.product_id" + }, + "514": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "515": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "516": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemAdjustmentProps" + }, + "517": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemAdjustmentProps.id" + }, + "518": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemAdjustmentProps.item_id" + }, + "519": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemAdjustmentProps.promotion_id" + }, + "520": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemAdjustmentProps.provider_id" + }, + "521": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemAdjustmentProps.item" + }, + "522": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "523": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "524": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableShippingMethodProps" + }, + "525": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableShippingMethodProps.id" + }, + "526": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableShippingMethodProps.cart_id" + }, + "527": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableShippingMethodProps.name" + }, + "528": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableShippingMethodProps.shipping_option_id" + }, + "529": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "530": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "531": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableShippingMethodAdjustmentProps" + }, + "532": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableShippingMethodAdjustmentProps.id" + }, + "533": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableShippingMethodAdjustmentProps.shipping_method_id" + }, + "534": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableShippingMethodAdjustmentProps.promotion_id" + }, + "535": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableShippingMethodAdjustmentProps.provider_id" + }, + "536": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableShippingMethodAdjustmentProps.shipping_method" + }, + "537": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "538": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "539": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemTaxLineProps" + }, + "540": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemTaxLineProps.id" + }, + "541": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemTaxLineProps.description" + }, + "542": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemTaxLineProps.code" + }, + "543": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemTaxLineProps.tax_rate_id" + }, + "544": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemTaxLineProps.provider_id" + }, + "545": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemTaxLineProps.item_id" + }, + "546": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableLineItemTaxLineProps.item" + }, + "547": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "548": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "549": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableShippingMethodTaxLineProps" + }, + "550": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableShippingMethodTaxLineProps.id" + }, + "551": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableShippingMethodTaxLineProps.description" + }, + "552": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableShippingMethodTaxLineProps.code" + }, + "553": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableShippingMethodTaxLineProps.tax_rate_id" + }, + "554": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableShippingMethodTaxLineProps.provider_id" + }, + "555": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableShippingMethodTaxLineProps.shipping_method_id" + }, + "556": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "FilterableShippingMethodTaxLineProps.shipping_method" + }, + "557": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "558": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "559": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "legacy_CartDTO" + }, + "560": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type" + }, + "561": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.id" + }, + "562": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.email" + }, + "563": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.billing_address_id" + }, + "564": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.shipping_address_id" + }, + "565": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.region_id" + }, + "566": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.customer_id" + }, + "567": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.payment_id" + }, + "568": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.completed_at" + }, + "569": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.payment_authorized_at" + }, + "570": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.idempotency_key" + }, + "571": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.context" + }, + "572": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.metadata" + }, + "573": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.sales_channel_id" + }, + "574": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.shipping_total" + }, + "575": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.discount_total" + }, + "576": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.raw_discount_total" + }, + "577": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.item_tax_total" + }, + "578": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.shipping_tax_total" + }, + "579": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.tax_total" + }, + "580": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.refunded_total" + }, + "581": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.total" + }, + "582": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.subtotal" + }, + "583": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.refundable_amount" + }, + "584": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.gift_card_total" + }, + "585": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "__type.gift_card_tax_total" + }, + "586": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO" + }, + "587": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.customer_id" + }, + "588": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.company" + }, + "589": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.first_name" + }, + "590": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.last_name" + }, + "591": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.address_1" + }, + "592": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.address_2" + }, + "593": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.city" + }, + "594": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.country_code" + }, + "595": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.province" + }, + "596": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.postal_code" + }, + "597": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.phone" + }, + "598": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.metadata" + }, + "599": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateAddressDTO" + }, + "600": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateAddressDTO.id" + }, + "601": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.customer_id" + }, + "602": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.company" + }, + "603": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.first_name" + }, + "604": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.last_name" + }, + "605": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.address_1" + }, + "606": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.address_2" + }, + "607": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.city" + }, + "608": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.country_code" + }, + "609": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.province" + }, + "610": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.postal_code" + }, + "611": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.phone" + }, + "612": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.metadata" + }, + "613": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateAddressDTO" + }, + "614": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.customer_id" + }, + "615": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.company" + }, + "616": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.first_name" + }, + "617": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.last_name" + }, + "618": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.address_1" + }, + "619": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.address_2" + }, + "620": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.city" + }, + "621": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.country_code" + }, + "622": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.province" + }, + "623": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.postal_code" + }, + "624": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.phone" + }, + "625": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertAddressDTO.metadata" + }, + "626": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateCartDTO" + }, + "627": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateCartDTO.region_id" + }, + "628": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateCartDTO.customer_id" + }, + "629": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateCartDTO.sales_channel_id" + }, + "630": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateCartDTO.email" + }, + "631": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateCartDTO.currency_code" + }, + "632": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateCartDTO.shipping_address_id" + }, + "633": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateCartDTO.billing_address_id" + }, + "634": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateCartDTO.shipping_address" + }, + "635": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateCartDTO.billing_address" + }, + "636": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateCartDTO.metadata" + }, + "637": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateCartDTO.items" + }, + "638": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO" + }, + "639": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.region_id" + }, + "640": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.customer_id" + }, + "641": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.sales_channel_id" + }, + "642": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.email" + }, + "643": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.currency_code" + }, + "644": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.shipping_address_id" + }, + "645": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.billing_address_id" + }, + "646": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.billing_address" + }, + "647": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.shipping_address" + }, + "648": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.metadata" + }, + "649": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDTO" + }, + "650": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDTO.id" + }, + "651": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.region_id" + }, + "652": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.customer_id" + }, + "653": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.sales_channel_id" + }, + "654": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.email" + }, + "655": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.currency_code" + }, + "656": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.shipping_address_id" + }, + "657": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.billing_address_id" + }, + "658": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.billing_address" + }, + "659": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.shipping_address" + }, + "660": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartDataDTO.metadata" + }, + "661": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateAdjustmentDTO" + }, + "662": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateAdjustmentDTO.code" + }, + "663": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateAdjustmentDTO.amount" + }, + "664": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateAdjustmentDTO.description" + }, + "665": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateAdjustmentDTO.promotion_id" + }, + "666": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateAdjustmentDTO.provider_id" + }, + "667": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateAdjustmentDTO" + }, + "668": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateAdjustmentDTO.id" + }, + "669": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateAdjustmentDTO.code" + }, + "670": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateAdjustmentDTO.amount" + }, + "671": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateAdjustmentDTO.description" + }, + "672": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateAdjustmentDTO.promotion_id" + }, + "673": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateAdjustmentDTO.provider_id" + }, + "674": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemAdjustmentDTO" + }, + "675": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemAdjustmentDTO.item_id" + }, + "676": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateAdjustmentDTO.code" + }, + "677": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateAdjustmentDTO.amount" + }, + "678": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateAdjustmentDTO.description" + }, + "679": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateAdjustmentDTO.promotion_id" + }, + "680": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateAdjustmentDTO.provider_id" + }, + "681": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateLineItemAdjustmentDTO" + }, + "682": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateLineItemAdjustmentDTO.item_id" + }, + "683": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateAdjustmentDTO.id" + }, + "684": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateAdjustmentDTO.code" + }, + "685": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateAdjustmentDTO.amount" + }, + "686": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateAdjustmentDTO.description" + }, + "687": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateAdjustmentDTO.promotion_id" + }, + "688": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateAdjustmentDTO.provider_id" + }, + "689": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertLineItemAdjustmentDTO" + }, + "690": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertLineItemAdjustmentDTO.id" + }, + "691": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertLineItemAdjustmentDTO.item_id" + }, + "692": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertLineItemAdjustmentDTO.code" + }, + "693": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertLineItemAdjustmentDTO.amount" + }, + "694": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertLineItemAdjustmentDTO.description" + }, + "695": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertLineItemAdjustmentDTO.promotion_id" + }, + "696": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpsertLineItemAdjustmentDTO.provider_id" + }, + "697": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateTaxLineDTO" + }, + "698": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateTaxLineDTO.description" + }, + "699": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateTaxLineDTO.tax_rate_id" + }, + "700": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateTaxLineDTO.code" + }, + "701": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateTaxLineDTO.rate" + }, + "702": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateTaxLineDTO.provider_id" + }, + "703": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateTaxLineDTO" + }, + "704": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateTaxLineDTO.id" + }, + "705": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateTaxLineDTO.description" + }, + "706": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateTaxLineDTO.tax_rate_id" + }, + "707": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateTaxLineDTO.code" + }, + "708": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateTaxLineDTO.rate" + }, + "709": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateTaxLineDTO.provider_id" + }, + "710": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodTaxLineDTO" + }, + "711": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateTaxLineDTO.description" + }, + "712": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateTaxLineDTO.tax_rate_id" + }, + "713": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateTaxLineDTO.code" + }, + "714": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateTaxLineDTO.rate" + }, + "715": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateTaxLineDTO.provider_id" + }, + "716": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateShippingMethodTaxLineDTO" + }, + "717": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateTaxLineDTO.id" + }, + "718": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateTaxLineDTO.description" + }, + "719": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateTaxLineDTO.tax_rate_id" + }, + "720": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateTaxLineDTO.code" + }, + "721": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateTaxLineDTO.rate" + }, + "722": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateTaxLineDTO.provider_id" + }, + "723": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemTaxLineDTO" + }, + "724": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateTaxLineDTO.description" + }, + "725": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateTaxLineDTO.tax_rate_id" + }, + "726": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateTaxLineDTO.code" + }, + "727": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateTaxLineDTO.rate" + }, + "728": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateTaxLineDTO.provider_id" + }, + "729": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateLineItemTaxLineDTO" + }, + "730": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateTaxLineDTO.id" + }, + "731": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateTaxLineDTO.description" + }, + "732": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateTaxLineDTO.tax_rate_id" + }, + "733": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateTaxLineDTO.code" + }, + "734": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateTaxLineDTO.rate" + }, + "735": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateTaxLineDTO.provider_id" + }, + "736": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO" + }, + "737": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.title" + }, + "738": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.subtitle" + }, + "739": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.thumbnail" + }, + "740": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.cart_id" + }, + "741": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.quantity" + }, + "742": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.product_id" + }, + "743": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.product_title" + }, + "744": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.product_description" + }, + "745": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.product_subtitle" + }, + "746": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.product_type" + }, + "747": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.product_collection" + }, + "748": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.product_handle" + }, + "749": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.variant_id" + }, + "750": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.variant_sku" + }, + "751": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.variant_barcode" + }, + "752": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.variant_title" + }, + "753": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.variant_option_values" + }, + "754": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.requires_shipping" + }, + "755": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.is_discountable" + }, + "756": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.is_tax_inclusive" + }, + "757": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.compare_at_unit_price" + }, + "758": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.unit_price" + }, + "759": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.tax_lines" + }, + "760": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.adjustments" + }, + "761": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemForCartDTO" + }, + "762": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemForCartDTO.cart_id" + }, + "763": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.title" + }, + "764": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.subtitle" + }, + "765": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.thumbnail" + }, + "766": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.quantity" + }, + "767": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.product_id" + }, + "768": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.product_title" + }, + "769": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.product_description" + }, + "770": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.product_subtitle" + }, + "771": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.product_type" + }, + "772": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.product_collection" + }, + "773": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.product_handle" + }, + "774": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.variant_id" + }, + "775": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.variant_sku" + }, + "776": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.variant_barcode" + }, + "777": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.variant_title" + }, + "778": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.variant_option_values" + }, + "779": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.requires_shipping" + }, + "780": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.is_discountable" + }, + "781": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.is_tax_inclusive" + }, + "782": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.compare_at_unit_price" + }, + "783": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.unit_price" + }, + "784": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.tax_lines" + }, + "785": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateLineItemDTO.adjustments" + }, + "786": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateLineItemWithSelectorDTO" + }, + "787": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateLineItemWithSelectorDTO.selector" + }, + "788": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateLineItemWithSelectorDTO.data" + }, + "789": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartWithSelectorDTO" + }, + "790": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartWithSelectorDTO.selector" + }, + "791": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateCartWithSelectorDTO.data" + }, + "792": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateLineItemDTO" + }, + "793": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateLineItemDTO.id" + }, + "794": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateLineItemDTO.title" + }, + "795": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateLineItemDTO.quantity" + }, + "796": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateLineItemDTO.unit_price" + }, + "797": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateLineItemDTO.metadata" + }, + "798": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateLineItemDTO.tax_lines" + }, + "799": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateLineItemDTO.adjustments" + }, + "800": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "cart_id" + }, + "801": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "variant_id" + }, + "802": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "product_id" + }, + "803": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "subtitle" + }, + "804": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "thumbnail" + }, + "805": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "product_title" + }, + "806": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "product_description" + }, + "807": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "product_subtitle" + }, + "808": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "product_type" + }, + "809": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "product_collection" + }, + "810": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "product_handle" + }, + "811": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "variant_sku" + }, + "812": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "variant_barcode" + }, + "813": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "variant_title" + }, + "814": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "variant_option_values" + }, + "815": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "requires_shipping" + }, + "816": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "is_discountable" + }, + "817": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "is_tax_inclusive" + }, + "818": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "compare_at_unit_price" + }, + "819": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodDTO" + }, + "820": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodDTO.name" + }, + "821": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodDTO.cart_id" + }, + "822": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodDTO.amount" + }, + "823": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodDTO.shipping_option_id" + }, + "824": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodDTO.data" + }, + "825": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodDTO.tax_lines" + }, + "826": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodDTO.adjustments" + }, + "827": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodForSingleCartDTO" + }, + "828": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodForSingleCartDTO.name" + }, + "829": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodForSingleCartDTO.amount" + }, + "830": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodForSingleCartDTO.shipping_option_id" + }, + "831": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodForSingleCartDTO.data" + }, + "832": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodForSingleCartDTO.tax_lines" + }, + "833": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodForSingleCartDTO.adjustments" + }, + "834": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateShippingMethodDTO" + }, + "835": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateShippingMethodDTO.id" + }, + "836": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateShippingMethodDTO.name" + }, + "837": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateShippingMethodDTO.amount" + }, + "838": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateShippingMethodDTO.data" + }, + "839": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateShippingMethodDTO.tax_lines" + }, + "840": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateShippingMethodDTO.adjustments" + }, + "841": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodAdjustmentDTO" + }, + "842": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodAdjustmentDTO.shipping_method_id" + }, + "843": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodAdjustmentDTO.code" + }, + "844": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodAdjustmentDTO.amount" + }, + "845": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodAdjustmentDTO.description" + }, + "846": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodAdjustmentDTO.promotion_id" + }, + "847": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "CreateShippingMethodAdjustmentDTO.provider_id" + }, + "848": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateShippingMethodAdjustmentDTO" + }, + "849": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateShippingMethodAdjustmentDTO.id" + }, + "850": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateShippingMethodAdjustmentDTO.code" + }, + "851": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateShippingMethodAdjustmentDTO.amount" + }, + "852": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateShippingMethodAdjustmentDTO.description" + }, + "853": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateShippingMethodAdjustmentDTO.promotion_id" + }, + "854": { + "sourceFileName": "../../../packages/types/src/cart/mutations.ts", + "qualifiedName": "UpdateShippingMethodAdjustmentDTO.provider_id" + }, + "855": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService" + }, + "856": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.retrieve" + }, + "857": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.retrieve" + }, + "858": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "cartId" + }, + "859": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "860": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "861": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.list" + }, + "862": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.list" + }, + "863": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "filters" + }, + "864": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "865": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "866": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.listAndCount" + }, + "867": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.listAndCount" + }, + "868": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "filters" + }, + "869": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "870": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "871": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.create" + }, + "872": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.create" + }, + "873": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "874": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "875": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.create" + }, + "876": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "877": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "878": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.update" + }, + "879": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.update" + }, + "880": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "881": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.update" + }, + "882": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "cartId" + }, + "883": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "884": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "885": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.update" + }, + "886": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "selector" + }, + "887": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "888": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "889": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.delete" + }, + "890": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.delete" + }, + "891": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "cartIds" + }, + "892": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "893": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.delete" + }, + "894": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "cartId" + }, + "895": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "896": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.delete" + }, + "897": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "898": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "899": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.delete" + }, + "900": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "id" + }, + "901": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "902": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.listAddresses" + }, + "903": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.listAddresses" + }, + "904": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "filters" + }, + "905": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "906": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "907": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.createAddresses" + }, + "908": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.createAddresses" + }, + "909": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "910": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "911": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.createAddresses" + }, + "912": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "913": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "914": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.updateAddresses" + }, + "915": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.updateAddresses" + }, + "916": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "917": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "918": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.updateAddresses" + }, + "919": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "920": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "921": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteAddresses" + }, + "922": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteAddresses" + }, + "923": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "924": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "925": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteAddresses" + }, + "926": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "927": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "928": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.retrieveLineItem" + }, + "929": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.retrieveLineItem" + }, + "930": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "itemId" + }, + "931": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "932": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "933": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.listLineItems" + }, + "934": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.listLineItems" + }, + "935": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "filters" + }, + "936": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "937": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "938": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addLineItems" + }, + "939": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addLineItems" + }, + "940": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "941": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addLineItems" + }, + "942": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "943": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addLineItems" + }, + "944": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "cartId" + }, + "945": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "items" + }, + "946": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "947": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.updateLineItems" + }, + "948": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.updateLineItems" + }, + "949": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "950": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.updateLineItems" + }, + "951": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "selector" + }, + "952": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "953": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "954": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.updateLineItems" + }, + "955": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "lineId" + }, + "956": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "957": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "958": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.listShippingMethods" + }, + "959": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.listShippingMethods" + }, + "960": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "filters" + }, + "961": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "962": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "963": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addShippingMethods" + }, + "964": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addShippingMethods" + }, + "965": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "966": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addShippingMethods" + }, + "967": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "968": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addShippingMethods" + }, + "969": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "cartId" + }, + "970": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "methods" + }, + "971": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "972": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.listLineItemAdjustments" + }, + "973": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.listLineItemAdjustments" + }, + "974": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "filters" + }, + "975": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "976": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "977": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addLineItemAdjustments" + }, + "978": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addLineItemAdjustments" + }, + "979": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "980": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addLineItemAdjustments" + }, + "981": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "982": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addLineItemAdjustments" + }, + "983": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "cartId" + }, + "984": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "985": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.setLineItemAdjustments" + }, + "986": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.setLineItemAdjustments" + }, + "987": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "cartId" + }, + "988": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "989": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "990": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.listShippingMethodAdjustments" + }, + "991": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.listShippingMethodAdjustments" + }, + "992": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "filters" + }, + "993": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "994": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "995": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addShippingMethodAdjustments" + }, + "996": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addShippingMethodAdjustments" + }, + "997": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "998": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addShippingMethodAdjustments" + }, + "999": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "1000": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addShippingMethodAdjustments" + }, + "1001": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "cartId" + }, + "1002": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "1003": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1004": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.setShippingMethodAdjustments" + }, + "1005": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.setShippingMethodAdjustments" + }, + "1006": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "cartId" + }, + "1007": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "data" + }, + "1008": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1009": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.listLineItemTaxLines" + }, + "1010": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.listLineItemTaxLines" + }, + "1011": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "filters" + }, + "1012": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "1013": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1014": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addLineItemTaxLines" + }, + "1015": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addLineItemTaxLines" + }, + "1016": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "taxLines" + }, + "1017": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addLineItemTaxLines" + }, + "1018": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "taxLine" + }, + "1019": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addLineItemTaxLines" + }, + "1020": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "cartId" + }, + "1021": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "taxLines" + }, + "1022": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1023": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.setLineItemTaxLines" + }, + "1024": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.setLineItemTaxLines" + }, + "1025": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "cartId" + }, + "1026": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "taxLines" + }, + "1027": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1028": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.listShippingMethodTaxLines" + }, + "1029": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.listShippingMethodTaxLines" + }, + "1030": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "filters" + }, + "1031": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "1032": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1033": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addShippingMethodTaxLines" + }, + "1034": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addShippingMethodTaxLines" + }, + "1035": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "taxLines" + }, + "1036": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addShippingMethodTaxLines" + }, + "1037": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "taxLine" + }, + "1038": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.addShippingMethodTaxLines" + }, + "1039": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "cartId" + }, + "1040": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "taxLines" + }, + "1041": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1042": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.setShippingMethodTaxLines" + }, + "1043": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.setShippingMethodTaxLines" + }, + "1044": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "cartId" + }, + "1045": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "taxLines" + }, + "1046": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1047": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteLineItems" + }, + "1048": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteLineItems" + }, + "1049": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1050": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1051": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteLineItems" + }, + "1052": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "id" + }, + "1053": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1054": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteShippingMethods" + }, + "1055": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteShippingMethods" + }, + "1056": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1057": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1058": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteShippingMethods" + }, + "1059": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "id" + }, + "1060": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1061": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteLineItemAdjustments" + }, + "1062": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteLineItemAdjustments" + }, + "1063": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1064": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1065": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteLineItemAdjustments" + }, + "1066": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "id" + }, + "1067": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1068": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteShippingMethodAdjustments" + }, + "1069": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteShippingMethodAdjustments" + }, + "1070": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1071": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1072": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteShippingMethodAdjustments" + }, + "1073": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "id" + }, + "1074": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1075": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteLineItemTaxLines" + }, + "1076": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteLineItemTaxLines" + }, + "1077": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1078": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1079": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteLineItemTaxLines" + }, + "1080": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "id" + }, + "1081": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1082": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteShippingMethodTaxLines" + }, + "1083": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteShippingMethodTaxLines" + }, + "1084": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1085": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1086": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.deleteShippingMethodTaxLines" + }, + "1087": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "id" + }, + "1088": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1089": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.softDelete" + }, + "1090": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.softDelete" + }, + "1091": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1092": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1093": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "1094": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1095": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.restore" + }, + "1096": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.restore" + }, + "1097": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1098": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1099": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "1100": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1101": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.softDeleteAddresses" + }, + "1102": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.softDeleteAddresses" + }, + "1103": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1104": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1105": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "1106": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1107": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.restoreAddresses" + }, + "1108": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.restoreAddresses" + }, + "1109": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1110": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1111": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "1112": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1113": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.softDeleteLineItems" + }, + "1114": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.softDeleteLineItems" + }, + "1115": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1116": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1117": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "1118": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1119": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.restoreLineItems" + }, + "1120": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.restoreLineItems" + }, + "1121": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1122": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1123": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "1124": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1125": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.softDeleteShippingMethods" + }, + "1126": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.softDeleteShippingMethods" + }, + "1127": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1128": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1129": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "1130": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1131": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.restoreShippingMethods" + }, + "1132": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.restoreShippingMethods" + }, + "1133": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1134": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1135": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "1136": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1137": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.softDeleteLineItemAdjustments" + }, + "1138": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.softDeleteLineItemAdjustments" + }, + "1139": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1140": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1141": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "1142": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1143": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.restoreLineItemAdjustments" + }, + "1144": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.restoreLineItemAdjustments" + }, + "1145": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1146": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1147": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "1148": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1149": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.softDeleteShippingMethodAdjustments" + }, + "1150": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.softDeleteShippingMethodAdjustments" + }, + "1151": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1152": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1153": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "1154": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1155": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.restoreShippingMethodAdjustments" + }, + "1156": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.restoreShippingMethodAdjustments" + }, + "1157": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1158": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1159": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "1160": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1161": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.softDeleteLineItemTaxLines" + }, + "1162": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.softDeleteLineItemTaxLines" + }, + "1163": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1164": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1165": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "1166": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1167": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.restoreLineItemTaxLines" + }, + "1168": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.restoreLineItemTaxLines" + }, + "1169": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1170": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1171": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "1172": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1173": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.softDeleteShippingMethodTaxLines" + }, + "1174": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.softDeleteShippingMethodTaxLines" + }, + "1175": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1176": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1177": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "1178": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1179": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.restoreShippingMethodTaxLines" + }, + "1180": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ICartModuleService.restoreShippingMethodTaxLines" + }, + "1181": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1182": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "ids" + }, + "1183": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "config" + }, + "1184": { + "sourceFileName": "../../../packages/types/src/cart/service.ts", + "qualifiedName": "sharedContext" + }, + "1198": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO" + }, + "1199": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.quantity" + }, + "1200": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.variant_id" + }, + "1201": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.title" + }, + "1202": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.subtitle" + }, + "1203": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.thumbnail" + }, + "1204": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.product_id" + }, + "1205": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.product_title" + }, + "1206": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.product_description" + }, + "1207": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.product_subtitle" + }, + "1208": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.product_type" + }, + "1209": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.product_collection" + }, + "1210": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.product_handle" + }, + "1211": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.variant_sku" + }, + "1212": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.variant_barcode" + }, + "1213": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.variant_title" + }, + "1214": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.variant_option_values" + }, + "1215": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.requires_shipping" + }, + "1216": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.is_discountable" + }, + "1217": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.is_tax_inclusive" + }, + "1218": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.is_giftcard" + }, + "1219": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.compare_at_unit_price" + }, + "1220": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.unit_price" + }, + "1221": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartCreateLineItemDTO.metadata" + }, + "1222": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "UpdateLineItemInCartWorkflowInputDTO" + }, + "1223": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "UpdateLineItemInCartWorkflowInputDTO.cart" + }, + "1224": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "UpdateLineItemInCartWorkflowInputDTO.item" + }, + "1225": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "UpdateLineItemInCartWorkflowInputDTO.update" + }, + "1226": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartAddressDTO" + }, + "1227": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartAddressDTO.first_name" + }, + "1228": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartAddressDTO.last_name" + }, + "1229": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartAddressDTO.phone" + }, + "1230": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartAddressDTO.company" + }, + "1231": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartAddressDTO.address_1" + }, + "1232": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartAddressDTO.address_2" + }, + "1233": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartAddressDTO.city" + }, + "1234": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartAddressDTO.country_code" + }, + "1235": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartAddressDTO.province" + }, + "1236": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartAddressDTO.postal_code" + }, + "1237": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartAddressDTO.metadata" + }, + "1238": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartWorkflowInputDTO" + }, + "1239": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.region_id" + }, + "1240": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.customer_id" + }, + "1241": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.sales_channel_id" + }, + "1242": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.email" + }, + "1243": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.currency_code" + }, + "1244": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.shipping_address_id" + }, + "1245": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.billing_address_id" + }, + "1246": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.shipping_address" + }, + "1247": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.billing_address" + }, + "1248": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.metadata" + }, + "1249": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.items" + }, + "1250": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.promo_codes" + }, + "1251": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "AddToCartWorkflowInputDTO" + }, + "1252": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "AddToCartWorkflowInputDTO.items" + }, + "1253": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "AddToCartWorkflowInputDTO.cart" + }, + "1254": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "UpdateCartWorkflowInputDTO" + }, + "1255": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "UpdateCartWorkflowInputDTO.id" + }, + "1256": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "UpdateCartWorkflowInputDTO.promo_codes" + }, + "1257": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "UpdateCartWorkflowInputDTO.region_id" + }, + "1258": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "UpdateCartWorkflowInputDTO.customer_id" + }, + "1259": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "UpdateCartWorkflowInputDTO.sales_channel_id" + }, + "1260": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "UpdateCartWorkflowInputDTO.email" + }, + "1261": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "UpdateCartWorkflowInputDTO.currency_code" + }, + "1262": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "UpdateCartWorkflowInputDTO.metadata" + }, + "1263": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreatePaymentCollectionForCartWorkflowInputDTO" + }, + "1264": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreatePaymentCollectionForCartWorkflowInputDTO.cart_id" + }, + "1265": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreatePaymentCollectionForCartWorkflowInputDTO.region_id" + }, + "1266": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreatePaymentCollectionForCartWorkflowInputDTO.currency_code" + }, + "1267": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreatePaymentCollectionForCartWorkflowInputDTO.amount" + }, + "1268": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CreatePaymentCollectionForCartWorkflowInputDTO.metadata" + }, + "1269": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CartWorkflowDTO" + }, + "1270": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CartWorkflowDTO.customer" + }, + "1271": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CartWorkflowDTO.product" + }, + "1272": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "CartWorkflowDTO.region" + }, + "1273": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.id" + }, + "1274": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.region_id" + }, + "1275": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.customer_id" + }, + "1276": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.sales_channel_id" + }, + "1277": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.email" + }, + "1278": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.currency_code" + }, + "1279": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.shipping_address" + }, + "1280": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.billing_address" + }, + "1281": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.items" + }, + "1282": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.shipping_methods" + }, + "1283": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.metadata" + }, + "1284": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.created_at" + }, + "1285": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.updated_at" + }, + "1286": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.original_item_total" + }, + "1287": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.original_item_subtotal" + }, + "1288": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.original_item_tax_total" + }, + "1289": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.item_total" + }, + "1290": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.item_subtotal" + }, + "1291": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.item_tax_total" + }, + "1292": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.original_total" + }, + "1293": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.original_subtotal" + }, + "1294": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.original_tax_total" + }, + "1295": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.total" + }, + "1296": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.subtotal" + }, + "1297": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.tax_total" + }, + "1298": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.discount_total" + }, + "1299": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.discount_tax_total" + }, + "1300": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.gift_card_total" + }, + "1301": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.gift_card_tax_total" + }, + "1302": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.shipping_total" + }, + "1303": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.shipping_subtotal" + }, + "1304": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.shipping_tax_total" + }, + "1305": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.original_shipping_total" + }, + "1306": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.original_shipping_subtotal" + }, + "1307": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.original_shipping_tax_total" + }, + "1308": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_original_item_total" + }, + "1309": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_original_item_subtotal" + }, + "1310": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_original_item_tax_total" + }, + "1311": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_item_total" + }, + "1312": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_item_subtotal" + }, + "1313": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_item_tax_total" + }, + "1314": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_original_total" + }, + "1315": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_original_subtotal" + }, + "1316": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_original_tax_total" + }, + "1317": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_total" + }, + "1318": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_subtotal" + }, + "1319": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_tax_total" + }, + "1320": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_discount_total" + }, + "1321": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_discount_tax_total" + }, + "1322": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_gift_card_total" + }, + "1323": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_gift_card_tax_total" + }, + "1324": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_shipping_total" + }, + "1325": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_shipping_subtotal" + }, + "1326": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_shipping_tax_total" + }, + "1327": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_original_shipping_total" + }, + "1328": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_original_shipping_subtotal" + }, + "1329": { + "sourceFileName": "../../../packages/types/src/cart/common.ts", + "qualifiedName": "CartDTO.raw_original_shipping_tax_total" + }, + "1330": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "ListShippingOptionsForCartWorkflowInputDTO" + }, + "1331": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "ListShippingOptionsForCartWorkflowInputDTO.cart_id" + }, + "1332": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "ListShippingOptionsForCartWorkflowInputDTO.sales_channel_id" + }, + "1333": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "ListShippingOptionsForCartWorkflowInputDTO.currency_code" + }, + "1334": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "ListShippingOptionsForCartWorkflowInputDTO.shipping_address" + }, + "1335": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "__type" + }, + "1336": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "__type.city" + }, + "1337": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "__type.country_code" + }, + "1338": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "__type.province" + }, + "1339": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "PricedShippingOptionDTO" + }, + "1340": { + "sourceFileName": "../../../packages/types/src/cart/workflows.ts", + "qualifiedName": "PricedShippingOptionDTO.amount" + }, + "1341": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.id" + }, + "1342": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.name" + }, + "1343": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.price_type" + }, + "1344": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.service_zone_id" + }, + "1345": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.shipping_profile_id" + }, + "1346": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.provider_id" + }, + "1347": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.shipping_option_type_id" + }, + "1348": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.data" + }, + "1349": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.metadata" + }, + "1350": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.service_zone" + }, + "1351": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.shipping_profile" + }, + "1352": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.fulfillment_provider" + }, + "1353": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.type" + }, + "1354": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.rules" + }, + "1355": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.fulfillments" + }, + "1356": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.created_at" + }, + "1357": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.updated_at" + }, + "1358": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.deleted_at" + }, + "1359": { + "sourceFileName": "../../../packages/types/src/common/index.ts", + "qualifiedName": "" + }, + "1360": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "WithRequiredProperty" + }, + "1361": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "T" + }, + "1362": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "K" + }, + "1366": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "BaseEntity" + }, + "1367": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "BaseEntity.id" + }, + "1368": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "BaseEntity.created_at" + }, + "1369": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "BaseEntity.updated_at" + }, + "1370": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "SoftDeletableEntity" + }, + "1371": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "SoftDeletableEntity.deleted_at" + }, + "1372": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "BaseEntity.id" + }, + "1373": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "BaseEntity.created_at" + }, + "1374": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "BaseEntity.updated_at" + }, + "1377": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig" + }, + "1378": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig.select" + }, + "1379": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig.skip" + }, + "1380": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig.take" + }, + "1381": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig.relations" + }, + "1382": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig.order" + }, + "1383": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type" + }, + "1384": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.__index" + }, + "1386": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig.withDeleted" + }, + "1387": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig.filters" + }, + "1388": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig.Entity" + }, + "1426": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "RequestQueryFields" + }, + "1427": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.expand" + }, + "1428": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.fields" + }, + "1429": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.offset" + }, + "1430": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.limit" + }, + "1431": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.order" + }, + "1432": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "PaginatedResponse" + }, + "1433": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.limit" + }, + "1434": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.offset" + }, + "1435": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.count" + }, + "1436": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "T" + }, + "1437": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "DeleteResponse" + }, + "1438": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type" + }, + "1439": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.id" + }, + "1440": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.object" + }, + "1441": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.deleted" + }, + "1442": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "T" + }, + "1443": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "EmptyQueryParams" + }, + "1444": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "RepositoryTransformOptions" + }, + "1445": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "DateComparisonOperator" + }, + "1446": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "DateComparisonOperator.lt" + }, + "1447": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "DateComparisonOperator.gt" + }, + "1448": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "DateComparisonOperator.gte" + }, + "1449": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "DateComparisonOperator.lte" + }, + "1450": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "StringComparisonOperator" + }, + "1451": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "StringComparisonOperator.lt" + }, + "1452": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "StringComparisonOperator.gt" + }, + "1453": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "StringComparisonOperator.gte" + }, + "1454": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "StringComparisonOperator.lte" + }, + "1455": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "StringComparisonOperator.contains" + }, + "1456": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "StringComparisonOperator.starts_with" + }, + "1457": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "StringComparisonOperator.ends_with" + }, + "1458": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "NumericalComparisonOperator" + }, + "1459": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "NumericalComparisonOperator.lt" + }, + "1460": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "NumericalComparisonOperator.gt" + }, + "1461": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "NumericalComparisonOperator.gte" + }, + "1462": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "NumericalComparisonOperator.lte" + }, + "1463": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressPayload" + }, + "1464": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressPayload.first_name" + }, + "1465": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressPayload.last_name" + }, + "1466": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressPayload.phone" + }, + "1467": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressPayload.metadata" + }, + "1468": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressPayload.company" + }, + "1469": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressPayload.address_1" + }, + "1470": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressPayload.address_2" + }, + "1471": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressPayload.city" + }, + "1472": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressPayload.country_code" + }, + "1473": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressPayload.province" + }, + "1474": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressPayload.postal_code" + }, + "1475": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressCreatePayload" + }, + "1476": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressCreatePayload.first_name" + }, + "1477": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressCreatePayload.last_name" + }, + "1478": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressCreatePayload.phone" + }, + "1479": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressCreatePayload.metadata" + }, + "1480": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressCreatePayload.company" + }, + "1481": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressCreatePayload.address_1" + }, + "1482": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressCreatePayload.address_2" + }, + "1483": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressCreatePayload.city" + }, + "1484": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressCreatePayload.country_code" + }, + "1485": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressCreatePayload.province" + }, + "1486": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "AddressCreatePayload.postal_code" + }, + "1487": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindParams" + }, + "1488": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindParams.expand" + }, + "1489": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindParams.fields" + }, + "1490": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindPaginationParams" + }, + "1491": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindPaginationParams.offset" + }, + "1492": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindPaginationParams.limit" + }, + "1495": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "SnakeCase" + }, + "1496": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "S" + }, + "1497": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "KebabCase" + }, + "1498": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "S" + }, + "1499": { + "sourceFileName": "../../../packages/types/src/common/rule.ts", + "qualifiedName": "RuleOperatorType" + }, + "1500": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "LinkMethodRequest" + }, + "1501": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type" + }, + "1502": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type.add" + }, + "1503": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type.remove" + }, + "1504": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "LinkWorkflowInput" + }, + "1505": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type" + }, + "1506": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type.id" + }, + "1507": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type.add" + }, + "1508": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type.remove" + }, + "1509": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "BatchMethodRequest" + }, + "1510": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type" + }, + "1511": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type.create" + }, + "1512": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type.update" + }, + "1513": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type.delete" + }, + "1514": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "TCreate" + }, + "1515": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "TUpdate" + }, + "1516": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "BatchMethodResponse" + }, + "1517": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type" + }, + "1518": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type.created" + }, + "1519": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type.updated" + }, + "1520": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type.deleted" + }, + "1521": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type" + }, + "1522": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type.ids" + }, + "1523": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type.object" + }, + "1524": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type.deleted" + }, + "1525": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "T" + }, + "1526": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "BatchWorkflowInput" + }, + "1527": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "TCreate" + }, + "1528": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "TUpdate" + }, + "1529": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "BatchWorkflowOutput" + }, + "1530": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "T" + }, + "1531": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "HttpCompressionOptions" + }, + "1532": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.enabled" + }, + "1533": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.level" + }, + "1534": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.memLevel" + }, + "1535": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.threshold" + }, + "1536": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "ProjectConfigOptions" + }, + "1537": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.store_cors" + }, + "1538": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.admin_cors" + }, + "1539": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.auth_cors" + }, + "1540": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.cookie_secret" + }, + "1541": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.jwt_secret" + }, + "1542": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.database_database" + }, + "1543": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.database_url" + }, + "1544": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.database_schema" + }, + "1545": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.database_logging" + }, + "1547": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.database_extra" + }, + "1548": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type" + }, + "1549": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.ssl" + }, + "1550": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type" + }, + "1551": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.rejectUnauthorized" + }, + "1552": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.database_driver_options" + }, + "1553": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type" + }, + "1554": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.connection" + }, + "1555": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type" + }, + "1556": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.ssl" + }, + "1557": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type" + }, + "1558": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.rejectUnauthorized" + }, + "1559": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.redis_url" + }, + "1560": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.redis_prefix" + }, + "1561": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.redis_options" + }, + "1562": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.session_options" + }, + "1563": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.http_compression" + }, + "1564": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.jobs_batch_size" + }, + "1565": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.worker_mode" + }, + "1566": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "ConfigModule" + }, + "1567": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.projectConfig" + }, + "1568": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.plugins" + }, + "1569": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type" + }, + "1570": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.resolve" + }, + "1571": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.options" + }, + "1572": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.modules" + }, + "1573": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.featureFlags" + }, + "1574": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "PluginDetails" + }, + "1575": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type" + }, + "1576": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.resolve" + }, + "1577": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.name" + }, + "1578": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.id" + }, + "1579": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.options" + }, + "1580": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.version" + }, + "1581": { + "sourceFileName": "../../../packages/types/src/common/medusa-container.ts", + "qualifiedName": "MedusaContainer" + }, + "1582": { + "sourceFileName": "../../../packages/types/src/common/medusa-container.ts", + "qualifiedName": "__type" + }, + "1592": { + "sourceFileName": "../../../packages/types/src/common/medusa-container.ts", + "qualifiedName": "ContainerLike" + }, + "1593": { + "sourceFileName": "../../../packages/types/src/common/medusa-container.ts", + "qualifiedName": "__type" + }, + "1594": { + "sourceFileName": "../../../packages/types/src/common/medusa-container.ts", + "qualifiedName": "__type.resolve" + }, + "1595": { + "sourceFileName": "../../../packages/types/src/common/medusa-container.ts", + "qualifiedName": "__type.resolve" + }, + "1596": { + "sourceFileName": "../../../packages/types/src/common/medusa-container.ts", + "qualifiedName": "T" + }, + "1597": { + "sourceFileName": "../../../packages/types/src/common/medusa-container.ts", + "qualifiedName": "key" + }, + "1598": { + "sourceFileName": "../../../packages/types/src/customer/index.ts", + "qualifiedName": "" + }, + "1599": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerAddressDTO" + }, + "1600": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerAddressDTO.id" + }, + "1601": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerAddressDTO.address_name" + }, + "1602": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerAddressDTO.is_default_shipping" + }, + "1603": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerAddressDTO.is_default_billing" + }, + "1604": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerAddressDTO.customer_id" + }, + "1605": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerAddressDTO.company" + }, + "1606": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerAddressDTO.first_name" + }, + "1607": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerAddressDTO.last_name" + }, + "1608": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerAddressDTO.address_1" + }, + "1609": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerAddressDTO.address_2" + }, + "1610": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerAddressDTO.city" + }, + "1611": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerAddressDTO.country_code" + }, + "1612": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerAddressDTO.province" + }, + "1613": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerAddressDTO.postal_code" + }, + "1614": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerAddressDTO.phone" + }, + "1615": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerAddressDTO.metadata" + }, + "1616": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerAddressDTO.created_at" + }, + "1617": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerAddressDTO.updated_at" + }, + "1618": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps" + }, + "1619": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.q" + }, + "1620": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.id" + }, + "1621": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.address_name" + }, + "1622": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.is_default_shipping" + }, + "1623": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.is_default_billing" + }, + "1624": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.customer_id" + }, + "1625": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.customer" + }, + "1626": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.company" + }, + "1627": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.first_name" + }, + "1628": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.last_name" + }, + "1629": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.address_1" + }, + "1630": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.address_2" + }, + "1631": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.city" + }, + "1632": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.country_code" + }, + "1633": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.province" + }, + "1634": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.postal_code" + }, + "1635": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.phone" + }, + "1636": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.metadata" + }, + "1637": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.created_at" + }, + "1638": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerAddressProps.updated_at" + }, + "1639": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "1640": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "1641": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerGroupProps" + }, + "1642": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerGroupProps.q" + }, + "1643": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerGroupProps.id" + }, + "1644": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerGroupProps.name" + }, + "1645": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerGroupProps.customers" + }, + "1646": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerGroupProps.created_by" + }, + "1647": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerGroupProps.created_at" + }, + "1648": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerGroupProps.updated_at" + }, + "1649": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "1650": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "1651": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerGroupCustomerProps" + }, + "1652": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerGroupCustomerProps.id" + }, + "1653": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerGroupCustomerProps.customer_id" + }, + "1654": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerGroupCustomerProps.customer_group_id" + }, + "1655": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerGroupCustomerProps.customer" + }, + "1656": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerGroupCustomerProps.group" + }, + "1657": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerGroupCustomerProps.created_by" + }, + "1658": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerGroupCustomerProps.created_at" + }, + "1659": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerGroupCustomerProps.updated_at" + }, + "1660": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "1661": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "1662": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerProps" + }, + "1663": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerProps.q" + }, + "1664": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerProps.id" + }, + "1665": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerProps.email" + }, + "1666": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerProps.groups" + }, + "1667": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerProps.default_billing_address_id" + }, + "1668": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerProps.default_shipping_address_id" + }, + "1669": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerProps.company_name" + }, + "1670": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerProps.first_name" + }, + "1671": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerProps.last_name" + }, + "1672": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerProps.has_account" + }, + "1673": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerProps.created_by" + }, + "1674": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerProps.created_at" + }, + "1675": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "FilterableCustomerProps.updated_at" + }, + "1676": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "1677": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "1678": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerGroupDTO" + }, + "1679": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerGroupDTO.id" + }, + "1680": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerGroupDTO.name" + }, + "1681": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerGroupDTO.customers" + }, + "1682": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerGroupDTO.metadata" + }, + "1683": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerGroupDTO.created_by" + }, + "1684": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerGroupDTO.deleted_at" + }, + "1685": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerGroupDTO.created_at" + }, + "1686": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerGroupDTO.updated_at" + }, + "1687": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerGroupCustomerDTO" + }, + "1688": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerGroupCustomerDTO.id" + }, + "1689": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerGroupCustomerDTO.customer_id" + }, + "1690": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerGroupCustomerDTO.customer_group_id" + }, + "1691": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerGroupCustomerDTO.customer" + }, + "1692": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerGroupCustomerDTO.group" + }, + "1693": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerGroupCustomerDTO.created_by" + }, + "1694": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerGroupCustomerDTO.created_at" + }, + "1695": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerGroupCustomerDTO.updated_at" + }, + "1696": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerDTO" + }, + "1697": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerDTO.id" + }, + "1698": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerDTO.email" + }, + "1699": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerDTO.has_account" + }, + "1700": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerDTO.default_billing_address_id" + }, + "1701": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerDTO.default_shipping_address_id" + }, + "1702": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerDTO.company_name" + }, + "1703": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerDTO.first_name" + }, + "1704": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerDTO.last_name" + }, + "1705": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerDTO.addresses" + }, + "1706": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerDTO.phone" + }, + "1707": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerDTO.groups" + }, + "1708": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type" + }, + "1709": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.id" + }, + "1710": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.name" + }, + "1711": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerDTO.metadata" + }, + "1712": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerDTO.created_by" + }, + "1713": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerDTO.deleted_at" + }, + "1714": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerDTO.created_at" + }, + "1715": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "CustomerDTO.updated_at" + }, + "1716": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "GroupCustomerPair" + }, + "1717": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.customer_id" + }, + "1718": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.customer_group_id" + }, + "1719": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "legacy_CustomerDTO" + }, + "1720": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.id" + }, + "1721": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.email" + }, + "1722": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.billing_address_id" + }, + "1723": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.shipping_address_id" + }, + "1724": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.first_name" + }, + "1725": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.last_name" + }, + "1726": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.billing_address" + }, + "1727": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.shipping_address" + }, + "1728": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.phone" + }, + "1729": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.has_account" + }, + "1730": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.groups" + }, + "1731": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type" + }, + "1732": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.id" + }, + "1733": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.orders" + }, + "1734": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type" + }, + "1735": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.id" + }, + "1736": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.metadata" + }, + "1737": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.deleted_at" + }, + "1738": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.created_at" + }, + "1739": { + "sourceFileName": "../../../packages/types/src/customer/common.ts", + "qualifiedName": "__type.updated_at" + }, + "1740": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService" + }, + "1741": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.retrieve" + }, + "1742": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.retrieve" + }, + "1743": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "customerId" + }, + "1744": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "config" + }, + "1745": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1746": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.create" + }, + "1747": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.create" + }, + "1748": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "data" + }, + "1749": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1750": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.create" + }, + "1751": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "data" + }, + "1752": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1753": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.update" + }, + "1754": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.update" + }, + "1755": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "customerId" + }, + "1756": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "data" + }, + "1757": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1758": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.update" + }, + "1759": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "customerIds" + }, + "1760": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "data" + }, + "1761": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1762": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.update" + }, + "1763": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "selector" + }, + "1764": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "data" + }, + "1765": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1766": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.delete" + }, + "1767": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.delete" + }, + "1768": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "customerId" + }, + "1769": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1770": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.delete" + }, + "1771": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "customerIds" + }, + "1772": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1773": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.delete" + }, + "1774": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "selector" + }, + "1775": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1776": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.createCustomerGroup" + }, + "1777": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.createCustomerGroup" + }, + "1778": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "data" + }, + "1779": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1780": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.createCustomerGroup" + }, + "1781": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "data" + }, + "1782": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1783": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.retrieveCustomerGroup" + }, + "1784": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.retrieveCustomerGroup" + }, + "1785": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "groupId" + }, + "1786": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "config" + }, + "1787": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1788": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.updateCustomerGroups" + }, + "1789": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.updateCustomerGroups" + }, + "1790": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "groupId" + }, + "1791": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "data" + }, + "1792": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1793": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.updateCustomerGroups" + }, + "1794": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "groupIds" + }, + "1795": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "data" + }, + "1796": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1797": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.updateCustomerGroups" + }, + "1798": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "selector" + }, + "1799": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "data" + }, + "1800": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1801": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.deleteCustomerGroups" + }, + "1802": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.deleteCustomerGroups" + }, + "1803": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "groupId" + }, + "1804": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1805": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.deleteCustomerGroups" + }, + "1806": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "groupIds" + }, + "1807": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1808": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.deleteCustomerGroups" + }, + "1809": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "selector" + }, + "1810": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1811": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.addCustomerToGroup" + }, + "1812": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.addCustomerToGroup" + }, + "1813": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "groupCustomerPair" + }, + "1814": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1815": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "__type" + }, + "1816": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "__type.id" + }, + "1817": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.addCustomerToGroup" + }, + "1818": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "groupCustomerPairs" + }, + "1819": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1820": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "__type" + }, + "1821": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "__type.id" + }, + "1822": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.removeCustomerFromGroup" + }, + "1823": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.removeCustomerFromGroup" + }, + "1824": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "groupCustomerPair" + }, + "1825": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1826": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.removeCustomerFromGroup" + }, + "1827": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "groupCustomerPairs" + }, + "1828": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1829": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.addAddresses" + }, + "1830": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.addAddresses" + }, + "1831": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "addresses" + }, + "1832": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1833": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.addAddresses" + }, + "1834": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "address" + }, + "1835": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1836": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.updateAddresses" + }, + "1837": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.updateAddresses" + }, + "1838": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "addressId" + }, + "1839": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "data" + }, + "1840": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1841": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.updateAddresses" + }, + "1842": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "addressIds" + }, + "1843": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "data" + }, + "1844": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1845": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.updateAddresses" + }, + "1846": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "selector" + }, + "1847": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "data" + }, + "1848": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1849": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.deleteAddresses" + }, + "1850": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.deleteAddresses" + }, + "1851": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "addressId" + }, + "1852": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1853": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.deleteAddresses" + }, + "1854": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "addressIds" + }, + "1855": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1856": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.deleteAddresses" + }, + "1857": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "selector" + }, + "1858": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1859": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.listAddresses" + }, + "1860": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.listAddresses" + }, + "1861": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "filters" + }, + "1862": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "config" + }, + "1863": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1864": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.listAndCountAddresses" + }, + "1865": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.listAndCountAddresses" + }, + "1866": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "filters" + }, + "1867": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "config" + }, + "1868": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1869": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.listCustomerGroupCustomers" + }, + "1870": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.listCustomerGroupCustomers" + }, + "1871": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "filters" + }, + "1872": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "config" + }, + "1873": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1874": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.list" + }, + "1875": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.list" + }, + "1876": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "filters" + }, + "1877": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "config" + }, + "1878": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1879": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.listAndCount" + }, + "1880": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.listAndCount" + }, + "1881": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "filters" + }, + "1882": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "config" + }, + "1883": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1884": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.listCustomerGroups" + }, + "1885": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.listCustomerGroups" + }, + "1886": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "filters" + }, + "1887": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "config" + }, + "1888": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1889": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.listAndCountCustomerGroups" + }, + "1890": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.listAndCountCustomerGroups" + }, + "1891": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "filters" + }, + "1892": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "config" + }, + "1893": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1894": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.softDelete" + }, + "1895": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.softDelete" + }, + "1896": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1897": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "customerIds" + }, + "1898": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "config" + }, + "1899": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1900": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.restore" + }, + "1901": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.restore" + }, + "1902": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1903": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "customerIds" + }, + "1904": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "config" + }, + "1905": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1906": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.softDeleteCustomerGroups" + }, + "1907": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.softDeleteCustomerGroups" + }, + "1908": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1909": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "groupIds" + }, + "1910": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "config" + }, + "1911": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1912": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.restoreCustomerGroups" + }, + "1913": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "ICustomerModuleService.restoreCustomerGroups" + }, + "1914": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "1915": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "groupIds" + }, + "1916": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "config" + }, + "1917": { + "sourceFileName": "../../../packages/types/src/customer/service.ts", + "qualifiedName": "sharedContext" + }, + "1931": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerAddressDTO" + }, + "1932": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerAddressDTO.address_name" + }, + "1933": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerAddressDTO.is_default_shipping" + }, + "1934": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerAddressDTO.is_default_billing" + }, + "1935": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerAddressDTO.customer_id" + }, + "1936": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerAddressDTO.company" + }, + "1937": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerAddressDTO.first_name" + }, + "1938": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerAddressDTO.last_name" + }, + "1939": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerAddressDTO.address_1" + }, + "1940": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerAddressDTO.address_2" + }, + "1941": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerAddressDTO.city" + }, + "1942": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerAddressDTO.country_code" + }, + "1943": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerAddressDTO.province" + }, + "1944": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerAddressDTO.postal_code" + }, + "1945": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerAddressDTO.phone" + }, + "1946": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerAddressDTO.metadata" + }, + "1947": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerAddressDTO" + }, + "1948": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerAddressDTO.id" + }, + "1949": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerAddressDTO.address_name" + }, + "1950": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerAddressDTO.is_default_shipping" + }, + "1951": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerAddressDTO.is_default_billing" + }, + "1952": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerAddressDTO.customer_id" + }, + "1953": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerAddressDTO.company" + }, + "1954": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerAddressDTO.first_name" + }, + "1955": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerAddressDTO.last_name" + }, + "1956": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerAddressDTO.address_1" + }, + "1957": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerAddressDTO.address_2" + }, + "1958": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerAddressDTO.city" + }, + "1959": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerAddressDTO.country_code" + }, + "1960": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerAddressDTO.province" + }, + "1961": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerAddressDTO.postal_code" + }, + "1962": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerAddressDTO.phone" + }, + "1963": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerAddressDTO.metadata" + }, + "1964": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerDTO" + }, + "1965": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerDTO.company_name" + }, + "1966": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerDTO.first_name" + }, + "1967": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerDTO.last_name" + }, + "1968": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerDTO.email" + }, + "1969": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerDTO.phone" + }, + "1970": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerDTO.created_by" + }, + "1971": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerDTO.addresses" + }, + "1972": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerDTO.metadata" + }, + "1973": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerDTO" + }, + "1974": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerDTO.id" + }, + "1975": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerDTO.company_name" + }, + "1976": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerDTO.first_name" + }, + "1977": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerDTO.last_name" + }, + "1978": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerDTO.email" + }, + "1979": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerDTO.phone" + }, + "1980": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerDTO.metadata" + }, + "1981": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CustomerUpdatableFields" + }, + "1982": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CustomerUpdatableFields.company_name" + }, + "1983": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CustomerUpdatableFields.first_name" + }, + "1984": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CustomerUpdatableFields.last_name" + }, + "1985": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CustomerUpdatableFields.email" + }, + "1986": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CustomerUpdatableFields.phone" + }, + "1987": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CustomerUpdatableFields.metadata" + }, + "1988": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CustomerGroupUpdatableFields" + }, + "1989": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CustomerGroupUpdatableFields.name" + }, + "1990": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CustomerGroupUpdatableFields.metadata" + }, + "1991": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerGroupDTO" + }, + "1992": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerGroupDTO.id" + }, + "1993": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerGroupDTO.name" + }, + "1994": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerGroupDTO.customer_ids" + }, + "1995": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "UpdateCustomerGroupDTO.metadata" + }, + "1996": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerGroupDTO" + }, + "1997": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerGroupDTO.name" + }, + "1998": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerGroupDTO.metadata" + }, + "1999": { + "sourceFileName": "../../../packages/types/src/customer/mutations.ts", + "qualifiedName": "CreateCustomerGroupDTO.created_by" + }, + "2000": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "" + }, + "2001": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "FilterQuery" + }, + "2002": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "2003": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.__index" + }, + "2005": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "T" + }, + "2006": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Prev" + }, + "2007": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "OperatorMap" + }, + "2008": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "2009": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$and" + }, + "2010": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$or" + }, + "2011": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$eq" + }, + "2012": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$ne" + }, + "2013": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$in" + }, + "2014": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$nin" + }, + "2015": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$not" + }, + "2016": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$gt" + }, + "2017": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$gte" + }, + "2018": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$lt" + }, + "2019": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$lte" + }, + "2020": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$like" + }, + "2021": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$re" + }, + "2022": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$ilike" + }, + "2023": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$fulltext" + }, + "2024": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$overlap" + }, + "2025": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$contains" + }, + "2026": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$contained" + }, + "2027": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$exists" + }, + "2028": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "T" + }, + "2029": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable" + }, + "2030": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "2031": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "2032": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.T" + }, + "2033": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "OptionsQuery" + }, + "2034": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "OptionsQuery.populate" + }, + "2035": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "OptionsQuery.orderBy" + }, + "2036": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "OptionsQuery.limit" + }, + "2037": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "OptionsQuery.offset" + }, + "2038": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "OptionsQuery.fields" + }, + "2039": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "OptionsQuery.groupBy" + }, + "2040": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "OptionsQuery.filters" + }, + "2041": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "OptionsQuery.T" + }, + "2042": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "OptionsQuery.P" + }, + "2043": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "FindOptions" + }, + "2044": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "__type.where" + }, + "2045": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "2046": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.__index" + }, + "2048": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "2049": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.__index" + }, + "2051": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "__type.options" + }, + "2052": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "T" + }, + "2053": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "UpsertWithReplaceConfig" + }, + "2054": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "__type.relations" + }, + "2055": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "T" + }, + "2056": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService" + }, + "2057": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService.find" + }, + "2058": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService.find" + }, + "2059": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "options" + }, + "2060": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "context" + }, + "2061": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService.findAndCount" + }, + "2062": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService.findAndCount" + }, + "2063": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "options" + }, + "2064": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "context" + }, + "2065": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService.create" + }, + "2066": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService.create" + }, + "2067": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "data" + }, + "2068": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "context" + }, + "2069": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService.update" + }, + "2070": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService.update" + }, + "2071": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "data" + }, + "2072": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type" + }, + "2073": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type.entity" + }, + "2074": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type.update" + }, + "2075": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "context" + }, + "2076": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService.delete" + }, + "2077": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService.delete" + }, + "2078": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "idsOrPKs" + }, + "2079": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "2080": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.__index" + }, + "2082": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "2083": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.__index" + }, + "2085": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "context" + }, + "2086": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService.softDelete" + }, + "2087": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService.softDelete" + }, + "2088": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "idsOrFilter" + }, + "2089": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "2090": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "context" + }, + "2091": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService.restore" + }, + "2092": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService.restore" + }, + "2093": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "idsOrFilter" + }, + "2094": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "2095": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "context" + }, + "2096": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService.upsert" + }, + "2097": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService.upsert" + }, + "2098": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "data" + }, + "2099": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "context" + }, + "2100": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService.upsertWithReplace" + }, + "2101": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService.upsertWithReplace" + }, + "2102": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "data" + }, + "2103": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "config" + }, + "2104": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "context" + }, + "2105": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "BaseRepositoryService.transaction" + }, + "2106": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "BaseRepositoryService.transaction" + }, + "2107": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TManager" + }, + "2108": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "task" + }, + "2109": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type" + }, + "2110": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type" + }, + "2111": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "transactionManager" + }, + "2112": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "context" + }, + "2113": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type" + }, + "2114": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type.isolationLevel" + }, + "2115": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type.transaction" + }, + "2116": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type.enableNestedTransactions" + }, + "2117": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "BaseRepositoryService.getFreshManager" + }, + "2118": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "BaseRepositoryService.getFreshManager" + }, + "2119": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TManager" + }, + "2120": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "BaseRepositoryService.getActiveManager" + }, + "2121": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "BaseRepositoryService.getActiveManager" + }, + "2122": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TManager" + }, + "2123": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "BaseRepositoryService.serialize" + }, + "2124": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "BaseRepositoryService.serialize" + }, + "2125": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TOutput" + }, + "2126": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "data" + }, + "2127": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "options" + }, + "2128": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RepositoryService.T" + }, + "2129": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TreeRepositoryService" + }, + "2130": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TreeRepositoryService.find" + }, + "2131": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TreeRepositoryService.find" + }, + "2132": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "options" + }, + "2133": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "transformOptions" + }, + "2134": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "context" + }, + "2135": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TreeRepositoryService.findAndCount" + }, + "2136": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TreeRepositoryService.findAndCount" + }, + "2137": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "options" + }, + "2138": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "transformOptions" + }, + "2139": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "context" + }, + "2140": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TreeRepositoryService.create" + }, + "2141": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TreeRepositoryService.create" + }, + "2142": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "data" + }, + "2143": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "context" + }, + "2144": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TreeRepositoryService.delete" + }, + "2145": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TreeRepositoryService.delete" + }, + "2146": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "id" + }, + "2147": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "context" + }, + "2148": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "BaseRepositoryService.transaction" + }, + "2149": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "BaseRepositoryService.transaction" + }, + "2150": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TManager" + }, + "2151": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "task" + }, + "2152": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type" + }, + "2153": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type" + }, + "2154": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "transactionManager" + }, + "2155": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "context" + }, + "2156": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type" + }, + "2157": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type.isolationLevel" + }, + "2158": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type.transaction" + }, + "2159": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type.enableNestedTransactions" + }, + "2160": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "BaseRepositoryService.getFreshManager" + }, + "2161": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "BaseRepositoryService.getFreshManager" + }, + "2162": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TManager" + }, + "2163": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "BaseRepositoryService.getActiveManager" + }, + "2164": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "BaseRepositoryService.getActiveManager" + }, + "2165": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TManager" + }, + "2166": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "BaseRepositoryService.serialize" + }, + "2167": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "BaseRepositoryService.serialize" + }, + "2168": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TOutput" + }, + "2169": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "data" + }, + "2170": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "options" + }, + "2171": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TreeRepositoryService.T" + }, + "2172": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "SoftDeleteReturn" + }, + "2173": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type.returnLinkableKeys" + }, + "2174": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "2175": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RestoreReturn" + }, + "2176": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type.returnLinkableKeys" + }, + "2177": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "2178": { + "sourceFileName": "../../../packages/types/src/dal/entity.ts", + "qualifiedName": "EntityDateColumns" + }, + "2179": { + "sourceFileName": "../../../packages/types/src/dal/entity.ts", + "qualifiedName": "SoftDeletableEntityDateColumns" + }, + "2180": { + "sourceFileName": "../../../packages/types/src/event-bus/index.ts", + "qualifiedName": "" + }, + "2181": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "Subscriber" + }, + "2182": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type" + }, + "2183": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type" + }, + "2184": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "data" + }, + "2185": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "eventName" + }, + "2186": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "T" + }, + "2187": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "SubscriberContext" + }, + "2188": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type" + }, + "2189": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.subscriberId" + }, + "2190": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "SubscriberDescriptor" + }, + "2191": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type" + }, + "2192": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.id" + }, + "2193": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.subscriber" + }, + "2194": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "EventHandler" + }, + "2195": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type" + }, + "2196": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type" + }, + "2197": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "data" + }, + "2198": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "eventName" + }, + "2199": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "T" + }, + "2200": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "EmitData" + }, + "2201": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type" + }, + "2202": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.eventName" + }, + "2203": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.data" + }, + "2204": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.options" + }, + "2205": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "T" + }, + "2206": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "MessageBody" + }, + "2207": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type" + }, + "2208": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.metadata" + }, + "2209": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type" + }, + "2210": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.service" + }, + "2211": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.action" + }, + "2212": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.object" + }, + "2213": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.eventGroupId" + }, + "2214": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.data" + }, + "2215": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "T" + }, + "2216": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "Message" + }, + "2217": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type" + }, + "2218": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.eventName" + }, + "2219": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.body" + }, + "2220": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.options" + }, + "2221": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "T" + }, + "2222": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "MessageFormat" + }, + "2223": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type" + }, + "2224": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.eventName" + }, + "2225": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.metadata" + }, + "2226": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type" + }, + "2227": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.service" + }, + "2228": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.action" + }, + "2229": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.object" + }, + "2230": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.eventGroupId" + }, + "2231": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.data" + }, + "2232": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "T" + }, + "2233": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "IEventBusService" + }, + "2234": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "IEventBusService.subscribe" + }, + "2235": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "IEventBusService.subscribe" + }, + "2236": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "eventName" + }, + "2237": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "subscriber" + }, + "2238": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "context" + }, + "2239": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "IEventBusService.unsubscribe" + }, + "2240": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "IEventBusService.unsubscribe" + }, + "2241": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "eventName" + }, + "2242": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "subscriber" + }, + "2243": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "context" + }, + "2244": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "IEventBusService.emit" + }, + "2245": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "IEventBusService.emit" + }, + "2246": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "T" + }, + "2247": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "event" + }, + "2248": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "data" + }, + "2249": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "options" + }, + "2250": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "IEventBusService.emit" + }, + "2251": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "T" + }, + "2252": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "data" + }, + "2253": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "IEventBusService.emit" + }, + "2254": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "T" + }, + "2255": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", + "qualifiedName": "data" + }, + "2256": { + "sourceFileName": "../../../packages/types/src/transaction-base/transaction-base.ts", + "qualifiedName": "ITransactionBaseService.withTransaction" + }, + "2257": { + "sourceFileName": "../../../packages/types/src/transaction-base/transaction-base.ts", + "qualifiedName": "ITransactionBaseService.withTransaction" + }, + "2258": { + "sourceFileName": "../../../packages/types/src/transaction-base/transaction-base.ts", + "qualifiedName": "transactionManager" + }, + "2259": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "IEventBusModuleService" + }, + "2260": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "IEventBusModuleService.emit" + }, + "2261": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "IEventBusModuleService.emit" + }, + "2262": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "T" + }, + "2263": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "eventName" + }, + "2264": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "data" + }, + "2265": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "options" + }, + "2266": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "IEventBusModuleService.emit" + }, + "2267": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "T" + }, + "2268": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "data" + }, + "2269": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "IEventBusModuleService.emit" + }, + "2270": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "T" + }, + "2271": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "data" + }, + "2272": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "IEventBusModuleService.subscribe" + }, + "2273": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "IEventBusModuleService.subscribe" + }, + "2274": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "eventName" + }, + "2275": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "subscriber" + }, + "2276": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "context" + }, + "2277": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "IEventBusModuleService.unsubscribe" + }, + "2278": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "IEventBusModuleService.unsubscribe" + }, + "2279": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "eventName" + }, + "2280": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "subscriber" + }, + "2281": { + "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", + "qualifiedName": "context" + }, + "2282": { + "sourceFileName": "../../../packages/types/src/feature-flag/index.ts", + "qualifiedName": "" + }, + "2283": { + "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", + "qualifiedName": "IFlagRouter" + }, + "2284": { + "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", + "qualifiedName": "IFlagRouter.isFeatureEnabled" + }, + "2285": { + "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", + "qualifiedName": "__type" + }, + "2286": { + "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", + "qualifiedName": "__type" + }, + "2287": { + "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", + "qualifiedName": "key" + }, + "2288": { + "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", + "qualifiedName": "IFlagRouter.listFlags" + }, + "2289": { + "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", + "qualifiedName": "__type" + }, + "2290": { + "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", + "qualifiedName": "__type" + }, + "2291": { + "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", + "qualifiedName": "FeatureFlagsResponse" + }, + "2292": { + "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", + "qualifiedName": "__type" + }, + "2293": { + "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", + "qualifiedName": "__type.key" + }, + "2294": { + "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", + "qualifiedName": "__type.value" + }, + "2295": { + "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", + "qualifiedName": "FlagSettings" + }, + "2296": { + "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", + "qualifiedName": "__type" + }, + "2297": { + "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", + "qualifiedName": "__type.key" + }, + "2298": { + "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", + "qualifiedName": "__type.description" + }, + "2299": { + "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", + "qualifiedName": "__type.env_key" + }, + "2300": { + "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", + "qualifiedName": "__type.default_val" + }, + "2301": { + "sourceFileName": "../../../packages/types/src/fulfillment/index.ts", + "qualifiedName": "" + }, + "2302": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO" + }, + "2303": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.id" + }, + "2304": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.fulfillment_id" + }, + "2305": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.company" + }, + "2306": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.first_name" + }, + "2307": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.last_name" + }, + "2308": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.address_1" + }, + "2309": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.address_2" + }, + "2310": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.city" + }, + "2311": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.country_code" + }, + "2312": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.province" + }, + "2313": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.postal_code" + }, + "2314": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.phone" + }, + "2315": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.metadata" + }, + "2316": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.created_at" + }, + "2317": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.updated_at" + }, + "2318": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.deleted_at" + }, + "2319": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO" + }, + "2320": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.id" + }, + "2321": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.name" + }, + "2322": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.type" + }, + "2323": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.metadata" + }, + "2324": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.service_zones" + }, + "2325": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.created_at" + }, + "2326": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.updated_at" + }, + "2327": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.deleted_at" + }, + "2328": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FilterableFulfillmentSetProps" + }, + "2329": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FilterableFulfillmentSetProps.id" + }, + "2330": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FilterableFulfillmentSetProps.name" + }, + "2331": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FilterableFulfillmentSetProps.type" + }, + "2332": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FilterableFulfillmentSetProps.service_zones" + }, + "2333": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "2334": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "2335": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO" + }, + "2336": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.id" + }, + "2337": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.name" + }, + "2338": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.type" + }, + "2339": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.metadata" + }, + "2340": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.shipping_options" + }, + "2341": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.created_at" + }, + "2342": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.updated_at" + }, + "2343": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.deleted_at" + }, + "2344": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "FilterableShippingProfileProps" + }, + "2345": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "FilterableShippingProfileProps.id" + }, + "2346": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "FilterableShippingProfileProps.name" + }, + "2347": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "FilterableShippingProfileProps.type" + }, + "2348": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "FilterableShippingProfileProps.shipping_options" + }, + "2349": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "2350": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "2351": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO" + }, + "2352": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.id" + }, + "2353": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.attribute" + }, + "2354": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.operator" + }, + "2355": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.value" + }, + "2356": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "__type" + }, + "2357": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "__type.value" + }, + "2358": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.shipping_option_id" + }, + "2359": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.shipping_option" + }, + "2360": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.created_at" + }, + "2361": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.updated_at" + }, + "2362": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.deleted_at" + }, + "2363": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "FilterableShippingOptionRuleProps" + }, + "2364": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "FilterableShippingOptionRuleProps.id" + }, + "2365": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "FilterableShippingOptionRuleProps.attribute" + }, + "2366": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "FilterableShippingOptionRuleProps.operator" + }, + "2367": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "FilterableShippingOptionRuleProps.value" + }, + "2368": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "2369": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "2370": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionPriceType" + }, + "2371": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO" + }, + "2372": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.id" + }, + "2373": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.name" + }, + "2374": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.price_type" + }, + "2375": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.service_zone_id" + }, + "2376": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.shipping_profile_id" + }, + "2377": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.provider_id" + }, + "2378": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.shipping_option_type_id" + }, + "2379": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.data" + }, + "2380": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.metadata" + }, + "2381": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.service_zone" + }, + "2382": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.shipping_profile" + }, + "2383": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.fulfillment_provider" + }, + "2384": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.type" + }, + "2385": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.rules" + }, + "2386": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.fulfillments" + }, + "2387": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.created_at" + }, + "2388": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.updated_at" + }, + "2389": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.deleted_at" + }, + "2390": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionProps" + }, + "2391": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionProps.id" + }, + "2392": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionProps.name" + }, + "2393": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionProps.shipping_profile_id" + }, + "2394": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionProps.price_type" + }, + "2395": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionProps.service_zone" + }, + "2396": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionProps.shipping_option_type" + }, + "2397": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionProps.rules" + }, + "2398": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "2399": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "2400": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionForContextProps" + }, + "2401": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionForContextProps.fulfillment_set_id" + }, + "2402": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionForContextProps.fulfillment_set_type" + }, + "2403": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionForContextProps.address" + }, + "2404": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "__type" + }, + "2405": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "__type.country_code" + }, + "2406": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "__type.province_code" + }, + "2407": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "__type.city" + }, + "2408": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "__type.postal_expression" + }, + "2409": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionForContextProps.context" + }, + "2410": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionProps.id" + }, + "2411": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionProps.name" + }, + "2412": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionProps.shipping_profile_id" + }, + "2413": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionProps.price_type" + }, + "2414": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionProps.service_zone" + }, + "2415": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionProps.shipping_option_type" + }, + "2416": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "FilterableShippingOptionProps.rules" + }, + "2417": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "2418": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "2419": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO" + }, + "2420": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.id" + }, + "2421": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.label" + }, + "2422": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.description" + }, + "2423": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.code" + }, + "2424": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.shipping_option_id" + }, + "2425": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.shipping_option" + }, + "2426": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.created_at" + }, + "2427": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.updated_at" + }, + "2428": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.deleted_at" + }, + "2429": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "FilterableShippingOptionTypeProps" + }, + "2430": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "FilterableShippingOptionTypeProps.id" + }, + "2431": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "FilterableShippingOptionTypeProps.label" + }, + "2432": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "FilterableShippingOptionTypeProps.description" + }, + "2433": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "FilterableShippingOptionTypeProps.code" + }, + "2434": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "2435": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "2436": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO" + }, + "2437": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.id" + }, + "2438": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.name" + }, + "2439": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.metadata" + }, + "2440": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.fulfillment_sets" + }, + "2441": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.geo_zones" + }, + "2442": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.shipping_options" + }, + "2443": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.created_at" + }, + "2444": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.updated_at" + }, + "2445": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.deleted_at" + }, + "2446": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "FilterableServiceZoneProps" + }, + "2447": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "FilterableServiceZoneProps.id" + }, + "2448": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "FilterableServiceZoneProps.name" + }, + "2449": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "FilterableServiceZoneProps.geo_zones" + }, + "2450": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "FilterableServiceZoneProps.fulfillment_set" + }, + "2452": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "2453": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "2454": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneType" + }, + "2455": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO" + }, + "2456": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.id" + }, + "2457": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.type" + }, + "2458": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.country_code" + }, + "2459": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.province_code" + }, + "2460": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.city" + }, + "2461": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.postal_expression" + }, + "2462": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.metadata" + }, + "2463": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.created_at" + }, + "2464": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.updated_at" + }, + "2465": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.deleted_at" + }, + "2466": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "FilterableGeoZoneProps" + }, + "2467": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "FilterableGeoZoneProps.id" + }, + "2468": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "FilterableGeoZoneProps.type" + }, + "2469": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "FilterableGeoZoneProps.country_code" + }, + "2470": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "FilterableGeoZoneProps.province_code" + }, + "2471": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "FilterableGeoZoneProps.city" + }, + "2472": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "2473": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "2474": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO" + }, + "2475": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.id" + }, + "2476": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.name" + }, + "2477": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.metadata" + }, + "2478": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.shipping_options" + }, + "2479": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.created_at" + }, + "2480": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.updated_at" + }, + "2481": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.deleted_at" + }, + "2482": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FilterableFulfillmentProviderProps" + }, + "2483": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FilterableFulfillmentProviderProps.id" + }, + "2484": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "2485": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "2486": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO" + }, + "2487": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.id" + }, + "2488": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.location_id" + }, + "2489": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.packed_at" + }, + "2490": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.shipped_at" + }, + "2491": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.delivered_at" + }, + "2492": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.canceled_at" + }, + "2493": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.data" + }, + "2494": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.provider_id" + }, + "2495": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.shipping_option_id" + }, + "2496": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.metadata" + }, + "2497": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.shipping_option" + }, + "2498": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.provider" + }, + "2499": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.delivery_address" + }, + "2500": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.items" + }, + "2501": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.labels" + }, + "2502": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.created_at" + }, + "2503": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.updated_at" + }, + "2504": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.deleted_at" + }, + "2505": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FilterableFulfillmentProps" + }, + "2506": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FilterableFulfillmentProps.id" + }, + "2507": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FilterableFulfillmentProps.location_id" + }, + "2508": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FilterableFulfillmentProps.packed_at" + }, + "2509": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FilterableFulfillmentProps.shipped_at" + }, + "2510": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FilterableFulfillmentProps.delivered_at" + }, + "2511": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FilterableFulfillmentProps.canceled_at" + }, + "2512": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FilterableFulfillmentProps.provider_id" + }, + "2513": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FilterableFulfillmentProps.shipping_option_id" + }, + "2514": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FilterableFulfillmentProps.created_at" + }, + "2515": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FilterableFulfillmentProps.updated_at" + }, + "2516": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "2517": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "2518": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO" + }, + "2519": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.id" + }, + "2520": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.title" + }, + "2521": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.quantity" + }, + "2522": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.sku" + }, + "2523": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.barcode" + }, + "2524": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.line_item_id" + }, + "2525": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.inventory_item_id" + }, + "2526": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.fulfillment_id" + }, + "2527": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.fulfillment" + }, + "2528": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.created_at" + }, + "2529": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.updated_at" + }, + "2530": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.deleted_at" + }, + "2531": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO" + }, + "2532": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.id" + }, + "2533": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.tracking_number" + }, + "2534": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.tracking_url" + }, + "2535": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.label_url" + }, + "2536": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.fulfillment_id" + }, + "2537": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.fulfillment" + }, + "2538": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.created_at" + }, + "2539": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.updated_at" + }, + "2540": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.deleted_at" + }, + "2541": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-profile.ts", + "qualifiedName": "CreateShippingProfileDTO" + }, + "2542": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-profile.ts", + "qualifiedName": "CreateShippingProfileDTO.name" + }, + "2543": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-profile.ts", + "qualifiedName": "CreateShippingProfileDTO.type" + }, + "2544": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-profile.ts", + "qualifiedName": "CreateShippingProfileDTO.metadata" + }, + "2545": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-profile.ts", + "qualifiedName": "UpdateShippingProfileDTO" + }, + "2546": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-profile.ts", + "qualifiedName": "name" + }, + "2547": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-profile.ts", + "qualifiedName": "type" + }, + "2548": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-profile.ts", + "qualifiedName": "metadata" + }, + "2549": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-type.ts", + "qualifiedName": "CreateShippingOptionTypeDTO" + }, + "2550": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-type.ts", + "qualifiedName": "CreateShippingOptionTypeDTO.label" + }, + "2551": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-type.ts", + "qualifiedName": "CreateShippingOptionTypeDTO.description" + }, + "2552": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-type.ts", + "qualifiedName": "CreateShippingOptionTypeDTO.code" + }, + "2553": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-type.ts", + "qualifiedName": "CreateShippingOptionTypeDTO.shipping_option_id" + }, + "2554": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-type.ts", + "qualifiedName": "UpdateShippingOptionTypeDTO" + }, + "2555": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-type.ts", + "qualifiedName": "UpdateShippingOptionTypeDTO.id" + }, + "2556": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-type.ts", + "qualifiedName": "label" + }, + "2557": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-type.ts", + "qualifiedName": "description" + }, + "2558": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-type.ts", + "qualifiedName": "code" + }, + "2559": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-type.ts", + "qualifiedName": "shipping_option_id" + }, + "2560": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-rule.ts", + "qualifiedName": "CreateShippingOptionRuleDTO" + }, + "2561": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-rule.ts", + "qualifiedName": "CreateShippingOptionRuleDTO.attribute" + }, + "2562": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-rule.ts", + "qualifiedName": "CreateShippingOptionRuleDTO.operator" + }, + "2563": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-rule.ts", + "qualifiedName": "CreateShippingOptionRuleDTO.value" + }, + "2564": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-rule.ts", + "qualifiedName": "CreateShippingOptionRuleDTO.shipping_option_id" + }, + "2565": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-rule.ts", + "qualifiedName": "UpdateShippingOptionRuleDTO" + }, + "2566": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-rule.ts", + "qualifiedName": "UpdateShippingOptionRuleDTO.id" + }, + "2567": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-rule.ts", + "qualifiedName": "attribute" + }, + "2568": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-rule.ts", + "qualifiedName": "operator" + }, + "2569": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-rule.ts", + "qualifiedName": "value" + }, + "2570": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option-rule.ts", + "qualifiedName": "shipping_option_id" + }, + "2571": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateCountryGeoZoneDTO" + }, + "2572": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateCountryGeoZoneDTO.type" + }, + "2573": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateGeoZoneBaseDTO.service_zone_id" + }, + "2574": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateGeoZoneBaseDTO.country_code" + }, + "2575": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateGeoZoneBaseDTO.metadata" + }, + "2576": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateProvinceGeoZoneDTO" + }, + "2577": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateProvinceGeoZoneDTO.type" + }, + "2578": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateProvinceGeoZoneDTO.province_code" + }, + "2579": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateGeoZoneBaseDTO.service_zone_id" + }, + "2580": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateGeoZoneBaseDTO.country_code" + }, + "2581": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateGeoZoneBaseDTO.metadata" + }, + "2582": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateCityGeoZoneDTO" + }, + "2583": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateCityGeoZoneDTO.type" + }, + "2584": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateCityGeoZoneDTO.province_code" + }, + "2585": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateCityGeoZoneDTO.city" + }, + "2586": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateGeoZoneBaseDTO.service_zone_id" + }, + "2587": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateGeoZoneBaseDTO.country_code" + }, + "2588": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateGeoZoneBaseDTO.metadata" + }, + "2589": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateZipGeoZoneDTO" + }, + "2590": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateZipGeoZoneDTO.type" + }, + "2591": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateZipGeoZoneDTO.province_code" + }, + "2592": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateZipGeoZoneDTO.city" + }, + "2593": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateZipGeoZoneDTO.postal_expression" + }, + "2594": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateGeoZoneBaseDTO.service_zone_id" + }, + "2595": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateGeoZoneBaseDTO.country_code" + }, + "2596": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateGeoZoneBaseDTO.metadata" + }, + "2597": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateGeoZoneDTO" + }, + "2598": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateGeoZoneBaseDTO" + }, + "2599": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateGeoZoneBaseDTO.id" + }, + "2600": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "type" + }, + "2601": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "service_zone_id" + }, + "2602": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "country_code" + }, + "2603": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "metadata" + }, + "2604": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateCountryGeoZoneDTO" + }, + "2605": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateCountryGeoZoneDTO.type" + }, + "2606": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateGeoZoneBaseDTO.id" + }, + "2607": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "service_zone_id" + }, + "2608": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "country_code" + }, + "2609": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "metadata" + }, + "2610": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateProvinceGeoZoneDTO" + }, + "2611": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateProvinceGeoZoneDTO.type" + }, + "2612": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateProvinceGeoZoneDTO.province_code" + }, + "2613": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateGeoZoneBaseDTO.id" + }, + "2614": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "service_zone_id" + }, + "2615": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "country_code" + }, + "2616": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "metadata" + }, + "2617": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateCityGeoZoneDTO" + }, + "2618": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateCityGeoZoneDTO.type" + }, + "2619": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateCityGeoZoneDTO.province_code" + }, + "2620": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateCityGeoZoneDTO.city" + }, + "2621": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateGeoZoneBaseDTO.id" + }, + "2622": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "service_zone_id" + }, + "2623": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "country_code" + }, + "2624": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "metadata" + }, + "2625": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateZipGeoZoneDTO" + }, + "2626": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateZipGeoZoneDTO.type" + }, + "2627": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateZipGeoZoneDTO.province_code" + }, + "2628": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateZipGeoZoneDTO.city" + }, + "2629": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateZipGeoZoneDTO.postal_expression" + }, + "2630": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateGeoZoneBaseDTO.id" + }, + "2631": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "service_zone_id" + }, + "2632": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "country_code" + }, + "2633": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "metadata" + }, + "2634": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "UpdateGeoZoneDTO" + }, + "2635": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/service-zone.ts", + "qualifiedName": "CreateServiceZoneDTO" + }, + "2636": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/service-zone.ts", + "qualifiedName": "CreateServiceZoneDTO.name" + }, + "2637": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/service-zone.ts", + "qualifiedName": "CreateServiceZoneDTO.fulfillment_set_id" + }, + "2638": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/service-zone.ts", + "qualifiedName": "CreateServiceZoneDTO.geo_zones" + }, + "2639": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/service-zone.ts", + "qualifiedName": "UpdateServiceZoneDTO" + }, + "2640": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/service-zone.ts", + "qualifiedName": "UpdateServiceZoneDTO.id" + }, + "2641": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/service-zone.ts", + "qualifiedName": "UpdateServiceZoneDTO.name" + }, + "2642": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/service-zone.ts", + "qualifiedName": "UpdateServiceZoneDTO.geo_zones" + }, + "2643": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/service-zone.ts", + "qualifiedName": "__type" + }, + "2644": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/service-zone.ts", + "qualifiedName": "__type.id" + }, + "2645": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/service-zone.ts", + "qualifiedName": "UpsertServiceZoneDTO" + }, + "2646": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/service-zone.ts", + "qualifiedName": "UpdateServiceZoneDTO.id" + }, + "2647": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/service-zone.ts", + "qualifiedName": "UpdateServiceZoneDTO.name" + }, + "2648": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/service-zone.ts", + "qualifiedName": "UpdateServiceZoneDTO.geo_zones" + }, + "2649": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/service-zone.ts", + "qualifiedName": "__type" + }, + "2650": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/service-zone.ts", + "qualifiedName": "__type.id" + }, + "2651": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "CreateShippingOptionDTO" + }, + "2652": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "CreateShippingOptionDTO.name" + }, + "2653": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "CreateShippingOptionDTO.price_type" + }, + "2654": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "CreateShippingOptionDTO.service_zone_id" + }, + "2655": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "CreateShippingOptionDTO.shipping_profile_id" + }, + "2656": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "CreateShippingOptionDTO.provider_id" + }, + "2657": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "CreateShippingOptionDTO.type" + }, + "2658": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "CreateShippingOptionDTO.data" + }, + "2659": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "CreateShippingOptionDTO.rules" + }, + "2660": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpdateShippingOptionDTO" + }, + "2661": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpdateShippingOptionDTO.id" + }, + "2662": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpdateShippingOptionDTO.name" + }, + "2663": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpdateShippingOptionDTO.price_type" + }, + "2664": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpdateShippingOptionDTO.service_zone_id" + }, + "2665": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpdateShippingOptionDTO.shipping_profile_id" + }, + "2666": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpdateShippingOptionDTO.provider_id" + }, + "2667": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpdateShippingOptionDTO.type" + }, + "2668": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "__type" + }, + "2669": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "__type.id" + }, + "2670": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpdateShippingOptionDTO.data" + }, + "2671": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpdateShippingOptionDTO.rules" + }, + "2672": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "__type" + }, + "2673": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "__type.id" + }, + "2674": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpsertShippingOptionDTO" + }, + "2675": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpdateShippingOptionDTO.id" + }, + "2676": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpdateShippingOptionDTO.name" + }, + "2677": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpdateShippingOptionDTO.price_type" + }, + "2678": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpdateShippingOptionDTO.service_zone_id" + }, + "2679": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpdateShippingOptionDTO.shipping_profile_id" + }, + "2680": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpdateShippingOptionDTO.provider_id" + }, + "2681": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpdateShippingOptionDTO.type" + }, + "2682": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "__type" + }, + "2683": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "__type.id" + }, + "2684": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpdateShippingOptionDTO.data" + }, + "2685": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "UpdateShippingOptionDTO.rules" + }, + "2686": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "__type" + }, + "2687": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/shipping-option.ts", + "qualifiedName": "__type.id" + }, + "2688": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-set.ts", + "qualifiedName": "CreateFulfillmentSetDTO" + }, + "2689": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-set.ts", + "qualifiedName": "CreateFulfillmentSetDTO.name" + }, + "2690": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-set.ts", + "qualifiedName": "CreateFulfillmentSetDTO.type" + }, + "2691": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-set.ts", + "qualifiedName": "CreateFulfillmentSetDTO.service_zones" + }, + "2692": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-set.ts", + "qualifiedName": "UpdateFulfillmentSetDTO" + }, + "2693": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-set.ts", + "qualifiedName": "UpdateFulfillmentSetDTO.id" + }, + "2694": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-set.ts", + "qualifiedName": "UpdateFulfillmentSetDTO.name" + }, + "2695": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-set.ts", + "qualifiedName": "UpdateFulfillmentSetDTO.type" + }, + "2696": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-set.ts", + "qualifiedName": "UpdateFulfillmentSetDTO.service_zones" + }, + "2697": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-set.ts", + "qualifiedName": "__type" + }, + "2698": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-set.ts", + "qualifiedName": "__type.id" + }, + "2699": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "CreateFulfillmentOrderDTO" + }, + "2700": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "CreateFulfillmentDTO" + }, + "2701": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "CreateFulfillmentDTO.location_id" + }, + "2702": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "CreateFulfillmentDTO.packed_at" + }, + "2703": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "CreateFulfillmentDTO.shipped_at" + }, + "2704": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "CreateFulfillmentDTO.delivered_at" + }, + "2705": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "CreateFulfillmentDTO.canceled_at" + }, + "2706": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "CreateFulfillmentDTO.data" + }, + "2707": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "CreateFulfillmentDTO.provider_id" + }, + "2708": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "CreateFulfillmentDTO.shipping_option_id" + }, + "2709": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "CreateFulfillmentDTO.metadata" + }, + "2710": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "CreateFulfillmentDTO.delivery_address" + }, + "2711": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "CreateFulfillmentDTO.items" + }, + "2712": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "CreateFulfillmentDTO.labels" + }, + "2713": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "CreateFulfillmentDTO.order" + }, + "2714": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "UpdateFulfillmentDTO" + }, + "2715": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "UpdateFulfillmentDTO.location_id" + }, + "2716": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "UpdateFulfillmentDTO.packed_at" + }, + "2717": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "UpdateFulfillmentDTO.shipped_at" + }, + "2718": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "UpdateFulfillmentDTO.delivered_at" + }, + "2719": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "UpdateFulfillmentDTO.data" + }, + "2720": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "UpdateFulfillmentDTO.metadata" + }, + "2721": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment.ts", + "qualifiedName": "UpdateFulfillmentDTO.labels" + }, + "2722": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-address.ts", + "qualifiedName": "CreateFulfillmentAddressDTO" + }, + "2723": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-address.ts", + "qualifiedName": "CreateFulfillmentAddressDTO.fulfillment_id" + }, + "2724": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-address.ts", + "qualifiedName": "CreateFulfillmentAddressDTO.company" + }, + "2725": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-address.ts", + "qualifiedName": "CreateFulfillmentAddressDTO.first_name" + }, + "2726": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-address.ts", + "qualifiedName": "CreateFulfillmentAddressDTO.last_name" + }, + "2727": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-address.ts", + "qualifiedName": "CreateFulfillmentAddressDTO.address_1" + }, + "2728": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-address.ts", + "qualifiedName": "CreateFulfillmentAddressDTO.address_2" + }, + "2729": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-address.ts", + "qualifiedName": "CreateFulfillmentAddressDTO.city" + }, + "2730": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-address.ts", + "qualifiedName": "CreateFulfillmentAddressDTO.country_code" + }, + "2731": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-address.ts", + "qualifiedName": "CreateFulfillmentAddressDTO.province" + }, + "2732": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-address.ts", + "qualifiedName": "CreateFulfillmentAddressDTO.postal_code" + }, + "2733": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-address.ts", + "qualifiedName": "CreateFulfillmentAddressDTO.phone" + }, + "2734": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-address.ts", + "qualifiedName": "CreateFulfillmentAddressDTO.metadata" + }, + "2735": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-label.ts", + "qualifiedName": "CreateFulfillmentLabelDTO" + }, + "2736": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-label.ts", + "qualifiedName": "CreateFulfillmentLabelDTO.tracking_number" + }, + "2737": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-label.ts", + "qualifiedName": "CreateFulfillmentLabelDTO.tracking_url" + }, + "2738": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-label.ts", + "qualifiedName": "CreateFulfillmentLabelDTO.label_url" + }, + "2739": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-label.ts", + "qualifiedName": "CreateFulfillmentLabelDTO.fulfillment_id" + }, + "2740": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-item.ts", + "qualifiedName": "CreateFulfillmentItemDTO" + }, + "2741": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-item.ts", + "qualifiedName": "CreateFulfillmentItemDTO.fulfillment_id" + }, + "2742": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-item.ts", + "qualifiedName": "CreateFulfillmentItemDTO.title" + }, + "2743": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-item.ts", + "qualifiedName": "CreateFulfillmentItemDTO.sku" + }, + "2744": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-item.ts", + "qualifiedName": "CreateFulfillmentItemDTO.quantity" + }, + "2745": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-item.ts", + "qualifiedName": "CreateFulfillmentItemDTO.barcode" + }, + "2746": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-item.ts", + "qualifiedName": "CreateFulfillmentItemDTO.line_item_id" + }, + "2747": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/fulfillment-item.ts", + "qualifiedName": "CreateFulfillmentItemDTO.inventory_item_id" + }, + "2748": { + "sourceFileName": "../../../packages/types/src/fulfillment/provider.ts", + "qualifiedName": "IFulfillmentProvider" + }, + "2794": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService" + }, + "2795": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.retrieve" + }, + "2796": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.retrieve" + }, + "2797": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "id" + }, + "2798": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "2799": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2800": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.list" + }, + "2801": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.list" + }, + "2802": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "filters" + }, + "2803": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "2804": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2805": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listAndCount" + }, + "2806": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listAndCount" + }, + "2807": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "filters" + }, + "2808": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "2809": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2810": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.create" + }, + "2811": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.create" + }, + "2812": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2813": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2814": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.create" + }, + "2815": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2816": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2817": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.update" + }, + "2818": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.update" + }, + "2819": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2820": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2821": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.update" + }, + "2822": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2823": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2824": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.delete" + }, + "2825": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.delete" + }, + "2826": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "ids" + }, + "2827": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2828": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.delete" + }, + "2829": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "id" + }, + "2830": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2831": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.softDelete" + }, + "2832": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.softDelete" + }, + "2833": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "2834": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "fulfillmentIds" + }, + "2835": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "2836": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2837": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.restore" + }, + "2838": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.restore" + }, + "2839": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "2840": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "fulfillmentIds" + }, + "2841": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "2842": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2843": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.retrieveServiceZone" + }, + "2844": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.retrieveServiceZone" + }, + "2845": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "id" + }, + "2846": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "2847": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2848": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listServiceZones" + }, + "2849": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listServiceZones" + }, + "2850": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "filters" + }, + "2851": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "2852": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2853": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listAndCountServiceZones" + }, + "2854": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listAndCountServiceZones" + }, + "2855": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "filters" + }, + "2856": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "2857": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2858": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.createServiceZones" + }, + "2859": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.createServiceZones" + }, + "2860": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2861": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2862": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.createServiceZones" + }, + "2863": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2864": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2865": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.updateServiceZones" + }, + "2866": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.updateServiceZones" + }, + "2867": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "id" + }, + "2868": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2869": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2870": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.updateServiceZones" + }, + "2871": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "selector" + }, + "2872": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2873": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2874": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.upsertServiceZones" + }, + "2875": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.upsertServiceZones" + }, + "2876": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2877": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2878": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.upsertServiceZones" + }, + "2879": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2880": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2881": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.deleteServiceZones" + }, + "2882": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.deleteServiceZones" + }, + "2883": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "ids" + }, + "2884": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2885": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.deleteServiceZones" + }, + "2886": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "id" + }, + "2887": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2888": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.softDeleteServiceZones" + }, + "2889": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.softDeleteServiceZones" + }, + "2890": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "2891": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "serviceZoneIds" + }, + "2892": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "2893": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2894": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.restoreServiceZones" + }, + "2895": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.restoreServiceZones" + }, + "2896": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "2897": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "serviceZoneIds" + }, + "2898": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "2899": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2900": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.retrieveGeoZone" + }, + "2901": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.retrieveGeoZone" + }, + "2902": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "id" + }, + "2903": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "2904": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2905": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listGeoZones" + }, + "2906": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listGeoZones" + }, + "2907": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "filters" + }, + "2908": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "2909": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2910": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listAndCountGeoZones" + }, + "2911": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listAndCountGeoZones" + }, + "2912": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "filters" + }, + "2913": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "2914": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2915": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.createGeoZones" + }, + "2916": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.createGeoZones" + }, + "2917": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2918": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2919": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.createGeoZones" + }, + "2920": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2921": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2922": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.updateGeoZones" + }, + "2923": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.updateGeoZones" + }, + "2924": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2925": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2926": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.updateGeoZones" + }, + "2927": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2928": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2929": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.deleteGeoZones" + }, + "2930": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.deleteGeoZones" + }, + "2931": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "ids" + }, + "2932": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2933": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.deleteGeoZones" + }, + "2934": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "id" + }, + "2935": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2936": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.softDeleteGeoZones" + }, + "2937": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.softDeleteGeoZones" + }, + "2938": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "2939": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "geoZoneIds" + }, + "2940": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "2941": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2942": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.restoreGeoZones" + }, + "2943": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.restoreGeoZones" + }, + "2944": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "2945": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "geoZoneIds" + }, + "2946": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "2947": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2948": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.retrieveShippingOption" + }, + "2949": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.retrieveShippingOption" + }, + "2950": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "id" + }, + "2951": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "2952": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2953": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listShippingOptions" + }, + "2954": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listShippingOptions" + }, + "2955": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "filters" + }, + "2956": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "2957": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2958": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listShippingOptionsForContext" + }, + "2959": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listShippingOptionsForContext" + }, + "2960": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "filters" + }, + "2961": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "2962": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2963": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listAndCountShippingOptions" + }, + "2964": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listAndCountShippingOptions" + }, + "2965": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "filters" + }, + "2966": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "2967": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2968": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.createShippingOptions" + }, + "2969": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.createShippingOptions" + }, + "2970": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2971": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2972": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.createShippingOptions" + }, + "2973": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2974": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2975": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.updateShippingOptions" + }, + "2976": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.updateShippingOptions" + }, + "2977": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "id" + }, + "2978": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2979": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2980": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.updateShippingOptions" + }, + "2981": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "selector" + }, + "2982": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2983": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2984": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.upsertShippingOptions" + }, + "2985": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.upsertShippingOptions" + }, + "2986": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2987": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2988": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.upsertShippingOptions" + }, + "2989": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "2990": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2991": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.deleteShippingOptions" + }, + "2992": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.deleteShippingOptions" + }, + "2993": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "ids" + }, + "2994": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2995": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.deleteShippingOptions" + }, + "2996": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "id" + }, + "2997": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "2998": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.softDeleteShippingOptions" + }, + "2999": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.softDeleteShippingOptions" + }, + "3000": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "3001": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "shippingOptionIds" + }, + "3002": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "3003": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3004": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.restoreShippingOptions" + }, + "3005": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.restoreShippingOptions" + }, + "3006": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "3007": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "shippingOptionIds" + }, + "3008": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "3009": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3010": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.retrieveShippingProfile" + }, + "3011": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.retrieveShippingProfile" + }, + "3012": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "id" + }, + "3013": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "3014": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3015": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listShippingProfiles" + }, + "3016": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listShippingProfiles" + }, + "3017": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "filters" + }, + "3018": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "3019": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3020": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listAndCountShippingProfiles" + }, + "3021": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listAndCountShippingProfiles" + }, + "3022": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "filters" + }, + "3023": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "3024": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3025": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.createShippingProfiles" + }, + "3026": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.createShippingProfiles" + }, + "3027": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "3028": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3029": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.createShippingProfiles" + }, + "3030": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "3031": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3032": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.updateShippingProfiles" + }, + "3033": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.updateShippingProfiles" + }, + "3034": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "3035": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3036": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.updateShippingProfiles" + }, + "3037": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "3038": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3039": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.deleteShippingProfiles" + }, + "3040": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.deleteShippingProfiles" + }, + "3041": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "ids" + }, + "3042": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3043": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.deleteShippingProfiles" + }, + "3044": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "id" + }, + "3045": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3046": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.softDeleteShippingProfiles" + }, + "3047": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.softDeleteShippingProfiles" + }, + "3048": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "3049": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "shippingProfileIds" + }, + "3050": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "3051": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3052": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.restoreShippingProfiles" + }, + "3053": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.restoreShippingProfiles" + }, + "3054": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "3055": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "shippingProfileIds" + }, + "3056": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "3057": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3058": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.retrieveShippingOptionRule" + }, + "3059": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.retrieveShippingOptionRule" + }, + "3060": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "id" + }, + "3061": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "3062": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3063": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listShippingOptionRules" + }, + "3064": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listShippingOptionRules" + }, + "3065": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "filters" + }, + "3066": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "3067": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3068": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listAndCountShippingOptionRules" + }, + "3069": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listAndCountShippingOptionRules" + }, + "3070": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "filters" + }, + "3071": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "3072": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3073": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.createShippingOptionRules" + }, + "3074": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.createShippingOptionRules" + }, + "3075": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "3076": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3077": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.createShippingOptionRules" + }, + "3078": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "3079": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3080": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.updateShippingOptionRules" + }, + "3081": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.updateShippingOptionRules" + }, + "3082": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "3083": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3084": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.updateShippingOptionRules" + }, + "3085": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "3086": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3087": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.deleteShippingOptionRules" + }, + "3088": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.deleteShippingOptionRules" + }, + "3089": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "ids" + }, + "3090": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3091": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.deleteShippingOptionRules" + }, + "3092": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "id" + }, + "3093": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3094": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.retrieveShippingOptionType" + }, + "3095": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.retrieveShippingOptionType" + }, + "3096": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "id" + }, + "3097": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "3098": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3099": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listShippingOptionTypes" + }, + "3100": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listShippingOptionTypes" + }, + "3101": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "filters" + }, + "3102": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "3103": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3104": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listAndCountShippingOptionTypes" + }, + "3105": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listAndCountShippingOptionTypes" + }, + "3106": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "filters" + }, + "3107": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "3108": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3109": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.deleteShippingOptionTypes" + }, + "3110": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.deleteShippingOptionTypes" + }, + "3111": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "ids" + }, + "3112": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3113": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.deleteShippingOptionTypes" + }, + "3114": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "id" + }, + "3115": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3116": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.retrieveFulfillment" + }, + "3117": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.retrieveFulfillment" + }, + "3118": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "id" + }, + "3119": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "3120": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3121": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listFulfillments" + }, + "3122": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listFulfillments" + }, + "3123": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "filters" + }, + "3124": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "3125": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3126": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listAndCountFulfillments" + }, + "3127": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listAndCountFulfillments" + }, + "3128": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "filters" + }, + "3129": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "3130": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3131": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.createFulfillment" + }, + "3132": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.createFulfillment" + }, + "3133": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "3134": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3135": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.updateFulfillment" + }, + "3136": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.updateFulfillment" + }, + "3137": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "id" + }, + "3138": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "3139": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3140": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.cancelFulfillment" + }, + "3141": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.cancelFulfillment" + }, + "3142": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "id" + }, + "3143": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3144": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.retrieveFulfillmentOptions" + }, + "3145": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.retrieveFulfillmentOptions" + }, + "3146": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "providerId" + }, + "3147": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.validateFulfillmentOption" + }, + "3148": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.validateFulfillmentOption" + }, + "3149": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "providerId" + }, + "3150": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "data" + }, + "3151": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.validateShippingOption" + }, + "3152": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.validateShippingOption" + }, + "3153": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "shippingOptionId" + }, + "3154": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "context" + }, + "3155": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listFulfillmentProviders" + }, + "3156": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "IFulfillmentModuleService.listFulfillmentProviders" + }, + "3157": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "filters" + }, + "3158": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "config" + }, + "3159": { + "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "qualifiedName": "sharedContext" + }, + "3173": { + "sourceFileName": "../../../packages/types/src/fulfillment/workflows.ts", + "qualifiedName": "AddFulfillmentShippingOptionRulesWorkflowDTO" + }, + "3174": { + "sourceFileName": "../../../packages/types/src/fulfillment/workflows.ts", + "qualifiedName": "__type" + }, + "3175": { + "sourceFileName": "../../../packages/types/src/fulfillment/workflows.ts", + "qualifiedName": "__type.data" + }, + "3176": { + "sourceFileName": "../../../packages/types/src/fulfillment/workflows.ts", + "qualifiedName": "RemoveFulfillmentShippingOptionRulesWorkflowDTO" + }, + "3177": { + "sourceFileName": "../../../packages/types/src/fulfillment/workflows.ts", + "qualifiedName": "__type" + }, + "3178": { + "sourceFileName": "../../../packages/types/src/fulfillment/workflows.ts", + "qualifiedName": "__type.ids" + }, + "3179": { + "sourceFileName": "../../../packages/types/src/fulfillment/workflows.ts", + "qualifiedName": "UpdateFulfillmentShippingOptionRulesWorkflowDTO" + }, + "3180": { + "sourceFileName": "../../../packages/types/src/fulfillment/workflows.ts", + "qualifiedName": "__type" + }, + "3181": { + "sourceFileName": "../../../packages/types/src/fulfillment/workflows.ts", + "qualifiedName": "__type.data" + }, + "3182": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "" + }, + "3183": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "Logger" + }, + "3184": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "Logger.panic" + }, + "3185": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3186": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3187": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "data" + }, + "3188": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "Logger.shouldLog" + }, + "3189": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3190": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3191": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "level" + }, + "3192": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "Logger.setLogLevel" + }, + "3193": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3194": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3195": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "level" + }, + "3196": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "Logger.unsetLogLevel" + }, + "3197": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3198": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3199": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "Logger.activity" + }, + "3200": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3201": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3202": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "message" + }, + "3203": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "config" + }, + "3204": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "Logger.progress" + }, + "3205": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3206": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3207": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "activityId" + }, + "3208": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "message" + }, + "3209": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "Logger.error" + }, + "3210": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3211": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3212": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "messageOrError" + }, + "3213": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "error" + }, + "3214": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "Logger.failure" + }, + "3215": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3216": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3217": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "activityId" + }, + "3218": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "message" + }, + "3219": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "Logger.success" + }, + "3220": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3221": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3222": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "activityId" + }, + "3223": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "message" + }, + "3224": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "Logger.debug" + }, + "3225": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3226": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3227": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "message" + }, + "3228": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "Logger.info" + }, + "3229": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3230": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3231": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "message" + }, + "3232": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "Logger.warn" + }, + "3233": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3234": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3235": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "message" + }, + "3236": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "Logger.log" + }, + "3237": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3238": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "__type" + }, + "3239": { + "sourceFileName": "../../../packages/types/src/logger/index.ts", + "qualifiedName": "args" + }, + "3240": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "" + }, + "3241": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "Constructor" + }, + "3242": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3243": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3244": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "args" + }, + "3245": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "T" + }, + "3246": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "LogLevel" + }, + "3247": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "LoggerOptions" + }, + "3248": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "MODULE_SCOPE" + }, + "3249": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "MODULE_SCOPE.INTERNAL" + }, + "3250": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "MODULE_SCOPE.EXTERNAL" + }, + "3251": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "MODULE_RESOURCE_TYPE" + }, + "3252": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "MODULE_RESOURCE_TYPE.SHARED" + }, + "3253": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "MODULE_RESOURCE_TYPE.ISOLATED" + }, + "3254": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "InternalModuleDeclaration" + }, + "3255": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3256": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.scope" + }, + "3257": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.resources" + }, + "3258": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.dependencies" + }, + "3259": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.definition" + }, + "3260": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.resolve" + }, + "3261": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.options" + }, + "3262": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.alias" + }, + "3263": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.main" + }, + "3264": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.worker_mode" + }, + "3265": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "ExternalModuleDeclaration" + }, + "3266": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3267": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.scope" + }, + "3268": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.definition" + }, + "3269": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.server" + }, + "3270": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3271": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.type" + }, + "3272": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.url" + }, + "3273": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.keepAlive" + }, + "3274": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.options" + }, + "3275": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.alias" + }, + "3276": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.main" + }, + "3277": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "ModuleResolution" + }, + "3278": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3279": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.resolutionPath" + }, + "3280": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.definition" + }, + "3281": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.options" + }, + "3282": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.dependencies" + }, + "3283": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.moduleDeclaration" + }, + "3284": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.moduleExports" + }, + "3285": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "ModuleDefinition" + }, + "3286": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3287": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.key" + }, + "3288": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.registrationName" + }, + "3289": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.defaultPackage" + }, + "3290": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.label" + }, + "3291": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.isRequired" + }, + "3292": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.isQueryable" + }, + "3293": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.isLegacy" + }, + "3294": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.dependencies" + }, + "3295": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.defaultModuleDeclaration" + }, + "3296": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "LinkModuleDefinition" + }, + "3297": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3298": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.key" + }, + "3299": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.registrationName" + }, + "3300": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.label" + }, + "3301": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.dependencies" + }, + "3302": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.defaultModuleDeclaration" + }, + "3303": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "ModuleConfig" + }, + "3304": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3305": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.module" + }, + "3306": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.path" + }, + "3307": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.definition" + }, + "3308": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "LoadedModule" + }, + "3309": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3310": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.__joinerConfig" + }, + "3311": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.__definition" + }, + "3312": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "LoaderOptions" + }, + "3313": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3314": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.container" + }, + "3315": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.options" + }, + "3316": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.logger" + }, + "3317": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.dataLoaderOnly" + }, + "3318": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "TOptions" + }, + "3319": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "ModuleLoaderFunction" + }, + "3320": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3321": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3322": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "options" + }, + "3323": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "moduleDeclaration" + }, + "3324": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "ModulesResponse" + }, + "3325": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3326": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.module" + }, + "3327": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.resolution" + }, + "3328": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "ModuleJoinerConfig" + }, + "3329": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3330": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.schema" + }, + "3331": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.relationships" + }, + "3332": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.extends" + }, + "3333": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3334": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.serviceName" + }, + "3335": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.fieldAlias" + }, + "3336": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3337": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.path" + }, + "3338": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.forwardArgumentsOnPath" + }, + "3339": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.isList" + }, + "3340": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.relationship" + }, + "3341": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.serviceName" + }, + "3342": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.primaryKeys" + }, + "3343": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.isLink" + }, + "3344": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.linkableKeys" + }, + "3345": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.isReadOnlyLink" + }, + "3346": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.databaseConfig" + }, + "3347": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3348": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.tableName" + }, + "3349": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.idPrefix" + }, + "3350": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.extraFields" + }, + "3351": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3352": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.type" + }, + "3353": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.defaultValue" + }, + "3354": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.nullable" + }, + "3355": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.options" + }, + "3356": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "ModuleJoinerRelationship" + }, + "3357": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3358": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.isInternalService" + }, + "3359": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.deleteCascade" + }, + "3360": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "ModuleExports" + }, + "3361": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3362": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.service" + }, + "3363": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.loaders" + }, + "3364": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.migrations" + }, + "3365": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.models" + }, + "3366": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.runMigrations" + }, + "3367": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.runMigrations" + }, + "3368": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "options" + }, + "3369": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "moduleDeclaration" + }, + "3370": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.revertMigration" + }, + "3371": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.revertMigration" + }, + "3372": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "options" + }, + "3373": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "moduleDeclaration" + }, + "3374": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "ModuleServiceInitializeOptions" + }, + "3375": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "ModuleServiceInitializeOptions.database" + }, + "3376": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3377": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.connection" + }, + "3378": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.clientUrl" + }, + "3379": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.schema" + }, + "3380": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.host" + }, + "3381": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.port" + }, + "3382": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.user" + }, + "3383": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.password" + }, + "3384": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.database" + }, + "3385": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.driverOptions" + }, + "3386": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3387": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.connection" + }, + "3388": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.debug" + }, + "3389": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.pool" + }, + "3390": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "ModuleServiceInitializeCustomDataLayerOptions" + }, + "3391": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3392": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.manager" + }, + "3393": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.repositories" + }, + "3394": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3395": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.__index" + }, + "3397": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "ModuleBootstrapDeclaration" + }, + "3398": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "RemoteQueryFunction" + }, + "3399": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3400": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type" + }, + "3401": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "query" + }, + "3402": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "variables" + }, + "3403": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "options" + }, + "3404": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "IModuleService" + }, + "3418": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService" + }, + "3419": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.__container__" + }, + "3420": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.__container__" + }, + "3421": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.retrieve" + }, + "3422": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.retrieve" + }, + "3423": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "idOrObject" + }, + "3424": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "config" + }, + "3425": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3426": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.retrieve" + }, + "3427": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "idOrObject" + }, + "3428": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "config" + }, + "3429": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3430": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.list" + }, + "3431": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.list" + }, + "3432": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "filters" + }, + "3433": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "3434": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "3435": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "config" + }, + "3436": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3437": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.listAndCount" + }, + "3438": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.listAndCount" + }, + "3439": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "filters" + }, + "3440": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "3441": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "3442": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "config" + }, + "3443": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3444": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.create" + }, + "3445": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.create" + }, + "3446": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "data" + }, + "3447": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3448": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.create" + }, + "3449": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "data" + }, + "3450": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3451": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.update" + }, + "3452": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.update" + }, + "3453": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "data" + }, + "3454": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3455": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.update" + }, + "3456": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "data" + }, + "3457": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3458": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.update" + }, + "3459": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "selectorAndData" + }, + "3460": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "__type" + }, + "3461": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "__type.selector" + }, + "3462": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "3463": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "3464": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "__type.data" + }, + "3465": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3466": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.update" + }, + "3467": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "selectorAndData" + }, + "3468": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "__type" + }, + "3469": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "__type.selector" + }, + "3470": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "3471": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "3472": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "__type.data" + }, + "3473": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3474": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.delete" + }, + "3475": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.delete" + }, + "3476": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "idOrSelector" + }, + "3477": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3478": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.delete" + }, + "3479": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "idOrSelector" + }, + "3480": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3481": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.delete" + }, + "3482": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "idOrSelector" + }, + "3483": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3484": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.delete" + }, + "3485": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "idOrSelector" + }, + "3486": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3487": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.delete" + }, + "3488": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "idOrSelector" + }, + "3489": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "__type" + }, + "3490": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "__type.selector" + }, + "3491": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "3492": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "3493": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3494": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.softDelete" + }, + "3495": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.softDelete" + }, + "3496": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "idsOrFilter" + }, + "3497": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "3498": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3499": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.restore" + }, + "3500": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.restore" + }, + "3501": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "idsOrFilter" + }, + "3502": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "3503": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3504": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.upsert" + }, + "3505": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.upsert" + }, + "3506": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "data" + }, + "3507": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3508": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.upsert" + }, + "3509": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "data" + }, + "3510": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3511": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.upsertWithReplace" + }, + "3512": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.upsertWithReplace" + }, + "3513": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "data" + }, + "3514": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "config" + }, + "3515": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "sharedContext" + }, + "3516": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.TEntity" + }, + "3517": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "__type" + }, + "3518": { + "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "qualifiedName": "InternalModuleService.TContainer" + }, + "3519": { + "sourceFileName": "../../../packages/types/src/modules-sdk/module-provider.ts", + "qualifiedName": "ModuleProviderExports" + }, + "3520": { + "sourceFileName": "../../../packages/types/src/modules-sdk/module-provider.ts", + "qualifiedName": "__type" + }, + "3521": { + "sourceFileName": "../../../packages/types/src/modules-sdk/module-provider.ts", + "qualifiedName": "__type.services" + }, + "3522": { + "sourceFileName": "../../../packages/types/src/modules-sdk/module-provider.ts", + "qualifiedName": "ModuleProvider" + }, + "3523": { + "sourceFileName": "../../../packages/types/src/modules-sdk/module-provider.ts", + "qualifiedName": "__type" + }, + "3524": { + "sourceFileName": "../../../packages/types/src/modules-sdk/module-provider.ts", + "qualifiedName": "__type.resolve" + }, + "3525": { + "sourceFileName": "../../../packages/types/src/modules-sdk/module-provider.ts", + "qualifiedName": "__type.provider_name" + }, + "3526": { + "sourceFileName": "../../../packages/types/src/modules-sdk/module-provider.ts", + "qualifiedName": "__type.options" + }, + "3527": { + "sourceFileName": "../../../packages/types/src/order/index.ts", + "qualifiedName": "" + }, + "3528": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderSummaryDTO" + }, + "3529": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "__type" + }, + "3530": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "__type.total" + }, + "3531": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "__type.subtotal" + }, + "3532": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "__type.total_tax" + }, + "3533": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "__type.ordered_total" + }, + "3534": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "__type.fulfilled_total" + }, + "3535": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "__type.returned_total" + }, + "3536": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "__type.return_request_total" + }, + "3537": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "__type.write_off_total" + }, + "3538": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "__type.projected_total" + }, + "3539": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "__type.net_total" + }, + "3540": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "__type.net_subtotal" + }, + "3541": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "__type.net_total_tax" + }, + "3542": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "__type.future_total" + }, + "3543": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "__type.future_subtotal" + }, + "3544": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "__type.future_total_tax" + }, + "3545": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "__type.future_projected_total" + }, + "3546": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "__type.balance" + }, + "3547": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "__type.future_balance" + }, + "3548": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO" + }, + "3549": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.id" + }, + "3550": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.code" + }, + "3551": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.amount" + }, + "3552": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.order_id" + }, + "3553": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.description" + }, + "3554": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.promotion_id" + }, + "3555": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.provider_id" + }, + "3556": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.created_at" + }, + "3557": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.updated_at" + }, + "3558": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodAdjustmentDTO" + }, + "3559": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodAdjustmentDTO.shipping_method" + }, + "3560": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodAdjustmentDTO.shipping_method_id" + }, + "3561": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.id" + }, + "3562": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.code" + }, + "3563": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.amount" + }, + "3564": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.order_id" + }, + "3565": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.description" + }, + "3566": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.promotion_id" + }, + "3567": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.provider_id" + }, + "3568": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.created_at" + }, + "3569": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.updated_at" + }, + "3570": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemAdjustmentDTO" + }, + "3571": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemAdjustmentDTO.item" + }, + "3572": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemAdjustmentDTO.item_id" + }, + "3573": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.id" + }, + "3574": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.code" + }, + "3575": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.amount" + }, + "3576": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.order_id" + }, + "3577": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.description" + }, + "3578": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.promotion_id" + }, + "3579": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.provider_id" + }, + "3580": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.created_at" + }, + "3581": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAdjustmentLineDTO.updated_at" + }, + "3582": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO" + }, + "3583": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.id" + }, + "3584": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.description" + }, + "3585": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.tax_rate_id" + }, + "3586": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.code" + }, + "3587": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.rate" + }, + "3588": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.provider_id" + }, + "3589": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.created_at" + }, + "3590": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.updated_at" + }, + "3591": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodTaxLineDTO" + }, + "3592": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodTaxLineDTO.shipping_method" + }, + "3593": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodTaxLineDTO.shipping_method_id" + }, + "3594": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodTaxLineDTO.total" + }, + "3595": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodTaxLineDTO.subtotal" + }, + "3596": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodTaxLineDTO.raw_total" + }, + "3597": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodTaxLineDTO.raw_subtotal" + }, + "3598": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.id" + }, + "3599": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.description" + }, + "3600": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.tax_rate_id" + }, + "3601": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.code" + }, + "3602": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.rate" + }, + "3603": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.provider_id" + }, + "3604": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.created_at" + }, + "3605": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.updated_at" + }, + "3606": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTaxLineDTO" + }, + "3607": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTaxLineDTO.item" + }, + "3608": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTaxLineDTO.item_id" + }, + "3609": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTaxLineDTO.total" + }, + "3610": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTaxLineDTO.subtotal" + }, + "3611": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTaxLineDTO.raw_total" + }, + "3612": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTaxLineDTO.raw_subtotal" + }, + "3613": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.id" + }, + "3614": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.description" + }, + "3615": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.tax_rate_id" + }, + "3616": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.code" + }, + "3617": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.rate" + }, + "3618": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.provider_id" + }, + "3619": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.created_at" + }, + "3620": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTaxLineDTO.updated_at" + }, + "3621": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAddressDTO" + }, + "3622": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAddressDTO.id" + }, + "3623": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAddressDTO.customer_id" + }, + "3624": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAddressDTO.first_name" + }, + "3625": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAddressDTO.last_name" + }, + "3626": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAddressDTO.phone" + }, + "3627": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAddressDTO.company" + }, + "3628": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAddressDTO.address_1" + }, + "3629": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAddressDTO.address_2" + }, + "3630": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAddressDTO.city" + }, + "3631": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAddressDTO.country_code" + }, + "3632": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAddressDTO.province" + }, + "3633": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAddressDTO.postal_code" + }, + "3634": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAddressDTO.metadata" + }, + "3635": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAddressDTO.created_at" + }, + "3636": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderAddressDTO.updated_at" + }, + "3637": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO" }, - { - "id": 3738, - "name": "InputPrice", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 3739, - "name": "region_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3740, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3741, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3742, - "name": "variant_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3743, - "name": "min_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 3744, - "name": "max_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3739, - 3740, - 3741, - 3742, - 3743, - 3744 - ] - } - ] - } - ], - "groups": [ - { - "title": "Namespaces", - "children": [ - 116, - 117, - 131, - 902, - 1088, - 1483, - 1650, - 1752, - 1771, - 1832, - 1890, - 2160, - 2507, - 2519, - 2602, - 2646, - 2651, - 2702 - ] + "3638": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.id" }, - { - "title": "Enumerations", - "children": [ - 2922, - 3398, - 3401 - ] + "3639": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.order_id" }, - { - "title": "Interfaces", - "children": [ - 92, - 19, - 3693, - 3712, - 2797, - 2800, - 2805, - 2808, - 2810, - 2824, - 2827, - 2841, - 2844, - 2847, - 2865, - 2872, - 2880, - 2928, - 2943, - 2950, - 2971, - 2977, - 2983, - 2985, - 2988, - 2993, - 3002, - 3013, - 3020, - 3024, - 3028, - 3035, - 3039, - 3150, - 3155, - 3160, - 3165, - 3169, - 3180, - 3187, - 3193, - 3404, - 3416, - 3425, - 3426, - 3427, - 3437, - 3446, - 3454, - 3461, - 3467, - 3473, - 3478, - 3484, - 3488, - 3492, - 3496, - 3499, - 3502, - 3198, - 3211, - 3220, - 3228, - 3338, - 3343, - 3347, - 3352, - 3310, - 3321, - 3326, - 3332, - 3359, - 3364, - 3367, - 3371, - 3235, - 3241, - 3243, - 3245, - 3249, - 3258, - 3279, - 3284, - 3292, - 3295, - 3298, - 3303, - 3305, - 3377, - 3382, - 3387, - 3392, - 3505, - 3507, - 3513, - 3520, - 3525, - 3532, - 3537, - 3545, - 3554, - 3561, - 3569, - 3572, - 3575, - 3664, - 3667, - 3673, - 3682, - 3738 - ] + "3640": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.name" }, - { - "title": "Type Aliases", - "children": [ - 1, - 68, - 77, - 86, - 97, - 103, - 107, - 108, - 16, - 3707, - 3701, - 3703, - 3745, - 3763, - 3753, - 3751, - 3749, - 3700, - 3705, - 2814, - 3737 - ] - } - ], - "packageName": "@medusajs/types", - "symbolIdMap": { - "0": { - "sourceFileName": "../../../packages/types/src/index.ts", - "qualifiedName": "" + "3641": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.description" }, - "1": { - "sourceFileName": "../../../packages/types/src/address/common.ts", - "qualifiedName": "AddressDTO" + "3642": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.amount" }, - "2": { - "sourceFileName": "../../../packages/types/src/address/common.ts", - "qualifiedName": "__type" + "3643": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.raw_amount" }, - "3": { - "sourceFileName": "../../../packages/types/src/address/common.ts", - "qualifiedName": "__type.id" + "3644": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.is_tax_inclusive" }, - "4": { - "sourceFileName": "../../../packages/types/src/address/common.ts", - "qualifiedName": "__type.address_1" + "3645": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.shipping_option_id" }, - "5": { - "sourceFileName": "../../../packages/types/src/address/common.ts", - "qualifiedName": "__type.address_2" + "3646": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.data" }, - "6": { - "sourceFileName": "../../../packages/types/src/address/common.ts", - "qualifiedName": "__type.company" + "3647": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.metadata" }, - "7": { - "sourceFileName": "../../../packages/types/src/address/common.ts", - "qualifiedName": "__type.country_code" + "3648": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.tax_lines" }, - "8": { - "sourceFileName": "../../../packages/types/src/address/common.ts", - "qualifiedName": "__type.city" + "3649": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.adjustments" }, - "9": { - "sourceFileName": "../../../packages/types/src/address/common.ts", - "qualifiedName": "__type.phone" + "3650": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.created_at" }, - "10": { - "sourceFileName": "../../../packages/types/src/address/common.ts", - "qualifiedName": "__type.postal_code" + "3651": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.updated_at" }, - "11": { - "sourceFileName": "../../../packages/types/src/address/common.ts", - "qualifiedName": "__type.province" + "3652": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.original_total" }, - "12": { - "sourceFileName": "../../../packages/types/src/address/common.ts", - "qualifiedName": "__type.metadata" + "3653": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.original_subtotal" }, - "13": { - "sourceFileName": "../../../packages/types/src/address/common.ts", - "qualifiedName": "__type.created_at" + "3654": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.original_tax_total" }, - "14": { - "sourceFileName": "../../../packages/types/src/address/common.ts", - "qualifiedName": "__type.updated_at" + "3655": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.total" }, - "15": { - "sourceFileName": "../../../packages/types/src/address/common.ts", - "qualifiedName": "__type.deleted_at" + "3656": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.subtotal" }, - "16": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "JWTGenerationOptions" + "3657": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.tax_total" }, - "17": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "__type" + "3658": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.discount_total" }, - "18": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "__type.expiresIn" + "3659": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.discount_tax_total" }, - "19": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "IAuthModuleService" + "3660": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.raw_original_total" }, - "20": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "IAuthModuleService.authenticate" + "3661": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.raw_original_subtotal" }, - "21": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "IAuthModuleService.authenticate" + "3662": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.raw_original_tax_total" }, - "22": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "provider" + "3663": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.raw_total" }, - "23": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "providerData" + "3664": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.raw_subtotal" }, - "24": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "IAuthModuleService.validateCallback" + "3665": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.raw_tax_total" }, - "25": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "IAuthModuleService.validateCallback" + "3666": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.raw_discount_total" }, - "26": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "provider" + "3667": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderShippingMethodDTO.raw_discount_tax_total" }, - "27": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "providerData" + "3668": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO" }, - "28": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "IAuthModuleService.retrieve" + "3669": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.original_total" }, - "29": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "IAuthModuleService.retrieve" + "3670": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.original_subtotal" }, - "30": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "id" + "3671": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.original_tax_total" }, - "31": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "config" + "3672": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.item_total" }, - "32": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "sharedContext" + "3673": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.item_subtotal" }, - "33": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "IAuthModuleService.list" + "3674": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.item_tax_total" }, - "34": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "IAuthModuleService.list" + "3675": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.total" }, - "35": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "filters" + "3676": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.subtotal" }, - "36": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "config" + "3677": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.tax_total" }, - "37": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "sharedContext" + "3678": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.discount_total" }, - "38": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "IAuthModuleService.listAndCount" + "3679": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.discount_tax_total" }, - "39": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "IAuthModuleService.listAndCount" + "3680": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_original_total" }, - "40": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "filters" + "3681": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_original_subtotal" }, - "41": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "config" + "3682": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_original_tax_total" }, - "42": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "sharedContext" + "3683": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_item_total" }, - "43": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "IAuthModuleService.create" + "3684": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_item_subtotal" }, - "44": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "IAuthModuleService.create" + "3685": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_item_tax_total" }, - "45": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "data" + "3686": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_total" }, - "46": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "sharedContext" + "3687": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_subtotal" }, - "47": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "IAuthModuleService.create" + "3688": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_tax_total" }, - "48": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "data" + "3689": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_discount_total" }, - "49": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "sharedContext" + "3690": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_discount_tax_total" }, - "50": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "IAuthModuleService.update" + "3691": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO" }, - "51": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "IAuthModuleService.update" + "3692": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.id" }, - "52": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "data" + "3693": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.title" }, - "53": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "sharedContext" + "3694": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.subtitle" }, - "54": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "IAuthModuleService.update" + "3695": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.thumbnail" }, - "55": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "data" + "3696": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.variant_id" }, - "56": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "sharedContext" + "3697": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.product_id" }, - "57": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "IAuthModuleService.delete" + "3698": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.product_title" }, - "58": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "IAuthModuleService.delete" + "3699": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.product_description" }, - "59": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "ids" + "3700": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.product_subtitle" }, - "60": { - "sourceFileName": "../../../packages/types/src/auth/service.ts", - "qualifiedName": "sharedContext" + "3701": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.product_type" }, - "68": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "AuthUserDTO" + "3702": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.product_collection" }, - "69": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type" + "3703": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.product_handle" }, - "70": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type.id" + "3704": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.variant_sku" }, - "71": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type.provider" + "3705": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.variant_barcode" }, - "72": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type.entity_id" + "3706": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.variant_title" }, - "73": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type.scope" + "3707": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.variant_option_values" }, - "74": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type.provider_metadata" + "3708": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.requires_shipping" }, - "75": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type.user_metadata" + "3709": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.is_discountable" }, - "76": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type.app_metadata" + "3710": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.is_tax_inclusive" }, - "77": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "CreateAuthUserDTO" + "3711": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.compare_at_unit_price" }, - "78": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type" + "3712": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.raw_compare_at_unit_price" }, - "79": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type.id" + "3713": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.unit_price" }, - "80": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type.provider" + "3714": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.raw_unit_price" }, - "81": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type.entity_id" + "3715": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.quantity" }, - "82": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type.scope" + "3716": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.raw_quantity" }, - "83": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type.provider_metadata" + "3717": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.tax_lines" }, - "84": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type.user_metadata" + "3718": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.adjustments" }, - "85": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type.app_metadata" + "3719": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.detail" }, - "86": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "UpdateAuthUserDTO" + "3720": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.created_at" }, - "87": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type" + "3721": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.updated_at" }, - "88": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type.id" + "3722": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemDTO.metadata" }, - "89": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type.provider_metadata" + "3723": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.original_total" }, - "90": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type.user_metadata" + "3724": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.original_subtotal" }, - "91": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "__type.app_metadata" + "3725": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.original_tax_total" }, - "92": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "FilterableAuthUserProps" + "3726": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.item_total" }, - "93": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "FilterableAuthUserProps.id" + "3727": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.item_subtotal" }, - "94": { - "sourceFileName": "../../../packages/types/src/auth/common/auth-user.ts", - "qualifiedName": "FilterableAuthUserProps.provider" + "3728": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.item_tax_total" }, - "95": { + "3729": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.total" + }, + "3730": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.subtotal" + }, + "3731": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.tax_total" + }, + "3732": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.discount_total" + }, + "3733": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.discount_tax_total" + }, + "3734": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_original_total" + }, + "3735": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_original_subtotal" + }, + "3736": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_original_tax_total" + }, + "3737": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_item_total" + }, + "3738": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_item_subtotal" + }, + "3739": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_item_tax_total" + }, + "3740": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_total" + }, + "3741": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_subtotal" + }, + "3742": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_tax_total" + }, + "3743": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_discount_total" + }, + "3744": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderLineItemTotalsDTO.raw_discount_tax_total" + }, + "3745": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO" + }, + "3746": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.id" + }, + "3747": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.item_id" + }, + "3748": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.item" + }, + "3749": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.quantity" + }, + "3750": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.raw_quantity" + }, + "3751": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.fulfilled_quantity" + }, + "3752": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.raw_fulfilled_quantity" + }, + "3753": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.shipped_quantity" + }, + "3754": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.raw_shipped_quantity" + }, + "3755": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.return_requested_quantity" + }, + "3756": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.raw_return_requested_quantity" + }, + "3757": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.return_received_quantity" + }, + "3758": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.raw_return_received_quantity" + }, + "3759": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.return_dismissed_quantity" + }, + "3760": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.raw_return_dismissed_quantity" + }, + "3761": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.written_off_quantity" + }, + "3762": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.raw_written_off_quantity" + }, + "3763": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.metadata" + }, + "3764": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.created_at" + }, + "3765": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderItemDTO.updated_at" + }, + "3766": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO" + }, + "3767": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.id" + }, + "3768": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.version" + }, + "3769": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.region_id" + }, + "3770": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.customer_id" + }, + "3771": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.sales_channel_id" + }, + "3772": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.email" + }, + "3773": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.currency_code" + }, + "3774": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.shipping_address" + }, + "3775": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.billing_address" + }, + "3776": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.items" + }, + "3777": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.shipping_methods" + }, + "3778": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.transactions" + }, + "3779": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.summary" + }, + "3780": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.metadata" + }, + "3781": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.created_at" + }, + "3782": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.updated_at" + }, + "3783": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.original_item_total" + }, + "3784": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.original_item_subtotal" + }, + "3785": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.original_item_tax_total" + }, + "3786": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.item_total" + }, + "3787": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.item_subtotal" + }, + "3788": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.item_tax_total" + }, + "3789": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.original_total" + }, + "3790": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.original_subtotal" + }, + "3791": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.original_tax_total" + }, + "3792": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.total" + }, + "3793": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.subtotal" + }, + "3794": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.tax_total" + }, + "3795": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.discount_total" + }, + "3796": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.discount_tax_total" + }, + "3797": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.gift_card_total" + }, + "3798": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.gift_card_tax_total" + }, + "3799": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.shipping_total" + }, + "3800": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.shipping_subtotal" + }, + "3801": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.shipping_tax_total" + }, + "3802": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.original_shipping_total" + }, + "3803": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.original_shipping_subtotal" + }, + "3804": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.original_shipping_tax_total" + }, + "3805": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_original_item_total" + }, + "3806": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_original_item_subtotal" + }, + "3807": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_original_item_tax_total" + }, + "3808": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_item_total" + }, + "3809": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_item_subtotal" + }, + "3810": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_item_tax_total" + }, + "3811": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_original_total" + }, + "3812": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_original_subtotal" + }, + "3813": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_original_tax_total" + }, + "3814": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_total" + }, + "3815": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_subtotal" + }, + "3816": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_tax_total" + }, + "3817": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_discount_total" + }, + "3818": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_discount_tax_total" + }, + "3819": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_gift_card_total" + }, + "3820": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_gift_card_tax_total" + }, + "3821": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_shipping_total" + }, + "3822": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_shipping_subtotal" + }, + "3823": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_shipping_tax_total" + }, + "3824": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_original_shipping_total" + }, + "3825": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_original_shipping_subtotal" + }, + "3826": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_original_shipping_tax_total" + }, + "3827": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeDTO" + }, + "3828": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeDTO.id" + }, + "3829": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeDTO.order_id" + }, + "3830": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeDTO.order" + }, + "3831": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeDTO.actions" + }, + "3832": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeDTO.status" + }, + "3833": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeDTO.requested_by" + }, + "3834": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeDTO.requested_at" + }, + "3835": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeDTO.confirmed_by" + }, + "3836": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeDTO.confirmed_at" + }, + "3837": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeDTO.declined_by" + }, + "3838": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeDTO.declined_reason" + }, + "3839": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeDTO.metadata" + }, + "3840": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeDTO.declined_at" + }, + "3841": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeDTO.canceled_by" + }, + "3842": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeDTO.canceled_at" + }, + "3843": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeDTO.created_at" + }, + "3844": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeDTO.updated_at" + }, + "3845": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeActionDTO" + }, + "3846": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeActionDTO.id" + }, + "3847": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeActionDTO.order_change_id" + }, + "3848": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeActionDTO.order_change" + }, + "3849": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeActionDTO.order_id" + }, + "3850": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeActionDTO.order" + }, + "3851": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeActionDTO.reference" + }, + "3852": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeActionDTO.reference_id" + }, + "3853": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeActionDTO.action" + }, + "3854": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeActionDTO.details" + }, + "3855": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeActionDTO.internal_note" + }, + "3856": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeActionDTO.created_at" + }, + "3857": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderChangeActionDTO.updated_at" + }, + "3858": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTransactionDTO" + }, + "3859": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTransactionDTO.id" + }, + "3860": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTransactionDTO.order_id" + }, + "3861": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTransactionDTO.order" + }, + "3862": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTransactionDTO.amount" + }, + "3863": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTransactionDTO.raw_amount" + }, + "3864": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTransactionDTO.currency_code" + }, + "3865": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTransactionDTO.reference" + }, + "3866": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTransactionDTO.reference_id" + }, + "3867": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTransactionDTO.metadata" + }, + "3868": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTransactionDTO.created_at" + }, + "3869": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderTransactionDTO.updated_at" + }, + "3870": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderProps" + }, + "3871": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderProps.id" + }, + "3872": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderProps.sales_channel_id" + }, + "3873": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderProps.customer_id" + }, + "3874": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderProps.region_id" + }, + "3875": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderProps.created_at" + }, + "3876": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderProps.updated_at" + }, + "3877": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$and" }, - "96": { + "3878": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$or" }, - "97": { - "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", - "qualifiedName": "AuthenticationResponse" + "3879": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderAddressProps" }, - "98": { - "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", - "qualifiedName": "__type" + "3880": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderAddressProps.id" }, - "99": { - "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", - "qualifiedName": "__type.success" + "3881": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "100": { - "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", - "qualifiedName": "__type.authUser" + "3882": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "101": { - "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", - "qualifiedName": "__type.error" + "3883": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemProps" }, - "102": { - "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", - "qualifiedName": "__type.location" + "3884": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemProps.id" }, - "103": { - "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", - "qualifiedName": "AuthModuleProviderConfig" + "3885": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemProps.order_id" }, - "104": { - "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", - "qualifiedName": "__type" + "3886": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemProps.title" }, - "105": { - "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", - "qualifiedName": "__type.name" + "3887": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemProps.variant_id" }, - "106": { - "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", - "qualifiedName": "__type.scopes" + "3888": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemProps.product_id" }, - "107": { - "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", - "qualifiedName": "AuthProviderScope" + "3889": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "108": { - "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", - "qualifiedName": "AuthenticationInput" + "3890": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "109": { - "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", - "qualifiedName": "__type" + "3891": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemAdjustmentProps" }, - "110": { - "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", - "qualifiedName": "__type.url" + "3892": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemAdjustmentProps.id" }, - "111": { - "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", - "qualifiedName": "__type.headers" + "3893": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemAdjustmentProps.item_id" }, - "112": { - "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", - "qualifiedName": "__type.query" + "3894": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemAdjustmentProps.promotion_id" }, - "113": { - "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", - "qualifiedName": "__type.body" + "3895": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemAdjustmentProps.provider_id" }, - "114": { - "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", - "qualifiedName": "__type.authScope" + "3896": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemAdjustmentProps.item" }, - "115": { - "sourceFileName": "../../../packages/types/src/auth/common/provider.ts", - "qualifiedName": "__type.protocol" + "3897": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "116": { - "sourceFileName": "../../../packages/types/src/auth/index.ts", - "qualifiedName": "" + "3898": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "117": { - "sourceFileName": "../../../packages/types/src/cache/index.ts", - "qualifiedName": "" + "3899": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderShippingMethodProps" }, - "118": { - "sourceFileName": "../../../packages/types/src/cache/service.ts", - "qualifiedName": "ICacheService" + "3900": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderShippingMethodProps.id" }, - "119": { - "sourceFileName": "../../../packages/types/src/cache/service.ts", - "qualifiedName": "ICacheService.get" + "3901": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderShippingMethodProps.order_id" }, - "120": { - "sourceFileName": "../../../packages/types/src/cache/service.ts", - "qualifiedName": "ICacheService.get" + "3902": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderShippingMethodProps.name" }, - "121": { - "sourceFileName": "../../../packages/types/src/cache/service.ts", - "qualifiedName": "T" + "3903": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderShippingMethodProps.shipping_option_id" }, - "122": { - "sourceFileName": "../../../packages/types/src/cache/service.ts", - "qualifiedName": "key" + "3904": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "123": { - "sourceFileName": "../../../packages/types/src/cache/service.ts", - "qualifiedName": "ICacheService.set" + "3905": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "124": { - "sourceFileName": "../../../packages/types/src/cache/service.ts", - "qualifiedName": "ICacheService.set" + "3906": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderShippingMethodAdjustmentProps" }, - "125": { - "sourceFileName": "../../../packages/types/src/cache/service.ts", - "qualifiedName": "key" + "3907": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderShippingMethodAdjustmentProps.id" }, - "126": { - "sourceFileName": "../../../packages/types/src/cache/service.ts", - "qualifiedName": "data" + "3908": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderShippingMethodAdjustmentProps.shipping_method_id" }, - "127": { - "sourceFileName": "../../../packages/types/src/cache/service.ts", - "qualifiedName": "ttl" + "3909": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderShippingMethodAdjustmentProps.promotion_id" }, - "128": { - "sourceFileName": "../../../packages/types/src/cache/service.ts", - "qualifiedName": "ICacheService.invalidate" + "3910": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderShippingMethodAdjustmentProps.provider_id" }, - "129": { - "sourceFileName": "../../../packages/types/src/cache/service.ts", - "qualifiedName": "ICacheService.invalidate" + "3911": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderShippingMethodAdjustmentProps.shipping_method" }, - "130": { - "sourceFileName": "../../../packages/types/src/cache/service.ts", - "qualifiedName": "key" + "3912": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "131": { - "sourceFileName": "../../../packages/types/src/cart/index.ts", - "qualifiedName": "" + "3913": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "132": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO" + "3914": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemTaxLineProps" }, - "133": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.id" + "3915": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemTaxLineProps.id" }, - "134": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.code" + "3916": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemTaxLineProps.description" }, - "135": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.amount" + "3917": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemTaxLineProps.code" }, - "136": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.cart_id" + "3918": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemTaxLineProps.tax_rate_id" }, - "137": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.description" + "3919": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemTaxLineProps.provider_id" }, - "138": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.promotion_id" + "3920": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemTaxLineProps.item_id" }, - "139": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.provider_id" + "3921": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderLineItemTaxLineProps.item" }, - "140": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.created_at" + "3922": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "141": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.updated_at" + "3923": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "142": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "ShippingMethodAdjustmentDTO" + "3924": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderShippingMethodTaxLineProps" }, - "143": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "ShippingMethodAdjustmentDTO.shipping_method" + "3925": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderShippingMethodTaxLineProps.id" }, - "144": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "ShippingMethodAdjustmentDTO.shipping_method_id" + "3926": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderShippingMethodTaxLineProps.description" }, - "145": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.id" + "3927": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderShippingMethodTaxLineProps.code" }, - "146": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.code" + "3928": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderShippingMethodTaxLineProps.tax_rate_id" }, - "147": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.amount" + "3929": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderShippingMethodTaxLineProps.provider_id" }, - "148": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.cart_id" + "3930": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderShippingMethodTaxLineProps.shipping_method_id" }, - "149": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.description" + "3931": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderShippingMethodTaxLineProps.shipping_method" }, - "150": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.promotion_id" + "3932": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "151": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.provider_id" + "3933": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "152": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.created_at" + "3934": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderChangeProps" }, - "153": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.updated_at" + "3935": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderChangeProps.id" }, - "154": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "LineItemAdjustmentDTO" + "3936": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderChangeProps.order_id" }, - "155": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "LineItemAdjustmentDTO.item" + "3937": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderChangeProps.status" }, - "156": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "LineItemAdjustmentDTO.item_id" + "3938": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderChangeProps.requested_by" }, - "157": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.id" + "3939": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderChangeProps.confirmed_by" }, - "158": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.code" + "3940": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderChangeProps.declined_by" }, - "159": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.amount" + "3941": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderChangeProps.canceled_by" }, - "160": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.cart_id" + "3942": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderChangeProps.created_at" }, - "161": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.description" + "3943": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderChangeProps.updated_at" }, - "162": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.promotion_id" + "3944": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderChangeProps.deleted_at" }, - "163": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.provider_id" + "3945": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderChangeProps.canceled_at" }, - "164": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.created_at" + "3946": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "165": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "AdjustmentLineDTO.updated_at" + "3947": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "166": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO" + "3948": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderChangeActionProps" }, - "167": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.id" + "3949": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderChangeActionProps.id" }, - "168": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.description" + "3950": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderChangeActionProps.order_change_id" }, - "169": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.tax_rate_id" + "3951": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderChangeActionProps.reference" }, - "170": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.code" + "3952": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderChangeActionProps.reference_id" }, - "171": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.rate" + "3953": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "3954": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "3955": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderTransactionProps" + }, + "3956": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderTransactionProps.id" + }, + "3957": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderTransactionProps.order_id" + }, + "3958": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderTransactionProps.currency_code" + }, + "3959": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderTransactionProps.reference" + }, + "3960": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderTransactionProps.reference_id" + }, + "3961": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderTransactionProps.created_at" + }, + "3962": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "3963": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "3964": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderItemProps" + }, + "3965": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderItemProps.id" + }, + "3966": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderItemProps.order_id" + }, + "3967": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderItemProps.version" + }, + "3968": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "FilterableOrderItemProps.item_id" + }, + "3969": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "3970": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "3971": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO" + }, + "3972": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.customer_id" + }, + "3973": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.company" + }, + "3974": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.first_name" + }, + "3975": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.last_name" + }, + "3976": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.address_1" + }, + "3977": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.address_2" + }, + "3978": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.city" + }, + "3979": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.country_code" + }, + "3980": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.province" + }, + "3981": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.postal_code" + }, + "3982": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.phone" + }, + "3983": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.metadata" + }, + "3984": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderAddressDTO" + }, + "3985": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderAddressDTO.id" + }, + "3986": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.customer_id" + }, + "3987": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.company" + }, + "3988": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.first_name" + }, + "3989": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.last_name" + }, + "3990": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.address_1" + }, + "3991": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.address_2" + }, + "3992": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.city" + }, + "3993": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.country_code" + }, + "3994": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.province" + }, + "3995": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.postal_code" + }, + "3996": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.phone" + }, + "3997": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.metadata" + }, + "3998": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderAddressDTO" + }, + "3999": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.customer_id" + }, + "4000": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.company" + }, + "4001": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.first_name" + }, + "4002": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.last_name" + }, + "4003": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.address_1" + }, + "4004": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.address_2" + }, + "4005": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.city" + }, + "4006": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.country_code" + }, + "4007": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.province" + }, + "4008": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.postal_code" + }, + "4009": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.phone" + }, + "4010": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderAddressDTO.metadata" + }, + "4011": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderDTO" + }, + "4012": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderDTO.region_id" + }, + "4013": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderDTO.customer_id" + }, + "4014": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderDTO.sales_channel_id" + }, + "4015": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderDTO.status" + }, + "4016": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderDTO.email" + }, + "4017": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderDTO.currency_code" + }, + "4018": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderDTO.shipping_address_id" + }, + "4019": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderDTO.billing_address_id" + }, + "4020": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderDTO.shipping_address" + }, + "4021": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderDTO.billing_address" + }, + "4022": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderDTO.no_notification" + }, + "4023": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderDTO.items" + }, + "4024": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderDTO.shipping_methods" + }, + "4025": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderDTO.transactions" + }, + "4026": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderDTO.metadata" + }, + "4027": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderDTO.promo_codes" + }, + "4028": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderDTO" + }, + "4029": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderDTO.id" + }, + "4030": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderDTO.version" + }, + "4031": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderDTO.region_id" + }, + "4032": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderDTO.customer_id" + }, + "4033": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderDTO.sales_channel_id" + }, + "4034": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderDTO.items" + }, + "4035": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderDTO.shipping_address" + }, + "4036": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderDTO.billing_address" + }, + "4037": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderDTO.email" + }, + "4038": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderDTO.no_notification" + }, + "4039": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderDTO.metadata" + }, + "4040": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderAdjustmentDTO" + }, + "4041": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderAdjustmentDTO.code" + }, + "4042": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderAdjustmentDTO.amount" + }, + "4043": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderAdjustmentDTO.description" + }, + "4044": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderAdjustmentDTO.promotion_id" + }, + "4045": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderAdjustmentDTO.provider_id" + }, + "4046": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderAdjustmentDTO" + }, + "4047": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderAdjustmentDTO.id" + }, + "4048": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderAdjustmentDTO.code" + }, + "4049": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderAdjustmentDTO.amount" + }, + "4050": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderAdjustmentDTO.description" + }, + "4051": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderAdjustmentDTO.promotion_id" + }, + "4052": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderAdjustmentDTO.provider_id" + }, + "4053": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemAdjustmentDTO" + }, + "4054": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemAdjustmentDTO.item_id" + }, + "4055": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderAdjustmentDTO.code" + }, + "4056": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderAdjustmentDTO.amount" + }, + "4057": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderAdjustmentDTO.description" + }, + "4058": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderAdjustmentDTO.promotion_id" + }, + "4059": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderAdjustmentDTO.provider_id" + }, + "4060": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderLineItemAdjustmentDTO" + }, + "4061": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderLineItemAdjustmentDTO.item_id" + }, + "4062": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderAdjustmentDTO.id" + }, + "4063": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderAdjustmentDTO.code" + }, + "4064": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderAdjustmentDTO.amount" + }, + "4065": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderAdjustmentDTO.description" + }, + "4066": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderAdjustmentDTO.promotion_id" + }, + "4067": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderAdjustmentDTO.provider_id" + }, + "4068": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderLineItemAdjustmentDTO" + }, + "4069": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderLineItemAdjustmentDTO.id" + }, + "4070": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderLineItemAdjustmentDTO.item_id" + }, + "4071": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderLineItemAdjustmentDTO.code" + }, + "4072": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderLineItemAdjustmentDTO.amount" + }, + "4073": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderLineItemAdjustmentDTO.description" + }, + "4074": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderLineItemAdjustmentDTO.promotion_id" + }, + "4075": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpsertOrderLineItemAdjustmentDTO.provider_id" + }, + "4076": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTaxLineDTO" + }, + "4077": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTaxLineDTO.description" + }, + "4078": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTaxLineDTO.tax_rate_id" + }, + "4079": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTaxLineDTO.code" + }, + "4080": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTaxLineDTO.rate" + }, + "4081": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTaxLineDTO.provider_id" + }, + "4082": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTaxLineDTO" + }, + "4083": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTaxLineDTO.id" + }, + "4084": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTaxLineDTO.description" + }, + "4085": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTaxLineDTO.tax_rate_id" + }, + "4086": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTaxLineDTO.code" + }, + "4087": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTaxLineDTO.rate" + }, + "4088": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTaxLineDTO.provider_id" + }, + "4089": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderShippingMethodTaxLineDTO" + }, + "4090": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTaxLineDTO.description" + }, + "4091": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTaxLineDTO.tax_rate_id" + }, + "4092": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTaxLineDTO.code" + }, + "4093": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTaxLineDTO.rate" + }, + "4094": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTaxLineDTO.provider_id" }, - "172": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.provider_id" + "4095": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderShippingMethodTaxLineDTO" }, - "173": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.created_at" + "4096": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTaxLineDTO.id" }, - "174": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.updated_at" + "4097": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTaxLineDTO.description" }, - "175": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "ShippingMethodTaxLineDTO" + "4098": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTaxLineDTO.tax_rate_id" }, - "176": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "ShippingMethodTaxLineDTO.shipping_method" + "4099": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTaxLineDTO.code" }, - "177": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "ShippingMethodTaxLineDTO.shipping_method_id" + "4100": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTaxLineDTO.rate" }, - "178": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.id" + "4101": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTaxLineDTO.provider_id" }, - "179": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.description" + "4102": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemTaxLineDTO" }, - "180": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.tax_rate_id" + "4103": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTaxLineDTO.description" }, - "181": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.code" + "4104": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTaxLineDTO.tax_rate_id" }, - "182": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.rate" + "4105": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTaxLineDTO.code" }, - "183": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.provider_id" + "4106": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTaxLineDTO.rate" }, - "184": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.created_at" + "4107": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTaxLineDTO.provider_id" }, - "185": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.updated_at" + "4108": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderLineItemTaxLineDTO" }, - "186": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "LineItemTaxLineDTO" + "4109": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTaxLineDTO.id" }, - "187": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "LineItemTaxLineDTO.item" + "4110": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTaxLineDTO.description" }, - "188": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "LineItemTaxLineDTO.item_id" + "4111": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTaxLineDTO.tax_rate_id" }, - "189": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.id" + "4112": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTaxLineDTO.code" }, - "190": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.description" + "4113": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTaxLineDTO.rate" }, - "191": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.tax_rate_id" + "4114": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTaxLineDTO.provider_id" }, - "192": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.code" + "4115": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO" }, - "193": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.rate" + "4116": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.title" }, - "194": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.provider_id" + "4117": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.subtitle" }, - "195": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.created_at" + "4118": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.thumbnail" }, - "196": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "TaxLineDTO.updated_at" + "4119": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.order_id" }, - "197": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartAddressDTO" + "4120": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.quantity" }, - "198": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartAddressDTO.id" + "4121": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.product_id" }, - "199": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartAddressDTO.customer_id" + "4122": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.product_title" }, - "200": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartAddressDTO.first_name" + "4123": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.product_description" }, - "201": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartAddressDTO.last_name" + "4124": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.product_subtitle" }, - "202": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartAddressDTO.phone" + "4125": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.product_type" }, - "203": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartAddressDTO.company" + "4126": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.product_collection" }, - "204": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartAddressDTO.address_1" + "4127": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.product_handle" }, - "205": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartAddressDTO.address_2" + "4128": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.variant_id" }, - "206": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartAddressDTO.city" + "4129": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.variant_sku" }, - "207": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartAddressDTO.country_code" + "4130": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.variant_barcode" }, - "208": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartAddressDTO.province" + "4131": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.variant_title" }, - "209": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartAddressDTO.postal_code" + "4132": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.variant_option_values" }, - "210": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartAddressDTO.metadata" + "4133": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.requires_shipping" }, - "211": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartAddressDTO.created_at" + "4134": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.is_discountable" }, - "212": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartAddressDTO.updated_at" + "4135": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.is_tax_inclusive" }, - "213": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO" + "4136": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.compare_at_unit_price" }, - "214": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.id" + "4137": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.unit_price" }, - "215": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.cart_id" + "4138": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.tax_lines" }, - "216": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.name" + "4139": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.adjustments" }, - "217": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.description" + "4140": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.metadata" }, - "218": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.unit_price" + "4141": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemForOrderDTO" }, - "219": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.is_tax_inclusive" + "4142": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemForOrderDTO.order_id" }, - "220": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.shipping_option_id" + "4143": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.title" }, - "221": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.data" + "4144": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.subtitle" }, - "222": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.metadata" + "4145": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.thumbnail" }, - "223": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.tax_lines" + "4146": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.quantity" }, - "224": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.adjustments" + "4147": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.product_id" }, - "225": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.created_at" + "4148": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.product_title" }, - "226": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.updated_at" + "4149": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.product_description" }, - "227": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.original_total" + "4150": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.product_subtitle" }, - "228": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.original_subtotal" + "4151": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.product_type" }, - "229": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.original_tax_total" + "4152": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.product_collection" }, - "230": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.total" + "4153": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.product_handle" }, - "231": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.subtotal" + "4154": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.variant_id" }, - "232": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.tax_total" + "4155": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.variant_sku" }, - "233": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.discount_total" + "4156": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.variant_barcode" }, - "234": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartShippingMethodDTO.discount_tax_total" + "4157": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.variant_title" }, - "235": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO" + "4158": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.variant_option_values" }, - "236": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.id" + "4159": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.requires_shipping" }, - "237": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.title" + "4160": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.is_discountable" }, - "238": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.subtitle" + "4161": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.is_tax_inclusive" }, - "239": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.thumbnail" + "4162": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.compare_at_unit_price" }, - "240": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.quantity" + "4163": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.unit_price" }, - "241": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.product_id" + "4164": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.tax_lines" }, - "242": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.product_title" + "4165": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.adjustments" }, - "243": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.product_description" + "4166": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderLineItemDTO.metadata" }, - "244": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.product_subtitle" + "4167": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderLineItemWithSelectorDTO" }, - "245": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.product_type" + "4168": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderLineItemWithSelectorDTO.selector" }, - "246": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.product_collection" + "4169": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderLineItemWithSelectorDTO.data" }, - "247": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.product_handle" + "4170": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderLineItemDTO" }, - "248": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.variant_id" + "4171": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderLineItemDTO.id" }, - "249": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.variant_sku" + "4172": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderLineItemDTO.title" }, - "250": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.variant_barcode" + "4173": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderLineItemDTO.quantity" }, - "251": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.variant_title" + "4174": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderLineItemDTO.unit_price" }, - "252": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.variant_option_values" + "4175": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderLineItemDTO.tax_lines" }, - "253": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.requires_shipping" + "4176": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderLineItemDTO.adjustments" }, - "254": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.is_discountable" + "4177": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "variant_id" }, - "255": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.is_tax_inclusive" + "4178": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "product_id" }, - "256": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.compare_at_unit_price" + "4179": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "subtitle" }, - "257": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.unit_price" + "4180": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "thumbnail" }, - "258": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.tax_lines" + "4181": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "product_title" }, - "259": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.adjustments" + "4182": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "product_description" }, - "260": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.cart" + "4183": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "product_subtitle" }, - "261": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.cart_id" + "4184": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "product_type" }, - "262": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.metadata" + "4185": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "product_collection" }, - "263": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.created_at" + "4186": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "product_handle" }, - "264": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.updated_at" + "4187": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "variant_sku" }, - "265": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.original_total" + "4188": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "variant_barcode" }, - "266": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.original_subtotal" + "4189": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "variant_title" }, - "267": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.original_tax_total" + "4190": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "variant_option_values" }, - "268": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.item_total" + "4191": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "requires_shipping" }, - "269": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.item_subtotal" + "4192": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "is_discountable" }, - "270": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.item_tax_total" + "4193": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "is_tax_inclusive" }, - "271": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.total" + "4194": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "compare_at_unit_price" }, - "272": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.subtotal" + "4195": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "metadata" }, - "273": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.tax_total" + "4196": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "order_id" }, - "274": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.discount_total" + "4197": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderShippingMethodDTO" }, - "275": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartLineItemDTO.discount_tax_total" + "4198": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderShippingMethodDTO.name" }, - "276": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO" + "4199": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderShippingMethodDTO.order_id" }, - "277": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.id" + "4200": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderShippingMethodDTO.version" }, - "278": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.region_id" + "4201": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderShippingMethodDTO.amount" }, - "279": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.customer_id" + "4202": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderShippingMethodDTO.shipping_option_id" }, - "280": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.sales_channel_id" + "4203": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderShippingMethodDTO.data" }, - "281": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.email" + "4204": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderShippingMethodDTO.tax_lines" }, - "282": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.currency_code" + "4205": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderShippingMethodDTO.adjustments" }, - "283": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.shipping_address" + "4206": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderShippingMethodDTO" }, - "284": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.billing_address" + "4207": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderShippingMethodDTO.id" }, - "285": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.items" + "4208": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderShippingMethodDTO.name" }, - "286": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.shipping_methods" + "4209": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderShippingMethodDTO.shipping_option_id" }, - "287": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.metadata" + "4210": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderShippingMethodDTO.amount" }, - "288": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.created_at" + "4211": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderShippingMethodDTO.data" }, - "289": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.updated_at" + "4212": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderShippingMethodDTO.tax_lines" }, - "290": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.original_item_total" + "4213": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderShippingMethodDTO.adjustments" }, - "291": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.original_item_subtotal" + "4214": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderShippingMethodAdjustmentDTO" }, - "292": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.original_item_tax_total" + "4215": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderShippingMethodAdjustmentDTO.shipping_method_id" }, - "293": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.item_total" + "4216": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderShippingMethodAdjustmentDTO.code" }, - "294": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.item_subtotal" + "4217": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderShippingMethodAdjustmentDTO.amount" }, - "295": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.item_tax_total" + "4218": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderShippingMethodAdjustmentDTO.description" }, - "296": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.original_total" + "4219": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderShippingMethodAdjustmentDTO.promotion_id" }, - "297": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.original_subtotal" + "4220": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderShippingMethodAdjustmentDTO.provider_id" }, - "298": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.original_tax_total" + "4221": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderShippingMethodAdjustmentDTO" }, - "299": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.total" + "4222": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderShippingMethodAdjustmentDTO.id" }, - "300": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.subtotal" + "4223": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderShippingMethodAdjustmentDTO.code" }, - "301": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.tax_total" + "4224": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderShippingMethodAdjustmentDTO.amount" }, - "302": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.discount_total" + "4225": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderShippingMethodAdjustmentDTO.description" }, - "303": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.discount_tax_total" + "4226": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderShippingMethodAdjustmentDTO.promotion_id" }, - "304": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.shipping_total" + "4227": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderShippingMethodAdjustmentDTO.provider_id" }, - "305": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.shipping_subtotal" + "4228": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderChangeDTO" }, - "306": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.shipping_tax_total" + "4229": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderChangeDTO.order_id" }, - "307": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.original_shipping_total" + "4230": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderChangeDTO.description" }, - "308": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.original_shipping_subtotal" + "4231": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderChangeDTO.internal_note" }, - "309": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "CartDTO.original_shipping_tax_total" + "4232": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderChangeDTO.requested_by" }, - "310": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableCartProps" + "4233": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderChangeDTO.requested_at" }, - "311": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableCartProps.id" + "4234": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderChangeDTO.created_by" }, - "312": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableCartProps.sales_channel_id" + "4235": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderChangeDTO.metadata" }, - "313": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableCartProps.customer_id" + "4236": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderChangeDTO.actions" }, - "314": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableCartProps.region_id" + "4237": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderChangeDTO" }, - "315": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableCartProps.created_at" + "4238": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderChangeDTO.id" }, - "316": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableCartProps.updated_at" + "4239": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderChangeDTO.status" }, - "317": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "4240": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderChangeDTO.description" }, - "318": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "4241": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderChangeDTO.internal_note" }, - "319": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableAddressProps" + "4242": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderChangeDTO.requested_by" }, - "320": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableAddressProps.id" + "4243": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderChangeDTO.requested_at" }, - "321": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "4244": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderChangeDTO.confirmed_by" }, - "322": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "4245": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderChangeDTO.confirmed_at" }, - "323": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemProps" + "4246": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderChangeDTO.declined_by" }, - "324": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemProps.id" + "4247": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderChangeDTO.declined_reason" }, - "325": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemProps.cart_id" + "4248": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderChangeDTO.declined_at" }, - "326": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemProps.title" + "4249": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderChangeDTO.canceled_by" }, - "327": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemProps.variant_id" + "4250": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderChangeDTO.metadata" }, - "328": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemProps.product_id" + "4251": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CancelOrderChangeDTO" }, - "329": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "4252": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CancelOrderChangeDTO.id" }, - "330": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "4253": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CancelOrderChangeDTO.canceled_by" }, - "331": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemAdjustmentProps" + "4254": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CancelOrderChangeDTO.metadata" }, - "332": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemAdjustmentProps.id" + "4255": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "DeclineOrderChangeDTO" }, - "333": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemAdjustmentProps.item_id" + "4256": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "DeclineOrderChangeDTO.id" }, - "334": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemAdjustmentProps.promotion_id" + "4257": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "DeclineOrderChangeDTO.declined_by" }, - "335": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemAdjustmentProps.provider_id" + "4258": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "DeclineOrderChangeDTO.metadata" }, - "336": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemAdjustmentProps.item" + "4259": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "ConfirmOrderChangeDTO" }, - "337": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "4260": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "ConfirmOrderChangeDTO.id" }, - "338": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "4261": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "ConfirmOrderChangeDTO.confirmed_by" }, - "339": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableShippingMethodProps" + "4262": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "ConfirmOrderChangeDTO.metadata" }, - "340": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableShippingMethodProps.id" + "4263": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderChangeActionDTO" }, - "341": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableShippingMethodProps.cart_id" + "4264": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderChangeActionDTO.order_change_id" }, - "342": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableShippingMethodProps.name" + "4265": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderChangeActionDTO.version" }, - "343": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableShippingMethodProps.shipping_option_id" + "4266": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderChangeActionDTO.reference" }, - "344": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "4267": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderChangeActionDTO.reference_id" }, - "345": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "4268": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderChangeActionDTO.action" }, - "346": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableShippingMethodAdjustmentProps" + "4269": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderChangeActionDTO.internal_note" }, - "347": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableShippingMethodAdjustmentProps.id" + "4270": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderChangeActionDTO.amount" }, - "348": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableShippingMethodAdjustmentProps.shipping_method_id" + "4271": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderChangeActionDTO.details" }, - "349": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableShippingMethodAdjustmentProps.promotion_id" + "4272": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderChangeActionDTO" }, - "350": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableShippingMethodAdjustmentProps.provider_id" + "4273": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderChangeActionDTO.id" }, - "351": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableShippingMethodAdjustmentProps.shipping_method" + "4274": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderChangeActionDTO.internal_note" }, - "352": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "4275": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTransactionDTO" }, - "353": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "4276": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTransactionDTO.order_id" }, - "354": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemTaxLineProps" + "4277": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTransactionDTO.amount" }, - "355": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemTaxLineProps.id" + "4278": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTransactionDTO.currency_code" }, - "356": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemTaxLineProps.description" + "4279": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTransactionDTO.reference" }, - "357": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemTaxLineProps.code" + "4280": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTransactionDTO.reference_id" }, - "358": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemTaxLineProps.tax_rate_id" + "4281": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderTransactionDTO.metadata" }, - "359": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemTaxLineProps.provider_id" + "4282": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTransactionDTO" }, - "360": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemTaxLineProps.item_id" + "4283": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTransactionDTO.id" }, - "361": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableLineItemTaxLineProps.item" + "4284": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTransactionDTO.amount" }, - "362": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "4285": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTransactionDTO.currency_code" }, - "363": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "4286": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTransactionDTO.reference" }, - "364": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableShippingMethodTaxLineProps" + "4287": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTransactionDTO.reference_id" }, - "365": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableShippingMethodTaxLineProps.id" + "4288": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderTransactionDTO.metadata" }, - "366": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableShippingMethodTaxLineProps.description" + "4289": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderItemDTO" }, - "367": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableShippingMethodTaxLineProps.code" + "4290": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderItemDTO.id" }, - "368": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableShippingMethodTaxLineProps.tax_rate_id" + "4291": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderItemDTO.order_id" }, - "369": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableShippingMethodTaxLineProps.provider_id" + "4292": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderItemDTO.version" }, - "370": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableShippingMethodTaxLineProps.shipping_method_id" + "4293": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderItemDTO.item_id" }, - "371": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "FilterableShippingMethodTaxLineProps.shipping_method" + "4294": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderItemDTO.quantity" }, - "372": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "4295": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderItemDTO.fulfilled_quantity" }, - "373": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "4296": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderItemDTO.return_requested_quantity" }, - "374": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "legacy_CartDTO" + "4297": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderItemDTO.return_received_quantity" }, - "375": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type" + "4298": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderItemDTO.return_dismissed_quantity" }, - "376": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.id" + "4299": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderItemDTO.written_off_quantity" }, - "377": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.email" + "4300": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderItemDTO.metadata" }, - "378": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.billing_address_id" + "4301": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderItemWithSelectorDTO" }, - "379": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.shipping_address_id" + "4302": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderItemWithSelectorDTO.selector" }, - "380": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.region_id" + "4303": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "UpdateOrderItemWithSelectorDTO.data" }, - "381": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.customer_id" + "4304": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "RegisterOrderFulfillmentDTO" }, - "382": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.payment_id" + "4305": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "RegisterOrderFulfillmentDTO.order_id" }, - "383": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.completed_at" + "4306": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "RegisterOrderFulfillmentDTO.description" }, - "384": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.payment_authorized_at" + "4307": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "RegisterOrderFulfillmentDTO.internal_note" }, - "385": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.idempotency_key" + "4308": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "RegisterOrderFulfillmentDTO.reference" }, - "386": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.context" + "4309": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "RegisterOrderFulfillmentDTO.reference_id" }, - "387": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.metadata" + "4310": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "RegisterOrderFulfillmentDTO.created_by" }, - "388": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.sales_channel_id" + "4311": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "RegisterOrderFulfillmentDTO.items" }, - "389": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.shipping_total" + "4312": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "__type" }, - "390": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.discount_total" + "4313": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "__type.id" }, - "391": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.raw_discount_total" + "4314": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "__type.quantity" }, - "392": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.item_tax_total" + "4315": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "__type.internal_note" }, - "393": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.shipping_tax_total" + "4316": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "__type.metadata" }, - "394": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.tax_total" + "4317": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "RegisterOrderFulfillmentDTO.metadata" }, - "395": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.refunded_total" + "4318": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "RegisterOrderShipmentDTO" }, - "396": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.total" + "4319": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "RegisterOrderShipmentDTO.order_id" }, - "397": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.subtotal" + "4320": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "RegisterOrderShipmentDTO.description" }, - "398": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.refundable_amount" + "4321": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "RegisterOrderShipmentDTO.internal_note" }, - "399": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.gift_card_total" + "4322": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "RegisterOrderShipmentDTO.reference" }, - "400": { - "sourceFileName": "../../../packages/types/src/cart/common.ts", - "qualifiedName": "__type.gift_card_tax_total" + "4323": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "RegisterOrderShipmentDTO.created_by" }, - "401": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO" + "4324": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "RegisterOrderShipmentDTO.shipping_method" }, - "402": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.customer_id" + "4325": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "RegisterOrderShipmentDTO.items" }, - "403": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.company" + "4326": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "__type" }, - "404": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.first_name" + "4327": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "__type.id" }, - "405": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.last_name" + "4328": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "__type.quantity" }, - "406": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.address_1" + "4329": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "__type.internal_note" }, - "407": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.address_2" + "4330": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "__type.metadata" }, - "408": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.city" + "4331": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "RegisterOrderShipmentDTO.metadata" }, - "409": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.country_code" + "4332": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderReturnDTO" }, - "410": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.province" + "4333": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderReturnDTO.order_id" }, - "411": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.postal_code" + "4334": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderReturnDTO.description" }, - "412": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.phone" + "4335": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderReturnDTO.reference" }, - "413": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.metadata" + "4336": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderReturnDTO.internal_note" }, - "414": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateAddressDTO" + "4337": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderReturnDTO.created_by" }, - "415": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateAddressDTO.id" + "4338": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderReturnDTO.shipping_method" }, - "416": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.customer_id" + "4339": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderReturnDTO.items" }, - "417": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.company" + "4340": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "__type" }, - "418": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.first_name" + "4341": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "__type.id" }, - "419": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.last_name" + "4342": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "__type.quantity" }, - "420": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.address_1" + "4343": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "__type.internal_note" }, - "421": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.address_2" + "4344": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "__type.metadata" }, - "422": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.city" + "4345": { + "sourceFileName": "../../../packages/types/src/order/mutations.ts", + "qualifiedName": "CreateOrderReturnDTO.metadata" }, - "423": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.country_code" + "4346": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService" }, - "424": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.province" + "4347": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.retrieve" }, - "425": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.postal_code" + "4348": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.retrieve" }, - "426": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.phone" + "4349": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderId" }, - "427": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.metadata" + "4350": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" }, - "428": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateAddressDTO" + "4351": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "429": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.customer_id" + "4352": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.list" }, - "430": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.company" + "4353": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.list" }, - "431": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.first_name" + "4354": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "filters" }, - "432": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.last_name" + "4355": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" }, - "433": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.address_1" + "4356": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "434": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.address_2" + "4357": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.listAndCount" }, - "435": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.city" + "4358": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.listAndCount" }, - "436": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.country_code" + "4359": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "filters" }, - "437": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.province" + "4360": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" }, - "438": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.postal_code" + "4361": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "439": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.phone" + "4362": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.create" }, - "440": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertAddressDTO.metadata" + "4363": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.create" }, - "441": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateCartDTO" + "4364": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "442": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateCartDTO.region_id" + "4365": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "443": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateCartDTO.customer_id" + "4366": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.create" }, - "444": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateCartDTO.sales_channel_id" + "4367": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "445": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateCartDTO.email" + "4368": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "446": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateCartDTO.currency_code" + "4369": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.update" }, - "447": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateCartDTO.shipping_address_id" + "4370": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.update" }, - "448": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateCartDTO.billing_address_id" + "4371": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "449": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateCartDTO.shipping_address" + "4372": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.update" }, - "450": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateCartDTO.billing_address" + "4373": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderId" }, - "451": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateCartDTO.metadata" + "4374": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "452": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateCartDTO.items" + "4375": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "453": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateCartDTO" + "4376": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.update" }, - "454": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateCartDTO.id" + "4377": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "selector" }, - "455": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateCartDTO.region_id" + "4378": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "456": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateCartDTO.customer_id" + "4379": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "457": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateCartDTO.sales_channel_id" + "4380": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.delete" }, - "458": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateCartDTO.email" + "4381": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.delete" }, - "459": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateCartDTO.currency_code" + "4382": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderIds" }, - "460": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateCartDTO.shipping_address_id" + "4383": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "461": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateCartDTO.billing_address_id" + "4384": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.delete" }, - "462": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateCartDTO.billing_address" + "4385": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderId" }, - "463": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateCartDTO.shipping_address" + "4386": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "464": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateCartDTO.metadata" + "4387": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.softDelete" }, - "465": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateAdjustmentDTO" + "4388": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.softDelete" }, - "466": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateAdjustmentDTO.code" + "4389": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "467": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateAdjustmentDTO.amount" + "4390": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "storeIds" }, - "468": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateAdjustmentDTO.description" + "4391": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" }, - "469": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateAdjustmentDTO.promotion_id" + "4392": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "470": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateAdjustmentDTO.provider_id" + "4393": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.restore" }, - "471": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateAdjustmentDTO" + "4394": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.restore" }, - "472": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateAdjustmentDTO.id" + "4395": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "473": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateAdjustmentDTO.code" + "4396": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "storeIds" }, - "474": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateAdjustmentDTO.amount" + "4397": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" }, - "475": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateAdjustmentDTO.description" + "4398": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "476": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateAdjustmentDTO.promotion_id" + "4399": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.listAddresses" }, - "477": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateAdjustmentDTO.provider_id" + "4400": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.listAddresses" }, - "478": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemAdjustmentDTO" + "4401": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "filters" }, - "479": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemAdjustmentDTO.item_id" + "4402": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" }, - "480": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateAdjustmentDTO.code" + "4403": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "481": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateAdjustmentDTO.amount" + "4404": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createAddresses" }, - "482": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateAdjustmentDTO.description" + "4405": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createAddresses" }, - "483": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateAdjustmentDTO.promotion_id" + "4406": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "484": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateAdjustmentDTO.provider_id" + "4407": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "485": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateLineItemAdjustmentDTO" + "4408": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createAddresses" }, - "486": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateLineItemAdjustmentDTO.item_id" + "4409": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "487": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateAdjustmentDTO.id" + "4410": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "488": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateAdjustmentDTO.code" + "4411": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.updateAddresses" }, - "489": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateAdjustmentDTO.amount" + "4412": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.updateAddresses" }, - "490": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateAdjustmentDTO.description" + "4413": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "491": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateAdjustmentDTO.promotion_id" + "4414": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "492": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateAdjustmentDTO.provider_id" + "4415": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.updateAddresses" }, - "493": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertLineItemAdjustmentDTO" + "4416": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "494": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertLineItemAdjustmentDTO.id" + "4417": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "495": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertLineItemAdjustmentDTO.item_id" + "4418": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteAddresses" }, - "496": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertLineItemAdjustmentDTO.code" + "4419": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteAddresses" }, - "497": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertLineItemAdjustmentDTO.amount" + "4420": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "ids" }, - "498": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertLineItemAdjustmentDTO.description" + "4421": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "499": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertLineItemAdjustmentDTO.promotion_id" + "4422": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteAddresses" }, - "500": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpsertLineItemAdjustmentDTO.provider_id" + "4423": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "ids" }, - "501": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateTaxLineDTO" + "4424": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "502": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateTaxLineDTO.description" + "4425": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.retrieveLineItem" }, - "503": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateTaxLineDTO.tax_rate_id" + "4426": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.retrieveLineItem" }, - "504": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateTaxLineDTO.code" + "4427": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "itemId" }, - "505": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateTaxLineDTO.rate" + "4428": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" }, - "506": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateTaxLineDTO.provider_id" + "4429": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "507": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateTaxLineDTO" + "4430": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.listLineItems" }, - "508": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateTaxLineDTO.id" + "4431": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.listLineItems" }, - "509": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateTaxLineDTO.description" + "4432": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "filters" }, - "510": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateTaxLineDTO.tax_rate_id" + "4433": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" }, - "511": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateTaxLineDTO.code" + "4434": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "512": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateTaxLineDTO.rate" + "4435": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createLineItems" }, - "513": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateTaxLineDTO.provider_id" + "4436": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createLineItems" }, - "514": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodTaxLineDTO" + "4437": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "515": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateTaxLineDTO.description" + "4438": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createLineItems" }, - "516": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateTaxLineDTO.tax_rate_id" + "4439": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "517": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateTaxLineDTO.code" + "4440": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createLineItems" }, - "518": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateTaxLineDTO.rate" + "4441": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderId" }, - "519": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateTaxLineDTO.provider_id" + "4442": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "items" }, - "520": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateShippingMethodTaxLineDTO" + "4443": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "521": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateTaxLineDTO.id" + "4444": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.updateLineItems" }, - "522": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateTaxLineDTO.description" + "4445": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.updateLineItems" }, - "523": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateTaxLineDTO.tax_rate_id" + "4446": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "524": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateTaxLineDTO.code" + "4447": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.updateLineItems" }, - "525": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateTaxLineDTO.rate" + "4448": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "selector" }, - "526": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateTaxLineDTO.provider_id" + "4449": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "527": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemTaxLineDTO" + "4450": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "528": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateTaxLineDTO.description" + "4451": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.updateLineItems" }, - "529": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateTaxLineDTO.tax_rate_id" + "4452": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "lineId" }, - "530": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateTaxLineDTO.code" + "4453": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "531": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateTaxLineDTO.rate" + "4454": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "532": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateTaxLineDTO.provider_id" + "4455": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteLineItems" }, - "533": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateLineItemTaxLineDTO" + "4456": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteLineItems" }, - "534": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateTaxLineDTO.id" + "4457": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "itemIds" }, - "535": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateTaxLineDTO.description" + "4458": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "536": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateTaxLineDTO.tax_rate_id" + "4459": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteLineItems" }, - "537": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateTaxLineDTO.code" + "4460": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "itemIds" }, - "538": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateTaxLineDTO.rate" + "4461": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "539": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateTaxLineDTO.provider_id" + "4462": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteLineItems" }, - "540": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO" + "4463": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "selector" }, - "541": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.title" + "4464": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "542": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.subtitle" + "4465": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.updateOrderItem" }, - "543": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.thumbnail" + "4466": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.updateOrderItem" }, - "544": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.cart_id" + "4467": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "selector" }, - "545": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.quantity" + "4468": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "546": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.product_id" + "4469": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "547": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.product_title" + "4470": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.updateOrderItem" }, - "548": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.product_description" + "4471": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderDetailId" }, - "549": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.product_subtitle" + "4472": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "550": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.product_type" + "4473": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "551": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.product_collection" + "4474": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.updateOrderItem" }, - "552": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.product_handle" + "4475": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderDetailIdOrDataOrSelector" }, - "553": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.variant_id" + "4476": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "554": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.variant_sku" + "4477": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "555": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.variant_barcode" + "4478": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.listShippingMethods" }, - "556": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.variant_title" + "4479": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.listShippingMethods" }, - "557": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.variant_option_values" + "4480": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "filters" }, - "558": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.requires_shipping" + "4481": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" }, - "559": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.is_discountable" + "4482": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "560": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.is_tax_inclusive" + "4483": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createShippingMethods" }, - "561": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.compare_at_unit_price" + "4484": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createShippingMethods" }, - "562": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.unit_price" + "4485": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "563": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.tax_lines" + "4486": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createShippingMethods" }, - "564": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.adjustments" + "4487": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "565": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemForCartDTO" + "4488": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createShippingMethods" }, - "566": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemForCartDTO.cart_id" + "4489": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderId" }, - "567": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.title" + "4490": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "methods" }, - "568": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.subtitle" + "4491": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "569": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.thumbnail" + "4492": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteShippingMethods" }, - "570": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.quantity" + "4493": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteShippingMethods" }, - "571": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.product_id" + "4494": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "methodIds" }, - "572": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.product_title" + "4495": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "573": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.product_description" + "4496": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteShippingMethods" }, - "574": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.product_subtitle" + "4497": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "methodIds" }, - "575": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.product_type" + "4498": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "576": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.product_collection" + "4499": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteShippingMethods" }, - "577": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.product_handle" + "4500": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "selector" }, - "578": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.variant_id" + "4501": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "579": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.variant_sku" + "4502": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.listLineItemAdjustments" }, - "580": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.variant_barcode" + "4503": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.listLineItemAdjustments" }, - "581": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.variant_title" + "4504": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "filters" }, - "582": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.variant_option_values" + "4505": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" }, - "583": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.requires_shipping" + "4506": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "584": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.is_discountable" + "4507": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createLineItemAdjustments" }, - "585": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.is_tax_inclusive" + "4508": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createLineItemAdjustments" }, - "586": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.compare_at_unit_price" + "4509": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "587": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.unit_price" + "4510": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createLineItemAdjustments" }, - "588": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.tax_lines" + "4511": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "589": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateLineItemDTO.adjustments" + "4512": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createLineItemAdjustments" }, - "590": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateLineItemWithSelectorDTO" + "4513": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderId" }, - "591": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateLineItemWithSelectorDTO.selector" + "4514": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "592": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateLineItemWithSelectorDTO.data" + "4515": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.setLineItemAdjustments" }, - "593": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateLineItemDTO" + "4516": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.setLineItemAdjustments" }, - "594": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateLineItemDTO.id" + "4517": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderId" }, - "595": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateLineItemDTO.title" + "4518": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "596": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateLineItemDTO.quantity" + "4519": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "597": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateLineItemDTO.unit_price" + "4520": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteLineItemAdjustments" }, - "598": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateLineItemDTO.tax_lines" + "4521": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteLineItemAdjustments" }, - "599": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateLineItemDTO.adjustments" + "4522": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "adjustmentIds" }, - "600": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "cart_id" + "4523": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "601": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "variant_id" + "4524": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteLineItemAdjustments" }, - "602": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "product_id" + "4525": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "adjustmentIds" }, - "603": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "subtitle" + "4526": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "604": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "thumbnail" + "4527": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteLineItemAdjustments" }, - "605": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "product_title" + "4528": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "selector" }, - "606": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "product_description" + "4529": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "607": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "product_subtitle" + "4530": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.listShippingMethodAdjustments" }, - "608": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "product_type" + "4531": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.listShippingMethodAdjustments" }, - "609": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "product_collection" + "4532": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "filters" }, - "610": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "product_handle" + "4533": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" }, - "611": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "variant_sku" + "4534": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "612": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "variant_barcode" + "4535": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createShippingMethodAdjustments" }, - "613": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "variant_title" + "4536": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createShippingMethodAdjustments" }, - "614": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "variant_option_values" + "4537": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "615": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "requires_shipping" + "4538": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createShippingMethodAdjustments" }, - "616": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "is_discountable" + "4539": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "617": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "is_tax_inclusive" + "4540": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createShippingMethodAdjustments" }, - "618": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "compare_at_unit_price" + "4541": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderId" }, - "619": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodDTO" + "4542": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "620": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodDTO.name" + "4543": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "621": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodDTO.cart_id" + "4544": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.setShippingMethodAdjustments" }, - "622": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodDTO.amount" + "4545": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.setShippingMethodAdjustments" }, - "623": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodDTO.data" + "4546": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderId" }, - "624": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodDTO.tax_lines" + "4547": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "625": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodDTO.adjustments" + "4548": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "626": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodForSingleCartDTO" + "4549": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteShippingMethodAdjustments" }, - "627": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodForSingleCartDTO.name" + "4550": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteShippingMethodAdjustments" }, - "628": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodForSingleCartDTO.amount" + "4551": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "adjustmentIds" }, - "629": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodForSingleCartDTO.data" + "4552": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "630": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodForSingleCartDTO.tax_lines" + "4553": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteShippingMethodAdjustments" }, - "631": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodForSingleCartDTO.adjustments" + "4554": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "adjustmentId" }, - "632": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateShippingMethodDTO" + "4555": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "633": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateShippingMethodDTO.id" + "4556": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteShippingMethodAdjustments" }, - "634": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateShippingMethodDTO.name" + "4557": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "selector" }, - "635": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateShippingMethodDTO.amount" + "4558": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "636": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateShippingMethodDTO.data" + "4559": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.listLineItemTaxLines" }, - "637": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateShippingMethodDTO.tax_lines" + "4560": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.listLineItemTaxLines" }, - "638": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateShippingMethodDTO.adjustments" + "4561": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "filters" }, - "639": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodAdjustmentDTO" + "4562": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" }, - "640": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodAdjustmentDTO.shipping_method_id" + "4563": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "641": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodAdjustmentDTO.code" + "4564": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createLineItemTaxLines" }, - "642": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodAdjustmentDTO.amount" + "4565": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createLineItemTaxLines" }, - "643": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodAdjustmentDTO.description" + "4566": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "taxLines" }, - "644": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodAdjustmentDTO.promotion_id" + "4567": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createLineItemTaxLines" }, - "645": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "CreateShippingMethodAdjustmentDTO.provider_id" + "4568": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "taxLine" }, - "646": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateShippingMethodAdjustmentDTO" + "4569": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createLineItemTaxLines" }, - "647": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateShippingMethodAdjustmentDTO.id" + "4570": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderId" }, - "648": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateShippingMethodAdjustmentDTO.code" + "4571": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "taxLines" }, - "649": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateShippingMethodAdjustmentDTO.amount" + "4572": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "650": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateShippingMethodAdjustmentDTO.description" + "4573": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.setLineItemTaxLines" }, - "651": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateShippingMethodAdjustmentDTO.promotion_id" + "4574": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.setLineItemTaxLines" }, - "652": { - "sourceFileName": "../../../packages/types/src/cart/mutations.ts", - "qualifiedName": "UpdateShippingMethodAdjustmentDTO.provider_id" + "4575": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderId" }, - "653": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService" + "4576": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "taxLines" }, - "654": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.retrieve" + "4577": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "655": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.retrieve" + "4578": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteLineItemTaxLines" }, - "656": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "cartId" + "4579": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteLineItemTaxLines" }, - "657": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "config" + "4580": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "taxLineIds" }, - "658": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4581": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "659": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.list" + "4582": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteLineItemTaxLines" }, - "660": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.list" + "4583": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "taxLineIds" }, - "661": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "filters" + "4584": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "662": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "config" + "4585": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteLineItemTaxLines" }, - "663": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4586": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "selector" + }, + "4587": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "664": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.listAndCount" + "4588": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.listShippingMethodTaxLines" }, - "665": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.listAndCount" + "4589": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.listShippingMethodTaxLines" }, - "666": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4590": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "filters" }, - "667": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4591": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "config" }, - "668": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4592": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "669": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.create" + "4593": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createShippingMethodTaxLines" }, - "670": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.create" + "4594": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createShippingMethodTaxLines" }, - "671": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "data" + "4595": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "taxLines" }, - "672": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4596": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createShippingMethodTaxLines" }, - "673": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.create" + "4597": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "taxLine" }, - "674": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "data" + "4598": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createShippingMethodTaxLines" }, - "675": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4599": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderId" }, - "676": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.update" + "4600": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "taxLines" }, - "677": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.update" + "4601": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "678": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "data" + "4602": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.setShippingMethodTaxLines" }, - "679": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4603": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.setShippingMethodTaxLines" }, - "680": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.update" + "4604": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderId" }, - "681": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "data" + "4605": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "taxLines" }, - "682": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4606": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "683": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.delete" + "4607": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteShippingMethodTaxLines" }, - "684": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.delete" + "4608": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteShippingMethodTaxLines" }, - "685": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "cartIds" + "4609": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "taxLineIds" }, - "686": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4610": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "687": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.delete" + "4611": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteShippingMethodTaxLines" }, - "688": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "cartId" + "4612": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "taxLineIds" }, - "689": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4613": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "690": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.listAddresses" - }, - "691": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.listAddresses" - }, - "692": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "filters" + "4614": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.deleteShippingMethodTaxLines" }, - "693": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "config" + "4615": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "selector" }, - "694": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4616": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "695": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.createAddresses" + "4617": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createOrderChange" }, - "696": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.createAddresses" + "4618": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createOrderChange" }, - "697": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4619": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "data" }, - "698": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4620": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "699": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.createAddresses" + "4621": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createOrderChange" }, - "700": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4622": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "data" }, - "701": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4623": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "702": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.updateAddresses" - }, - "703": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.updateAddresses" + "4624": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createOrderChange" }, - "704": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4625": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "data" }, - "705": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4626": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "706": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.updateAddresses" + "4627": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.cancelOrderChange" }, - "707": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "data" + "4628": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.cancelOrderChange" }, - "708": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4629": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderId" }, - "709": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.deleteAddresses" + "4630": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "710": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.deleteAddresses" + "4631": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.cancelOrderChange" }, - "711": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ids" + "4632": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderId" }, - "712": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4633": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "713": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.deleteAddresses" + "4634": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.cancelOrderChange" }, - "714": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ids" + "4635": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "715": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4636": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "716": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.retrieveLineItem" + "4637": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.cancelOrderChange" }, - "717": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.retrieveLineItem" + "4638": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "718": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "itemId" + "4639": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "719": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "config" + "4640": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.confirmOrderChange" }, - "720": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4641": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.confirmOrderChange" }, - "721": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.listLineItems" + "4642": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderChangeId" }, - "722": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.listLineItems" + "4643": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "723": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "filters" + "4644": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.confirmOrderChange" }, - "724": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "config" + "4645": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderChangeId" }, - "725": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4646": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "726": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addLineItems" - }, - "727": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addLineItems" + "4647": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.confirmOrderChange" }, - "728": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4648": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "data" }, - "729": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addLineItems" + "4649": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "730": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4650": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.confirmOrderChange" + }, + "4651": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "data" }, - "731": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addLineItems" + "4652": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "732": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "cartId" + "4653": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.declineOrderChange" }, - "733": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "items" + "4654": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.declineOrderChange" }, - "734": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4655": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderChangeId" }, - "735": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.updateLineItems" + "4656": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "736": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.updateLineItems" + "4657": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.declineOrderChange" }, - "737": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "data" + "4658": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderChangeId" }, - "738": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.updateLineItems" + "4659": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "739": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "selector" + "4660": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.declineOrderChange" }, - "740": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4661": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "data" }, - "741": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4662": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "742": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.updateLineItems" - }, - "743": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "lineId" + "4663": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.declineOrderChange" }, - "744": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4664": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "data" }, - "745": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4665": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "746": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeLineItems" + "4666": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.applyPendingOrderActions" }, - "747": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeLineItems" + "4667": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.applyPendingOrderActions" }, - "748": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "itemIds" + "4668": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderId" }, - "749": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4669": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "750": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeLineItems" + "4670": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.addOrderAction" }, - "751": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "itemIds" + "4671": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.addOrderAction" }, - "752": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4672": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" + }, + "4673": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "753": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeLineItems" + "4674": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.addOrderAction" }, - "754": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "selector" + "4675": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "755": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4676": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "756": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.listShippingMethods" + "4677": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.softDeleteAddresses" }, - "757": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.listShippingMethods" + "4678": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.softDeleteAddresses" }, - "758": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "filters" + "4679": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "759": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4680": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "ids" + }, + "4681": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "config" }, - "760": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4682": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "761": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addShippingMethods" + "4683": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.restoreAddresses" }, - "762": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addShippingMethods" + "4684": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.restoreAddresses" }, - "763": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "data" + "4685": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "764": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addShippingMethods" + "4686": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "ids" }, - "765": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "data" + "4687": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" }, - "766": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addShippingMethods" + "4688": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "767": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "cartId" + "4689": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.softDeleteLineItems" }, - "768": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "methods" + "4690": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.softDeleteLineItems" }, - "769": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4691": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "4692": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "ids" + }, + "4693": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" + }, + "4694": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "770": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeShippingMethods" + "4695": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.restoreLineItems" }, - "771": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeShippingMethods" + "4696": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.restoreLineItems" }, - "772": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "methodIds" + "4697": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "773": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4698": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "ids" + }, + "4699": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" + }, + "4700": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "774": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeShippingMethods" + "4701": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.softDeleteShippingMethods" }, - "775": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "methodIds" + "4702": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.softDeleteShippingMethods" }, - "776": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4703": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "777": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeShippingMethods" + "4704": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "ids" }, - "778": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "selector" + "4705": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" }, - "779": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4706": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "780": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.listLineItemAdjustments" + "4707": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.restoreShippingMethods" }, - "781": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.listLineItemAdjustments" + "4708": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.restoreShippingMethods" }, - "782": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "filters" + "4709": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "783": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4710": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "ids" + }, + "4711": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "config" }, - "784": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4712": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "785": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addLineItemAdjustments" - }, - "786": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addLineItemAdjustments" + "4713": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.softDeleteLineItemAdjustments" }, - "787": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "data" + "4714": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.softDeleteLineItemAdjustments" }, - "788": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addLineItemAdjustments" + "4715": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "789": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "data" + "4716": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "ids" }, - "790": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addLineItemAdjustments" + "4717": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" }, - "791": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "cartId" + "4718": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "792": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "data" + "4719": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.restoreLineItemAdjustments" }, - "793": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.setLineItemAdjustments" + "4720": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.restoreLineItemAdjustments" }, - "794": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.setLineItemAdjustments" + "4721": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "795": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "cartId" + "4722": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "ids" }, - "796": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "data" + "4723": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" }, - "797": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4724": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "798": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeLineItemAdjustments" + "4725": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.softDeleteShippingMethodAdjustments" }, - "799": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeLineItemAdjustments" + "4726": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.softDeleteShippingMethodAdjustments" }, - "800": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "adjustmentIds" + "4727": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "801": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4728": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "ids" + }, + "4729": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" + }, + "4730": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "802": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeLineItemAdjustments" + "4731": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.restoreShippingMethodAdjustments" }, - "803": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "adjustmentIds" + "4732": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.restoreShippingMethodAdjustments" }, - "804": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4733": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "805": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeLineItemAdjustments" + "4734": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "ids" }, - "806": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "selector" + "4735": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" }, - "807": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4736": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "808": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.listShippingMethodAdjustments" + "4737": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.softDeleteLineItemTaxLines" }, - "809": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.listShippingMethodAdjustments" + "4738": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.softDeleteLineItemTaxLines" }, - "810": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "filters" + "4739": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "811": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4740": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "ids" + }, + "4741": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "config" }, - "812": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4742": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "813": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addShippingMethodAdjustments" + "4743": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.restoreLineItemTaxLines" }, - "814": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addShippingMethodAdjustments" + "4744": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.restoreLineItemTaxLines" }, - "815": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "data" + "4745": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "816": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addShippingMethodAdjustments" + "4746": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "ids" }, - "817": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "data" + "4747": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" }, - "818": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addShippingMethodAdjustments" + "4748": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "819": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "cartId" + "4749": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.softDeleteShippingMethodTaxLines" }, - "820": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "data" + "4750": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.softDeleteShippingMethodTaxLines" }, - "821": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4751": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "4752": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "ids" + }, + "4753": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" + }, + "4754": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "822": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.setShippingMethodAdjustments" + "4755": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.restoreShippingMethodTaxLines" }, - "823": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.setShippingMethodAdjustments" + "4756": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.restoreShippingMethodTaxLines" }, - "824": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "cartId" + "4757": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "825": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "data" + "4758": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "ids" }, - "826": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4759": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "config" + }, + "4760": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "827": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeShippingMethodAdjustments" + "4761": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.revertLastVersion" }, - "828": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeShippingMethodAdjustments" + "4762": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.revertLastVersion" }, - "829": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "adjustmentIds" + "4763": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "orderId" }, - "830": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4764": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "831": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeShippingMethodAdjustments" + "4765": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.registerFulfillment" }, - "832": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "adjustmentId" + "4766": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.registerFulfillment" }, - "833": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4767": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" + }, + "4768": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "834": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeShippingMethodAdjustments" + "4769": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.registerShipment" }, - "835": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "selector" + "4770": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.registerShipment" }, - "836": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4771": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "data" }, - "837": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.listLineItemTaxLines" + "4772": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "sharedContext" }, - "838": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.listLineItemTaxLines" + "4773": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createReturn" }, - "839": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "filters" + "4774": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "IOrderModuleService.createReturn" }, - "840": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "config" + "4775": { + "sourceFileName": "../../../packages/types/src/order/service.ts", + "qualifiedName": "returnData" }, - "841": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", + "4776": { + "sourceFileName": "../../../packages/types/src/order/service.ts", "qualifiedName": "sharedContext" }, - "842": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addLineItemTaxLines" + "4790": { + "sourceFileName": "../../../packages/types/src/order/workflows.ts", + "qualifiedName": "OrderWorkflowDTO" }, - "843": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addLineItemTaxLines" + "4791": { + "sourceFileName": "../../../packages/types/src/order/workflows.ts", + "qualifiedName": "OrderWorkflowDTO.customer" }, - "844": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "taxLines" + "4792": { + "sourceFileName": "../../../packages/types/src/order/workflows.ts", + "qualifiedName": "OrderWorkflowDTO.region" }, - "845": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addLineItemTaxLines" + "4793": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.id" }, - "846": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "taxLine" + "4794": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.version" }, - "847": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addLineItemTaxLines" + "4795": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.region_id" }, - "848": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "cartId" + "4796": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.customer_id" }, - "849": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "taxLines" + "4797": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.sales_channel_id" }, - "850": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4798": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.email" }, - "851": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.setLineItemTaxLines" + "4799": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.currency_code" }, - "852": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.setLineItemTaxLines" + "4800": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.shipping_address" }, - "853": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "cartId" + "4801": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.billing_address" }, - "854": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "taxLines" + "4802": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.items" }, - "855": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4803": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.shipping_methods" }, - "856": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeLineItemTaxLines" + "4804": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.transactions" }, - "857": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeLineItemTaxLines" + "4805": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.summary" }, - "858": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "taxLineIds" + "4806": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.metadata" }, - "859": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4807": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.created_at" }, - "860": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeLineItemTaxLines" + "4808": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.updated_at" }, - "861": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "taxLineIds" + "4809": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.original_item_total" }, - "862": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4810": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.original_item_subtotal" }, - "863": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeLineItemTaxLines" + "4811": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.original_item_tax_total" }, - "864": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "selector" + "4812": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.item_total" }, - "865": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4813": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.item_subtotal" }, - "866": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.listShippingMethodTaxLines" + "4814": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.item_tax_total" }, - "867": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.listShippingMethodTaxLines" + "4815": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.original_total" }, - "868": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "filters" + "4816": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.original_subtotal" }, - "869": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "config" + "4817": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.original_tax_total" }, - "870": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4818": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.total" }, - "871": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addShippingMethodTaxLines" + "4819": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.subtotal" }, - "872": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addShippingMethodTaxLines" + "4820": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.tax_total" }, - "873": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "taxLines" + "4821": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.discount_total" }, - "874": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addShippingMethodTaxLines" + "4822": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.discount_tax_total" }, - "875": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "taxLine" + "4823": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.gift_card_total" }, - "876": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.addShippingMethodTaxLines" + "4824": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.gift_card_tax_total" }, - "877": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "cartId" + "4825": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.shipping_total" }, - "878": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "taxLines" + "4826": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.shipping_subtotal" }, - "879": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4827": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.shipping_tax_total" }, - "880": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.setShippingMethodTaxLines" + "4828": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.original_shipping_total" }, - "881": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.setShippingMethodTaxLines" + "4829": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.original_shipping_subtotal" }, - "882": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "cartId" + "4830": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.original_shipping_tax_total" }, - "883": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "taxLines" + "4831": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_original_item_total" }, - "884": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4832": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_original_item_subtotal" }, - "885": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeShippingMethodTaxLines" + "4833": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_original_item_tax_total" }, - "886": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeShippingMethodTaxLines" + "4834": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_item_total" }, - "887": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "taxLineIds" + "4835": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_item_subtotal" }, - "888": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4836": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_item_tax_total" }, - "889": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeShippingMethodTaxLines" + "4837": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_original_total" }, - "890": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "taxLineIds" + "4838": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_original_subtotal" }, - "891": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4839": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_original_tax_total" }, - "892": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "ICartModuleService.removeShippingMethodTaxLines" + "4840": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_total" }, - "893": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "selector" + "4841": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_subtotal" }, - "894": { - "sourceFileName": "../../../packages/types/src/cart/service.ts", - "qualifiedName": "sharedContext" + "4842": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_tax_total" }, - "902": { - "sourceFileName": "../../../packages/types/src/common/index.ts", - "qualifiedName": "" + "4843": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_discount_total" }, - "903": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "WithRequiredProperty" + "4844": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_discount_tax_total" }, - "904": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "T" + "4845": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_gift_card_total" }, - "905": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "K" + "4846": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_gift_card_tax_total" }, - "906": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "PartialPick" + "4847": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_shipping_total" }, - "907": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "T" + "4848": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_shipping_subtotal" }, - "908": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "K" + "4849": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_shipping_tax_total" }, - "909": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "BaseEntity" + "4850": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_original_shipping_total" }, - "910": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "BaseEntity.id" + "4851": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_original_shipping_subtotal" }, - "911": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "BaseEntity.created_at" + "4852": { + "sourceFileName": "../../../packages/types/src/order/common.ts", + "qualifiedName": "OrderDTO.raw_original_shipping_tax_total" }, - "912": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "BaseEntity.updated_at" + "4853": { + "sourceFileName": "../../../packages/types/src/promotion/index.ts", + "qualifiedName": "" }, - "913": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "SoftDeletableEntity" + "4854": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "ApplicationMethodTypeValues" }, - "914": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "SoftDeletableEntity.deleted_at" + "4855": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "ApplicationMethodTargetTypeValues" }, - "915": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "BaseEntity.id" + "4856": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "ApplicationMethodAllocationValues" }, - "916": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "BaseEntity.created_at" + "4857": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "ApplicationMethodDTO" }, - "917": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "BaseEntity.updated_at" + "4858": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "ApplicationMethodDTO.id" }, - "918": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "Writable" + "4859": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "ApplicationMethodDTO.type" }, - "919": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "T" + "4860": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "ApplicationMethodDTO.target_type" }, - "920": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindConfig" + "4861": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "ApplicationMethodDTO.allocation" }, - "921": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindConfig.select" + "4862": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "ApplicationMethodDTO.value" }, - "922": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindConfig.skip" + "4863": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "ApplicationMethodDTO.max_quantity" }, - "923": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindConfig.take" + "4864": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "ApplicationMethodDTO.buy_rules_min_quantity" }, - "924": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindConfig.relations" + "4865": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "ApplicationMethodDTO.apply_to_quantity" }, - "925": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindConfig.order" + "4866": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "ApplicationMethodDTO.promotion" }, - "926": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type" + "4867": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "ApplicationMethodDTO.target_rules" }, - "927": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.__index" + "4868": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "ApplicationMethodDTO.buy_rules" }, - "929": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindConfig.withDeleted" + "4869": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "CreateApplicationMethodDTO" }, - "930": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindConfig.Entity" + "4870": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "CreateApplicationMethodDTO.type" }, - "931": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "ExtendedFindConfig" + "4871": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "CreateApplicationMethodDTO.target_type" }, - "932": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type" + "4872": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "CreateApplicationMethodDTO.allocation" }, - "933": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.select" + "4873": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "CreateApplicationMethodDTO.value" }, - "934": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.relations" + "4874": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "CreateApplicationMethodDTO.max_quantity" }, - "935": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.where" + "4875": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "CreateApplicationMethodDTO.buy_rules_min_quantity" }, - "936": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.order" + "4876": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "CreateApplicationMethodDTO.apply_to_quantity" }, - "937": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.skip" + "4877": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "CreateApplicationMethodDTO.promotion" }, - "938": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.take" + "4878": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "CreateApplicationMethodDTO.target_rules" }, - "939": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "TEntity" + "4879": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "CreateApplicationMethodDTO.buy_rules" }, - "940": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "QuerySelector" + "4880": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "UpdateApplicationMethodDTO" }, - "941": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type" + "4881": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "UpdateApplicationMethodDTO.id" }, - "942": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.q" + "4882": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "UpdateApplicationMethodDTO.type" }, - "943": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "TEntity" + "4883": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "UpdateApplicationMethodDTO.target_type" }, - "944": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "TreeQuerySelector" + "4884": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "UpdateApplicationMethodDTO.allocation" }, - "945": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type" + "4885": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "UpdateApplicationMethodDTO.value" }, - "946": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.include_descendants_tree" + "4886": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "UpdateApplicationMethodDTO.max_quantity" }, - "947": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "TEntity" + "4887": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "UpdateApplicationMethodDTO.buy_rules_min_quantity" }, - "948": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "Selector" + "4888": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "UpdateApplicationMethodDTO.apply_to_quantity" }, - "949": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "TEntity" + "4889": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "UpdateApplicationMethodDTO.promotion" }, - "950": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "TotalField" + "4890": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "FilterableApplicationMethodProps" }, - "951": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "CustomFindOptions" + "4891": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "FilterableApplicationMethodProps.id" }, - "952": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "CustomFindOptions.select" + "4892": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "FilterableApplicationMethodProps.type" }, - "953": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "CustomFindOptions.where" + "4893": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "FilterableApplicationMethodProps.target_type" }, - "954": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "CustomFindOptions.order" + "4894": { + "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", + "qualifiedName": "FilterableApplicationMethodProps.allocation" }, - "955": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "CustomFindOptions.skip" + "4895": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "956": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "CustomFindOptions.take" + "4896": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "957": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "CustomFindOptions.TModel" + "4897": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", + "qualifiedName": "CampaignDTO" }, - "958": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "CustomFindOptions.InKeys" + "4898": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", + "qualifiedName": "CampaignDTO.id" }, - "959": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "QueryConfig" + "4899": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", + "qualifiedName": "CampaignDTO.name" }, - "960": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type" + "4900": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", + "qualifiedName": "CampaignDTO.description" }, - "961": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.defaultFields" + "4901": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", + "qualifiedName": "CampaignDTO.currency" }, - "962": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.defaultRelations" + "4902": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", + "qualifiedName": "CampaignDTO.campaign_identifier" }, - "963": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.allowedFields" + "4903": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", + "qualifiedName": "CampaignDTO.starts_at" }, - "964": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.allowedRelations" + "4904": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", + "qualifiedName": "CampaignDTO.ends_at" }, - "965": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.defaultLimit" + "4905": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", + "qualifiedName": "CampaignDTO.budget" }, - "966": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.isList" + "4906": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", + "qualifiedName": "FilterableCampaignProps" }, - "967": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "TEntity" + "4907": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", + "qualifiedName": "FilterableCampaignProps.q" }, - "968": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "RequestQueryFields" + "4908": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", + "qualifiedName": "FilterableCampaignProps.id" }, - "969": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type" + "4909": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", + "qualifiedName": "FilterableCampaignProps.campaign_identifier" }, - "970": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.expand" + "4910": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "971": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.fields" + "4911": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "972": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.offset" + "4912": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign-budget.ts", + "qualifiedName": "CampaignBudgetTypeValues" }, - "973": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.limit" + "4913": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign-budget.ts", + "qualifiedName": "CampaignBudgetDTO" }, - "974": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.order" + "4914": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign-budget.ts", + "qualifiedName": "CampaignBudgetDTO.id" }, - "975": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "PaginatedResponse" + "4915": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign-budget.ts", + "qualifiedName": "CampaignBudgetDTO.type" }, - "976": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type" + "4916": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign-budget.ts", + "qualifiedName": "CampaignBudgetDTO.limit" }, - "977": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.limit" + "4917": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign-budget.ts", + "qualifiedName": "CampaignBudgetDTO.used" }, - "978": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.offset" + "4918": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign-budget.ts", + "qualifiedName": "FilterableCampaignBudgetProps" }, - "979": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.count" + "4919": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign-budget.ts", + "qualifiedName": "FilterableCampaignBudgetProps.id" }, - "980": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "DeleteResponse" + "4920": { + "sourceFileName": "../../../packages/types/src/promotion/common/campaign-budget.ts", + "qualifiedName": "FilterableCampaignBudgetProps.type" }, - "981": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type" + "4921": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "982": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.id" + "4922": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "983": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.object" + "4923": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "ComputeActions" }, - "984": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.deleted" + "4924": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "UsageComputedActions" }, - "985": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "EmptyQueryParams" + "4925": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "CampaignBudgetExceededAction" }, - "986": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "RepositoryTransformOptions" + "4926": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "CampaignBudgetExceededAction.action" }, - "987": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "DateComparisonOperator" + "4927": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "CampaignBudgetExceededAction.code" }, - "988": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "DateComparisonOperator.lt" + "4928": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "AddItemAdjustmentAction" }, - "989": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "DateComparisonOperator.gt" + "4929": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "AddItemAdjustmentAction.action" }, - "990": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "DateComparisonOperator.gte" + "4930": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "AddItemAdjustmentAction.item_id" }, - "991": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "DateComparisonOperator.lte" + "4931": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "AddItemAdjustmentAction.amount" }, - "992": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "StringComparisonOperator" + "4932": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "AddItemAdjustmentAction.code" }, - "993": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "StringComparisonOperator.lt" + "4933": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "AddItemAdjustmentAction.description" }, - "994": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "StringComparisonOperator.gt" + "4934": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "RemoveItemAdjustmentAction" }, - "995": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "StringComparisonOperator.gte" + "4935": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "RemoveItemAdjustmentAction.action" }, - "996": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "StringComparisonOperator.lte" + "4936": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "RemoveItemAdjustmentAction.adjustment_id" }, - "997": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "StringComparisonOperator.contains" + "4937": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "RemoveItemAdjustmentAction.description" }, - "998": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "StringComparisonOperator.starts_with" + "4938": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "RemoveItemAdjustmentAction.code" }, - "999": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "StringComparisonOperator.ends_with" + "4939": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "AddShippingMethodAdjustment" }, - "1000": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "NumericalComparisonOperator" + "4940": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "AddShippingMethodAdjustment.action" }, - "1001": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "NumericalComparisonOperator.lt" + "4941": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "AddShippingMethodAdjustment.shipping_method_id" }, - "1002": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "NumericalComparisonOperator.gt" + "4942": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "AddShippingMethodAdjustment.amount" }, - "1003": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "NumericalComparisonOperator.gte" + "4943": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "AddShippingMethodAdjustment.code" }, - "1004": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "NumericalComparisonOperator.lte" + "4944": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "AddShippingMethodAdjustment.description" }, - "1005": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressPayload" + "4945": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "RemoveShippingMethodAdjustment" }, - "1006": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressPayload.first_name" + "4946": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "RemoveShippingMethodAdjustment.action" }, - "1007": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressPayload.last_name" + "4947": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "RemoveShippingMethodAdjustment.adjustment_id" }, - "1008": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressPayload.phone" + "4948": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "RemoveShippingMethodAdjustment.code" }, - "1009": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressPayload.metadata" + "4949": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "ComputeActionAdjustmentLine" }, - "1010": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressPayload.company" + "4950": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "ComputeActionAdjustmentLine.id" }, - "1011": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressPayload.address_1" + "4951": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "ComputeActionAdjustmentLine.code" }, - "1012": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressPayload.address_2" + "4952": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "ComputeActionItemLine" }, - "1013": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressPayload.city" + "4953": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "ComputeActionItemLine.id" }, - "1014": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressPayload.country_code" + "4954": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "ComputeActionItemLine.quantity" }, - "1015": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressPayload.province" + "4955": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "ComputeActionItemLine.subtotal" }, - "1016": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressPayload.postal_code" + "4956": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "ComputeActionItemLine.adjustments" }, - "1017": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressCreatePayload" + "4957": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "ComputeActionShippingLine" }, - "1018": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressCreatePayload.first_name" + "4958": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "ComputeActionShippingLine.id" }, - "1019": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressCreatePayload.last_name" + "4959": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "ComputeActionShippingLine.subtotal" }, - "1020": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressCreatePayload.phone" + "4960": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "ComputeActionShippingLine.adjustments" }, - "1021": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressCreatePayload.metadata" + "4961": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "ComputeActionContext" }, - "1022": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressCreatePayload.company" + "4962": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "ComputeActionContext.items" }, - "1023": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressCreatePayload.address_1" + "4963": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "ComputeActionContext.shipping_methods" }, - "1024": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressCreatePayload.address_2" + "4964": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "ComputeActionOptions" }, - "1025": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressCreatePayload.city" + "4965": { + "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", + "qualifiedName": "ComputeActionOptions.prevent_auto_promotions" }, - "1026": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressCreatePayload.country_code" + "4966": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "PromotionTypeValues" }, - "1027": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressCreatePayload.province" + "4967": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "PromotionDTO" }, - "1028": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "AddressCreatePayload.postal_code" + "4968": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "PromotionDTO.id" }, - "1029": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindParams" + "4969": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "PromotionDTO.code" }, - "1030": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindParams.expand" + "4970": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "PromotionDTO.type" }, - "1031": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindParams.fields" + "4971": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "PromotionDTO.is_automatic" }, - "1032": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindPaginationParams" + "4972": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "PromotionDTO.application_method" }, - "1033": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindPaginationParams.offset" + "4973": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "PromotionDTO.rules" }, - "1034": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindPaginationParams.limit" + "4974": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "PromotionDTO.campaign" }, - "1035": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "Pluralize" + "4975": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "CreatePromotionDTO" }, - "1036": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "Singular" + "4976": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "CreatePromotionDTO.code" }, - "1037": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "HttpCompressionOptions" + "4977": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "CreatePromotionDTO.type" }, - "1038": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.enabled" + "4978": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "CreatePromotionDTO.is_automatic" }, - "1039": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.level" + "4979": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "CreatePromotionDTO.application_method" }, - "1040": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.memLevel" + "4980": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "CreatePromotionDTO.rules" }, - "1041": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.threshold" + "4981": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "CreatePromotionDTO.campaign" }, - "1042": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "ProjectConfigOptions" + "4982": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "CreatePromotionDTO.campaign_id" }, - "1043": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.store_cors" + "4983": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "UpdatePromotionDTO" }, - "1044": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.admin_cors" + "4984": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "UpdatePromotionDTO.id" }, - "1045": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.cookie_secret" + "4985": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "UpdatePromotionDTO.is_automatic" }, - "1046": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.jwt_secret" + "4986": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "UpdatePromotionDTO.code" }, - "1047": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.database_database" + "4987": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "UpdatePromotionDTO.type" }, - "1048": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.database_url" + "4988": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "UpdatePromotionDTO.application_method" }, - "1049": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.database_schema" + "4989": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "UpdatePromotionDTO.campaign_id" }, - "1050": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.database_logging" + "4990": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "FilterablePromotionProps" }, - "1052": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.database_extra" + "4991": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "FilterablePromotionProps.q" }, - "1053": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type" + "4992": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "FilterablePromotionProps.id" }, - "1054": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.ssl" + "4993": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "FilterablePromotionProps.code" }, - "1055": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type" + "4994": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "FilterablePromotionProps.budget_id" }, - "1056": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.rejectUnauthorized" + "4995": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "FilterablePromotionProps.is_automatic" }, - "1057": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.redis_url" + "4996": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", + "qualifiedName": "FilterablePromotionProps.type" }, - "1058": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.redis_prefix" + "4997": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "1059": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.redis_options" + "4998": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "1060": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.session_options" + "4999": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "PromotionRuleOperatorValues" }, - "1061": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.http_compression" + "5000": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "PromotionRuleDTO" }, - "1062": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.jobs_batch_size" + "5001": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "PromotionRuleDTO.id" }, - "1063": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "ConfigModule" + "5002": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "PromotionRuleDTO.description" }, - "1064": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.projectConfig" + "5003": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "PromotionRuleDTO.attribute" + }, + "5004": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "PromotionRuleDTO.operator" + }, + "5005": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "PromotionRuleDTO.values" + }, + "5006": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "CreatePromotionRuleDTO" }, - "1065": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.plugins" + "5007": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "CreatePromotionRuleDTO.description" }, - "1066": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type" + "5008": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "CreatePromotionRuleDTO.attribute" }, - "1067": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.resolve" + "5009": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "CreatePromotionRuleDTO.operator" }, - "1068": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.options" + "5010": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "CreatePromotionRuleDTO.values" }, - "1069": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.modules" + "5011": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "UpdatePromotionRuleDTO" }, - "1070": { - "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.featureFlags" + "5012": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "UpdatePromotionRuleDTO.id" }, - "1071": { - "sourceFileName": "../../../packages/types/src/common/medusa-container.ts", - "qualifiedName": "MedusaContainer" + "5013": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "UpdatePromotionRuleDTO.description" }, - "1072": { - "sourceFileName": "../../../packages/types/src/common/medusa-container.ts", - "qualifiedName": "__type" + "5014": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "UpdatePromotionRuleDTO.attribute" }, - "1082": { - "sourceFileName": "../../../packages/types/src/common/medusa-container.ts", - "qualifiedName": "ContainerLike" + "5015": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "UpdatePromotionRuleDTO.operator" }, - "1083": { - "sourceFileName": "../../../packages/types/src/common/medusa-container.ts", - "qualifiedName": "__type" + "5016": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "UpdatePromotionRuleDTO.values" }, - "1084": { - "sourceFileName": "../../../packages/types/src/common/medusa-container.ts", - "qualifiedName": "__type.resolve" + "5017": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "RemovePromotionRuleDTO" }, - "1085": { - "sourceFileName": "../../../packages/types/src/common/medusa-container.ts", - "qualifiedName": "__type.resolve" + "5018": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "RemovePromotionRuleDTO.id" }, - "1086": { - "sourceFileName": "../../../packages/types/src/common/medusa-container.ts", - "qualifiedName": "T" + "5019": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "FilterablePromotionRuleProps" }, - "1087": { - "sourceFileName": "../../../packages/types/src/common/medusa-container.ts", - "qualifiedName": "key" + "5020": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "FilterablePromotionRuleProps.id" }, - "1088": { - "sourceFileName": "../../../packages/types/src/customer/index.ts", - "qualifiedName": "" + "5021": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "1089": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerAddressDTO" + "5022": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "1090": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerAddressDTO.id" + "5023": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", + "qualifiedName": "PromotionRuleTypes" }, - "1091": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerAddressDTO.address_name" + "5024": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", + "qualifiedName": "PromotionRuleValueDTO" }, - "1092": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerAddressDTO.is_default_shipping" + "5025": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", + "qualifiedName": "PromotionRuleValueDTO.id" }, - "1093": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerAddressDTO.is_default_billing" + "5026": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", + "qualifiedName": "PromotionRuleValueDTO.value" }, - "1094": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerAddressDTO.customer_id" + "5027": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", + "qualifiedName": "CreatePromotionRuleValueDTO" }, - "1095": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerAddressDTO.company" + "5028": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", + "qualifiedName": "CreatePromotionRuleValueDTO.value" }, - "1096": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerAddressDTO.first_name" + "5029": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", + "qualifiedName": "CreatePromotionRuleValueDTO.promotion_rule" }, - "1097": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerAddressDTO.last_name" + "5030": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", + "qualifiedName": "UpdatePromotionRuleValueDTO" }, - "1098": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerAddressDTO.address_1" + "5031": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", + "qualifiedName": "UpdatePromotionRuleValueDTO.id" }, - "1099": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerAddressDTO.address_2" + "5032": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", + "qualifiedName": "FilterablePromotionRuleValueProps" }, - "1100": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerAddressDTO.city" + "5033": { + "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", + "qualifiedName": "FilterablePromotionRuleValueProps.id" }, - "1101": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerAddressDTO.country_code" + "5034": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "1102": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerAddressDTO.province" + "5035": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "1103": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerAddressDTO.postal_code" + "5036": { + "sourceFileName": "../../../packages/types/src/promotion/http.ts", + "qualifiedName": "AdminGetPromotionRulesRes" }, - "1104": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerAddressDTO.phone" + "5037": { + "sourceFileName": "../../../packages/types/src/promotion/http.ts", + "qualifiedName": "__type" }, - "1105": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerAddressDTO.metadata" + "5038": { + "sourceFileName": "../../../packages/types/src/promotion/http.ts", + "qualifiedName": "__type.id" }, - "1106": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerAddressDTO.created_at" + "5039": { + "sourceFileName": "../../../packages/types/src/promotion/http.ts", + "qualifiedName": "__type.attribute" }, - "1107": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerAddressDTO.updated_at" + "5040": { + "sourceFileName": "../../../packages/types/src/promotion/http.ts", + "qualifiedName": "__type.attribute_label" }, - "1108": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps" + "5041": { + "sourceFileName": "../../../packages/types/src/promotion/http.ts", + "qualifiedName": "__type.field_type" }, - "1109": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps.id" + "5042": { + "sourceFileName": "../../../packages/types/src/promotion/http.ts", + "qualifiedName": "__type.operator" }, - "1110": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps.address_name" + "5043": { + "sourceFileName": "../../../packages/types/src/promotion/http.ts", + "qualifiedName": "__type.operator_label" }, - "1111": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps.is_default_shipping" + "5044": { + "sourceFileName": "../../../packages/types/src/promotion/http.ts", + "qualifiedName": "__type.values" }, - "1112": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps.is_default_billing" + "5045": { + "sourceFileName": "../../../packages/types/src/promotion/http.ts", + "qualifiedName": "__type" }, - "1113": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps.customer_id" + "5046": { + "sourceFileName": "../../../packages/types/src/promotion/http.ts", + "qualifiedName": "__type.label" }, - "1114": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps.customer" + "5047": { + "sourceFileName": "../../../packages/types/src/promotion/http.ts", + "qualifiedName": "__type.value" }, - "1115": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps.company" + "5048": { + "sourceFileName": "../../../packages/types/src/promotion/http.ts", + "qualifiedName": "__type.disguised" }, - "1116": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps.first_name" + "5049": { + "sourceFileName": "../../../packages/types/src/promotion/http.ts", + "qualifiedName": "__type.required" }, - "1117": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps.last_name" + "5050": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "CreateCampaignBudgetDTO" }, - "1118": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps.address_1" + "5051": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "CreateCampaignBudgetDTO.type" }, - "1119": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps.address_2" + "5052": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "CreateCampaignBudgetDTO.limit" }, - "1120": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps.city" + "5053": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "CreateCampaignBudgetDTO.used" }, - "1121": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps.country_code" + "5054": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "UpdateCampaignBudgetDTO" }, - "1122": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps.province" + "5055": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "UpdateCampaignBudgetDTO.id" }, - "1123": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps.postal_code" + "5056": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "UpdateCampaignBudgetDTO.type" }, - "1124": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps.phone" + "5057": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "UpdateCampaignBudgetDTO.limit" }, - "1125": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps.metadata" + "5058": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "UpdateCampaignBudgetDTO.used" }, - "1126": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps.created_at" + "5059": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "CreateCampaignDTO" }, - "1127": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerAddressProps.updated_at" + "5060": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "CreateCampaignDTO.name" }, - "1128": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "5061": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "CreateCampaignDTO.description" }, - "1129": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "5062": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "CreateCampaignDTO.currency" }, - "1130": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerGroupProps" + "5063": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "CreateCampaignDTO.campaign_identifier" }, - "1131": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerGroupProps.id" + "5064": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "CreateCampaignDTO.starts_at" }, - "1132": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerGroupProps.name" + "5065": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "CreateCampaignDTO.ends_at" }, - "1133": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerGroupProps.customers" + "5066": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "CreateCampaignDTO.budget" }, - "1134": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerGroupProps.created_by" + "5067": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "CreateCampaignDTO.promotions" }, - "1135": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerGroupProps.created_at" + "5068": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "UpdateCampaignDTO" }, - "1136": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerGroupProps.updated_at" + "5069": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "UpdateCampaignDTO.id" }, - "1137": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "5070": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "UpdateCampaignDTO.name" }, - "1138": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "5071": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "UpdateCampaignDTO.description" }, - "1139": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerGroupCustomerProps" + "5072": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "UpdateCampaignDTO.currency" }, - "1140": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerGroupCustomerProps.id" + "5073": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "UpdateCampaignDTO.campaign_identifier" }, - "1141": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerGroupCustomerProps.customer_id" + "5074": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "UpdateCampaignDTO.starts_at" }, - "1142": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerGroupCustomerProps.customer_group_id" + "5075": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "UpdateCampaignDTO.ends_at" }, - "1143": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerGroupCustomerProps.customer" + "5076": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "UpdateCampaignDTO.budget" }, - "1144": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerGroupCustomerProps.group" + "5077": { + "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", + "qualifiedName": "UpdateCampaignDTO.promotions" }, - "1145": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerGroupCustomerProps.created_by" + "5078": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService" }, - "1146": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerGroupCustomerProps.created_at" + "5079": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.registerUsage" }, - "1147": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerGroupCustomerProps.updated_at" + "5080": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.registerUsage" }, - "1148": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "5081": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "computedActions" }, - "1149": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "5082": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.computeActions" }, - "1150": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerProps" + "5083": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.computeActions" }, - "1151": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerProps.id" + "5084": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "promotionCodesToApply" }, - "1152": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerProps.email" + "5085": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "applicationContext" }, - "1153": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerProps.groups" + "5086": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "options" }, - "1154": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerProps.default_billing_address_id" + "5087": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.create" }, - "1155": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerProps.default_shipping_address_id" + "5088": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.create" }, - "1156": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerProps.company_name" + "5089": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "data" }, - "1157": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerProps.first_name" + "5090": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "sharedContext" }, - "1158": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerProps.last_name" + "5091": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.create" }, - "1159": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerProps.created_by" + "5092": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "data" }, - "1160": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerProps.created_at" + "5093": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "sharedContext" }, - "1161": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "FilterableCustomerProps.updated_at" + "5094": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.update" }, - "1162": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "5095": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.update" }, - "1163": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "5096": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "data" }, - "1164": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerGroupDTO" + "5097": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "sharedContext" }, - "1165": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerGroupDTO.id" + "5098": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.update" }, - "1166": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerGroupDTO.name" + "5099": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "data" }, - "1167": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerGroupDTO.customers" + "5100": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "sharedContext" }, - "1168": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerGroupDTO.metadata" + "5101": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.list" }, - "1169": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerGroupDTO.created_by" + "5102": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.list" }, - "1170": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerGroupDTO.deleted_at" + "5103": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "filters" }, - "1171": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerGroupDTO.created_at" + "5104": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "config" }, - "1172": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerGroupDTO.updated_at" + "5105": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "sharedContext" }, - "1173": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerGroupCustomerDTO" + "5106": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.listAndCount" }, - "1174": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerGroupCustomerDTO.id" + "5107": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.listAndCount" }, - "1175": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerGroupCustomerDTO.customer_id" + "5108": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "filters" }, - "1176": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerGroupCustomerDTO.customer_group_id" + "5109": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "config" }, - "1177": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerGroupCustomerDTO.customer" + "5110": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "sharedContext" }, - "1178": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerGroupCustomerDTO.group" + "5111": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.retrieve" }, - "1179": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerGroupCustomerDTO.created_by" + "5112": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.retrieve" }, - "1180": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerGroupCustomerDTO.created_at" + "5113": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "id" }, - "1181": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerGroupCustomerDTO.updated_at" + "5114": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "config" }, - "1182": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerDTO" + "5115": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "sharedContext" }, - "1183": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerDTO.id" + "5116": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.delete" }, - "1184": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerDTO.email" + "5117": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.delete" }, - "1185": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerDTO.default_billing_address_id" + "5118": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "ids" }, - "1186": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerDTO.default_shipping_address_id" + "5119": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "sharedContext" }, - "1187": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerDTO.company_name" + "5120": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.delete" }, - "1188": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerDTO.first_name" + "5121": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "ids" }, - "1189": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerDTO.last_name" + "5122": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "sharedContext" }, - "1190": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerDTO.addresses" + "5123": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.softDelete" }, - "1191": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerDTO.phone" + "5124": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.softDelete" }, - "1192": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerDTO.groups" + "5125": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "1193": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type" + "5126": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "promotionIds" }, - "1194": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.id" + "5127": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "config" }, - "1195": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerDTO.metadata" + "5128": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "sharedContext" }, - "1196": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerDTO.created_by" + "5129": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.restore" }, - "1197": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerDTO.deleted_at" + "5130": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.restore" }, - "1198": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerDTO.created_at" + "5131": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "1199": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "CustomerDTO.updated_at" + "5132": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "promotionIds" }, - "1200": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "GroupCustomerPair" + "5133": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "config" }, - "1201": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type" + "5134": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "sharedContext" }, - "1202": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.customer_id" + "5135": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.addPromotionRules" }, - "1203": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.customer_group_id" + "5136": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.addPromotionRules" }, - "1204": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "legacy_CustomerDTO" + "5137": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "promotionId" }, - "1205": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type" + "5138": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "rulesData" }, - "1206": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.id" + "5139": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "sharedContext" }, - "1207": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.email" + "5140": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.addPromotionTargetRules" }, - "1208": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.billing_address_id" + "5141": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.addPromotionTargetRules" }, - "1209": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.shipping_address_id" + "5142": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "promotionId" }, - "1210": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.first_name" + "5143": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "rulesData" }, - "1211": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.last_name" + "5144": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "sharedContext" }, - "1212": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.billing_address" + "5145": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.addPromotionBuyRules" }, - "1213": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.shipping_address" + "5146": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.addPromotionBuyRules" }, - "1214": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.phone" + "5147": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "promotionId" }, - "1215": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.has_account" + "5148": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "rulesData" }, - "1216": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.groups" + "5149": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "sharedContext" }, - "1217": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type" + "5150": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.removePromotionRules" }, - "1218": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.id" + "5151": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.removePromotionRules" }, - "1219": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.orders" + "5152": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "promotionId" }, - "1220": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type" + "5153": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "ruleIds" }, - "1221": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.id" + "5154": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "sharedContext" }, - "1222": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.metadata" + "5155": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.removePromotionTargetRules" }, - "1223": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.deleted_at" + "5156": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.removePromotionTargetRules" }, - "1224": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.created_at" + "5157": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "promotionId" }, - "1225": { - "sourceFileName": "../../../packages/types/src/customer/common.ts", - "qualifiedName": "__type.updated_at" + "5158": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "ruleIds" }, - "1226": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService" + "5159": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "sharedContext" }, - "1227": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.retrieve" + "5160": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.removePromotionBuyRules" }, - "1228": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.retrieve" + "5161": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.removePromotionBuyRules" }, - "1229": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "customerId" + "5162": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "promotionId" }, - "1230": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "config" + "5163": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "ruleIds" }, - "1231": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5164": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", "qualifiedName": "sharedContext" }, - "1232": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.create" + "5165": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.createCampaigns" }, - "1233": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.create" + "5166": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.createCampaigns" }, - "1234": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5167": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", "qualifiedName": "data" }, - "1235": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5168": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", "qualifiedName": "sharedContext" }, - "1236": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.create" + "5169": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.createCampaigns" }, - "1237": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5170": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", "qualifiedName": "data" }, - "1238": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5171": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", "qualifiedName": "sharedContext" }, - "1239": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.update" + "5172": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.updateCampaigns" }, - "1240": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.update" + "5173": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.updateCampaigns" }, - "1241": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "customerId" + "5174": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "data" }, - "1242": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5175": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "sharedContext" + }, + "5176": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.updateCampaigns" + }, + "5177": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", "qualifiedName": "data" }, - "1243": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5178": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", "qualifiedName": "sharedContext" }, - "1244": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.update" + "5179": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.listPromotionRules" }, - "1245": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "customerIds" + "5180": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.listPromotionRules" }, - "1246": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "data" + "5181": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "filters" }, - "1247": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5182": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "config" + }, + "5183": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", "qualifiedName": "sharedContext" }, - "1248": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.update" + "5184": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.updatePromotionRules" }, - "1249": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "selector" + "5185": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.updatePromotionRules" }, - "1250": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5186": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", "qualifiedName": "data" }, - "1251": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5187": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", "qualifiedName": "sharedContext" }, - "1252": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.delete" + "5188": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.listCampaigns" }, - "1253": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.delete" + "5189": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.listCampaigns" }, - "1254": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "customerId" + "5190": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "filters" }, - "1255": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5191": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "config" + }, + "5192": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", "qualifiedName": "sharedContext" }, - "1256": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.delete" + "5193": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.listAndCountCampaigns" }, - "1257": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "customerIds" + "5194": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.listAndCountCampaigns" }, - "1258": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5195": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "filters" + }, + "5196": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "config" + }, + "5197": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", "qualifiedName": "sharedContext" }, - "1259": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.delete" + "5198": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.retrieveCampaign" }, - "1260": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "selector" + "5199": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.retrieveCampaign" }, - "1261": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5200": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "id" + }, + "5201": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "config" + }, + "5202": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", "qualifiedName": "sharedContext" }, - "1262": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.createCustomerGroup" + "5203": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.deleteCampaigns" }, - "1263": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.createCustomerGroup" + "5204": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.deleteCampaigns" }, - "1264": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "data" + "5205": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "ids" }, - "1265": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5206": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", "qualifiedName": "sharedContext" }, - "1266": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.createCustomerGroup" + "5207": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.deleteCampaigns" }, - "1267": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "data" + "5208": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "ids" }, - "1268": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5209": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", "qualifiedName": "sharedContext" }, - "1269": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.retrieveCustomerGroup" + "5210": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.softDeleteCampaigns" }, - "1270": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.retrieveCustomerGroup" + "5211": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.softDeleteCampaigns" }, - "1271": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "groupId" + "5212": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "1272": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5213": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "campaignIds" + }, + "5214": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", "qualifiedName": "config" }, - "1273": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5215": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", "qualifiedName": "sharedContext" }, - "1274": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.updateCustomerGroups" + "5216": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.restoreCampaigns" }, - "1275": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.updateCustomerGroups" + "5217": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "IPromotionModuleService.restoreCampaigns" }, - "1276": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "groupId" + "5218": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "1277": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "data" + "5219": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "campaignIds" }, - "1278": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5220": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", + "qualifiedName": "config" + }, + "5221": { + "sourceFileName": "../../../packages/types/src/promotion/service.ts", "qualifiedName": "sharedContext" }, - "1279": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.updateCustomerGroups" + "5235": { + "sourceFileName": "../../../packages/types/src/promotion/workflows.ts", + "qualifiedName": "AddPromotionRulesWorkflowDTO" }, - "1280": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "groupIds" + "5236": { + "sourceFileName": "../../../packages/types/src/promotion/workflows.ts", + "qualifiedName": "__type" }, - "1281": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "data" + "5237": { + "sourceFileName": "../../../packages/types/src/promotion/workflows.ts", + "qualifiedName": "__type.rule_type" }, - "1282": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "sharedContext" + "5238": { + "sourceFileName": "../../../packages/types/src/promotion/workflows.ts", + "qualifiedName": "__type.data" }, - "1283": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.updateCustomerGroups" + "5239": { + "sourceFileName": "../../../packages/types/src/promotion/workflows.ts", + "qualifiedName": "__type" }, - "1284": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "selector" + "5240": { + "sourceFileName": "../../../packages/types/src/promotion/workflows.ts", + "qualifiedName": "__type.id" + }, + "5241": { + "sourceFileName": "../../../packages/types/src/promotion/workflows.ts", + "qualifiedName": "__type.rules" + }, + "5242": { + "sourceFileName": "../../../packages/types/src/promotion/workflows.ts", + "qualifiedName": "RemovePromotionRulesWorkflowDTO" + }, + "5243": { + "sourceFileName": "../../../packages/types/src/promotion/workflows.ts", + "qualifiedName": "__type" + }, + "5244": { + "sourceFileName": "../../../packages/types/src/promotion/workflows.ts", + "qualifiedName": "__type.rule_type" + }, + "5245": { + "sourceFileName": "../../../packages/types/src/promotion/workflows.ts", + "qualifiedName": "__type.data" + }, + "5246": { + "sourceFileName": "../../../packages/types/src/promotion/workflows.ts", + "qualifiedName": "__type" + }, + "5247": { + "sourceFileName": "../../../packages/types/src/promotion/workflows.ts", + "qualifiedName": "__type.id" + }, + "5248": { + "sourceFileName": "../../../packages/types/src/promotion/workflows.ts", + "qualifiedName": "__type.rule_ids" + }, + "5249": { + "sourceFileName": "../../../packages/types/src/promotion/workflows.ts", + "qualifiedName": "UpdatePromotionRulesWorkflowDTO" + }, + "5250": { + "sourceFileName": "../../../packages/types/src/promotion/workflows.ts", + "qualifiedName": "__type" + }, + "5251": { + "sourceFileName": "../../../packages/types/src/promotion/workflows.ts", + "qualifiedName": "__type.data" + }, + "5252": { + "sourceFileName": "../../../packages/types/src/region__legacy/index.ts", + "qualifiedName": "" + }, + "5253": { + "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", + "qualifiedName": "RegionDTO__legacy" + }, + "5254": { + "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", + "qualifiedName": "__type.name" + }, + "5255": { + "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", + "qualifiedName": "__type.currency_code" }, - "1285": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "data" + "5256": { + "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", + "qualifiedName": "__type.tax_rate" }, - "1286": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "sharedContext" + "5257": { + "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", + "qualifiedName": "__type.tax_code" }, - "1287": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.deleteCustomerGroups" + "5258": { + "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", + "qualifiedName": "__type.gift_cards_taxable" }, - "1288": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.deleteCustomerGroups" + "5259": { + "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", + "qualifiedName": "__type.automatic_taxes" }, - "1289": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "groupId" + "5260": { + "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", + "qualifiedName": "__type.tax_provider_id" }, - "1290": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "sharedContext" + "5261": { + "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", + "qualifiedName": "__type.metadata" }, - "1291": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.deleteCustomerGroups" + "5262": { + "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", + "qualifiedName": "__type.includes_tax" }, - "1292": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "groupIds" + "5263": { + "sourceFileName": "../../../packages/types/src/sales-channel/index.ts", + "qualifiedName": "" }, - "1293": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "sharedContext" + "5264": { + "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", + "qualifiedName": "SalesChannelLocationDTO" }, - "1294": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.deleteCustomerGroups" + "5265": { + "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", + "qualifiedName": "SalesChannelLocationDTO.sales_channel_id" }, - "1295": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "selector" + "5266": { + "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", + "qualifiedName": "SalesChannelLocationDTO.location_id" }, - "1296": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "sharedContext" + "5267": { + "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", + "qualifiedName": "SalesChannelLocationDTO.sales_channel" }, - "1297": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.addCustomerToGroup" + "5268": { + "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", + "qualifiedName": "SalesChannelDTO" }, - "1298": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.addCustomerToGroup" + "5269": { + "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", + "qualifiedName": "SalesChannelDTO.id" }, - "1299": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "groupCustomerPair" + "5270": { + "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", + "qualifiedName": "SalesChannelDTO.name" }, - "1300": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "sharedContext" + "5271": { + "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", + "qualifiedName": "SalesChannelDTO.description" }, - "1301": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "__type" + "5272": { + "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", + "qualifiedName": "SalesChannelDTO.is_disabled" }, - "1302": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "__type.id" + "5273": { + "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", + "qualifiedName": "SalesChannelDTO.metadata" }, - "1303": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.addCustomerToGroup" + "5274": { + "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", + "qualifiedName": "SalesChannelDTO.locations" }, - "1304": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "groupCustomerPairs" + "5275": { + "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", + "qualifiedName": "FilterableSalesChannelProps" }, - "1305": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "sharedContext" + "5276": { + "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", + "qualifiedName": "FilterableSalesChannelProps.q" }, - "1306": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "__type" + "5277": { + "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", + "qualifiedName": "FilterableSalesChannelProps.id" }, - "1307": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "__type.id" + "5278": { + "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", + "qualifiedName": "FilterableSalesChannelProps.name" }, - "1308": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.removeCustomerFromGroup" + "5279": { + "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", + "qualifiedName": "FilterableSalesChannelProps.is_disabled" }, - "1309": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.removeCustomerFromGroup" + "5280": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "1310": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "groupCustomerPair" + "5281": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "1311": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "sharedContext" + "5282": { + "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", + "qualifiedName": "CreateSalesChannelDTO" }, - "1312": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.removeCustomerFromGroup" + "5283": { + "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", + "qualifiedName": "CreateSalesChannelDTO.name" }, - "1313": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "groupCustomerPairs" + "5284": { + "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", + "qualifiedName": "CreateSalesChannelDTO.description" }, - "1314": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "sharedContext" + "5285": { + "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", + "qualifiedName": "CreateSalesChannelDTO.is_disabled" }, - "1315": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.addAddresses" + "5286": { + "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", + "qualifiedName": "UpdateSalesChannelDTO" }, - "1316": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.addAddresses" + "5287": { + "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", + "qualifiedName": "UpdateSalesChannelDTO.name" }, - "1317": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "addresses" + "5288": { + "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", + "qualifiedName": "UpdateSalesChannelDTO.description" }, - "1318": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "sharedContext" + "5289": { + "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", + "qualifiedName": "UpdateSalesChannelDTO.is_disabled" }, - "1319": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.addAddresses" + "5290": { + "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", + "qualifiedName": "UpdateSalesChannelDTO.metadata" }, - "1320": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "address" + "5291": { + "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", + "qualifiedName": "UpsertSalesChannelDTO" }, - "1321": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "sharedContext" + "5292": { + "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", + "qualifiedName": "UpsertSalesChannelDTO.id" }, - "1322": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.updateAddresses" + "5293": { + "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", + "qualifiedName": "UpsertSalesChannelDTO.name" }, - "1323": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.updateAddresses" + "5294": { + "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", + "qualifiedName": "UpsertSalesChannelDTO.description" }, - "1324": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "addressId" + "5295": { + "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", + "qualifiedName": "UpsertSalesChannelDTO.is_disabled" }, - "1325": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "data" + "5296": { + "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", + "qualifiedName": "UpsertSalesChannelDTO.metadata" }, - "1326": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "sharedContext" + "5297": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService" }, - "1327": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.updateAddresses" + "5298": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.create" }, - "1328": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "addressIds" + "5299": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.create" }, - "1329": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5300": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "data" }, - "1330": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5301": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "sharedContext" }, - "1331": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.updateAddresses" - }, - "1332": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "selector" + "5302": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.create" }, - "1333": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5303": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "data" }, - "1334": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5304": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "sharedContext" }, - "1335": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.deleteAddresses" - }, - "1336": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.deleteAddresses" - }, - "1337": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "addressId" + "5305": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.update" }, - "1338": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "sharedContext" + "5306": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.update" }, - "1339": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.deleteAddresses" + "5307": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "channelId" }, - "1340": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "addressIds" + "5308": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "data" }, - "1341": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5309": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "sharedContext" }, - "1342": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.deleteAddresses" + "5310": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.update" }, - "1343": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5311": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "selector" }, - "1344": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "sharedContext" + "5312": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "data" }, - "1345": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.listAddresses" + "5313": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "sharedContext" }, - "1346": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.listAddresses" + "5314": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.upsert" }, - "1347": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "filters" + "5315": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.upsert" }, - "1348": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "config" + "5316": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "data" }, - "1349": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5317": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "sharedContext" }, - "1350": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.listAndCountAddresses" - }, - "1351": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.listAndCountAddresses" - }, - "1352": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "filters" + "5318": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.upsert" }, - "1353": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "config" + "5319": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "data" }, - "1354": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5320": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "sharedContext" }, - "1355": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.listCustomerGroupCustomers" - }, - "1356": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.listCustomerGroupCustomers" + "5321": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.delete" }, - "1357": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "filters" + "5322": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.delete" }, - "1358": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "config" + "5323": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ids" }, - "1359": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5324": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "sharedContext" }, - "1360": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.list" - }, - "1361": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.list" - }, - "1362": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "filters" + "5325": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.delete" }, - "1363": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "config" + "5326": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "id" }, - "1364": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5327": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "sharedContext" }, - "1365": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.listAndCount" + "5328": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.retrieve" }, - "1366": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.listAndCount" + "5329": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.retrieve" }, - "1367": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "filters" + "5330": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "id" }, - "1368": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5331": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "config" }, - "1369": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5332": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "sharedContext" }, - "1370": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.listCustomerGroups" + "5333": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.list" }, - "1371": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.listCustomerGroups" + "5334": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.list" }, - "1372": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5335": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "filters" }, - "1373": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5336": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "config" }, - "1374": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5337": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "sharedContext" }, - "1375": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.listAndCountCustomerGroups" + "5338": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.listAndCount" }, - "1376": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.listAndCountCustomerGroups" + "5339": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.listAndCount" }, - "1377": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5340": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "filters" }, - "1378": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5341": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "config" }, - "1379": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5342": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "sharedContext" }, - "1380": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.softDelete" + "5343": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.softDelete" }, - "1381": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.softDelete" + "5344": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.softDelete" }, - "1382": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5345": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "TReturnableLinkableKeys" }, - "1383": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "customerIds" + "5346": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "salesChannelIds" }, - "1384": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5347": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "config" }, - "1385": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5348": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "sharedContext" }, - "1386": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.restore" + "5349": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.restore" }, - "1387": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.restore" + "5350": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "ISalesChannelModuleService.restore" }, - "1388": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5351": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "TReturnableLinkableKeys" }, - "1389": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "customerIds" + "5352": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", + "qualifiedName": "salesChannelIds" }, - "1390": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5353": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "config" }, - "1391": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", + "5354": { + "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", "qualifiedName": "sharedContext" }, - "1392": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.softDeleteCustomerGroups" + "5368": { + "sourceFileName": "../../../packages/types/src/search/index.ts", + "qualifiedName": "" }, - "1393": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.softDeleteCustomerGroups" + "5369": { + "sourceFileName": "../../../packages/types/src/search/index.ts", + "qualifiedName": "IndexSettings" }, - "1394": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "TReturnableLinkableKeys" + "5370": { + "sourceFileName": "../../../packages/types/src/search/index.ts", + "qualifiedName": "__type" }, - "1395": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "groupIds" + "5371": { + "sourceFileName": "../../../packages/types/src/search/index.ts", + "qualifiedName": "__type.indexSettings" }, - "1396": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "config" + "5372": { + "sourceFileName": "../../../packages/types/src/search/index.ts", + "qualifiedName": "__type.primaryKey" }, - "1397": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "sharedContext" + "5373": { + "sourceFileName": "../../../packages/types/src/search/index.ts", + "qualifiedName": "__type.transformer" }, - "1398": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.restoreCustomerGroups" + "5374": { + "sourceFileName": "../../../packages/types/src/search/index.ts", + "qualifiedName": "__type" }, - "1399": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "ICustomerModuleService.restoreCustomerGroups" + "5375": { + "sourceFileName": "../../../packages/types/src/search/index.ts", + "qualifiedName": "__type" }, - "1400": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "TReturnableLinkableKeys" + "5376": { + "sourceFileName": "../../../packages/types/src/search/index.ts", + "qualifiedName": "document" }, - "1401": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "groupIds" + "5377": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "ISearchService" }, - "1402": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "config" + "5378": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "ISearchService.options" }, - "1403": { - "sourceFileName": "../../../packages/types/src/customer/service.ts", - "qualifiedName": "sharedContext" + "5379": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "ISearchService.createIndex" }, - "1411": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerAddressDTO" + "5380": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "ISearchService.createIndex" }, - "1412": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerAddressDTO.address_name" + "5381": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "indexName" }, - "1413": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerAddressDTO.is_default_shipping" + "5382": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "options" }, - "1414": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerAddressDTO.is_default_billing" + "5383": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "ISearchService.getIndex" }, - "1415": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerAddressDTO.customer_id" + "5384": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "ISearchService.getIndex" }, - "1416": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerAddressDTO.company" + "5385": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "indexName" }, - "1417": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerAddressDTO.first_name" + "5386": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "ISearchService.addDocuments" }, - "1418": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerAddressDTO.last_name" + "5387": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "ISearchService.addDocuments" }, - "1419": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerAddressDTO.address_1" + "5388": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "indexName" }, - "1420": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerAddressDTO.address_2" + "5389": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "documents" }, - "1421": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerAddressDTO.city" + "5390": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "type" }, - "1422": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerAddressDTO.country_code" + "5391": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "ISearchService.replaceDocuments" }, - "1423": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerAddressDTO.province" + "5392": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "ISearchService.replaceDocuments" }, - "1424": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerAddressDTO.postal_code" + "5393": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "indexName" }, - "1425": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerAddressDTO.phone" + "5394": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "documents" }, - "1426": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerAddressDTO.metadata" + "5395": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "type" }, - "1427": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerAddressDTO" + "5396": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "ISearchService.deleteDocument" }, - "1428": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerAddressDTO.id" + "5397": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "ISearchService.deleteDocument" }, - "1429": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerAddressDTO.address_name" + "5398": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "indexName" }, - "1430": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerAddressDTO.is_default_shipping" + "5399": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "document_id" }, - "1431": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerAddressDTO.is_default_billing" + "5400": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "ISearchService.deleteAllDocuments" }, - "1432": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerAddressDTO.customer_id" + "5401": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "ISearchService.deleteAllDocuments" }, - "1433": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerAddressDTO.company" + "5402": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "indexName" }, - "1434": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerAddressDTO.first_name" + "5403": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "ISearchService.search" }, - "1435": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerAddressDTO.last_name" + "5404": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "ISearchService.search" }, - "1436": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerAddressDTO.address_1" + "5405": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "indexName" }, - "1437": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerAddressDTO.address_2" + "5406": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "query" }, - "1438": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerAddressDTO.city" + "5407": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "options" }, - "1439": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerAddressDTO.country_code" + "5408": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "ISearchService.updateSettings" }, - "1440": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerAddressDTO.province" + "5409": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "ISearchService.updateSettings" }, - "1441": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerAddressDTO.postal_code" + "5410": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "indexName" }, - "1442": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerAddressDTO.phone" + "5411": { + "sourceFileName": "../../../packages/types/src/search/interface.ts", + "qualifiedName": "settings" }, - "1443": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerAddressDTO.metadata" + "5412": { + "sourceFileName": "../../../packages/types/src/tax/index.ts", + "qualifiedName": "" }, - "1444": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerDTO" + "5413": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateDTO" }, - "1445": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerDTO.company_name" + "5414": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateDTO.id" }, - "1446": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerDTO.first_name" + "5415": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateDTO.rate" }, - "1447": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerDTO.last_name" + "5416": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateDTO.code" }, - "1448": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerDTO.email" + "5417": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateDTO.name" }, - "1449": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerDTO.phone" + "5418": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateDTO.metadata" }, - "1450": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerDTO.created_by" + "5419": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateDTO.tax_region_id" }, - "1451": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerDTO.addresses" + "5420": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateDTO.is_combinable" }, - "1452": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerDTO.metadata" + "5421": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateDTO.is_default" }, - "1453": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerDTO" + "5422": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateDTO.created_at" }, - "1454": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerDTO.id" + "5423": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateDTO.updated_at" }, - "1455": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerDTO.company_name" + "5424": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateDTO.deleted_at" }, - "1456": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerDTO.first_name" + "5425": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateDTO.created_by" }, - "1457": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerDTO.last_name" + "5426": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxProviderDTO" }, - "1458": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerDTO.email" + "5427": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxProviderDTO.id" }, - "1459": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerDTO.phone" + "5428": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxProviderDTO.is_enabled" }, - "1460": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerDTO.metadata" + "5429": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRateProps" }, - "1461": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CustomerUpdatableFields" + "5430": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRateProps.q" }, - "1462": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CustomerUpdatableFields.company_name" + "5431": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRateProps.id" }, - "1463": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CustomerUpdatableFields.first_name" + "5432": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRateProps.tax_region_id" }, - "1464": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CustomerUpdatableFields.last_name" + "5433": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRateProps.rate" }, - "1465": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CustomerUpdatableFields.email" + "5434": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRateProps.code" }, - "1466": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CustomerUpdatableFields.phone" + "5435": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRateProps.name" }, - "1467": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CustomerUpdatableFields.metadata" + "5436": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRateProps.created_at" }, - "1468": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerGroupDTO" + "5437": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRateProps.updated_at" }, - "1469": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerGroupDTO.name" + "5438": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRateProps.created_by" }, - "1470": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerGroupDTO.metadata" + "5439": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "1471": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CreateCustomerGroupDTO.created_by" + "5440": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "1472": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CustomerGroupUpdatableFields" + "5441": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRegionDTO" }, - "1473": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CustomerGroupUpdatableFields.name" + "5442": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRegionDTO.id" }, - "1474": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CustomerGroupUpdatableFields.metadata" + "5443": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRegionDTO.country_code" }, - "1475": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerGroupDTO" + "5444": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRegionDTO.province_code" }, - "1476": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerGroupDTO.id" + "5445": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRegionDTO.parent_id" }, - "1477": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerGroupDTO.name" + "5446": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRegionDTO.metadata" }, - "1478": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerGroupDTO.customer_ids" + "5447": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRegionDTO.created_at" }, - "1479": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "UpdateCustomerGroupDTO.metadata" + "5448": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRegionDTO.updated_at" }, - "1480": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CustomerGroupUpdatableFileds" + "5449": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRegionDTO.created_by" }, - "1481": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CustomerGroupUpdatableFileds.name" + "5450": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRegionDTO.deleted_at" }, - "1482": { - "sourceFileName": "../../../packages/types/src/customer/mutations.ts", - "qualifiedName": "CustomerGroupUpdatableFileds.metadata" + "5451": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRegionProps" }, - "1483": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "" + "5452": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRegionProps.q" }, - "1484": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "FilterQuery" + "5453": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRegionProps.id" }, - "1485": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type" + "5454": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRegionProps.country_code" }, - "1486": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.__index" + "5455": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRegionProps.province_code" }, - "1488": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "T" + "5456": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRegionProps.parent_id" }, - "1489": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "Prev" + "5457": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRegionProps.metadata" }, - "1490": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "OperatorMap" + "5458": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRegionProps.created_at" }, - "1491": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type" + "5459": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRegionProps.updated_at" }, - "1492": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.$and" + "5460": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRegionProps.created_by" }, - "1493": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.$or" + "5461": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "1494": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.$eq" + "5462": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "1495": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.$ne" + "5463": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateRuleDTO" }, - "1496": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.$in" + "5464": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateRuleDTO.id" }, - "1497": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.$nin" + "5465": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateRuleDTO.reference" }, - "1498": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.$not" + "5466": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateRuleDTO.reference_id" }, - "1499": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.$gt" + "5467": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateRuleDTO.tax_rate_id" }, - "1500": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.$gte" + "5468": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateRuleDTO.tax_rate" }, - "1501": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.$lt" + "5469": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateRuleDTO.metadata" }, - "1502": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.$lte" + "5470": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateRuleDTO.created_at" }, - "1503": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.$like" + "5471": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateRuleDTO.updated_at" }, - "1504": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.$re" + "5472": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxRateRuleDTO.created_by" }, - "1505": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.$ilike" + "5473": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRateRuleProps" }, - "1506": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.$fulltext" + "5474": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRateRuleProps.reference" }, - "1507": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.$overlap" + "5475": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRateRuleProps.reference_id" }, - "1508": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.$contains" + "5476": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRateRuleProps.tax_rate_id" }, - "1509": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.$contained" + "5477": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRateRuleProps.tax_rate" }, - "1510": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.$exists" + "5478": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRateRuleProps.metadata" }, - "1511": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "T" + "5479": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRateRuleProps.created_at" }, - "1512": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable" + "5480": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRateRuleProps.updated_at" }, - "1513": { + "5481": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "FilterableTaxRateRuleProps.created_by" + }, + "5482": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$and" }, - "1514": { + "5483": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$or" }, - "1515": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.T" + "5484": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxableItemDTO" }, - "1516": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "OptionsQuery" + "5485": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxableItemDTO.id" }, - "1517": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "OptionsQuery.populate" + "5486": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxableItemDTO.product_id" }, - "1518": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "OptionsQuery.orderBy" + "5487": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxableItemDTO.product_name" }, - "1519": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "OptionsQuery.limit" + "5488": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxableItemDTO.product_category_id" }, - "1520": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "OptionsQuery.offset" + "5489": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxableItemDTO.product_categories" }, - "1521": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "OptionsQuery.fields" + "5490": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxableItemDTO.product_sku" }, - "1522": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "OptionsQuery.groupBy" + "5491": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxableItemDTO.product_type" }, - "1523": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "OptionsQuery.filters" + "5492": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxableItemDTO.product_type_id" }, - "1524": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "OptionsQuery.T" + "5493": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxableItemDTO.quantity" }, - "1525": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "OptionsQuery.P" + "5494": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxableItemDTO.unit_price" }, - "1526": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "FindOptions" + "5495": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxableItemDTO.currency_code" }, - "1527": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", + "5496": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxableShippingDTO" + }, + "5497": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxableShippingDTO.id" + }, + "5498": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxableShippingDTO.shipping_option_id" + }, + "5499": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxableShippingDTO.unit_price" + }, + "5500": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxableShippingDTO.currency_code" + }, + "5501": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxCalculationContext" + }, + "5502": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxCalculationContext.address" + }, + "5503": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", "qualifiedName": "__type" }, - "1528": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "__type.where" + "5504": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "__type.country_code" }, - "1529": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "__type.options" + "5505": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "__type.province_code" }, - "1530": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "T" + "5506": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "__type.address_1" }, - "1531": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RepositoryService" + "5507": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "__type.address_2" }, - "1532": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RepositoryService.find" + "5508": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "__type.city" }, - "1533": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RepositoryService.find" + "5509": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "__type.postal_code" }, - "1534": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "options" + "5510": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxCalculationContext.customer" }, - "1535": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "context" + "5511": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "__type" }, - "1536": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RepositoryService.findAndCount" + "5512": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "__type.id" }, - "1537": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RepositoryService.findAndCount" + "5513": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "__type.email" }, - "1538": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "options" + "5514": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "__type.customer_groups" }, - "1539": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "context" + "5515": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxCalculationContext.is_return" }, - "1540": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RepositoryService.create" + "5516": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "ItemTaxLineDTO" }, - "1541": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RepositoryService.create" + "5517": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "ItemTaxLineDTO.line_item_id" }, - "1542": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "data" + "5518": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxLineDTO.rate_id" }, - "1543": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "context" + "5519": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxLineDTO.rate" }, - "1544": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RepositoryService.update" + "5520": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxLineDTO.code" }, - "1545": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RepositoryService.update" + "5521": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxLineDTO.name" }, - "1546": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "data" + "5522": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxLineDTO.provider_id" }, - "1547": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type" + "5523": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "ShippingTaxLineDTO" }, - "1548": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type.entity" + "5524": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "ShippingTaxLineDTO.shipping_line_id" }, - "1549": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type.update" + "5525": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxLineDTO.rate_id" }, - "1550": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "context" + "5526": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxLineDTO.rate" }, - "1551": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RepositoryService.delete" + "5527": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxLineDTO.code" }, - "1552": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RepositoryService.delete" + "5528": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxLineDTO.name" }, - "1553": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "idsOrPKs" + "5529": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxLineDTO.provider_id" }, - "1554": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type" + "5530": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRateDTO" }, - "1555": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.__index" + "5531": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRateDTO.tax_region_id" }, - "1557": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type" + "5532": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRateDTO.rate" }, - "1558": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type.__index" + "5533": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRateDTO.code" }, - "1560": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "context" + "5534": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRateDTO.name" }, - "1561": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RepositoryService.softDelete" + "5535": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRateDTO.rules" + }, + "5536": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRateDTO.is_default" + }, + "5537": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRateDTO.created_by" + }, + "5538": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRateDTO.metadata" + }, + "5539": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "UpsertTaxRateDTO" + }, + "5540": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "UpsertTaxRateDTO.id" }, - "1562": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RepositoryService.softDelete" + "5541": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "UpsertTaxRateDTO.rate" }, - "1563": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "idsOrFilter" + "5542": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "UpsertTaxRateDTO.code" }, - "1564": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type" + "5543": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "UpsertTaxRateDTO.name" }, - "1565": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "context" + "5544": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "UpsertTaxRateDTO.is_default" }, - "1566": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RepositoryService.restore" + "5545": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "UpsertTaxRateDTO.created_by" }, - "1567": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RepositoryService.restore" + "5546": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "UpsertTaxRateDTO.metadata" }, - "1568": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "idsOrFilter" + "5547": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "UpdateTaxRateDTO" }, - "1569": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type" + "5548": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "UpdateTaxRateDTO.rate" }, - "1570": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "context" + "5549": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "UpdateTaxRateDTO.code" }, - "1571": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RepositoryService.upsert" + "5550": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "UpdateTaxRateDTO.name" }, - "1572": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RepositoryService.upsert" + "5551": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "UpdateTaxRateDTO.rules" }, - "1573": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "data" + "5552": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "UpdateTaxRateDTO.is_default" }, - "1574": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "context" + "5553": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "UpdateTaxRateDTO.is_combinable" }, - "1575": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "BaseRepositoryService.transaction" + "5555": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "UpdateTaxRateDTO.metadata" }, - "1576": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "BaseRepositoryService.transaction" + "5556": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRegionDTO" }, - "1577": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TManager" + "5557": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRegionDTO.country_code" }, - "1578": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "task" + "5558": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRegionDTO.province_code" }, - "1579": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type" + "5559": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRegionDTO.parent_id" }, - "1580": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type" + "5560": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRegionDTO.metadata" }, - "1581": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "transactionManager" + "5561": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRegionDTO.created_by" }, - "1582": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "context" + "5562": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRegionDTO.default_tax_rate" }, - "1583": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "5563": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", "qualifiedName": "__type" }, - "1584": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type.isolationLevel" + "5564": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "__type.rate" }, - "1585": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type.transaction" + "5565": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "__type.code" }, - "1586": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type.enableNestedTransactions" + "5566": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "__type.name" }, - "1587": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "BaseRepositoryService.getFreshManager" + "5567": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "__type.metadata" }, - "1588": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "BaseRepositoryService.getFreshManager" + "5568": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRateRuleDTO" }, - "1589": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TManager" + "5569": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRateRuleDTO.reference" }, - "1590": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "BaseRepositoryService.getActiveManager" + "5570": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRateRuleDTO.reference_id" }, - "1591": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "BaseRepositoryService.getActiveManager" + "5571": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRateRuleDTO.tax_rate_id" }, - "1592": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TManager" + "5572": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRateRuleDTO.metadata" }, - "1593": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "BaseRepositoryService.serialize" + "5573": { + "sourceFileName": "../../../packages/types/src/tax/mutations.ts", + "qualifiedName": "CreateTaxRateRuleDTO.created_by" }, - "1594": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "BaseRepositoryService.serialize" + "5574": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService" }, - "1595": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TOutput" + "5575": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.retrieve" }, - "1596": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "data" + "5576": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.retrieve" }, - "1597": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "options" + "5577": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "taxRateId" }, - "1598": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RepositoryService.T" + "5578": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "config" }, - "1599": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TreeRepositoryService" + "5579": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1600": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TreeRepositoryService.find" + "5580": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.list" }, - "1601": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TreeRepositoryService.find" + "5581": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.list" }, - "1602": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "options" + "5582": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "filters" }, - "1603": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "transformOptions" + "5583": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "config" }, - "1604": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "context" + "5584": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1605": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TreeRepositoryService.findAndCount" + "5585": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.listAndCount" }, - "1606": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TreeRepositoryService.findAndCount" + "5586": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.listAndCount" }, - "1607": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "options" + "5587": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "filters" }, - "1608": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "transformOptions" + "5588": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "config" }, - "1609": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "context" + "5589": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1610": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TreeRepositoryService.create" + "5590": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.create" }, - "1611": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TreeRepositoryService.create" + "5591": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.create" }, - "1612": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "5592": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", "qualifiedName": "data" }, - "1613": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "context" - }, - "1614": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TreeRepositoryService.delete" + "5593": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1615": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TreeRepositoryService.delete" + "5594": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.create" }, - "1616": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "id" + "5595": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "data" }, - "1617": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "context" + "5596": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1618": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "BaseRepositoryService.transaction" + "5597": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.update" }, - "1619": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "BaseRepositoryService.transaction" + "5598": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.update" }, - "1620": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TManager" + "5599": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "taxRateId" }, - "1621": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "task" + "5600": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "data" }, - "1622": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type" + "5601": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1623": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type" + "5602": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.update" }, - "1624": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "transactionManager" + "5603": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "taxRateIds" }, - "1625": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "context" + "5604": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "data" }, - "1626": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type" + "5605": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1627": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type.isolationLevel" + "5606": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.update" }, - "1628": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type.transaction" + "5607": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "selector" }, - "1629": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type.enableNestedTransactions" + "5608": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "data" }, - "1630": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "BaseRepositoryService.getFreshManager" + "5609": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1631": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "BaseRepositoryService.getFreshManager" + "5610": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.upsert" }, - "1632": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TManager" + "5611": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.upsert" }, - "1633": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "BaseRepositoryService.getActiveManager" + "5612": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "data" }, - "1634": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "BaseRepositoryService.getActiveManager" + "5613": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1635": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TManager" + "5614": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.upsert" }, - "1636": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "BaseRepositoryService.serialize" + "5615": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "data" }, - "1637": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "BaseRepositoryService.serialize" + "5616": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1638": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TOutput" + "5617": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.delete" }, - "1639": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "data" + "5618": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.delete" }, - "1640": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "options" + "5619": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "taxRateIds" }, - "1641": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TreeRepositoryService.T" + "5620": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1642": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "SoftDeleteReturn" + "5621": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.delete" }, - "1643": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type.returnLinkableKeys" + "5622": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "taxRateId" }, - "1644": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TReturnableLinkableKeys" + "5623": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1645": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RestoreReturn" + "5624": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.restore" }, - "1646": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type.returnLinkableKeys" + "5625": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.restore" }, - "1647": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "5626": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", "qualifiedName": "TReturnableLinkableKeys" }, - "1648": { - "sourceFileName": "../../../packages/types/src/dal/entity.ts", - "qualifiedName": "EntityDateColumns" + "5627": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "taxRateIds" }, - "1649": { - "sourceFileName": "../../../packages/types/src/dal/entity.ts", - "qualifiedName": "SoftDeletableEntityDateColumns" + "5628": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "config" }, - "1650": { - "sourceFileName": "../../../packages/types/src/event-bus/index.ts", - "qualifiedName": "" + "5629": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1651": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "Subscriber" + "5630": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.createTaxRegions" }, - "1652": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type" + "5631": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.createTaxRegions" }, - "1653": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type" + "5632": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "data" }, - "1654": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "5633": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" + }, + "5634": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.createTaxRegions" + }, + "5635": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", "qualifiedName": "data" }, - "1655": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "eventName" + "5636": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1656": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "T" + "5637": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.deleteTaxRegions" }, - "1657": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "SubscriberContext" + "5638": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.deleteTaxRegions" }, - "1658": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type" + "5639": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "taxRegionIds" }, - "1659": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.subscriberId" + "5640": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1660": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "SubscriberDescriptor" + "5641": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.deleteTaxRegions" }, - "1661": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type" + "5642": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "taxRegionId" }, - "1662": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.id" + "5643": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1663": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.subscriber" + "5644": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.listTaxRegions" }, - "1664": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "EventHandler" + "5645": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.listTaxRegions" }, - "1665": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type" + "5646": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "filters" }, - "1666": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type" + "5647": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "config" }, - "1667": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "5648": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" + }, + "5649": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.createTaxRateRules" + }, + "5650": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.createTaxRateRules" + }, + "5651": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", "qualifiedName": "data" }, - "1668": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "eventName" + "5652": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1669": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "T" + "5653": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.createTaxRateRules" }, - "1670": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "EmitData" + "5654": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "data" }, - "1671": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type" + "5655": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1672": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.eventName" + "5656": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.deleteTaxRateRules" }, - "1673": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.data" + "5657": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.deleteTaxRateRules" }, - "1674": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.options" + "5658": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "taxRateRuleId" }, - "1675": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "T" + "5659": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1676": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "MessageBody" + "5660": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.deleteTaxRateRules" }, - "1677": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type" + "5661": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "taxRateRuleIds" }, - "1678": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.metadata" + "5662": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1679": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type" + "5663": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.listTaxRateRules" }, - "1680": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.service" + "5664": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.listTaxRateRules" }, - "1681": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.action" + "5665": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "filters" }, - "1682": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.object" + "5666": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "config" }, - "1683": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.eventGroupId" + "5667": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1684": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.data" + "5668": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.getTaxLines" }, - "1685": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "T" + "5669": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.getTaxLines" }, - "1686": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "Message" + "5670": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "items" }, - "1687": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type" + "5671": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "calculationContext" }, - "1688": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.eventName" + "5672": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1689": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.body" + "5673": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.softDelete" }, - "1690": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.options" + "5674": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.softDelete" }, - "1691": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "T" + "5675": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "1692": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "MessageFormat" + "5676": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "taxRateIds" }, - "1693": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type" + "5677": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "config" }, - "1694": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.eventName" + "5678": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1695": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.metadata" + "5679": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.softDeleteTaxRegions" }, - "1696": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type" + "5680": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.softDeleteTaxRegions" }, - "1697": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.service" + "5681": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "1698": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.action" + "5682": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "taxRegionIds" }, - "1699": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.object" + "5683": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "config" }, - "1700": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.eventGroupId" + "5684": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1701": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "__type.data" + "5685": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.restoreTaxRegions" }, - "1702": { - "sourceFileName": "../../../packages/types/src/event-bus/common.ts", - "qualifiedName": "T" + "5686": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.restoreTaxRegions" }, - "1703": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "IEventBusService" + "5687": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "1704": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "IEventBusService.subscribe" + "5688": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "taxRegionIds" }, - "1705": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "IEventBusService.subscribe" + "5689": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "config" }, - "1706": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "eventName" + "5690": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1707": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "subscriber" + "5691": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.softDeleteTaxRateRules" }, - "1708": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "context" + "5692": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.softDeleteTaxRateRules" }, - "1709": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "IEventBusService.unsubscribe" + "5693": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "1710": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "IEventBusService.unsubscribe" + "5694": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "taxRateRuleIds" }, - "1711": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "eventName" + "5695": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "config" }, - "1712": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "subscriber" + "5696": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1713": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "context" + "5697": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.restoreTaxRateRules" }, - "1714": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "IEventBusService.emit" + "5698": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "ITaxModuleService.restoreTaxRateRules" }, - "1715": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "IEventBusService.emit" + "5699": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "1716": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "T" + "5700": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "taxRateRuleIds" }, - "1717": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "event" + "5701": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "config" }, - "1718": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "data" + "5702": { + "sourceFileName": "../../../packages/types/src/tax/service.ts", + "qualifiedName": "sharedContext" }, - "1719": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "options" + "5716": { + "sourceFileName": "../../../packages/types/src/tax/provider.ts", + "qualifiedName": "ShippingTaxCalculationLine" }, - "1720": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "IEventBusService.emit" + "5717": { + "sourceFileName": "../../../packages/types/src/tax/provider.ts", + "qualifiedName": "__type" }, - "1721": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "T" + "5718": { + "sourceFileName": "../../../packages/types/src/tax/provider.ts", + "qualifiedName": "__type.shipping_line" }, - "1722": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "data" + "5719": { + "sourceFileName": "../../../packages/types/src/tax/provider.ts", + "qualifiedName": "__type.rates" }, - "1723": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "IEventBusService.emit" + "5720": { + "sourceFileName": "../../../packages/types/src/tax/provider.ts", + "qualifiedName": "ItemTaxCalculationLine" }, - "1724": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "T" + "5721": { + "sourceFileName": "../../../packages/types/src/tax/provider.ts", + "qualifiedName": "__type" }, - "1725": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus.ts", - "qualifiedName": "data" + "5722": { + "sourceFileName": "../../../packages/types/src/tax/provider.ts", + "qualifiedName": "__type.line_item" }, - "1726": { + "5723": { + "sourceFileName": "../../../packages/types/src/tax/provider.ts", + "qualifiedName": "__type.rates" + }, + "5724": { + "sourceFileName": "../../../packages/types/src/tax/provider.ts", + "qualifiedName": "ITaxProvider" + }, + "5727": { + "sourceFileName": "../../../packages/types/src/tax/provider.ts", + "qualifiedName": "ITaxProvider.getTaxLines" + }, + "5728": { + "sourceFileName": "../../../packages/types/src/tax/provider.ts", + "qualifiedName": "ITaxProvider.getTaxLines" + }, + "5729": { + "sourceFileName": "../../../packages/types/src/tax/provider.ts", + "qualifiedName": "itemLines" + }, + "5730": { + "sourceFileName": "../../../packages/types/src/tax/provider.ts", + "qualifiedName": "shippingLines" + }, + "5731": { + "sourceFileName": "../../../packages/types/src/tax/provider.ts", + "qualifiedName": "context" + }, + "5732": { + "sourceFileName": "../../../packages/types/src/transaction-base/index.ts", + "qualifiedName": "" + }, + "5733": { + "sourceFileName": "../../../packages/types/src/transaction-base/transaction-base.ts", + "qualifiedName": "ITransactionBaseService" + }, + "5734": { "sourceFileName": "../../../packages/types/src/transaction-base/transaction-base.ts", "qualifiedName": "ITransactionBaseService.withTransaction" }, - "1727": { + "5735": { "sourceFileName": "../../../packages/types/src/transaction-base/transaction-base.ts", "qualifiedName": "ITransactionBaseService.withTransaction" }, - "1728": { + "5736": { "sourceFileName": "../../../packages/types/src/transaction-base/transaction-base.ts", "qualifiedName": "transactionManager" }, - "1729": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "IEventBusModuleService" - }, - "1730": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "IEventBusModuleService.emit" - }, - "1731": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "IEventBusModuleService.emit" + "5737": { + "sourceFileName": "../../../packages/types/src/user/index.ts", + "qualifiedName": "" }, - "1732": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "T" + "5738": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "UserDTO" }, - "1733": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "eventName" + "5739": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "UserDTO.id" }, - "1734": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "data" + "5740": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "UserDTO.email" }, - "1735": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "options" + "5741": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "UserDTO.first_name" }, - "1736": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "IEventBusModuleService.emit" + "5742": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "UserDTO.last_name" }, - "1737": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "T" + "5743": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "UserDTO.avatar_url" }, - "1738": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "data" + "5744": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "UserDTO.metadata" }, - "1739": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "IEventBusModuleService.emit" + "5745": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "UserDTO.created_at" }, - "1740": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "T" + "5746": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "UserDTO.updated_at" }, - "1741": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "data" + "5747": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "UserDTO.deleted_at" }, - "1742": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "IEventBusModuleService.subscribe" + "5748": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "FilterableUserProps" }, - "1743": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "IEventBusModuleService.subscribe" + "5749": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "FilterableUserProps.q" }, - "1744": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "eventName" + "5750": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "FilterableUserProps.id" }, - "1745": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "subscriber" + "5751": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "FilterableUserProps.email" }, - "1746": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "context" + "5752": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "FilterableUserProps.first_name" }, - "1747": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "IEventBusModuleService.unsubscribe" + "5753": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "FilterableUserProps.last_name" }, - "1748": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "IEventBusModuleService.unsubscribe" + "5754": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "1749": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "eventName" + "5755": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "1750": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "subscriber" + "5756": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "InviteDTO" }, - "1751": { - "sourceFileName": "../../../packages/types/src/event-bus/event-bus-module.ts", - "qualifiedName": "context" + "5757": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "InviteDTO.id" }, - "1752": { - "sourceFileName": "../../../packages/types/src/feature-flag/index.ts", - "qualifiedName": "" + "5758": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "InviteDTO.email" }, - "1753": { - "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", - "qualifiedName": "IFlagRouter" + "5759": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "InviteDTO.accepted" }, - "1754": { - "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", - "qualifiedName": "IFlagRouter.isFeatureEnabled" + "5760": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "InviteDTO.token" }, - "1755": { - "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", - "qualifiedName": "__type" + "5761": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "InviteDTO.expires_at" }, - "1756": { - "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", - "qualifiedName": "__type" + "5762": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "InviteDTO.metadata" }, - "1757": { - "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", - "qualifiedName": "key" + "5763": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "InviteDTO.created_at" }, - "1758": { - "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", - "qualifiedName": "IFlagRouter.listFlags" + "5764": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "InviteDTO.updated_at" }, - "1759": { - "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", - "qualifiedName": "__type" + "5765": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "InviteDTO.deleted_at" }, - "1760": { - "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", - "qualifiedName": "__type" + "5766": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "FilterableInviteProps" }, - "1761": { - "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", - "qualifiedName": "FeatureFlagsResponse" + "5767": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "FilterableInviteProps.id" }, - "1762": { - "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", - "qualifiedName": "__type" + "5768": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "FilterableInviteProps.email" }, - "1763": { - "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", - "qualifiedName": "__type.key" + "5769": { + "sourceFileName": "../../../packages/types/src/user/common.ts", + "qualifiedName": "FilterableInviteProps.expires_at" }, - "1764": { - "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", - "qualifiedName": "__type.value" + "5770": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "1765": { - "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", - "qualifiedName": "FlagSettings" + "5771": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "1766": { - "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", - "qualifiedName": "__type" + "5772": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "CreateUserDTO" }, - "1767": { - "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", - "qualifiedName": "__type.key" + "5773": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "CreateUserDTO.email" }, - "1768": { - "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", - "qualifiedName": "__type.description" + "5774": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "CreateUserDTO.first_name" }, - "1769": { - "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", - "qualifiedName": "__type.env_key" + "5775": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "CreateUserDTO.last_name" }, - "1770": { - "sourceFileName": "../../../packages/types/src/feature-flag/common.ts", - "qualifiedName": "__type.default_val" + "5776": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "CreateUserDTO.avatar_url" }, - "1771": { - "sourceFileName": "../../../packages/types/src/fulfillment/index.ts", - "qualifiedName": "" + "5777": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "CreateUserDTO.metadata" }, - "1772": { - "sourceFileName": "../../../packages/types/src/fulfillment/common.ts", - "qualifiedName": "GeoZoneType" + "5778": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "UpdateUserDTO" }, - "1773": { - "sourceFileName": "../../../packages/types/src/fulfillment/common.ts", - "qualifiedName": "FulfillmentDTO" + "5779": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "UpdateUserDTO.id" }, - "1774": { - "sourceFileName": "../../../packages/types/src/fulfillment/common.ts", - "qualifiedName": "FulfillmentDTO.id" + "5780": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "metadata" }, - "1775": { - "sourceFileName": "../../../packages/types/src/fulfillment/common.ts", - "qualifiedName": "FulfillmentDTO.name" + "5781": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "first_name" }, - "1776": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService" + "5782": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "last_name" }, - "1777": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService.create" + "5783": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "avatar_url" }, - "1778": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService.create" + "5784": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "CreateInviteDTO" }, - "1779": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "data" + "5785": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "CreateInviteDTO.email" }, - "1780": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "sharedContext" + "5786": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "CreateInviteDTO.accepted" }, - "1781": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService.create" + "5787": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "CreateInviteDTO.metadata" }, - "1782": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "data" + "5788": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "UpdateInviteDTO" }, - "1783": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "sharedContext" + "5789": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "UpdateInviteDTO.id" }, - "1784": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService.update" + "5790": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "metadata" }, - "1785": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService.update" + "5791": { + "sourceFileName": "../../../packages/types/src/user/mutations.ts", + "qualifiedName": "accepted" }, - "1786": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "data" + "5792": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService" }, - "1787": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "sharedContext" + "5793": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.validateInviteToken" }, - "1788": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService.update" + "5794": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.validateInviteToken" }, - "1789": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "data" + "5795": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "token" }, - "1790": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "5796": { + "sourceFileName": "../../../packages/types/src/user/service.ts", "qualifiedName": "sharedContext" }, - "1791": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService.delete" - }, - "1792": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService.delete" - }, - "1793": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "ids" - }, - "1794": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "sharedContext" + "5797": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.refreshInviteTokens" }, - "1795": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService.delete" + "5798": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.refreshInviteTokens" }, - "1796": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "id" + "5799": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "inviteIds" }, - "1797": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "5800": { + "sourceFileName": "../../../packages/types/src/user/service.ts", "qualifiedName": "sharedContext" }, - "1798": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService.retrieve" + "5801": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.retrieve" }, - "1799": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService.retrieve" + "5802": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.retrieve" }, - "1800": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "5803": { + "sourceFileName": "../../../packages/types/src/user/service.ts", "qualifiedName": "id" }, - "1801": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "5804": { + "sourceFileName": "../../../packages/types/src/user/service.ts", "qualifiedName": "config" }, - "1802": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "5805": { + "sourceFileName": "../../../packages/types/src/user/service.ts", "qualifiedName": "sharedContext" }, - "1803": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService.list" + "5806": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.list" }, - "1804": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService.list" + "5807": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.list" }, - "1805": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "5808": { + "sourceFileName": "../../../packages/types/src/user/service.ts", "qualifiedName": "filters" }, - "1806": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "5809": { + "sourceFileName": "../../../packages/types/src/user/service.ts", "qualifiedName": "config" }, - "1807": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "5810": { + "sourceFileName": "../../../packages/types/src/user/service.ts", "qualifiedName": "sharedContext" }, - "1808": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService.listAndCount" + "5811": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.listAndCount" }, - "1809": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService.listAndCount" + "5812": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.listAndCount" }, - "1810": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "5813": { + "sourceFileName": "../../../packages/types/src/user/service.ts", "qualifiedName": "filters" }, - "1811": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "5814": { + "sourceFileName": "../../../packages/types/src/user/service.ts", "qualifiedName": "config" }, - "1812": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "5815": { + "sourceFileName": "../../../packages/types/src/user/service.ts", "qualifiedName": "sharedContext" }, - "1813": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService.softDelete" - }, - "1814": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService.softDelete" - }, - "1815": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "TReturnableLinkableKeys" + "5816": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.create" }, - "1816": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "fulfillmentIds" + "5817": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.create" }, - "1817": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "config" + "5818": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "data" }, - "1818": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "5819": { + "sourceFileName": "../../../packages/types/src/user/service.ts", "qualifiedName": "sharedContext" }, - "1819": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService.restore" + "5820": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.create" }, - "1820": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "IFulfillmentModuleService.restore" + "5821": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "data" }, - "1821": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "TReturnableLinkableKeys" + "5822": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "sharedContext" }, - "1822": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "fulfillmentIds" + "5823": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.update" }, - "1823": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", - "qualifiedName": "config" + "5824": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.update" }, - "1824": { - "sourceFileName": "../../../packages/types/src/fulfillment/service.ts", + "5825": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "data" + }, + "5826": { + "sourceFileName": "../../../packages/types/src/user/service.ts", "qualifiedName": "sharedContext" }, - "1832": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "" + "5827": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.update" }, - "1833": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "Logger" + "5828": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "data" }, - "1834": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "Logger.panic" + "5829": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "sharedContext" }, - "1835": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5830": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.delete" }, - "1836": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5831": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.delete" }, - "1837": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "data" + "5832": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "ids" }, - "1838": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "Logger.shouldLog" + "5833": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "sharedContext" }, - "1839": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5834": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.softDelete" }, - "1840": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5835": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.softDelete" }, - "1841": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "level" + "5836": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "1842": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "Logger.setLogLevel" + "5837": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "userIds" }, - "1843": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5838": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "config" }, - "1844": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5839": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "sharedContext" + }, + "5840": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.restore" }, - "1845": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "level" + "5841": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.restore" }, - "1846": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "Logger.unsetLogLevel" + "5842": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "1847": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5843": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "userIds" }, - "1848": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5844": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "config" }, - "1849": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "Logger.activity" + "5845": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "sharedContext" }, - "1850": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5846": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.retrieveInvite" }, - "1851": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5847": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.retrieveInvite" }, - "1852": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "message" + "5848": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "id" }, - "1853": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", + "5849": { + "sourceFileName": "../../../packages/types/src/user/service.ts", "qualifiedName": "config" }, - "1854": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "Logger.progress" + "5850": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "sharedContext" }, - "1855": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5851": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.listInvites" }, - "1856": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5852": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.listInvites" }, - "1857": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "activityId" + "5853": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "filters" }, - "1858": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "message" + "5854": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "config" }, - "1859": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "Logger.error" + "5855": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "sharedContext" }, - "1860": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5856": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.listAndCountInvites" }, - "1861": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5857": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.listAndCountInvites" }, - "1862": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "messageOrError" + "5858": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "filters" }, - "1863": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "error" + "5859": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "config" }, - "1864": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "Logger.failure" + "5860": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "sharedContext" }, - "1865": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5861": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.createInvites" }, - "1866": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5862": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.createInvites" }, - "1867": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "activityId" + "5863": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "data" }, - "1868": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "message" + "5864": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "sharedContext" }, - "1869": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "Logger.success" + "5865": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.createInvites" }, - "1870": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5866": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "data" }, - "1871": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5867": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "sharedContext" }, - "1872": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "activityId" + "5868": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.updateInvites" }, - "1873": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "message" + "5869": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.updateInvites" }, - "1874": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "Logger.debug" + "5870": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "data" }, - "1875": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5871": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "sharedContext" }, - "1876": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5872": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.updateInvites" }, - "1877": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "message" + "5873": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "data" }, - "1878": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "Logger.info" + "5874": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "sharedContext" }, - "1879": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5875": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.deleteInvites" }, - "1880": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5876": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.deleteInvites" }, - "1881": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "message" + "5877": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "ids" }, - "1882": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "Logger.warn" + "5878": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "sharedContext" }, - "1883": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5879": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.softDeleteInvites" }, - "1884": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5880": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.softDeleteInvites" }, - "1885": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "message" + "5881": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "1886": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "Logger.log" + "5882": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "inviteIds" }, - "1887": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5883": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "config" }, - "1888": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "__type" + "5884": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "sharedContext" }, - "1889": { - "sourceFileName": "../../../packages/types/src/logger/index.ts", - "qualifiedName": "args" + "5885": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.restoreInvites" }, - "1890": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "" + "5886": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "IUserModuleService.restoreInvites" }, - "1891": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "Constructor" + "5887": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "1892": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" + "5888": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "inviteIds" }, - "1893": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" + "5889": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "config" }, - "1894": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "args" + "5890": { + "sourceFileName": "../../../packages/types/src/user/service.ts", + "qualifiedName": "sharedContext" }, - "1895": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "T" + "5904": { + "sourceFileName": "../../../packages/types/src/workflow/index.ts", + "qualifiedName": "" }, - "1896": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "LogLevel" + "5905": { + "sourceFileName": "../../../packages/types/src/workflow/cart/index.ts", + "qualifiedName": "" }, - "1897": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "LoggerOptions" + "5906": { + "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", + "qualifiedName": "CreateLineItemInputDTO" }, - "1898": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "MODULE_SCOPE" + "5907": { + "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", + "qualifiedName": "CreateLineItemInputDTO.variant_id" }, - "1899": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "MODULE_SCOPE.INTERNAL" + "5908": { + "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", + "qualifiedName": "CreateLineItemInputDTO.quantity" }, - "1900": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "MODULE_SCOPE.EXTERNAL" + "5909": { + "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", + "qualifiedName": "CreateCartWorkflowInputDTO" }, - "1901": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "MODULE_RESOURCE_TYPE" + "5910": { + "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.region_id" }, - "1902": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "MODULE_RESOURCE_TYPE.SHARED" + "5911": { + "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.country_code" }, - "1903": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "MODULE_RESOURCE_TYPE.ISOLATED" + "5912": { + "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.items" }, - "1904": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "InternalModuleDeclaration" + "5913": { + "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.context" }, - "1905": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" + "5914": { + "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.sales_channel_id" }, - "1906": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.scope" + "5915": { + "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.shipping_address_id" }, - "1907": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.resources" + "5916": { + "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.billing_address_id" }, - "1908": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.dependencies" + "5917": { + "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.billing_address" }, - "1909": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.definition" + "5918": { + "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.shipping_address" }, - "1910": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.resolve" + "5919": { + "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.customer_id" }, - "1911": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.options" + "5920": { + "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", + "qualifiedName": "CreateCartWorkflowInputDTO.email" }, - "1912": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.alias" + "5921": { + "sourceFileName": "../../../packages/types/src/workflow/common.ts", + "qualifiedName": "" }, - "1913": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.main" + "5922": { + "sourceFileName": "../../../packages/types/src/workflow/common.ts", + "qualifiedName": "WorkflowInputConfig" }, - "1914": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "ExternalModuleDeclaration" + "5923": { + "sourceFileName": "../../../packages/types/src/workflow/common.ts", + "qualifiedName": "WorkflowInputConfig.listConfig" }, - "1915": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "5924": { + "sourceFileName": "../../../packages/types/src/workflow/common.ts", "qualifiedName": "__type" }, - "1916": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.scope" + "5925": { + "sourceFileName": "../../../packages/types/src/workflow/common.ts", + "qualifiedName": "__type.select" }, - "1917": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.definition" + "5926": { + "sourceFileName": "../../../packages/types/src/workflow/common.ts", + "qualifiedName": "__type.relations" }, - "1918": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.server" + "5927": { + "sourceFileName": "../../../packages/types/src/workflow/common.ts", + "qualifiedName": "WorkflowInputConfig.retrieveConfig" }, - "1919": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "5928": { + "sourceFileName": "../../../packages/types/src/workflow/common.ts", "qualifiedName": "__type" }, - "1920": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.type" - }, - "1921": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.url" + "5929": { + "sourceFileName": "../../../packages/types/src/workflow/common.ts", + "qualifiedName": "__type.select" }, - "1922": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.keepAlive" + "5930": { + "sourceFileName": "../../../packages/types/src/workflow/common.ts", + "qualifiedName": "__type.relations" }, - "1923": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.options" + "5931": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/index.ts", + "qualifiedName": "" }, - "1924": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.alias" + "5932": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "CreateFulfillmentAddressWorkflowDTO" }, - "1925": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.main" + "5933": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type" }, - "1926": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "ModuleResolution" + "5934": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.company" }, - "1927": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" + "5935": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.first_name" }, - "1928": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.resolutionPath" + "5936": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.last_name" }, - "1929": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.definition" + "5937": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.address_1" }, - "1930": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.options" + "5938": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.address_2" }, - "1931": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.dependencies" + "5939": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.city" }, - "1932": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.moduleDeclaration" + "5940": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.country_code" }, - "1933": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.moduleExports" + "5941": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.province" }, - "1934": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "ModuleDefinition" + "5942": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.postal_code" }, - "1935": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" + "5943": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.phone" }, - "1936": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.key" + "5944": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.metadata" }, - "1937": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.registrationName" + "5945": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "CreateFulfillmentItemWorkflowDTO" }, - "1938": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.defaultPackage" + "5946": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type" }, - "1939": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.label" + "5947": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.title" }, - "1940": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.isRequired" + "5948": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.sku" }, - "1941": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.isQueryable" + "5949": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.quantity" }, - "1942": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.isLegacy" + "5950": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.barcode" }, - "1943": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.dependencies" + "5951": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.line_item_id" }, - "1944": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.defaultModuleDeclaration" + "5952": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.inventory_item_id" }, - "1945": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "LinkModuleDefinition" + "5953": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "CreateFulfillmentLabelWorkflowDTO" }, - "1946": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "5954": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", "qualifiedName": "__type" }, - "1947": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.key" - }, - "1948": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.registrationName" + "5955": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.tracking_number" }, - "1949": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.label" + "5956": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.tracking_url" }, - "1950": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.dependencies" + "5957": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.label_url" }, - "1951": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.defaultModuleDeclaration" + "5958": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "CreateFulfillmentOrderWorkflowDTO" }, - "1952": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "ModuleConfig" + "5959": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "CreateFulfillmentWorkflowInput" }, - "1953": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "5960": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", "qualifiedName": "__type" }, - "1954": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.module" + "5961": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.location_id" }, - "1955": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.path" + "5962": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.packed_at" }, - "1956": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.definition" + "5963": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.shipped_at" }, - "1957": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "LoadedModule" + "5964": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.delivered_at" }, - "1958": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" + "5965": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.canceled_at" }, - "1959": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.__joinerConfig" + "5966": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.data" }, - "1960": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.__definition" + "5967": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.provider_id" }, - "1961": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "LoaderOptions" + "5968": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.shipping_option_id" }, - "1962": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" + "5969": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.metadata" }, - "1963": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.container" + "5970": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.delivery_address" }, - "1964": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.options" + "5971": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.items" }, - "1965": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.logger" + "5972": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.labels" }, - "1966": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "TOptions" + "5973": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-fulfillment.ts", + "qualifiedName": "__type.order" }, - "1967": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "ModuleLoaderFunction" + "5974": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipment.ts", + "qualifiedName": "CreateShipmentWorkflowInput" }, - "1968": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" + "5975": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipment.ts", + "qualifiedName": "CreateShipmentWorkflowInput.id" }, - "1969": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" + "5976": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipment.ts", + "qualifiedName": "CreateShipmentWorkflowInput.labels" }, - "1970": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "options" + "5977": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "CreateShippingOptionsWorkflowInput" }, - "1971": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "moduleDeclaration" + "5978": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "CreateShippingOptionsWorkflowInput.name" }, - "1972": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "ModulesResponse" + "5979": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "CreateShippingOptionsWorkflowInput.service_zone_id" }, - "1973": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" + "5980": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "CreateShippingOptionsWorkflowInput.shipping_profile_id" }, - "1974": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.module" + "5981": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "CreateShippingOptionsWorkflowInput.data" }, - "1975": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.resolution" + "5982": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "CreateShippingOptionsWorkflowInput.price_type" }, - "1976": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "ModuleJoinerConfig" + "5983": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "CreateShippingOptionsWorkflowInput.provider_id" }, - "1977": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "5984": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "CreateShippingOptionsWorkflowInput.type" + }, + "5985": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", "qualifiedName": "__type" }, - "1978": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.schema" + "5986": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "__type.label" }, - "1979": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.relationships" + "5987": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "__type.description" }, - "1980": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.extends" + "5988": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "__type.code" }, - "1981": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "5989": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "CreateShippingOptionsWorkflowInput.prices" + }, + "5990": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", "qualifiedName": "__type" }, - "1982": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.serviceName" + "5991": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "__type.currency_code" }, - "1983": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.fieldAlias" + "5992": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "__type.amount" }, - "1984": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "5993": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", "qualifiedName": "__type" }, - "1985": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.path" - }, - "1986": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.forwardArgumentsOnPath" + "5994": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "__type.region_id" }, - "1987": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.relationship" + "5995": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "__type.amount" }, - "1988": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.serviceName" + "5996": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "CreateShippingOptionsWorkflowInput.rules" }, - "1989": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.primaryKeys" + "5997": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "__type" }, - "1990": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.isLink" + "5998": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "__type.attribute" }, - "1991": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.linkableKeys" + "5999": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "__type.operator" }, - "1992": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.isReadOnlyLink" + "6000": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "__type.value" }, - "1993": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.databaseConfig" + "6001": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "CreateShippingOptionsWorkflowOutput" }, - "1994": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "6002": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", "qualifiedName": "__type" }, - "1995": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.tableName" + "6003": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/create-shipping-options.ts", + "qualifiedName": "__type.id" }, - "1996": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.idPrefix" + "6004": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/delete-shipping-options.ts", + "qualifiedName": "DeleteShippingOptionsWorkflowInput" }, - "1997": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.extraFields" + "6005": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/delete-shipping-options.ts", + "qualifiedName": "DeleteShippingOptionsWorkflowInput.ids" }, - "1998": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" + "6006": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/service-zones.ts", + "qualifiedName": "CreateServiceZonesWorkflowInput" }, - "1999": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.type" + "6007": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/service-zones.ts", + "qualifiedName": "CreateServiceZonesWorkflowInput.data" }, - "2000": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.defaultValue" + "6008": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/service-zones.ts", + "qualifiedName": "UpdateServiceZonesWorkflowInput" }, - "2001": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.nullable" + "6009": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/service-zones.ts", + "qualifiedName": "UpdateServiceZonesWorkflowInput.selector" }, - "2002": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.options" + "6010": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/service-zones.ts", + "qualifiedName": "UpdateServiceZonesWorkflowInput.update" }, - "2003": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "ModuleJoinerRelationship" + "6011": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/shipping-profiles.ts", + "qualifiedName": "CreateShippingProfilesWorkflowInput" }, - "2004": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" + "6012": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/shipping-profiles.ts", + "qualifiedName": "CreateShippingProfilesWorkflowInput.data" }, - "2005": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.isInternalService" + "6013": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/shipping-profiles.ts", + "qualifiedName": "UpdateShippingProfilesWorkflowInput" }, - "2006": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.deleteCascade" + "6014": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/shipping-profiles.ts", + "qualifiedName": "UpdateShippingProfilesWorkflowInput.selector" }, - "2007": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "ModuleExports" + "6015": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/shipping-profiles.ts", + "qualifiedName": "UpdateShippingProfilesWorkflowInput.update" }, - "2008": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" + "6016": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-fulfillment.ts", + "qualifiedName": "UpdateFulfillmentWorkflowInput" }, - "2009": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.service" + "6017": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-fulfillment.ts", + "qualifiedName": "UpdateFulfillmentWorkflowInput.id" }, - "2010": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.loaders" + "6018": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-fulfillment.ts", + "qualifiedName": "UpdateFulfillmentWorkflowInput.location_id" }, - "2011": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.migrations" + "6019": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-fulfillment.ts", + "qualifiedName": "UpdateFulfillmentWorkflowInput.packed_at" }, - "2012": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.models" + "6020": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-fulfillment.ts", + "qualifiedName": "UpdateFulfillmentWorkflowInput.shipped_at" }, - "2013": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.runMigrations" + "6021": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-fulfillment.ts", + "qualifiedName": "UpdateFulfillmentWorkflowInput.delivered_at" }, - "2014": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.runMigrations" + "6022": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-fulfillment.ts", + "qualifiedName": "UpdateFulfillmentWorkflowInput.data" }, - "2015": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "options" + "6023": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-fulfillment.ts", + "qualifiedName": "UpdateFulfillmentWorkflowInput.metadata" }, - "2016": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "moduleDeclaration" + "6024": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "UpdateShippingOptionsWorkflowInput" }, - "2017": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.revertMigration" + "6025": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "UpdateShippingOptionsWorkflowInput.id" }, - "2018": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.revertMigration" + "6026": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "UpdateShippingOptionsWorkflowInput.name" }, - "2019": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "options" + "6027": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "UpdateShippingOptionsWorkflowInput.service_zone_id" }, - "2020": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "moduleDeclaration" + "6028": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "UpdateShippingOptionsWorkflowInput.shipping_profile_id" }, - "2021": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "ModuleServiceInitializeOptions" + "6029": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "UpdateShippingOptionsWorkflowInput.data" }, - "2022": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "ModuleServiceInitializeOptions.database" + "6030": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "UpdateShippingOptionsWorkflowInput.price_type" }, - "2023": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "6031": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "UpdateShippingOptionsWorkflowInput.provider_id" + }, + "6032": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "UpdateShippingOptionsWorkflowInput.type" + }, + "6033": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", "qualifiedName": "__type" }, - "2024": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.connection" + "6034": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "__type.label" }, - "2025": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.clientUrl" + "6035": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "__type.description" }, - "2026": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.schema" + "6036": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "__type.code" }, - "2027": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.host" + "6037": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "UpdateShippingOptionsWorkflowInput.prices" }, - "2028": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.port" + "6038": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "__type" }, - "2029": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.user" + "6039": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "__type.id" }, - "2030": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.password" + "6040": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "__type.currency_code" }, - "2031": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.database" + "6041": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "__type.amount" }, - "2032": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.driverOptions" + "6042": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "__type" }, - "2033": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.debug" + "6043": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "__type.id" }, - "2034": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.pool" + "6044": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "__type.region_id" }, - "2035": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "ModuleServiceInitializeCustomDataLayerOptions" + "6045": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "__type.amount" }, - "2036": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "6046": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "UpdateShippingOptionsWorkflowInput.rules" + }, + "6047": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", "qualifiedName": "__type" }, - "2037": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.manager" + "6048": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "__type.attribute" }, - "2038": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.repositories" + "6049": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "__type.operator" }, - "2039": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "6050": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "__type.value" + }, + "6051": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "UpdateShippingOptionsWorkflowOutput" + }, + "6052": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", "qualifiedName": "__type" }, - "2040": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.__index" + "6053": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/update-shipping-options.ts", + "qualifiedName": "__type.id" }, - "2042": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "ModuleBootstrapDeclaration" + "6054": { + "sourceFileName": "../../../packages/types/src/workflow/invite/index.ts", + "qualifiedName": "" }, - "2043": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "RemoteQueryFunction" + "6055": { + "sourceFileName": "../../../packages/types/src/workflow/invite/create-invite.ts", + "qualifiedName": "CreateInvitesWorkflowInputDTO" }, - "2044": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" + "6056": { + "sourceFileName": "../../../packages/types/src/workflow/invite/create-invite.ts", + "qualifiedName": "CreateInvitesWorkflowInputDTO.invites" }, - "2045": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" + "6057": { + "sourceFileName": "../../../packages/types/src/workflow/invite/delete-invite.ts", + "qualifiedName": "DeleteInvitesWorkflowInput" }, - "2046": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "query" + "6058": { + "sourceFileName": "../../../packages/types/src/workflow/invite/delete-invite.ts", + "qualifiedName": "DeleteInvitesWorkflowInput.ids" }, - "2047": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "variables" + "6059": { + "sourceFileName": "../../../packages/types/src/workflow/invite/accept-invite.ts", + "qualifiedName": "AcceptInviteWorkflowInputDTO" }, - "2048": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "IModuleService" + "6060": { + "sourceFileName": "../../../packages/types/src/workflow/invite/accept-invite.ts", + "qualifiedName": "AcceptInviteWorkflowInputDTO.invite_token" }, - "2056": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "ModuleProviderExports" + "6061": { + "sourceFileName": "../../../packages/types/src/workflow/invite/accept-invite.ts", + "qualifiedName": "AcceptInviteWorkflowInputDTO.auth_user_id" }, - "2057": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "6062": { + "sourceFileName": "../../../packages/types/src/workflow/invite/accept-invite.ts", + "qualifiedName": "AcceptInviteWorkflowInputDTO.user" + }, + "6063": { + "sourceFileName": "../../../packages/types/src/workflow/invite/accept-invite.ts", "qualifiedName": "__type" }, - "2058": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.services" + "6064": { + "sourceFileName": "../../../packages/types/src/workflow/invite/accept-invite.ts", + "qualifiedName": "__type.email" }, - "2059": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "ModuleProvider" + "6065": { + "sourceFileName": "../../../packages/types/src/workflow/invite/accept-invite.ts", + "qualifiedName": "__type.first_name" }, - "2060": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type" + "6066": { + "sourceFileName": "../../../packages/types/src/workflow/invite/accept-invite.ts", + "qualifiedName": "__type.last_name" }, - "2061": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.resolve" + "6067": { + "sourceFileName": "../../../packages/types/src/workflow/invite/accept-invite.ts", + "qualifiedName": "__type.avatar_url" }, - "2062": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.provider_name" + "6068": { + "sourceFileName": "../../../packages/types/src/workflow/invite/accept-invite.ts", + "qualifiedName": "__type.metadata" }, - "2063": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "__type.options" + "6069": { + "sourceFileName": "../../../packages/types/src/workflow/invite/resend-invite.ts", + "qualifiedName": "ResendInvitesWorkflowInputDTO" }, - "2064": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService" + "6070": { + "sourceFileName": "../../../packages/types/src/workflow/invite/resend-invite.ts", + "qualifiedName": "ResendInvitesWorkflowInputDTO.invite_ids" }, - "2065": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.__container__" + "6071": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/index.ts", + "qualifiedName": "" }, - "2066": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.__container__" + "6072": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListDTO" }, - "2067": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.retrieve" + "6073": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListDTO.starts_at" }, - "2068": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.retrieve" + "6074": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListDTO.ends_at" }, - "2069": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "idOrObject" + "6075": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListDTO.status" }, - "2070": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "config" + "6076": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListDTO.rules_count" }, - "2071": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "sharedContext" + "6077": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListDTO.rules" }, - "2072": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.retrieve" + "6078": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListDTO.prices" }, - "2073": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "idOrObject" + "6079": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "__type" }, - "2074": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "config" + "6080": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "__type.amount" }, - "2075": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "sharedContext" + "6081": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "__type.currency_code" }, - "2076": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.list" + "6082": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "__type.region_id" }, - "2077": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.list" + "6083": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "__type.max_quantity" }, - "2078": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "filters" + "6084": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "__type.min_quantity" }, - "2079": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type" + "6085": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListDTO.customer_groups" }, - "2080": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "6086": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", "qualifiedName": "__type" }, - "2081": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "config" + "6087": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "__type.id" }, - "2082": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "sharedContext" + "6088": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListRuleDTO" }, - "2083": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.listAndCount" + "6089": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListRuleDTO.rule_attribute" }, - "2084": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.listAndCount" + "6090": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListRuleDTO.value" }, - "2085": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "filters" + "6091": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListPriceDTO" }, - "2086": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type" + "6092": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListPriceDTO.amount" }, - "2087": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type" + "6093": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListPriceDTO.currency_code" }, - "2088": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "config" + "6094": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListPriceDTO.price_set_id" }, - "2089": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "sharedContext" + "6095": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListPriceDTO.region_id" }, - "2090": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.create" + "6096": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListPriceDTO.max_quantity" }, - "2091": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.create" + "6097": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListPriceDTO.min_quantity" }, - "2092": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "data" + "6098": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListWorkflowInputDTO" }, - "2093": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "sharedContext" + "6099": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListWorkflowInputDTO.price_lists" }, - "2094": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.create" + "6100": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "RemovePriceListProductsWorkflowInputDTO" }, - "2095": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "data" + "6101": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "RemovePriceListProductsWorkflowInputDTO.product_ids" }, - "2096": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "sharedContext" + "6102": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "RemovePriceListProductsWorkflowInputDTO.price_list_id" }, - "2097": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.update" + "6103": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "RemovePriceListVariantsWorkflowInputDTO" }, - "2098": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.update" + "6104": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "RemovePriceListVariantsWorkflowInputDTO.variant_ids" }, - "2099": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "data" + "6105": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "RemovePriceListVariantsWorkflowInputDTO.price_list_id" }, - "2100": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "sharedContext" + "6106": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "RemovePriceListPricesWorkflowInputDTO" }, - "2101": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.update" + "6107": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "RemovePriceListPricesWorkflowInputDTO.money_amount_ids" }, - "2102": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "data" + "6108": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "RemovePriceListPricesWorkflowInputDTO.price_list_id" }, - "2103": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "sharedContext" + "6109": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListWorkflowDTO" }, - "2104": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.update" + "6110": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListWorkflowDTO.title" }, - "2105": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "selectorAndData" + "6111": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListWorkflowDTO.name" }, - "2106": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "__type" + "6112": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListWorkflowDTO.description" }, - "2107": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "__type.selector" + "6113": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListWorkflowDTO.type" }, - "2108": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type" + "6114": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListWorkflowDTO.starts_at" }, - "2109": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type" + "6115": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListWorkflowDTO.ends_at" }, - "2110": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "__type.data" + "6116": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListWorkflowDTO.status" }, - "2111": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "sharedContext" + "6117": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListWorkflowDTO.rules_count" }, - "2112": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.update" + "6118": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListWorkflowDTO.prices" }, - "2113": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "selectorAndData" + "6119": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", + "qualifiedName": "CreatePriceListWorkflowDTO.rules" }, - "2114": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "__type" + "6120": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/remove-price-list.ts", + "qualifiedName": "RemovePriceListWorkflowInputDTO" }, - "2115": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "__type.selector" + "6121": { + "sourceFileName": "../../../packages/types/src/workflow/price-list/remove-price-list.ts", + "qualifiedName": "RemovePriceListWorkflowInputDTO.price_lists" }, - "2116": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type" + "6122": { + "sourceFileName": "../../../packages/types/src/workflow/product-category/index.ts", + "qualifiedName": "" }, - "2117": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type" + "6123": { + "sourceFileName": "../../../packages/types/src/workflow/product-category/index.ts", + "qualifiedName": "CreateProductCategoryWorkflowInput" }, - "2118": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "__type.data" + "6124": { + "sourceFileName": "../../../packages/types/src/workflow/product-category/index.ts", + "qualifiedName": "CreateProductCategoryWorkflowInput.product_category" }, - "2119": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "sharedContext" + "6125": { + "sourceFileName": "../../../packages/types/src/workflow/product-category/index.ts", + "qualifiedName": "UpdateProductCategoryWorkflowInput" }, - "2120": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.delete" + "6126": { + "sourceFileName": "../../../packages/types/src/workflow/product-category/index.ts", + "qualifiedName": "UpdateProductCategoryWorkflowInput.id" }, - "2121": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.delete" + "6127": { + "sourceFileName": "../../../packages/types/src/workflow/product-category/index.ts", + "qualifiedName": "UpdateProductCategoryWorkflowInput.data" }, - "2122": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "idOrSelector" + "6128": { + "sourceFileName": "../../../packages/types/src/workflow/product-category/index.ts", + "qualifiedName": "BatchUpdateProductsOnCategoryWorkflowInput" }, - "2123": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "sharedContext" + "6129": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type.id" }, - "2124": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.delete" + "6130": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type.add" }, - "2125": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "idOrSelector" + "6131": { + "sourceFileName": "../../../packages/types/src/common/batch.ts", + "qualifiedName": "__type.remove" }, - "2126": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "sharedContext" + "6132": { + "sourceFileName": "../../../packages/types/src/workflow/region/index.ts", + "qualifiedName": "" }, - "2127": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.delete" + "6133": { + "sourceFileName": "../../../packages/types/src/workflow/region/update-regions.ts", + "qualifiedName": "UpdateRegionsWorkflowInput" }, - "2128": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "idOrSelector" + "6134": { + "sourceFileName": "../../../packages/types/src/workflow/region/update-regions.ts", + "qualifiedName": "UpdateRegionsWorkflowInput.selector" }, - "2129": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "sharedContext" + "6135": { + "sourceFileName": "../../../packages/types/src/workflow/region/update-regions.ts", + "qualifiedName": "UpdateRegionsWorkflowInput.update" }, - "2130": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.delete" + "6136": { + "sourceFileName": "../../../packages/types/src/workflow/region/update-regions.ts", + "qualifiedName": "__type" }, - "2131": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "idOrSelector" + "6137": { + "sourceFileName": "../../../packages/types/src/workflow/region/update-regions.ts", + "qualifiedName": "__type.payment_providers" }, - "2132": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "sharedContext" + "6138": { + "sourceFileName": "../../../packages/types/src/workflow/region/update-regions.ts", + "qualifiedName": "UpdateRegionsWorkflowOutput" }, - "2133": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.delete" + "6139": { + "sourceFileName": "../../../packages/types/src/workflow/region/create-regions.ts", + "qualifiedName": "CreateRegionsWorkflowInput" }, - "2134": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "idOrSelector" + "6140": { + "sourceFileName": "../../../packages/types/src/workflow/region/create-regions.ts", + "qualifiedName": "CreateRegionsWorkflowInput.regions" }, - "2135": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", + "6141": { + "sourceFileName": "../../../packages/types/src/workflow/region/create-regions.ts", "qualifiedName": "__type" }, - "2136": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "__type.selector" + "6142": { + "sourceFileName": "../../../packages/types/src/workflow/region/create-regions.ts", + "qualifiedName": "__type.payment_providers" }, - "2137": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type" + "6143": { + "sourceFileName": "../../../packages/types/src/workflow/region/create-regions.ts", + "qualifiedName": "CreateRegionsWorkflowOutput" }, - "2138": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type" + "6144": { + "sourceFileName": "../../../packages/types/src/workflow/reservation/index.ts", + "qualifiedName": "" }, - "2139": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "sharedContext" + "6145": { + "sourceFileName": "../../../packages/types/src/workflow/reservation/create-reservations.ts", + "qualifiedName": "CreateReservationsWorkflowInput" }, - "2140": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.softDelete" + "6146": { + "sourceFileName": "../../../packages/types/src/workflow/reservation/create-reservations.ts", + "qualifiedName": "CreateReservationsWorkflowInput.reservations" }, - "2141": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.softDelete" + "6147": { + "sourceFileName": "../../../packages/types/src/workflow/reservation/create-reservations.ts", + "qualifiedName": "CreateReservationsWorkflowOutput" }, - "2142": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "idsOrFilter" + "6148": { + "sourceFileName": "../../../packages/types/src/workflow/reservation/update-reservations.ts", + "qualifiedName": "UpdateReservationsWorkflowInput" }, - "2143": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type" + "6149": { + "sourceFileName": "../../../packages/types/src/workflow/reservation/update-reservations.ts", + "qualifiedName": "UpdateReservationsWorkflowInput.updates" }, - "2144": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "sharedContext" + "6150": { + "sourceFileName": "../../../packages/types/src/workflow/reservation/update-reservations.ts", + "qualifiedName": "UpdateReservationsWorkflowOutput" }, - "2145": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.restore" + "6151": { + "sourceFileName": "../../../packages/types/src/workflow/user/index.ts", + "qualifiedName": "" }, - "2146": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.restore" + "6152": { + "sourceFileName": "../../../packages/types/src/workflow/user/create-user.ts", + "qualifiedName": "CreateUsersWorkflowInputDTO" }, - "2147": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "idsOrFilter" + "6153": { + "sourceFileName": "../../../packages/types/src/workflow/user/create-user.ts", + "qualifiedName": "CreateUsersWorkflowInputDTO.users" }, - "2148": { - "sourceFileName": "../../../packages/types/src/dal/utils.ts", - "qualifiedName": "__type" + "6154": { + "sourceFileName": "../../../packages/types/src/workflow/user/update-user.ts", + "qualifiedName": "UpdateUsersWorkflowInputDTO" }, - "2149": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "sharedContext" + "6155": { + "sourceFileName": "../../../packages/types/src/workflow/user/update-user.ts", + "qualifiedName": "UpdateUsersWorkflowInputDTO.updates" }, - "2150": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.upsert" + "6156": { + "sourceFileName": "../../../packages/types/src/workflow/user/delete-user.ts", + "qualifiedName": "DeleteUserWorkflowInput" }, - "2151": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.upsert" + "6157": { + "sourceFileName": "../../../packages/types/src/workflow/user/delete-user.ts", + "qualifiedName": "DeleteUserWorkflowInput.ids" }, - "2152": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "data" + "6158": { + "sourceFileName": "../../../packages/types/src/api-key/index.ts", + "qualifiedName": "" }, - "2153": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "sharedContext" + "6159": { + "sourceFileName": "../../../packages/types/src/store/index.ts", + "qualifiedName": "" }, - "2154": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.upsert" + "6160": { + "sourceFileName": "../../../packages/types/src/store/common/store.ts", + "qualifiedName": "StoreDTO" }, - "2155": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "data" + "6161": { + "sourceFileName": "../../../packages/types/src/store/common/store.ts", + "qualifiedName": "StoreDTO.id" }, - "2156": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "sharedContext" + "6162": { + "sourceFileName": "../../../packages/types/src/store/common/store.ts", + "qualifiedName": "StoreDTO.name" }, - "2157": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.TEntity" + "6163": { + "sourceFileName": "../../../packages/types/src/store/common/store.ts", + "qualifiedName": "StoreDTO.supported_currency_codes" }, - "2158": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "__type" + "6164": { + "sourceFileName": "../../../packages/types/src/store/common/store.ts", + "qualifiedName": "StoreDTO.default_currency_code" }, - "2159": { - "sourceFileName": "../../../packages/types/src/modules-sdk/internal-module-service.ts", - "qualifiedName": "InternalModuleService.TContainer" + "6165": { + "sourceFileName": "../../../packages/types/src/store/common/store.ts", + "qualifiedName": "StoreDTO.default_sales_channel_id" }, - "2160": { - "sourceFileName": "../../../packages/types/src/promotion/index.ts", - "qualifiedName": "" + "6166": { + "sourceFileName": "../../../packages/types/src/store/common/store.ts", + "qualifiedName": "StoreDTO.default_region_id" }, - "2161": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "ApplicationMethodTypeValues" + "6167": { + "sourceFileName": "../../../packages/types/src/store/common/store.ts", + "qualifiedName": "StoreDTO.default_location_id" }, - "2162": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "ApplicationMethodTargetTypeValues" + "6168": { + "sourceFileName": "../../../packages/types/src/store/common/store.ts", + "qualifiedName": "StoreDTO.metadata" }, - "2163": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "ApplicationMethodAllocationValues" + "6169": { + "sourceFileName": "../../../packages/types/src/store/common/store.ts", + "qualifiedName": "StoreDTO.created_at" }, - "2164": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "ApplicationMethodDTO" + "6170": { + "sourceFileName": "../../../packages/types/src/store/common/store.ts", + "qualifiedName": "StoreDTO.updated_at" }, - "2165": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "ApplicationMethodDTO.id" + "6171": { + "sourceFileName": "../../../packages/types/src/store/common/store.ts", + "qualifiedName": "FilterableStoreProps" }, - "2166": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "ApplicationMethodDTO.type" + "6172": { + "sourceFileName": "../../../packages/types/src/store/common/store.ts", + "qualifiedName": "FilterableStoreProps.q" }, - "2167": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "ApplicationMethodDTO.target_type" + "6173": { + "sourceFileName": "../../../packages/types/src/store/common/store.ts", + "qualifiedName": "FilterableStoreProps.id" }, - "2168": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "ApplicationMethodDTO.allocation" + "6174": { + "sourceFileName": "../../../packages/types/src/store/common/store.ts", + "qualifiedName": "FilterableStoreProps.name" }, - "2169": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "ApplicationMethodDTO.value" + "6175": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "2170": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "ApplicationMethodDTO.max_quantity" + "6176": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "2171": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "ApplicationMethodDTO.buy_rules_min_quantity" + "6177": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "CreateStoreDTO" }, - "2172": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "ApplicationMethodDTO.apply_to_quantity" + "6178": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "CreateStoreDTO.name" }, - "2173": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "ApplicationMethodDTO.promotion" + "6179": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "CreateStoreDTO.supported_currency_codes" }, - "2174": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "ApplicationMethodDTO.target_rules" + "6180": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "CreateStoreDTO.default_currency_code" }, - "2175": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "ApplicationMethodDTO.buy_rules" + "6181": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "CreateStoreDTO.default_sales_channel_id" }, - "2176": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "CreateApplicationMethodDTO" + "6182": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "CreateStoreDTO.default_region_id" }, - "2177": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "CreateApplicationMethodDTO.type" + "6183": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "CreateStoreDTO.default_location_id" }, - "2178": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "CreateApplicationMethodDTO.target_type" + "6184": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "CreateStoreDTO.metadata" }, - "2179": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "CreateApplicationMethodDTO.allocation" + "6185": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "UpsertStoreDTO" }, - "2180": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "CreateApplicationMethodDTO.value" + "6186": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "UpsertStoreDTO.id" }, - "2181": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "CreateApplicationMethodDTO.max_quantity" + "6187": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "UpsertStoreDTO.name" }, - "2182": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "CreateApplicationMethodDTO.buy_rules_min_quantity" + "6188": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "UpsertStoreDTO.supported_currency_codes" }, - "2183": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "CreateApplicationMethodDTO.apply_to_quantity" + "6189": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "UpsertStoreDTO.default_currency_code" }, - "2184": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "CreateApplicationMethodDTO.promotion" + "6190": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "UpsertStoreDTO.default_sales_channel_id" }, - "2185": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "CreateApplicationMethodDTO.target_rules" + "6191": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "UpsertStoreDTO.default_region_id" }, - "2186": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "CreateApplicationMethodDTO.buy_rules" + "6192": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "UpsertStoreDTO.default_location_id" }, - "2187": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "UpdateApplicationMethodDTO" + "6193": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "UpsertStoreDTO.metadata" }, - "2188": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "UpdateApplicationMethodDTO.id" + "6194": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "UpdateStoreDTO" }, - "2189": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "UpdateApplicationMethodDTO.type" + "6195": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "UpdateStoreDTO.name" }, - "2190": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "UpdateApplicationMethodDTO.target_type" + "6196": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "UpdateStoreDTO.supported_currency_codes" }, - "2191": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "UpdateApplicationMethodDTO.allocation" + "6197": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "UpdateStoreDTO.default_currency_code" }, - "2192": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "UpdateApplicationMethodDTO.value" + "6198": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "UpdateStoreDTO.default_sales_channel_id" }, - "2193": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "UpdateApplicationMethodDTO.max_quantity" + "6199": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "UpdateStoreDTO.default_region_id" }, - "2194": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "UpdateApplicationMethodDTO.buy_rules_min_quantity" + "6200": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "UpdateStoreDTO.default_location_id" }, - "2195": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "UpdateApplicationMethodDTO.apply_to_quantity" + "6201": { + "sourceFileName": "../../../packages/types/src/store/mutations/store.ts", + "qualifiedName": "UpdateStoreDTO.metadata" }, - "2196": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "UpdateApplicationMethodDTO.promotion" + "6202": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService" }, - "2197": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "FilterableApplicationMethodProps" + "6203": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.create" }, - "2198": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "FilterableApplicationMethodProps.id" + "6204": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.create" }, - "2199": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "FilterableApplicationMethodProps.type" + "6205": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "data" }, - "2200": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "FilterableApplicationMethodProps.target_type" + "6206": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "sharedContext" }, - "2201": { - "sourceFileName": "../../../packages/types/src/promotion/common/application-method.ts", - "qualifiedName": "FilterableApplicationMethodProps.allocation" + "6207": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.create" }, - "2202": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "6208": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "data" }, - "2203": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "6209": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "sharedContext" }, - "2204": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", - "qualifiedName": "CampaignDTO" + "6210": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.upsert" }, - "2205": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", - "qualifiedName": "CampaignDTO.id" + "6211": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.upsert" }, - "2206": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", - "qualifiedName": "CampaignDTO.name" + "6212": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "data" }, - "2207": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", - "qualifiedName": "CampaignDTO.description" + "6213": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "sharedContext" }, - "2208": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", - "qualifiedName": "CampaignDTO.currency" + "6214": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.upsert" }, - "2209": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", - "qualifiedName": "CampaignDTO.campaign_identifier" + "6215": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "data" }, - "2210": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", - "qualifiedName": "CampaignDTO.starts_at" + "6216": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "sharedContext" }, - "2211": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", - "qualifiedName": "CampaignDTO.ends_at" + "6217": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.update" }, - "2212": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", - "qualifiedName": "CampaignDTO.budget" + "6218": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.update" }, - "2213": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", - "qualifiedName": "FilterableCampaignProps" + "6219": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "id" }, - "2214": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", - "qualifiedName": "FilterableCampaignProps.id" + "6220": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "data" }, - "2215": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign.ts", - "qualifiedName": "FilterableCampaignProps.campaign_identifier" + "6221": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "sharedContext" }, - "2216": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "6222": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.update" }, - "2217": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "6223": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "selector" }, - "2218": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign-budget.ts", - "qualifiedName": "CampaignBudgetTypeValues" + "6224": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "data" }, - "2219": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign-budget.ts", - "qualifiedName": "CampaignBudgetDTO" + "6225": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "sharedContext" }, - "2220": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign-budget.ts", - "qualifiedName": "CampaignBudgetDTO.id" + "6226": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.delete" }, - "2221": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign-budget.ts", - "qualifiedName": "CampaignBudgetDTO.type" + "6227": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.delete" }, - "2222": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign-budget.ts", - "qualifiedName": "CampaignBudgetDTO.limit" + "6228": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "ids" }, - "2223": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign-budget.ts", - "qualifiedName": "CampaignBudgetDTO.used" + "6229": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "sharedContext" }, - "2224": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign-budget.ts", - "qualifiedName": "FilterableCampaignBudgetProps" + "6230": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.delete" }, - "2225": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign-budget.ts", - "qualifiedName": "FilterableCampaignBudgetProps.id" + "6231": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "id" }, - "2226": { - "sourceFileName": "../../../packages/types/src/promotion/common/campaign-budget.ts", - "qualifiedName": "FilterableCampaignBudgetProps.type" + "6232": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "sharedContext" }, - "2227": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "6233": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.retrieve" }, - "2228": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "6234": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.retrieve" }, - "2229": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "ComputeActions" + "6235": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "id" }, - "2230": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "UsageComputedActions" + "6236": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "config" }, - "2231": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "CampaignBudgetExceededAction" + "6237": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "sharedContext" }, - "2232": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "CampaignBudgetExceededAction.action" + "6238": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.list" }, - "2233": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "CampaignBudgetExceededAction.code" + "6239": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.list" }, - "2234": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "AddItemAdjustmentAction" + "6240": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "filters" }, - "2235": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "AddItemAdjustmentAction.action" + "6241": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "config" }, - "2236": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "AddItemAdjustmentAction.item_id" + "6242": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "sharedContext" }, - "2237": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "AddItemAdjustmentAction.amount" + "6243": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.listAndCount" }, - "2238": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "AddItemAdjustmentAction.code" + "6244": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.listAndCount" }, - "2239": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "AddItemAdjustmentAction.description" + "6245": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "filters" }, - "2240": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "RemoveItemAdjustmentAction" + "6246": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "config" }, - "2241": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "RemoveItemAdjustmentAction.action" + "6247": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "sharedContext" }, - "2242": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "RemoveItemAdjustmentAction.adjustment_id" + "6248": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.softDelete" }, - "2243": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "RemoveItemAdjustmentAction.description" + "6249": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.softDelete" }, - "2244": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "RemoveItemAdjustmentAction.code" + "6250": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "2245": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "AddShippingMethodAdjustment" + "6251": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "storeIds" }, - "2246": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "AddShippingMethodAdjustment.action" + "6252": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "config" }, - "2247": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "AddShippingMethodAdjustment.shipping_method_id" + "6253": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "sharedContext" }, - "2248": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "AddShippingMethodAdjustment.amount" + "6254": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.restore" }, - "2249": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "AddShippingMethodAdjustment.code" + "6255": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "IStoreModuleService.restore" }, - "2250": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "AddShippingMethodAdjustment.description" + "6256": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "2251": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "RemoveShippingMethodAdjustment" + "6257": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "storeIds" }, - "2252": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "RemoveShippingMethodAdjustment.action" + "6258": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "config" }, - "2253": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "RemoveShippingMethodAdjustment.adjustment_id" + "6259": { + "sourceFileName": "../../../packages/types/src/store/service.ts", + "qualifiedName": "sharedContext" }, - "2254": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "RemoveShippingMethodAdjustment.code" + "6273": { + "sourceFileName": "../../../packages/types/src/currency/index.ts", + "qualifiedName": "" }, - "2255": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "ComputeActionAdjustmentLine" + "6274": { + "sourceFileName": "../../../packages/types/src/currency/common/currency.ts", + "qualifiedName": "CurrencyDTO" }, - "2256": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "ComputeActionAdjustmentLine.id" + "6275": { + "sourceFileName": "../../../packages/types/src/currency/common/currency.ts", + "qualifiedName": "CurrencyDTO.code" }, - "2257": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "ComputeActionAdjustmentLine.code" + "6276": { + "sourceFileName": "../../../packages/types/src/currency/common/currency.ts", + "qualifiedName": "CurrencyDTO.symbol" }, - "2258": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "ComputeActionItemLine" + "6277": { + "sourceFileName": "../../../packages/types/src/currency/common/currency.ts", + "qualifiedName": "CurrencyDTO.symbol_native" }, - "2259": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "ComputeActionItemLine.id" + "6278": { + "sourceFileName": "../../../packages/types/src/currency/common/currency.ts", + "qualifiedName": "CurrencyDTO.name" }, - "2260": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "ComputeActionItemLine.quantity" + "6279": { + "sourceFileName": "../../../packages/types/src/currency/common/currency.ts", + "qualifiedName": "FilterableCurrencyProps" }, - "2261": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "ComputeActionItemLine.subtotal" + "6280": { + "sourceFileName": "../../../packages/types/src/currency/common/currency.ts", + "qualifiedName": "FilterableCurrencyProps.q" }, - "2262": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "ComputeActionItemLine.adjustments" + "6281": { + "sourceFileName": "../../../packages/types/src/currency/common/currency.ts", + "qualifiedName": "FilterableCurrencyProps.code" }, - "2263": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "ComputeActionShippingLine" + "6282": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "2264": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "ComputeActionShippingLine.id" + "6283": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "2265": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "ComputeActionShippingLine.subtotal" + "6284": { + "sourceFileName": "../../../packages/types/src/currency/service.ts", + "qualifiedName": "ICurrencyModuleService" }, - "2266": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "ComputeActionShippingLine.adjustments" + "6285": { + "sourceFileName": "../../../packages/types/src/currency/service.ts", + "qualifiedName": "ICurrencyModuleService.retrieve" }, - "2267": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "ComputeActionContext" + "6286": { + "sourceFileName": "../../../packages/types/src/currency/service.ts", + "qualifiedName": "ICurrencyModuleService.retrieve" }, - "2268": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "ComputeActionContext.items" + "6287": { + "sourceFileName": "../../../packages/types/src/currency/service.ts", + "qualifiedName": "code" }, - "2269": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "ComputeActionContext.shipping_methods" + "6288": { + "sourceFileName": "../../../packages/types/src/currency/service.ts", + "qualifiedName": "config" }, - "2270": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "ComputeActionOptions" + "6289": { + "sourceFileName": "../../../packages/types/src/currency/service.ts", + "qualifiedName": "sharedContext" }, - "2271": { - "sourceFileName": "../../../packages/types/src/promotion/common/compute-actions.ts", - "qualifiedName": "ComputeActionOptions.prevent_auto_promotions" + "6290": { + "sourceFileName": "../../../packages/types/src/currency/service.ts", + "qualifiedName": "ICurrencyModuleService.list" }, - "2272": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "PromotionTypeValues" + "6291": { + "sourceFileName": "../../../packages/types/src/currency/service.ts", + "qualifiedName": "ICurrencyModuleService.list" }, - "2273": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "PromotionDTO" + "6292": { + "sourceFileName": "../../../packages/types/src/currency/service.ts", + "qualifiedName": "filters" }, - "2274": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "PromotionDTO.id" + "6293": { + "sourceFileName": "../../../packages/types/src/currency/service.ts", + "qualifiedName": "config" }, - "2275": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "PromotionDTO.code" + "6294": { + "sourceFileName": "../../../packages/types/src/currency/service.ts", + "qualifiedName": "sharedContext" }, - "2276": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "PromotionDTO.type" + "6295": { + "sourceFileName": "../../../packages/types/src/currency/service.ts", + "qualifiedName": "ICurrencyModuleService.listAndCount" }, - "2277": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "PromotionDTO.is_automatic" + "6296": { + "sourceFileName": "../../../packages/types/src/currency/service.ts", + "qualifiedName": "ICurrencyModuleService.listAndCount" }, - "2278": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "PromotionDTO.application_method" + "6297": { + "sourceFileName": "../../../packages/types/src/currency/service.ts", + "qualifiedName": "filters" }, - "2279": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "PromotionDTO.rules" + "6298": { + "sourceFileName": "../../../packages/types/src/currency/service.ts", + "qualifiedName": "config" }, - "2280": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "PromotionDTO.campaign" + "6299": { + "sourceFileName": "../../../packages/types/src/currency/service.ts", + "qualifiedName": "sharedContext" }, - "2281": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "CreatePromotionDTO" + "6313": { + "sourceFileName": "../../../packages/types/src/http/index.ts", + "qualifiedName": "" }, - "2282": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "CreatePromotionDTO.code" + "6314": { + "sourceFileName": "../../../packages/types/src/http/api-key/admin/api-key.ts", + "qualifiedName": "AdminApiKeyResponse" }, - "2283": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "CreatePromotionDTO.type" + "6315": { + "sourceFileName": "../../../packages/types/src/http/api-key/admin/api-key.ts", + "qualifiedName": "AdminApiKeyResponse.api_key" }, - "2284": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "CreatePromotionDTO.is_automatic" + "6316": { + "sourceFileName": "../../../packages/types/src/http/api-key/admin/api-key.ts", + "qualifiedName": "AdminApiKeyListResponse" }, - "2285": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "CreatePromotionDTO.application_method" + "6317": { + "sourceFileName": "../../../packages/types/src/http/api-key/admin/api-key.ts", + "qualifiedName": "AdminApiKeyListResponse.api_keys" }, - "2286": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "CreatePromotionDTO.rules" + "6318": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.limit" }, - "2287": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "CreatePromotionDTO.campaign" + "6319": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.offset" }, - "2288": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "CreatePromotionDTO.campaign_id" + "6320": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.count" }, - "2289": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "UpdatePromotionDTO" + "6321": { + "sourceFileName": "../../../packages/types/src/http/campaign/admin/campaign.ts", + "qualifiedName": "CampaignResponse" }, - "2290": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "UpdatePromotionDTO.id" + "6322": { + "sourceFileName": "../../../packages/types/src/http/campaign/admin/campaign.ts", + "qualifiedName": "CampaignResponse.id" }, - "2291": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "UpdatePromotionDTO.is_automatic" + "6323": { + "sourceFileName": "../../../packages/types/src/http/campaign/admin/campaign.ts", + "qualifiedName": "CampaignResponse.name" }, - "2292": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "UpdatePromotionDTO.code" + "6324": { + "sourceFileName": "../../../packages/types/src/http/campaign/admin/campaign.ts", + "qualifiedName": "CampaignResponse.description" }, - "2293": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "UpdatePromotionDTO.type" + "6325": { + "sourceFileName": "../../../packages/types/src/http/campaign/admin/campaign.ts", + "qualifiedName": "CampaignResponse.currency" }, - "2294": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "UpdatePromotionDTO.application_method" + "6326": { + "sourceFileName": "../../../packages/types/src/http/campaign/admin/campaign.ts", + "qualifiedName": "CampaignResponse.campaign_identifier" }, - "2295": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "UpdatePromotionDTO.campaign_id" + "6327": { + "sourceFileName": "../../../packages/types/src/http/campaign/admin/campaign.ts", + "qualifiedName": "CampaignResponse.starts_at" }, - "2296": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "FilterablePromotionProps" + "6328": { + "sourceFileName": "../../../packages/types/src/http/campaign/admin/campaign.ts", + "qualifiedName": "CampaignResponse.ends_at" }, - "2297": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "FilterablePromotionProps.id" + "6329": { + "sourceFileName": "../../../packages/types/src/http/campaign/admin/campaign.ts", + "qualifiedName": "CampaignResponse.budget" }, - "2298": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "FilterablePromotionProps.code" + "6330": { + "sourceFileName": "../../../packages/types/src/http/campaign/admin/campaign.ts", + "qualifiedName": "__type" }, - "2299": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "FilterablePromotionProps.is_automatic" + "6331": { + "sourceFileName": "../../../packages/types/src/http/campaign/admin/campaign.ts", + "qualifiedName": "__type.id" }, - "2300": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "FilterablePromotionProps.type" + "6332": { + "sourceFileName": "../../../packages/types/src/http/campaign/admin/campaign.ts", + "qualifiedName": "__type.type" }, - "2301": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion.ts", - "qualifiedName": "FilterablePromotionProps.budget_id" + "6333": { + "sourceFileName": "../../../packages/types/src/http/campaign/admin/campaign.ts", + "qualifiedName": "__type.limit" }, - "2302": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "6334": { + "sourceFileName": "../../../packages/types/src/http/campaign/admin/campaign.ts", + "qualifiedName": "__type.used" }, - "2303": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "6335": { + "sourceFileName": "../../../packages/types/src/http/campaign/admin/campaign.ts", + "qualifiedName": "AdminCampaignListResponse" }, - "2304": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", - "qualifiedName": "PromotionRuleOperatorValues" + "6336": { + "sourceFileName": "../../../packages/types/src/http/campaign/admin/campaign.ts", + "qualifiedName": "AdminCampaignListResponse.campaigns" }, - "2305": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", - "qualifiedName": "PromotionRuleDTO" + "6337": { + "sourceFileName": "../../../packages/types/src/http/common/paginated-response.ts", + "qualifiedName": "PaginatedResponse.limit" }, - "2306": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", - "qualifiedName": "PromotionRuleDTO.id" + "6338": { + "sourceFileName": "../../../packages/types/src/http/common/paginated-response.ts", + "qualifiedName": "PaginatedResponse.offset" }, - "2307": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", - "qualifiedName": "PromotionRuleDTO.description" + "6339": { + "sourceFileName": "../../../packages/types/src/http/common/paginated-response.ts", + "qualifiedName": "PaginatedResponse.count" }, - "2308": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", - "qualifiedName": "PromotionRuleDTO.attribute" + "6340": { + "sourceFileName": "../../../packages/types/src/http/campaign/admin/campaign.ts", + "qualifiedName": "AdminCampaignResponse" }, - "2309": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", - "qualifiedName": "PromotionRuleDTO.operator" + "6341": { + "sourceFileName": "../../../packages/types/src/http/campaign/admin/campaign.ts", + "qualifiedName": "AdminCampaignResponse.campaign" }, - "2310": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", - "qualifiedName": "PromotionRuleDTO.values" + "6342": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerGroupResponse" }, - "2311": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", - "qualifiedName": "CreatePromotionRuleDTO" + "6343": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerGroupResponse.id" }, - "2312": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", - "qualifiedName": "CreatePromotionRuleDTO.description" + "6344": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerGroupResponse.name" }, - "2313": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", - "qualifiedName": "CreatePromotionRuleDTO.attribute" + "6345": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerGroupResponse.customers" }, - "2314": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", - "qualifiedName": "CreatePromotionRuleDTO.operator" + "6346": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerGroupResponse.metadata" }, - "2315": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", - "qualifiedName": "CreatePromotionRuleDTO.values" + "6347": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerGroupResponse.created_at" }, - "2316": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", - "qualifiedName": "UpdatePromotionRuleDTO" + "6348": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerGroupResponse.updated_at" }, - "2317": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", - "qualifiedName": "UpdatePromotionRuleDTO.id" + "6349": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerAddressResponse" }, - "2318": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", - "qualifiedName": "RemovePromotionRuleDTO" + "6350": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerAddressResponse.id" }, - "2319": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", - "qualifiedName": "RemovePromotionRuleDTO.id" + "6351": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerAddressResponse.address_name" }, - "2320": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", - "qualifiedName": "FilterablePromotionRuleProps" + "6352": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerAddressResponse.is_default_shipping" }, - "2321": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", - "qualifiedName": "FilterablePromotionRuleProps.id" + "6353": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerAddressResponse.is_default_billing" }, - "2322": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule.ts", - "qualifiedName": "FilterablePromotionRuleProps.code" + "6354": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerAddressResponse.customer_id" }, - "2323": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "6355": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerAddressResponse.company" }, - "2324": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "6356": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerAddressResponse.first_name" }, - "2325": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", - "qualifiedName": "PromotionRuleValueDTO" + "6357": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerAddressResponse.last_name" }, - "2326": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", - "qualifiedName": "PromotionRuleValueDTO.id" + "6358": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerAddressResponse.address_1" }, - "2327": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", - "qualifiedName": "PromotionRuleValueDTO.value" + "6359": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerAddressResponse.address_2" }, - "2328": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", - "qualifiedName": "CreatePromotionRuleValueDTO" + "6360": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerAddressResponse.city" }, - "2329": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", - "qualifiedName": "CreatePromotionRuleValueDTO.value" + "6361": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerAddressResponse.country_code" }, - "2330": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", - "qualifiedName": "CreatePromotionRuleValueDTO.promotion_rule" + "6362": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerAddressResponse.province" }, - "2331": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", - "qualifiedName": "UpdatePromotionRuleValueDTO" + "6363": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerAddressResponse.postal_code" }, - "2332": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", - "qualifiedName": "UpdatePromotionRuleValueDTO.id" + "6364": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerAddressResponse.phone" }, - "2333": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", - "qualifiedName": "FilterablePromotionRuleValueProps" + "6365": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerAddressResponse.metadata" }, - "2334": { - "sourceFileName": "../../../packages/types/src/promotion/common/promotion-rule-value.ts", - "qualifiedName": "FilterablePromotionRuleValueProps.id" + "6366": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerAddressResponse.created_at" }, - "2335": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "6367": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerAddressResponse.updated_at" }, - "2336": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "6368": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "AdminCustomerResponse" }, - "2337": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "CreateCampaignBudgetDTO" + "6369": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "AdminCustomerResponse.customer" }, - "2338": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "CreateCampaignBudgetDTO.type" + "6370": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "AdminCustomerListResponse" }, - "2339": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "CreateCampaignBudgetDTO.limit" + "6371": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "AdminCustomerListResponse.customers" }, - "2340": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "CreateCampaignBudgetDTO.used" + "6372": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.limit" }, - "2341": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "UpdateCampaignBudgetDTO" + "6373": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.offset" }, - "2342": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "UpdateCampaignBudgetDTO.id" + "6374": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.count" }, - "2343": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "UpdateCampaignBudgetDTO.type" + "6375": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "AdminCustomerGroupResponse" }, - "2344": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "UpdateCampaignBudgetDTO.limit" + "6376": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "AdminCustomerGroupResponse.customer_group" }, - "2345": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "UpdateCampaignBudgetDTO.used" + "6377": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "AdminCustomerGroupListResponse" }, - "2346": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "CreateCampaignDTO" + "6378": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "AdminCustomerGroupListResponse.customer_groups" }, - "2347": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "CreateCampaignDTO.name" + "6379": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.limit" }, - "2348": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "CreateCampaignDTO.description" + "6380": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.offset" }, - "2349": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "CreateCampaignDTO.currency" + "6381": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.count" }, - "2350": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "CreateCampaignDTO.campaign_identifier" + "6382": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment.ts", + "qualifiedName": "AdminFulfillmentResponse" }, - "2351": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "CreateCampaignDTO.starts_at" + "6383": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment.ts", + "qualifiedName": "AdminFulfillmentResponse.id" }, - "2352": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "CreateCampaignDTO.ends_at" + "6384": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment.ts", + "qualifiedName": "AdminFulfillmentResponse.location_id" }, - "2353": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "CreateCampaignDTO.budget" + "6385": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment.ts", + "qualifiedName": "AdminFulfillmentResponse.packed_at" }, - "2354": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "CreateCampaignDTO.promotions" + "6386": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment.ts", + "qualifiedName": "AdminFulfillmentResponse.shipped_at" }, - "2355": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "UpdateCampaignDTO" + "6387": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment.ts", + "qualifiedName": "AdminFulfillmentResponse.delivered_at" }, - "2356": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "UpdateCampaignDTO.id" + "6388": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment.ts", + "qualifiedName": "AdminFulfillmentResponse.canceled_at" }, - "2357": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "UpdateCampaignDTO.name" + "6389": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment.ts", + "qualifiedName": "AdminFulfillmentResponse.data" }, - "2358": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "UpdateCampaignDTO.description" + "6390": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment.ts", + "qualifiedName": "AdminFulfillmentResponse.provider_id" }, - "2359": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "UpdateCampaignDTO.currency" + "6391": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment.ts", + "qualifiedName": "AdminFulfillmentResponse.shipping_option_id" }, - "2360": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "UpdateCampaignDTO.campaign_identifier" + "6392": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment.ts", + "qualifiedName": "AdminFulfillmentResponse.metadata" }, - "2361": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "UpdateCampaignDTO.starts_at" + "6393": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment.ts", + "qualifiedName": "AdminFulfillmentResponse.provider" }, - "2362": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "UpdateCampaignDTO.ends_at" + "6394": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment.ts", + "qualifiedName": "AdminFulfillmentResponse.delivery_address" }, - "2363": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "UpdateCampaignDTO.budget" + "6395": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment.ts", + "qualifiedName": "AdminFulfillmentResponse.items" }, - "2364": { - "sourceFileName": "../../../packages/types/src/promotion/mutations.ts", - "qualifiedName": "UpdateCampaignDTO.promotions" + "6396": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment.ts", + "qualifiedName": "AdminFulfillmentResponse.labels" }, - "2365": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService" + "6397": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment.ts", + "qualifiedName": "AdminFulfillmentResponse.created_at" }, - "2366": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.registerUsage" + "6398": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment.ts", + "qualifiedName": "AdminFulfillmentResponse.updated_at" }, - "2367": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.registerUsage" + "6399": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment.ts", + "qualifiedName": "AdminFulfillmentResponse.deleted_at" }, - "2368": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "computedActions" + "6400": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment.ts", + "qualifiedName": "AdminFulfillmentSetsDeleteResponse" }, - "2369": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.computeActions" + "6401": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.id" }, - "2370": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.computeActions" + "6402": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.object" }, - "2371": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "promotionCodesToApply" + "6403": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.deleted" }, - "2372": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "applicationContext" + "6404": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-item.ts", + "qualifiedName": "AdminFulfillmentItemResponse" }, - "2373": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "options" + "6405": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-item.ts", + "qualifiedName": "AdminFulfillmentItemResponse.id" }, - "2374": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.create" + "6406": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-item.ts", + "qualifiedName": "AdminFulfillmentItemResponse.title" }, - "2375": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.create" + "6407": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-item.ts", + "qualifiedName": "AdminFulfillmentItemResponse.quantity" }, - "2376": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "data" + "6408": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-item.ts", + "qualifiedName": "AdminFulfillmentItemResponse.sku" }, - "2377": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6409": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-item.ts", + "qualifiedName": "AdminFulfillmentItemResponse.barcode" }, - "2378": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.create" + "6410": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-item.ts", + "qualifiedName": "AdminFulfillmentItemResponse.line_item_id" }, - "2379": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "data" + "6411": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-item.ts", + "qualifiedName": "AdminFulfillmentItemResponse.inventory_item_id" }, - "2380": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6412": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-item.ts", + "qualifiedName": "AdminFulfillmentItemResponse.fulfillment_id" }, - "2381": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.update" + "6413": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-item.ts", + "qualifiedName": "AdminFulfillmentItemResponse.created_at" }, - "2382": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.update" + "6414": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-item.ts", + "qualifiedName": "AdminFulfillmentItemResponse.updated_at" }, - "2383": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "data" + "6415": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-item.ts", + "qualifiedName": "AdminFulfillmentItemResponse.deleted_at" }, - "2384": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6416": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetResponse" }, - "2385": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.update" + "6417": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetResponse.id" }, - "2386": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "data" + "6418": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetResponse.name" }, - "2387": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6419": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetResponse.type" }, - "2388": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.list" + "6420": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetResponse.metadata" }, - "2389": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.list" + "6421": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetResponse.service_zones" }, - "2390": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "filters" + "6422": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetResponse.created_at" }, - "2391": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "config" + "6423": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetResponse.updated_at" }, - "2392": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6424": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetResponse.deleted_at" }, - "2393": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.listAndCount" + "6425": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-set.ts", + "qualifiedName": "AdminFulfillmentSetResponse" }, - "2394": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.listAndCount" + "6426": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-set.ts", + "qualifiedName": "AdminFulfillmentSetResponse.fulfillment_set" }, - "2395": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "filters" + "6427": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-label.ts", + "qualifiedName": "AdminFulfillmentLabelResponse" }, - "2396": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "config" + "6428": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-label.ts", + "qualifiedName": "AdminFulfillmentLabelResponse.id" }, - "2397": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6429": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-label.ts", + "qualifiedName": "AdminFulfillmentLabelResponse.tracking_number" }, - "2398": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.retrieve" + "6430": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-label.ts", + "qualifiedName": "AdminFulfillmentLabelResponse.tracking_url" }, - "2399": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.retrieve" + "6431": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-label.ts", + "qualifiedName": "AdminFulfillmentLabelResponse.label_url" }, - "2400": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "id" + "6432": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-label.ts", + "qualifiedName": "AdminFulfillmentLabelResponse.fulfillment_id" }, - "2401": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "config" + "6433": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-label.ts", + "qualifiedName": "AdminFulfillmentLabelResponse.created_at" }, - "2402": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6434": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-label.ts", + "qualifiedName": "AdminFulfillmentLabelResponse.updated_at" }, - "2403": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.delete" + "6435": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-label.ts", + "qualifiedName": "AdminFulfillmentLabelResponse.deleted_at" }, - "2404": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.delete" + "6436": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-provider.ts", + "qualifiedName": "AdminFulfillmentProviderResponse" }, - "2405": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "ids" + "6437": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-provider.ts", + "qualifiedName": "AdminFulfillmentProviderResponse.id" }, - "2406": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6438": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-provider.ts", + "qualifiedName": "AdminFulfillmentProviderResponse.name" }, - "2407": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.delete" + "6439": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-provider.ts", + "qualifiedName": "AdminFulfillmentProviderResponse.metadata" }, - "2408": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "ids" + "6440": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-provider.ts", + "qualifiedName": "AdminFulfillmentProviderResponse.created_at" }, - "2409": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6441": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-provider.ts", + "qualifiedName": "AdminFulfillmentProviderResponse.updated_at" }, - "2410": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.softDelete" + "6442": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-provider.ts", + "qualifiedName": "AdminFulfillmentProviderResponse.deleted_at" }, - "2411": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.softDelete" + "6443": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-address.ts", + "qualifiedName": "AdminFulfillmentAddressResponse" }, - "2412": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "TReturnableLinkableKeys" + "6444": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-address.ts", + "qualifiedName": "AdminFulfillmentAddressResponse.id" }, - "2413": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "promotionIds" + "6445": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-address.ts", + "qualifiedName": "AdminFulfillmentAddressResponse.fulfillment_id" }, - "2414": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "config" + "6446": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-address.ts", + "qualifiedName": "AdminFulfillmentAddressResponse.company" }, - "2415": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6447": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-address.ts", + "qualifiedName": "AdminFulfillmentAddressResponse.first_name" }, - "2416": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.restore" + "6448": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-address.ts", + "qualifiedName": "AdminFulfillmentAddressResponse.last_name" }, - "2417": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.restore" + "6449": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-address.ts", + "qualifiedName": "AdminFulfillmentAddressResponse.address_1" }, - "2418": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "TReturnableLinkableKeys" + "6450": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-address.ts", + "qualifiedName": "AdminFulfillmentAddressResponse.address_2" }, - "2419": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "promotionIds" + "6451": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-address.ts", + "qualifiedName": "AdminFulfillmentAddressResponse.city" }, - "2420": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "config" + "6452": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-address.ts", + "qualifiedName": "AdminFulfillmentAddressResponse.country_code" }, - "2421": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6453": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-address.ts", + "qualifiedName": "AdminFulfillmentAddressResponse.province" }, - "2422": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.addPromotionRules" + "6454": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-address.ts", + "qualifiedName": "AdminFulfillmentAddressResponse.postal_code" }, - "2423": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.addPromotionRules" + "6455": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-address.ts", + "qualifiedName": "AdminFulfillmentAddressResponse.phone" }, - "2424": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "promotionId" + "6456": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-address.ts", + "qualifiedName": "AdminFulfillmentAddressResponse.metadata" }, - "2425": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "rulesData" + "6457": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-address.ts", + "qualifiedName": "AdminFulfillmentAddressResponse.created_at" }, - "2426": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6458": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-address.ts", + "qualifiedName": "AdminFulfillmentAddressResponse.updated_at" }, - "2427": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.addPromotionTargetRules" + "6459": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/fulfillment-address.ts", + "qualifiedName": "AdminFulfillmentAddressResponse.deleted_at" }, - "2428": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.addPromotionTargetRules" + "6460": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/geo-zone.ts", + "qualifiedName": "AdminGeoZoneResponse" }, - "2429": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "promotionId" + "6461": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/geo-zone.ts", + "qualifiedName": "AdminGeoZoneResponse.id" }, - "2430": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "rulesData" + "6462": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/geo-zone.ts", + "qualifiedName": "AdminGeoZoneResponse.type" }, - "2431": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6463": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/geo-zone.ts", + "qualifiedName": "AdminGeoZoneResponse.country_code" }, - "2432": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.addPromotionBuyRules" + "6464": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/geo-zone.ts", + "qualifiedName": "AdminGeoZoneResponse.province_code" }, - "2433": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.addPromotionBuyRules" + "6465": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/geo-zone.ts", + "qualifiedName": "AdminGeoZoneResponse.city" }, - "2434": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "promotionId" + "6466": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/geo-zone.ts", + "qualifiedName": "AdminGeoZoneResponse.postal_expression" }, - "2435": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "rulesData" + "6467": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/geo-zone.ts", + "qualifiedName": "AdminGeoZoneResponse.metadata" }, - "2436": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6468": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/geo-zone.ts", + "qualifiedName": "AdminGeoZoneResponse.created_at" }, - "2437": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.removePromotionRules" + "6469": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/geo-zone.ts", + "qualifiedName": "AdminGeoZoneResponse.updated_at" }, - "2438": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.removePromotionRules" + "6470": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/geo-zone.ts", + "qualifiedName": "AdminGeoZoneResponse.deleted_at" }, - "2439": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "promotionId" + "6471": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/service-zone.ts", + "qualifiedName": "AdminServiceZoneResponse" }, - "2440": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "rulesData" + "6472": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/service-zone.ts", + "qualifiedName": "AdminServiceZoneResponse.service_zone" }, - "2441": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6473": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/service-zone.ts", + "qualifiedName": "AdminServiceZoneDeleteResponse" }, - "2442": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.removePromotionTargetRules" + "6474": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/service-zone.ts", + "qualifiedName": "AdminServiceZoneDeleteResponse.id" }, - "2443": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.removePromotionTargetRules" + "6475": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/service-zone.ts", + "qualifiedName": "AdminServiceZoneDeleteResponse.object" }, - "2444": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "promotionId" + "6476": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/service-zone.ts", + "qualifiedName": "AdminServiceZoneDeleteResponse.deleted" }, - "2445": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "rulesData" + "6477": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/service-zone.ts", + "qualifiedName": "AdminServiceZoneDeleteResponse.parent" }, - "2446": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6478": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/service-zone.ts", + "qualifiedName": "ServiceZoneResponse" }, - "2447": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.removePromotionBuyRules" + "6479": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/service-zone.ts", + "qualifiedName": "ServiceZoneResponse.id" }, - "2448": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.removePromotionBuyRules" + "6480": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/service-zone.ts", + "qualifiedName": "ServiceZoneResponse.name" }, - "2449": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "promotionId" + "6481": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/service-zone.ts", + "qualifiedName": "ServiceZoneResponse.metadata" }, - "2450": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "rulesData" + "6482": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/service-zone.ts", + "qualifiedName": "ServiceZoneResponse.geo_zones" }, - "2451": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6483": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/service-zone.ts", + "qualifiedName": "ServiceZoneResponse.created_at" }, - "2452": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.createCampaigns" + "6484": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/service-zone.ts", + "qualifiedName": "ServiceZoneResponse.updated_at" }, - "2453": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.createCampaigns" + "6485": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/service-zone.ts", + "qualifiedName": "ServiceZoneResponse.deleted_at" }, - "2454": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "data" + "6486": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionRetrieveResponse" }, - "2455": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6487": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionRetrieveResponse.shipping_option" }, - "2456": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.createCampaigns" + "6488": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionListResponse" }, - "2457": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "data" + "6489": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionListResponse.shipping_options" }, - "2458": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6490": { + "sourceFileName": "../../../packages/types/src/http/common/paginated-response.ts", + "qualifiedName": "PaginatedResponse.limit" }, - "2459": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.updateCampaigns" + "6491": { + "sourceFileName": "../../../packages/types/src/http/common/paginated-response.ts", + "qualifiedName": "PaginatedResponse.offset" }, - "2460": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.updateCampaigns" + "6492": { + "sourceFileName": "../../../packages/types/src/http/common/paginated-response.ts", + "qualifiedName": "PaginatedResponse.count" }, - "2461": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "data" + "6493": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionDeleteResponse" }, - "2462": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6494": { + "sourceFileName": "../../../packages/types/src/http/common/deleted-response.ts", + "qualifiedName": "__type.id" }, - "2463": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.updateCampaigns" + "6495": { + "sourceFileName": "../../../packages/types/src/http/common/deleted-response.ts", + "qualifiedName": "__type.object" }, - "2464": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "data" + "6496": { + "sourceFileName": "../../../packages/types/src/http/common/deleted-response.ts", + "qualifiedName": "__type.deleted" }, - "2465": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6497": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-rule.ts", + "qualifiedName": "AdminShippingOptionRuleResponse" }, - "2466": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.listCampaigns" + "6498": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-rule.ts", + "qualifiedName": "AdminShippingOptionRuleResponse.id" }, - "2467": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.listCampaigns" + "6499": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-rule.ts", + "qualifiedName": "AdminShippingOptionRuleResponse.attribute" }, - "2468": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "filters" + "6500": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-rule.ts", + "qualifiedName": "AdminShippingOptionRuleResponse.operator" }, - "2469": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "config" + "6501": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-rule.ts", + "qualifiedName": "AdminShippingOptionRuleResponse.value" }, - "2470": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6502": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-rule.ts", + "qualifiedName": "__type" }, - "2471": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.listAndCountCampaigns" + "6503": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-rule.ts", + "qualifiedName": "__type.value" }, - "2472": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.listAndCountCampaigns" + "6504": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-rule.ts", + "qualifiedName": "AdminShippingOptionRuleResponse.shipping_option_id" }, - "2473": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "filters" + "6505": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-rule.ts", + "qualifiedName": "AdminShippingOptionRuleResponse.created_at" }, - "2474": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "config" + "6506": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-rule.ts", + "qualifiedName": "AdminShippingOptionRuleResponse.updated_at" }, - "2475": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6507": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-rule.ts", + "qualifiedName": "AdminShippingOptionRuleResponse.deleted_at" }, - "2476": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.retrieveCampaign" + "6508": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-type.ts", + "qualifiedName": "AdminShippingOptionTypeResponse" }, - "2477": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.retrieveCampaign" + "6509": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-type.ts", + "qualifiedName": "AdminShippingOptionTypeResponse.id" }, - "2478": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "id" + "6510": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-type.ts", + "qualifiedName": "AdminShippingOptionTypeResponse.label" }, - "2479": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "config" + "6511": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-type.ts", + "qualifiedName": "AdminShippingOptionTypeResponse.description" }, - "2480": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6512": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-type.ts", + "qualifiedName": "AdminShippingOptionTypeResponse.code" }, - "2481": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.deleteCampaigns" + "6513": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-type.ts", + "qualifiedName": "AdminShippingOptionTypeResponse.shipping_option_id" }, - "2482": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.deleteCampaigns" + "6514": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-type.ts", + "qualifiedName": "AdminShippingOptionTypeResponse.created_at" }, - "2483": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "ids" + "6515": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-type.ts", + "qualifiedName": "AdminShippingOptionTypeResponse.updated_at" }, - "2484": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6516": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option-type.ts", + "qualifiedName": "AdminShippingOptionTypeResponse.deleted_at" }, - "2485": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.deleteCampaigns" + "6517": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-profile.ts", + "qualifiedName": "ShippingProfileResponse" }, - "2486": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "ids" + "6518": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-profile.ts", + "qualifiedName": "ShippingProfileResponse.id" }, - "2487": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6519": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-profile.ts", + "qualifiedName": "ShippingProfileResponse.name" }, - "2488": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.softDeleteCampaigns" + "6520": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-profile.ts", + "qualifiedName": "ShippingProfileResponse.type" }, - "2489": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.softDeleteCampaigns" + "6521": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-profile.ts", + "qualifiedName": "ShippingProfileResponse.metadata" }, - "2490": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "TReturnableLinkableKeys" + "6522": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-profile.ts", + "qualifiedName": "ShippingProfileResponse.created_at" }, - "2491": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "campaignIds" + "6523": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-profile.ts", + "qualifiedName": "ShippingProfileResponse.updated_at" }, - "2492": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "config" + "6524": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-profile.ts", + "qualifiedName": "ShippingProfileResponse.deleted_at" }, - "2493": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6525": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-profile.ts", + "qualifiedName": "AdminShippingProfileResponse" }, - "2494": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.restoreCampaigns" + "6526": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-profile.ts", + "qualifiedName": "AdminShippingProfileResponse.shipping_profile" }, - "2495": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "IPromotionModuleService.restoreCampaigns" + "6527": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-profile.ts", + "qualifiedName": "AdminShippingProfilesResponse" }, - "2496": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "TReturnableLinkableKeys" + "6528": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-profile.ts", + "qualifiedName": "AdminShippingProfilesResponse.shipping_profiles" }, - "2497": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "campaignIds" + "6529": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.limit" }, - "2498": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "config" + "6530": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.offset" }, - "2499": { - "sourceFileName": "../../../packages/types/src/promotion/service.ts", - "qualifiedName": "sharedContext" + "6531": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.count" }, - "2507": { - "sourceFileName": "../../../packages/types/src/region__legacy/index.ts", - "qualifiedName": "" + "6532": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-profile.ts", + "qualifiedName": "AdminShippingProfileDeleteResponse" }, - "2508": { - "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", - "qualifiedName": "RegionDTO__legacy" + "6533": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.id" }, - "2509": { - "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", - "qualifiedName": "__type" + "6534": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.object" }, - "2510": { - "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", - "qualifiedName": "__type.name" + "6535": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.deleted" }, - "2511": { - "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", - "qualifiedName": "__type.currency_code" + "6536": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse" }, - "2512": { - "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", - "qualifiedName": "__type.tax_rate" + "6537": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.id" }, - "2513": { - "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", - "qualifiedName": "__type.tax_code" + "6538": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.version" }, - "2514": { - "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", - "qualifiedName": "__type.gift_cards_taxable" + "6539": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.region_id" }, - "2515": { - "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", - "qualifiedName": "__type.automatic_taxes" + "6540": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.customer_id" }, - "2516": { - "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", - "qualifiedName": "__type.tax_provider_id" + "6541": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.sales_channel_id" }, - "2517": { - "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", - "qualifiedName": "__type.metadata" + "6542": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.email" }, - "2518": { - "sourceFileName": "../../../packages/types/src/region__legacy/common.ts", - "qualifiedName": "__type.includes_tax" + "6543": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.currency_code" }, - "2519": { - "sourceFileName": "../../../packages/types/src/sales-channel/index.ts", - "qualifiedName": "" + "6544": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.shipping_address" }, - "2520": { - "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", - "qualifiedName": "SalesChannelLocationDTO" + "6545": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.billing_address" }, - "2521": { - "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", - "qualifiedName": "SalesChannelLocationDTO.sales_channel_id" + "6546": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.items" }, - "2522": { - "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", - "qualifiedName": "SalesChannelLocationDTO.location_id" + "6547": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.shipping_methods" }, - "2523": { - "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", - "qualifiedName": "SalesChannelLocationDTO.sales_channel" + "6548": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.transactions" }, - "2524": { - "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", - "qualifiedName": "SalesChannelDTO" + "6549": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.summary" }, - "2525": { - "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", - "qualifiedName": "SalesChannelDTO.id" + "6550": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.metadata" }, - "2526": { - "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", - "qualifiedName": "SalesChannelDTO.name" + "6551": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.created_at" }, - "2527": { - "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", - "qualifiedName": "SalesChannelDTO.description" + "6552": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.updated_at" }, - "2528": { - "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", - "qualifiedName": "SalesChannelDTO.is_disabled" + "6553": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.original_item_total" }, - "2529": { - "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", - "qualifiedName": "SalesChannelDTO.metadata" + "6554": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.original_item_subtotal" }, - "2530": { - "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", - "qualifiedName": "SalesChannelDTO.locations" + "6555": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.original_item_tax_total" }, - "2531": { - "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", - "qualifiedName": "FilterableSalesChannelProps" + "6556": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.item_total" }, - "2532": { - "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", - "qualifiedName": "FilterableSalesChannelProps.id" + "6557": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.item_subtotal" }, - "2533": { - "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", - "qualifiedName": "FilterableSalesChannelProps.name" + "6558": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.item_tax_total" }, - "2534": { - "sourceFileName": "../../../packages/types/src/sales-channel/common.ts", - "qualifiedName": "FilterableSalesChannelProps.is_disabled" + "6559": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.original_total" }, - "2535": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "6560": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.original_subtotal" }, - "2536": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "6561": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.original_tax_total" }, - "2537": { - "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", - "qualifiedName": "CreateSalesChannelDTO" + "6562": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.total" }, - "2538": { - "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", - "qualifiedName": "CreateSalesChannelDTO.name" + "6563": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.subtotal" }, - "2539": { - "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", - "qualifiedName": "CreateSalesChannelDTO.description" + "6564": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.tax_total" }, - "2540": { - "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", - "qualifiedName": "CreateSalesChannelDTO.is_disabled" + "6565": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.discount_total" }, - "2541": { - "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", - "qualifiedName": "UpdateSalesChannelDTO" + "6566": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.discount_tax_total" }, - "2542": { - "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", - "qualifiedName": "UpdateSalesChannelDTO.id" + "6567": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.gift_card_total" }, - "2543": { - "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", - "qualifiedName": "UpdateSalesChannelDTO.name" + "6568": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.gift_card_tax_total" }, - "2544": { - "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", - "qualifiedName": "UpdateSalesChannelDTO.description" + "6569": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.shipping_total" }, - "2545": { - "sourceFileName": "../../../packages/types/src/sales-channel/mutations.ts", - "qualifiedName": "UpdateSalesChannelDTO.is_disabled" + "6570": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.shipping_subtotal" }, - "2546": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService" + "6571": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.shipping_tax_total" }, - "2547": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService.create" + "6572": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.original_shipping_total" }, - "2548": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService.create" + "6573": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.original_shipping_subtotal" }, - "2549": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "data" + "6574": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.original_shipping_tax_total" }, - "2550": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "sharedContext" + "6575": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_original_item_total" }, - "2551": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService.create" + "6576": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_original_item_subtotal" }, - "2552": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "data" + "6577": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_original_item_tax_total" }, - "2553": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "sharedContext" + "6578": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_item_total" }, - "2554": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService.update" + "6579": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_item_subtotal" }, - "2555": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService.update" + "6580": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_item_tax_total" }, - "2556": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "data" + "6581": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_original_total" }, - "2557": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "sharedContext" + "6582": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_original_subtotal" }, - "2558": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService.update" + "6583": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_original_tax_total" }, - "2559": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "data" + "6584": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_total" }, - "2560": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "sharedContext" + "6585": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_subtotal" }, - "2561": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService.delete" + "6586": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_tax_total" }, - "2562": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService.delete" + "6587": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_discount_total" }, - "2563": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ids" + "6588": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_discount_tax_total" }, - "2564": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "sharedContext" + "6589": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_gift_card_total" }, - "2565": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService.delete" + "6590": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_gift_card_tax_total" }, - "2566": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "id" + "6591": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_shipping_total" }, - "2567": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "sharedContext" + "6592": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_shipping_subtotal" }, - "2568": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService.retrieve" + "6593": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_shipping_tax_total" }, - "2569": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService.retrieve" + "6594": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_original_shipping_total" }, - "2570": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "id" + "6595": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_original_shipping_subtotal" }, - "2571": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "config" + "6596": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderResponse.raw_original_shipping_tax_total" }, - "2572": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "sharedContext" + "6597": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "AdminOrderListResponse" }, - "2573": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService.list" + "6598": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "AdminOrderListResponse.orders" }, - "2574": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService.list" + "6599": { + "sourceFileName": "../../../packages/types/src/http/common/paginated-response.ts", + "qualifiedName": "PaginatedResponse.limit" }, - "2575": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "filters" + "6600": { + "sourceFileName": "../../../packages/types/src/http/common/paginated-response.ts", + "qualifiedName": "PaginatedResponse.offset" }, - "2576": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "config" + "6601": { + "sourceFileName": "../../../packages/types/src/http/common/paginated-response.ts", + "qualifiedName": "PaginatedResponse.count" }, - "2577": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "sharedContext" + "6602": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "AdminOrderResponse" }, - "2578": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService.listAndCount" + "6603": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "AdminOrderResponse.order" }, - "2579": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService.listAndCount" + "6604": { + "sourceFileName": "../../../packages/types/src/http/product-category/admin.ts", + "qualifiedName": "AdminProductCategoryResponse" }, - "2580": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "filters" + "6605": { + "sourceFileName": "../../../packages/types/src/http/product-category/admin.ts", + "qualifiedName": "AdminProductCategoryResponse.product_category" }, - "2581": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "config" + "6606": { + "sourceFileName": "../../../packages/types/src/http/product-category/admin.ts", + "qualifiedName": "AdminProductCategoryListResponse" }, - "2582": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "sharedContext" + "6607": { + "sourceFileName": "../../../packages/types/src/http/product-category/admin.ts", + "qualifiedName": "AdminProductCategoryListResponse.product_categories" }, - "2583": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService.softDelete" + "6608": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.limit" }, - "2584": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService.softDelete" + "6609": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.offset" }, - "2585": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "TReturnableLinkableKeys" + "6610": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.count" }, - "2586": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "salesChannelIds" + "6611": { + "sourceFileName": "../../../packages/types/src/http/product-category/store.ts", + "qualifiedName": "StoreProductCategoryResponse" }, - "2587": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "config" + "6612": { + "sourceFileName": "../../../packages/types/src/http/product-category/store.ts", + "qualifiedName": "StoreProductCategoryResponse.product_category" }, - "2588": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "sharedContext" + "6613": { + "sourceFileName": "../../../packages/types/src/http/product-category/store.ts", + "qualifiedName": "StoreProductCategoryListResponse" }, - "2589": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService.restore" + "6614": { + "sourceFileName": "../../../packages/types/src/http/product-category/store.ts", + "qualifiedName": "StoreProductCategoryListResponse.product_categories" }, - "2590": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "ISalesChannelModuleService.restore" + "6615": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.limit" }, - "2591": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "TReturnableLinkableKeys" + "6616": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.offset" }, - "2592": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "salesChannelIds" + "6617": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.count" }, - "2593": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "config" + "6618": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/promotion-rule.ts", + "qualifiedName": "PromotionRuleResponse" }, - "2594": { - "sourceFileName": "../../../packages/types/src/sales-channel/service.ts", - "qualifiedName": "sharedContext" + "6619": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/promotion-rule.ts", + "qualifiedName": "PromotionRuleResponse.id" }, - "2602": { - "sourceFileName": "../../../packages/types/src/search/index.ts", - "qualifiedName": "" + "6620": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/promotion-rule.ts", + "qualifiedName": "PromotionRuleResponse.attribute" }, - "2603": { - "sourceFileName": "../../../packages/types/src/search/index.ts", - "qualifiedName": "IndexSettings" + "6621": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/promotion-rule.ts", + "qualifiedName": "PromotionRuleResponse.attribute_label" }, - "2604": { - "sourceFileName": "../../../packages/types/src/search/index.ts", - "qualifiedName": "__type" + "6622": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/promotion-rule.ts", + "qualifiedName": "PromotionRuleResponse.field_type" }, - "2605": { - "sourceFileName": "../../../packages/types/src/search/index.ts", - "qualifiedName": "__type.indexSettings" + "6623": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/promotion-rule.ts", + "qualifiedName": "PromotionRuleResponse.operator" }, - "2606": { - "sourceFileName": "../../../packages/types/src/search/index.ts", - "qualifiedName": "__type.primaryKey" + "6624": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/promotion-rule.ts", + "qualifiedName": "PromotionRuleResponse.operator_label" }, - "2607": { - "sourceFileName": "../../../packages/types/src/search/index.ts", - "qualifiedName": "__type.transformer" + "6625": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/promotion-rule.ts", + "qualifiedName": "PromotionRuleResponse.values" }, - "2608": { - "sourceFileName": "../../../packages/types/src/search/index.ts", + "6626": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/promotion-rule.ts", "qualifiedName": "__type" }, - "2609": { - "sourceFileName": "../../../packages/types/src/search/index.ts", - "qualifiedName": "__type" + "6627": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/promotion-rule.ts", + "qualifiedName": "__type.value" }, - "2610": { - "sourceFileName": "../../../packages/types/src/search/index.ts", - "qualifiedName": "document" + "6628": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/promotion-rule.ts", + "qualifiedName": "PromotionRuleResponse.disguised" }, - "2611": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "ISearchService" + "6629": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/promotion-rule.ts", + "qualifiedName": "PromotionRuleResponse.required" }, - "2612": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "ISearchService.options" + "6630": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/promotion-rule.ts", + "qualifiedName": "AdminPromotionRuleListResponse" }, - "2613": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "ISearchService.createIndex" + "6631": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/promotion-rule.ts", + "qualifiedName": "AdminPromotionRuleListResponse.attributes" }, - "2614": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "ISearchService.createIndex" + "6632": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/rule-attribute-options.ts", + "qualifiedName": "RuleAttributeOptionsResponse" }, - "2615": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "indexName" + "6633": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/rule-attribute-options.ts", + "qualifiedName": "RuleAttributeOptionsResponse.id" }, - "2616": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "options" + "6634": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/rule-attribute-options.ts", + "qualifiedName": "RuleAttributeOptionsResponse.value" }, - "2617": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "ISearchService.getIndex" + "6635": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/rule-attribute-options.ts", + "qualifiedName": "RuleAttributeOptionsResponse.label" }, - "2618": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "ISearchService.getIndex" + "6636": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/rule-attribute-options.ts", + "qualifiedName": "RuleAttributeOptionsResponse.field_type" }, - "2619": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "indexName" + "6637": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/rule-attribute-options.ts", + "qualifiedName": "RuleAttributeOptionsResponse.required" }, - "2620": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "ISearchService.addDocuments" + "6638": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/rule-attribute-options.ts", + "qualifiedName": "RuleAttributeOptionsResponse.disguised" }, - "2621": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "ISearchService.addDocuments" + "6639": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/rule-attribute-options.ts", + "qualifiedName": "AdminRuleAttributeOptionsListResponse" }, - "2622": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "indexName" + "6640": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/rule-attribute-options.ts", + "qualifiedName": "AdminRuleAttributeOptionsListResponse.attributes" }, - "2623": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "documents" + "6641": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/rule-operator-options.ts", + "qualifiedName": "RuleOperatorOptionsResponse" }, - "2624": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "type" + "6642": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/rule-operator-options.ts", + "qualifiedName": "RuleOperatorOptionsResponse.id" }, - "2625": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "ISearchService.replaceDocuments" + "6643": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/rule-operator-options.ts", + "qualifiedName": "RuleOperatorOptionsResponse.value" }, - "2626": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "ISearchService.replaceDocuments" + "6644": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/rule-operator-options.ts", + "qualifiedName": "RuleOperatorOptionsResponse.label" }, - "2627": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "indexName" + "6645": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/rule-operator-options.ts", + "qualifiedName": "AdminRuleOperatorOptionsListResponse" }, - "2628": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "documents" + "6646": { + "sourceFileName": "../../../packages/types/src/http/promotion/admin/rule-operator-options.ts", + "qualifiedName": "AdminRuleOperatorOptionsListResponse.operators" }, - "2629": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "type" + "6647": { + "sourceFileName": "../../../packages/types/src/http/sales-channel/admin/sales-channel.ts", + "qualifiedName": "AdminSalesChannelListResponse" }, - "2630": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "ISearchService.deleteDocument" + "6648": { + "sourceFileName": "../../../packages/types/src/http/sales-channel/admin/sales-channel.ts", + "qualifiedName": "AdminSalesChannelListResponse.sales_channels" }, - "2631": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "ISearchService.deleteDocument" + "6649": { + "sourceFileName": "../../../packages/types/src/http/common/paginated-response.ts", + "qualifiedName": "PaginatedResponse.limit" }, - "2632": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "indexName" + "6650": { + "sourceFileName": "../../../packages/types/src/http/common/paginated-response.ts", + "qualifiedName": "PaginatedResponse.offset" }, - "2633": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "document_id" + "6651": { + "sourceFileName": "../../../packages/types/src/http/common/paginated-response.ts", + "qualifiedName": "PaginatedResponse.count" }, - "2634": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "ISearchService.deleteAllDocuments" + "6652": { + "sourceFileName": "../../../packages/types/src/http/sales-channel/admin/sales-channel.ts", + "qualifiedName": "AdminSalesChannelResponse" }, - "2635": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "ISearchService.deleteAllDocuments" + "6653": { + "sourceFileName": "../../../packages/types/src/http/sales-channel/admin/sales-channel.ts", + "qualifiedName": "AdminSalesChannelResponse.sales_channel" }, - "2636": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "indexName" + "6654": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "AdminStockLocationAddressResponse" }, - "2637": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "ISearchService.search" + "6655": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "__type" }, - "2638": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "ISearchService.search" + "6656": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "__type.id" }, - "2639": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "indexName" + "6657": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "__type.address_1" }, - "2640": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "query" + "6658": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "__type.address_2" }, - "2641": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "options" + "6659": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "__type.company" }, - "2642": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "ISearchService.updateSettings" + "6660": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "__type.country_code" }, - "2643": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "ISearchService.updateSettings" + "6661": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "__type.city" }, - "2644": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "indexName" + "6662": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "__type.phone" }, - "2645": { - "sourceFileName": "../../../packages/types/src/search/interface.ts", - "qualifiedName": "settings" + "6663": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "__type.postal_code" }, - "2646": { - "sourceFileName": "../../../packages/types/src/transaction-base/index.ts", - "qualifiedName": "" + "6664": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "__type.province" }, - "2647": { - "sourceFileName": "../../../packages/types/src/transaction-base/transaction-base.ts", - "qualifiedName": "ITransactionBaseService" + "6665": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "__type.metadata" }, - "2648": { - "sourceFileName": "../../../packages/types/src/transaction-base/transaction-base.ts", - "qualifiedName": "ITransactionBaseService.withTransaction" + "6666": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "__type.created_at" }, - "2649": { - "sourceFileName": "../../../packages/types/src/transaction-base/transaction-base.ts", - "qualifiedName": "ITransactionBaseService.withTransaction" + "6667": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "__type.updated_at" }, - "2650": { - "sourceFileName": "../../../packages/types/src/transaction-base/transaction-base.ts", - "qualifiedName": "transactionManager" + "6668": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "__type.deleted_at" }, - "2651": { - "sourceFileName": "../../../packages/types/src/user/index.ts", - "qualifiedName": "" + "6669": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "AdminStockLocationResponse" }, - "2652": { - "sourceFileName": "../../../packages/types/src/user/common.ts", - "qualifiedName": "UserDTO" + "6670": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "AdminStockLocationResponse.id" }, - "2653": { - "sourceFileName": "../../../packages/types/src/user/common.ts", - "qualifiedName": "__type" + "6671": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "AdminStockLocationResponse.name" }, - "2654": { - "sourceFileName": "../../../packages/types/src/user/common.ts", - "qualifiedName": "__type.id" + "6672": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "AdminStockLocationResponse.metadata" }, - "2655": { - "sourceFileName": "../../../packages/types/src/user/common.ts", - "qualifiedName": "FilterableUserProps" + "6673": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "AdminStockLocationResponse.address_id" }, - "2656": { - "sourceFileName": "../../../packages/types/src/user/common.ts", - "qualifiedName": "__type" + "6674": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "AdminStockLocationResponse.address" }, - "2657": { - "sourceFileName": "../../../packages/types/src/user/mutations.ts", - "qualifiedName": "CreateUserDTO" + "6675": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "AdminStockLocationResponse.created_at" }, - "2658": { - "sourceFileName": "../../../packages/types/src/user/mutations.ts", - "qualifiedName": "CreateUserDTO.id" + "6676": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "AdminStockLocationResponse.updated_at" }, - "2659": { - "sourceFileName": "../../../packages/types/src/user/mutations.ts", - "qualifiedName": "UpdateUserDTO" + "6677": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "AdminStockLocationResponse.deleted_at" }, - "2660": { - "sourceFileName": "../../../packages/types/src/user/mutations.ts", - "qualifiedName": "UpdateUserDTO.id" + "6678": { + "sourceFileName": "../../../packages/types/src/http/stock-locations/common.ts", + "qualifiedName": "AdminStockLocationResponse.fulfillment_sets" }, - "2661": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "IUserModuleService" + "6679": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "TaxRateResponse" }, - "2662": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "IUserModuleService.retrieve" + "6680": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "TaxRateResponse.id" }, - "2663": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "IUserModuleService.retrieve" + "6681": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "TaxRateResponse.rate" }, - "2664": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "id" + "6682": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "TaxRateResponse.code" }, - "2665": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "config" + "6683": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "TaxRateResponse.name" }, - "2666": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "sharedContext" + "6684": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "TaxRateResponse.metadata" }, - "2667": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "IUserModuleService.list" + "6685": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "TaxRateResponse.tax_region_id" }, - "2668": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "IUserModuleService.list" + "6686": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "TaxRateResponse.is_combinable" }, - "2669": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "filters" + "6687": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "TaxRateResponse.is_default" }, - "2670": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "config" + "6688": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "TaxRateResponse.created_at" }, - "2671": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "sharedContext" + "6689": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "TaxRateResponse.updated_at" }, - "2672": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "IUserModuleService.listAndCount" + "6690": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "TaxRateResponse.deleted_at" }, - "2673": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "IUserModuleService.listAndCount" + "6691": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "TaxRateResponse.created_by" }, - "2674": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "filters" + "6692": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "TaxRateResponse.tax_region" }, - "2675": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "config" + "6693": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "TaxRateResponse.rules" }, - "2676": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "sharedContext" + "6694": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "__type" }, - "2677": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "IUserModuleService.create" + "6695": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "__type.reference" }, - "2678": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "IUserModuleService.create" + "6696": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "__type.reference_id" }, - "2679": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "data" + "6697": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "AdminTaxRateResponse" }, - "2680": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "sharedContext" + "6698": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "AdminTaxRateResponse.tax_rate" }, - "2681": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "IUserModuleService.create" + "6699": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "AdminTaxRateListResponse" }, - "2682": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "data" + "6700": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-rates.ts", + "qualifiedName": "AdminTaxRateListResponse.tax_rates" }, - "2683": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "sharedContext" + "6701": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.limit" }, - "2684": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "IUserModuleService.update" + "6702": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.offset" }, - "2685": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "IUserModuleService.update" + "6703": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.count" }, - "2686": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "data" + "6704": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "TaxRegionResponse" }, - "2687": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "sharedContext" + "6705": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "TaxRegionResponse.id" }, - "2688": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "IUserModuleService.update" + "6706": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "TaxRegionResponse.rate" }, - "2689": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "data" + "6707": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "TaxRegionResponse.code" }, - "2690": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "sharedContext" + "6708": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "TaxRegionResponse.country_code" }, - "2691": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "IUserModuleService.delete" + "6709": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "TaxRegionResponse.province_code" }, - "2692": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "IUserModuleService.delete" + "6710": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "TaxRegionResponse.name" }, - "2693": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "ids" + "6711": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "TaxRegionResponse.metadata" }, - "2694": { - "sourceFileName": "../../../packages/types/src/user/service.ts", - "qualifiedName": "sharedContext" + "6712": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "TaxRegionResponse.tax_region_id" }, - "2702": { - "sourceFileName": "../../../packages/types/src/workflow/index.ts", - "qualifiedName": "" + "6713": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "TaxRegionResponse.is_combinable" }, - "2703": { - "sourceFileName": "../../../packages/types/src/workflow/cart/index.ts", - "qualifiedName": "" + "6714": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "TaxRegionResponse.is_default" }, - "2704": { - "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", - "qualifiedName": "CreateLineItemInputDTO" + "6715": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "TaxRegionResponse.parent_id" }, - "2705": { - "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", - "qualifiedName": "CreateLineItemInputDTO.variant_id" + "6716": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "TaxRegionResponse.created_at" }, - "2706": { - "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", - "qualifiedName": "CreateLineItemInputDTO.quantity" + "6717": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "TaxRegionResponse.updated_at" }, - "2707": { - "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", - "qualifiedName": "CreateCartWorkflowInputDTO" + "6718": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "TaxRegionResponse.deleted_at" }, - "2708": { - "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", - "qualifiedName": "CreateCartWorkflowInputDTO.region_id" + "6719": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "TaxRegionResponse.created_by" }, - "2709": { - "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", - "qualifiedName": "CreateCartWorkflowInputDTO.country_code" + "6720": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "TaxRegionResponse.tax_rates" }, - "2710": { - "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", - "qualifiedName": "CreateCartWorkflowInputDTO.items" + "6721": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "TaxRegionResponse.parent" }, - "2711": { - "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", - "qualifiedName": "CreateCartWorkflowInputDTO.context" + "6722": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "AdminTaxRegionResponse" }, - "2712": { - "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", - "qualifiedName": "CreateCartWorkflowInputDTO.sales_channel_id" + "6723": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "AdminTaxRegionResponse.tax_region" }, - "2713": { - "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", - "qualifiedName": "CreateCartWorkflowInputDTO.shipping_address_id" + "6724": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "AdminTaxRegionListResponse" }, - "2714": { - "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", - "qualifiedName": "CreateCartWorkflowInputDTO.billing_address_id" + "6725": { + "sourceFileName": "../../../packages/types/src/http/tax/admin/tax-regions.ts", + "qualifiedName": "AdminTaxRegionListResponse.tax_regions" }, - "2715": { - "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", - "qualifiedName": "CreateCartWorkflowInputDTO.billing_address" + "6726": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.limit" }, - "2716": { - "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", - "qualifiedName": "CreateCartWorkflowInputDTO.shipping_address" + "6727": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.offset" }, - "2717": { - "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", - "qualifiedName": "CreateCartWorkflowInputDTO.customer_id" + "6728": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.count" }, - "2718": { - "sourceFileName": "../../../packages/types/src/workflow/cart/create-cart.ts", - "qualifiedName": "CreateCartWorkflowInputDTO.email" + "6729": { + "sourceFileName": "../../../packages/types/src/http/reservation/admin/reservation.ts", + "qualifiedName": "AdminReservationResponse" }, - "2719": { - "sourceFileName": "../../../packages/types/src/workflow/common.ts", - "qualifiedName": "" + "6730": { + "sourceFileName": "../../../packages/types/src/http/reservation/admin/reservation.ts", + "qualifiedName": "AdminReservationResponse.reservation" }, - "2720": { - "sourceFileName": "../../../packages/types/src/workflow/common.ts", - "qualifiedName": "WorkflowInputConfig" + "6731": { + "sourceFileName": "../../../packages/types/src/http/reservation/admin/reservation.ts", + "qualifiedName": "AdminReservationListResponse" }, - "2721": { - "sourceFileName": "../../../packages/types/src/workflow/common.ts", - "qualifiedName": "WorkflowInputConfig.listConfig" + "6732": { + "sourceFileName": "../../../packages/types/src/http/reservation/admin/reservation.ts", + "qualifiedName": "AdminReservationListResponse.reservations" }, - "2722": { - "sourceFileName": "../../../packages/types/src/workflow/common.ts", - "qualifiedName": "__type" + "6733": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.limit" }, - "2723": { - "sourceFileName": "../../../packages/types/src/workflow/common.ts", - "qualifiedName": "__type.select" + "6734": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.offset" }, - "2724": { - "sourceFileName": "../../../packages/types/src/workflow/common.ts", - "qualifiedName": "__type.relations" + "6735": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.count" }, - "2725": { - "sourceFileName": "../../../packages/types/src/workflow/common.ts", - "qualifiedName": "WorkflowInputConfig.retrieveConfig" + "6736": { + "sourceFileName": "../../../packages/types/src/file/index.ts", + "qualifiedName": "" }, - "2726": { - "sourceFileName": "../../../packages/types/src/workflow/common.ts", - "qualifiedName": "__type" + "6737": { + "sourceFileName": "../../../packages/types/src/file/common.ts", + "qualifiedName": "FileDTO" }, - "2727": { - "sourceFileName": "../../../packages/types/src/workflow/common.ts", - "qualifiedName": "__type.select" + "6738": { + "sourceFileName": "../../../packages/types/src/file/common.ts", + "qualifiedName": "FileDTO.id" }, - "2728": { - "sourceFileName": "../../../packages/types/src/workflow/common.ts", - "qualifiedName": "__type.relations" + "6739": { + "sourceFileName": "../../../packages/types/src/file/common.ts", + "qualifiedName": "FileDTO.url" }, - "2729": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/index.ts", - "qualifiedName": "" + "6740": { + "sourceFileName": "../../../packages/types/src/file/common.ts", + "qualifiedName": "FilterableFileProps" }, - "2730": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListDTO" + "6741": { + "sourceFileName": "../../../packages/types/src/file/common.ts", + "qualifiedName": "FilterableFileProps.id" }, - "2731": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListDTO.starts_at" + "6742": { + "sourceFileName": "../../../packages/types/src/file/mutations.ts", + "qualifiedName": "CreateFileDTO" }, - "2732": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListDTO.ends_at" + "6743": { + "sourceFileName": "../../../packages/types/src/file/mutations.ts", + "qualifiedName": "CreateFileDTO.filename" }, - "2733": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListDTO.status" + "6744": { + "sourceFileName": "../../../packages/types/src/file/mutations.ts", + "qualifiedName": "CreateFileDTO.mimeType" }, - "2734": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListDTO.rules_count" + "6745": { + "sourceFileName": "../../../packages/types/src/file/mutations.ts", + "qualifiedName": "CreateFileDTO.content" }, - "2735": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListDTO.rules" + "6746": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "IFileModuleService" }, - "2736": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListDTO.prices" + "6747": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "IFileModuleService.create" }, - "2737": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "__type" + "6748": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "IFileModuleService.create" }, - "2738": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "__type.amount" + "6749": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "data" }, - "2739": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "__type.currency_code" + "6750": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "sharedContext" }, - "2740": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "__type.region_id" + "6751": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "IFileModuleService.create" }, - "2741": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "__type.max_quantity" + "6752": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "data" }, - "2742": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "__type.min_quantity" + "6753": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "sharedContext" }, - "2743": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListDTO.customer_groups" + "6754": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "IFileModuleService.delete" }, - "2744": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "__type" + "6755": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "IFileModuleService.delete" }, - "2745": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "__type.id" + "6756": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "ids" }, - "2746": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListRuleDTO" + "6757": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "sharedContext" }, - "2747": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListRuleDTO.rule_attribute" + "6758": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "IFileModuleService.delete" }, - "2748": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListRuleDTO.value" + "6759": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "id" }, - "2749": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListPriceDTO" + "6760": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "sharedContext" }, - "2750": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListPriceDTO.amount" + "6761": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "IFileModuleService.retrieve" }, - "2751": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListPriceDTO.currency_code" + "6762": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "IFileModuleService.retrieve" }, - "2752": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListPriceDTO.price_set_id" + "6763": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "id" }, - "2753": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListPriceDTO.region_id" + "6764": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "config" }, - "2754": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListPriceDTO.max_quantity" + "6765": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "sharedContext" }, - "2755": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListPriceDTO.min_quantity" + "6766": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "IFileModuleService.list" }, - "2756": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListWorkflowInputDTO" + "6767": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "IFileModuleService.list" }, - "2757": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListWorkflowInputDTO.price_lists" + "6768": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "filters" }, - "2758": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "RemovePriceListProductsWorkflowInputDTO" + "6769": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "config" }, - "2759": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "RemovePriceListProductsWorkflowInputDTO.product_ids" + "6770": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "sharedContext" + }, + "6771": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "IFileModuleService.listAndCount" + }, + "6772": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "IFileModuleService.listAndCount" + }, + "6773": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "filters" }, - "2760": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "RemovePriceListProductsWorkflowInputDTO.price_list_id" + "6774": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "config" }, - "2761": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "RemovePriceListVariantsWorkflowInputDTO" + "6775": { + "sourceFileName": "../../../packages/types/src/file/service.ts", + "qualifiedName": "sharedContext" }, - "2762": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "RemovePriceListVariantsWorkflowInputDTO.variant_ids" + "6789": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "ProviderFileResultDTO" }, - "2763": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "RemovePriceListVariantsWorkflowInputDTO.price_list_id" + "6790": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "__type.url" }, - "2764": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "RemovePriceListPricesWorkflowInputDTO" + "6791": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "__type.key" }, - "2765": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "RemovePriceListPricesWorkflowInputDTO.money_amount_ids" + "6792": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "ProviderGetFileDTO" }, - "2766": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "RemovePriceListPricesWorkflowInputDTO.price_list_id" + "6793": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "__type.fileKey" }, - "2767": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListWorkflowDTO" + "6794": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "__type.isPrivate" }, - "2768": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListWorkflowDTO.title" + "6795": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "ProviderDeleteFileDTO" }, - "2769": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListWorkflowDTO.name" + "6796": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "__type.fileKey" }, - "2770": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListWorkflowDTO.description" + "6797": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "ProviderUploadFileDTO" }, - "2771": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListWorkflowDTO.type" + "6798": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "__type.filename" }, - "2772": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListWorkflowDTO.starts_at" + "6799": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "__type.mimeType" }, - "2773": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListWorkflowDTO.ends_at" + "6800": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "__type.content" }, - "2774": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListWorkflowDTO.status" + "6801": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "IFileProvider" }, - "2775": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListWorkflowDTO.rules_count" + "6802": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "IFileProvider.upload" }, - "2776": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListWorkflowDTO.prices" + "6803": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "IFileProvider.upload" }, - "2777": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", - "qualifiedName": "CreatePriceListWorkflowDTO.rules" + "6804": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "file" }, - "2778": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/update-price-list.ts", - "qualifiedName": "PriceListVariantPriceDTO" + "6805": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "IFileProvider.delete" }, - "2779": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/update-price-list.ts", - "qualifiedName": "__type" + "6806": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "IFileProvider.delete" }, - "2780": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/update-price-list.ts", - "qualifiedName": "__type.variant_id" + "6807": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "fileData" }, - "2781": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/update-price-list.ts", - "qualifiedName": "__type.price_set_id" + "6808": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "IFileProvider.getPresignedDownloadUrl" }, - "2782": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/update-price-list.ts", - "qualifiedName": "UpdatePriceListWorkflowDTO" + "6809": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "IFileProvider.getPresignedDownloadUrl" }, - "2783": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/update-price-list.ts", - "qualifiedName": "UpdatePriceListWorkflowDTO.id" + "6810": { + "sourceFileName": "../../../packages/types/src/file/provider.ts", + "qualifiedName": "fileData" }, - "2784": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/update-price-list.ts", - "qualifiedName": "UpdatePriceListWorkflowDTO.name" + "6811": { + "sourceFileName": "../../../packages/types/src/file/providers/s3.ts", + "qualifiedName": "S3FileServiceOptions" }, - "2785": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/update-price-list.ts", - "qualifiedName": "UpdatePriceListWorkflowDTO.starts_at" + "6812": { + "sourceFileName": "../../../packages/types/src/file/providers/s3.ts", + "qualifiedName": "S3FileServiceOptions.file_url" }, - "2786": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/update-price-list.ts", - "qualifiedName": "UpdatePriceListWorkflowDTO.ends_at" + "6813": { + "sourceFileName": "../../../packages/types/src/file/providers/s3.ts", + "qualifiedName": "S3FileServiceOptions.access_key_id" }, - "2787": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/update-price-list.ts", - "qualifiedName": "UpdatePriceListWorkflowDTO.status" + "6814": { + "sourceFileName": "../../../packages/types/src/file/providers/s3.ts", + "qualifiedName": "S3FileServiceOptions.secret_access_key" }, - "2788": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/update-price-list.ts", - "qualifiedName": "UpdatePriceListWorkflowDTO.rules" + "6815": { + "sourceFileName": "../../../packages/types/src/file/providers/s3.ts", + "qualifiedName": "S3FileServiceOptions.region" }, - "2789": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/update-price-list.ts", - "qualifiedName": "UpdatePriceListWorkflowDTO.prices" + "6816": { + "sourceFileName": "../../../packages/types/src/file/providers/s3.ts", + "qualifiedName": "S3FileServiceOptions.bucket" }, - "2790": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/update-price-list.ts", - "qualifiedName": "UpdatePriceListWorkflowDTO.customer_groups" + "6817": { + "sourceFileName": "../../../packages/types/src/file/providers/s3.ts", + "qualifiedName": "S3FileServiceOptions.prefix" }, - "2791": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/update-price-list.ts", - "qualifiedName": "__type" + "6818": { + "sourceFileName": "../../../packages/types/src/file/providers/s3.ts", + "qualifiedName": "S3FileServiceOptions.endpoint" }, - "2792": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/update-price-list.ts", - "qualifiedName": "__type.id" + "6819": { + "sourceFileName": "../../../packages/types/src/file/providers/s3.ts", + "qualifiedName": "S3FileServiceOptions.cache_control" }, - "2793": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/update-price-list.ts", - "qualifiedName": "UpdatePriceListWorkflowInputDTO" + "6820": { + "sourceFileName": "../../../packages/types/src/file/providers/s3.ts", + "qualifiedName": "S3FileServiceOptions.download_file_duration" }, - "2794": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/update-price-list.ts", - "qualifiedName": "UpdatePriceListWorkflowInputDTO.price_lists" + "6821": { + "sourceFileName": "../../../packages/types/src/file/providers/s3.ts", + "qualifiedName": "S3FileServiceOptions.additional_client_config" }, - "2795": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/remove-price-list.ts", - "qualifiedName": "RemovePriceListWorkflowInputDTO" + "6822": { + "sourceFileName": "../../../packages/types/src/file/providers/local.ts", + "qualifiedName": "LocalFileServiceOptions" }, - "2796": { - "sourceFileName": "../../../packages/types/src/workflow/price-list/remove-price-list.ts", - "qualifiedName": "RemovePriceListWorkflowInputDTO.price_lists" + "6823": { + "sourceFileName": "../../../packages/types/src/file/providers/local.ts", + "qualifiedName": "LocalFileServiceOptions.upload_dir" }, - "2797": { + "6824": { + "sourceFileName": "../../../packages/types/src/file/providers/local.ts", + "qualifiedName": "LocalFileServiceOptions.backend_url" + }, + "6825": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "FileServiceUploadResult" }, - "2798": { + "6826": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.url" }, - "2799": { + "6827": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.key" }, - "2800": { + "6828": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "FileServiceGetUploadStreamResult" }, - "2801": { + "6829": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.writeStream" }, - "2802": { + "6830": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.promise" }, - "2803": { + "6831": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.url" }, - "2804": { + "6832": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.fileKey" }, - "2805": { + "6833": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "GetUploadedFileType" }, - "2806": { + "6834": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.fileKey" }, - "2807": { + "6835": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.isPrivate" }, - "2808": { + "6836": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "DeleteFileType" }, - "2809": { + "6837": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.fileKey" }, - "2810": { + "6838": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "UploadStreamDescriptorType" }, - "2811": { + "6839": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.name" }, - "2812": { + "6840": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.ext" }, - "2813": { + "6841": { "sourceFileName": "../../../packages/types/src/file-service/index.ts", "qualifiedName": "__type.isPrivate" }, - "2814": { + "6842": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerRelationship" }, - "2815": { + "6843": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type" }, - "2816": { + "6844": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.alias" }, - "2817": { + "6845": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.foreignKey" }, - "2818": { + "6846": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.primaryKey" }, - "2819": { + "6847": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.serviceName" }, - "2820": { + "6848": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.isInternalService" }, - "2821": { + "6849": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.inverse" }, - "2822": { + "6850": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.isList" }, - "2823": { + "6851": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.args" }, - "2824": { + "6852": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfigAlias" }, - "2825": { + "6853": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfigAlias.name" }, - "2826": { + "6854": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfigAlias.args" }, - "2827": { + "6855": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig" }, - "2828": { + "6856": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.serviceName" }, - "2829": { + "6857": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.alias" }, - "2830": { + "6858": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.fieldAlias" }, - "2831": { + "6859": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type" }, - "2832": { + "6860": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.path" }, - "2833": { + "6861": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.forwardArgumentsOnPath" }, - "2834": { + "6862": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.primaryKeys" }, - "2835": { + "6863": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.relationships" }, - "2836": { + "6864": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.extends" }, - "2837": { + "6865": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type" }, - "2838": { + "6866": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.serviceName" }, - "2839": { + "6867": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.relationship" }, - "2840": { + "6868": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.args" }, - "2841": { + "6869": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerArgument" }, - "2842": { + "6870": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerArgument.name" }, - "2843": { + "6871": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerArgument.value" }, - "2844": { + "6872": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerDirective" }, - "2845": { + "6873": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerDirective.name" }, - "2846": { + "6874": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerDirective.value" }, - "2847": { + "6875": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "RemoteJoinerQuery" }, - "2848": { + "6876": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "RemoteJoinerQuery.service" }, - "2849": { + "6877": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "RemoteJoinerQuery.alias" }, - "2850": { + "6878": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "RemoteJoinerQuery.expands" }, - "2851": { + "6879": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type" }, - "2852": { + "6880": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.property" }, - "2853": { + "6881": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.fields" }, - "2854": { + "6882": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.args" }, - "2855": { + "6883": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.directives" }, - "2856": { + "6884": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type" }, - "2857": { + "6885": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.__index" }, - "2859": { + "6887": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "RemoteJoinerQuery.fields" }, - "2860": { + "6888": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "RemoteJoinerQuery.args" }, - "2861": { + "6889": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "RemoteJoinerQuery.directives" }, - "2862": { + "6890": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type" }, - "2863": { + "6891": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.__index" }, - "2865": { + "6893": { + "sourceFileName": "../../../packages/types/src/joiner/index.ts", + "qualifiedName": "RemoteJoinerOptions" + }, + "6894": { + "sourceFileName": "../../../packages/types/src/joiner/index.ts", + "qualifiedName": "RemoteJoinerOptions.throwIfKeyNotFound" + }, + "6895": { + "sourceFileName": "../../../packages/types/src/joiner/index.ts", + "qualifiedName": "RemoteJoinerOptions.throwIfRelationNotFound" + }, + "6896": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "RemoteNestedExpands" }, - "2866": { + "6897": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "RemoteNestedExpands.__index" }, - "2868": { + "6899": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type" }, - "2869": { + "6900": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.fields" }, - "2870": { + "6901": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.args" }, - "2871": { + "6902": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.expands" }, - "2872": { + "6903": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "RemoteExpandProperty" }, - "2873": { + "6904": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "RemoteExpandProperty.property" }, - "2874": { + "6905": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "RemoteExpandProperty.parent" }, - "2875": { + "6906": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "RemoteExpandProperty.parentConfig" }, - "2876": { + "6907": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "RemoteExpandProperty.serviceConfig" }, - "2877": { + "6908": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "RemoteExpandProperty.fields" }, - "2878": { + "6909": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "RemoteExpandProperty.args" }, - "2879": { + "6910": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "RemoteExpandProperty.expands" }, - "2880": { + "6911": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "ILinkModule" }, - "2881": { + "6912": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "ILinkModule.list" }, - "2882": { + "6913": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "ILinkModule.list" }, - "2883": { + "6914": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "filters" }, - "2884": { + "6915": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "config" }, - "2885": { + "6916": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "sharedContext" }, - "2886": { + "6917": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "ILinkModule.listAndCount" }, - "2887": { + "6918": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "ILinkModule.listAndCount" }, - "2888": { + "6919": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "filters" }, - "2889": { + "6920": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "config" }, - "2890": { + "6921": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "sharedContext" }, - "2891": { + "6922": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "ILinkModule.create" }, - "2892": { + "6923": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "ILinkModule.create" }, - "2893": { + "6924": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "primaryKeyOrBulkData" }, - "2894": { + "6925": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "foreignKeyData" }, - "2895": { + "6926": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "sharedContext" }, - "2896": { + "6927": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "ILinkModule.dismiss" }, - "2897": { + "6928": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "ILinkModule.dismiss" }, - "2898": { + "6929": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "primaryKeyOrBulkData" }, - "2899": { + "6930": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "foreignKeyData" }, - "2900": { + "6931": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "sharedContext" }, - "2901": { + "6932": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "ILinkModule.delete" }, - "2902": { + "6933": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "ILinkModule.delete" }, - "2903": { + "6934": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "data" }, - "2904": { + "6935": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "sharedContext" }, - "2905": { + "6936": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "ILinkModule.softDelete" }, - "2906": { + "6937": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "ILinkModule.softDelete" }, - "2907": { + "6938": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "data" }, - "2908": { + "6939": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "config" }, - "2909": { + "6940": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "sharedContext" }, - "2910": { + "6941": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "ILinkModule.restore" }, - "2911": { + "6942": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "ILinkModule.restore" }, - "2912": { + "6943": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "data" }, - "2913": { + "6944": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "config" }, - "2914": { + "6945": { "sourceFileName": "../../../packages/types/src/link-modules/index.ts", "qualifiedName": "sharedContext" }, - "2922": { + "6959": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionStatus" }, - "2923": { + "6960": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionStatus.NOT_PAID" }, - "2924": { + "6961": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionStatus.AWAITING" }, - "2925": { + "6962": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionStatus.AUTHORIZED" }, - "2926": { + "6963": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionStatus.PARTIALLY_AUTHORIZED" }, - "2927": { + "6964": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionStatus.CANCELED" }, - "2928": { + "6965": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "PaymentSessionStatus" + }, + "6966": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "PaymentSessionStatus.AUTHORIZED" + }, + "6967": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "PaymentSessionStatus.PENDING" + }, + "6968": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "PaymentSessionStatus.REQUIRES_MORE" + }, + "6969": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "PaymentSessionStatus.ERROR" + }, + "6970": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "PaymentSessionStatus.CANCELED" + }, + "6971": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionDTO" }, - "2929": { + "6972": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionDTO.id" }, - "2930": { + "6973": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionDTO.currency_code" }, - "2931": { + "6974": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionDTO.region_id" }, - "2932": { + "6975": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionDTO.amount" }, - "2933": { + "6976": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionDTO.authorized_amount" }, - "2934": { + "6977": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionDTO.refunded_amount" }, - "2935": { + "6978": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionDTO.completed_at" }, - "2936": { + "6979": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionDTO.created_at" }, - "2937": { + "6980": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionDTO.updated_at" }, - "2938": { + "6981": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionDTO.metadata" }, - "2939": { + "6982": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionDTO.status" }, - "2940": { + "6983": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionDTO.payment_providers" }, - "2941": { + "6984": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionDTO.payment_sessions" }, - "2942": { + "6985": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentCollectionDTO.payments" }, - "2943": { + "6986": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "FilterablePaymentCollectionProps" }, - "2944": { + "6987": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "FilterablePaymentCollectionProps.id" }, - "2945": { + "6988": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "FilterablePaymentCollectionProps.region_id" }, - "2946": { + "6989": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "FilterablePaymentCollectionProps.created_at" }, - "2947": { + "6990": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "FilterablePaymentCollectionProps.updated_at" }, - "2948": { + "6991": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$and" }, - "2949": { + "6992": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$or" }, - "2950": { + "6993": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentSessionProps" + }, + "6994": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentSessionProps.id" + }, + "6995": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentSessionProps.currency_code" + }, + "6996": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentSessionProps.amount" + }, + "6997": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentSessionProps.provider_id" + }, + "6998": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentSessionProps.payment_collection_id" + }, + "6999": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentSessionProps.region_id" + }, + "7000": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentSessionProps.created_at" + }, + "7001": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentSessionProps.updated_at" + }, + "7002": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentSessionProps.deleted_at" + }, + "7003": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "7004": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "7005": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterableCaptureProps" + }, + "7006": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterableCaptureProps.id" + }, + "7007": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterableCaptureProps.currency_code" + }, + "7008": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterableCaptureProps.amount" + }, + "7009": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterableCaptureProps.payment_id" + }, + "7010": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterableCaptureProps.created_at" + }, + "7011": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterableCaptureProps.updated_at" + }, + "7012": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterableCaptureProps.deleted_at" + }, + "7013": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "7014": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "7015": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterableRefundProps" + }, + "7016": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterableRefundProps.id" + }, + "7017": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterableRefundProps.currency_code" + }, + "7018": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterableRefundProps.amount" + }, + "7019": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterableRefundProps.payment_id" + }, + "7020": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterableRefundProps.created_at" + }, + "7021": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterableRefundProps.updated_at" + }, + "7022": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterableRefundProps.deleted_at" + }, + "7023": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "7024": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "7025": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO" }, - "2951": { + "7026": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.id" }, - "2952": { + "7027": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.amount" }, - "2953": { + "7028": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.authorized_amount" }, - "2954": { + "7029": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.currency_code" }, - "2955": { + "7030": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.provider_id" }, - "2956": { + "7031": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.cart_id" }, - "2957": { + "7032": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.order_id" }, - "2958": { + "7033": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.order_edit_id" }, - "2959": { + "7034": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.customer_id" }, - "2960": { + "7035": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.data" }, - "2961": { + "7036": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.created_at" }, - "2962": { + "7037": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.updated_at" }, - "2963": { + "7038": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.captured_at" }, - "2964": { + "7039": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.canceled_at" }, - "2965": { + "7040": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.captured_amount" }, - "2966": { + "7041": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.refunded_amount" }, - "2967": { + "7042": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.captures" }, - "2968": { + "7043": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.refunds" }, - "2969": { + "7044": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.payment_collection" }, - "2970": { + "7045": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentDTO.payment_session" }, - "2971": { + "7046": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentProps" + }, + "7047": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentProps.q" + }, + "7048": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentProps.id" + }, + "7049": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentProps.session_id" + }, + "7050": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentProps.customer_id" + }, + "7051": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentProps.cart_id" + }, + "7052": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentProps.order_id" + }, + "7053": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentProps.order_edit_id" + }, + "7054": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentProps.created_at" + }, + "7055": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentProps.updated_at" + }, + "7056": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentProps.captured_at" + }, + "7057": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentProps.canceled_at" + }, + "7058": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "7059": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "7060": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "CaptureDTO" }, - "2972": { + "7061": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "CaptureDTO.id" }, - "2973": { + "7062": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "CaptureDTO.amount" }, - "2974": { + "7063": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "CaptureDTO.created_at" }, - "2975": { + "7064": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "CaptureDTO.created_by" }, - "2976": { + "7065": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "CaptureDTO.payment" }, - "2977": { + "7066": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "RefundDTO" }, - "2978": { + "7067": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "RefundDTO.id" }, - "2979": { + "7068": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "RefundDTO.amount" }, - "2980": { + "7069": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "RefundDTO.created_at" }, - "2981": { + "7070": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "RefundDTO.created_by" }, - "2982": { + "7071": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "RefundDTO.payment" }, - "2983": { + "7072": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentSessionDTO" }, - "2984": { + "7073": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentSessionDTO.id" }, - "2985": { + "7074": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "PaymentSessionDTO.amount" + }, + "7075": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "PaymentSessionDTO.currency_code" + }, + "7076": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "PaymentSessionDTO.provider_id" + }, + "7077": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "PaymentSessionDTO.data" + }, + "7078": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "PaymentSessionDTO.context" + }, + "7079": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "PaymentSessionDTO.status" + }, + "7080": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "PaymentSessionDTO.authorized_at" + }, + "7081": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "PaymentSessionDTO.payment_collection" + }, + "7082": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "PaymentSessionDTO.payment" + }, + "7083": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentProviderDTO" }, - "2986": { + "7084": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentProviderDTO.id" }, - "2987": { + "7085": { "sourceFileName": "../../../packages/types/src/payment/common.ts", "qualifiedName": "PaymentProviderDTO.is_enabled" }, - "2988": { + "7086": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentProviderProps" + }, + "7087": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentProviderProps.id" + }, + "7088": { + "sourceFileName": "../../../packages/types/src/payment/common.ts", + "qualifiedName": "FilterablePaymentProviderProps.is_enabled" + }, + "7089": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "7090": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "7091": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreatePaymentCollectionDTO" }, - "2989": { + "7092": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreatePaymentCollectionDTO.region_id" }, - "2990": { + "7093": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreatePaymentCollectionDTO.currency_code" }, - "2991": { + "7094": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreatePaymentCollectionDTO.amount" }, - "2992": { + "7095": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreatePaymentCollectionDTO.metadata" }, - "2993": { + "7096": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "UpdatePaymentCollectionDTO" }, - "2994": { + "7097": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "UpdatePaymentCollectionDTO.id" }, - "2995": { + "7098": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", - "qualifiedName": "UpdatePaymentCollectionDTO.authorized_amount" + "qualifiedName": "region_id" }, - "2996": { + "7099": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", - "qualifiedName": "UpdatePaymentCollectionDTO.refunded_amount" + "qualifiedName": "currency_code" }, - "2997": { + "7100": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", - "qualifiedName": "UpdatePaymentCollectionDTO.status" + "qualifiedName": "amount" }, - "2998": { + "7101": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", - "qualifiedName": "region_id" + "qualifiedName": "metadata" }, - "2999": { + "7102": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", - "qualifiedName": "currency_code" + "qualifiedName": "UpsertPaymentCollectionDTO" }, - "3000": { + "7103": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", - "qualifiedName": "amount" + "qualifiedName": "UpsertPaymentCollectionDTO.id" }, - "3001": { + "7104": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", - "qualifiedName": "metadata" + "qualifiedName": "UpsertPaymentCollectionDTO.region_id" }, - "3002": { + "7105": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "UpsertPaymentCollectionDTO.currency_code" + }, + "7106": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "UpsertPaymentCollectionDTO.amount" + }, + "7107": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "UpsertPaymentCollectionDTO.metadata" + }, + "7108": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "PaymentCollectionUpdatableFields" + }, + "7109": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "PaymentCollectionUpdatableFields.region_id" + }, + "7110": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "PaymentCollectionUpdatableFields.currency_code" + }, + "7111": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "PaymentCollectionUpdatableFields.amount" + }, + "7112": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "PaymentCollectionUpdatableFields.metadata" + }, + "7113": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreatePaymentDTO" }, - "3003": { + "7114": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreatePaymentDTO.amount" }, - "3004": { + "7115": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreatePaymentDTO.currency_code" }, - "3005": { + "7116": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreatePaymentDTO.provider_id" }, - "3006": { + "7117": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreatePaymentDTO.data" }, - "3007": { + "7118": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreatePaymentDTO.payment_session_id" }, - "3008": { + "7119": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreatePaymentDTO.payment_collection_id" }, - "3009": { + "7120": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreatePaymentDTO.cart_id" }, - "3010": { + "7121": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreatePaymentDTO.order_id" }, - "3011": { + "7122": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreatePaymentDTO.order_edit_id" }, - "3012": { + "7123": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreatePaymentDTO.customer_id" }, - "3013": { + "7124": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "UpdatePaymentDTO" }, - "3014": { + "7125": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "UpdatePaymentDTO.id" }, - "3015": { + "7126": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "UpdatePaymentDTO.cart_id" }, - "3016": { + "7127": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "UpdatePaymentDTO.order_id" }, - "3017": { + "7128": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "UpdatePaymentDTO.order_edit_id" }, - "3018": { + "7129": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "UpdatePaymentDTO.customer_id" }, - "3019": { - "sourceFileName": "../../../packages/types/src/payment/mutations.ts", - "qualifiedName": "UpdatePaymentDTO.data" - }, - "3020": { + "7130": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreateCaptureDTO" }, - "3021": { + "7131": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreateCaptureDTO.amount" }, - "3022": { + "7132": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreateCaptureDTO.payment_id" }, - "3023": { + "7133": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreateCaptureDTO.captured_by" }, - "3024": { + "7134": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreateRefundDTO" }, - "3025": { + "7135": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreateRefundDTO.amount" }, - "3026": { + "7136": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreateRefundDTO.payment_id" }, - "3027": { + "7137": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreateRefundDTO.created_by" }, - "3028": { + "7138": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreatePaymentSessionDTO" }, - "3029": { + "7139": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", - "qualifiedName": "CreatePaymentSessionDTO.amount" + "qualifiedName": "CreatePaymentSessionDTO.provider_id" }, - "3030": { + "7140": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", "qualifiedName": "CreatePaymentSessionDTO.currency_code" }, - "3031": { + "7141": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", - "qualifiedName": "CreatePaymentSessionDTO.provider_id" + "qualifiedName": "CreatePaymentSessionDTO.amount" }, - "3032": { + "7142": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", - "qualifiedName": "CreatePaymentSessionDTO.cart_id" + "qualifiedName": "CreatePaymentSessionDTO.data" }, - "3033": { + "7143": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", - "qualifiedName": "CreatePaymentSessionDTO.resource_id" + "qualifiedName": "CreatePaymentSessionDTO.context" }, - "3034": { + "7144": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", - "qualifiedName": "CreatePaymentSessionDTO.customer_id" + "qualifiedName": "UpdatePaymentSessionDTO" }, - "3035": { + "7145": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", - "qualifiedName": "SetPaymentSessionsDTO" + "qualifiedName": "UpdatePaymentSessionDTO.id" }, - "3036": { + "7146": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", - "qualifiedName": "SetPaymentSessionsDTO.provider_id" + "qualifiedName": "UpdatePaymentSessionDTO.data" }, - "3037": { + "7147": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", - "qualifiedName": "SetPaymentSessionsDTO.amount" + "qualifiedName": "UpdatePaymentSessionDTO.currency_code" }, - "3038": { + "7148": { "sourceFileName": "../../../packages/types/src/payment/mutations.ts", - "qualifiedName": "SetPaymentSessionsDTO.session_id" + "qualifiedName": "UpdatePaymentSessionDTO.amount" }, - "3039": { + "7149": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "UpdatePaymentSessionDTO.context" + }, + "7150": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "CreatePaymentProviderDTO" + }, + "7151": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "CreatePaymentProviderDTO.id" + }, + "7152": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "CreatePaymentProviderDTO.is_enabled" + }, + "7153": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "ProviderWebhookPayload" + }, + "7154": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "ProviderWebhookPayload.provider" + }, + "7155": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "ProviderWebhookPayload.payload" + }, + "7156": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "__type" + }, + "7157": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "__type.data" + }, + "7158": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "__type.rawData" + }, + "7159": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "__type.headers" + }, + "7160": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "PaymentAddressDTO" + }, + "7161": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "PaymentCustomerDTO" + }, + "7162": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "PaymentActions" + }, + "7163": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "PaymentActions.AUTHORIZED" + }, + "7164": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "PaymentActions.SUCCESSFUL" + }, + "7165": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "PaymentActions.FAILED" + }, + "7166": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "PaymentActions.NOT_SUPPORTED" + }, + "7167": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "PaymentProviderContext" + }, + "7168": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "__type.billing_address" + }, + "7169": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "__type.email" + }, + "7170": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "__type.resource_id" + }, + "7171": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "__type.customer" + }, + "7172": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "__type.extra" + }, + "7173": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "CreatePaymentProviderSession" + }, + "7174": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "__type.context" + }, + "7175": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "__type.amount" + }, + "7176": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "__type.currency_code" + }, + "7177": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "UpdatePaymentProviderSession" + }, + "7178": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "__type.context" + }, + "7179": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "__type.data" + }, + "7180": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "__type.amount" + }, + "7181": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "__type.currency_code" + }, + "7182": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "PaymentProviderSessionResponse" + }, + "7183": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "__type.data" + }, + "7184": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "PaymentProviderAuthorizeResponse" + }, + "7185": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "__type.status" + }, + "7186": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "__type.data" + }, + "7187": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "PaymentProviderDataInput" + }, + "7188": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "__type.provider_id" + }, + "7189": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "__type.data" + }, + "7190": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "PaymentProviderError" + }, + "7191": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "PaymentProviderError.error" + }, + "7192": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "PaymentProviderError.code" + }, + "7193": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "PaymentProviderError.detail" + }, + "7194": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "WebhookActionData" + }, + "7195": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "__type.resource_id" + }, + "7196": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "__type.amount" + }, + "7197": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "WebhookActionResult" + }, + "7198": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "action" + }, + "7199": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider" + }, + "7202": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.initiatePayment" + }, + "7203": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.initiatePayment" + }, + "7204": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "data" + }, + "7205": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.updatePayment" + }, + "7206": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.updatePayment" + }, + "7207": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "context" + }, + "7208": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.deletePayment" + }, + "7209": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.deletePayment" + }, + "7210": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "paymentSessionData" + }, + "7211": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.authorizePayment" + }, + "7212": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.authorizePayment" + }, + "7213": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "paymentSessionData" + }, + "7214": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "context" + }, + "7215": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.capturePayment" + }, + "7216": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.capturePayment" + }, + "7217": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "paymentSessionData" + }, + "7218": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.refundPayment" + }, + "7219": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.refundPayment" + }, + "7220": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "paymentSessionData" + }, + "7221": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "refundAmount" + }, + "7222": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.retrievePayment" + }, + "7223": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.retrievePayment" + }, + "7224": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "paymentSessionData" + }, + "7225": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.cancelPayment" + }, + "7226": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.cancelPayment" + }, + "7227": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "paymentSessionData" + }, + "7228": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.getPaymentStatus" + }, + "7229": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.getPaymentStatus" + }, + "7230": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "paymentSessionData" + }, + "7231": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.getWebhookActionAndData" + }, + "7232": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "IPaymentProvider.getWebhookActionAndData" + }, + "7233": { + "sourceFileName": "../../../packages/types/src/payment/provider.ts", + "qualifiedName": "data" + }, + "7234": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "__type" + }, + "7235": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "__type.data" + }, + "7236": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "__type.rawData" + }, + "7237": { + "sourceFileName": "../../../packages/types/src/payment/mutations.ts", + "qualifiedName": "__type.headers" + }, + "7238": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "IPaymentModuleService" }, - "3040": { + "7239": { "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.createPaymentCollection" + "qualifiedName": "IPaymentModuleService.createPaymentCollections" }, - "3041": { + "7240": { "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.createPaymentCollection" + "qualifiedName": "IPaymentModuleService.createPaymentCollections" }, - "3042": { + "7241": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "data" }, - "3043": { + "7242": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "sharedContext" }, - "3044": { + "7243": { "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.createPaymentCollection" + "qualifiedName": "IPaymentModuleService.createPaymentCollections" }, - "3045": { + "7244": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "data" }, - "3046": { + "7245": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "sharedContext" }, - "3047": { + "7246": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "IPaymentModuleService.retrievePaymentCollection" }, - "3048": { + "7247": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "IPaymentModuleService.retrievePaymentCollection" }, - "3049": { + "7248": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "paymentCollectionId" }, - "3050": { + "7249": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "config" }, - "3051": { + "7250": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "sharedContext" }, - "3052": { + "7251": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "IPaymentModuleService.listPaymentCollections" }, - "3053": { + "7252": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "IPaymentModuleService.listPaymentCollections" }, - "3054": { + "7253": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "filters" }, - "3055": { + "7254": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "config" }, - "3056": { + "7255": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "sharedContext" }, - "3057": { + "7256": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "IPaymentModuleService.listAndCountPaymentCollections" }, - "3058": { + "7257": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "IPaymentModuleService.listAndCountPaymentCollections" }, - "3059": { + "7258": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "filters" }, - "3060": { + "7259": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "config" }, - "3061": { + "7260": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "sharedContext" }, - "3062": { + "7261": { "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.updatePaymentCollection" + "qualifiedName": "IPaymentModuleService.updatePaymentCollections" }, - "3063": { + "7262": { "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.updatePaymentCollection" + "qualifiedName": "IPaymentModuleService.updatePaymentCollections" }, - "3064": { + "7263": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "paymentCollectionId" + }, + "7264": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "data" }, - "3065": { + "7265": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "sharedContext" }, - "3066": { + "7266": { "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.updatePaymentCollection" + "qualifiedName": "IPaymentModuleService.updatePaymentCollections" }, - "3067": { + "7267": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "selector" + }, + "7268": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "data" }, - "3068": { + "7269": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "sharedContext" }, - "3069": { + "7270": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.upsertPaymentCollections" + }, + "7271": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.upsertPaymentCollections" + }, + "7272": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "data" + }, + "7273": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "sharedContext" + }, + "7274": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.upsertPaymentCollections" + }, + "7275": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "data" + }, + "7276": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "sharedContext" + }, + "7277": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "IPaymentModuleService.deletePaymentCollections" }, - "3070": { + "7278": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "IPaymentModuleService.deletePaymentCollections" }, - "3071": { + "7279": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "paymentCollectionId" }, - "3072": { + "7280": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "sharedContext" }, - "3073": { + "7281": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "IPaymentModuleService.deletePaymentCollections" }, - "3074": { + "7282": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "paymentCollectionId" }, - "3075": { + "7283": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "sharedContext" }, - "3076": { + "7284": { "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.authorizePaymentCollection" + "qualifiedName": "IPaymentModuleService.completePaymentCollections" }, - "3077": { + "7285": { "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.authorizePaymentCollection" + "qualifiedName": "IPaymentModuleService.completePaymentCollections" }, - "3078": { + "7286": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "paymentCollectionId" }, - "3079": { + "7287": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "sharedContext" }, - "3080": { + "7288": { "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.completePaymentCollection" + "qualifiedName": "IPaymentModuleService.completePaymentCollections" }, - "3081": { + "7289": { "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.completePaymentCollection" + "qualifiedName": "paymentCollectionId" }, - "3082": { + "7290": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "sharedContext" + }, + "7291": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.createPaymentSession" + }, + "7292": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.createPaymentSession" + }, + "7293": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "paymentCollectionId" }, - "3083": { + "7294": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "data" + }, + "7295": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "sharedContext" }, - "3084": { + "7296": { "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.createPayment" + "qualifiedName": "IPaymentModuleService.updatePaymentSession" }, - "3085": { + "7297": { "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.createPayment" + "qualifiedName": "IPaymentModuleService.updatePaymentSession" }, - "3086": { + "7298": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "data" }, - "3087": { + "7299": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "sharedContext" }, - "3088": { + "7300": { "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.createPayment" + "qualifiedName": "IPaymentModuleService.deletePaymentSession" }, - "3089": { + "7301": { "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "data" + "qualifiedName": "IPaymentModuleService.deletePaymentSession" }, - "3090": { + "7302": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "id" + }, + "7303": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "sharedContext" }, - "3091": { + "7304": { "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.capturePayment" + "qualifiedName": "IPaymentModuleService.authorizePaymentSession" }, - "3092": { + "7305": { "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.capturePayment" + "qualifiedName": "IPaymentModuleService.authorizePaymentSession" }, - "3093": { + "7306": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "id" + }, + "7307": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "context" + }, + "7308": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "sharedContext" + }, + "7309": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.listPaymentSessions" + }, + "7310": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.listPaymentSessions" + }, + "7311": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "filters" + }, + "7312": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "config" + }, + "7313": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "sharedContext" + }, + "7314": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.listPayments" + }, + "7315": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.listPayments" + }, + "7316": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "filters" + }, + "7317": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "config" + }, + "7318": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "sharedContext" + }, + "7319": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.updatePayment" + }, + "7320": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.updatePayment" + }, + "7321": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "data" }, - "3094": { + "7322": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "sharedContext" }, - "3095": { + "7323": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "IPaymentModuleService.capturePayment" }, - "3096": { + "7324": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.capturePayment" + }, + "7325": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "data" }, - "3097": { + "7326": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "sharedContext" }, - "3098": { + "7327": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "IPaymentModuleService.refundPayment" }, - "3099": { + "7328": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "IPaymentModuleService.refundPayment" }, - "3100": { + "7329": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "data" }, - "3101": { + "7330": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "sharedContext" }, - "3102": { + "7331": { "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.refundPayment" + "qualifiedName": "IPaymentModuleService.cancelPayment" }, - "3103": { + "7332": { "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "data" + "qualifiedName": "IPaymentModuleService.cancelPayment" }, - "3104": { + "7333": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "paymentId" + }, + "7334": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "sharedContext" + }, + "7335": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.listPaymentProviders" + }, + "7336": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.listPaymentProviders" + }, + "7337": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "filters" + }, + "7338": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "config" + }, + "7339": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "sharedContext" + }, + "7340": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.listAndCountPaymentProviders" + }, + "7341": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.listAndCountPaymentProviders" + }, + "7342": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "filters" + }, + "7343": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "config" + }, + "7344": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "sharedContext" + }, + "7345": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.listCaptures" + }, + "7346": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.listCaptures" + }, + "7347": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "filters" + }, + "7348": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "config" + }, + "7349": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "sharedContext" + }, + "7350": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.listRefunds" + }, + "7351": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.listRefunds" + }, + "7352": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "filters" + }, + "7353": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "config" + }, + "7354": { "sourceFileName": "../../../packages/types/src/payment/service.ts", "qualifiedName": "sharedContext" }, - "3105": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.cancelPayment" + "7355": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.processEvent" + }, + "7356": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "IPaymentModuleService.processEvent" + }, + "7357": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "data" + }, + "7371": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "PaymentModuleOptions" + }, + "7372": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "PaymentModuleOptions.webhook_delay" + }, + "7373": { + "sourceFileName": "../../../packages/types/src/payment/service.ts", + "qualifiedName": "PaymentModuleOptions.webhook_retries" + }, + "7374": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "MoneyAmountDTO" + }, + "7375": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "MoneyAmountDTO.id" + }, + "7376": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "MoneyAmountDTO.currency_code" + }, + "7377": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "MoneyAmountDTO.amount" + }, + "7378": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "MoneyAmountDTO.min_quantity" + }, + "7379": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "MoneyAmountDTO.max_quantity" + }, + "7380": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "MoneyAmountDTO.created_at" + }, + "7381": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "MoneyAmountDTO.updated_at" + }, + "7382": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "MoneyAmountDTO.deleted_at" + }, + "7383": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "CreateMoneyAmountDTO" + }, + "7384": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "CreateMoneyAmountDTO.id" + }, + "7385": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "CreateMoneyAmountDTO.currency_code" + }, + "7386": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "CreateMoneyAmountDTO.amount" + }, + "7387": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "CreateMoneyAmountDTO.min_quantity" + }, + "7388": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "CreateMoneyAmountDTO.max_quantity" + }, + "7389": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO" + }, + "7390": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.id" + }, + "7391": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.currency_code" + }, + "7392": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.amount" + }, + "7393": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.min_quantity" + }, + "7394": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.max_quantity" + }, + "7395": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "FilterableMoneyAmountProps" + }, + "7396": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "FilterableMoneyAmountProps.id" + }, + "7397": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "FilterableMoneyAmountProps.currency_code" + }, + "7398": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "7399": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "7400": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO" + }, + "7401": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.id" + }, + "7402": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.title" + }, + "7403": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.currency_code" + }, + "7404": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.amount" + }, + "7405": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.min_quantity" + }, + "7406": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.max_quantity" + }, + "7407": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.price_set" + }, + "7408": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.price_list" + }, + "7409": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.price_set_id" + }, + "7410": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.price_rules" + }, + "7411": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.created_at" + }, + "7412": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.updated_at" + }, + "7413": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.deleted_at" + }, + "7414": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "UpdatePriceDTO" + }, + "7415": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "UpdatePriceDTO.id" + }, + "7416": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "UpdatePriceDTO.title" + }, + "7417": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "UpdatePriceDTO.price_set" + }, + "7418": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "UpdatePriceDTO.currency_code" + }, + "7419": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "UpdatePriceDTO.amount" + }, + "7420": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "UpdatePriceDTO.min_quantity" + }, + "7421": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "UpdatePriceDTO.max_quantity" + }, + "7422": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "CreatePriceDTO" + }, + "7423": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "CreatePriceDTO.title" + }, + "7424": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "CreatePriceDTO.price_set" + }, + "7425": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "CreatePriceDTO.price_set_id" + }, + "7426": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "CreatePriceDTO.price_list" + }, + "7427": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "CreatePriceDTO.rules_count" + }, + "7428": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "CreatePriceDTO.currency_code" + }, + "7429": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "CreatePriceDTO.amount" + }, + "7430": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "CreatePriceDTO.min_quantity" + }, + "7431": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "CreatePriceDTO.max_quantity" + }, + "7432": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "FilterablePriceProps" + }, + "7433": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "FilterablePriceProps.id" + }, + "7434": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "FilterablePriceProps.currency_code" + }, + "7435": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "FilterablePriceProps.price_set_id" + }, + "7436": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "FilterablePriceProps.price_list_id" + }, + "7437": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "7438": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "7439": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListStatus" + }, + "7440": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListStatus.ACTIVE" + }, + "7441": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListStatus.DRAFT" + }, + "7442": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListType" + }, + "7443": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListType.SALE" + }, + "7444": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListType.OVERRIDE" + }, + "7445": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListDTO" + }, + "7446": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListDTO.id" + }, + "7447": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListDTO.title" + }, + "7448": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListDTO.starts_at" + }, + "7449": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListDTO.status" + }, + "7450": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListDTO.ends_at" + }, + "7451": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListDTO.rules_count" + }, + "7452": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListDTO.prices" + }, + "7453": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListDTO.money_amounts" + }, + "7454": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListDTO.rule_types" + }, + "7455": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListDTO.rules" + }, + "7456": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListDTO.price_list_rules" + }, + "7457": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListPriceDTO" + }, + "7458": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListPriceDTO.price_set_id" + }, + "7459": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListPriceDTO.rules" + }, + "7460": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "CreateMoneyAmountDTO.id" + }, + "7461": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "CreateMoneyAmountDTO.currency_code" + }, + "7462": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "CreateMoneyAmountDTO.amount" + }, + "7463": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "CreateMoneyAmountDTO.min_quantity" + }, + "7464": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "CreateMoneyAmountDTO.max_quantity" + }, + "7465": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListPriceDTO" + }, + "7466": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListPriceDTO.price_set_id" + }, + "7467": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListPriceDTO.rules" + }, + "7468": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.id" + }, + "7469": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.currency_code" + }, + "7470": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.amount" + }, + "7471": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.min_quantity" }, - "3106": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.cancelPayment" + "7472": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.max_quantity" }, - "3107": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "paymentId" + "7473": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceSetPriceRules" }, - "3108": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "sharedContext" + "7474": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListRules" }, - "3109": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.cancelPayment" + "7475": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListDTO" }, - "3110": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "paymentId" + "7476": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListDTO.title" }, - "3111": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "sharedContext" + "7477": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListDTO.description" }, - "3112": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.updatePayment" + "7478": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListDTO.starts_at" }, - "3113": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.updatePayment" + "7479": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListDTO.ends_at" }, - "3114": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "data" + "7480": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListDTO.status" }, - "3115": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "sharedContext" + "7481": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListDTO.type" }, - "3116": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.updatePayment" + "7482": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListDTO.rules_count" }, - "3117": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "data" + "7483": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListDTO.rules" }, - "3118": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "sharedContext" + "7484": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListDTO.prices" }, - "3119": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.createPaymentSession" + "7485": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListDTO" }, - "3120": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.createPaymentSession" + "7486": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListDTO.id" }, - "3121": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "paymentCollectionId" + "7487": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListDTO.title" }, - "3122": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "data" + "7488": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListDTO.description" }, - "3123": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "sharedContext" + "7489": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListDTO.starts_at" }, - "3124": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.createPaymentSession" + "7490": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListDTO.ends_at" }, - "3125": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "paymentCollectionId" + "7491": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListDTO.status" }, - "3126": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "data" + "7492": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListDTO.rules_count" }, - "3127": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "sharedContext" + "7493": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListDTO.rules" }, - "3128": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.authorizePaymentSessions" + "7494": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "FilterablePriceListProps" }, - "3129": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.authorizePaymentSessions" + "7495": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "FilterablePriceListProps.q" }, - "3130": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "paymentCollectionId" + "7496": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "FilterablePriceListProps.id" }, - "3131": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "sessionIds" + "7497": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "FilterablePriceListProps.starts_at" }, - "3132": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "sharedContext" + "7498": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "FilterablePriceListProps.ends_at" }, - "3133": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.completePaymentSessions" + "7499": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "FilterablePriceListProps.status" }, - "3134": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.completePaymentSessions" + "7500": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "FilterablePriceListProps.rules_count" }, - "3135": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "paymentCollectionId" + "7501": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "3136": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "sessionIds" + "7502": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "3137": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "sharedContext" + "7503": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "FilterablePriceListRuleProps" }, - "3138": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.setPaymentSessions" + "7504": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "FilterablePriceListRuleProps.id" }, - "3139": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "IPaymentModuleService.setPaymentSessions" + "7505": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "FilterablePriceListRuleProps.value" }, - "3140": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "paymentCollectionId" + "7506": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "FilterablePriceListRuleProps.rule_type" }, - "3141": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "data" + "7507": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "FilterablePriceListRuleProps.price_list_id" }, - "3142": { - "sourceFileName": "../../../packages/types/src/payment/service.ts", - "qualifiedName": "sharedContext" + "7508": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "3150": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CurrencyDTO" + "7509": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "3151": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CurrencyDTO.code" + "7510": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "FilterablePriceListRuleValueProps" }, - "3152": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CurrencyDTO.symbol" + "7511": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "FilterablePriceListRuleValueProps.id" }, - "3153": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CurrencyDTO.symbol_native" + "7512": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "FilterablePriceListRuleValueProps.value" }, - "3154": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CurrencyDTO.name" + "7513": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "FilterablePriceListRuleValueProps.price_list_rule_id" }, - "3155": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CreateCurrencyDTO" + "7514": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "3156": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CreateCurrencyDTO.code" + "7515": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "3157": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CreateCurrencyDTO.symbol" + "7516": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListRuleDTO" }, - "3158": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CreateCurrencyDTO.symbol_native" + "7517": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListRuleDTO.id" }, - "3159": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CreateCurrencyDTO.name" + "7518": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListRuleDTO.value" }, - "3160": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "UpdateCurrencyDTO" + "7519": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListRuleDTO.rule_type" }, - "3161": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "UpdateCurrencyDTO.code" + "7520": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListRuleDTO.price_list" }, - "3162": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "UpdateCurrencyDTO.symbol" + "7521": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListRuleDTO.price_list_rule_values" }, - "3163": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "UpdateCurrencyDTO.symbol_native" + "7522": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListRuleDTO" }, - "3164": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "UpdateCurrencyDTO.name" + "7523": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListRuleDTO.rule_type_id" }, - "3165": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "FilterableCurrencyProps" + "7524": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListRuleDTO.rule_type" }, - "3166": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "FilterableCurrencyProps.code" + "7525": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListRuleDTO.price_list_id" }, - "3167": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "7526": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListRuleDTO.price_list" }, - "3168": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "7527": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListRuleDTO" }, - "3169": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO" + "7528": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListRuleDTO.id" }, - "3170": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.id" + "7529": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListRuleDTO.price_list_id" }, - "3171": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.currency_code" + "7530": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListRuleDTO.rule_type_id" }, - "3172": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.currency" + "7531": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListRuleDTO.price_list" }, - "3173": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.amount" + "7532": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListRuleDTO.rule_type" }, - "3174": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.min_quantity" + "7533": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListRuleValueDTO" }, - "3175": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.max_quantity" + "7534": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListRuleValueDTO.id" }, - "3176": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.price_set_money_amount" + "7535": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListRuleValueDTO.value" }, - "3177": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.created_at" + "7536": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "PriceListRuleValueDTO.price_list_rule" }, - "3178": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.updated_at" + "7537": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListRuleValueDTO" }, - "3179": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.deleted_at" + "7538": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListRuleValueDTO.value" }, - "3180": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO" + "7539": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListRuleValueDTO.price_list_rule_id" }, - "3181": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.id" + "7540": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "CreatePriceListRuleValueDTO.price_list_rule" }, - "3182": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.currency_code" + "7541": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListRuleValueDTO" }, - "3183": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.currency" + "7542": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListRuleValueDTO.id" }, - "3184": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.amount" + "7543": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListRuleValueDTO.value" }, - "3185": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.min_quantity" + "7544": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListRuleValueDTO.price_list_rule_id" }, - "3186": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.max_quantity" + "7545": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "AddPriceListPricesDTO" }, - "3187": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "UpdateMoneyAmountDTO" + "7546": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "AddPriceListPricesDTO.price_list_id" }, - "3188": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "UpdateMoneyAmountDTO.id" + "7547": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "AddPriceListPricesDTO.prices" }, - "3189": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "UpdateMoneyAmountDTO.currency_code" + "7548": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListPricesDTO" }, - "3190": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "UpdateMoneyAmountDTO.amount" + "7549": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListPricesDTO.price_list_id" }, - "3191": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "UpdateMoneyAmountDTO.min_quantity" + "7550": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListPricesDTO.prices" }, - "3192": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "UpdateMoneyAmountDTO.max_quantity" + "7551": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "SetPriceListRulesDTO" }, - "3193": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "FilterableMoneyAmountProps" + "7552": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "SetPriceListRulesDTO.price_list_id" }, - "3194": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "FilterableMoneyAmountProps.id" + "7553": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "SetPriceListRulesDTO.rules" }, - "3195": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "FilterableMoneyAmountProps.currency_code" + "7554": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "RemovePriceListRulesDTO" }, - "3196": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "7555": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "RemovePriceListRulesDTO.price_list_id" }, - "3197": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "7556": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "RemovePriceListRulesDTO.rules" }, - "3198": { + "7557": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO" }, - "3199": { + "7558": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.id" }, - "3200": { + "7559": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.price_set_id" }, - "3201": { + "7560": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.price_set" }, - "3202": { + "7561": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.rule_type_id" }, - "3203": { + "7562": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.rule_type" }, - "3204": { + "7563": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.value" }, - "3205": { + "7564": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.priority" }, - "3206": { + "7565": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", - "qualifiedName": "PriceRuleDTO.price_set_money_amount_id" + "qualifiedName": "PriceRuleDTO.price_id" }, - "3207": { + "7566": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.price_list_id" }, - "3208": { + "7567": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.created_at" }, - "3209": { + "7568": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.updated_at" }, - "3210": { + "7569": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.deleted_at" }, - "3211": { + "7570": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "CreatePriceRuleDTO" }, - "3212": { + "7571": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "CreatePriceRuleDTO.price_set_id" }, - "3213": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", - "qualifiedName": "CreatePriceRuleDTO.price_set" - }, - "3214": { + "7572": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "CreatePriceRuleDTO.rule_type_id" }, - "3215": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", - "qualifiedName": "CreatePriceRuleDTO.rule_type" - }, - "3216": { + "7573": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "CreatePriceRuleDTO.value" }, - "3217": { + "7574": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "CreatePriceRuleDTO.priority" }, - "3218": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", - "qualifiedName": "CreatePriceRuleDTO.price_set_money_amount_id" - }, - "3219": { + "7575": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", - "qualifiedName": "CreatePriceRuleDTO.price_set_money_amount" + "qualifiedName": "CreatePriceRuleDTO.price_id" }, - "3220": { + "7576": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "UpdatePriceRuleDTO" }, - "3221": { + "7577": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "UpdatePriceRuleDTO.id" }, - "3222": { + "7578": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "UpdatePriceRuleDTO.price_set_id" }, - "3223": { + "7579": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "UpdatePriceRuleDTO.rule_type_id" }, - "3224": { + "7580": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "UpdatePriceRuleDTO.value" }, - "3225": { + "7581": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "UpdatePriceRuleDTO.priority" }, - "3226": { + "7582": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", - "qualifiedName": "UpdatePriceRuleDTO.price_set_money_amount_id" + "qualifiedName": "UpdatePriceRuleDTO.price_id" }, - "3227": { + "7583": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "UpdatePriceRuleDTO.price_list_id" }, - "3228": { + "7584": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "FilterablePriceRuleProps" }, - "3229": { + "7585": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "FilterablePriceRuleProps.id" }, - "3230": { + "7586": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "FilterablePriceRuleProps.name" }, - "3231": { + "7587": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "FilterablePriceRuleProps.price_set_id" }, - "3232": { + "7588": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "FilterablePriceRuleProps.rule_type_id" }, - "3233": { + "7589": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$and" }, - "3234": { + "7590": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$or" }, - "3235": { + "7591": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "PricingRepositoryService" }, - "3236": { + "7592": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "PricingRepositoryService.calculatePrices" }, - "3237": { + "7593": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "PricingRepositoryService.calculatePrices" }, - "3238": { + "7594": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "pricingFilters" }, - "3239": { + "7595": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "pricingContext" }, - "3240": { + "7596": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "context" }, - "3241": { + "7597": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "PricingContext" }, - "3242": { + "7598": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "PricingContext.context" }, - "3243": { + "7599": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "PricingFilters" }, - "3244": { + "7600": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "PricingFilters.id" }, - "3245": { + "7601": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "PriceSetDTO" }, - "3246": { + "7602": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "PriceSetDTO.id" }, - "3247": { + "7603": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "PriceSetDTO.money_amounts" + "qualifiedName": "PriceSetDTO.prices" }, - "3248": { + "7604": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "PriceSetDTO.calculated_price" + }, + "7605": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "PriceSetDTO.rule_types" }, - "3249": { + "7606": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSetDTO" }, - "3250": { + "7607": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSetDTO.id" }, - "3251": { + "7608": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSetDTO.price_set_id" }, - "3252": { + "7609": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSetDTO.amount" }, - "3253": { + "7610": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSetDTO.currency_code" }, - "3254": { + "7611": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSetDTO.min_quantity" }, - "3255": { + "7612": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSetDTO.max_quantity" }, - "3256": { + "7613": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSetDTO.price_list_type" }, - "3257": { + "7614": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSetDTO.price_list_id" }, - "3258": { + "7615": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSet" }, - "3259": { + "7616": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSet.id" }, - "3260": { + "7617": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSet.is_calculated_price_price_list" }, - "3261": { + "7618": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSet.calculated_amount" }, - "3262": { + "7619": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSet.is_original_price_price_list" }, - "3263": { + "7620": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSet.original_amount" }, - "3264": { + "7621": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSet.currency_code" }, - "3265": { + "7622": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSet.calculated_price" }, - "3266": { + "7623": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type" }, - "3267": { + "7624": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "__type.money_amount_id" + "qualifiedName": "__type.id" }, - "3268": { + "7625": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type.price_list_id" }, - "3269": { + "7626": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type.price_list_type" }, - "3270": { + "7627": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type.min_quantity" }, - "3271": { + "7628": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type.max_quantity" }, - "3272": { + "7629": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSet.original_price" }, - "3273": { + "7630": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type" }, - "3274": { + "7631": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "__type.money_amount_id" + "qualifiedName": "__type.id" }, - "3275": { + "7632": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type.price_list_id" }, - "3276": { + "7633": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type.price_list_type" }, - "3277": { + "7634": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type.min_quantity" }, - "3278": { + "7635": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type.max_quantity" }, - "3279": { + "7636": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "AddRulesDTO" }, - "3280": { + "7637": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "AddRulesDTO.priceSetId" }, - "3281": { + "7638": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "AddRulesDTO.rules" }, - "3282": { + "7639": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type" }, - "3283": { + "7640": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type.attribute" }, - "3284": { + "7641": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CreatePricesDTO" }, - "3285": { + "7642": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CreatePricesDTO.rules" }, - "3286": { + "7643": { "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", "qualifiedName": "CreateMoneyAmountDTO.id" }, - "3287": { + "7644": { "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", "qualifiedName": "CreateMoneyAmountDTO.currency_code" }, - "3288": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.currency" - }, - "3289": { + "7645": { "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", "qualifiedName": "CreateMoneyAmountDTO.amount" }, - "3290": { + "7646": { "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", "qualifiedName": "CreateMoneyAmountDTO.min_quantity" }, - "3291": { + "7647": { "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", "qualifiedName": "CreateMoneyAmountDTO.max_quantity" }, - "3292": { + "7648": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "AddPricesDTO" }, - "3293": { + "7649": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "AddPricesDTO.priceSetId" }, - "3294": { + "7650": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "AddPricesDTO.prices" }, - "3295": { + "7651": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "RemovePriceSetRulesDTO" }, - "3296": { + "7652": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "RemovePriceSetRulesDTO.id" }, - "3297": { + "7653": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "RemovePriceSetRulesDTO.rules" }, - "3298": { + "7654": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CreatePriceSetDTO" }, - "3299": { + "7655": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CreatePriceSetDTO.rules" }, - "3300": { + "7656": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type" }, - "3301": { + "7657": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type.rule_attribute" }, - "3302": { + "7658": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CreatePriceSetDTO.prices" }, - "3303": { + "7659": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "UpdatePriceSetDTO" + "qualifiedName": "UpsertPriceSetDTO" }, - "3304": { + "7660": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "UpdatePriceSetDTO.id" + "qualifiedName": "UpsertPriceSetDTO.id" }, - "3305": { + "7661": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "FilterablePriceSetProps" + "qualifiedName": "UpdatePriceSetDTO.rules" }, - "3306": { + "7662": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "FilterablePriceSetProps.id" + "qualifiedName": "__type" }, - "3307": { + "7663": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "FilterablePriceSetProps.money_amounts" - }, - "3308": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" - }, - "3309": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" - }, - "3310": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO" - }, - "3311": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.id" - }, - "3312": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.title" - }, - "3313": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.price_set" - }, - "3314": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.price_list" - }, - "3315": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.price_set_id" - }, - "3316": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.price_rules" - }, - "3317": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.money_amount" - }, - "3318": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.created_at" - }, - "3319": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.updated_at" - }, - "3320": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.deleted_at" - }, - "3321": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "UpdatePriceSetMoneyAmountDTO" - }, - "3322": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "UpdatePriceSetMoneyAmountDTO.id" - }, - "3323": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "UpdatePriceSetMoneyAmountDTO.title" - }, - "3324": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "UpdatePriceSetMoneyAmountDTO.price_set" - }, - "3325": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "UpdatePriceSetMoneyAmountDTO.money_amount" - }, - "3326": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "CreatePriceSetMoneyAmountDTO" - }, - "3327": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "CreatePriceSetMoneyAmountDTO.title" - }, - "3328": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "CreatePriceSetMoneyAmountDTO.price_set" - }, - "3329": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "CreatePriceSetMoneyAmountDTO.price_list" - }, - "3330": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "CreatePriceSetMoneyAmountDTO.money_amount" - }, - "3331": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "CreatePriceSetMoneyAmountDTO.rules_count" - }, - "3332": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "FilterablePriceSetMoneyAmountProps" - }, - "3333": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "FilterablePriceSetMoneyAmountProps.id" - }, - "3334": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "FilterablePriceSetMoneyAmountProps.price_set_id" - }, - "3335": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "FilterablePriceSetMoneyAmountProps.price_list_id" - }, - "3336": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" - }, - "3337": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" - }, - "3338": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "PriceSetMoneyAmountRulesDTO" - }, - "3339": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "PriceSetMoneyAmountRulesDTO.id" - }, - "3340": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "PriceSetMoneyAmountRulesDTO.price_set_money_amount" - }, - "3341": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "PriceSetMoneyAmountRulesDTO.rule_type" - }, - "3342": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "PriceSetMoneyAmountRulesDTO.value" - }, - "3343": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "CreatePriceSetMoneyAmountRulesDTO" - }, - "3344": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "CreatePriceSetMoneyAmountRulesDTO.price_set_money_amount" - }, - "3345": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "CreatePriceSetMoneyAmountRulesDTO.rule_type" - }, - "3346": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "CreatePriceSetMoneyAmountRulesDTO.value" - }, - "3347": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "UpdatePriceSetMoneyAmountRulesDTO" - }, - "3348": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "UpdatePriceSetMoneyAmountRulesDTO.id" - }, - "3349": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "UpdatePriceSetMoneyAmountRulesDTO.price_set_money_amount" - }, - "3350": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "UpdatePriceSetMoneyAmountRulesDTO.rule_type" - }, - "3351": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "UpdatePriceSetMoneyAmountRulesDTO.value" - }, - "3352": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "FilterablePriceSetMoneyAmountRulesProps" - }, - "3353": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "FilterablePriceSetMoneyAmountRulesProps.id" - }, - "3354": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "FilterablePriceSetMoneyAmountRulesProps.rule_type_id" - }, - "3355": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "FilterablePriceSetMoneyAmountRulesProps.price_set_money_amount_id" - }, - "3356": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "FilterablePriceSetMoneyAmountRulesProps.value" - }, - "3357": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" - }, - "3358": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" - }, - "3359": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", - "qualifiedName": "PriceSetRuleTypeDTO" - }, - "3360": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", - "qualifiedName": "PriceSetRuleTypeDTO.id" - }, - "3361": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", - "qualifiedName": "PriceSetRuleTypeDTO.price_set" - }, - "3362": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", - "qualifiedName": "PriceSetRuleTypeDTO.rule_type" - }, - "3363": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", - "qualifiedName": "PriceSetRuleTypeDTO.value" - }, - "3364": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", - "qualifiedName": "CreatePriceSetRuleTypeDTO" - }, - "3365": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", - "qualifiedName": "CreatePriceSetRuleTypeDTO.price_set" - }, - "3366": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", - "qualifiedName": "CreatePriceSetRuleTypeDTO.rule_type" - }, - "3367": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", - "qualifiedName": "UpdatePriceSetRuleTypeDTO" - }, - "3368": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", - "qualifiedName": "UpdatePriceSetRuleTypeDTO.id" - }, - "3369": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", - "qualifiedName": "UpdatePriceSetRuleTypeDTO.price_set" - }, - "3370": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", - "qualifiedName": "UpdatePriceSetRuleTypeDTO.rule_type" - }, - "3371": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", - "qualifiedName": "FilterablePriceSetRuleTypeProps" - }, - "3372": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", - "qualifiedName": "FilterablePriceSetRuleTypeProps.id" - }, - "3373": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", - "qualifiedName": "FilterablePriceSetRuleTypeProps.rule_type_id" - }, - "3374": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", - "qualifiedName": "FilterablePriceSetRuleTypeProps.price_set_id" - }, - "3375": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" - }, - "3376": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" - }, - "3377": { - "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", - "qualifiedName": "RuleTypeDTO" - }, - "3378": { - "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", - "qualifiedName": "RuleTypeDTO.id" - }, - "3379": { - "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", - "qualifiedName": "RuleTypeDTO.name" - }, - "3380": { - "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", - "qualifiedName": "RuleTypeDTO.rule_attribute" - }, - "3381": { - "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", - "qualifiedName": "RuleTypeDTO.default_priority" - }, - "3382": { - "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", - "qualifiedName": "CreateRuleTypeDTO" - }, - "3383": { - "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", - "qualifiedName": "CreateRuleTypeDTO.id" - }, - "3384": { - "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", - "qualifiedName": "CreateRuleTypeDTO.name" - }, - "3385": { - "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", - "qualifiedName": "CreateRuleTypeDTO.rule_attribute" - }, - "3386": { - "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", - "qualifiedName": "CreateRuleTypeDTO.default_priority" - }, - "3387": { - "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", - "qualifiedName": "UpdateRuleTypeDTO" - }, - "3388": { - "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", - "qualifiedName": "UpdateRuleTypeDTO.id" - }, - "3389": { - "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", - "qualifiedName": "UpdateRuleTypeDTO.name" - }, - "3390": { - "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", - "qualifiedName": "UpdateRuleTypeDTO.rule_attribute" - }, - "3391": { - "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", - "qualifiedName": "UpdateRuleTypeDTO.default_priority" - }, - "3392": { - "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", - "qualifiedName": "FilterableRuleTypeProps" - }, - "3393": { - "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", - "qualifiedName": "FilterableRuleTypeProps.id" - }, - "3394": { - "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", - "qualifiedName": "FilterableRuleTypeProps.name" - }, - "3395": { - "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", - "qualifiedName": "FilterableRuleTypeProps.rule_attribute" - }, - "3396": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" - }, - "3397": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" - }, - "3398": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListStatus" - }, - "3399": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListStatus.ACTIVE" - }, - "3400": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListStatus.DRAFT" - }, - "3401": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListType" - }, - "3402": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListType.SALE" - }, - "3403": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListType.OVERRIDE" - }, - "3404": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListDTO" - }, - "3405": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListDTO.id" - }, - "3406": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListDTO.title" - }, - "3407": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListDTO.starts_at" - }, - "3408": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListDTO.status" - }, - "3409": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListDTO.ends_at" - }, - "3410": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListDTO.rules_count" - }, - "3411": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListDTO.price_set_money_amounts" - }, - "3412": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListDTO.money_amounts" - }, - "3413": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListDTO.rule_types" - }, - "3414": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListDTO.rules" - }, - "3415": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListDTO.price_list_rules" - }, - "3416": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListPriceDTO" - }, - "3417": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListPriceDTO.price_set_id" - }, - "3418": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListPriceDTO.rules" - }, - "3419": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.id" - }, - "3420": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.currency_code" - }, - "3421": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.currency" - }, - "3422": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.amount" - }, - "3423": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.min_quantity" - }, - "3424": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.max_quantity" - }, - "3425": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceSetPriceRules" - }, - "3426": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListRules" - }, - "3427": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListDTO" - }, - "3428": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListDTO.title" - }, - "3429": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListDTO.description" - }, - "3430": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListDTO.starts_at" - }, - "3431": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListDTO.ends_at" - }, - "3432": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListDTO.status" - }, - "3433": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListDTO.type" - }, - "3434": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListDTO.rules_count" - }, - "3435": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListDTO.rules" - }, - "3436": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListDTO.prices" - }, - "3437": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "UpdatePriceListDTO" - }, - "3438": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "UpdatePriceListDTO.id" - }, - "3439": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "UpdatePriceListDTO.title" - }, - "3440": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "UpdatePriceListDTO.description" - }, - "3441": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "UpdatePriceListDTO.starts_at" - }, - "3442": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "UpdatePriceListDTO.ends_at" - }, - "3443": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "UpdatePriceListDTO.status" - }, - "3444": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "UpdatePriceListDTO.rules_count" - }, - "3445": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "UpdatePriceListDTO.rules" - }, - "3446": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "FilterablePriceListProps" - }, - "3447": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "FilterablePriceListProps.id" - }, - "3448": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "FilterablePriceListProps.starts_at" - }, - "3449": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "FilterablePriceListProps.ends_at" - }, - "3450": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "FilterablePriceListProps.status" - }, - "3451": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "FilterablePriceListProps.rules_count" - }, - "3452": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" - }, - "3453": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" - }, - "3454": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "FilterablePriceListRuleProps" - }, - "3455": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "FilterablePriceListRuleProps.id" + "qualifiedName": "__type.rule_attribute" }, - "3456": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "FilterablePriceListRuleProps.value" + "7664": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "UpdatePriceSetDTO.prices" }, - "3457": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "FilterablePriceListRuleProps.rule_type" + "7665": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "UpdatePriceSetDTO" }, - "3458": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "FilterablePriceListRuleProps.price_list_id" + "7666": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "UpdatePriceSetDTO.rules" }, - "3459": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "7667": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "__type" }, - "3460": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "7668": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "__type.rule_attribute" }, - "3461": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "FilterablePriceListRuleValueProps" + "7669": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "UpdatePriceSetDTO.prices" }, - "3462": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "FilterablePriceListRuleValueProps.id" + "7670": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "FilterablePriceSetProps" }, - "3463": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "FilterablePriceListRuleValueProps.value" + "7671": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "FilterablePriceSetProps.id" }, - "3464": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "FilterablePriceListRuleValueProps.price_list_rule_id" + "7672": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "FilterablePriceSetProps.money_amounts" }, - "3465": { + "7673": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$and" }, - "3466": { + "7674": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$or" }, - "3467": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListRuleDTO" + "7675": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "PricingContext.context" }, - "3468": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListRuleDTO.id" + "7676": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", + "qualifiedName": "PriceSetRuleTypeDTO" }, - "3469": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListRuleDTO.value" + "7677": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", + "qualifiedName": "PriceSetRuleTypeDTO.id" }, - "3470": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListRuleDTO.rule_type" + "7678": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", + "qualifiedName": "PriceSetRuleTypeDTO.price_set" }, - "3471": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListRuleDTO.price_list" + "7679": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", + "qualifiedName": "PriceSetRuleTypeDTO.rule_type" }, - "3472": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListRuleDTO.price_list_rule_values" + "7680": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", + "qualifiedName": "PriceSetRuleTypeDTO.value" }, - "3473": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListRuleDTO" + "7681": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", + "qualifiedName": "CreatePriceSetRuleTypeDTO" }, - "3474": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListRuleDTO.rule_type_id" + "7682": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", + "qualifiedName": "CreatePriceSetRuleTypeDTO.price_set_id" }, - "3475": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListRuleDTO.rule_type" + "7683": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", + "qualifiedName": "CreatePriceSetRuleTypeDTO.rule_type_id" }, - "3476": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListRuleDTO.price_list_id" + "7684": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", + "qualifiedName": "UpdatePriceSetRuleTypeDTO" }, - "3477": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListRuleDTO.price_list" + "7685": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", + "qualifiedName": "UpdatePriceSetRuleTypeDTO.id" }, - "3478": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "UpdatePriceListRuleDTO" + "7686": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", + "qualifiedName": "UpdatePriceSetRuleTypeDTO.price_set" }, - "3479": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "UpdatePriceListRuleDTO.id" + "7687": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", + "qualifiedName": "UpdatePriceSetRuleTypeDTO.rule_type" }, - "3480": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "UpdatePriceListRuleDTO.price_list_id" + "7688": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", + "qualifiedName": "FilterablePriceSetRuleTypeProps" }, - "3481": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "UpdatePriceListRuleDTO.rule_type_id" + "7689": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", + "qualifiedName": "FilterablePriceSetRuleTypeProps.id" }, - "3482": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "UpdatePriceListRuleDTO.price_list" + "7690": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", + "qualifiedName": "FilterablePriceSetRuleTypeProps.rule_type_id" }, - "3483": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "UpdatePriceListRuleDTO.rule_type" + "7691": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set-rule-type.ts", + "qualifiedName": "FilterablePriceSetRuleTypeProps.price_set_id" }, - "3484": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListRuleValueDTO" + "7692": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "3485": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListRuleValueDTO.id" + "7693": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "3486": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListRuleValueDTO.value" + "7694": { + "sourceFileName": "../../../packages/types/src/pricing/common/pricing-context.ts", + "qualifiedName": "MedusaPricingContext" }, - "3487": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListRuleValueDTO.price_list_rule" + "7695": { + "sourceFileName": "../../../packages/types/src/pricing/common/pricing-context.ts", + "qualifiedName": "__type" }, - "3488": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListRuleValueDTO" + "7696": { + "sourceFileName": "../../../packages/types/src/pricing/common/pricing-context.ts", + "qualifiedName": "__type.region_id" }, - "3489": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListRuleValueDTO.value" + "7697": { + "sourceFileName": "../../../packages/types/src/pricing/common/pricing-context.ts", + "qualifiedName": "__type.currency_code" }, - "3490": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListRuleValueDTO.price_list_rule_id" + "7698": { + "sourceFileName": "../../../packages/types/src/pricing/common/pricing-context.ts", + "qualifiedName": "__type.customer_id" }, - "3491": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "CreatePriceListRuleValueDTO.price_list_rule" + "7699": { + "sourceFileName": "../../../packages/types/src/pricing/common/pricing-context.ts", + "qualifiedName": "__type.customer_group_id" }, - "3492": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "UpdatePriceListRuleValueDTO" + "7700": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "RuleTypeDTO" }, - "3493": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "UpdatePriceListRuleValueDTO.id" + "7701": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "RuleTypeDTO.id" }, - "3494": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "UpdatePriceListRuleValueDTO.value" + "7702": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "RuleTypeDTO.name" }, - "3495": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "UpdatePriceListRuleValueDTO.price_list_rule_id" + "7703": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "RuleTypeDTO.rule_attribute" }, - "3496": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "AddPriceListPricesDTO" + "7704": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "RuleTypeDTO.default_priority" }, - "3497": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "AddPriceListPricesDTO.priceListId" + "7705": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "RuleTypeDTO.created_at" }, - "3498": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "AddPriceListPricesDTO.prices" + "7706": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "RuleTypeDTO.updated_at" }, - "3499": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "SetPriceListRulesDTO" + "7707": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "CreateRuleTypeDTO" }, - "3500": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "SetPriceListRulesDTO.priceListId" + "7708": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "CreateRuleTypeDTO.id" }, - "3501": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "SetPriceListRulesDTO.rules" + "7709": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "CreateRuleTypeDTO.name" }, - "3502": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "RemovePriceListRulesDTO" + "7710": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "CreateRuleTypeDTO.rule_attribute" }, - "3503": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "RemovePriceListRulesDTO.priceListId" + "7711": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "CreateRuleTypeDTO.default_priority" }, - "3504": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "RemovePriceListRulesDTO.rules" + "7712": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "UpdateRuleTypeDTO" }, - "3505": { + "7713": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "UpdateRuleTypeDTO.id" + }, + "7714": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "UpdateRuleTypeDTO.name" + }, + "7715": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "UpdateRuleTypeDTO.rule_attribute" + }, + "7716": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "UpdateRuleTypeDTO.default_priority" + }, + "7717": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "FilterableRuleTypeProps" + }, + "7718": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "FilterableRuleTypeProps.id" + }, + "7719": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "FilterableRuleTypeProps.name" + }, + "7720": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "FilterableRuleTypeProps.rule_attribute" + }, + "7721": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "7722": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "7723": { "sourceFileName": "../../../packages/types/src/product-category/repository.ts", "qualifiedName": "ProductCategoryTransformOptions" }, - "3506": { + "7724": { "sourceFileName": "../../../packages/types/src/product-category/repository.ts", "qualifiedName": "ProductCategoryTransformOptions.includeDescendantsTree" }, - "3507": { + "7725": { + "sourceFileName": "../../../packages/types/src/product-category/repository.ts", + "qualifiedName": "ProductCategoryTransformOptions.includeAncestorsTree" + }, + "7726": { "sourceFileName": "../../../packages/types/src/region/common.ts", "qualifiedName": "RegionDTO" }, - "3508": { + "7727": { "sourceFileName": "../../../packages/types/src/region/common.ts", "qualifiedName": "RegionDTO.id" }, - "3509": { + "7728": { "sourceFileName": "../../../packages/types/src/region/common.ts", "qualifiedName": "RegionDTO.name" }, - "3510": { + "7729": { "sourceFileName": "../../../packages/types/src/region/common.ts", "qualifiedName": "RegionDTO.currency_code" }, - "3511": { + "7730": { "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "RegionDTO.currency" + "qualifiedName": "RegionDTO.automatic_taxes" }, - "3512": { + "7731": { "sourceFileName": "../../../packages/types/src/region/common.ts", "qualifiedName": "RegionDTO.countries" }, - "3513": { - "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "CountryDTO" - }, - "3514": { - "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "CountryDTO.id" - }, - "3515": { - "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "CountryDTO.iso_2" - }, - "3516": { - "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "CountryDTO.iso_3" - }, - "3517": { - "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "CountryDTO.num_code" - }, - "3518": { - "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "CountryDTO.name" - }, - "3519": { + "7732": { "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "CountryDTO.display_name" + "qualifiedName": "RegionDTO.payment_providers" }, - "3520": { + "7733": { "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "FilterableRegionProps" + "qualifiedName": "RegionDTO.metadata" }, - "3521": { + "7734": { "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "FilterableRegionProps.id" + "qualifiedName": "RegionDTO.created_at" }, - "3522": { + "7735": { "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "FilterableRegionProps.name" - }, - "3523": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "qualifiedName": "RegionDTO.updated_at" }, - "3524": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" - }, - "3525": { + "7736": { "sourceFileName": "../../../packages/types/src/region/common.ts", "qualifiedName": "RegionCountryDTO" }, - "3526": { + "7737": { "sourceFileName": "../../../packages/types/src/region/common.ts", "qualifiedName": "RegionCountryDTO.id" }, - "3527": { + "7738": { "sourceFileName": "../../../packages/types/src/region/common.ts", "qualifiedName": "RegionCountryDTO.iso_2" }, - "3528": { + "7739": { "sourceFileName": "../../../packages/types/src/region/common.ts", "qualifiedName": "RegionCountryDTO.iso_3" }, - "3529": { + "7740": { "sourceFileName": "../../../packages/types/src/region/common.ts", "qualifiedName": "RegionCountryDTO.num_code" }, - "3530": { + "7741": { "sourceFileName": "../../../packages/types/src/region/common.ts", "qualifiedName": "RegionCountryDTO.name" }, - "3531": { + "7742": { "sourceFileName": "../../../packages/types/src/region/common.ts", "qualifiedName": "RegionCountryDTO.display_name" }, - "3532": { - "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "RegionCurrencyDTO" - }, - "3533": { - "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "RegionCurrencyDTO.code" - }, - "3534": { - "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "RegionCurrencyDTO.symbol" - }, - "3535": { + "7743": { "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "RegionCurrencyDTO.name" + "qualifiedName": "FilterableRegionProps" }, - "3536": { + "7744": { "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "RegionCurrencyDTO.symbol_native" + "qualifiedName": "FilterableRegionProps.q" }, - "3537": { + "7745": { "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "FilterableRegionCurrencyProps" + "qualifiedName": "FilterableRegionProps.id" }, - "3538": { + "7746": { "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "FilterableRegionCurrencyProps.id" + "qualifiedName": "FilterableRegionProps.name" }, - "3539": { + "7747": { "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "FilterableRegionCurrencyProps.code" + "qualifiedName": "FilterableRegionProps.currency_code" }, - "3540": { + "7748": { "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "FilterableRegionCurrencyProps.symbol" + "qualifiedName": "FilterableRegionProps.metadata" }, - "3541": { + "7749": { "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "FilterableRegionCurrencyProps.name" + "qualifiedName": "FilterableRegionProps.created_at" }, - "3542": { + "7750": { "sourceFileName": "../../../packages/types/src/region/common.ts", - "qualifiedName": "FilterableRegionCurrencyProps.symbol_native" + "qualifiedName": "FilterableRegionProps.updated_at" }, - "3543": { + "7751": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$and" }, - "3544": { + "7752": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$or" }, - "3545": { + "7753": { "sourceFileName": "../../../packages/types/src/region/common.ts", "qualifiedName": "FilterableRegionCountryProps" }, - "3546": { + "7754": { "sourceFileName": "../../../packages/types/src/region/common.ts", "qualifiedName": "FilterableRegionCountryProps.id" }, - "3547": { + "7755": { "sourceFileName": "../../../packages/types/src/region/common.ts", "qualifiedName": "FilterableRegionCountryProps.iso_2" }, - "3548": { + "7756": { "sourceFileName": "../../../packages/types/src/region/common.ts", "qualifiedName": "FilterableRegionCountryProps.iso_3" }, - "3549": { + "7757": { "sourceFileName": "../../../packages/types/src/region/common.ts", "qualifiedName": "FilterableRegionCountryProps.num_code" }, - "3550": { + "7758": { "sourceFileName": "../../../packages/types/src/region/common.ts", "qualifiedName": "FilterableRegionCountryProps.name" }, - "3551": { + "7759": { "sourceFileName": "../../../packages/types/src/region/common.ts", "qualifiedName": "FilterableRegionCountryProps.display_name" }, - "3552": { + "7760": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$and" }, - "3553": { + "7761": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$or" }, - "3554": { + "7762": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", "qualifiedName": "CreateRegionDTO" }, - "3555": { + "7763": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", "qualifiedName": "CreateRegionDTO.name" }, - "3556": { + "7764": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", "qualifiedName": "CreateRegionDTO.currency_code" }, - "3557": { - "sourceFileName": "../../../packages/types/src/region/mutations.ts", - "qualifiedName": "CreateRegionDTO.currency" - }, - "3558": { + "7765": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", - "qualifiedName": "CreateRegionDTO.tax_code" + "qualifiedName": "CreateRegionDTO.automatic_taxes" }, - "3559": { + "7766": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", - "qualifiedName": "CreateRegionDTO.tax_rate" + "qualifiedName": "CreateRegionDTO.countries" }, - "3560": { + "7767": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", - "qualifiedName": "CreateRegionDTO.tax_provider_id" + "qualifiedName": "CreateRegionDTO.payment_providers" }, - "3561": { + "7768": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", - "qualifiedName": "UpdateRegionDTO" + "qualifiedName": "CreateRegionDTO.metadata" }, - "3562": { + "7769": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", - "qualifiedName": "UpdateRegionDTO.id" + "qualifiedName": "UpsertRegionDTO" }, - "3563": { + "7770": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", - "qualifiedName": "UpdateRegionDTO.currency_code" + "qualifiedName": "UpsertRegionDTO.id" }, - "3564": { + "7771": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", - "qualifiedName": "UpdateRegionDTO.currency" + "qualifiedName": "UpsertRegionDTO.name" }, - "3565": { + "7772": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", - "qualifiedName": "UpdateRegionDTO.name" + "qualifiedName": "UpsertRegionDTO.currency_code" }, - "3566": { + "7773": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", - "qualifiedName": "UpdateRegionDTO.tax_code" + "qualifiedName": "UpsertRegionDTO.automatic_taxes" }, - "3567": { + "7774": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", - "qualifiedName": "UpdateRegionDTO.tax_rate" + "qualifiedName": "UpsertRegionDTO.countries" }, - "3568": { + "7775": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", - "qualifiedName": "UpdateRegionDTO.tax_provider_id" + "qualifiedName": "UpsertRegionDTO.metadata" }, - "3569": { + "7776": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", - "qualifiedName": "AddCountryToRegionDTO" + "qualifiedName": "UpdateRegionDTO" }, - "3570": { + "7777": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", - "qualifiedName": "AddCountryToRegionDTO.region_id" + "qualifiedName": "UpdateRegionDTO.name" }, - "3571": { + "7778": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", - "qualifiedName": "AddCountryToRegionDTO.country_id" + "qualifiedName": "UpdateRegionDTO.currency_code" }, - "3572": { + "7779": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", - "qualifiedName": "RemoveCountryFromRegionDTO" + "qualifiedName": "UpdateRegionDTO.automatic_taxes" }, - "3573": { + "7780": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", - "qualifiedName": "AddCountryToRegionDTO.region_id" + "qualifiedName": "UpdateRegionDTO.countries" }, - "3574": { + "7781": { "sourceFileName": "../../../packages/types/src/region/mutations.ts", - "qualifiedName": "AddCountryToRegionDTO.country_id" + "qualifiedName": "UpdateRegionDTO.metadata" }, - "3575": { + "7782": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService" }, - "3576": { + "7783": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.create" }, - "3577": { + "7784": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.create" }, - "3578": { + "7785": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "data" }, - "3579": { + "7786": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "sharedContext" }, - "3580": { + "7787": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.create" }, - "3581": { + "7788": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "data" }, - "3582": { + "7789": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "sharedContext" }, - "3583": { + "7790": { + "sourceFileName": "../../../packages/types/src/region/service.ts", + "qualifiedName": "IRegionModuleService.upsert" + }, + "7791": { + "sourceFileName": "../../../packages/types/src/region/service.ts", + "qualifiedName": "IRegionModuleService.upsert" + }, + "7792": { + "sourceFileName": "../../../packages/types/src/region/service.ts", + "qualifiedName": "data" + }, + "7793": { + "sourceFileName": "../../../packages/types/src/region/service.ts", + "qualifiedName": "sharedContext" + }, + "7794": { + "sourceFileName": "../../../packages/types/src/region/service.ts", + "qualifiedName": "IRegionModuleService.upsert" + }, + "7795": { + "sourceFileName": "../../../packages/types/src/region/service.ts", + "qualifiedName": "data" + }, + "7796": { + "sourceFileName": "../../../packages/types/src/region/service.ts", + "qualifiedName": "sharedContext" + }, + "7797": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.update" }, - "3584": { + "7798": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.update" }, - "3585": { + "7799": { + "sourceFileName": "../../../packages/types/src/region/service.ts", + "qualifiedName": "id" + }, + "7800": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "data" }, - "3586": { + "7801": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "sharedContext" }, - "3587": { + "7802": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.update" }, - "3588": { + "7803": { + "sourceFileName": "../../../packages/types/src/region/service.ts", + "qualifiedName": "selector" + }, + "7804": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "data" }, - "3589": { + "7805": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "sharedContext" }, - "3590": { + "7806": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.delete" }, - "3591": { + "7807": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.delete" }, - "3592": { + "7808": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "ids" }, - "3593": { + "7809": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "sharedContext" }, - "3594": { + "7810": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.delete" }, - "3595": { + "7811": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "id" }, - "3596": { + "7812": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "sharedContext" }, - "3597": { + "7813": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.retrieve" }, - "3598": { + "7814": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.retrieve" }, - "3599": { + "7815": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "id" }, - "3600": { + "7816": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "config" }, - "3601": { + "7817": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "sharedContext" }, - "3602": { + "7818": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.list" }, - "3603": { + "7819": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.list" }, - "3604": { + "7820": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "filters" }, - "3605": { + "7821": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "config" }, - "3606": { + "7822": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "sharedContext" }, - "3607": { + "7823": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.listAndCount" }, - "3608": { + "7824": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.listAndCount" }, - "3609": { + "7825": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "filters" }, - "3610": { + "7826": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "config" }, - "3611": { + "7827": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "sharedContext" }, - "3612": { + "7828": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.retrieveCountry" }, - "3613": { + "7829": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.retrieveCountry" }, - "3614": { + "7830": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "countryId" }, - "3615": { + "7831": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "config" }, - "3616": { + "7832": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "sharedContext" }, - "3617": { + "7833": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.listCountries" }, - "3618": { + "7834": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.listCountries" }, - "3619": { + "7835": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "filters" }, - "3620": { - "sourceFileName": "../../../packages/types/src/region/service.ts", - "qualifiedName": "config" - }, - "3621": { - "sourceFileName": "../../../packages/types/src/region/service.ts", - "qualifiedName": "sharedContext" - }, - "3622": { - "sourceFileName": "../../../packages/types/src/region/service.ts", - "qualifiedName": "IRegionModuleService.retrieveCurrency" - }, - "3623": { - "sourceFileName": "../../../packages/types/src/region/service.ts", - "qualifiedName": "IRegionModuleService.retrieveCurrency" - }, - "3624": { - "sourceFileName": "../../../packages/types/src/region/service.ts", - "qualifiedName": "currencyId" - }, - "3625": { + "7836": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "config" }, - "3626": { + "7837": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "sharedContext" }, - "3627": { + "7838": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.listAndCountCountries" }, - "3628": { + "7839": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.listAndCountCountries" }, - "3629": { - "sourceFileName": "../../../packages/types/src/region/service.ts", - "qualifiedName": "filters" - }, - "3630": { - "sourceFileName": "../../../packages/types/src/region/service.ts", - "qualifiedName": "config" - }, - "3631": { - "sourceFileName": "../../../packages/types/src/region/service.ts", - "qualifiedName": "sharedContext" - }, - "3632": { - "sourceFileName": "../../../packages/types/src/region/service.ts", - "qualifiedName": "IRegionModuleService.listCurrencies" - }, - "3633": { - "sourceFileName": "../../../packages/types/src/region/service.ts", - "qualifiedName": "IRegionModuleService.listCurrencies" - }, - "3634": { - "sourceFileName": "../../../packages/types/src/region/service.ts", - "qualifiedName": "filters" - }, - "3635": { - "sourceFileName": "../../../packages/types/src/region/service.ts", - "qualifiedName": "config" - }, - "3636": { - "sourceFileName": "../../../packages/types/src/region/service.ts", - "qualifiedName": "sharedContext" - }, - "3637": { - "sourceFileName": "../../../packages/types/src/region/service.ts", - "qualifiedName": "IRegionModuleService.listAndCountCurrencies" - }, - "3638": { - "sourceFileName": "../../../packages/types/src/region/service.ts", - "qualifiedName": "IRegionModuleService.listAndCountCurrencies" - }, - "3639": { + "7840": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "filters" }, - "3640": { + "7841": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "config" }, - "3641": { + "7842": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "sharedContext" }, - "3642": { + "7843": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.softDelete" }, - "3643": { + "7844": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.softDelete" }, - "3644": { + "7845": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "TReturnableLinkableKeys" }, - "3645": { + "7846": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "regionIds" }, - "3646": { + "7847": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "config" }, - "3647": { + "7848": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "sharedContext" }, - "3648": { + "7849": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.restore" }, - "3649": { + "7850": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "IRegionModuleService.restore" }, - "3650": { + "7851": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "TReturnableLinkableKeys" }, - "3651": { + "7852": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "regionIds" }, - "3652": { + "7853": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "config" }, - "3653": { - "sourceFileName": "../../../packages/types/src/region/service.ts", - "qualifiedName": "sharedContext" - }, - "3654": { - "sourceFileName": "../../../packages/types/src/region/service.ts", - "qualifiedName": "IRegionModuleService.createDefaultCountriesAndCurrencies" - }, - "3655": { - "sourceFileName": "../../../packages/types/src/region/service.ts", - "qualifiedName": "IRegionModuleService.createDefaultCountriesAndCurrencies" - }, - "3656": { + "7854": { "sourceFileName": "../../../packages/types/src/region/service.ts", "qualifiedName": "sharedContext" }, - "3664": { + "7868": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "SharedContext" }, - "3665": { + "7869": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.transactionManager" }, - "3666": { + "7870": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.manager" }, - "3667": { + "7871": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "MessageAggregatorFormat" }, - "3668": { + "7872": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "MessageAggregatorFormat.groupBy" }, - "3669": { + "7873": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "MessageAggregatorFormat.sortBy" }, - "3670": { + "7874": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type" }, - "3671": { + "7875": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.__index" }, - "3673": { + "7877": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator" }, - "3674": { + "7878": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator.save" }, - "3675": { + "7879": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator.save" }, - "3676": { + "7880": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "msg" }, - "3677": { + "7881": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator.getMessages" }, - "3678": { + "7882": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator.getMessages" }, - "3679": { + "7883": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "format" }, - "3680": { + "7884": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator.clearMessages" }, - "3681": { + "7885": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator.clearMessages" }, - "3682": { + "7886": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "IMessageAggregator.saveRawMessageData" + }, + "7887": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "IMessageAggregator.saveRawMessageData" + }, + "7888": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "T" + }, + "7889": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "messageData" + }, + "7890": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "options" + }, + "7891": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "Context" }, - "3683": { + "7892": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.__type" }, - "3684": { + "7893": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.transactionManager" }, - "3685": { + "7894": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.manager" }, - "3686": { + "7895": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.isolationLevel" }, - "3687": { + "7896": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.enableNestedTransactions" }, - "3688": { + "7897": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.eventGroupId" }, - "3689": { + "7898": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.transactionId" }, - "3690": { + "7899": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.messageAggregator" }, - "3691": { + "7900": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.requestId" }, - "3692": { + "7901": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "__type.idempotencyKey" + }, + "7902": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "TManager" }, - "3693": { + "7903": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "CartLikeWithTotals" + }, + "7904": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type" + }, + "7905": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.original_item_subtotal" + }, + "7906": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.original_item_tax_total" + }, + "7907": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.item_total" + }, + "7908": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.item_subtotal" + }, + "7909": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.item_tax_total" + }, + "7910": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.original_total" + }, + "7911": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.original_subtotal" + }, + "7912": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.original_tax_total" + }, + "7913": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.total" + }, + "7914": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.subtotal" + }, + "7915": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.tax_total" + }, + "7916": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.discount_total" + }, + "7917": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.discount_tax_total" + }, + "7918": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.gift_card_total" + }, + "7919": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.gift_card_tax_total" + }, + "7920": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.shipping_total" + }, + "7921": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.shipping_subtotal" + }, + "7922": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.shipping_tax_total" + }, + "7923": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.original_shipping_total" + }, + "7924": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.original_shipping_subtotal" + }, + "7925": { + "sourceFileName": "../../../packages/types/src/totals/index.ts", + "qualifiedName": "__type.original_shipping_tax_total" + }, + "7926": { + "sourceFileName": "../../../packages/types/src/totals/big-number.ts", + "qualifiedName": "BigNumberRawValue" + }, + "7927": { + "sourceFileName": "../../../packages/types/src/totals/big-number.ts", + "qualifiedName": "__type" + }, + "7928": { + "sourceFileName": "../../../packages/types/src/totals/big-number.ts", + "qualifiedName": "__type.value" + }, + "7929": { + "sourceFileName": "../../../packages/types/src/totals/big-number.ts", + "qualifiedName": "__type.__index" + }, + "7931": { + "sourceFileName": "../../../packages/types/src/totals/big-number.ts", + "qualifiedName": "BigNumberInput" + }, + "7932": { + "sourceFileName": "../../../packages/types/src/totals/big-number.ts", + "qualifiedName": "BigNumberValue" + }, + "7933": { + "sourceFileName": "../../../packages/types/src/workflows/stock-locations/mutations.ts", + "qualifiedName": "CreateLocationFulfillmentSetWorkflowInputDTO" + }, + "7934": { + "sourceFileName": "../../../packages/types/src/workflows/stock-locations/mutations.ts", + "qualifiedName": "CreateLocationFulfillmentSetWorkflowInputDTO.location_id" + }, + "7935": { + "sourceFileName": "../../../packages/types/src/workflows/stock-locations/mutations.ts", + "qualifiedName": "CreateLocationFulfillmentSetWorkflowInputDTO.fulfillment_set_data" + }, + "7936": { + "sourceFileName": "../../../packages/types/src/workflows/stock-locations/mutations.ts", + "qualifiedName": "__type" + }, + "7937": { + "sourceFileName": "../../../packages/types/src/workflows/stock-locations/mutations.ts", + "qualifiedName": "__type.name" + }, + "7938": { + "sourceFileName": "../../../packages/types/src/workflows/stock-locations/mutations.ts", + "qualifiedName": "__type.type" + }, + "7939": { + "sourceFileName": "../../../packages/types/src/workflows/products/mutations.ts", + "qualifiedName": "CreateProductVariantWorkflowInputDTO" + }, + "7940": { + "sourceFileName": "../../../packages/types/src/workflows/products/mutations.ts", + "qualifiedName": "__type" + }, + "7941": { + "sourceFileName": "../../../packages/types/src/workflows/products/mutations.ts", + "qualifiedName": "__type.prices" + }, + "7942": { + "sourceFileName": "../../../packages/types/src/workflows/products/mutations.ts", + "qualifiedName": "UpdateProductVariantWorkflowInputDTO" + }, + "7943": { + "sourceFileName": "../../../packages/types/src/workflows/products/mutations.ts", + "qualifiedName": "__type" + }, + "7944": { + "sourceFileName": "../../../packages/types/src/workflows/products/mutations.ts", + "qualifiedName": "__type.prices" + }, + "7945": { + "sourceFileName": "../../../packages/types/src/workflows/products/mutations.ts", + "qualifiedName": "CreateProductWorkflowInputDTO" + }, + "7946": { + "sourceFileName": "../../../packages/types/src/workflows/products/mutations.ts", + "qualifiedName": "__type" + }, + "7947": { + "sourceFileName": "../../../packages/types/src/workflows/products/mutations.ts", + "qualifiedName": "__type.sales_channels" + }, + "7948": { + "sourceFileName": "../../../packages/types/src/workflows/products/mutations.ts", + "qualifiedName": "__type" + }, + "7949": { + "sourceFileName": "../../../packages/types/src/workflows/products/mutations.ts", + "qualifiedName": "__type.id" + }, + "7950": { + "sourceFileName": "../../../packages/types/src/workflows/products/mutations.ts", + "qualifiedName": "__type.variants" + }, + "7951": { + "sourceFileName": "../../../packages/types/src/workflows/products/mutations.ts", + "qualifiedName": "UpdateProductWorkflowInputDTO" + }, + "7952": { + "sourceFileName": "../../../packages/types/src/workflows/products/mutations.ts", + "qualifiedName": "__type" + }, + "7953": { + "sourceFileName": "../../../packages/types/src/workflows/products/mutations.ts", + "qualifiedName": "__type.sales_channels" + }, + "7954": { + "sourceFileName": "../../../packages/types/src/workflows/products/mutations.ts", + "qualifiedName": "__type" + }, + "7955": { + "sourceFileName": "../../../packages/types/src/workflows/products/mutations.ts", + "qualifiedName": "__type.id" + }, + "7956": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "SessionOptions" }, - "3694": { + "7957": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.name" }, - "3695": { + "7958": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.resave" }, - "3696": { + "7959": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.rolling" }, - "3697": { + "7960": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.saveUninitialized" }, - "3698": { + "7961": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.secret" }, - "3699": { + "7962": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.ttl" }, - "3700": { + "7963": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "PrevLimit" }, - "3701": { + "7964": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "Query" }, - "3702": { + "7965": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "T" }, - "3703": { + "7966": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "ExpandScalar" }, - "3704": { + "7967": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "T" }, - "3705": { + "7968": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "Order" }, - "3706": { + "7969": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "T" }, - "3707": { + "7970": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "Dictionary" }, - "3708": { + "7971": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type" }, - "3709": { + "7972": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.__index" }, - "3711": { + "7974": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "T" }, - "3712": { + "7975": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "BaseRepositoryService" }, - "3713": { + "7976": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "BaseRepositoryService.transaction" }, - "3714": { + "7977": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "BaseRepositoryService.transaction" }, - "3715": { + "7978": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "TManager" }, - "3716": { + "7979": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "task" }, - "3717": { + "7980": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "__type" }, - "3718": { + "7981": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "__type" }, - "3719": { + "7982": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "transactionManager" }, - "3720": { + "7983": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "context" }, - "3721": { + "7984": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "__type" }, - "3722": { + "7985": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "__type.isolationLevel" }, - "3723": { + "7986": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "__type.transaction" }, - "3724": { + "7987": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "__type.enableNestedTransactions" }, - "3725": { + "7988": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "BaseRepositoryService.getFreshManager" }, - "3726": { + "7989": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "BaseRepositoryService.getFreshManager" }, - "3727": { + "7990": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "TManager" }, - "3728": { + "7991": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "BaseRepositoryService.getActiveManager" }, - "3729": { + "7992": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "BaseRepositoryService.getActiveManager" }, - "3730": { + "7993": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "TManager" }, - "3731": { + "7994": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "BaseRepositoryService.serialize" }, - "3732": { + "7995": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "BaseRepositoryService.serialize" }, - "3733": { + "7996": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "TOutput" }, - "3734": { + "7997": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "data" }, - "3735": { + "7998": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "options" }, - "3736": { + "7999": { "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", "qualifiedName": "BaseRepositoryService.T" }, - "3737": { + "8000": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateGeoZoneBaseDTO" + }, + "8001": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateGeoZoneBaseDTO.type" + }, + "8002": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateGeoZoneBaseDTO.service_zone_id" + }, + "8003": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateGeoZoneBaseDTO.country_code" + }, + "8004": { + "sourceFileName": "../../../packages/types/src/fulfillment/mutations/geo-zone.ts", + "qualifiedName": "CreateGeoZoneBaseDTO.metadata" + }, + "8005": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "ModuleDeclaration" }, - "3738": { + "8006": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxLineDTO" + }, + "8007": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxLineDTO.rate_id" + }, + "8008": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxLineDTO.rate" + }, + "8009": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxLineDTO.code" + }, + "8010": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxLineDTO.name" + }, + "8011": { + "sourceFileName": "../../../packages/types/src/tax/common.ts", + "qualifiedName": "TaxLineDTO.provider_id" + }, + "8012": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/service-zones.ts", + "qualifiedName": "CreateServiceZone" + }, + "8013": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/service-zones.ts", + "qualifiedName": "CreateServiceZone.name" + }, + "8014": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/service-zones.ts", + "qualifiedName": "CreateServiceZone.fulfillment_set_id" + }, + "8015": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/service-zones.ts", + "qualifiedName": "CreateServiceZone.geo_zones" + }, + "8016": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/service-zones.ts", + "qualifiedName": "UpdateServiceZone" + }, + "8017": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/service-zones.ts", + "qualifiedName": "UpdateServiceZone.name" + }, + "8018": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/service-zones.ts", + "qualifiedName": "UpdateServiceZone.geo_zones" + }, + "8019": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/service-zones.ts", + "qualifiedName": "__type" + }, + "8020": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/service-zones.ts", + "qualifiedName": "__type.id" + }, + "8021": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/shipping-profiles.ts", + "qualifiedName": "CreateShippingProfile" + }, + "8022": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/shipping-profiles.ts", + "qualifiedName": "CreateShippingProfile.name" + }, + "8023": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/shipping-profiles.ts", + "qualifiedName": "CreateShippingProfile.type" + }, + "8024": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/shipping-profiles.ts", + "qualifiedName": "UpdateShippingProfile" + }, + "8025": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/shipping-profiles.ts", + "qualifiedName": "UpdateShippingProfile.name" + }, + "8026": { + "sourceFileName": "../../../packages/types/src/workflow/fulfillment/shipping-profiles.ts", + "qualifiedName": "UpdateShippingProfile.type" + }, + "8027": { "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", "qualifiedName": "InputPrice" }, - "3739": { + "8028": { "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", "qualifiedName": "InputPrice.region_id" }, - "3740": { + "8029": { "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", "qualifiedName": "InputPrice.currency_code" }, - "3741": { + "8030": { "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", "qualifiedName": "InputPrice.amount" }, - "3742": { + "8031": { "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", "qualifiedName": "InputPrice.variant_id" }, - "3743": { + "8032": { "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", "qualifiedName": "InputPrice.min_quantity" }, - "3744": { + "8033": { "sourceFileName": "../../../packages/types/src/workflow/price-list/create-price-list.ts", "qualifiedName": "InputPrice.max_quantity" }, - "3745": { + "8034": { + "sourceFileName": "../../../packages/types/src/inventory/mutations/reservation-item.ts", + "qualifiedName": "CreateReservationItemInput" + }, + "8035": { + "sourceFileName": "../../../packages/types/src/inventory/mutations/reservation-item.ts", + "qualifiedName": "CreateReservationItemInput.line_item_id" + }, + "8036": { + "sourceFileName": "../../../packages/types/src/inventory/mutations/reservation-item.ts", + "qualifiedName": "CreateReservationItemInput.inventory_item_id" + }, + "8037": { + "sourceFileName": "../../../packages/types/src/inventory/mutations/reservation-item.ts", + "qualifiedName": "CreateReservationItemInput.location_id" + }, + "8038": { + "sourceFileName": "../../../packages/types/src/inventory/mutations/reservation-item.ts", + "qualifiedName": "CreateReservationItemInput.quantity" + }, + "8039": { + "sourceFileName": "../../../packages/types/src/inventory/mutations/reservation-item.ts", + "qualifiedName": "CreateReservationItemInput.description" + }, + "8040": { + "sourceFileName": "../../../packages/types/src/inventory/mutations/reservation-item.ts", + "qualifiedName": "CreateReservationItemInput.created_by" + }, + "8041": { + "sourceFileName": "../../../packages/types/src/inventory/mutations/reservation-item.ts", + "qualifiedName": "CreateReservationItemInput.external_id" + }, + "8042": { + "sourceFileName": "../../../packages/types/src/inventory/mutations/reservation-item.ts", + "qualifiedName": "CreateReservationItemInput.metadata" + }, + "8043": { + "sourceFileName": "../../../packages/types/src/inventory/common/reservation-item.ts", + "qualifiedName": "ReservationItemDTO" + }, + "8044": { + "sourceFileName": "../../../packages/types/src/inventory/common/reservation-item.ts", + "qualifiedName": "ReservationItemDTO.id" + }, + "8045": { + "sourceFileName": "../../../packages/types/src/inventory/common/reservation-item.ts", + "qualifiedName": "ReservationItemDTO.location_id" + }, + "8046": { + "sourceFileName": "../../../packages/types/src/inventory/common/reservation-item.ts", + "qualifiedName": "ReservationItemDTO.inventory_item_id" + }, + "8047": { + "sourceFileName": "../../../packages/types/src/inventory/common/reservation-item.ts", + "qualifiedName": "ReservationItemDTO.quantity" + }, + "8048": { + "sourceFileName": "../../../packages/types/src/inventory/common/reservation-item.ts", + "qualifiedName": "ReservationItemDTO.line_item_id" + }, + "8049": { + "sourceFileName": "../../../packages/types/src/inventory/common/reservation-item.ts", + "qualifiedName": "ReservationItemDTO.description" + }, + "8050": { + "sourceFileName": "../../../packages/types/src/inventory/common/reservation-item.ts", + "qualifiedName": "ReservationItemDTO.created_by" + }, + "8051": { + "sourceFileName": "../../../packages/types/src/inventory/common/reservation-item.ts", + "qualifiedName": "ReservationItemDTO.metadata" + }, + "8052": { + "sourceFileName": "../../../packages/types/src/inventory/common/reservation-item.ts", + "qualifiedName": "ReservationItemDTO.created_at" + }, + "8053": { + "sourceFileName": "../../../packages/types/src/inventory/common/reservation-item.ts", + "qualifiedName": "ReservationItemDTO.updated_at" + }, + "8054": { + "sourceFileName": "../../../packages/types/src/inventory/common/reservation-item.ts", + "qualifiedName": "ReservationItemDTO.deleted_at" + }, + "8055": { + "sourceFileName": "../../../packages/types/src/inventory/mutations/reservation-item.ts", + "qualifiedName": "UpdateReservationItemInput" + }, + "8056": { + "sourceFileName": "../../../packages/types/src/inventory/mutations/reservation-item.ts", + "qualifiedName": "UpdateReservationItemInput.id" + }, + "8057": { + "sourceFileName": "../../../packages/types/src/inventory/mutations/reservation-item.ts", + "qualifiedName": "UpdateReservationItemInput.quantity" + }, + "8058": { + "sourceFileName": "../../../packages/types/src/inventory/mutations/reservation-item.ts", + "qualifiedName": "UpdateReservationItemInput.location_id" + }, + "8059": { + "sourceFileName": "../../../packages/types/src/inventory/mutations/reservation-item.ts", + "qualifiedName": "UpdateReservationItemInput.description" + }, + "8060": { + "sourceFileName": "../../../packages/types/src/inventory/mutations/reservation-item.ts", + "qualifiedName": "UpdateReservationItemInput.metadata" + }, + "8061": { + "sourceFileName": "../../../packages/types/src/http/api-key/admin/api-key.ts", + "qualifiedName": "ApiKeyResponse" + }, + "8062": { + "sourceFileName": "../../../packages/types/src/http/api-key/admin/api-key.ts", + "qualifiedName": "ApiKeyResponse.id" + }, + "8063": { + "sourceFileName": "../../../packages/types/src/http/api-key/admin/api-key.ts", + "qualifiedName": "ApiKeyResponse.token" + }, + "8064": { + "sourceFileName": "../../../packages/types/src/http/api-key/admin/api-key.ts", + "qualifiedName": "ApiKeyResponse.redacted" + }, + "8065": { + "sourceFileName": "../../../packages/types/src/http/api-key/admin/api-key.ts", + "qualifiedName": "ApiKeyResponse.title" + }, + "8066": { + "sourceFileName": "../../../packages/types/src/http/api-key/admin/api-key.ts", + "qualifiedName": "ApiKeyResponse.type" + }, + "8067": { + "sourceFileName": "../../../packages/types/src/http/api-key/admin/api-key.ts", + "qualifiedName": "ApiKeyResponse.last_used_at" + }, + "8068": { + "sourceFileName": "../../../packages/types/src/http/api-key/admin/api-key.ts", + "qualifiedName": "ApiKeyResponse.created_by" + }, + "8069": { + "sourceFileName": "../../../packages/types/src/http/api-key/admin/api-key.ts", + "qualifiedName": "ApiKeyResponse.created_at" + }, + "8070": { + "sourceFileName": "../../../packages/types/src/http/api-key/admin/api-key.ts", + "qualifiedName": "ApiKeyResponse.revoked_by" + }, + "8071": { + "sourceFileName": "../../../packages/types/src/http/api-key/admin/api-key.ts", + "qualifiedName": "ApiKeyResponse.revoked_at" + }, + "8072": { + "sourceFileName": "../../../packages/types/src/http/common/paginated-response.ts", + "qualifiedName": "PaginatedResponse" + }, + "8073": { + "sourceFileName": "../../../packages/types/src/http/common/paginated-response.ts", + "qualifiedName": "PaginatedResponse.limit" + }, + "8074": { + "sourceFileName": "../../../packages/types/src/http/common/paginated-response.ts", + "qualifiedName": "PaginatedResponse.offset" + }, + "8075": { + "sourceFileName": "../../../packages/types/src/http/common/paginated-response.ts", + "qualifiedName": "PaginatedResponse.count" + }, + "8076": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerResponse" + }, + "8077": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerResponse.id" + }, + "8078": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerResponse.email" + }, + "8079": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerResponse.default_billing_address_id" + }, + "8080": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerResponse.default_shipping_address_id" + }, + "8081": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerResponse.company_name" + }, + "8082": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerResponse.first_name" + }, + "8083": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerResponse.last_name" + }, + "8084": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerResponse.has_account" + }, + "8085": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerResponse.addresses" + }, + "8086": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerResponse.phone" + }, + "8087": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerResponse.groups" + }, + "8088": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerResponse.metadata" + }, + "8089": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerResponse.created_by" + }, + "8090": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerResponse.deleted_at" + }, + "8091": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerResponse.created_at" + }, + "8092": { + "sourceFileName": "../../../packages/types/src/http/customer/admin/customer.ts", + "qualifiedName": "CustomerResponse.updated_at" + }, + "8093": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionResponse" + }, + "8094": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionResponse.id" + }, + "8095": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionResponse.name" + }, + "8096": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionResponse.price_type" + }, + "8097": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionResponse.service_zone_id" + }, + "8098": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionResponse.shipping_profile_id" + }, + "8099": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionResponse.provider_id" + }, + "8100": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionResponse.shipping_option_type_id" + }, + "8101": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionResponse.data" + }, + "8102": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionResponse.metadata" + }, + "8103": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionResponse.service_zone" + }, + "8104": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionResponse.shipping_profile" + }, + "8105": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionResponse.provider" + }, + "8106": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionResponse.type" + }, + "8107": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionResponse.rules" + }, + "8108": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionResponse.prices" + }, + "8109": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionResponse.created_at" + }, + "8110": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionResponse.updated_at" + }, + "8111": { + "sourceFileName": "../../../packages/types/src/http/fulfillment/admin/shipping-option.ts", + "qualifiedName": "AdminShippingOptionResponse.deleted_at" + }, + "8112": { + "sourceFileName": "../../../packages/types/src/http/common/deleted-response.ts", + "qualifiedName": "DeleteResponse" + }, + "8113": { + "sourceFileName": "../../../packages/types/src/http/common/deleted-response.ts", + "qualifiedName": "__type" + }, + "8114": { + "sourceFileName": "../../../packages/types/src/http/common/deleted-response.ts", + "qualifiedName": "__type.id" + }, + "8115": { + "sourceFileName": "../../../packages/types/src/http/common/deleted-response.ts", + "qualifiedName": "__type.object" + }, + "8116": { + "sourceFileName": "../../../packages/types/src/http/common/deleted-response.ts", + "qualifiedName": "__type.deleted" + }, + "8117": { + "sourceFileName": "../../../packages/types/src/http/common/deleted-response.ts", + "qualifiedName": "T" + }, + "8118": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAddress" + }, + "8119": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAddress.id" + }, + "8120": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAddress.customer_id" + }, + "8121": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAddress.first_name" + }, + "8122": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAddress.last_name" + }, + "8123": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAddress.phone" + }, + "8124": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAddress.company" + }, + "8125": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAddress.address_1" + }, + "8126": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAddress.address_2" + }, + "8127": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAddress.city" + }, + "8128": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAddress.country_code" + }, + "8129": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAddress.province" + }, + "8130": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAddress.postal_code" + }, + "8131": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAddress.metadata" + }, + "8132": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAddress.created_at" + }, + "8133": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAddress.updated_at" + }, + "8134": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem" + }, + "8135": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.id" + }, + "8136": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.title" + }, + "8137": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.subtitle" + }, + "8138": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.thumbnail" + }, + "8139": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.variant_id" + }, + "8140": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.product_id" + }, + "8141": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.product_title" + }, + "8142": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.product_description" + }, + "8143": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.product_subtitle" + }, + "8144": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.product_type" + }, + "8145": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.product_collection" + }, + "8146": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.product_handle" + }, + "8147": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.variant_sku" + }, + "8148": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.variant_barcode" + }, + "8149": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.variant_title" + }, + "8150": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.variant_option_values" + }, + "8151": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.requires_shipping" + }, + "8152": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.is_discountable" + }, + "8153": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.is_tax_inclusive" + }, + "8154": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.compare_at_unit_price" + }, + "8155": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.raw_compare_at_unit_price" + }, + "8156": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.unit_price" + }, + "8157": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.raw_unit_price" + }, + "8158": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.quantity" + }, + "8159": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.raw_quantity" + }, + "8160": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.tax_lines" + }, + "8161": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.adjustments" + }, + "8162": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.detail" + }, + "8163": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.created_at" + }, + "8164": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.updated_at" + }, + "8165": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.metadata" + }, + "8166": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.original_total" + }, + "8167": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.original_subtotal" + }, + "8168": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.original_tax_total" + }, + "8169": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.item_total" + }, + "8170": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.item_subtotal" + }, + "8171": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.item_tax_total" + }, + "8172": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.total" + }, + "8173": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.subtotal" + }, + "8174": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.tax_total" + }, + "8175": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.discount_total" + }, + "8176": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.discount_tax_total" + }, + "8177": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.raw_original_total" + }, + "8178": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.raw_original_subtotal" + }, + "8179": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.raw_original_tax_total" + }, + "8180": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.raw_item_total" + }, + "8181": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.raw_item_subtotal" + }, + "8182": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.raw_item_tax_total" + }, + "8183": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.raw_total" + }, + "8184": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.raw_subtotal" + }, + "8185": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.raw_tax_total" + }, + "8186": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.raw_discount_total" + }, + "8187": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItem.raw_discount_tax_total" + }, + "8188": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethod" + }, + "8189": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethod.id" + }, + "8190": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethod.order_id" + }, + "8191": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethod.name" + }, + "8192": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethod.description" + }, + "8193": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethod.amount" + }, + "8194": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethod.raw_amount" + }, + "8195": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethod.is_tax_inclusive" + }, + "8196": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethod.shipping_option_id" + }, + "8197": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethod.data" + }, + "8198": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethod.metadata" + }, + "8199": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethod.tax_lines" + }, + "8200": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethod.adjustments" + }, + "8201": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethod.created_at" + }, + "8202": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethod.updated_at" + }, + "8203": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTransaction" + }, + "8204": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTransaction.id" + }, + "8205": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTransaction.order_id" + }, + "8206": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTransaction.amount" + }, + "8207": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTransaction.raw_amount" + }, + "8208": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTransaction.currency_code" + }, + "8209": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTransaction.reference" + }, + "8210": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTransaction.reference_id" + }, + "8211": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTransaction.metadata" + }, + "8212": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTransaction.created_at" + }, + "8213": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTransaction.updated_at" + }, + "8214": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderSummary" + }, + "8215": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderSummary.total" + }, + "8216": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderSummary.subtotal" + }, + "8217": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderSummary.total_tax" + }, + "8218": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderSummary.ordered_total" + }, + "8219": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderSummary.fulfilled_total" + }, + "8220": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderSummary.returned_total" + }, + "8221": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderSummary.return_request_total" + }, + "8222": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderSummary.write_off_total" + }, + "8223": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderSummary.projected_total" + }, + "8224": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderSummary.net_total" + }, + "8225": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderSummary.net_subtotal" + }, + "8226": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderSummary.net_total_tax" + }, + "8227": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderSummary.future_total" + }, + "8228": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderSummary.future_subtotal" + }, + "8229": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderSummary.future_total_tax" + }, + "8230": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderSummary.future_projected_total" + }, + "8231": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderSummary.balance" + }, + "8232": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderSummary.future_balance" + }, + "8233": { + "sourceFileName": "../../../packages/types/src/http/product-category/common.ts", + "qualifiedName": "ProductCategoryResponse" + }, + "8234": { + "sourceFileName": "../../../packages/types/src/http/product-category/common.ts", + "qualifiedName": "ProductCategoryResponse.id" + }, + "8235": { + "sourceFileName": "../../../packages/types/src/http/product-category/common.ts", + "qualifiedName": "ProductCategoryResponse.name" + }, + "8236": { + "sourceFileName": "../../../packages/types/src/http/product-category/common.ts", + "qualifiedName": "ProductCategoryResponse.description" + }, + "8237": { + "sourceFileName": "../../../packages/types/src/http/product-category/common.ts", + "qualifiedName": "ProductCategoryResponse.handle" + }, + "8238": { + "sourceFileName": "../../../packages/types/src/http/product-category/common.ts", + "qualifiedName": "ProductCategoryResponse.is_active" + }, + "8239": { + "sourceFileName": "../../../packages/types/src/http/product-category/common.ts", + "qualifiedName": "ProductCategoryResponse.is_internal" + }, + "8240": { + "sourceFileName": "../../../packages/types/src/http/product-category/common.ts", + "qualifiedName": "ProductCategoryResponse.rank" + }, + "8241": { + "sourceFileName": "../../../packages/types/src/http/product-category/common.ts", + "qualifiedName": "ProductCategoryResponse.parent_category_id" + }, + "8242": { + "sourceFileName": "../../../packages/types/src/http/product-category/common.ts", + "qualifiedName": "ProductCategoryResponse.created_at" + }, + "8243": { + "sourceFileName": "../../../packages/types/src/http/product-category/common.ts", + "qualifiedName": "ProductCategoryResponse.updated_at" + }, + "8244": { + "sourceFileName": "../../../packages/types/src/http/product-category/common.ts", + "qualifiedName": "ProductCategoryResponse.parent_category" + }, + "8245": { + "sourceFileName": "../../../packages/types/src/http/product-category/common.ts", + "qualifiedName": "ProductCategoryResponse.category_children" + }, + "8246": { + "sourceFileName": "../../../packages/types/src/http/sales-channel/admin/sales-channel.ts", + "qualifiedName": "SalesChannelResponse" + }, + "8247": { + "sourceFileName": "../../../packages/types/src/http/sales-channel/admin/sales-channel.ts", + "qualifiedName": "SalesChannelResponse.id" + }, + "8248": { + "sourceFileName": "../../../packages/types/src/http/sales-channel/admin/sales-channel.ts", + "qualifiedName": "SalesChannelResponse.name" + }, + "8249": { + "sourceFileName": "../../../packages/types/src/http/sales-channel/admin/sales-channel.ts", + "qualifiedName": "SalesChannelResponse.description" + }, + "8250": { + "sourceFileName": "../../../packages/types/src/http/sales-channel/admin/sales-channel.ts", + "qualifiedName": "SalesChannelResponse.is_disabled" + }, + "8251": { + "sourceFileName": "../../../packages/types/src/http/sales-channel/admin/sales-channel.ts", + "qualifiedName": "SalesChannelResponse.metadata" + }, + "8252": { + "sourceFileName": "../../../packages/types/src/http/reservation/admin/reservation.ts", + "qualifiedName": "ReservationResponse" + }, + "8253": { + "sourceFileName": "../../../packages/types/src/http/reservation/admin/reservation.ts", + "qualifiedName": "ReservationResponse.id" + }, + "8254": { + "sourceFileName": "../../../packages/types/src/http/reservation/admin/reservation.ts", + "qualifiedName": "ReservationResponse.line_item_id" + }, + "8255": { + "sourceFileName": "../../../packages/types/src/http/reservation/admin/reservation.ts", + "qualifiedName": "ReservationResponse.location_id" + }, + "8256": { + "sourceFileName": "../../../packages/types/src/http/reservation/admin/reservation.ts", + "qualifiedName": "ReservationResponse.quantity" + }, + "8257": { + "sourceFileName": "../../../packages/types/src/http/reservation/admin/reservation.ts", + "qualifiedName": "ReservationResponse.external_id" + }, + "8258": { + "sourceFileName": "../../../packages/types/src/http/reservation/admin/reservation.ts", + "qualifiedName": "ReservationResponse.description" + }, + "8259": { + "sourceFileName": "../../../packages/types/src/http/reservation/admin/reservation.ts", + "qualifiedName": "ReservationResponse.inventory_item_id" + }, + "8260": { + "sourceFileName": "../../../packages/types/src/http/reservation/admin/reservation.ts", + "qualifiedName": "ReservationResponse.inventory_item" + }, + "8261": { + "sourceFileName": "../../../packages/types/src/http/reservation/admin/reservation.ts", + "qualifiedName": "ReservationResponse.metadata" + }, + "8262": { + "sourceFileName": "../../../packages/types/src/http/reservation/admin/reservation.ts", + "qualifiedName": "ReservationResponse.created_by" + }, + "8263": { + "sourceFileName": "../../../packages/types/src/http/reservation/admin/reservation.ts", + "qualifiedName": "ReservationResponse.deleted_at" + }, + "8264": { + "sourceFileName": "../../../packages/types/src/http/reservation/admin/reservation.ts", + "qualifiedName": "ReservationResponse.created_at" + }, + "8265": { + "sourceFileName": "../../../packages/types/src/http/reservation/admin/reservation.ts", + "qualifiedName": "ReservationResponse.updated_at" + }, + "8266": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "Scalar" }, - "3746": { + "8267": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type" }, - "3747": { + "8268": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.toHexString" }, - "3748": { + "8269": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.toHexString" }, - "3749": { + "8270": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "FilterValue" }, - "3750": { + "8271": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "T" }, - "3751": { + "8272": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItemTaxLine" + }, + "8273": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItemTaxLine.item" + }, + "8274": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItemTaxLine.item_id" + }, + "8275": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItemTaxLine.total" + }, + "8276": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItemTaxLine.subtotal" + }, + "8277": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItemTaxLine.raw_total" + }, + "8278": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItemTaxLine.raw_subtotal" + }, + "8279": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.id" + }, + "8280": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.description" + }, + "8281": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.tax_rate_id" + }, + "8282": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.code" + }, + "8283": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.rate" + }, + "8284": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.provider_id" + }, + "8285": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.created_at" + }, + "8286": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.updated_at" + }, + "8287": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItemAdjustment" + }, + "8288": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItemAdjustment.item" + }, + "8289": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderLineItemAdjustment.item_id" + }, + "8290": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.id" + }, + "8291": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.code" + }, + "8292": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.amount" + }, + "8293": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.order_id" + }, + "8294": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.description" + }, + "8295": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.promotion_id" + }, + "8296": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.provider_id" + }, + "8297": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.created_at" + }, + "8298": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.updated_at" + }, + "8299": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail" + }, + "8300": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.id" + }, + "8301": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.item_id" + }, + "8302": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.item" + }, + "8303": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.quantity" + }, + "8304": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.fulfilled_quantity" + }, + "8305": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.shipped_quantity" + }, + "8306": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.return_requested_quantity" + }, + "8307": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.return_received_quantity" + }, + "8308": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.return_dismissed_quantity" + }, + "8309": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.written_off_quantity" + }, + "8310": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.raw_quantity" + }, + "8311": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.raw_fulfilled_quantity" + }, + "8312": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.raw_shipped_quantity" + }, + "8313": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.raw_return_requested_quantity" + }, + "8314": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.raw_return_received_quantity" + }, + "8315": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.raw_return_dismissed_quantity" + }, + "8316": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.raw_written_off_quantity" + }, + "8317": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.metadata" + }, + "8318": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.created_at" + }, + "8319": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderItemDetail.updated_at" + }, + "8320": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethodTaxLine" + }, + "8321": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethodTaxLine.shipping_method" + }, + "8322": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethodTaxLine.shipping_method_id" + }, + "8323": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethodTaxLine.total" + }, + "8324": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethodTaxLine.subtotal" + }, + "8325": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethodTaxLine.raw_total" + }, + "8326": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethodTaxLine.raw_subtotal" + }, + "8327": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.id" + }, + "8328": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.description" + }, + "8329": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.tax_rate_id" + }, + "8330": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.code" + }, + "8331": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.rate" + }, + "8332": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.provider_id" + }, + "8333": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.created_at" + }, + "8334": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.updated_at" + }, + "8335": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethodAdjustment" + }, + "8336": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethodAdjustment.shipping_method" + }, + "8337": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderShippingMethodAdjustment.shipping_method_id" + }, + "8338": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.id" + }, + "8339": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.code" + }, + "8340": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.amount" + }, + "8341": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.order_id" + }, + "8342": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.description" + }, + "8343": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.promotion_id" + }, + "8344": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.provider_id" + }, + "8345": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.created_at" + }, + "8346": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.updated_at" + }, + "8347": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "FilterValue2" }, - "3752": { + "8348": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "T" }, - "3753": { + "8349": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine" + }, + "8350": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.id" + }, + "8351": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.description" + }, + "8352": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.tax_rate_id" + }, + "8353": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.code" + }, + "8354": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.rate" + }, + "8355": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.provider_id" + }, + "8356": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.created_at" + }, + "8357": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderTaxLine.updated_at" + }, + "8358": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine" + }, + "8359": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.id" + }, + "8360": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.code" + }, + "8361": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.amount" + }, + "8362": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.order_id" + }, + "8363": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.description" + }, + "8364": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.promotion_id" + }, + "8365": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.provider_id" + }, + "8366": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.created_at" + }, + "8367": { + "sourceFileName": "../../../packages/types/src/http/order/admin/index.ts", + "qualifiedName": "OrderAdjustmentLine.updated_at" + }, + "8368": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "Primary" }, - "3754": { + "8369": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type" }, - "3755": { + "8370": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.[PrimaryKeyType]" }, - "3756": { + "8371": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type" }, - "3757": { + "8372": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type._id" }, - "3758": { + "8373": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type" }, - "3759": { + "8374": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.uuid" }, - "3760": { + "8375": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type" }, - "3761": { + "8376": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.id" }, - "3762": { + "8377": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "T" }, - "3763": { + "8378": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "ReadonlyPrimary" }, - "3764": { + "8379": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "T" } diff --git a/docs-util/typedoc-json-output/entities.json b/docs-util/typedoc-json-output/entities.json index b54622a61a12c..cbb557ff8cfc9 100644 --- a/docs-util/typedoc-json-output/entities.json +++ b/docs-util/typedoc-json-output/entities.json @@ -22478,7 +22478,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/pricing/price-list.d.ts", + "sourceFileName": "../../../packages/utils/src/pricing/price-list.ts", "qualifiedName": "PriceListType" }, "name": "PriceListType", @@ -22503,7 +22503,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/pricing/price-list.d.ts", + "sourceFileName": "../../../packages/utils/src/pricing/price-list.ts", "qualifiedName": "PriceListStatus" }, "name": "PriceListStatus", diff --git a/docs-util/typedoc-json-output/fulfillment.json b/docs-util/typedoc-json-output/fulfillment.json index b9324ee9d0444..a1761728e1ddc 100644 --- a/docs-util/typedoc-json-output/fulfillment.json +++ b/docs-util/typedoc-json-output/fulfillment.json @@ -67,7 +67,7 @@ }, { "kind": "code", - "text": "```ts title=src/services/my-fulfillment.ts\nimport { AbstractFulfillmentService } from \"@medusajs/medusa\"\n\nclass MyFulfillmentService extends AbstractFulfillmentService {\n // methods here...\n}\n\nexport default MyFulfillmentService\n```" + "text": "```ts title=\"src/services/my-fulfillment.ts\"\nimport { AbstractFulfillmentService } from \"@medusajs/medusa\"\n\nclass MyFulfillmentService extends AbstractFulfillmentService {\n // methods here...\n}\n\nexport default MyFulfillmentService\n```" }, { "kind": "text", @@ -103,7 +103,7 @@ }, { "kind": "text", - "text": " property in the fulfillment provider service is used when the fulfillment provider is added to the database.\n\nThe value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/api/admin#regions_postregionsregionfulfillmentproviders) to a region.\n\n" + "text": " property in the fulfillment provider service is used when the fulfillment provider is added to the database.\n\nThe value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionfulfillmentproviders) to a region.\n\n" }, { "kind": "code", @@ -133,7 +133,7 @@ "summary": [ { "kind": "text", - "text": "This method is used when retrieving the list of fulfillment options available in a region, particularly by the [List Fulfillment Options API Route](https://docs.medusajs.com/api/admin#regions_getregionsregionfulfillmentoptions).\nFor example, if you’re integrating UPS as a fulfillment provider, you might support two fulfillment options: UPS Express Shipping and UPS Access Point. Each of these options can have different data associated with them." + "text": "This method is used when retrieving the list of fulfillment options available in a region, particularly by the [List Fulfillment Options API Route](https://docs.medusajs.com/v1/api/admin#regions_getregionsregionfulfillmentoptions).\nFor example, if you’re integrating UPS as a fulfillment provider, you might support two fulfillment options: UPS Express Shipping and UPS Access Point. Each of these options can have different data associated with them." } ], "blockTags": [ @@ -142,7 +142,7 @@ "content": [ { "kind": "text", - "text": "The list of fulfillment options. These options don't have any required format. Later on, these options can be used when creating a shipping option,\nsuch as when using the [Create Shipping Option API Route](https://docs.medusajs.com/api/admin#shipping-options_postshippingoptions). The chosen fulfillment option, which is one of the\nitems in the array returned by this method, will be set in the " + "text": "The list of fulfillment options. These options don't have any required format. Later on, these options can be used when creating a shipping option,\nsuch as when using the [Create Shipping Option API Route](https://docs.medusajs.com/v1/api/admin#shipping-options_postshippingoptions). The chosen fulfillment option, which is one of the\nitems in the array returned by this method, will be set in the " }, { "kind": "code", @@ -386,7 +386,7 @@ "summary": [ { "kind": "text", - "text": "Once the admin creates the shipping option, the data of the shipping option will be validated first using this method. This method is called when the [Create Shipping Option API Route](https://docs.medusajs.com/api/admin#shipping-options_postshippingoptions) is used." + "text": "Once the admin creates the shipping option, the data of the shipping option will be validated first using this method. This method is called when the [Create Shipping Option API Route](https://docs.medusajs.com/v1/api/admin#shipping-options_postshippingoptions) is used." } ], "blockTags": [ @@ -1177,7 +1177,7 @@ }, { "kind": "text", - "text": " property is true or if an admin creates a Return Shipping Option from the settings.\nThis method is used when the admin [creates a return request](https://docs.medusajs.com/api/admin#orders_postordersorderreturns) for an order,\n[creates a swap](https://docs.medusajs.com/api/admin#orders_postordersorderswaps) for an order, or when the\n[customer creates a return of their order](https://docs.medusajs.com/api/store#returns_postreturns). The fulfillment is created automatically for the order return." + "text": " property is true or if an admin creates a Return Shipping Option from the settings.\nThis method is used when the admin [creates a return request](https://docs.medusajs.com/v1/api/admin#orders_postordersorderreturns) for an order,\n[creates a swap](https://docs.medusajs.com/v1/api/admin#orders_postordersorderswaps) for an order, or when the\n[customer creates a return of their order](https://docs.medusajs.com/v1/api/store#returns_postreturns). The fulfillment is created automatically for the order return." } ], "blockTags": [ @@ -2670,7 +2670,7 @@ }, { "kind": "text", - "text": " property in the class is used when the fulfillment provider is created in the database.\nThe value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/api/admin#regions_postregionsregionfulfillmentproviders) to a region." + "text": " property in the class is used when the fulfillment provider is created in the database.\nThe value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionfulfillmentproviders) to a region." } ], "blockTags": [ @@ -2709,7 +2709,7 @@ "summary": [ { "kind": "text", - "text": "This method is used when retrieving the list of fulfillment options available in a region, particularly by the [List Fulfillment Options API Route](https://docs.medusajs.com/api/admin#regions_getregionsregionfulfillmentoptions).\nFor example, if you’re integrating UPS as a fulfillment provider, you might support two fulfillment options: UPS Express Shipping and UPS Access Point. Each of these options can have different data associated with them." + "text": "This method is used when retrieving the list of fulfillment options available in a region, particularly by the [List Fulfillment Options API Route](https://docs.medusajs.com/v1/api/admin#regions_getregionsregionfulfillmentoptions).\nFor example, if you’re integrating UPS as a fulfillment provider, you might support two fulfillment options: UPS Express Shipping and UPS Access Point. Each of these options can have different data associated with them." } ], "blockTags": [ @@ -2718,7 +2718,7 @@ "content": [ { "kind": "text", - "text": "The list of fulfillment options. These options don't have any required format. Later on, these options can be used when creating a shipping option,\nsuch as when using the [Create Shipping Option API Route](https://docs.medusajs.com/api/admin#shipping-options_postshippingoptions). The chosen fulfillment option, which is one of the\nitems in the array returned by this method, will be set in the " + "text": "The list of fulfillment options. These options don't have any required format. Later on, these options can be used when creating a shipping option,\nsuch as when using the [Create Shipping Option API Route](https://docs.medusajs.com/v1/api/admin#shipping-options_postshippingoptions). The chosen fulfillment option, which is one of the\nitems in the array returned by this method, will be set in the " }, { "kind": "code", @@ -2986,7 +2986,7 @@ "summary": [ { "kind": "text", - "text": "Once the admin creates the shipping option, the data of the shipping option will be validated first using this method. This method is called when the [Create Shipping Option API Route](https://docs.medusajs.com/api/admin#shipping-options_postshippingoptions) is used." + "text": "Once the admin creates the shipping option, the data of the shipping option will be validated first using this method. This method is called when the [Create Shipping Option API Route](https://docs.medusajs.com/v1/api/admin#shipping-options_postshippingoptions) is used." } ], "blockTags": [ @@ -3837,7 +3837,7 @@ }, { "kind": "text", - "text": " property is true or if an admin creates a Return Shipping Option from the settings.\nThis method is used when the admin [creates a return request](https://docs.medusajs.com/api/admin#orders_postordersorderreturns) for an order,\n[creates a swap](https://docs.medusajs.com/api/admin#orders_postordersorderswaps) for an order, or when the\n[customer creates a return of their order](https://docs.medusajs.com/api/store#returns_postreturns). The fulfillment is created automatically for the order return." + "text": " property is true or if an admin creates a Return Shipping Option from the settings.\nThis method is used when the admin [creates a return request](https://docs.medusajs.com/v1/api/admin#orders_postordersorderreturns) for an order,\n[creates a swap](https://docs.medusajs.com/v1/api/admin#orders_postordersorderswaps) for an order, or when the\n[customer creates a return of their order](https://docs.medusajs.com/v1/api/store#returns_postreturns). The fulfillment is created automatically for the order return." } ], "blockTags": [ diff --git a/docs-util/typedoc-json-output/inventory.json b/docs-util/typedoc-json-output/inventory.json index 9958babff5f34..5ee93dbad8d7e 100644 --- a/docs-util/typedoc-json-output/inventory.json +++ b/docs-util/typedoc-json-output/inventory.json @@ -6,7 +6,7 @@ "flags": {}, "children": [ { - "id": 154, + "id": 166, "name": "FindConfig", "variant": "declaration", "kind": 256, @@ -29,7 +29,7 @@ }, "children": [ { - "id": 155, + "id": 167, "name": "select", "variant": "declaration", "kind": 1024, @@ -58,7 +58,7 @@ "operator": "keyof", "target": { "type": "reference", - "target": 164, + "target": 177, "name": "Entity", "package": "@medusajs/types", "qualifiedName": "FindConfig.Entity", @@ -70,7 +70,7 @@ } }, { - "id": 156, + "id": 168, "name": "skip", "variant": "declaration", "kind": 1024, @@ -100,7 +100,7 @@ } }, { - "id": 157, + "id": 169, "name": "take", "variant": "declaration", "kind": 1024, @@ -130,7 +130,7 @@ } }, { - "id": 158, + "id": 170, "name": "relations", "variant": "declaration", "kind": 1024, @@ -154,7 +154,7 @@ } }, { - "id": 159, + "id": 171, "name": "order", "variant": "declaration", "kind": 1024, @@ -188,20 +188,20 @@ "type": { "type": "reflection", "declaration": { - "id": 160, + "id": 172, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 161, + "id": 173, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 162, + "id": 174, "name": "K", "variant": "param", "kind": 32768, @@ -230,7 +230,7 @@ } }, { - "id": 163, + "id": 175, "name": "withDeleted", "variant": "declaration", "kind": 1024, @@ -257,24 +257,61 @@ "type": "intrinsic", "name": "boolean" } + }, + { + "id": 176, + "name": "filters", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enable ORM specific defined filters" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } } ], "groups": [ { "title": "Properties", "children": [ - 155, - 156, - 157, - 158, - 159, - 163 + 167, + 168, + 169, + 170, + 171, + 175, + 176 ] } ], "typeParameters": [ { - "id": 164, + "id": 177, "name": "Entity", "variant": "typeParam", "kind": 131072, @@ -283,98 +320,162 @@ ] }, { - "id": 298, + "id": 312, "name": "StringComparisonOperator", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Fields used to apply flexible filters on strings." + } + ] + }, "children": [ { - "id": 299, + "id": 313, "name": "lt", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filtered string must be less than this value." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 300, + "id": 314, "name": "gt", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filtered string must be greater than this value." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 301, + "id": 315, "name": "gte", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filtered string must be greater than or equal to this value." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 302, + "id": 316, "name": "lte", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filtered string must be less than or equal to this value." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 303, + "id": 317, "name": "contains", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filtered string must contain this value." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 304, + "id": 318, "name": "starts_with", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filtered string must start with this value." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 305, + "id": 319, "name": "ends_with", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filtered string must end with this value." + } + ] + }, "type": { "type": "intrinsic", "name": "string" @@ -385,71 +486,111 @@ { "title": "Properties", "children": [ - 299, - 300, - 301, - 302, - 303, - 304, - 305 + 313, + 314, + 315, + 316, + 317, + 318, + 319 ] } ] }, { - "id": 306, + "id": 320, "name": "NumericalComparisonOperator", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Fields used to apply flexible filters on numbers." + } + ] + }, "children": [ { - "id": 307, + "id": 321, "name": "lt", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filtered number must be less than this value." + } + ] + }, "type": { "type": "intrinsic", "name": "number" } }, { - "id": 308, + "id": 322, "name": "gt", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filtered number must be greater than this value." + } + ] + }, "type": { "type": "intrinsic", "name": "number" } }, { - "id": 309, + "id": 323, "name": "gte", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filtered number must be greater than or equal to this value." + } + ] + }, "type": { "type": "intrinsic", "name": "number" } }, { - "id": 310, + "id": 324, "name": "lte", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filtered number must be less than or equal to this value." + } + ] + }, "type": { "type": "intrinsic", "name": "number" @@ -460,16 +601,16 @@ { "title": "Properties", "children": [ - 307, - 308, - 309, - 310 + 321, + 322, + 323, + 324 ] } ] }, { - "id": 165, + "id": 178, "name": "InventoryItemDTO", "variant": "declaration", "kind": 2097152, @@ -483,14 +624,14 @@ "type": { "type": "reflection", "declaration": { - "id": 166, + "id": 179, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 167, + "id": 180, "name": "id", "variant": "declaration", "kind": 1024, @@ -509,7 +650,7 @@ } }, { - "id": 168, + "id": 181, "name": "sku", "variant": "declaration", "kind": 1024, @@ -539,7 +680,7 @@ } }, { - "id": 169, + "id": 182, "name": "origin_country", "variant": "declaration", "kind": 1024, @@ -569,7 +710,7 @@ } }, { - "id": 170, + "id": 183, "name": "hs_code", "variant": "declaration", "kind": 1024, @@ -599,7 +740,7 @@ } }, { - "id": 171, + "id": 184, "name": "requires_shipping", "variant": "declaration", "kind": 1024, @@ -618,7 +759,7 @@ } }, { - "id": 172, + "id": 185, "name": "mid_code", "variant": "declaration", "kind": 1024, @@ -648,7 +789,7 @@ } }, { - "id": 173, + "id": 186, "name": "material", "variant": "declaration", "kind": 1024, @@ -678,7 +819,7 @@ } }, { - "id": 174, + "id": 187, "name": "weight", "variant": "declaration", "kind": 1024, @@ -708,7 +849,7 @@ } }, { - "id": 175, + "id": 188, "name": "length", "variant": "declaration", "kind": 1024, @@ -738,7 +879,7 @@ } }, { - "id": 176, + "id": 189, "name": "height", "variant": "declaration", "kind": 1024, @@ -768,7 +909,7 @@ } }, { - "id": 177, + "id": 190, "name": "width", "variant": "declaration", "kind": 1024, @@ -798,7 +939,7 @@ } }, { - "id": 178, + "id": 191, "name": "title", "variant": "declaration", "kind": 1024, @@ -828,7 +969,7 @@ } }, { - "id": 179, + "id": 192, "name": "description", "variant": "declaration", "kind": 1024, @@ -858,7 +999,7 @@ } }, { - "id": 180, + "id": 193, "name": "thumbnail", "variant": "declaration", "kind": 1024, @@ -888,7 +1029,7 @@ } }, { - "id": 181, + "id": 194, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -933,7 +1074,7 @@ } }, { - "id": 182, + "id": 195, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -966,7 +1107,7 @@ } }, { - "id": 183, + "id": 196, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -999,7 +1140,7 @@ } }, { - "id": 184, + "id": 197, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -1040,24 +1181,24 @@ { "title": "Properties", "children": [ - 167, - 168, - 169, - 170, - 171, - 172, - 173, - 174, - 175, - 176, - 177, - 178, - 179, 180, 181, 182, 183, - 184 + 184, + 185, + 186, + 187, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 196, + 197 ] } ] @@ -1065,7 +1206,7 @@ } }, { - "id": 197, + "id": 210, "name": "ReservationItemDTO", "variant": "declaration", "kind": 2097152, @@ -1084,14 +1225,14 @@ "type": { "type": "reflection", "declaration": { - "id": 198, + "id": 211, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 199, + "id": 212, "name": "id", "variant": "declaration", "kind": 1024, @@ -1110,7 +1251,7 @@ } }, { - "id": 200, + "id": 213, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -1129,7 +1270,7 @@ } }, { - "id": 201, + "id": 214, "name": "inventory_item_id", "variant": "declaration", "kind": 1024, @@ -1148,7 +1289,7 @@ } }, { - "id": 202, + "id": 215, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -1167,7 +1308,7 @@ } }, { - "id": 203, + "id": 216, "name": "line_item_id", "variant": "declaration", "kind": 1024, @@ -1189,7 +1330,7 @@ } }, { - "id": 204, + "id": 217, "name": "description", "variant": "declaration", "kind": 1024, @@ -1219,7 +1360,7 @@ } }, { - "id": 205, + "id": 218, "name": "created_by", "variant": "declaration", "kind": 1024, @@ -1249,7 +1390,7 @@ } }, { - "id": 206, + "id": 219, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -1292,7 +1433,7 @@ } }, { - "id": 207, + "id": 220, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -1325,7 +1466,7 @@ } }, { - "id": 208, + "id": 221, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -1358,7 +1499,7 @@ } }, { - "id": 209, + "id": 222, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -1399,17 +1540,17 @@ { "title": "Properties", "children": [ - 199, - 200, - 201, - 202, - 203, - 204, - 205, - 206, - 207, - 208, - 209 + 212, + 213, + 214, + 215, + 216, + 217, + 218, + 219, + 220, + 221, + 222 ] } ] @@ -1417,7 +1558,7 @@ } }, { - "id": 216, + "id": 229, "name": "InventoryLevelDTO", "variant": "declaration", "kind": 2097152, @@ -1431,14 +1572,14 @@ "type": { "type": "reflection", "declaration": { - "id": 217, + "id": 230, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 218, + "id": 231, "name": "id", "variant": "declaration", "kind": 1024, @@ -1449,7 +1590,7 @@ } }, { - "id": 219, + "id": 232, "name": "inventory_item_id", "variant": "declaration", "kind": 1024, @@ -1460,7 +1601,7 @@ } }, { - "id": 220, + "id": 233, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -1479,7 +1620,7 @@ } }, { - "id": 221, + "id": 234, "name": "stocked_quantity", "variant": "declaration", "kind": 1024, @@ -1498,7 +1639,7 @@ } }, { - "id": 222, + "id": 235, "name": "reserved_quantity", "variant": "declaration", "kind": 1024, @@ -1517,7 +1658,7 @@ } }, { - "id": 223, + "id": 236, "name": "incoming_quantity", "variant": "declaration", "kind": 1024, @@ -1536,7 +1677,7 @@ } }, { - "id": 224, + "id": 237, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -1579,7 +1720,7 @@ } }, { - "id": 225, + "id": 238, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -1612,7 +1753,7 @@ } }, { - "id": 226, + "id": 239, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -1645,7 +1786,7 @@ } }, { - "id": 227, + "id": 240, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -1686,16 +1827,16 @@ { "title": "Properties", "children": [ - 218, - 219, - 220, - 221, - 222, - 223, - 224, - 225, - 226, - 227 + 231, + 232, + 233, + 234, + 235, + 236, + 237, + 238, + 239, + 240 ] } ] @@ -1703,7 +1844,7 @@ } }, { - "id": 188, + "id": 201, "name": "FilterableReservationItemProps", "variant": "declaration", "kind": 256, @@ -1718,7 +1859,7 @@ }, "children": [ { - "id": 189, + "id": 202, "name": "id", "variant": "declaration", "kind": 1024, @@ -1751,7 +1892,7 @@ } }, { - "id": 191, + "id": 204, "name": "line_item_id", "variant": "declaration", "kind": 1024, @@ -1784,7 +1925,7 @@ } }, { - "id": 192, + "id": 205, "name": "inventory_item_id", "variant": "declaration", "kind": 1024, @@ -1817,7 +1958,7 @@ } }, { - "id": 193, + "id": 206, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -1850,7 +1991,7 @@ } }, { - "id": 194, + "id": 207, "name": "description", "variant": "declaration", "kind": 1024, @@ -1882,7 +2023,7 @@ }, { "type": "reference", - "target": 298, + "target": 312, "name": "StringComparisonOperator", "package": "@medusajs/types" } @@ -1890,7 +2031,7 @@ } }, { - "id": 195, + "id": 208, "name": "created_by", "variant": "declaration", "kind": 1024, @@ -1923,7 +2064,7 @@ } }, { - "id": 196, + "id": 209, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -1955,7 +2096,7 @@ }, { "type": "reference", - "target": 306, + "target": 320, "name": "NumericalComparisonOperator", "package": "@medusajs/types" } @@ -1967,19 +2108,19 @@ { "title": "Properties", "children": [ - 189, - 191, - 192, - 193, - 194, - 195, - 196 + 202, + 204, + 205, + 206, + 207, + 208, + 209 ] } ] }, { - "id": 146, + "id": 158, "name": "FilterableInventoryItemProps", "variant": "declaration", "kind": 256, @@ -1994,7 +2135,7 @@ }, "children": [ { - "id": 147, + "id": 159, "name": "id", "variant": "declaration", "kind": 1024, @@ -2027,7 +2168,7 @@ } }, { - "id": 148, + "id": 160, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -2060,7 +2201,7 @@ } }, { - "id": 149, + "id": 161, "name": "q", "variant": "declaration", "kind": 1024, @@ -2081,7 +2222,7 @@ } }, { - "id": 150, + "id": 162, "name": "sku", "variant": "declaration", "kind": 1024, @@ -2112,7 +2253,7 @@ }, { "type": "reference", - "target": 298, + "target": 312, "name": "StringComparisonOperator", "package": "@medusajs/types" } @@ -2120,7 +2261,7 @@ } }, { - "id": 151, + "id": 163, "name": "origin_country", "variant": "declaration", "kind": 1024, @@ -2153,7 +2294,7 @@ } }, { - "id": 152, + "id": 164, "name": "hs_code", "variant": "declaration", "kind": 1024, @@ -2184,7 +2325,7 @@ }, { "type": "reference", - "target": 298, + "target": 312, "name": "StringComparisonOperator", "package": "@medusajs/types" } @@ -2192,7 +2333,7 @@ } }, { - "id": 153, + "id": 165, "name": "requires_shipping", "variant": "declaration", "kind": 1024, @@ -2217,19 +2358,19 @@ { "title": "Properties", "children": [ - 147, - 148, - 149, - 150, - 151, - 152, - 153 + 159, + 160, + 161, + 162, + 163, + 164, + 165 ] } ] }, { - "id": 237, + "id": 250, "name": "CreateInventoryItemInput", "variant": "declaration", "kind": 256, @@ -2244,7 +2385,7 @@ }, "children": [ { - "id": 238, + "id": 251, "name": "sku", "variant": "declaration", "kind": 1024, @@ -2274,7 +2415,7 @@ } }, { - "id": 239, + "id": 252, "name": "origin_country", "variant": "declaration", "kind": 1024, @@ -2304,7 +2445,7 @@ } }, { - "id": 240, + "id": 253, "name": "mid_code", "variant": "declaration", "kind": 1024, @@ -2334,7 +2475,7 @@ } }, { - "id": 241, + "id": 254, "name": "material", "variant": "declaration", "kind": 1024, @@ -2364,7 +2505,7 @@ } }, { - "id": 242, + "id": 255, "name": "weight", "variant": "declaration", "kind": 1024, @@ -2394,7 +2535,7 @@ } }, { - "id": 243, + "id": 256, "name": "length", "variant": "declaration", "kind": 1024, @@ -2424,7 +2565,7 @@ } }, { - "id": 244, + "id": 257, "name": "height", "variant": "declaration", "kind": 1024, @@ -2454,7 +2595,7 @@ } }, { - "id": 245, + "id": 258, "name": "width", "variant": "declaration", "kind": 1024, @@ -2484,7 +2625,7 @@ } }, { - "id": 246, + "id": 259, "name": "title", "variant": "declaration", "kind": 1024, @@ -2514,7 +2655,7 @@ } }, { - "id": 247, + "id": 260, "name": "description", "variant": "declaration", "kind": 1024, @@ -2544,7 +2685,7 @@ } }, { - "id": 248, + "id": 261, "name": "thumbnail", "variant": "declaration", "kind": 1024, @@ -2574,7 +2715,7 @@ } }, { - "id": 249, + "id": 262, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -2619,7 +2760,7 @@ } }, { - "id": 250, + "id": 263, "name": "hs_code", "variant": "declaration", "kind": 1024, @@ -2649,7 +2790,7 @@ } }, { - "id": 251, + "id": 264, "name": "requires_shipping", "variant": "declaration", "kind": 1024, @@ -2674,26 +2815,26 @@ { "title": "Properties", "children": [ - 238, - 239, - 240, - 241, - 242, - 243, - 244, - 245, - 246, - 247, - 248, - 249, - 250, - 251 + 251, + 252, + 253, + 254, + 255, + 256, + 257, + 258, + 259, + 260, + 261, + 262, + 263, + 264 ] } ] }, { - "id": 228, + "id": 241, "name": "CreateReservationItemInput", "variant": "declaration", "kind": 256, @@ -2708,7 +2849,7 @@ }, "children": [ { - "id": 229, + "id": 242, "name": "line_item_id", "variant": "declaration", "kind": 1024, @@ -2729,7 +2870,7 @@ } }, { - "id": 230, + "id": 243, "name": "inventory_item_id", "variant": "declaration", "kind": 1024, @@ -2748,7 +2889,7 @@ } }, { - "id": 231, + "id": 244, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -2767,7 +2908,7 @@ } }, { - "id": 232, + "id": 245, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -2786,7 +2927,7 @@ } }, { - "id": 233, + "id": 246, "name": "description", "variant": "declaration", "kind": 1024, @@ -2807,7 +2948,7 @@ } }, { - "id": 234, + "id": 247, "name": "created_by", "variant": "declaration", "kind": 1024, @@ -2828,7 +2969,7 @@ } }, { - "id": 235, + "id": 248, "name": "external_id", "variant": "declaration", "kind": 1024, @@ -2849,7 +2990,7 @@ } }, { - "id": 236, + "id": 249, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -2898,20 +3039,20 @@ { "title": "Properties", "children": [ - 229, - 230, - 231, - 232, - 233, - 234, - 235, - 236 + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249 ] } ] }, { - "id": 210, + "id": 223, "name": "FilterableInventoryLevelProps", "variant": "declaration", "kind": 256, @@ -2926,7 +3067,7 @@ }, "children": [ { - "id": 211, + "id": 224, "name": "inventory_item_id", "variant": "declaration", "kind": 1024, @@ -2959,7 +3100,7 @@ } }, { - "id": 212, + "id": 225, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -2992,7 +3133,7 @@ } }, { - "id": 213, + "id": 226, "name": "stocked_quantity", "variant": "declaration", "kind": 1024, @@ -3024,7 +3165,7 @@ }, { "type": "reference", - "target": 306, + "target": 320, "name": "NumericalComparisonOperator", "package": "@medusajs/types" } @@ -3032,7 +3173,7 @@ } }, { - "id": 214, + "id": 227, "name": "reserved_quantity", "variant": "declaration", "kind": 1024, @@ -3064,7 +3205,7 @@ }, { "type": "reference", - "target": 306, + "target": 320, "name": "NumericalComparisonOperator", "package": "@medusajs/types" } @@ -3072,7 +3213,7 @@ } }, { - "id": 215, + "id": 228, "name": "incoming_quantity", "variant": "declaration", "kind": 1024, @@ -3104,7 +3245,7 @@ }, { "type": "reference", - "target": 306, + "target": 320, "name": "NumericalComparisonOperator", "package": "@medusajs/types" } @@ -3116,17 +3257,17 @@ { "title": "Properties", "children": [ - 211, - 212, - 213, - 214, - 215 + 224, + 225, + 226, + 227, + 228 ] } ] }, { - "id": 252, + "id": 265, "name": "CreateInventoryLevelInput", "variant": "declaration", "kind": 256, @@ -3141,7 +3282,7 @@ }, "children": [ { - "id": 253, + "id": 266, "name": "inventory_item_id", "variant": "declaration", "kind": 1024, @@ -3160,7 +3301,7 @@ } }, { - "id": 254, + "id": 267, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -3179,7 +3320,7 @@ } }, { - "id": 255, + "id": 268, "name": "stocked_quantity", "variant": "declaration", "kind": 1024, @@ -3198,7 +3339,7 @@ } }, { - "id": 256, + "id": 269, "name": "reserved_quantity", "variant": "declaration", "kind": 1024, @@ -3219,7 +3360,7 @@ } }, { - "id": 257, + "id": 270, "name": "incoming_quantity", "variant": "declaration", "kind": 1024, @@ -3244,17 +3385,17 @@ { "title": "Properties", "children": [ - 253, - 254, - 255, - 256, - 257 + 266, + 267, + 268, + 269, + 270 ] } ] }, { - "id": 263, + "id": 276, "name": "UpdateInventoryLevelInput", "variant": "declaration", "kind": 256, @@ -3269,7 +3410,7 @@ }, "children": [ { - "id": 264, + "id": 277, "name": "stocked_quantity", "variant": "declaration", "kind": 1024, @@ -3290,7 +3431,7 @@ } }, { - "id": 265, + "id": 278, "name": "incoming_quantity", "variant": "declaration", "kind": 1024, @@ -3315,14 +3456,14 @@ { "title": "Properties", "children": [ - 264, - 265 + 277, + 278 ] } ] }, { - "id": 258, + "id": 271, "name": "BulkUpdateInventoryLevelInput", "variant": "declaration", "kind": 256, @@ -3337,7 +3478,7 @@ }, "children": [ { - "id": 261, + "id": 274, "name": "stocked_quantity", "variant": "declaration", "kind": 1024, @@ -3358,7 +3499,7 @@ } }, { - "id": 262, + "id": 275, "name": "incoming_quantity", "variant": "declaration", "kind": 1024, @@ -3379,7 +3520,7 @@ } }, { - "id": 259, + "id": 272, "name": "inventory_item_id", "variant": "declaration", "kind": 1024, @@ -3398,7 +3539,7 @@ } }, { - "id": 260, + "id": 273, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -3421,16 +3562,16 @@ { "title": "Properties", "children": [ - 261, - 262, - 259, - 260 + 274, + 275, + 272, + 273 ] } ] }, { - "id": 266, + "id": 279, "name": "UpdateReservationItemInput", "variant": "declaration", "kind": 256, @@ -3445,7 +3586,7 @@ }, "children": [ { - "id": 267, + "id": 280, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -3466,7 +3607,7 @@ } }, { - "id": 268, + "id": 281, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -3487,7 +3628,7 @@ } }, { - "id": 269, + "id": 282, "name": "description", "variant": "declaration", "kind": 1024, @@ -3508,7 +3649,7 @@ } }, { - "id": 270, + "id": 283, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -3557,10 +3698,10 @@ { "title": "Properties", "children": [ - 267, - 268, - 269, - 270 + 280, + 281, + 282, + 283 ] } ] @@ -3571,6 +3712,14 @@ "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The main service interface for the inventory module." + } + ] + }, "children": [ { "id": 2, @@ -3682,7 +3831,7 @@ }, "type": { "type": "reference", - "target": 146, + "target": 158, "name": "FilterableInventoryItemProps", "package": "@medusajs/types" } @@ -3721,11 +3870,11 @@ }, "type": { "type": "reference", - "target": 154, + "target": 166, "typeArguments": [ { "type": "reference", - "target": 165, + "target": 178, "name": "InventoryItemDTO", "package": "@medusajs/types" } @@ -3752,7 +3901,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -3772,7 +3921,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 165, + "target": 178, "name": "InventoryItemDTO", "package": "@medusajs/types" } @@ -3900,7 +4049,7 @@ }, "type": { "type": "reference", - "target": 188, + "target": 201, "name": "FilterableReservationItemProps", "package": "@medusajs/types" } @@ -3939,11 +4088,11 @@ }, "type": { "type": "reference", - "target": 154, + "target": 166, "typeArguments": [ { "type": "reference", - "target": 197, + "target": 210, "name": "ReservationItemDTO", "package": "@medusajs/types" } @@ -3970,7 +4119,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -3990,7 +4139,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 197, + "target": 210, "name": "ReservationItemDTO", "package": "@medusajs/types" } @@ -4118,7 +4267,7 @@ }, "type": { "type": "reference", - "target": 210, + "target": 223, "name": "FilterableInventoryLevelProps", "package": "@medusajs/types" } @@ -4157,11 +4306,11 @@ }, "type": { "type": "reference", - "target": 154, + "target": 166, "typeArguments": [ { "type": "reference", - "target": 216, + "target": 229, "name": "InventoryLevelDTO", "package": "@medusajs/types" } @@ -4188,7 +4337,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -4208,7 +4357,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 216, + "target": 229, "name": "InventoryLevelDTO", "package": "@medusajs/types" } @@ -4333,11 +4482,11 @@ }, "type": { "type": "reference", - "target": 154, + "target": 166, "typeArguments": [ { "type": "reference", - "target": 165, + "target": 178, "name": "InventoryItemDTO", "package": "@medusajs/types" } @@ -4364,7 +4513,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -4379,7 +4528,7 @@ "typeArguments": [ { "type": "reference", - "target": 165, + "target": 178, "name": "InventoryItemDTO", "package": "@medusajs/types" } @@ -4488,7 +4637,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -4503,7 +4652,7 @@ "typeArguments": [ { "type": "reference", - "target": 216, + "target": 229, "name": "InventoryLevelDTO", "package": "@medusajs/types" } @@ -4593,7 +4742,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -4608,7 +4757,7 @@ "typeArguments": [ { "type": "reference", - "target": 197, + "target": 210, "name": "ReservationItemDTO", "package": "@medusajs/types" } @@ -4677,7 +4826,7 @@ }, "type": { "type": "reference", - "target": 228, + "target": 241, "name": "CreateReservationItemInput", "package": "@medusajs/types" } @@ -4700,7 +4849,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -4715,7 +4864,7 @@ "typeArguments": [ { "type": "reference", - "target": 197, + "target": 210, "name": "ReservationItemDTO", "package": "@medusajs/types" } @@ -4786,7 +4935,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 228, + "target": 241, "name": "CreateReservationItemInput", "package": "@medusajs/types" } @@ -4810,7 +4959,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -4827,7 +4976,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 197, + "target": 210, "name": "ReservationItemDTO", "package": "@medusajs/types" } @@ -4897,7 +5046,7 @@ }, "type": { "type": "reference", - "target": 237, + "target": 250, "name": "CreateInventoryItemInput", "package": "@medusajs/types" } @@ -4920,7 +5069,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -4935,7 +5084,7 @@ "typeArguments": [ { "type": "reference", - "target": 165, + "target": 178, "name": "InventoryItemDTO", "package": "@medusajs/types" } @@ -5006,7 +5155,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 237, + "target": 250, "name": "CreateInventoryItemInput", "package": "@medusajs/types" } @@ -5030,7 +5179,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -5047,7 +5196,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 165, + "target": 178, "name": "InventoryItemDTO", "package": "@medusajs/types" } @@ -5117,7 +5266,7 @@ }, "type": { "type": "reference", - "target": 252, + "target": 265, "name": "CreateInventoryLevelInput", "package": "@medusajs/types" } @@ -5140,7 +5289,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -5155,7 +5304,7 @@ "typeArguments": [ { "type": "reference", - "target": 216, + "target": 229, "name": "InventoryLevelDTO", "package": "@medusajs/types" } @@ -5226,7 +5375,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 252, + "target": 265, "name": "CreateInventoryLevelInput", "package": "@medusajs/types" } @@ -5250,7 +5399,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -5267,7 +5416,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 216, + "target": 229, "name": "InventoryLevelDTO", "package": "@medusajs/types" } @@ -5339,7 +5488,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 258, + "target": 271, "name": "BulkUpdateInventoryLevelInput", "package": "@medusajs/types" } @@ -5363,7 +5512,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -5380,7 +5529,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 216, + "target": 229, "name": "InventoryLevelDTO", "package": "@medusajs/types" } @@ -5488,7 +5637,7 @@ }, "type": { "type": "reference", - "target": 263, + "target": 276, "name": "UpdateInventoryLevelInput", "package": "@medusajs/types" } @@ -5511,7 +5660,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -5526,7 +5675,7 @@ "typeArguments": [ { "type": "reference", - "target": 216, + "target": 229, "name": "InventoryLevelDTO", "package": "@medusajs/types" } @@ -5621,7 +5770,7 @@ "typeArguments": [ { "type": "reference", - "target": 237, + "target": 250, "name": "CreateInventoryItemInput", "package": "@medusajs/types" } @@ -5648,7 +5797,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -5663,7 +5812,7 @@ "typeArguments": [ { "type": "reference", - "target": 165, + "target": 178, "name": "InventoryItemDTO", "package": "@medusajs/types" } @@ -5751,7 +5900,7 @@ }, "type": { "type": "reference", - "target": 266, + "target": 279, "name": "UpdateReservationItemInput", "package": "@medusajs/types" } @@ -5774,7 +5923,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -5789,7 +5938,7 @@ "typeArguments": [ { "type": "reference", - "target": 197, + "target": 210, "name": "ReservationItemDTO", "package": "@medusajs/types" } @@ -5891,7 +6040,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -6006,7 +6155,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -6132,7 +6281,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -6258,7 +6407,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -6373,7 +6522,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -6488,7 +6637,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -6610,7 +6759,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -6751,7 +6900,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -6766,7 +6915,7 @@ "typeArguments": [ { "type": "reference", - "target": 216, + "target": 229, "name": "InventoryLevelDTO", "package": "@medusajs/types" } @@ -6897,7 +7046,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -7022,7 +7171,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -7147,7 +7296,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -7272,7 +7421,7 @@ }, "type": { "type": "reference", - "target": 185, + "target": 198, "name": "SharedContext", "package": "@medusajs/types" } @@ -7335,14 +7484,14 @@ "extendedTypes": [ { "type": "reference", - "target": 138, + "target": 144, "name": "IModuleService", "package": "@medusajs/types" } ] }, { - "id": 332, + "id": 346, "name": "JoinerRelationship", "variant": "declaration", "kind": 2097152, @@ -7350,14 +7499,14 @@ "type": { "type": "reflection", "declaration": { - "id": 333, + "id": 347, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 334, + "id": 348, "name": "alias", "variant": "declaration", "kind": 1024, @@ -7368,7 +7517,7 @@ } }, { - "id": 335, + "id": 349, "name": "foreignKey", "variant": "declaration", "kind": 1024, @@ -7379,7 +7528,7 @@ } }, { - "id": 336, + "id": 350, "name": "primaryKey", "variant": "declaration", "kind": 1024, @@ -7390,7 +7539,7 @@ } }, { - "id": 337, + "id": 351, "name": "serviceName", "variant": "declaration", "kind": 1024, @@ -7401,7 +7550,7 @@ } }, { - "id": 338, + "id": 352, "name": "isInternalService", "variant": "declaration", "kind": 1024, @@ -7422,7 +7571,7 @@ } }, { - "id": 339, + "id": 353, "name": "inverse", "variant": "declaration", "kind": 1024, @@ -7443,7 +7592,7 @@ } }, { - "id": 340, + "id": 354, "name": "isList", "variant": "declaration", "kind": 1024, @@ -7464,7 +7613,7 @@ } }, { - "id": 341, + "id": 355, "name": "args", "variant": "declaration", "kind": 1024, @@ -7504,14 +7653,14 @@ { "title": "Properties", "children": [ - 334, - 335, - 336, - 337, - 338, - 339, - 340, - 341 + 348, + 349, + 350, + 351, + 352, + 353, + 354, + 355 ] } ] @@ -7519,14 +7668,14 @@ } }, { - "id": 329, + "id": 343, "name": "JoinerServiceConfigAlias", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { - "id": 330, + "id": 344, "name": "name", "variant": "declaration", "kind": 1024, @@ -7549,7 +7698,7 @@ } }, { - "id": 331, + "id": 345, "name": "args", "variant": "declaration", "kind": 1024, @@ -7589,21 +7738,21 @@ { "title": "Properties", "children": [ - 330, - 331 + 344, + 345 ] } ] }, { - "id": 311, + "id": 325, "name": "JoinerServiceConfig", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "serviceName", "variant": "declaration", "kind": 1024, @@ -7614,7 +7763,7 @@ } }, { - "id": 313, + "id": 327, "name": "alias", "variant": "declaration", "kind": 1024, @@ -7634,7 +7783,7 @@ "types": [ { "type": "reference", - "target": 329, + "target": 343, "name": "JoinerServiceConfigAlias", "package": "@medusajs/types" }, @@ -7642,7 +7791,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 329, + "target": 343, "name": "JoinerServiceConfigAlias", "package": "@medusajs/types" } @@ -7651,7 +7800,7 @@ } }, { - "id": 314, + "id": 328, "name": "fieldAlias", "variant": "declaration", "kind": 1024, @@ -7687,14 +7836,14 @@ { "type": "reflection", "declaration": { - "id": 315, + "id": 329, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 316, + "id": 330, "name": "path", "variant": "declaration", "kind": 1024, @@ -7705,7 +7854,7 @@ } }, { - "id": 317, + "id": 331, "name": "forwardArgumentsOnPath", "variant": "declaration", "kind": 1024, @@ -7723,8 +7872,8 @@ { "title": "Properties", "children": [ - 316, - 317 + 330, + 331 ] } ] @@ -7738,7 +7887,7 @@ } }, { - "id": 318, + "id": 332, "name": "primaryKeys", "variant": "declaration", "kind": 1024, @@ -7752,7 +7901,7 @@ } }, { - "id": 319, + "id": 333, "name": "relationships", "variant": "declaration", "kind": 1024, @@ -7763,14 +7912,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 332, + "target": 346, "name": "JoinerRelationship", "package": "@medusajs/types" } } }, { - "id": 320, + "id": 334, "name": "extends", "variant": "declaration", "kind": 1024, @@ -7782,14 +7931,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 321, + "id": 335, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 322, + "id": 336, "name": "serviceName", "variant": "declaration", "kind": 1024, @@ -7800,14 +7949,14 @@ } }, { - "id": 323, + "id": 337, "name": "relationship", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 332, + "target": 346, "name": "JoinerRelationship", "package": "@medusajs/types" } @@ -7817,8 +7966,8 @@ { "title": "Properties", "children": [ - 322, - 323 + 336, + 337 ] } ] @@ -7827,7 +7976,7 @@ } }, { - "id": 324, + "id": 338, "name": "args", "variant": "declaration", "kind": 1024, @@ -7867,19 +8016,19 @@ { "title": "Properties", "children": [ - 312, - 313, - 314, - 318, - 319, - 320, - 324 + 326, + 327, + 328, + 332, + 333, + 334, + 338 ] } ] }, { - "id": 271, + "id": 284, "name": "ModuleJoinerConfig", "variant": "declaration", "kind": 2097152, @@ -7896,7 +8045,7 @@ "typeArguments": [ { "type": "reference", - "target": 311, + "target": 325, "name": "JoinerServiceConfig", "package": "@medusajs/types" }, @@ -7928,14 +8077,14 @@ { "type": "reflection", "declaration": { - "id": 272, + "id": 285, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 273, + "id": 286, "name": "schema", "variant": "declaration", "kind": 1024, @@ -7956,7 +8105,7 @@ } }, { - "id": 274, + "id": 287, "name": "relationships", "variant": "declaration", "kind": 1024, @@ -7967,14 +8116,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 325, + "target": 339, "name": "ModuleJoinerRelationship", "package": "@medusajs/types" } } }, { - "id": 275, + "id": 288, "name": "extends", "variant": "declaration", "kind": 1024, @@ -7986,14 +8135,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 276, + "id": 289, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 277, + "id": 290, "name": "serviceName", "variant": "declaration", "kind": 1024, @@ -8004,7 +8153,7 @@ } }, { - "id": 278, + "id": 291, "name": "fieldAlias", "variant": "declaration", "kind": 1024, @@ -8032,14 +8181,14 @@ { "type": "reflection", "declaration": { - "id": 279, + "id": 292, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 280, + "id": 293, "name": "path", "variant": "declaration", "kind": 1024, @@ -8050,11 +8199,13 @@ } }, { - "id": 281, + "id": 294, "name": "forwardArgumentsOnPath", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "type": { "type": "array", "elementType": { @@ -8062,14 +8213,28 @@ "name": "string" } } + }, + { + "id": 295, + "name": "isList", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } } ], "groups": [ { "title": "Properties", "children": [ - 280, - 281 + 293, + 294, + 295 ] } ] @@ -8083,14 +8248,14 @@ } }, { - "id": 282, + "id": 296, "name": "relationship", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 325, + "target": 339, "name": "ModuleJoinerRelationship", "package": "@medusajs/types" } @@ -8100,9 +8265,9 @@ { "title": "Properties", "children": [ - 277, - 278, - 282 + 290, + 291, + 296 ] } ] @@ -8111,7 +8276,7 @@ } }, { - "id": 283, + "id": 297, "name": "serviceName", "variant": "declaration", "kind": 1024, @@ -8124,7 +8289,7 @@ } }, { - "id": 284, + "id": 298, "name": "primaryKeys", "variant": "declaration", "kind": 1024, @@ -8140,7 +8305,7 @@ } }, { - "id": 285, + "id": 299, "name": "isLink", "variant": "declaration", "kind": 1024, @@ -8161,7 +8326,7 @@ } }, { - "id": 286, + "id": 300, "name": "linkableKeys", "variant": "declaration", "kind": 1024, @@ -8197,7 +8362,7 @@ } }, { - "id": 287, + "id": 301, "name": "isReadOnlyLink", "variant": "declaration", "kind": 1024, @@ -8218,7 +8383,7 @@ } }, { - "id": 288, + "id": 302, "name": "databaseConfig", "variant": "declaration", "kind": 1024, @@ -8228,14 +8393,14 @@ "type": { "type": "reflection", "declaration": { - "id": 289, + "id": 303, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 290, + "id": 304, "name": "tableName", "variant": "declaration", "kind": 1024, @@ -8256,7 +8421,7 @@ } }, { - "id": 291, + "id": 305, "name": "idPrefix", "variant": "declaration", "kind": 1024, @@ -8277,7 +8442,7 @@ } }, { - "id": 292, + "id": 306, "name": "extraFields", "variant": "declaration", "kind": 1024, @@ -8298,14 +8463,14 @@ { "type": "reflection", "declaration": { - "id": 293, + "id": 307, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 294, + "id": 308, "name": "type", "variant": "declaration", "kind": 1024, @@ -8401,7 +8566,7 @@ } }, { - "id": 295, + "id": 309, "name": "defaultValue", "variant": "declaration", "kind": 1024, @@ -8414,7 +8579,7 @@ } }, { - "id": 296, + "id": 310, "name": "nullable", "variant": "declaration", "kind": 1024, @@ -8427,7 +8592,7 @@ } }, { - "id": 297, + "id": 311, "name": "options", "variant": "declaration", "kind": 1024, @@ -8467,10 +8632,10 @@ { "title": "Properties", "children": [ - 294, - 295, - 296, - 297 + 308, + 309, + 310, + 311 ] } ] @@ -8486,9 +8651,9 @@ { "title": "Properties", "children": [ - 290, - 291, - 292 + 304, + 305, + 306 ] } ] @@ -8500,15 +8665,15 @@ { "title": "Properties", "children": [ - 273, - 274, - 275, - 283, - 284, - 285, 286, 287, - 288 + 288, + 297, + 298, + 299, + 300, + 301, + 302 ] } ] @@ -8518,7 +8683,7 @@ } }, { - "id": 325, + "id": 339, "name": "ModuleJoinerRelationship", "variant": "declaration", "kind": 2097152, @@ -8528,21 +8693,21 @@ "types": [ { "type": "reference", - "target": 332, + "target": 346, "name": "JoinerRelationship", "package": "@medusajs/types" }, { "type": "reflection", "declaration": { - "id": 326, + "id": 340, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 327, + "id": 341, "name": "isInternalService", "variant": "declaration", "kind": 1024, @@ -8563,7 +8728,7 @@ } }, { - "id": 328, + "id": 342, "name": "deleteCascade", "variant": "declaration", "kind": 1024, @@ -8588,8 +8753,8 @@ { "title": "Properties", "children": [ - 327, - 328 + 341, + 342 ] } ] @@ -8599,7 +8764,7 @@ } }, { - "id": 138, + "id": 144, "name": "IModuleService", "variant": "declaration", "kind": 256, @@ -8613,7 +8778,7 @@ ] }, { - "id": 185, + "id": 198, "name": "SharedContext", "variant": "declaration", "kind": 256, @@ -8642,7 +8807,7 @@ }, "children": [ { - "id": 186, + "id": 199, "name": "transactionManager", "variant": "declaration", "kind": 1024, @@ -8668,7 +8833,7 @@ } }, { - "id": 187, + "id": 200, "name": "manager", "variant": "declaration", "kind": 1024, @@ -8698,8 +8863,8 @@ { "title": "Properties", "children": [ - 186, - 187 + 199, + 200 ] } ] @@ -8709,34 +8874,34 @@ { "title": "Interfaces", "children": [ - 154, - 298, - 306, - 188, - 146, - 237, - 228, - 210, - 252, - 263, - 258, - 266, + 166, + 312, + 320, + 201, + 158, + 250, + 241, + 223, + 265, + 276, + 271, + 279, 1, - 329, - 311, - 138, - 185 + 343, + 325, + 144, + 198 ] }, { "title": "Type Aliases", "children": [ - 165, - 197, - 216, - 332, - 271, - 325 + 178, + 210, + 229, + 346, + 284, + 339 ] } ], @@ -9266,783 +9431,791 @@ "sourceFileName": "../../../packages/types/src/inventory/service.ts", "qualifiedName": "context" }, - "138": { + "144": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "IModuleService" }, - "146": { + "158": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "FilterableInventoryItemProps" }, - "147": { + "159": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.id" }, - "148": { + "160": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.location_id" }, - "149": { + "161": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.q" }, - "150": { + "162": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.sku" }, - "151": { + "163": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.origin_country" }, - "152": { + "164": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.hs_code" }, - "153": { + "165": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.requires_shipping" }, - "154": { + "166": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig" }, - "155": { + "167": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.select" }, - "156": { + "168": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.skip" }, - "157": { + "169": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.take" }, - "158": { + "170": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.relations" }, - "159": { + "171": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.order" }, - "160": { + "172": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "__type" }, - "161": { + "173": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "__type.__index" }, - "163": { + "175": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.withDeleted" }, - "164": { + "176": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig.filters" + }, + "177": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.Entity" }, - "165": { + "178": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "InventoryItemDTO" }, - "166": { + "179": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type" }, - "167": { + "180": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.id" }, - "168": { + "181": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.sku" }, - "169": { + "182": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.origin_country" }, - "170": { + "183": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.hs_code" }, - "171": { + "184": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.requires_shipping" }, - "172": { + "185": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.mid_code" }, - "173": { + "186": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.material" }, - "174": { + "187": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.weight" }, - "175": { + "188": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.length" }, - "176": { + "189": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.height" }, - "177": { + "190": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.width" }, - "178": { + "191": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.title" }, - "179": { + "192": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.description" }, - "180": { + "193": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.thumbnail" }, - "181": { + "194": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.metadata" }, - "182": { + "195": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.created_at" }, - "183": { + "196": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.updated_at" }, - "184": { + "197": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.deleted_at" }, - "185": { + "198": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "SharedContext" }, - "186": { + "199": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.transactionManager" }, - "187": { + "200": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.manager" }, - "188": { + "201": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "FilterableReservationItemProps" }, - "189": { + "202": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.id" }, - "191": { + "204": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.line_item_id" }, - "192": { + "205": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.inventory_item_id" }, - "193": { + "206": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.location_id" }, - "194": { + "207": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.description" }, - "195": { + "208": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.created_by" }, - "196": { + "209": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.quantity" }, - "197": { + "210": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "ReservationItemDTO" }, - "198": { + "211": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type" }, - "199": { + "212": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.id" }, - "200": { + "213": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.location_id" }, - "201": { + "214": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.inventory_item_id" }, - "202": { + "215": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.quantity" }, - "203": { + "216": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.line_item_id" }, - "204": { + "217": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.description" }, - "205": { + "218": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.created_by" }, - "206": { + "219": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.metadata" }, - "207": { + "220": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.created_at" }, - "208": { + "221": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.updated_at" }, - "209": { + "222": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.deleted_at" }, - "210": { + "223": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "FilterableInventoryLevelProps" }, - "211": { + "224": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.inventory_item_id" }, - "212": { + "225": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.location_id" }, - "213": { + "226": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.stocked_quantity" }, - "214": { + "227": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.reserved_quantity" }, - "215": { + "228": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.incoming_quantity" }, - "216": { + "229": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "InventoryLevelDTO" }, - "217": { + "230": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type" }, - "218": { + "231": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.id" }, - "219": { + "232": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.inventory_item_id" }, - "220": { + "233": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.location_id" }, - "221": { + "234": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.stocked_quantity" }, - "222": { + "235": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.reserved_quantity" }, - "223": { + "236": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.incoming_quantity" }, - "224": { + "237": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.metadata" }, - "225": { + "238": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.created_at" }, - "226": { + "239": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.updated_at" }, - "227": { + "240": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.deleted_at" }, - "228": { + "241": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "CreateReservationItemInput" }, - "229": { + "242": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.line_item_id" }, - "230": { + "243": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.inventory_item_id" }, - "231": { + "244": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.location_id" }, - "232": { + "245": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.quantity" }, - "233": { + "246": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.description" }, - "234": { + "247": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.created_by" }, - "235": { + "248": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.external_id" }, - "236": { + "249": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.metadata" }, - "237": { + "250": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "CreateInventoryItemInput" }, - "238": { + "251": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", - "qualifiedName": "__type.sku" + "qualifiedName": "CreateInventoryItemInput.sku" }, - "239": { + "252": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", - "qualifiedName": "__type.origin_country" + "qualifiedName": "CreateInventoryItemInput.origin_country" }, - "240": { + "253": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", - "qualifiedName": "__type.mid_code" + "qualifiedName": "CreateInventoryItemInput.mid_code" }, - "241": { + "254": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", - "qualifiedName": "__type.material" + "qualifiedName": "CreateInventoryItemInput.material" }, - "242": { + "255": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", - "qualifiedName": "__type.weight" + "qualifiedName": "CreateInventoryItemInput.weight" }, - "243": { + "256": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", - "qualifiedName": "__type.length" + "qualifiedName": "CreateInventoryItemInput.length" }, - "244": { + "257": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", - "qualifiedName": "__type.height" + "qualifiedName": "CreateInventoryItemInput.height" }, - "245": { + "258": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", - "qualifiedName": "__type.width" + "qualifiedName": "CreateInventoryItemInput.width" }, - "246": { + "259": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", - "qualifiedName": "__type.title" + "qualifiedName": "CreateInventoryItemInput.title" }, - "247": { + "260": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", - "qualifiedName": "__type.description" + "qualifiedName": "CreateInventoryItemInput.description" }, - "248": { + "261": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", - "qualifiedName": "__type.thumbnail" + "qualifiedName": "CreateInventoryItemInput.thumbnail" }, - "249": { + "262": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", - "qualifiedName": "__type.metadata" + "qualifiedName": "CreateInventoryItemInput.metadata" }, - "250": { + "263": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", - "qualifiedName": "__type.hs_code" + "qualifiedName": "CreateInventoryItemInput.hs_code" }, - "251": { + "264": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", - "qualifiedName": "__type.requires_shipping" + "qualifiedName": "CreateInventoryItemInput.requires_shipping" }, - "252": { + "265": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "CreateInventoryLevelInput" }, - "253": { + "266": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.inventory_item_id" }, - "254": { + "267": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.location_id" }, - "255": { + "268": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.stocked_quantity" }, - "256": { + "269": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.reserved_quantity" }, - "257": { + "270": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.incoming_quantity" }, - "258": { + "271": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "BulkUpdateInventoryLevelInput" }, - "259": { + "272": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.inventory_item_id" }, - "260": { + "273": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.location_id" }, - "261": { + "274": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.stocked_quantity" }, - "262": { + "275": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.incoming_quantity" }, - "263": { + "276": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "UpdateInventoryLevelInput" }, - "264": { + "277": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.stocked_quantity" }, - "265": { + "278": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.incoming_quantity" }, - "266": { + "279": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "UpdateReservationItemInput" }, - "267": { + "280": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.quantity" }, - "268": { + "281": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.location_id" }, - "269": { + "282": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.description" }, - "270": { + "283": { "sourceFileName": "../../../packages/types/src/inventory/common.ts", "qualifiedName": "__type.metadata" }, - "271": { + "284": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "ModuleJoinerConfig" }, - "272": { + "285": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "273": { + "286": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.schema" }, - "274": { + "287": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.relationships" }, - "275": { + "288": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.extends" }, - "276": { + "289": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "277": { + "290": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.serviceName" }, - "278": { + "291": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.fieldAlias" }, - "279": { + "292": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "280": { + "293": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.path" }, - "281": { + "294": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.forwardArgumentsOnPath" }, - "282": { + "295": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.isList" + }, + "296": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.relationship" }, - "283": { + "297": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.serviceName" }, - "284": { + "298": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.primaryKeys" }, - "285": { + "299": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.isLink" }, - "286": { + "300": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.linkableKeys" }, - "287": { + "301": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.isReadOnlyLink" }, - "288": { + "302": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.databaseConfig" }, - "289": { + "303": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "290": { + "304": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.tableName" }, - "291": { + "305": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.idPrefix" }, - "292": { + "306": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.extraFields" }, - "293": { + "307": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "294": { + "308": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.type" }, - "295": { + "309": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.defaultValue" }, - "296": { + "310": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.nullable" }, - "297": { + "311": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.options" }, - "298": { + "312": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "StringComparisonOperator" }, - "299": { + "313": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "StringComparisonOperator.lt" }, - "300": { + "314": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "StringComparisonOperator.gt" }, - "301": { + "315": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "StringComparisonOperator.gte" }, - "302": { + "316": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "StringComparisonOperator.lte" }, - "303": { + "317": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "StringComparisonOperator.contains" }, - "304": { + "318": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "StringComparisonOperator.starts_with" }, - "305": { + "319": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "StringComparisonOperator.ends_with" }, - "306": { + "320": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "NumericalComparisonOperator" }, - "307": { + "321": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "NumericalComparisonOperator.lt" }, - "308": { + "322": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "NumericalComparisonOperator.gt" }, - "309": { + "323": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "NumericalComparisonOperator.gte" }, - "310": { + "324": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "NumericalComparisonOperator.lte" }, - "311": { + "325": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig" }, - "312": { + "326": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.serviceName" }, - "313": { + "327": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.alias" }, - "314": { + "328": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.fieldAlias" }, - "315": { + "329": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type" }, - "316": { + "330": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.path" }, - "317": { + "331": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.forwardArgumentsOnPath" }, - "318": { + "332": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.primaryKeys" }, - "319": { + "333": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.relationships" }, - "320": { + "334": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.extends" }, - "321": { + "335": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type" }, - "322": { + "336": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.serviceName" }, - "323": { + "337": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.relationship" }, - "324": { + "338": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.args" }, - "325": { + "339": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "ModuleJoinerRelationship" }, - "326": { + "340": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "327": { + "341": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.isInternalService" }, - "328": { + "342": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.deleteCascade" }, - "329": { + "343": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfigAlias" }, - "330": { + "344": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfigAlias.name" }, - "331": { + "345": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfigAlias.args" }, - "332": { + "346": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerRelationship" }, - "333": { + "347": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type" }, - "334": { + "348": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.alias" }, - "335": { + "349": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.foreignKey" }, - "336": { + "350": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.primaryKey" }, - "337": { + "351": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.serviceName" }, - "338": { + "352": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.isInternalService" }, - "339": { + "353": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.inverse" }, - "340": { + "354": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.isList" }, - "341": { + "355": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.args" } diff --git a/docs-util/typedoc-json-output/js-client.json b/docs-util/typedoc-json-output/js-client.json index c0bf228587e35..a9e1f06daedef 100644 --- a/docs-util/typedoc-json-output/js-client.json +++ b/docs-util/typedoc-json-output/js-client.json @@ -15,7 +15,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to Address API Routes part of the [Store Customer API Routes](https://docs.medusajs.com/api/store#customers_postcustomers). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to Address API Routes part of the [Store Customer API Routes](https://docs.medusajs.com/v1/api/store#customers_postcustomers). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -540,7 +540,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Auth API Routes](https://docs.medusajs.com/api/admin#auth_getauth). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Auth API Routes](https://docs.medusajs.com/v1/api/admin#auth_getauth). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -559,7 +559,7 @@ }, { "kind": "text", - "text": " method, the JS client will automatically attach the\ncookie header in all subsequent requests.\n\nRelated Guide: [How to implement user profiles](https://docs.medusajs.com/modules/users/admin/manage-profile)." + "text": " method, the JS client will automatically attach the\ncookie header in all subsequent requests.\n\nRelated Guide: [How to implement user profiles](https://docs.medusajs.com/v1/modules/users/admin/manage-profile)." } ] }, @@ -1101,7 +1101,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Batch Job API Routes](https://docs.medusajs.com/api/admin#batch-jobs). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Batch Job API Routes](https://docs.medusajs.com/v1/api/admin#batch-jobs). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -1119,7 +1119,7 @@ }, { "kind": "text", - "text": ".\n\nA batch job is a task that is performed by the Medusa backend asynchronusly. For example, the Import Product feature is implemented using batch jobs.\nThe methods in this class allow admins to manage the batch jobs and their state.\n\nRelated Guide: [How to import products](https://docs.medusajs.com/modules/products/admin/import-products)." + "text": ".\n\nA batch job is a task that is performed by the Medusa backend asynchronusly. For example, the Import Product feature is implemented using batch jobs.\nThe methods in this class allow admins to manage the batch jobs and their state.\n\nRelated Guide: [How to import products](https://docs.medusajs.com/v1/modules/products/admin/import-products)." } ] }, @@ -1930,7 +1930,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Product Collection API Routes](https://docs.medusajs.com/api/admin#product-collections). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Product Collection API Routes](https://docs.medusajs.com/v1/api/admin#product-collections). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -3022,7 +3022,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Currency API Routes](https://docs.medusajs.com/api/admin#currencies). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Currency API Routes](https://docs.medusajs.com/v1/api/admin#currencies). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -3040,7 +3040,7 @@ }, { "kind": "text", - "text": ".\n\nA store can use unlimited currencies, and each region must be associated with at least one currency.\nCurrencies are defined within the Medusa backend. The methods in this class allow admins to list and update currencies.\n\nRelated Guide: [How to manage currencies](https://docs.medusajs.com/modules/regions-and-currencies/admin/manage-currencies)." + "text": ".\n\nA store can use unlimited currencies, and each region must be associated with at least one currency.\nCurrencies are defined within the Medusa backend. The methods in this class allow admins to list and update currencies.\n\nRelated Guide: [How to manage currencies](https://docs.medusajs.com/v1/modules/regions-and-currencies/admin/manage-currencies)." } ] }, @@ -4228,7 +4228,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Customer Group API Routes](https://docs.medusajs.com/api/admin#customer-groups). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Customer Group API Routes](https://docs.medusajs.com/v1/api/admin#customer-groups). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -4246,7 +4246,7 @@ }, { "kind": "text", - "text": ".\n\nCustomer Groups can be used to organize customers that share similar data or attributes into dedicated groups.\nThis can be useful for different purposes such as setting a different price for a specific customer group.\n\nRelated Guide: [How to manage customer groups](https://docs.medusajs.com/modules/customers/admin/manage-customer-groups)." + "text": ".\n\nCustomer Groups can be used to organize customers that share similar data or attributes into dedicated groups.\nThis can be useful for different purposes such as setting a different price for a specific customer group.\n\nRelated Guide: [How to manage customer groups](https://docs.medusajs.com/v1/modules/customers/admin/manage-customer-groups)." } ] }, @@ -5491,7 +5491,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Customer API Routes](https://docs.medusajs.com/api/admin#customers). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Customer API Routes](https://docs.medusajs.com/v1/api/admin#customers). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -5530,7 +5530,7 @@ }, { "kind": "text", - "text": " method.\n\nRelated Guide: [How to manage customers](https://docs.medusajs.com/modules/customers/admin/manage-customers)." + "text": " method.\n\nRelated Guide: [How to manage customers](https://docs.medusajs.com/v1/modules/customers/admin/manage-customers)." } ] }, @@ -6201,7 +6201,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Discount API Routes](https://docs.medusajs.com/api/admin#discounts). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Discount API Routes](https://docs.medusajs.com/v1/api/admin#discounts). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -6219,7 +6219,7 @@ }, { "kind": "text", - "text": ".\n\nAdmins can create discounts with conditions and rules, providing them with advanced settings for variety of cases.\nThe methods in this class can be used to manage discounts, their conditions, resources, and more.\n\nRelated Guide: [How to manage discounts](https://docs.medusajs.com/modules/discounts/admin/manage-discounts)." + "text": ".\n\nAdmins can create discounts with conditions and rules, providing them with advanced settings for variety of cases.\nThe methods in this class can be used to manage discounts, their conditions, resources, and more.\n\nRelated Guide: [How to manage discounts](https://docs.medusajs.com/v1/modules/discounts/admin/manage-discounts)." } ] }, @@ -8942,7 +8942,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Draft Order API Routes](https://docs.medusajs.com/api/admin#draft-orders). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Draft Order API Routes](https://docs.medusajs.com/v1/api/admin#draft-orders). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -8960,7 +8960,7 @@ }, { "kind": "text", - "text": ".\n\nA draft order is an order created manually by the admin. It allows admins to create orders without direct involvement from the customer.\n\nRelated Guide: [How to manage draft orders](https://docs.medusajs.com/modules/orders/admin/manage-draft-orders)." + "text": ".\n\nA draft order is an order created manually by the admin. It allows admins to create orders without direct involvement from the customer.\n\nRelated Guide: [How to manage draft orders](https://docs.medusajs.com/v1/modules/orders/admin/manage-draft-orders)." } ] }, @@ -10314,7 +10314,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Gift Card API Routes](https://docs.medusajs.com/api/admin#gift-cards). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Gift Card API Routes](https://docs.medusajs.com/v1/api/admin#gift-cards). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -10342,7 +10342,7 @@ }, { "kind": "text", - "text": ".\n\nRelated Guide: [How to manage gift cards](https://docs.medusajs.com/modules/gift-cards/admin/manage-gift-cards#manage-custom-gift-cards)." + "text": ".\n\nRelated Guide: [How to manage gift cards](https://docs.medusajs.com/v1/modules/gift-cards/admin/manage-gift-cards#manage-custom-gift-cards)." } ] }, @@ -11126,7 +11126,7 @@ "summary": [ { "kind": "text", - "text": "This class includes properties used to send requests to the [Admin API Routes](https://docs.medusajs.com/api/admin). All its properties\nare available in the JS Client under the " + "text": "This class includes properties used to send requests to the [Admin API Routes](https://docs.medusajs.com/v1/api/admin). All its properties\nare available in the JS Client under the " }, { "kind": "code", @@ -11162,7 +11162,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Auth API Routes](https://docs.medusajs.com/api/admin#auth)." + "text": " used to send requests to [Admin Auth API Routes](https://docs.medusajs.com/v1/api/admin#auth)." } ] }, @@ -11197,7 +11197,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Batch Job API Routes](https://docs.medusajs.com/api/admin#batch-jobs)." + "text": " used to send requests to [Admin Batch Job API Routes](https://docs.medusajs.com/v1/api/admin#batch-jobs)." } ] }, @@ -11232,7 +11232,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Customer API Routes](https://docs.medusajs.com/api/admin#customers)." + "text": " used to send requests to [Admin Customer API Routes](https://docs.medusajs.com/v1/api/admin#customers)." } ] }, @@ -11267,7 +11267,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Customer Group API Routes](https://docs.medusajs.com/api/admin#customer-groups)." + "text": " used to send requests to [Admin Customer Group API Routes](https://docs.medusajs.com/v1/api/admin#customer-groups)." } ] }, @@ -11302,7 +11302,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Discount API Routes](https://docs.medusajs.com/api/admin#discounts)." + "text": " used to send requests to [Admin Discount API Routes](https://docs.medusajs.com/v1/api/admin#discounts)." } ] }, @@ -11337,7 +11337,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Currency API Routes](https://docs.medusajs.com/api/admin#currencies_getcurrencies)." + "text": " used to send requests to [Admin Currency API Routes](https://docs.medusajs.com/v1/api/admin#currencies_getcurrencies)." } ] }, @@ -11372,7 +11372,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Product Collection API Routes](https://docs.medusajs.com/api/admin#product-collections)." + "text": " used to send requests to [Admin Product Collection API Routes](https://docs.medusajs.com/v1/api/admin#product-collections)." } ] }, @@ -11407,7 +11407,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Draft Order API Routes](https://docs.medusajs.com/api/admin#draft-orders)." + "text": " used to send requests to [Admin Draft Order API Routes](https://docs.medusajs.com/v1/api/admin#draft-orders)." } ] }, @@ -11442,7 +11442,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Gift Card API Routes](https://docs.medusajs.com/api/admin#gift-cards)." + "text": " used to send requests to [Admin Gift Card API Routes](https://docs.medusajs.com/v1/api/admin#gift-cards)." } ] }, @@ -11477,7 +11477,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Invite API Routes](https://docs.medusajs.com/api/admin#invites)." + "text": " used to send requests to [Admin Invite API Routes](https://docs.medusajs.com/v1/api/admin#invites)." } ] }, @@ -11512,7 +11512,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Inventory Item API Routes](https://docs.medusajs.com/api/admin#inventory-items)." + "text": " used to send requests to [Admin Inventory Item API Routes](https://docs.medusajs.com/v1/api/admin#inventory-items)." } ] }, @@ -11547,7 +11547,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Note API Routes](https://docs.medusajs.com/api/admin#notes)." + "text": " used to send requests to [Admin Note API Routes](https://docs.medusajs.com/v1/api/admin#notes)." } ] }, @@ -11582,7 +11582,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Price List API Routes](https://docs.medusajs.com/api/admin#price-lists)." + "text": " used to send requests to [Admin Price List API Routes](https://docs.medusajs.com/v1/api/admin#price-lists)." } ] }, @@ -11617,7 +11617,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Product API Routes](https://docs.medusajs.com/api/admin#products)." + "text": " used to send requests to [Admin Product API Routes](https://docs.medusajs.com/v1/api/admin#products)." } ] }, @@ -11652,7 +11652,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Product Tag API Routes](https://docs.medusajs.com/api/admin#product-tags)." + "text": " used to send requests to [Admin Product Tag API Routes](https://docs.medusajs.com/v1/api/admin#product-tags)." } ] }, @@ -11687,7 +11687,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Product Type API Routes](https://docs.medusajs.com/api/admin#product-types)." + "text": " used to send requests to [Admin Product Type API Routes](https://docs.medusajs.com/v1/api/admin#product-types)." } ] }, @@ -11722,7 +11722,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin User API Routes](https://docs.medusajs.com/api/admin#users)." + "text": " used to send requests to [Admin User API Routes](https://docs.medusajs.com/v1/api/admin#users)." } ] }, @@ -11757,7 +11757,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Return API Routes](https://docs.medusajs.com/api/admin#returns)." + "text": " used to send requests to [Admin Return API Routes](https://docs.medusajs.com/v1/api/admin#returns)." } ] }, @@ -11792,7 +11792,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Order API Routes](https://docs.medusajs.com/api/admin#orders)." + "text": " used to send requests to [Admin Order API Routes](https://docs.medusajs.com/v1/api/admin#orders)." } ] }, @@ -11827,7 +11827,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Order Edit API Routes](https://docs.medusajs.com/api/admin#order-edits)." + "text": " used to send requests to [Admin Order Edit API Routes](https://docs.medusajs.com/v1/api/admin#order-edits)." } ] }, @@ -11862,7 +11862,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Publishable API Key API Routes](https://docs.medusajs.com/api/admin#publishable-api-keys)." + "text": " used to send requests to [Admin Publishable API Key API Routes](https://docs.medusajs.com/v1/api/admin#publishable-api-keys)." } ] }, @@ -11897,7 +11897,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Return Reason API Routes](https://docs.medusajs.com/api/admin#return-reasons)." + "text": " used to send requests to [Admin Return Reason API Routes](https://docs.medusajs.com/v1/api/admin#return-reasons)." } ] }, @@ -11936,7 +11936,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Product Variant API Routes](https://docs.medusajs.com/api/admin#product-variants)." + "text": " used to send requests to [Admin Product Variant API Routes](https://docs.medusajs.com/v1/api/admin#product-variants)." } ] } @@ -11973,7 +11973,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Sales Channel API Routes](https://docs.medusajs.com/api/admin#sales-channels)." + "text": " used to send requests to [Admin Sales Channel API Routes](https://docs.medusajs.com/v1/api/admin#sales-channels)." } ] }, @@ -12008,7 +12008,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Swap API Routes](https://docs.medusajs.com/api/admin#swaps)." + "text": " used to send requests to [Admin Swap API Routes](https://docs.medusajs.com/v1/api/admin#swaps)." } ] }, @@ -12043,7 +12043,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Shipping Profile API Routes](https://docs.medusajs.com/api/admin#shipping-profiles)." + "text": " used to send requests to [Admin Shipping Profile API Routes](https://docs.medusajs.com/v1/api/admin#shipping-profiles)." } ] }, @@ -12078,7 +12078,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Stock Location API Routes](https://docs.medusajs.com/api/admin#stock-locations)." + "text": " used to send requests to [Admin Stock Location API Routes](https://docs.medusajs.com/v1/api/admin#stock-locations)." } ] }, @@ -12113,7 +12113,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Store API Routes](https://docs.medusajs.com/api/admin#store)." + "text": " used to send requests to [Admin Store API Routes](https://docs.medusajs.com/v1/api/admin#store)." } ] }, @@ -12148,7 +12148,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Shipping Option API Routes](https://docs.medusajs.com/api/admin#shipping-options)." + "text": " used to send requests to [Admin Shipping Option API Routes](https://docs.medusajs.com/v1/api/admin#shipping-options)." } ] }, @@ -12183,7 +12183,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Region API Routes](https://docs.medusajs.com/api/admin#regions)." + "text": " used to send requests to [Admin Region API Routes](https://docs.medusajs.com/v1/api/admin#regions)." } ] }, @@ -12218,7 +12218,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Reservation API Routes](https://docs.medusajs.com/api/admin#reservations)." + "text": " used to send requests to [Admin Reservation API Routes](https://docs.medusajs.com/v1/api/admin#reservations)." } ] }, @@ -12253,7 +12253,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Notification API Routes](https://docs.medusajs.com/api/admin#notifications)." + "text": " used to send requests to [Admin Notification API Routes](https://docs.medusajs.com/v1/api/admin#notifications)." } ] }, @@ -12288,7 +12288,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Tax Rate API Routes](https://docs.medusajs.com/api/admin#tax-rates)." + "text": " used to send requests to [Admin Tax Rate API Routes](https://docs.medusajs.com/v1/api/admin#tax-rates)." } ] }, @@ -12323,7 +12323,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Upload API Routes](https://docs.medusajs.com/api/admin#uploads)." + "text": " used to send requests to [Admin Upload API Routes](https://docs.medusajs.com/v1/api/admin#uploads)." } ] }, @@ -12358,7 +12358,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Payment Collection API Routes](https://docs.medusajs.com/api/admin#payment-collections)." + "text": " used to send requests to [Admin Payment Collection API Routes](https://docs.medusajs.com/v1/api/admin#payment-collections)." } ] }, @@ -12393,7 +12393,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Payment API Routes](https://docs.medusajs.com/api/admin#payments)." + "text": " used to send requests to [Admin Payment API Routes](https://docs.medusajs.com/v1/api/admin#payments)." } ] }, @@ -12428,7 +12428,7 @@ }, { "kind": "text", - "text": " used to send requests to [Admin Product Category API Routes](https://docs.medusajs.com/api/admin#product-categories)." + "text": " used to send requests to [Admin Product Category API Routes](https://docs.medusajs.com/v1/api/admin#product-categories)." } ] }, @@ -12599,7 +12599,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Inventory Item API Routes](https://docs.medusajs.com/api/admin#inventory-items). To use these API Routes, make sure to install the\n[@medusajs/inventory](https://docs.medusajs.com/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Inventory Item API Routes](https://docs.medusajs.com/v1/api/admin#inventory-items). To use these API Routes, make sure to install the\n[@medusajs/inventory](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -12617,7 +12617,7 @@ }, { "kind": "text", - "text": ".\n\nInventory items, provided by the [Inventory Module](https://docs.medusajs.com/modules/multiwarehouse/inventory-module), can be used to manage the inventory of saleable items in your store.\n\nRelated Guide: [How to manage inventory items](https://docs.medusajs.com/modules/multiwarehouse/admin/manage-inventory-items)." + "text": ".\n\nInventory items, provided by the [Inventory Module](https://docs.medusajs.com/v1/modules/multiwarehouse/inventory-module), can be used to manage the inventory of saleable items in your store.\n\nRelated Guide: [How to manage inventory items](https://docs.medusajs.com/v1/modules/multiwarehouse/admin/manage-inventory-items)." } ] }, @@ -14151,7 +14151,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Invite API Routes](https://docs.medusajs.com/api/admin#invites). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Invite API Routes](https://docs.medusajs.com/v1/api/admin#invites). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -14169,7 +14169,7 @@ }, { "kind": "text", - "text": ".\n\nAn admin can invite new users to manage their team. This would allow new users to authenticate as admins and perform admin functionalities.\n\nRelated Guide: [How to manage invites](https://docs.medusajs.com/modules/users/admin/manage-invites)." + "text": ".\n\nAn admin can invite new users to manage their team. This would allow new users to authenticate as admins and perform admin functionalities.\n\nRelated Guide: [How to manage invites](https://docs.medusajs.com/v1/modules/users/admin/manage-invites)." } ] }, @@ -14847,7 +14847,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Note API Routes](https://docs.medusajs.com/api/admin#notes). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Note API Routes](https://docs.medusajs.com/v1/api/admin#notes). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -15649,7 +15649,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Notification API Routes](https://docs.medusajs.com/api/admin#notifications). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Notification API Routes](https://docs.medusajs.com/v1/api/admin#notifications). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -16099,7 +16099,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Order Edit API Routes](https://docs.medusajs.com/api/admin#order-edits). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Order Edit API Routes](https://docs.medusajs.com/v1/api/admin#order-edits). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -16125,7 +16125,7 @@ }, { "kind": "text", - "text": ".\n\nRelated Guide: [How to edit an order](https://docs.medusajs.com/modules/orders/admin/edit-order)." + "text": ".\n\nRelated Guide: [How to edit an order](https://docs.medusajs.com/v1/modules/orders/admin/edit-order)." } ] }, @@ -17931,7 +17931,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Order API Routes](https://docs.medusajs.com/api/admin#orders). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Order API Routes](https://docs.medusajs.com/v1/api/admin#orders). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -17959,7 +17959,7 @@ }, { "kind": "text", - "text": ". Draft orders created by the admin are also transformed to an Order once the payment is captured.\nManaging orders include managing fulfillment, payment, claims, reservations, and more.\n\nRelated Guide: [How to manage orders](https://docs.medusajs.com/modules/orders/admin/manage-orders)." + "text": ". Draft orders created by the admin are also transformed to an Order once the payment is captured.\nManaging orders include managing fulfillment, payment, claims, reservations, and more.\n\nRelated Guide: [How to manage orders](https://docs.medusajs.com/v1/modules/orders/admin/manage-orders)." } ] }, @@ -22003,7 +22003,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Payment Collection API Routes](https://docs.medusajs.com/api/admin#payment-collections). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Payment Collection API Routes](https://docs.medusajs.com/v1/api/admin#payment-collections). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -22690,7 +22690,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Payment API Routes](https://docs.medusajs.com/api/admin#payments). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Payment API Routes](https://docs.medusajs.com/v1/api/admin#payments). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -23212,7 +23212,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Price List API Routes](https://docs.medusajs.com/api/admin#price-lists). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Price List API Routes](https://docs.medusajs.com/v1/api/admin#price-lists). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -23230,7 +23230,7 @@ }, { "kind": "text", - "text": ".\n\nA price list are special prices applied to products based on a set of conditions, such as customer group.\n\nRelated Guide: [How to manage price lists](https://docs.medusajs.com/modules/price-lists/admin/manage-price-lists)." + "text": ".\n\nA price list are special prices applied to products based on a set of conditions, such as customer group.\n\nRelated Guide: [How to manage price lists](https://docs.medusajs.com/v1/modules/price-lists/admin/manage-price-lists)." } ] }, @@ -24960,7 +24960,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Product Category API Routes](https://docs.medusajs.com/api/admin#product-categories). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Product Category API Routes](https://docs.medusajs.com/v1/api/admin#product-categories). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -24978,7 +24978,7 @@ }, { "kind": "text", - "text": ".\n\nProducts can be categoriezed into categories. A product can be added into more than one category.\n\nRelated Guide: [How to manage product categories](https://docs.medusajs.com/modules/products/admin/manage-categories)." + "text": ".\n\nProducts can be categoriezed into categories. A product can be added into more than one category.\n\nRelated Guide: [How to manage product categories](https://docs.medusajs.com/v1/modules/products/admin/manage-categories)." } ], "blockTags": [ @@ -26117,7 +26117,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Product Tag API Routes](https://docs.medusajs.com/api/admin#product-tags). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Product Tag API Routes](https://docs.medusajs.com/v1/api/admin#product-tags). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -26379,7 +26379,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Product Type API Routes](https://docs.medusajs.com/api/admin#product-types). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Product Type API Routes](https://docs.medusajs.com/v1/api/admin#product-types). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -26676,7 +26676,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Product API Routes](https://docs.medusajs.com/api/admin#products). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Product API Routes](https://docs.medusajs.com/v1/api/admin#products). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -26694,7 +26694,7 @@ }, { "kind": "text", - "text": ".\n\nProducts are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/modules/gift-cards/admin/manage-gift-cards#manage-gift-card-product) in a store.\n\nRelated Guide: [How to manage products](https://docs.medusajs.com/modules/products/admin/manage-products)." + "text": ".\n\nProducts are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/v1/modules/gift-cards/admin/manage-gift-cards#manage-gift-card-product) in a store.\n\nRelated Guide: [How to manage products](https://docs.medusajs.com/v1/modules/products/admin/manage-products)." } ] }, @@ -27537,7 +27537,7 @@ "summary": [ { "kind": "text", - "text": "Set the metadata of a product. It can be any key-value pair, which allows adding custom data to a product. Learn about how you can update and delete the metadata attribute\n[here](https://docs.medusajs.com/development/entities/overview#metadata-attribute)." + "text": "Set the metadata of a product. It can be any key-value pair, which allows adding custom data to a product. Learn about how you can update and delete the metadata attribute\n[here](https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute)." } ], "blockTags": [ @@ -28849,7 +28849,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Publishable API Key API Routes](https://docs.medusajs.com/api/admin#publishable-api-keys). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Publishable API Key API Routes](https://docs.medusajs.com/v1/api/admin#publishable-api-keys). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -28867,7 +28867,7 @@ }, { "kind": "text", - "text": ".\n\nPublishable API Keys can be used to scope Store API calls with an API key, determining what resources are retrieved when querying the API.\nFor example, a publishable API key can be associated with one or more sales channels. When it is passed in the header of a request to the List Product store API Route,\nthe sales channels are inferred from the key and only products associated with those sales channels are retrieved.\nAdmins can manage publishable API keys and their associated resources. Currently, only Sales Channels are supported as a resource.\n\nRelated Guide: [How to manage publishable API keys](https://docs.medusajs.com/development/publishable-api-keys/admin/manage-publishable-api-keys)." + "text": ".\n\nPublishable API Keys can be used to scope Store API calls with an API key, determining what resources are retrieved when querying the API.\nFor example, a publishable API key can be associated with one or more sales channels. When it is passed in the header of a request to the List Product store API Route,\nthe sales channels are inferred from the key and only products associated with those sales channels are retrieved.\nAdmins can manage publishable API keys and their associated resources. Currently, only Sales Channels are supported as a resource.\n\nRelated Guide: [How to manage publishable API keys](https://docs.medusajs.com/v1/development/publishable-api-keys/admin/manage-publishable-api-keys)." } ] }, @@ -30225,7 +30225,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Region API Routes](https://docs.medusajs.com/api/admin#regions). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Region API Routes](https://docs.medusajs.com/v1/api/admin#regions). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -30243,7 +30243,7 @@ }, { "kind": "text", - "text": ".\n\nRegions are different countries or geographical regions that the commerce store serves customers in.\nAdmins can manage these regions, their providers, and more.\n\nRelated Guide: [How to manage regions](https://docs.medusajs.com/modules/regions-and-currencies/admin/manage-regions)." + "text": ".\n\nRegions are different countries or geographical regions that the commerce store serves customers in.\nAdmins can manage these regions, their providers, and more.\n\nRelated Guide: [How to manage regions](https://docs.medusajs.com/v1/modules/regions-and-currencies/admin/manage-regions)." } ] }, @@ -32029,7 +32029,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Reservation API Routes](https://docs.medusajs.com/api/admin#reservations). To use these API Routes, make sure to install the\n[@medusajs/inventory](https://docs.medusajs.com/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend.\n\nAll methods in this class require " + "text": "This class is used to send requests to [Admin Reservation API Routes](https://docs.medusajs.com/v1/api/admin#reservations). To use these API Routes, make sure to install the\n[@medusajs/inventory](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend.\n\nAll methods in this class require " }, { "kind": "inline-tag", @@ -32047,7 +32047,7 @@ }, { "kind": "text", - "text": " property.\n\nReservations, provided by the [Inventory Module](https://docs.medusajs.com/modules/multiwarehouse/inventory-module), are quantities of an item that are reserved, typically when an order is placed but not yet fulfilled.\nReservations can be associated with any resources, but commonly with line items of an order.\n\nRelated Guide: [How to manage item allocations in orders](https://docs.medusajs.com/modules/multiwarehouse/admin/manage-item-allocations-in-orders)." + "text": " property.\n\nReservations, provided by the [Inventory Module](https://docs.medusajs.com/v1/modules/multiwarehouse/inventory-module), are quantities of an item that are reserved, typically when an order is placed but not yet fulfilled.\nReservations can be associated with any resources, but commonly with line items of an order.\n\nRelated Guide: [How to manage item allocations in orders](https://docs.medusajs.com/v1/modules/multiwarehouse/admin/manage-item-allocations-in-orders)." } ] }, @@ -32847,7 +32847,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Return Reason API Routes](https://docs.medusajs.com/api/admin#return-reasons). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Return Reason API Routes](https://docs.medusajs.com/v1/api/admin#return-reasons). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -32865,7 +32865,7 @@ }, { "kind": "text", - "text": ".\n\nReturn reasons are key-value pairs that are used to specify why an order return is being created.\nAdmins can manage available return reasons, and they can be used by both admins and customers when creating a return.\n\nRelated Guide: [How to manage return reasons](https://docs.medusajs.com/modules/orders/admin/manage-returns#manage-return-reasons)." + "text": ".\n\nReturn reasons are key-value pairs that are used to specify why an order return is being created.\nAdmins can manage available return reasons, and they can be used by both admins and customers when creating a return.\n\nRelated Guide: [How to manage return reasons](https://docs.medusajs.com/v1/modules/orders/admin/manage-returns#manage-return-reasons)." } ] }, @@ -33571,7 +33571,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Return API Routes](https://docs.medusajs.com/api/admin#returns). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Return API Routes](https://docs.medusajs.com/v1/api/admin#returns). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -33589,7 +33589,7 @@ }, { "kind": "text", - "text": ".\n\nA return can be created by a customer or an admin to return items in an order.\nAdmins can manage these returns and change their state.\n\nRelated Guide: [How to manage returns](https://docs.medusajs.com/modules/orders/admin/manage-returns)." + "text": ".\n\nA return can be created by a customer or an admin to return items in an order.\nAdmins can manage these returns and change their state.\n\nRelated Guide: [How to manage returns](https://docs.medusajs.com/v1/modules/orders/admin/manage-returns)." } ] }, @@ -34110,7 +34110,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Sales Channel API Routes](https://docs.medusajs.com/api/admin#sales-channels). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Sales Channel API Routes](https://docs.medusajs.com/v1/api/admin#sales-channels). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -34128,7 +34128,7 @@ }, { "kind": "text", - "text": ".\n\nA sales channel indicates a channel where products can be sold in. For example, a webshop or a mobile app.\nAdmins can manage sales channels and the products available in them.\n\nRelated Guide: [How to manage sales channels](https://docs.medusajs.com/modules/sales-channels/admin/manage)." + "text": ".\n\nA sales channel indicates a channel where products can be sold in. For example, a webshop or a mobile app.\nAdmins can manage sales channels and the products available in them.\n\nRelated Guide: [How to manage sales channels](https://docs.medusajs.com/v1/modules/sales-channels/admin/manage)." } ] }, @@ -35142,7 +35142,7 @@ "summary": [ { "kind": "text", - "text": "Associate a stock location with a sales channel. It requires the \n[@medusajs/stock-location](https://docs.medusajs.com/modules/multiwarehouse/install-modules#stock-location-module) module to be installed in\nyour Medusa backend." + "text": "Associate a stock location with a sales channel. It requires the \n[@medusajs/stock-location](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#stock-location-module) module to be installed in\nyour Medusa backend." } ], "blockTags": [ @@ -35508,7 +35508,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Shipping Option API Routes](https://docs.medusajs.com/api/admin#shipping-options). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Shipping Option API Routes](https://docs.medusajs.com/v1/api/admin#shipping-options). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -35526,7 +35526,7 @@ }, { "kind": "text", - "text": ".\n\nA shipping option is used to define the available shipping methods during checkout or when creating a return.\nAdmins can create an unlimited number of shipping options, each associated with a shipping profile and fulfillment provider, among other resources.\n\nRelated Guide: [Shipping Option architecture](https://docs.medusajs.com/modules/carts-and-checkout/shipping#shipping-option)." + "text": ".\n\nA shipping option is used to define the available shipping methods during checkout or when creating a return.\nAdmins can create an unlimited number of shipping options, each associated with a shipping profile and fulfillment provider, among other resources.\n\nRelated Guide: [Shipping Option architecture](https://docs.medusajs.com/v1/modules/carts-and-checkout/shipping#shipping-option)." } ] }, @@ -36282,7 +36282,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Shipping Profile API Routes](https://docs.medusajs.com/api/admin#shipping-profiles). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Shipping Profile API Routes](https://docs.medusajs.com/v1/api/admin#shipping-profiles). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -36300,7 +36300,7 @@ }, { "kind": "text", - "text": ".\n\nA shipping profile is used to group products that can be shipped in the same manner.\nThey are created by the admin and they're not associated with a fulfillment provider.\n\nRelated Guide: [Shipping Profile architecture](https://docs.medusajs.com/modules/carts-and-checkout/shipping#shipping-profile)." + "text": ".\n\nA shipping profile is used to group products that can be shipped in the same manner.\nThey are created by the admin and they're not associated with a fulfillment provider.\n\nRelated Guide: [Shipping Profile architecture](https://docs.medusajs.com/v1/modules/carts-and-checkout/shipping#shipping-profile)." } ] }, @@ -37006,7 +37006,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Stock Location API Routes](https://docs.medusajs.com/api/admin#stock-locations). To use these API Routes, make sure to install the\n[@medusajs/stock-location](https://docs.medusajs.com/modules/multiwarehouse/install-modules#stock-location-module) module in your Medusa backend.\n\nAll methods in this class require " + "text": "This class is used to send requests to [Admin Stock Location API Routes](https://docs.medusajs.com/v1/api/admin#stock-locations). To use these API Routes, make sure to install the\n[@medusajs/stock-location](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#stock-location-module) module in your Medusa backend.\n\nAll methods in this class require " }, { "kind": "inline-tag", @@ -37024,7 +37024,7 @@ }, { "kind": "text", - "text": " property.\n\nA stock location, provided by the [Stock Location module](https://docs.medusajs.com/modules/multiwarehouse/stock-location-module), indicates a physical address that stock-kept items, such as physical products, can be stored in.\nAn admin can create and manage available stock locations.\n\nRelated Guide: [How to manage stock locations](https://docs.medusajs.com/modules/multiwarehouse/admin/manage-stock-locations)." + "text": " property.\n\nA stock location, provided by the [Stock Location module](https://docs.medusajs.com/v1/modules/multiwarehouse/stock-location-module), indicates a physical address that stock-kept items, such as physical products, can be stored in.\nAn admin can create and manage available stock locations.\n\nRelated Guide: [How to manage stock locations](https://docs.medusajs.com/v1/modules/multiwarehouse/admin/manage-stock-locations)." } ] }, @@ -37824,7 +37824,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Store API Routes](https://docs.medusajs.com/api/admin#store). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Store API Routes](https://docs.medusajs.com/v1/api/admin#store). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -37989,7 +37989,7 @@ "summary": [ { "kind": "text", - "text": "Add a currency code to the available currencies in a store. This doesn't create new currencies, as currencies are defined within the Medusa backend. \nTo create a currency, you can [create a migration](https://docs.medusajs.com/development/entities/migrations/create) that inserts the currency into the database." + "text": "Add a currency code to the available currencies in a store. This doesn't create new currencies, as currencies are defined within the Medusa backend. \nTo create a currency, you can [create a migration](https://docs.medusajs.com/v1/development/entities/migrations/create) that inserts the currency into the database." } ], "blockTags": [ @@ -38607,7 +38607,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Swap API Routes](https://docs.medusajs.com/api/admin#swaps). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Swap API Routes](https://docs.medusajs.com/v1/api/admin#swaps). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -38625,7 +38625,7 @@ }, { "kind": "text", - "text": ".\n\nA swap is created by a customer or an admin to exchange an item with a new one.\nCreating a swap implicitely includes creating a return for the item being exchanged.\n\nRelated Guide: [How to manage swaps](https://docs.medusajs.com/modules/orders/admin/manage-swaps)" + "text": ".\n\nA swap is created by a customer or an admin to exchange an item with a new one.\nCreating a swap implicitely includes creating a return for the item being exchanged.\n\nRelated Guide: [How to manage swaps](https://docs.medusajs.com/v1/modules/orders/admin/manage-swaps)" } ] }, @@ -39001,7 +39001,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Tax Rate API Routes](https://docs.medusajs.com/api/admin#tax-rates). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Tax Rate API Routes](https://docs.medusajs.com/v1/api/admin#tax-rates). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -39019,7 +39019,7 @@ }, { "kind": "text", - "text": ".\n\nEach region has at least a default tax rate. Admins can create and manage additional tax rates that can be applied for certain conditions, such as for specific product types.\n\nRelated Guide: [How to manage tax rates](https://docs.medusajs.com/modules/taxes/admin/manage-tax-rates)." + "text": ".\n\nEach region has at least a default tax rate. Admins can create and manage additional tax rates that can be applied for certain conditions, such as for specific product types.\n\nRelated Guide: [How to manage tax rates](https://docs.medusajs.com/v1/modules/taxes/admin/manage-tax-rates)." } ] }, @@ -40935,7 +40935,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Upload API Routes](https://docs.medusajs.com/api/admin#uploads). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Upload API Routes](https://docs.medusajs.com/v1/api/admin#uploads). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -40953,7 +40953,7 @@ }, { "kind": "text", - "text": ".\n\nThe methods in this class are used to upload any type of resources. For example, they can be used to upload CSV files that are used to import products into the store.\n\nRelated Guide: [How to upload CSV file when importing a product](https://docs.medusajs.com/modules/products/admin/import-products#1-upload-csv-file)." + "text": ".\n\nThe methods in this class are used to upload any type of resources. For example, they can be used to upload CSV files that are used to import products into the store.\n\nRelated Guide: [How to upload CSV file when importing a product](https://docs.medusajs.com/v1/modules/products/admin/import-products#1-upload-csv-file)." } ] }, @@ -41524,7 +41524,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin User API Routes](https://docs.medusajs.com/api/admin#users). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin User API Routes](https://docs.medusajs.com/v1/api/admin#users). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -41542,7 +41542,7 @@ }, { "kind": "text", - "text": ".\n\nA store can have more than one user, each having the same privileges. Admins can manage users, their passwords, and more.\n\nRelated Guide: [How to manage users](https://docs.medusajs.com/modules/users/admin/manage-users)." + "text": ".\n\nA store can have more than one user, each having the same privileges. Admins can manage users, their passwords, and more.\n\nRelated Guide: [How to manage users](https://docs.medusajs.com/v1/modules/users/admin/manage-users)." } ] }, @@ -42587,7 +42587,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Admin Product Variant API Routes](https://docs.medusajs.com/api/admin#product-variants). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Admin Product Variant API Routes](https://docs.medusajs.com/v1/api/admin#product-variants). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -42615,7 +42615,7 @@ }, { "kind": "text", - "text": ".\n\nRelated Guide: [How to manage product variants](https://docs.medusajs.com/modules/products/admin/manage-products#manage-product-variants)." + "text": ".\n\nRelated Guide: [How to manage product variants](https://docs.medusajs.com/v1/modules/products/admin/manage-products#manage-product-variants)." } ] }, @@ -43182,7 +43182,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Store Auth API Routes](https://docs.medusajs.com/api/store#auth). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Store Auth API Routes](https://docs.medusajs.com/v1/api/store#auth). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -43201,7 +43201,7 @@ }, { "kind": "text", - "text": " method, the JS client will automatically attach the\ncookie header in all subsequent requests.\n\nRelated Guide: [How to implement customer profiles in your storefront](https://docs.medusajs.com/modules/customers/storefront/implement-customer-profiles)." + "text": " method, the JS client will automatically attach the\ncookie header in all subsequent requests.\n\nRelated Guide: [How to implement customer profiles in your storefront](https://docs.medusajs.com/v1/modules/customers/storefront/implement-customer-profiles)." } ] }, @@ -43886,7 +43886,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Store Cart API Routes](https://docs.medusajs.com/api/store#carts). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Store Cart API Routes](https://docs.medusajs.com/v1/api/store#carts). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -43894,7 +43894,7 @@ }, { "kind": "text", - "text": " property.\n\nA cart is a virtual shopping bag that customers can use to add items they want to purchase.\nA cart is then used to checkout and place an order.\n\nRelated Guide: [How to implement cart functionality in your storefront](https://docs.medusajs.com/modules/carts-and-checkout/storefront/implement-cart)." + "text": " property.\n\nA cart is a virtual shopping bag that customers can use to add items they want to purchase.\nA cart is then used to checkout and place an order.\n\nRelated Guide: [How to implement cart functionality in your storefront](https://docs.medusajs.com/v1/modules/carts-and-checkout/storefront/implement-cart)." } ] }, @@ -43972,7 +43972,7 @@ }, { "kind": "text", - "text": " used to send requests to line-item-related routes part of the [Store Cart API Routes](https://docs.medusajs.com/api/store#carts)." + "text": " used to send requests to line-item-related routes part of the [Store Cart API Routes](https://docs.medusajs.com/v1/api/store#carts)." } ] }, @@ -45560,7 +45560,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Store Product Collection API Routes](https://docs.medusajs.com/api/store#product-collections). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Store Product Collection API Routes](https://docs.medusajs.com/v1/api/store#product-collections). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -45968,7 +45968,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Store Customer API Routes](https://docs.medusajs.com/api/store#customers_postcustomers). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Store Customer API Routes](https://docs.medusajs.com/v1/api/store#customers_postcustomers). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -45976,7 +45976,7 @@ }, { "kind": "text", - "text": " property.\n\nA customer can register and manage their information such as addresses, orders, payment methods, and more.\n\nRelated Guide: [How to implement customer profiles in your storefront](https://docs.medusajs.com/modules/customers/storefront/implement-customer-profiles)." + "text": " property.\n\nA customer can register and manage their information such as addresses, orders, payment methods, and more.\n\nRelated Guide: [How to implement customer profiles in your storefront](https://docs.medusajs.com/v1/modules/customers/storefront/implement-customer-profiles)." } ] }, @@ -46054,7 +46054,7 @@ }, { "kind": "text", - "text": " used to send requests to payment-related routes part of the [Store Customer API Routes](https://docs.medusajs.com/api/store#customers_postcustomers)." + "text": " used to send requests to payment-related routes part of the [Store Customer API Routes](https://docs.medusajs.com/v1/api/store#customers_postcustomers)." } ] }, @@ -46089,7 +46089,7 @@ }, { "kind": "text", - "text": " used to send requests to address-related routes part of the [Store Customer API Routes](https://docs.medusajs.com/api/store#customers_postcustomers)." + "text": " used to send requests to address-related routes part of the [Store Customer API Routes](https://docs.medusajs.com/v1/api/store#customers_postcustomers)." } ] }, @@ -46943,7 +46943,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Store Gift Card API Routes](https://docs.medusajs.com/api/store#gift-cards). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Store Gift Card API Routes](https://docs.medusajs.com/v1/api/store#gift-cards). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -46961,7 +46961,7 @@ }, { "kind": "text", - "text": ".\n\nRelated Guide: [How to use gift cards in a storefront](https://docs.medusajs.com/modules/gift-cards/storefront/use-gift-cards)." + "text": ".\n\nRelated Guide: [How to use gift cards in a storefront](https://docs.medusajs.com/v1/modules/gift-cards/storefront/use-gift-cards)." } ] }, @@ -47173,7 +47173,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to Line Item API Routes part of the [Store Cart API Routes](https://docs.medusajs.com/api/store#carts). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to Line Item API Routes part of the [Store Cart API Routes](https://docs.medusajs.com/v1/api/store#carts). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -47721,7 +47721,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Store Order Edits API Routes](https://docs.medusajs.com/api/store#order-edits). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Store Order Edits API Routes](https://docs.medusajs.com/v1/api/store#order-edits). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -47729,7 +47729,7 @@ }, { "kind": "text", - "text": " property.\n\nOrder edits are changes made to items in an order such as adding, updating their quantity, or deleting them. Order edits are created by the admin.\nA customer can review order edit requests created by an admin and confirm or decline them.\n\nRelated Guide: [How to handle order edits in a storefront](https://docs.medusajs.com/modules/orders/storefront/handle-order-edits)." + "text": " property.\n\nOrder edits are changes made to items in an order such as adding, updating their quantity, or deleting them. Order edits are created by the admin.\nA customer can review order edit requests created by an admin and confirm or decline them.\n\nRelated Guide: [How to handle order edits in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/handle-order-edits)." } ] }, @@ -48217,7 +48217,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Store Order API Routes](https://docs.medusajs.com/api/store#orders). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Store Order API Routes](https://docs.medusajs.com/v1/api/store#orders). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -48235,7 +48235,7 @@ }, { "kind": "text", - "text": ". The methods in this class allow retrieving and claiming orders.\n\nRelated Guide: [How to retrieve order details in a storefront](https://docs.medusajs.com/modules/orders/storefront/retrieve-order-details)." + "text": ". The methods in this class allow retrieving and claiming orders.\n\nRelated Guide: [How to retrieve order details in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/retrieve-order-details)." } ] }, @@ -48951,7 +48951,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Store Payment Collection API Routes](https://docs.medusajs.com/api/store#payment-collections). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Store Payment Collection API Routes](https://docs.medusajs.com/v1/api/store#payment-collections). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -49936,7 +49936,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to Payment Method API Routes part of the [Store Customer API Routes](https://docs.medusajs.com/api/store#customers_postcustomers). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to Payment Method API Routes part of the [Store Customer API Routes](https://docs.medusajs.com/v1/api/store#customers_postcustomers). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -50147,7 +50147,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Store Product Category API Routes](https://docs.medusajs.com/api/store#product-categories_getproductcategories). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Store Product Category API Routes](https://docs.medusajs.com/v1/api/store#product-categories_getproductcategories). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -50155,7 +50155,7 @@ }, { "kind": "text", - "text": " property.\n\nProducts can be categoriezed into categories. A product can be associated more than one category.\nUsing the methods in this class, you can list or retrieve a category's details and products.\n\nRelated Guide: [How to use product categories in a storefront](https://docs.medusajs.com/modules/products/storefront/use-categories)." + "text": " property.\n\nProducts can be categoriezed into categories. A product can be associated more than one category.\nUsing the methods in this class, you can list or retrieve a category's details and products.\n\nRelated Guide: [How to use product categories in a storefront](https://docs.medusajs.com/v1/modules/products/storefront/use-categories)." } ], "blockTags": [ @@ -50620,7 +50620,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Store Product Tag API Routes](https://docs.medusajs.com/api/store#product-tags). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Store Product Tag API Routes](https://docs.medusajs.com/v1/api/store#product-tags). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -50907,7 +50907,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Store Product Type API Routes](https://docs.medusajs.com/api/store#product-types). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Store Product Type API Routes](https://docs.medusajs.com/v1/api/store#product-types). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -51194,7 +51194,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Store Product Variant API Routes](https://docs.medusajs.com/api/store#product-variants). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Store Product Variant API Routes](https://docs.medusajs.com/v1/api/store#product-variants). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -51690,7 +51690,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Store Product API Routes](https://docs.medusajs.com/api/store#products). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Store Product API Routes](https://docs.medusajs.com/v1/api/store#products). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -51698,7 +51698,7 @@ }, { "kind": "text", - "text": " property.\n\nProducts are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/modules/gift-cards/storefront/use-gift-cards) in a store.\nUsing the methods in this class, you can filter products by categories, collections, sales channels, and more.\n\nRelated Guide: [How to show products in a storefront](https://docs.medusajs.com/modules/products/storefront/show-products)." + "text": " property.\n\nProducts are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/v1/modules/gift-cards/storefront/use-gift-cards) in a store.\nUsing the methods in this class, you can filter products by categories, collections, sales channels, and more.\n\nRelated Guide: [How to show products in a storefront](https://docs.medusajs.com/v1/modules/products/storefront/show-products)." } ] }, @@ -51776,7 +51776,7 @@ }, { "kind": "text", - "text": " used to send requests to [Store Product Variant API Routes](https://docs.medusajs.com/api/store#product-variants_getvariants)." + "text": " used to send requests to [Store Product Variant API Routes](https://docs.medusajs.com/v1/api/store#product-variants_getvariants)." } ] }, @@ -52353,7 +52353,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Store Region API Routes](https://docs.medusajs.com/api/store#regions_getregions). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Store Region API Routes](https://docs.medusajs.com/v1/api/store#regions_getregions). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -52361,7 +52361,7 @@ }, { "kind": "text", - "text": " property.\n\nRegions are different countries or geographical regions that the commerce store serves customers in.\nCustomers can choose what region they're in, which can be used to change the prices shown based on the region and its currency.\n\nRelated Guide: [How to use regions in a storefront](https://docs.medusajs.com/modules/regions-and-currencies/storefront/use-regions)." + "text": " property.\n\nRegions are different countries or geographical regions that the commerce store serves customers in.\nCustomers can choose what region they're in, which can be used to change the prices shown based on the region and its currency.\n\nRelated Guide: [How to use regions in a storefront](https://docs.medusajs.com/v1/modules/regions-and-currencies/storefront/use-regions)." } ] }, @@ -52675,7 +52675,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Store Return Reason API Routes](https://docs.medusajs.com/api/store#return-reasons). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Store Return Reason API Routes](https://docs.medusajs.com/v1/api/store#return-reasons). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -52997,7 +52997,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Store Return API Routes](https://docs.medusajs.com/api/store#returns). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Store Return API Routes](https://docs.medusajs.com/v1/api/store#returns). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -53005,7 +53005,7 @@ }, { "kind": "text", - "text": " property.\n\nA return can be created by a customer to return items in an order.\n\nRelated Guide: [How to create a return in a storefront](https://docs.medusajs.com/modules/orders/storefront/create-return)." + "text": " property.\n\nA return can be created by a customer to return items in an order.\n\nRelated Guide: [How to create a return in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/create-return)." } ] }, @@ -53222,7 +53222,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Store Shipping Option API Routes](https://docs.medusajs.com/api/store#shipping-options). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Store Shipping Option API Routes](https://docs.medusajs.com/v1/api/store#shipping-options). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -53230,7 +53230,7 @@ }, { "kind": "text", - "text": " property.\n\nA shipping option is used to define the available shipping methods during checkout or when creating a return.\n\nRelated Guide: [Shipping Option architecture](https://docs.medusajs.com/modules/carts-and-checkout/shipping#shipping-option)." + "text": " property.\n\nA shipping option is used to define the available shipping methods during checkout or when creating a return.\n\nRelated Guide: [Shipping Option architecture](https://docs.medusajs.com/v1/modules/carts-and-checkout/shipping#shipping-option)." } ] }, @@ -53578,7 +53578,7 @@ "summary": [ { "kind": "text", - "text": "This class is used to send requests to [Store Swap API Routes](https://docs.medusajs.com/api/store#swaps). All its method\nare available in the JS Client under the " + "text": "This class is used to send requests to [Store Swap API Routes](https://docs.medusajs.com/v1/api/store#swaps). All its method\nare available in the JS Client under the " }, { "kind": "code", @@ -53586,7 +53586,7 @@ }, { "kind": "text", - "text": " property.\n\nA swap is created by a customer or an admin to exchange an item with a new one.\nCreating a swap implicitely includes creating a return for the item being exchanged.\n\nRelated Guide: [How to create a swap in a storefront](https://docs.medusajs.com/modules/orders/storefront/create-swap)" + "text": " property.\n\nA swap is created by a customer or an admin to exchange an item with a new one.\nCreating a swap implicitely includes creating a return for the item being exchanged.\n\nRelated Guide: [How to create a swap in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/create-swap)" } ] }, diff --git a/docs-util/typedoc-json-output/medusa-config.json b/docs-util/typedoc-json-output/medusa-config.json index 4288199f29bdb..0bc3b1f6ffa57 100644 --- a/docs-util/typedoc-json-output/medusa-config.json +++ b/docs-util/typedoc-json-output/medusa-config.json @@ -61,7 +61,7 @@ "summary": [ { "kind": "text", - "text": "The level of zlib compression to apply to responses. A higher level will result in better compression but will take longer to complete. \nA lower level will result in less compression but will be much faster. The default value is " + "text": "The level of zlib compression to apply to responses. A higher level will result in better compression but will take longer to complete.\nA lower level will result in less compression but will be much faster. The default value is " }, { "kind": "code", @@ -90,7 +90,7 @@ "summary": [ { "kind": "text", - "text": "How much memory should be allocated to the internal compression state. It's an integer in the range of 1 (minimum level) and 9 (maximum level). \nThe default value is " + "text": "How much memory should be allocated to the internal compression state. It's an integer in the range of 1 (minimum level) and 9 (maximum level).\nThe default value is " }, { "kind": "code", @@ -119,7 +119,7 @@ "summary": [ { "kind": "text", - "text": "The minimum response body size that compression is applied on. Its value can be the number of bytes or any string accepted by the \n[bytes](https://www.npmjs.com/package/bytes) module. The default value is " + "text": "The minimum response body size that compression is applied on. Its value can be the number of bytes or any string accepted by the\n[bytes](https://www.npmjs.com/package/bytes) module. The default value is " }, { "kind": "code", @@ -193,7 +193,7 @@ }, { "kind": "text", - "text": " is a string used to specify the accepted URLs or patterns for store API Routes. It can either be one accepted origin, or a comma-separated list of accepted origins. \n\nEvery origin in that list must either be:\n\n1. A URL. For example, " + "text": " is a string used to specify the accepted URLs or patterns for store API Routes. It can either be one accepted origin, or a comma-separated list of accepted origins.\n\nEvery origin in that list must either be:\n\n1. A URL. For example, " }, { "kind": "code", @@ -301,7 +301,7 @@ }, { "kind": "text", - "text": " is a string used to specify the accepted URLs or patterns for admin API Routes. It can either be one accepted origin, or a comma-separated list of accepted origins. \n\nEvery origin in that list must either be:\n\n1. A URL. For example, " + "text": " is a string used to specify the accepted URLs or patterns for admin API Routes. It can either be one accepted origin, or a comma-separated list of accepted origins.\n\nEvery origin in that list must either be:\n\n1. A URL. For example, " }, { "kind": "code", @@ -391,6 +391,122 @@ }, { "id": 9, + "name": "auth_cors", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The Medusa backend’s API Routes are protected by Cross-Origin Resource Sharing (CORS). So, only allowed URLs or URLs matching a specified pattern can send requests to the backend’s API Routes.\n\n" + }, + { + "kind": "code", + "text": "`auth_cors`" + }, + { + "kind": "text", + "text": " is a string used to specify the accepted URLs or patterns for API Routes starting with " + }, + { + "kind": "code", + "text": "`/auth`" + }, + { + "kind": "text", + "text": ". It can either be one accepted origin, or a comma-separated list of accepted origins.\n\nEvery origin in that list must either be:\n\n1. A URL. For example, " + }, + { + "kind": "code", + "text": "`http://localhost:7001`" + }, + { + "kind": "text", + "text": ". The URL must not end with a backslash;\n2. Or a regular expression pattern that can match more than one origin. For example, " + }, + { + "kind": "code", + "text": "`.example.com`" + }, + { + "kind": "text", + "text": ". The regex pattern that the backend tests for is " + }, + { + "kind": "code", + "text": "`^([/~@;%#'])(.*?)\\1([gimsuy]*)$`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "Some example values of common use cases:\n\n" + }, + { + "kind": "code", + "text": "```bash\n# Allow different ports locally starting with 700\nAUTH_CORS=/http://localhost:700\\d+$/\n\n# Allow any origin ending with vercel.app. For example, admin.vercel.app\nAUTH_CORS=/vercel\\.app$/\n\n# Allow all HTTP requests\nAUTH_CORS=/http://.+/\n```" + }, + { + "kind": "text", + "text": "\n\nThen, set the configuration in " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": ":\n\n" + }, + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n auth_cors: process.env.AUTH_CORS,\n // ...\n },\n // ...\n}\n```" + }, + { + "kind": "text", + "text": "\n\nIf you’re adding the value directly within " + }, + { + "kind": "code", + "text": "`medusa-config.js`" + }, + { + "kind": "text", + "text": ", make sure to add an extra escaping " + }, + { + "kind": "code", + "text": "`/`" + }, + { + "kind": "text", + "text": " for every backslash in the pattern. For example:\n\n" + }, + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n auth_cors: \"/http:\\\\/\\\\/localhost:700\\\\d+$/\",\n // ...\n },\n // ...\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10, "name": "cookie_secret", "variant": "declaration", "kind": 1024, @@ -409,7 +525,7 @@ }, { "kind": "text", - "text": " However, in production, if this configuration is not set, an error is thrown and \nthe backend crashes." + "text": " However, in production, if this configuration is not set, an error is thrown and\nthe backend crashes." } ], "blockTags": [ @@ -430,7 +546,7 @@ } }, { - "id": 10, + "id": 11, "name": "jwt_secret", "variant": "declaration", "kind": 1024, @@ -470,7 +586,7 @@ } }, { - "id": 11, + "id": 12, "name": "database_database", "variant": "declaration", "kind": 1024, @@ -489,7 +605,7 @@ }, { "kind": "text", - "text": ", then it’s not required to include it.\n\nMake sure to create the PostgreSQL database before using it. You can check how to create a database in \n[PostgreSQL's documentation](https://www.postgresql.org/docs/current/sql-createdatabase.html)." + "text": ", then it’s not required to include it.\n\nMake sure to create the PostgreSQL database before using it. You can check how to create a database in\n[PostgreSQL's documentation](https://www.postgresql.org/docs/current/sql-createdatabase.html)." } ], "blockTags": [ @@ -498,7 +614,7 @@ "content": [ { "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n database_database: process.env.DATABASE_DATABASE || \n \"medusa-store\",\n // ...\n },\n // ...\n}\n```" + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n database_database: process.env.DATABASE_DATABASE ||\n \"medusa-store\",\n // ...\n },\n // ...\n}\n```" } ] } @@ -510,7 +626,7 @@ } }, { - "id": 12, + "id": 13, "name": "database_url", "variant": "declaration", "kind": 1024, @@ -581,7 +697,7 @@ }, { "kind": "code", - "text": "`[:post]`" + "text": "`[:port]`" }, { "kind": "text", @@ -650,7 +766,7 @@ } }, { - "id": 13, + "id": 14, "name": "database_schema", "variant": "declaration", "kind": 1024, @@ -673,7 +789,7 @@ }, { "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n database_schema: process.env.DATABASE_SCHEMA || \n \"custom\",\n // ...\n },\n // ...\n}\n```" + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n database_schema: process.env.DATABASE_SCHEMA ||\n \"custom\",\n // ...\n },\n // ...\n}\n```" } ] }, @@ -683,7 +799,7 @@ } }, { - "id": 14, + "id": 15, "name": "database_logging", "variant": "declaration", "kind": 1024, @@ -790,7 +906,7 @@ } }, { - "id": 16, + "id": 17, "name": "database_extra", "variant": "declaration", "kind": 1024, @@ -801,7 +917,7 @@ "summary": [ { "kind": "text", - "text": "An object that includes additional configurations to pass to the database connection. You can pass any configuration. One defined configuration to pass is \n" + "text": "An object that includes additional configurations to pass to the database connection. You can pass any configuration. One defined configuration to pass is\n" }, { "kind": "code", @@ -833,7 +949,7 @@ }, { "kind": "text", - "text": ". \nDuring development, it’s recommended not to pass this option." + "text": ".\nDuring development, it’s recommended not to pass this option." } ], "blockTags": [ @@ -842,7 +958,7 @@ "content": [ { "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n database_extra: \n process.env.NODE_ENV !== \"development\"\n ? { ssl: { rejectUnauthorized: false } }\n : {},\n // ...\n },\n // ...\n}\n```" + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n database_extra:\n process.env.NODE_ENV !== \"development\"\n ? { ssl: { rejectUnauthorized: false } }\n : {},\n // ...\n },\n // ...\n}\n```" } ] } @@ -873,14 +989,14 @@ { "type": "reflection", "declaration": { - "id": 17, + "id": 18, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 18, + "id": 19, "name": "ssl", "variant": "declaration", "kind": 1024, @@ -896,14 +1012,14 @@ "type": { "type": "reflection", "declaration": { - "id": 19, + "id": 20, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 20, + "id": 21, "name": "rejectUnauthorized", "variant": "declaration", "kind": 1024, @@ -926,7 +1042,7 @@ { "title": "Properties", "children": [ - 20 + 21 ] } ] @@ -938,7 +1054,7 @@ { "title": "Properties", "children": [ - 18 + 19 ] } ] @@ -948,7 +1064,198 @@ } }, { - "id": 21, + "id": 22, + "name": "database_driver_options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that includes additional configurations to pass to the database connection for v2. You can pass any configuration. One defined configuration to pass is\n" + }, + { + "kind": "code", + "text": "`ssl`" + }, + { + "kind": "text", + "text": " which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the " + }, + { + "kind": "code", + "text": "`rejectUnauthorized`" + }, + { + "kind": "text", + "text": " attribute of " + }, + { + "kind": "code", + "text": "`ssl`" + }, + { + "kind": "text", + "text": " object to " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ".\nDuring development, it’s recommended not to pass this option." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n database_driver_options:\n process.env.NODE_ENV !== \"development\"\n ? { connection: { ssl: { rejectUnauthorized: false } } }\n : {},\n // ...\n },\n // ...\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + { + "type": "reflection", + "declaration": { + "id": 23, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 24, + "name": "connection", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 25, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 26, + "name": "ssl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configure support for TLS/SSL connection" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 27, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 28, + "name": "rejectUnauthorized", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to fail connection if the server certificate is verified against the list of supplied CAs and the hostname and no match is found." + } + ] + }, + "type": { + "type": "literal", + "value": false + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 28 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 26 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 24 + ] + } + ] + } + } + ] + } + }, + { + "id": 29, "name": "redis_url", "variant": "declaration", "kind": 1024, @@ -984,7 +1291,7 @@ "content": [ { "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n redis_url: process.env.REDIS_URL || \n \"redis://localhost:6379\",\n // ...\n },\n // ...\n}\n```" + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n redis_url: process.env.REDIS_URL ||\n \"redis://localhost:6379\",\n // ...\n },\n // ...\n}\n```" } ] } @@ -996,7 +1303,7 @@ } }, { - "id": 22, + "id": 30, "name": "redis_prefix", "variant": "declaration", "kind": 1024, @@ -1015,7 +1322,7 @@ }, { "kind": "text", - "text": ". \n\nIf this configuration option is provided, it is prepended to " + "text": ".\n\nIf this configuration option is provided, it is prepended to " }, { "kind": "code", @@ -1032,7 +1339,7 @@ "content": [ { "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n redis_prefix: process.env.REDIS_PREFIX || \n \"medusa:\",\n // ...\n },\n // ...\n}\n```" + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n redis_prefix: process.env.REDIS_PREFIX ||\n \"medusa:\",\n // ...\n },\n // ...\n}\n```" } ] } @@ -1044,7 +1351,7 @@ } }, { - "id": 23, + "id": 31, "name": "redis_options", "variant": "declaration", "kind": 1024, @@ -1055,7 +1362,7 @@ "summary": [ { "kind": "text", - "text": "An object of options to pass ioredis. You can refer to [ioredis’s RedisOptions documentation](https://redis.github.io/ioredis/index.html#RedisOptions) \nfor the list of available options." + "text": "An object of options to pass ioredis. You can refer to [ioredis’s RedisOptions documentation](https://redis.github.io/ioredis/index.html#RedisOptions)\nfor the list of available options." } ], "blockTags": [ @@ -1064,7 +1371,7 @@ "content": [ { "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n redis_options: {\n connectionName: process.env.REDIS_CONNECTION_NAME || \n \"medusa\",\n },\n // ...\n },\n // ...\n}\n```" + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n redis_options: {\n connectionName: process.env.REDIS_CONNECTION_NAME ||\n \"medusa\",\n },\n // ...\n },\n // ...\n}\n```" } ] } @@ -1081,7 +1388,7 @@ } }, { - "id": 24, + "id": 32, "name": "session_options", "variant": "declaration", "kind": 1024, @@ -1101,7 +1408,7 @@ "content": [ { "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n session_options: {\n name: process.env.SESSION_NAME || \n \"custom\",\n },\n // ...\n },\n // ...\n}\n```" + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n session_options: {\n name: process.env.SESSION_NAME ||\n \"custom\",\n },\n // ...\n },\n // ...\n}\n```" } ] } @@ -1118,7 +1425,7 @@ } }, { - "id": 25, + "id": 33, "name": "http_compression", "variant": "declaration", "kind": 1024, @@ -1129,7 +1436,7 @@ "summary": [ { "kind": "text", - "text": "Configure HTTP compression from the application layer. If you have access to the HTTP server, the recommended approach would be to enable it there. \nHowever, some platforms don't offer access to the HTTP layer and in those cases, this is a good alternative.\n\nIts value is an object that has the following properties:\n\nIf you enable HTTP compression and you want to disable it for specific API Routes, you can pass in the request header " + "text": "Configure HTTP compression from the application layer. If you have access to the HTTP server, the recommended approach would be to enable it there.\nHowever, some platforms don't offer access to the HTTP layer and in those cases, this is a good alternative.\n\nIts value is an object that has the following properties:\n\nIf you enable HTTP compression and you want to disable it for specific API Routes, you can pass in the request header " }, { "kind": "code", @@ -1160,7 +1467,7 @@ } }, { - "id": 26, + "id": 34, "name": "jobs_batch_size", "variant": "declaration", "kind": 1024, @@ -1171,7 +1478,15 @@ "summary": [ { "kind": "text", - "text": "Configure the number of staged jobs that are polled from the database. Default is 1000." + "text": "Configure the number of staged jobs that are polled from the database. Default is " + }, + { + "kind": "code", + "text": "`1000`" + }, + { + "kind": "text", + "text": "." } ], "blockTags": [ @@ -1190,6 +1505,83 @@ "type": "intrinsic", "name": "number" } + }, + { + "id": 35, + "name": "worker_mode", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configure the application's worker mode. Default is " + }, + { + "kind": "code", + "text": "`shared`" + }, + { + "kind": "text", + "text": ".\n\n- Use " + }, + { + "kind": "code", + "text": "`shared`" + }, + { + "kind": "text", + "text": " to run the application in a single process.\n- Use " + }, + { + "kind": "code", + "text": "`worker`" + }, + { + "kind": "text", + "text": " to run the a worker process only.\n- Use " + }, + { + "kind": "code", + "text": "`server`" + }, + { + "kind": "text", + "text": " to run the application server only.\n\nLearn more in [this guide](https://docs.medusajs.com/v1/development/medusa-worker)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n projectConfig: {\n worker_mode: \"shared\"\n // ...\n },\n // ...\n}\n```" + } + ] + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "shared" + }, + { + "type": "literal", + "value": "worker" + }, + { + "type": "literal", + "value": "server" + } + ] + } } ], "groups": [ @@ -1204,19 +1596,22 @@ 12, 13, 14, - 16, - 21, + 15, + 17, 22, - 23, - 24, - 25, - 26 + 29, + 30, + 31, + 32, + 33, + 34, + 35 ] } ] }, { - "id": 27, + "id": 36, "name": "ConfigModule", "variant": "declaration", "kind": 256, @@ -1247,7 +1642,7 @@ "kind": "inline-tag", "tag": "@link", "text": "projectConfig", - "target": 28, + "target": 37, "tsLinkText": "projectConfig" }, { @@ -1258,7 +1653,7 @@ "kind": "inline-tag", "tag": "@link", "text": "plugins", - "target": 29, + "target": 38, "tsLinkText": "plugins" }, { @@ -1269,7 +1664,7 @@ "kind": "inline-tag", "tag": "@link", "text": "modules", - "target": 33, + "target": 42, "tsLinkText": "modules" }, { @@ -1280,7 +1675,7 @@ "kind": "inline-tag", "tag": "@link", "text": "featureFlags", - "target": 34, + "target": 43, "tsLinkText": "featureFlags" }, { @@ -1309,13 +1704,13 @@ }, { "kind": "text", - "text": " file at the root of your Medusa backend project. In production, \nsetting the environment variables depends on the hosting provider.\n\n---" + "text": " file at the root of your Medusa backend project. In production,\nsetting the environment variables depends on the hosting provider.\n\n---" } ] }, "children": [ { - "id": 28, + "id": 37, "name": "projectConfig", "variant": "declaration", "kind": 1024, @@ -1336,7 +1731,7 @@ } }, { - "id": 29, + "id": 38, "name": "plugins", "variant": "declaration", "kind": 1024, @@ -1345,7 +1740,7 @@ "summary": [ { "kind": "text", - "text": "On your Medusa backend, you can use [Plugins](https://docs.medusajs.com/development/plugins/overview) to add custom features or integrate third-party services. \nFor example, installing a plugin to use Stripe as a payment processor.\n\nAside from installing the plugin with NPM, you need to pass the plugin you installed into the " + "text": "On your Medusa backend, you can use [Plugins](https://docs.medusajs.com/v1/development/plugins/overview) to add custom features or integrate third-party services.\nFor example, installing a plugin to use Stripe as a payment processor.\n\nAside from installing the plugin with NPM, you need to pass the plugin you installed into the " }, { "kind": "code", @@ -1386,7 +1781,7 @@ "content": [ { "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n plugins: [\n `medusa-my-plugin-1`,\n {\n resolve: `medusa-my-plugin`,\n options: {\n apiKey: process.env.MY_API_KEY || \n `test`,\n },\n },\n // ...\n ],\n // ...\n}\n```" + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n plugins: [\n `medusa-my-plugin-1`,\n {\n resolve: `medusa-my-plugin`,\n options: {\n apiKey: process.env.MY_API_KEY ||\n `test`,\n },\n },\n // ...\n ],\n // ...\n}\n```" } ] } @@ -1404,14 +1799,14 @@ { "type": "reflection", "declaration": { - "id": 30, + "id": 39, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 31, + "id": 40, "name": "resolve", "variant": "declaration", "kind": 1024, @@ -1422,7 +1817,7 @@ } }, { - "id": 32, + "id": 41, "name": "options", "variant": "declaration", "kind": 1024, @@ -1452,8 +1847,8 @@ { "title": "Properties", "children": [ - 31, - 32 + 40, + 41 ] } ] @@ -1464,7 +1859,7 @@ } }, { - "id": 33, + "id": 42, "name": "modules", "variant": "declaration", "kind": 1024, @@ -1475,7 +1870,7 @@ "summary": [ { "kind": "text", - "text": "In Medusa, commerce and core logic are modularized to allow developers to extend or replace certain [modules](https://docs.medusajs.com/development/modules/overview) \nwith custom implementations.\n\nAside from installing the module with NPM, you must add it to the exported object in " + "text": "In Medusa, commerce and core logic are modularized to allow developers to extend or replace certain [modules](https://docs.medusajs.com/v1/development/modules/overview)\nwith custom implementations.\n\nAside from installing the module with NPM, you must add it to the exported object in " }, { "kind": "code", @@ -1547,7 +1942,7 @@ }, { "kind": "text", - "text": ". Refer to the [Modules documentation](https://docs.medusajs.com/development/modules/create#module-scope) for more details.\n 4. " + "text": ". Refer to the [Modules documentation](https://docs.medusajs.com/v1/development/modules/create#module-scope) for more details.\n 4. " }, { "kind": "code", @@ -1572,7 +1967,7 @@ "content": [ { "kind": "code", - "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n modules: {\n eventBus: {\n resolve: \"@medusajs/event-bus-local\",\n },\n cacheService: {\n resolve: \"@medusajs/cache-redis\",\n options: { \n redisUrl: process.env.CACHE_REDIS_URL,\n ttl: 30,\n },\n },\n // ...\n },\n // ...\n}\n```" + "text": "```js title=\"medusa-config.js\"\nmodule.exports = {\n modules: {\n eventBus: {\n resolve: \"@medusajs/event-bus-local\",\n },\n cacheService: {\n resolve: \"@medusajs/cache-redis\",\n options: {\n redisUrl: process.env.CACHE_REDIS_URL,\n ttl: 30,\n },\n },\n // ...\n },\n // ...\n}\n```" } ] } @@ -1638,7 +2033,7 @@ } }, { - "id": 34, + "id": 43, "name": "featureFlags", "variant": "declaration", "kind": 1024, @@ -1647,7 +2042,7 @@ "summary": [ { "kind": "text", - "text": "Some features in the Medusa backend are guarded by a feature flag. This ensures constant shipping of new features while maintaining the engine’s stability.\n\nYou can specify whether a feature should or shouldn’t be used in your backend by enabling its feature flag. Feature flags can be enabled through either environment \nvariables or through this configuration exported in " + "text": "Some features in the Medusa backend are guarded by a feature flag. This ensures constant shipping of new features while maintaining the engine’s stability.\n\nYou can specify whether a feature should or shouldn’t be used in your backend by enabling its feature flag. Feature flags can be enabled through either environment\nvariables or through this configuration exported in " }, { "kind": "code", @@ -1655,7 +2050,7 @@ }, { "kind": "text", - "text": ".\n\nIf you want to use the environment variables method, learn more about it in the [Feature Flags documentation](https://docs.medusajs.com/development/feature-flags/toggle#method-one-using-environment-variables).\n\nThe " + "text": ".\n\nIf you want to use the environment variables method, learn more about it in the [Feature Flags documentation](https://docs.medusajs.com/v1/development/feature-flags/toggle#method-one-using-environment-variables).\n\nThe " }, { "kind": "code", @@ -1676,7 +2071,7 @@ }, { "kind": "text", - "text": "\n\n:::note\n\nAfter enabling a feature flag, make sure to [run migrations](https://docs.medusajs.com/development/entities/migrations/overview#migrate-command) as it may require making changes to the database.\n\n:::" + "text": "\n\n:::note\n\nAfter enabling a feature flag, make sure to [run migrations](https://docs.medusajs.com/v1/development/entities/migrations/overview#migrate-command) as it may require making changes to the database.\n\n:::" } ] } @@ -1716,13 +2111,114 @@ { "title": "Properties", "children": [ - 28, - 29, - 33, - 34 + 37, + 38, + 42, + 43 ] } ] + }, + { + "id": 44, + "name": "PluginDetails", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 45, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 46, + "name": "resolve", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 47, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 48, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 49, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 50, + "name": "version", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 46, + 47, + 48, + 49, + 50 + ] + } + ] + } + } } ], "groups": [ @@ -1731,7 +2227,13 @@ "children": [ 1, 6, - 27 + 36 + ] + }, + { + "title": "Type Aliases", + "children": [ + 44 ] } ], @@ -1775,103 +2277,167 @@ }, "9": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.cookie_secret" + "qualifiedName": "__type.auth_cors" }, "10": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.jwt_secret" + "qualifiedName": "__type.cookie_secret" }, "11": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.database_database" + "qualifiedName": "__type.jwt_secret" }, "12": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.database_url" + "qualifiedName": "__type.database_database" }, "13": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", - "qualifiedName": "__type.database_schema" + "qualifiedName": "__type.database_url" }, "14": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.database_schema" + }, + "15": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.database_logging" }, - "16": { + "17": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.database_extra" }, - "17": { + "18": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type" }, - "18": { + "19": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.ssl" }, - "19": { + "20": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type" }, - "20": { + "21": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.rejectUnauthorized" }, - "21": { + "22": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.database_driver_options" + }, + "23": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type" + }, + "24": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.connection" + }, + "25": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type" + }, + "26": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.ssl" + }, + "27": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type" + }, + "28": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.rejectUnauthorized" + }, + "29": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.redis_url" }, - "22": { + "30": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.redis_prefix" }, - "23": { + "31": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.redis_options" }, - "24": { + "32": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.session_options" }, - "25": { + "33": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.http_compression" }, - "26": { + "34": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.jobs_batch_size" }, - "27": { + "35": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.worker_mode" + }, + "36": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "ConfigModule" }, - "28": { + "37": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.projectConfig" }, - "29": { + "38": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.plugins" }, - "30": { + "39": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type" }, - "31": { + "40": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.resolve" }, - "32": { + "41": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.options" }, - "33": { + "42": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.modules" }, - "34": { + "43": { "sourceFileName": "../../../packages/types/src/common/config-module.ts", "qualifiedName": "__type.featureFlags" + }, + "44": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "PluginDetails" + }, + "45": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type" + }, + "46": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.resolve" + }, + "47": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.name" + }, + "48": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.id" + }, + "49": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.options" + }, + "50": { + "sourceFileName": "../../../packages/types/src/common/config-module.ts", + "qualifiedName": "__type.version" } } } \ No newline at end of file diff --git a/docs-util/typedoc-json-output/medusa-react.json b/docs-util/typedoc-json-output/medusa-react.json index 4595da9092dd2..d4006ef3218c1 100644 --- a/docs-util/typedoc-json-output/medusa-react.json +++ b/docs-util/typedoc-json-output/medusa-react.json @@ -72,7 +72,7 @@ }, { "kind": "text", - "text": ".\n\nThe context provides helper functions and mutations for managing the cart and checkout. You can refer to the following guides for examples on how to use them:\n\n- [How to Add Cart Functionality](https://docs.medusajs.com/modules/carts-and-checkout/storefront/implement-cart)\n- [How to Implement Checkout Flow](https://docs.medusajs.com/modules/carts-and-checkout/storefront/implement-checkout-flow)" + "text": ".\n\nThe context provides helper functions and mutations for managing the cart and checkout. You can refer to the following guides for examples on how to use them:\n\n- [How to Add Cart Functionality](https://docs.medusajs.com/v1/modules/carts-and-checkout/storefront/implement-cart)\n- [How to Implement Checkout Flow](https://docs.medusajs.com/v1/modules/carts-and-checkout/storefront/implement-checkout-flow)" } ], "blockTags": [ @@ -317,7 +317,7 @@ }, { "kind": "text", - "text": ". It's useful if you want access to the \n[Medusa JS Client](https://docs.medusajs.com/js-client/overview)." + "text": ". It's useful if you want access to the \n[Medusa JS Client](https://docs.medusajs.com/v1/js-client/overview)." } ], "blockTags": [ @@ -1248,7 +1248,7 @@ "summary": [ { "kind": "text", - "text": "Queries and mutations listed here are used to send requests to the [Admin Auth API Routes](https://docs.medusajs.com/api/admin#auth_getauth).\n\nThey allow admin users to manage their session, such as login or log out.\nYou can send authenticated requests for an admin user either using the Cookie header, their API token, or the JWT Token.\nWhen you log the admin user in using the " + "text": "Queries and mutations listed here are used to send requests to the [Admin Auth API Routes](https://docs.medusajs.com/v1/api/admin#auth_getauth).\n\nThey allow admin users to manage their session, such as login or log out.\nYou can send authenticated requests for an admin user either using the Cookie header, their API token, or the JWT Token.\nWhen you log the admin user in using the " }, { "kind": "inline-tag", @@ -1258,7 +1258,7 @@ }, { "kind": "text", - "text": " hook, Medusa React will automatically attach the\ncookie header in all subsequent requests.\n\nRelated Guide: [How to implement user profiles](https://docs.medusajs.com/modules/users/admin/manage-profile)." + "text": " hook, Medusa React will automatically attach the\ncookie header in all subsequent requests.\n\nRelated Guide: [How to implement user profiles](https://docs.medusajs.com/v1/modules/users/admin/manage-profile)." } ], "modifierTags": [ @@ -2031,7 +2031,7 @@ "summary": [ { "kind": "text", - "text": "Queries and mutations listed here are used to send requests to the [Admin Batch Job API Routes](https://docs.medusajs.com/api/admin#batch-jobs).\n\nAll hooks listed require " + "text": "Queries and mutations listed here are used to send requests to the [Admin Batch Job API Routes](https://docs.medusajs.com/v1/api/admin#batch-jobs).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -2041,7 +2041,7 @@ }, { "kind": "text", - "text": ".\n\nA batch job is a task that is performed by the Medusa backend asynchronusly. For example, the Import Product feature is implemented using batch jobs.\nThe methods in this class allow admins to manage the batch jobs and their state.\n\nRelated Guide: [How to import products](https://docs.medusajs.com/modules/products/admin/import-products)." + "text": ".\n\nA batch job is a task that is performed by the Medusa backend asynchronusly. For example, the Import Product feature is implemented using batch jobs.\nThe methods in this class allow admins to manage the batch jobs and their state.\n\nRelated Guide: [How to import products](https://docs.medusajs.com/v1/modules/products/admin/import-products)." } ], "modifierTags": [ @@ -3566,7 +3566,7 @@ "summary": [ { "kind": "text", - "text": "Mutations listed here are used to send requests to the [Admin Order API Routes related to claims](https://docs.medusajs.com/api/admin#orders).\n\nAll hooks listed require " + "text": "Mutations listed here are used to send requests to the [Admin Order API Routes related to claims](https://docs.medusajs.com/v1/api/admin#orders).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -3576,7 +3576,7 @@ }, { "kind": "text", - "text": ".\n\nA claim represents a return or replacement request of order items. It allows refunding the customer or replacing some or all of its\norder items with new items.\n\nRelated Guide: [How to manage claims](https://docs.medusajs.com/modules/orders/admin/manage-claims)." + "text": ".\n\nA claim represents a return or replacement request of order items. It allows refunding the customer or replacing some or all of its\norder items with new items.\n\nRelated Guide: [How to manage claims](https://docs.medusajs.com/v1/modules/orders/admin/manage-claims)." } ], "modifierTags": [ @@ -4827,7 +4827,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Product Collection API Routes](https://docs.medusajs.com/api/admin#product-collections).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Product Collection API Routes](https://docs.medusajs.com/v1/api/admin#product-collections).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -6873,7 +6873,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Currency API Routes](https://docs.medusajs.com/api/admin#currencies).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Currency API Routes](https://docs.medusajs.com/v1/api/admin#currencies).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -6883,7 +6883,7 @@ }, { "kind": "text", - "text": ".\n\nA store can use unlimited currencies, and each region must be associated with at least one currency.\nCurrencies are defined within the Medusa backend. The methods in this class allow admins to list and update currencies.\n\nRelated Guide: [How to manage currencies](https://docs.medusajs.com/modules/regions-and-currencies/admin/manage-currencies)." + "text": ".\n\nA store can use unlimited currencies, and each region must be associated with at least one currency.\nCurrencies are defined within the Medusa backend. The methods in this class allow admins to list and update currencies.\n\nRelated Guide: [How to manage currencies](https://docs.medusajs.com/v1/modules/regions-and-currencies/admin/manage-currencies)." } ], "modifierTags": [ @@ -9009,7 +9009,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Customer Group API Routes](https://docs.medusajs.com/api/admin#customer-groups).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Customer Group API Routes](https://docs.medusajs.com/v1/api/admin#customer-groups).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -9019,7 +9019,7 @@ }, { "kind": "text", - "text": ".\n\nCustomer Groups can be used to organize customers that share similar data or attributes into dedicated groups.\nThis can be useful for different purposes such as setting a different price for a specific customer group.\n\nRelated Guide: [How to manage customer groups](https://docs.medusajs.com/modules/customers/admin/manage-customer-groups)." + "text": ".\n\nCustomer Groups can be used to organize customers that share similar data or attributes into dedicated groups.\nThis can be useful for different purposes such as setting a different price for a specific customer group.\n\nRelated Guide: [How to manage customer groups](https://docs.medusajs.com/v1/modules/customers/admin/manage-customer-groups)." } ], "modifierTags": [ @@ -12079,7 +12079,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Customer API Routes](https://docs.medusajs.com/api/admin#customers).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Customer API Routes](https://docs.medusajs.com/v1/api/admin#customers).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -12089,7 +12089,7 @@ }, { "kind": "text", - "text": ".\n\nRelated Guide: [How to manage customers](https://docs.medusajs.com/modules/customers/admin/manage-customers)." + "text": ".\n\nRelated Guide: [How to manage customers](https://docs.medusajs.com/v1/modules/customers/admin/manage-customers)." } ], "modifierTags": [ @@ -13589,7 +13589,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Discount API Routes](https://docs.medusajs.com/api/admin#discounts).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Discount API Routes](https://docs.medusajs.com/v1/api/admin#discounts).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -13599,7 +13599,7 @@ }, { "kind": "text", - "text": ".\n\nAdmins can create discounts with conditions and rules, providing them with advanced settings for variety of cases.\nThe methods in this class can be used to manage discounts, their conditions, resources, and more.\n\nRelated Guide: [How to manage discounts](https://docs.medusajs.com/modules/discounts/admin/manage-discounts)." + "text": ".\n\nAdmins can create discounts with conditions and rules, providing them with advanced settings for variety of cases.\nThe methods in this class can be used to manage discounts, their conditions, resources, and more.\n\nRelated Guide: [How to manage discounts](https://docs.medusajs.com/v1/modules/discounts/admin/manage-discounts)." } ], "modifierTags": [ @@ -17993,7 +17993,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Draft Order API Routes](https://docs.medusajs.com/api/admin#draft-orders).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Draft Order API Routes](https://docs.medusajs.com/v1/api/admin#draft-orders).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -18003,7 +18003,7 @@ }, { "kind": "text", - "text": ".\n\nA draft order is an order created manually by the admin. It allows admins to create orders without direct involvement from the customer.\n\nRelated Guide: [How to manage draft orders](https://docs.medusajs.com/modules/orders/admin/manage-draft-orders)." + "text": ".\n\nA draft order is an order created manually by the admin. It allows admins to create orders without direct involvement from the customer.\n\nRelated Guide: [How to manage draft orders](https://docs.medusajs.com/v1/modules/orders/admin/manage-draft-orders)." } ], "modifierTags": [ @@ -20386,7 +20386,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Gift Card API Routes](https://docs.medusajs.com/api/admin#gift-cards).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Gift Card API Routes](https://docs.medusajs.com/v1/api/admin#gift-cards).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -20406,7 +20406,7 @@ }, { "kind": "text", - "text": ".\n\nRelated Guide: [How to manage gift cards](https://docs.medusajs.com/modules/gift-cards/admin/manage-gift-cards#manage-custom-gift-cards)." + "text": ".\n\nRelated Guide: [How to manage gift cards](https://docs.medusajs.com/v1/modules/gift-cards/admin/manage-gift-cards#manage-custom-gift-cards)." } ], "modifierTags": [ @@ -22078,7 +22078,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Inventory Item API Routes](https://docs.medusajs.com/api/admin#inventory-items). \nTo use these hooks, make sure to install the\n[@medusajs/inventory](https://docs.medusajs.com/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend.\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Inventory Item API Routes](https://docs.medusajs.com/v1/api/admin#inventory-items). \nTo use these hooks, make sure to install the\n[@medusajs/inventory](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend.\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -22088,7 +22088,7 @@ }, { "kind": "text", - "text": ".\n\nInventory items, provided by the [Inventory Module](https://docs.medusajs.com/modules/multiwarehouse/inventory-module), can be \nused to manage the inventory of saleable items in your store.\n\nRelated Guide: [How to manage inventory items](https://docs.medusajs.com/modules/multiwarehouse/admin/manage-inventory-items)." + "text": ".\n\nInventory items, provided by the [Inventory Module](https://docs.medusajs.com/v1/modules/multiwarehouse/inventory-module), can be \nused to manage the inventory of saleable items in your store.\n\nRelated Guide: [How to manage inventory items](https://docs.medusajs.com/v1/modules/multiwarehouse/admin/manage-inventory-items)." } ], "modifierTags": [ @@ -24914,7 +24914,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Invite API Routes](https://docs.medusajs.com/api/admin#invites).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Invite API Routes](https://docs.medusajs.com/v1/api/admin#invites).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -24924,7 +24924,7 @@ }, { "kind": "text", - "text": ".\n\nAn admin can invite new users to manage their team. This would allow new users to authenticate as admins and perform admin functionalities.\n\nRelated Guide: [How to manage invites](https://docs.medusajs.com/modules/users/admin/manage-invites)." + "text": ".\n\nAn admin can invite new users to manage their team. This would allow new users to authenticate as admins and perform admin functionalities.\n\nRelated Guide: [How to manage invites](https://docs.medusajs.com/v1/modules/users/admin/manage-invites)." } ], "modifierTags": [ @@ -25786,7 +25786,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Note API Routes](https://docs.medusajs.com/api/admin#notes).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Note API Routes](https://docs.medusajs.com/v1/api/admin#notes).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -27468,7 +27468,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Notification API Routes](https://docs.medusajs.com/api/admin#notifications).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Notification API Routes](https://docs.medusajs.com/v1/api/admin#notifications).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -28460,7 +28460,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Order Edit API Routes](https://docs.medusajs.com/api/admin#order-edits).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Order Edit API Routes](https://docs.medusajs.com/v1/api/admin#order-edits).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -28478,7 +28478,7 @@ }, { "kind": "text", - "text": ".\n\nRelated Guide: [How to edit an order](https://docs.medusajs.com/modules/orders/admin/edit-order)." + "text": ".\n\nRelated Guide: [How to edit an order](https://docs.medusajs.com/v1/modules/orders/admin/edit-order)." } ], "modifierTags": [ @@ -31501,7 +31501,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Order API Routes](https://docs.medusajs.com/api/admin#orders).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Order API Routes](https://docs.medusajs.com/v1/api/admin#orders).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -31511,7 +31511,7 @@ }, { "kind": "text", - "text": ".\n\nOrders are purchases made by customers, typically through a storefront using cart. Managing orders include managing fulfillment, payment, claims, reservations, and more.\n\nRelated Guide: [How to manage orders](https://docs.medusajs.com/modules/orders/admin/manage-orders)." + "text": ".\n\nOrders are purchases made by customers, typically through a storefront using cart. Managing orders include managing fulfillment, payment, claims, reservations, and more.\n\nRelated Guide: [How to manage orders](https://docs.medusajs.com/v1/modules/orders/admin/manage-orders)." } ], "modifierTags": [ @@ -34795,7 +34795,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Payment Collection API Routes](https://docs.medusajs.com/api/admin#payment-collections).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Payment Collection API Routes](https://docs.medusajs.com/v1/api/admin#payment-collections).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -35773,7 +35773,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Payment API Routes](https://docs.medusajs.com/api/admin#payments).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Payment API Routes](https://docs.medusajs.com/v1/api/admin#payments).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -36547,7 +36547,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Price List API Routes](https://docs.medusajs.com/api/admin#price-lists).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Price List API Routes](https://docs.medusajs.com/v1/api/admin#price-lists).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -36557,7 +36557,7 @@ }, { "kind": "text", - "text": ".\n\nA price list are special prices applied to products based on a set of conditions, such as customer group.\n\nRelated Guide: [How to manage price lists](https://docs.medusajs.com/modules/price-lists/admin/manage-price-lists)." + "text": ".\n\nA price list are special prices applied to products based on a set of conditions, such as customer group.\n\nRelated Guide: [How to manage price lists](https://docs.medusajs.com/v1/modules/price-lists/admin/manage-price-lists)." } ], "modifierTags": [ @@ -39994,7 +39994,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Product Category API Routes](https://docs.medusajs.com/api/admin#product-categories).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Product Category API Routes](https://docs.medusajs.com/v1/api/admin#product-categories).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -40004,7 +40004,7 @@ }, { "kind": "text", - "text": ".\n\nProducts can be categoriezed into categories. A product can be added into more than one category.\n\nRelated Guide: [How to manage product categories](https://docs.medusajs.com/modules/products/admin/manage-categories)." + "text": ".\n\nProducts can be categoriezed into categories. A product can be added into more than one category.\n\nRelated Guide: [How to manage product categories](https://docs.medusajs.com/v1/modules/products/admin/manage-categories)." } ], "blockTags": [ @@ -42081,7 +42081,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Product Tag API Routes](https://docs.medusajs.com/api/admin#product-tags).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Product Tag API Routes](https://docs.medusajs.com/v1/api/admin#product-tags).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -42878,7 +42878,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Product Type API Routes](https://docs.medusajs.com/api/admin#product-types).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Product Type API Routes](https://docs.medusajs.com/v1/api/admin#product-types).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -43675,7 +43675,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Product API Routes](https://docs.medusajs.com/api/admin#products).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Product API Routes](https://docs.medusajs.com/v1/api/admin#products).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -43685,7 +43685,7 @@ }, { "kind": "text", - "text": ".\n\nProducts are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/modules/gift-cards/admin/manage-gift-cards#manage-gift-card-product) in a store.\n\nRelated Guide: [How to manage products](https://docs.medusajs.com/modules/products/admin/manage-products)." + "text": ".\n\nProducts are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/v1/modules/gift-cards/admin/manage-gift-cards#manage-gift-card-product) in a store.\n\nRelated Guide: [How to manage products](https://docs.medusajs.com/v1/modules/products/admin/manage-products)." } ], "modifierTags": [ @@ -47153,7 +47153,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Publishable API Key API Routes](https://docs.medusajs.com/api/admin#publishable-api-keys).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Publishable API Key API Routes](https://docs.medusajs.com/v1/api/admin#publishable-api-keys).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -47163,7 +47163,7 @@ }, { "kind": "text", - "text": ".\n\nPublishable API Keys can be used to scope Store API calls with an API key, determining what resources are retrieved when querying the API.\nFor example, a publishable API key can be associated with one or more sales channels.\n\nWhen it is passed in the header of a request to the List Product store API Route,\nthe sales channels are inferred from the key and only products associated with those sales channels are retrieved.\n\nAdmins can manage publishable API keys and their associated resources. Currently, only Sales Channels are supported as a resource.\n\nRelated Guide: [How to manage publishable API keys](https://docs.medusajs.com/development/publishable-api-keys/admin/manage-publishable-api-keys)." + "text": ".\n\nPublishable API Keys can be used to scope Store API calls with an API key, determining what resources are retrieved when querying the API.\nFor example, a publishable API key can be associated with one or more sales channels.\n\nWhen it is passed in the header of a request to the List Product store API Route,\nthe sales channels are inferred from the key and only products associated with those sales channels are retrieved.\n\nAdmins can manage publishable API keys and their associated resources. Currently, only Sales Channels are supported as a resource.\n\nRelated Guide: [How to manage publishable API keys](https://docs.medusajs.com/v1/development/publishable-api-keys/admin/manage-publishable-api-keys)." } ], "modifierTags": [ @@ -49808,7 +49808,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Region API Routes](https://docs.medusajs.com/api/admin#regions).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Region API Routes](https://docs.medusajs.com/v1/api/admin#regions).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -49818,7 +49818,7 @@ }, { "kind": "text", - "text": ".\n\nRegions are different countries or geographical regions that the commerce store serves customers in.\nAdmins can manage these regions, their providers, and more.\n\nRelated Guide: [How to manage regions](https://docs.medusajs.com/modules/regions-and-currencies/admin/manage-regions)." + "text": ".\n\nRegions are different countries or geographical regions that the commerce store serves customers in.\nAdmins can manage these regions, their providers, and more.\n\nRelated Guide: [How to manage regions](https://docs.medusajs.com/v1/modules/regions-and-currencies/admin/manage-regions)." } ], "modifierTags": [ @@ -52962,7 +52962,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Reservation API Routes](https://docs.medusajs.com/api/admin#reservations).\nTo use these hooks, make sure to install the\n[@medusajs/inventory](https://docs.medusajs.com/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend.\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Reservation API Routes](https://docs.medusajs.com/v1/api/admin#reservations).\nTo use these hooks, make sure to install the\n[@medusajs/inventory](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend.\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -52972,7 +52972,7 @@ }, { "kind": "text", - "text": ".\n\nReservations, provided by the [Inventory Module](https://docs.medusajs.com/modules/multiwarehouse/inventory-module), \nare quantities of an item that are reserved, typically when an order is placed but not yet fulfilled.\nReservations can be associated with any resources, but commonly with line items of an order.\n\nRelated Guide: [How to manage item allocations in orders](https://docs.medusajs.com/modules/multiwarehouse/admin/manage-item-allocations-in-orders)." + "text": ".\n\nReservations, provided by the [Inventory Module](https://docs.medusajs.com/v1/modules/multiwarehouse/inventory-module), \nare quantities of an item that are reserved, typically when an order is placed but not yet fulfilled.\nReservations can be associated with any resources, but commonly with line items of an order.\n\nRelated Guide: [How to manage item allocations in orders](https://docs.medusajs.com/v1/modules/multiwarehouse/admin/manage-item-allocations-in-orders)." } ], "modifierTags": [ @@ -54660,7 +54660,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Return Reason API Routes](https://docs.medusajs.com/api/admin#return-reasons).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Return Reason API Routes](https://docs.medusajs.com/v1/api/admin#return-reasons).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -54670,7 +54670,7 @@ }, { "kind": "text", - "text": ".\n\nReturn reasons are key-value pairs that are used to specify why an order return is being created.\nAdmins can manage available return reasons, and they can be used by both admins and customers when creating a return.\n\nRelated Guide: [How to manage return reasons](https://docs.medusajs.com/modules/orders/admin/manage-returns#manage-return-reasons)." + "text": ".\n\nReturn reasons are key-value pairs that are used to specify why an order return is being created.\nAdmins can manage available return reasons, and they can be used by both admins and customers when creating a return.\n\nRelated Guide: [How to manage return reasons](https://docs.medusajs.com/v1/modules/orders/admin/manage-returns#manage-return-reasons)." } ], "modifierTags": [ @@ -55931,7 +55931,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Return API Routes](https://docs.medusajs.com/api/admin#returns).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Return API Routes](https://docs.medusajs.com/v1/api/admin#returns).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -55941,7 +55941,7 @@ }, { "kind": "text", - "text": ".\n\nA return can be created by a customer or an admin to return items in an order.\nAdmins can manage these returns and change their state.\n\nRelated Guide: [How to manage returns](https://docs.medusajs.com/modules/orders/admin/manage-returns)." + "text": ".\n\nA return can be created by a customer or an admin to return items in an order.\nAdmins can manage these returns and change their state.\n\nRelated Guide: [How to manage returns](https://docs.medusajs.com/v1/modules/orders/admin/manage-returns)." } ], "modifierTags": [ @@ -56970,7 +56970,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Sales Channel API Routes](https://docs.medusajs.com/api/admin#sales-channels).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Sales Channel API Routes](https://docs.medusajs.com/v1/api/admin#sales-channels).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -56980,7 +56980,7 @@ }, { "kind": "text", - "text": ".\n\nA sales channel indicates a channel where products can be sold in. For example, a webshop or a mobile app.\nAdmins can manage sales channels and the products available in them.\n\nRelated Guide: [How to manage sales channels](https://docs.medusajs.com/modules/sales-channels/admin/manage)." + "text": ".\n\nA sales channel indicates a channel where products can be sold in. For example, a webshop or a mobile app.\nAdmins can manage sales channels and the products available in them.\n\nRelated Guide: [How to manage sales channels](https://docs.medusajs.com/v1/modules/sales-channels/admin/manage)." } ], "modifierTags": [ @@ -57876,7 +57876,7 @@ "summary": [ { "kind": "text", - "text": "This hook associates a stock location with a sales channel. It requires the \n[@medusajs/stock-location](https://docs.medusajs.com/modules/multiwarehouse/install-modules#stock-location-module) module to be installed in\nyour Medusa backend." + "text": "This hook associates a stock location with a sales channel. It requires the \n[@medusajs/stock-location](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#stock-location-module) module to be installed in\nyour Medusa backend." } ], "blockTags": [ @@ -58137,7 +58137,7 @@ "summary": [ { "kind": "text", - "text": "This hook removes a stock location from a sales channel. This only removes the association between the stock \nlocation and the sales channel. It does not delete the stock location. This hook requires the \n[@medusajs/stock-location](https://docs.medusajs.com/modules/multiwarehouse/install-modules#stock-location-module) module to be installed in\nyour Medusa backend." + "text": "This hook removes a stock location from a sales channel. This only removes the association between the stock \nlocation and the sales channel. It does not delete the stock location. This hook requires the \n[@medusajs/stock-location](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#stock-location-module) module to be installed in\nyour Medusa backend." } ], "blockTags": [ @@ -59558,7 +59558,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Shipping Option API Routes](https://docs.medusajs.com/api/admin#shipping-options).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Shipping Option API Routes](https://docs.medusajs.com/v1/api/admin#shipping-options).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -59568,7 +59568,7 @@ }, { "kind": "text", - "text": ".\n\nA shipping option is used to define the available shipping methods during checkout or when creating a return.\nAdmins can create an unlimited number of shipping options, each associated with a shipping profile and fulfillment provider, among other resources.\n\nRelated Guide: [Shipping Option architecture](https://docs.medusajs.com/modules/carts-and-checkout/shipping#shipping-option)." + "text": ".\n\nA shipping option is used to define the available shipping methods during checkout or when creating a return.\nAdmins can create an unlimited number of shipping options, each associated with a shipping profile and fulfillment provider, among other resources.\n\nRelated Guide: [Shipping Option architecture](https://docs.medusajs.com/v1/modules/carts-and-checkout/shipping#shipping-option)." } ], "modifierTags": [ @@ -61186,7 +61186,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Shipping Profile API Routes](https://docs.medusajs.com/api/admin#shipping-profiles).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Shipping Profile API Routes](https://docs.medusajs.com/v1/api/admin#shipping-profiles).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -61196,7 +61196,7 @@ }, { "kind": "text", - "text": ".\n\nA shipping profile is used to group products that can be shipped in the same manner.\nThey are created by the admin and they're not associated with a fulfillment provider.\n\nRelated Guide: [Shipping Profile architecture](https://docs.medusajs.com/modules/carts-and-checkout/shipping#shipping-profile)." + "text": ".\n\nA shipping profile is used to group products that can be shipped in the same manner.\nThey are created by the admin and they're not associated with a fulfillment provider.\n\nRelated Guide: [Shipping Profile architecture](https://docs.medusajs.com/v1/modules/carts-and-checkout/shipping#shipping-profile)." } ], "modifierTags": [ @@ -62483,7 +62483,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Stock Location API Routes](https://docs.medusajs.com/api/admin#stock-locations).\nTo use these hooks, make sure to install the\n[@medusajs/stock-location](https://docs.medusajs.com/modules/multiwarehouse/install-modules#stock-location-module) module in your Medusa backend.\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Stock Location API Routes](https://docs.medusajs.com/v1/api/admin#stock-locations).\nTo use these hooks, make sure to install the\n[@medusajs/stock-location](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#stock-location-module) module in your Medusa backend.\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -62493,7 +62493,7 @@ }, { "kind": "text", - "text": ".\n\nA stock location, provided by the [Stock Location module](https://docs.medusajs.com/modules/multiwarehouse/stock-location-module), \nindicates a physical address that stock-kept items, such as physical products, can be stored in.\nAn admin can create and manage available stock locations.\n\nRelated Guide: [How to manage stock locations](https://docs.medusajs.com/modules/multiwarehouse/admin/manage-stock-locations)." + "text": ".\n\nA stock location, provided by the [Stock Location module](https://docs.medusajs.com/v1/modules/multiwarehouse/stock-location-module), \nindicates a physical address that stock-kept items, such as physical products, can be stored in.\nAn admin can create and manage available stock locations.\n\nRelated Guide: [How to manage stock locations](https://docs.medusajs.com/v1/modules/multiwarehouse/admin/manage-stock-locations)." } ], "modifierTags": [ @@ -64181,7 +64181,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Store API Routes](https://docs.medusajs.com/api/admin#store).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Store API Routes](https://docs.medusajs.com/v1/api/admin#store).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -64377,7 +64377,7 @@ "summary": [ { "kind": "text", - "text": "This hook adds a currency code to the available currencies in a store. This doesn't create new currencies, as currencies are defined within the Medusa backend. \nTo create a currency, you can [create a migration](https://docs.medusajs.com/development/entities/migrations/create) that inserts the currency into the database." + "text": "This hook adds a currency code to the available currencies in a store. This doesn't create new currencies, as currencies are defined within the Medusa backend. \nTo create a currency, you can [create a migration](https://docs.medusajs.com/v1/development/entities/migrations/create) that inserts the currency into the database." } ], "blockTags": [ @@ -65793,7 +65793,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Swap API Routes](https://docs.medusajs.com/api/admin#swaps).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Swap API Routes](https://docs.medusajs.com/v1/api/admin#swaps).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -65803,7 +65803,7 @@ }, { "kind": "text", - "text": ".\n\nA swap is created by a customer or an admin to exchange an item with a new one.\nCreating a swap implicitely includes creating a return for the item being exchanged.\n\nRelated Guide: [How to manage swaps](https://docs.medusajs.com/modules/orders/admin/manage-swaps)" + "text": ".\n\nA swap is created by a customer or an admin to exchange an item with a new one.\nCreating a swap implicitely includes creating a return for the item being exchanged.\n\nRelated Guide: [How to manage swaps](https://docs.medusajs.com/v1/modules/orders/admin/manage-swaps)" } ], "modifierTags": [ @@ -68152,7 +68152,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin Tax Rate API Routes](https://docs.medusajs.com/api/admin#tax-rates).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin Tax Rate API Routes](https://docs.medusajs.com/v1/api/admin#tax-rates).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -68162,7 +68162,7 @@ }, { "kind": "text", - "text": ".\n\nEach region has at least a default tax rate. Admins can create and manage additional tax rates that can be applied for certain conditions, such as for specific product types.\n\nRelated Guide: [How to manage tax rates](https://docs.medusajs.com/modules/taxes/admin/manage-tax-rates)." + "text": ".\n\nEach region has at least a default tax rate. Admins can create and manage additional tax rates that can be applied for certain conditions, such as for specific product types.\n\nRelated Guide: [How to manage tax rates](https://docs.medusajs.com/v1/modules/taxes/admin/manage-tax-rates)." } ], "modifierTags": [ @@ -70980,7 +70980,7 @@ "summary": [ { "kind": "text", - "text": "Mutations listed here are used to send requests to the [Admin Upload API Routes](https://docs.medusajs.com/api/admin#uploads).\n\nAll hooks listed require " + "text": "Mutations listed here are used to send requests to the [Admin Upload API Routes](https://docs.medusajs.com/v1/api/admin#uploads).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -70990,7 +70990,7 @@ }, { "kind": "text", - "text": ".\n\nThe methods in this class are used to upload any type of resources. For example, they can be used to upload CSV files that are used to import products into the store.\n\nRelated Guide: [How to upload CSV file when importing a product](https://docs.medusajs.com/modules/products/admin/import-products#1-upload-csv-file)." + "text": ".\n\nThe methods in this class are used to upload any type of resources. For example, they can be used to upload CSV files that are used to import products into the store.\n\nRelated Guide: [How to upload CSV file when importing a product](https://docs.medusajs.com/v1/modules/products/admin/import-products#1-upload-csv-file)." } ], "modifierTags": [ @@ -71676,7 +71676,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Admin User API Routes](https://docs.medusajs.com/api/admin#users).\n\nAll hooks listed require " + "text": "Queries and Mutations listed here are used to send requests to the [Admin User API Routes](https://docs.medusajs.com/v1/api/admin#users).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -71686,7 +71686,7 @@ }, { "kind": "text", - "text": ".\n\nA store can have more than one user, each having the same privileges. Admins can manage users, their passwords, and more.\n\nRelated Guide: [How to manage users](https://docs.medusajs.com/modules/users/admin/manage-users)." + "text": ".\n\nA store can have more than one user, each having the same privileges. Admins can manage users, their passwords, and more.\n\nRelated Guide: [How to manage users](https://docs.medusajs.com/v1/modules/users/admin/manage-users)." } ], "modifierTags": [ @@ -73808,7 +73808,7 @@ "summary": [ { "kind": "text", - "text": "Queries listed here are used to send requests to the [Admin Product Variant API Routes](https://docs.medusajs.com/api/admin#product-variants).\n\nAll hooks listed require " + "text": "Queries listed here are used to send requests to the [Admin Product Variant API Routes](https://docs.medusajs.com/v1/api/admin#product-variants).\n\nAll hooks listed require " }, { "kind": "inline-tag", @@ -73818,7 +73818,7 @@ }, { "kind": "text", - "text": ".\n\nProduct variants are the actual salable item in your store. Each variant is a combination of the different option values available on the product.\n\nRelated Guide: [How to manage product variants](https://docs.medusajs.com/modules/products/admin/manage-products#manage-product-variants)." + "text": ".\n\nProduct variants are the actual salable item in your store. Each variant is a combination of the different option values available on the product.\n\nRelated Guide: [How to manage product variants](https://docs.medusajs.com/v1/modules/products/admin/manage-products#manage-product-variants)." } ], "modifierTags": [ @@ -75454,7 +75454,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Store Cart API Routes](https://docs.medusajs.com/api/store#carts).\n\nA cart is a virtual shopping bag that customers can use to add items they want to purchase.\nA cart is then used to checkout and place an order.\n\nThe hooks listed have general examples on how to use them, but it's highly recommended to use the " + "text": "Queries and Mutations listed here are used to send requests to the [Store Cart API Routes](https://docs.medusajs.com/v1/api/store#carts).\n\nA cart is a virtual shopping bag that customers can use to add items they want to purchase.\nA cart is then used to checkout and place an order.\n\nThe hooks listed have general examples on how to use them, but it's highly recommended to use the " }, { "kind": "inline-tag", @@ -75474,7 +75474,7 @@ }, { "kind": "text", - "text": " hook to manage your cart and access the current cart across your application.\n\nRelated Guide: [How to implement cart functionality in your storefront](https://docs.medusajs.com/modules/carts-and-checkout/storefront/implement-cart)." + "text": " hook to manage your cart and access the current cart across your application.\n\nRelated Guide: [How to implement cart functionality in your storefront](https://docs.medusajs.com/v1/modules/carts-and-checkout/storefront/implement-cart)." } ], "modifierTags": [ @@ -77715,7 +77715,7 @@ "summary": [ { "kind": "text", - "text": "Queries listed here are used to send requests to the [Store Product Collection API Routes](https://docs.medusajs.com/api/store#product-collections).\n\nA product collection is used to organize products for different purposes such as marketing or discount purposes. For example, you can create a Summer Collection.\nUsing the methods in this class, you can list or retrieve a collection's details and products." + "text": "Queries listed here are used to send requests to the [Store Product Collection API Routes](https://docs.medusajs.com/v1/api/store#product-collections).\n\nA product collection is used to organize products for different purposes such as marketing or discount purposes. For example, you can create a Summer Collection.\nUsing the methods in this class, you can list or retrieve a collection's details and products." } ], "modifierTags": [ @@ -78873,7 +78873,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Store Customer API Routes](https://docs.medusajs.com/api/store#customers_postcustomers).\n\nA customer can register and manage their information such as addresses, orders, payment methods, and more.\n\nRelated Guide: [How to implement customer profiles in your storefront](https://docs.medusajs.com/modules/customers/storefront/implement-customer-profiles)." + "text": "Queries and Mutations listed here are used to send requests to the [Store Customer API Routes](https://docs.medusajs.com/v1/api/store#customers_postcustomers).\n\nA customer can register and manage their information such as addresses, orders, payment methods, and more.\n\nRelated Guide: [How to implement customer profiles in your storefront](https://docs.medusajs.com/v1/modules/customers/storefront/implement-customer-profiles)." } ], "modifierTags": [ @@ -79048,7 +79048,7 @@ "summary": [ { "kind": "text", - "text": "This hook updates the logged-in customer's details. This hook requires [customer authentication](https://docs.medusajs.com/medusa-react/overview#customer-authentication)." + "text": "This hook updates the logged-in customer's details. This hook requires [customer authentication](https://docs.medusajs.com/v1/medusa-react/overview#customer-authentication)." } ], "blockTags": [ @@ -79192,7 +79192,7 @@ "summary": [ { "kind": "text", - "text": "This hook retrieves the logged-in customer's details. It requires [customer authentication](https://docs.medusajs.com/medusa-react/overview#customer-authentication)." + "text": "This hook retrieves the logged-in customer's details. It requires [customer authentication](https://docs.medusajs.com/v1/medusa-react/overview#customer-authentication)." } ], "blockTags": [ @@ -79618,7 +79618,7 @@ }, { "kind": "text", - "text": ". The orders can also be paginated.\nThis hook requires [customer authentication](https://docs.medusajs.com/medusa-react/overview#customer-authentication)." + "text": ". The orders can also be paginated.\nThis hook requires [customer authentication](https://docs.medusajs.com/v1/medusa-react/overview#customer-authentication)." } ], "blockTags": [ @@ -80311,7 +80311,7 @@ "summary": [ { "kind": "text", - "text": "Queries listed here are used to send requests to the [Store Gift Card API Routes](https://docs.medusajs.com/api/store#gift-cards).\n\nCustomers can use gift cards during checkout to deduct the gift card's balance from the checkout total.\n\nRelated Guide: [How to use gift cards in a storefront](https://docs.medusajs.com/modules/gift-cards/storefront/use-gift-cards)." + "text": "Queries listed here are used to send requests to the [Store Gift Card API Routes](https://docs.medusajs.com/v1/api/store#gift-cards).\n\nCustomers can use gift cards during checkout to deduct the gift card's balance from the checkout total.\n\nRelated Guide: [How to use gift cards in a storefront](https://docs.medusajs.com/v1/modules/gift-cards/storefront/use-gift-cards)." } ], "modifierTags": [ @@ -80716,7 +80716,7 @@ "summary": [ { "kind": "text", - "text": "Mutations listed here are used to send requests to the Line Item API Routes part of the [Store Cart API Routes](https://docs.medusajs.com/api/store#carts).\n\nThe hooks listed have general examples on how to use them, but it's highly recommended to use the " + "text": "Mutations listed here are used to send requests to the Line Item API Routes part of the [Store Cart API Routes](https://docs.medusajs.com/v1/api/store#carts).\n\nThe hooks listed have general examples on how to use them, but it's highly recommended to use the " }, { "kind": "inline-tag", @@ -81337,7 +81337,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Store Order Edits API Routes](https://docs.medusajs.com/api/store#order-edits).\n\nOrder edits are changes made to items in an order such as adding, updating their quantity, or deleting them. Order edits are created by the admin.\nA customer can review order edit requests created by an admin and confirm or decline them.\n\nRelated Guide: [How to handle order edits in a storefront](https://docs.medusajs.com/modules/orders/storefront/handle-order-edits)." + "text": "Queries and Mutations listed here are used to send requests to the [Store Order Edits API Routes](https://docs.medusajs.com/v1/api/store#order-edits).\n\nOrder edits are changes made to items in an order such as adding, updating their quantity, or deleting them. Order edits are created by the admin.\nA customer can review order edit requests created by an admin and confirm or decline them.\n\nRelated Guide: [How to handle order edits in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/handle-order-edits)." } ], "modifierTags": [ @@ -82239,7 +82239,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Store Order API Routes](https://docs.medusajs.com/api/store#orders).\n\nOrders are purchases made by customers, typically through a storefront.\nOrders are placed and created using " + "text": "Queries and Mutations listed here are used to send requests to the [Store Order API Routes](https://docs.medusajs.com/v1/api/store#orders).\n\nOrders are purchases made by customers, typically through a storefront.\nOrders are placed and created using " }, { "kind": "inline-tag", @@ -82249,7 +82249,7 @@ }, { "kind": "text", - "text": " hooks. The listed hooks allow retrieving and claiming orders.\n\nRelated Guide: [How to retrieve order details in a storefront](https://docs.medusajs.com/modules/orders/storefront/retrieve-order-details)." + "text": " hooks. The listed hooks allow retrieving and claiming orders.\n\nRelated Guide: [How to retrieve order details in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/retrieve-order-details)." } ], "modifierTags": [ @@ -83872,7 +83872,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Store Payment Collection API Routes](https://docs.medusajs.com/api/store#payment-collections).\n\nA payment collection is useful for managing additional payments, such as for Order Edits, or installment payments." + "text": "Queries and Mutations listed here are used to send requests to the [Store Payment Collection API Routes](https://docs.medusajs.com/v1/api/store#payment-collections).\n\nA payment collection is useful for managing additional payments, such as for Order Edits, or installment payments." } ], "modifierTags": [ @@ -85210,7 +85210,7 @@ "summary": [ { "kind": "text", - "text": "Queries listed here are used to send requests to the [Store Product Category API Routes](https://docs.medusajs.com/api/store#product-categories_getproductcategories).\n\nProducts can be categoriezed into categories. A product can be associated more than one category.\n\nRelated Guide: [How to use product categories in a storefront](https://docs.medusajs.com/modules/products/storefront/use-categories)." + "text": "Queries listed here are used to send requests to the [Store Product Category API Routes](https://docs.medusajs.com/v1/api/store#product-categories_getproductcategories).\n\nProducts can be categoriezed into categories. A product can be associated more than one category.\n\nRelated Guide: [How to use product categories in a storefront](https://docs.medusajs.com/v1/modules/products/storefront/use-categories)." } ], "blockTags": [ @@ -86433,7 +86433,7 @@ "summary": [ { "kind": "text", - "text": "Queries listed here are used to send requests to the [Store Product Tag API Routes](https://docs.medusajs.com/api/store#product-tags).\n\nProduct tags are string values that can be used to filter products by.\nProducts can have more than one tag, and products can share tags." + "text": "Queries listed here are used to send requests to the [Store Product Tag API Routes](https://docs.medusajs.com/v1/api/store#product-tags).\n\nProduct tags are string values that can be used to filter products by.\nProducts can have more than one tag, and products can share tags." } ], "modifierTags": [ @@ -87220,7 +87220,7 @@ "summary": [ { "kind": "text", - "text": "Queries listed here are used to send requests to the [Store Product Type API Routes](https://docs.medusajs.com/api/store#product-types).\n\nProduct types are string values that can be used to filter products by.\nProducts can have more than one tag, and products can share types." + "text": "Queries listed here are used to send requests to the [Store Product Type API Routes](https://docs.medusajs.com/v1/api/store#product-types).\n\nProduct types are string values that can be used to filter products by.\nProducts can have more than one tag, and products can share types." } ], "modifierTags": [ @@ -88007,7 +88007,7 @@ "summary": [ { "kind": "text", - "text": "Queries listed here are used to send requests to the [Store Product API Routes](https://docs.medusajs.com/api/store#products).\n\nProducts are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/modules/gift-cards/storefront/use-gift-cards) in a store.\nUsing the methods in this class, you can filter products by categories, collections, sales channels, and more.\n\nRelated Guide: [How to show products in a storefront](https://docs.medusajs.com/modules/products/storefront/show-products)." + "text": "Queries listed here are used to send requests to the [Store Product API Routes](https://docs.medusajs.com/v1/api/store#products).\n\nProducts are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/v1/modules/gift-cards/storefront/use-gift-cards) in a store.\nUsing the methods in this class, you can filter products by categories, collections, sales channels, and more.\n\nRelated Guide: [How to show products in a storefront](https://docs.medusajs.com/v1/modules/products/storefront/show-products)." } ], "modifierTags": [ @@ -89267,7 +89267,7 @@ "summary": [ { "kind": "text", - "text": "Queries listed here are used to send requests to the [Store Region API Routes](https://docs.medusajs.com/api/store#regions_getregions).\n\nRegions are different countries or geographical regions that the commerce store serves customers in.\nCustomers can choose what region they're in, which can be used to change the prices shown based on the region and its currency.\n\nRelated Guide: [How to use regions in a storefront](https://docs.medusajs.com/modules/regions-and-currencies/storefront/use-regions)." + "text": "Queries listed here are used to send requests to the [Store Region API Routes](https://docs.medusajs.com/v1/api/store#regions_getregions).\n\nRegions are different countries or geographical regions that the commerce store serves customers in.\nCustomers can choose what region they're in, which can be used to change the prices shown based on the region and its currency.\n\nRelated Guide: [How to use regions in a storefront](https://docs.medusajs.com/v1/modules/regions-and-currencies/storefront/use-regions)." } ], "modifierTags": [ @@ -90308,7 +90308,7 @@ "summary": [ { "kind": "text", - "text": "Queries listed here are used to send requests to the [Store Return Reason API Routes](https://docs.medusajs.com/api/store#return-reasons).\n\nReturn reasons are key-value pairs that are used to specify why an order return is being created." + "text": "Queries listed here are used to send requests to the [Store Return Reason API Routes](https://docs.medusajs.com/v1/api/store#return-reasons).\n\nReturn reasons are key-value pairs that are used to specify why an order return is being created." } ], "modifierTags": [ @@ -91073,7 +91073,7 @@ "summary": [ { "kind": "text", - "text": "Mutations listed here are used to send requests to the [Store Return API Routes](https://docs.medusajs.com/api/store#returns).\n\nA return can be created by a customer to return items in an order.\n\nRelated Guide: [How to create a return in a storefront](https://docs.medusajs.com/modules/orders/storefront/create-return)." + "text": "Mutations listed here are used to send requests to the [Store Return API Routes](https://docs.medusajs.com/v1/api/store#returns).\n\nA return can be created by a customer to return items in an order.\n\nRelated Guide: [How to create a return in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/create-return)." } ], "modifierTags": [ @@ -91259,7 +91259,7 @@ "summary": [ { "kind": "text", - "text": "Queries listed here are used to send requests to the [Store Shipping Option API Routes](https://docs.medusajs.com/api/store#shipping-options).\n\nA shipping option is used to define the available shipping methods during checkout or when creating a return.\n\nRelated Guide: [Shipping Option architecture](https://docs.medusajs.com/modules/carts-and-checkout/shipping#shipping-option)." + "text": "Queries listed here are used to send requests to the [Store Shipping Option API Routes](https://docs.medusajs.com/v1/api/store#shipping-options).\n\nA shipping option is used to define the available shipping methods during checkout or when creating a return.\n\nRelated Guide: [Shipping Option architecture](https://docs.medusajs.com/v1/modules/carts-and-checkout/shipping#shipping-option)." } ], "modifierTags": [ @@ -92105,7 +92105,7 @@ "summary": [ { "kind": "text", - "text": "Queries and Mutations listed here are used to send requests to the [Store Swap API Routes](https://docs.medusajs.com/api/store#swaps).\n\nA swap is created by a customer or an admin to exchange an item with a new one.\nCreating a swap implicitely includes creating a return for the item being exchanged.\n\nRelated Guide: [How to create a swap in a storefront](https://docs.medusajs.com/modules/orders/storefront/create-swap)" + "text": "Queries and Mutations listed here are used to send requests to the [Store Swap API Routes](https://docs.medusajs.com/v1/api/store#swaps).\n\nA swap is created by a customer or an admin to exchange an item with a new one.\nCreating a swap implicitely includes creating a return for the item being exchanged.\n\nRelated Guide: [How to create a swap in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/create-swap)" } ], "modifierTags": [ @@ -93612,7 +93612,7 @@ "summary": [ { "kind": "text", - "text": "API key used for authenticating admin requests. Follow [this guide](https://docs.medusajs.com/api/admin#authentication) to learn how to create an API key for an admin user." + "text": "API key used for authenticating admin requests. Follow [this guide](https://docs.medusajs.com/v1/api/admin#authentication) to learn how to create an API key for an admin user." } ] }, @@ -93633,7 +93633,7 @@ "summary": [ { "kind": "text", - "text": "Publishable API key used for storefront requests. You can create a publishable API key either using the \n[admin APIs](https://docs.medusajs.com/development/publishable-api-keys/admin/manage-publishable-api-keys) or the \n[Medusa admin](https://docs.medusajs.com/user-guide/settings/publishable-api-keys#create-publishable-api-key)." + "text": "Publishable API key used for storefront requests. You can create a publishable API key either using the \n[admin APIs](https://docs.medusajs.com/v1/development/publishable-api-keys/admin/manage-publishable-api-keys) or the \n[Medusa admin](https://docs.medusajs.com/v1/user-guide/settings/publishable-api-keys#create-publishable-api-key)." } ] }, diff --git a/docs-util/typedoc-json-output/notification.json b/docs-util/typedoc-json-output/notification.json index 0af73fcd17d9e..7bbe1bacfac17 100644 --- a/docs-util/typedoc-json-output/notification.json +++ b/docs-util/typedoc-json-output/notification.json @@ -138,7 +138,7 @@ "summary": [ { "kind": "text", - "text": "## Overview\n\n:::note[Prerequisites]\n\nBefore creating a Notification Provider, [install an event bus module](https://docs.medusajs.com/development/events/modules/redis).\n\n:::\n\nA Notification Provider is a provider that handles sending and resending of notifications.\n\nTo create a Notification Provider, create a TypeScript or JavaScript file in " + "text": "## Overview\n\n:::note[Prerequisites]\n\nBefore creating a Notification Provider, [install an event bus module](https://docs.medusajs.com/v1/development/events/modules/redis).\n\n:::\n\nA Notification Provider is a provider that handles sending and resending of notifications.\n\nTo create a Notification Provider, create a TypeScript or JavaScript file in " }, { "kind": "code", @@ -218,7 +218,7 @@ }, { "kind": "text", - "text": " property in the notification provider\nclass is used when the Notification Provider is created in the database.\n\nThe value of this property is also used later when you want to subscribe the Notification Provider to events in a [Loader](https://docs.medusajs.com/development/loaders/overview).\n\nFor example:\n\n" + "text": " property in the notification provider\nclass is used when the Notification Provider is created in the database.\n\nThe value of this property is also used later when you want to subscribe the Notification Provider to events in a [Loader](https://docs.medusajs.com/v1/development/loaders/overview).\n\nFor example:\n\n" }, { "kind": "code", @@ -256,7 +256,7 @@ }, { "kind": "text", - "text": "](https://docs.medusajs.com/references/services/classes/services.NotificationService)\nin the Medusa backend executes this method of your Notification Provider.\n\nIn this method, you can perform the necessary operation to send the Notification. For example, you can send an email to the customer when they place an order." + "text": "](https://docs.medusajs.com/v1/references/services/classes/services.NotificationService)\nin the Medusa backend executes this method of your Notification Provider.\n\nIn this method, you can perform the necessary operation to send the Notification. For example, you can send an email to the customer when they place an order." } ], "blockTags": [ @@ -342,7 +342,7 @@ }, { "kind": "text", - "text": " which is the ID of the order that was placed. You can refer to the\n[Events reference](https://docs.medusajs.com/development/events/events-list) for information on all events and their payloads." + "text": " which is the ID of the order that was placed. You can refer to the\n[Events reference](https://docs.medusajs.com/v1/development/events/events-list) for information on all events and their payloads." } ] }, @@ -377,7 +377,7 @@ }, { "kind": "text", - "text": "](https://docs.medusajs.com/references/services/classes/services.NotificationService#registerattachmentgenerator) method,\nyou have access to it here. You can use the " + "text": "](https://docs.medusajs.com/v1/references/services/classes/services.NotificationService#registerattachmentgenerator) method,\nyou have access to it here. You can use the " }, { "kind": "code", @@ -440,7 +440,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to resend notifications, which is typically triggered by the\n[Resend Notification API Route](https://docs.medusajs.com/api/admin#notifications_postnotificationsnotificationresend)." + "text": "This method is used to resend notifications, which is typically triggered by the\n[Resend Notification API Route](https://docs.medusajs.com/v1/api/admin#notifications_postnotificationsnotificationresend)." } ], "blockTags": [ @@ -475,7 +475,7 @@ "summary": [ { "kind": "text", - "text": "The original [Notification record](https://docs.medusajs.com/references/entities/classes/Notification) that was created after you sent the\nnotification with " + "text": "The original [Notification record](https://docs.medusajs.com/v1/references/entities/classes/Notification) that was created after you sent the\nnotification with " }, { "kind": "code", @@ -545,7 +545,7 @@ "summary": [ { "kind": "text", - "text": "The new configuration used to resend the notification. The [Resend Notification API Route](https://docs.medusajs.com/api/admin#notifications_postnotificationsnotificationresend),\nallows you to pass a new " + "text": "The new configuration used to resend the notification. The [Resend Notification API Route](https://docs.medusajs.com/v1/api/admin#notifications_postnotificationsnotificationresend),\nallows you to pass a new " }, { "kind": "code", @@ -588,7 +588,7 @@ }, { "kind": "text", - "text": "](https://docs.medusajs.com/references/services/classes/services.NotificationService#registerattachmentgenerator) method,\nyou have access to it here. You can use the " + "text": "](https://docs.medusajs.com/v1/references/services/classes/services.NotificationService#registerattachmentgenerator) method,\nyou have access to it here. You can use the " }, { "kind": "code", @@ -1605,7 +1605,7 @@ }, { "kind": "text", - "text": "](https://docs.medusajs.com/references/services/classes/services.NotificationService)\nin the Medusa backend executes this method of your Notification Provider.\n\nIn this method, you can perform the necessary operation to send the Notification. For example, you can send an email to the customer when they place an order." + "text": "](https://docs.medusajs.com/v1/references/services/classes/services.NotificationService)\nin the Medusa backend executes this method of your Notification Provider.\n\nIn this method, you can perform the necessary operation to send the Notification. For example, you can send an email to the customer when they place an order." } ], "blockTags": [ @@ -1691,7 +1691,7 @@ }, { "kind": "text", - "text": " which is the ID of the order that was placed. You can refer to the\n[Events reference](https://docs.medusajs.com/development/events/events-list) for information on all events and their payloads." + "text": " which is the ID of the order that was placed. You can refer to the\n[Events reference](https://docs.medusajs.com/v1/development/events/events-list) for information on all events and their payloads." } ] }, @@ -1726,7 +1726,7 @@ }, { "kind": "text", - "text": "](https://docs.medusajs.com/references/services/classes/services.NotificationService#registerattachmentgenerator) method,\nyou have access to it here. You can use the " + "text": "](https://docs.medusajs.com/v1/references/services/classes/services.NotificationService#registerattachmentgenerator) method,\nyou have access to it here. You can use the " }, { "kind": "code", @@ -1801,7 +1801,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to resend notifications, which is typically triggered by the\n[Resend Notification API Route](https://docs.medusajs.com/api/admin#notifications_postnotificationsnotificationresend)." + "text": "This method is used to resend notifications, which is typically triggered by the\n[Resend Notification API Route](https://docs.medusajs.com/v1/api/admin#notifications_postnotificationsnotificationresend)." } ], "blockTags": [ @@ -1836,7 +1836,7 @@ "summary": [ { "kind": "text", - "text": "The original [Notification record](https://docs.medusajs.com/references/entities/classes/Notification) that was created after you sent the\nnotification with " + "text": "The original [Notification record](https://docs.medusajs.com/v1/references/entities/classes/Notification) that was created after you sent the\nnotification with " }, { "kind": "code", @@ -1906,7 +1906,7 @@ "summary": [ { "kind": "text", - "text": "The new configuration used to resend the notification. The [Resend Notification API Route](https://docs.medusajs.com/api/admin#notifications_postnotificationsnotificationresend),\nallows you to pass a new " + "text": "The new configuration used to resend the notification. The [Resend Notification API Route](https://docs.medusajs.com/v1/api/admin#notifications_postnotificationsnotificationresend),\nallows you to pass a new " }, { "kind": "code", @@ -1949,7 +1949,7 @@ }, { "kind": "text", - "text": "](https://docs.medusajs.com/references/services/classes/services.NotificationService#registerattachmentgenerator) method,\nyou have access to it here. You can use the " + "text": "](https://docs.medusajs.com/v1/references/services/classes/services.NotificationService#registerattachmentgenerator) method,\nyou have access to it here. You can use the " }, { "kind": "code", diff --git a/docs-util/typedoc-json-output/payment.json b/docs-util/typedoc-json-output/payment.json index d9ae09b25ab49..80c28cd41c876 100644 --- a/docs-util/typedoc-json-output/payment.json +++ b/docs-util/typedoc-json-output/payment.json @@ -593,7 +593,7 @@ }, { "kind": "text", - "text": " property in the payment processor service is used when the payment processor is added to the database.\n\nThe value of this property is also used to reference the payment processor throughout Medusa.\nFor example, it is used to [add a payment processor](https://docs.medusajs.com/api/admin#regions_postregionsregionpaymentproviders) to a region.\n\n" + "text": " property in the payment processor service is used when the payment processor is added to the database.\n\nThe value of this property is also used to reference the payment processor throughout Medusa.\nFor example, it is used to [add a payment processor](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionpaymentproviders) to a region.\n\n" }, { "kind": "code", @@ -655,7 +655,7 @@ "summary": [ { "kind": "text", - "text": "This method is called either if a region has only one payment provider enabled or when [a Payment Session is selected](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsession),\nwhich occurs when the customer selects their preferred payment method during checkout.\n\nIt is used to allow you to make any necessary calls to the third-party provider to initialize the payment. For example, in Stripe this method is used to create a Payment Intent for the customer." + "text": "This method is called either if a region has only one payment provider enabled or when [a Payment Session is selected](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsession),\nwhich occurs when the customer selects their preferred payment method during checkout.\n\nIt is used to allow you to make any necessary calls to the third-party provider to initialize the payment. For example, in Stripe this method is used to create a Payment Intent for the customer." } ], "blockTags": [ @@ -750,7 +750,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to update the payment session when the payment amount changes. It's called whenever the cart or any of its related data is updated.\nFor example, when a [line item is added to the cart](https://docs.medusajs.com/api/store#carts_postcartscartlineitems) or when a\n[shipping method is selected](https://docs.medusajs.com/api/store#carts_postcartscartshippingmethod)." + "text": "This method is used to update the payment session when the payment amount changes. It's called whenever the cart or any of its related data is updated.\nFor example, when a [line item is added to the cart](https://docs.medusajs.com/v1/api/store#carts_postcartscartlineitems) or when a\n[shipping method is selected](https://docs.medusajs.com/v1/api/store#carts_postcartscartshippingmethod)." } ], "blockTags": [ @@ -849,7 +849,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to refund an order’s payment. This is typically triggered manually by the store operator from the admin. The refund amount might be the total order amount or part of it.\n\nThis method is also used for refunding payments of a swap or a claim of an order, or when a request is sent to the [Refund Payment API Route](https://docs.medusajs.com/api/admin#payments_postpaymentspaymentrefunds).\n\nYou can utilize this method to interact with the third-party provider and perform any actions necessary to refund the payment." + "text": "This method is used to refund an order’s payment. This is typically triggered manually by the store operator from the admin. The refund amount might be the total order amount or part of it.\n\nThis method is also used for refunding payments of a swap or a claim of an order, or when a request is sent to the [Refund Payment API Route](https://docs.medusajs.com/v1/api/admin#payments_postpaymentspaymentrefunds).\n\nYou can utilize this method to interact with the third-party provider and perform any actions necessary to refund the payment." } ], "blockTags": [ @@ -1005,7 +1005,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to authorize payment using the Payment Session of an order. This is called when the\n[cart is completed](https://docs.medusajs.com/api/store#carts_postcartscartcomplete) and before the order is created.\n\nThis method is also used for authorizing payments of a swap of an order and when authorizing sessions in a payment collection.\nYou can interact with a third-party provider and perform any actions necessary to authorize the payment.\n\nThe payment authorization might require additional action from the customer before it is declared authorized. Once that additional action is performed,\nthe " + "text": "This method is used to authorize payment using the Payment Session of an order. This is called when the\n[cart is completed](https://docs.medusajs.com/v1/api/store#carts_postcartscartcomplete) and before the order is created.\n\nThis method is also used for authorizing payments of a swap of an order and when authorizing sessions in a payment collection.\nYou can interact with a third-party provider and perform any actions necessary to authorize the payment.\n\nThe payment authorization might require additional action from the customer before it is declared authorized. Once that additional action is performed,\nthe " }, { "kind": "code", @@ -1141,7 +1141,7 @@ }, { "kind": "text", - "text": ": The [Idempotency Key](https://docs.medusajs.com/modules/carts-and-checkout/payment#idempotency-key) that is associated with the current cart. It is useful when retrying payments, retrying checkout at a failed point, or for payments that require additional actions from the customer.\n- " + "text": ": The [Idempotency Key](https://docs.medusajs.com/v1/modules/carts-and-checkout/payment#idempotency-key) that is associated with the current cart. It is useful when retrying payments, retrying checkout at a failed point, or for payments that require additional actions from the customer.\n- " }, { "kind": "code", @@ -1319,7 +1319,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to capture the payment amount of an order. This is typically triggered manually by the store operator from the admin.\n\nThis method is also used for capturing payments of a swap of an order, or when a request is sent to the [Capture Payment API Route](https://docs.medusajs.com/api/admin#payments_postpaymentspaymentcapture).\n\nYou can utilize this method to interact with the third-party provider and perform any actions necessary to capture the payment." + "text": "This method is used to capture the payment amount of an order. This is typically triggered manually by the store operator from the admin.\n\nThis method is also used for capturing payments of a swap of an order, or when a request is sent to the [Capture Payment API Route](https://docs.medusajs.com/v1/api/admin#payments_postpaymentspaymentcapture).\n\nYou can utilize this method to interact with the third-party provider and perform any actions necessary to capture the payment." } ], "blockTags": [ @@ -1456,7 +1456,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to perform any actions necessary before a Payment Session is deleted. The Payment Session is deleted in one of the following cases:\n\n1. When a request is sent to [delete the Payment Session](https://docs.medusajs.com/api/store#carts_deletecartscartpaymentsessionssession).\n2. When the [Payment Session is refreshed](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsessionssession). The Payment Session is deleted so that a newer one is initialized instead.\n3. When the Payment Processor is no longer available. This generally happens when the store operator removes it from the available Payment Processor in the admin.\n4. When the region of the store is changed based on the cart information and the Payment Processor is not available in the new region." + "text": "This method is used to perform any actions necessary before a Payment Session is deleted. The Payment Session is deleted in one of the following cases:\n\n1. When a request is sent to [delete the Payment Session](https://docs.medusajs.com/v1/api/store#carts_deletecartscartpaymentsessionssession).\n2. When the [Payment Session is refreshed](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsessionssession). The Payment Session is deleted so that a newer one is initialized instead.\n3. When the Payment Processor is no longer available. This generally happens when the store operator removes it from the available Payment Processor in the admin.\n4. When the region of the store is changed based on the cart information and the Payment Processor is not available in the new region." } ], "blockTags": [ @@ -1983,7 +1983,7 @@ }, { "kind": "text", - "text": " field of a payment session. It's called when a request is sent to the\n[Update Payment Session API Route](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsessionupdate), or when the " + "text": " field of a payment session. It's called when a request is sent to the\n[Update Payment Session API Route](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsessionupdate), or when the " }, { "kind": "code", @@ -2256,7 +2256,7 @@ }, { "kind": "text", - "text": " property in the payment processor service is used when the payment processor is added to the database.\n\nThe value of this property is also used to reference the payment processor throughout Medusa.\nFor example, it is used to [add a payment processor](https://docs.medusajs.com/api/admin#regions_postregionsregionpaymentproviders) to a region.\n\n" + "text": " property in the payment processor service is used when the payment processor is added to the database.\n\nThe value of this property is also used to reference the payment processor throughout Medusa.\nFor example, it is used to [add a payment processor](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionpaymentproviders) to a region.\n\n" }, { "kind": "code", @@ -2328,7 +2328,7 @@ }, { "kind": "text", - "text": " of your Payment Processor to have access to different services in Medusa through [dependency injection](https://docs.medusajs.com/development/fundamentals/dependency-injection).\n\nYou can also use the constructor to initialize your integration with the third-party provider. For example, if you use a client to connect to the third-party provider’s APIs,\nyou can initialize it in the constructor and use it in other methods in the service.\n\nAdditionally, if you’re creating your Payment Processor as an external plugin to be installed on any Medusa backend and you want to access the options added for the plugin,\nyou can access it in the constructor. The options are passed as a second parameter." + "text": " of your Payment Processor to have access to different services in Medusa through [dependency injection](https://docs.medusajs.com/v1/development/fundamentals/dependency-injection).\n\nYou can also use the constructor to initialize your integration with the third-party provider. For example, if you use a client to connect to the third-party provider’s APIs,\nyou can initialize it in the constructor and use it in other methods in the service.\n\nAdditionally, if you’re creating your Payment Processor as an external plugin to be installed on any Medusa backend and you want to access the options added for the plugin,\nyou can access it in the constructor. The options are passed as a second parameter." } ], "blockTags": [ @@ -2362,7 +2362,7 @@ }, { "kind": "text", - "text": " that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/development/fundamentals/dependency-injection)" + "text": " that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/v1/development/fundamentals/dependency-injection)" } ] }, @@ -2453,7 +2453,7 @@ }, { "kind": "text", - "text": " that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/development/fundamentals/dependency-injection)" + "text": " that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/v1/development/fundamentals/dependency-injection)" } ] }, @@ -2560,7 +2560,7 @@ }, { "kind": "text", - "text": " property in the payment processor service is used when the payment processor is added to the database.\n\nThe value of this property is also used to reference the payment processor throughout Medusa.\nFor example, it is used to [add a payment processor](https://docs.medusajs.com/api/admin#regions_postregionsregionpaymentproviders) to a region.\n\n" + "text": " property in the payment processor service is used when the payment processor is added to the database.\n\nThe value of this property is also used to reference the payment processor throughout Medusa.\nFor example, it is used to [add a payment processor](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionpaymentproviders) to a region.\n\n" }, { "kind": "code", @@ -2592,7 +2592,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to capture the payment amount of an order. This is typically triggered manually by the store operator from the admin.\n\nThis method is also used for capturing payments of a swap of an order, or when a request is sent to the [Capture Payment API Route](https://docs.medusajs.com/api/admin#payments_postpaymentspaymentcapture).\n\nYou can utilize this method to interact with the third-party provider and perform any actions necessary to capture the payment." + "text": "This method is used to capture the payment amount of an order. This is typically triggered manually by the store operator from the admin.\n\nThis method is also used for capturing payments of a swap of an order, or when a request is sent to the [Capture Payment API Route](https://docs.medusajs.com/v1/api/admin#payments_postpaymentspaymentcapture).\n\nYou can utilize this method to interact with the third-party provider and perform any actions necessary to capture the payment." } ], "blockTags": [ @@ -2741,7 +2741,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to authorize payment using the Payment Session of an order. This is called when the\n[cart is completed](https://docs.medusajs.com/api/store#carts_postcartscartcomplete) and before the order is created.\n\nThis method is also used for authorizing payments of a swap of an order and when authorizing sessions in a payment collection.\nYou can interact with a third-party provider and perform any actions necessary to authorize the payment.\n\nThe payment authorization might require additional action from the customer before it is declared authorized. Once that additional action is performed,\nthe " + "text": "This method is used to authorize payment using the Payment Session of an order. This is called when the\n[cart is completed](https://docs.medusajs.com/v1/api/store#carts_postcartscartcomplete) and before the order is created.\n\nThis method is also used for authorizing payments of a swap of an order and when authorizing sessions in a payment collection.\nYou can interact with a third-party provider and perform any actions necessary to authorize the payment.\n\nThe payment authorization might require additional action from the customer before it is declared authorized. Once that additional action is performed,\nthe " }, { "kind": "code", @@ -2877,7 +2877,7 @@ }, { "kind": "text", - "text": ": The [Idempotency Key](https://docs.medusajs.com/modules/carts-and-checkout/payment#idempotency-key) that is associated with the current cart. It is useful when retrying payments, retrying checkout at a failed point, or for payments that require additional actions from the customer.\n- " + "text": ": The [Idempotency Key](https://docs.medusajs.com/v1/modules/carts-and-checkout/payment#idempotency-key) that is associated with the current cart. It is useful when retrying payments, retrying checkout at a failed point, or for payments that require additional actions from the customer.\n- " }, { "kind": "code", @@ -3176,7 +3176,7 @@ "summary": [ { "kind": "text", - "text": "This method is called either if a region has only one payment provider enabled or when [a Payment Session is selected](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsession),\nwhich occurs when the customer selects their preferred payment method during checkout.\n\nIt is used to allow you to make any necessary calls to the third-party provider to initialize the payment. For example, in Stripe this method is used to create a Payment Intent for the customer." + "text": "This method is called either if a region has only one payment provider enabled or when [a Payment Session is selected](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsession),\nwhich occurs when the customer selects their preferred payment method during checkout.\n\nIt is used to allow you to make any necessary calls to the third-party provider to initialize the payment. For example, in Stripe this method is used to create a Payment Intent for the customer." } ], "blockTags": [ @@ -3283,7 +3283,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to perform any actions necessary before a Payment Session is deleted. The Payment Session is deleted in one of the following cases:\n\n1. When a request is sent to [delete the Payment Session](https://docs.medusajs.com/api/store#carts_deletecartscartpaymentsessionssession).\n2. When the [Payment Session is refreshed](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsessionssession). The Payment Session is deleted so that a newer one is initialized instead.\n3. When the Payment Processor is no longer available. This generally happens when the store operator removes it from the available Payment Processor in the admin.\n4. When the region of the store is changed based on the cart information and the Payment Processor is not available in the new region." + "text": "This method is used to perform any actions necessary before a Payment Session is deleted. The Payment Session is deleted in one of the following cases:\n\n1. When a request is sent to [delete the Payment Session](https://docs.medusajs.com/v1/api/store#carts_deletecartscartpaymentsessionssession).\n2. When the [Payment Session is refreshed](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsessionssession). The Payment Session is deleted so that a newer one is initialized instead.\n3. When the Payment Processor is no longer available. This generally happens when the store operator removes it from the available Payment Processor in the admin.\n4. When the region of the store is changed based on the cart information and the Payment Processor is not available in the new region." } ], "blockTags": [ @@ -3552,7 +3552,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to refund an order’s payment. This is typically triggered manually by the store operator from the admin. The refund amount might be the total order amount or part of it.\n\nThis method is also used for refunding payments of a swap or a claim of an order, or when a request is sent to the [Refund Payment API Route](https://docs.medusajs.com/api/admin#payments_postpaymentspaymentrefunds).\n\nYou can utilize this method to interact with the third-party provider and perform any actions necessary to refund the payment." + "text": "This method is used to refund an order’s payment. This is typically triggered manually by the store operator from the admin. The refund amount might be the total order amount or part of it.\n\nThis method is also used for refunding payments of a swap or a claim of an order, or when a request is sent to the [Refund Payment API Route](https://docs.medusajs.com/v1/api/admin#payments_postpaymentspaymentrefunds).\n\nYou can utilize this method to interact with the third-party provider and perform any actions necessary to refund the payment." } ], "blockTags": [ @@ -3869,7 +3869,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to update the payment session when the payment amount changes. It's called whenever the cart or any of its related data is updated.\nFor example, when a [line item is added to the cart](https://docs.medusajs.com/api/store#carts_postcartscartlineitems) or when a\n[shipping method is selected](https://docs.medusajs.com/api/store#carts_postcartscartshippingmethod)." + "text": "This method is used to update the payment session when the payment amount changes. It's called whenever the cart or any of its related data is updated.\nFor example, when a [line item is added to the cart](https://docs.medusajs.com/v1/api/store#carts_postcartscartlineitems) or when a\n[shipping method is selected](https://docs.medusajs.com/v1/api/store#carts_postcartscartshippingmethod)." } ], "blockTags": [ @@ -3988,7 +3988,7 @@ }, { "kind": "text", - "text": " field of a payment session. It's called when a request is sent to the\n[Update Payment Session API Route](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsessionupdate), or when the " + "text": " field of a payment session. It's called when a request is sent to the\n[Update Payment Session API Route](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsessionupdate), or when the " }, { "kind": "code", diff --git a/docs-util/typedoc-json-output/price-selection.json b/docs-util/typedoc-json-output/price-selection.json index d6311431ead2b..fc0aa1d392313 100644 --- a/docs-util/typedoc-json-output/price-selection.json +++ b/docs-util/typedoc-json-output/price-selection.json @@ -269,7 +269,7 @@ }, { "kind": "text", - "text": "\n\n:::note\n\nLearn more about the cache service in [this documentation](https://docs.medusajs.com/development/cache/overview).\n\n:::" + "text": "\n\n:::note\n\nLearn more about the cache service in [this documentation](https://docs.medusajs.com/v1/development/cache/overview).\n\n:::" } ] } @@ -854,7 +854,7 @@ }, { "kind": "text", - "text": "\n\n:::note\n\nLearn more about the cache service in [this documentation](https://docs.medusajs.com/development/cache/overview).\n\n:::" + "text": "\n\n:::note\n\nLearn more about the cache service in [this documentation](https://docs.medusajs.com/v1/development/cache/overview).\n\n:::" } ] } @@ -1273,7 +1273,7 @@ "summary": [ { "kind": "text", - "text": "The tax rates to be applied. This is only used for\n[Tax-Inclusive Pricing](https://docs.medusajs.com/modules/taxes/inclusive-pricing)." + "text": "The tax rates to be applied. This is only used for\n[Tax-Inclusive Pricing](https://docs.medusajs.com/v1/modules/taxes/inclusive-pricing)." } ] }, @@ -1496,7 +1496,7 @@ "summary": [ { "kind": "text", - "text": "Whether the original price includes taxes or not. This is only available\nfor [Tax-Inclusive Pricing](https://docs.medusajs.com/modules/taxes/inclusive-pricing)." + "text": "Whether the original price includes taxes or not. This is only available\nfor [Tax-Inclusive Pricing](https://docs.medusajs.com/v1/modules/taxes/inclusive-pricing)." } ] }, @@ -1554,7 +1554,7 @@ "summary": [ { "kind": "text", - "text": "Whether the calculated price includes taxes or not.\nThis is only available for [Tax-Inclusive Pricing](https://docs.medusajs.com/modules/taxes/inclusive-pricing)." + "text": "Whether the calculated price includes taxes or not.\nThis is only available for [Tax-Inclusive Pricing](https://docs.medusajs.com/v1/modules/taxes/inclusive-pricing)." } ] }, diff --git a/docs-util/typedoc-json-output/pricing.json b/docs-util/typedoc-json-output/pricing.json index 591ac9d6e0f2c..380e0d31a8815 100644 --- a/docs-util/typedoc-json-output/pricing.json +++ b/docs-util/typedoc-json-output/pricing.json @@ -6,7 +6,7 @@ "flags": {}, "children": [ { - "id": 329, + "id": 293, "name": "FindConfig", "variant": "declaration", "kind": 256, @@ -29,7 +29,7 @@ }, "children": [ { - "id": 330, + "id": 294, "name": "select", "variant": "declaration", "kind": 1024, @@ -58,7 +58,7 @@ "operator": "keyof", "target": { "type": "reference", - "target": 339, + "target": 304, "name": "Entity", "package": "@medusajs/types", "qualifiedName": "FindConfig.Entity", @@ -70,7 +70,7 @@ } }, { - "id": 331, + "id": 295, "name": "skip", "variant": "declaration", "kind": 1024, @@ -100,7 +100,7 @@ } }, { - "id": 332, + "id": 296, "name": "take", "variant": "declaration", "kind": 1024, @@ -130,7 +130,7 @@ } }, { - "id": 333, + "id": 297, "name": "relations", "variant": "declaration", "kind": 1024, @@ -154,7 +154,7 @@ } }, { - "id": 334, + "id": 298, "name": "order", "variant": "declaration", "kind": 1024, @@ -188,20 +188,20 @@ "type": { "type": "reflection", "declaration": { - "id": 335, + "id": 299, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 336, + "id": 300, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 337, + "id": 301, "name": "K", "variant": "param", "kind": 32768, @@ -230,7 +230,7 @@ } }, { - "id": 338, + "id": 302, "name": "withDeleted", "variant": "declaration", "kind": 1024, @@ -257,24 +257,61 @@ "type": "intrinsic", "name": "boolean" } + }, + { + "id": 303, + "name": "filters", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enable ORM specific defined filters" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } } ], "groups": [ { "title": "Properties", "children": [ - 330, - 331, - 332, - 333, - 334, - 338 + 294, + 295, + 296, + 297, + 298, + 302, + 303 ] } ], "typeParameters": [ { - "id": 339, + "id": 304, "name": "Entity", "variant": "typeParam", "kind": 131072, @@ -283,7 +320,7 @@ ] }, { - "id": 625, + "id": 556, "name": "BaseFilterable", "variant": "declaration", "kind": 256, @@ -298,7 +335,7 @@ }, "children": [ { - "id": 626, + "id": 557, "name": "$and", "variant": "declaration", "kind": 1024, @@ -320,11 +357,11 @@ "types": [ { "type": "reference", - "target": 625, + "target": 556, "typeArguments": [ { "type": "reference", - "target": 628, + "target": 559, "name": "T", "package": "@medusajs/types", "qualifiedName": "BaseFilterable.T", @@ -336,7 +373,7 @@ }, { "type": "reference", - "target": 628, + "target": 559, "name": "T", "package": "@medusajs/types", "qualifiedName": "BaseFilterable.T", @@ -347,7 +384,7 @@ } }, { - "id": 627, + "id": 558, "name": "$or", "variant": "declaration", "kind": 1024, @@ -369,11 +406,11 @@ "types": [ { "type": "reference", - "target": 625, + "target": 556, "typeArguments": [ { "type": "reference", - "target": 628, + "target": 559, "name": "T", "package": "@medusajs/types", "qualifiedName": "BaseFilterable.T", @@ -385,7 +422,7 @@ }, { "type": "reference", - "target": 628, + "target": 559, "name": "T", "package": "@medusajs/types", "qualifiedName": "BaseFilterable.T", @@ -400,14 +437,14 @@ { "title": "Properties", "children": [ - 626, - 627 + 557, + 558 ] } ], "typeParameters": [ { - "id": 628, + "id": 559, "name": "T", "variant": "typeParam", "kind": 131072, @@ -417,53 +454,43 @@ "extendedBy": [ { "type": "reference", - "target": 344, + "target": 310, "name": "FilterablePriceSetProps" }, { "type": "reference", - "target": 378, - "name": "FilterableMoneyAmountProps" - }, - { - "type": "reference", - "target": 407, - "name": "FilterableCurrencyProps" - }, - { - "type": "reference", - "target": 426, + "target": 350, "name": "FilterableRuleTypeProps" }, { "type": "reference", - "target": 447, - "name": "FilterablePriceSetMoneyAmountRulesProps" + "target": 366, + "name": "FilterablePriceProps" }, { "type": "reference", - "target": 454, - "name": "FilterablePriceSetMoneyAmountProps" - }, - { - "type": "reference", - "target": 493, + "target": 406, "name": "FilterablePriceRuleProps" }, { "type": "reference", - "target": 529, + "target": 439, "name": "FilterablePriceListProps" }, { "type": "reference", - "target": 562, + "target": 473, "name": "FilterablePriceListRuleProps" + }, + { + "type": "reference", + "target": 560, + "name": "FilterableMoneyAmountProps" } ] }, { - "id": 396, + "id": 387, "name": "SoftDeleteReturn", "variant": "declaration", "kind": 256, @@ -478,7 +505,7 @@ }, "children": [ { - "id": 397, + "id": 388, "name": "returnLinkableKeys", "variant": "declaration", "kind": 1024, @@ -497,7 +524,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 398, + "target": 389, "name": "TReturnableLinkableKeys", "package": "@medusajs/types", "refersToTypeParameter": true @@ -509,13 +536,13 @@ { "title": "Properties", "children": [ - 397 + 388 ] } ], "typeParameters": [ { - "id": 398, + "id": 389, "name": "TReturnableLinkableKeys", "variant": "typeParam", "kind": 131072, @@ -528,7 +555,7 @@ ] }, { - "id": 399, + "id": 390, "name": "RestoreReturn", "variant": "declaration", "kind": 256, @@ -543,7 +570,7 @@ }, "children": [ { - "id": 400, + "id": 391, "name": "returnLinkableKeys", "variant": "declaration", "kind": 1024, @@ -562,7 +589,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 401, + "target": 392, "name": "TReturnableLinkableKeys", "package": "@medusajs/types", "refersToTypeParameter": true @@ -574,13 +601,13 @@ { "title": "Properties", "children": [ - 400 + 391 ] } ], "typeParameters": [ { - "id": 401, + "id": 392, "name": "TReturnableLinkableKeys", "variant": "typeParam", "kind": 131072, @@ -593,395 +620,1051 @@ ] }, { - "id": 701, - "name": "MessageBody", + "id": 674, + "name": "Query", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 710, + "id": 675, "name": "T", "variant": "typeParam", "kind": 131072, - "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" - } + "flags": {} } ], "type": { - "type": "reflection", - "declaration": { - "id": 702, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 703, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 704, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 705, - "name": "service", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 706, - "name": "action", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 707, - "name": "object", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 708, - "name": "eventGroupId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 705, - 706, - 707, - 708 - ] - } - ] - } - } - }, - { - "id": 709, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 675, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "object" + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 675, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reference", + "target": 707, + "name": "Scalar", + "package": "@medusajs/types" + }, + "trueType": { + "type": "intrinsic", + "name": "never" + }, + "falseType": { + "type": "reference", + "target": 711, + "typeArguments": [ + { "type": "reference", - "target": 710, + "target": 675, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true } - } - ], - "groups": [ + ], + "name": "FilterQuery", + "package": "@medusajs/types" + } + }, + "falseType": { + "type": "reference", + "target": 717, + "typeArguments": [ { - "title": "Properties", - "children": [ - 703, - 709 - ] + "type": "reference", + "target": 675, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } - ] + ], + "name": "FilterValue", + "package": "@medusajs/types" } } }, { - "id": 675, - "name": "Message", + "id": 676, + "name": "ExpandScalar", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 680, + "id": 677, "name": "T", "variant": "typeParam", "kind": 131072, - "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" - } + "flags": {} } ], "type": { - "type": "reflection", - "declaration": { - "id": 676, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 677, - "name": "eventName", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 677, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true }, - { - "id": 678, - "name": "body", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 701, - "typeArguments": [ - { - "type": "reference", - "target": 680, - "name": "T", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "MessageBody", - "package": "@medusajs/types" - } + "extendsType": { + "type": "intrinsic", + "name": "string" }, - { - "id": 679, - "name": "options", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { + "trueType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "RegExp" + }, + "name": "RegExp", + "package": "typescript" + } + ] + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 677, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" + "qualifiedName": "Date" }, - "typeArguments": [ + "name": "Date", + "package": "typescript" + }, + "trueType": { + "type": "union", + "types": [ { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" }, { "type": "intrinsic", - "name": "unknown" + "name": "string" } - ], - "name": "Record", - "package": "typescript" + ] + }, + "falseType": { + "type": "reference", + "target": 677, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } } - ], - "groups": [ - { - "title": "Properties", + } + ] + } + }, + { + "id": 707, + "name": "Scalar", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "intrinsic", + "name": "symbol" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "RegExp" + }, + "name": "RegExp", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/@types/node/buffer.d.ts", + "qualifiedName": "__global.Buffer" + }, + "name": "Buffer", + "package": "@types/node", + "qualifiedName": "__global.Buffer" + }, + { + "type": "reflection", + "declaration": { + "id": 708, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, "children": [ - 677, - 678, - 679 + { + "id": 709, + "name": "toHexString", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 710, + "name": "toHexString", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 709 + ] + } ] } - ] + } + ] + } + }, + { + "id": 732, + "name": "ReadonlyPrimary", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 733, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 733, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Readonly" + }, + "typeArguments": [ + { + "type": "reference", + "target": 733, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Readonly", + "package": "typescript" + }, + "falseType": { + "type": "reference", + "target": 733, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } } }, { - "id": 691, - "name": "JoinerRelationship", + "id": 722, + "name": "Primary", "variant": "declaration", "kind": 2097152, "flags": {}, + "typeParameters": [ + { + "id": 731, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], "type": { - "type": "reflection", - "declaration": { - "id": 692, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ + "type": "conditional", + "checkType": { + "type": "reference", + "target": 731, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 723, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 724, + "name": "[PrimaryKeyType]", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "inferred", + "name": "PK" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 724 + ] + } + ] + } + }, + "trueType": { + "type": "reference", + "target": 732, + "typeArguments": [ { - "id": 693, - "name": "alias", + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "PK" + }, + "name": "PK", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ReadonlyPrimary", + "package": "@medusajs/types" + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 731, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 725, + "name": "__type", "variant": "declaration", - "kind": 1024, + "kind": 65536, "flags": {}, - "type": { + "children": [ + { + "id": 726, + "name": "_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "inferred", + "name": "PK" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 726 + ] + } + ] + } + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 732, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "PK" + }, + "name": "PK", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ReadonlyPrimary", + "package": "@medusajs/types" + }, + { "type": "intrinsic", "name": "string" } + ] + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 731, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true }, - { - "id": 694, - "name": "foreignKey", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "extendsType": { + "type": "reflection", + "declaration": { + "id": 727, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 728, + "name": "uuid", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "inferred", + "name": "PK" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 728 + ] + } + ] } }, + "trueType": { + "type": "reference", + "target": 732, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "PK" + }, + "name": "PK", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ReadonlyPrimary", + "package": "@medusajs/types" + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 731, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 729, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 730, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "inferred", + "name": "PK" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 730 + ] + } + ] + } + }, + "trueType": { + "type": "reference", + "target": 732, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "PK" + }, + "name": "PK", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ReadonlyPrimary", + "package": "@medusajs/types" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + } + } + }, + { + "id": 575, + "name": "OperatorMap", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 596, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 576, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "id": 695, - "name": "primaryKey", + "id": 577, + "name": "$and", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 674, + "typeArguments": [ + { + "type": "reference", + "target": 596, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Query", + "package": "@medusajs/types" + } } }, { - "id": 696, - "name": "serviceName", + "id": 578, + "name": "$or", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 674, + "typeArguments": [ + { + "type": "reference", + "target": 596, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Query", + "package": "@medusajs/types" + } } }, { - "id": 697, - "name": "isInternalService", + "id": 579, + "name": "$eq", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "comment": { - "summary": [ + "type": { + "type": "union", + "types": [ { - "kind": "text", - "text": "If true, the relationship is an internal service from the medusa core\nTODO: Remove when there are no more \"internal\" services" + "type": "reference", + "target": 676, + "typeArguments": [ + { + "type": "reference", + "target": 596, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 676, + "typeArguments": [ + { + "type": "reference", + "target": 596, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } } ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" } }, { - "id": 698, - "name": "inverse", + "id": 580, + "name": "$ne", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "comment": { - "summary": [ + "type": { + "type": "reference", + "target": 676, + "typeArguments": [ { - "kind": "text", - "text": "In an inverted relationship the foreign key is on the other service and the primary key is on the current service" + "type": "reference", + "target": 596, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } - ] + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } + }, + { + "id": 581, + "name": "$in", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "array", + "elementType": { + "type": "reference", + "target": 676, + "typeArguments": [ + { + "type": "reference", + "target": 596, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } } }, { - "id": 699, - "name": "isList", + "id": 582, + "name": "$nin", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Force the relationship to return a list" - } - ] - }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "array", + "elementType": { + "type": "reference", + "target": 676, + "typeArguments": [ + { + "type": "reference", + "target": 596, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } } }, { - "id": 700, - "name": "args", + "id": 583, + "name": "$not", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "comment": { - "summary": [ + "type": { + "type": "reference", + "target": 674, + "typeArguments": [ { - "kind": "text", - "text": "Extra arguments to pass to the remoteFetchData callback" + "type": "reference", + "target": 596, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } - ] + ], + "name": "Query", + "package": "@medusajs/types" + } + }, + { + "id": 584, + "name": "$gt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, "type": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, + "target": 676, "typeArguments": [ { - "type": "intrinsic", - "name": "string" - }, + "type": "reference", + "target": 596, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } + }, + { + "id": 585, + "name": "$gte", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 676, + "typeArguments": [ { - "type": "intrinsic", - "name": "any" + "type": "reference", + "target": 596, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } ], - "name": "Record", - "package": "typescript" + "name": "ExpandScalar", + "package": "@medusajs/types" + } + }, + { + "id": 586, + "name": "$lt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 676, + "typeArguments": [ + { + "type": "reference", + "target": 596, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } + }, + { + "id": 587, + "name": "$lte", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 676, + "typeArguments": [ + { + "type": "reference", + "target": 596, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } + }, + { + "id": 588, + "name": "$like", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 589, + "name": "$re", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 590, + "name": "$ilike", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 591, + "name": "$fulltext", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 592, + "name": "$overlap", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 593, + "name": "$contains", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 594, + "name": "$contained", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 595, + "name": "$exists", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" } } ], @@ -989,14 +1672,25 @@ { "title": "Properties", "children": [ - 693, - 694, - 695, - 696, - 697, - 698, - 699, - 700 + 577, + 578, + 579, + 580, + 581, + 582, + 583, + 584, + 585, + 586, + 587, + 588, + 589, + 590, + 591, + 592, + 593, + 594, + 595 ] } ] @@ -1004,1635 +1698,1101 @@ } }, { - "id": 688, - "name": "JoinerServiceConfigAlias", + "id": 720, + "name": "FilterValue2", "variant": "declaration", - "kind": 256, + "kind": 2097152, "flags": {}, - "children": [ - { - "id": 689, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, + "typeParameters": [ { - "id": 690, - "name": "args", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "id": 721, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 721, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true }, - "comment": { - "summary": [ + { + "type": "reference", + "target": 676, + "typeArguments": [ { - "kind": "text", - "text": "Extra arguments to pass to the remoteFetchData callback" + "type": "reference", + "target": 721, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } - ] + ], + "name": "ExpandScalar", + "package": "@medusajs/types" }, - "type": { + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, + "target": 722, "typeArguments": [ { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" + "type": "reference", + "target": 721, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } ], - "name": "Record", - "package": "typescript" + "name": "Primary", + "package": "@medusajs/types" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 689, - 690 - ] - } - ] + ] + } }, { - "id": 657, - "name": "JoinerServiceConfig", + "id": 717, + "name": "FilterValue", "variant": "declaration", - "kind": 256, + "kind": 2097152, "flags": {}, - "children": [ - { - "id": 658, - "name": "serviceName", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, + "typeParameters": [ { - "id": 659, - "name": "alias", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Property name to use as entrypoint to the service" - } - ] - }, - "type": { - "type": "union", - "types": [ + "id": 718, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 575, + "typeArguments": [ { "type": "reference", - "target": 688, - "name": "JoinerServiceConfigAlias", + "target": 720, + "typeArguments": [ + { + "type": "reference", + "target": 718, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "FilterValue2", "package": "@medusajs/types" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "target": 688, - "name": "JoinerServiceConfigAlias", - "package": "@medusajs/types" - } - } - ] - } - }, - { - "id": 660, - "name": "fieldAlias", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "alias for deeper nested relationships (e.g. { 'price': 'prices.calculated_price_set.amount' })" } - ] + ], + "name": "OperatorMap", + "package": "@medusajs/types" }, - "type": { + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, + "target": 720, "typeArguments": [ { - "type": "intrinsic", - "name": "string" - }, - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 661, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 662, - "name": "path", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 663, - "name": "forwardArgumentsOnPath", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 662, - 663 - ] - } - ] - } - } - ] + "type": "reference", + "target": 718, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 664, - "name": "primaryKeys", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 665, - "name": "relationships", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "name": "FilterValue2", + "package": "@medusajs/types" }, - "type": { + { "type": "array", "elementType": { "type": "reference", - "target": 691, - "name": "JoinerRelationship", + "target": 720, + "typeArguments": [ + { + "type": "reference", + "target": 718, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "FilterValue2", "package": "@medusajs/types" } + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 719, + "name": "PrevLimit", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "tuple", + "elements": [ + { + "type": "intrinsic", + "name": "never" + }, + { + "type": "literal", + "value": 1 + }, + { + "type": "literal", + "value": 2 + }, + { + "type": "literal", + "value": 3 + } + ] + } + }, + { + "id": 711, + "name": "FilterQuery", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 715, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" } }, { - "id": 666, - "name": "extends", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "id": 716, + "name": "Prev", + "variant": "typeParam", + "kind": 131072, + "flags": {}, "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 667, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 668, - "name": "serviceName", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 669, - "name": "relationship", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 691, - "name": "JoinerRelationship", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 668, - 669 - ] - } - ] - } - } - } - }, - { - "id": 670, - "name": "args", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Extra arguments to pass to the remoteFetchData callback" - } - ] + "type": "intrinsic", + "name": "number" }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Record", - "package": "typescript" + "default": { + "type": "literal", + "value": 3 } } ], - "groups": [ - { - "title": "Properties", - "children": [ - 658, - 659, - 660, - 664, - 665, - 666, - 670 - ] - } - ] - }, - { - "id": 589, - "name": "ModuleJoinerConfig", - "variant": "declaration", - "kind": 2097152, - "flags": {}, "type": { - "type": "intersection", - "types": [ - { - "type": "reference", + "type": "conditional", + "checkType": { + "type": "reference", + "target": 716, + "name": "Prev", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "never" + }, + "trueType": { + "type": "intrinsic", + "name": "never" + }, + "falseType": { + "type": "mapped", + "parameter": "Key", + "parameterType": { + "type": "typeOperator", + "operator": "keyof", "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { + "type": "reference", + "target": 715, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + "templateType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { "type": "reference", - "target": 657, - "name": "JoinerServiceConfig", - "package": "@medusajs/types" + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "serviceName" - }, - { - "type": "literal", - "value": "primaryKeys" - }, - { - "type": "literal", - "value": "relationships" - }, - { - "type": "literal", - "value": "extends" - } - ] + "objectType": { + "type": "reference", + "target": 715, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "reflection", - "declaration": { - "id": 590, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ + }, + "extendsType": { + "type": "union", + "types": [ { - "id": 591, - "name": "schema", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "intrinsic", + "name": "symbol" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "GraphQL schema for the all module's available entities and fields" - } - ] + "name": "Date", + "package": "typescript" + } + ] + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true }, - "type": { - "type": "intrinsic", - "name": "string" + "objectType": { + "type": "reference", + "target": 715, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } }, { - "id": 592, - "name": "relationships", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "type": "reference", + "target": 575, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 715, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 671, - "name": "ModuleJoinerRelationship", - "package": "@medusajs/types" + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 715, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + "extendsType": { + "type": "inferred", + "name": "U" + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 712, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "indexSignature": { + "id": 713, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "parameters": [ + { + "id": 714, + "name": "x", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "inferred", + "name": "V" + } } } }, - { - "id": 593, - "name": "extends", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 594, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 595, - "name": "serviceName", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 596, - "name": "fieldAlias", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 597, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 598, - "name": "path", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 599, - "name": "forwardArgumentsOnPath", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 598, - 599 - ] - } - ] - } - } - ] - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 600, - "name": "relationship", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "reference", - "target": 671, - "name": "ModuleJoinerRelationship", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 595, - 596, - 600 - ] - } - ] - } - } - } - }, - { - "id": 601, - "name": "serviceName", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 602, - "name": "primaryKeys", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 603, - "name": "isLink", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If the module is a link module" - } - ] + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "V" + }, + "name": "V", + "package": "@medusajs/types", + "refersToTypeParameter": true }, - "type": { + "extendsType": { "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 604, - "name": "linkableKeys", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Keys that can be used to link to other modules. e.g { product_id: \"Product\" } \"Product\" being the entity it refers to" - } - ] + "name": "object" }, - "type": { + "trueType": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, + "target": 711, "typeArguments": [ { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "V" + }, + "name": "V", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Partial", + "package": "typescript" }, { - "type": "intrinsic", - "name": "string" + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 716, + "name": "Prev", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 719, + "name": "PrevLimit", + "package": "@medusajs/types" + } } ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 605, - "name": "isReadOnlyLink", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If true it expands a RemoteQuery property but doesn't create a pivot table" - } - ] + "name": "FilterQuery", + "package": "@medusajs/types" }, - "type": { + "falseType": { "type": "intrinsic", - "name": "boolean" + "name": "never" } }, - { - "id": 606, - "name": "databaseConfig", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 607, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 608, - "name": "tableName", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Name of the pivot table. If not provided it is auto generated" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 609, - "name": "idPrefix", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Prefix for the id column. If not provided it is \"link\"" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 610, - "name": "extraFields", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 611, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 612, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "date" - }, - { - "type": "literal", - "value": "time" - }, - { - "type": "literal", - "value": "datetime" - }, - { - "type": "literal", - "value": "bigint" - }, - { - "type": "literal", - "value": "blob" - }, - { - "type": "literal", - "value": "uint8array" - }, - { - "type": "literal", - "value": "array" - }, - { - "type": "literal", - "value": "enumArray" - }, - { - "type": "literal", - "value": "enum" - }, - { - "type": "literal", - "value": "json" - }, - { - "type": "literal", - "value": "integer" - }, - { - "type": "literal", - "value": "smallint" - }, - { - "type": "literal", - "value": "tinyint" - }, - { - "type": "literal", - "value": "mediumint" - }, - { - "type": "literal", - "value": "float" - }, - { - "type": "literal", - "value": "double" - }, - { - "type": "literal", - "value": "boolean" - }, - { - "type": "literal", - "value": "decimal" - }, - { - "type": "literal", - "value": "string" - }, - { - "type": "literal", - "value": "uuid" - }, - { - "type": "literal", - "value": "text" - } - ] - } - }, - { - "id": 613, - "name": "defaultValue", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 614, - "name": "nullable", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 615, - "name": "options", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Mikro-orm options for the column" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 612, - 613, - 614, - 615 - ] - } - ] - } - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 608, - 609, - 610 - ] - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 591, - 592, - 593, - 601, - 602, - 603, - 604, - 605, - 606 - ] + "falseType": { + "type": "intrinsic", + "name": "never" } - ] + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } } - } - ] + }, + "optionalModifier": "+" + } } }, { - "id": 671, - "name": "ModuleJoinerRelationship", + "id": 697, + "name": "MessageBody", "variant": "declaration", "kind": 2097152, "flags": {}, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": 691, - "name": "JoinerRelationship", - "package": "@medusajs/types" - }, - { - "type": "reflection", - "declaration": { - "id": 672, - "name": "__type", + "typeParameters": [ + { + "id": 706, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 698, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 699, + "name": "metadata", "variant": "declaration", - "kind": 65536, + "kind": 1024, "flags": {}, - "children": [ - { - "id": 673, - "name": "isInternalService", + "type": { + "type": "reflection", + "declaration": { + "id": 700, + "name": "__type", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If true, the relationship is an internal service from the medusa core TODO: Remove when there are no more \"internal\" services" + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 701, + "name": "service", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 674, - "name": "deleteCascade", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If true, the link joiner will cascade deleting the relationship" + }, + { + "id": 702, + "name": "action", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 673, - 674 + }, + { + "id": 703, + "name": "object", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 704, + "name": "eventGroupId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 701, + 702, + 703, + 704 + ] + } ] } + } + }, + { + "id": 705, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 706, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 699, + 705 ] } - } - ] - } - }, - { - "id": 285, - "name": "IModuleService", - "variant": "declaration", - "kind": 256, - "flags": {}, - "extendedBy": [ - { - "type": "reference", - "target": 1, - "name": "IPricingModuleService" + ] } - ] + } }, { - "id": 402, - "name": "CurrencyDTO", + "id": 644, + "name": "Message", "variant": "declaration", - "kind": 256, + "kind": 2097152, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A currency's data." - } - ] - }, - "children": [ + "typeParameters": [ { - "id": 403, - "name": "code", - "variant": "declaration", - "kind": 1024, + "id": 649, + "name": "T", + "variant": "typeParam", + "kind": 131072, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The code of the currency." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 404, - "name": "symbol", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The symbol of the currency." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 405, - "name": "symbol_native", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The symbol of the currecy in its native form. This is typically the symbol used when displaying a price." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 406, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The name of the currency." - } - ] - }, - "type": { + "default": { "type": "intrinsic", - "name": "string" + "name": "unknown" } } ], - "groups": [ - { - "title": "Properties", - "children": [ - 403, - 404, - 405, - 406 - ] - } - ] - }, - { - "id": 411, - "name": "CreateCurrencyDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A currency to create." - } - ] - }, - "children": [ - { - "id": 412, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The code of the currency." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 413, - "name": "symbol", + "type": { + "type": "reflection", + "declaration": { + "id": 645, + "name": "__type", "variant": "declaration", - "kind": 1024, + "kind": 65536, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The symbol of the currency." + "children": [ + { + "id": 646, + "name": "eventName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 414, - "name": "symbol_native", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The symbol of the currecy in its native form. This is typically the symbol used when displaying a price." + }, + { + "id": 647, + "name": "body", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 697, + "typeArguments": [ + { + "type": "reference", + "target": 649, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "MessageBody", + "package": "@medusajs/types" } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 415, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The name of the currency." + }, + { + "id": 648, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 412, - 413, - 414, - 415 + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 646, + 647, + 648 + ] + } ] } - ] + } }, { - "id": 416, - "name": "UpdateCurrencyDTO", + "id": 656, + "name": "MessageFormat", "variant": "declaration", - "kind": 256, + "kind": 2097152, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The data to update in a currency. The " - }, - { - "kind": "code", - "text": "`code`" - }, - { - "kind": "text", - "text": " is used to identify which currency to update." - } - ] - }, - "children": [ + "typeParameters": [ { - "id": 417, - "name": "code", - "variant": "declaration", - "kind": 1024, + "id": 666, + "name": "T", + "variant": "typeParam", + "kind": 131072, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The code of the currency to update." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 418, - "name": "symbol", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The symbol of the currency." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 419, - "name": "symbol_native", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The symbol of the currecy in its native form. This is typically the symbol used when displaying a price." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 420, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The name of the currency." - } - ] - }, - "type": { + "default": { "type": "intrinsic", - "name": "string" + "name": "unknown" } } ], - "groups": [ - { - "title": "Properties", - "children": [ - 417, - 418, - 419, - 420 - ] - } - ] - }, - { - "id": 407, - "name": "FilterableCurrencyProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filters to apply on a currency." - } - ] - }, - "children": [ - { - "id": 409, - "name": "$and", + "type": { + "type": "reflection", + "declaration": { + "id": 657, + "name": "__type", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 658, + "name": "eventName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 407, - "name": "FilterableCurrencyProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 625, - "typeArguments": [ + }, + { + "id": 659, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 660, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "type": "reference", - "target": 407, - "name": "FilterableCurrencyProps", - "package": "@medusajs/types" + "id": 661, + "name": "service", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 662, + "name": "action", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 663, + "name": "object", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 664, + "name": "eventGroupId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "groups": [ + { + "title": "Properties", + "children": [ + 661, + 662, + 663, + 664 + ] + } + ] } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 626, - "name": "BaseFilterable.$and" - } - }, - { - "id": 410, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 407, - "name": "FilterableCurrencyProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 625, - "typeArguments": [ - { + }, + { + "id": 665, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 666, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { "type": "reference", - "target": 407, - "name": "FilterableCurrencyProps", - "package": "@medusajs/types" + "target": 666, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 627, - "name": "BaseFilterable.$or" - } - }, - { - "id": 408, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The codes to filter the currencies by." + } + ] } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 409, - 410, - 408 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 625, - "typeArguments": [ + ], + "groups": [ { - "type": "reference", - "target": 407, - "name": "FilterableCurrencyProps", - "package": "@medusajs/types" + "title": "Properties", + "children": [ + 658, + 659, + 665 + ] } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" + ] } - ] + } }, { - "id": 367, - "name": "MoneyAmountDTO", + "id": 687, + "name": "JoinerRelationship", "variant": "declaration", - "kind": 256, + "kind": 2097152, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A money amount's data. A money amount represents a price." - } - ] - }, - "children": [ - { - "id": 368, - "name": "id", + "type": { + "type": "reflection", + "declaration": { + "id": 688, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 689, + "name": "alias", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 690, + "name": "foreignKey", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 691, + "name": "primaryKey", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 692, + "name": "serviceName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 693, + "name": "isInternalService", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the relationship is an internal service from the medusa core\nTODO: Remove when there are no more \"internal\" services" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 694, + "name": "inverse", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "In an inverted relationship the foreign key is on the other service and the primary key is on the current service" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 695, + "name": "isList", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Force the relationship to return a list" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 696, + "name": "args", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Extra arguments to pass to the remoteFetchData callback" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 689, + 690, + 691, + 692, + 693, + 694, + 695, + 696 + ] + } + ] + } + } + }, + { + "id": 684, + "name": "JoinerServiceConfigAlias", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 685, + "name": "name", "variant": "declaration", "kind": 1024, "flags": {}, - "comment": { - "summary": [ + "type": { + "type": "union", + "types": [ { - "kind": "text", - "text": "The ID of the money amount." + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } ] - }, - "type": { - "type": "intrinsic", - "name": "string" } }, { - "id": 369, - "name": "currency_code", + "id": 686, + "name": "args", "variant": "declaration", "kind": 1024, "flags": { @@ -2642,18 +2802,62 @@ "summary": [ { "kind": "text", - "text": "The currency code of this money amount." + "text": "Extra arguments to pass to the remoteFetchData callback" } ] }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 685, + 686 + ] + } + ] + }, + { + "id": 621, + "name": "JoinerServiceConfig", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 622, + "name": "serviceName", + "variant": "declaration", + "kind": 1024, + "flags": {}, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 370, - "name": "currency", + "id": 623, + "name": "alias", "variant": "declaration", "kind": 1024, "flags": { @@ -2663,44 +2867,34 @@ "summary": [ { "kind": "text", - "text": "The money amount's currency." + "text": "Property name to use as entrypoint to the service" } - ], - "modifierTags": [ - "@expandable" ] }, "type": { - "type": "reference", - "target": 402, - "name": "CurrencyDTO", - "package": "@medusajs/types" - } - }, - { - "id": 371, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + "type": "union", + "types": [ { - "kind": "text", - "text": "The price of this money amount." + "type": "reference", + "target": 684, + "name": "JoinerServiceConfigAlias", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 684, + "name": "JoinerServiceConfigAlias", + "package": "@medusajs/types" + } } ] - }, - "type": { - "type": "intrinsic", - "name": "number" } }, { - "id": 372, - "name": "min_quantity", + "id": 624, + "name": "fieldAlias", "variant": "declaration", "kind": 1024, "flags": { @@ -2710,94 +2904,183 @@ "summary": [ { "kind": "text", - "text": "The minimum quantity required to be purchased for this price to be applied." + "text": "alias for deeper nested relationships (e.g. { 'price': 'prices.calculated_price_set.amount' })" } ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 625, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 626, + "name": "path", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 627, + "name": "forwardArgumentsOnPath", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 626, + 627 + ] + } + ] + } + } + ] + } + ], + "name": "Record", + "package": "typescript" } }, { - "id": 373, - "name": "max_quantity", + "id": 628, + "name": "primaryKeys", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The maximum quantity required to be purchased for this price to be applied." - } - ] - }, + "flags": {}, "type": { - "type": "intrinsic", - "name": "number" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } }, { - "id": 374, - "name": "price_set_money_amount", + "id": 629, + "name": "relationships", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The details of the relation between the money amount and its associated price set." - } - ] - }, "type": { - "type": "reference", - "target": 460, - "name": "PriceSetMoneyAmountDTO", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 687, + "name": "JoinerRelationship", + "package": "@medusajs/types" + } } }, { - "id": 375, - "name": "created_at", + "id": 630, + "name": "extends", "variant": "declaration", "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the money_amount was created." - } - ] + "flags": { + "isOptional": true }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 631, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 632, + "name": "serviceName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 633, + "name": "relationship", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 687, + "name": "JoinerRelationship", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 632, + 633 + ] + } + ] + } + } } }, { - "id": 376, - "name": "updated_at", + "id": 634, + "name": "args", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "When the money_amount was updated." + "text": "Extra arguments to pass to the remoteFetchData callback" } ] }, @@ -2805,43 +3088,20 @@ "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" + "qualifiedName": "Record" }, - "name": "Date", - "package": "typescript" - } - }, - { - "id": 377, - "name": "deleted_at", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "When the money_amount was deleted." - } - ] - }, - "type": { - "type": "union", - "types": [ + "typeArguments": [ { - "type": "literal", - "value": null + "type": "intrinsic", + "name": "string" }, { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "type": "intrinsic", + "name": "any" } - ] + ], + "name": "Record", + "package": "typescript" } } ], @@ -2849,1856 +3109,770 @@ { "title": "Properties", "children": [ - 368, - 369, - 370, - 371, - 372, - 373, - 374, - 375, - 376, - 377 + 622, + 623, + 624, + 628, + 629, + 630, + 634 ] } ] }, { - "id": 383, - "name": "CreateMoneyAmountDTO", + "id": 503, + "name": "ModuleJoinerConfig", "variant": "declaration", - "kind": 256, + "kind": 2097152, "flags": {}, - "comment": { - "summary": [ + "type": { + "type": "intersection", + "types": [ { - "kind": "text", - "text": "The money amount to create." - } - ] - }, - "children": [ - { - "id": 384, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 385, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The currency code of this money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 386, - "name": "currency", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The currency of this money amount." - } - ] - }, - "type": { "type": "reference", - "target": 411, - "name": "CreateCurrencyDTO", - "package": "@medusajs/types" - } - }, - { - "id": 387, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The amount of this money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 388, - "name": "min_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The minimum quantity required to be purchased for this money amount to be applied." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 389, - "name": "max_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The maximum quantity required to be purchased for this money amount to be applied." - } - ] - }, - "type": { - "type": "union", - "types": [ + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ { - "type": "literal", - "value": null + "type": "reference", + "target": 621, + "name": "JoinerServiceConfig", + "package": "@medusajs/types" }, { - "type": "intrinsic", - "name": "number" + "type": "union", + "types": [ + { + "type": "literal", + "value": "serviceName" + }, + { + "type": "literal", + "value": "primaryKeys" + }, + { + "type": "literal", + "value": "relationships" + }, + { + "type": "literal", + "value": "extends" + } + ] } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 384, - 385, - 386, - 387, - 388, - 389 - ] - } - ], - "extendedBy": [ - { - "type": "reference", - "target": 629, - "name": "CreatePricesDTO" - }, - { - "type": "reference", - "target": 644, - "name": "PriceListPriceDTO" - } - ] - }, - { - "id": 390, - "name": "UpdateMoneyAmountDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The data to update in a money amount. The " - }, - { - "kind": "code", - "text": "`id`" + ], + "name": "Omit", + "package": "typescript" }, { - "kind": "text", - "text": " is used to identify which money amount to update." - } - ] - }, - "children": [ - { - "id": 391, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the money amount to update." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 392, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The code of the currency to associate with the money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 393, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price of this money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 394, - "name": "min_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The minimum quantity required to be purchased for this money amount to be applied." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 395, - "name": "max_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The maximum quantity required to be purchased for this money amount to be applied." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 391, - 392, - 393, - 394, - 395 - ] - } - ] - }, - { - "id": 378, - "name": "FilterableMoneyAmountProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filters to apply on a money amount." - } - ] - }, - "children": [ - { - "id": 381, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ + "type": "reflection", + "declaration": { + "id": 504, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "type": "reference", - "target": 378, - "name": "FilterableMoneyAmountProps", - "package": "@medusajs/types" + "id": 505, + "name": "schema", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "GraphQL schema for the all module's available entities and fields" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "type": "reference", - "target": 625, - "typeArguments": [ - { + "id": 506, + "name": "relationships", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { "type": "reference", - "target": 378, - "name": "FilterableMoneyAmountProps", + "target": 635, + "name": "ModuleJoinerRelationship", "package": "@medusajs/types" } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 626, - "name": "BaseFilterable.$and" - } - }, - { - "id": 382, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 378, - "name": "FilterableMoneyAmountProps", - "package": "@medusajs/types" + } }, { - "type": "reference", - "target": 625, - "typeArguments": [ - { - "type": "reference", - "target": 378, - "name": "FilterableMoneyAmountProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 627, - "name": "BaseFilterable.$or" - } - }, - { - "id": 379, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "IDs to filter money amounts by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 380, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Currency codes to filter money amounts by." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 381, - 382, - 379, - 380 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 625, - "typeArguments": [ - { - "type": "reference", - "target": 378, - "name": "FilterableMoneyAmountProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 637, - "name": "PriceListStatus", - "variant": "declaration", - "kind": 8, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's status." - } - ] - }, - "children": [ - { - "id": 638, - "name": "ACTIVE", - "variant": "declaration", - "kind": 16, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list is enabled and its prices can be used." - } - ] - }, - "type": { - "type": "literal", - "value": "active" - } - }, - { - "id": 639, - "name": "DRAFT", - "variant": "declaration", - "kind": 16, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list is disabled, meaning its prices can't be used yet." - } - ] - }, - "type": { - "type": "literal", - "value": "draft" - } - } - ], - "groups": [ - { - "title": "Enumeration Members", - "children": [ - 638, - 639 - ] - } - ] - }, - { - "id": 640, - "name": "PriceListType", - "variant": "declaration", - "kind": 8, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's type." - } - ] - }, - "children": [ - { - "id": 641, - "name": "SALE", - "variant": "declaration", - "kind": 16, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's prices are used for a sale." - } - ] - }, - "type": { - "type": "literal", - "value": "sale" - } - }, - { - "id": 642, - "name": "OVERRIDE", - "variant": "declaration", - "kind": 16, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's prices override original prices. This affects the calculated price of associated price sets." - } - ] - }, - "type": { - "type": "literal", - "value": "override" - } - } - ], - "groups": [ - { - "title": "Enumeration Members", - "children": [ - 641, - 642 - ] - } - ] - }, - { - "id": 517, - "name": "PriceListDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A price list's details." - } - ] - }, - "children": [ - { - "id": 518, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's ID." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 519, - "name": "title", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's title." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 520, - "name": "starts_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list is enabled starting from this date." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 521, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's status." - } - ] - }, - "type": { - "type": "reference", - "target": 637, - "name": "PriceListStatus", - "package": "@medusajs/types" - } - }, - { - "id": 522, - "name": "ends_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list expires after this date." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 523, - "name": "rules_count", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The number of rules associated with this price list." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 524, - "name": "price_set_money_amounts", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated price set money amounts." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 460, - "name": "PriceSetMoneyAmountDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 525, - "name": "money_amounts", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated money amounts." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 367, - "name": "MoneyAmountDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 526, - "name": "rule_types", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The associated rule types." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 421, - "name": "RuleTypeDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 527, - "name": "rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price set's rules." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 556, - "name": "PriceListRuleDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 528, - "name": "price_list_rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price set's rules." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 556, - "name": "PriceListRuleDTO", - "package": "@medusajs/types" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 518, - 519, - 520, - 521, - 522, - 523, - 524, - 525, - 526, - 527, - 528 - ] - } - ] - }, - { - "id": 644, - "name": "PriceListPriceDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The prices associated with a price list." - } - ] - }, - "children": [ - { - "id": 647, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 384, - "name": "CreateMoneyAmountDTO.id" - } - }, - { - "id": 648, - "name": "currency_code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The currency code of this money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 385, - "name": "CreateMoneyAmountDTO.currency_code" - } - }, - { - "id": 649, - "name": "currency", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The currency of this money amount." - } - ] - }, - "type": { - "type": "reference", - "target": 411, - "name": "CreateCurrencyDTO", - "package": "@medusajs/types" - }, - "inheritedFrom": { - "type": "reference", - "target": 386, - "name": "CreateMoneyAmountDTO.currency" - } - }, - { - "id": 650, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The amount of this money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "target": 387, - "name": "CreateMoneyAmountDTO.amount" - } - }, - { - "id": 651, - "name": "min_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The minimum quantity required to be purchased for this money amount to be applied." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "target": 388, - "name": "CreateMoneyAmountDTO.min_quantity" - } - }, - { - "id": 652, - "name": "max_quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The maximum quantity required to be purchased for this money amount to be applied." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "target": 389, - "name": "CreateMoneyAmountDTO.max_quantity" - } - }, - { - "id": 645, - "name": "price_set_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated price set." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 646, - "name": "rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rules to add to the price. The object's keys are rule types' " - }, - { - "kind": "code", - "text": "`rule_attribute`" - }, - { - "kind": "text", - "text": " attribute, and values are the value of that rule associated with this price." - } - ] - }, - "type": { - "type": "reference", - "target": 687, - "name": "CreatePriceSetPriceRules", - "package": "@medusajs/types" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 647, - 648, - 649, - 650, - 651, - 652, - 645, - 646 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 383, - "name": "CreateMoneyAmountDTO", - "package": "@medusajs/types" - } - ] - }, - { - "id": 687, - "name": "CreatePriceSetPriceRules", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price rules to be set for each price in the price set.\n\nEach key of the object is a rule type's " - }, - { - "kind": "code", - "text": "`rule_attribute`" - }, - { - "kind": "text", - "text": ", and its value\nis the values of the rule." - } - ] - }, - "extendedTypes": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - } - ] - }, - { - "id": 643, - "name": "CreatePriceListRules", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's rules to be set. Each key of the object is a rule type's " - }, - { - "kind": "code", - "text": "`rule_attribute`" - }, - { - "kind": "text", - "text": ", and its value\nis the values of the rule." - } - ] - }, - "extendedTypes": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ], - "name": "Record", - "package": "typescript" - } - ] - }, - { - "id": 537, - "name": "CreatePriceListDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list to create." - } - ] - }, - "children": [ - { - "id": 538, - "name": "title", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's title." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 539, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's description." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 540, - "name": "starts_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list is enabled starting from this date." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" + "id": 507, + "name": "extends", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 508, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 509, + "name": "serviceName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 510, + "name": "fieldAlias", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 511, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 512, + "name": "path", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 513, + "name": "forwardArgumentsOnPath", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 514, + "name": "isList", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 512, + 513, + 514 + ] + } + ] + } + } + ] + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 515, + "name": "relationship", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 635, + "name": "ModuleJoinerRelationship", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 509, + 510, + 515 + ] + } + ] + } + } + } }, - "name": "Date", - "package": "typescript" - } - ] - } - }, - { - "id": 541, - "name": "ends_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list expires after this date." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" + { + "id": 516, + "name": "serviceName", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 517, + "name": "primaryKeys", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } }, - "name": "Date", - "package": "typescript" - } - ] - } - }, - { - "id": 542, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's status." - } - ] - }, - "type": { - "type": "reference", - "target": 637, - "name": "PriceListStatus", - "package": "@medusajs/types" - } - }, - { - "id": 543, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's type." - } - ] - }, - "type": { - "type": "reference", - "target": 640, - "name": "PriceListType", - "package": "@medusajs/types" - } - }, - { - "id": 544, - "name": "rules_count", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The number of rules associated with the price list." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 545, - "name": "rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rules to be created and associated with the price list." - } - ] - }, - "type": { - "type": "reference", - "target": 643, - "name": "CreatePriceListRules", - "package": "@medusajs/types" - } - }, - { - "id": 546, - "name": "prices", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The prices associated with the price list." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 644, - "name": "PriceListPriceDTO", - "package": "@medusajs/types" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 538, - 539, - 540, - 541, - 542, - 543, - 544, - 545, - 546 - ] - } - ] - }, - { - "id": 547, - "name": "UpdatePriceListDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The attributes to update in a price list." - } - ] - }, - "children": [ - { - "id": 548, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the price list to update." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 549, - "name": "title", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's title." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 550, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's description." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 551, - "name": "starts_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list is enabled starting from this date." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" + { + "id": 518, + "name": "isLink", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If the module is a link module" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 519, + "name": "linkableKeys", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Keys that can be used to link to other modules. e.g { product_id: \"Product\" } \"Product\" being the entity it refers to" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Record", + "package": "typescript" + } }, - "name": "Date", - "package": "typescript" - } - ] - } - }, - { - "id": 552, - "name": "ends_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list expires after this date." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" + { + "id": 520, + "name": "isReadOnlyLink", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true it expands a RemoteQuery property but doesn't create a pivot table" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } }, - "name": "Date", - "package": "typescript" - } - ] + { + "id": 521, + "name": "databaseConfig", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 522, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 523, + "name": "tableName", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the pivot table. If not provided it is auto generated" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 524, + "name": "idPrefix", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Prefix for the id column. If not provided it is \"link\"" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 525, + "name": "extraFields", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 526, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 527, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "date" + }, + { + "type": "literal", + "value": "time" + }, + { + "type": "literal", + "value": "datetime" + }, + { + "type": "literal", + "value": "bigint" + }, + { + "type": "literal", + "value": "blob" + }, + { + "type": "literal", + "value": "uint8array" + }, + { + "type": "literal", + "value": "array" + }, + { + "type": "literal", + "value": "enumArray" + }, + { + "type": "literal", + "value": "enum" + }, + { + "type": "literal", + "value": "json" + }, + { + "type": "literal", + "value": "integer" + }, + { + "type": "literal", + "value": "smallint" + }, + { + "type": "literal", + "value": "tinyint" + }, + { + "type": "literal", + "value": "mediumint" + }, + { + "type": "literal", + "value": "float" + }, + { + "type": "literal", + "value": "double" + }, + { + "type": "literal", + "value": "boolean" + }, + { + "type": "literal", + "value": "decimal" + }, + { + "type": "literal", + "value": "string" + }, + { + "type": "literal", + "value": "uuid" + }, + { + "type": "literal", + "value": "text" + } + ] + } + }, + { + "id": 528, + "name": "defaultValue", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 529, + "name": "nullable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 530, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Mikro-orm options for the column" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 527, + 528, + 529, + 530 + ] + } + ] + } + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 523, + 524, + 525 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 505, + 506, + 507, + 516, + 517, + 518, + 519, + 520, + 521 + ] + } + ] + } } - }, - { - "id": 553, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list's status." - } - ] - }, - "type": { + ] + } + }, + { + "id": 635, + "name": "ModuleJoinerRelationship", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { "type": "reference", - "target": 637, - "name": "PriceListStatus", + "target": 687, + "name": "JoinerRelationship", "package": "@medusajs/types" - } - }, - { - "id": 554, - "name": "rules_count", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The number of rules associated with the price list." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 555, - "name": "rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rules to be created and associated with the price list." - } - ] }, - "type": { - "type": "reference", - "target": 643, - "name": "CreatePriceListRules", - "package": "@medusajs/types" + { + "type": "reflection", + "declaration": { + "id": 636, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 637, + "name": "isInternalService", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the relationship is an internal service from the medusa core TODO: Remove when there are no more \"internal\" services" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 638, + "name": "deleteCascade", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the link joiner will cascade deleting the relationship" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 637, + 638 + ] + } + ] + } } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 548, - 549, - 550, - 551, - 552, - 553, - 554, - 555 - ] + ] + } + }, + { + "id": 242, + "name": "IModuleService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "extendedBy": [ + { + "type": "reference", + "target": 1, + "name": "IPricingModuleService" } ] }, { - "id": 529, - "name": "FilterablePriceListProps", + "id": 547, + "name": "MoneyAmountDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -4706,283 +3880,33 @@ "summary": [ { "kind": "text", - "text": "Filters to apply on price lists." + "text": "A money amount's data. A money amount represents a price." } ] }, "children": [ { - "id": 535, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 529, - "name": "FilterablePriceListProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 625, - "typeArguments": [ - { - "type": "reference", - "target": 529, - "name": "FilterablePriceListProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 626, - "name": "BaseFilterable.$and" - } - }, - { - "id": 536, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 529, - "name": "FilterablePriceListProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 625, - "typeArguments": [ - { - "type": "reference", - "target": 529, - "name": "FilterablePriceListProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 627, - "name": "BaseFilterable.$or" - } - }, - { - "id": 530, + "id": 548, "name": "id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IDs to filter price lists by" - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 531, - "name": "starts_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The start dates to filter price lists by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 532, - "name": "ends_at", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The end dates to filter price lists by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 533, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The statuses to filter price lists by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 637, - "name": "PriceListStatus", - "package": "@medusajs/types" - } - } - }, - { - "id": 534, - "name": "rules_count", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { - "kind": "text", - "text": "The number of rules to filter price lists by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "number" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 535, - 536, - 530, - 531, - 532, - 533, - 534 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 625, - "typeArguments": [ - { - "type": "reference", - "target": 529, - "name": "FilterablePriceListProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 562, - "name": "FilterablePriceListRuleProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filters to apply on price list rules." + "kind": "text", + "text": "The ID of the money amount." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "children": [ + }, { - "id": 567, - "name": "$and", + "id": 549, + "name": "currency_code", "variant": "declaration", "kind": 1024, "flags": { @@ -4992,47 +3916,18 @@ "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + "text": "The currency code of this money amount." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 562, - "name": "FilterablePriceListRuleProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 625, - "typeArguments": [ - { - "type": "reference", - "target": 562, - "name": "FilterablePriceListRuleProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 626, - "name": "BaseFilterable.$and" + "type": "intrinsic", + "name": "string" } }, { - "id": 568, - "name": "$or", + "id": 550, + "name": "amount", "variant": "declaration", "kind": 1024, "flags": { @@ -5042,47 +3937,20 @@ "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + "text": "The price of this money amount." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 562, - "name": "FilterablePriceListRuleProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 625, - "typeArguments": [ - { - "type": "reference", - "target": 562, - "name": "FilterablePriceListRuleProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { "type": "reference", - "target": 627, - "name": "BaseFilterable.$or" + "target": 546, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 563, - "name": "id", + "id": 551, + "name": "min_quantity", "variant": "declaration", "kind": 1024, "flags": { @@ -5092,21 +3960,20 @@ "summary": [ { "kind": "text", - "text": "The IDs to filter price list rules by." + "text": "The minimum quantity required to be purchased for this price to be applied." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "target": 546, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 564, - "name": "value", + "id": 552, + "name": "max_quantity", "variant": "declaration", "kind": 1024, "flags": { @@ -5116,64 +3983,96 @@ "summary": [ { "kind": "text", - "text": "The values to filter price list rules by." + "text": "The maximum quantity required to be purchased for this price to be applied." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "target": 546, + "name": "BigNumberValue", + "package": "@medusajs/types" } }, { - "id": 565, - "name": "rule_type", + "id": 553, + "name": "created_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Filter price list rules by the ID of their associated rule types." + "text": "When the money_amount was created." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" } }, { - "id": 566, - "name": "price_list_id", + "id": 554, + "name": "updated_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the money_amount was updated." + } + ] }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 555, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Filter price list rules by the ID of their associated price lists." + "text": "When the money_amount was deleted." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] } } ], @@ -5181,35 +4080,21 @@ { "title": "Properties", "children": [ - 567, - 568, - 563, - 564, - 565, - 566 + 548, + 549, + 550, + 551, + 552, + 553, + 554, + 555 ] } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 625, - "typeArguments": [ - { - "type": "reference", - "target": 562, - "name": "FilterablePriceListRuleProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } ] }, { - "id": 556, - "name": "PriceListRuleDTO", + "id": 667, + "name": "CreateMoneyAmountDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -5217,22 +4102,24 @@ "summary": [ { "kind": "text", - "text": "The price list rule's details." + "text": "The money amount to create." } ] }, "children": [ { - "id": 557, + "id": 668, "name": "id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The price list rule's ID." + "text": "The ID of the money amount." } ] }, @@ -5242,8 +4129,8 @@ } }, { - "id": 558, - "name": "value", + "id": 669, + "name": "currency_code", "variant": "declaration", "kind": 1024, "flags": {}, @@ -5251,7 +4138,7 @@ "summary": [ { "kind": "text", - "text": "The value of the rule." + "text": "The currency code of this money amount." } ] }, @@ -5261,8 +4148,8 @@ } }, { - "id": 559, - "name": "rule_type", + "id": 670, + "name": "amount", "variant": "declaration", "kind": 1024, "flags": {}, @@ -5270,47 +4157,52 @@ "summary": [ { "kind": "text", - "text": "The associated rule type." + "text": "The amount of this money amount." } - ], - "modifierTags": [ - "@expandable" ] }, "type": { "type": "reference", - "target": 421, - "name": "RuleTypeDTO", + "target": 531, + "name": "BigNumberInput", "package": "@medusajs/types" } }, { - "id": 560, - "name": "price_list", + "id": 671, + "name": "min_quantity", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The associated price list." + "text": "The minimum quantity required to be purchased for this money amount to be applied." } - ], - "modifierTags": [ - "@expandable" ] }, "type": { - "type": "reference", - "target": 517, - "name": "PriceListDTO", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 531, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + ] } }, { - "id": 561, - "name": "price_list_rule_values", + "id": 672, + "name": "max_quantity", "variant": "declaration", "kind": 1024, "flags": { @@ -5320,21 +4212,24 @@ "summary": [ { "kind": "text", - "text": "The associated rule values." + "text": "The maximum quantity required to be purchased for this money amount to be applied." } - ], - "modifierTags": [ - "@expandable" ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 653, - "name": "PriceListRuleValueDTO", - "package": "@medusajs/types" - } + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 531, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + ] } } ], @@ -5342,18 +4237,30 @@ { "title": "Properties", "children": [ - 557, - 558, - 559, - 560, - 561 + 668, + 669, + 670, + 671, + 672 ] } + ], + "extendedBy": [ + { + "type": "reference", + "target": 565, + "name": "CreatePricesDTO" + }, + { + "type": "reference", + "target": 601, + "name": "CreatePriceListPriceDTO" + } ] }, { - "id": 569, - "name": "CreatePriceListRuleDTO", + "id": 678, + "name": "UpdateMoneyAmountDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -5361,24 +4268,30 @@ "summary": [ { "kind": "text", - "text": "The price list rule to create." + "text": "The data to update in a money amount. The " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " is used to identify which money amount to update." } ] }, "children": [ { - "id": 570, - "name": "rule_type_id", + "id": 679, + "name": "id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The ID of a rule type to be associated with the price list rule." + "text": "The ID of the money amount to update." } ] }, @@ -5388,8 +4301,8 @@ } }, { - "id": 571, - "name": "rule_type", + "id": 680, + "name": "currency_code", "variant": "declaration", "kind": 1024, "flags": { @@ -5399,7 +4312,7 @@ "summary": [ { "kind": "text", - "text": "The ID of a rule type or the details of an existing rule type to be associated with the price list rule." + "text": "The code of the currency to associate with the money amount." } ] }, @@ -5407,21 +4320,19 @@ "type": "union", "types": [ { - "type": "intrinsic", - "name": "string" + "type": "literal", + "value": null }, { - "type": "reference", - "target": 421, - "name": "RuleTypeDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } ] } }, { - "id": 572, - "name": "price_list_id", + "id": 681, + "name": "amount", "variant": "declaration", "kind": 1024, "flags": { @@ -5431,18 +4342,20 @@ "summary": [ { "kind": "text", - "text": "The ID of a price list to be associated with the price list rule." + "text": "The price of this money amount." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 531, + "name": "BigNumberInput", + "package": "@medusajs/types" } }, { - "id": 573, - "name": "price_list", + "id": 682, + "name": "min_quantity", "variant": "declaration", "kind": 1024, "flags": { @@ -5452,24 +4365,38 @@ "summary": [ { "kind": "text", - "text": "The ID of a price list or the details of an existing price list to be associated with the price list rule." + "text": "The minimum quantity required to be purchased for this money amount to be applied." } ] }, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "type": "reference", + "target": 531, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + }, + { + "id": 683, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "reference", - "target": 517, - "name": "PriceListDTO", - "package": "@medusajs/types" + "kind": "text", + "text": "The maximum quantity required to be purchased for this money amount to be applied." } ] + }, + "type": { + "type": "reference", + "target": 531, + "name": "BigNumberInput", + "package": "@medusajs/types" } } ], @@ -5477,17 +4404,25 @@ { "title": "Properties", "children": [ - 570, - 571, - 572, - 573 + 679, + 680, + 681, + 682, + 683 ] } + ], + "extendedBy": [ + { + "type": "reference", + "target": 613, + "name": "UpdatePriceListPriceDTO" + } ] }, { - "id": 574, - "name": "UpdatePriceListRuleDTO", + "id": 560, + "name": "FilterableMoneyAmountProps", "variant": "declaration", "kind": 256, "flags": {}, @@ -5495,33 +4430,14 @@ "summary": [ { "kind": "text", - "text": "The attributes to update in a price list rule." + "text": "Filters to apply on a money amount." } ] }, "children": [ { - "id": 575, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the price list rule to update." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 576, - "name": "price_list_id", + "id": 563, + "name": "$and", "variant": "declaration", "kind": 1024, "flags": { @@ -5531,18 +4447,47 @@ "summary": [ { "kind": "text", - "text": "The ID of a price list to be associated with the price list rule." + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 560, + "name": "FilterableMoneyAmountProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 556, + "typeArguments": [ + { + "type": "reference", + "target": 560, + "name": "FilterableMoneyAmountProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 557, + "name": "BaseFilterable.$and" } }, { - "id": 577, - "name": "rule_type_id", + "id": 564, + "name": "$or", "variant": "declaration", "kind": 1024, "flags": { @@ -5552,18 +4497,47 @@ "summary": [ { "kind": "text", - "text": "The ID of a rule type to be associated with the price list rule." + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 560, + "name": "FilterableMoneyAmountProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 556, + "typeArguments": [ + { + "type": "reference", + "target": 560, + "name": "FilterableMoneyAmountProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 558, + "name": "BaseFilterable.$or" } }, { - "id": 578, - "name": "price_list", + "id": 561, + "name": "id", "variant": "declaration", "kind": 1024, "flags": { @@ -5573,18 +4547,21 @@ "summary": [ { "kind": "text", - "text": "The ID of a price list to be associated with the price list rule." + "text": "IDs to filter money amounts by." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } }, { - "id": 579, - "name": "rule_type", + "id": 562, + "name": "currency_code", "variant": "declaration", "kind": 1024, "flags": { @@ -5594,13 +4571,25 @@ "summary": [ { "kind": "text", - "text": "The ID of a rule type or the details of an existing rule type to be associated with the price list rule." + "text": "Currency codes to filter money amounts by." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } } ], @@ -5608,176 +4597,161 @@ { "title": "Properties", "children": [ - 575, - 576, - 577, - 578, - 579 + 563, + 564, + 561, + 562 ] } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 556, + "typeArguments": [ + { + "type": "reference", + "target": 560, + "name": "FilterableMoneyAmountProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } ] }, { - "id": 653, - "name": "PriceListRuleValueDTO", + "id": 572, + "name": "PriceListStatus", "variant": "declaration", - "kind": 256, + "kind": 8, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The price list rule value's details." + "text": "The price list's status." } ] }, "children": [ { - "id": 654, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list rule value's ID." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 655, - "name": "value", + "id": 573, + "name": "ACTIVE", "variant": "declaration", - "kind": 1024, + "kind": 16, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The rule's value." + "text": "The price list is enabled and its prices can be used." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "literal", + "value": "active" } }, { - "id": 656, - "name": "price_list_rule", + "id": 574, + "name": "DRAFT", "variant": "declaration", - "kind": 1024, + "kind": 16, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The associated price list rule." + "text": "The price list is disabled, meaning its prices can't be used yet." } - ], - "modifierTags": [ - "@expandable" ] }, "type": { - "type": "reference", - "target": 556, - "name": "PriceListRuleDTO", - "package": "@medusajs/types" + "type": "literal", + "value": "draft" } } ], "groups": [ { - "title": "Properties", + "title": "Enumeration Members", "children": [ - 654, - 655, - 656 + 573, + 574 ] } ] }, { - "id": 580, - "name": "AddPriceListPricesDTO", + "id": 597, + "name": "PriceListType", "variant": "declaration", - "kind": 256, + "kind": 8, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The prices to be added to a price list." + "text": "The price list's type." } ] }, "children": [ { - "id": 581, - "name": "priceListId", + "id": 598, + "name": "SALE", "variant": "declaration", - "kind": 1024, + "kind": 16, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the price list to add prices to." + "text": "The price list's prices are used for a sale." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "literal", + "value": "sale" } }, { - "id": 582, - "name": "prices", + "id": 599, + "name": "OVERRIDE", "variant": "declaration", - "kind": 1024, + "kind": 16, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The prices to add." + "text": "The price list's prices override original prices. This affects the calculated price of associated price sets." } ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 644, - "name": "PriceListPriceDTO", - "package": "@medusajs/types" - } + "type": "literal", + "value": "override" } } ], "groups": [ { - "title": "Properties", + "title": "Enumeration Members", "children": [ - 581, - 582 + 598, + 599 ] } ] }, { - "id": 583, - "name": "SetPriceListRulesDTO", + "id": 427, + "name": "PriceListDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -5785,14 +4759,14 @@ "summary": [ { "kind": "text", - "text": "The rules to add to a price list." + "text": "A price list's details." } ] }, "children": [ { - "id": 584, - "name": "priceListId", + "id": 428, + "name": "id", "variant": "declaration", "kind": 1024, "flags": {}, @@ -5800,7 +4774,7 @@ "summary": [ { "kind": "text", - "text": "The ID of the price list to add rules to." + "text": "The price list's ID." } ] }, @@ -5810,209 +4784,172 @@ } }, { - "id": 585, - "name": "rules", + "id": 429, + "name": "title", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The rules to add to the price list. Each key of the object is a rule type's " - }, - { - "kind": "code", - "text": "`rule_attribute`" - }, + "text": "The price list's title." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 430, + "name": "starts_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { "kind": "text", - "text": ", and its value\nis the value(s) of the rule." + "text": "The price list is enabled starting from this date." } ] }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "intrinsic", - "name": "string" + "type": "literal", + "value": null }, { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] + "type": "intrinsic", + "name": "string" } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 584, - 585 - ] - } - ] - }, - { - "id": 586, - "name": "RemovePriceListRulesDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rules to remove from a price list." + ] } - ] - }, - "children": [ + }, { - "id": 587, - "name": "priceListId", + "id": 431, + "name": "status", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the price list to remove rules from." + "text": "The price list's status." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 572, + "name": "PriceListStatus", + "package": "@medusajs/types" } }, { - "id": 588, - "name": "rules", + "id": 432, + "name": "ends_at", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The rules to remove from the price list. Each item being a rule type's " - }, + "text": "The price list expires after this date." + } + ] + }, + "type": { + "type": "union", + "types": [ { - "kind": "code", - "text": "`rule_attribute`" + "type": "literal", + "value": null }, { - "kind": "text", - "text": "." + "type": "intrinsic", + "name": "string" } ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 587, - 588 - ] - } - ] - }, - { - "id": 480, - "name": "PriceRuleDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A price rule's data." } - ] - }, - "children": [ + }, { - "id": 481, - "name": "id", + "id": 433, + "name": "rules_count", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the price rule." + "text": "The number of rules associated with this price list." } ] }, "type": { "type": "intrinsic", - "name": "string" + "name": "number" } }, { - "id": 482, - "name": "price_set_id", + "id": 434, + "name": "prices", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the associated price set." + "text": "The associated price set money amounts." } + ], + "modifierTags": [ + "@expandable" ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 373, + "name": "PriceDTO", + "package": "@medusajs/types" + } } }, { - "id": 483, - "name": "price_set", + "id": 435, + "name": "money_amounts", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The associated price set." + "text": "The associated money amounts." } ], "modifierTags": [ @@ -6020,42 +4957,57 @@ ] }, "type": { - "type": "reference", - "target": 340, - "name": "PriceSetDTO", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 547, + "name": "MoneyAmountDTO", + "package": "@medusajs/types" + } } }, { - "id": 484, - "name": "rule_type_id", + "id": 436, + "name": "rule_types", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the associated rule type." + "text": "The associated rule types." } + ], + "modifierTags": [ + "@expandable" ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 343, + "name": "RuleTypeDTO", + "package": "@medusajs/types" + } } }, { - "id": 485, - "name": "rule_type", + "id": 437, + "name": "rules", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The associated rule type." + "text": "The price set's rules." } ], "modifierTags": [ @@ -6063,53 +5015,108 @@ ] }, "type": { - "type": "reference", - "target": 421, - "name": "RuleTypeDTO", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 467, + "name": "PriceListRuleDTO", + "package": "@medusajs/types" + } } }, { - "id": 486, - "name": "value", + "id": 438, + "name": "price_list_rules", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The value of the price rule." + "text": "The price set's rules." } + ], + "modifierTags": [ + "@expandable" ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 467, + "name": "PriceListRuleDTO", + "package": "@medusajs/types" + } } - }, + } + ], + "groups": [ { - "id": 487, - "name": "priority", + "title": "Properties", + "children": [ + 428, + 429, + 430, + 431, + 432, + 433, + 434, + 435, + 436, + 437, + 438 + ] + } + ] + }, + { + "id": 601, + "name": "CreatePriceListPriceDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices associated with a price list." + } + ] + }, + "children": [ + { + "id": 604, + "name": "id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The priority of the price rule in comparison to other applicable price rules." + "text": "The ID of the money amount." } ] }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 668, + "name": "CreateMoneyAmountDTO.id" } }, { - "id": 488, - "name": "price_set_money_amount_id", + "id": 605, + "name": "currency_code", "variant": "declaration", "kind": 1024, "flags": {}, @@ -6117,18 +5124,23 @@ "summary": [ { "kind": "text", - "text": "The ID of the associated price set money amount." + "text": "The currency code of this money amount." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 669, + "name": "CreateMoneyAmountDTO.currency_code" } }, { - "id": 489, - "name": "price_list_id", + "id": 606, + "name": "amount", "variant": "declaration", "kind": 1024, "flags": {}, @@ -6136,66 +5148,99 @@ "summary": [ { "kind": "text", - "text": "The ID of the associated price list." + "text": "The amount of this money amount." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 531, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 670, + "name": "CreateMoneyAmountDTO.amount" } }, { - "id": 490, - "name": "created_at", + "id": 607, + "name": "min_quantity", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "When the price_rule was created." + "text": "The minimum quantity required to be purchased for this money amount to be applied." } ] }, "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 531, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + ] + }, + "inheritedFrom": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "target": 671, + "name": "CreateMoneyAmountDTO.min_quantity" } }, { - "id": 491, - "name": "updated_at", + "id": 608, + "name": "max_quantity", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "When the price_rule was updated." + "text": "The maximum quantity required to be purchased for this money amount to be applied." } ] }, "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 531, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + ] + }, + "inheritedFrom": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "target": 672, + "name": "CreateMoneyAmountDTO.max_quantity" } }, { - "id": 492, - "name": "deleted_at", + "id": 602, + "name": "price_set_id", "variant": "declaration", "kind": 1024, "flags": {}, @@ -6203,27 +5248,44 @@ "summary": [ { "kind": "text", - "text": "When the price_rule was deleted." + "text": "The ID of the associated price set." } ] }, "type": { - "type": "union", - "types": [ + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 603, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to add to the price. The object's keys are rule types' " + }, { - "type": "literal", - "value": null + "kind": "code", + "text": "`rule_attribute`" }, { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "kind": "text", + "text": " attribute, and values are the value of that rule associated with this price." } ] + }, + "type": { + "type": "reference", + "target": 673, + "name": "CreatePriceSetPriceRules", + "package": "@medusajs/types" } } ], @@ -6231,25 +5293,28 @@ { "title": "Properties", "children": [ - 481, - 482, - 483, - 484, - 485, - 486, - 487, - 488, - 489, - 490, - 491, - 492 + 604, + 605, + 606, + 607, + 608, + 602, + 603 ] } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 667, + "name": "CreateMoneyAmountDTO", + "package": "@medusajs/types" + } ] }, { - "id": 500, - "name": "CreatePriceRuleDTO", + "id": 613, + "name": "UpdatePriceListPriceDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -6257,35 +5322,46 @@ "summary": [ { "kind": "text", - "text": "A price rule to create." + "text": "The data to update in a money amount. The " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " is used to identify which money amount to update." } ] }, "children": [ { - "id": 501, - "name": "price_set_id", + "id": 616, + "name": "id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the associated price set." + "text": "The ID of the money amount to update." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 679, + "name": "UpdateMoneyAmountDTO.id" } }, { - "id": 502, - "name": "price_set", + "id": 617, + "name": "currency_code", "variant": "declaration", "kind": 1024, "flags": { @@ -6295,7 +5371,7 @@ "summary": [ { "kind": "text", - "text": "The ID or object of the associated price set." + "text": "The code of the currency to associate with the money amount." } ] }, @@ -6303,21 +5379,24 @@ "type": "union", "types": [ { - "type": "intrinsic", - "name": "string" + "type": "literal", + "value": null }, { - "type": "reference", - "target": 340, - "name": "PriceSetDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } ] + }, + "inheritedFrom": { + "type": "reference", + "target": 680, + "name": "UpdateMoneyAmountDTO.currency_code" } }, { - "id": 503, - "name": "rule_type_id", + "id": 618, + "name": "amount", "variant": "declaration", "kind": 1024, "flags": { @@ -6327,18 +5406,25 @@ "summary": [ { "kind": "text", - "text": "The ID of the associated rule type." + "text": "The price of this money amount." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 531, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 681, + "name": "UpdateMoneyAmountDTO.amount" } }, { - "id": 504, - "name": "rule_type", + "id": 619, + "name": "min_quantity", "variant": "declaration", "kind": 1024, "flags": { @@ -6348,48 +5434,25 @@ "summary": [ { "kind": "text", - "text": "The ID of the associated rule type." + "text": "The minimum quantity required to be purchased for this money amount to be applied." } ] }, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reference", - "target": 421, - "name": "RuleTypeDTO", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 505, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value of the price rule." - } - ] + "type": "reference", + "target": 531, + "name": "BigNumberInput", + "package": "@medusajs/types" }, - "type": { - "type": "intrinsic", - "name": "string" + "inheritedFrom": { + "type": "reference", + "target": 682, + "name": "UpdateMoneyAmountDTO.min_quantity" } }, { - "id": 506, - "name": "priority", + "id": 620, + "name": "max_quantity", "variant": "declaration", "kind": 1024, "flags": { @@ -6399,28 +5462,33 @@ "summary": [ { "kind": "text", - "text": "The priority of the price rule in comparison to other applicable price rules." + "text": "The maximum quantity required to be purchased for this money amount to be applied." } ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 531, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 683, + "name": "UpdateMoneyAmountDTO.max_quantity" } }, { - "id": 507, - "name": "price_set_money_amount_id", + "id": 614, + "name": "price_set_id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the associated price set money amount." + "text": "The ID of the associated price set." } ] }, @@ -6430,8 +5498,8 @@ } }, { - "id": 508, - "name": "price_set_money_amount", + "id": 615, + "name": "rules", "variant": "declaration", "kind": 1024, "flags": { @@ -6441,24 +5509,23 @@ "summary": [ { "kind": "text", - "text": "The ID or object of the associated price set money amount." - } - ] - }, - "type": { - "type": "union", - "types": [ + "text": "The rules to add to the price. The object's keys are rule types' " + }, { - "type": "intrinsic", - "name": "string" + "kind": "code", + "text": "`rule_attribute`" }, { - "type": "reference", - "target": 460, - "name": "PriceSetMoneyAmountDTO", - "package": "@medusajs/types" + "kind": "text", + "text": " attribute, and values are the value of that rule associated with this price." } ] + }, + "type": { + "type": "reference", + "target": 673, + "name": "CreatePriceSetPriceRules", + "package": "@medusajs/types" } } ], @@ -6466,21 +5533,119 @@ { "title": "Properties", "children": [ - 501, - 502, - 503, - 504, - 505, - 506, - 507, - 508 + 616, + 617, + 618, + 619, + 620, + 614, + 615 ] } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 678, + "name": "UpdateMoneyAmountDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 673, + "name": "CreatePriceSetPriceRules", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price rules to be set for each price in the price set.\n\nEach key of the object is a rule type's " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": ", and its value\nis the values of the rule." + } + ] + }, + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + { + "id": 600, + "name": "CreatePriceListRules", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list's rules to be set. Each key of the object is a rule type's " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": ", and its value\nis the values of the rule." + } + ] + }, + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } ] }, { - "id": 509, - "name": "UpdatePriceRuleDTO", + "id": 448, + "name": "CreatePriceListDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -6488,37 +5653,43 @@ "summary": [ { "kind": "text", - "text": "The data to update in a price rule. The " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " is used to identify which money amount to update." + "text": "The price list to create." } ] }, "children": [ { - "id": 510, - "name": "id", + "id": 449, + "name": "title", "variant": "declaration", "kind": 1024, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list's title." + } + ] + }, "type": { "type": "intrinsic", "name": "string" } }, { - "id": 511, - "name": "price_set_id", + "id": 450, + "name": "description", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list's description." + } + ] }, "type": { "type": "intrinsic", @@ -6526,21 +5697,38 @@ } }, { - "id": 512, - "name": "rule_type_id", + "id": 451, + "name": "starts_at", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list is enabled starting from this date." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } }, { - "id": 513, - "name": "value", + "id": 452, + "name": "ends_at", "variant": "declaration", "kind": 1024, "flags": { @@ -6550,18 +5738,27 @@ "summary": [ { "kind": "text", - "text": "The value of the price rule." + "text": "The price list expires after this date." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } }, { - "id": 514, - "name": "priority", + "id": 453, + "name": "status", "variant": "declaration", "kind": 1024, "flags": { @@ -6571,18 +5768,20 @@ "summary": [ { "kind": "text", - "text": "The priority of the price rule in comparison to other applicable price rules." + "text": "The price list's status." } ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": 572, + "name": "PriceListStatus", + "package": "@medusajs/types" } }, { - "id": 515, - "name": "price_set_money_amount_id", + "id": 454, + "name": "type", "variant": "declaration", "kind": 1024, "flags": { @@ -6592,18 +5791,20 @@ "summary": [ { "kind": "text", - "text": "The ID of the associated price set money amount." + "text": "The price list's type." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 597, + "name": "PriceListType", + "package": "@medusajs/types" } }, { - "id": 516, - "name": "price_list_id", + "id": 455, + "name": "rules_count", "variant": "declaration", "kind": 1024, "flags": { @@ -6613,49 +5814,18 @@ "summary": [ { "kind": "text", - "text": "The ID of the associated price list." + "text": "The number of rules associated with the price list." } ] }, "type": { "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 510, - 511, - 512, - 513, - 514, - 515, - 516 - ] - } - ] - }, - { - "id": 493, - "name": "FilterablePriceRuleProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filters to apply on price rules." + "name": "number" } - ] - }, - "children": [ + }, { - "id": 498, - "name": "$and", + "id": 456, + "name": "rules", "variant": "declaration", "kind": 1024, "flags": { @@ -6665,47 +5835,20 @@ "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + "text": "The rules to be created and associated with the price list." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 493, - "name": "FilterablePriceRuleProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 625, - "typeArguments": [ - { - "type": "reference", - "target": 493, - "name": "FilterablePriceRuleProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { "type": "reference", - "target": 626, - "name": "BaseFilterable.$and" + "target": 600, + "name": "CreatePriceListRules", + "package": "@medusajs/types" } }, { - "id": 499, - "name": "$or", + "id": 457, + "name": "prices", "variant": "declaration", "kind": 1024, "flags": { @@ -6715,71 +5858,75 @@ "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + "text": "The prices associated with the price list." } ] }, "type": { "type": "array", "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 493, - "name": "FilterablePriceRuleProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 625, - "typeArguments": [ - { - "type": "reference", - "target": 493, - "name": "FilterablePriceRuleProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] + "type": "reference", + "target": 601, + "name": "CreatePriceListPriceDTO", + "package": "@medusajs/types" } - }, - "inheritedFrom": { - "type": "reference", - "target": 627, - "name": "BaseFilterable.$or" } - }, + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 449, + 450, + 451, + 452, + 453, + 454, + 455, + 456, + 457 + ] + } + ] + }, + { + "id": 458, + "name": "UpdatePriceListDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in a price list." + } + ] + }, + "children": [ { - "id": 494, + "id": 459, "name": "id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The IDs to filter price rules by." + "text": "The ID of the price list to update." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "intrinsic", + "name": "string" } }, { - "id": 495, - "name": "name", + "id": 460, + "name": "title", "variant": "declaration", "kind": 1024, "flags": { @@ -6789,21 +5936,18 @@ "summary": [ { "kind": "text", - "text": "The names to filter price rules by." + "text": "The price list's title." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "intrinsic", + "name": "string" } }, { - "id": 496, - "name": "price_set_id", + "id": 461, + "name": "description", "variant": "declaration", "kind": 1024, "flags": { @@ -6813,21 +5957,18 @@ "summary": [ { "kind": "text", - "text": "The IDs to filter the price rule's associated price set." + "text": "The price list's description." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "intrinsic", + "name": "string" } }, { - "id": 497, - "name": "rule_type_id", + "id": 462, + "name": "starts_at", "variant": "declaration", "kind": 1024, "flags": { @@ -6837,148 +5978,119 @@ "summary": [ { "kind": "text", - "text": "The IDs to filter the price rule's associated rule type." + "text": "The price list is enabled starting from this date." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 498, - 499, - 494, - 495, - 496, - 497 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 625, - "typeArguments": [ - { - "type": "reference", - "target": 493, - "name": "FilterablePriceRuleProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 442, - "name": "PriceSetMoneyAmountRulesDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A price set money amount rule's data." + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } - ] - }, - "children": [ + }, { - "id": 443, - "name": "id", + "id": 463, + "name": "ends_at", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the price set money amount." + "text": "The price list expires after this date." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } }, { - "id": 444, - "name": "price_set_money_amount", + "id": 464, + "name": "status", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The associated price set money amount." + "text": "The price list's status." } - ], - "modifierTags": [ - "@expandable" ] }, "type": { "type": "reference", - "target": 460, - "name": "PriceSetMoneyAmountDTO", + "target": 572, + "name": "PriceListStatus", "package": "@medusajs/types" } }, { - "id": 445, - "name": "rule_type", + "id": 465, + "name": "rules_count", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The associated rule type." + "text": "The number of rules associated with the price list." } - ], - "modifierTags": [ - "@expandable" ] }, "type": { - "type": "reference", - "target": 421, - "name": "RuleTypeDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "number" } }, { - "id": 446, - "name": "value", + "id": 466, + "name": "rules", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The value of the price set money amount rule." + "text": "The rules to be created and associated with the price list." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 600, + "name": "CreatePriceListRules", + "package": "@medusajs/types" } } ], @@ -6986,17 +6098,21 @@ { "title": "Properties", "children": [ - 443, - 444, - 445, - 446 + 459, + 460, + 461, + 462, + 463, + 464, + 465, + 466 ] } ] }, { - "id": 471, - "name": "CreatePriceSetMoneyAmountRulesDTO", + "id": 439, + "name": "FilterablePriceListProps", "variant": "declaration", "kind": 256, "flags": {}, @@ -7004,60 +6120,124 @@ "summary": [ { "kind": "text", - "text": "The price set money amount rule to create." + "text": "Filters to apply on price lists." } ] }, "children": [ { - "id": 472, - "name": "price_set_money_amount", + "id": 446, + "name": "$and", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of a price set money amount." + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 439, + "name": "FilterablePriceListProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 556, + "typeArguments": [ + { + "type": "reference", + "target": 439, + "name": "FilterablePriceListProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 557, + "name": "BaseFilterable.$and" } }, { - "id": 473, - "name": "rule_type", + "id": 447, + "name": "$or", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of a rule type." + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 439, + "name": "FilterablePriceListProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 556, + "typeArguments": [ + { + "type": "reference", + "target": 439, + "name": "FilterablePriceListProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 558, + "name": "BaseFilterable.$or" } }, { - "id": 474, - "name": "value", + "id": 440, + "name": "q", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The value of the price set money amount rule." + "text": "Find price lists by title or description through this search term." } ] }, @@ -7065,64 +6245,72 @@ "type": "intrinsic", "name": "string" } - } - ], - "groups": [ + }, { - "title": "Properties", - "children": [ - 472, - 473, - 474 - ] - } - ] - }, - { - "id": 475, - "name": "UpdatePriceSetMoneyAmountRulesDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The data to update in a price set money amount rule. The " + "id": 441, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "kind": "code", - "text": "`id`" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter price lists by" + } + ] }, - { - "kind": "text", - "text": " is used to identify which money amount to update." + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } - ] - }, - "children": [ + }, { - "id": 476, - "name": "id", + "id": 442, + "name": "starts_at", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the price set money amount rule to update." + "text": "The start dates to filter price lists by." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 575, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" } }, { - "id": 477, - "name": "price_set_money_amount", + "id": 443, + "name": "ends_at", "variant": "declaration", "kind": 1024, "flags": { @@ -7132,18 +6320,26 @@ "summary": [ { "kind": "text", - "text": "The ID of a price set money amount." + "text": "The end dates to filter price lists by." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 575, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" } }, { - "id": 478, - "name": "rule_type", + "id": 444, + "name": "status", "variant": "declaration", "kind": 1024, "flags": { @@ -7153,18 +6349,23 @@ "summary": [ { "kind": "text", - "text": "The ID of a rule type." + "text": "The statuses to filter price lists by." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 572, + "name": "PriceListStatus", + "package": "@medusajs/types" + } } }, { - "id": 479, - "name": "value", + "id": 445, + "name": "rules_count", "variant": "declaration", "kind": 1024, "flags": { @@ -7174,13 +6375,16 @@ "summary": [ { "kind": "text", - "text": "The value of the price set money amount rule." + "text": "The number of rules to filter price lists by." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "number" + } } } ], @@ -7188,17 +6392,37 @@ { "title": "Properties", "children": [ - 476, - 477, - 478, - 479 + 446, + 447, + 440, + 441, + 442, + 443, + 444, + 445 ] } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 556, + "typeArguments": [ + { + "type": "reference", + "target": 439, + "name": "FilterablePriceListProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } ] }, { - "id": 447, - "name": "FilterablePriceSetMoneyAmountRulesProps", + "id": 473, + "name": "FilterablePriceListRuleProps", "variant": "declaration", "kind": 256, "flags": {}, @@ -7206,13 +6430,13 @@ "summary": [ { "kind": "text", - "text": "Filters to apply on price set money amount rules." + "text": "Filters to apply on price list rules." } ] }, "children": [ { - "id": 452, + "id": 478, "name": "$and", "variant": "declaration", "kind": 1024, @@ -7234,18 +6458,18 @@ "types": [ { "type": "reference", - "target": 447, - "name": "FilterablePriceSetMoneyAmountRulesProps", + "target": 473, + "name": "FilterablePriceListRuleProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 625, + "target": 556, "typeArguments": [ { "type": "reference", - "target": 447, - "name": "FilterablePriceSetMoneyAmountRulesProps", + "target": 473, + "name": "FilterablePriceListRuleProps", "package": "@medusajs/types" } ], @@ -7257,12 +6481,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 626, + "target": 557, "name": "BaseFilterable.$and" } }, { - "id": 453, + "id": 479, "name": "$or", "variant": "declaration", "kind": 1024, @@ -7284,18 +6508,18 @@ "types": [ { "type": "reference", - "target": 447, - "name": "FilterablePriceSetMoneyAmountRulesProps", + "target": 473, + "name": "FilterablePriceListRuleProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 625, + "target": 556, "typeArguments": [ { "type": "reference", - "target": 447, - "name": "FilterablePriceSetMoneyAmountRulesProps", + "target": 473, + "name": "FilterablePriceListRuleProps", "package": "@medusajs/types" } ], @@ -7307,12 +6531,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 627, + "target": 558, "name": "BaseFilterable.$or" } }, { - "id": 448, + "id": 474, "name": "id", "variant": "declaration", "kind": 1024, @@ -7323,7 +6547,7 @@ "summary": [ { "kind": "text", - "text": "The ID to filter price set money amount rules by." + "text": "The IDs to filter price list rules by." } ] }, @@ -7336,8 +6560,8 @@ } }, { - "id": 449, - "name": "rule_type_id", + "id": 475, + "name": "value", "variant": "declaration", "kind": 1024, "flags": { @@ -7347,7 +6571,7 @@ "summary": [ { "kind": "text", - "text": "The IDs to filter the price set money amount rule's associated rule type." + "text": "The values to filter price list rules by." } ] }, @@ -7360,8 +6584,8 @@ } }, { - "id": 450, - "name": "price_set_money_amount_id", + "id": 476, + "name": "rule_type", "variant": "declaration", "kind": 1024, "flags": { @@ -7371,7 +6595,7 @@ "summary": [ { "kind": "text", - "text": "The IDs to filter the price set money amount rule's associated price set money amount." + "text": "Filter price list rules by the ID of their associated rule types." } ] }, @@ -7384,8 +6608,8 @@ } }, { - "id": 451, - "name": "value", + "id": 477, + "name": "price_list_id", "variant": "declaration", "kind": 1024, "flags": { @@ -7395,7 +6619,7 @@ "summary": [ { "kind": "text", - "text": "The value to filter price set money amount rules by." + "text": "Filter price list rules by the ID of their associated price lists." } ] }, @@ -7412,24 +6636,24 @@ { "title": "Properties", "children": [ - 452, - 453, - 448, - 449, - 450, - 451 + 478, + 479, + 474, + 475, + 476, + 477 ] } ], "extendedTypes": [ { "type": "reference", - "target": 625, + "target": 556, "typeArguments": [ { "type": "reference", - "target": 447, - "name": "FilterablePriceSetMoneyAmountRulesProps", + "target": 473, + "name": "FilterablePriceListRuleProps", "package": "@medusajs/types" } ], @@ -7439,8 +6663,8 @@ ] }, { - "id": 460, - "name": "PriceSetMoneyAmountDTO", + "id": 467, + "name": "PriceListRuleDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -7448,13 +6672,13 @@ "summary": [ { "kind": "text", - "text": "A price set money amount's data." + "text": "The price list rule's details." } ] }, "children": [ { - "id": 461, + "id": 468, "name": "id", "variant": "declaration", "kind": 1024, @@ -7463,167 +6687,37 @@ "summary": [ { "kind": "text", - "text": "The ID of a price set money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 462, - "name": "title", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The title of the price set money amount." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 463, - "name": "price_set", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price set associated with the price set money amount." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "reference", - "target": 340, - "name": "PriceSetDTO", - "package": "@medusajs/types" - } - }, - { - "id": 464, - "name": "price_list", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price list associated with the price set money amount." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "reference", - "target": 517, - "name": "PriceListDTO", - "package": "@medusajs/types" - } - }, - { - "id": 465, - "name": "price_set_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated price set." + "text": "The price list rule's ID." } ] }, "type": { "type": "intrinsic", - "name": "string" - } - }, - { - "id": 466, - "name": "price_rules", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price rules associated with the price set money amount." - } - ], - "modifierTags": [ - "@expandable" - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 480, - "name": "PriceRuleDTO", - "package": "@medusajs/types" - } + "name": "string" } }, { - "id": 467, - "name": "money_amount", + "id": 469, + "name": "value", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The money amount associated with the price set money amount." + "text": "The value of the rule." } - ], - "modifierTags": [ - "@expandable" ] }, "type": { - "type": "reference", - "target": 367, - "name": "MoneyAmountDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } }, { - "id": 468, - "name": "created_at", + "id": 470, + "name": "rule_type", "variant": "declaration", "kind": 1024, "flags": {}, @@ -7631,23 +6725,23 @@ "summary": [ { "kind": "text", - "text": "When the price_set_money_amount was created." + "text": "The associated rule type." } + ], + "modifierTags": [ + "@expandable" ] }, "type": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "target": 343, + "name": "RuleTypeDTO", + "package": "@medusajs/types" } }, { - "id": 469, - "name": "updated_at", + "id": 471, + "name": "price_list", "variant": "declaration", "kind": 1024, "flags": {}, @@ -7655,51 +6749,47 @@ "summary": [ { "kind": "text", - "text": "When the price_set_money_amount was updated." + "text": "The associated price list." } + ], + "modifierTags": [ + "@expandable" ] }, "type": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" + "target": 427, + "name": "PriceListDTO", + "package": "@medusajs/types" } }, { - "id": 470, - "name": "deleted_at", + "id": 472, + "name": "price_list_rule_values", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "When the price_set_money_amount was deleted." + "text": "The associated rule values." } + ], + "modifierTags": [ + "@expandable" ] }, "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] + "type": "array", + "elementType": { + "type": "reference", + "target": 609, + "name": "PriceListRuleValueDTO", + "package": "@medusajs/types" + } } } ], @@ -7707,23 +6797,18 @@ { "title": "Properties", "children": [ - 461, - 462, - 463, - 464, - 465, - 466, - 467, 468, 469, - 470 + 470, + 471, + 472 ] } ] }, { - "id": 454, - "name": "FilterablePriceSetMoneyAmountProps", + "id": 480, + "name": "CreatePriceListRuleDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -7731,14 +6816,14 @@ "summary": [ { "kind": "text", - "text": "Filters to apply on price set money amounts." + "text": "The price list rule to create." } ] }, "children": [ { - "id": 458, - "name": "$and", + "id": 481, + "name": "rule_type_id", "variant": "declaration", "kind": 1024, "flags": { @@ -7748,47 +6833,18 @@ "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + "text": "The ID of a rule type to be associated with the price list rule." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 454, - "name": "FilterablePriceSetMoneyAmountProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 625, - "typeArguments": [ - { - "type": "reference", - "target": 454, - "name": "FilterablePriceSetMoneyAmountProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 626, - "name": "BaseFilterable.$and" + "type": "intrinsic", + "name": "string" } }, { - "id": 459, - "name": "$or", + "id": 482, + "name": "rule_type", "variant": "declaration", "kind": 1024, "flags": { @@ -7798,94 +6854,28 @@ "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + "text": "The ID of a rule type or the details of an existing rule type to be associated with the price list rule." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 454, - "name": "FilterablePriceSetMoneyAmountProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 625, - "typeArguments": [ - { - "type": "reference", - "target": 454, - "name": "FilterablePriceSetMoneyAmountProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 627, - "name": "BaseFilterable.$or" - } - }, - { - "id": 455, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + "type": "union", + "types": [ { - "kind": "text", - "text": "The IDs to filter the price set money amounts by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 456, - "name": "price_set_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + "type": "intrinsic", + "name": "string" + }, { - "kind": "text", - "text": "The IDs to filter the price set money amount's associated price set." + "type": "reference", + "target": 343, + "name": "RuleTypeDTO", + "package": "@medusajs/types" } ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } } }, { - "id": 457, + "id": 483, "name": "price_list_id", "variant": "declaration", "kind": 1024, @@ -7896,66 +6886,18 @@ "summary": [ { "kind": "text", - "text": "The IDs to filter the price set money amount's associated price list." + "text": "The ID of a price list to be associated with the price list rule." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 458, - 459, - 455, - 456, - 457 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 625, - "typeArguments": [ - { - "type": "reference", - "target": 454, - "name": "FilterablePriceSetMoneyAmountProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 295, - "name": "PricingContext", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The context to calculate prices. For example, you can specify the currency code to calculate prices in." + "type": "intrinsic", + "name": "string" } - ] - }, - "children": [ + }, { - "id": 296, - "name": "context", + "id": 484, + "name": "price_list", "variant": "declaration", "kind": 1024, "flags": { @@ -7965,69 +6907,24 @@ "summary": [ { "kind": "text", - "text": "an object whose keys are the name of the context attribute. Its value can be a string or a number. For example, you can pass the " - }, - { - "kind": "code", - "text": "`currency_code`" - }, - { - "kind": "text", - "text": " property with its value being the currency code to calculate the price in.\nAnother example is passing the " - }, - { - "kind": "code", - "text": "`quantity`" - }, - { - "kind": "text", - "text": " property to calculate the price for that specified quantity, which finds a price set whose " - }, - { - "kind": "code", - "text": "`min_quantity`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`max_quantity`" - }, - { - "kind": "text", - "text": " conditions match the specified quantity." + "text": "The ID of a price list or the details of an existing price list to be associated with the price list rule." } ] }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + "type": "union", + "types": [ { "type": "intrinsic", "name": "string" }, { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - } - ] + "type": "reference", + "target": 427, + "name": "PriceListDTO", + "package": "@medusajs/types" } - ], - "name": "Record", - "package": "typescript" + ] } } ], @@ -8035,14 +6932,17 @@ { "title": "Properties", "children": [ - 296 + 481, + 482, + 483, + 484 ] } ] }, { - "id": 293, - "name": "PricingFilters", + "id": 485, + "name": "UpdatePriceListRuleDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -8050,13 +6950,13 @@ "summary": [ { "kind": "text", - "text": "Filters to apply on prices." + "text": "The attributes to update in a price list rule." } ] }, "children": [ { - "id": 294, + "id": 486, "name": "id", "variant": "declaration", "kind": 1024, @@ -8065,54 +6965,49 @@ "summary": [ { "kind": "text", - "text": "IDs to filter prices." + "text": "The ID of the price list rule to update." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "intrinsic", + "name": "string" } - } - ], - "groups": [ + }, { - "title": "Properties", - "children": [ - 294 - ] - } - ] - }, - { - "id": 340, - "name": "PriceSetDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A price set's data." + "id": 487, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of a price list to be associated with the price list rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "children": [ + }, { - "id": 341, - "name": "id", + "id": 488, + "name": "rule_type_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the price set." + "text": "The ID of a rule type to be associated with the price list rule." } ] }, @@ -8122,8 +7017,8 @@ } }, { - "id": 342, - "name": "money_amounts", + "id": 489, + "name": "price_list", "variant": "declaration", "kind": 1024, "flags": { @@ -8133,23 +7028,18 @@ "summary": [ { "kind": "text", - "text": "The prices that belong to this price set." + "text": "The ID of a price list to be associated with the price list rule." } ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 367, - "name": "MoneyAmountDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "string" } }, { - "id": 343, - "name": "rule_types", + "id": 490, + "name": "rule_type", "variant": "declaration", "kind": 1024, "flags": { @@ -8159,18 +7049,13 @@ "summary": [ { "kind": "text", - "text": "The rule types applied on this price set." + "text": "The ID of a rule type or the details of an existing rule type to be associated with the price list rule." } ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 421, - "name": "RuleTypeDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "string" } } ], @@ -8178,16 +7063,18 @@ { "title": "Properties", "children": [ - 341, - 342, - 343 + 486, + 487, + 488, + 489, + 490 ] } ] }, { - "id": 308, - "name": "CalculatedPriceSet", + "id": 609, + "name": "PriceListRuleValueDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -8195,13 +7082,13 @@ "summary": [ { "kind": "text", - "text": "The calculated price for a specific price set and context." + "text": "The price list rule value's details." } ] }, "children": [ { - "id": 309, + "id": 610, "name": "id", "variant": "declaration", "kind": 1024, @@ -8210,7 +7097,7 @@ "summary": [ { "kind": "text", - "text": "The ID of the price set." + "text": "The price list rule value's ID." } ] }, @@ -8220,37 +7107,27 @@ } }, { - "id": 310, - "name": "is_calculated_price_price_list", + "id": 611, + "name": "value", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "Whether the calculated price is associated with a price list. During the calculation process, if no valid price list is found,\nthe calculated price is set to the original price, which doesn't belong to a price list. In that case, the value of this property is " - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": "." + "text": "The rule's value." } ] }, "type": { "type": "intrinsic", - "name": "boolean" + "name": "string" } }, { - "id": 311, - "name": "calculated_amount", + "id": 612, + "name": "price_list_rule", "variant": "declaration", "kind": 1024, "flags": {}, @@ -8258,64 +7135,50 @@ "summary": [ { "kind": "text", - "text": "The amount of the calculated price, or " - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": " if there isn't a calculated price." + "text": "The associated price list rule." } + ], + "modifierTags": [ + "@expandable" ] }, "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] + "type": "reference", + "target": 467, + "name": "PriceListRuleDTO", + "package": "@medusajs/types" } - }, + } + ], + "groups": [ { - "id": 312, - "name": "is_original_price_price_list", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether the original price is associated with a price list. During the calculation process, if the price list of the calculated price is of type override,\nthe original price will be the same as the calculated price. In that case, the value of this property is " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" + "title": "Properties", + "children": [ + 610, + 611, + 612 + ] + } + ] + }, + { + "id": 491, + "name": "AddPriceListPricesDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices to be added to a price list." } - }, + ] + }, + "children": [ { - "id": 313, - "name": "original_amount", + "id": 492, + "name": "price_list_id", "variant": "declaration", "kind": 1024, "flags": {}, @@ -8323,35 +7186,18 @@ "summary": [ { "kind": "text", - "text": "The amount of the original price, or " - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": " if there isn't a calculated price." + "text": "The ID of the price list to add prices to." } ] }, "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] + "type": "intrinsic", + "name": "string" } }, { - "id": 314, - "name": "currency_code", + "id": 493, + "name": "prices", "variant": "declaration", "kind": 1024, "flags": {}, @@ -8359,416 +7205,186 @@ "summary": [ { "kind": "text", - "text": "The currency code of the calculated price, or null if there isn't a calculated price." + "text": "The prices to add." } ] }, "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] + "type": "array", + "elementType": { + "type": "reference", + "target": 601, + "name": "CreatePriceListPriceDTO", + "package": "@medusajs/types" + } } - }, + } + ], + "groups": [ { - "id": 315, - "name": "calculated_price", + "title": "Properties", + "children": [ + 492, + 493 + ] + } + ] + }, + { + "id": 494, + "name": "UpdatePriceListPricesDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices to be added to a price list." + } + ] + }, + "children": [ + { + "id": 495, + "name": "price_list_id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The details of the calculated price." + "text": "The ID of the price list to add prices to." } ] }, "type": { - "type": "reflection", - "declaration": { - "id": 316, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 317, - "name": "money_amount_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the money amount selected as the calculated price." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 318, - "name": "price_list_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated price list, if any." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 319, - "name": "price_list_type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The type of the associated price list, if any." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 320, - "name": "min_quantity", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`min_quantity`" - }, - { - "kind": "text", - "text": " field defined on a money amount." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 321, - "name": "max_quantity", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`max_quantity`" - }, - { - "kind": "text", - "text": " field defined on a money amount." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 317, - 318, - 319, - 320, - 321 - ] - } - ] + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 496, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices to add." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 613, + "name": "UpdatePriceListPriceDTO", + "package": "@medusajs/types" } } - }, + } + ], + "groups": [ { - "id": 322, - "name": "original_price", + "title": "Properties", + "children": [ + 495, + 496 + ] + } + ] + }, + { + "id": 497, + "name": "SetPriceListRulesDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to set in a price list." + } + ] + }, + "children": [ + { + "id": 498, + "name": "price_list_id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the price list to set its rules." + } + ] }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 499, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The details of the original price." + "text": "The rules to add to the price list. Each key of the object is a rule type's " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": ", and its value\nis the value(s) of the rule." } ] }, "type": { - "type": "reflection", - "declaration": { - "id": 323, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 324, - "name": "money_amount_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the money amount selected as the original price." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 325, - "name": "price_list_id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the associated price list, if any." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 326, - "name": "price_list_type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The type of the associated price list, if any." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 327, - "name": "min_quantity", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`min_quantity`" - }, - { - "kind": "text", - "text": " field defined on a money amount." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 328, - "name": "max_quantity", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`max_quantity`" - }, - { - "kind": "text", - "text": " field defined on a money amount." - } - ] + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 324, - 325, - 326, - 327, - 328 - ] - } - ] - } + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "name": "Record", + "package": "typescript" } } ], @@ -8776,21 +7392,15 @@ { "title": "Properties", "children": [ - 309, - 310, - 311, - 312, - 313, - 314, - 315, - 322 + 498, + 499 ] } ] }, { - "id": 362, - "name": "AddRulesDTO", + "id": 500, + "name": "RemovePriceListRulesDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -8798,14 +7408,14 @@ "summary": [ { "kind": "text", - "text": "The rules to add to a price set." + "text": "The rules to remove from a price list." } ] }, "children": [ { - "id": 363, - "name": "priceSetId", + "id": 501, + "name": "price_list_id", "variant": "declaration", "kind": 1024, "flags": {}, @@ -8813,7 +7423,7 @@ "summary": [ { "kind": "text", - "text": "The ID of the price set to add the rules to." + "text": "The ID of the price list to remove rules from." } ] }, @@ -8823,7 +7433,7 @@ } }, { - "id": 364, + "id": 502, "name": "rules", "variant": "declaration", "kind": 1024, @@ -8832,58 +7442,23 @@ "summary": [ { "kind": "text", - "text": "The rules to add to a price set." + "text": "The rules to remove from the price list. Each item being a rule type's " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": "." } ] }, "type": { "type": "array", "elementType": { - "type": "reflection", - "declaration": { - "id": 365, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 366, - "name": "attribute", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The value of the rule's " - }, - { - "kind": "code", - "text": "`rule_attribute`" - }, - { - "kind": "text", - "text": " attribute." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 366 - ] - } - ] - } + "type": "intrinsic", + "name": "string" } } } @@ -8892,15 +7467,15 @@ { "title": "Properties", "children": [ - 363, - 364 + 501, + 502 ] } ] }, { - "id": 629, - "name": "CreatePricesDTO", + "id": 393, + "name": "PriceRuleDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -8908,40 +7483,33 @@ "summary": [ { "kind": "text", - "text": "The prices to create part of a price set." + "text": "A price rule's data." } ] }, "children": [ { - "id": 631, + "id": 394, "name": "id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the money amount." + "text": "The ID of the price rule." } ] }, "type": { "type": "intrinsic", "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 384, - "name": "CreateMoneyAmountDTO.id" } }, { - "id": 632, - "name": "currency_code", + "id": 395, + "name": "price_set_id", "variant": "declaration", "kind": 1024, "flags": {}, @@ -8949,51 +7517,104 @@ "summary": [ { "kind": "text", - "text": "The currency code of this money amount." + "text": "The ID of the associated price set." } ] }, "type": { "type": "intrinsic", "name": "string" + } + }, + { + "id": 396, + "name": "price_set", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated price set." + } + ], + "modifierTags": [ + "@expandable" + ] }, - "inheritedFrom": { + "type": { "type": "reference", - "target": 385, - "name": "CreateMoneyAmountDTO.currency_code" + "target": 305, + "name": "PriceSetDTO", + "package": "@medusajs/types" } }, { - "id": 633, - "name": "currency", + "id": 397, + "name": "rule_type_id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated rule type." + } + ] }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 398, + "name": "rule_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The currency of this money amount." + "text": "The associated rule type." } + ], + "modifierTags": [ + "@expandable" ] }, "type": { "type": "reference", - "target": 411, - "name": "CreateCurrencyDTO", + "target": 343, + "name": "RuleTypeDTO", "package": "@medusajs/types" + } + }, + { + "id": 399, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The value of the price rule." + } + ] }, - "inheritedFrom": { - "type": "reference", - "target": 386, - "name": "CreateMoneyAmountDTO.currency" + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 634, - "name": "amount", + "id": 400, + "name": "priority", "variant": "declaration", "kind": 1024, "flags": {}, @@ -9001,119 +7622,132 @@ "summary": [ { "kind": "text", - "text": "The amount of this money amount." + "text": "The priority of the price rule in comparison to other applicable price rules." } ] }, "type": { "type": "intrinsic", "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "target": 387, - "name": "CreateMoneyAmountDTO.amount" } }, { - "id": 635, - "name": "min_quantity", + "id": 401, + "name": "price_id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The minimum quantity required to be purchased for this money amount to be applied." + "text": "The ID of the associated price." } ] }, "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 402, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "number" + "kind": "text", + "text": "The ID of the associated price list." } ] }, - "inheritedFrom": { - "type": "reference", - "target": 388, - "name": "CreateMoneyAmountDTO.min_quantity" + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 636, - "name": "max_quantity", + "id": 403, + "name": "created_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The maximum quantity required to be purchased for this money amount to be applied." + "text": "When the price_rule was created." } ] }, "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 404, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "number" + "kind": "text", + "text": "When the price_rule was updated." } ] }, - "inheritedFrom": { + "type": { "type": "reference", - "target": 389, - "name": "CreateMoneyAmountDTO.max_quantity" + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" } }, { - "id": 630, - "name": "rules", + "id": 405, + "name": "deleted_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The rules to add to the price. The object's keys are rule types' " - }, + "text": "When the price_rule was deleted." + } + ] + }, + "type": { + "type": "union", + "types": [ { - "kind": "code", - "text": "`rule_attribute`" + "type": "literal", + "value": null }, { - "kind": "text", - "text": " attribute, and values are the value of that rule associated with this price." + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" } ] - }, - "type": { - "type": "reference", - "target": 687, - "name": "CreatePriceSetPriceRules", - "package": "@medusajs/types" } } ], @@ -9121,28 +7755,25 @@ { "title": "Properties", "children": [ - 631, - 632, - 633, - 634, - 635, - 636, - 630 + 394, + 395, + 396, + 397, + 398, + 399, + 400, + 401, + 402, + 403, + 404, + 405 ] } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 383, - "name": "CreateMoneyAmountDTO", - "package": "@medusajs/types" - } ] }, { - "id": 359, - "name": "AddPricesDTO", + "id": 413, + "name": "CreatePriceRuleDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -9150,22 +7781,24 @@ "summary": [ { "kind": "text", - "text": "The prices to add to a price set." + "text": "A price rule to create." } ] }, "children": [ { - "id": 360, - "name": "priceSetId", + "id": 414, + "name": "price_set_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the price set to add prices to." + "text": "The ID of the associated price set." } ] }, @@ -9175,58 +7808,29 @@ } }, { - "id": 361, - "name": "prices", + "id": 415, + "name": "rule_type_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The prices to add to the price set." + "text": "The ID of the associated rule type." } ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 629, - "name": "CreatePricesDTO", - "package": "@medusajs/types" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 360, - 361 - ] - } - ] - }, - { - "id": 356, - "name": "RemovePriceSetRulesDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rules to remove from a price set." + "type": "intrinsic", + "name": "string" } - ] - }, - "children": [ + }, { - "id": 357, - "name": "id", + "id": 416, + "name": "value", "variant": "declaration", "kind": 1024, "flags": {}, @@ -9234,7 +7838,7 @@ "summary": [ { "kind": "text", - "text": "The ID of the price set." + "text": "The value of the price rule." } ] }, @@ -9244,33 +7848,45 @@ } }, { - "id": 358, - "name": "rules", + "id": 417, + "name": "priority", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The rules to remove. Each string is the " - }, - { - "kind": "code", - "text": "`rule_attribute`" - }, + "text": "The priority of the price rule in comparison to other applicable price rules." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 418, + "name": "price_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { "kind": "text", - "text": " of a rule to remove." + "text": "The ID of the associated price." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "intrinsic", + "name": "string" } } ], @@ -9278,15 +7894,18 @@ { "title": "Properties", "children": [ - 357, - 358 + 414, + 415, + 416, + 417, + 418 ] } ] }, { - "id": 349, - "name": "CreatePriceSetDTO", + "id": 419, + "name": "UpdatePriceRuleDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -9294,14 +7913,59 @@ "summary": [ { "kind": "text", - "text": "A price set to create." + "text": "The data to update in a price rule. The " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " is used to identify which price rule to update." } ] }, "children": [ { - "id": 350, - "name": "rules", + "id": 420, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 421, + "name": "price_set_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 422, + "name": "rule_type_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 423, + "name": "value", "variant": "declaration", "kind": 1024, "flags": { @@ -9311,64 +7975,18 @@ "summary": [ { "kind": "text", - "text": "The rules to associate with the price set." + "text": "The value of the price rule." } ] }, "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 351, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 352, - "name": "rule_attribute", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the value of the rule's " - }, - { - "kind": "code", - "text": "`rule_attribute`" - }, - { - "kind": "text", - "text": " attribute." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 352 - ] - } - ] - } - } + "type": "intrinsic", + "name": "string" } }, { - "id": 353, - "name": "prices", + "id": 424, + "name": "priority", "variant": "declaration", "kind": 1024, "flags": { @@ -9378,65 +7996,49 @@ "summary": [ { "kind": "text", - "text": "The prices to create and add to this price set." + "text": "The priority of the price rule in comparison to other applicable price rules." } ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 629, - "name": "CreatePricesDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "number" } - } - ], - "groups": [ + }, { - "title": "Properties", - "children": [ - 350, - 353 - ] - } - ] - }, - { - "id": 354, - "name": "UpdatePriceSetDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The data to update in a price set. The " + "id": 425, + "name": "price_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "kind": "code", - "text": "`id`" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated price." + } + ] }, - { - "kind": "text", - "text": " is used to identify which price set to update." + "type": { + "type": "intrinsic", + "name": "string" } - ] - }, - "children": [ + }, { - "id": 355, - "name": "id", + "id": 426, + "name": "price_list_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "A string indicating the ID of the price set to update." + "text": "The ID of the associated price list." } ] }, @@ -9450,14 +8052,20 @@ { "title": "Properties", "children": [ - 355 + 420, + 421, + 422, + 423, + 424, + 425, + 426 ] } ] }, { - "id": 344, - "name": "FilterablePriceSetProps", + "id": 406, + "name": "FilterablePriceRuleProps", "variant": "declaration", "kind": 256, "flags": {}, @@ -9465,13 +8073,13 @@ "summary": [ { "kind": "text", - "text": "Filters to apply on price sets." + "text": "Filters to apply on price rules." } ] }, "children": [ { - "id": 347, + "id": 411, "name": "$and", "variant": "declaration", "kind": 1024, @@ -9493,18 +8101,18 @@ "types": [ { "type": "reference", - "target": 344, - "name": "FilterablePriceSetProps", + "target": 406, + "name": "FilterablePriceRuleProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 625, + "target": 556, "typeArguments": [ { "type": "reference", - "target": 344, - "name": "FilterablePriceSetProps", + "target": 406, + "name": "FilterablePriceRuleProps", "package": "@medusajs/types" } ], @@ -9516,12 +8124,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 626, + "target": 557, "name": "BaseFilterable.$and" } }, { - "id": 348, + "id": 412, "name": "$or", "variant": "declaration", "kind": 1024, @@ -9543,18 +8151,18 @@ "types": [ { "type": "reference", - "target": 344, - "name": "FilterablePriceSetProps", + "target": 406, + "name": "FilterablePriceRuleProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 625, + "target": 556, "typeArguments": [ { "type": "reference", - "target": 344, - "name": "FilterablePriceSetProps", + "target": 406, + "name": "FilterablePriceRuleProps", "package": "@medusajs/types" } ], @@ -9566,12 +8174,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 627, + "target": 558, "name": "BaseFilterable.$or" } }, { - "id": 345, + "id": 407, "name": "id", "variant": "declaration", "kind": 1024, @@ -9582,7 +8190,7 @@ "summary": [ { "kind": "text", - "text": "IDs to filter price sets by." + "text": "The IDs to filter price rules by." } ] }, @@ -9595,8 +8203,8 @@ } }, { - "id": 346, - "name": "money_amounts", + "id": 408, + "name": "name", "variant": "declaration", "kind": 1024, "flags": { @@ -9606,15 +8214,64 @@ "summary": [ { "kind": "text", - "text": "Filters to apply on a price set's associated money amounts." + "text": "The names to filter price rules by." } ] }, "type": { - "type": "reference", - "target": 378, - "name": "FilterableMoneyAmountProps", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 409, + "name": "price_set_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the price rule's associated price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 410, + "name": "rule_type_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the price rule's associated rule type." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } } ], @@ -9622,22 +8279,24 @@ { "title": "Properties", "children": [ - 347, - 348, - 345, - 346 + 411, + 412, + 407, + 408, + 409, + 410 ] } ], "extendedTypes": [ { "type": "reference", - "target": 625, + "target": 556, "typeArguments": [ { "type": "reference", - "target": 344, - "name": "FilterablePriceSetProps", + "target": 406, + "name": "FilterablePriceRuleProps", "package": "@medusajs/types" } ], @@ -9647,8 +8306,8 @@ ] }, { - "id": 421, - "name": "RuleTypeDTO", + "id": 258, + "name": "PricingContext", "variant": "declaration", "kind": 256, "flags": {}, @@ -9656,101 +8315,79 @@ "summary": [ { "kind": "text", - "text": "A rule type's data." + "text": "The context to calculate prices. For example, you can specify the currency code to calculate prices in." } ] }, "children": [ { - "id": 422, - "name": "id", + "id": 259, + "name": "context", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the rule type." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 423, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ + "text": "an object whose keys are the name of the context attribute. Its value can be a string or a BigNumberInput. For example, you can pass the " + }, + { + "kind": "code", + "text": "`currency_code`" + }, { "kind": "text", - "text": "The display name of the rule type." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 424, - "name": "rule_attribute", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ + "text": " property with its value being the currency code to calculate the price in.\nAnother example is passing the " + }, + { + "kind": "code", + "text": "`quantity`" + }, { "kind": "text", - "text": "The unique name used to later identify the rule_attribute. For example, it can be used in the " + "text": " property to calculate the price for that specified quantity, which finds a price set whose " }, { "kind": "code", - "text": "`context`" + "text": "`min_quantity`" }, { "kind": "text", - "text": " parameter of \nthe " + "text": " and " }, { "kind": "code", - "text": "`calculatePrices`" + "text": "`max_quantity`" }, { "kind": "text", - "text": " method to specify a rule for calculating the price." + "text": " conditions match the specified quantity." } ] }, "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 425, - "name": "default_priority", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ { - "kind": "text", - "text": "The priority of the rule type. This is useful when calculating the price of a price set, and multiple rules satisfy \nthe provided context. The higher the value, the higher the priority of the rule type." + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 531, + "name": "BigNumberInput", + "package": "@medusajs/types" } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" + ], + "name": "Record", + "package": "typescript" } } ], @@ -9758,17 +8395,21 @@ { "title": "Properties", "children": [ - 422, - 423, - 424, - 425 + 259 ] } + ], + "extendedBy": [ + { + "type": "reference", + "target": 310, + "name": "FilterablePriceSetProps" + } ] }, { - "id": 432, - "name": "CreateRuleTypeDTO", + "id": 256, + "name": "PricingFilters", "variant": "declaration", "kind": 256, "flags": {}, @@ -9776,105 +8417,31 @@ "summary": [ { "kind": "text", - "text": "The rule type to create." + "text": "Filters to apply when calculating prices." } ] }, "children": [ { - "id": 433, + "id": 257, "name": "id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the rule type." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 434, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The display name of the rule type." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 435, - "name": "rule_attribute", - "variant": "declaration", - "kind": 1024, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The unique name used to later identify the rule_attribute. For example, it can be used in the " - }, - { - "kind": "code", - "text": "`context`" - }, - { - "kind": "text", - "text": " parameter of the " - }, - { - "kind": "code", - "text": "`calculatePrices`" - }, - { - "kind": "text", - "text": " \nmethod to specify a rule for calculating the price." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 436, - "name": "default_priority", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The priority of the rule type. This is useful when calculating the price of a price set, and multiple rules satisfy the provided context. \nThe higher the value, the higher the priority of the rule type." + "text": "IDs of the price sets to use in the\ncalculation." } ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } } ], @@ -9882,17 +8449,14 @@ { "title": "Properties", "children": [ - 433, - 434, - 435, - 436 + 257 ] } ] }, { - "id": 437, - "name": "UpdateRuleTypeDTO", + "id": 305, + "name": "PriceSetDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -9900,21 +8464,13 @@ "summary": [ { "kind": "text", - "text": "The data to update in a rule type. The " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " is used to identify which price set to update." + "text": "A price set's data." } ] }, "children": [ { - "id": 438, + "id": 306, "name": "id", "variant": "declaration", "kind": 1024, @@ -9923,7 +8479,7 @@ "summary": [ { "kind": "text", - "text": "The ID of the rule type to update." + "text": "The ID of the price set." } ] }, @@ -9933,8 +8489,8 @@ } }, { - "id": 439, - "name": "name", + "id": 307, + "name": "prices", "variant": "declaration", "kind": 1024, "flags": { @@ -9944,18 +8500,23 @@ "summary": [ { "kind": "text", - "text": "The display name of the rule type." + "text": "The prices that belong to this price set." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "reference", + "target": 547, + "name": "MoneyAmountDTO", + "package": "@medusajs/types" + } } }, { - "id": 440, - "name": "rule_attribute", + "id": 308, + "name": "calculated_price", "variant": "declaration", "kind": 1024, "flags": { @@ -9965,34 +8526,20 @@ "summary": [ { "kind": "text", - "text": "The unique name used to later identify the rule_attribute. For example, it can be used in the " - }, - { - "kind": "code", - "text": "`context`" - }, - { - "kind": "text", - "text": " parameter of the " - }, - { - "kind": "code", - "text": "`calculatePrices`" - }, - { - "kind": "text", - "text": " method to specify a rule for calculating the price." + "text": "The calculated price based on the context." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 272, + "name": "CalculatedPriceSet", + "package": "@medusajs/types" } }, { - "id": 441, - "name": "default_priority", + "id": 309, + "name": "rule_types", "variant": "declaration", "kind": 1024, "flags": { @@ -10002,13 +8549,18 @@ "summary": [ { "kind": "text", - "text": "The priority of the rule type. This is useful when calculating the price of a price set, and multiple rules satisfy the provided context. The higher the value, the higher the priority of the rule type." + "text": "The rule types applied on this price set." } ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "array", + "elementType": { + "type": "reference", + "target": 343, + "name": "RuleTypeDTO", + "package": "@medusajs/types" + } } } ], @@ -10016,17 +8568,17 @@ { "title": "Properties", "children": [ - 438, - 439, - 440, - 441 + 306, + 307, + 308, + 309 ] } ] }, { - "id": 426, - "name": "FilterableRuleTypeProps", + "id": 272, + "name": "CalculatedPriceSet", "variant": "declaration", "kind": 256, "flags": {}, @@ -10034,114 +8586,33 @@ "summary": [ { "kind": "text", - "text": "Filters to apply on rule types." + "text": "The calculated price for a specific price set and context." } ] }, "children": [ { - "id": 430, - "name": "$and", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 426, - "name": "FilterableRuleTypeProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 625, - "typeArguments": [ - { - "type": "reference", - "target": 426, - "name": "FilterableRuleTypeProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 626, - "name": "BaseFilterable.$and" - } - }, - { - "id": 431, - "name": "$or", + "id": 273, + "name": "id", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 426, - "name": "FilterableRuleTypeProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 625, - "typeArguments": [ - { - "type": "reference", - "target": 426, - "name": "FilterableRuleTypeProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - } + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the price set." + } + ] }, - "inheritedFrom": { - "type": "reference", - "target": 627, - "name": "BaseFilterable.$or" + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 427, - "name": "id", + "id": 274, + "name": "is_calculated_price_price_list", "variant": "declaration", "kind": 1024, "flags": { @@ -10151,45 +8622,64 @@ "summary": [ { "kind": "text", - "text": "The IDs to filter rule types by." + "text": "Whether the calculated price is associated with a price list. During the calculation process, if no valid price list is found,\nthe calculated price is set to the original price, which doesn't belong to a price list. In that case, the value of this property is " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": "." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "intrinsic", + "name": "boolean" } }, { - "id": 428, - "name": "name", + "id": 275, + "name": "calculated_amount", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The names to filter rule types by." + "text": "The amount of the calculated price, or " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": " if there isn't a calculated price." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 546, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + ] } }, { - "id": 429, - "name": "rule_attribute", + "id": 276, + "name": "is_original_price_price_list", "variant": "declaration", "kind": 1024, "flags": { @@ -10199,2961 +8689,2951 @@ "summary": [ { "kind": "text", - "text": "The rule attributes to filter rule types by." + "text": "Whether the original price is associated with a price list. During the calculation process, if the price list of the calculated price is of type override,\nthe original price will be the same as the calculated price. In that case, the value of this property is " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": "." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "intrinsic", + "name": "boolean" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 430, - 431, - 427, - 428, - 429 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 625, - "typeArguments": [ - { - "type": "reference", - "target": 426, - "name": "FilterableRuleTypeProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 1, - "name": "IPricingModuleService", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ + }, { - "id": 2, - "name": "calculatePrices", + "id": 277, + "name": "original_amount", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 3, - "name": "calculatePrices", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to calculate prices based on the provided filters and context." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The calculated prices matching the context and filters provided." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "When you calculate prices, you must at least specify the currency code:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\nasync function calculatePrice (priceSetId: string, currencyCode: string) {\n const pricingService = await initializePricingModule()\n\n const price = await pricingService.calculatePrices(\n { id: [priceSetId] },\n {\n context: {\n currency_code: currencyCode\n }\n }\n )\n\n // do something with the price or return it\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo calculate prices for specific minimum and/or maximum quantity:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\nasync function calculatePrice (priceSetId: string, currencyCode: string) {\n const pricingService = await initializePricingModule()\n\n const price = await pricingService.calculatePrices(\n { id: [priceSetId] },\n {\n context: {\n currency_code: currencyCode,\n min_quantity: 4\n }\n }\n )\n\n // do something with the price or return it\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo calculate prices for custom rule types:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\nasync function calculatePrice (priceSetId: string, currencyCode: string) {\n const pricingService = await initializePricingModule()\n\n const price = await pricingService.calculatePrices(\n { id: [priceSetId] },\n {\n context: {\n currency_code: currencyCode,\n region_id: \"US\"\n }\n }\n )\n\n // do something with the price or return it\n}\n```" - } - ] - } - ] + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of the original price, or " }, - "parameters": [ - { - "id": 4, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filters to apply on prices." - } - ] - }, - "type": { - "type": "reference", - "target": 293, - "name": "PricingFilters", - "package": "@medusajs/types" - } - }, - { - "id": 5, - "name": "context", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The context used to select the prices. For example, you can specify the region ID in this context, and only prices having the same value\nwill be retrieved." - } - ] - }, - "type": { - "type": "reference", - "target": 295, - "name": "PricingContext", - "package": "@medusajs/types" - } - }, - { - "id": 6, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 297, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": " if there isn't a calculated price." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 308, - "name": "CalculatedPriceSet", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "target": 546, + "name": "BigNumberValue", + "package": "@medusajs/types" } - } - ] + ] + } }, { - "id": 7, - "name": "retrieve", + "id": 278, + "name": "currency_code", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 8, - "name": "retrieve", - "variant": "signature", - "kind": 4096, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of the calculated price, or null if there isn't a calculated price." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 279, + "name": "calculated_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the calculated price." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 280, + "name": "__type", + "variant": "declaration", + "kind": 65536, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a price set by its ID." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ + "children": [ + { + "id": 281, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { "kind": "text", - "text": "The retrieved price set." + "text": "The ID of the price selected as the calculated price." } ] }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "A simple example that retrieves a price set by its ID:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSet (priceSetId: string) {\n const pricingService = await initializePricingModule()\n\n const priceSet = await pricingService.retrieve(\n priceSetId\n )\n\n // do something with the price set or return it\n}\n```" - }, + "type": { + "type": "union", + "types": [ { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved:\n\n" + "type": "literal", + "value": null }, { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSet (priceSetId: string) {\n const pricingService = await initializePricingModule()\n\n const priceSet = await pricingService.retrieve(\n priceSetId,\n {\n relations: [\"money_amounts\"]\n }\n )\n\n // do something with the price set or return it\n}\n```" + "type": "intrinsic", + "name": "string" } ] } - ] - }, - "parameters": [ + }, { - "id": 9, - "name": "id", - "variant": "param", - "kind": 32768, + "id": 282, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the price set to retrieve." + "text": "The ID of the associated price list, if any." } ] }, "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 10, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the price set is retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, + "type": "union", + "types": [ { - "kind": "code", - "text": "`relations`" + "type": "literal", + "value": null }, { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a price set." + "type": "intrinsic", + "name": "string" } ] - }, - "type": { - "type": "reference", - "target": 329, - "typeArguments": [ - { - "type": "reference", - "target": 340, - "name": "PriceSetDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" } }, { - "id": 11, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, + "id": 283, + "name": "price_list_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 297, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 340, - "name": "PriceSetDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 12, - "name": "list", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 13, - "name": "list", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a paginated list of price sets based on optional filters and configuration." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ + "summary": [ { "kind": "text", - "text": "The list of price sets." + "text": "The type of the associated price list, if any." } ] }, - { - "tag": "@example", - "content": [ + "type": { + "type": "union", + "types": [ { - "kind": "text", - "text": "To retrieve a list of price sets using their IDs:\n\n" + "type": "literal", + "value": null }, { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSets (priceSetIds: string[]) {\n const pricingService = await initializePricingModule()\n\n const priceSets = await pricingService.list(\n {\n id: priceSetIds\n },\n )\n\n // do something with the price sets or return them\n}\n```" - }, + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 284, + "name": "min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the price sets:\n\n" + "text": "The " }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSets (priceSetIds: string[]) {\n const pricingService = await initializePricingModule()\n\n const priceSets = await pricingService.list(\n {\n id: priceSetIds\n },\n {\n relations: [\"money_amounts\"]\n }\n )\n\n // do something with the price sets or return them\n}\n```" + "text": "`min_quantity`" }, { "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, + "text": " field defined on a price." + } + ] + }, + "type": { + "type": "union", + "types": [ { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " + "type": "literal", + "value": null }, { - "kind": "code", - "text": "`skip`" - }, + "type": "reference", + "target": 546, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 285, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { "kind": "text", - "text": " and " + "text": "The " }, { "kind": "code", - "text": "`take`" + "text": "`max_quantity`" }, { "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, + "text": " field defined on a price." + } + ] + }, + "type": { + "type": "union", + "types": [ { - "kind": "text", - "text": " parameter:\n\n" + "type": "literal", + "value": null }, { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSets (priceSetIds: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const priceSets = await pricingService.list(\n {\n id: priceSetIds\n },\n {\n relations: [\"money_amounts\"],\n skip,\n take\n }\n )\n\n // do something with the price sets or return them\n}\n```" - }, + "type": "reference", + "target": 546, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 281, + 282, + 283, + 284, + 285 + ] + } + ] + } + } + }, + { + "id": 286, + "name": "original_price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The details of the original price." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 287, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 288, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, + "text": "The ID of the price selected as the original price." + } + ] + }, + "type": { + "type": "union", + "types": [ { - "kind": "text", - "text": " or " + "type": "literal", + "value": null }, { - "kind": "code", - "text": "`$or`" - }, + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 289, + "name": "price_list_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, + "text": "The ID of the associated price list, if any." + } + ] + }, + "type": { + "type": "union", + "types": [ { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" + "type": "literal", + "value": null }, { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSets (priceSetIds: string[], moneyAmountIds: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const priceSets = await pricingService.list(\n {\n $and: [\n {\n id: priceSetIds\n },\n {\n money_amounts: {\n id: moneyAmountIds\n }\n }\n ]\n },\n {\n relations: [\"money_amounts\"],\n skip,\n take\n }\n )\n\n // do something with the price sets or return them\n}\n```" + "type": "intrinsic", + "name": "string" } ] } - ] - }, - "parameters": [ + }, { - "id": 14, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, + "id": 290, + "name": "price_list_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The filters to apply on the retrieved price lists." + "text": "The type of the associated price list, if any." } ] }, "type": { - "type": "reference", - "target": 344, - "name": "FilterablePriceSetProps", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } }, { - "id": 15, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, + "id": 291, + "name": "min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The configurations determining how the price sets are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " + "text": "The " }, { "kind": "code", - "text": "`relations`" + "text": "`min_quantity`" }, { "kind": "text", - "text": ", accept the\nattributes or relations associated with a price set." + "text": " field defined on a price." } ] }, "type": { - "type": "reference", - "target": 329, - "typeArguments": [ + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, { "type": "reference", - "target": 340, - "name": "PriceSetDTO", + "target": 546, + "name": "BigNumberValue", "package": "@medusajs/types" } - ], - "name": "FindConfig", - "package": "@medusajs/types" + ] } }, { - "id": 16, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, + "id": 292, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." + "text": "The " + }, + { + "kind": "code", + "text": "`max_quantity`" + }, + { + "kind": "text", + "text": " field defined on a price." } ] }, "type": { - "type": "reference", - "target": 297, - "name": "Context", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 546, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + ] } } ], - "type": { + "groups": [ + { + "title": "Properties", + "children": [ + 288, + 289, + 290, + 291, + 292 + ] + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 273, + 274, + 275, + 276, + 277, + 278, + 279, + 286 + ] + } + ] + }, + { + "id": 338, + "name": "AddRulesDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to add to a price set." + } + ] + }, + "children": [ + { + "id": 339, + "name": "priceSetId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the price set to add the rules to." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 340, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to add to a price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 341, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 342, + "name": "attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The value of the rule's " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": " attribute." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 342 + ] + } + ] + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 339, + 340 + ] + } + ] + }, + { + "id": 565, + "name": "CreatePricesDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices to create part of a price set." + } + ] + }, + "children": [ + { + "id": 567, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the money amount." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 668, + "name": "CreateMoneyAmountDTO.id" + } + }, + { + "id": 568, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of this money amount." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 669, + "name": "CreateMoneyAmountDTO.currency_code" + } + }, + { + "id": 569, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The amount of this money amount." + } + ] + }, + "type": { + "type": "reference", + "target": 531, + "name": "BigNumberInput", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 670, + "name": "CreateMoneyAmountDTO.amount" + } + }, + { + "id": 570, + "name": "min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The minimum quantity required to be purchased for this money amount to be applied." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 340, - "name": "PriceSetDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "target": 531, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 671, + "name": "CreateMoneyAmountDTO.min_quantity" + } + }, + { + "id": 571, + "name": "max_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The maximum quantity required to be purchased for this money amount to be applied." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 531, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 672, + "name": "CreateMoneyAmountDTO.max_quantity" + } + }, + { + "id": 566, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to add to the price. The object's keys are rule types' " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": " attribute, and values are the value of that rule associated with this price." + } + ] + }, + "type": { + "type": "reference", + "target": 673, + "name": "CreatePriceSetPriceRules", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 567, + 568, + 569, + 570, + 571, + 566 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 667, + "name": "CreateMoneyAmountDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 335, + "name": "AddPricesDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices to add to a price set." + } + ] + }, + "children": [ + { + "id": 336, + "name": "priceSetId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the price set to add prices to." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 337, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices to add to the price set." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 565, + "name": "CreatePricesDTO", + "package": "@medusajs/types" } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 336, + 337 ] + } + ] + }, + { + "id": 332, + "name": "RemovePriceSetRulesDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to remove from a price set." + } + ] + }, + "children": [ + { + "id": 333, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the price set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 17, - "name": "listAndCount", + "id": 334, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to remove. Each string is the " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": " of a rule to remove." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 333, + 334 + ] + } + ] + }, + { + "id": 316, + "name": "CreatePriceSetDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A price set to create." + } + ] + }, + "children": [ + { + "id": 317, + "name": "rules", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 18, - "name": "listAndCount", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to associate with the price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 318, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "kind": "text", - "text": "This method is used to retrieve a paginated list of price sets along with the total count of available price sets satisfying the provided filters." + "id": 319, + "name": "rule_attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the value of the rule's " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": " attribute." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } } ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of price sets along with their total count." - } - ] - }, + "groups": [ { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To retrieve a list of prices sets using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSets (priceSetIds: string[]) {\n const pricingService = await initializePricingModule()\n\n const [priceSets, count] = await pricingService.listAndCount(\n {\n id: priceSetIds\n },\n )\n\n // do something with the price sets or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the price sets:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSets (priceSetIds: string[]) {\n const pricingService = await initializePricingModule()\n\n const [priceSets, count] = await pricingService.listAndCount(\n {\n id: priceSetIds\n },\n {\n relations: [\"money_amounts\"]\n }\n )\n\n // do something with the price sets or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSets (priceSetIds: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const [priceSets, count] = await pricingService.listAndCount(\n {\n id: priceSetIds\n },\n {\n relations: [\"money_amounts\"],\n skip,\n take\n }\n )\n\n // do something with the price sets or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSets (priceSetIds: string[], moneyAmountIds: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const [priceSets, count] = await pricingService.listAndCount(\n {\n $and: [\n {\n id: priceSetIds\n },\n {\n money_amounts: {\n id: moneyAmountIds\n }\n }\n ]\n },\n {\n relations: [\"money_amounts\"],\n skip,\n take\n }\n )\n\n // do something with the price sets or return them\n}\n```" - } + "title": "Properties", + "children": [ + 319 ] } ] - }, - "parameters": [ - { - "id": 19, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filters to apply on the retrieved price lists." - } - ] - }, - "type": { - "type": "reference", - "target": 344, - "name": "FilterablePriceSetProps", - "package": "@medusajs/types" - } - }, - { - "id": 20, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the price sets are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a price set." - } - ] - }, - "type": { - "type": "reference", - "target": 329, - "typeArguments": [ - { - "type": "reference", - "target": 340, - "name": "PriceSetDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 21, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 297, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ + } + } + } + }, + { + "id": 320, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices to create and add to this price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 565, + "name": "CreatePricesDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 317, + 320 + ] + } + ] + }, + { + "id": 321, + "name": "UpsertPriceSetDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to upsert in a price set." + } + ] + }, + "children": [ + { + "id": 322, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A string indicating the ID of the price set to update.\nIf not provided, a price set is created." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 323, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to associate with the price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 324, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 340, - "name": "PriceSetDTO", - "package": "@medusajs/types" + "id": 325, + "name": "rule_attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the value of the rule's " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": " attribute." } - }, - { - "type": "intrinsic", - "name": "number" - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } } ], - "name": "Promise", - "package": "typescript" + "groups": [ + { + "title": "Properties", + "children": [ + 325 + ] + } + ] } } - ] + }, + "inheritedFrom": { + "type": "reference", + "target": 328, + "name": "UpdatePriceSetDTO.rules" + } }, { - "id": 22, - "name": "create", + "id": 326, + "name": "prices", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 23, - "name": "create", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices to create and add to this price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 565, + "name": "CreatePricesDTO", + "package": "@medusajs/types" + } + }, + "inheritedFrom": { + "type": "reference", + "target": 331, + "name": "UpdatePriceSetDTO.prices" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 322, + 323, + 326 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 327, + "name": "UpdatePriceSetDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 327, + "name": "UpdatePriceSetDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to update in a price set." + } + ] + }, + "children": [ + { + "id": 328, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to associate with the price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 329, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "kind": "text", - "text": "This method is used to create a new price set." + "id": 330, + "name": "rule_attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the value of the rule's " + }, + { + "kind": "code", + "text": "`rule_attribute`" + }, + { + "kind": "text", + "text": " attribute." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } } ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The created price set." - } - ] - }, + "groups": [ { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To create a default price set, don't pass any rules. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function createPriceSet () {\n const pricingService = await initializePricingModule()\n\n const priceSet = await pricingService.create(\n {\n rules: [],\n prices: [\n {\n amount: 500,\n currency_code: \"USD\",\n min_quantity: 0,\n max_quantity: 4,\n rules: {},\n },\n {\n amount: 400,\n currency_code: \"USD\",\n min_quantity: 5,\n max_quantity: 10,\n rules: {},\n },\n ],\n },\n )\n\n // do something with the price set or return it\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo create a price set and associate it with rule types:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function createPriceSet () {\n const pricingService = await initializePricingModule()\n\n const priceSet = await pricingService.create(\n {\n rules: [{ rule_attribute: \"region_id\" }, { rule_attribute: \"city\" }],\n prices: [\n {\n amount: 300,\n currency_code: \"EUR\",\n rules: {\n region_id: \"PL\",\n city: \"krakow\"\n },\n },\n {\n amount: 400,\n currency_code: \"EUR\",\n rules: {\n region_id: \"PL\"\n },\n },\n {\n amount: 450,\n currency_code: \"EUR\",\n rules: {\n city: \"krakow\"\n },\n }\n ],\n },\n )\n\n // do something with the price set or return it\n}\n```" - } + "title": "Properties", + "children": [ + 330 ] } ] - }, - "parameters": [ + } + } + } + }, + { + "id": 331, + "name": "prices", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The prices to create and add to this price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 565, + "name": "CreatePricesDTO", + "package": "@medusajs/types" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 328, + 331 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 321, + "name": "UpsertPriceSetDTO" + } + ] + }, + { + "id": 310, + "name": "FilterablePriceSetProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters to apply on price sets." + } + ] + }, + "children": [ + { + "id": 313, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ { - "id": 24, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The attributes of the price set to create." - } - ] - }, - "type": { - "type": "reference", - "target": 349, - "name": "CreatePriceSetDTO", - "package": "@medusajs/types" - } + "type": "reference", + "target": 310, + "name": "FilterablePriceSetProps", + "package": "@medusajs/types" }, { - "id": 25, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 297, - "name": "Context", - "package": "@medusajs/types" - } + "type": "reference", + "target": 556, + "typeArguments": [ + { + "type": "reference", + "target": 310, + "name": "FilterablePriceSetProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 340, - "name": "PriceSetDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 557, + "name": "BaseFilterable.$and" + } + }, + { + "id": 314, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." } - }, - { - "id": 26, - "name": "create", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to create multiple price sets." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of created price sets." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To create price sets with a default price, don't pass any rules and make sure to pass the " - }, - { - "kind": "code", - "text": "`currency_code`" - }, - { - "kind": "text", - "text": " of the price. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function createPriceSets () {\n const pricingService = await initializePricingModule()\n\n const priceSets = await pricingService.create([\n {\n rules: [],\n prices: [\n {\n amount: 500,\n currency_code: \"USD\",\n rules: {},\n },\n ],\n },\n ])\n\n // do something with the price sets or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo create price sets and associate them with rule types:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function createPriceSets () {\n const pricingService = await initializePricingModule()\n\n const priceSets = await pricingService.create([\n {\n rules: [{ rule_attribute: \"region_id\" }, { rule_attribute: \"city\" }],\n prices: [\n {\n amount: 300,\n currency_code: \"EUR\",\n rules: {\n region_id: \"PL\",\n city: \"krakow\"\n },\n },\n {\n amount: 400,\n currency_code: \"EUR\",\n min_quantity: 0,\n max_quantity: 4,\n rules: {\n region_id: \"PL\"\n },\n },\n {\n amount: 450,\n currency_code: \"EUR\",\n rules: {\n city: \"krakow\"\n },\n }\n ],\n },\n ])\n\n // do something with the price sets or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ { - "id": 27, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The price sets to create." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 349, - "name": "CreatePriceSetDTO", - "package": "@medusajs/types" - } - } + "type": "reference", + "target": 310, + "name": "FilterablePriceSetProps", + "package": "@medusajs/types" }, { - "id": 28, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 297, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { + "type": "reference", + "target": 556, + "typeArguments": [ + { "type": "reference", - "target": 340, - "name": "PriceSetDTO", + "target": 310, + "name": "FilterablePriceSetProps", "package": "@medusajs/types" } - } - ], - "name": "Promise", - "package": "typescript" + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 558, + "name": "BaseFilterable.$or" + } + }, + { + "id": 315, + "name": "context", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an object whose keys are the name of the context attribute. Its value can be a string or a BigNumberInput. For example, you can pass the " + }, + { + "kind": "code", + "text": "`currency_code`" + }, + { + "kind": "text", + "text": " property with its value being the currency code to calculate the price in.\nAnother example is passing the " + }, + { + "kind": "code", + "text": "`quantity`" + }, + { + "kind": "text", + "text": " property to calculate the price for that specified quantity, which finds a price set whose " + }, + { + "kind": "code", + "text": "`min_quantity`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`max_quantity`" + }, + { + "kind": "text", + "text": " conditions match the specified quantity." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": 531, + "name": "BigNumberInput", + "package": "@medusajs/types" + } + ], + "name": "Record", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 259, + "name": "PricingContext.context" + } + }, + { + "id": 311, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "IDs to filter price sets by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 312, + "name": "money_amounts", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters to apply on a price set's associated money amounts." + } + ] + }, + "type": { + "type": "reference", + "target": 560, + "name": "FilterableMoneyAmountProps", + "package": "@medusajs/types" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 313, + 314, + 315, + 311, + 312 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 556, + "typeArguments": [ + { + "type": "reference", + "target": 310, + "name": "FilterablePriceSetProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 258, + "name": "PricingContext", + "package": "@medusajs/types" + } + ] + }, + { + "id": 373, + "name": "PriceDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A price's data." + } + ] + }, + "children": [ + { + "id": 374, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of a price." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 375, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the price." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 33, - "name": "removeRules", + "id": 376, + "name": "currency_code", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 34, - "name": "removeRules", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method remove rules from a price set." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "Resolves when rules are successfully removed." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function removePriceSetRule (priceSetId: string, ruleAttributes: []) {\n const pricingService = await initializePricingModule()\n\n await pricingService.removeRules([\n {\n id: priceSetId,\n rules: ruleAttributes\n },\n ])\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 35, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The rules to remove per price set." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 356, - "name": "RemovePriceSetRulesDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 36, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 297, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The currency code of this price." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 37, - "name": "delete", + "id": 377, + "name": "amount", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 38, - "name": "delete", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method deletes price sets by their IDs." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "Resolves when the price sets are successfully deleted." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function removePriceSetRule (priceSetIds: string[]) {\n const pricingService = await initializePricingModule()\n\n await pricingService.delete(priceSetIds)\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 39, - "name": "ids", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IDs of the price sets to delete." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 40, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 297, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price of this price." + } + ] + }, + "type": { + "type": "reference", + "target": 546, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 378, + "name": "min_quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The minimum quantity required to be purchased for this price to be applied." } - } - ] + ] + }, + "type": { + "type": "reference", + "target": 546, + "name": "BigNumberValue", + "package": "@medusajs/types" + } }, { - "id": 41, - "name": "addPrices", + "id": 379, + "name": "max_quantity", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 42, - "name": "addPrices", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method adds prices to a price set." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The price set that the prices were added to." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To add a default price to a price set, don't pass it any rules and make sure to pass it the " - }, - { - "kind": "code", - "text": "`currency_code`" - }, - { - "kind": "text", - "text": ":\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function addPricesToPriceSet (priceSetId: string) {\n const pricingService = await initializePricingModule()\n\n const priceSet = await pricingService.addPrices({\n priceSetId,\n prices: [\n {\n amount: 500,\n currency_code: \"USD\",\n rules: {},\n },\n ],\n })\n\n // do something with the price set or return it\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo add prices with rules:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function addPricesToPriceSet (priceSetId: string) {\n const pricingService = await initializePricingModule()\n\n const priceSet = await pricingService.addPrices({\n priceSetId,\n prices: [\n {\n amount: 300,\n currency_code: \"EUR\",\n rules: {\n region_id: \"PL\",\n city: \"krakow\"\n },\n },\n {\n amount: 400,\n currency_code: \"EUR\",\n min_quantity: 0,\n max_quantity: 4,\n rules: {\n region_id: \"PL\"\n },\n },\n {\n amount: 450,\n currency_code: \"EUR\",\n rules: {\n city: \"krakow\"\n },\n }\n ],\n })\n\n // do something with the price set or return it\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 43, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The data defining the price set to add the prices to, along with the prices to add." - } - ] - }, - "type": { - "type": "reference", - "target": 359, - "name": "AddPricesDTO", - "package": "@medusajs/types" - } - }, - { - "id": 44, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 297, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 340, - "name": "PriceSetDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" - } - }, - { - "id": 45, - "name": "addPrices", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method adds prices to multiple price sets." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of the price sets that prices were added to." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To add a default price to a price set, don't pass it any rules and make sure to pass it the " - }, - { - "kind": "code", - "text": "`currency_code`" - }, - { - "kind": "text", - "text": ":\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function addPricesToPriceSet (priceSetId: string) {\n const pricingService = await initializePricingModule()\n\n const priceSets = await pricingService.addPrices([{\n priceSetId,\n prices: [\n {\n amount: 500,\n currency_code: \"USD\",\n rules: {},\n },\n ],\n }])\n\n // do something with the price sets or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo add prices with rules:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function addPricesToPriceSet (priceSetId: string) {\n const pricingService = await initializePricingModule()\n\n const priceSets = await pricingService.addPrices([{\n priceSetId,\n prices: [\n {\n amount: 300,\n currency_code: \"EUR\",\n rules: {\n region_id: \"PL\",\n city: \"krakow\"\n },\n },\n {\n amount: 400,\n currency_code: \"EUR\",\n min_quantity: 0,\n max_quantity: 4,\n rules: {\n region_id: \"PL\"\n },\n },\n {\n amount: 450,\n currency_code: \"EUR\",\n rules: {\n city: \"krakow\"\n },\n }\n ],\n }])\n\n // do something with the price sets or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 46, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The data defining the prices to add per price set." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 359, - "name": "AddPricesDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 47, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 297, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 340, - "name": "PriceSetDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The maximum quantity required to be purchased for this price to be applied." + } + ] + }, + "type": { + "type": "reference", + "target": 546, + "name": "BigNumberValue", + "package": "@medusajs/types" + } + }, + { + "id": 380, + "name": "price_set", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price set associated with the price." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 305, + "name": "PriceSetDTO", + "package": "@medusajs/types" + } + }, + { + "id": 381, + "name": "price_list", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price list associated with the price." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "reference", + "target": 427, + "name": "PriceListDTO", + "package": "@medusajs/types" + } + }, + { + "id": 382, + "name": "price_set_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated price set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 383, + "name": "price_rules", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The price rules associated with the price." } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 393, + "name": "PriceRuleDTO", + "package": "@medusajs/types" } - ] + } }, { - "id": 48, - "name": "addRules", + "id": 384, + "name": "created_at", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 49, - "name": "addRules", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method adds rules to a price set." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The price set that the rules were added to." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function addRulesToPriceSet (priceSetId: string) {\n const pricingService = await initializePricingModule()\n\n const priceSet = await pricingService.addRules({\n priceSetId,\n rules: [{\n attribute: \"region_id\"\n }]\n })\n\n // do something with the price set or return it\n}\n```" - } - ] - } - ] + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the price was created." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 385, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the price was updated." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 386, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the price was deleted." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "parameters": [ - { - "id": 50, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The data defining the price set to add the rules to, along with the rules to add." - } - ] - }, - "type": { - "type": "reference", - "target": 362, - "name": "AddRulesDTO", - "package": "@medusajs/types" - } - }, - { - "id": 51, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 297, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 340, - "name": "PriceSetDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", "package": "typescript" } - }, - { - "id": 52, - "name": "addRules", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method adds rules to multiple price sets." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of the price sets that the rules were added to." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function addRulesToPriceSet (priceSetId: string) {\n const pricingService = await initializePricingModule()\n\n const priceSets = await pricingService.addRules([{\n priceSetId,\n rules: [{\n attribute: \"region_id\"\n }]\n }])\n\n // do something with the price sets or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 374, + 375, + 376, + 377, + 378, + 379, + 380, + 381, + 382, + 383, + 384, + 385, + 386 + ] + } + ] + }, + { + "id": 366, + "name": "FilterablePriceProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters to apply on prices." + } + ] + }, + "children": [ + { + "id": 371, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ { - "id": 53, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The data defining the rules to add per price set." - } - ] - }, - "type": { - "type": "array", - "elementType": { + "type": "reference", + "target": 366, + "name": "FilterablePriceProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 556, + "typeArguments": [ + { "type": "reference", - "target": 362, - "name": "AddRulesDTO", + "target": 366, + "name": "FilterablePriceProps", "package": "@medusajs/types" } - } - }, - { - "id": 54, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 297, - "name": "Context", - "package": "@medusajs/types" - } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 557, + "name": "BaseFilterable.$and" + } + }, + { + "id": 372, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 366, + "name": "FilterablePriceProps", + "package": "@medusajs/types" }, - "typeArguments": [ - { - "type": "array", - "elementType": { + { + "type": "reference", + "target": 556, + "typeArguments": [ + { "type": "reference", - "target": 340, - "name": "PriceSetDTO", + "target": 366, + "name": "FilterablePriceProps", "package": "@medusajs/types" } - } - ], - "name": "Promise", - "package": "typescript" + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 558, + "name": "BaseFilterable.$or" + } + }, + { + "id": 367, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the prices by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 368, + "name": "currency_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Currency codes to filter price by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 369, + "name": "price_set_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the price's associated price set." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" } - ] + } }, { - "id": 55, - "name": "retrieveMoneyAmount", + "id": 370, + "name": "price_list_id", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 56, - "name": "retrieveMoneyAmount", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method retrieves a money amount by its ID." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The retrieved money amount." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To retrieve a money amount by its ID:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveMoneyAmount (moneyAmountId: string) {\n const pricingService = await initializePricingModule()\n\n const moneyAmount = await pricingService.retrieveMoneyAmount(\n moneyAmountId,\n )\n\n // do something with the money amount or return it\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo retrieve relations along with the money amount:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveMoneyAmount (moneyAmountId: string) {\n const pricingService = await initializePricingModule()\n\n const moneyAmount = await pricingService.retrieveMoneyAmount(\n moneyAmountId,\n {\n relations: [\"currency\"]\n }\n )\n\n // do something with the money amount or return it\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 57, - "name": "id", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the money amount to retrieve." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 58, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how a money amount is retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a money amount." - } - ] - }, - "type": { - "type": "reference", - "target": 329, - "typeArguments": [ - { - "type": "reference", - "target": 367, - "name": "MoneyAmountDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 59, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 297, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 367, - "name": "MoneyAmountDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter the price's associated price list." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 371, + 372, + 367, + 368, + 369, + 370 ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 556, + "typeArguments": [ + { + "type": "reference", + "target": 366, + "name": "FilterablePriceProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 343, + "name": "RuleTypeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A rule type's data." + } + ] + }, + "children": [ + { + "id": 344, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the rule type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 345, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The display name of the rule type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 60, - "name": "listMoneyAmounts", + "id": 346, + "name": "rule_attribute", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 61, - "name": "listMoneyAmounts", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a paginated list of money amounts based on optional filters and configuration." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of money amounts." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To retrieve a list of money amounts using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveMoneyAmounts (moneyAmountIds: string[]) {\n const pricingService = await initializePricingModule()\n\n const moneyAmounts = await pricingService.listMoneyAmounts(\n {\n id: moneyAmountIds\n }\n )\n\n // do something with the money amounts or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the money amounts:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveMoneyAmounts (moneyAmountIds: string[]) {\n const pricingService = await initializePricingModule()\n\n const moneyAmounts = await pricingService.listMoneyAmounts(\n {\n id: moneyAmountIds\n },\n {\n relations: [\"currency\"]\n }\n )\n\n // do something with the money amounts or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveMoneyAmounts (moneyAmountIds: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const moneyAmounts = await pricingService.listMoneyAmounts(\n {\n id: moneyAmountIds\n },\n {\n relations: [\"currency\"],\n skip,\n take\n }\n )\n\n // do something with the money amounts or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveMoneyAmounts (moneyAmountIds: string[], currencyCode: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const moneyAmounts = await pricingService.listMoneyAmounts(\n {\n $and: [\n {\n id: moneyAmountIds\n },\n {\n currency_code: currencyCode\n }\n ]\n },\n {\n relations: [\"currency\"],\n skip,\n take\n }\n )\n\n // do something with the money amounts or return them\n}\n```" - } - ] - } - ] + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique name used to later identify the rule_attribute. For example, it can be used in the " }, - "parameters": [ - { - "id": 62, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filtes to apply on the retrieved money amounts." - } - ] - }, - "type": { - "type": "reference", - "target": 378, - "name": "FilterableMoneyAmountProps", - "package": "@medusajs/types" - } - }, - { - "id": 63, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the money amounts are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a money amount." - } - ] - }, - "type": { - "type": "reference", - "target": 329, - "typeArguments": [ - { - "type": "reference", - "target": 367, - "name": "MoneyAmountDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 64, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 297, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { + { + "kind": "code", + "text": "`context`" + }, + { + "kind": "text", + "text": " parameter of\nthe " + }, + { + "kind": "code", + "text": "`calculatePrices`" + }, + { + "kind": "text", + "text": " method to specify a rule for calculating the price." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 347, + "name": "default_priority", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The priority of the rule type. This is useful when calculating the price of a price set, and multiple rules satisfy\nthe provided context. The higher the value, the higher the priority of the rule type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 348, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the rule type." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { "type": "reference", "target": { "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" + "qualifiedName": "Date" }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 367, - "name": "MoneyAmountDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", + "name": "Date", "package": "typescript" } - } - ] + ] + } }, { - "id": 65, - "name": "listAndCountMoneyAmounts", + "id": 349, + "name": "updated_at", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 66, - "name": "listAndCountMoneyAmounts", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a paginated list of money amounts along with the total count of available money amounts satisfying the provided filters." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of money amounts along with their total count." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To retrieve a list of money amounts using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveMoneyAmounts (moneyAmountIds: string[]) {\n const pricingService = await initializePricingModule()\n\n const [moneyAmounts, count] = await pricingService.listAndCountMoneyAmounts(\n {\n id: moneyAmountIds\n }\n )\n\n // do something with the money amounts or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the money amounts:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveMoneyAmounts (moneyAmountIds: string[]) {\n const pricingService = await initializePricingModule()\n\n const [moneyAmounts, count] = await pricingService.listAndCountMoneyAmounts(\n {\n id: moneyAmountIds\n },\n {\n relations: [\"currency\"]\n }\n )\n\n // do something with the money amounts or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveMoneyAmounts (moneyAmountIds: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const [moneyAmounts, count] = await pricingService.listAndCountMoneyAmounts(\n {\n id: moneyAmountIds\n },\n {\n relations: [\"currency\"],\n skip,\n take\n }\n )\n\n // do something with the money amounts or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveMoneyAmounts (moneyAmountIds: string[], currencyCode: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const [moneyAmounts, count] = await pricingService.listAndCountMoneyAmounts(\n {\n $and: [\n {\n id: moneyAmountIds\n },\n {\n currency_code: currencyCode\n }\n ]\n },\n {\n relations: [\"currency\"],\n skip,\n take\n }\n )\n\n // do something with the money amounts or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 67, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filters to apply on the retrieved money amounts." - } - ] - }, - "type": { - "type": "reference", - "target": 378, - "name": "FilterableMoneyAmountProps", - "package": "@medusajs/types" - } - }, - { - "id": 68, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the money amounts are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a money amount." - } - ] - }, - "type": { - "type": "reference", - "target": 329, - "typeArguments": [ - { - "type": "reference", - "target": 367, - "name": "MoneyAmountDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 69, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 297, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 367, - "name": "MoneyAmountDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - ], - "name": "Promise", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the rule type." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", "package": "typescript" } - } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 344, + 345, + 346, + 347, + 348, + 349 ] + } + ] + }, + { + "id": 356, + "name": "CreateRuleTypeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rule type to create." + } + ] + }, + "children": [ + { + "id": 357, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the rule type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 70, - "name": "createMoneyAmounts", + "id": 358, + "name": "name", "variant": "declaration", - "kind": 2048, + "kind": 1024, "flags": {}, - "signatures": [ - { - "id": 71, - "name": "createMoneyAmounts", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method creates money amounts." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of created money amounts." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveMoneyAmounts () {\n const pricingService = await initializePricingModule()\n\n const moneyAmounts = await pricingService.createMoneyAmounts([\n {\n amount: 500,\n currency_code: \"USD\",\n },\n {\n amount: 400,\n currency_code: \"USD\",\n min_quantity: 0,\n max_quantity: 4\n }\n ])\n\n // do something with the money amounts or return them\n}\n```" - } - ] - } - ] + "comment": { + "summary": [ + { + "kind": "text", + "text": "The display name of the rule type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 359, + "name": "rule_attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique name used to later identify the rule_attribute. For example, it can be used in the " }, - "parameters": [ - { - "id": 72, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The money amounts to create." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 383, - "name": "CreateMoneyAmountDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 73, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 297, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 367, - "name": "MoneyAmountDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + { + "kind": "code", + "text": "`context`" + }, + { + "kind": "text", + "text": " parameter of the " + }, + { + "kind": "code", + "text": "`calculatePrices`" + }, + { + "kind": "text", + "text": "\nmethod to specify a rule for calculating the price." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 360, + "name": "default_priority", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The priority of the rule type. This is useful when calculating the price of a price set, and multiple rules satisfy the provided context.\nThe higher the value, the higher the priority of the rule type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 357, + 358, + 359, + 360 + ] + } + ] + }, + { + "id": 361, + "name": "UpdateRuleTypeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to update in a rule type. The " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " is used to identify which price set to update." + } + ] + }, + "children": [ + { + "id": 362, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the rule type to update." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 74, - "name": "updateMoneyAmounts", + "id": 363, + "name": "name", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 75, - "name": "updateMoneyAmounts", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method updates existing money amounts." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of updated money amounts." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function updateMoneyAmounts (moneyAmountId: string, amount: number) {\n const pricingService = await initializePricingModule()\n\n const moneyAmounts = await pricingService.updateMoneyAmounts([\n {\n id: moneyAmountId,\n amount\n }\n ])\n\n // do something with the money amounts or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 76, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The money amounts to update, each having the attributes that should be updated in a money amount." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 390, - "name": "UpdateMoneyAmountDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 77, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 297, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 367, - "name": "MoneyAmountDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The display name of the rule type." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 78, - "name": "deleteMoneyAmounts", + "id": 364, + "name": "rule_attribute", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 79, - "name": "deleteMoneyAmounts", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method deletes money amounts by their IDs." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "Resolves when the money amounts are successfully deleted." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function deleteMoneyAmounts (moneyAmountIds: string[]) {\n const pricingService = await initializePricingModule()\n\n await pricingService.deleteMoneyAmounts(\n moneyAmountIds\n )\n}\n```" - } - ] - } - ] + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique name used to later identify the rule_attribute. For example, it can be used in the " }, - "parameters": [ - { - "id": 80, - "name": "ids", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IDs of the money amounts to delete." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 81, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 297, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + { + "kind": "code", + "text": "`context`" + }, + { + "kind": "text", + "text": " parameter of the " + }, + { + "kind": "code", + "text": "`calculatePrices`" + }, + { + "kind": "text", + "text": " method to specify a rule for calculating the price." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 365, + "name": "default_priority", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The priority of the rule type. This is useful when calculating the price of a price set, and multiple rules satisfy the provided context. The higher the value, the higher the priority of the rule type." } - } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 362, + 363, + 364, + 365 ] - }, + } + ] + }, + { + "id": 350, + "name": "FilterableRuleTypeProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters to apply on rule types." + } + ] + }, + "children": [ { - "id": 82, - "name": "softDeleteMoneyAmounts", + "id": 354, + "name": "$and", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 83, - "name": "softDeleteMoneyAmounts", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method soft deletes money amounts by their IDs." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "Resolves when the money amounts are successfully deleted." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function softDeleteMoneyAmounts (moneyAmountIds: string[]) {\n const pricingService = await initializePricingModule()\n\n await pricingService.softDeleteMoneyAmounts(\n moneyAmountIds\n )\n}\n```" - } - ] - } - ] - }, - "typeParameter": [ + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ { - "id": 84, - "name": "TReturnableLinkableKeys", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ + "type": "reference", + "target": 350, + "name": "FilterableRuleTypeProps", + "package": "@medusajs/types" + }, { - "id": 85, - "name": "ids", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IDs of the money amounts to delete." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 556, + "typeArguments": [ + { + "type": "reference", + "target": 350, + "name": "FilterableRuleTypeProps", + "package": "@medusajs/types" } - } - }, + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 557, + "name": "BaseFilterable.$and" + } + }, + { + "id": 355, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ { - "id": 86, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": 396, - "typeArguments": [ - { - "type": "reference", - "target": 84, - "name": "TReturnableLinkableKeys", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "SoftDeleteReturn", - "package": "@medusajs/types" - } + "type": "reference", + "target": 350, + "name": "FilterableRuleTypeProps", + "package": "@medusajs/types" }, { - "id": 87, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 297, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "void" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ], - "name": "Record", - "package": "typescript" - } - ] - } - ], - "name": "Promise", - "package": "typescript" + "type": "reference", + "target": 556, + "typeArguments": [ + { + "type": "reference", + "target": 350, + "name": "FilterableRuleTypeProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 558, + "name": "BaseFilterable.$or" + } + }, + { + "id": 351, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs to filter rule types by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 352, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The names to filter rule types by." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" } - ] + } }, { - "id": 88, - "name": "restoreMoneyAmounts", + "id": 353, + "name": "rule_attribute", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rule attributes to filter rule types by." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 354, + 355, + 351, + 352, + 353 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 556, + "typeArguments": [ + { + "type": "reference", + "target": 350, + "name": "FilterableRuleTypeProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + }, + { + "id": 1, + "name": "IPricingModuleService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The main service interface for the Pricing Module." + } + ] + }, + "children": [ + { + "id": 2, + "name": "calculatePrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 89, - "name": "restoreMoneyAmounts", + "id": 3, + "name": "calculatePrices", "variant": "signature", "kind": 4096, "flags": {}, @@ -13161,7 +11641,7 @@ "summary": [ { "kind": "text", - "text": "This method restores soft deleted money amounts by their IDs." + "text": "This method is used to calculate prices based on the provided filters and context." } ], "blockTags": [ @@ -13170,50 +11650,45 @@ "content": [ { "kind": "text", - "text": "An object that includes the IDs of related records that were restored, such as the ID of associated price set money amounts.\nThe object's keys are the ID attribute names of the money amount entity's relations, such as " - }, - { - "kind": "code", - "text": "`price_set_money_amount_id`" - }, - { - "kind": "text", - "text": ",\nand its value is an array of strings, each being the ID of the record associated with the money amount through this relation,\nsuch as the IDs of associated price set money amounts." + "text": "The calculated prices matching the context and filters provided." } ] }, { "tag": "@example", "content": [ + { + "kind": "text", + "text": "When you calculate prices, you must at least specify the currency code:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst price = await pricingModuleService.calculatePrices(\n {\n id: [\"pset_123\", \"pset_321\"],\n },\n {\n context: {\n currency_code: \"usd\",\n },\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nTo calculate prices for specific minimum and/or maximum quantity:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst price = await pricingModuleService.calculatePrices(\n {\n id: [\"pset_123\", \"pset_321\"],\n },\n {\n context: {\n currency_code: \"usd\",\n min_quantity: 4,\n },\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nTo calculate prices for custom rule types:\n\n" + }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function softDeleteMoneyAmounts (moneyAmountIds: string[]) {\n const pricingService = await initializePricingModule()\n\n await pricingService.softDeleteMoneyAmounts(\n moneyAmountIds\n )\n}\n```" + "text": "```ts\nconst price = await pricingModuleService.calculatePrices(\n {\n id: [\"pset_123\", \"pset_321\"],\n },\n {\n context: {\n currency_code: \"usd\",\n region_id: \"US\",\n },\n }\n)\n```" } ] } ] }, - "typeParameter": [ - { - "id": 90, - "name": "TReturnableLinkableKeys", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "intrinsic", - "name": "string" - } - } - ], "parameters": [ { - "id": 91, - "name": "ids", + "id": 4, + "name": "filters", "variant": "param", "kind": 32768, "flags": {}, @@ -13221,21 +11696,20 @@ "summary": [ { "kind": "text", - "text": "The IDs of the money amounts to delete." + "text": "The filters to apply on prices." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "target": 256, + "name": "PricingFilters", + "package": "@medusajs/types" } }, { - "id": 92, - "name": "config", + "id": 5, + "name": "context", "variant": "param", "kind": 32768, "flags": { @@ -13245,44 +11719,19 @@ "summary": [ { "kind": "text", - "text": "Configurations determining which relations to restore along with each of the money amounts. You can pass to its " - }, - { - "kind": "code", - "text": "`returnLinkableKeys`" - }, - { - "kind": "text", - "text": "\nproperty any of the money amount's relation attribute names, such as " - }, - { - "kind": "code", - "text": "`price_set_money_amount`" - }, - { - "kind": "text", - "text": "." + "text": "The context used to select the prices. For example, you can specify the region ID in this context, and only prices having the same value\nwill be retrieved." } ] }, "type": { "type": "reference", - "target": 399, - "typeArguments": [ - { - "type": "reference", - "target": 90, - "name": "TReturnableLinkableKeys", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - ], - "name": "RestoreReturn", + "target": 258, + "name": "PricingContext", "package": "@medusajs/types" } }, { - "id": 93, + "id": 6, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -13299,7 +11748,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -13313,35 +11762,13 @@ }, "typeArguments": [ { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "void" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ], - "name": "Record", - "package": "typescript" - } - ] + "type": "array", + "elementType": { + "type": "reference", + "target": 272, + "name": "CalculatedPriceSet", + "package": "@medusajs/types" + } } ], "name": "Promise", @@ -13351,15 +11778,15 @@ ] }, { - "id": 94, - "name": "retrieveCurrency", + "id": 7, + "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 95, - "name": "retrieveCurrency", + "id": 8, + "name": "retrieve", "variant": "signature", "kind": 4096, "flags": {}, @@ -13367,7 +11794,7 @@ "summary": [ { "kind": "text", - "text": "This method retrieves a currency by its code and and optionally based on the provided configurations." + "text": "This method is used to retrieve a price set by its ID." } ], "blockTags": [ @@ -13376,7 +11803,7 @@ "content": [ { "kind": "text", - "text": "The retrieved currency." + "text": "The retrieved price set." } ] }, @@ -13385,19 +11812,19 @@ "content": [ { "kind": "text", - "text": "A simple example that retrieves a currency by its code:\n\n" + "text": "A simple example that retrieves a price set by its ID:\n\n" }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveCurrency (code: string) {\n const pricingService = await initializePricingModule()\n\n const currency = await pricingService.retrieveCurrency(\n code\n )\n\n // do something with the currency or return it\n}\n```" + "text": "```ts\nconst priceSet =\n await pricingModuleService.retrieve(\"pset_123\")\n```" }, { "kind": "text", - "text": "\n\nTo specify attributes that should be retrieved:\n\n" + "text": "\n\nTo specify relations that should be retrieved:\n\n" }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveCurrency (code: string) {\n const pricingService = await initializePricingModule()\n\n const currency = await pricingService.retrieveCurrency(\n code,\n {\n select: [\"symbol_native\"]\n }\n )\n\n // do something with the currency or return it\n}\n```" + "text": "```ts\nconst priceSet = await pricingModuleService.retrieve(\n \"pset_123\",\n {\n relations: [\"prices\"],\n }\n)\n```" } ] } @@ -13405,8 +11832,8 @@ }, "parameters": [ { - "id": 96, - "name": "code", + "id": 9, + "name": "id", "variant": "param", "kind": 32768, "flags": {}, @@ -13414,7 +11841,7 @@ "summary": [ { "kind": "text", - "text": "The code of the currency to retrieve." + "text": "The ID of the price set to retrieve." } ] }, @@ -13424,7 +11851,7 @@ } }, { - "id": 97, + "id": 10, "name": "config", "variant": "param", "kind": 32768, @@ -13435,7 +11862,7 @@ "summary": [ { "kind": "text", - "text": "The configurations determining how the currency is retrieved. Its properties, such as " + "text": "The configurations determining how the price set is retrieved. Its properties, such as " }, { "kind": "code", @@ -13451,18 +11878,18 @@ }, { "kind": "text", - "text": ", accept the\nattributes or relations associated with a currency." + "text": ", accept the\nattributes or relations associated with a price set." } ] }, "type": { "type": "reference", - "target": 329, + "target": 293, "typeArguments": [ { "type": "reference", - "target": 402, - "name": "CurrencyDTO", + "target": 305, + "name": "PriceSetDTO", "package": "@medusajs/types" } ], @@ -13471,7 +11898,7 @@ } }, { - "id": 98, + "id": 11, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -13488,7 +11915,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -13503,8 +11930,8 @@ "typeArguments": [ { "type": "reference", - "target": 402, - "name": "CurrencyDTO", + "target": 305, + "name": "PriceSetDTO", "package": "@medusajs/types" } ], @@ -13515,15 +11942,15 @@ ] }, { - "id": 99, - "name": "listCurrencies", + "id": 12, + "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 100, - "name": "listCurrencies", + "id": 13, + "name": "list", "variant": "signature", "kind": 4096, "flags": {}, @@ -13531,7 +11958,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to retrieve a paginated list of currencies based on optional filters and configuration." + "text": "This method is used to retrieve a paginated list of price sets based on optional filters and configuration." } ], "blockTags": [ @@ -13540,7 +11967,7 @@ "content": [ { "kind": "text", - "text": "The list of currencies." + "text": "The list of price sets." } ] }, @@ -13549,19 +11976,19 @@ "content": [ { "kind": "text", - "text": "To retrieve a list of currencies using their codes:\n\n" + "text": "To retrieve a list of price sets using their IDs:\n\n" }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveCurrencies (codes: string[]) {\n const pricingService = await initializePricingModule()\n\n const currencies = await pricingService.listCurrencies(\n {\n code: codes\n },\n )\n\n // do something with the currencies or return them\n}\n```" + "text": "```ts\nconst priceSets = await pricingModuleService.list({\n id: [\"pset_123\", \"pset_321\"],\n})\n```" }, { "kind": "text", - "text": "\n\nTo specify attributes that should be retrieved within the money amounts:\n\n" + "text": "\n\nTo specify relations that should be retrieved within the price sets:\n\n" }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveCurrencies (codes: string[]) {\n const pricingService = await initializePricingModule()\n\n const currencies = await pricingService.listCurrencies(\n {\n code: codes\n },\n {\n select: [\"symbol_native\"]\n }\n )\n\n // do something with the currencies or return them\n}\n```" + "text": "```ts\nconst priceSets = await pricingModuleService.list(\n {\n id: [\"pset_123\", \"pset_321\"],\n },\n {\n relations: [\"prices\"],\n }\n)\n```" }, { "kind": "text", @@ -13601,7 +12028,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveCurrencies (codes: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const currencies = await pricingService.listCurrencies(\n {\n code: codes\n },\n {\n select: [\"symbol_native\"],\n skip,\n take\n }\n )\n\n // do something with the currencies or return them\n}\n```" + "text": "```ts\nconst priceSets = await pricingModuleService.list(\n {\n id: [\"pset_123\", \"pset_321\"],\n },\n {\n relations: [\"prices\"],\n take: 20,\n skip: 2,\n }\n)\n```" } ] } @@ -13609,7 +12036,7 @@ }, "parameters": [ { - "id": 101, + "id": 14, "name": "filters", "variant": "param", "kind": 32768, @@ -13620,19 +12047,19 @@ "summary": [ { "kind": "text", - "text": "The filters to apply on the retrieved currencies." + "text": "The filters to apply on the retrieved price lists." } ] }, "type": { "type": "reference", - "target": 407, - "name": "FilterableCurrencyProps", + "target": 310, + "name": "FilterablePriceSetProps", "package": "@medusajs/types" } }, { - "id": 102, + "id": 15, "name": "config", "variant": "param", "kind": 32768, @@ -13643,7 +12070,7 @@ "summary": [ { "kind": "text", - "text": "The configurations determining how the currencies are retrieved. Its properties, such as " + "text": "The configurations determining how the price sets are retrieved. Its properties, such as " }, { "kind": "code", @@ -13659,18 +12086,18 @@ }, { "kind": "text", - "text": ", accept the\nattributes or relations associated with a currency." + "text": ", accept the\nattributes or relations associated with a price set." } ] }, "type": { "type": "reference", - "target": 329, + "target": 293, "typeArguments": [ { "type": "reference", - "target": 402, - "name": "CurrencyDTO", + "target": 305, + "name": "PriceSetDTO", "package": "@medusajs/types" } ], @@ -13679,7 +12106,7 @@ } }, { - "id": 103, + "id": 16, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -13696,7 +12123,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -13713,8 +12140,8 @@ "type": "array", "elementType": { "type": "reference", - "target": 402, - "name": "CurrencyDTO", + "target": 305, + "name": "PriceSetDTO", "package": "@medusajs/types" } } @@ -13726,15 +12153,15 @@ ] }, { - "id": 104, - "name": "listAndCountCurrencies", + "id": 17, + "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 105, - "name": "listAndCountCurrencies", + "id": 18, + "name": "listAndCount", "variant": "signature", "kind": 4096, "flags": {}, @@ -13742,7 +12169,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to retrieve a paginated list of currencies along with the total count of available currencies satisfying the provided filters." + "text": "This method is used to retrieve a paginated list of price sets along with the total count of available price sets satisfying the provided filters." } ], "blockTags": [ @@ -13751,7 +12178,7 @@ "content": [ { "kind": "text", - "text": "The list of currencies along with the total count." + "text": "The list of price sets along with their total count." } ] }, @@ -13760,19 +12187,19 @@ "content": [ { "kind": "text", - "text": "To retrieve a list of currencies using their codes:\n\n" + "text": "To retrieve a list of prices sets using their IDs:\n\n" }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveCurrencies (codes: string[]) {\n const pricingService = await initializePricingModule()\n\n const [currencies, count] = await pricingService.listAndCountCurrencies(\n {\n code: codes\n },\n )\n\n // do something with the currencies or return them\n}\n```" + "text": "```ts\nconst [priceSets, count] =\n await pricingModuleService.listAndCount({\n id: [\"pset_123\", \"pset_321\"],\n })\n```" }, { "kind": "text", - "text": "\n\nTo specify attributes that should be retrieved within the money amounts:\n\n" + "text": "\n\nTo specify relations that should be retrieved within the price sets:\n\n" }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveCurrencies (codes: string[]) {\n const pricingService = await initializePricingModule()\n\n const [currencies, count] = await pricingService.listAndCountCurrencies(\n {\n code: codes\n },\n {\n select: [\"symbol_native\"]\n }\n )\n\n // do something with the currencies or return them\n}\n```" + "text": "```ts\nconst [priceSets, count] =\n await pricingModuleService.listAndCount(\n {\n id: [\"pset_123\", \"pset_321\"],\n },\n {\n relations: [\"prices\"],\n }\n )\n```" }, { "kind": "text", @@ -13812,7 +12239,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveCurrencies (codes: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const [currencies, count] = await pricingService.listAndCountCurrencies(\n {\n code: codes\n },\n {\n select: [\"symbol_native\"],\n skip,\n take\n }\n )\n\n // do something with the currencies or return them\n}\n```" + "text": "```ts\nconst [priceSets, count] =\n await pricingModuleService.listAndCount(\n {\n id: [\"pset_123\", \"pset_321\"],\n },\n {\n relations: [\"prices\"],\n take: 20,\n skip: 2,\n }\n )\n```" } ] } @@ -13820,7 +12247,7 @@ }, "parameters": [ { - "id": 106, + "id": 19, "name": "filters", "variant": "param", "kind": 32768, @@ -13831,19 +12258,19 @@ "summary": [ { "kind": "text", - "text": "The filters to apply on the retrieved currencies." + "text": "The filters to apply on the retrieved price lists." } ] }, "type": { "type": "reference", - "target": 407, - "name": "FilterableCurrencyProps", + "target": 310, + "name": "FilterablePriceSetProps", "package": "@medusajs/types" } }, { - "id": 107, + "id": 20, "name": "config", "variant": "param", "kind": 32768, @@ -13854,7 +12281,7 @@ "summary": [ { "kind": "text", - "text": "The configurations determining how the currencies are retrieved. Its properties, such as " + "text": "The configurations determining how the price sets are retrieved. Its properties, such as " }, { "kind": "code", @@ -13870,18 +12297,18 @@ }, { "kind": "text", - "text": ", accept the\nattributes or relations associated with a currency." + "text": ", accept the\nattributes or relations associated with a price set." } ] }, "type": { "type": "reference", - "target": 329, + "target": 293, "typeArguments": [ { "type": "reference", - "target": 402, - "name": "CurrencyDTO", + "target": 305, + "name": "PriceSetDTO", "package": "@medusajs/types" } ], @@ -13890,7 +12317,7 @@ } }, { - "id": 108, + "id": 21, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -13907,7 +12334,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -13927,8 +12354,8 @@ "type": "array", "elementType": { "type": "reference", - "target": 402, - "name": "CurrencyDTO", + "target": 305, + "name": "PriceSetDTO", "package": "@medusajs/types" } }, @@ -13946,15 +12373,125 @@ ] }, { - "id": 109, - "name": "createCurrencies", + "id": 22, + "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 110, - "name": "createCurrencies", + "id": 23, + "name": "create", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to create a new price set." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created price set." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To create a default price set, don't pass any rules. For example:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst priceSet = await pricingModuleService.create({\n rules: [],\n prices: [\n {\n amount: 500,\n currency_code: \"USD\",\n min_quantity: 0,\n max_quantity: 4,\n rules: {},\n },\n {\n amount: 400,\n currency_code: \"USD\",\n min_quantity: 5,\n max_quantity: 10,\n rules: {},\n },\n ],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo create a price set and associate it with rule types:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst priceSet = await pricingModuleService.create({\n rules: [\n { rule_attribute: \"region_id\" },\n { rule_attribute: \"city\" },\n ],\n prices: [\n {\n amount: 300,\n currency_code: \"EUR\",\n rules: {\n region_id: \"PL\",\n city: \"krakow\",\n },\n },\n {\n amount: 400,\n currency_code: \"EUR\",\n rules: {\n region_id: \"PL\",\n },\n },\n {\n amount: 450,\n currency_code: \"EUR\",\n rules: {\n city: \"krakow\",\n },\n },\n ],\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 24, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes of the price set to create." + } + ] + }, + "type": { + "type": "reference", + "target": 316, + "name": "CreatePriceSetDTO", + "package": "@medusajs/types" + } + }, + { + "id": 25, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 260, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 305, + "name": "PriceSetDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 26, + "name": "create", "variant": "signature", "kind": 4096, "flags": {}, @@ -13962,7 +12499,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to create new currencies." + "text": "This method is used to create multiple price sets." } ], "blockTags": [ @@ -13971,7 +12508,7 @@ "content": [ { "kind": "text", - "text": "The list of created currencies." + "text": "The list of created price sets." } ] }, @@ -13980,7 +12517,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function createCurrencies () {\n const pricingService = await initializePricingModule()\n\n const currencies = await pricingService.createCurrencies([\n {\n code: \"USD\",\n symbol: \"$\",\n symbol_native: \"$\",\n name: \"US Dollar\",\n }\n ])\n\n // do something with the currencies or return them\n}\n```" + "text": "```ts\nconst priceSets = await pricingModuleService.create([\n // default price set\n {\n rules: [],\n prices: [\n {\n amount: 500,\n currency_code: \"USD\",\n min_quantity: 0,\n max_quantity: 4,\n rules: {},\n },\n {\n amount: 400,\n currency_code: \"USD\",\n min_quantity: 5,\n max_quantity: 10,\n rules: {},\n },\n ],\n },\n // price set with rules\n {\n rules: [\n { rule_attribute: \"region_id\" },\n { rule_attribute: \"city\" },\n ],\n prices: [\n {\n amount: 300,\n currency_code: \"EUR\",\n rules: {\n region_id: \"PL\",\n city: \"krakow\",\n },\n },\n {\n amount: 400,\n currency_code: \"EUR\",\n rules: {\n region_id: \"PL\",\n },\n },\n {\n amount: 450,\n currency_code: \"EUR\",\n rules: {\n city: \"krakow\",\n },\n },\n ],\n },\n])\n```" } ] } @@ -13988,7 +12525,7 @@ }, "parameters": [ { - "id": 111, + "id": 27, "name": "data", "variant": "param", "kind": 32768, @@ -13997,7 +12534,7 @@ "summary": [ { "kind": "text", - "text": "The currencies to create." + "text": "The price sets to create." } ] }, @@ -14005,14 +12542,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 411, - "name": "CreateCurrencyDTO", + "target": 316, + "name": "CreatePriceSetDTO", "package": "@medusajs/types" } } }, { - "id": 112, + "id": 28, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -14029,7 +12566,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -14046,8 +12583,8 @@ "type": "array", "elementType": { "type": "reference", - "target": 402, - "name": "CurrencyDTO", + "target": 305, + "name": "PriceSetDTO", "package": "@medusajs/types" } } @@ -14059,15 +12596,15 @@ ] }, { - "id": 113, - "name": "updateCurrencies", + "id": 29, + "name": "upsert", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 114, - "name": "updateCurrencies", + "id": 30, + "name": "upsert", "variant": "signature", "kind": 4096, "flags": {}, @@ -14075,7 +12612,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to update existing currencies with the provided data. In each currency object, the currency code must be provided to identify which currency to update." + "text": "This method updates existing price sets, or creates new ones if they don't exist." } ], "blockTags": [ @@ -14084,7 +12621,7 @@ "content": [ { "kind": "text", - "text": "The list of updated currencies." + "text": "The updated and created price sets." } ] }, @@ -14093,7 +12630,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function updateCurrencies () {\n const pricingService = await initializePricingModule()\n\n const currencies = await pricingService.updateCurrencies([\n {\n code: \"USD\",\n symbol: \"$\",\n }\n ])\n\n // do something with the currencies or return them\n}\n```" + "text": "```ts\nconst priceSets = await pricingModuleService.upsert([\n {\n prices: [\n {\n amount: 100,\n currency_code: \"USD\",\n },\n ],\n },\n {\n id: \"pset_123\",\n rules: [{ rule_attribute: \"region_id\" }],\n },\n])\n```" } ] } @@ -14101,7 +12638,7 @@ }, "parameters": [ { - "id": 115, + "id": 31, "name": "data", "variant": "param", "kind": 32768, @@ -14110,7 +12647,7 @@ "summary": [ { "kind": "text", - "text": "The currencies to update, each having the attributes that should be updated in a currency." + "text": "The attributes to update or create for each price set." } ] }, @@ -14118,14 +12655,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 416, - "name": "UpdateCurrencyDTO", + "target": 321, + "name": "UpsertPriceSetDTO", "package": "@medusajs/types" } } }, { - "id": 116, + "id": 32, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -14142,7 +12679,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -14159,8 +12696,8 @@ "type": "array", "elementType": { "type": "reference", - "target": 402, - "name": "CurrencyDTO", + "target": 305, + "name": "PriceSetDTO", "package": "@medusajs/types" } } @@ -14168,19 +12705,117 @@ "name": "Promise", "package": "typescript" } + }, + { + "id": 33, + "name": "upsert", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates the price set if it exists, or creates a new ones if it doesn't." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated or created price set." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst priceSet = await pricingModuleService.upsert({\n id: \"pset_123\",\n rules: [{ rule_attribute: \"region_id\" }],\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 34, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update or create for the new price set." + } + ] + }, + "type": { + "type": "reference", + "target": 321, + "name": "UpsertPriceSetDTO", + "package": "@medusajs/types" + } + }, + { + "id": 35, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 260, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 305, + "name": "PriceSetDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } } ] }, { - "id": 117, - "name": "deleteCurrencies", + "id": 36, + "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 118, - "name": "deleteCurrencies", + "id": 37, + "name": "update", "variant": "signature", "kind": 4096, "flags": {}, @@ -14188,7 +12823,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to delete currencies based on their currency code." + "text": "This method is used to update a price set." } ], "blockTags": [ @@ -14197,7 +12832,7 @@ "content": [ { "kind": "text", - "text": "Resolves once the currencies are deleted." + "text": "The updated price set." } ] }, @@ -14206,7 +12841,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function deleteCurrencies () {\n const pricingService = await initializePricingModule()\n\n await pricingService.deleteCurrencies([\"USD\"])\n\n}\n```" + "text": "```ts\nconst priceSet = await pricingModuleService.update(\n \"pset_123\",\n {\n rules: [{ rule_attribute: \"region_id\" }],\n }\n)\n```" } ] } @@ -14214,8 +12849,8 @@ }, "parameters": [ { - "id": 119, - "name": "currencyCodes", + "id": 38, + "name": "id", "variant": "param", "kind": 32768, "flags": {}, @@ -14223,20 +12858,38 @@ "summary": [ { "kind": "text", - "text": "Currency codes of the currencies to delete." + "text": "The ID of the price set to be updated." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "intrinsic", + "name": "string" } }, { - "id": 120, + "id": 39, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes of the price set to be updated" + } + ] + }, + "type": { + "type": "reference", + "target": 327, + "name": "UpdatePriceSetDTO", + "package": "@medusajs/types" + } + }, + { + "id": 40, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -14253,7 +12906,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -14267,26 +12920,19 @@ }, "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "type": "reference", + "target": 305, + "name": "PriceSetDTO", + "package": "@medusajs/types" } ], "name": "Promise", "package": "typescript" } - } - ] - }, - { - "id": 121, - "name": "retrieveRuleType", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 122, - "name": "retrieveRuleType", + "id": 41, + "name": "update", "variant": "signature", "kind": 4096, "flags": {}, @@ -14294,7 +12940,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to retrieve a rule type by its ID and and optionally based on the provided configurations." + "text": "This method is used to update a list of price sets determined by the selector filters." } ], "blockTags": [ @@ -14303,28 +12949,16 @@ "content": [ { "kind": "text", - "text": "The retrieved rule type." + "text": "The updated price sets." } ] }, { "tag": "@example", "content": [ - { - "kind": "text", - "text": "A simple example that retrieves a rule type by its code:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveRuleType (ruleTypeId: string) {\n const pricingService = await initializePricingModule()\n\n const ruleType = await pricingService.retrieveRuleType(ruleTypeId)\n\n // do something with the rule type or return it\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify attributes that should be retrieved:\n\n" - }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveRuleType (ruleTypeId: string) {\n const pricingService = await initializePricingModule()\n\n const ruleType = await pricingService.retrieveRuleType(ruleTypeId, {\n select: [\"name\"]\n })\n\n // do something with the rule type or return it\n}\n```" + "text": "```ts\nconst priceSets = await pricingModuleService.update(\n {\n id: [\"pset_123\", \"pset_321\"],\n },\n {\n rules: [{ rule_attribute: \"region_id\" }],\n }\n)\n```" } ] } @@ -14332,8 +12966,8 @@ }, "parameters": [ { - "id": 123, - "name": "id", + "id": 42, + "name": "selector", "variant": "param", "kind": 32768, "flags": {}, @@ -14341,64 +12975,40 @@ "summary": [ { "kind": "text", - "text": "The ID of the rule type to retrieve." + "text": "The filters that will determine which price sets will be updated." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 310, + "name": "FilterablePriceSetProps", + "package": "@medusajs/types" } }, { - "id": 124, - "name": "config", + "id": 43, + "name": "data", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The configurations determining how the rule type is retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a rule type." + "text": "The attributes to be updated on the selected price sets" } ] }, "type": { "type": "reference", - "target": 329, - "typeArguments": [ - { - "type": "reference", - "target": 421, - "name": "RuleTypeDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", + "target": 327, + "name": "UpdatePriceSetDTO", "package": "@medusajs/types" } }, { - "id": 125, + "id": 44, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -14415,7 +13025,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -14429,10 +13039,13 @@ }, "typeArguments": [ { - "type": "reference", - "target": 421, - "name": "RuleTypeDTO", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 305, + "name": "PriceSetDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", @@ -14442,15 +13055,15 @@ ] }, { - "id": 126, - "name": "listRuleTypes", + "id": 45, + "name": "removeRules", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 127, - "name": "listRuleTypes", + "id": 46, + "name": "removeRules", "variant": "signature", "kind": 4096, "flags": {}, @@ -14458,7 +13071,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to retrieve a paginated list of rule types based on optional filters and configuration." + "text": "This method remove rules from a price set." } ], "blockTags": [ @@ -14467,100 +13080,124 @@ "content": [ { "kind": "text", - "text": "The list of rule types." + "text": "Resolves when rules are successfully removed." } ] }, { "tag": "@example", "content": [ - { - "kind": "text", - "text": "To retrieve a list of rule types using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveRuleTypes (ruleTypeId: string) {\n const pricingService = await initializePricingModule()\n\n const ruleTypes = await pricingService.listRuleTypes({\n id: [\n ruleTypeId\n ]\n })\n\n // do something with the rule types or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify attributes that should be retrieved within the rule types:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveRuleTypes (ruleTypeId: string) {\n const pricingService = await initializePricingModule()\n\n const ruleTypes = await pricingService.listRuleTypes({\n id: [\n ruleTypeId\n ]\n }, {\n select: [\"name\"]\n })\n\n // do something with the rule types or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveRuleTypes (ruleTypeId: string, skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const ruleTypes = await pricingService.listRuleTypes({\n id: [\n ruleTypeId\n ]\n }, {\n select: [\"name\"],\n skip,\n take\n })\n\n // do something with the rule types or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, { "kind": "code", - "text": "`$and`" - }, + "text": "```ts\nawait pricingModuleService.removeRules([\n {\n id: \"pset_123\",\n rules: [\"region_id\"],\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 47, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ { "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, + "text": "The rules to remove per price set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 332, + "name": "RemovePriceSetRulesDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 48, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 260, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 49, + "name": "delete", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 50, + "name": "delete", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method deletes price sets by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ { "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, + "text": "Resolves when the price sets are successfully deleted." + } + ] + }, + { + "tag": "@example", + "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveRuleTypes (ruleTypeId: string[], name: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const ruleTypes = await pricingService.listRuleTypes({\n $and: [\n {\n id: ruleTypeId\n },\n {\n name\n }\n ]\n }, {\n select: [\"name\"],\n skip,\n take\n })\n\n // do something with the rule types or return them\n}\n```" + "text": "```ts\nawait pricingModuleService.delete([\"pset_123\", \"pset_321\"])\n```" } ] } @@ -14568,77 +13205,29 @@ }, "parameters": [ { - "id": 128, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filters to apply on the retrieved rule types." - } - ] - }, - "type": { - "type": "reference", - "target": 426, - "name": "FilterableRuleTypeProps", - "package": "@medusajs/types" - } - }, - { - "id": 129, - "name": "config", + "id": 51, + "name": "ids", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The configurations determining how the rule types are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a rule type." + "text": "The IDs of the price sets to delete." } ] }, "type": { - "type": "reference", - "target": 329, - "typeArguments": [ - { - "type": "reference", - "target": 421, - "name": "RuleTypeDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } }, { - "id": 130, + "id": 52, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -14655,7 +13244,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -14669,13 +13258,8 @@ }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 421, - "name": "RuleTypeDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "void" } ], "name": "Promise", @@ -14685,15 +13269,15 @@ ] }, { - "id": 131, - "name": "listAndCountRuleTypes", + "id": 53, + "name": "addPrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 132, - "name": "listAndCountRuleTypes", + "id": 54, + "name": "addPrices", "variant": "signature", "kind": 4096, "flags": {}, @@ -14701,7 +13285,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to retrieve a paginated list of rule types along with the total count of available rule types satisfying the provided filters." + "text": "This method adds prices to a price set." } ], "blockTags": [ @@ -14710,7 +13294,7 @@ "content": [ { "kind": "text", - "text": "The list of rule types along with their total count." + "text": "The price set that the prices were added to." } ] }, @@ -14719,91 +13303,27 @@ "content": [ { "kind": "text", - "text": "To retrieve a list of rule types using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveRuleTypes (ruleTypeId: string) {\n const pricingService = await initializePricingModule()\n\n const [ruleTypes, count] = await pricingService.listAndCountRuleTypes({\n id: [\n ruleTypeId\n ]\n })\n\n // do something with the rule types or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify attributes that should be retrieved within the rule types:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveRuleTypes (ruleTypeId: string) {\n const pricingService = await initializePricingModule()\n\n const [ruleTypes, count] = await pricingService.listAndCountRuleTypes({\n id: [\n ruleTypeId\n ]\n }, {\n select: [\"name\"]\n })\n\n // do something with the rule types or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveRuleTypes (ruleTypeId: string, skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const [ruleTypes, count] = await pricingService.listAndCountRuleTypes({\n id: [\n ruleTypeId\n ]\n }, {\n select: [\"name\"],\n skip,\n take\n })\n\n // do something with the rule types or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " + "text": "To add a default price to a price set, don't pass it any rules and make sure to pass it the " }, { "kind": "code", - "text": "`$or`" + "text": "`currency_code`" }, { "kind": "text", - "text": " properties of the " + "text": ":\n\n" }, { "kind": "code", - "text": "`filter`" + "text": "```ts\nconst priceSet = await pricingModuleService.addPrices({\n priceSetId: \"pset_123\",\n prices: [\n {\n amount: 500,\n currency_code: \"USD\",\n rules: {},\n },\n ],\n})\n```" }, { "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" + "text": "\n\nTo add prices with rules:\n\n" }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrieveRuleTypes (ruleTypeId: string[], name: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const [ruleTypes, count] = await pricingService.listAndCountRuleTypes({\n $and: [\n {\n id: ruleTypeId\n },\n {\n name\n }\n ]\n }, {\n select: [\"name\"],\n skip,\n take\n })\n\n // do something with the rule types or return them\n}\n```" + "text": "```ts\nconst priceSet = await pricingModuleService.addPrices({\n priceSetId: \"pset_123\",\n prices: [\n {\n amount: 300,\n currency_code: \"EUR\",\n rules: {\n region_id: \"PL\",\n city: \"krakow\",\n },\n },\n {\n amount: 400,\n currency_code: \"EUR\",\n min_quantity: 0,\n max_quantity: 4,\n rules: {\n region_id: \"PL\",\n },\n },\n {\n amount: 450,\n currency_code: \"EUR\",\n rules: {\n city: \"krakow\",\n },\n },\n ],\n})\n```" } ] } @@ -14811,8 +13331,29 @@ }, "parameters": [ { - "id": 133, - "name": "filters", + "id": 55, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data defining the price set to add the prices to, along with the prices to add." + } + ] + }, + "type": { + "type": "reference", + "target": 335, + "name": "AddPricesDTO", + "package": "@medusajs/types" + } + }, + { + "id": 56, + "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { @@ -14822,66 +13363,97 @@ "summary": [ { "kind": "text", - "text": "The filters to apply on the retrieved rule types." + "text": "A context used to share resources, such as transaction manager, between the application and the module." } ] }, "type": { "type": "reference", - "target": 426, - "name": "FilterableRuleTypeProps", + "target": 260, + "name": "Context", "package": "@medusajs/types" } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" }, + "typeArguments": [ + { + "type": "reference", + "target": 305, + "name": "PriceSetDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 57, + "name": "addPrices", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method adds prices to multiple price sets." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of the price sets that prices were added to." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst priceSets = await pricingModuleService.addPrices([\n {\n priceSetId: \"pset_123\",\n prices: [\n // default price because it doesn't\n // have rules\n {\n amount: 500,\n currency_code: \"USD\",\n rules: {},\n },\n ],\n },\n {\n priceSetId: \"pset_321\",\n prices: [\n // prices with rules\n {\n amount: 300,\n currency_code: \"EUR\",\n rules: {\n region_id: \"PL\",\n city: \"krakow\",\n },\n },\n ],\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ { - "id": 134, - "name": "config", + "id": 58, + "name": "data", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The configurations determining how the rule types are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a rule type." + "text": "The data defining the prices to add per price set." } ] }, "type": { - "type": "reference", - "target": 329, - "typeArguments": [ - { - "type": "reference", - "target": 421, - "name": "RuleTypeDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 335, + "name": "AddPricesDTO", + "package": "@medusajs/types" + } } }, { - "id": 135, + "id": 59, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -14898,7 +13470,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -14912,22 +13484,13 @@ }, "typeArguments": [ { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 421, - "name": "RuleTypeDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] + "type": "array", + "elementType": { + "type": "reference", + "target": 305, + "name": "PriceSetDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", @@ -14937,15 +13500,15 @@ ] }, { - "id": 136, - "name": "createRuleTypes", + "id": 60, + "name": "addRules", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 137, - "name": "createRuleTypes", + "id": 61, + "name": "addRules", "variant": "signature", "kind": 4096, "flags": {}, @@ -14953,7 +13516,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to create new rule types." + "text": "This method adds rules to a price set." } ], "blockTags": [ @@ -14962,7 +13525,7 @@ "content": [ { "kind": "text", - "text": "The list of created rule types." + "text": "The price set that the rules were added to." } ] }, @@ -14971,7 +13534,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function createRuleTypes () {\n const pricingService = await initializePricingModule()\n\n const ruleTypes = await pricingService.createRuleTypes([\n {\n name: \"Region\",\n rule_attribute: \"region_id\"\n }\n ])\n\n // do something with the rule types or return them\n}\n```" + "text": "```ts\nconst priceSet = await pricingModuleService.addRules({\n priceSetId: \"pset_123\",\n rules: [\n {\n attribute: \"region_id\",\n },\n ],\n})\n```" } ] } @@ -14979,7 +13542,7 @@ }, "parameters": [ { - "id": 138, + "id": 62, "name": "data", "variant": "param", "kind": 32768, @@ -14988,22 +13551,19 @@ "summary": [ { "kind": "text", - "text": "The rule types to create." + "text": "The data defining the price set to add the rules to, along with the rules to add." } ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 432, - "name": "CreateRuleTypeDTO", - "package": "@medusajs/types" - } + "type": "reference", + "target": 338, + "name": "AddRulesDTO", + "package": "@medusajs/types" } }, { - "id": 139, + "id": 63, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -15020,7 +13580,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -15034,31 +13594,19 @@ }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 421, - "name": "RuleTypeDTO", - "package": "@medusajs/types" - } + "type": "reference", + "target": 305, + "name": "PriceSetDTO", + "package": "@medusajs/types" } ], "name": "Promise", "package": "typescript" } - } - ] - }, - { - "id": 140, - "name": "updateRuleTypes", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 141, - "name": "updateRuleTypes", + "id": 64, + "name": "addRules", "variant": "signature", "kind": 4096, "flags": {}, @@ -15066,7 +13614,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to update existing rule types with the provided data." + "text": "This method adds rules to multiple price sets." } ], "blockTags": [ @@ -15075,7 +13623,7 @@ "content": [ { "kind": "text", - "text": "The list of updated rule types." + "text": "The list of the price sets that the rules were added to." } ] }, @@ -15084,7 +13632,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function updateRuleTypes (ruleTypeId: string) {\n const pricingService = await initializePricingModule()\n\n const ruleTypes = await pricingService.updateRuleTypes([\n {\n id: ruleTypeId,\n name: \"Region\",\n }\n ])\n\n // do something with the rule types or return them\n}\n```" + "text": "```ts\nconst priceSets = await pricingModuleService.addRules([\n {\n priceSetId: \"pset_123\",\n rules: [\n {\n attribute: \"region_id\",\n },\n ],\n },\n {\n priceSetId: \"pset_321\",\n rules: [\n {\n attribute: \"customer_group_id\",\n },\n ],\n },\n])\n```" } ] } @@ -15092,7 +13640,7 @@ }, "parameters": [ { - "id": 142, + "id": 65, "name": "data", "variant": "param", "kind": 32768, @@ -15101,7 +13649,7 @@ "summary": [ { "kind": "text", - "text": "The rule types to update, each having the attributes that should be updated in a rule type." + "text": "The data defining the rules to add per price set." } ] }, @@ -15109,14 +13657,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 437, - "name": "UpdateRuleTypeDTO", + "target": 338, + "name": "AddRulesDTO", "package": "@medusajs/types" } } }, { - "id": 143, + "id": 66, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -15133,7 +13681,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -15150,8 +13698,8 @@ "type": "array", "elementType": { "type": "reference", - "target": 421, - "name": "RuleTypeDTO", + "target": 305, + "name": "PriceSetDTO", "package": "@medusajs/types" } } @@ -15163,15 +13711,15 @@ ] }, { - "id": 144, - "name": "deleteRuleTypes", + "id": 67, + "name": "retrieveRuleType", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 145, - "name": "deleteRuleTypes", + "id": 68, + "name": "retrieveRuleType", "variant": "signature", "kind": 4096, "flags": {}, @@ -15179,7 +13727,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to delete rule types based on the provided IDs." + "text": "This method is used to retrieve a rule type by its ID and and optionally based on the provided configurations." } ], "blockTags": [ @@ -15188,16 +13736,28 @@ "content": [ { "kind": "text", - "text": "Resolves once the rule types are deleted." + "text": "The retrieved rule type." } ] }, { "tag": "@example", "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a rule type by its code:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst ruleType =\n await pricingModuleService.retrieveRuleType(\"rul-typ_123\")\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function deleteRuleTypes (ruleTypeId: string) {\n const pricingService = await initializePricingModule()\n\n await pricingService.deleteRuleTypes([ruleTypeId])\n}\n```" + "text": "```ts\nconst ruleType = await pricingModuleService.retrieveRuleType(\n \"rul-typ_123\",\n {\n relations: [\"price_sets\"],\n }\n)\n```" } ] } @@ -15205,8 +13765,8 @@ }, "parameters": [ { - "id": 146, - "name": "ruleTypeIds", + "id": 69, + "name": "id", "variant": "param", "kind": 32768, "flags": {}, @@ -15214,20 +13774,64 @@ "summary": [ { "kind": "text", - "text": "The IDs of the rule types to delete." + "text": "The ID of the rule type to retrieve." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "intrinsic", + "name": "string" } }, { - "id": 147, + "id": 70, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the rule type is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a rule type." + } + ] + }, + "type": { + "type": "reference", + "target": 293, + "typeArguments": [ + { + "type": "reference", + "target": 343, + "name": "RuleTypeDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 71, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -15244,7 +13848,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -15258,8 +13862,10 @@ }, "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "type": "reference", + "target": 343, + "name": "RuleTypeDTO", + "package": "@medusajs/types" } ], "name": "Promise", @@ -15269,15 +13875,15 @@ ] }, { - "id": 148, - "name": "retrievePriceSetMoneyAmountRules", + "id": 72, + "name": "listRuleTypes", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 149, - "name": "retrievePriceSetMoneyAmountRules", + "id": 73, + "name": "listRuleTypes", "variant": "signature", "kind": 4096, "flags": {}, @@ -15285,7 +13891,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to a price set money amount rule by its ID based on the provided configuration." + "text": "This method is used to retrieve a paginated list of rule types based on optional filters and configuration." } ], "blockTags": [ @@ -15294,7 +13900,7 @@ "content": [ { "kind": "text", - "text": "The retrieved price set money amount rule." + "text": "The list of rule types." } ] }, @@ -15303,11 +13909,11 @@ "content": [ { "kind": "text", - "text": "A simple example that retrieves a price set money amount rule by its ID:\n\n" + "text": "To retrieve a list of rule types using their IDs:\n\n" }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSetMoneyAmountRule (id: string) {\n const pricingService = await initializePricingModule()\n\n const priceSetMoneyAmountRule = await pricingService.retrievePriceSetMoneyAmountRules(id)\n\n // do something with the price set money amount rule or return it\n}\n```" + "text": "```ts\nconst ruleTypes = await pricingModuleService.listRuleTypes({\n id: [\"rul-typ_123\", \"rul-typ_321\"],\n})\n```" }, { "kind": "text", @@ -15315,7 +13921,47 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSetMoneyAmountRule (id: string) {\n const pricingService = await initializePricingModule()\n\n const priceSetMoneyAmountRule = await pricingService.retrievePriceSetMoneyAmountRules(id, {\n relations: [\"price_set_money_amount\"]\n })\n\n // do something with the price set money amount rule or return it\n}\n```" + "text": "```ts\nconst ruleTypes = await pricingModuleService.listRuleTypes(\n {\n id: [\"rul-typ_123\", \"rul-typ_321\"],\n },\n {\n relations: [\"price_sets\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst ruleTypes = await pricingModuleService.listRuleTypes(\n {\n id: [\"rul-typ_123\", \"rul-typ_321\"],\n },\n {\n relations: [\"price_sets\"],\n take: 20,\n skip: 2,\n }\n)\n```" } ] } @@ -15323,26 +13969,30 @@ }, "parameters": [ { - "id": 150, - "name": "id", + "id": 74, + "name": "filters", "variant": "param", "kind": 32768, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the price set money amount rule to retrieve." + "text": "The filters to apply on the retrieved rule types." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 350, + "name": "FilterableRuleTypeProps", + "package": "@medusajs/types" } }, { - "id": 151, + "id": 75, "name": "config", "variant": "param", "kind": 32768, @@ -15353,7 +14003,7 @@ "summary": [ { "kind": "text", - "text": "The configurations determining how the price set money amount rule is retrieved. Its properties, such as " + "text": "The configurations determining how the rule types are retrieved. Its properties, such as " }, { "kind": "code", @@ -15369,18 +14019,18 @@ }, { "kind": "text", - "text": ", accept the\nattributes or relations associated with a price set money amount rule." + "text": ", accept the\nattributes or relations associated with a rule type." } ] }, "type": { "type": "reference", - "target": 329, + "target": 293, "typeArguments": [ { "type": "reference", - "target": 442, - "name": "PriceSetMoneyAmountRulesDTO", + "target": 343, + "name": "RuleTypeDTO", "package": "@medusajs/types" } ], @@ -15389,7 +14039,7 @@ } }, { - "id": 152, + "id": 76, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -15406,7 +14056,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -15420,10 +14070,13 @@ }, "typeArguments": [ { - "type": "reference", - "target": 442, - "name": "PriceSetMoneyAmountRulesDTO", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 343, + "name": "RuleTypeDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", @@ -15433,15 +14086,15 @@ ] }, { - "id": 153, - "name": "listPriceSetMoneyAmountRules", + "id": 77, + "name": "listAndCountRuleTypes", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 154, - "name": "listPriceSetMoneyAmountRules", + "id": 78, + "name": "listAndCountRuleTypes", "variant": "signature", "kind": 4096, "flags": {}, @@ -15449,7 +14102,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to retrieve a paginated list of price set money amount rules based on optional filters and configuration." + "text": "This method is used to retrieve a paginated list of rule types along with the total count of available rule types satisfying the provided filters." } ], "blockTags": [ @@ -15458,7 +14111,7 @@ "content": [ { "kind": "text", - "text": "The list of price set money amount rules." + "text": "The list of rule types along with their total count." } ] }, @@ -15467,19 +14120,19 @@ "content": [ { "kind": "text", - "text": "To retrieve a list of price set money amount rules using their IDs:\n\n" + "text": "To retrieve a list of rule types using their IDs:\n\n" }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSetMoneyAmountRules (id: string) {\n const pricingService = await initializePricingModule()\n\n const priceSetMoneyAmountRules = await pricingService.listPriceSetMoneyAmountRules({\n id: [id]\n })\n\n // do something with the price set money amount rules or return them\n}\n```" + "text": "```ts\nconst [ruleTypes, count] =\n await pricingModuleService.listAndCountRuleTypes({\n id: [\"rul-typ_123\", \"rul-typ_321\"],\n })\n```" }, { "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the price set money amount rules:\n\n" + "text": "\n\nTo specify attributes that should be retrieved within the rule types:\n\n" }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSetMoneyAmountRules (id: string) {\n const pricingService = await initializePricingModule()\n\n const priceSetMoneyAmountRules = await pricingService.listPriceSetMoneyAmountRules({\n id: [id]\n }, {\n relations: [\"price_set_money_amount\"]\n })\n\n // do something with the price set money amount rules or return them\n}\n```" + "text": "```ts\nconst [ruleTypes, count] =\n await pricingModuleService.listAndCountRuleTypes(\n {\n id: [\"rul-typ_123\", \"rul-typ_321\"],\n },\n {\n relations: [\"price_sets\"],\n }\n )\n```" }, { "kind": "text", @@ -15519,39 +14172,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSetMoneyAmountRules (id: string, skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const priceSetMoneyAmountRules = await pricingService.listPriceSetMoneyAmountRules({\n id: [id]\n }, {\n relations: [\"price_set_money_amount\"],\n skip,\n take\n })\n\n // do something with the price set money amount rules or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSetMoneyAmountRules (ids: string[], ruleTypeId: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const priceSetMoneyAmountRules = await pricingService.listPriceSetMoneyAmountRules({\n $and: [\n {\n id: ids\n },\n {\n rule_type_id: ruleTypeId\n }\n ]\n }, {\n relations: [\"price_set_money_amount\"],\n skip,\n take\n })\n\n // do something with the price set money amount rules or return them\n}\n```" + "text": "```ts\nconst [ruleTypes, count] =\n await pricingModuleService.listAndCountRuleTypes(\n {\n id: [\"rul-typ_123\", \"rul-typ_321\"],\n },\n {\n relations: [\"price_sets\"],\n take: 20,\n skip: 2,\n }\n )\n```" } ] } @@ -15559,7 +14180,7 @@ }, "parameters": [ { - "id": 155, + "id": 79, "name": "filters", "variant": "param", "kind": 32768, @@ -15570,19 +14191,19 @@ "summary": [ { "kind": "text", - "text": "The filters to apply on the retrieved price set money amount rules." + "text": "The filters to apply on the retrieved rule types." } ] }, "type": { "type": "reference", - "target": 447, - "name": "FilterablePriceSetMoneyAmountRulesProps", + "target": 350, + "name": "FilterableRuleTypeProps", "package": "@medusajs/types" } }, { - "id": 156, + "id": 80, "name": "config", "variant": "param", "kind": 32768, @@ -15593,7 +14214,7 @@ "summary": [ { "kind": "text", - "text": "The configurations determining how the price set money amount rules are retrieved. Its properties, such as " + "text": "The configurations determining how the rule types are retrieved. Its properties, such as " }, { "kind": "code", @@ -15609,18 +14230,18 @@ }, { "kind": "text", - "text": ", accept the\nattributes or relations associated with a price set money amount rule." + "text": ", accept the\nattributes or relations associated with a rule type." } ] }, "type": { "type": "reference", - "target": 329, + "target": 293, "typeArguments": [ { "type": "reference", - "target": 442, - "name": "PriceSetMoneyAmountRulesDTO", + "target": 343, + "name": "RuleTypeDTO", "package": "@medusajs/types" } ], @@ -15629,7 +14250,7 @@ } }, { - "id": 157, + "id": 81, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -15646,7 +14267,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -15660,13 +14281,22 @@ }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 442, - "name": "PriceSetMoneyAmountRulesDTO", - "package": "@medusajs/types" - } + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 343, + "name": "RuleTypeDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] } ], "name": "Promise", @@ -15676,15 +14306,15 @@ ] }, { - "id": 158, - "name": "listAndCountPriceSetMoneyAmountRules", + "id": 82, + "name": "createRuleTypes", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 159, - "name": "listAndCountPriceSetMoneyAmountRules", + "id": 83, + "name": "createRuleTypes", "variant": "signature", "kind": 4096, "flags": {}, @@ -15692,7 +14322,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to retrieve a paginated list of price set money amount rules along with the total count of\navailable price set money amount rules satisfying the provided filters." + "text": "This method is used to create new rule types." } ], "blockTags": [ @@ -15701,100 +14331,16 @@ "content": [ { "kind": "text", - "text": "The list of price set money amount rules and their total count." + "text": "The list of created rule types." } ] }, { "tag": "@example", "content": [ - { - "kind": "text", - "text": "To retrieve a list of price set money amounts using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSetMoneyAmountRules (id: string) {\n const pricingService = await initializePricingModule()\n\n const [priceSetMoneyAmountRules, count] = await pricingService.listAndCountPriceSetMoneyAmountRules({\n id: [id]\n })\n\n // do something with the price set money amount rules or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the price set money amount rules:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSetMoneyAmountRules (id: string) {\n const pricingService = await initializePricingModule()\n\n const [priceSetMoneyAmountRules, count] = await pricingService.listAndCountPriceSetMoneyAmountRules({\n id: [id]\n }, {\n relations: [\"price_set_money_amount\"],\n })\n\n // do something with the price set money amount rules or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSetMoneyAmountRules (id: string, skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const [priceSetMoneyAmountRules, count] = await pricingService.listAndCountPriceSetMoneyAmountRules({\n id: [id]\n }, {\n relations: [\"price_set_money_amount\"],\n skip,\n take\n })\n\n // do something with the price set money amount rules or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSetMoneyAmountRules (ids: string[], ruleTypeId: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const [priceSetMoneyAmountRules, count] = await pricingService.listAndCountPriceSetMoneyAmountRules({\n $and: [\n {\n id: ids\n },\n {\n rule_type_id: ruleTypeId\n }\n ]\n }, {\n relations: [\"price_set_money_amount\"],\n skip,\n take\n })\n\n // do something with the price set money amount rules or return them\n}\n```" + "text": "```ts\nconst ruleTypes = await pricingModuleService.createRuleTypes([\n {\n name: \"Region\",\n rule_attribute: \"region_id\",\n },\n {\n name: \"Customer Group\",\n rule_attribute: \"customer_group_id\",\n },\n])\n```" } ] } @@ -15802,8 +14348,32 @@ }, "parameters": [ { - "id": 160, - "name": "filters", + "id": 84, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rule types to create." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 356, + "name": "CreateRuleTypeDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 85, + "name": "sharedContext", "variant": "param", "kind": 32768, "flags": { @@ -15813,66 +14383,109 @@ "summary": [ { "kind": "text", - "text": "The filters to apply on the retrieved price set money amount rules." + "text": "A context used to share resources, such as transaction manager, between the application and the module." } ] }, "type": { "type": "reference", - "target": 447, - "name": "FilterablePriceSetMoneyAmountRulesProps", + "target": 260, + "name": "Context", "package": "@medusajs/types" } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 343, + "name": "RuleTypeDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 86, + "name": "updateRuleTypes", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 87, + "name": "updateRuleTypes", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to update existing rule types with the provided data." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of updated rule types." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst ruleTypes = await pricingModuleService.updateRuleTypes([\n {\n id: \"rul-typ_123\",\n name: \"Region\",\n },\n {\n id: \"rul-typ_321\",\n name: \"Customer Group\",\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ { - "id": 161, - "name": "config", + "id": 88, + "name": "data", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The configurations determining how the price set money amount rules are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a price set money amount rule." + "text": "The rule types to update, each having the attributes that should be updated in a rule type." } ] }, "type": { - "type": "reference", - "target": 329, - "typeArguments": [ - { - "type": "reference", - "target": 442, - "name": "PriceSetMoneyAmountRulesDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 361, + "name": "UpdateRuleTypeDTO", + "package": "@medusajs/types" + } } }, { - "id": 162, + "id": 89, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -15889,7 +14502,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -15903,22 +14516,13 @@ }, "typeArguments": [ { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 442, - "name": "PriceSetMoneyAmountRulesDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] + "type": "array", + "elementType": { + "type": "reference", + "target": 343, + "name": "RuleTypeDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", @@ -15928,15 +14532,15 @@ ] }, { - "id": 163, - "name": "listPriceSetMoneyAmounts", + "id": 90, + "name": "deleteRuleTypes", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 164, - "name": "listPriceSetMoneyAmounts", + "id": 91, + "name": "deleteRuleTypes", "variant": "signature", "kind": 4096, "flags": {}, @@ -15944,7 +14548,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to retrieve a paginated list of price set money amounts based on optional filters and configuration." + "text": "This method is used to delete rule types based on the provided IDs." } ], "blockTags": [ @@ -15953,100 +14557,16 @@ "content": [ { "kind": "text", - "text": "The list of price set money amounts." + "text": "Resolves once the rule types are deleted." } ] }, { "tag": "@example", "content": [ - { - "kind": "text", - "text": "To retrieve a list of price set money amounts using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSetMoneyAmounts (id: string) {\n const pricingService = await initializePricingModule()\n\n const priceSetMoneyAmounts = await pricingService.listPriceSetMoneyAmounts({\n id: [id]\n })\n\n // do something with the price set money amounts or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the price set money amounts:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSetMoneyAmounts (id: string) {\n const pricingService = await initializePricingModule()\n\n const priceSetMoneyAmounts = await pricingService.listPriceSetMoneyAmounts({\n id: [id]\n }, {\n relations: [\"price_rules\"]\n })\n\n // do something with the price set money amounts or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSetMoneyAmounts (id: string, skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const priceSetMoneyAmounts = await pricingService.listPriceSetMoneyAmounts({\n id: [id]\n }, {\n relations: [\"price_rules\"],\n skip,\n take\n })\n\n // do something with the price set money amounts or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSetMoneyAmounts (ids: string[], titles: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const priceSetMoneyAmounts = await pricingService.listPriceSetMoneyAmounts({\n $and: [\n {\n id: ids\n },\n {\n title: titles\n }\n ]\n }, {\n relations: [\"price_rules\"],\n skip,\n take\n })\n\n // do something with the price set money amounts or return them\n}\n```" + "text": "```ts\nconst ruleTypes = await pricingModuleService.deleteRuleTypes([\n \"rul-typ_123\",\n \"rul-typ_321\",\n])\n```" } ] } @@ -16054,77 +14574,29 @@ }, "parameters": [ { - "id": 165, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filters to apply on the retrieved price set money amounts." - } - ] - }, - "type": { - "type": "reference", - "target": 454, - "name": "FilterablePriceSetMoneyAmountProps", - "package": "@medusajs/types" - } - }, - { - "id": 166, - "name": "config", + "id": 92, + "name": "ruleTypeIds", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The configurations determining how the price set money amounts are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a price set money amount." + "text": "The IDs of the rule types to delete." } ] }, "type": { - "type": "reference", - "target": 329, - "typeArguments": [ - { - "type": "reference", - "target": 460, - "name": "PriceSetMoneyAmountDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } }, { - "id": 167, + "id": 93, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -16141,7 +14613,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -16155,13 +14627,8 @@ }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 460, - "name": "PriceSetMoneyAmountDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "void" } ], "name": "Promise", @@ -16171,15 +14638,15 @@ ] }, { - "id": 168, - "name": "listAndCountPriceSetMoneyAmounts", + "id": 94, + "name": "listPrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 169, - "name": "listAndCountPriceSetMoneyAmounts", + "id": 95, + "name": "listPrices", "variant": "signature", "kind": 4096, "flags": {}, @@ -16187,7 +14654,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to retrieve a paginated list of price set money amounts along with the total count of\navailable price set money amounts satisfying the provided filters." + "text": "This method is used to retrieve a paginated list of prices based on optional filters and configuration." } ], "blockTags": [ @@ -16196,7 +14663,7 @@ "content": [ { "kind": "text", - "text": "The list of price set money amounts and their total count." + "text": "The list of prices." } ] }, @@ -16205,19 +14672,19 @@ "content": [ { "kind": "text", - "text": "To retrieve a list of price set money amounts using their IDs:\n\n" + "text": "To retrieve a list of prices using their IDs:\n\n" }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSetMoneyAmounts (id: string) {\n const pricingService = await initializePricingModule()\n\n const [priceSetMoneyAmounts, count] = await pricingService.listAndCountPriceSetMoneyAmounts({\n id: [id]\n })\n\n // do something with the price set money amounts or return them\n}\n```" + "text": "```ts\nconst prices = await pricingModuleService.listPrices({\n id: [\"price_123\", \"price_321\"],\n})\n```" }, { "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the price set money amounts:\n\n" + "text": "\n\nTo specify relations that should be retrieved within the prices:\n\n" }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSetMoneyAmounts (id: string) {\n const pricingService = await initializePricingModule()\n\n const [priceSetMoneyAmounts, count] = await pricingService.listAndCountPriceSetMoneyAmounts({\n id: [id]\n }, {\n relations: [\"price_rules\"],\n })\n\n // do something with the price set money amounts or return them\n}\n```" + "text": "```ts\nconst prices = await pricingModuleService.listPrices(\n {\n id: [\"price_123\", \"price_321\"],\n },\n {\n relations: [\"price_rules\"],\n }\n)\n```" }, { "kind": "text", @@ -16257,39 +14724,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSetMoneyAmounts (id: string, skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const [priceSetMoneyAmounts, count] = await pricingService.listAndCountPriceSetMoneyAmounts({\n id: [id]\n }, {\n relations: [\"price_rules\"],\n skip,\n take\n })\n\n // do something with the price set money amounts or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceSetMoneyAmounts (ids: string[], titles: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const [priceSetMoneyAmounts, count] = await pricingService.listAndCountPriceSetMoneyAmounts({\n $and: [\n {\n id: ids\n },\n {\n title: titles\n }\n ]\n }, {\n relations: [\"price_rules\"],\n skip,\n take\n })\n\n // do something with the price set money amounts or return them\n}\n```" + "text": "```ts\nconst prices = await pricingModuleService.listPrices(\n {\n id: [\"price_123\", \"price_321\"],\n },\n {\n relations: [\"price_rules\"],\n take: 20,\n skip: 2,\n }\n)\n```" } ] } @@ -16297,7 +14732,7 @@ }, "parameters": [ { - "id": 170, + "id": 96, "name": "filters", "variant": "param", "kind": 32768, @@ -16308,19 +14743,19 @@ "summary": [ { "kind": "text", - "text": "The filters to apply on the retrieved price set money amounts." + "text": "The filters to apply on the retrieved prices." } ] }, "type": { "type": "reference", - "target": 454, - "name": "FilterablePriceSetMoneyAmountProps", + "target": 366, + "name": "FilterablePriceProps", "package": "@medusajs/types" } }, { - "id": 171, + "id": 97, "name": "config", "variant": "param", "kind": 32768, @@ -16331,7 +14766,7 @@ "summary": [ { "kind": "text", - "text": "The configurations determining how the price set money amounts are retrieved. Its properties, such as " + "text": "The configurations determining how the prices are retrieved. Its properties, such as " }, { "kind": "code", @@ -16347,18 +14782,18 @@ }, { "kind": "text", - "text": ", accept the\nattributes or relations associated with a price set money amount." + "text": ", accept the\nattributes or relations associated with a price." } ] }, "type": { "type": "reference", - "target": 329, + "target": 293, "typeArguments": [ { "type": "reference", - "target": 460, - "name": "PriceSetMoneyAmountDTO", + "target": 373, + "name": "PriceDTO", "package": "@medusajs/types" } ], @@ -16367,7 +14802,7 @@ } }, { - "id": 172, + "id": 98, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -16384,36 +14819,27 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } } ], "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 460, - "name": "PriceSetMoneyAmountDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 373, + "name": "PriceDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", @@ -16423,15 +14849,15 @@ ] }, { - "id": 173, - "name": "createPriceSetMoneyAmountRules", + "id": 99, + "name": "softDeletePrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 174, - "name": "createPriceSetMoneyAmountRules", + "id": 100, + "name": "softDeletePrices", "variant": "signature", "kind": 4096, "flags": {}, @@ -16439,7 +14865,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to create new price set money amount rules. A price set money amount rule creates an association between a price set money amount and\na rule type." + "text": "This method soft deletes prices by their IDs." } ], "blockTags": [ @@ -16448,7 +14874,23 @@ "content": [ { "kind": "text", - "text": "The list of created price set money amount rules." + "text": "An object that includes the IDs of related records that were also soft deleted, such as the ID of the associated price rules.\nThe object's keys are the ID attribute names of the price entity's relations, such as " + }, + { + "kind": "code", + "text": "`price_rule_id`" + }, + { + "kind": "text", + "text": ", and its value is an array of strings, each being the ID of a record associated\nwith the price through this relation, such as the IDs of associated price rule.\n\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." } ] }, @@ -16457,16 +14899,33 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function createPriceSetMoneyAmountRules (priceSetMoneyAmountId: string, ruleTypeId: string, value: string) {\n const pricingService = await initializePricingModule()\n\n const priceSetMoneyAmountRules = await pricingService.createPriceSetMoneyAmountRules([\n {\n price_set_money_amount: priceSetMoneyAmountId,\n rule_type: ruleTypeId,\n value\n }\n ])\n\n // do something with the price set money amount rules or return them\n}\n```" + "text": "```ts\nawait pricingModuleService.softDeletePrices([\n \"price_123\",\n \"price_321\",\n])\n```" } ] } ] }, + "typeParameter": [ + { + "id": 101, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], "parameters": [ { - "id": 175, - "name": "data", + "id": 102, + "name": "priceIds", "variant": "param", "kind": 32768, "flags": {}, @@ -16474,22 +14933,52 @@ "summary": [ { "kind": "text", - "text": "The price set money amount rules to create." + "text": "The IDs of the prices." } ] }, "type": { "type": "array", "elementType": { - "type": "reference", - "target": 471, - "name": "CreatePriceSetMoneyAmountRulesDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } } }, { - "id": 176, + "id": 103, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 387, + "typeArguments": [ + { + "type": "reference", + "target": 101, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 104, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -16506,7 +14995,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -16520,13 +15009,35 @@ }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 442, - "name": "PriceSetMoneyAmountRulesDTO", - "package": "@medusajs/types" - } + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] } ], "name": "Promise", @@ -16536,15 +15047,15 @@ ] }, { - "id": 177, - "name": "updatePriceSetMoneyAmountRules", + "id": 105, + "name": "restorePrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 178, - "name": "updatePriceSetMoneyAmountRules", + "id": 106, + "name": "restorePrices", "variant": "signature", "kind": 4096, "flags": {}, @@ -16552,34 +15063,42 @@ "summary": [ { "kind": "text", - "text": "This method is used to update price set money amount rules, each with their provided data." + "text": "This method restores soft deleted prices by their IDs." } ], "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of updated price set money amount rules." - } - ] - }, { "tag": "@example", "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function updatePriceSetMoneyAmountRules (id: string, value: string) {\n const pricingService = await initializePricingModule()\n\n const priceSetMoneyAmountRules = await pricingService.updatePriceSetMoneyAmountRules([\n {\n id,\n value\n }\n ])\n\n // do something with the price set money amount rules or return them\n}\n```" + "text": "```ts\nawait pricingModuleService.restorePrices([\n \"price_123\",\n \"price_321\",\n])\n```" } ] } ] }, + "typeParameter": [ + { + "id": 107, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], "parameters": [ { - "id": 179, - "name": "data", + "id": 108, + "name": "priceIds", "variant": "param", "kind": 32768, "flags": {}, @@ -16587,23 +15106,21 @@ "summary": [ { "kind": "text", - "text": "The price set money amounts to update, each having the attributes to update in a price set money amount." + "text": "The IDs of the prices." } ] }, "type": { "type": "array", "elementType": { - "type": "reference", - "target": 475, - "name": "UpdatePriceSetMoneyAmountRulesDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } } }, { - "id": 180, - "name": "sharedContext", + "id": 109, + "name": "config", "variant": "param", "kind": 32768, "flags": { @@ -16613,13 +15130,61 @@ "summary": [ { "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." + "text": "Configurations determining which relations to restore along with each of the prices. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the price's relation attribute names, such as price_rules" + }, + { + "kind": "code", + "text": "`.\n@param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.\n@returns {Promise>} An object that includes the IDs of related records that were restored, such as the ID of associated price rules.\nThe object's keys are the ID attribute names of the prices entity's relations, such as `" + }, + { + "kind": "text", + "text": "price_rule_id" + }, + { + "kind": "code", + "text": "`,\nand its value is an array of strings, each being the ID of the record associated with the prices through this relation,\nsuch as the IDs of associated price rules.\n\nIf there are no related records restored, the promise resolves to `" + }, + { + "kind": "text", + "text": "void`." } ] }, "type": { "type": "reference", - "target": 297, + "target": 390, + "typeArguments": [ + { + "type": "reference", + "target": 107, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 110, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -16633,13 +15198,35 @@ }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 442, - "name": "PriceSetMoneyAmountRulesDTO", - "package": "@medusajs/types" - } + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] } ], "name": "Promise", @@ -16649,15 +15236,15 @@ ] }, { - "id": 181, - "name": "deletePriceSetMoneyAmountRules", + "id": 111, + "name": "listAndCountPrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 182, - "name": "deletePriceSetMoneyAmountRules", + "id": 112, + "name": "listAndCountPrices", "variant": "signature", "kind": 4096, "flags": {}, @@ -16665,7 +15252,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to delete price set money amount rules based on the specified IDs." + "text": "This method is used to retrieve a paginated list of prices along with the total count of\navailable prices satisfying the provided filters." } ], "blockTags": [ @@ -16674,16 +15261,68 @@ "content": [ { "kind": "text", - "text": "Resolves once the price set money amount rules are deleted." - } - ] - }, - { - "tag": "@example", - "content": [ + "text": "The list of prices and their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of prices using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [prices, count] = await pricingModuleService.listPrices(\n {\n id: [\"price_123\", \"price_321\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the prices:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [prices, count] = await pricingModuleService.listPrices(\n {\n id: [\"price_123\", \"price_321\"],\n },\n {\n relations: [\"price_rules\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function deletePriceSetMoneyAmountRule (id: string) {\n const pricingService = await initializePricingModule()\n\n await pricingService.deletePriceSetMoneyAmountRules([id])\n}\n```" + "text": "```ts\nconst [prices, count] = await pricingModuleService.listPrices(\n {\n id: [\"price_123\", \"price_321\"],\n },\n {\n relations: [\"price_rules\"],\n take: 20,\n skip: 2,\n }\n)\n```" } ] } @@ -16691,29 +15330,77 @@ }, "parameters": [ { - "id": 183, - "name": "ids", + "id": 113, + "name": "filters", "variant": "param", "kind": 32768, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The IDs of the price set money amount rules to delete." + "text": "The filters to apply on the retrieved prices." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "target": 366, + "name": "FilterablePriceProps", + "package": "@medusajs/types" } }, { - "id": 184, + "id": 114, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the prices are retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a price." + } + ] + }, + "type": { + "type": "reference", + "target": 293, + "typeArguments": [ + { + "type": "reference", + "target": 373, + "name": "PriceDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 115, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -16730,7 +15417,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -16744,8 +15431,22 @@ }, "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 373, + "name": "PriceDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] } ], "name": "Promise", @@ -16755,14 +15456,14 @@ ] }, { - "id": 185, + "id": 116, "name": "retrievePriceRule", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 186, + "id": 117, "name": "retrievePriceRule", "variant": "signature", "kind": 4096, @@ -16793,7 +15494,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceRule (id: string) {\n const pricingService = await initializePricingModule()\n\n const priceRule = await pricingService.retrievePriceRule(id)\n\n // do something with the price rule or return it\n}\n```" + "text": "```ts\nconst priceRule =\n await pricingModuleService.retrievePriceRule(\"prule_123\")\n```" }, { "kind": "text", @@ -16801,7 +15502,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceRule (id: string) {\n const pricingService = await initializePricingModule()\n\n const priceRule = await pricingService.retrievePriceRule(id, {\n relations: [\"price_set\"]\n })\n\n // do something with the price rule or return it\n}\n```" + "text": "```ts\nconst priceRule =\n await pricingModuleService.retrievePriceRule(\"prule_123\", {\n relations: [\"price_set\"],\n })\n```" } ] } @@ -16809,7 +15510,7 @@ }, "parameters": [ { - "id": 187, + "id": 118, "name": "id", "variant": "param", "kind": 32768, @@ -16828,7 +15529,7 @@ } }, { - "id": 188, + "id": 119, "name": "config", "variant": "param", "kind": 32768, @@ -16861,11 +15562,11 @@ }, "type": { "type": "reference", - "target": 329, + "target": 293, "typeArguments": [ { "type": "reference", - "target": 480, + "target": 393, "name": "PriceRuleDTO", "package": "@medusajs/types" } @@ -16875,7 +15576,7 @@ } }, { - "id": 189, + "id": 120, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -16892,7 +15593,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -16907,7 +15608,7 @@ "typeArguments": [ { "type": "reference", - "target": 480, + "target": 393, "name": "PriceRuleDTO", "package": "@medusajs/types" } @@ -16919,14 +15620,14 @@ ] }, { - "id": 190, + "id": 121, "name": "listPriceRules", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 191, + "id": 122, "name": "listPriceRules", "variant": "signature", "kind": 4096, @@ -16957,7 +15658,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceRules (id: string) {\n const pricingService = await initializePricingModule()\n\n const priceRules = await pricingService.listPriceRules({\n id: [id]\n })\n\n // do something with the price rules or return them\n}\n```" + "text": "```ts\nconst priceRules = await pricingModuleService.listPriceRules({\n id: [\"prule_123\", \"prule_321\"],\n})\n```" }, { "kind": "text", @@ -16965,7 +15666,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceRules (id: string) {\n const pricingService = await initializePricingModule()\n\n const priceRules = await pricingService.listPriceRules({\n id: [id],\n }, {\n relations: [\"price_set\"]\n })\n\n // do something with the price rules or return them\n}\n```" + "text": "```ts\nconst priceRules = await pricingModuleService.listPriceRules(\n {\n id: [\"prule_123\", \"prule_321\"],\n },\n {\n relations: [\"price_set\"],\n }\n)\n```" }, { "kind": "text", @@ -17005,39 +15706,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceRules (id: string, skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const priceRules = await pricingService.listPriceRules({\n id: [id],\n }, {\n relations: [\"price_set\"],\n skip,\n take\n })\n\n // do something with the price rules or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceRules (ids: string[], name: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const priceRules = await pricingService.listPriceRules({\n $and: [\n {\n id: ids\n },\n {\n name\n }\n ]\n }, {\n relations: [\"price_set\"],\n skip,\n take\n })\n\n // do something with the price rules or return them\n}\n```" + "text": "```ts\nconst priceRules = await pricingModuleService.listPriceRules(\n {\n id: [\"prule_123\", \"prule_321\"],\n },\n {\n relations: [\"price_set\"],\n take: 20,\n skip: 2,\n }\n)\n```" } ] } @@ -17045,7 +15714,7 @@ }, "parameters": [ { - "id": 192, + "id": 123, "name": "filters", "variant": "param", "kind": 32768, @@ -17062,13 +15731,13 @@ }, "type": { "type": "reference", - "target": 493, + "target": 406, "name": "FilterablePriceRuleProps", "package": "@medusajs/types" } }, { - "id": 193, + "id": 124, "name": "config", "variant": "param", "kind": 32768, @@ -17101,11 +15770,11 @@ }, "type": { "type": "reference", - "target": 329, + "target": 293, "typeArguments": [ { "type": "reference", - "target": 480, + "target": 393, "name": "PriceRuleDTO", "package": "@medusajs/types" } @@ -17115,7 +15784,7 @@ } }, { - "id": 194, + "id": 125, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -17132,7 +15801,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -17149,7 +15818,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 480, + "target": 393, "name": "PriceRuleDTO", "package": "@medusajs/types" } @@ -17162,14 +15831,14 @@ ] }, { - "id": 195, + "id": 126, "name": "listAndCountPriceRules", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 196, + "id": 127, "name": "listAndCountPriceRules", "variant": "signature", "kind": 4096, @@ -17200,7 +15869,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceRules (id: string) {\n const pricingService = await initializePricingModule()\n\n const [priceRules, count] = await pricingService.listAndCountPriceRules({\n id: [id]\n })\n\n // do something with the price rules or return them\n}\n```" + "text": "```ts\nconst [priceRules, count] =\n await pricingModuleService.listAndCountPriceListRules({\n id: [\"prule_123\", \"prule_321\"],\n })\n```" }, { "kind": "text", @@ -17208,7 +15877,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceRules (id: string) {\n const pricingService = await initializePricingModule()\n\n const [priceRules, count] = await pricingService.listAndCountPriceRules({\n id: [id],\n }, {\n relations: [\"price_set\"]\n })\n\n // do something with the price rules or return them\n}\n```" + "text": "```ts\nconst [priceRules, count] =\n await pricingModuleService.listAndCountPriceListRules(\n {\n id: [\"prule_123\", \"prule_321\"],\n },\n {\n relations: [\"price_set\"],\n }\n )\n```" }, { "kind": "text", @@ -17248,39 +15917,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceRules (id: string, skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const [priceRules, count] = await pricingService.listAndCountPriceRules({\n id: [id],\n }, {\n relations: [\"price_set\"],\n skip,\n take\n })\n\n // do something with the price rules or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceRules (ids: string[], name: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const [priceRules, count] = await pricingService.listAndCountPriceRules({\n $and: [\n {\n id: ids\n },\n {\n name\n }\n ]\n }, {\n relations: [\"price_set\"],\n skip,\n take\n })\n\n // do something with the price rules or return them\n}\n```" + "text": "```ts\nconst [priceRules, count] =\n await pricingModuleService.listAndCountPriceListRules(\n {\n id: [\"prule_123\", \"prule_321\"],\n },\n {\n relations: [\"price_set\"],\n take: 20,\n skip: 2,\n }\n )\n```" } ] } @@ -17288,7 +15925,7 @@ }, "parameters": [ { - "id": 197, + "id": 128, "name": "filters", "variant": "param", "kind": 32768, @@ -17305,13 +15942,13 @@ }, "type": { "type": "reference", - "target": 493, + "target": 406, "name": "FilterablePriceRuleProps", "package": "@medusajs/types" } }, { - "id": 198, + "id": 129, "name": "config", "variant": "param", "kind": 32768, @@ -17344,11 +15981,11 @@ }, "type": { "type": "reference", - "target": 329, + "target": 293, "typeArguments": [ { "type": "reference", - "target": 480, + "target": 393, "name": "PriceRuleDTO", "package": "@medusajs/types" } @@ -17358,7 +15995,7 @@ } }, { - "id": 199, + "id": 130, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -17375,7 +16012,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -17395,7 +16032,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 480, + "target": 393, "name": "PriceRuleDTO", "package": "@medusajs/types" } @@ -17414,14 +16051,14 @@ ] }, { - "id": 200, + "id": 131, "name": "createPriceRules", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 201, + "id": 132, "name": "createPriceRules", "variant": "signature", "kind": 4096, @@ -17448,7 +16085,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function createPriceRules (\n id: string,\n priceSetId: string,\n ruleTypeId: string,\n value: string,\n priceSetMoneyAmountId: string,\n priceListId: string\n) {\n const pricingService = await initializePricingModule()\n\n const priceRules = await pricingService.createPriceRules([\n {\n id,\n price_set_id: priceSetId,\n rule_type_id: ruleTypeId,\n value,\n price_set_money_amount_id: priceSetMoneyAmountId,\n price_list_id: priceListId\n }\n ])\n\n // do something with the price rules or return them\n}\n```" + "text": "```ts\nconst priceRules =\n await pricingModuleService.createPriceRules([\n {\n value: \"VIP\",\n rule_type_id: \"rul-typ_123\",\n price_set_id: \"pset_123\",\n },\n ])\n```" } ] } @@ -17456,7 +16093,7 @@ }, "parameters": [ { - "id": 202, + "id": 133, "name": "data", "variant": "param", "kind": 32768, @@ -17473,14 +16110,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 500, + "target": 413, "name": "CreatePriceRuleDTO", "package": "@medusajs/types" } } }, { - "id": 203, + "id": 134, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -17497,7 +16134,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -17514,7 +16151,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 480, + "target": 393, "name": "PriceRuleDTO", "package": "@medusajs/types" } @@ -17527,14 +16164,14 @@ ] }, { - "id": 204, + "id": 135, "name": "updatePriceRules", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 205, + "id": 136, "name": "updatePriceRules", "variant": "signature", "kind": 4096, @@ -17561,7 +16198,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function updatePriceRules (\n id: string,\n priceSetId: string,\n) {\n const pricingService = await initializePricingModule()\n\n const priceRules = await pricingService.updatePriceRules([\n {\n id,\n price_set_id: priceSetId,\n }\n ])\n\n // do something with the price rules or return them\n}\n```" + "text": "```ts\nconst priceRules =\n await pricingModuleService.updatePriceRules([\n {\n id: \"prule_123\",\n price_id: \"price_123\",\n },\n ])\n```" } ] } @@ -17569,7 +16206,7 @@ }, "parameters": [ { - "id": 206, + "id": 137, "name": "data", "variant": "param", "kind": 32768, @@ -17586,14 +16223,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 509, + "target": 419, "name": "UpdatePriceRuleDTO", "package": "@medusajs/types" } } }, { - "id": 207, + "id": 138, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -17610,7 +16247,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -17627,7 +16264,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 480, + "target": 393, "name": "PriceRuleDTO", "package": "@medusajs/types" } @@ -17640,14 +16277,14 @@ ] }, { - "id": 208, + "id": 139, "name": "deletePriceRules", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 209, + "id": 140, "name": "deletePriceRules", "variant": "signature", "kind": 4096, @@ -17674,7 +16311,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function deletePriceRules (\n id: string,\n) {\n const pricingService = await initializePricingModule()\n\n await pricingService.deletePriceRules([id])\n}\n```" + "text": "```ts\nawait pricingModuleService.deletePriceRules([\n \"prule_123\",\n \"prule_321\",\n])\n```" } ] } @@ -17682,7 +16319,7 @@ }, "parameters": [ { - "id": 210, + "id": 141, "name": "priceRuleIds", "variant": "param", "kind": 32768, @@ -17704,7 +16341,7 @@ } }, { - "id": 211, + "id": 142, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -17721,7 +16358,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -17746,14 +16383,14 @@ ] }, { - "id": 212, + "id": 143, "name": "retrievePriceList", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 213, + "id": 144, "name": "retrievePriceList", "variant": "signature", "kind": 4096, @@ -17784,7 +16421,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceList (priceListId: string) {\n const pricingService = await initializePricingModule()\n\n const priceList = await pricingService.retrievePriceList(\n priceListId\n )\n\n // do something with the price list or return it\n}\n```" + "text": "```ts\nconst priceList =\n await pricingModuleService.retrievePriceList(\"plist_123\")\n```" }, { "kind": "text", @@ -17792,7 +16429,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceList (priceListId: string) {\n const pricingService = await initializePricingModule()\n\n const priceList = await pricingService.retrievePriceList(\n priceListId,\n {\n relations: [\"price_set_money_amounts\"]\n }\n )\n\n // do something with the price list or return it\n}\n```" + "text": "```ts\nconst priceList =\n await pricingModuleService.retrievePriceList(\"plist_123\", {\n relations: [\"prices\"],\n })\n```" } ] } @@ -17800,7 +16437,7 @@ }, "parameters": [ { - "id": 214, + "id": 145, "name": "id", "variant": "param", "kind": 32768, @@ -17819,7 +16456,7 @@ } }, { - "id": 215, + "id": 146, "name": "config", "variant": "param", "kind": 32768, @@ -17852,11 +16489,11 @@ }, "type": { "type": "reference", - "target": 329, + "target": 293, "typeArguments": [ { "type": "reference", - "target": 517, + "target": 427, "name": "PriceListDTO", "package": "@medusajs/types" } @@ -17866,7 +16503,7 @@ } }, { - "id": 216, + "id": 147, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -17883,7 +16520,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -17898,7 +16535,7 @@ "typeArguments": [ { "type": "reference", - "target": 517, + "target": 427, "name": "PriceListDTO", "package": "@medusajs/types" } @@ -17910,14 +16547,14 @@ ] }, { - "id": 217, + "id": 148, "name": "listPriceLists", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 218, + "id": 149, "name": "listPriceLists", "variant": "signature", "kind": 4096, @@ -17948,7 +16585,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function listPriceLists (priceListIds: string[]) {\n const pricingService = await initializePricingModule()\n\n const priceLists = await pricingService.listPriceLists(\n {\n id: priceListIds\n },\n )\n\n // do something with the price lists or return them\n}\n```" + "text": "```ts\nconst priceLists = await pricingModuleService.listPriceLists({\n id: [\"plist_123\", \"plist_321\"],\n})\n```" }, { "kind": "text", @@ -17956,7 +16593,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function listPriceLists (priceListIds: string[]) {\n const pricingService = await initializePricingModule()\n\n const priceLists = await pricingService.listPriceLists(\n {\n id: priceListIds\n },\n {\n relations: [\"price_set_money_amounts\"]\n }\n )\n\n // do something with the price lists or return them\n}\n```" + "text": "```ts\nconst priceLists = await pricingModuleService.listPriceLists(\n {\n id: [\"plist_123\", \"plist_321\"],\n },\n {\n relations: [\"prices\"],\n }\n)\n```" }, { "kind": "text", @@ -17996,39 +16633,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function listPriceLists (priceListIds: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const priceLists = await pricingService.listPriceLists(\n {\n id: priceListIds\n },\n {\n relations: [\"price_set_money_amounts\"],\n skip,\n take\n }\n )\n\n // do something with the price lists or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function listPriceLists (priceListIds: string[], titles: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const priceLists = await pricingService.listPriceLists(\n {\n $and: [\n {\n id: priceListIds\n },\n {\n title: titles\n }\n ]\n },\n {\n relations: [\"price_set_money_amounts\"],\n skip,\n take\n }\n )\n\n // do something with the price lists or return them\n}\n```" + "text": "```ts\nconst priceLists = await pricingModuleService.listPriceLists(\n {\n id: [\"plist_123\", \"plist_321\"],\n },\n {\n relations: [\"prices\"],\n take: 20,\n skip: 2,\n }\n)\n```" } ] } @@ -18036,7 +16641,7 @@ }, "parameters": [ { - "id": 219, + "id": 150, "name": "filters", "variant": "param", "kind": 32768, @@ -18053,13 +16658,13 @@ }, "type": { "type": "reference", - "target": 529, + "target": 439, "name": "FilterablePriceListProps", "package": "@medusajs/types" } }, { - "id": 220, + "id": 151, "name": "config", "variant": "param", "kind": 32768, @@ -18092,11 +16697,11 @@ }, "type": { "type": "reference", - "target": 329, + "target": 293, "typeArguments": [ { "type": "reference", - "target": 517, + "target": 427, "name": "PriceListDTO", "package": "@medusajs/types" } @@ -18106,7 +16711,7 @@ } }, { - "id": 221, + "id": 152, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -18123,7 +16728,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -18140,7 +16745,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 517, + "target": 427, "name": "PriceListDTO", "package": "@medusajs/types" } @@ -18153,14 +16758,14 @@ ] }, { - "id": 222, + "id": 153, "name": "listAndCountPriceLists", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 223, + "id": 154, "name": "listAndCountPriceLists", "variant": "signature", "kind": 4096, @@ -18191,7 +16796,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceLists (priceListIds: string[]) {\n const pricingService = await initializePricingModule()\n\n const [priceLists, count] = await pricingService.listPriceLists(\n {\n id: priceListIds\n },\n )\n\n // do something with the price lists or return them\n}\n```" + "text": "```ts\nconst [priceLists, count] =\n await pricingModuleService.listAndCountPriceLists({\n id: [\"plist_123\", \"plist_321\"],\n })\n```" }, { "kind": "text", @@ -18199,7 +16804,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceLists (priceListIds: string[]) {\n const pricingService = await initializePricingModule()\n\n const [priceLists, count] = await pricingService.listPriceLists(\n {\n id: priceListIds\n },\n {\n relations: [\"price_set_money_amounts\"]\n }\n )\n\n // do something with the price lists or return them\n}\n```" + "text": "```ts\nconst [priceLists, count] =\n await pricingModuleService.listAndCountPriceLists(\n {\n id: [\"plist_123\", \"plist_321\"],\n },\n {\n relations: [\"prices\"],\n }\n )\n```" }, { "kind": "text", @@ -18215,47 +16820,15 @@ }, { "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceLists (priceListIds: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const [priceLists, count] = await pricingService.listPriceLists(\n {\n id: priceListIds\n },\n {\n relations: [\"price_set_money_amounts\"],\n skip,\n take\n }\n )\n\n // do something with the price lists or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" + "text": "`skip`" }, { "kind": "text", - "text": " or " + "text": " and " }, { "kind": "code", - "text": "`$or`" + "text": "`take`" }, { "kind": "text", @@ -18263,15 +16836,15 @@ }, { "kind": "code", - "text": "`filter`" + "text": "`config`" }, { "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" + "text": " parameter:\n\n" }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceLists (priceListIds: string[], titles: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const [priceLists, count] = await pricingService.listPriceLists(\n {\n $and: [\n {\n id: priceListIds\n },\n {\n title: titles\n }\n ]\n },\n {\n relations: [\"price_set_money_amounts\"],\n skip,\n take\n }\n )\n\n // do something with the price lists or return them\n}\n```" + "text": "```ts\nconst [priceLists, count] =\n await pricingModuleService.listAndCountPriceLists(\n {\n id: [\"plist_123\", \"plist_321\"],\n },\n {\n relations: [\"prices\"],\n take: 20,\n skip: 2,\n }\n )\n```" } ] } @@ -18279,7 +16852,7 @@ }, "parameters": [ { - "id": 224, + "id": 155, "name": "filters", "variant": "param", "kind": 32768, @@ -18296,13 +16869,13 @@ }, "type": { "type": "reference", - "target": 529, + "target": 439, "name": "FilterablePriceListProps", "package": "@medusajs/types" } }, { - "id": 225, + "id": 156, "name": "config", "variant": "param", "kind": 32768, @@ -18335,11 +16908,11 @@ }, "type": { "type": "reference", - "target": 329, + "target": 293, "typeArguments": [ { "type": "reference", - "target": 517, + "target": 427, "name": "PriceListDTO", "package": "@medusajs/types" } @@ -18349,7 +16922,7 @@ } }, { - "id": 226, + "id": 157, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -18366,7 +16939,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -18386,7 +16959,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 517, + "target": 427, "name": "PriceListDTO", "package": "@medusajs/types" } @@ -18405,14 +16978,14 @@ ] }, { - "id": 227, + "id": 158, "name": "createPriceLists", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 228, + "id": 159, "name": "createPriceLists", "variant": "signature", "kind": 4096, @@ -18439,7 +17012,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function createPriceList (items: {\n title: string\n description: string\n starts_at?: string\n ends_at?: string\n}[]) {\n const pricingService = await initializePricingModule()\n\n const priceList = await pricingService.createPriceLists(items)\n\n // do something with the price lists or return them\n}\n```" + "text": "```ts\nconst priceLists =\n await pricingModuleService.createPriceLists([\n {\n title: \"Sale 1\",\n description: \"Summer sale\",\n },\n {\n title: \"Sale 2\",\n description: \"Winter sale\",\n starts_at: \"2024-12-21\",\n },\n ])\n```" } ] } @@ -18447,7 +17020,7 @@ }, "parameters": [ { - "id": 229, + "id": 160, "name": "data", "variant": "param", "kind": 32768, @@ -18464,14 +17037,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 537, + "target": 448, "name": "CreatePriceListDTO", "package": "@medusajs/types" } } }, { - "id": 230, + "id": 161, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -18488,7 +17061,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -18505,7 +17078,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 517, + "target": 427, "name": "PriceListDTO", "package": "@medusajs/types" } @@ -18518,14 +17091,14 @@ ] }, { - "id": 231, + "id": 162, "name": "updatePriceLists", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 232, + "id": 163, "name": "updatePriceLists", "variant": "signature", "kind": 4096, @@ -18547,21 +17120,281 @@ } ] }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function updatePriceLists (items: {\n id: string\n title: string\n description: string\n starts_at?: string\n ends_at?: string\n}[]) {\n const pricingService = await initializePricingModule()\n\n const priceList = await pricingService.updatePriceLists(items)\n\n // do something with the price lists or return them\n}\n```" - } - ] + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst priceLists =\n await pricingModuleService.updatePriceLists([\n {\n id: \"plist_123\",\n title: \"Sale 1\",\n },\n {\n id: \"plist_321\",\n description: \"Winter sale\",\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 164, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in each price list. The price list is identifed by the " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " field." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 458, + "name": "UpdatePriceListDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 165, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 260, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 427, + "name": "PriceListDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 166, + "name": "deletePriceLists", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 167, + "name": "deletePriceLists", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to delete price lists." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the price lists are deleted successfully." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait pricingModuleService.deletePriceLists([\n \"plist_123\",\n \"plist_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 168, + "name": "priceListIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the price lists to delete." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 169, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 260, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 170, + "name": "softDeletePriceLists", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 171, + "name": "softDeletePriceLists", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method soft deletes price lists by their IDs." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted, such as the ID of the associated price list rules.\nThe object's keys are the ID attribute names of the price list entity's relations, such as " + }, + { + "kind": "code", + "text": "`price_list_rule_id`" + }, + { + "kind": "text", + "text": ", and its value is an array of strings, each being the ID of a record associated\nwith the price list through this relation, such as the IDs of associated price list rule.\n\nIf there are no related records, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait pricingModuleService.softDeletePriceLists([\n \"plist_123\",\n \"plist_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 172, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" } - ] - }, + } + ], "parameters": [ { - "id": 233, - "name": "data", + "id": 173, + "name": "priceListIds", "variant": "param", "kind": 32768, "flags": {}, @@ -18569,22 +17402,52 @@ "summary": [ { "kind": "text", - "text": "The attributes to update in each price list." + "text": "The IDs of the price lists." } ] }, "type": { "type": "array", "elementType": { - "type": "reference", - "target": 547, - "name": "UpdatePriceListDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } } }, { - "id": 234, + "id": 174, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted." + } + ] + }, + "type": { + "type": "reference", + "target": 387, + "typeArguments": [ + { + "type": "reference", + "target": 172, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 175, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -18601,7 +17464,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -18615,13 +17478,35 @@ }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 517, - "name": "PriceListDTO", - "package": "@medusajs/types" - } + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] } ], "name": "Promise", @@ -18631,15 +17516,15 @@ ] }, { - "id": 235, - "name": "deletePriceLists", + "id": 176, + "name": "restorePriceLists", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 236, - "name": "deletePriceLists", + "id": 177, + "name": "restorePriceLists", "variant": "signature", "kind": 4096, "flags": {}, @@ -18647,7 +17532,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to delete price lists." + "text": "This method restores a soft deleted price lists by its IDs." } ], "blockTags": [ @@ -18656,7 +17541,23 @@ "content": [ { "kind": "text", - "text": "Resolves when the price lists are deleted successfully." + "text": "An object that includes the IDs of related records that were restored, such as the ID of associated price list rules.\nThe object's keys are the ID attribute names of the price list entity's relations, such as " + }, + { + "kind": "code", + "text": "`price_list_rule_id`" + }, + { + "kind": "text", + "text": ",\nand its value is an array of strings, each being the ID of the record associated with the price list through this relation,\nsuch as the IDs of associated price list rules.\n\nIf there are no related records restored, the promise resolves to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." } ] }, @@ -18665,15 +17566,32 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function deletePriceLists (ids: string[]) {\n const pricingService = await initializePricingModule()\n\n await pricingService.deletePriceLists(ids)\n}\n```" + "text": "```ts\nawait pricingModuleService.restorePriceLists([\n \"plist_123\",\n \"plist_321\",\n])\n```" } ] } ] }, + "typeParameter": [ + { + "id": 178, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], "parameters": [ { - "id": 237, + "id": 179, "name": "priceListIds", "variant": "param", "kind": 32768, @@ -18682,7 +17600,7 @@ "summary": [ { "kind": "text", - "text": "The IDs of the price lists to delete." + "text": "The list of {summary}" } ] }, @@ -18695,7 +17613,55 @@ } }, { - "id": 238, + "id": 180, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the price lists. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the price list's relation attribute names, such as " + }, + { + "kind": "code", + "text": "`price_list_rules`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "target": 390, + "typeArguments": [ + { + "type": "reference", + "target": 178, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 181, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -18712,7 +17678,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -18726,8 +17692,35 @@ }, "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] } ], "name": "Promise", @@ -18737,14 +17730,14 @@ ] }, { - "id": 239, + "id": 182, "name": "retrievePriceListRule", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 240, + "id": 183, "name": "retrievePriceListRule", "variant": "signature", "kind": 4096, @@ -18775,7 +17768,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceListRule (priceListRuleId: string) {\n const pricingService = await initializePricingModule()\n\n const priceListRule = await pricingService.retrievePriceListRule(\n priceListRuleId\n )\n\n // do something with the price list rule or return it\n}\n```" + "text": "```ts\nconst priceListRule =\n await pricingModuleService.retrievePriceListRule(\n \"plrule_123\"\n )\n```" }, { "kind": "text", @@ -18783,7 +17776,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function retrievePriceListRule (priceListRuleId: string) {\n const pricingService = await initializePricingModule()\n\n const priceListRule = await pricingService.retrievePriceListRule(\n priceListRuleId,\n {\n relations: [\"price_list\"]\n }\n )\n\n // do something with the price list rule or return it\n}\n```" + "text": "```ts\nconst priceListRule =\n await pricingModuleService.retrievePriceListRule(\n \"plrule_123\",\n {\n relations: [\"price_list\"],\n }\n )\n```" } ] } @@ -18791,7 +17784,7 @@ }, "parameters": [ { - "id": 241, + "id": 184, "name": "id", "variant": "param", "kind": 32768, @@ -18810,7 +17803,7 @@ } }, { - "id": 242, + "id": 185, "name": "config", "variant": "param", "kind": 32768, @@ -18843,11 +17836,11 @@ }, "type": { "type": "reference", - "target": 329, + "target": 293, "typeArguments": [ { "type": "reference", - "target": 556, + "target": 467, "name": "PriceListRuleDTO", "package": "@medusajs/types" } @@ -18857,7 +17850,7 @@ } }, { - "id": 243, + "id": 186, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -18874,7 +17867,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -18889,7 +17882,7 @@ "typeArguments": [ { "type": "reference", - "target": 556, + "target": 467, "name": "PriceListRuleDTO", "package": "@medusajs/types" } @@ -18901,14 +17894,14 @@ ] }, { - "id": 244, + "id": 187, "name": "listPriceListRules", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 245, + "id": 188, "name": "listPriceListRules", "variant": "signature", "kind": 4096, @@ -18939,7 +17932,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function listPriceListRules (priceListRuleIds: string[]) {\n const pricingService = await initializePricingModule()\n\n const priceListRules = await pricingService.listPriceListRules(\n {\n id: priceListRuleIds\n },\n )\n\n // do something with the price list rules or return them\n}\n```" + "text": "```ts\nconst priceListRules =\n await pricingModuleService.listPriceListRules({\n id: [\"plrule_123\", \"plrule_321\"],\n })\n```" }, { "kind": "text", @@ -18947,7 +17940,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function listPriceListRules (priceListRuleIds: string[]) {\n const pricingService = await initializePricingModule()\n\n const priceListRules = await pricingService.listPriceListRules(\n {\n id: priceListRuleIds\n },\n {\n relations: [\"price_list_rule_values\"]\n }\n )\n\n // do something with the price list rules or return them\n}\n```" + "text": "```ts\nconst priceListRules =\n await pricingModuleService.listPriceListRules(\n {\n id: [\"plrule_123\", \"plrule_321\"],\n },\n {\n relations: [\"price_list_rule_values\"],\n }\n )\n```" }, { "kind": "text", @@ -18987,39 +17980,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function listPriceListRules (priceListRuleIds: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const priceListRules = await pricingService.listPriceListRules(\n {\n id: priceListRuleIds\n },\n {\n relations: [\"price_list_rule_values\"],\n skip,\n take\n }\n )\n\n // do something with the price list rules or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function listPriceListRules (priceListRuleIds: string[], ruleTypeIDs: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const priceListRules = await pricingService.listPriceListRules(\n {\n $and: [\n {\n id: priceListRuleIds\n },\n {\n rule_types: ruleTypeIDs\n }\n ]\n },\n {\n relations: [\"price_list_rule_values\"],\n skip,\n take\n }\n )\n\n // do something with the price list rules or return them\n}\n```" + "text": "```ts\nconst priceListRules =\n await pricingModuleService.listPriceListRules(\n {\n id: [\"plrule_123\", \"plrule_321\"],\n },\n {\n relations: [\"price_list_rule_values\"],\n take: 20,\n skip: 2,\n }\n )\n```" } ] } @@ -19027,7 +17988,7 @@ }, "parameters": [ { - "id": 246, + "id": 189, "name": "filters", "variant": "param", "kind": 32768, @@ -19044,13 +18005,13 @@ }, "type": { "type": "reference", - "target": 562, + "target": 473, "name": "FilterablePriceListRuleProps", "package": "@medusajs/types" } }, { - "id": 247, + "id": 190, "name": "config", "variant": "param", "kind": 32768, @@ -19083,11 +18044,11 @@ }, "type": { "type": "reference", - "target": 329, + "target": 293, "typeArguments": [ { "type": "reference", - "target": 556, + "target": 467, "name": "PriceListRuleDTO", "package": "@medusajs/types" } @@ -19097,7 +18058,7 @@ } }, { - "id": 248, + "id": 191, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -19114,7 +18075,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -19131,7 +18092,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 556, + "target": 467, "name": "PriceListRuleDTO", "package": "@medusajs/types" } @@ -19144,14 +18105,14 @@ ] }, { - "id": 249, + "id": 192, "name": "listAndCountPriceListRules", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 250, + "id": 193, "name": "listAndCountPriceListRules", "variant": "signature", "kind": 4096, @@ -19174,79 +18135,47 @@ ] }, { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To retrieve a list of price list vs using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function listAndCountPriceListRules (priceListRuleIds: string[]) {\n const pricingService = await initializePricingModule()\n\n const [priceListRules, count] = await pricingService.listAndCountPriceListRules(\n {\n id: priceListRuleIds\n },\n )\n\n // do something with the price list rules or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the price list rules:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function listAndCountPriceListRules (priceListRuleIds: string[]) {\n const pricingService = await initializePricingModule()\n\n const [priceListRules, count] = await pricingService.listAndCountPriceListRules(\n {\n id: priceListRuleIds\n },\n {\n relations: [\"price_list_rule_values\"]\n }\n )\n\n // do something with the price list rules or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, + "tag": "@example", + "content": [ { "kind": "text", - "text": " and " + "text": "To retrieve a list of price list vs using their IDs:\n\n" }, { "kind": "code", - "text": "`take`" + "text": "```ts\nconst [priceListRules, count] =\n await pricingModuleService.listAndCountPriceListRules({\n id: [\"plrule_123\", \"plrule_321\"],\n })\n```" }, { "kind": "text", - "text": " properties of the " + "text": "\n\nTo specify relations that should be retrieved within the price list rules:\n\n" }, { "kind": "code", - "text": "`config`" + "text": "```ts\nconst [priceListRules, count] =\n await pricingModuleService.listAndCountPriceListRules(\n {\n id: [\"plrule_123\", \"plrule_321\"],\n },\n {\n relations: [\"price_list_rule_values\"],\n }\n )\n```" }, { "kind": "text", - "text": " parameter:\n\n" + "text": "\n\nBy default, only the first " }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function listAndCountPriceListRules (priceListRuleIds: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const [priceListRules, count] = await pricingService.listAndCountPriceListRules(\n {\n id: priceListRuleIds\n },\n {\n relations: [\"price_list_rule_values\"],\n skip,\n take\n }\n )\n\n // do something with the price list rules or return them\n}\n```" + "text": "`15`" }, { "kind": "text", - "text": "\n\nYou can also use the " + "text": " records are retrieved. You can control pagination by specifying the " }, { "kind": "code", - "text": "`$and`" + "text": "`skip`" }, { "kind": "text", - "text": " or " + "text": " and " }, { "kind": "code", - "text": "`$or`" + "text": "`take`" }, { "kind": "text", @@ -19254,15 +18183,15 @@ }, { "kind": "code", - "text": "`filter`" + "text": "`config`" }, { "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" + "text": " parameter:\n\n" }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function listAndCountPriceListRules (priceListRuleIds: string[], ruleTypeIDs: string[], skip: number, take: number) {\n const pricingService = await initializePricingModule()\n\n const [priceListRules, count] = await pricingService.listAndCountPriceListRules(\n {\n $and: [\n {\n id: priceListRuleIds\n },\n {\n rule_types: ruleTypeIDs\n }\n ]\n },\n {\n relations: [\"price_list_rule_values\"],\n skip,\n take\n }\n )\n\n // do something with the price list rules or return them\n}\n```" + "text": "```ts\nconst [priceListRules, count] =\n await pricingModuleService.listAndCountPriceListRules(\n {\n id: [\"plrule_123\", \"plrule_321\"],\n },\n {\n relations: [\"price_list_rule_values\"],\n take: 20,\n skip: 2,\n }\n )\n```" } ] } @@ -19270,7 +18199,7 @@ }, "parameters": [ { - "id": 251, + "id": 194, "name": "filters", "variant": "param", "kind": 32768, @@ -19287,13 +18216,13 @@ }, "type": { "type": "reference", - "target": 562, + "target": 473, "name": "FilterablePriceListRuleProps", "package": "@medusajs/types" } }, { - "id": 252, + "id": 195, "name": "config", "variant": "param", "kind": 32768, @@ -19326,11 +18255,11 @@ }, "type": { "type": "reference", - "target": 329, + "target": 293, "typeArguments": [ { "type": "reference", - "target": 556, + "target": 467, "name": "PriceListRuleDTO", "package": "@medusajs/types" } @@ -19340,7 +18269,7 @@ } }, { - "id": 253, + "id": 196, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -19357,7 +18286,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -19377,7 +18306,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 556, + "target": 467, "name": "PriceListRuleDTO", "package": "@medusajs/types" } @@ -19396,14 +18325,14 @@ ] }, { - "id": 254, + "id": 197, "name": "createPriceListRules", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 255, + "id": 198, "name": "createPriceListRules", "variant": "signature", "kind": 4096, @@ -19430,7 +18359,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function createPriceListRules (items: {\n rule_type_id: string\n price_list_id: string\n}[]) {\n const pricingService = await initializePricingModule()\n\n const priceListRules = await pricingService.createPriceListRules(items)\n\n // do something with the price list rule or return them\n}\n```" + "text": "```ts\nconst priceListRules =\n await pricingModuleService.createPriceListRules([\n {\n rule_type_id: \"rul-typ_123\",\n price_list_id: \"plist_123\",\n },\n ])\n```" } ] } @@ -19438,7 +18367,7 @@ }, "parameters": [ { - "id": 256, + "id": 199, "name": "data", "variant": "param", "kind": 32768, @@ -19455,14 +18384,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 569, + "target": 480, "name": "CreatePriceListRuleDTO", "package": "@medusajs/types" } } }, { - "id": 257, + "id": 200, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -19479,7 +18408,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -19496,7 +18425,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 556, + "target": 467, "name": "PriceListRuleDTO", "package": "@medusajs/types" } @@ -19509,14 +18438,14 @@ ] }, { - "id": 258, + "id": 201, "name": "updatePriceListRules", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 259, + "id": 202, "name": "updatePriceListRules", "variant": "signature", "kind": 4096, @@ -19543,7 +18472,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function updatePriceListRules (items: {\n id: string\n rule_type_id?: string\n price_list_id?: string\n}[]) {\n const pricingService = await initializePricingModule()\n\n const priceListRules = await pricingService.updatePriceListRules(items)\n\n // do something with the price list rule or return them\n}\n```" + "text": "```ts\nconst priceListRules =\n await pricingModuleService.updatePriceListRules([\n {\n id: \"plrule_123\",\n rule_type_id: \"rul-typ_123\",\n },\n ])\n```" } ] } @@ -19551,7 +18480,7 @@ }, "parameters": [ { - "id": 260, + "id": 203, "name": "data", "variant": "param", "kind": 32768, @@ -19560,7 +18489,15 @@ "summary": [ { "kind": "text", - "text": "The attributes to update for each price list rule." + "text": "The attributes to update for each price list rule. The price list rule is identified by the " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " property." } ] }, @@ -19568,14 +18505,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 574, + "target": 485, "name": "UpdatePriceListRuleDTO", "package": "@medusajs/types" } } }, { - "id": 261, + "id": 204, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -19592,7 +18529,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -19609,7 +18546,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 556, + "target": 467, "name": "PriceListRuleDTO", "package": "@medusajs/types" } @@ -19622,14 +18559,14 @@ ] }, { - "id": 262, + "id": 205, "name": "deletePriceListRules", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 263, + "id": 206, "name": "deletePriceListRules", "variant": "signature", "kind": 4096, @@ -19656,7 +18593,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function deletePriceListRules (priceListRuleIds: string[]) {\n const pricingService = await initializePricingModule()\n\n await pricingService.deletePriceListRules(priceListRuleIds)\n}\n```" + "text": "```ts\nawait pricingModuleService.deletePriceListRules([\n \"plrule_123\",\n \"plrule_321\",\n])\n```" } ] } @@ -19664,7 +18601,7 @@ }, "parameters": [ { - "id": 264, + "id": 207, "name": "priceListRuleIds", "variant": "param", "kind": 32768, @@ -19686,7 +18623,7 @@ } }, { - "id": 265, + "id": 208, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -19703,7 +18640,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -19728,14 +18665,14 @@ ] }, { - "id": 266, + "id": 209, "name": "addPriceListPrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 267, + "id": 210, "name": "addPriceListPrices", "variant": "signature", "kind": 4096, @@ -19762,7 +18699,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function addPriceListPrices (items: {\n priceListId: string,\n prices: {\n currency_code: string,\n amount: number,\n price_set_id: string\n }[]\n}[]) {\n const pricingService = await initializePricingModule()\n\n const priceLists = await pricingService.addPriceListPrices(items)\n\n // do something with the price lists or return them\n}\n```" + "text": "```ts\nconst priceLists =\n await pricingModuleService.addPriceListPrices([\n {\n price_list_id: \"plist_123\",\n prices: [\n {\n currency_code: \"usd\",\n amount: 500,\n price_set_id: \"pset_123\",\n },\n ],\n },\n ])\n```" } ] } @@ -19770,7 +18707,7 @@ }, "parameters": [ { - "id": 268, + "id": 211, "name": "data", "variant": "param", "kind": 32768, @@ -19787,14 +18724,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 580, + "target": 491, "name": "AddPriceListPricesDTO", "package": "@medusajs/types" } } }, { - "id": 269, + "id": 212, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -19811,7 +18748,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -19828,8 +18765,8 @@ "type": "array", "elementType": { "type": "reference", - "target": 517, - "name": "PriceListDTO", + "target": 373, + "name": "PriceDTO", "package": "@medusajs/types" } } @@ -19841,14 +18778,135 @@ ] }, { - "id": 270, + "id": 213, + "name": "updatePriceListPrices", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 214, + "name": "updatePriceListPrices", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing price list's prices." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated price list's prices." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst priceLists =\n await pricingModuleService.updatePriceListPrices([\n {\n price_list_id: \"plist_123\",\n prices: [\n {\n id: \"price_123\",\n currency_code: \"usd\",\n amount: 500,\n price_set_id: \"pset_123\",\n },\n ],\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 215, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in a price list's prices. The price list's ID is specified\nin the " + }, + { + "kind": "code", + "text": "`price_list_id`" + }, + { + "kind": "text", + "text": " field." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 494, + "name": "UpdatePriceListPricesDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 216, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 260, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 373, + "name": "PriceDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 217, "name": "setPriceListRules", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 271, + "id": 218, "name": "setPriceListRules", "variant": "signature", "kind": 4096, @@ -19857,7 +18915,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to set the rules of a price list." + "text": "This method is used to set the rules of a price list. Previous rules are removed." } ], "blockTags": [ @@ -19866,7 +18924,7 @@ "content": [ { "kind": "text", - "text": "The updated price lists." + "text": "The updated price list's prices." } ] }, @@ -19875,7 +18933,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function setPriceListRules (priceListId: string) {\n const pricingService = await initializePricingModule()\n\n const priceList = await pricingService.setPriceListRules({\n priceListId,\n rules: {\n region_id: \"US\"\n }\n })\n\n // do something with the price list or return it\n}\n```" + "text": "```ts\nconst priceList =\n await pricingModuleService.setPriceListRules({\n price_list_id: \"plist_123\",\n rules: {\n region_id: \"reg_123\",\n },\n })\n```" } ] } @@ -19883,7 +18941,7 @@ }, "parameters": [ { - "id": 272, + "id": 219, "name": "data", "variant": "param", "kind": 32768, @@ -19892,19 +18950,27 @@ "summary": [ { "kind": "text", - "text": "The rules to set for a price list." + "text": "The rules to set for a price list. The price list is identified by the\n" + }, + { + "kind": "code", + "text": "`price_list_id`" + }, + { + "kind": "text", + "text": " property." } ] }, "type": { "type": "reference", - "target": 583, + "target": 497, "name": "SetPriceListRulesDTO", "package": "@medusajs/types" } }, { - "id": 273, + "id": 220, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -19921,7 +18987,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -19936,7 +19002,7 @@ "typeArguments": [ { "type": "reference", - "target": 517, + "target": 427, "name": "PriceListDTO", "package": "@medusajs/types" } @@ -19948,15 +19014,130 @@ ] }, { - "id": 274, + "id": 221, "name": "removePriceListRules", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 275, - "name": "removePriceListRules", + "id": 222, + "name": "removePriceListRules", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to remove rules from a price list." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated price lists." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst priceList =\n await pricingModuleService.removePriceListRules({\n price_list_id: \"plist_123\",\n rules: [\"region_id\"],\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 223, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules to remove from a price list. The price list is identified by the\n" + }, + { + "kind": "code", + "text": "`price_list_id`" + }, + { + "kind": "text", + "text": " property." + } + ] + }, + "type": { + "type": "reference", + "target": 500, + "name": "RemovePriceListRulesDTO", + "package": "@medusajs/types" + } + }, + { + "id": 224, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 260, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 427, + "name": "PriceListDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 225, + "name": "removePrices", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 226, + "name": "removePrices", "variant": "signature", "kind": 4096, "flags": {}, @@ -19964,7 +19145,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to remove rules from a price list." + "text": "This method deletes prices by their IDs." } ], "blockTags": [ @@ -19973,7 +19154,7 @@ "content": [ { "kind": "text", - "text": "The updated price lists." + "text": "Resolves when the prices are deleted successfully." } ] }, @@ -19982,7 +19163,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializePricingModule,\n} from \"@medusajs/pricing\"\n\nasync function setPriceListRules (priceListId: string) {\n const pricingService = await initializePricingModule()\n\n const priceList = await pricingService.removePriceListRules({\n priceListId,\n rules: [\"region_id\"]\n })\n\n // do something with the price list or return it\n}\n```" + "text": "```ts\nawait pricingModuleService.removePrices([\n \"price_123\",\n \"price_321\",\n])\n```" } ] } @@ -19990,8 +19171,8 @@ }, "parameters": [ { - "id": 276, - "name": "data", + "id": 227, + "name": "ids", "variant": "param", "kind": 32768, "flags": {}, @@ -19999,19 +19180,20 @@ "summary": [ { "kind": "text", - "text": "The rules to remove from a price list." + "text": "The IDs of the prices." } ] }, "type": { - "type": "reference", - "target": 586, - "name": "RemovePriceListRulesDTO", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } }, { - "id": 277, + "id": 228, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -20028,7 +19210,7 @@ }, "type": { "type": "reference", - "target": 297, + "target": 260, "name": "Context", "package": "@medusajs/types" } @@ -20042,10 +19224,8 @@ }, "typeArguments": [ { - "type": "reference", - "target": 517, - "name": "PriceListDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "void" } ], "name": "Promise", @@ -20064,80 +19244,68 @@ 12, 17, 22, - 33, - 37, - 41, - 48, - 55, + 29, + 36, + 45, + 49, + 53, 60, - 65, - 70, - 74, - 78, + 67, + 72, + 77, 82, - 88, + 86, + 90, 94, 99, - 104, - 109, - 113, - 117, + 105, + 111, + 116, 121, 126, 131, - 136, - 140, - 144, + 135, + 139, + 143, 148, 153, 158, - 163, - 168, - 173, - 177, - 181, - 185, - 190, - 195, - 200, - 204, - 208, - 212, + 162, + 166, + 170, + 176, + 182, + 187, + 192, + 197, + 201, + 205, + 209, + 213, 217, - 222, - 227, - 231, - 235, - 239, - 244, - 249, - 254, - 258, - 262, - 266, - 270, - 274 + 221, + 225 ] } ], "extendedTypes": [ { "type": "reference", - "target": 285, + "target": 242, "name": "IModuleService", "package": "@medusajs/types" } ] }, { - "id": 681, + "id": 650, "name": "MessageAggregatorFormat", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { - "id": 682, + "id": 651, "name": "groupBy", "variant": "declaration", "kind": 1024, @@ -20153,7 +19321,7 @@ } }, { - "id": 683, + "id": 652, "name": "sortBy", "variant": "declaration", "kind": 1024, @@ -20163,20 +19331,20 @@ "type": { "type": "reflection", "declaration": { - "id": 684, + "id": 653, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 685, + "id": 654, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 686, + "id": 655, "name": "key", "variant": "param", "kind": 32768, @@ -20216,35 +19384,35 @@ { "title": "Properties", "children": [ - 682, - 683 + 651, + 652 ] } ] }, { - "id": 616, + "id": 532, "name": "IMessageAggregator", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { - "id": 617, + "id": 533, "name": "save", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 618, + "id": 534, "name": "save", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 619, + "id": 535, "name": "msg", "variant": "param", "kind": 32768, @@ -20254,7 +19422,7 @@ "types": [ { "type": "reference", - "target": 675, + "target": 644, "name": "Message", "package": "@medusajs/types" }, @@ -20262,7 +19430,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 675, + "target": 644, "name": "Message", "package": "@medusajs/types" } @@ -20279,21 +19447,21 @@ ] }, { - "id": 620, + "id": 536, "name": "getMessages", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 621, + "id": 537, "name": "getMessages", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 622, + "id": 538, "name": "format", "variant": "param", "kind": 32768, @@ -20302,7 +19470,7 @@ }, "type": { "type": "reference", - "target": 681, + "target": 650, "name": "MessageAggregatorFormat", "package": "@medusajs/types" } @@ -20323,7 +19491,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 675, + "target": 644, "name": "Message", "package": "@medusajs/types" } @@ -20336,14 +19504,14 @@ ] }, { - "id": 623, + "id": 539, "name": "clearMessages", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 624, + "id": 540, "name": "clearMessages", "variant": "signature", "kind": 4096, @@ -20354,21 +19522,126 @@ } } ] + }, + { + "id": 541, + "name": "saveRawMessageData", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 542, + "name": "saveRawMessageData", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 543, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "parameters": [ + { + "id": 544, + "name": "messageData", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 656, + "typeArguments": [ + { + "type": "reference", + "target": 543, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "MessageFormat", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 656, + "typeArguments": [ + { + "type": "reference", + "target": 543, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "MessageFormat", + "package": "@medusajs/types" + } + } + ] + } + }, + { + "id": 545, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] } ], "groups": [ { "title": "Methods", "children": [ - 617, - 620, - 623 + 533, + 536, + 539, + 541 ] } ] }, { - "id": 297, + "id": 260, "name": "Context", "variant": "declaration", "kind": 256, @@ -20383,7 +19656,7 @@ }, "children": [ { - "id": 298, + "id": 261, "name": "__type", "variant": "declaration", "kind": 1024, @@ -20396,7 +19669,7 @@ } }, { - "id": 299, + "id": 262, "name": "transactionManager", "variant": "declaration", "kind": 1024, @@ -20429,14 +19702,14 @@ }, "type": { "type": "reference", - "target": 307, + "target": 271, "name": "TManager", "package": "@medusajs/types", "refersToTypeParameter": true } }, { - "id": 300, + "id": 263, "name": "manager", "variant": "declaration", "kind": 1024, @@ -20469,14 +19742,14 @@ }, "type": { "type": "reference", - "target": 307, + "target": 271, "name": "TManager", "package": "@medusajs/types", "refersToTypeParameter": true } }, { - "id": 301, + "id": 264, "name": "isolationLevel", "variant": "declaration", "kind": 1024, @@ -20529,7 +19802,7 @@ } }, { - "id": 302, + "id": 265, "name": "enableNestedTransactions", "variant": "declaration", "kind": 1024, @@ -20550,7 +19823,7 @@ } }, { - "id": 303, + "id": 266, "name": "eventGroupId", "variant": "declaration", "kind": 1024, @@ -20571,7 +19844,7 @@ } }, { - "id": 304, + "id": 267, "name": "transactionId", "variant": "declaration", "kind": 1024, @@ -20592,7 +19865,7 @@ } }, { - "id": 305, + "id": 268, "name": "messageAggregator", "variant": "declaration", "kind": 1024, @@ -20609,13 +19882,13 @@ }, "type": { "type": "reference", - "target": 616, + "target": 532, "name": "IMessageAggregator", "package": "@medusajs/types" } }, { - "id": 306, + "id": 269, "name": "requestId", "variant": "declaration", "kind": 1024, @@ -20630,123 +19903,291 @@ } ] }, - "type": { + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 270, + "name": "idempotencyKey", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A string indicating the idempotencyKey of the current workflow execution." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 261, + 262, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270 + ] + } + ], + "typeParameters": [ + { + "id": 271, + "name": "TManager", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + }, + { + "id": 639, + "name": "BigNumberRawValue", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 640, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 641, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 641 + ] + } + ], + "indexSignature": { + "id": 642, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "parameters": [ + { + "id": 643, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + } + } + }, + { + "id": 531, + "name": "BigNumberInput", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 639, + "name": "BigNumberRawValue", + "package": "@medusajs/types" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/bignumber.js/bignumber.d.ts", + "qualifiedName": "BigNumber" + }, + "name": "BigNumberJS", + "package": "bignumber.js", + "qualifiedName": "BigNumber" + } + ] + } + }, + { + "id": 546, + "name": "BigNumberValue", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../node_modules/bignumber.js/bignumber.d.ts", + "qualifiedName": "BigNumber" + }, + "name": "BigNumberJS", + "package": "bignumber.js", + "qualifiedName": "BigNumber" + }, + { "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 298, - 299, - 300, - 301, - 302, - 303, - 304, - 305, - 306 - ] - } - ], - "typeParameters": [ - { - "id": 307, - "name": "TManager", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "default": { + "name": "number" + }, + { "type": "intrinsic", - "name": "unknown" + "name": "string" } - } - ] + ] + } } ], "groups": [ { "title": "Enumerations", "children": [ - 637, - 640 + 572, + 597 ] }, { "title": "Interfaces", "children": [ - 329, - 625, - 396, - 399, - 688, - 657, - 285, - 402, - 411, - 416, - 407, - 367, - 383, + 293, + 556, + 387, 390, - 378, - 517, - 644, - 687, - 643, - 537, + 684, + 621, + 242, 547, - 529, - 562, - 556, - 569, - 574, - 653, - 580, - 583, - 586, + 667, + 678, + 560, + 427, + 601, + 613, + 673, + 600, + 448, + 458, + 439, + 473, + 467, 480, + 485, + 609, + 491, + 494, + 497, 500, - 509, - 493, - 442, - 471, - 475, - 447, - 460, - 454, - 295, - 293, - 340, - 308, - 362, - 629, - 359, + 393, + 413, + 419, + 406, + 258, + 256, + 305, + 272, + 338, + 565, + 335, + 332, + 316, + 321, + 327, + 310, + 373, + 366, + 343, 356, - 349, - 354, - 344, - 421, - 432, - 437, - 426, + 361, + 350, 1, - 681, - 616, - 297 + 650, + 532, + 260 ] }, { "title": "Type Aliases", "children": [ - 701, - 675, - 691, - 589, - 671 + 674, + 676, + 707, + 732, + 722, + 575, + 720, + 717, + 719, + 711, + 697, + 644, + 656, + 687, + 503, + 635, + 639, + 531, + 546 ] } ], @@ -20868,2653 +20309,2705 @@ "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "33": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.removeRules" - }, - "34": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.removeRules" - }, - "35": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "data" - }, - "36": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "sharedContext" - }, - "37": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.delete" - }, - "38": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.delete" - }, - "39": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "ids" - }, - "40": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "sharedContext" - }, - "41": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.addPrices" - }, - "42": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.addPrices" - }, - "43": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "data" - }, - "44": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "sharedContext" - }, - "45": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.addPrices" - }, - "46": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "data" - }, - "47": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "sharedContext" - }, - "48": { + "29": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.addRules" + "qualifiedName": "IPricingModuleService.upsert" }, - "49": { + "30": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.addRules" + "qualifiedName": "IPricingModuleService.upsert" }, - "50": { + "31": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "data" }, - "51": { + "32": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "52": { + "33": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.addRules" + "qualifiedName": "IPricingModuleService.upsert" }, - "53": { + "34": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "data" }, - "54": { + "35": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "55": { + "36": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.retrieveMoneyAmount" + "qualifiedName": "IPricingModuleService.update" }, - "56": { + "37": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.retrieveMoneyAmount" + "qualifiedName": "IPricingModuleService.update" }, - "57": { + "38": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "id" }, - "58": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "config" - }, - "59": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "sharedContext" - }, - "60": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.listMoneyAmounts" - }, - "61": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.listMoneyAmounts" - }, - "62": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "filters" - }, - "63": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "config" - }, - "64": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "sharedContext" - }, - "65": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.listAndCountMoneyAmounts" - }, - "66": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.listAndCountMoneyAmounts" - }, - "67": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "filters" - }, - "68": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "config" - }, - "69": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "sharedContext" - }, - "70": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.createMoneyAmounts" - }, - "71": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.createMoneyAmounts" - }, - "72": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "data" - }, - "73": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "sharedContext" - }, - "74": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.updateMoneyAmounts" - }, - "75": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.updateMoneyAmounts" - }, - "76": { + "39": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "data" }, - "77": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "sharedContext" - }, - "78": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.deleteMoneyAmounts" - }, - "79": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.deleteMoneyAmounts" - }, - "80": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "ids" - }, - "81": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "sharedContext" - }, - "82": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.softDeleteMoneyAmounts" - }, - "83": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.softDeleteMoneyAmounts" - }, - "84": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "TReturnableLinkableKeys" - }, - "85": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "ids" - }, - "86": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "config" - }, - "87": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "sharedContext" - }, - "88": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.restoreMoneyAmounts" - }, - "89": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.restoreMoneyAmounts" - }, - "90": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "TReturnableLinkableKeys" - }, - "91": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "ids" - }, - "92": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "config" - }, - "93": { + "40": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "94": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.retrieveCurrency" - }, - "95": { + "41": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.retrieveCurrency" + "qualifiedName": "IPricingModuleService.update" }, - "96": { + "42": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "code" + "qualifiedName": "selector" }, - "97": { + "43": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "config" + "qualifiedName": "data" }, - "98": { + "44": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "99": { + "45": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.listCurrencies" + "qualifiedName": "IPricingModuleService.removeRules" }, - "100": { + "46": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.listCurrencies" + "qualifiedName": "IPricingModuleService.removeRules" }, - "101": { + "47": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "filters" + "qualifiedName": "data" }, - "102": { + "48": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "config" + "qualifiedName": "sharedContext" }, - "103": { + "49": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "sharedContext" + "qualifiedName": "IPricingModuleService.delete" }, - "104": { + "50": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.listAndCountCurrencies" + "qualifiedName": "IPricingModuleService.delete" }, - "105": { + "51": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.listAndCountCurrencies" + "qualifiedName": "ids" }, - "106": { + "52": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "filters" + "qualifiedName": "sharedContext" }, - "107": { + "53": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "config" + "qualifiedName": "IPricingModuleService.addPrices" }, - "108": { + "54": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "sharedContext" + "qualifiedName": "IPricingModuleService.addPrices" }, - "109": { + "55": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.createCurrencies" + "qualifiedName": "data" }, - "110": { + "56": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "sharedContext" + }, + "57": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.createCurrencies" + "qualifiedName": "IPricingModuleService.addPrices" }, - "111": { + "58": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "data" }, - "112": { + "59": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "113": { + "60": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.updateCurrencies" + "qualifiedName": "IPricingModuleService.addRules" }, - "114": { + "61": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.updateCurrencies" + "qualifiedName": "IPricingModuleService.addRules" }, - "115": { + "62": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "data" }, - "116": { + "63": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "117": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.deleteCurrencies" - }, - "118": { + "64": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.deleteCurrencies" + "qualifiedName": "IPricingModuleService.addRules" }, - "119": { + "65": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "currencyCodes" + "qualifiedName": "data" }, - "120": { + "66": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "121": { + "67": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.retrieveRuleType" }, - "122": { + "68": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.retrieveRuleType" }, - "123": { + "69": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "id" }, - "124": { + "70": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "config" }, - "125": { + "71": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "126": { + "72": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.listRuleTypes" }, - "127": { + "73": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.listRuleTypes" }, - "128": { + "74": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "filters" }, - "129": { + "75": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "config" }, - "130": { + "76": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "131": { + "77": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.listAndCountRuleTypes" }, - "132": { + "78": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.listAndCountRuleTypes" }, - "133": { + "79": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "filters" }, - "134": { + "80": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "config" }, - "135": { + "81": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "136": { + "82": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.createRuleTypes" }, - "137": { + "83": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.createRuleTypes" }, - "138": { + "84": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "data" }, - "139": { + "85": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "140": { + "86": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.updateRuleTypes" }, - "141": { + "87": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.updateRuleTypes" }, - "142": { + "88": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "data" }, - "143": { + "89": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "144": { + "90": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.deleteRuleTypes" }, - "145": { + "91": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.deleteRuleTypes" }, - "146": { + "92": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "ruleTypeIds" }, - "147": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "sharedContext" - }, - "148": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.retrievePriceSetMoneyAmountRules" - }, - "149": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.retrievePriceSetMoneyAmountRules" - }, - "150": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "id" - }, - "151": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "config" - }, - "152": { + "93": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "153": { + "94": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.listPriceSetMoneyAmountRules" + "qualifiedName": "IPricingModuleService.listPrices" }, - "154": { + "95": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.listPriceSetMoneyAmountRules" + "qualifiedName": "IPricingModuleService.listPrices" }, - "155": { + "96": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "filters" }, - "156": { + "97": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "config" }, - "157": { + "98": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "158": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.listAndCountPriceSetMoneyAmountRules" - }, - "159": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.listAndCountPriceSetMoneyAmountRules" - }, - "160": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "filters" - }, - "161": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "config" - }, - "162": { + "99": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "sharedContext" + "qualifiedName": "IPricingModuleService.softDeletePrices" }, - "163": { + "100": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.listPriceSetMoneyAmounts" + "qualifiedName": "IPricingModuleService.softDeletePrices" }, - "164": { + "101": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.listPriceSetMoneyAmounts" + "qualifiedName": "TReturnableLinkableKeys" }, - "165": { + "102": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "filters" + "qualifiedName": "priceIds" }, - "166": { + "103": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "config" }, - "167": { + "104": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "168": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.listAndCountPriceSetMoneyAmounts" - }, - "169": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.listAndCountPriceSetMoneyAmounts" - }, - "170": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "filters" - }, - "171": { + "105": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "config" + "qualifiedName": "IPricingModuleService.restorePrices" }, - "172": { + "106": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "sharedContext" + "qualifiedName": "IPricingModuleService.restorePrices" }, - "173": { + "107": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.createPriceSetMoneyAmountRules" + "qualifiedName": "TReturnableLinkableKeys" }, - "174": { + "108": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.createPriceSetMoneyAmountRules" + "qualifiedName": "priceIds" }, - "175": { + "109": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "data" + "qualifiedName": "config" }, - "176": { + "110": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "177": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.updatePriceSetMoneyAmountRules" - }, - "178": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.updatePriceSetMoneyAmountRules" - }, - "179": { - "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "data" - }, - "180": { + "111": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "sharedContext" + "qualifiedName": "IPricingModuleService.listAndCountPrices" }, - "181": { + "112": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.deletePriceSetMoneyAmountRules" + "qualifiedName": "IPricingModuleService.listAndCountPrices" }, - "182": { + "113": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "IPricingModuleService.deletePriceSetMoneyAmountRules" + "qualifiedName": "filters" }, - "183": { + "114": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", - "qualifiedName": "ids" + "qualifiedName": "config" }, - "184": { + "115": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "185": { + "116": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.retrievePriceRule" }, - "186": { + "117": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.retrievePriceRule" }, - "187": { + "118": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "id" }, - "188": { + "119": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "config" }, - "189": { + "120": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "190": { + "121": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.listPriceRules" }, - "191": { + "122": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.listPriceRules" }, - "192": { + "123": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "filters" }, - "193": { + "124": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "config" }, - "194": { + "125": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "195": { + "126": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.listAndCountPriceRules" }, - "196": { + "127": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.listAndCountPriceRules" }, - "197": { + "128": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "filters" }, - "198": { + "129": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "config" }, - "199": { + "130": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "200": { + "131": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.createPriceRules" }, - "201": { + "132": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.createPriceRules" }, - "202": { + "133": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "data" }, - "203": { + "134": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "204": { + "135": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.updatePriceRules" }, - "205": { + "136": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.updatePriceRules" }, - "206": { + "137": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "data" }, - "207": { + "138": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "208": { + "139": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.deletePriceRules" }, - "209": { + "140": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.deletePriceRules" }, - "210": { + "141": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "priceRuleIds" }, - "211": { + "142": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "212": { + "143": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.retrievePriceList" }, - "213": { + "144": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.retrievePriceList" }, - "214": { + "145": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "id" }, - "215": { + "146": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "config" }, - "216": { + "147": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "217": { + "148": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.listPriceLists" }, - "218": { + "149": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.listPriceLists" }, - "219": { + "150": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "filters" }, - "220": { + "151": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "config" }, - "221": { + "152": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "222": { + "153": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.listAndCountPriceLists" }, - "223": { + "154": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.listAndCountPriceLists" }, - "224": { + "155": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "filters" }, - "225": { + "156": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "config" }, - "226": { + "157": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "227": { + "158": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.createPriceLists" }, - "228": { + "159": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.createPriceLists" }, - "229": { + "160": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "data" }, - "230": { + "161": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "231": { + "162": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.updatePriceLists" }, - "232": { + "163": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.updatePriceLists" }, - "233": { + "164": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "data" }, - "234": { + "165": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "235": { + "166": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.deletePriceLists" }, - "236": { + "167": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.deletePriceLists" }, - "237": { + "168": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "priceListIds" + }, + "169": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "sharedContext" + }, + "170": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "IPricingModuleService.softDeletePriceLists" + }, + "171": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "IPricingModuleService.softDeletePriceLists" + }, + "172": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "173": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "priceListIds" + }, + "174": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "config" + }, + "175": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "sharedContext" + }, + "176": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "IPricingModuleService.restorePriceLists" + }, + "177": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "IPricingModuleService.restorePriceLists" + }, + "178": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "179": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "priceListIds" }, - "238": { + "180": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "config" + }, + "181": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "239": { + "182": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.retrievePriceListRule" }, - "240": { + "183": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.retrievePriceListRule" }, - "241": { + "184": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "id" }, - "242": { + "185": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "config" }, - "243": { + "186": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "244": { + "187": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.listPriceListRules" }, - "245": { + "188": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.listPriceListRules" }, - "246": { + "189": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "filters" }, - "247": { + "190": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "config" }, - "248": { + "191": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "249": { + "192": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.listAndCountPriceListRules" }, - "250": { + "193": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.listAndCountPriceListRules" }, - "251": { + "194": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "filters" }, - "252": { + "195": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "config" }, - "253": { + "196": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "254": { + "197": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.createPriceListRules" }, - "255": { + "198": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.createPriceListRules" }, - "256": { + "199": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "data" }, - "257": { + "200": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "258": { + "201": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.updatePriceListRules" }, - "259": { + "202": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.updatePriceListRules" }, - "260": { + "203": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "data" }, - "261": { + "204": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "262": { + "205": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.deletePriceListRules" }, - "263": { + "206": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.deletePriceListRules" }, - "264": { + "207": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "priceListRuleIds" }, - "265": { + "208": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "266": { + "209": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.addPriceListPrices" }, - "267": { + "210": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.addPriceListPrices" }, - "268": { + "211": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "data" }, - "269": { + "212": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "270": { + "213": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "IPricingModuleService.updatePriceListPrices" + }, + "214": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "IPricingModuleService.updatePriceListPrices" + }, + "215": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "data" + }, + "216": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "sharedContext" + }, + "217": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.setPriceListRules" }, - "271": { + "218": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.setPriceListRules" }, - "272": { + "219": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "data" }, - "273": { + "220": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "274": { + "221": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.removePriceListRules" }, - "275": { + "222": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "IPricingModuleService.removePriceListRules" }, - "276": { + "223": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "data" }, - "277": { + "224": { "sourceFileName": "../../../packages/types/src/pricing/service.ts", "qualifiedName": "sharedContext" }, - "285": { + "225": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "IPricingModuleService.removePrices" + }, + "226": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "IPricingModuleService.removePrices" + }, + "227": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "ids" + }, + "228": { + "sourceFileName": "../../../packages/types/src/pricing/service.ts", + "qualifiedName": "sharedContext" + }, + "242": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "IModuleService" }, - "293": { + "256": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "PricingFilters" }, - "294": { + "257": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "PricingFilters.id" }, - "295": { + "258": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "PricingContext" }, - "296": { + "259": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "PricingContext.context" }, - "297": { + "260": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "Context" }, - "298": { + "261": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.__type" }, - "299": { + "262": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.transactionManager" }, - "300": { + "263": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.manager" }, - "301": { + "264": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.isolationLevel" }, - "302": { + "265": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.enableNestedTransactions" }, - "303": { + "266": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.eventGroupId" }, - "304": { + "267": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.transactionId" }, - "305": { + "268": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.messageAggregator" }, - "306": { + "269": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.requestId" }, - "307": { + "270": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "__type.idempotencyKey" + }, + "271": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "TManager" }, - "308": { + "272": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSet" }, - "309": { + "273": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSet.id" }, - "310": { + "274": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSet.is_calculated_price_price_list" }, - "311": { + "275": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSet.calculated_amount" }, - "312": { + "276": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSet.is_original_price_price_list" }, - "313": { + "277": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSet.original_amount" }, - "314": { + "278": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSet.currency_code" }, - "315": { + "279": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSet.calculated_price" }, - "316": { + "280": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type" }, - "317": { + "281": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "__type.money_amount_id" + "qualifiedName": "__type.id" }, - "318": { + "282": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type.price_list_id" }, - "319": { + "283": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type.price_list_type" }, - "320": { + "284": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type.min_quantity" }, - "321": { + "285": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type.max_quantity" }, - "322": { + "286": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CalculatedPriceSet.original_price" }, - "323": { + "287": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type" }, - "324": { + "288": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "__type.money_amount_id" + "qualifiedName": "__type.id" }, - "325": { + "289": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type.price_list_id" }, - "326": { + "290": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type.price_list_type" }, - "327": { + "291": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type.min_quantity" }, - "328": { + "292": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "__type.max_quantity" }, - "329": { + "293": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig" }, - "330": { + "294": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.select" }, - "331": { + "295": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.skip" }, - "332": { + "296": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.take" }, - "333": { + "297": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.relations" }, - "334": { + "298": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.order" }, - "335": { + "299": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "__type" }, - "336": { + "300": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "__type.__index" }, - "338": { + "302": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.withDeleted" }, - "339": { + "303": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig.filters" + }, + "304": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.Entity" }, - "340": { + "305": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "PriceSetDTO" }, - "341": { + "306": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "PriceSetDTO.id" }, - "342": { + "307": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "PriceSetDTO.money_amounts" + "qualifiedName": "PriceSetDTO.prices" }, - "343": { + "308": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "PriceSetDTO.calculated_price" + }, + "309": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "PriceSetDTO.rule_types" }, - "344": { + "310": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "FilterablePriceSetProps" }, - "345": { + "311": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "FilterablePriceSetProps.id" }, - "346": { + "312": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "FilterablePriceSetProps.money_amounts" }, - "347": { + "313": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$and" }, - "348": { + "314": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$or" }, - "349": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "CreatePriceSetDTO" - }, - "350": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "CreatePriceSetDTO.rules" - }, - "351": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "__type" - }, - "352": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "__type.rule_attribute" - }, - "353": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "CreatePriceSetDTO.prices" - }, - "354": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "UpdatePriceSetDTO" - }, - "355": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "UpdatePriceSetDTO.id" - }, - "356": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "RemovePriceSetRulesDTO" - }, - "357": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "RemovePriceSetRulesDTO.id" - }, - "358": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "RemovePriceSetRulesDTO.rules" - }, - "359": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "AddPricesDTO" - }, - "360": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "AddPricesDTO.priceSetId" - }, - "361": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "AddPricesDTO.prices" - }, - "362": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "AddRulesDTO" - }, - "363": { + "315": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "AddRulesDTO.priceSetId" + "qualifiedName": "PricingContext.context" }, - "364": { + "316": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "AddRulesDTO.rules" + "qualifiedName": "CreatePriceSetDTO" }, - "365": { + "317": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "__type" + "qualifiedName": "CreatePriceSetDTO.rules" }, - "366": { + "318": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", - "qualifiedName": "__type.attribute" - }, - "367": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO" - }, - "368": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.id" - }, - "369": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.currency_code" - }, - "370": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.currency" - }, - "371": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.amount" - }, - "372": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.min_quantity" - }, - "373": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.max_quantity" - }, - "374": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.price_set_money_amount" - }, - "375": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.created_at" - }, - "376": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.updated_at" - }, - "377": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "MoneyAmountDTO.deleted_at" - }, - "378": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "FilterableMoneyAmountProps" - }, - "379": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "FilterableMoneyAmountProps.id" - }, - "380": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "FilterableMoneyAmountProps.currency_code" - }, - "381": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" - }, - "382": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" - }, - "383": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO" - }, - "384": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.id" - }, - "385": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.currency_code" - }, - "386": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.currency" - }, - "387": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.amount" - }, - "388": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.min_quantity" - }, - "389": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.max_quantity" - }, - "390": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "UpdateMoneyAmountDTO" - }, - "391": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "UpdateMoneyAmountDTO.id" - }, - "392": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "UpdateMoneyAmountDTO.currency_code" - }, - "393": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "UpdateMoneyAmountDTO.amount" - }, - "394": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "UpdateMoneyAmountDTO.min_quantity" - }, - "395": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "UpdateMoneyAmountDTO.max_quantity" - }, - "396": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "SoftDeleteReturn" - }, - "397": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type.returnLinkableKeys" + "qualifiedName": "__type" }, - "398": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TReturnableLinkableKeys" + "319": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "__type.rule_attribute" }, - "399": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RestoreReturn" + "320": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "CreatePriceSetDTO.prices" }, - "400": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type.returnLinkableKeys" + "321": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "UpsertPriceSetDTO" }, - "401": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TReturnableLinkableKeys" + "322": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "UpsertPriceSetDTO.id" }, - "402": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CurrencyDTO" + "323": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "UpdatePriceSetDTO.rules" }, - "403": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CurrencyDTO.code" + "324": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "__type" }, - "404": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CurrencyDTO.symbol" + "325": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "__type.rule_attribute" }, - "405": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CurrencyDTO.symbol_native" + "326": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "UpdatePriceSetDTO.prices" }, - "406": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CurrencyDTO.name" + "327": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "UpdatePriceSetDTO" }, - "407": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "FilterableCurrencyProps" + "328": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "UpdatePriceSetDTO.rules" }, - "408": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "FilterableCurrencyProps.code" + "329": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "__type" }, - "409": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "330": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "__type.rule_attribute" }, - "410": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "331": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "UpdatePriceSetDTO.prices" }, - "411": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CreateCurrencyDTO" + "332": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "RemovePriceSetRulesDTO" }, - "412": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CreateCurrencyDTO.code" + "333": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "RemovePriceSetRulesDTO.id" }, - "413": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CreateCurrencyDTO.symbol" + "334": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "RemovePriceSetRulesDTO.rules" }, - "414": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CreateCurrencyDTO.symbol_native" + "335": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "AddPricesDTO" }, - "415": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "CreateCurrencyDTO.name" + "336": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "AddPricesDTO.priceSetId" }, - "416": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "UpdateCurrencyDTO" + "337": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "AddPricesDTO.prices" }, - "417": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "UpdateCurrencyDTO.code" + "338": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "AddRulesDTO" }, - "418": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "UpdateCurrencyDTO.symbol" + "339": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "AddRulesDTO.priceSetId" }, - "419": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "UpdateCurrencyDTO.symbol_native" + "340": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "AddRulesDTO.rules" }, - "420": { - "sourceFileName": "../../../packages/types/src/pricing/common/currency.ts", - "qualifiedName": "UpdateCurrencyDTO.name" + "341": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "__type" }, - "421": { + "342": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", + "qualifiedName": "__type.attribute" + }, + "343": { "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", "qualifiedName": "RuleTypeDTO" }, - "422": { + "344": { "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", "qualifiedName": "RuleTypeDTO.id" }, - "423": { + "345": { "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", "qualifiedName": "RuleTypeDTO.name" }, - "424": { + "346": { "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", "qualifiedName": "RuleTypeDTO.rule_attribute" }, - "425": { + "347": { "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", "qualifiedName": "RuleTypeDTO.default_priority" }, - "426": { + "348": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "RuleTypeDTO.created_at" + }, + "349": { + "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", + "qualifiedName": "RuleTypeDTO.updated_at" + }, + "350": { "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", "qualifiedName": "FilterableRuleTypeProps" }, - "427": { + "351": { "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", "qualifiedName": "FilterableRuleTypeProps.id" }, - "428": { + "352": { "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", "qualifiedName": "FilterableRuleTypeProps.name" }, - "429": { + "353": { "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", "qualifiedName": "FilterableRuleTypeProps.rule_attribute" }, - "430": { + "354": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$and" }, - "431": { + "355": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$or" }, - "432": { + "356": { "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", "qualifiedName": "CreateRuleTypeDTO" }, - "433": { + "357": { "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", "qualifiedName": "CreateRuleTypeDTO.id" }, - "434": { + "358": { "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", "qualifiedName": "CreateRuleTypeDTO.name" }, - "435": { + "359": { "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", "qualifiedName": "CreateRuleTypeDTO.rule_attribute" }, - "436": { + "360": { "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", "qualifiedName": "CreateRuleTypeDTO.default_priority" }, - "437": { + "361": { "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", "qualifiedName": "UpdateRuleTypeDTO" }, - "438": { + "362": { "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", "qualifiedName": "UpdateRuleTypeDTO.id" }, - "439": { + "363": { "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", "qualifiedName": "UpdateRuleTypeDTO.name" }, - "440": { + "364": { "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", "qualifiedName": "UpdateRuleTypeDTO.rule_attribute" }, - "441": { + "365": { "sourceFileName": "../../../packages/types/src/pricing/common/rule-type.ts", "qualifiedName": "UpdateRuleTypeDTO.default_priority" }, - "442": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "PriceSetMoneyAmountRulesDTO" - }, - "443": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "PriceSetMoneyAmountRulesDTO.id" - }, - "444": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "PriceSetMoneyAmountRulesDTO.price_set_money_amount" - }, - "445": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "PriceSetMoneyAmountRulesDTO.rule_type" - }, - "446": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "PriceSetMoneyAmountRulesDTO.value" - }, - "447": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "FilterablePriceSetMoneyAmountRulesProps" - }, - "448": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "FilterablePriceSetMoneyAmountRulesProps.id" - }, - "449": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "FilterablePriceSetMoneyAmountRulesProps.rule_type_id" - }, - "450": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "FilterablePriceSetMoneyAmountRulesProps.price_set_money_amount_id" - }, - "451": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "FilterablePriceSetMoneyAmountRulesProps.value" - }, - "452": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" - }, - "453": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "366": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "FilterablePriceProps" }, - "454": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "FilterablePriceSetMoneyAmountProps" + "367": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "FilterablePriceProps.id" }, - "455": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "FilterablePriceSetMoneyAmountProps.id" + "368": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "FilterablePriceProps.currency_code" }, - "456": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "FilterablePriceSetMoneyAmountProps.price_set_id" + "369": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "FilterablePriceProps.price_set_id" }, - "457": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "FilterablePriceSetMoneyAmountProps.price_list_id" + "370": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "FilterablePriceProps.price_list_id" }, - "458": { + "371": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$and" }, - "459": { + "372": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$or" }, - "460": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO" + "373": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO" }, - "461": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.id" + "374": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.id" }, - "462": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.title" + "375": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.title" }, - "463": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.price_set" + "376": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.currency_code" }, - "464": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.price_list" + "377": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.amount" }, - "465": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.price_set_id" + "378": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.min_quantity" }, - "466": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.price_rules" + "379": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.max_quantity" }, - "467": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.money_amount" + "380": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.price_set" }, - "468": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.created_at" + "381": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.price_list" }, - "469": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.updated_at" + "382": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.price_set_id" }, - "470": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount.ts", - "qualifiedName": "PriceSetMoneyAmountDTO.deleted_at" + "383": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.price_rules" }, - "471": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "CreatePriceSetMoneyAmountRulesDTO" + "384": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.created_at" }, - "472": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "CreatePriceSetMoneyAmountRulesDTO.price_set_money_amount" + "385": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.updated_at" }, - "473": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "CreatePriceSetMoneyAmountRulesDTO.rule_type" + "386": { + "sourceFileName": "../../../packages/types/src/pricing/common/price.ts", + "qualifiedName": "PriceDTO.deleted_at" }, - "474": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "CreatePriceSetMoneyAmountRulesDTO.value" + "387": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "SoftDeleteReturn" }, - "475": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "UpdatePriceSetMoneyAmountRulesDTO" + "388": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type.returnLinkableKeys" }, - "476": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "UpdatePriceSetMoneyAmountRulesDTO.id" + "389": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "477": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "UpdatePriceSetMoneyAmountRulesDTO.price_set_money_amount" + "390": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RestoreReturn" }, - "478": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "UpdatePriceSetMoneyAmountRulesDTO.rule_type" + "391": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type.returnLinkableKeys" }, - "479": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-set-money-amount-rules.ts", - "qualifiedName": "UpdatePriceSetMoneyAmountRulesDTO.value" + "392": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - "480": { + "393": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO" }, - "481": { + "394": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.id" }, - "482": { + "395": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.price_set_id" }, - "483": { + "396": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.price_set" }, - "484": { + "397": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.rule_type_id" }, - "485": { + "398": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.rule_type" }, - "486": { + "399": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.value" }, - "487": { + "400": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.priority" }, - "488": { + "401": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", - "qualifiedName": "PriceRuleDTO.price_set_money_amount_id" + "qualifiedName": "PriceRuleDTO.price_id" }, - "489": { + "402": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.price_list_id" }, - "490": { + "403": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.created_at" }, - "491": { + "404": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.updated_at" }, - "492": { + "405": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "PriceRuleDTO.deleted_at" }, - "493": { + "406": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "FilterablePriceRuleProps" }, - "494": { + "407": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "FilterablePriceRuleProps.id" }, - "495": { + "408": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "FilterablePriceRuleProps.name" }, - "496": { + "409": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "FilterablePriceRuleProps.price_set_id" }, - "497": { + "410": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "FilterablePriceRuleProps.rule_type_id" }, - "498": { + "411": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$and" }, - "499": { + "412": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$or" }, - "500": { + "413": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "CreatePriceRuleDTO" }, - "501": { + "414": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "CreatePriceRuleDTO.price_set_id" }, - "502": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", - "qualifiedName": "CreatePriceRuleDTO.price_set" - }, - "503": { + "415": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "CreatePriceRuleDTO.rule_type_id" }, - "504": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", - "qualifiedName": "CreatePriceRuleDTO.rule_type" - }, - "505": { + "416": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "CreatePriceRuleDTO.value" }, - "506": { + "417": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "CreatePriceRuleDTO.priority" }, - "507": { - "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", - "qualifiedName": "CreatePriceRuleDTO.price_set_money_amount_id" - }, - "508": { + "418": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", - "qualifiedName": "CreatePriceRuleDTO.price_set_money_amount" + "qualifiedName": "CreatePriceRuleDTO.price_id" }, - "509": { + "419": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "UpdatePriceRuleDTO" }, - "510": { + "420": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "UpdatePriceRuleDTO.id" }, - "511": { + "421": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "UpdatePriceRuleDTO.price_set_id" }, - "512": { + "422": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "UpdatePriceRuleDTO.rule_type_id" }, - "513": { + "423": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "UpdatePriceRuleDTO.value" }, - "514": { + "424": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "UpdatePriceRuleDTO.priority" }, - "515": { + "425": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", - "qualifiedName": "UpdatePriceRuleDTO.price_set_money_amount_id" + "qualifiedName": "UpdatePriceRuleDTO.price_id" }, - "516": { + "426": { "sourceFileName": "../../../packages/types/src/pricing/common/price-rule.ts", "qualifiedName": "UpdatePriceRuleDTO.price_list_id" }, - "517": { + "427": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListDTO" }, - "518": { + "428": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListDTO.id" }, - "519": { + "429": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListDTO.title" }, - "520": { + "430": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListDTO.starts_at" }, - "521": { + "431": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListDTO.status" }, - "522": { + "432": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListDTO.ends_at" }, - "523": { + "433": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListDTO.rules_count" }, - "524": { + "434": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListDTO.price_set_money_amounts" + "qualifiedName": "PriceListDTO.prices" }, - "525": { + "435": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListDTO.money_amounts" }, - "526": { + "436": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListDTO.rule_types" }, - "527": { + "437": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListDTO.rules" }, - "528": { + "438": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListDTO.price_list_rules" }, - "529": { + "439": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "FilterablePriceListProps" }, - "530": { + "440": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "FilterablePriceListProps.q" + }, + "441": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "FilterablePriceListProps.id" }, - "531": { + "442": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "FilterablePriceListProps.starts_at" }, - "532": { + "443": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "FilterablePriceListProps.ends_at" }, - "533": { + "444": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "FilterablePriceListProps.status" }, - "534": { + "445": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "FilterablePriceListProps.rules_count" }, - "535": { + "446": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$and" }, - "536": { + "447": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$or" }, - "537": { + "448": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "CreatePriceListDTO" }, - "538": { + "449": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "CreatePriceListDTO.title" }, - "539": { + "450": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "CreatePriceListDTO.description" }, - "540": { + "451": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "CreatePriceListDTO.starts_at" }, - "541": { + "452": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "CreatePriceListDTO.ends_at" }, - "542": { + "453": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "CreatePriceListDTO.status" }, - "543": { + "454": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "CreatePriceListDTO.type" }, - "544": { + "455": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "CreatePriceListDTO.rules_count" }, - "545": { + "456": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "CreatePriceListDTO.rules" }, - "546": { + "457": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "CreatePriceListDTO.prices" }, - "547": { + "458": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "UpdatePriceListDTO" }, - "548": { + "459": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "UpdatePriceListDTO.id" }, - "549": { + "460": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "UpdatePriceListDTO.title" }, - "550": { + "461": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "UpdatePriceListDTO.description" }, - "551": { + "462": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "UpdatePriceListDTO.starts_at" }, - "552": { + "463": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "UpdatePriceListDTO.ends_at" }, - "553": { + "464": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "UpdatePriceListDTO.status" }, - "554": { + "465": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "UpdatePriceListDTO.rules_count" }, - "555": { + "466": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "UpdatePriceListDTO.rules" }, - "556": { + "467": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListRuleDTO" }, - "557": { + "468": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListRuleDTO.id" }, - "558": { + "469": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListRuleDTO.value" }, - "559": { + "470": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListRuleDTO.rule_type" }, - "560": { + "471": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListRuleDTO.price_list" }, - "561": { + "472": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListRuleDTO.price_list_rule_values" }, - "562": { + "473": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "FilterablePriceListRuleProps" }, - "563": { + "474": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "FilterablePriceListRuleProps.id" }, - "564": { + "475": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "FilterablePriceListRuleProps.value" }, - "565": { + "476": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "FilterablePriceListRuleProps.rule_type" }, - "566": { + "477": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "FilterablePriceListRuleProps.price_list_id" }, - "567": { + "478": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$and" }, - "568": { + "479": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$or" }, - "569": { + "480": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "CreatePriceListRuleDTO" }, - "570": { + "481": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "CreatePriceListRuleDTO.rule_type_id" }, - "571": { + "482": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "CreatePriceListRuleDTO.rule_type" }, - "572": { + "483": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "CreatePriceListRuleDTO.price_list_id" }, - "573": { + "484": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "CreatePriceListRuleDTO.price_list" }, - "574": { + "485": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "UpdatePriceListRuleDTO" }, - "575": { + "486": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "UpdatePriceListRuleDTO.id" }, - "576": { + "487": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "UpdatePriceListRuleDTO.price_list_id" }, - "577": { + "488": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "UpdatePriceListRuleDTO.rule_type_id" }, - "578": { + "489": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "UpdatePriceListRuleDTO.price_list" }, - "579": { + "490": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "UpdatePriceListRuleDTO.rule_type" }, - "580": { + "491": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "AddPriceListPricesDTO" }, - "581": { + "492": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "AddPriceListPricesDTO.priceListId" + "qualifiedName": "AddPriceListPricesDTO.price_list_id" }, - "582": { + "493": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "AddPriceListPricesDTO.prices" }, - "583": { + "494": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListPricesDTO" + }, + "495": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListPricesDTO.price_list_id" + }, + "496": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListPricesDTO.prices" + }, + "497": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "SetPriceListRulesDTO" }, - "584": { + "498": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "SetPriceListRulesDTO.priceListId" + "qualifiedName": "SetPriceListRulesDTO.price_list_id" }, - "585": { + "499": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "SetPriceListRulesDTO.rules" }, - "586": { + "500": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "RemovePriceListRulesDTO" }, - "587": { + "501": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "RemovePriceListRulesDTO.priceListId" + "qualifiedName": "RemovePriceListRulesDTO.price_list_id" }, - "588": { + "502": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "RemovePriceListRulesDTO.rules" }, - "589": { + "503": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "ModuleJoinerConfig" }, - "590": { + "504": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "591": { + "505": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.schema" }, - "592": { + "506": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.relationships" }, - "593": { + "507": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.extends" }, - "594": { + "508": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "595": { + "509": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.serviceName" }, - "596": { + "510": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.fieldAlias" }, - "597": { + "511": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "598": { + "512": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.path" }, - "599": { + "513": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.forwardArgumentsOnPath" }, - "600": { + "514": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.isList" + }, + "515": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.relationship" }, - "601": { + "516": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.serviceName" }, - "602": { + "517": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.primaryKeys" }, - "603": { + "518": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.isLink" }, - "604": { + "519": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.linkableKeys" }, - "605": { + "520": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.isReadOnlyLink" }, - "606": { + "521": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.databaseConfig" }, - "607": { + "522": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "608": { + "523": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.tableName" }, - "609": { + "524": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.idPrefix" }, - "610": { + "525": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.extraFields" }, - "611": { + "526": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "612": { + "527": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.type" }, - "613": { + "528": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.defaultValue" }, - "614": { + "529": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.nullable" }, - "615": { + "530": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.options" }, - "616": { + "531": { + "sourceFileName": "../../../packages/types/src/totals/big-number.ts", + "qualifiedName": "BigNumberInput" + }, + "532": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator" }, - "617": { + "533": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator.save" }, - "618": { + "534": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator.save" }, - "619": { + "535": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "msg" }, - "620": { + "536": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator.getMessages" }, - "621": { + "537": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator.getMessages" }, - "622": { + "538": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "format" }, - "623": { + "539": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator.clearMessages" }, - "624": { + "540": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator.clearMessages" }, - "625": { + "541": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "IMessageAggregator.saveRawMessageData" + }, + "542": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "IMessageAggregator.saveRawMessageData" + }, + "543": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "T" + }, + "544": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "messageData" + }, + "545": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "options" + }, + "546": { + "sourceFileName": "../../../packages/types/src/totals/big-number.ts", + "qualifiedName": "BigNumberValue" + }, + "547": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "MoneyAmountDTO" + }, + "548": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "MoneyAmountDTO.id" + }, + "549": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "MoneyAmountDTO.currency_code" + }, + "550": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "MoneyAmountDTO.amount" + }, + "551": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "MoneyAmountDTO.min_quantity" + }, + "552": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "MoneyAmountDTO.max_quantity" + }, + "553": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "MoneyAmountDTO.created_at" + }, + "554": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "MoneyAmountDTO.updated_at" + }, + "555": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "MoneyAmountDTO.deleted_at" + }, + "556": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable" }, - "626": { + "557": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$and" }, - "627": { + "558": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$or" }, - "628": { + "559": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.T" }, - "629": { + "560": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "FilterableMoneyAmountProps" + }, + "561": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "FilterableMoneyAmountProps.id" + }, + "562": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "FilterableMoneyAmountProps.currency_code" + }, + "563": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "564": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "565": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CreatePricesDTO" }, - "630": { + "566": { "sourceFileName": "../../../packages/types/src/pricing/common/price-set.ts", "qualifiedName": "CreatePricesDTO.rules" }, - "631": { + "567": { "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", "qualifiedName": "CreateMoneyAmountDTO.id" }, - "632": { + "568": { "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", "qualifiedName": "CreateMoneyAmountDTO.currency_code" }, - "633": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.currency" - }, - "634": { + "569": { "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", "qualifiedName": "CreateMoneyAmountDTO.amount" }, - "635": { + "570": { "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", "qualifiedName": "CreateMoneyAmountDTO.min_quantity" }, - "636": { + "571": { "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", "qualifiedName": "CreateMoneyAmountDTO.max_quantity" }, - "637": { + "572": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListStatus" }, - "638": { + "573": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListStatus.ACTIVE" }, - "639": { + "574": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListStatus.DRAFT" }, - "640": { + "575": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "OperatorMap" + }, + "576": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "577": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$and" + }, + "578": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$or" + }, + "579": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$eq" + }, + "580": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$ne" + }, + "581": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$in" + }, + "582": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$nin" + }, + "583": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$not" + }, + "584": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$gt" + }, + "585": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$gte" + }, + "586": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$lt" + }, + "587": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$lte" + }, + "588": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$like" + }, + "589": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$re" + }, + "590": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$ilike" + }, + "591": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$fulltext" + }, + "592": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$overlap" + }, + "593": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$contains" + }, + "594": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$contained" + }, + "595": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$exists" + }, + "596": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "T" + }, + "597": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListType" }, - "641": { + "598": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListType.SALE" }, - "642": { + "599": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListType.OVERRIDE" }, - "643": { + "600": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "CreatePriceListRules" }, - "644": { + "601": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListPriceDTO" + "qualifiedName": "CreatePriceListPriceDTO" }, - "645": { + "602": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListPriceDTO.price_set_id" + "qualifiedName": "CreatePriceListPriceDTO.price_set_id" }, - "646": { + "603": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", - "qualifiedName": "PriceListPriceDTO.rules" + "qualifiedName": "CreatePriceListPriceDTO.rules" }, - "647": { + "604": { "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", "qualifiedName": "CreateMoneyAmountDTO.id" }, - "648": { + "605": { "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", "qualifiedName": "CreateMoneyAmountDTO.currency_code" }, - "649": { - "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", - "qualifiedName": "CreateMoneyAmountDTO.currency" - }, - "650": { + "606": { "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", "qualifiedName": "CreateMoneyAmountDTO.amount" }, - "651": { + "607": { "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", "qualifiedName": "CreateMoneyAmountDTO.min_quantity" }, - "652": { + "608": { "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", "qualifiedName": "CreateMoneyAmountDTO.max_quantity" }, - "653": { + "609": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListRuleValueDTO" }, - "654": { + "610": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListRuleValueDTO.id" }, - "655": { + "611": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListRuleValueDTO.value" }, - "656": { + "612": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "PriceListRuleValueDTO.price_list_rule" }, - "657": { + "613": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListPriceDTO" + }, + "614": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListPriceDTO.price_set_id" + }, + "615": { + "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", + "qualifiedName": "UpdatePriceListPriceDTO.rules" + }, + "616": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.id" + }, + "617": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.currency_code" + }, + "618": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.amount" + }, + "619": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.min_quantity" + }, + "620": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.max_quantity" + }, + "621": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig" }, - "658": { + "622": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.serviceName" }, - "659": { + "623": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.alias" }, - "660": { + "624": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.fieldAlias" }, - "661": { + "625": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type" }, - "662": { + "626": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.path" }, - "663": { + "627": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.forwardArgumentsOnPath" }, - "664": { + "628": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.primaryKeys" }, - "665": { + "629": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.relationships" }, - "666": { + "630": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.extends" }, - "667": { + "631": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type" }, - "668": { + "632": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.serviceName" }, - "669": { + "633": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.relationship" }, - "670": { + "634": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.args" }, - "671": { + "635": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "ModuleJoinerRelationship" }, - "672": { + "636": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "673": { + "637": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.isInternalService" }, - "674": { + "638": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.deleteCascade" }, - "675": { + "639": { + "sourceFileName": "../../../packages/types/src/totals/big-number.ts", + "qualifiedName": "BigNumberRawValue" + }, + "640": { + "sourceFileName": "../../../packages/types/src/totals/big-number.ts", + "qualifiedName": "__type" + }, + "641": { + "sourceFileName": "../../../packages/types/src/totals/big-number.ts", + "qualifiedName": "__type.value" + }, + "642": { + "sourceFileName": "../../../packages/types/src/totals/big-number.ts", + "qualifiedName": "__type.__index" + }, + "644": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "Message" }, - "676": { + "645": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type" }, - "677": { + "646": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type.eventName" }, - "678": { + "647": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type.body" }, - "679": { + "648": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type.options" }, - "680": { + "649": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "T" }, - "681": { + "650": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "MessageAggregatorFormat" }, - "682": { + "651": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "MessageAggregatorFormat.groupBy" }, - "683": { + "652": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "MessageAggregatorFormat.sortBy" }, - "684": { + "653": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type" }, - "685": { + "654": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.__index" }, - "687": { + "656": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "MessageFormat" + }, + "657": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type" + }, + "658": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.eventName" + }, + "659": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.metadata" + }, + "660": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type" + }, + "661": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.service" + }, + "662": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.action" + }, + "663": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.object" + }, + "664": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.eventGroupId" + }, + "665": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.data" + }, + "666": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "T" + }, + "667": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "CreateMoneyAmountDTO" + }, + "668": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "CreateMoneyAmountDTO.id" + }, + "669": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "CreateMoneyAmountDTO.currency_code" + }, + "670": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "CreateMoneyAmountDTO.amount" + }, + "671": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "CreateMoneyAmountDTO.min_quantity" + }, + "672": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "CreateMoneyAmountDTO.max_quantity" + }, + "673": { "sourceFileName": "../../../packages/types/src/pricing/common/price-list.ts", "qualifiedName": "CreatePriceSetPriceRules" }, - "688": { + "674": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Query" + }, + "675": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "T" + }, + "676": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "ExpandScalar" + }, + "677": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "T" + }, + "678": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO" + }, + "679": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.id" + }, + "680": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.currency_code" + }, + "681": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.amount" + }, + "682": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.min_quantity" + }, + "683": { + "sourceFileName": "../../../packages/types/src/pricing/common/money-amount.ts", + "qualifiedName": "UpdateMoneyAmountDTO.max_quantity" + }, + "684": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfigAlias" }, - "689": { + "685": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfigAlias.name" }, - "690": { + "686": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfigAlias.args" }, - "691": { + "687": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerRelationship" }, - "692": { + "688": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type" }, - "693": { + "689": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.alias" }, - "694": { + "690": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.foreignKey" }, - "695": { + "691": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.primaryKey" }, - "696": { + "692": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.serviceName" }, - "697": { + "693": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.isInternalService" }, - "698": { + "694": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.inverse" }, - "699": { + "695": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.isList" }, - "700": { + "696": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.args" }, - "701": { + "697": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "MessageBody" }, - "702": { + "698": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type" }, - "703": { + "699": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type.metadata" }, - "704": { + "700": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type" }, - "705": { + "701": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type.service" }, - "706": { + "702": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type.action" }, - "707": { + "703": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type.object" }, - "708": { + "704": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type.eventGroupId" }, - "709": { + "705": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type.data" }, - "710": { + "706": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "T" + }, + "707": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Scalar" + }, + "708": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "709": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.toHexString" + }, + "710": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.toHexString" + }, + "711": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "FilterQuery" + }, + "712": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "713": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.__index" + }, + "715": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "T" + }, + "716": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Prev" + }, + "717": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "FilterValue" + }, + "718": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "T" + }, + "719": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "PrevLimit" + }, + "720": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "FilterValue2" + }, + "721": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "T" + }, + "722": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Primary" + }, + "723": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "724": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.[PrimaryKeyType]" + }, + "725": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "726": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type._id" + }, + "727": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "728": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.uuid" + }, + "729": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "730": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.id" + }, + "731": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "T" + }, + "732": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "ReadonlyPrimary" + }, + "733": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "T" } } } \ No newline at end of file diff --git a/docs-util/typedoc-json-output/product.json b/docs-util/typedoc-json-output/product.json index 62d91c0ee1880..b8f6048d3d1c5 100644 --- a/docs-util/typedoc-json-output/product.json +++ b/docs-util/typedoc-json-output/product.json @@ -6,7 +6,7 @@ "flags": {}, "children": [ { - "id": 225, + "id": 354, "name": "FindConfig", "variant": "declaration", "kind": 256, @@ -29,7 +29,7 @@ }, "children": [ { - "id": 226, + "id": 355, "name": "select", "variant": "declaration", "kind": 1024, @@ -58,7 +58,7 @@ "operator": "keyof", "target": { "type": "reference", - "target": 235, + "target": 365, "name": "Entity", "package": "@medusajs/types", "qualifiedName": "FindConfig.Entity", @@ -70,7 +70,7 @@ } }, { - "id": 227, + "id": 356, "name": "skip", "variant": "declaration", "kind": 1024, @@ -100,7 +100,7 @@ } }, { - "id": 228, + "id": 357, "name": "take", "variant": "declaration", "kind": 1024, @@ -130,7 +130,7 @@ } }, { - "id": 229, + "id": 358, "name": "relations", "variant": "declaration", "kind": 1024, @@ -154,7 +154,7 @@ } }, { - "id": 230, + "id": 359, "name": "order", "variant": "declaration", "kind": 1024, @@ -188,20 +188,20 @@ "type": { "type": "reflection", "declaration": { - "id": 231, + "id": 360, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 232, + "id": 361, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 233, + "id": 362, "name": "K", "variant": "param", "kind": 32768, @@ -230,7 +230,7 @@ } }, { - "id": 234, + "id": 363, "name": "withDeleted", "variant": "declaration", "kind": 1024, @@ -257,24 +257,61 @@ "type": "intrinsic", "name": "boolean" } + }, + { + "id": 364, + "name": "filters", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enable ORM specific defined filters" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } } ], "groups": [ { "title": "Properties", "children": [ - 226, - 227, - 228, - 229, - 230, - 234 + 355, + 356, + 357, + 358, + 359, + 363, + 364 ] } ], "typeParameters": [ { - "id": 235, + "id": 365, "name": "Entity", "variant": "typeParam", "kind": 131072, @@ -283,7 +320,7 @@ ] }, { - "id": 599, + "id": 809, "name": "BaseFilterable", "variant": "declaration", "kind": 256, @@ -298,7 +335,7 @@ }, "children": [ { - "id": 600, + "id": 810, "name": "$and", "variant": "declaration", "kind": 1024, @@ -320,11 +357,11 @@ "types": [ { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 602, + "target": 812, "name": "T", "package": "@medusajs/types", "qualifiedName": "BaseFilterable.T", @@ -336,7 +373,7 @@ }, { "type": "reference", - "target": 602, + "target": 812, "name": "T", "package": "@medusajs/types", "qualifiedName": "BaseFilterable.T", @@ -347,7 +384,7 @@ } }, { - "id": 601, + "id": 811, "name": "$or", "variant": "declaration", "kind": 1024, @@ -369,11 +406,11 @@ "types": [ { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 602, + "target": 812, "name": "T", "package": "@medusajs/types", "qualifiedName": "BaseFilterable.T", @@ -385,7 +422,7 @@ }, { "type": "reference", - "target": 602, + "target": 812, "name": "T", "package": "@medusajs/types", "qualifiedName": "BaseFilterable.T", @@ -400,14 +437,14 @@ { "title": "Properties", "children": [ - 600, - 601 + 810, + 811 ] } ], "typeParameters": [ { - "id": 602, + "id": 812, "name": "T", "variant": "typeParam", "kind": 131072, @@ -417,43 +454,43 @@ "extendedBy": [ { "type": "reference", - "target": 277, + "target": 410, "name": "FilterableProductProps" }, { "type": "reference", - "target": 298, + "target": 520, "name": "FilterableProductTagProps" }, { "type": "reference", - "target": 313, + "target": 537, "name": "FilterableProductTypeProps" }, { "type": "reference", - "target": 333, + "target": 563, "name": "FilterableProductOptionProps" }, { "type": "reference", - "target": 372, + "target": 609, "name": "FilterableProductVariantProps" }, { "type": "reference", - "target": 428, + "target": 685, "name": "FilterableProductCollectionProps" }, { "type": "reference", - "target": 458, + "target": 725, "name": "FilterableProductCategoryProps" } ] }, { - "id": 547, + "id": 509, "name": "SoftDeleteReturn", "variant": "declaration", "kind": 256, @@ -468,7 +505,7 @@ }, "children": [ { - "id": 548, + "id": 510, "name": "returnLinkableKeys", "variant": "declaration", "kind": 1024, @@ -487,7 +524,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 549, + "target": 511, "name": "TReturnableLinkableKeys", "package": "@medusajs/types", "refersToTypeParameter": true @@ -499,13 +536,13 @@ { "title": "Properties", "children": [ - 548 + 510 ] } ], "typeParameters": [ { - "id": 549, + "id": 511, "name": "TReturnableLinkableKeys", "variant": "typeParam", "kind": 131072, @@ -518,7 +555,7 @@ ] }, { - "id": 550, + "id": 512, "name": "RestoreReturn", "variant": "declaration", "kind": 256, @@ -533,7 +570,7 @@ }, "children": [ { - "id": 551, + "id": 513, "name": "returnLinkableKeys", "variant": "declaration", "kind": 1024, @@ -552,7 +589,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 552, + "target": 514, "name": "TReturnableLinkableKeys", "package": "@medusajs/types", "refersToTypeParameter": true @@ -564,13 +601,13 @@ { "title": "Properties", "children": [ - 551 + 513 ] } ], "typeParameters": [ { - "id": 552, + "id": 514, "name": "TReturnableLinkableKeys", "variant": "typeParam", "kind": 131072, @@ -583,14 +620,14 @@ ] }, { - "id": 665, + "id": 892, "name": "Query", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 666, + "id": 893, "name": "T", "variant": "typeParam", "kind": 131072, @@ -601,7 +638,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 666, + "target": 893, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -614,14 +651,14 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 666, + "target": 893, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true }, "extendsType": { "type": "reference", - "target": 692, + "target": 922, "name": "Scalar", "package": "@medusajs/types" }, @@ -631,11 +668,11 @@ }, "falseType": { "type": "reference", - "target": 696, + "target": 926, "typeArguments": [ { "type": "reference", - "target": 666, + "target": 893, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -647,11 +684,11 @@ }, "falseType": { "type": "reference", - "target": 702, + "target": 932, "typeArguments": [ { "type": "reference", - "target": 666, + "target": 893, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -663,14 +700,14 @@ } }, { - "id": 667, + "id": 894, "name": "ExpandScalar", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 668, + "id": 895, "name": "T", "variant": "typeParam", "kind": 131072, @@ -688,7 +725,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 668, + "target": 895, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -719,7 +756,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 668, + "target": 895, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -753,7 +790,7 @@ }, "falseType": { "type": "reference", - "target": 668, + "target": 895, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -764,7 +801,7 @@ } }, { - "id": 692, + "id": 922, "name": "Scalar", "variant": "declaration", "kind": 2097152, @@ -823,21 +860,21 @@ { "type": "reflection", "declaration": { - "id": 693, + "id": 923, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 694, + "id": 924, "name": "toHexString", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 695, + "id": 925, "name": "toHexString", "variant": "signature", "kind": 4096, @@ -854,7 +891,7 @@ { "title": "Methods", "children": [ - 694 + 924 ] } ] @@ -864,14 +901,14 @@ } }, { - "id": 717, + "id": 947, "name": "ReadonlyPrimary", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 718, + "id": 948, "name": "T", "variant": "typeParam", "kind": 131072, @@ -882,7 +919,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 718, + "target": 948, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -903,7 +940,7 @@ "typeArguments": [ { "type": "reference", - "target": 718, + "target": 948, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -914,7 +951,7 @@ }, "falseType": { "type": "reference", - "target": 718, + "target": 948, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -922,14 +959,14 @@ } }, { - "id": 707, + "id": 937, "name": "Primary", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 716, + "id": 946, "name": "T", "variant": "typeParam", "kind": 131072, @@ -940,7 +977,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 716, + "target": 946, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -948,14 +985,14 @@ "extendsType": { "type": "reflection", "declaration": { - "id": 708, + "id": 938, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 709, + "id": 939, "name": "[PrimaryKeyType]", "variant": "declaration", "kind": 1024, @@ -972,7 +1009,7 @@ { "title": "Properties", "children": [ - 709 + 939 ] } ] @@ -980,7 +1017,7 @@ }, "trueType": { "type": "reference", - "target": 717, + "target": 947, "typeArguments": [ { "type": "reference", @@ -1000,7 +1037,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 716, + "target": 946, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1008,14 +1045,14 @@ "extendsType": { "type": "reflection", "declaration": { - "id": 710, + "id": 940, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 711, + "id": 941, "name": "_id", "variant": "declaration", "kind": 1024, @@ -1032,7 +1069,7 @@ { "title": "Properties", "children": [ - 711 + 941 ] } ] @@ -1043,7 +1080,7 @@ "types": [ { "type": "reference", - "target": 717, + "target": 947, "typeArguments": [ { "type": "reference", @@ -1069,7 +1106,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 716, + "target": 946, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1077,14 +1114,14 @@ "extendsType": { "type": "reflection", "declaration": { - "id": 712, + "id": 942, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 713, + "id": 943, "name": "uuid", "variant": "declaration", "kind": 1024, @@ -1101,7 +1138,7 @@ { "title": "Properties", "children": [ - 713 + 943 ] } ] @@ -1109,7 +1146,7 @@ }, "trueType": { "type": "reference", - "target": 717, + "target": 947, "typeArguments": [ { "type": "reference", @@ -1129,7 +1166,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 716, + "target": 946, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1137,14 +1174,14 @@ "extendsType": { "type": "reflection", "declaration": { - "id": 714, + "id": 944, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 715, + "id": 945, "name": "id", "variant": "declaration", "kind": 1024, @@ -1161,7 +1198,7 @@ { "title": "Properties", "children": [ - 715 + 945 ] } ] @@ -1169,7 +1206,7 @@ }, "trueType": { "type": "reference", - "target": 717, + "target": 947, "typeArguments": [ { "type": "reference", @@ -1195,14 +1232,14 @@ } }, { - "id": 603, + "id": 813, "name": "OperatorMap", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 624, + "id": 834, "name": "T", "variant": "typeParam", "kind": 131072, @@ -1212,14 +1249,14 @@ "type": { "type": "reflection", "declaration": { - "id": 604, + "id": 814, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 605, + "id": 815, "name": "$and", "variant": "declaration", "kind": 1024, @@ -1230,11 +1267,11 @@ "type": "array", "elementType": { "type": "reference", - "target": 665, + "target": 892, "typeArguments": [ { "type": "reference", - "target": 624, + "target": 834, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1246,7 +1283,7 @@ } }, { - "id": 606, + "id": 816, "name": "$or", "variant": "declaration", "kind": 1024, @@ -1257,11 +1294,11 @@ "type": "array", "elementType": { "type": "reference", - "target": 665, + "target": 892, "typeArguments": [ { "type": "reference", - "target": 624, + "target": 834, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1273,7 +1310,7 @@ } }, { - "id": 607, + "id": 817, "name": "$eq", "variant": "declaration", "kind": 1024, @@ -1285,11 +1322,11 @@ "types": [ { "type": "reference", - "target": 667, + "target": 894, "typeArguments": [ { "type": "reference", - "target": 624, + "target": 834, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1302,11 +1339,11 @@ "type": "array", "elementType": { "type": "reference", - "target": 667, + "target": 894, "typeArguments": [ { "type": "reference", - "target": 624, + "target": 834, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1320,7 +1357,7 @@ } }, { - "id": 608, + "id": 818, "name": "$ne", "variant": "declaration", "kind": 1024, @@ -1329,11 +1366,11 @@ }, "type": { "type": "reference", - "target": 667, + "target": 894, "typeArguments": [ { "type": "reference", - "target": 624, + "target": 834, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1344,7 +1381,7 @@ } }, { - "id": 609, + "id": 819, "name": "$in", "variant": "declaration", "kind": 1024, @@ -1355,11 +1392,11 @@ "type": "array", "elementType": { "type": "reference", - "target": 667, + "target": 894, "typeArguments": [ { "type": "reference", - "target": 624, + "target": 834, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1371,7 +1408,7 @@ } }, { - "id": 610, + "id": 820, "name": "$nin", "variant": "declaration", "kind": 1024, @@ -1382,11 +1419,11 @@ "type": "array", "elementType": { "type": "reference", - "target": 667, + "target": 894, "typeArguments": [ { "type": "reference", - "target": 624, + "target": 834, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1398,7 +1435,7 @@ } }, { - "id": 611, + "id": 821, "name": "$not", "variant": "declaration", "kind": 1024, @@ -1407,11 +1444,11 @@ }, "type": { "type": "reference", - "target": 665, + "target": 892, "typeArguments": [ { "type": "reference", - "target": 624, + "target": 834, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1422,7 +1459,7 @@ } }, { - "id": 612, + "id": 822, "name": "$gt", "variant": "declaration", "kind": 1024, @@ -1431,11 +1468,11 @@ }, "type": { "type": "reference", - "target": 667, + "target": 894, "typeArguments": [ { "type": "reference", - "target": 624, + "target": 834, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1446,7 +1483,7 @@ } }, { - "id": 613, + "id": 823, "name": "$gte", "variant": "declaration", "kind": 1024, @@ -1455,11 +1492,11 @@ }, "type": { "type": "reference", - "target": 667, + "target": 894, "typeArguments": [ { "type": "reference", - "target": 624, + "target": 834, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1470,7 +1507,7 @@ } }, { - "id": 614, + "id": 824, "name": "$lt", "variant": "declaration", "kind": 1024, @@ -1479,11 +1516,11 @@ }, "type": { "type": "reference", - "target": 667, + "target": 894, "typeArguments": [ { "type": "reference", - "target": 624, + "target": 834, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1494,7 +1531,7 @@ } }, { - "id": 615, + "id": 825, "name": "$lte", "variant": "declaration", "kind": 1024, @@ -1503,11 +1540,11 @@ }, "type": { "type": "reference", - "target": 667, + "target": 894, "typeArguments": [ { "type": "reference", - "target": 624, + "target": 834, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1518,7 +1555,7 @@ } }, { - "id": 616, + "id": 826, "name": "$like", "variant": "declaration", "kind": 1024, @@ -1531,7 +1568,7 @@ } }, { - "id": 617, + "id": 827, "name": "$re", "variant": "declaration", "kind": 1024, @@ -1544,7 +1581,7 @@ } }, { - "id": 618, + "id": 828, "name": "$ilike", "variant": "declaration", "kind": 1024, @@ -1557,7 +1594,7 @@ } }, { - "id": 619, + "id": 829, "name": "$fulltext", "variant": "declaration", "kind": 1024, @@ -1570,7 +1607,7 @@ } }, { - "id": 620, + "id": 830, "name": "$overlap", "variant": "declaration", "kind": 1024, @@ -1586,7 +1623,7 @@ } }, { - "id": 621, + "id": 831, "name": "$contains", "variant": "declaration", "kind": 1024, @@ -1602,7 +1639,7 @@ } }, { - "id": 622, + "id": 832, "name": "$contained", "variant": "declaration", "kind": 1024, @@ -1618,7 +1655,7 @@ } }, { - "id": 623, + "id": 833, "name": "$exists", "variant": "declaration", "kind": 1024, @@ -1635,25 +1672,25 @@ { "title": "Properties", "children": [ - 605, - 606, - 607, - 608, - 609, - 610, - 611, - 612, - 613, - 614, - 615, - 616, - 617, - 618, - 619, - 620, - 621, - 622, - 623 + 815, + 816, + 817, + 818, + 819, + 820, + 821, + 822, + 823, + 824, + 825, + 826, + 827, + 828, + 829, + 830, + 831, + 832, + 833 ] } ] @@ -1661,14 +1698,14 @@ } }, { - "id": 705, + "id": 935, "name": "FilterValue2", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 706, + "id": 936, "name": "T", "variant": "typeParam", "kind": 131072, @@ -1680,18 +1717,18 @@ "types": [ { "type": "reference", - "target": 706, + "target": 936, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true }, { "type": "reference", - "target": 667, + "target": 894, "typeArguments": [ { "type": "reference", - "target": 706, + "target": 936, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1702,11 +1739,11 @@ }, { "type": "reference", - "target": 707, + "target": 937, "typeArguments": [ { "type": "reference", - "target": 706, + "target": 936, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1719,14 +1756,14 @@ } }, { - "id": 702, + "id": 932, "name": "FilterValue", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 703, + "id": 933, "name": "T", "variant": "typeParam", "kind": 131072, @@ -1738,15 +1775,15 @@ "types": [ { "type": "reference", - "target": 603, + "target": 813, "typeArguments": [ { "type": "reference", - "target": 705, + "target": 935, "typeArguments": [ { "type": "reference", - "target": 703, + "target": 933, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1761,11 +1798,11 @@ }, { "type": "reference", - "target": 705, + "target": 935, "typeArguments": [ { "type": "reference", - "target": 703, + "target": 933, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1778,11 +1815,11 @@ "type": "array", "elementType": { "type": "reference", - "target": 705, + "target": 935, "typeArguments": [ { "type": "reference", - "target": 703, + "target": 933, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1800,7 +1837,7 @@ } }, { - "id": 704, + "id": 934, "name": "PrevLimit", "variant": "declaration", "kind": 2097152, @@ -1828,14 +1865,14 @@ } }, { - "id": 696, + "id": 926, "name": "FilterQuery", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 700, + "id": 930, "name": "T", "variant": "typeParam", "kind": 131072, @@ -1846,7 +1883,7 @@ } }, { - "id": 701, + "id": 931, "name": "Prev", "variant": "typeParam", "kind": 131072, @@ -1865,7 +1902,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 701, + "target": 931, "name": "Prev", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1886,7 +1923,7 @@ "operator": "keyof", "target": { "type": "reference", - "target": 700, + "target": 930, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1908,7 +1945,7 @@ }, "objectType": { "type": "reference", - "target": 700, + "target": 930, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1965,7 +2002,7 @@ }, "objectType": { "type": "reference", - "target": 700, + "target": 930, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -1973,7 +2010,7 @@ }, { "type": "reference", - "target": 603, + "target": 813, "typeArguments": [ { "type": "indexedAccess", @@ -1989,7 +2026,7 @@ }, "objectType": { "type": "reference", - "target": 700, + "target": 930, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -2017,7 +2054,7 @@ }, "objectType": { "type": "reference", - "target": 700, + "target": 930, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -2042,20 +2079,20 @@ "extendsType": { "type": "reflection", "declaration": { - "id": 697, + "id": 927, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 698, + "id": 928, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 699, + "id": 929, "name": "x", "variant": "param", "kind": 32768, @@ -2091,7 +2128,7 @@ }, "trueType": { "type": "reference", - "target": 696, + "target": 926, "typeArguments": [ { "type": "reference", @@ -2118,14 +2155,14 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "target": 701, + "target": 931, "name": "Prev", "package": "@medusajs/types", "refersToTypeParameter": true }, "objectType": { "type": "reference", - "target": 704, + "target": 934, "name": "PrevLimit", "package": "@medusajs/types" } @@ -2155,14 +2192,14 @@ } }, { - "id": 682, + "id": 912, "name": "MessageBody", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 691, + "id": 921, "name": "T", "variant": "typeParam", "kind": 131072, @@ -2176,14 +2213,14 @@ "type": { "type": "reflection", "declaration": { - "id": 683, + "id": 913, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 684, + "id": 914, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -2191,14 +2228,14 @@ "type": { "type": "reflection", "declaration": { - "id": 685, + "id": 915, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 686, + "id": 916, "name": "service", "variant": "declaration", "kind": 1024, @@ -2209,7 +2246,7 @@ } }, { - "id": 687, + "id": 917, "name": "action", "variant": "declaration", "kind": 1024, @@ -2220,7 +2257,7 @@ } }, { - "id": 688, + "id": 918, "name": "object", "variant": "declaration", "kind": 1024, @@ -2231,7 +2268,7 @@ } }, { - "id": 689, + "id": 919, "name": "eventGroupId", "variant": "declaration", "kind": 1024, @@ -2248,10 +2285,10 @@ { "title": "Properties", "children": [ - 686, - 687, - 688, - 689 + 916, + 917, + 918, + 919 ] } ] @@ -2259,14 +2296,14 @@ } }, { - "id": 690, + "id": 920, "name": "data", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 691, + "target": 921, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -2277,8 +2314,8 @@ { "title": "Properties", "children": [ - 684, - 690 + 914, + 920 ] } ] @@ -2286,14 +2323,14 @@ } }, { - "id": 653, + "id": 869, "name": "Message", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 658, + "id": 874, "name": "T", "variant": "typeParam", "kind": 131072, @@ -2307,14 +2344,14 @@ "type": { "type": "reflection", "declaration": { - "id": 654, + "id": 870, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 655, + "id": 871, "name": "eventName", "variant": "declaration", "kind": 1024, @@ -2325,18 +2362,18 @@ } }, { - "id": 656, + "id": 872, "name": "body", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 682, + "target": 912, "typeArguments": [ { "type": "reference", - "target": 658, + "target": 874, "name": "T", "package": "@medusajs/types", "refersToTypeParameter": true @@ -2347,7 +2384,7 @@ } }, { - "id": 657, + "id": 873, "name": "options", "variant": "declaration", "kind": 1024, @@ -2379,9 +2416,167 @@ { "title": "Properties", "children": [ - 655, - 656, - 657 + 871, + 872, + 873 + ] + } + ] + } + } + }, + { + "id": 881, + "name": "MessageFormat", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 891, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 882, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 883, + "name": "eventName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 884, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 885, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 886, + "name": "service", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 887, + "name": "action", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 888, + "name": "object", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 889, + "name": "eventGroupId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 886, + 887, + 888, + 889 + ] + } + ] + } + } + }, + { + "id": 890, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 891, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 891, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 883, + 884, + 890 ] } ] @@ -2389,7 +2584,7 @@ } }, { - "id": 672, + "id": 902, "name": "JoinerRelationship", "variant": "declaration", "kind": 2097152, @@ -2397,14 +2592,14 @@ "type": { "type": "reflection", "declaration": { - "id": 673, + "id": 903, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 674, + "id": 904, "name": "alias", "variant": "declaration", "kind": 1024, @@ -2415,7 +2610,7 @@ } }, { - "id": 675, + "id": 905, "name": "foreignKey", "variant": "declaration", "kind": 1024, @@ -2426,7 +2621,7 @@ } }, { - "id": 676, + "id": 906, "name": "primaryKey", "variant": "declaration", "kind": 1024, @@ -2437,7 +2632,7 @@ } }, { - "id": 677, + "id": 907, "name": "serviceName", "variant": "declaration", "kind": 1024, @@ -2448,7 +2643,7 @@ } }, { - "id": 678, + "id": 908, "name": "isInternalService", "variant": "declaration", "kind": 1024, @@ -2469,7 +2664,7 @@ } }, { - "id": 679, + "id": 909, "name": "inverse", "variant": "declaration", "kind": 1024, @@ -2490,7 +2685,7 @@ } }, { - "id": 680, + "id": 910, "name": "isList", "variant": "declaration", "kind": 1024, @@ -2511,7 +2706,7 @@ } }, { - "id": 681, + "id": 911, "name": "args", "variant": "declaration", "kind": 1024, @@ -2551,14 +2746,14 @@ { "title": "Properties", "children": [ - 674, - 675, - 676, - 677, - 678, - 679, - 680, - 681 + 904, + 905, + 906, + 907, + 908, + 909, + 910, + 911 ] } ] @@ -2566,14 +2761,14 @@ } }, { - "id": 669, + "id": 899, "name": "JoinerServiceConfigAlias", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { - "id": 670, + "id": 900, "name": "name", "variant": "declaration", "kind": 1024, @@ -2596,7 +2791,7 @@ } }, { - "id": 671, + "id": 901, "name": "args", "variant": "declaration", "kind": 1024, @@ -2636,21 +2831,21 @@ { "title": "Properties", "children": [ - 670, - 671 + 900, + 901 ] } ] }, { - "id": 635, + "id": 851, "name": "JoinerServiceConfig", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { - "id": 636, + "id": 852, "name": "serviceName", "variant": "declaration", "kind": 1024, @@ -2661,7 +2856,7 @@ } }, { - "id": 637, + "id": 853, "name": "alias", "variant": "declaration", "kind": 1024, @@ -2681,7 +2876,7 @@ "types": [ { "type": "reference", - "target": 669, + "target": 899, "name": "JoinerServiceConfigAlias", "package": "@medusajs/types" }, @@ -2689,7 +2884,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 669, + "target": 899, "name": "JoinerServiceConfigAlias", "package": "@medusajs/types" } @@ -2698,7 +2893,7 @@ } }, { - "id": 638, + "id": 854, "name": "fieldAlias", "variant": "declaration", "kind": 1024, @@ -2734,14 +2929,14 @@ { "type": "reflection", "declaration": { - "id": 639, + "id": 855, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 640, + "id": 856, "name": "path", "variant": "declaration", "kind": 1024, @@ -2752,7 +2947,7 @@ } }, { - "id": 641, + "id": 857, "name": "forwardArgumentsOnPath", "variant": "declaration", "kind": 1024, @@ -2770,8 +2965,8 @@ { "title": "Properties", "children": [ - 640, - 641 + 856, + 857 ] } ] @@ -2785,7 +2980,7 @@ } }, { - "id": 642, + "id": 858, "name": "primaryKeys", "variant": "declaration", "kind": 1024, @@ -2799,7 +2994,7 @@ } }, { - "id": 643, + "id": 859, "name": "relationships", "variant": "declaration", "kind": 1024, @@ -2810,14 +3005,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 672, + "target": 902, "name": "JoinerRelationship", "package": "@medusajs/types" } } }, { - "id": 644, + "id": 860, "name": "extends", "variant": "declaration", "kind": 1024, @@ -2829,14 +3024,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 645, + "id": 861, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 646, + "id": 862, "name": "serviceName", "variant": "declaration", "kind": 1024, @@ -2847,14 +3042,14 @@ } }, { - "id": 647, + "id": 863, "name": "relationship", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 672, + "target": 902, "name": "JoinerRelationship", "package": "@medusajs/types" } @@ -2864,8 +3059,8 @@ { "title": "Properties", "children": [ - 646, - 647 + 862, + 863 ] } ] @@ -2874,7 +3069,7 @@ } }, { - "id": 648, + "id": 864, "name": "args", "variant": "declaration", "kind": 1024, @@ -2914,19 +3109,19 @@ { "title": "Properties", "children": [ - 636, - 637, - 638, - 642, - 643, - 644, - 648 + 852, + 853, + 854, + 858, + 859, + 860, + 864 ] } ] }, { - "id": 553, + "id": 755, "name": "ModuleJoinerConfig", "variant": "declaration", "kind": 2097152, @@ -2943,7 +3138,7 @@ "typeArguments": [ { "type": "reference", - "target": 635, + "target": 851, "name": "JoinerServiceConfig", "package": "@medusajs/types" }, @@ -2975,14 +3170,14 @@ { "type": "reflection", "declaration": { - "id": 554, + "id": 756, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 555, + "id": 757, "name": "schema", "variant": "declaration", "kind": 1024, @@ -3003,7 +3198,7 @@ } }, { - "id": 556, + "id": 758, "name": "relationships", "variant": "declaration", "kind": 1024, @@ -3014,14 +3209,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 649, + "target": 865, "name": "ModuleJoinerRelationship", "package": "@medusajs/types" } } }, { - "id": 557, + "id": 759, "name": "extends", "variant": "declaration", "kind": 1024, @@ -3033,14 +3228,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 558, + "id": 760, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 559, + "id": 761, "name": "serviceName", "variant": "declaration", "kind": 1024, @@ -3051,7 +3246,7 @@ } }, { - "id": 560, + "id": 762, "name": "fieldAlias", "variant": "declaration", "kind": 1024, @@ -3079,14 +3274,14 @@ { "type": "reflection", "declaration": { - "id": 561, + "id": 763, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 562, + "id": 764, "name": "path", "variant": "declaration", "kind": 1024, @@ -3097,11 +3292,13 @@ } }, { - "id": 563, + "id": 765, "name": "forwardArgumentsOnPath", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "type": { "type": "array", "elementType": { @@ -3109,14 +3306,28 @@ "name": "string" } } + }, + { + "id": 766, + "name": "isList", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } } ], "groups": [ { "title": "Properties", "children": [ - 562, - 563 + 764, + 765, + 766 ] } ] @@ -3130,14 +3341,14 @@ } }, { - "id": 564, + "id": 767, "name": "relationship", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 649, + "target": 865, "name": "ModuleJoinerRelationship", "package": "@medusajs/types" } @@ -3147,9 +3358,9 @@ { "title": "Properties", "children": [ - 559, - 560, - 564 + 761, + 762, + 767 ] } ] @@ -3158,7 +3369,7 @@ } }, { - "id": 565, + "id": 768, "name": "serviceName", "variant": "declaration", "kind": 1024, @@ -3171,7 +3382,7 @@ } }, { - "id": 566, + "id": 769, "name": "primaryKeys", "variant": "declaration", "kind": 1024, @@ -3187,7 +3398,7 @@ } }, { - "id": 567, + "id": 770, "name": "isLink", "variant": "declaration", "kind": 1024, @@ -3208,7 +3419,7 @@ } }, { - "id": 568, + "id": 771, "name": "linkableKeys", "variant": "declaration", "kind": 1024, @@ -3244,7 +3455,7 @@ } }, { - "id": 569, + "id": 772, "name": "isReadOnlyLink", "variant": "declaration", "kind": 1024, @@ -3265,7 +3476,7 @@ } }, { - "id": 570, + "id": 773, "name": "databaseConfig", "variant": "declaration", "kind": 1024, @@ -3275,14 +3486,14 @@ "type": { "type": "reflection", "declaration": { - "id": 571, + "id": 774, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 572, + "id": 775, "name": "tableName", "variant": "declaration", "kind": 1024, @@ -3303,7 +3514,7 @@ } }, { - "id": 573, + "id": 776, "name": "idPrefix", "variant": "declaration", "kind": 1024, @@ -3324,7 +3535,7 @@ } }, { - "id": 574, + "id": 777, "name": "extraFields", "variant": "declaration", "kind": 1024, @@ -3345,14 +3556,14 @@ { "type": "reflection", "declaration": { - "id": 575, + "id": 778, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 576, + "id": 779, "name": "type", "variant": "declaration", "kind": 1024, @@ -3448,7 +3659,7 @@ } }, { - "id": 577, + "id": 780, "name": "defaultValue", "variant": "declaration", "kind": 1024, @@ -3461,7 +3672,7 @@ } }, { - "id": 578, + "id": 781, "name": "nullable", "variant": "declaration", "kind": 1024, @@ -3474,7 +3685,7 @@ } }, { - "id": 579, + "id": 782, "name": "options", "variant": "declaration", "kind": 1024, @@ -3514,10 +3725,10 @@ { "title": "Properties", "children": [ - 576, - 577, - 578, - 579 + 779, + 780, + 781, + 782 ] } ] @@ -3533,9 +3744,9 @@ { "title": "Properties", "children": [ - 572, - 573, - 574 + 775, + 776, + 777 ] } ] @@ -3547,15 +3758,15 @@ { "title": "Properties", "children": [ - 555, - 556, - 557, - 565, - 566, - 567, - 568, - 569, - 570 + 757, + 758, + 759, + 768, + 769, + 770, + 771, + 772, + 773 ] } ] @@ -3565,7 +3776,7 @@ } }, { - "id": 649, + "id": 865, "name": "ModuleJoinerRelationship", "variant": "declaration", "kind": 2097152, @@ -3575,21 +3786,21 @@ "types": [ { "type": "reference", - "target": 672, + "target": 902, "name": "JoinerRelationship", "package": "@medusajs/types" }, { "type": "reflection", "declaration": { - "id": 650, + "id": 866, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 651, + "id": 867, "name": "isInternalService", "variant": "declaration", "kind": 1024, @@ -3610,7 +3821,7 @@ } }, { - "id": 652, + "id": 868, "name": "deleteCascade", "variant": "declaration", "kind": 1024, @@ -3635,8 +3846,8 @@ { "title": "Properties", "children": [ - 651, - 652 + 867, + 868 ] } ] @@ -3646,7 +3857,7 @@ } }, { - "id": 217, + "id": 340, "name": "IModuleService", "variant": "declaration", "kind": 256, @@ -3660,14 +3871,14 @@ ] }, { - "id": 580, + "id": 783, "name": "ProductStatus", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 581, + "id": 784, "name": "DRAFT", "variant": "declaration", "kind": 16, @@ -3678,7 +3889,7 @@ } }, { - "id": 582, + "id": 785, "name": "PROPOSED", "variant": "declaration", "kind": 16, @@ -3689,7 +3900,7 @@ } }, { - "id": 583, + "id": 786, "name": "PUBLISHED", "variant": "declaration", "kind": 16, @@ -3700,7 +3911,7 @@ } }, { - "id": 584, + "id": 787, "name": "REJECTED", "variant": "declaration", "kind": 16, @@ -3715,16 +3926,16 @@ { "title": "Enumeration Members", "children": [ - 581, - 582, - 583, - 584 + 784, + 785, + 786, + 787 ] } ] }, { - "id": 236, + "id": 366, "name": "ProductDTO", "variant": "declaration", "kind": 256, @@ -3739,7 +3950,7 @@ }, "children": [ { - "id": 237, + "id": 367, "name": "id", "variant": "declaration", "kind": 1024, @@ -3758,7 +3969,7 @@ } }, { - "id": 238, + "id": 368, "name": "title", "variant": "declaration", "kind": 1024, @@ -3777,7 +3988,7 @@ } }, { - "id": 239, + "id": 369, "name": "handle", "variant": "declaration", "kind": 1024, @@ -3807,7 +4018,7 @@ } }, { - "id": 240, + "id": 370, "name": "subtitle", "variant": "declaration", "kind": 1024, @@ -3837,7 +4048,7 @@ } }, { - "id": 241, + "id": 371, "name": "description", "variant": "declaration", "kind": 1024, @@ -3867,7 +4078,7 @@ } }, { - "id": 242, + "id": 372, "name": "is_giftcard", "variant": "declaration", "kind": 1024, @@ -3886,7 +4097,7 @@ } }, { - "id": 243, + "id": 373, "name": "status", "variant": "declaration", "kind": 1024, @@ -3901,13 +4112,13 @@ }, "type": { "type": "reference", - "target": 580, + "target": 783, "name": "ProductStatus", "package": "@medusajs/types" } }, { - "id": 244, + "id": 374, "name": "thumbnail", "variant": "declaration", "kind": 1024, @@ -3937,7 +4148,7 @@ } }, { - "id": 245, + "id": 375, "name": "width", "variant": "declaration", "kind": 1024, @@ -3967,7 +4178,7 @@ } }, { - "id": 246, + "id": 376, "name": "weight", "variant": "declaration", "kind": 1024, @@ -3997,7 +4208,7 @@ } }, { - "id": 247, + "id": 377, "name": "length", "variant": "declaration", "kind": 1024, @@ -4027,7 +4238,7 @@ } }, { - "id": 248, + "id": 378, "name": "height", "variant": "declaration", "kind": 1024, @@ -4057,7 +4268,7 @@ } }, { - "id": 249, + "id": 379, "name": "origin_country", "variant": "declaration", "kind": 1024, @@ -4087,7 +4298,7 @@ } }, { - "id": 250, + "id": 380, "name": "hs_code", "variant": "declaration", "kind": 1024, @@ -4117,7 +4328,7 @@ } }, { - "id": 251, + "id": 381, "name": "mid_code", "variant": "declaration", "kind": 1024, @@ -4147,7 +4358,7 @@ } }, { - "id": 252, + "id": 382, "name": "material", "variant": "declaration", "kind": 1024, @@ -4177,11 +4388,13 @@ } }, { - "id": 253, + "id": 383, "name": "collection", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { @@ -4194,14 +4407,53 @@ ] }, "type": { - "type": "reference", - "target": 421, - "name": "ProductCollectionDTO", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 676, + "name": "ProductCollectionDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 384, + "name": "collection_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated product collection id." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } }, { - "id": 254, + "id": 385, "name": "categories", "variant": "declaration", "kind": 1024, @@ -4230,7 +4482,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 446, + "target": 710, "name": "ProductCategoryDTO", "package": "@medusajs/types" } @@ -4239,11 +4491,13 @@ } }, { - "id": 255, + "id": 386, "name": "type", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { @@ -4256,17 +4510,53 @@ ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 308, - "name": "ProductTypeDTO", - "package": "@medusajs/types" - } + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 530, + "name": "ProductTypeDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 387, + "name": "type_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated product type id." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } }, { - "id": 256, + "id": 388, "name": "tags", "variant": "declaration", "kind": 1024, @@ -4286,14 +4576,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 293, + "target": 515, "name": "ProductTagDTO", "package": "@medusajs/types" } } }, { - "id": 257, + "id": 389, "name": "variants", "variant": "declaration", "kind": 1024, @@ -4313,14 +4603,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 346, + "target": 583, "name": "ProductVariantDTO", "package": "@medusajs/types" } } }, { - "id": 258, + "id": 390, "name": "options", "variant": "declaration", "kind": 1024, @@ -4340,14 +4630,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 326, + "target": 553, "name": "ProductOptionDTO", "package": "@medusajs/types" } } }, { - "id": 259, + "id": 391, "name": "images", "variant": "declaration", "kind": 1024, @@ -4367,14 +4657,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 585, + "target": 788, "name": "ProductImageDTO", "package": "@medusajs/types" } } }, { - "id": 260, + "id": 392, "name": "discountable", "variant": "declaration", "kind": 1024, @@ -4395,7 +4685,7 @@ } }, { - "id": 261, + "id": 393, "name": "external_id", "variant": "declaration", "kind": 1024, @@ -4425,7 +4715,7 @@ } }, { - "id": 262, + "id": 394, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -4460,7 +4750,7 @@ } }, { - "id": 263, + "id": 395, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -4495,7 +4785,7 @@ } }, { - "id": 264, + "id": 396, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -4530,7 +4820,7 @@ } }, { - "id": 265, + "id": 397, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -4570,41 +4860,43 @@ { "title": "Properties", "children": [ - 237, - 238, - 239, - 240, - 241, - 242, - 243, - 244, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 253, - 254, - 255, - 256, - 257, - 258, - 259, - 260, - 261, - 262, - 263, - 264, - 265 + 367, + 368, + 369, + 370, + 371, + 372, + 373, + 374, + 375, + 376, + 377, + 378, + 379, + 380, + 381, + 382, + 383, + 384, + 385, + 386, + 387, + 388, + 389, + 390, + 391, + 392, + 393, + 394, + 395, + 396, + 397 ] } ] }, { - "id": 346, + "id": 583, "name": "ProductVariantDTO", "variant": "declaration", "kind": 256, @@ -4619,7 +4911,7 @@ }, "children": [ { - "id": 347, + "id": 584, "name": "id", "variant": "declaration", "kind": 1024, @@ -4638,7 +4930,7 @@ } }, { - "id": 348, + "id": 585, "name": "title", "variant": "declaration", "kind": 1024, @@ -4657,7 +4949,7 @@ } }, { - "id": 349, + "id": 586, "name": "sku", "variant": "declaration", "kind": 1024, @@ -4687,7 +4979,7 @@ } }, { - "id": 350, + "id": 587, "name": "barcode", "variant": "declaration", "kind": 1024, @@ -4717,7 +5009,7 @@ } }, { - "id": 351, + "id": 588, "name": "ean", "variant": "declaration", "kind": 1024, @@ -4747,7 +5039,7 @@ } }, { - "id": 352, + "id": 589, "name": "upc", "variant": "declaration", "kind": 1024, @@ -4777,7 +5069,7 @@ } }, { - "id": 353, + "id": 590, "name": "inventory_quantity", "variant": "declaration", "kind": 1024, @@ -4796,7 +5088,7 @@ } }, { - "id": 354, + "id": 591, "name": "allow_backorder", "variant": "declaration", "kind": 1024, @@ -4817,7 +5109,7 @@ } }, { - "id": 355, + "id": 592, "name": "manage_inventory", "variant": "declaration", "kind": 1024, @@ -4838,7 +5130,7 @@ } }, { - "id": 356, + "id": 593, "name": "hs_code", "variant": "declaration", "kind": 1024, @@ -4868,7 +5160,7 @@ } }, { - "id": 357, + "id": 594, "name": "origin_country", "variant": "declaration", "kind": 1024, @@ -4898,7 +5190,7 @@ } }, { - "id": 358, + "id": 595, "name": "mid_code", "variant": "declaration", "kind": 1024, @@ -4928,7 +5220,7 @@ } }, { - "id": 359, + "id": 596, "name": "material", "variant": "declaration", "kind": 1024, @@ -4958,7 +5250,7 @@ } }, { - "id": 360, + "id": 597, "name": "weight", "variant": "declaration", "kind": 1024, @@ -4988,7 +5280,7 @@ } }, { - "id": 361, + "id": 598, "name": "length", "variant": "declaration", "kind": 1024, @@ -5018,7 +5310,7 @@ } }, { - "id": 362, + "id": 599, "name": "height", "variant": "declaration", "kind": 1024, @@ -5048,7 +5340,7 @@ } }, { - "id": 363, + "id": 600, "name": "width", "variant": "declaration", "kind": 1024, @@ -5078,7 +5370,7 @@ } }, { - "id": 364, + "id": 601, "name": "options", "variant": "declaration", "kind": 1024, @@ -5098,14 +5390,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 625, + "target": 842, "name": "ProductOptionValueDTO", "package": "@medusajs/types" } } }, { - "id": 365, + "id": 602, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -5150,11 +5442,13 @@ } }, { - "id": 366, + "id": 603, "name": "product", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { @@ -5167,33 +5461,53 @@ ] }, "type": { - "type": "reference", - "target": 236, - "name": "ProductDTO", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 366, + "name": "ProductDTO", + "package": "@medusajs/types" + } + ] } }, { - "id": 367, + "id": 604, "name": "product_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the associated product." + "text": "The associated product id." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } }, { - "id": 368, + "id": 605, "name": "variant_rank", "variant": "declaration", "kind": 1024, @@ -5223,7 +5537,7 @@ } }, { - "id": 369, + "id": 606, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -5256,7 +5570,7 @@ } }, { - "id": 370, + "id": 607, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -5289,7 +5603,7 @@ } }, { - "id": 371, + "id": 608, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -5326,37 +5640,37 @@ { "title": "Properties", "children": [ - 347, - 348, - 349, - 350, - 351, - 352, - 353, - 354, - 355, - 356, - 357, - 358, - 359, - 360, - 361, - 362, - 363, - 364, - 365, - 366, - 367, - 368, - 369, - 370, - 371 + 584, + 585, + 586, + 587, + 588, + 589, + 590, + 591, + 592, + 593, + 594, + 595, + 596, + 597, + 598, + 599, + 600, + 601, + 602, + 603, + 604, + 605, + 606, + 607, + 608 ] } ] }, { - "id": 446, + "id": 710, "name": "ProductCategoryDTO", "variant": "declaration", "kind": 256, @@ -5371,7 +5685,7 @@ }, "children": [ { - "id": 447, + "id": 711, "name": "id", "variant": "declaration", "kind": 1024, @@ -5390,7 +5704,7 @@ } }, { - "id": 448, + "id": 712, "name": "name", "variant": "declaration", "kind": 1024, @@ -5409,13 +5723,11 @@ } }, { - "id": 449, + "id": 713, "name": "description", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { @@ -5430,13 +5742,11 @@ } }, { - "id": 450, + "id": 714, "name": "handle", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { @@ -5451,13 +5761,11 @@ } }, { - "id": 451, + "id": 715, "name": "is_active", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { @@ -5472,13 +5780,11 @@ } }, { - "id": 452, + "id": 716, "name": "is_internal", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { @@ -5493,13 +5799,11 @@ } }, { - "id": 453, + "id": 717, "name": "rank", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { @@ -5514,8 +5818,53 @@ } }, { - "id": 454, - "name": "parent_category", + "id": 718, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ranking of the product category among sibling categories." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 719, + "name": "parent_category", "variant": "declaration", "kind": 1024, "flags": { @@ -5533,14 +5882,53 @@ ] }, "type": { - "type": "reference", - "target": 446, - "name": "ProductCategoryDTO", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 710, + "name": "ProductCategoryDTO", + "package": "@medusajs/types" + } + ] } }, { - "id": 455, + "id": 720, + "name": "parent_category_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated parent category id." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 721, "name": "category_children", "variant": "declaration", "kind": 1024, @@ -5560,14 +5948,41 @@ "type": "array", "elementType": { "type": "reference", - "target": 446, + "target": 710, "name": "ProductCategoryDTO", "package": "@medusajs/types" } } }, { - "id": 456, + "id": 722, + "name": "products", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated products." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 366, + "name": "ProductDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 723, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -5600,7 +6015,7 @@ } }, { - "id": 457, + "id": 724, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -5637,23 +6052,26 @@ { "title": "Properties", "children": [ - 447, - 448, - 449, - 450, - 451, - 452, - 453, - 454, - 455, - 456, - 457 + 711, + 712, + 713, + 714, + 715, + 716, + 717, + 718, + 719, + 720, + 721, + 722, + 723, + 724 ] } ] }, { - "id": 468, + "id": 737, "name": "CreateProductCategoryDTO", "variant": "declaration", "kind": 256, @@ -5668,7 +6086,7 @@ }, "children": [ { - "id": 469, + "id": 738, "name": "name", "variant": "declaration", "kind": 1024, @@ -5687,7 +6105,28 @@ } }, { - "id": 470, + "id": 739, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product category's description." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 740, "name": "handle", "variant": "declaration", "kind": 1024, @@ -5708,7 +6147,7 @@ } }, { - "id": 471, + "id": 741, "name": "is_active", "variant": "declaration", "kind": 1024, @@ -5729,7 +6168,7 @@ } }, { - "id": 472, + "id": 742, "name": "is_internal", "variant": "declaration", "kind": 1024, @@ -5750,7 +6189,7 @@ } }, { - "id": 473, + "id": 743, "name": "rank", "variant": "declaration", "kind": 1024, @@ -5771,11 +6210,13 @@ } }, { - "id": 474, + "id": 744, "name": "parent_category_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { @@ -5799,7 +6240,7 @@ } }, { - "id": 475, + "id": 745, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -5839,19 +6280,20 @@ { "title": "Properties", "children": [ - 469, - 470, - 471, - 472, - 473, - 474, - 475 + 738, + 739, + 740, + 741, + 742, + 743, + 744, + 745 ] } ] }, { - "id": 476, + "id": 746, "name": "UpdateProductCategoryDTO", "variant": "declaration", "kind": 256, @@ -5866,7 +6308,7 @@ }, "children": [ { - "id": 477, + "id": 747, "name": "name", "variant": "declaration", "kind": 1024, @@ -5887,7 +6329,28 @@ } }, { - "id": 478, + "id": 748, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product category's description." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 749, "name": "handle", "variant": "declaration", "kind": 1024, @@ -5908,7 +6371,7 @@ } }, { - "id": 479, + "id": 750, "name": "is_active", "variant": "declaration", "kind": 1024, @@ -5929,7 +6392,7 @@ } }, { - "id": 480, + "id": 751, "name": "is_internal", "variant": "declaration", "kind": 1024, @@ -5950,7 +6413,7 @@ } }, { - "id": 481, + "id": 752, "name": "rank", "variant": "declaration", "kind": 1024, @@ -5971,7 +6434,7 @@ } }, { - "id": 482, + "id": 753, "name": "parent_category_id", "variant": "declaration", "kind": 1024, @@ -6001,7 +6464,7 @@ } }, { - "id": 483, + "id": 754, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -6017,23 +6480,32 @@ ] }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "intrinsic", - "name": "string" + "type": "literal", + "value": null }, { - "type": "intrinsic", - "name": "unknown" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } - ], - "name": "Record", - "package": "typescript" + ] } } ], @@ -6041,19 +6513,20 @@ { "title": "Properties", "children": [ - 477, - 478, - 479, - 480, - 481, - 482, - 483 + 747, + 748, + 749, + 750, + 751, + 752, + 753, + 754 ] } ] }, { - "id": 293, + "id": 515, "name": "ProductTagDTO", "variant": "declaration", "kind": 256, @@ -6068,7 +6541,7 @@ }, "children": [ { - "id": 294, + "id": 516, "name": "id", "variant": "declaration", "kind": 1024, @@ -6087,7 +6560,7 @@ } }, { - "id": 295, + "id": 517, "name": "value", "variant": "declaration", "kind": 1024, @@ -6106,7 +6579,7 @@ } }, { - "id": 296, + "id": 518, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -6151,7 +6624,7 @@ } }, { - "id": 297, + "id": 519, "name": "products", "variant": "declaration", "kind": 1024, @@ -6173,7 +6646,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 236, + "target": 366, "name": "ProductDTO", "package": "@medusajs/types" } @@ -6184,16 +6657,16 @@ { "title": "Properties", "children": [ - 294, - 295, - 296, - 297 + 516, + 517, + 518, + 519 ] } ] }, { - "id": 421, + "id": 676, "name": "ProductCollectionDTO", "variant": "declaration", "kind": 256, @@ -6208,7 +6681,7 @@ }, "children": [ { - "id": 422, + "id": 677, "name": "id", "variant": "declaration", "kind": 1024, @@ -6227,7 +6700,7 @@ } }, { - "id": 423, + "id": 678, "name": "title", "variant": "declaration", "kind": 1024, @@ -6246,7 +6719,7 @@ } }, { - "id": 424, + "id": 679, "name": "handle", "variant": "declaration", "kind": 1024, @@ -6265,7 +6738,7 @@ } }, { - "id": 425, + "id": 680, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -6310,18 +6783,16 @@ } }, { - "id": 426, - "name": "deleted_at", + "id": 681, + "name": "created_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "When the product collection was deleted." + "text": "When the product collection was created." } ] }, @@ -6345,29 +6816,97 @@ } }, { - "id": 427, - "name": "products", + "id": 682, + "name": "updated_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The associated products." + "text": "When the product collection was updated." } - ], - "modifierTags": [ - "@expandable" ] }, "type": { - "type": "array", + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 683, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the product collection was deleted." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 684, + "name": "products", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated products." + } + ], + "modifierTags": [ + "@expandable" + ] + }, + "type": { + "type": "array", "elementType": { "type": "reference", - "target": 236, + "target": 366, "name": "ProductDTO", "package": "@medusajs/types" } @@ -6378,18 +6917,20 @@ { "title": "Properties", "children": [ - 422, - 423, - 424, - 425, - 426, - 427 + 677, + 678, + 679, + 680, + 681, + 682, + 683, + 684 ] } ] }, { - "id": 308, + "id": 530, "name": "ProductTypeDTO", "variant": "declaration", "kind": 256, @@ -6404,7 +6945,7 @@ }, "children": [ { - "id": 309, + "id": 531, "name": "id", "variant": "declaration", "kind": 1024, @@ -6423,7 +6964,7 @@ } }, { - "id": 310, + "id": 532, "name": "value", "variant": "declaration", "kind": 1024, @@ -6442,7 +6983,7 @@ } }, { - "id": 311, + "id": 533, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -6487,7 +7028,73 @@ } }, { - "id": 312, + "id": 534, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the product type was created." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 535, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the product type was updated." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 536, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -6526,16 +7133,18 @@ { "title": "Properties", "children": [ - 309, - 310, - 311, - 312 + 531, + 532, + 533, + 534, + 535, + 536 ] } ] }, { - "id": 326, + "id": 553, "name": "ProductOptionDTO", "variant": "declaration", "kind": 256, @@ -6550,7 +7159,7 @@ }, "children": [ { - "id": 327, + "id": 554, "name": "id", "variant": "declaration", "kind": 1024, @@ -6569,7 +7178,7 @@ } }, { - "id": 328, + "id": 555, "name": "title", "variant": "declaration", "kind": 1024, @@ -6588,11 +7197,13 @@ } }, { - "id": 329, + "id": 556, "name": "product", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { @@ -6605,14 +7216,53 @@ ] }, "type": { - "type": "reference", - "target": 236, - "name": "ProductDTO", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 366, + "name": "ProductDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 557, + "name": "product_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated product id." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] } }, { - "id": 330, + "id": 558, "name": "values", "variant": "declaration", "kind": 1024, @@ -6632,14 +7282,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 625, + "target": 842, "name": "ProductOptionValueDTO", "package": "@medusajs/types" } } }, { - "id": 331, + "id": 559, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -6684,7 +7334,73 @@ } }, { - "id": 332, + "id": 560, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the product option was created." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 561, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the product option was updated." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 562, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -6723,18 +7439,21 @@ { "title": "Properties", "children": [ - 327, - 328, - 329, - 330, - 331, - 332 + 554, + 555, + 556, + 557, + 558, + 559, + 560, + 561, + 562 ] } ] }, { - "id": 585, + "id": 788, "name": "ProductImageDTO", "variant": "declaration", "kind": 256, @@ -6749,7 +7468,7 @@ }, "children": [ { - "id": 586, + "id": 789, "name": "id", "variant": "declaration", "kind": 1024, @@ -6768,7 +7487,7 @@ } }, { - "id": 587, + "id": 790, "name": "url", "variant": "declaration", "kind": 1024, @@ -6787,7 +7506,7 @@ } }, { - "id": 588, + "id": 791, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -6832,7 +7551,73 @@ } }, { - "id": 589, + "id": 792, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the product image was created." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 793, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the product image was updated." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 794, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -6871,16 +7656,18 @@ { "title": "Properties", "children": [ - 586, - 587, - 588, - 589 + 789, + 790, + 791, + 792, + 793, + 794 ] } ] }, { - "id": 625, + "id": 842, "name": "ProductOptionValueDTO", "variant": "declaration", "kind": 256, @@ -6895,7 +7682,7 @@ }, "children": [ { - "id": 626, + "id": 843, "name": "id", "variant": "declaration", "kind": 1024, @@ -6914,7 +7701,7 @@ } }, { - "id": 627, + "id": 844, "name": "value", "variant": "declaration", "kind": 1024, @@ -6933,11 +7720,13 @@ } }, { - "id": 628, + "id": 845, "name": "option", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { @@ -6955,43 +7744,53 @@ ] }, "type": { - "type": "reference", - "target": 326, - "name": "ProductOptionDTO", - "package": "@medusajs/types" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 553, + "name": "ProductOptionDTO", + "package": "@medusajs/types" + } + ] } }, { - "id": 629, - "name": "variant", + "id": 846, + "name": "option_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The associated product variant. It may only be available if the " - }, + "text": "The associated product option id." + } + ] + }, + "type": { + "type": "union", + "types": [ { - "kind": "code", - "text": "`variant`" + "type": "literal", + "value": null }, { - "kind": "text", - "text": " relation is expanded." + "type": "intrinsic", + "name": "string" } ] - }, - "type": { - "type": "reference", - "target": 346, - "name": "ProductVariantDTO", - "package": "@medusajs/types" } }, { - "id": 630, + "id": 847, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -7036,7 +7835,73 @@ } }, { - "id": 631, + "id": 848, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the product option value was created." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 849, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When the product option value was updated." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 850, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -7075,18 +7940,20 @@ { "title": "Properties", "children": [ - 626, - 627, - 628, - 629, - 630, - 631 + 843, + 844, + 845, + 846, + 847, + 848, + 849, + 850 ] } ] }, { - "id": 277, + "id": 410, "name": "FilterableProductProps", "variant": "declaration", "kind": 256, @@ -7101,7 +7968,7 @@ }, "children": [ { - "id": 291, + "id": 431, "name": "$and", "variant": "declaration", "kind": 1024, @@ -7123,17 +7990,17 @@ "types": [ { "type": "reference", - "target": 277, + "target": 410, "name": "FilterableProductProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 277, + "target": 410, "name": "FilterableProductProps", "package": "@medusajs/types" } @@ -7146,12 +8013,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 600, + "target": 810, "name": "BaseFilterable.$and" } }, { - "id": 292, + "id": 432, "name": "$or", "variant": "declaration", "kind": 1024, @@ -7173,17 +8040,17 @@ "types": [ { "type": "reference", - "target": 277, + "target": 410, "name": "FilterableProductProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 277, + "target": 410, "name": "FilterableProductProps", "package": "@medusajs/types" } @@ -7196,12 +8063,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 601, + "target": 811, "name": "BaseFilterable.$or" } }, { - "id": 278, + "id": 411, "name": "q", "variant": "declaration", "kind": 1024, @@ -7222,7 +8089,77 @@ } }, { - "id": 279, + "id": 412, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The status to filter products by" + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 783, + "name": "ProductStatus", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 783, + "name": "ProductStatus", + "package": "@medusajs/types" + } + } + ] + } + }, + { + "id": 413, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The titles to filter products by." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 414, "name": "handle", "variant": "declaration", "kind": 1024, @@ -7255,7 +8192,7 @@ } }, { - "id": 280, + "id": 415, "name": "id", "variant": "declaration", "kind": 1024, @@ -7288,8 +8225,8 @@ } }, { - "id": 281, - "name": "tags", + "id": 416, + "name": "is_giftcard", "variant": "declaration", "kind": 1024, "flags": { @@ -7299,58 +8236,18 @@ "summary": [ { "kind": "text", - "text": "Filters on a product's tags." + "text": "Filters only or excluding gift card products" } ] }, "type": { - "type": "reflection", - "declaration": { - "id": 282, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 283, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Values to filter product tags by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 283 - ] - } - ] - } + "type": "intrinsic", + "name": "boolean" } }, { - "id": 284, - "name": "categories", + "id": 417, + "name": "tags", "variant": "declaration", "kind": 1024, "flags": { @@ -7360,88 +8257,22 @@ "summary": [ { "kind": "text", - "text": "Filters on a product's categories." + "text": "Filters on a product's tags." } ] }, "type": { "type": "reflection", "declaration": { - "id": 285, + "id": 418, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 286, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "IDs to filter categories by." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - { - "type": "reference", - "target": 603, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" - } - ] - } - }, - { - "id": 287, - "name": "is_internal", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filter categories by whether they're internal" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 288, - "name": "is_active", + "id": 419, + "name": "value", "variant": "declaration", "kind": 1024, "flags": { @@ -7451,13 +8282,16 @@ "summary": [ { "kind": "text", - "text": "Filter categories by whether they're active." + "text": "Values to filter product tags by." } ] }, "type": { - "type": "intrinsic", - "name": "boolean" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } } ], @@ -7465,9 +8299,7 @@ { "title": "Properties", "children": [ - 286, - 287, - 288 + 419 ] } ] @@ -7475,8 +8307,8 @@ } }, { - "id": 289, - "name": "category_id", + "id": 420, + "name": "type_id", "variant": "declaration", "kind": 1024, "flags": { @@ -7486,7 +8318,7 @@ "summary": [ { "kind": "text", - "text": "Filter a product by the IDs of their associated categories." + "text": "Filter a product by the ID of the associated type" } ] }, @@ -7503,25 +8335,13 @@ "type": "intrinsic", "name": "string" } - }, - { - "type": "reference", - "target": 603, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "OperatorMap", - "package": "@medusajs/types" } ] } }, { - "id": 290, - "name": "collection_id", + "id": 421, + "name": "category_id", "variant": "declaration", "kind": 1024, "flags": { @@ -7531,7 +8351,7 @@ "summary": [ { "kind": "text", - "text": "Filters a product by its associated collections." + "text": "Filters on a product's category_id." } ] }, @@ -7551,7 +8371,7 @@ }, { "type": "reference", - "target": 603, + "target": 813, "typeArguments": [ { "type": "intrinsic", @@ -7563,59 +8383,10 @@ } ] } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 291, - 292, - 278, - 279, - 280, - 281, - 284, - 289, - 290 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 599, - "typeArguments": [ - { - "type": "reference", - "target": 277, - "name": "FilterableProductProps", - "package": "@medusajs/types" - } - ], - "name": "BaseFilterable", - "package": "@medusajs/types" - } - ] - }, - { - "id": 298, - "name": "FilterableProductTagProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filters to apply on retrieved product tags." - } - ] - }, - "children": [ + }, { - "id": 301, - "name": "$and", + "id": 422, + "name": "categories", "variant": "declaration", "kind": 1024, "flags": { @@ -7625,97 +8396,100 @@ "summary": [ { "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + "text": "Filter a product by the IDs of their associated categories." } ] }, "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 298, - "name": "FilterableProductTagProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 599, - "typeArguments": [ + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 423, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "type": "reference", - "target": 298, - "name": "FilterableProductTagProps", - "package": "@medusajs/types" + "id": 424, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 813, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "groups": [ + { + "title": "Properties", + "children": [ + 424 + ] + } + ] } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 600, - "name": "BaseFilterable.$and" - } - }, - { - "id": 302, - "name": "$or", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ + }, { - "kind": "text", - "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 298, - "name": "FilterableProductTagProps", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 599, - "typeArguments": [ + "type": "reflection", + "declaration": { + "id": 425, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "type": "reference", - "target": 298, - "name": "FilterableProductTagProps", - "package": "@medusajs/types" + "id": 426, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "type": { + "type": "reference", + "target": 813, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } } ], - "name": "BaseFilterable", - "package": "@medusajs/types" + "groups": [ + { + "title": "Properties", + "children": [ + 426 + ] + } + ] } - ] - } - }, - "inheritedFrom": { - "type": "reference", - "target": 601, - "name": "BaseFilterable.$or" + } + ] } }, { - "id": 299, - "name": "id", + "id": 427, + "name": "collection_id", "variant": "declaration", "kind": 1024, "flags": { @@ -7725,7 +8499,7 @@ "summary": [ { "kind": "text", - "text": "The IDs to filter product tags by." + "text": "Filters a product by its associated collections." } ] }, @@ -7742,13 +8516,25 @@ "type": "intrinsic", "name": "string" } + }, + { + "type": "reference", + "target": 813, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" } ] } }, { - "id": 300, - "name": "value", + "id": 428, + "name": "created_at", "variant": "declaration", "kind": 1024, "flags": { @@ -7758,13 +8544,79 @@ "summary": [ { "kind": "text", - "text": "The value to filter product tags by." + "text": "Filters a product based on when it was created" } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 813, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 429, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters a product based on when it was updated" + } + ] + }, + "type": { + "type": "reference", + "target": 813, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + }, + { + "id": 430, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Filters soft-deleted products based on the date they were deleted at." + } + ] + }, + "type": { + "type": "reference", + "target": 813, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" } } ], @@ -7772,22 +8624,34 @@ { "title": "Properties", "children": [ - 301, - 302, - 299, - 300 + 431, + 432, + 411, + 412, + 413, + 414, + 415, + 416, + 417, + 420, + 421, + 422, + 427, + 428, + 429, + 430 ] } ], "extendedTypes": [ { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 298, - "name": "FilterableProductTagProps", + "target": 410, + "name": "FilterableProductProps", "package": "@medusajs/types" } ], @@ -7797,8 +8661,8 @@ ] }, { - "id": 313, - "name": "FilterableProductTypeProps", + "id": 520, + "name": "FilterableProductTagProps", "variant": "declaration", "kind": 256, "flags": {}, @@ -7806,13 +8670,13 @@ "summary": [ { "kind": "text", - "text": "The filters to apply on retrieved product types." + "text": "The filters to apply on retrieved product tags." } ] }, "children": [ { - "id": 316, + "id": 524, "name": "$and", "variant": "declaration", "kind": 1024, @@ -7834,18 +8698,18 @@ "types": [ { "type": "reference", - "target": 313, - "name": "FilterableProductTypeProps", + "target": 520, + "name": "FilterableProductTagProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 313, - "name": "FilterableProductTypeProps", + "target": 520, + "name": "FilterableProductTagProps", "package": "@medusajs/types" } ], @@ -7857,12 +8721,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 600, + "target": 810, "name": "BaseFilterable.$and" } }, { - "id": 317, + "id": 525, "name": "$or", "variant": "declaration", "kind": 1024, @@ -7884,18 +8748,18 @@ "types": [ { "type": "reference", - "target": 313, - "name": "FilterableProductTypeProps", + "target": 520, + "name": "FilterableProductTagProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 313, - "name": "FilterableProductTypeProps", + "target": 520, + "name": "FilterableProductTagProps", "package": "@medusajs/types" } ], @@ -7907,12 +8771,33 @@ }, "inheritedFrom": { "type": "reference", - "target": 601, + "target": 811, "name": "BaseFilterable.$or" } }, { - "id": 314, + "id": 521, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Search through the tags' values." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 522, "name": "id", "variant": "declaration", "kind": 1024, @@ -7923,7 +8808,7 @@ "summary": [ { "kind": "text", - "text": "The IDs to filter product types by." + "text": "The IDs to filter product tags by." } ] }, @@ -7945,7 +8830,7 @@ } }, { - "id": 315, + "id": 523, "name": "value", "variant": "declaration", "kind": 1024, @@ -7956,13 +8841,25 @@ "summary": [ { "kind": "text", - "text": "The value to filter product types by." + "text": "The value to filter product tags by." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } } ], @@ -7970,22 +8867,23 @@ { "title": "Properties", "children": [ - 316, - 317, - 314, - 315 + 524, + 525, + 521, + 522, + 523 ] } ], "extendedTypes": [ { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 313, - "name": "FilterableProductTypeProps", + "target": 520, + "name": "FilterableProductTagProps", "package": "@medusajs/types" } ], @@ -7995,8 +8893,8 @@ ] }, { - "id": 333, - "name": "FilterableProductOptionProps", + "id": 537, + "name": "FilterableProductTypeProps", "variant": "declaration", "kind": 256, "flags": {}, @@ -8004,13 +8902,13 @@ "summary": [ { "kind": "text", - "text": "The filters to apply on retrieved product options." + "text": "The filters to apply on retrieved product types." } ] }, "children": [ { - "id": 337, + "id": 541, "name": "$and", "variant": "declaration", "kind": 1024, @@ -8032,18 +8930,18 @@ "types": [ { "type": "reference", - "target": 333, - "name": "FilterableProductOptionProps", + "target": 537, + "name": "FilterableProductTypeProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 333, - "name": "FilterableProductOptionProps", + "target": 537, + "name": "FilterableProductTypeProps", "package": "@medusajs/types" } ], @@ -8055,12 +8953,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 600, + "target": 810, "name": "BaseFilterable.$and" } }, { - "id": 338, + "id": 542, "name": "$or", "variant": "declaration", "kind": 1024, @@ -8082,18 +8980,18 @@ "types": [ { "type": "reference", - "target": 333, - "name": "FilterableProductOptionProps", + "target": 537, + "name": "FilterableProductTypeProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 333, - "name": "FilterableProductOptionProps", + "target": 537, + "name": "FilterableProductTypeProps", "package": "@medusajs/types" } ], @@ -8105,12 +9003,33 @@ }, "inheritedFrom": { "type": "reference", - "target": 601, + "target": 811, "name": "BaseFilterable.$or" } }, { - "id": 334, + "id": 538, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Search through the types' values." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 539, "name": "id", "variant": "declaration", "kind": 1024, @@ -8121,7 +9040,7 @@ "summary": [ { "kind": "text", - "text": "The IDs to filter product options by." + "text": "The IDs to filter product types by." } ] }, @@ -8143,8 +9062,8 @@ } }, { - "id": 335, - "name": "title", + "id": 540, + "name": "value", "variant": "declaration", "kind": 1024, "flags": { @@ -8154,7 +9073,7 @@ "summary": [ { "kind": "text", - "text": "The titles to filter product options by." + "text": "The value to filter product types by." } ] }, @@ -8162,62 +9081,29 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 336, - "name": "product_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filter the product options by their associated products' IDs." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - ], - "groups": [ + } + ], + "groups": [ { "title": "Properties", "children": [ - 337, - 338, - 334, - 335, - 336 + 541, + 542, + 538, + 539, + 540 ] } ], "extendedTypes": [ { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 333, - "name": "FilterableProductOptionProps", + "target": 537, + "name": "FilterableProductTypeProps", "package": "@medusajs/types" } ], @@ -8227,8 +9113,8 @@ ] }, { - "id": 428, - "name": "FilterableProductCollectionProps", + "id": 563, + "name": "FilterableProductOptionProps", "variant": "declaration", "kind": 256, "flags": {}, @@ -8236,13 +9122,13 @@ "summary": [ { "kind": "text", - "text": "The filters to apply on retrieved product collections." + "text": "The filters to apply on retrieved product options." } ] }, "children": [ { - "id": 432, + "id": 568, "name": "$and", "variant": "declaration", "kind": 1024, @@ -8264,18 +9150,18 @@ "types": [ { "type": "reference", - "target": 428, - "name": "FilterableProductCollectionProps", + "target": 563, + "name": "FilterableProductOptionProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 428, - "name": "FilterableProductCollectionProps", + "target": 563, + "name": "FilterableProductOptionProps", "package": "@medusajs/types" } ], @@ -8287,12 +9173,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 600, + "target": 810, "name": "BaseFilterable.$and" } }, { - "id": 433, + "id": 569, "name": "$or", "variant": "declaration", "kind": 1024, @@ -8314,18 +9200,18 @@ "types": [ { "type": "reference", - "target": 428, - "name": "FilterableProductCollectionProps", + "target": 563, + "name": "FilterableProductOptionProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 428, - "name": "FilterableProductCollectionProps", + "target": 563, + "name": "FilterableProductOptionProps", "package": "@medusajs/types" } ], @@ -8337,12 +9223,33 @@ }, "inheritedFrom": { "type": "reference", - "target": 601, + "target": 811, "name": "BaseFilterable.$or" } }, { - "id": 429, + "id": 564, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Search through the options' titles." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 565, "name": "id", "variant": "declaration", "kind": 1024, @@ -8353,7 +9260,7 @@ "summary": [ { "kind": "text", - "text": "The IDs to filter product collections by." + "text": "The IDs to filter product options by." } ] }, @@ -8375,8 +9282,8 @@ } }, { - "id": 430, - "name": "handle", + "id": 566, + "name": "title", "variant": "declaration", "kind": 1024, "flags": { @@ -8386,7 +9293,7 @@ "summary": [ { "kind": "text", - "text": "The handles to filter product collections by." + "text": "The titles to filter product options by." } ] }, @@ -8408,8 +9315,8 @@ } }, { - "id": 431, - "name": "title", + "id": 567, + "name": "product_id", "variant": "declaration", "kind": 1024, "flags": { @@ -8419,13 +9326,25 @@ "summary": [ { "kind": "text", - "text": "The title to filter product collections by." + "text": "Filter the product options by their associated products' IDs." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } } ], @@ -8433,23 +9352,24 @@ { "title": "Properties", "children": [ - 432, - 433, - 429, - 430, - 431 + 568, + 569, + 564, + 565, + 566, + 567 ] } ], "extendedTypes": [ { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 428, - "name": "FilterableProductCollectionProps", + "target": 563, + "name": "FilterableProductOptionProps", "package": "@medusajs/types" } ], @@ -8459,8 +9379,8 @@ ] }, { - "id": 372, - "name": "FilterableProductVariantProps", + "id": 685, + "name": "FilterableProductCollectionProps", "variant": "declaration", "kind": 256, "flags": {}, @@ -8468,13 +9388,13 @@ "summary": [ { "kind": "text", - "text": "The filters to apply on retrieved product variants." + "text": "The filters to apply on retrieved product collections." } ] }, "children": [ { - "id": 379, + "id": 690, "name": "$and", "variant": "declaration", "kind": 1024, @@ -8496,18 +9416,18 @@ "types": [ { "type": "reference", - "target": 372, - "name": "FilterableProductVariantProps", + "target": 685, + "name": "FilterableProductCollectionProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 372, - "name": "FilterableProductVariantProps", + "target": 685, + "name": "FilterableProductCollectionProps", "package": "@medusajs/types" } ], @@ -8519,12 +9439,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 600, + "target": 810, "name": "BaseFilterable.$and" } }, { - "id": 380, + "id": 691, "name": "$or", "variant": "declaration", "kind": 1024, @@ -8546,18 +9466,18 @@ "types": [ { "type": "reference", - "target": 372, - "name": "FilterableProductVariantProps", + "target": 685, + "name": "FilterableProductCollectionProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 372, - "name": "FilterableProductVariantProps", + "target": 685, + "name": "FilterableProductCollectionProps", "package": "@medusajs/types" } ], @@ -8569,13 +9489,13 @@ }, "inheritedFrom": { "type": "reference", - "target": 601, + "target": 811, "name": "BaseFilterable.$or" } }, { - "id": 373, - "name": "id", + "id": 686, + "name": "q", "variant": "declaration", "kind": 1024, "flags": { @@ -8585,30 +9505,18 @@ "summary": [ { "kind": "text", - "text": "The IDs to filter product variants by." + "text": "Search through the collections' titles." } ] }, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] + "type": "intrinsic", + "name": "string" } }, { - "id": 374, - "name": "sku", + "id": 687, + "name": "id", "variant": "declaration", "kind": 1024, "flags": { @@ -8618,7 +9526,7 @@ "summary": [ { "kind": "text", - "text": "The SKUs to filter product variants by." + "text": "The IDs to filter product collections by." } ] }, @@ -8640,8 +9548,8 @@ } }, { - "id": 375, - "name": "product_id", + "id": 688, + "name": "handle", "variant": "declaration", "kind": 1024, "flags": { @@ -8651,7 +9559,7 @@ "summary": [ { "kind": "text", - "text": "Filter the product variants by their associated products' IDs." + "text": "The handles to filter product collections by." } ] }, @@ -8673,8 +9581,8 @@ } }, { - "id": 376, - "name": "options", + "id": 689, + "name": "title", "variant": "declaration", "kind": 1024, "flags": { @@ -8684,53 +9592,25 @@ "summary": [ { "kind": "text", - "text": "Filter product variants by their associated options." + "text": "The title to filter product collections by." } ] }, "type": { - "type": "reflection", - "declaration": { - "id": 377, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 378, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "IDs to filter options by." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 378 - ] + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" } - ] - } + } + ] } } ], @@ -8738,24 +9618,24 @@ { "title": "Properties", "children": [ - 379, - 380, - 373, - 374, - 375, - 376 + 690, + 691, + 686, + 687, + 688, + 689 ] } ], "extendedTypes": [ { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 372, - "name": "FilterableProductVariantProps", + "target": 685, + "name": "FilterableProductCollectionProps", "package": "@medusajs/types" } ], @@ -8765,8 +9645,8 @@ ] }, { - "id": 458, - "name": "FilterableProductCategoryProps", + "id": 609, + "name": "FilterableProductVariantProps", "variant": "declaration", "kind": 256, "flags": {}, @@ -8774,13 +9654,13 @@ "summary": [ { "kind": "text", - "text": "The filters to apply on retrieved product categories." + "text": "The filters to apply on retrieved product variants." } ] }, "children": [ { - "id": 466, + "id": 615, "name": "$and", "variant": "declaration", "kind": 1024, @@ -8802,18 +9682,18 @@ "types": [ { "type": "reference", - "target": 458, - "name": "FilterableProductCategoryProps", + "target": 609, + "name": "FilterableProductVariantProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 458, - "name": "FilterableProductCategoryProps", + "target": 609, + "name": "FilterableProductVariantProps", "package": "@medusajs/types" } ], @@ -8825,12 +9705,12 @@ }, "inheritedFrom": { "type": "reference", - "target": 600, + "target": 810, "name": "BaseFilterable.$and" } }, { - "id": 467, + "id": 616, "name": "$or", "variant": "declaration", "kind": 1024, @@ -8852,18 +9732,18 @@ "types": [ { "type": "reference", - "target": 458, - "name": "FilterableProductCategoryProps", + "target": 609, + "name": "FilterableProductVariantProps", "package": "@medusajs/types" }, { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 458, - "name": "FilterableProductCategoryProps", + "target": 609, + "name": "FilterableProductVariantProps", "package": "@medusajs/types" } ], @@ -8875,12 +9755,33 @@ }, "inheritedFrom": { "type": "reference", - "target": 601, + "target": 811, "name": "BaseFilterable.$or" } }, { - "id": 459, + "id": 610, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Search through the title and different code attributes on the variant" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 611, "name": "id", "variant": "declaration", "kind": 1024, @@ -8891,7 +9792,7 @@ "summary": [ { "kind": "text", - "text": "The IDs to filter product categories by." + "text": "The IDs to filter product variants by." } ] }, @@ -8913,8 +9814,8 @@ } }, { - "id": 460, - "name": "name", + "id": 612, + "name": "sku", "variant": "declaration", "kind": 1024, "flags": { @@ -8924,7 +9825,7 @@ "summary": [ { "kind": "text", - "text": "The names to filter product categories by." + "text": "The SKUs to filter product variants by." } ] }, @@ -8946,8 +9847,8 @@ } }, { - "id": 461, - "name": "parent_category_id", + "id": 613, + "name": "product_id", "variant": "declaration", "kind": 1024, "flags": { @@ -8957,17 +9858,13 @@ "summary": [ { "kind": "text", - "text": "Filter product categories by their parent category's ID." + "text": "Filter the product variants by their associated products' IDs." } ] }, "type": { "type": "union", "types": [ - { - "type": "literal", - "value": null - }, { "type": "intrinsic", "name": "string" @@ -8983,8 +9880,8 @@ } }, { - "id": 462, - "name": "handle", + "id": 614, + "name": "options", "variant": "declaration", "kind": 1024, "flags": { @@ -8994,88 +9891,28 @@ "summary": [ { "kind": "text", - "text": "The handles to filter product categories by." + "text": "Filter product variants by their associated options." } ] }, "type": { - "type": "union", - "types": [ + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ { "type": "intrinsic", "name": "string" }, { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - }, - { - "id": 463, - "name": "is_active", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filter product categories by whether they're active." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 464, - "name": "is_internal", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Filter product categories by whether they're internal." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 465, - "name": "include_descendants_tree", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether to include children of retrieved product categories." + "type": "intrinsic", + "name": "string" } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" + ], + "name": "Record", + "package": "typescript" } } ], @@ -9083,27 +9920,25 @@ { "title": "Properties", "children": [ - 466, - 467, - 459, - 460, - 461, - 462, - 463, - 464, - 465 + 615, + 616, + 610, + 611, + 612, + 613, + 614 ] } ], "extendedTypes": [ { "type": "reference", - "target": 599, + "target": 809, "typeArguments": [ { "type": "reference", - "target": 458, - "name": "FilterableProductCategoryProps", + "target": 609, + "name": "FilterableProductVariantProps", "package": "@medusajs/types" } ], @@ -9113,8 +9948,8 @@ ] }, { - "id": 434, - "name": "CreateProductCollectionDTO", + "id": 725, + "name": "FilterableProductCategoryProps", "variant": "declaration", "kind": 256, "flags": {}, @@ -9122,33 +9957,64 @@ "summary": [ { "kind": "text", - "text": "A product collection to create." + "text": "The filters to apply on retrieved product categories." } ] }, "children": [ { - "id": 435, - "name": "title", + "id": 735, + "name": "$and", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The product collection's title." + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 725, + "name": "FilterableProductCategoryProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 809, + "typeArguments": [ + { + "type": "reference", + "target": 725, + "name": "FilterableProductCategoryProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 810, + "name": "BaseFilterable.$and" } }, { - "id": 436, - "name": "handle", + "id": 736, + "name": "$or", "variant": "declaration", "kind": 1024, "flags": { @@ -9158,18 +10024,47 @@ "summary": [ { "kind": "text", - "text": "The product collection's handle. If not provided, the value of this attribute is set to the slug version of the title." + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 725, + "name": "FilterableProductCategoryProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 809, + "typeArguments": [ + { + "type": "reference", + "target": 725, + "name": "FilterableProductCategoryProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 811, + "name": "BaseFilterable.$or" } }, { - "id": 437, - "name": "product_ids", + "id": 726, + "name": "q", "variant": "declaration", "kind": 1024, "flags": { @@ -9179,21 +10074,18 @@ "summary": [ { "kind": "text", - "text": "The products to associate with the collection." + "text": "Filter product categories based on searchable fields" } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "intrinsic", + "name": "string" } }, { - "id": 438, - "name": "metadata", + "id": 727, + "name": "id", "variant": "declaration", "kind": 1024, "flags": { @@ -9203,88 +10095,63 @@ "summary": [ { "kind": "text", - "text": "Holds custom data in key-value pairs." + "text": "The IDs to filter product categories by." } ] }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + "type": "union", + "types": [ { "type": "intrinsic", "name": "string" }, { - "type": "intrinsic", - "name": "unknown" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 435, - 436, - 437, - 438 - ] - } - ] - }, - { - "id": 439, - "name": "UpdateProductCollectionDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The data to update in a product collection. The " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " is used to identify which product collection to update." + ] } - ] - }, - "children": [ + }, { - "id": 440, - "name": "id", + "id": 728, + "name": "name", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the product collection to update." + "text": "The names to filter product categories by." } ] }, "type": { - "type": "intrinsic", - "name": "string" - } + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } }, { - "id": 441, - "name": "value", + "id": 729, + "name": "parent_category_id", "variant": "declaration", "kind": 1024, "flags": { @@ -9294,18 +10161,34 @@ "summary": [ { "kind": "text", - "text": "The value of the product collection." + "text": "Filter product categories by their parent category's ID." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 442, - "name": "title", + "id": 730, + "name": "handle", "variant": "declaration", "kind": 1024, "flags": { @@ -9315,18 +10198,30 @@ "summary": [ { "kind": "text", - "text": "The title of the product collection." + "text": "The handles to filter product categories by." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] } }, { - "id": 443, - "name": "handle", + "id": 731, + "name": "is_active", "variant": "declaration", "kind": 1024, "flags": { @@ -9336,18 +10231,18 @@ "summary": [ { "kind": "text", - "text": "The handle of the product collection." + "text": "Filter product categories by whether they're active." } ] }, "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" } }, { - "id": 444, - "name": "product_ids", + "id": 732, + "name": "is_internal", "variant": "declaration", "kind": 1024, "flags": { @@ -9357,21 +10252,18 @@ "summary": [ { "kind": "text", - "text": "The IDs of the products to associate with the product collection." + "text": "Filter product categories by whether they're internal." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "intrinsic", + "name": "boolean" } }, { - "id": 445, - "name": "metadata", + "id": 733, + "name": "include_descendants_tree", "variant": "declaration", "kind": 1024, "flags": { @@ -9381,28 +10273,34 @@ "summary": [ { "kind": "text", - "text": "Holds custom data in key-value pairs." + "text": "Whether to include children of retrieved product categories." } ] }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 734, + "name": "include_ancestors_tree", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "unknown" + "kind": "text", + "text": "Whether to include parents of retrieved product categories." } - ], - "name": "Record", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" } } ], @@ -9410,19 +10308,40 @@ { "title": "Properties", "children": [ - 440, - 441, - 442, - 443, - 444, - 445 + 735, + 736, + 726, + 727, + 728, + 729, + 730, + 731, + 732, + 733, + 734 ] } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 809, + "typeArguments": [ + { + "type": "reference", + "target": 725, + "name": "FilterableProductCategoryProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } ] }, { - "id": 318, - "name": "CreateProductTypeDTO", + "id": 692, + "name": "CreateProductCollectionDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -9430,14 +10349,33 @@ "summary": [ { "kind": "text", - "text": "A product type to create." + "text": "A product collection to create." } ] }, "children": [ { - "id": 319, - "name": "id", + "id": 693, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product collection's title." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 694, + "name": "handle", "variant": "declaration", "kind": 1024, "flags": { @@ -9447,7 +10385,7 @@ "summary": [ { "kind": "text", - "text": "The product type's ID." + "text": "The product collection's handle. If not provided, the value of this attribute is set to the slug version of the title." } ] }, @@ -9457,26 +10395,31 @@ } }, { - "id": 320, - "name": "value", + "id": 695, + "name": "product_ids", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The product type's value." + "text": "The products to associate with the collection." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } }, { - "id": 321, + "id": 696, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -9516,16 +10459,17 @@ { "title": "Properties", "children": [ - 319, - 320, - 321 + 693, + 694, + 695, + 696 ] } ] }, { - "id": 322, - "name": "UpdateProductTypeDTO", + "id": 697, + "name": "UpsertProductCollectionDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -9533,30 +10477,32 @@ "summary": [ { "kind": "text", - "text": "The data to update in a product type. The " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " is used to identify which product type to update." + "text": "The product collection to create or update." } ] }, "children": [ { - "id": 323, + "id": 698, "name": "id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the product type to update." + "text": "The ID of the product collection to update. If not provided,\nthe product collection is created. In this case, the " + }, + { + "kind": "code", + "text": "`title`" + }, + { + "kind": "text", + "text": " property is\nrequired." } ] }, @@ -9566,7 +10512,7 @@ } }, { - "id": 324, + "id": 699, "name": "value", "variant": "declaration", "kind": 1024, @@ -9577,18 +10523,23 @@ "summary": [ { "kind": "text", - "text": "The new value of the product type." + "text": "The value of the product collection." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 705, + "name": "UpdateProductCollectionDTO.value" } }, { - "id": 325, - "name": "metadata", + "id": 700, + "name": "title", "variant": "declaration", "kind": 1024, "flags": { @@ -9598,74 +10549,114 @@ "summary": [ { "kind": "text", - "text": "Holds custom data in key-value pairs." + "text": "The title of the product collection." } ] }, "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, + "target": 706, + "name": "UpdateProductCollectionDTO.title" + } + }, + { + "id": 701, + "name": "handle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "unknown" + "kind": "text", + "text": "The handle of the product collection." } - ], - "name": "Record", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 707, + "name": "UpdateProductCollectionDTO.handle" } - } - ], - "groups": [ + }, { - "title": "Properties", - "children": [ - 323, - 324, - 325 - ] - } - ] - }, - { - "id": 303, - "name": "CreateProductTagDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A product tag to create." + "id": 702, + "name": "product_ids", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the products to associate with the product collection." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "inheritedFrom": { + "type": "reference", + "target": 708, + "name": "UpdateProductCollectionDTO.product_ids" } - ] - }, - "children": [ + }, { - "id": 304, - "name": "value", + "id": 703, + "name": "metadata", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The value of the product tag." + "text": "Holds custom data in key-value pairs." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 709, + "name": "UpdateProductCollectionDTO.metadata" } } ], @@ -9673,14 +10664,27 @@ { "title": "Properties", "children": [ - 304 + 698, + 699, + 700, + 701, + 702, + 703 ] } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 704, + "name": "UpdateProductCollectionDTO", + "package": "@medusajs/types" + } ] }, { - "id": 305, - "name": "UpdateProductTagDTO", + "id": 704, + "name": "UpdateProductCollectionDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -9688,7 +10692,7 @@ "summary": [ { "kind": "text", - "text": "The data to update in a product tag. The " + "text": "The data to update in a product collection. The " }, { "kind": "code", @@ -9696,22 +10700,24 @@ }, { "kind": "text", - "text": " is used to identify which product tag to update." + "text": " is used to identify which product collection to update." } ] }, "children": [ { - "id": 306, - "name": "id", + "id": 705, + "name": "value", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the product tag to update." + "text": "The value of the product collection." } ] }, @@ -9721,8 +10727,8 @@ } }, { - "id": 307, - "name": "value", + "id": 706, + "name": "title", "variant": "declaration", "kind": 1024, "flags": { @@ -9732,7 +10738,7 @@ "summary": [ { "kind": "text", - "text": "The value of the product tag." + "text": "The title of the product collection." } ] }, @@ -9740,44 +10746,20 @@ "type": "intrinsic", "name": "string" } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 306, - 307 - ] - } - ] - }, - { - "id": 339, - "name": "CreateProductOptionDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A product option to create." - } - ] - }, - "children": [ + }, { - "id": 340, - "name": "title", + "id": 707, + "name": "handle", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The product option's title." + "text": "The handle of the product collection." } ] }, @@ -9787,8 +10769,8 @@ } }, { - "id": 341, - "name": "product_id", + "id": 708, + "name": "product_ids", "variant": "declaration", "kind": 1024, "flags": { @@ -9798,68 +10780,52 @@ "summary": [ { "kind": "text", - "text": "The ID of the associated product." + "text": "The IDs of the products to associate with the product collection." } ] }, "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 340, - 341 - ] - } - ] - }, - { - "id": 342, - "name": "UpdateProductOptionDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 343, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } }, { - "id": 344, - "name": "title", + "id": 709, + "name": "metadata", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 345, - "name": "product_id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } } ], @@ -9867,16 +10833,25 @@ { "title": "Properties", "children": [ - 343, - 344, - 345 + 705, + 706, + 707, + 708, + 709 ] } + ], + "extendedBy": [ + { + "type": "reference", + "target": 697, + "name": "UpsertProductCollectionDTO" + } ] }, { - "id": 632, - "name": "CreateProductVariantOptionDTO", + "id": 543, + "name": "CreateProductTypeDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -9884,13 +10859,13 @@ "summary": [ { "kind": "text", - "text": "A product variant option to create." + "text": "A product type to create." } ] }, "children": [ { - "id": 633, + "id": 544, "name": "value", "variant": "declaration", "kind": 1024, @@ -9899,7 +10874,7 @@ "summary": [ { "kind": "text", - "text": "The value of a product variant option." + "text": "The product type's value." } ] }, @@ -9909,16 +10884,39 @@ } }, { - "id": 634, - "name": "option_id", + "id": 545, + "name": "metadata", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } } ], @@ -9926,15 +10924,15 @@ { "title": "Properties", "children": [ - 633, - 634 + 544, + 545 ] } ] }, { - "id": 401, - "name": "CreateProductVariantDTO", + "id": 546, + "name": "UpsertProductTypeDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -9942,14 +10940,14 @@ "summary": [ { "kind": "text", - "text": "A product variant to create." + "text": "A product type to create or update" } ] }, "children": [ { - "id": 402, - "name": "product_id", + "id": 547, + "name": "id", "variant": "declaration", "kind": 1024, "flags": { @@ -9959,7 +10957,15 @@ "summary": [ { "kind": "text", - "text": "The id of the product" + "text": "The product type's ID. If provided, the product\ntag is updated. Otheriwse, it's created.\nIn that case, the " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": " property is required." } ] }, @@ -9969,27 +10975,34 @@ } }, { - "id": 403, - "name": "title", + "id": 548, + "name": "value", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The tile of the product variant." + "text": "The new value of the product type." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 551, + "name": "UpdateProductTypeDTO.value" } }, { - "id": 404, - "name": "sku", + "id": 549, + "name": "metadata", "variant": "declaration", "kind": 1024, "flags": { @@ -9999,18 +11012,90 @@ "summary": [ { "kind": "text", - "text": "The SKU of the product variant." + "text": "Holds custom data in key-value pairs." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 552, + "name": "UpdateProductTypeDTO.metadata" } - }, + } + ], + "groups": [ { - "id": 405, - "name": "barcode", + "title": "Properties", + "children": [ + 547, + 548, + 549 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 550, + "name": "UpdateProductTypeDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 550, + "name": "UpdateProductTypeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to update in a product type. The " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " is used to identify which product type to update." + } + ] + }, + "children": [ + { + "id": 551, + "name": "value", "variant": "declaration", "kind": 1024, "flags": { @@ -10020,7 +11105,7 @@ "summary": [ { "kind": "text", - "text": "The barcode of the product variant." + "text": "The new value of the product type." } ] }, @@ -10030,8 +11115,8 @@ } }, { - "id": 406, - "name": "ean", + "id": 552, + "name": "metadata", "variant": "declaration", "kind": 1024, "flags": { @@ -10041,18 +11126,75 @@ "summary": [ { "kind": "text", - "text": "The EAN of the product variant." + "text": "Holds custom data in key-value pairs." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] } - }, + } + ], + "groups": [ { - "id": 407, - "name": "upc", + "title": "Properties", + "children": [ + 551, + 552 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 546, + "name": "UpsertProductTypeDTO" + } + ] + }, + { + "id": 835, + "name": "UpsertProductImageDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A product image to create or update." + } + ] + }, + "children": [ + { + "id": 836, + "name": "id", "variant": "declaration", "kind": 1024, "flags": { @@ -10062,7 +11204,15 @@ "summary": [ { "kind": "text", - "text": "The UPC of the product variant." + "text": "The product image's ID. If not provided, the image is created. In\nthat case, the " + }, + { + "kind": "code", + "text": "`url`" + }, + { + "kind": "text", + "text": " property is required." } ] }, @@ -10072,8 +11222,8 @@ } }, { - "id": 408, - "name": "allow_backorder", + "id": 837, + "name": "url", "variant": "declaration", "kind": 1024, "flags": { @@ -10083,18 +11233,23 @@ "summary": [ { "kind": "text", - "text": "Whether the product variant can be ordered when it's out of stock." + "text": "The new URL of the product image." } ] }, "type": { "type": "intrinsic", - "name": "boolean" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 897, + "name": "UpdateProductImageDTO.url" } }, { - "id": 409, - "name": "inventory_quantity", + "id": 838, + "name": "metadata", "variant": "declaration", "kind": 1024, "flags": { @@ -10104,18 +11259,81 @@ "summary": [ { "kind": "text", - "text": "The inventory quantiy of the product variant." + "text": "Holds custom data in key-value pairs." } ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 898, + "name": "UpdateProductImageDTO.metadata" } - }, + } + ], + "groups": [ { - "id": 410, - "name": "manage_inventory", + "title": "Properties", + "children": [ + 836, + 837, + 838 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 896, + "name": "UpdateProductImageDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 896, + "name": "UpdateProductImageDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to update in a product image. The " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " is used to identify which product image to update." + } + ] + }, + "children": [ + { + "id": 897, + "name": "url", "variant": "declaration", "kind": 1024, "flags": { @@ -10125,18 +11343,18 @@ "summary": [ { "kind": "text", - "text": "Whether the product variant's inventory should be managed by the core system." + "text": "The new URL of the product image." } ] }, "type": { "type": "intrinsic", - "name": "boolean" + "name": "string" } }, { - "id": 411, - "name": "hs_code", + "id": 898, + "name": "metadata", "variant": "declaration", "kind": 1024, "flags": { @@ -10146,28 +11364,74 @@ "summary": [ { "kind": "text", - "text": "The HS Code of the product variant." + "text": "Holds custom data in key-value pairs." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" } - }, + } + ], + "groups": [ { - "id": 412, - "name": "origin_country", + "title": "Properties", + "children": [ + 897, + 898 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 835, + "name": "UpsertProductImageDTO" + } + ] + }, + { + "id": 526, + "name": "CreateProductTagDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A product tag to create." + } + ] + }, + "children": [ + { + "id": 527, + "name": "value", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The origin country of the product variant." + "text": "The value of the product tag." } ] }, @@ -10175,10 +11439,35 @@ "type": "intrinsic", "name": "string" } - }, + } + ], + "groups": [ { - "id": 413, - "name": "mid_code", + "title": "Properties", + "children": [ + 527 + ] + } + ] + }, + { + "id": 839, + "name": "UpsertProductTagDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A product tag to create or update." + } + ] + }, + "children": [ + { + "id": 840, + "name": "id", "variant": "declaration", "kind": 1024, "flags": { @@ -10188,7 +11477,15 @@ "summary": [ { "kind": "text", - "text": "The MID Code of the product variant." + "text": "The ID of the product tag to update. If not provided, the tag\nis created. In that case, the " + }, + { + "kind": "code", + "text": "`value`" + }, + { + "kind": "text", + "text": " property is required." } ] }, @@ -10198,8 +11495,8 @@ } }, { - "id": 414, - "name": "material", + "id": 841, + "name": "value", "variant": "declaration", "kind": 1024, "flags": { @@ -10209,18 +11506,65 @@ "summary": [ { "kind": "text", - "text": "The material of the product variant." + "text": "The value of the product tag." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 529, + "name": "UpdateProductTagDTO.value" } - }, + } + ], + "groups": [ { - "id": 415, - "name": "weight", + "title": "Properties", + "children": [ + 840, + 841 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 528, + "name": "UpdateProductTagDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 528, + "name": "UpdateProductTagDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to update in a product tag. The " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " is used to identify which product tag to update." + } + ] + }, + "children": [ + { + "id": 529, + "name": "value", "variant": "declaration", "kind": 1024, "flags": { @@ -10230,60 +11574,91 @@ "summary": [ { "kind": "text", - "text": "The weight of the product variant." + "text": "The value of the product tag." } ] }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" } - }, + } + ], + "groups": [ { - "id": 416, - "name": "length", + "title": "Properties", + "children": [ + 529 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 839, + "name": "UpsertProductTagDTO" + } + ] + }, + { + "id": 570, + "name": "CreateProductOptionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A product option to create." + } + ] + }, + "children": [ + { + "id": 571, + "name": "title", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The length of the product variant." + "text": "The product option's title." } ] }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" } }, { - "id": 417, - "name": "height", + "id": 572, + "name": "values", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The height of the product variant." + "text": "The product option values." } ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } } }, { - "id": 418, - "name": "width", + "id": 573, + "name": "product_id", "variant": "declaration", "kind": 1024, "flags": { @@ -10293,18 +11668,45 @@ "summary": [ { "kind": "text", - "text": "The width of the product variant." + "text": "The ID of the associated product." } ] }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" } - }, + } + ], + "groups": [ { - "id": 419, - "name": "options", + "title": "Properties", + "children": [ + 571, + 572, + 573 + ] + } + ] + }, + { + "id": 574, + "name": "UpsertProductOptionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A product option to create or update." + } + ] + }, + "children": [ + { + "id": 575, + "name": "id", "variant": "declaration", "kind": 1024, "flags": { @@ -10314,23 +11716,34 @@ "summary": [ { "kind": "text", - "text": "The product variant options to create and associate with the product variant." + "text": "The ID of the product option to update. If not provided, the product\noption is created. In that case, the " + }, + { + "kind": "code", + "text": "`title`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`values`" + }, + { + "kind": "text", + "text": " properties are\nrequired." } ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 632, - "name": "CreateProductVariantOptionDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "string" } }, { - "id": 420, - "name": "metadata", + "id": 576, + "name": "title", "variant": "declaration", "kind": 1024, "flags": { @@ -10340,28 +11753,73 @@ "summary": [ { "kind": "text", - "text": "Holds custom data in key-value pairs." + "text": "The product option's title." } ] }, "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + "target": 580, + "name": "UpdateProductOptionDTO.title" + } + }, + { + "id": 577, + "name": "values", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "string" - }, + "kind": "text", + "text": "The product option values." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + "inheritedFrom": { + "type": "reference", + "target": 581, + "name": "UpdateProductOptionDTO.values" + } + }, + { + "id": 578, + "name": "product_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "unknown" + "kind": "text", + "text": "The ID of the associated product." } - ], - "name": "Record", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 582, + "name": "UpdateProductOptionDTO.product_id" } } ], @@ -10369,63 +11827,142 @@ { "title": "Properties", "children": [ - 402, - 403, - 404, - 405, - 406, - 407, - 408, - 409, - 410, - 411, - 412, - 413, - 414, - 415, - 416, - 417, - 418, - 419, - 420 + 575, + 576, + 577, + 578 ] } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 579, + "name": "UpdateProductOptionDTO", + "package": "@medusajs/types" + } ] }, { - "id": 381, - "name": "UpdateProductVariantDTO", + "id": 579, + "name": "UpdateProductOptionDTO", "variant": "declaration", "kind": 256, "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The data to update in a product variant. The " + "children": [ + { + "id": 580, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true }, - { - "kind": "code", - "text": "`id`" + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product option's title." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 581, + "name": "values", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product option values." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 582, + "name": "product_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the associated product." + } + ] }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 580, + 581, + 582 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 574, + "name": "UpsertProductOptionDTO" + } + ] + }, + { + "id": 617, + "name": "CreateProductVariantDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ { "kind": "text", - "text": " is used to identify which product variant to update." + "text": "A product variant to create." } ] }, "children": [ { - "id": 382, - "name": "id", + "id": 618, + "name": "product_id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the product variant to update." + "text": "The id of the product" } ] }, @@ -10435,13 +11972,11 @@ } }, { - "id": 383, + "id": 619, "name": "title", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { @@ -10456,7 +11991,7 @@ } }, { - "id": 384, + "id": 620, "name": "sku", "variant": "declaration", "kind": 1024, @@ -10477,7 +12012,7 @@ } }, { - "id": 385, + "id": 621, "name": "barcode", "variant": "declaration", "kind": 1024, @@ -10498,7 +12033,7 @@ } }, { - "id": 386, + "id": 622, "name": "ean", "variant": "declaration", "kind": 1024, @@ -10519,7 +12054,7 @@ } }, { - "id": 387, + "id": 623, "name": "upc", "variant": "declaration", "kind": 1024, @@ -10540,7 +12075,7 @@ } }, { - "id": 388, + "id": 624, "name": "allow_backorder", "variant": "declaration", "kind": 1024, @@ -10561,7 +12096,7 @@ } }, { - "id": 389, + "id": 625, "name": "inventory_quantity", "variant": "declaration", "kind": 1024, @@ -10582,7 +12117,7 @@ } }, { - "id": 390, + "id": 626, "name": "manage_inventory", "variant": "declaration", "kind": 1024, @@ -10603,7 +12138,7 @@ } }, { - "id": 391, + "id": 627, "name": "hs_code", "variant": "declaration", "kind": 1024, @@ -10624,7 +12159,7 @@ } }, { - "id": 392, + "id": 628, "name": "origin_country", "variant": "declaration", "kind": 1024, @@ -10645,7 +12180,7 @@ } }, { - "id": 393, + "id": 629, "name": "mid_code", "variant": "declaration", "kind": 1024, @@ -10666,7 +12201,7 @@ } }, { - "id": 394, + "id": 630, "name": "material", "variant": "declaration", "kind": 1024, @@ -10687,7 +12222,7 @@ } }, { - "id": 395, + "id": 631, "name": "weight", "variant": "declaration", "kind": 1024, @@ -10708,7 +12243,7 @@ } }, { - "id": 396, + "id": 632, "name": "length", "variant": "declaration", "kind": 1024, @@ -10729,7 +12264,7 @@ } }, { - "id": 397, + "id": 633, "name": "height", "variant": "declaration", "kind": 1024, @@ -10750,7 +12285,7 @@ } }, { - "id": 398, + "id": 634, "name": "width", "variant": "declaration", "kind": 1024, @@ -10771,7 +12306,7 @@ } }, { - "id": 399, + "id": 635, "name": "options", "variant": "declaration", "kind": 1024, @@ -10782,22 +12317,43 @@ "summary": [ { "kind": "text", - "text": "The product variant options to create and associate with the product variant." + "text": "The options of the variant. Each key is an option's title, and value\nis an option's value. If an option with the specified title doesn't exist,\na new one is created." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\n`{ Color: \"Blue\" }`\n```" + } + ] } ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 632, - "name": "CreateProductVariantOptionDTO", - "package": "@medusajs/types" - } + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Record", + "package": "typescript" } }, { - "id": 400, + "id": 636, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -10837,32 +12393,32 @@ { "title": "Properties", "children": [ - 382, - 383, - 384, - 385, - 386, - 387, - 388, - 389, - 390, - 391, - 392, - 393, - 394, - 395, - 396, - 397, - 398, - 399, - 400 + 618, + 619, + 620, + 621, + 622, + 623, + 624, + 625, + 626, + 627, + 628, + 629, + 630, + 631, + 632, + 633, + 634, + 635, + 636 ] } ] }, { - "id": 484, - "name": "CreateProductDTO", + "id": 637, + "name": "UpsertProductVariantDTO", "variant": "declaration", "kind": 256, "flags": {}, @@ -10870,22 +12426,24 @@ "summary": [ { "kind": "text", - "text": "A product to create." + "text": "A product variant to create or update." } ] }, "children": [ { - "id": 485, - "name": "title", + "id": 638, + "name": "id", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The title of the product." + "text": "The ID of the product variant to update." } ] }, @@ -10895,8 +12453,8 @@ } }, { - "id": 486, - "name": "subtitle", + "id": 639, + "name": "title", "variant": "declaration", "kind": 1024, "flags": { @@ -10906,18 +12464,23 @@ "summary": [ { "kind": "text", - "text": "The subttle of the product." + "text": "The tile of the product variant." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 658, + "name": "UpdateProductVariantDTO.title" } }, { - "id": 487, - "name": "description", + "id": 640, + "name": "sku", "variant": "declaration", "kind": 1024, "flags": { @@ -10927,18 +12490,23 @@ "summary": [ { "kind": "text", - "text": "The description of the product." + "text": "The SKU of the product variant." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 659, + "name": "UpdateProductVariantDTO.sku" } }, { - "id": 488, - "name": "is_giftcard", + "id": 641, + "name": "barcode", "variant": "declaration", "kind": 1024, "flags": { @@ -10948,18 +12516,23 @@ "summary": [ { "kind": "text", - "text": "Whether the product is a gift card." + "text": "The barcode of the product variant." } ] }, "type": { "type": "intrinsic", - "name": "boolean" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 660, + "name": "UpdateProductVariantDTO.barcode" } }, { - "id": 489, - "name": "discountable", + "id": 642, + "name": "ean", "variant": "declaration", "kind": 1024, "flags": { @@ -10969,18 +12542,23 @@ "summary": [ { "kind": "text", - "text": "Whether the product can be discounted." + "text": "The EAN of the product variant." } ] }, "type": { "type": "intrinsic", - "name": "boolean" + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 661, + "name": "UpdateProductVariantDTO.ean" } }, { - "id": 490, - "name": "images", + "id": 643, + "name": "upc", "variant": "declaration", "kind": 1024, "flags": { @@ -10990,90 +12568,49 @@ "summary": [ { "kind": "text", - "text": "The product's images. If an array of strings is supplied, each string will be a URL and a " - }, - { - "kind": "code", - "text": "`ProductImage`" - }, - { - "kind": "text", - "text": " will be created\nand associated with the product. If an array of objects is supplied, you can pass along the ID of an existing " - }, - { - "kind": "code", - "text": "`ProductImage`" - }, - { - "kind": "text", - "text": "." + "text": "The UPC of the product variant." } ] }, "type": { - "type": "union", - "types": [ - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 662, + "name": "UpdateProductVariantDTO.upc" + } + }, + { + "id": 644, + "name": "allow_backorder", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 491, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 492, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 493, - "name": "url", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 492, - 493 - ] - } - ] - } - } + "kind": "text", + "text": "Whether the product variant can be ordered when it's out of stock." } ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 663, + "name": "UpdateProductVariantDTO.allow_backorder" } }, { - "id": 494, - "name": "thumbnail", + "id": 645, + "name": "inventory_quantity", "variant": "declaration", "kind": 1024, "flags": { @@ -11083,18 +12620,23 @@ "summary": [ { "kind": "text", - "text": "The URL of the product's thumbnail." + "text": "The inventory quantiy of the product variant." } ] }, "type": { "type": "intrinsic", - "name": "string" + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 664, + "name": "UpdateProductVariantDTO.inventory_quantity" } }, { - "id": 495, - "name": "handle", + "id": 646, + "name": "manage_inventory", "variant": "declaration", "kind": 1024, "flags": { @@ -11104,34 +12646,23 @@ "summary": [ { "kind": "text", - "text": "The handle of the product. The handle can be used to create slug URL paths.\nIf not supplied, the value of the " - }, - { - "kind": "code", - "text": "`handle`" - }, - { - "kind": "text", - "text": " attribute of the product is set to the slug version of the " - }, - { - "kind": "code", - "text": "`title`" - }, - { - "kind": "text", - "text": " attribute." + "text": "Whether the product variant's inventory should be managed by the core system." } ] }, "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 665, + "name": "UpdateProductVariantDTO.manage_inventory" } }, { - "id": 496, - "name": "status", + "id": 647, + "name": "hs_code", "variant": "declaration", "kind": 1024, "flags": { @@ -11141,20 +12672,23 @@ "summary": [ { "kind": "text", - "text": "The status of the product." + "text": "The HS Code of the product variant." } ] }, "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { "type": "reference", - "target": 580, - "name": "ProductStatus", - "package": "@medusajs/types" + "target": 666, + "name": "UpdateProductVariantDTO.hs_code" } }, { - "id": 497, - "name": "type", + "id": 648, + "name": "origin_country", "variant": "declaration", "kind": 1024, "flags": { @@ -11164,20 +12698,23 @@ "summary": [ { "kind": "text", - "text": "The product type to create and associate with the product." + "text": "The origin country of the product variant." } ] }, "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { "type": "reference", - "target": 318, - "name": "CreateProductTypeDTO", - "package": "@medusajs/types" + "target": 667, + "name": "UpdateProductVariantDTO.origin_country" } }, { - "id": 498, - "name": "type_id", + "id": 649, + "name": "mid_code", "variant": "declaration", "kind": 1024, "flags": { @@ -11187,18 +12724,23 @@ "summary": [ { "kind": "text", - "text": "The product type to be associated with the product." + "text": "The MID Code of the product variant." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 668, + "name": "UpdateProductVariantDTO.mid_code" } }, { - "id": 499, - "name": "collection_id", + "id": 650, + "name": "material", "variant": "declaration", "kind": 1024, "flags": { @@ -11208,18 +12750,23 @@ "summary": [ { "kind": "text", - "text": "The product collection to be associated with the product." + "text": "The material of the product variant." } ] }, "type": { "type": "intrinsic", "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 669, + "name": "UpdateProductVariantDTO.material" } }, { - "id": 500, - "name": "tags", + "id": 651, + "name": "weight", "variant": "declaration", "kind": 1024, "flags": { @@ -11229,23 +12776,23 @@ "summary": [ { "kind": "text", - "text": "The product tags to be created and associated with the product." + "text": "The weight of the product variant." } ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 303, - "name": "CreateProductTagDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 670, + "name": "UpdateProductVariantDTO.weight" } }, { - "id": 501, - "name": "categories", + "id": 652, + "name": "length", "variant": "declaration", "kind": 1024, "flags": { @@ -11255,48 +12802,23 @@ "summary": [ { "kind": "text", - "text": "The product categories to associate with the product." + "text": "The length of the product variant." } ] }, "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 502, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 503, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 503 - ] - } - ] - } - } + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 671, + "name": "UpdateProductVariantDTO.length" } }, { - "id": 504, - "name": "options", + "id": 653, + "name": "height", "variant": "declaration", "kind": 1024, "flags": { @@ -11306,23 +12828,23 @@ "summary": [ { "kind": "text", - "text": "The product options to be created and associated with the product." + "text": "The height of the product variant." } ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 339, - "name": "CreateProductOptionDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 672, + "name": "UpdateProductVariantDTO.height" } }, { - "id": 505, - "name": "variants", + "id": 654, + "name": "width", "variant": "declaration", "kind": 1024, "flags": { @@ -11332,23 +12854,23 @@ "summary": [ { "kind": "text", - "text": "The product variants to be created and associated with the product." + "text": "The width of the product variant." } ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 401, - "name": "CreateProductVariantDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 673, + "name": "UpdateProductVariantDTO.width" } }, { - "id": 506, - "name": "width", + "id": 655, + "name": "options", "variant": "declaration", "kind": 1024, "flags": { @@ -11358,18 +12880,38 @@ "summary": [ { "kind": "text", - "text": "The width of the product." + "text": "The product variant options to associate with the product variant." } ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Record", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 674, + "name": "UpdateProductVariantDTO.options" } }, { - "id": 507, - "name": "height", + "id": 656, + "name": "metadata", "variant": "declaration", "kind": 1024, "flags": { @@ -11379,18 +12921,97 @@ "summary": [ { "kind": "text", - "text": "The height of the product." + "text": "Holds custom data in key-value pairs." } ] }, "type": { - "type": "intrinsic", - "name": "number" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 675, + "name": "UpdateProductVariantDTO.metadata" } - }, + } + ], + "groups": [ { - "id": 508, - "name": "length", + "title": "Properties", + "children": [ + 638, + 639, + 640, + 641, + 642, + 643, + 644, + 645, + 646, + 647, + 648, + 649, + 650, + 651, + 652, + 653, + 654, + 655, + 656 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 657, + "name": "UpdateProductVariantDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 657, + "name": "UpdateProductVariantDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to update in a product variant. The " + }, + { + "kind": "code", + "text": "`id`" + }, + { + "kind": "text", + "text": " is used to identify which product variant to update." + } + ] + }, + "children": [ + { + "id": 658, + "name": "title", "variant": "declaration", "kind": 1024, "flags": { @@ -11400,18 +13021,18 @@ "summary": [ { "kind": "text", - "text": "The length of the product." + "text": "The tile of the product variant." } ] }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" } }, { - "id": 509, - "name": "weight", + "id": 659, + "name": "sku", "variant": "declaration", "kind": 1024, "flags": { @@ -11421,18 +13042,18 @@ "summary": [ { "kind": "text", - "text": "The weight of the product." + "text": "The SKU of the product variant." } ] }, "type": { "type": "intrinsic", - "name": "number" + "name": "string" } }, { - "id": 510, - "name": "origin_country", + "id": 660, + "name": "barcode", "variant": "declaration", "kind": 1024, "flags": { @@ -11442,7 +13063,7 @@ "summary": [ { "kind": "text", - "text": "The origin country of the product." + "text": "The barcode of the product variant." } ] }, @@ -11452,8 +13073,8 @@ } }, { - "id": 511, - "name": "hs_code", + "id": 661, + "name": "ean", "variant": "declaration", "kind": 1024, "flags": { @@ -11463,7 +13084,7 @@ "summary": [ { "kind": "text", - "text": "The HS Code of the product." + "text": "The EAN of the product variant." } ] }, @@ -11473,8 +13094,8 @@ } }, { - "id": 512, - "name": "material", + "id": 662, + "name": "upc", "variant": "declaration", "kind": 1024, "flags": { @@ -11484,7 +13105,7 @@ "summary": [ { "kind": "text", - "text": "The material of the product." + "text": "The UPC of the product variant." } ] }, @@ -11494,8 +13115,8 @@ } }, { - "id": 513, - "name": "mid_code", + "id": 663, + "name": "allow_backorder", "variant": "declaration", "kind": 1024, "flags": { @@ -11505,18 +13126,18 @@ "summary": [ { "kind": "text", - "text": "The MID Code of the product." + "text": "Whether the product variant can be ordered when it's out of stock." } ] }, "type": { "type": "intrinsic", - "name": "string" + "name": "boolean" } }, { - "id": 514, - "name": "metadata", + "id": 664, + "name": "inventory_quantity", "variant": "declaration", "kind": 1024, "flags": { @@ -11526,98 +13147,70 @@ "summary": [ { "kind": "text", - "text": "Holds custom data in key-value pairs." + "text": "The inventory quantiy of the product variant." } ] }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 665, + "name": "manage_inventory", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "string" - }, + "kind": "text", + "text": "Whether the product variant's inventory should be managed by the core system." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 666, + "name": "hs_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "unknown" + "kind": "text", + "text": "The HS Code of the product variant." } - ], - "name": "Record", - "package": "typescript" + ] + }, + "type": { + "type": "intrinsic", + "name": "string" } - } - ], - "groups": [ + }, { - "title": "Properties", - "children": [ - 485, - 486, - 487, - 488, - 489, - 490, - 494, - 495, - 496, - 497, - 498, - 499, - 500, - 501, - 504, - 505, - 506, - 507, - 508, - 509, - 510, - 511, - 512, - 513, - 514 - ] - } - ] - }, - { - "id": 515, - "name": "UpdateProductDTO", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The data to update in a product. The " - }, - { - "kind": "code", - "text": "`id`" - }, - { - "kind": "text", - "text": " is used to identify which product to update." - } - ] - }, - "children": [ - { - "id": 516, - "name": "id", + "id": 667, + "name": "origin_country", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the product to update." + "text": "The origin country of the product variant." } ] }, @@ -11627,8 +13220,8 @@ } }, { - "id": 517, - "name": "title", + "id": 668, + "name": "mid_code", "variant": "declaration", "kind": 1024, "flags": { @@ -11638,7 +13231,7 @@ "summary": [ { "kind": "text", - "text": "The title of the product." + "text": "The MID Code of the product variant." } ] }, @@ -11648,8 +13241,8 @@ } }, { - "id": 518, - "name": "subtitle", + "id": 669, + "name": "material", "variant": "declaration", "kind": 1024, "flags": { @@ -11659,7 +13252,7 @@ "summary": [ { "kind": "text", - "text": "The subttle of the product." + "text": "The material of the product variant." } ] }, @@ -11669,8 +13262,8 @@ } }, { - "id": 519, - "name": "description", + "id": 670, + "name": "weight", "variant": "declaration", "kind": 1024, "flags": { @@ -11680,18 +13273,18 @@ "summary": [ { "kind": "text", - "text": "The description of the product." + "text": "The weight of the product variant." } ] }, "type": { "type": "intrinsic", - "name": "string" + "name": "number" } }, { - "id": 520, - "name": "is_giftcard", + "id": 671, + "name": "length", "variant": "declaration", "kind": 1024, "flags": { @@ -11701,18 +13294,18 @@ "summary": [ { "kind": "text", - "text": "Whether the product is a gift card." + "text": "The length of the product variant." } ] }, "type": { "type": "intrinsic", - "name": "boolean" + "name": "number" } }, { - "id": 521, - "name": "discountable", + "id": 672, + "name": "height", "variant": "declaration", "kind": 1024, "flags": { @@ -11722,18 +13315,18 @@ "summary": [ { "kind": "text", - "text": "Whether the product can be discounted." + "text": "The height of the product variant." } ] }, "type": { "type": "intrinsic", - "name": "boolean" + "name": "number" } }, { - "id": 522, - "name": "images", + "id": 673, + "name": "width", "variant": "declaration", "kind": 1024, "flags": { @@ -11743,90 +13336,18 @@ "summary": [ { "kind": "text", - "text": "The product's images. If an array of strings is supplied, each string will be a URL and a " - }, - { - "kind": "code", - "text": "`ProductImage`" - }, - { - "kind": "text", - "text": " will be created\nand associated with the product. If an array of objects is supplied, you can pass along the ID of an existing " - }, - { - "kind": "code", - "text": "`ProductImage`" - }, - { - "kind": "text", - "text": "." + "text": "The width of the product variant." } ] }, "type": { - "type": "union", - "types": [ - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 523, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 524, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 525, - "name": "url", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 524, - 525 - ] - } - ] - } - } - } - ] + "type": "intrinsic", + "name": "number" } }, { - "id": 526, - "name": "thumbnail", + "id": 674, + "name": "options", "variant": "declaration", "kind": 1024, "flags": { @@ -11836,18 +13357,33 @@ "summary": [ { "kind": "text", - "text": "The URL of the product's thumbnail." + "text": "The product variant options to associate with the product variant." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Record", + "package": "typescript" } }, { - "id": 527, - "name": "handle", + "id": 675, + "name": "metadata", "variant": "declaration", "kind": 1024, "flags": { @@ -11857,23 +13393,90 @@ "summary": [ { "kind": "text", - "text": "The handle of the product. The handle can be used to create slug URL paths.\nIf not supplied, the value of the " - }, - { - "kind": "code", - "text": "`handle`" - }, + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ { - "kind": "text", - "text": " attribute of the product is set to the slug version of the " + "type": "intrinsic", + "name": "string" }, { - "kind": "code", - "text": "`title`" - }, + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 658, + 659, + 660, + 661, + 662, + 663, + 664, + 665, + 666, + 667, + 668, + 669, + 670, + 671, + 672, + 673, + 674, + 675 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 637, + "name": "UpsertProductVariantDTO" + } + ] + }, + { + "id": 433, + "name": "CreateProductDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A product to create." + } + ] + }, + "children": [ + { + "id": 434, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ { "kind": "text", - "text": " attribute." + "text": "The title of the product." } ] }, @@ -11883,8 +13486,8 @@ } }, { - "id": 528, - "name": "status", + "id": 435, + "name": "subtitle", "variant": "declaration", "kind": 1024, "flags": { @@ -11894,20 +13497,18 @@ "summary": [ { "kind": "text", - "text": "The status of the product." + "text": "The subttle of the product." } ] }, "type": { - "type": "reference", - "target": 580, - "name": "ProductStatus", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } }, { - "id": 529, - "name": "type", + "id": 436, + "name": "description", "variant": "declaration", "kind": 1024, "flags": { @@ -11917,20 +13518,18 @@ "summary": [ { "kind": "text", - "text": "The product type to create and associate with the product." + "text": "The description of the product." } ] }, "type": { - "type": "reference", - "target": 318, - "name": "CreateProductTypeDTO", - "package": "@medusajs/types" + "type": "intrinsic", + "name": "string" } }, { - "id": 530, - "name": "type_id", + "id": 437, + "name": "is_giftcard", "variant": "declaration", "kind": 1024, "flags": { @@ -11940,27 +13539,97 @@ "summary": [ { "kind": "text", - "text": "The product type to be associated with the product." + "text": "Whether the product is a gift card." } ] }, "type": { - "type": "union", - "types": [ + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 438, + "name": "discountable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "literal", - "value": null + "kind": "text", + "text": "Whether the product can be discounted." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 439, + "name": "thumbnail", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The URL of the product's thumbnail." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 440, + "name": "handle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The handle of the product. The handle can be used to create slug URL paths.\nIf not supplied, the value of the " }, { - "type": "intrinsic", - "name": "string" + "kind": "code", + "text": "`handle`" + }, + { + "kind": "text", + "text": " attribute of the product is set to the slug version of the " + }, + { + "kind": "code", + "text": "`title`" + }, + { + "kind": "text", + "text": " attribute." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 531, - "name": "collection_id", + "id": 441, + "name": "status", "variant": "declaration", "kind": 1024, "flags": { @@ -11970,26 +13639,87 @@ "summary": [ { "kind": "text", - "text": "The product collection to be associated with the product." + "text": "The status of the product." } ] }, "type": { - "type": "union", - "types": [ + "type": "reference", + "target": 783, + "name": "ProductStatus", + "package": "@medusajs/types" + } + }, + { + "id": 442, + "name": "images", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "literal", - "value": null - }, + "kind": "text", + "text": "The associated images to created or updated." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 835, + "name": "UpsertProductImageDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 443, + "name": "type_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ { - "type": "intrinsic", - "name": "string" + "kind": "text", + "text": "The product type id to associate with the product." } ] + }, + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 532, + "id": 444, + "name": "collection_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product collection to associate with the product." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 445, "name": "tags", "variant": "declaration", "kind": 1024, @@ -12000,7 +13730,7 @@ "summary": [ { "kind": "text", - "text": "The product tags to be created and associated with the product." + "text": "The associated tags to be created or updated." } ] }, @@ -12008,15 +13738,15 @@ "type": "array", "elementType": { "type": "reference", - "target": 303, - "name": "CreateProductTagDTO", + "target": 839, + "name": "UpsertProductTagDTO", "package": "@medusajs/types" } } }, { - "id": 533, - "name": "categories", + "id": 446, + "name": "category_ids", "variant": "declaration", "kind": 1024, "flags": { @@ -12033,40 +13763,13 @@ "type": { "type": "array", "elementType": { - "type": "reflection", - "declaration": { - "id": 534, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 535, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 535 - ] - } - ] - } + "type": "intrinsic", + "name": "string" } } }, { - "id": 536, + "id": 447, "name": "options", "variant": "declaration", "kind": 1024, @@ -12085,14 +13788,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 339, + "target": 570, "name": "CreateProductOptionDTO", "package": "@medusajs/types" } } }, { - "id": 537, + "id": 448, "name": "variants", "variant": "declaration", "kind": 1024, @@ -12103,33 +13806,22 @@ "summary": [ { "kind": "text", - "text": "The product variants to be created and associated with the product. You can also update existing product variants associated with the product." + "text": "The product variants to be created and associated with the product." } ] }, "type": { "type": "array", "elementType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 401, - "name": "CreateProductVariantDTO", - "package": "@medusajs/types" - }, - { - "type": "reference", - "target": 381, - "name": "UpdateProductVariantDTO", - "package": "@medusajs/types" - } - ] + "type": "reference", + "target": 617, + "name": "CreateProductVariantDTO", + "package": "@medusajs/types" } } }, { - "id": 538, + "id": 449, "name": "width", "variant": "declaration", "kind": 1024, @@ -12150,7 +13842,7 @@ } }, { - "id": 539, + "id": 450, "name": "height", "variant": "declaration", "kind": 1024, @@ -12171,7 +13863,7 @@ } }, { - "id": 540, + "id": 451, "name": "length", "variant": "declaration", "kind": 1024, @@ -12192,7 +13884,7 @@ } }, { - "id": 541, + "id": 452, "name": "weight", "variant": "declaration", "kind": 1024, @@ -12213,7 +13905,7 @@ } }, { - "id": 542, + "id": 453, "name": "origin_country", "variant": "declaration", "kind": 1024, @@ -12234,7 +13926,7 @@ } }, { - "id": 543, + "id": 454, "name": "hs_code", "variant": "declaration", "kind": 1024, @@ -12255,7 +13947,7 @@ } }, { - "id": 544, + "id": 455, "name": "material", "variant": "declaration", "kind": 1024, @@ -12276,7 +13968,7 @@ } }, { - "id": 545, + "id": 456, "name": "mid_code", "variant": "declaration", "kind": 1024, @@ -12297,7 +13989,7 @@ } }, { - "id": 546, + "id": 457, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -12337,5456 +14029,1484 @@ { "title": "Properties", "children": [ - 516, - 517, - 518, - 519, - 520, - 521, - 522, - 526, - 527, - 528, - 529, - 530, - 531, - 532, - 533, - 536, - 537, - 538, - 539, - 540, - 541, - 542, - 543, - 544, - 545, - 546 + 434, + 435, + 436, + 437, + 438, + 439, + 440, + 441, + 442, + 443, + 444, + 445, + 446, + 447, + 448, + 449, + 450, + 451, + 452, + 453, + 454, + 455, + 456, + 457 ] } ] }, { - "id": 1, - "name": "IProductModuleService", + "id": 458, + "name": "UpsertProductDTO", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A product to be created or updated." + } + ] + }, "children": [ { - "id": 2, - "name": "retrieve", + "id": 459, + "name": "id", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 3, - "name": "retrieve", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a product by its ID" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The retrieved product." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "A simple example that retrieves a product by its ID:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProduct (id: string) {\n const productModule = await initializeProductModule()\n\n const product = await productModule.retrieve(id)\n\n // do something with the product or return it\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProduct (id: string) {\n const productModule = await initializeProductModule()\n\n const product = await productModule.retrieve(id, {\n relations: [\"categories\"]\n })\n\n // do something with the product or return it\n}\n```" - } - ] - } - ] + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the product to update. If not provided, a product\nis created instead. In that case, the " }, - "parameters": [ - { - "id": 4, - "name": "productId", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the product to retrieve." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 5, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the product is retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a product." - } - ] - }, - "type": { - "type": "reference", - "target": 225, - "typeArguments": [ - { - "type": "reference", - "target": 236, - "name": "ProductDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 6, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 236, - "name": "ProductDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + { + "kind": "code", + "text": "`title`" + }, + { + "kind": "text", + "text": " property is required." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 7, - "name": "list", + "id": 460, + "name": "title", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 8, - "name": "list", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a paginated list of price sets based on optional filters and configuration." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of products." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To retrieve a list of products using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProducts (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const products = await productModule.list({\n id: ids\n })\n\n // do something with the products or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the products:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProducts (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const products = await productModule.list({\n id: ids\n }, {\n relations: [\"categories\"]\n })\n\n // do something with the products or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProducts (ids: string[], skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const products = await productModule.list({\n id: ids\n }, {\n relations: [\"categories\"],\n skip,\n take\n })\n\n // do something with the products or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProducts (ids: string[], title: string, skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const products = await productModule.list({\n $and: [\n {\n id: ids\n },\n {\n q: title\n }\n ]\n }, {\n relations: [\"categories\"],\n skip,\n take\n })\n\n // do something with the products or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 9, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filters to apply on the retrieved products." - } - ] - }, - "type": { - "type": "reference", - "target": 277, - "name": "FilterableProductProps", - "package": "@medusajs/types" - } - }, - { - "id": 10, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the products are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a product." - } - ] - }, - "type": { - "type": "reference", - "target": 225, - "typeArguments": [ - { - "type": "reference", - "target": 236, - "name": "ProductDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 11, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 236, - "name": "ProductDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the product." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 485, + "name": "UpdateProductDTO.title" + } }, { - "id": 12, - "name": "listAndCount", + "id": 461, + "name": "subtitle", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 13, - "name": "listAndCount", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a paginated list of products along with the total count of available products satisfying the provided filters." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of products along with the total count." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To retrieve a list of products using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProducts (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const [products, count] = await productModule.listAndCount({\n id: ids\n })\n\n // do something with the products or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the products:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProducts (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const [products, count] = await productModule.listAndCount({\n id: ids\n }, {\n relations: [\"categories\"]\n })\n\n // do something with the products or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProducts (ids: string[], skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const [products, count] = await productModule.listAndCount({\n id: ids\n }, {\n relations: [\"categories\"],\n skip,\n take\n })\n\n // do something with the products or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProducts (ids: string[], title: string, skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const [products, count] = await productModule.listAndCount({\n $and: [\n {\n id: ids\n },\n {\n q: title\n }\n ]\n }, {\n relations: [\"categories\"],\n skip,\n take\n })\n\n // do something with the products or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 14, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filters to apply on the retrieved products." - } - ] - }, - "type": { - "type": "reference", - "target": 277, - "name": "FilterableProductProps", - "package": "@medusajs/types" - } - }, - { - "id": 15, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the products are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a product." - } - ] - }, - "type": { - "type": "reference", - "target": 225, - "typeArguments": [ - { - "type": "reference", - "target": 236, - "name": "ProductDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 16, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 236, - "name": "ProductDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subttle of the product." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 486, + "name": "UpdateProductDTO.subtitle" + } }, { - "id": 17, - "name": "retrieveTag", + "id": 462, + "name": "description", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 18, - "name": "retrieveTag", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a tag by its ID." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The retrieved product tag." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "A simple example that retrieves a product tag by its ID:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductTag (tagId: string) {\n const productModule = await initializeProductModule()\n\n const productTag = await productModule.retrieveTag(tagId)\n\n // do something with the product tag or return it\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductTag (tagId: string) {\n const productModule = await initializeProductModule()\n\n const productTag = await productModule.retrieveTag(tagId, {\n relations: [\"products\"]\n })\n\n // do something with the product tag or return it\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 19, - "name": "tagId", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the tag to retrieve." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 20, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the product tag is retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a product tag." - } - ] - }, - "type": { - "type": "reference", - "target": 225, - "typeArguments": [ - { - "type": "reference", - "target": 293, - "name": "ProductTagDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 21, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 293, - "name": "ProductTagDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the product." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 487, + "name": "UpdateProductDTO.description" + } + }, + { + "id": 463, + "name": "is_giftcard", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the product is a gift card." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 488, + "name": "UpdateProductDTO.is_giftcard" + } + }, + { + "id": 464, + "name": "discountable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the product can be discounted." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 489, + "name": "UpdateProductDTO.discountable" + } + }, + { + "id": 465, + "name": "thumbnail", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The URL of the product's thumbnail." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 490, + "name": "UpdateProductDTO.thumbnail" + } + }, + { + "id": 466, + "name": "handle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The handle of the product. The handle can be used to create slug URL paths.\nIf not supplied, the value of the " + }, + { + "kind": "code", + "text": "`handle`" + }, + { + "kind": "text", + "text": " attribute of the product is set to the slug version of the " + }, + { + "kind": "code", + "text": "`title`" + }, + { + "kind": "text", + "text": " attribute." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 491, + "name": "UpdateProductDTO.handle" + } + }, + { + "id": 467, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The status of the product." + } + ] + }, + "type": { + "type": "reference", + "target": 783, + "name": "ProductStatus", + "package": "@medusajs/types" + }, + "inheritedFrom": { + "type": "reference", + "target": 492, + "name": "UpdateProductDTO.status" + } + }, + { + "id": 468, + "name": "images", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated images to create or update." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 835, + "name": "UpsertProductImageDTO", + "package": "@medusajs/types" } - ] + }, + "inheritedFrom": { + "type": "reference", + "target": 493, + "name": "UpdateProductDTO.images" + } }, { - "id": 22, - "name": "listTags", + "id": 469, + "name": "type_id", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 23, - "name": "listTags", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a paginated list of tags based on optional filters and configuration." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of product tags." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To retrieve a list of product tags using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductTag (tagIds: string[]) {\n const productModule = await initializeProductModule()\n\n const productTags = await productModule.listTags({\n id: tagIds\n })\n\n // do something with the product tags or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the product tags:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductTag (tagIds: string[]) {\n const productModule = await initializeProductModule()\n\n const productTags = await productModule.listTags({\n id: tagIds\n }, {\n relations: [\"products\"]\n })\n\n // do something with the product tags or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductTag (tagIds: string[], skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const productTags = await productModule.listTags({\n id: tagIds\n }, {\n relations: [\"products\"],\n skip,\n take\n })\n\n // do something with the product tags or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductTag (tagIds: string[], value: string, skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const productTags = await productModule.listTags({\n $and: [\n {\n id: tagIds\n },\n {\n value\n }\n ]\n }, {\n relations: [\"products\"],\n skip,\n take\n })\n\n // do something with the product tags or return them\n}\n```" - } - ] - } - ] + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product type to associate with the product." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "parameters": [ - { - "id": 24, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filters applied on the retrieved product tags." - } - ] - }, - "type": { - "type": "reference", - "target": 298, - "name": "FilterableProductTagProps", - "package": "@medusajs/types" - } - }, - { - "id": 25, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the product tags are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a product tag." - } - ] - }, - "type": { - "type": "reference", - "target": 225, - "typeArguments": [ - { - "type": "reference", - "target": 293, - "name": "ProductTagDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 26, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 293, - "name": "ProductTagDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + { + "type": "intrinsic", + "name": "string" } - } - ] + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 494, + "name": "UpdateProductDTO.type_id" + } }, { - "id": 27, - "name": "listAndCountTags", + "id": 470, + "name": "collection_id", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 28, - "name": "listAndCountTags", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a paginated list of product tags along with the total count of available product tags satisfying the provided filters." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of product tags along with the total count." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To retrieve a list of product tags using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductTag (tagIds: string[]) {\n const productModule = await initializeProductModule()\n\n const [productTags, count] = await productModule.listAndCountTags({\n id: tagIds\n })\n\n // do something with the product tags or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the product tags:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductTag (tagIds: string[]) {\n const productModule = await initializeProductModule()\n\n const [productTags, count] = await productModule.listAndCountTags({\n id: tagIds\n }, {\n relations: [\"products\"]\n })\n\n // do something with the product tags or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductTag (tagIds: string[], skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const [productTags, count] = await productModule.listAndCountTags({\n id: tagIds\n }, {\n relations: [\"products\"],\n skip,\n take\n })\n\n // do something with the product tags or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductTag (tagIds: string[], value: string, skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const [productTags, count] = await productModule.listAndCountTags({\n $and: [\n {\n id: tagIds\n },\n {\n value\n }\n ]\n }, {\n relations: [\"products\"],\n skip,\n take\n })\n\n // do something with the product tags or return them\n}\n```" - } - ] - } - ] + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product collection to associate with the product." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "parameters": [ - { - "id": 29, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filters applied on the retrieved product tags." - } - ] - }, - "type": { - "type": "reference", - "target": 298, - "name": "FilterableProductTagProps", - "package": "@medusajs/types" - } - }, - { - "id": 30, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the product tags are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a product tag." - } - ] - }, - "type": { - "type": "reference", - "target": 225, - "typeArguments": [ - { - "type": "reference", - "target": 293, - "name": "ProductTagDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 31, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 293, - "name": "ProductTagDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - ], - "name": "Promise", - "package": "typescript" + { + "type": "intrinsic", + "name": "string" } - } - ] + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 495, + "name": "UpdateProductDTO.collection_id" + } }, { - "id": 32, - "name": "createTags", + "id": 471, + "name": "tags", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 33, - "name": "createTags", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to create product tags." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of product tags." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function createProductTags (values: string[]) {\n const productModule = await initializeProductModule()\n\n const productTags = await productModule.createTags(\n values.map((value) => ({\n value\n }))\n )\n\n // do something with the product tags or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 34, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The product tags to create." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 303, - "name": "CreateProductTagDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 35, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 293, - "name": "ProductTagDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated tags to create or update." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 839, + "name": "UpsertProductTagDTO", + "package": "@medusajs/types" } - ] + }, + "inheritedFrom": { + "type": "reference", + "target": 496, + "name": "UpdateProductDTO.tags" + } }, { - "id": 36, - "name": "updateTags", + "id": 472, + "name": "category_ids", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 37, - "name": "updateTags", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to update existing product tags." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of updated product tags." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function updateProductTag (id: string, value: string) {\n const productModule = await initializeProductModule()\n\n const productTags = await productModule.updateTags([\n {\n id,\n value\n }\n ])\n\n // do something with the product tags or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 38, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The product tags to be updated, each having the attributes that should be updated in a product tag." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 305, - "name": "UpdateProductTagDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 39, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 293, - "name": "ProductTagDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product categories to associate with the product." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" } - ] + }, + "inheritedFrom": { + "type": "reference", + "target": 497, + "name": "UpdateProductDTO.category_ids" + } }, { - "id": 40, - "name": "deleteTags", + "id": 473, + "name": "options", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 41, - "name": "deleteTags", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to delete product tags by their ID." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "Resolves when the product tags are successfully deleted." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function deleteProductTags (ids: string[]) {\n const productModule = await initializeProductModule()\n\n await productModule.deleteTags(ids)\n\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 42, - "name": "productTagIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IDs of the product tags to be deleted." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 43, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated options to create or update." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 574, + "name": "UpsertProductOptionDTO", + "package": "@medusajs/types" } - ] + }, + "inheritedFrom": { + "type": "reference", + "target": 498, + "name": "UpdateProductDTO.options" + } }, { - "id": 44, - "name": "retrieveType", + "id": 474, + "name": "variants", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 45, - "name": "retrieveType", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a product type by its ID." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The retrieved product type." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "A simple example that retrieves a product type by its ID:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductType (id: string) {\n const productModule = await initializeProductModule()\n\n const productType = await productModule.retrieveType(id)\n\n // do something with the product type or return it\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify attributes that should be retrieved:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductType (id: string) {\n const productModule = await initializeProductModule()\n\n const productType = await productModule.retrieveType(id, {\n select: [\"value\"]\n })\n\n // do something with the product type or return it\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 46, - "name": "typeId", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the product type to retrieve." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 47, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the product type is retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a product type." - } - ] - }, - "type": { - "type": "reference", - "target": 225, - "typeArguments": [ - { - "type": "reference", - "target": 308, - "name": "ProductTypeDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 48, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 308, - "name": "ProductTypeDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 49, - "name": "listTypes", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 50, - "name": "listTypes", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a paginated list of product types based on optional filters and configuration." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of product types." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To retrieve a list of product types using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductTypes (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const productTypes = await productModule.listTypes({\n id: ids\n })\n\n // do something with the product types or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify attributes that should be retrieved within the product types:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductTypes (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const productTypes = await productModule.listTypes({\n id: ids\n }, {\n select: [\"value\"]\n })\n\n // do something with the product types or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductTypes (ids: string[], skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const productTypes = await productModule.listTypes({\n id: ids\n }, {\n select: [\"value\"],\n skip,\n take\n })\n\n // do something with the product types or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductTypes (ids: string[], value: string, skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const productTypes = await productModule.listTypes({\n $and: [\n {\n id: ids\n },\n {\n value\n }\n ]\n }, {\n select: [\"value\"],\n skip,\n take\n })\n\n // do something with the product types or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 51, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filters to apply on the retrieved product types." - } - ] - }, - "type": { - "type": "reference", - "target": 313, - "name": "FilterableProductTypeProps", - "package": "@medusajs/types" - } - }, - { - "id": 52, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the product types are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a product type." - } - ] - }, - "type": { - "type": "reference", - "target": 225, - "typeArguments": [ - { - "type": "reference", - "target": 308, - "name": "ProductTypeDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 53, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 308, - "name": "ProductTypeDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product variants to be created and associated with the product.\nYou can also update existing product variants associated with the product." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 637, + "name": "UpsertProductVariantDTO", + "package": "@medusajs/types" } - ] + }, + "inheritedFrom": { + "type": "reference", + "target": 499, + "name": "UpdateProductDTO.variants" + } }, { - "id": 54, - "name": "listAndCountTypes", + "id": 475, + "name": "width", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 55, - "name": "listAndCountTypes", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a paginated list of product types along with the total count of available product types satisfying the provided filters." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of product types along with their total count." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To retrieve a list of product types using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductTypes (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const [productTypes, count] = await productModule.listAndCountTypes({\n id: ids\n })\n\n // do something with the product types or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify attributes that should be retrieved within the product types:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductTypes (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const [productTypes, count] = await productModule.listAndCountTypes({\n id: ids\n }, {\n select: [\"value\"]\n })\n\n // do something with the product types or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductTypes (ids: string[], skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const [productTypes, count] = await productModule.listAndCountTypes({\n id: ids\n }, {\n select: [\"value\"],\n skip,\n take\n })\n\n // do something with the product types or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductTypes (ids: string[], value: string, skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const [productTypes, count] = await productModule.listAndCountTypes({\n $and: [\n {\n id: ids\n },\n {\n value\n }\n ]\n }, {\n select: [\"value\"],\n skip,\n take\n })\n\n // do something with the product types or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 56, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filters to be applied on the retrieved product type." - } - ] - }, - "type": { - "type": "reference", - "target": 313, - "name": "FilterableProductTypeProps", - "package": "@medusajs/types" - } - }, - { - "id": 57, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the product types are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a product type." - } - ] - }, - "type": { - "type": "reference", - "target": 225, - "typeArguments": [ - { - "type": "reference", - "target": 308, - "name": "ProductTypeDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 58, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 308, - "name": "ProductTypeDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The width of the product." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 500, + "name": "UpdateProductDTO.width" + } }, { - "id": 59, - "name": "createTypes", + "id": 476, + "name": "height", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 60, - "name": "createTypes", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to create a product type." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of created product types." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function createProductType (value: string) {\n const productModule = await initializeProductModule()\n\n const productTypes = await productModule.createTypes([\n {\n value\n }\n ])\n\n // do something with the product types or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 61, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The product types to be created." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 318, - "name": "CreateProductTypeDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 62, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 308, - "name": "ProductTypeDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The height of the product." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 501, + "name": "UpdateProductDTO.height" + } }, { - "id": 63, - "name": "updateTypes", + "id": 477, + "name": "length", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 64, - "name": "updateTypes", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to update a product type" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of updated product types." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function updateProductType (id: string, value: string) {\n const productModule = await initializeProductModule()\n\n const productTypes = await productModule.updateTypes([\n {\n id,\n value\n }\n ])\n\n // do something with the product types or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 65, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The product types to be updated, each having the attributes that should be updated in the product type." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 322, - "name": "UpdateProductTypeDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 66, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 308, - "name": "ProductTypeDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The length of the product." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 502, + "name": "UpdateProductDTO.length" + } }, { - "id": 67, - "name": "deleteTypes", + "id": 478, + "name": "weight", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 68, - "name": "deleteTypes", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to delete a product type." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "Resolves when the product types are successfully deleted." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function deleteProductTypes (ids: string[]) {\n const productModule = await initializeProductModule()\n\n await productModule.deleteTypes(ids)\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 69, - "name": "productTypeIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IDs of the product types to be deleted." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 70, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The weight of the product." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 503, + "name": "UpdateProductDTO.weight" + } }, { - "id": 71, - "name": "retrieveOption", + "id": 479, + "name": "origin_country", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 72, - "name": "retrieveOption", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a product option by its ID." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The retrieved product option." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "A simple example that retrieves a product option by its ID:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductOption (id: string) {\n const productModule = await initializeProductModule()\n\n const productOption = await productModule.retrieveOption(id)\n\n // do something with the product option or return it\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductOption (id: string) {\n const productModule = await initializeProductModule()\n\n const productOption = await productModule.retrieveOption(id, {\n relations: [\"product\"]\n })\n\n // do something with the product option or return it\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 73, - "name": "optionId", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the product option to retrieve." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 74, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the product option is retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a product option." - } - ] - }, - "type": { - "type": "reference", - "target": 225, - "typeArguments": [ - { - "type": "reference", - "target": 326, - "name": "ProductOptionDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 75, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 326, - "name": "ProductOptionDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The origin country of the product." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 504, + "name": "UpdateProductDTO.origin_country" + } }, { - "id": 76, - "name": "listOptions", + "id": 480, + "name": "hs_code", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 77, - "name": "listOptions", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a paginated list of product options based on optional filters and configuration." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of product options." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To retrieve a list of product options using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductOptions (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const productOptions = await productModule.listOptions({\n id: ids\n })\n\n // do something with the product options or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the product types:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductOptions (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const productOptions = await productModule.listOptions({\n id: ids\n }, {\n relations: [\"product\"]\n })\n\n // do something with the product options or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductOptions (ids: string[], skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const productOptions = await productModule.listOptions({\n id: ids\n }, {\n relations: [\"product\"],\n skip,\n take\n })\n\n // do something with the product options or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductOptions (ids: string[], title: string, skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const productOptions = await productModule.listOptions({\n $and: [\n {\n id: ids\n },\n {\n title\n }\n ]\n }, {\n relations: [\"product\"],\n skip,\n take\n })\n\n // do something with the product options or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 78, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filters applied on the retrieved product options." - } - ] - }, - "type": { - "type": "reference", - "target": 333, - "name": "FilterableProductOptionProps", - "package": "@medusajs/types" - } - }, - { - "id": 79, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the product options are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a product option." - } - ] - }, - "type": { - "type": "reference", - "target": 225, - "typeArguments": [ - { - "type": "reference", - "target": 326, - "name": "ProductOptionDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 80, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 326, - "name": "ProductOptionDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The HS Code of the product." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 505, + "name": "UpdateProductDTO.hs_code" + } }, { - "id": 81, - "name": "listAndCountOptions", + "id": 481, + "name": "material", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 82, - "name": "listAndCountOptions", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a paginated list of product options along with the total count of available product options satisfying the provided filters." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of product options along with the total count." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To retrieve a list of product options using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductOptions (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const [productOptions, count] = await productModule.listAndCountOptions({\n id: ids\n })\n\n // do something with the product options or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the product types:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductOptions (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const [productOptions, count] = await productModule.listAndCountOptions({\n id: ids\n }, {\n relations: [\"product\"]\n })\n\n // do something with the product options or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductOptions (ids: string[], skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const [productOptions, count] = await productModule.listAndCountOptions({\n id: ids\n }, {\n relations: [\"product\"],\n skip,\n take\n })\n\n // do something with the product options or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductOptions (ids: string[], title: string, skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const [productOptions, count] = await productModule.listAndCountOptions({\n $and: [\n {\n id: ids\n },\n {\n title\n }\n ]\n }, {\n relations: [\"product\"],\n skip,\n take\n })\n\n // do something with the product options or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 83, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filters applied on the retrieved product options." - } - ] - }, - "type": { - "type": "reference", - "target": 333, - "name": "FilterableProductOptionProps", - "package": "@medusajs/types" - } - }, - { - "id": 84, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the product options are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a product option." - } - ] - }, - "type": { - "type": "reference", - "target": 225, - "typeArguments": [ - { - "type": "reference", - "target": 326, - "name": "ProductOptionDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 85, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 326, - "name": "ProductOptionDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The material of the product." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 506, + "name": "UpdateProductDTO.material" + } }, { - "id": 86, - "name": "createOptions", + "id": 482, + "name": "mid_code", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 87, - "name": "createOptions", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to create product options." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of created product options." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function createProductOption (title: string, productId: string) {\n const productModule = await initializeProductModule()\n\n const productOptions = await productModule.createOptions([\n {\n title,\n product_id: productId\n }\n ])\n\n // do something with the product options or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 88, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The product options to be created." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 339, - "name": "CreateProductOptionDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 89, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 326, - "name": "ProductOptionDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The MID Code of the product." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 507, + "name": "UpdateProductDTO.mid_code" + } }, { - "id": 90, - "name": "updateOptions", + "id": 483, + "name": "metadata", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 91, - "name": "updateOptions", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to update existing product options." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of updated product options." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function updateProductOption (id: string, title: string) {\n const productModule = await initializeProductModule()\n\n const productOptions = await productModule.updateOptions([\n {\n id,\n title\n }\n ])\n\n // do something with the product options or return them\n}\n```" - } - ] - } - ] + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" }, - "parameters": [ - { - "id": 92, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The product options to be updated, each holding the attributes that should be updated in the product option." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 342, - "name": "UpdateProductOptionDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 93, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 326, - "name": "ProductOptionDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + { + "type": "intrinsic", + "name": "unknown" } - } + ], + "name": "Record", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 508, + "name": "UpdateProductDTO.metadata" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 459, + 460, + 461, + 462, + 463, + 464, + 465, + 466, + 467, + 468, + 469, + 470, + 471, + 472, + 473, + 474, + 475, + 476, + 477, + 478, + 479, + 480, + 481, + 482, + 483 ] - }, + } + ], + "extendedTypes": [ { - "id": 94, - "name": "deleteOptions", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 95, - "name": "deleteOptions", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to delete a product option." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "Resolves when the product options are successfully deleted." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function deleteProductOptions (ids: string[]) {\n const productModule = await initializeProductModule()\n\n await productModule.deleteOptions(ids)\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 96, - "name": "productOptionIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IDs of the product options to delete." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 97, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + "type": "reference", + "target": 484, + "name": "UpdateProductDTO", + "package": "@medusajs/types" + } + ] + }, + { + "id": 484, + "name": "UpdateProductDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data to update in a product." + } + ] + }, + "children": [ + { + "id": 485, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the product." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 98, - "name": "retrieveVariant", + "id": 486, + "name": "subtitle", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 99, - "name": "retrieveVariant", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a product variant by its ID." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The retrieved product variant." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "A simple example that retrieves a product variant by its ID:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductVariant (id: string) {\n const productModule = await initializeProductModule()\n\n const variant = await productModule.retrieveVariant(id)\n\n // do something with the product variant or return it\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductVariant (id: string) {\n const productModule = await initializeProductModule()\n\n const variant = await productModule.retrieveVariant(id, {\n relations: [\"options\"]\n })\n\n // do something with the product variant or return it\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 100, - "name": "productVariantId", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the product variant to retrieve." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 101, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the product variant is retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a product variant." - } - ] - }, - "type": { - "type": "reference", - "target": 225, - "typeArguments": [ - { - "type": "reference", - "target": 346, - "name": "ProductVariantDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 102, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 346, - "name": "ProductVariantDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subttle of the product." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 103, - "name": "listVariants", + "id": 487, + "name": "description", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 104, - "name": "listVariants", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a paginated list of product variants based on optional filters and configuration." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of product variants." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To retrieve a list of product variants using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductVariants (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const variants = await productModule.listVariants({\n id: ids\n })\n\n // do something with the product variants or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the product variants:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductVariants (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const variants = await productModule.listVariants({\n id: ids\n }, {\n relations: [\"options\"]\n })\n\n // do something with the product variants or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductVariants (ids: string[], skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const variants = await productModule.listVariants({\n id: ids\n }, {\n relations: [\"options\"],\n skip,\n take\n })\n\n // do something with the product variants or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductVariants (ids: string[], sku: string, skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const variants = await productModule.listVariants({\n $and: [\n {\n id: ids\n },\n {\n sku\n }\n ]\n }, {\n relations: [\"options\"],\n skip,\n take\n })\n\n // do something with the product variants or return them\n}\n```" - } - ] - } - ] + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the product." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 488, + "name": "is_giftcard", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the product is a gift card." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 489, + "name": "discountable", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the product can be discounted." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 490, + "name": "thumbnail", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The URL of the product's thumbnail." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 491, + "name": "handle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The handle of the product. The handle can be used to create slug URL paths.\nIf not supplied, the value of the " }, - "parameters": [ - { - "id": 105, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filters applied on the retrieved product variants." - } - ] - }, - "type": { - "type": "reference", - "target": 372, - "name": "FilterableProductVariantProps", - "package": "@medusajs/types" - } - }, - { - "id": 106, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the product variants are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a product variant." - } - ] - }, - "type": { - "type": "reference", - "target": 225, - "typeArguments": [ - { - "type": "reference", - "target": 346, - "name": "ProductVariantDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 107, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 346, - "name": "ProductVariantDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + { + "kind": "code", + "text": "`handle`" + }, + { + "kind": "text", + "text": " attribute of the product is set to the slug version of the " + }, + { + "kind": "code", + "text": "`title`" + }, + { + "kind": "text", + "text": " attribute." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } }, { - "id": 108, - "name": "updateVariants", + "id": 492, + "name": "status", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 109, - "name": "updateVariants", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to update a product's variants." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The updated product variants's details." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\nimport {\n UpdateProductVariantDTO\n} from \"@medusajs/product/dist/types/services/product-variant\"\n\nasync function updateProductVariants (items: UpdateProductVariantDTO[]) {\n const productModule = await initializeProductModule()\n\n const productVariants = await productModule.updateVariants(items)\n\n // do something with the product variants or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 110, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The product variants to update." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 381, - "name": "UpdateProductVariantDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 111, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 346, - "name": "ProductVariantDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The status of the product." } - } - ] + ] + }, + "type": { + "type": "reference", + "target": 783, + "name": "ProductStatus", + "package": "@medusajs/types" + } }, { - "id": 112, - "name": "createVariants", + "id": 493, + "name": "images", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 113, - "name": "createVariants", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to create variants for a product." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The created product variants' details." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function createProductVariants (items: {\n product_id: string,\n title: string\n}[]) {\n const productModule = await initializeProductModule()\n\n const productVariants = await productModule.createVariants(items)\n\n // do something with the product variants or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 114, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The product variants to create." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 401, - "name": "CreateProductVariantDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 115, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 346, - "name": "ProductVariantDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated images to create or update." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 835, + "name": "UpsertProductImageDTO", + "package": "@medusajs/types" } - ] + } }, { - "id": 116, - "name": "deleteVariants", + "id": 494, + "name": "type_id", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 117, - "name": "deleteVariants", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to delete ProductVariant. This method will completely remove the ProductVariant and they can no longer be accessed or retrieved." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "Resolves when the ProductVariant are successfully deleted." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function deleteProducts (ids: string[]) {\n const productModule = await initializeProductModule()\n\n await productModule.deleteVariants(ids)\n}\n```" - } - ] - } - ] + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product type to associate with the product." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "parameters": [ - { - "id": 118, - "name": "productVariantIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IDs of the ProductVariant to be deleted." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - }, - { - "id": 119, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" + { + "type": "intrinsic", + "name": "string" } - } - ] + ] + } }, { - "id": 120, - "name": "listAndCountVariants", + "id": 495, + "name": "collection_id", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 121, - "name": "listAndCountVariants", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a paginated list of product variants along with the total count of available product variants satisfying the provided filters." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of product variants along with their total count." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To retrieve a list of product variants using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductVariants (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const [variants, count] = await productModule.listAndCountVariants({\n id: ids\n })\n\n // do something with the product variants or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the product variants:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductVariants (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const [variants, count] = await productModule.listAndCountVariants({\n id: ids\n }, {\n relations: [\"options\"]\n })\n\n // do something with the product variants or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductVariants (ids: string[], skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const [variants, count] = await productModule.listAndCountVariants({\n id: ids\n }, {\n relations: [\"options\"],\n skip,\n take\n })\n\n // do something with the product variants or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveProductVariants (ids: string[], sku: string, skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const [variants, count] = await productModule.listAndCountVariants({\n $and: [\n {\n id: ids\n },\n {\n sku\n }\n ]\n }, {\n relations: [\"options\"],\n skip,\n take\n })\n\n // do something with the product variants or return them\n}\n```" - } - ] - } - ] + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product collection to associate with the product." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "parameters": [ - { - "id": 122, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filters applied on the retrieved product variants." - } - ] - }, - "type": { - "type": "reference", - "target": 372, - "name": "FilterableProductVariantProps", - "package": "@medusajs/types" - } - }, - { - "id": 123, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the product variants are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a product variant." - } - ] - }, - "type": { - "type": "reference", - "target": 225, - "typeArguments": [ - { - "type": "reference", - "target": 346, - "name": "ProductVariantDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 124, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 346, - "name": "ProductVariantDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - ], - "name": "Promise", - "package": "typescript" + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 496, + "name": "tags", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated tags to create or update." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 839, + "name": "UpsertProductTagDTO", + "package": "@medusajs/types" } - ] + } }, { - "id": 125, - "name": "retrieveCollection", + "id": 497, + "name": "category_ids", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 126, - "name": "retrieveCollection", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a product collection by its ID." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The retrieved product collection." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "A simple example that retrieves a product collection by its ID:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCollection (id: string) {\n const productModule = await initializeProductModule()\n\n const collection = await productModule.retrieveCollection(id)\n\n // do something with the product collection or return it\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCollection (id: string) {\n const productModule = await initializeProductModule()\n\n const collection = await productModule.retrieveCollection(id, {\n relations: [\"products\"]\n })\n\n // do something with the product collection or return it\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 127, - "name": "productCollectionId", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the product collection to retrieve." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 128, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the product collection is retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a product collection." - } - ] - }, - "type": { - "type": "reference", - "target": 225, - "typeArguments": [ - { - "type": "reference", - "target": 421, - "name": "ProductCollectionDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 129, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 421, - "name": "ProductCollectionDTO", - "package": "@medusajs/types" - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product categories to associate with the product." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" } - ] + } }, { - "id": 130, - "name": "listCollections", + "id": 498, + "name": "options", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 131, - "name": "listCollections", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a paginated list of product collections based on optional filters and configuration." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of product collections." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To retrieve a list of product collections using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCollections (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const collections = await productModule.listCollections({\n id: ids\n })\n\n // do something with the product collections or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the product collections:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCollections (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const collections = await productModule.listCollections({\n id: ids\n }, {\n relations: [\"products\"]\n })\n\n // do something with the product collections or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCollections (ids: string[], skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const collections = await productModule.listCollections({\n id: ids\n }, {\n relations: [\"products\"],\n skip,\n take\n })\n\n // do something with the product collections or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCollections (ids: string[], title: string, skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const collections = await productModule.listCollections({\n $and: [\n {\n id: ids\n },\n {\n title\n }\n ]\n }, {\n relations: [\"products\"],\n skip,\n take\n })\n\n // do something with the product collections or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 132, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filters applied on the retrieved product collections." - } - ] - }, - "type": { - "type": "reference", - "target": 428, - "name": "FilterableProductCollectionProps", - "package": "@medusajs/types" - } - }, - { - "id": 133, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the product collections are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a product collection." - } - ] - }, - "type": { - "type": "reference", - "target": 225, - "typeArguments": [ - { - "type": "reference", - "target": 421, - "name": "ProductCollectionDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 134, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 421, - "name": "ProductCollectionDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated options to create or update." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 574, + "name": "UpsertProductOptionDTO", + "package": "@medusajs/types" } - ] + } }, { - "id": 135, - "name": "listAndCountCollections", + "id": 499, + "name": "variants", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 136, - "name": "listAndCountCollections", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to retrieve a paginated list of product collections along with the total count of available product collections satisfying the provided filters." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of product collections along with the total count." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To retrieve a list of product collections using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCollections (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const [collections, count] = await productModule.listAndCountCollections({\n id: ids\n })\n\n // do something with the product collections or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the product collections:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCollections (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const [collections, count] = await productModule.listAndCountCollections({\n id: ids\n }, {\n relations: [\"products\"]\n })\n\n // do something with the product collections or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCollections (ids: string[], skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const [collections, count] = await productModule.listAndCountCollections({\n id: ids\n }, {\n relations: [\"products\"],\n skip,\n take\n })\n\n // do something with the product collections or return them\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCollections (ids: string[], title: string, skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const [collections, count] = await productModule.listAndCountCollections({\n $and: [\n {\n id: ids\n },\n {\n title\n }\n ]\n }, {\n relations: [\"products\"],\n skip,\n take\n })\n\n // do something with the product collections or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 137, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filters applied on the retrieved product collections." - } - ] - }, - "type": { - "type": "reference", - "target": 428, - "name": "FilterableProductCollectionProps", - "package": "@medusajs/types" - } - }, - { - "id": 138, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configurations determining how the product collections are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a product collection." - } - ] - }, - "type": { - "type": "reference", - "target": 225, - "typeArguments": [ - { - "type": "reference", - "target": 421, - "name": "ProductCollectionDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" - } - }, - { - "id": 139, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 421, - "name": "ProductCollectionDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product variants to be created and associated with the product.\nYou can also update existing product variants associated with the product." } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 637, + "name": "UpsertProductVariantDTO", + "package": "@medusajs/types" } - ] + } }, { - "id": 140, - "name": "createCollections", + "id": 500, + "name": "width", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 141, - "name": "createCollections", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to create product collections." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The list of created product collections." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function createCollection (title: string) {\n const productModule = await initializeProductModule()\n\n const collections = await productModule.createCollections([\n {\n title\n }\n ])\n\n // do something with the product collections or return them\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 142, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The product collections to be created." - } - ] - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 434, - "name": "CreateProductCollectionDTO", - "package": "@medusajs/types" - } - } - }, - { - "id": 143, - "name": "sharedContext", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 421, - "name": "ProductCollectionDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The width of the product." } - } - ] + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } }, { - "id": 144, - "name": "updateCollections", + "id": 501, + "name": "height", "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 145, - "name": "updateCollections", - "variant": "signature", - "kind": 4096, + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The height of the product." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 502, + "name": "length", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The length of the product." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 503, + "name": "weight", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The weight of the product." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 504, + "name": "origin_country", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The origin country of the product." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 505, + "name": "hs_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The HS Code of the product." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 506, + "name": "material", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The material of the product." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 507, + "name": "mid_code", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The MID Code of the product." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 508, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 485, + 486, + 487, + 488, + 489, + 490, + 491, + 492, + 493, + 494, + 495, + 496, + 497, + 498, + 499, + 500, + 501, + 502, + 503, + 504, + 505, + 506, + 507, + 508 + ] + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 458, + "name": "UpsertProductDTO" + } + ] + }, + { + "id": 1, + "name": "IProductModuleService", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The main service interface for the Product Module." + } + ] + }, + "children": [ + { + "id": 2, + "name": "retrieve", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 3, + "name": "retrieve", + "variant": "signature", + "kind": 4096, "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "This method is used to update existing product collections." + "text": "This method is used to retrieve a product by its ID" } ], "blockTags": [ @@ -17795,16 +15515,28 @@ "content": [ { "kind": "text", - "text": "The list of updated product collections." + "text": "The retrieved product." } ] }, { "tag": "@example", "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a product by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst product = await productModuleService.retrieve(\"prod_123\")\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function updateCollection (id: string, title: string) {\n const productModule = await initializeProductModule()\n\n const collections = await productModule.updateCollections([\n {\n id,\n title\n }\n ])\n\n // do something with the product collections or return them\n}\n```" + "text": "```ts\nconst product = await productModuleService.retrieve(\"prod_123\", {\n relations: [\"categories\"],\n})\n```" } ] } @@ -17812,8 +15544,8 @@ }, "parameters": [ { - "id": 146, - "name": "data", + "id": 4, + "name": "productId", "variant": "param", "kind": 32768, "flags": {}, @@ -17821,23 +15553,18 @@ "summary": [ { "kind": "text", - "text": "The product collections to be updated, each holding the attributes that should be updated in the product collection." + "text": "The ID of the product to retrieve." } ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 439, - "name": "UpdateProductCollectionDTO", - "package": "@medusajs/types" - } + "type": "intrinsic", + "name": "string" } }, { - "id": 147, - "name": "sharedContext", + "id": 5, + "name": "config", "variant": "param", "kind": 32768, "flags": { @@ -17847,107 +15574,43 @@ "summary": [ { "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "type": { - "type": "reference", - "target": 266, - "name": "Context", - "package": "@medusajs/types" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 421, - "name": "ProductCollectionDTO", - "package": "@medusajs/types" - } - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 148, - "name": "deleteCollections", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 149, - "name": "deleteCollections", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This method is used to delete collections by their ID." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ + "text": "The configurations determining how the product is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, { "kind": "text", - "text": "Resolves when the product options are successfully deleted." - } - ] - }, - { - "tag": "@example", - "content": [ + "text": " or " + }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function deleteCollection (ids: string[]) {\n const productModule = await initializeProductModule()\n\n await productModule.deleteCollections(ids)\n}\n```" - } - ] - } - ] - }, - "parameters": [ - { - "id": 150, - "name": "productCollectionIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ + "text": "`relations`" + }, { "kind": "text", - "text": "The IDs of the product collections to be updated." + "text": ", accept the\nattributes or relations associated with a product." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "reference", + "target": 354, + "typeArguments": [ + { + "type": "reference", + "target": 366, + "name": "ProductDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" } }, { - "id": 151, + "id": 6, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -17964,7 +15627,7 @@ }, "type": { "type": "reference", - "target": 266, + "target": 398, "name": "Context", "package": "@medusajs/types" } @@ -17978,8 +15641,10 @@ }, "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "type": "reference", + "target": 366, + "name": "ProductDTO", + "package": "@medusajs/types" } ], "name": "Promise", @@ -17989,15 +15654,15 @@ ] }, { - "id": 152, - "name": "retrieveCategory", + "id": 7, + "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 153, - "name": "retrieveCategory", + "id": 8, + "name": "list", "variant": "signature", "kind": 4096, "flags": {}, @@ -18005,7 +15670,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to retrieve a product category by its ID." + "text": "This method is used to retrieve a paginated list of price sets based on optional filters and configuration." } ], "blockTags": [ @@ -18014,7 +15679,7 @@ "content": [ { "kind": "text", - "text": "The retrieved product category." + "text": "The list of products." } ] }, @@ -18023,19 +15688,59 @@ "content": [ { "kind": "text", - "text": "A simple example that retrieves a product category by its ID:\n\n" + "text": "To retrieve a list of products using their IDs:\n\n" }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCategory (id: string) {\n const productModule = await initializeProductModule()\n\n const category = await productModule.retrieveCategory(id)\n\n // do something with the product category or return it\n}\n```" + "text": "```ts\nconst products = await productModuleService.list({\n id: [\"prod_123\", \"prod_321\"],\n})\n```" }, { "kind": "text", - "text": "\n\nTo specify relations that should be retrieved:\n\n" + "text": "\n\nTo specify relations that should be retrieved within the products:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst products = await productModuleService.list(\n {\n id: [\"prod_123\", \"prod_321\"],\n },\n {\n relations: [\"categories\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCategory (id: string) {\n const productModule = await initializeProductModule()\n\n const category = await productModule.retrieveCategory(id, {\n relations: [\"parent_category\"]\n })\n\n // do something with the product category or return it\n}\n```" + "text": "```ts\nconst products = await productModuleService.list(\n {\n id: [\"prod_123\", \"prod_321\"],\n },\n {\n relations: [\"categories\"],\n take: 20,\n skip: 2,\n }\n)\n```" } ] } @@ -18043,26 +15748,30 @@ }, "parameters": [ { - "id": 154, - "name": "productCategoryId", + "id": 9, + "name": "filters", "variant": "param", "kind": 32768, - "flags": {}, + "flags": { + "isOptional": true + }, "comment": { "summary": [ { "kind": "text", - "text": "The ID of the product category to retrieve." + "text": "The filters to apply on the retrieved products." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 410, + "name": "FilterableProductProps", + "package": "@medusajs/types" } }, { - "id": 155, + "id": 10, "name": "config", "variant": "param", "kind": 32768, @@ -18073,7 +15782,7 @@ "summary": [ { "kind": "text", - "text": "The configurations determining how the product category is retrieved. Its properties, such as " + "text": "The configurations determining how the products are retrieved. Its properties, such as " }, { "kind": "code", @@ -18089,18 +15798,18 @@ }, { "kind": "text", - "text": ", accept the\nattributes or relations associated with a product category." + "text": ", accept the\nattributes or relations associated with a product." } ] }, "type": { "type": "reference", - "target": 225, + "target": 354, "typeArguments": [ { "type": "reference", - "target": 446, - "name": "ProductCategoryDTO", + "target": 366, + "name": "ProductDTO", "package": "@medusajs/types" } ], @@ -18109,7 +15818,7 @@ } }, { - "id": 156, + "id": 11, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -18126,7 +15835,7 @@ }, "type": { "type": "reference", - "target": 266, + "target": 398, "name": "Context", "package": "@medusajs/types" } @@ -18140,10 +15849,13 @@ }, "typeArguments": [ { - "type": "reference", - "target": 446, - "name": "ProductCategoryDTO", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 366, + "name": "ProductDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", @@ -18153,15 +15865,15 @@ ] }, { - "id": 157, - "name": "listCategories", + "id": 12, + "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 158, - "name": "listCategories", + "id": 13, + "name": "listAndCount", "variant": "signature", "kind": 4096, "flags": {}, @@ -18169,7 +15881,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to retrieve a paginated list of product categories based on optional filters and configuration." + "text": "This method is used to retrieve a paginated list of products along with the total count of available products satisfying the provided filters." } ], "blockTags": [ @@ -18178,7 +15890,7 @@ "content": [ { "kind": "text", - "text": "The list of product categories." + "text": "The list of products along with the total count." } ] }, @@ -18187,19 +15899,19 @@ "content": [ { "kind": "text", - "text": "To retrieve a list of product categories using their IDs:\n\n" + "text": "To retrieve a list of products using their IDs:\n\n" }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCategories (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const categories = await productModule.listCategories({\n id: ids\n })\n\n // do something with the product category or return it\n}\n```" + "text": "```ts\nconst [products, count] =\n await productModuleService.listAndCount({\n id: [\"prod_123\", \"prod_321\"],\n })\n```" }, { "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the product categories:\n\n" + "text": "\n\nTo specify relations that should be retrieved within the products:\n\n" }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCategories (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const categories = await productModule.listCategories({\n id: ids\n }, {\n relations: [\"parent_category\"]\n })\n\n // do something with the product category or return it\n}\n```" + "text": "```ts\nconst [products, count] =\n await productModuleService.listAndCount(\n {\n id: [\"prod_123\", \"prod_321\"],\n },\n {\n relations: [\"categories\"],\n }\n )\n```" }, { "kind": "text", @@ -18239,39 +15951,7 @@ }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCategories (ids: string[], skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const categories = await productModule.listCategories({\n id: ids\n }, {\n relations: [\"parent_category\"],\n skip,\n take\n })\n\n // do something with the product category or return it\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCategories (ids: string[], name: string, skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const categories = await productModule.listCategories({\n $or: [\n {\n id: ids\n },\n {\n name\n }\n ]\n }, {\n relations: [\"parent_category\"],\n skip,\n take\n })\n\n // do something with the product category or return it\n}\n```" + "text": "```ts\nconst [products, count] =\n await productModuleService.listAndCount(\n {\n id: [\"prod_123\", \"prod_321\"],\n },\n {\n relations: [\"categories\"],\n take: 20,\n skip: 2,\n }\n )\n```" } ] } @@ -18279,7 +15959,7 @@ }, "parameters": [ { - "id": 159, + "id": 14, "name": "filters", "variant": "param", "kind": 32768, @@ -18290,19 +15970,19 @@ "summary": [ { "kind": "text", - "text": "The filters to be applied on the retrieved product categories." + "text": "The filters to apply on the retrieved products." } ] }, "type": { "type": "reference", - "target": 458, - "name": "FilterableProductCategoryProps", + "target": 410, + "name": "FilterableProductProps", "package": "@medusajs/types" } }, { - "id": 160, + "id": 15, "name": "config", "variant": "param", "kind": 32768, @@ -18313,7 +15993,7 @@ "summary": [ { "kind": "text", - "text": "The configurations determining how the product categories are retrieved. Its properties, such as " + "text": "The configurations determining how the products are retrieved. Its properties, such as " }, { "kind": "code", @@ -18329,18 +16009,18 @@ }, { "kind": "text", - "text": ", accept the\nattributes or relations associated with a product category." + "text": ", accept the\nattributes or relations associated with a product." } ] }, "type": { "type": "reference", - "target": 225, + "target": 354, "typeArguments": [ { "type": "reference", - "target": 446, - "name": "ProductCategoryDTO", + "target": 366, + "name": "ProductDTO", "package": "@medusajs/types" } ], @@ -18349,7 +16029,7 @@ } }, { - "id": 161, + "id": 16, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -18366,7 +16046,7 @@ }, "type": { "type": "reference", - "target": 266, + "target": 398, "name": "Context", "package": "@medusajs/types" } @@ -18380,13 +16060,22 @@ }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 446, - "name": "ProductCategoryDTO", - "package": "@medusajs/types" - } + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 366, + "name": "ProductDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] } ], "name": "Promise", @@ -18396,15 +16085,15 @@ ] }, { - "id": 162, - "name": "listAndCountCategories", + "id": 17, + "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 163, - "name": "listAndCountCategories", + "id": 18, + "name": "create", "variant": "signature", "kind": 4096, "flags": {}, @@ -18412,7 +16101,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to retrieve a paginated list of product categories along with the total count of available product categories satisfying the provided filters." + "text": "This method is used to create a list of products." } ], "blockTags": [ @@ -18421,100 +16110,16 @@ "content": [ { "kind": "text", - "text": "The list of product categories along with their total count." + "text": "The list of created products." } ] }, { "tag": "@example", "content": [ - { - "kind": "text", - "text": "To retrieve a list of product categories using their IDs:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCategories (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const [categories, count] = await productModule.listAndCountCategories({\n id: ids\n })\n\n // do something with the product category or return it\n}\n```" - }, - { - "kind": "text", - "text": "\n\nTo specify relations that should be retrieved within the product categories:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCategories (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const [categories, count] = await productModule.listAndCountCategories({\n id: ids\n }, {\n relations: [\"parent_category\"]\n })\n\n // do something with the product category or return it\n}\n```" - }, - { - "kind": "text", - "text": "\n\nBy default, only the first " - }, - { - "kind": "code", - "text": "`15`" - }, - { - "kind": "text", - "text": " records are retrieved. You can control pagination by specifying the " - }, - { - "kind": "code", - "text": "`skip`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`take`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`config`" - }, - { - "kind": "text", - "text": " parameter:\n\n" - }, - { - "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCategories (ids: string[], skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const [categories, count] = await productModule.listAndCountCategories({\n id: ids\n }, {\n relations: [\"parent_category\"],\n skip,\n take\n })\n\n // do something with the product category or return it\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also use the " - }, - { - "kind": "code", - "text": "`$and`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`$or`" - }, - { - "kind": "text", - "text": " properties of the " - }, - { - "kind": "code", - "text": "`filter`" - }, - { - "kind": "text", - "text": " parameter to use and/or conditions in your filters. For example:\n\n" - }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function retrieveCategories (ids: string[], name: string, skip: number, take: number) {\n const productModule = await initializeProductModule()\n\n const [categories, count] = await productModule.listAndCountCategories({\n $or: [\n {\n id: ids\n },\n {\n name\n }\n ]\n }, {\n relations: [\"parent_category\"],\n skip,\n take\n })\n\n // do something with the product category or return it\n}\n```" + "text": "```ts\nconst products = await productModuleService.create([\n {\n title: \"Shirt\",\n },\n {\n title: \"Pants\",\n handle: \"pants\",\n },\n])\n```" } ] } @@ -18522,77 +16127,31 @@ }, "parameters": [ { - "id": 164, - "name": "filters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The filters to apply on the retrieved product categories." - } - ] - }, - "type": { - "type": "reference", - "target": 458, - "name": "FilterableProductCategoryProps", - "package": "@medusajs/types" - } - }, - { - "id": 165, - "name": "config", + "id": 19, + "name": "data", "variant": "param", "kind": 32768, - "flags": { - "isOptional": true - }, + "flags": {}, "comment": { "summary": [ { "kind": "text", - "text": "The configurations determining how the product categories are retrieved. Its properties, such as " - }, - { - "kind": "code", - "text": "`select`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`relations`" - }, - { - "kind": "text", - "text": ", accept the\nattributes or relations associated with a product category." + "text": "The products to be created." } ] }, "type": { - "type": "reference", - "target": 225, - "typeArguments": [ - { - "type": "reference", - "target": 446, - "name": "ProductCategoryDTO", - "package": "@medusajs/types" - } - ], - "name": "FindConfig", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 433, + "name": "CreateProductDTO", + "package": "@medusajs/types" + } } }, { - "id": 166, + "id": 20, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -18609,7 +16168,7 @@ }, "type": { "type": "reference", - "target": 266, + "target": 398, "name": "Context", "package": "@medusajs/types" } @@ -18623,40 +16182,22 @@ }, "typeArguments": [ { - "type": "tuple", - "elements": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 446, - "name": "ProductCategoryDTO", - "package": "@medusajs/types" - } - }, - { - "type": "intrinsic", - "name": "number" - } - ] + "type": "array", + "elementType": { + "type": "reference", + "target": 366, + "name": "ProductDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", "package": "typescript" } - } - ] - }, - { - "id": 167, - "name": "createCategory", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 168, - "name": "createCategory", + "id": 21, + "name": "create", "variant": "signature", "kind": 4096, "flags": {}, @@ -18664,7 +16205,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to create a product category." + "text": "This method is used to create a product." } ], "blockTags": [ @@ -18673,7 +16214,7 @@ "content": [ { "kind": "text", - "text": "The created product category." + "text": "The created product." } ] }, @@ -18682,7 +16223,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function createCategory (name: string, parent_category_id: string | null) {\n const productModule = await initializeProductModule()\n\n const category = await productModule.createCategory({\n name,\n parent_category_id\n })\n\n // do something with the product category or return it\n}\n```" + "text": "```ts\nconst product = await productModuleService.create({\n title: \"Shirt\",\n})\n```" } ] } @@ -18690,7 +16231,7 @@ }, "parameters": [ { - "id": 169, + "id": 22, "name": "data", "variant": "param", "kind": 32768, @@ -18699,19 +16240,19 @@ "summary": [ { "kind": "text", - "text": "The product category to be created." + "text": "The product to be created." } ] }, "type": { "type": "reference", - "target": 468, - "name": "CreateProductCategoryDTO", + "target": 433, + "name": "CreateProductDTO", "package": "@medusajs/types" } }, { - "id": 170, + "id": 23, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -18728,7 +16269,7 @@ }, "type": { "type": "reference", - "target": 266, + "target": 398, "name": "Context", "package": "@medusajs/types" } @@ -18743,8 +16284,8 @@ "typeArguments": [ { "type": "reference", - "target": 446, - "name": "ProductCategoryDTO", + "target": 366, + "name": "ProductDTO", "package": "@medusajs/types" } ], @@ -18755,15 +16296,15 @@ ] }, { - "id": 171, - "name": "updateCategory", + "id": 24, + "name": "upsert", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 172, - "name": "updateCategory", + "id": 25, + "name": "upsert", "variant": "signature", "kind": 4096, "flags": {}, @@ -18771,7 +16312,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to update a product category by its ID." + "text": "This method updates existing products, or creates new ones if they don't exist." } ], "blockTags": [ @@ -18780,7 +16321,7 @@ "content": [ { "kind": "text", - "text": "The updated product category." + "text": "The updated and created products." } ] }, @@ -18789,7 +16330,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function updateCategory (id: string, name: string) {\n const productModule = await initializeProductModule()\n\n const category = await productModule.updateCategory(id, {\n name,\n })\n\n // do something with the product category or return it\n}\n```" + "text": "```ts\nconst products = await productModuleService.upsert([\n {\n id: \"prod_123\",\n handle: \"pant\",\n },\n {\n title: \"Shirt\",\n },\n])\n```" } ] } @@ -18797,26 +16338,7 @@ }, "parameters": [ { - "id": 173, - "name": "categoryId", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the product category to update." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 174, + "id": 26, "name": "data", "variant": "param", "kind": 32768, @@ -18825,19 +16347,22 @@ "summary": [ { "kind": "text", - "text": "The attributes to update in th product category." + "text": "The attributes to update or create for each product." } ] }, "type": { - "type": "reference", - "target": 476, - "name": "UpdateProductCategoryDTO", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 458, + "name": "UpsertProductDTO", + "package": "@medusajs/types" + } } }, { - "id": 175, + "id": 27, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -18854,7 +16379,7 @@ }, "type": { "type": "reference", - "target": 266, + "target": 398, "name": "Context", "package": "@medusajs/types" } @@ -18868,28 +16393,22 @@ }, "typeArguments": [ { - "type": "reference", - "target": 446, - "name": "ProductCategoryDTO", - "package": "@medusajs/types" + "type": "array", + "elementType": { + "type": "reference", + "target": 366, + "name": "ProductDTO", + "package": "@medusajs/types" + } } ], "name": "Promise", "package": "typescript" } - } - ] - }, - { - "id": 176, - "name": "deleteCategory", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 177, - "name": "deleteCategory", + "id": 28, + "name": "upsert", "variant": "signature", "kind": 4096, "flags": {}, @@ -18897,7 +16416,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to delete a product category by its ID." + "text": "This method updates the product if it exists, or creates a new ones if it doesn't." } ], "blockTags": [ @@ -18906,7 +16425,7 @@ "content": [ { "kind": "text", - "text": "Resolves when the product category is successfully deleted." + "text": "The updated or created product." } ] }, @@ -18915,7 +16434,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function deleteCategory (id: string) {\n const productModule = await initializeProductModule()\n\n await productModule.deleteCategory(id)\n}\n```" + "text": "```ts\nconst product = await productModuleService.upsert({\n title: \"Shirt\",\n})\n```" } ] } @@ -18923,8 +16442,8 @@ }, "parameters": [ { - "id": 178, - "name": "categoryId", + "id": 29, + "name": "data", "variant": "param", "kind": 32768, "flags": {}, @@ -18932,17 +16451,19 @@ "summary": [ { "kind": "text", - "text": "The ID of the product category to delete." + "text": "The attributes to update or create for the new product." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": 458, + "name": "UpsertProductDTO", + "package": "@medusajs/types" } }, { - "id": 179, + "id": 30, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -18959,7 +16480,7 @@ }, "type": { "type": "reference", - "target": 266, + "target": 398, "name": "Context", "package": "@medusajs/types" } @@ -18973,8 +16494,10 @@ }, "typeArguments": [ { - "type": "intrinsic", - "name": "void" + "type": "reference", + "target": 366, + "name": "ProductDTO", + "package": "@medusajs/types" } ], "name": "Promise", @@ -18984,15 +16507,15 @@ ] }, { - "id": 180, - "name": "create", + "id": 31, + "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 181, - "name": "create", + "id": 32, + "name": "update", "variant": "signature", "kind": 4096, "flags": {}, @@ -19000,7 +16523,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to create a product." + "text": "This method is used to update a product." } ], "blockTags": [ @@ -19009,7 +16532,7 @@ "content": [ { "kind": "text", - "text": "The list of created products." + "text": "The updated product." } ] }, @@ -19018,7 +16541,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function createProduct (title: string) {\n const productModule = await initializeProductModule()\n\n const products = await productModule.create([\n {\n title\n }\n ])\n\n // do something with the products or return them\n}\n```" + "text": "```ts\nconst product = await productModuleService.update(\n \"prod_123\",\n {\n handle: \"pant\",\n }\n)\n```" } ] } @@ -19026,7 +16549,26 @@ }, "parameters": [ { - "id": 182, + "id": 33, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the product to be updated." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 34, "name": "data", "variant": "param", "kind": 32768, @@ -19035,22 +16577,19 @@ "summary": [ { "kind": "text", - "text": "The products to be created." + "text": "The attributes of the product to be updated" } ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 484, - "name": "CreateProductDTO", - "package": "@medusajs/types" - } + "type": "reference", + "target": 484, + "name": "UpdateProductDTO", + "package": "@medusajs/types" } }, { - "id": 183, + "id": 35, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -19067,7 +16606,7 @@ }, "type": { "type": "reference", - "target": 266, + "target": 398, "name": "Context", "package": "@medusajs/types" } @@ -19081,30 +16620,18 @@ }, "typeArguments": [ { - "type": "array", - "elementType": { - "type": "reference", - "target": 236, - "name": "ProductDTO", - "package": "@medusajs/types" - } + "type": "reference", + "target": 366, + "name": "ProductDTO", + "package": "@medusajs/types" } ], "name": "Promise", "package": "typescript" } - } - ] - }, - { - "id": 184, - "name": "update", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ + }, { - "id": 185, + "id": 36, "name": "update", "variant": "signature", "kind": 4096, @@ -19113,7 +16640,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to update a product." + "text": "This method is used to update a list of products matching the specified filters." } ], "blockTags": [ @@ -19122,7 +16649,7 @@ "content": [ { "kind": "text", - "text": "The list of updated products." + "text": "The updated products." } ] }, @@ -19131,7 +16658,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function updateProduct (id: string, title: string) {\n const productModule = await initializeProductModule()\n\n const products = await productModule.update([\n {\n id,\n title\n }\n ])\n\n // do something with the products or return them\n}\n```" + "text": "```ts\nconst products = await productModuleService.update(\n {\n title: \"Pant\",\n },\n {\n handle: \"pant\",\n }\n)\n```" } ] } @@ -19139,7 +16666,28 @@ }, "parameters": [ { - "id": 186, + "id": 37, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters specifying which products to update." + } + ] + }, + "type": { + "type": "reference", + "target": 410, + "name": "FilterableProductProps", + "package": "@medusajs/types" + } + }, + { + "id": 38, "name": "data", "variant": "param", "kind": 32768, @@ -19148,22 +16696,19 @@ "summary": [ { "kind": "text", - "text": "The products to be updated, each holding the attributes that should be updated in the product." + "text": "The attributes to be updated on the selected products" } ] }, "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 515, - "name": "UpdateProductDTO", - "package": "@medusajs/types" - } + "type": "reference", + "target": 484, + "name": "UpdateProductDTO", + "package": "@medusajs/types" } }, { - "id": 187, + "id": 39, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -19180,7 +16725,7 @@ }, "type": { "type": "reference", - "target": 266, + "target": 398, "name": "Context", "package": "@medusajs/types" } @@ -19197,7 +16742,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 236, + "target": 366, "name": "ProductDTO", "package": "@medusajs/types" } @@ -19210,14 +16755,14 @@ ] }, { - "id": 188, + "id": 40, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 189, + "id": 41, "name": "delete", "variant": "signature", "kind": 4096, @@ -19232,7 +16777,7 @@ "kind": "inline-tag", "tag": "@link", "text": "softDelete", - "target": 192, + "target": 44, "tsLinkText": "" }, { @@ -19255,7 +16800,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function deleteProducts (ids: string[]) {\n const productModule = await initializeProductModule()\n\n await productModule.delete(ids)\n}\n```" + "text": "```ts\nawait productModuleService.delete([\"prod_123\", \"prod_321\"])\n```" } ] } @@ -19263,7 +16808,7 @@ }, "parameters": [ { - "id": 190, + "id": 42, "name": "productIds", "variant": "param", "kind": 32768, @@ -19285,7 +16830,7 @@ } }, { - "id": 191, + "id": 43, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -19302,7 +16847,7 @@ }, "type": { "type": "reference", - "target": 266, + "target": 398, "name": "Context", "package": "@medusajs/types" } @@ -19327,14 +16872,14 @@ ] }, { - "id": 192, + "id": 44, "name": "softDelete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 193, + "id": 45, "name": "softDelete", "variant": "signature", "kind": 4096, @@ -19349,7 +16894,7 @@ "kind": "inline-tag", "tag": "@link", "text": "delete", - "target": 188, + "target": 40, "tsLinkText": "" }, { @@ -19387,7 +16932,7 @@ "kind": "inline-tag", "tag": "@link", "text": "restore", - "target": 198, + "target": 50, "tsLinkText": "" }, { @@ -19426,7 +16971,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function deleteProducts (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const cascadedEntities = await productModule.softDelete(ids)\n\n // do something with the returned cascaded entity IDs or return them\n}\n```" + "text": "```ts\nawait productModuleService.softDelete([\n \"prod_123\",\n \"prod_321\",\n])\n```" } ] } @@ -19434,7 +16979,7 @@ }, "typeParameter": [ { - "id": 194, + "id": 46, "name": "TReturnableLinkableKeys", "variant": "typeParam", "kind": 131072, @@ -19451,7 +16996,7 @@ ], "parameters": [ { - "id": 195, + "id": 47, "name": "productIds", "variant": "param", "kind": 32768, @@ -19473,7 +17018,7 @@ } }, { - "id": 196, + "id": 48, "name": "config", "variant": "param", "kind": 32768, @@ -19506,11 +17051,11 @@ }, "type": { "type": "reference", - "target": 547, + "target": 509, "typeArguments": [ { "type": "reference", - "target": 194, + "target": 46, "name": "TReturnableLinkableKeys", "package": "@medusajs/types", "refersToTypeParameter": true @@ -19521,7 +17066,7 @@ } }, { - "id": 197, + "id": 49, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -19538,7 +17083,7 @@ }, "type": { "type": "reference", - "target": 266, + "target": 398, "name": "Context", "package": "@medusajs/types" } @@ -19590,14 +17135,14 @@ ] }, { - "id": 198, + "id": 50, "name": "restore", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 199, + "id": 51, "name": "restore", "variant": "signature", "kind": 4096, @@ -19612,7 +17157,7 @@ "kind": "inline-tag", "tag": "@link", "text": "softDelete", - "target": 192, + "target": 44, "tsLinkText": "" }, { @@ -19651,7 +17196,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function restoreProducts (ids: string[]) {\n const productModule = await initializeProductModule()\n\n const cascadedEntities = await productModule.restore(ids, {\n returnLinkableKeys: [\"variant_id\"]\n })\n\n // do something with the returned cascaded entity IDs or return them\n}\n```" + "text": "```ts\nawait productModuleService.restore([\"prod_123\", \"prod_321\"])\n```" } ] } @@ -19659,7 +17204,7 @@ }, "typeParameter": [ { - "id": 200, + "id": 52, "name": "TReturnableLinkableKeys", "variant": "typeParam", "kind": 131072, @@ -19676,7 +17221,7 @@ ], "parameters": [ { - "id": 201, + "id": 53, "name": "productIds", "variant": "param", "kind": 32768, @@ -19698,7 +17243,7 @@ } }, { - "id": 202, + "id": 54, "name": "config", "variant": "param", "kind": 32768, @@ -19731,11 +17276,11 @@ }, "type": { "type": "reference", - "target": 550, + "target": 512, "typeArguments": [ { "type": "reference", - "target": 200, + "target": 52, "name": "TReturnableLinkableKeys", "package": "@medusajs/types", "refersToTypeParameter": true @@ -19746,7 +17291,7 @@ } }, { - "id": 203, + "id": 55, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -19763,7 +17308,7 @@ }, "type": { "type": "reference", - "target": 266, + "target": 398, "name": "Context", "package": "@medusajs/types" } @@ -19815,15 +17360,15 @@ ] }, { - "id": 204, - "name": "restoreVariants", + "id": 56, + "name": "retrieveTag", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 205, - "name": "restoreVariants", + "id": 57, + "name": "retrieveTag", "variant": "signature", "kind": 4096, "flags": {}, @@ -19831,18 +17376,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to restore product varaints that were soft deleted. Product variants are soft deleted when they're not\nprovided in a product's details passed to the " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "update", - "target": 184, - "tsLinkText": "" - }, - { - "kind": "text", - "text": " method." + "text": "This method is used to retrieve a tag by its ID." } ], "blockTags": [ @@ -19851,50 +17385,37 @@ "content": [ { "kind": "text", - "text": "An object that includes the IDs of related records that were restored. The object's keys are the ID attribute names of the product variant entity's relations\nand its value is an array of strings, each being the ID of the record associated with the product variant through this relation.\n\nIf there are no related records that were restored, the promise resolved to " - }, - { - "kind": "code", - "text": "`void`" - }, - { - "kind": "text", - "text": "." + "text": "The retrieved product tag." } ] }, { "tag": "@example", "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a product tag by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst tag = await productModuleService.retrieveTag(\"ptag_123\")\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, { "kind": "code", - "text": "```ts\nimport {\n initialize as initializeProductModule,\n} from \"@medusajs/product\"\n\nasync function restoreProductVariants (ids: string[]) {\n const productModule = await initializeProductModule()\n\n await productModule.restoreVariants(ids)\n}\n```" + "text": "```ts\nconst tag = await productModuleService.retrieveTag(\n \"ptag_123\",\n {\n relations: [\"products\"],\n }\n)\n```" } ] } ] }, - "typeParameter": [ - { - "id": 206, - "name": "TReturnableLinkableKeys", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "intrinsic", - "name": "string" - } - } - ], "parameters": [ { - "id": 207, - "name": "variantIds", + "id": 58, + "name": "tagId", "variant": "param", "kind": 32768, "flags": {}, @@ -19902,20 +17423,17 @@ "summary": [ { "kind": "text", - "text": "The IDs of the variants to restore." + "text": "The ID of the tag to retrieve." } ] }, "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "intrinsic", + "name": "string" } }, { - "id": 208, + "id": 59, "name": "config", "variant": "param", "kind": 32768, @@ -19926,36 +17444,43 @@ "summary": [ { "kind": "text", - "text": "Configurations determining which relations to restore along with each of the product variants. You can pass to its " + "text": "The configurations determining how the product tag is retrieved. Its properties, such as " }, { "kind": "code", - "text": "`returnLinkableKeys`" + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" }, { "kind": "text", - "text": "\nproperty any of the product variant's relation attribute names." + "text": ", accept the\nattributes or relations associated with a product tag." } ] }, "type": { "type": "reference", - "target": 550, + "target": 354, "typeArguments": [ { "type": "reference", - "target": 206, - "name": "TReturnableLinkableKeys", - "package": "@medusajs/types", - "refersToTypeParameter": true + "target": 515, + "name": "ProductTagDTO", + "package": "@medusajs/types" } ], - "name": "RestoreReturn", + "name": "FindConfig", "package": "@medusajs/types" } }, { - "id": 209, + "id": 60, "name": "sharedContext", "variant": "param", "kind": 32768, @@ -19972,7 +17497,7 @@ }, "type": { "type": "reference", - "target": 266, + "target": 398, "name": "Context", "package": "@medusajs/types" } @@ -19986,35 +17511,10 @@ }, "typeArguments": [ { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "void" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ], - "name": "Record", - "package": "typescript" - } - ] + "type": "reference", + "target": 515, + "name": "ProductTagDTO", + "package": "@medusajs/types" } ], "name": "Promise", @@ -20022,3489 +17522,13366 @@ } } ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 2, - 7, - 12, - 17, - 22, - 27, - 32, - 36, - 40, - 44, - 49, - 54, - 59, - 63, - 67, - 71, - 76, - 81, - 86, - 90, - 94, - 98, - 103, - 108, - 112, - 116, - 120, - 125, - 130, - 135, - 140, - 144, - 148, - 152, - 157, - 162, - 167, - 171, - 176, - 180, - 184, - 188, - 192, - 198, - 204 - ] - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 217, - "name": "IModuleService", - "package": "@medusajs/types" - } - ] - }, - { - "id": 659, - "name": "MessageAggregatorFormat", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 660, - "name": "groupBy", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } }, { - "id": 661, - "name": "sortBy", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 662, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "indexSignature": { - "id": 663, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "parameters": [ - { - "id": 664, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - } - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 660, - 661 - ] - } - ] - }, - { - "id": 590, - "name": "IMessageAggregator", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 591, - "name": "save", + "id": 61, + "name": "listTags", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 592, - "name": "save", + "id": 62, + "name": "listTags", "variant": "signature", "kind": 4096, "flags": {}, - "parameters": [ - { - "id": 593, - "name": "msg", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "union", - "types": [ + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a paginated list of tags based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ { - "type": "reference", - "target": 653, - "name": "Message", - "package": "@medusajs/types" + "kind": "text", + "text": "The list of product tags." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of product tags using their IDs:\n\n" }, { - "type": "array", - "elementType": { - "type": "reference", - "target": 653, - "name": "Message", - "package": "@medusajs/types" - } + "kind": "code", + "text": "```ts\nconst tags = await productModuleService.listTags({\n id: [\"ptag_123\", \"ptag_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the product tags:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst tags = await productModuleService.listTags(\n {\n id: [\"ptag_123\", \"ptag_321\"],\n },\n {\n relations: [\"products\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst tags = await productModuleService.listTags(\n {\n id: [\"ptag_123\", \"ptag_321\"],\n },\n {\n relations: [\"products\"],\n take: 20,\n skip: 2,\n }\n)\n```" } ] } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - }, - { - "id": 594, - "name": "getMessages", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 595, - "name": "getMessages", - "variant": "signature", - "kind": 4096, - "flags": {}, + ] + }, "parameters": [ { - "id": 596, - "name": "format", + "id": 63, + "name": "filters", "variant": "param", "kind": 32768, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters applied on the retrieved product tags." + } + ] + }, "type": { "type": "reference", - "target": 659, - "name": "MessageAggregatorFormat", + "target": 520, + "name": "FilterableProductTagProps", "package": "@medusajs/types" } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" + { + "id": 64, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the product tags are retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a product tag." + } + ] + }, + "type": { + "type": "reference", + "target": 354, + "typeArguments": [ + { + "type": "reference", + "target": 515, + "name": "ProductTagDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 65, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ { "type": "array", "elementType": { "type": "reference", - "target": 653, - "name": "Message", + "target": 515, + "name": "ProductTagDTO", "package": "@medusajs/types" } } ], - "name": "Record", + "name": "Promise", "package": "typescript" } } ] }, { - "id": 597, - "name": "clearMessages", + "id": 66, + "name": "listAndCountTags", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 598, - "name": "clearMessages", + "id": 67, + "name": "listAndCountTags", "variant": "signature", "kind": 4096, "flags": {}, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 591, - 594, - 597 - ] - } - ] - }, - { - "id": 266, - "name": "Context", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A context used to share resources, such as transaction manager, between the application and the module." - } - ] - }, - "children": [ - { - "id": 267, - "name": "__type", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "literal", - "value": "MedusaContext" - } - }, - { - "id": 268, - "name": "transactionManager", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An instance of a transaction manager of type " - }, - { - "kind": "code", - "text": "`TManager`" - }, - { - "kind": "text", - "text": ", which is a typed parameter passed to the context to specify the type of the " - }, - { - "kind": "code", - "text": "`transactionManager`" + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a paginated list of product tags along with the total count of available product tags satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of product tags along with the total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of product tags using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [tags, count] =\n await productModuleService.listAndCountTags({\n id: [\"ptag_123\", \"ptag_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the product tags:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [tags, count] =\n await productModuleService.listAndCountTags(\n {\n id: [\"ptag_123\", \"ptag_321\"],\n },\n {\n relations: [\"products\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [tags, count] =\n await productModuleService.listAndCountTags(\n {\n id: [\"ptag_123\", \"ptag_321\"],\n },\n {\n relations: [\"products\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] }, - { - "kind": "text", - "text": "." - } - ] - }, - "type": { - "type": "reference", - "target": 276, - "name": "TManager", - "package": "@medusajs/types", - "refersToTypeParameter": true - } - }, - { - "id": 269, - "name": "manager", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An instance of a manager, typically an entity manager, of type " - }, - { - "kind": "code", - "text": "`TManager`" - }, - { - "kind": "text", - "text": ", which is a typed parameter passed to the context to specify the type of the " - }, - { - "kind": "code", - "text": "`manager`" - }, - { - "kind": "text", - "text": "." + "parameters": [ + { + "id": 68, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters applied on the retrieved product tags." + } + ] + }, + "type": { + "type": "reference", + "target": 520, + "name": "FilterableProductTagProps", + "package": "@medusajs/types" + } + }, + { + "id": 69, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the product tags are retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a product tag." + } + ] + }, + "type": { + "type": "reference", + "target": 354, + "typeArguments": [ + { + "type": "reference", + "target": 515, + "name": "ProductTagDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 70, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 515, + "name": "ProductTagDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" } - ] - }, - "type": { - "type": "reference", - "target": 276, - "name": "TManager", - "package": "@medusajs/types", - "refersToTypeParameter": true - } + } + ] }, { - "id": 270, - "name": "isolationLevel", + "id": 71, + "name": "createTags", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A string indicating the isolation level of the context. Possible values are " - }, - { - "kind": "code", - "text": "`READ UNCOMMITTED`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`READ COMMITTED`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`REPEATABLE READ`" - }, - { - "kind": "text", - "text": ", or " - }, - { - "kind": "code", - "text": "`SERIALIZABLE`" + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 72, + "name": "createTags", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to create product tags." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of product tags." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst tags = await productModuleService.createTags([\n {\n value: \"Clothes\",\n },\n {\n value: \"Accessories\",\n },\n])\n```" + } + ] + } + ] }, - { - "kind": "text", - "text": "." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 271, - "name": "enableNestedTransactions", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A boolean value indicating whether nested transactions are enabled." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 272, - "name": "eventGroupId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A string indicating the ID of the group to aggregate the events to be emitted at a later point." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 273, - "name": "transactionId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A string indicating the ID of the current transaction." + "parameters": [ + { + "id": 73, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product tags to create." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 526, + "name": "CreateProductTagDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 74, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 515, + "name": "ProductTagDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } + } + ] }, { - "id": 274, - "name": "messageAggregator", + "id": 79, + "name": "deleteTags", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point." + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 80, + "name": "deleteTags", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to delete product tags by their ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the product tags are successfully deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait productModuleService.deleteTags([\n \"ptag_123\",\n \"ptag_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 81, + "name": "productTagIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the product tags to be deleted." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 82, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" } - ] - }, - "type": { - "type": "reference", - "target": 590, - "name": "IMessageAggregator", - "package": "@medusajs/types" - } + } + ] }, { - "id": 275, - "name": "requestId", + "id": 83, + "name": "retrieveType", "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A string indicating the ID of the current request." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 267, - 268, - 269, - 270, - 271, - 272, - 273, - 274, - 275 - ] - } - ], - "typeParameters": [ - { - "id": 276, - "name": "TManager", - "variant": "typeParam", - "kind": 131072, + "kind": 2048, "flags": {}, - "default": { - "type": "intrinsic", - "name": "unknown" - } - } - ] - } - ], + "signatures": [ + { + "id": 84, + "name": "retrieveType", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a product type by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved product type." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst productType =\n await productModuleService.retrieveType(\"ptyp_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 85, + "name": "typeId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the product type to retrieve." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 86, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the product type is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a product type." + } + ] + }, + "type": { + "type": "reference", + "target": 354, + "typeArguments": [ + { + "type": "reference", + "target": 530, + "name": "ProductTypeDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 87, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 530, + "name": "ProductTypeDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 88, + "name": "listTypes", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 89, + "name": "listTypes", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a paginated list of product types based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of product types." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of product types using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst productTypes = await productModuleService.listTypes({\n id: [\"ptyp_123\", \"ptyp_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst productTypes = await productModuleService.listTypes(\n {\n id: [\"ptyp_123\", \"ptyp_321\"],\n },\n {\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 90, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved product types." + } + ] + }, + "type": { + "type": "reference", + "target": 537, + "name": "FilterableProductTypeProps", + "package": "@medusajs/types" + } + }, + { + "id": 91, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the product types are retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a product type." + } + ] + }, + "type": { + "type": "reference", + "target": 354, + "typeArguments": [ + { + "type": "reference", + "target": 530, + "name": "ProductTypeDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 92, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 530, + "name": "ProductTypeDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 93, + "name": "listAndCountTypes", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 94, + "name": "listAndCountTypes", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a paginated list of product types along with the total count of available product types satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of product types along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of product types using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [productTypes, count] =\n await productModuleService.listAndCountTypes({\n id: [\"ptyp_123\", \"ptyp_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [productTypes, count] =\n await productModuleService.listAndCountTypes(\n {\n id: [\"ptyp_123\", \"ptyp_321\"],\n },\n {\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 95, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to be applied on the retrieved product type." + } + ] + }, + "type": { + "type": "reference", + "target": 537, + "name": "FilterableProductTypeProps", + "package": "@medusajs/types" + } + }, + { + "id": 96, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the product types are retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a product type." + } + ] + }, + "type": { + "type": "reference", + "target": 354, + "typeArguments": [ + { + "type": "reference", + "target": 530, + "name": "ProductTypeDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 97, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 530, + "name": "ProductTypeDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 98, + "name": "createTypes", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 99, + "name": "createTypes", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to create a product type." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of created product types." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst productTypes = await productModuleService.createTypes([\n {\n value: \"digital\",\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 100, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product types to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 543, + "name": "CreateProductTypeDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 101, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 530, + "name": "ProductTypeDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 102, + "name": "createTypes", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to create a product type." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created product type." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst productType = await productModuleService.createTypes({\n value: \"digital\",\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 103, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product type to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 543, + "name": "CreateProductTypeDTO", + "package": "@medusajs/types" + } + }, + { + "id": 104, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 530, + "name": "ProductTypeDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 105, + "name": "upsertTypes", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 106, + "name": "upsertTypes", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing types, or creates new ones if they don't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated and created types." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst productTypes = await productModuleService.upsertTypes([\n {\n id: \"ptyp_123\",\n metadata: {\n test: true,\n },\n },\n {\n value: \"Digital\",\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 107, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update or create for each type." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 546, + "name": "UpsertProductTypeDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 108, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 530, + "name": "ProductTypeDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 109, + "name": "upsertTypes", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing type, or creates a new one if it doesn't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated or created type." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst productType = await productModuleService.upsertTypes({\n id: \"ptyp_123\",\n metadata: {\n test: true,\n },\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 110, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update or create for the type." + } + ] + }, + "type": { + "type": "reference", + "target": 546, + "name": "UpsertProductTypeDTO", + "package": "@medusajs/types" + } + }, + { + "id": 111, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 530, + "name": "ProductTypeDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 112, + "name": "updateTypes", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 113, + "name": "updateTypes", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to update a type." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated type." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst productType = await productModuleService.updateTypes(\n \"ptyp_123\",\n {\n value: \"Digital\",\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 114, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the type to be updated." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 115, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes of the type to be updated" + } + ] + }, + "type": { + "type": "reference", + "target": 550, + "name": "UpdateProductTypeDTO", + "package": "@medusajs/types" + } + }, + { + "id": 116, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 530, + "name": "ProductTypeDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 117, + "name": "updateTypes", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to update a list of types matching the specified filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated types." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst productTypes = await productModuleService.updateTypes(\n {\n id: [\"ptyp_123\", \"ptyp_321\"],\n },\n {\n value: \"Digital\",\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 118, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters specifying which types to update." + } + ] + }, + "type": { + "type": "reference", + "target": 537, + "name": "FilterableProductTypeProps", + "package": "@medusajs/types" + } + }, + { + "id": 119, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to be updated on the selected types" + } + ] + }, + "type": { + "type": "reference", + "target": 550, + "name": "UpdateProductTypeDTO", + "package": "@medusajs/types" + } + }, + { + "id": 120, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 530, + "name": "ProductTypeDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 121, + "name": "deleteTypes", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 122, + "name": "deleteTypes", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to delete a product type." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the product types are successfully deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait productModuleService.deleteTypes([\n \"ptyp_123\",\n \"ptyp_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 123, + "name": "productTypeIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the product types to be deleted." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 124, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 125, + "name": "softDeleteTypes", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 126, + "name": "softDeleteTypes", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to delete types. Unlike the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "delete", + "target": 40, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " method, this method won't completely remove the type. It can still be accessed or retrieved using methods like " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "retrieve", + "target": 2, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " if you pass the " + }, + { + "kind": "code", + "text": "`withDeleted`" + }, + { + "kind": "text", + "text": " property to the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " object parameter.\n\nThe soft-deleted types can be restored using the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "restore", + "target": 50, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " method." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted. The object's keys are the ID attribute names of the type entity's relations, and its value is an array of strings, each being the ID of a record associated with the type through this relation.\n\nIf there are no related records, the promise resolved to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait productModuleService.softDeleteTypes([\n \"ptyp_123\",\n \"ptyp_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 127, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 128, + "name": "typeIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the types to soft-delete." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 129, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to soft delete along with the each of the types. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the type's relation attribute names." + } + ] + }, + "type": { + "type": "reference", + "target": 509, + "typeArguments": [ + { + "type": "reference", + "target": 127, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 130, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 131, + "name": "restoreTypes", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 132, + "name": "restoreTypes", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to restore types which were deleted using the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "softDelete", + "target": 44, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " method." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored. The object's keys are the ID attribute names of the type entity's relations, and its value is an array of strings, each being the ID of the record associated with the type through this relation.\n\nIf there are no related records that were restored, the promise resolved to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait productModuleService.restoreTypes([\n \"ptyp_123\",\n \"ptyp_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 133, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 134, + "name": "typeIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the types to restore." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 135, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the types. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the type's relation attribute names." + } + ] + }, + "type": { + "type": "reference", + "target": 512, + "typeArguments": [ + { + "type": "reference", + "target": 133, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 136, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 137, + "name": "retrieveOption", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 138, + "name": "retrieveOption", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a product option by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved product option." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a product option by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst option =\n await productModuleService.retrieveOption(\"opt_123\")\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst option = await productModuleService.retrieveOption(\n \"opt_123\",\n {\n relations: [\"product\"],\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 139, + "name": "optionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the product option to retrieve." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 140, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the product option is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a product option." + } + ] + }, + "type": { + "type": "reference", + "target": 354, + "typeArguments": [ + { + "type": "reference", + "target": 553, + "name": "ProductOptionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 141, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 553, + "name": "ProductOptionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 142, + "name": "listOptions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 143, + "name": "listOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a paginated list of product options based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of product options." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of product options using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst options = await productModuleService.listOptions({\n id: [\"opt_123\", \"opt_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the product options:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst options = await productModuleService.listOptions(\n {\n id: [\"opt_123\", \"opt_321\"],\n },\n {\n relations: [\"product\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst options = await productModuleService.listOptions(\n {\n id: [\"opt_123\", \"opt_321\"],\n },\n {\n relations: [\"product\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 144, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters applied on the retrieved product options." + } + ] + }, + "type": { + "type": "reference", + "target": 563, + "name": "FilterableProductOptionProps", + "package": "@medusajs/types" + } + }, + { + "id": 145, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the product options are retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a product option." + } + ] + }, + "type": { + "type": "reference", + "target": 354, + "typeArguments": [ + { + "type": "reference", + "target": 553, + "name": "ProductOptionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 146, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 553, + "name": "ProductOptionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 147, + "name": "listAndCountOptions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 148, + "name": "listAndCountOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a paginated list of product options along with the total count of available product options satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of product options along with the total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of product options using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [options, count] =\n await productModuleService.listAndCountOptions({\n id: [\"opt_123\", \"opt_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the product types:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [options, count] =\n await productModuleService.listAndCountOptions(\n {\n id: [\"opt_123\", \"opt_321\"],\n },\n {\n relations: [\"product\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [options, count] =\n await productModuleService.listAndCountOptions(\n {\n id: [\"opt_123\", \"opt_321\"],\n },\n {\n relations: [\"product\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 149, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters applied on the retrieved product options." + } + ] + }, + "type": { + "type": "reference", + "target": 563, + "name": "FilterableProductOptionProps", + "package": "@medusajs/types" + } + }, + { + "id": 150, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the product options are retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a product option." + } + ] + }, + "type": { + "type": "reference", + "target": 354, + "typeArguments": [ + { + "type": "reference", + "target": 553, + "name": "ProductOptionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 151, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 553, + "name": "ProductOptionDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 152, + "name": "createOptions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 153, + "name": "createOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to create product options." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of created product options." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst options = await productModuleService.createOptions([\n {\n title: \"Color\",\n values: [\"Blue\", \"Green\"],\n product_id: \"prod_123\",\n },\n {\n title: \"Size\",\n values: [\"Small\", \"Medium\"],\n product_id: \"prod_321\",\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 154, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product options to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 570, + "name": "CreateProductOptionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 155, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 553, + "name": "ProductOptionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 156, + "name": "createOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to create a product option." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created product option." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst option = await productModuleService.createOptions({\n title: \"Color\",\n values: [\"Blue\", \"Green\"],\n product_id: \"prod_123\",\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 157, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product option to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 570, + "name": "CreateProductOptionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 158, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 553, + "name": "ProductOptionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 159, + "name": "upsertOptions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 160, + "name": "upsertOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing options, or creates new ones if they don't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated and created options." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst options = await productModuleService.upsertOptions([\n {\n id: \"opt_123\",\n title: \"Color\",\n },\n {\n title: \"Color\",\n values: [\"Blue\", \"Green\"],\n product_id: \"prod_123\",\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 161, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update or create for each option." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 574, + "name": "UpsertProductOptionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 162, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 553, + "name": "ProductOptionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 163, + "name": "upsertOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing option, or creates a new one if it doesn't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated or created option." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst option = await productModuleService.upsertOptions({\n id: \"opt_123\",\n title: \"Color\",\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 164, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update or create for the option." + } + ] + }, + "type": { + "type": "reference", + "target": 574, + "name": "UpsertProductOptionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 165, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 553, + "name": "ProductOptionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 166, + "name": "updateOptions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 167, + "name": "updateOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to update a option." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated option." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst option = await productModuleService.updateOptions(\n \"opt_123\",\n {\n title: \"Color\",\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 168, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the option to be updated." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 169, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes of the option to be updated" + } + ] + }, + "type": { + "type": "reference", + "target": 579, + "name": "UpdateProductOptionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 170, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 553, + "name": "ProductOptionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 171, + "name": "updateOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to update a list of options matching the specified filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated options." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst options = await productModuleService.updateOptions(\n {\n title: \"Color\",\n },\n {\n values: [\"Blue\", \"Green\"],\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 172, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters specifying which options to update." + } + ] + }, + "type": { + "type": "reference", + "target": 563, + "name": "FilterableProductOptionProps", + "package": "@medusajs/types" + } + }, + { + "id": 173, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to be updated on the selected options" + } + ] + }, + "type": { + "type": "reference", + "target": 579, + "name": "UpdateProductOptionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 174, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 553, + "name": "ProductOptionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 175, + "name": "deleteOptions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 176, + "name": "deleteOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to delete a product option." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the product options are successfully deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait productModuleService.deleteOptions([\n \"opt_123\",\n \"opt_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 177, + "name": "productOptionIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the product options to delete." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 178, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 179, + "name": "softDeleteOptions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 180, + "name": "softDeleteOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to delete options. Unlike the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "delete", + "target": 40, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " method, this method won't completely remove the option. It can still be accessed or retrieved using methods like " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "retrieve", + "target": 2, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " if you pass the " + }, + { + "kind": "code", + "text": "`withDeleted`" + }, + { + "kind": "text", + "text": " property to the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " object parameter.\n\nThe soft-deleted options can be restored using the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "restore", + "target": 50, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " method." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted. The object's keys are the ID attribute names of the option entity's relations, and its value is an array of strings, each being the ID of a record associated with the option through this relation.\n\nIf there are no related records, the promise resolved to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait productModuleService.softDeleteOptions([\n \"opt_123\",\n \"opt_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 181, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 182, + "name": "optionIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the options to soft-delete." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 183, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to soft delete along with the each of the options. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the option's relation attribute names, such as " + }, + { + "kind": "code", + "text": "`option_value_id`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "target": 509, + "typeArguments": [ + { + "type": "reference", + "target": 181, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 184, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 185, + "name": "restoreOptions", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 186, + "name": "restoreOptions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to restore options which were deleted using the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "softDelete", + "target": 44, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " method." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored. The object's keys are the ID attribute names of the option entity's relations, and its value is an array of strings, each being the ID of the record associated with the option through this relation.\n\nIf there are no related records that were restored, the promise resolved to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait productModuleService.restoreOptions([\n \"opt_123\",\n \"opt_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 187, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 188, + "name": "optionIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the options to restore." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 189, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the options. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the option's relation attribute names." + } + ] + }, + "type": { + "type": "reference", + "target": 512, + "typeArguments": [ + { + "type": "reference", + "target": 187, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 190, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 191, + "name": "retrieveVariant", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 192, + "name": "retrieveVariant", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a product variant by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved product variant." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a product variant by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst variant =\n await productModuleService.retrieveVariant(\"variant_123\")\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst variant = await productModuleService.retrieveVariant(\n \"variant_123\",\n {\n relations: [\"options\"],\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 193, + "name": "productVariantId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the product variant to retrieve." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 194, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the product variant is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a product variant." + } + ] + }, + "type": { + "type": "reference", + "target": 354, + "typeArguments": [ + { + "type": "reference", + "target": 583, + "name": "ProductVariantDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 195, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 583, + "name": "ProductVariantDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 196, + "name": "listVariants", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 197, + "name": "listVariants", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a paginated list of product variants based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of product variants." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of product variants using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst variants = await productModuleService.listVariants({\n id: [\"variant_123\", \"variant_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the product variants:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst variants = await productModuleService.listVariants(\n {\n id: [\"variant_123\", \"variant_321\"],\n },\n {\n relations: [\"options\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst variants = await productModuleService.listVariants(\n {\n id: [\"variant_123\", \"variant_321\"],\n },\n {\n relations: [\"options\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 198, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters applied on the retrieved product variants." + } + ] + }, + "type": { + "type": "reference", + "target": 609, + "name": "FilterableProductVariantProps", + "package": "@medusajs/types" + } + }, + { + "id": 199, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the product variants are retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a product variant." + } + ] + }, + "type": { + "type": "reference", + "target": 354, + "typeArguments": [ + { + "type": "reference", + "target": 583, + "name": "ProductVariantDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 200, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 583, + "name": "ProductVariantDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 201, + "name": "listAndCountVariants", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 202, + "name": "listAndCountVariants", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a paginated list of product variants along with the total count of available product variants satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of product variants along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of product variants using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [variants, count] =\n await productModuleService.listAndCountVariants({\n id: [\"variant_123\", \"variant_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the product variants:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [variants, count] =\n await productModuleService.listAndCountVariants(\n {\n id: [\"variant_123\", \"variant_321\"],\n },\n {\n relations: [\"options\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [variants, count] =\n await productModuleService.listAndCountVariants(\n {\n id: [\"variant_123\", \"variant_321\"],\n },\n {\n relations: [\"options\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 203, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters applied on the retrieved product variants." + } + ] + }, + "type": { + "type": "reference", + "target": 609, + "name": "FilterableProductVariantProps", + "package": "@medusajs/types" + } + }, + { + "id": 204, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the product variants are retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a product variant." + } + ] + }, + "type": { + "type": "reference", + "target": 354, + "typeArguments": [ + { + "type": "reference", + "target": 583, + "name": "ProductVariantDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 205, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 583, + "name": "ProductVariantDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 206, + "name": "createVariants", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 207, + "name": "createVariants", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to create product variants." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of created product variants." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst variants = await productModuleService.createVariants([\n {\n title: \"Blue Shirt\",\n product_id: \"prod_123\",\n options: {\n Color: \"Blue\",\n },\n },\n {\n title: \"Green Shirt\",\n product_id: \"prod_321\",\n options: {\n Color: \"Green\",\n },\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 208, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product variants to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 617, + "name": "CreateProductVariantDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 209, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 583, + "name": "ProductVariantDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 210, + "name": "createVariants", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to create a product variant." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created product variant." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst variant = await productModuleService.createVariants({\n title: \"Blue Shirt\",\n product_id: \"prod_123\",\n options: {\n Color: \"Blue\",\n },\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 211, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product variant to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 617, + "name": "CreateProductVariantDTO", + "package": "@medusajs/types" + } + }, + { + "id": 212, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 583, + "name": "ProductVariantDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 213, + "name": "upsertVariants", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 214, + "name": "upsertVariants", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing variants, or creates new ones if they don't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated and created variants." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst variants = await productModuleService.upsertVariants([\n {\n id: \"variant_123\",\n title: \"Green Shirt\",\n },\n {\n title: \"Blue Shirt\",\n options: {\n Color: \"Blue\",\n },\n },\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 215, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update or create for each variant." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 637, + "name": "UpsertProductVariantDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 216, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 583, + "name": "ProductVariantDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 217, + "name": "upsertVariants", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing variant, or creates a new one if it doesn't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated or created variant." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst variant = await productModuleService.upsertVariants({\n id: \"variant_123\",\n title: \"Green Shirt\",\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 218, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update or create for the variant." + } + ] + }, + "type": { + "type": "reference", + "target": 637, + "name": "UpsertProductVariantDTO", + "package": "@medusajs/types" + } + }, + { + "id": 219, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 583, + "name": "ProductVariantDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 220, + "name": "updateVariants", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 221, + "name": "updateVariants", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to update a variant." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated variant." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst variant = await productModuleService.updateVariants(\n \"variant_123\",\n {\n title: \"Blue Shirt\",\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 222, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the variant to be updated." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 223, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes of the variant to be updated" + } + ] + }, + "type": { + "type": "reference", + "target": 657, + "name": "UpdateProductVariantDTO", + "package": "@medusajs/types" + } + }, + { + "id": 224, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 583, + "name": "ProductVariantDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 225, + "name": "updateVariants", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to update a list of variants matching the specified filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated variants." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst variants = await productModuleService.updateVariants(\n {\n id: [\"variant_123\", \"variant_321\"],\n },\n {\n title: \"Blue Shirt\",\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 226, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters specifying which variants to update." + } + ] + }, + "type": { + "type": "reference", + "target": 609, + "name": "FilterableProductVariantProps", + "package": "@medusajs/types" + } + }, + { + "id": 227, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to be updated on the selected variants" + } + ] + }, + "type": { + "type": "reference", + "target": 657, + "name": "UpdateProductVariantDTO", + "package": "@medusajs/types" + } + }, + { + "id": 228, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 583, + "name": "ProductVariantDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 229, + "name": "deleteVariants", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 230, + "name": "deleteVariants", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to delete ProductVariant. This method will completely remove the ProductVariant and they can no longer be accessed or retrieved." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the ProductVariant are successfully deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait productModuleService.deleteVariants([\n \"variant_123\",\n \"variant_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 231, + "name": "productVariantIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the ProductVariant to be deleted." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 232, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 233, + "name": "softDeleteVariants", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 234, + "name": "softDeleteVariants", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to delete variants. Unlike the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "delete", + "target": 40, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " method, this method won't completely remove the variant. It can still be accessed or retrieved using methods like " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "retrieve", + "target": 2, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " if you pass the " + }, + { + "kind": "code", + "text": "`withDeleted`" + }, + { + "kind": "text", + "text": " property to the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " object parameter.\n\nThe soft-deleted variants can be restored using the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "restore", + "target": 50, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " method." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted. The object's keys are the ID attribute names of the variant entity's relations, and its value is an array of strings, each being the ID of a record associated with the variant through this relation.\n\nIf there are no related records, the promise resolved to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait productModuleService.softDeleteVariants([\n \"variant_123\",\n \"variant_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 235, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 236, + "name": "variantIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the variants to soft-delete." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 237, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to soft delete along with the each of the variants. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the variant's relation attribute names, such as " + }, + { + "kind": "code", + "text": "`option_value_id`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "target": 509, + "typeArguments": [ + { + "type": "reference", + "target": 235, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 238, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 239, + "name": "restoreVariants", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 240, + "name": "restoreVariants", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to restore variants which were deleted using the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "softDelete", + "target": 44, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " method." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored. The object's keys are the ID attribute names of the variant entity's relations, and its value is an array of strings, each being the ID of the record associated with the variant through this relation.\n\nIf there are no related records that were restored, the promise resolved to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait productModuleService.restoreVariants([\n \"variant_123\",\n \"variant_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 241, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 242, + "name": "variantIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the variants to restore." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 243, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the variants. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the variant's relation attribute names." + } + ] + }, + "type": { + "type": "reference", + "target": 512, + "typeArguments": [ + { + "type": "reference", + "target": 241, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 244, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 245, + "name": "retrieveCollection", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 246, + "name": "retrieveCollection", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a product collection by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved product collection." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a product collection by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst collection =\n await productModuleService.retrieveCollection(\"pcol_123\")\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst collection =\n await productModuleService.retrieveCollection(\"pcol_123\", {\n relations: [\"products\"],\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 247, + "name": "productCollectionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the product collection to retrieve." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 248, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the product collection is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a product collection." + } + ] + }, + "type": { + "type": "reference", + "target": 354, + "typeArguments": [ + { + "type": "reference", + "target": 676, + "name": "ProductCollectionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 249, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 676, + "name": "ProductCollectionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 250, + "name": "listCollections", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 251, + "name": "listCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a paginated list of product collections based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of product collections." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of product collections using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst collections =\n await productModuleService.listCollections({\n id: [\"pcol_123\", \"pcol_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the product collections:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst collections =\n await productModuleService.listCollections(\n {\n id: [\"pcol_123\", \"pcol_321\"],\n },\n {\n relations: [\"products\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst collections =\n await productModuleService.listCollections(\n {\n id: [\"pcol_123\", \"pcol_321\"],\n },\n {\n relations: [\"products\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 252, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters applied on the retrieved product collections." + } + ] + }, + "type": { + "type": "reference", + "target": 685, + "name": "FilterableProductCollectionProps", + "package": "@medusajs/types" + } + }, + { + "id": 253, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the product collections are retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a product collection." + } + ] + }, + "type": { + "type": "reference", + "target": 354, + "typeArguments": [ + { + "type": "reference", + "target": 676, + "name": "ProductCollectionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 254, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 676, + "name": "ProductCollectionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 255, + "name": "listAndCountCollections", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 256, + "name": "listAndCountCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a paginated list of product collections along with the total count of available product collections satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of product collections along with the total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of product collections using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [collections, count] =\n await productModuleService.listAndCountCollections({\n id: [\"pcol_123\", \"pcol_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the product collections:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [collections, count] =\n await productModuleService.listAndCountCollections(\n {\n id: [\"pcol_123\", \"pcol_321\"],\n },\n {\n relations: [\"products\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [collections, count] =\n await productModuleService.listAndCountCollections(\n {\n id: [\"pcol_123\", \"pcol_321\"],\n },\n {\n relations: [\"products\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 257, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters applied on the retrieved product collections." + } + ] + }, + "type": { + "type": "reference", + "target": 685, + "name": "FilterableProductCollectionProps", + "package": "@medusajs/types" + } + }, + { + "id": 258, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the product collections are retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a product collection." + } + ] + }, + "type": { + "type": "reference", + "target": 354, + "typeArguments": [ + { + "type": "reference", + "target": 676, + "name": "ProductCollectionDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 259, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 676, + "name": "ProductCollectionDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 260, + "name": "createCollections", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 261, + "name": "createCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to create product collections." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of created product collections." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst collections =\n await productModuleService.createCollections([\n {\n title: \"Summer Collection\",\n },\n {\n title: \"Winter Collection\",\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 262, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product collections to be created." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 692, + "name": "CreateProductCollectionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 263, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 676, + "name": "ProductCollectionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 264, + "name": "createCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to create a product collection." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created product collection." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst collection =\n await productModuleService.createCollections({\n title: \"Summer Collection\",\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 265, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product collection to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 692, + "name": "CreateProductCollectionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 266, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 676, + "name": "ProductCollectionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 267, + "name": "upsertCollections", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 268, + "name": "upsertCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates existing collections, or creates new ones if they don't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated and created collections." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst collections =\n await productModuleService.upsertCollections([\n {\n id: \"pcol_123\",\n title: \"Winter Collection\",\n },\n {\n title: \"Summer Collection\",\n },\n ])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 269, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update or create for each collection." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 697, + "name": "UpsertProductCollectionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 270, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 676, + "name": "ProductCollectionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 271, + "name": "upsertCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method updates an existing collection, or creates a new one if it doesn't exist." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated or created collection." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst collection =\n await productModuleService.upsertCollections({\n id: \"pcol_123\",\n title: \"Winter Collection\",\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 272, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update or create for the collection." + } + ] + }, + "type": { + "type": "reference", + "target": 697, + "name": "UpsertProductCollectionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 273, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 676, + "name": "ProductCollectionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 274, + "name": "updateCollections", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 275, + "name": "updateCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to update a collection." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated collection." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst collection =\n await productModuleService.updateCollections(\"pcol_123\", {\n title: \"Summer Collection\",\n })\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 276, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the collection to be updated." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 277, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes of the collection to be updated" + } + ] + }, + "type": { + "type": "reference", + "target": 704, + "name": "UpdateProductCollectionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 278, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 676, + "name": "ProductCollectionDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 279, + "name": "updateCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to update a list of collections matching the specified filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated collections." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst collections =\n await productModuleService.updateCollections(\n {\n id: [\"pcol_123\", \"pcol_321\"],\n },\n {\n title: \"Summer Collection\",\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 280, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters specifying which collections to update." + } + ] + }, + "type": { + "type": "reference", + "target": 685, + "name": "FilterableProductCollectionProps", + "package": "@medusajs/types" + } + }, + { + "id": 281, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to be updated on the selected collections" + } + ] + }, + "type": { + "type": "reference", + "target": 704, + "name": "UpdateProductCollectionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 282, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 676, + "name": "ProductCollectionDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 283, + "name": "deleteCollections", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 284, + "name": "deleteCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to delete collections by their ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the product options are successfully deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait productModuleService.deleteCollections([\n \"pcol_123\",\n \"pcol_321\",\n])\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 285, + "name": "productCollectionIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the product collections to be updated." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 286, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 287, + "name": "softDeleteCollections", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 288, + "name": "softDeleteCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to delete product collections. Unlike the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "deleteCollections", + "target": 283, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " method, this method won't completely remove the collection. It can still be accessed or retrieved using methods like " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "retrieveCollections" + }, + { + "kind": "text", + "text": " if you pass the " + }, + { + "kind": "code", + "text": "`withDeleted`" + }, + { + "kind": "text", + "text": " property to the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " object parameter.\n\nThe soft-deleted collections can be restored using the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "restoreCollections", + "target": 293, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " method." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were also soft deleted. The object's keys are the ID attribute names of the collection entity's relations.\n\nIf there are no related records, the promise resolved to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait productModuleService.softDeleteCollections([\n \"pcol_123\",\n \"pcol_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 289, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 290, + "name": "collectionIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the collections to soft-delete." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 291, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to soft delete along with the each of the collections. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the collection's relation attribute names." + } + ] + }, + "type": { + "type": "reference", + "target": 509, + "typeArguments": [ + { + "type": "reference", + "target": 289, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "SoftDeleteReturn", + "package": "@medusajs/types" + } + }, + { + "id": 292, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 293, + "name": "restoreCollections", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 294, + "name": "restoreCollections", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to restore collections which were deleted using the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "softDelete", + "target": 44, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " method." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "An object that includes the IDs of related records that were restored. The object's keys are the ID attribute names of the product entity's relations.\n\nIf there are no related records that were restored, the promise resolved to " + }, + { + "kind": "code", + "text": "`void`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait productModuleService.restoreCollections([\n \"pcol_123\",\n \"pcol_321\",\n])\n```" + } + ] + } + ] + }, + "typeParameter": [ + { + "id": 295, + "name": "TReturnableLinkableKeys", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 296, + "name": "collectionIds", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IDs of the collections to restore." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 297, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Configurations determining which relations to restore along with each of the collections. You can pass to its " + }, + { + "kind": "code", + "text": "`returnLinkableKeys`" + }, + { + "kind": "text", + "text": "\nproperty any of the collection's relation attribute names." + } + ] + }, + "type": { + "type": "reference", + "target": 512, + "typeArguments": [ + { + "type": "reference", + "target": 295, + "name": "TReturnableLinkableKeys", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "RestoreReturn", + "package": "@medusajs/types" + } + }, + { + "id": 298, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 299, + "name": "retrieveCategory", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 300, + "name": "retrieveCategory", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a product category by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The retrieved product category." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "A simple example that retrieves a product category by its ID:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst category =\n await productModuleService.retrieveCategory(\"pcat_123\")\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst category = await productModuleService.retrieveCategory(\n \"pcat_123\",\n {\n relations: [\"products\"],\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 301, + "name": "productCategoryId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the product category to retrieve." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 302, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the product category is retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a product category." + } + ] + }, + "type": { + "type": "reference", + "target": 354, + "typeArguments": [ + { + "type": "reference", + "target": 710, + "name": "ProductCategoryDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 303, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 710, + "name": "ProductCategoryDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 304, + "name": "listCategories", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 305, + "name": "listCategories", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a paginated list of product categories based on optional filters and configuration." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of product categories." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of product categories using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst categories = await productModuleService.listCategories({\n id: [\"pcat_123\", \"pcat_321\"],\n})\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the product categories:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst categories = await productModuleService.listCategories(\n {\n id: [\"pcat_123\", \"pcat_321\"],\n },\n {\n relations: [\"products\"],\n }\n)\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst categories = await productModuleService.listCategories(\n {\n id: [\"pcat_123\", \"pcat_321\"],\n },\n {\n relations: [\"products\"],\n take: 20,\n skip: 2,\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 306, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to be applied on the retrieved product categories." + } + ] + }, + "type": { + "type": "reference", + "target": 725, + "name": "FilterableProductCategoryProps", + "package": "@medusajs/types" + } + }, + { + "id": 307, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the product categories are retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a product category." + } + ] + }, + "type": { + "type": "reference", + "target": 354, + "typeArguments": [ + { + "type": "reference", + "target": 710, + "name": "ProductCategoryDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 308, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 710, + "name": "ProductCategoryDTO", + "package": "@medusajs/types" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 309, + "name": "listAndCountCategories", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 310, + "name": "listAndCountCategories", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to retrieve a paginated list of product categories along with the total count of available product categories satisfying the provided filters." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The list of product categories along with their total count." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To retrieve a list of product categories using their IDs:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [categories, count] =\n await productModuleService.listAndCountCategories({\n id: [\"pcat_123\", \"pcat_321\"],\n })\n```" + }, + { + "kind": "text", + "text": "\n\nTo specify relations that should be retrieved within the product categories:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [categories, count] =\n await productModuleService.listAndCountCategories(\n {\n id: [\"pcat_123\", \"pcat_321\"],\n },\n {\n relations: [\"products\"],\n }\n )\n```" + }, + { + "kind": "text", + "text": "\n\nBy default, only the first " + }, + { + "kind": "code", + "text": "`15`" + }, + { + "kind": "text", + "text": " records are retrieved. You can control pagination by specifying the " + }, + { + "kind": "code", + "text": "`skip`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`take`" + }, + { + "kind": "text", + "text": " properties of the " + }, + { + "kind": "code", + "text": "`config`" + }, + { + "kind": "text", + "text": " parameter:\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst [categories, count] =\n await productModuleService.listAndCountCategories(\n {\n id: [\"pcat_123\", \"pcat_321\"],\n },\n {\n relations: [\"products\"],\n take: 20,\n skip: 2,\n }\n )\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 311, + "name": "filters", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The filters to apply on the retrieved product categories." + } + ] + }, + "type": { + "type": "reference", + "target": 725, + "name": "FilterableProductCategoryProps", + "package": "@medusajs/types" + } + }, + { + "id": 312, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configurations determining how the product categories are retrieved. Its properties, such as " + }, + { + "kind": "code", + "text": "`select`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`relations`" + }, + { + "kind": "text", + "text": ", accept the\nattributes or relations associated with a product category." + } + ] + }, + "type": { + "type": "reference", + "target": 354, + "typeArguments": [ + { + "type": "reference", + "target": 710, + "name": "ProductCategoryDTO", + "package": "@medusajs/types" + } + ], + "name": "FindConfig", + "package": "@medusajs/types" + } + }, + { + "id": 313, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 710, + "name": "ProductCategoryDTO", + "package": "@medusajs/types" + } + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 314, + "name": "createCategory", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 315, + "name": "createCategory", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to create a product category." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The created product category." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst category = await productModuleService.createCategory({\n name: \"Shirts\",\n parent_category_id: null,\n})\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 316, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The product category to be created." + } + ] + }, + "type": { + "type": "reference", + "target": 737, + "name": "CreateProductCategoryDTO", + "package": "@medusajs/types" + } + }, + { + "id": 317, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 710, + "name": "ProductCategoryDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 318, + "name": "updateCategory", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 319, + "name": "updateCategory", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to update a product category by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The updated product category." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nconst category = await productModuleService.updateCategory(\n \"pcat_123\",\n {\n name: \"Shirts\",\n }\n)\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 320, + "name": "categoryId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the product category to update." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 321, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attributes to update in th product category." + } + ] + }, + "type": { + "type": "reference", + "target": 746, + "name": "UpdateProductCategoryDTO", + "package": "@medusajs/types" + } + }, + { + "id": 322, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 710, + "name": "ProductCategoryDTO", + "package": "@medusajs/types" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 323, + "name": "deleteCategory", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 324, + "name": "deleteCategory", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is used to delete a product category by its ID." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Resolves when the product category is successfully deleted." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nawait productModuleService.deleteCategory(\"pcat_123\")\n```" + } + ] + } + ] + }, + "parameters": [ + { + "id": 325, + "name": "categoryId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the product category to delete." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 326, + "name": "sharedContext", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "type": { + "type": "reference", + "target": 398, + "name": "Context", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 2, + 7, + 12, + 17, + 24, + 31, + 40, + 44, + 50, + 56, + 61, + 66, + 71, + 79, + 83, + 88, + 93, + 98, + 105, + 112, + 121, + 125, + 131, + 137, + 142, + 147, + 152, + 159, + 166, + 175, + 179, + 185, + 191, + 196, + 201, + 206, + 213, + 220, + 229, + 233, + 239, + 245, + 250, + 255, + 260, + 267, + 274, + 283, + 287, + 293, + 299, + 304, + 309, + 314, + 318, + 323 + ] + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 340, + "name": "IModuleService", + "package": "@medusajs/types" + } + ] + }, + { + "id": 875, + "name": "MessageAggregatorFormat", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 876, + "name": "groupBy", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 877, + "name": "sortBy", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 878, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "indexSignature": { + "id": 879, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "parameters": [ + { + "id": 880, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 876, + 877 + ] + } + ] + }, + { + "id": 795, + "name": "IMessageAggregator", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 796, + "name": "save", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 797, + "name": "save", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 798, + "name": "msg", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 869, + "name": "Message", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 869, + "name": "Message", + "package": "@medusajs/types" + } + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 799, + "name": "getMessages", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 800, + "name": "getMessages", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 801, + "name": "format", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 875, + "name": "MessageAggregatorFormat", + "package": "@medusajs/types" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 869, + "name": "Message", + "package": "@medusajs/types" + } + } + ], + "name": "Record", + "package": "typescript" + } + } + ] + }, + { + "id": 802, + "name": "clearMessages", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 803, + "name": "clearMessages", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 804, + "name": "saveRawMessageData", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 805, + "name": "saveRawMessageData", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 806, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "parameters": [ + { + "id": 807, + "name": "messageData", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 881, + "typeArguments": [ + { + "type": "reference", + "target": 806, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "MessageFormat", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 881, + "typeArguments": [ + { + "type": "reference", + "target": 806, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "MessageFormat", + "package": "@medusajs/types" + } + } + ] + } + }, + { + "id": 808, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 796, + 799, + 802, + 804 + ] + } + ] + }, + { + "id": 398, + "name": "Context", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A context used to share resources, such as transaction manager, between the application and the module." + } + ] + }, + "children": [ + { + "id": 399, + "name": "__type", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "literal", + "value": "MedusaContext" + } + }, + { + "id": 400, + "name": "transactionManager", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An instance of a transaction manager of type " + }, + { + "kind": "code", + "text": "`TManager`" + }, + { + "kind": "text", + "text": ", which is a typed parameter passed to the context to specify the type of the " + }, + { + "kind": "code", + "text": "`transactionManager`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "target": 409, + "name": "TManager", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + { + "id": 401, + "name": "manager", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An instance of a manager, typically an entity manager, of type " + }, + { + "kind": "code", + "text": "`TManager`" + }, + { + "kind": "text", + "text": ", which is a typed parameter passed to the context to specify the type of the " + }, + { + "kind": "code", + "text": "`manager`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "target": 409, + "name": "TManager", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + { + "id": 402, + "name": "isolationLevel", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A string indicating the isolation level of the context. Possible values are " + }, + { + "kind": "code", + "text": "`READ UNCOMMITTED`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`READ COMMITTED`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`REPEATABLE READ`" + }, + { + "kind": "text", + "text": ", or " + }, + { + "kind": "code", + "text": "`SERIALIZABLE`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 403, + "name": "enableNestedTransactions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A boolean value indicating whether nested transactions are enabled." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 404, + "name": "eventGroupId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A string indicating the ID of the group to aggregate the events to be emitted at a later point." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 405, + "name": "transactionId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A string indicating the ID of the current transaction." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 406, + "name": "messageAggregator", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point." + } + ] + }, + "type": { + "type": "reference", + "target": 795, + "name": "IMessageAggregator", + "package": "@medusajs/types" + } + }, + { + "id": 407, + "name": "requestId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A string indicating the ID of the current request." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 408, + "name": "idempotencyKey", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A string indicating the idempotencyKey of the current workflow execution." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 399, + 400, + 401, + 402, + 403, + 404, + 405, + 406, + 407, + 408 + ] + } + ], + "typeParameters": [ + { + "id": 409, + "name": "TManager", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + } + ], "groups": [ { - "title": "Enumerations", + "title": "Enumerations", + "children": [ + 783 + ] + }, + { + "title": "Interfaces", + "children": [ + 354, + 809, + 509, + 512, + 899, + 851, + 340, + 366, + 583, + 710, + 737, + 746, + 515, + 676, + 530, + 553, + 788, + 842, + 410, + 520, + 537, + 563, + 685, + 609, + 725, + 692, + 697, + 704, + 543, + 546, + 550, + 835, + 896, + 526, + 839, + 528, + 570, + 574, + 579, + 617, + 637, + 657, + 433, + 458, + 484, + 1, + 875, + 795, + 398 + ] + }, + { + "title": "Type Aliases", "children": [ - 580 + 892, + 894, + 922, + 947, + 937, + 813, + 935, + 932, + 934, + 926, + 912, + 869, + 881, + 902, + 755, + 865 ] + } + ], + "packageName": "@medusajs/types", + "symbolIdMap": { + "0": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "" + }, + "1": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService" + }, + "2": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.retrieve" + }, + "3": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.retrieve" + }, + "4": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "productId" + }, + "5": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "config" + }, + "6": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "7": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.list" + }, + "8": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.list" + }, + "9": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "filters" + }, + "10": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "config" + }, + "11": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "12": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.listAndCount" + }, + "13": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.listAndCount" + }, + "14": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "filters" + }, + "15": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "config" + }, + "16": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "17": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.create" + }, + "18": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.create" + }, + "19": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "data" + }, + "20": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "21": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.create" + }, + "22": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "data" + }, + "23": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "24": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.upsert" + }, + "25": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.upsert" + }, + "26": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "data" + }, + "27": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "28": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.upsert" + }, + "29": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "data" + }, + "30": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "31": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.update" + }, + "32": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.update" + }, + "33": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "id" + }, + "34": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "data" + }, + "35": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "36": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.update" + }, + "37": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "selector" + }, + "38": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "data" + }, + "39": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "40": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.delete" + }, + "41": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.delete" + }, + "42": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "productIds" + }, + "43": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "44": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.softDelete" + }, + "45": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.softDelete" + }, + "46": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "47": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "productIds" + }, + "48": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "config" + }, + "49": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "50": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.restore" + }, + "51": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.restore" + }, + "52": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "53": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "productIds" + }, + "54": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "config" + }, + "55": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "56": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.retrieveTag" + }, + "57": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.retrieveTag" + }, + "58": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "tagId" + }, + "59": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "config" + }, + "60": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "61": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.listTags" + }, + "62": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.listTags" + }, + "63": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "filters" + }, + "64": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "config" + }, + "65": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "66": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.listAndCountTags" + }, + "67": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.listAndCountTags" + }, + "68": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "filters" + }, + "69": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "config" + }, + "70": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "71": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.createTags" + }, + "72": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.createTags" + }, + "73": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "data" + }, + "74": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "79": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.deleteTags" + }, + "80": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.deleteTags" + }, + "81": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "productTagIds" + }, + "82": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "83": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.retrieveType" + }, + "84": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.retrieveType" + }, + "85": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "typeId" + }, + "86": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "config" + }, + "87": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "88": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.listTypes" + }, + "89": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.listTypes" + }, + "90": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "filters" + }, + "91": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "config" + }, + "92": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "93": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.listAndCountTypes" + }, + "94": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.listAndCountTypes" + }, + "95": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "filters" + }, + "96": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "config" + }, + "97": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "98": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.createTypes" + }, + "99": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.createTypes" + }, + "100": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "data" + }, + "101": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "102": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.createTypes" + }, + "103": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "data" + }, + "104": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "105": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.upsertTypes" + }, + "106": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.upsertTypes" + }, + "107": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "data" + }, + "108": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "109": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.upsertTypes" + }, + "110": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "data" + }, + "111": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "112": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.updateTypes" + }, + "113": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.updateTypes" + }, + "114": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "id" + }, + "115": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "data" + }, + "116": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "117": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.updateTypes" + }, + "118": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "selector" + }, + "119": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "data" + }, + "120": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "121": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.deleteTypes" + }, + "122": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.deleteTypes" + }, + "123": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "productTypeIds" + }, + "124": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "125": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.softDeleteTypes" + }, + "126": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.softDeleteTypes" + }, + "127": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "128": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "typeIds" + }, + "129": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "config" + }, + "130": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "131": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.restoreTypes" + }, + "132": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.restoreTypes" + }, + "133": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "TReturnableLinkableKeys" }, - { - "title": "Interfaces", - "children": [ - 225, - 599, - 547, - 550, - 669, - 635, - 217, - 236, - 346, - 446, - 468, - 476, - 293, - 421, - 308, - 326, - 585, - 625, - 277, - 298, - 313, - 333, - 428, - 372, - 458, - 434, - 439, - 318, - 322, - 303, - 305, - 339, - 342, - 632, - 401, - 381, - 484, - 515, - 1, - 659, - 590, - 266 - ] + "134": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "typeIds" }, - { - "title": "Type Aliases", - "children": [ - 665, - 667, - 692, - 717, - 707, - 603, - 705, - 702, - 704, - 696, - 682, - 653, - 672, - 553, - 649 - ] - } - ], - "packageName": "@medusajs/types", - "symbolIdMap": { - "0": { + "135": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "" + "qualifiedName": "config" }, - "1": { + "136": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService" + "qualifiedName": "sharedContext" }, - "2": { + "137": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.retrieve" + "qualifiedName": "IProductModuleService.retrieveOption" }, - "3": { + "138": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.retrieve" + "qualifiedName": "IProductModuleService.retrieveOption" }, - "4": { + "139": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "productId" + "qualifiedName": "optionId" }, - "5": { + "140": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "config" }, - "6": { + "141": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "7": { + "142": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.list" + "qualifiedName": "IProductModuleService.listOptions" }, - "8": { + "143": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.list" + "qualifiedName": "IProductModuleService.listOptions" }, - "9": { + "144": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "filters" }, - "10": { + "145": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "config" }, - "11": { + "146": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "12": { + "147": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listAndCount" + "qualifiedName": "IProductModuleService.listAndCountOptions" }, - "13": { + "148": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listAndCount" + "qualifiedName": "IProductModuleService.listAndCountOptions" }, - "14": { + "149": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "filters" + }, + "150": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "config" + }, + "151": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "152": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.createOptions" + }, + "153": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.createOptions" + }, + "154": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "data" + }, + "155": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "156": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.createOptions" + }, + "157": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "data" + }, + "158": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "159": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.upsertOptions" + }, + "160": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.upsertOptions" + }, + "161": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "data" + }, + "162": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "163": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.upsertOptions" + }, + "164": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "data" + }, + "165": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "166": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.updateOptions" + }, + "167": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.updateOptions" + }, + "168": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "id" + }, + "169": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "data" + }, + "170": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "171": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.updateOptions" + }, + "172": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "selector" + }, + "173": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "data" + }, + "174": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "175": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.deleteOptions" + }, + "176": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.deleteOptions" + }, + "177": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "productOptionIds" + }, + "178": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "179": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.softDeleteOptions" + }, + "180": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.softDeleteOptions" + }, + "181": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "182": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "optionIds" + }, + "183": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "config" + }, + "184": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "185": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.restoreOptions" + }, + "186": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.restoreOptions" + }, + "187": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "188": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "optionIds" + }, + "189": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "config" + }, + "190": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "191": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.retrieveVariant" + }, + "192": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.retrieveVariant" + }, + "193": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "productVariantId" + }, + "194": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "config" + }, + "195": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "sharedContext" + }, + "196": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.listVariants" + }, + "197": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.listVariants" + }, + "198": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "filters" }, - "15": { + "199": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "config" }, - "16": { + "200": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "17": { + "201": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.retrieveTag" + "qualifiedName": "IProductModuleService.listAndCountVariants" }, - "18": { + "202": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.retrieveTag" + "qualifiedName": "IProductModuleService.listAndCountVariants" }, - "19": { + "203": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "tagId" + "qualifiedName": "filters" }, - "20": { + "204": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "config" }, - "21": { + "205": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "22": { + "206": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listTags" + "qualifiedName": "IProductModuleService.createVariants" }, - "23": { + "207": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listTags" + "qualifiedName": "IProductModuleService.createVariants" }, - "24": { + "208": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "filters" + "qualifiedName": "data" }, - "25": { + "209": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "config" + "qualifiedName": "sharedContext" }, - "26": { + "210": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "qualifiedName": "IProductModuleService.createVariants" }, - "27": { + "211": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listAndCountTags" + "qualifiedName": "data" }, - "28": { + "212": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listAndCountTags" + "qualifiedName": "sharedContext" }, - "29": { + "213": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "filters" + "qualifiedName": "IProductModuleService.upsertVariants" }, - "30": { + "214": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "config" + "qualifiedName": "IProductModuleService.upsertVariants" }, - "31": { + "215": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "qualifiedName": "data" }, - "32": { + "216": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.createTags" + "qualifiedName": "sharedContext" }, - "33": { + "217": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.createTags" + "qualifiedName": "IProductModuleService.upsertVariants" }, - "34": { + "218": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "data" }, - "35": { + "219": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "36": { + "220": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.updateTags" + "qualifiedName": "IProductModuleService.updateVariants" }, - "37": { + "221": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "IProductModuleService.updateVariants" + }, + "222": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.updateTags" + "qualifiedName": "id" }, - "38": { + "223": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "data" }, - "39": { + "224": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "40": { + "225": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.deleteTags" + "qualifiedName": "IProductModuleService.updateVariants" }, - "41": { + "226": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.deleteTags" + "qualifiedName": "selector" }, - "42": { + "227": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "productTagIds" + "qualifiedName": "data" }, - "43": { + "228": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "44": { + "229": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.retrieveType" + "qualifiedName": "IProductModuleService.deleteVariants" }, - "45": { + "230": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.retrieveType" + "qualifiedName": "IProductModuleService.deleteVariants" }, - "46": { + "231": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "typeId" + "qualifiedName": "productVariantIds" }, - "47": { + "232": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "config" + "qualifiedName": "sharedContext" }, - "48": { + "233": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "qualifiedName": "IProductModuleService.softDeleteVariants" }, - "49": { + "234": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listTypes" + "qualifiedName": "IProductModuleService.softDeleteVariants" }, - "50": { + "235": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listTypes" + "qualifiedName": "TReturnableLinkableKeys" }, - "51": { + "236": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "filters" + "qualifiedName": "variantIds" }, - "52": { + "237": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "config" }, - "53": { + "238": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "54": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listAndCountTypes" - }, - "55": { + "239": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listAndCountTypes" + "qualifiedName": "IProductModuleService.restoreVariants" }, - "56": { + "240": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "filters" + "qualifiedName": "IProductModuleService.restoreVariants" }, - "57": { + "241": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "config" + "qualifiedName": "TReturnableLinkableKeys" }, - "58": { + "242": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "qualifiedName": "variantIds" }, - "59": { + "243": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.createTypes" + "qualifiedName": "config" }, - "60": { + "244": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.createTypes" + "qualifiedName": "sharedContext" }, - "61": { + "245": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "data" + "qualifiedName": "IProductModuleService.retrieveCollection" }, - "62": { + "246": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "qualifiedName": "IProductModuleService.retrieveCollection" }, - "63": { + "247": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.updateTypes" + "qualifiedName": "productCollectionId" }, - "64": { + "248": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.updateTypes" + "qualifiedName": "config" }, - "65": { + "249": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "data" + "qualifiedName": "sharedContext" }, - "66": { + "250": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "qualifiedName": "IProductModuleService.listCollections" }, - "67": { + "251": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.deleteTypes" + "qualifiedName": "IProductModuleService.listCollections" }, - "68": { + "252": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.deleteTypes" + "qualifiedName": "filters" }, - "69": { + "253": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "productTypeIds" + "qualifiedName": "config" }, - "70": { + "254": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "71": { + "255": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.retrieveOption" + "qualifiedName": "IProductModuleService.listAndCountCollections" }, - "72": { + "256": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.retrieveOption" + "qualifiedName": "IProductModuleService.listAndCountCollections" }, - "73": { + "257": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "optionId" + "qualifiedName": "filters" }, - "74": { + "258": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "config" }, - "75": { + "259": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "76": { + "260": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listOptions" + "qualifiedName": "IProductModuleService.createCollections" }, - "77": { + "261": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listOptions" + "qualifiedName": "IProductModuleService.createCollections" }, - "78": { + "262": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "filters" + "qualifiedName": "data" }, - "79": { + "263": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "config" + "qualifiedName": "sharedContext" }, - "80": { + "264": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "qualifiedName": "IProductModuleService.createCollections" }, - "81": { + "265": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listAndCountOptions" + "qualifiedName": "data" }, - "82": { + "266": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listAndCountOptions" + "qualifiedName": "sharedContext" }, - "83": { + "267": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "filters" + "qualifiedName": "IProductModuleService.upsertCollections" }, - "84": { + "268": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "config" + "qualifiedName": "IProductModuleService.upsertCollections" }, - "85": { + "269": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "qualifiedName": "data" }, - "86": { + "270": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.createOptions" + "qualifiedName": "sharedContext" }, - "87": { + "271": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.createOptions" + "qualifiedName": "IProductModuleService.upsertCollections" }, - "88": { + "272": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "data" }, - "89": { + "273": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "90": { + "274": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.updateOptions" + "qualifiedName": "IProductModuleService.updateCollections" }, - "91": { + "275": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.updateOptions" + "qualifiedName": "IProductModuleService.updateCollections" }, - "92": { + "276": { + "sourceFileName": "../../../packages/types/src/product/service.ts", + "qualifiedName": "id" + }, + "277": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "data" }, - "93": { + "278": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "94": { + "279": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.deleteOptions" + "qualifiedName": "IProductModuleService.updateCollections" }, - "95": { + "280": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.deleteOptions" + "qualifiedName": "selector" }, - "96": { + "281": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "productOptionIds" + "qualifiedName": "data" }, - "97": { + "282": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "98": { + "283": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.retrieveVariant" + "qualifiedName": "IProductModuleService.deleteCollections" }, - "99": { + "284": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.retrieveVariant" + "qualifiedName": "IProductModuleService.deleteCollections" }, - "100": { + "285": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "productVariantId" + "qualifiedName": "productCollectionIds" }, - "101": { + "286": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "config" + "qualifiedName": "sharedContext" }, - "102": { + "287": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "qualifiedName": "IProductModuleService.softDeleteCollections" }, - "103": { + "288": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listVariants" + "qualifiedName": "IProductModuleService.softDeleteCollections" }, - "104": { + "289": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listVariants" + "qualifiedName": "TReturnableLinkableKeys" }, - "105": { + "290": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "filters" + "qualifiedName": "collectionIds" }, - "106": { + "291": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "config" }, - "107": { + "292": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "108": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.updateVariants" - }, - "109": { + "293": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.updateVariants" + "qualifiedName": "IProductModuleService.restoreCollections" }, - "110": { + "294": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "data" + "qualifiedName": "IProductModuleService.restoreCollections" }, - "111": { + "295": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "qualifiedName": "TReturnableLinkableKeys" }, - "112": { + "296": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.createVariants" + "qualifiedName": "collectionIds" }, - "113": { + "297": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.createVariants" + "qualifiedName": "config" }, - "114": { + "298": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "data" + "qualifiedName": "sharedContext" }, - "115": { + "299": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "qualifiedName": "IProductModuleService.retrieveCategory" }, - "116": { + "300": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.deleteVariants" + "qualifiedName": "IProductModuleService.retrieveCategory" }, - "117": { + "301": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.deleteVariants" + "qualifiedName": "productCategoryId" }, - "118": { + "302": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "productVariantIds" + "qualifiedName": "config" }, - "119": { + "303": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "120": { + "304": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listAndCountVariants" + "qualifiedName": "IProductModuleService.listCategories" }, - "121": { + "305": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listAndCountVariants" + "qualifiedName": "IProductModuleService.listCategories" }, - "122": { + "306": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "filters" }, - "123": { + "307": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "config" }, - "124": { + "308": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "125": { + "309": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.retrieveCollection" + "qualifiedName": "IProductModuleService.listAndCountCategories" }, - "126": { + "310": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.retrieveCollection" + "qualifiedName": "IProductModuleService.listAndCountCategories" }, - "127": { + "311": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "productCollectionId" + "qualifiedName": "filters" }, - "128": { + "312": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "config" }, - "129": { + "313": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "130": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listCollections" - }, - "131": { + "314": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listCollections" + "qualifiedName": "IProductModuleService.createCategory" }, - "132": { + "315": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "filters" + "qualifiedName": "IProductModuleService.createCategory" }, - "133": { + "316": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "config" + "qualifiedName": "data" }, - "134": { + "317": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "135": { + "318": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listAndCountCollections" + "qualifiedName": "IProductModuleService.updateCategory" }, - "136": { + "319": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listAndCountCollections" + "qualifiedName": "IProductModuleService.updateCategory" }, - "137": { + "320": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "filters" + "qualifiedName": "categoryId" }, - "138": { + "321": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "config" + "qualifiedName": "data" }, - "139": { + "322": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "140": { + "323": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.createCollections" + "qualifiedName": "IProductModuleService.deleteCategory" }, - "141": { + "324": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.createCollections" + "qualifiedName": "IProductModuleService.deleteCategory" }, - "142": { + "325": { "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "data" + "qualifiedName": "categoryId" }, - "143": { + "326": { "sourceFileName": "../../../packages/types/src/product/service.ts", "qualifiedName": "sharedContext" }, - "144": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.updateCollections" + "340": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "IModuleService" + }, + "354": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig" + }, + "355": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig.select" + }, + "356": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig.skip" + }, + "357": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig.take" + }, + "358": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig.relations" + }, + "359": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig.order" + }, + "360": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type" + }, + "361": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "__type.__index" + }, + "363": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig.withDeleted" + }, + "364": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig.filters" + }, + "365": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig.Entity" + }, + "366": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO" + }, + "367": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.id" + }, + "368": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.title" + }, + "369": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.handle" + }, + "370": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.subtitle" + }, + "371": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.description" + }, + "372": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.is_giftcard" + }, + "373": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.status" + }, + "374": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.thumbnail" + }, + "375": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.width" + }, + "376": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.weight" }, - "145": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.updateCollections" + "377": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.length" }, - "146": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "data" + "378": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.height" }, - "147": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "379": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.origin_country" }, - "148": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.deleteCollections" + "380": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.hs_code" }, - "149": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.deleteCollections" + "381": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.mid_code" }, - "150": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "productCollectionIds" + "382": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.material" }, - "151": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "383": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.collection" }, - "152": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.retrieveCategory" + "384": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.collection_id" }, - "153": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.retrieveCategory" + "385": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.categories" }, - "154": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "productCategoryId" + "386": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.type" }, - "155": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "config" + "387": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.type_id" }, - "156": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "388": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.tags" }, - "157": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listCategories" + "389": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.variants" }, - "158": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listCategories" + "390": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.options" }, - "159": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "filters" + "391": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.images" }, - "160": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "config" + "392": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.discountable" }, - "161": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "393": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.external_id" }, - "162": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listAndCountCategories" + "394": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.created_at" }, - "163": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.listAndCountCategories" + "395": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.updated_at" }, - "164": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "filters" + "396": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.deleted_at" }, - "165": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "config" + "397": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductDTO.metadata" }, - "166": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "398": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "Context" }, - "167": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.createCategory" + "399": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "__type.__type" }, - "168": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.createCategory" + "400": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "__type.transactionManager" }, - "169": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "data" + "401": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "__type.manager" }, - "170": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "402": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "__type.isolationLevel" }, - "171": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.updateCategory" + "403": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "__type.enableNestedTransactions" }, - "172": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.updateCategory" + "404": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "__type.eventGroupId" }, - "173": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "categoryId" + "405": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "__type.transactionId" }, - "174": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "data" + "406": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "__type.messageAggregator" }, - "175": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "407": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "__type.requestId" }, - "176": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.deleteCategory" + "408": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "__type.idempotencyKey" }, - "177": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.deleteCategory" + "409": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "TManager" }, - "178": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "categoryId" + "410": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "FilterableProductProps" }, - "179": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "411": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "FilterableProductProps.q" }, - "180": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.create" + "412": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "FilterableProductProps.status" }, - "181": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.create" + "413": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "FilterableProductProps.title" }, - "182": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "data" + "414": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "FilterableProductProps.handle" }, - "183": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "415": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "FilterableProductProps.id" }, - "184": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.update" + "416": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "FilterableProductProps.is_giftcard" }, - "185": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.update" + "417": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "FilterableProductProps.tags" }, - "186": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "data" + "418": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "__type" + }, + "419": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "__type.value" }, - "187": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "420": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "FilterableProductProps.type_id" }, - "188": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.delete" + "421": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "FilterableProductProps.category_id" }, - "189": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.delete" + "422": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "FilterableProductProps.categories" }, - "190": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "productIds" + "423": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "__type" }, - "191": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "424": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "__type.id" }, - "192": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.softDelete" + "425": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "__type" }, - "193": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.softDelete" + "426": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "__type.id" }, - "194": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "TReturnableLinkableKeys" + "427": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "FilterableProductProps.collection_id" }, - "195": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "productIds" + "428": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "FilterableProductProps.created_at" }, - "196": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "config" + "429": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "FilterableProductProps.updated_at" }, - "197": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "430": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "FilterableProductProps.deleted_at" }, - "198": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.restore" + "431": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "199": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.restore" + "432": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "200": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "TReturnableLinkableKeys" + "433": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO" }, - "201": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "productIds" + "434": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.title" }, - "202": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "config" + "435": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.subtitle" }, - "203": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "436": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.description" }, - "204": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.restoreVariants" + "437": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.is_giftcard" }, - "205": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "IProductModuleService.restoreVariants" + "438": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.discountable" }, - "206": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "TReturnableLinkableKeys" + "439": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.thumbnail" }, - "207": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "variantIds" + "440": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.handle" }, - "208": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "config" + "441": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.status" }, - "209": { - "sourceFileName": "../../../packages/types/src/product/service.ts", - "qualifiedName": "sharedContext" + "442": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.images" }, - "217": { - "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", - "qualifiedName": "IModuleService" + "443": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.type_id" }, - "225": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindConfig" + "444": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.collection_id" }, - "226": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindConfig.select" + "445": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.tags" }, - "227": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindConfig.skip" + "446": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.category_ids" }, - "228": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindConfig.take" + "447": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.options" }, - "229": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindConfig.relations" + "448": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.variants" }, - "230": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindConfig.order" + "449": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.width" }, - "231": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type" + "450": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.height" }, - "232": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "__type.__index" + "451": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.length" }, - "234": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindConfig.withDeleted" + "452": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.weight" }, - "235": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "FindConfig.Entity" + "453": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductDTO.origin_country" }, - "236": { + "454": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO" + "qualifiedName": "CreateProductDTO.hs_code" }, - "237": { + "455": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.id" + "qualifiedName": "CreateProductDTO.material" }, - "238": { + "456": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.title" + "qualifiedName": "CreateProductDTO.mid_code" }, - "239": { + "457": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.handle" + "qualifiedName": "CreateProductDTO.metadata" }, - "240": { + "458": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.subtitle" + "qualifiedName": "UpsertProductDTO" }, - "241": { + "459": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.description" + "qualifiedName": "UpsertProductDTO.id" }, - "242": { + "460": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.is_giftcard" + "qualifiedName": "UpdateProductDTO.title" }, - "243": { + "461": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.status" + "qualifiedName": "UpdateProductDTO.subtitle" }, - "244": { + "462": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.thumbnail" + "qualifiedName": "UpdateProductDTO.description" }, - "245": { + "463": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.width" + "qualifiedName": "UpdateProductDTO.is_giftcard" }, - "246": { + "464": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.weight" + "qualifiedName": "UpdateProductDTO.discountable" }, - "247": { + "465": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.length" + "qualifiedName": "UpdateProductDTO.thumbnail" }, - "248": { + "466": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.height" + "qualifiedName": "UpdateProductDTO.handle" }, - "249": { + "467": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.origin_country" + "qualifiedName": "UpdateProductDTO.status" }, - "250": { + "468": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.hs_code" + "qualifiedName": "UpdateProductDTO.images" }, - "251": { + "469": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.mid_code" + "qualifiedName": "UpdateProductDTO.type_id" }, - "252": { + "470": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.material" + "qualifiedName": "UpdateProductDTO.collection_id" }, - "253": { + "471": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.collection" + "qualifiedName": "UpdateProductDTO.tags" }, - "254": { + "472": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.categories" + "qualifiedName": "UpdateProductDTO.category_ids" }, - "255": { + "473": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.type" + "qualifiedName": "UpdateProductDTO.options" }, - "256": { + "474": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.tags" + "qualifiedName": "UpdateProductDTO.variants" }, - "257": { + "475": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.variants" + "qualifiedName": "UpdateProductDTO.width" }, - "258": { + "476": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.options" + "qualifiedName": "UpdateProductDTO.height" }, - "259": { + "477": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.images" + "qualifiedName": "UpdateProductDTO.length" }, - "260": { + "478": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.discountable" + "qualifiedName": "UpdateProductDTO.weight" }, - "261": { + "479": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.external_id" + "qualifiedName": "UpdateProductDTO.origin_country" }, - "262": { + "480": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.created_at" + "qualifiedName": "UpdateProductDTO.hs_code" }, - "263": { + "481": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.updated_at" + "qualifiedName": "UpdateProductDTO.material" }, - "264": { + "482": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.deleted_at" + "qualifiedName": "UpdateProductDTO.mid_code" }, - "265": { + "483": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductDTO.metadata" + "qualifiedName": "UpdateProductDTO.metadata" }, - "266": { - "sourceFileName": "../../../packages/types/src/shared-context.ts", - "qualifiedName": "Context" + "484": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductDTO" }, - "267": { - "sourceFileName": "../../../packages/types/src/shared-context.ts", - "qualifiedName": "__type.__type" + "485": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductDTO.title" }, - "268": { - "sourceFileName": "../../../packages/types/src/shared-context.ts", - "qualifiedName": "__type.transactionManager" + "486": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductDTO.subtitle" }, - "269": { - "sourceFileName": "../../../packages/types/src/shared-context.ts", - "qualifiedName": "__type.manager" + "487": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductDTO.description" }, - "270": { - "sourceFileName": "../../../packages/types/src/shared-context.ts", - "qualifiedName": "__type.isolationLevel" + "488": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductDTO.is_giftcard" }, - "271": { - "sourceFileName": "../../../packages/types/src/shared-context.ts", - "qualifiedName": "__type.enableNestedTransactions" + "489": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductDTO.discountable" }, - "272": { - "sourceFileName": "../../../packages/types/src/shared-context.ts", - "qualifiedName": "__type.eventGroupId" + "490": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductDTO.thumbnail" }, - "273": { - "sourceFileName": "../../../packages/types/src/shared-context.ts", - "qualifiedName": "__type.transactionId" + "491": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductDTO.handle" }, - "274": { - "sourceFileName": "../../../packages/types/src/shared-context.ts", - "qualifiedName": "__type.messageAggregator" + "492": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductDTO.status" }, - "275": { - "sourceFileName": "../../../packages/types/src/shared-context.ts", - "qualifiedName": "__type.requestId" + "493": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductDTO.images" }, - "276": { - "sourceFileName": "../../../packages/types/src/shared-context.ts", - "qualifiedName": "TManager" + "494": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductDTO.type_id" }, - "277": { + "495": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductProps" + "qualifiedName": "UpdateProductDTO.collection_id" }, - "278": { + "496": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductProps.q" + "qualifiedName": "UpdateProductDTO.tags" }, - "279": { + "497": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductProps.handle" + "qualifiedName": "UpdateProductDTO.category_ids" }, - "280": { + "498": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductProps.id" + "qualifiedName": "UpdateProductDTO.options" }, - "281": { + "499": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductProps.tags" + "qualifiedName": "UpdateProductDTO.variants" }, - "282": { + "500": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "__type" + "qualifiedName": "UpdateProductDTO.width" }, - "283": { + "501": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "__type.value" + "qualifiedName": "UpdateProductDTO.height" }, - "284": { + "502": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductProps.categories" + "qualifiedName": "UpdateProductDTO.length" }, - "285": { + "503": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "__type" + "qualifiedName": "UpdateProductDTO.weight" }, - "286": { + "504": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "__type.id" + "qualifiedName": "UpdateProductDTO.origin_country" }, - "287": { + "505": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "__type.is_internal" + "qualifiedName": "UpdateProductDTO.hs_code" }, - "288": { + "506": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "__type.is_active" + "qualifiedName": "UpdateProductDTO.material" }, - "289": { + "507": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductProps.category_id" + "qualifiedName": "UpdateProductDTO.mid_code" }, - "290": { + "508": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductProps.collection_id" + "qualifiedName": "UpdateProductDTO.metadata" }, - "291": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" + "509": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "SoftDeleteReturn" }, - "292": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "510": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type.returnLinkableKeys" }, - "293": { + "511": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "512": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "RestoreReturn" + }, + "513": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "__type.returnLinkableKeys" + }, + "514": { + "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", + "qualifiedName": "TReturnableLinkableKeys" + }, + "515": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductTagDTO" }, - "294": { + "516": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductTagDTO.id" }, - "295": { + "517": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductTagDTO.value" }, - "296": { + "518": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductTagDTO.metadata" }, - "297": { + "519": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductTagDTO.products" }, - "298": { + "520": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "FilterableProductTagProps" }, - "299": { + "521": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "FilterableProductTagProps.q" + }, + "522": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "FilterableProductTagProps.id" }, - "300": { + "523": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "FilterableProductTagProps.value" }, - "301": { + "524": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$and" }, - "302": { + "525": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$or" }, - "303": { + "526": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductTagDTO" }, - "304": { + "527": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductTagDTO.value" }, - "305": { + "528": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "UpdateProductTagDTO" }, - "306": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductTagDTO.id" - }, - "307": { + "529": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "UpdateProductTagDTO.value" }, - "308": { + "530": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductTypeDTO" }, - "309": { + "531": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductTypeDTO.id" }, - "310": { + "532": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductTypeDTO.value" }, - "311": { + "533": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductTypeDTO.metadata" + }, + "534": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductTypeDTO.created_at" + }, + "535": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductTypeDTO.metadata" + "qualifiedName": "ProductTypeDTO.updated_at" }, - "312": { + "536": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductTypeDTO.deleted_at" }, - "313": { + "537": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "FilterableProductTypeProps" }, - "314": { + "538": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "FilterableProductTypeProps.q" + }, + "539": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "FilterableProductTypeProps.id" }, - "315": { + "540": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "FilterableProductTypeProps.value" }, - "316": { + "541": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$and" }, - "317": { + "542": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$or" }, - "318": { + "543": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductTypeDTO" }, - "319": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductTypeDTO.id" - }, - "320": { + "544": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductTypeDTO.value" }, - "321": { + "545": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductTypeDTO.metadata" }, - "322": { + "546": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductTypeDTO" + "qualifiedName": "UpsertProductTypeDTO" }, - "323": { + "547": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductTypeDTO.id" + "qualifiedName": "UpsertProductTypeDTO.id" }, - "324": { + "548": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "UpdateProductTypeDTO.value" }, - "325": { + "549": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "UpdateProductTypeDTO.metadata" }, - "326": { + "550": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductTypeDTO" + }, + "551": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductTypeDTO.value" + }, + "552": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductTypeDTO.metadata" + }, + "553": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionDTO" }, - "327": { + "554": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionDTO.id" }, - "328": { + "555": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionDTO.title" }, - "329": { + "556": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionDTO.product" }, - "330": { + "557": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductOptionDTO.product_id" + }, + "558": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionDTO.values" }, - "331": { + "559": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionDTO.metadata" }, - "332": { + "560": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductOptionDTO.created_at" + }, + "561": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductOptionDTO.updated_at" + }, + "562": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionDTO.deleted_at" }, - "333": { + "563": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "FilterableProductOptionProps" }, - "334": { + "564": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "FilterableProductOptionProps.q" + }, + "565": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "FilterableProductOptionProps.id" }, - "335": { + "566": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "FilterableProductOptionProps.title" }, - "336": { + "567": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "FilterableProductOptionProps.product_id" }, - "337": { + "568": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$and" }, - "338": { + "569": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$or" }, - "339": { + "570": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductOptionDTO" }, - "340": { + "571": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductOptionDTO.title" }, - "341": { + "572": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "CreateProductOptionDTO.values" + }, + "573": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductOptionDTO.product_id" }, - "342": { + "574": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpsertProductOptionDTO" + }, + "575": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductOptionDTO" + "qualifiedName": "UpsertProductOptionDTO.id" + }, + "576": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductOptionDTO.title" }, - "343": { + "577": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductOptionDTO.values" + }, + "578": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductOptionDTO.product_id" + }, + "579": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductOptionDTO.id" + "qualifiedName": "UpdateProductOptionDTO" }, - "344": { + "580": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "UpdateProductOptionDTO.title" }, - "345": { + "581": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductOptionDTO.values" + }, + "582": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "UpdateProductOptionDTO.product_id" }, - "346": { + "583": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO" }, - "347": { + "584": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.id" }, - "348": { + "585": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.title" }, - "349": { + "586": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.sku" }, - "350": { + "587": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.barcode" }, - "351": { + "588": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.ean" }, - "352": { + "589": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.upc" }, - "353": { + "590": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.inventory_quantity" }, - "354": { + "591": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.allow_backorder" }, - "355": { + "592": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.manage_inventory" }, - "356": { + "593": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.hs_code" }, - "357": { + "594": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.origin_country" }, - "358": { + "595": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.mid_code" }, - "359": { + "596": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.material" }, - "360": { + "597": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.weight" }, - "361": { + "598": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.length" }, - "362": { + "599": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.height" }, - "363": { + "600": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.width" }, - "364": { + "601": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.options" }, - "365": { + "602": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.metadata" }, - "366": { + "603": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.product" }, - "367": { + "604": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.product_id" }, - "368": { + "605": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.variant_rank" }, - "369": { + "606": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.created_at" }, - "370": { + "607": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.updated_at" }, - "371": { + "608": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductVariantDTO.deleted_at" }, - "372": { + "609": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "FilterableProductVariantProps" }, - "373": { + "610": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "FilterableProductVariantProps.q" + }, + "611": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "FilterableProductVariantProps.id" }, - "374": { + "612": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "FilterableProductVariantProps.sku" }, - "375": { + "613": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "FilterableProductVariantProps.product_id" }, - "376": { + "614": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "FilterableProductVariantProps.options" }, - "377": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "__type" - }, - "378": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "__type.id" - }, - "379": { + "615": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$and" }, - "380": { + "616": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$or" }, - "381": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO" - }, - "382": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO.id" - }, - "383": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO.title" - }, - "384": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO.sku" - }, - "385": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO.barcode" - }, - "386": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO.ean" - }, - "387": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO.upc" - }, - "388": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO.allow_backorder" - }, - "389": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO.inventory_quantity" - }, - "390": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO.manage_inventory" - }, - "391": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO.hs_code" - }, - "392": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO.origin_country" - }, - "393": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO.mid_code" - }, - "394": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO.material" - }, - "395": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO.weight" - }, - "396": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO.length" - }, - "397": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO.height" - }, - "398": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO.width" - }, - "399": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO.options" - }, - "400": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductVariantDTO.metadata" - }, - "401": { + "617": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO" }, - "402": { + "618": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO.product_id" }, - "403": { + "619": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO.title" }, - "404": { + "620": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO.sku" }, - "405": { + "621": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO.barcode" }, - "406": { + "622": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO.ean" }, - "407": { + "623": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO.upc" }, - "408": { + "624": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO.allow_backorder" }, - "409": { + "625": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO.inventory_quantity" }, - "410": { + "626": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO.manage_inventory" }, - "411": { + "627": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO.hs_code" }, - "412": { + "628": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO.origin_country" }, - "413": { + "629": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO.mid_code" }, - "414": { + "630": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO.material" }, - "415": { + "631": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO.weight" }, - "416": { + "632": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO.length" }, - "417": { + "633": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO.height" }, - "418": { + "634": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO.width" }, - "419": { + "635": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO.options" }, - "420": { + "636": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "CreateProductVariantDTO.metadata" }, - "421": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductCollectionDTO" - }, - "422": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductCollectionDTO.id" - }, - "423": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductCollectionDTO.title" - }, - "424": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductCollectionDTO.handle" - }, - "425": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductCollectionDTO.metadata" - }, - "426": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductCollectionDTO.deleted_at" - }, - "427": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductCollectionDTO.products" - }, - "428": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductCollectionProps" - }, - "429": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductCollectionProps.id" - }, - "430": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductCollectionProps.handle" - }, - "431": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductCollectionProps.title" - }, - "432": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" - }, - "433": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" - }, - "434": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductCollectionDTO" - }, - "435": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductCollectionDTO.title" - }, - "436": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductCollectionDTO.handle" - }, - "437": { + "637": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductCollectionDTO.product_ids" + "qualifiedName": "UpsertProductVariantDTO" }, - "438": { + "638": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductCollectionDTO.metadata" + "qualifiedName": "UpsertProductVariantDTO.id" }, - "439": { + "639": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductCollectionDTO" + "qualifiedName": "UpdateProductVariantDTO.title" }, - "440": { + "640": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductCollectionDTO.id" + "qualifiedName": "UpdateProductVariantDTO.sku" }, - "441": { + "641": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductCollectionDTO.value" + "qualifiedName": "UpdateProductVariantDTO.barcode" }, - "442": { + "642": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductCollectionDTO.title" + "qualifiedName": "UpdateProductVariantDTO.ean" }, - "443": { + "643": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductCollectionDTO.handle" + "qualifiedName": "UpdateProductVariantDTO.upc" }, - "444": { + "644": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductCollectionDTO.product_ids" + "qualifiedName": "UpdateProductVariantDTO.allow_backorder" }, - "445": { + "645": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductCollectionDTO.metadata" + "qualifiedName": "UpdateProductVariantDTO.inventory_quantity" }, - "446": { + "646": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductCategoryDTO" + "qualifiedName": "UpdateProductVariantDTO.manage_inventory" }, - "447": { + "647": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductCategoryDTO.id" + "qualifiedName": "UpdateProductVariantDTO.hs_code" }, - "448": { + "648": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductCategoryDTO.name" + "qualifiedName": "UpdateProductVariantDTO.origin_country" }, - "449": { + "649": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductCategoryDTO.description" + "qualifiedName": "UpdateProductVariantDTO.mid_code" }, - "450": { + "650": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductCategoryDTO.handle" + "qualifiedName": "UpdateProductVariantDTO.material" }, - "451": { + "651": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductCategoryDTO.is_active" + "qualifiedName": "UpdateProductVariantDTO.weight" }, - "452": { + "652": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductCategoryDTO.is_internal" + "qualifiedName": "UpdateProductVariantDTO.length" }, - "453": { + "653": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductCategoryDTO.rank" + "qualifiedName": "UpdateProductVariantDTO.height" }, - "454": { + "654": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductCategoryDTO.parent_category" + "qualifiedName": "UpdateProductVariantDTO.width" }, - "455": { + "655": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductCategoryDTO.category_children" + "qualifiedName": "UpdateProductVariantDTO.options" }, - "456": { + "656": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductCategoryDTO.created_at" + "qualifiedName": "UpdateProductVariantDTO.metadata" }, - "457": { + "657": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductCategoryDTO.updated_at" + "qualifiedName": "UpdateProductVariantDTO" }, - "458": { + "658": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductCategoryProps" + "qualifiedName": "UpdateProductVariantDTO.title" }, - "459": { + "659": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductCategoryProps.id" + "qualifiedName": "UpdateProductVariantDTO.sku" }, - "460": { + "660": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductCategoryProps.name" + "qualifiedName": "UpdateProductVariantDTO.barcode" }, - "461": { + "661": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductCategoryProps.parent_category_id" + "qualifiedName": "UpdateProductVariantDTO.ean" }, - "462": { + "662": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductCategoryProps.handle" + "qualifiedName": "UpdateProductVariantDTO.upc" }, - "463": { + "663": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductCategoryProps.is_active" + "qualifiedName": "UpdateProductVariantDTO.allow_backorder" }, - "464": { + "664": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductCategoryProps.is_internal" + "qualifiedName": "UpdateProductVariantDTO.inventory_quantity" }, - "465": { + "665": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "FilterableProductCategoryProps.include_descendants_tree" - }, - "466": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$and" - }, - "467": { - "sourceFileName": "../../../packages/types/src/dal/index.ts", - "qualifiedName": "BaseFilterable.$or" + "qualifiedName": "UpdateProductVariantDTO.manage_inventory" }, - "468": { + "666": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductCategoryDTO" + "qualifiedName": "UpdateProductVariantDTO.hs_code" }, - "469": { + "667": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductCategoryDTO.name" + "qualifiedName": "UpdateProductVariantDTO.origin_country" }, - "470": { + "668": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductCategoryDTO.handle" + "qualifiedName": "UpdateProductVariantDTO.mid_code" }, - "471": { + "669": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductCategoryDTO.is_active" + "qualifiedName": "UpdateProductVariantDTO.material" }, - "472": { + "670": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductCategoryDTO.is_internal" + "qualifiedName": "UpdateProductVariantDTO.weight" }, - "473": { + "671": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductCategoryDTO.rank" + "qualifiedName": "UpdateProductVariantDTO.length" }, - "474": { + "672": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductCategoryDTO.parent_category_id" + "qualifiedName": "UpdateProductVariantDTO.height" }, - "475": { + "673": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductCategoryDTO.metadata" + "qualifiedName": "UpdateProductVariantDTO.width" }, - "476": { + "674": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductCategoryDTO" + "qualifiedName": "UpdateProductVariantDTO.options" }, - "477": { + "675": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductCategoryDTO.name" + "qualifiedName": "UpdateProductVariantDTO.metadata" }, - "478": { + "676": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductCategoryDTO.handle" + "qualifiedName": "ProductCollectionDTO" }, - "479": { + "677": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductCategoryDTO.is_active" + "qualifiedName": "ProductCollectionDTO.id" }, - "480": { + "678": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductCategoryDTO.is_internal" + "qualifiedName": "ProductCollectionDTO.title" }, - "481": { + "679": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductCategoryDTO.rank" + "qualifiedName": "ProductCollectionDTO.handle" }, - "482": { + "680": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductCategoryDTO.parent_category_id" + "qualifiedName": "ProductCollectionDTO.metadata" }, - "483": { + "681": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductCategoryDTO.metadata" + "qualifiedName": "ProductCollectionDTO.created_at" }, - "484": { + "682": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO" + "qualifiedName": "ProductCollectionDTO.updated_at" }, - "485": { + "683": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.title" + "qualifiedName": "ProductCollectionDTO.deleted_at" }, - "486": { + "684": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.subtitle" + "qualifiedName": "ProductCollectionDTO.products" }, - "487": { + "685": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.description" + "qualifiedName": "FilterableProductCollectionProps" }, - "488": { + "686": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.is_giftcard" + "qualifiedName": "FilterableProductCollectionProps.q" }, - "489": { + "687": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.discountable" + "qualifiedName": "FilterableProductCollectionProps.id" }, - "490": { + "688": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.images" + "qualifiedName": "FilterableProductCollectionProps.handle" }, - "491": { + "689": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "__type" + "qualifiedName": "FilterableProductCollectionProps.title" }, - "492": { + "690": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "691": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "692": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "__type.id" + "qualifiedName": "CreateProductCollectionDTO" }, - "493": { + "693": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "__type.url" + "qualifiedName": "CreateProductCollectionDTO.title" }, - "494": { + "694": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.thumbnail" + "qualifiedName": "CreateProductCollectionDTO.handle" }, - "495": { + "695": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.handle" + "qualifiedName": "CreateProductCollectionDTO.product_ids" }, - "496": { + "696": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.status" + "qualifiedName": "CreateProductCollectionDTO.metadata" }, - "497": { + "697": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.type" + "qualifiedName": "UpsertProductCollectionDTO" }, - "498": { + "698": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.type_id" + "qualifiedName": "UpsertProductCollectionDTO.id" }, - "499": { + "699": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.collection_id" + "qualifiedName": "UpdateProductCollectionDTO.value" }, - "500": { + "700": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.tags" + "qualifiedName": "UpdateProductCollectionDTO.title" }, - "501": { + "701": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.categories" + "qualifiedName": "UpdateProductCollectionDTO.handle" }, - "502": { + "702": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "__type" + "qualifiedName": "UpdateProductCollectionDTO.product_ids" }, - "503": { + "703": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "__type.id" + "qualifiedName": "UpdateProductCollectionDTO.metadata" }, - "504": { + "704": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.options" + "qualifiedName": "UpdateProductCollectionDTO" }, - "505": { + "705": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.variants" + "qualifiedName": "UpdateProductCollectionDTO.value" }, - "506": { + "706": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.width" + "qualifiedName": "UpdateProductCollectionDTO.title" }, - "507": { + "707": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.height" + "qualifiedName": "UpdateProductCollectionDTO.handle" }, - "508": { + "708": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.length" + "qualifiedName": "UpdateProductCollectionDTO.product_ids" }, - "509": { + "709": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.weight" + "qualifiedName": "UpdateProductCollectionDTO.metadata" }, - "510": { + "710": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.origin_country" + "qualifiedName": "ProductCategoryDTO" }, - "511": { + "711": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.hs_code" + "qualifiedName": "ProductCategoryDTO.id" }, - "512": { + "712": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.material" + "qualifiedName": "ProductCategoryDTO.name" }, - "513": { + "713": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.mid_code" + "qualifiedName": "ProductCategoryDTO.description" }, - "514": { + "714": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductDTO.metadata" + "qualifiedName": "ProductCategoryDTO.handle" }, - "515": { + "715": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO" + "qualifiedName": "ProductCategoryDTO.is_active" }, - "516": { + "716": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.id" + "qualifiedName": "ProductCategoryDTO.is_internal" }, - "517": { + "717": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.title" + "qualifiedName": "ProductCategoryDTO.rank" }, - "518": { + "718": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.subtitle" + "qualifiedName": "ProductCategoryDTO.metadata" }, - "519": { + "719": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.description" + "qualifiedName": "ProductCategoryDTO.parent_category" }, - "520": { + "720": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.is_giftcard" + "qualifiedName": "ProductCategoryDTO.parent_category_id" }, - "521": { + "721": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.discountable" + "qualifiedName": "ProductCategoryDTO.category_children" }, - "522": { + "722": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.images" + "qualifiedName": "ProductCategoryDTO.products" }, - "523": { + "723": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "__type" + "qualifiedName": "ProductCategoryDTO.created_at" }, - "524": { + "724": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "__type.id" + "qualifiedName": "ProductCategoryDTO.updated_at" }, - "525": { + "725": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "__type.url" + "qualifiedName": "FilterableProductCategoryProps" }, - "526": { + "726": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.thumbnail" + "qualifiedName": "FilterableProductCategoryProps.q" }, - "527": { + "727": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.handle" + "qualifiedName": "FilterableProductCategoryProps.id" }, - "528": { + "728": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.status" + "qualifiedName": "FilterableProductCategoryProps.name" }, - "529": { + "729": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.type" + "qualifiedName": "FilterableProductCategoryProps.parent_category_id" }, - "530": { + "730": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.type_id" + "qualifiedName": "FilterableProductCategoryProps.handle" }, - "531": { + "731": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.collection_id" + "qualifiedName": "FilterableProductCategoryProps.is_active" }, - "532": { + "732": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.tags" + "qualifiedName": "FilterableProductCategoryProps.is_internal" }, - "533": { + "733": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.categories" + "qualifiedName": "FilterableProductCategoryProps.include_descendants_tree" }, - "534": { + "734": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "__type" + "qualifiedName": "FilterableProductCategoryProps.include_ancestors_tree" }, - "535": { + "735": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "736": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" + }, + "737": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "__type.id" + "qualifiedName": "CreateProductCategoryDTO" }, - "536": { + "738": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.options" + "qualifiedName": "CreateProductCategoryDTO.name" }, - "537": { + "739": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.variants" + "qualifiedName": "CreateProductCategoryDTO.description" }, - "538": { + "740": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.width" + "qualifiedName": "CreateProductCategoryDTO.handle" }, - "539": { + "741": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.height" + "qualifiedName": "CreateProductCategoryDTO.is_active" }, - "540": { + "742": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.length" + "qualifiedName": "CreateProductCategoryDTO.is_internal" }, - "541": { + "743": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.weight" + "qualifiedName": "CreateProductCategoryDTO.rank" }, - "542": { + "744": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.origin_country" + "qualifiedName": "CreateProductCategoryDTO.parent_category_id" }, - "543": { + "745": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.hs_code" + "qualifiedName": "CreateProductCategoryDTO.metadata" }, - "544": { + "746": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.material" + "qualifiedName": "UpdateProductCategoryDTO" }, - "545": { + "747": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.mid_code" + "qualifiedName": "UpdateProductCategoryDTO.name" }, - "546": { + "748": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "UpdateProductDTO.metadata" + "qualifiedName": "UpdateProductCategoryDTO.description" }, - "547": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "SoftDeleteReturn" + "749": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductCategoryDTO.handle" }, - "548": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type.returnLinkableKeys" + "750": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductCategoryDTO.is_active" }, - "549": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TReturnableLinkableKeys" + "751": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductCategoryDTO.is_internal" }, - "550": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "RestoreReturn" + "752": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductCategoryDTO.rank" }, - "551": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "__type.returnLinkableKeys" + "753": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductCategoryDTO.parent_category_id" }, - "552": { - "sourceFileName": "../../../packages/types/src/dal/repository-service.ts", - "qualifiedName": "TReturnableLinkableKeys" + "754": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductCategoryDTO.metadata" }, - "553": { + "755": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "ModuleJoinerConfig" }, - "554": { + "756": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "555": { + "757": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.schema" }, - "556": { + "758": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.relationships" }, - "557": { + "759": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.extends" }, - "558": { + "760": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "559": { + "761": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.serviceName" }, - "560": { + "762": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.fieldAlias" }, - "561": { + "763": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "562": { + "764": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.path" }, - "563": { + "765": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.forwardArgumentsOnPath" }, - "564": { + "766": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.isList" + }, + "767": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.relationship" }, - "565": { + "768": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.serviceName" }, - "566": { + "769": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.primaryKeys" }, - "567": { + "770": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.isLink" }, - "568": { + "771": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.linkableKeys" }, - "569": { + "772": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.isReadOnlyLink" }, - "570": { + "773": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.databaseConfig" }, - "571": { + "774": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "572": { + "775": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.tableName" }, - "573": { + "776": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.idPrefix" }, - "574": { + "777": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.extraFields" }, - "575": { + "778": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "576": { + "779": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.type" }, - "577": { + "780": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.defaultValue" }, - "578": { + "781": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.nullable" }, - "579": { + "782": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.options" }, - "580": { + "783": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductStatus" }, - "581": { + "784": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductStatus.DRAFT" }, - "582": { + "785": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductStatus.PROPOSED" }, - "583": { + "786": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductStatus.PUBLISHED" }, - "584": { + "787": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductStatus.REJECTED" }, - "585": { + "788": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductImageDTO" }, - "586": { + "789": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductImageDTO.id" }, - "587": { + "790": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductImageDTO.url" }, - "588": { + "791": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductImageDTO.metadata" }, - "589": { + "792": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductImageDTO.created_at" + }, + "793": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "ProductImageDTO.updated_at" + }, + "794": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductImageDTO.deleted_at" }, - "590": { + "795": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator" }, - "591": { + "796": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator.save" }, - "592": { + "797": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator.save" }, - "593": { + "798": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "msg" }, - "594": { + "799": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator.getMessages" }, - "595": { + "800": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator.getMessages" }, - "596": { + "801": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "format" }, - "597": { + "802": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator.clearMessages" }, - "598": { + "803": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "IMessageAggregator.clearMessages" }, - "599": { + "804": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "IMessageAggregator.saveRawMessageData" + }, + "805": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "IMessageAggregator.saveRawMessageData" + }, + "806": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "T" + }, + "807": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "messageData" + }, + "808": { + "sourceFileName": "../../../packages/types/src/shared-context.ts", + "qualifiedName": "options" + }, + "809": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable" }, - "600": { + "810": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$and" }, - "601": { + "811": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.$or" }, - "602": { + "812": { "sourceFileName": "../../../packages/types/src/dal/index.ts", "qualifiedName": "BaseFilterable.T" }, - "603": { + "813": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "OperatorMap" }, - "604": { + "814": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type" }, - "605": { + "815": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.$and" }, - "606": { + "816": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.$or" }, - "607": { + "817": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.$eq" }, - "608": { + "818": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.$ne" }, - "609": { + "819": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.$in" }, - "610": { + "820": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.$nin" }, - "611": { + "821": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.$not" }, - "612": { + "822": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.$gt" }, - "613": { + "823": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.$gte" }, - "614": { + "824": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.$lt" }, - "615": { + "825": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.$lte" }, - "616": { + "826": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.$like" }, - "617": { + "827": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.$re" }, - "618": { + "828": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.$ilike" }, - "619": { + "829": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.$fulltext" }, - "620": { + "830": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.$overlap" }, - "621": { + "831": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.$contains" }, - "622": { + "832": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.$contained" }, - "623": { + "833": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.$exists" }, - "624": { + "834": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "T" }, - "625": { + "835": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpsertProductImageDTO" + }, + "836": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpsertProductImageDTO.id" + }, + "837": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductImageDTO.url" + }, + "838": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductImageDTO.metadata" + }, + "839": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpsertProductTagDTO" + }, + "840": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpsertProductTagDTO.id" + }, + "841": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductTagDTO.value" + }, + "842": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionValueDTO" }, - "626": { + "843": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionValueDTO.id" }, - "627": { + "844": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionValueDTO.value" }, - "628": { + "845": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionValueDTO.option" }, - "629": { + "846": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductOptionValueDTO.variant" + "qualifiedName": "ProductOptionValueDTO.option_id" }, - "630": { + "847": { "sourceFileName": "../../../packages/types/src/product/common.ts", "qualifiedName": "ProductOptionValueDTO.metadata" }, - "631": { - "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "ProductOptionValueDTO.deleted_at" - }, - "632": { + "848": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductVariantOptionDTO" + "qualifiedName": "ProductOptionValueDTO.created_at" }, - "633": { + "849": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductVariantOptionDTO.value" + "qualifiedName": "ProductOptionValueDTO.updated_at" }, - "634": { + "850": { "sourceFileName": "../../../packages/types/src/product/common.ts", - "qualifiedName": "CreateProductVariantOptionDTO.option_id" + "qualifiedName": "ProductOptionValueDTO.deleted_at" }, - "635": { + "851": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig" }, - "636": { + "852": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.serviceName" }, - "637": { + "853": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.alias" }, - "638": { + "854": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.fieldAlias" }, - "639": { + "855": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type" }, - "640": { + "856": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.path" }, - "641": { + "857": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.forwardArgumentsOnPath" }, - "642": { + "858": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.primaryKeys" }, - "643": { + "859": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.relationships" }, - "644": { + "860": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.extends" }, - "645": { + "861": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type" }, - "646": { + "862": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.serviceName" }, - "647": { + "863": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.relationship" }, - "648": { + "864": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.args" }, - "649": { + "865": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "ModuleJoinerRelationship" }, - "650": { + "866": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "651": { + "867": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.isInternalService" }, - "652": { + "868": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.deleteCascade" }, - "653": { + "869": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "Message" }, - "654": { + "870": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type" }, - "655": { + "871": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type.eventName" }, - "656": { + "872": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type.body" }, - "657": { + "873": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type.options" }, - "658": { + "874": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "T" }, - "659": { + "875": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "MessageAggregatorFormat" }, - "660": { + "876": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "MessageAggregatorFormat.groupBy" }, - "661": { + "877": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "MessageAggregatorFormat.sortBy" }, - "662": { + "878": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type" }, - "663": { + "879": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.__index" }, - "665": { + "881": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "MessageFormat" + }, + "882": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type" + }, + "883": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.eventName" + }, + "884": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.metadata" + }, + "885": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type" + }, + "886": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.service" + }, + "887": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.action" + }, + "888": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.object" + }, + "889": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.eventGroupId" + }, + "890": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "__type.data" + }, + "891": { + "sourceFileName": "../../../packages/types/src/event-bus/common.ts", + "qualifiedName": "T" + }, + "892": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "Query" }, - "666": { + "893": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "T" }, - "667": { + "894": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "ExpandScalar" }, - "668": { + "895": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "T" }, - "669": { + "896": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductImageDTO" + }, + "897": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductImageDTO.url" + }, + "898": { + "sourceFileName": "../../../packages/types/src/product/common.ts", + "qualifiedName": "UpdateProductImageDTO.metadata" + }, + "899": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfigAlias" }, - "670": { + "900": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfigAlias.name" }, - "671": { + "901": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfigAlias.args" }, - "672": { + "902": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerRelationship" }, - "673": { + "903": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type" }, - "674": { + "904": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.alias" }, - "675": { + "905": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.foreignKey" }, - "676": { + "906": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.primaryKey" }, - "677": { + "907": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.serviceName" }, - "678": { + "908": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.isInternalService" }, - "679": { + "909": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.inverse" }, - "680": { + "910": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.isList" }, - "681": { + "911": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.args" }, - "682": { + "912": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "MessageBody" }, - "683": { + "913": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type" }, - "684": { + "914": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type.metadata" }, - "685": { + "915": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type" }, - "686": { + "916": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type.service" }, - "687": { + "917": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type.action" }, - "688": { + "918": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type.object" }, - "689": { + "919": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type.eventGroupId" }, - "690": { + "920": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "__type.data" }, - "691": { + "921": { "sourceFileName": "../../../packages/types/src/event-bus/common.ts", "qualifiedName": "T" }, - "692": { + "922": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "Scalar" }, - "693": { + "923": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type" }, - "694": { + "924": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.toHexString" }, - "695": { + "925": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.toHexString" }, - "696": { + "926": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "FilterQuery" }, - "697": { + "927": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type" }, - "698": { + "928": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.__index" }, - "700": { + "930": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "T" }, - "701": { + "931": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "Prev" }, - "702": { + "932": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "FilterValue" }, - "703": { + "933": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "T" }, - "704": { + "934": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "PrevLimit" }, - "705": { + "935": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "FilterValue2" }, - "706": { + "936": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "T" }, - "707": { + "937": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "Primary" }, - "708": { + "938": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type" }, - "709": { + "939": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.[PrimaryKeyType]" }, - "710": { + "940": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type" }, - "711": { + "941": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type._id" }, - "712": { + "942": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type" }, - "713": { + "943": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.uuid" }, - "714": { + "944": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type" }, - "715": { + "945": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "__type.id" }, - "716": { + "946": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "T" }, - "717": { + "947": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "ReadonlyPrimary" }, - "718": { + "948": { "sourceFileName": "../../../packages/types/src/dal/utils.ts", "qualifiedName": "T" } diff --git a/docs-util/typedoc-json-output/search.json b/docs-util/typedoc-json-output/search.json index 3e86d108167b2..782cf01d5541a 100644 --- a/docs-util/typedoc-json-output/search.json +++ b/docs-util/typedoc-json-output/search.json @@ -345,7 +345,7 @@ }, { "kind": "text", - "text": "\n\nAnother example of how the [MeiliSearch plugin](https://docs.medusajs.com/plugins/search/meilisearch) uses the\n" + "text": "\n\nAnother example of how the [MeiliSearch plugin](https://docs.medusajs.com/v1/plugins/search/meilisearch) uses the\n" }, { "kind": "code", @@ -982,7 +982,7 @@ "summary": [ { "kind": "text", - "text": "This method is used to search through an index by a query.\n\nIn the Medusa backend, this method is used within the [Search Products API Route](https://docs.medusajs.com/api/store#products_postproductssearch) \nto retrieve the search results. The API route's response type is an array of items, though the item's format is not defined as it depends on the\ndata returned by this method." + "text": "This method is used to search through an index by a query.\n\nIn the Medusa backend, this method is used within the [Search Products API Route](https://docs.medusajs.com/v1/api/store#products_postproductssearch) \nto retrieve the search results. The API route's response type is an array of items, though the item's format is not defined as it depends on the\ndata returned by this method." } ], "blockTags": [ diff --git a/docs-util/typedoc-json-output/services.json b/docs-util/typedoc-json-output/services.json index e8f54def8fe8b..23647e3e81ea7 100644 --- a/docs-util/typedoc-json-output/services.json +++ b/docs-util/typedoc-json-output/services.json @@ -703,7 +703,7 @@ }, "type": { "type": "reference", - "target": 6222, + "target": 6211, "name": "UserService", "package": "@medusajs/medusa" } @@ -1732,7 +1732,7 @@ }, "type": { "type": "reference", - "target": 6222, + "target": 6211, "name": "UserService", "package": "@medusajs/medusa" } @@ -1748,7 +1748,7 @@ }, "type": { "type": "reference", - "target": 747, + "target": 746, "name": "CustomerService", "package": "@medusajs/medusa" } @@ -3064,7 +3064,7 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } @@ -3080,7 +3080,7 @@ }, "type": { "type": "reference", - "target": 5557, + "target": 5546, "name": "default", "package": "@medusajs/medusa" } @@ -4223,7 +4223,7 @@ "flags": {}, "children": [ { - "id": 431, + "id": 430, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -4246,7 +4246,7 @@ } }, { - "id": 432, + "id": 431, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -4278,7 +4278,7 @@ } }, { - "id": 433, + "id": 432, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -4286,7 +4286,7 @@ "isProtected": true }, "getSignature": { - "id": 434, + "id": 433, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -4313,7 +4313,7 @@ } }, { - "id": 435, + "id": 434, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -4332,7 +4332,7 @@ } }, { - "id": 436, + "id": 435, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -4367,7 +4367,7 @@ } }, { - "id": 437, + "id": 436, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -4402,21 +4402,21 @@ } }, { - "id": 438, + "id": 437, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 439, + "id": 438, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 440, + "id": 439, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -4452,7 +4452,7 @@ } }, { - "id": 441, + "id": 440, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -4461,14 +4461,14 @@ }, "signatures": [ { - "id": 442, + "id": 441, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 443, + "id": 442, "name": "err", "variant": "param", "kind": 32768, @@ -4498,14 +4498,14 @@ { "type": "reflection", "declaration": { - "id": 444, + "id": 443, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 445, + "id": 444, "name": "code", "variant": "declaration", "kind": 1024, @@ -4520,7 +4520,7 @@ { "title": "Properties", "children": [ - 445 + 444 ] } ] @@ -4548,7 +4548,7 @@ } }, { - "id": 446, + "id": 445, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -4557,7 +4557,7 @@ }, "signatures": [ { - "id": 447, + "id": 446, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -4583,14 +4583,14 @@ }, "typeParameter": [ { - "id": 448, + "id": 447, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 449, + "id": 448, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -4599,7 +4599,7 @@ ], "parameters": [ { - "id": 450, + "id": 449, "name": "work", "variant": "param", "kind": 32768, @@ -4615,21 +4615,21 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 450, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 452, + "id": 451, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 453, + "id": 452, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -4669,7 +4669,7 @@ } }, { - "id": 454, + "id": 453, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -4699,21 +4699,21 @@ { "type": "reflection", "declaration": { - "id": 455, + "id": 454, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 456, + "id": 455, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 457, + "id": 456, "name": "error", "variant": "param", "kind": 32768, @@ -4762,7 +4762,7 @@ } }, { - "id": 458, + "id": 457, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -4780,21 +4780,21 @@ "type": { "type": "reflection", "declaration": { - "id": 459, + "id": 458, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 460, + "id": 459, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 461, + "id": 460, "name": "error", "variant": "param", "kind": 32768, @@ -5510,7 +5510,7 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } @@ -5526,7 +5526,7 @@ }, "type": { "type": "reference", - "target": 4139, + "target": 4128, "name": "ProductVariantService", "package": "@medusajs/medusa" } @@ -5542,7 +5542,7 @@ }, "type": { "type": "reference", - "target": 3484, + "target": 3473, "name": "ProductService", "package": "@medusajs/medusa" } @@ -5558,7 +5558,7 @@ }, "type": { "type": "reference", - "target": 5502, + "target": 5491, "name": "StoreService", "package": "@medusajs/medusa" } @@ -5574,7 +5574,7 @@ }, "type": { "type": "reference", - "target": 4890, + "target": 4879, "name": "SalesChannelService", "package": "@medusajs/medusa" } @@ -5590,7 +5590,7 @@ }, "type": { "type": "reference", - "target": 4612, + "target": 4601, "name": "RegionService", "package": "@medusajs/medusa" } @@ -5606,7 +5606,7 @@ }, "type": { "type": "reference", - "target": 1753, + "target": 1752, "name": "LineItemService", "package": "@medusajs/medusa" } @@ -5622,7 +5622,7 @@ }, "type": { "type": "reference", - "target": 2962, + "target": 2961, "name": "default", "package": "@medusajs/medusa" } @@ -5638,7 +5638,7 @@ }, "type": { "type": "reference", - "target": 747, + "target": 746, "name": "CustomerService", "package": "@medusajs/medusa" } @@ -5654,7 +5654,7 @@ }, "type": { "type": "reference", - "target": 5157, + "target": 5146, "name": "ShippingOptionService", "package": "@medusajs/medusa" } @@ -5670,7 +5670,7 @@ }, "type": { "type": "reference", - "target": 5273, + "target": 5262, "name": "ShippingProfileService", "package": "@medusajs/medusa" } @@ -5686,7 +5686,7 @@ }, "type": { "type": "reference", - "target": 968, + "target": 967, "name": "DiscountService", "package": "@medusajs/medusa" } @@ -5702,7 +5702,7 @@ }, "type": { "type": "reference", - "target": 1605, + "target": 1604, "name": "GiftCardService", "package": "@medusajs/medusa" } @@ -5718,7 +5718,7 @@ }, "type": { "type": "reference", - "target": 5812, + "target": 5801, "name": "TaxProviderService", "package": "@medusajs/medusa" } @@ -5734,7 +5734,7 @@ }, "type": { "type": "reference", - "target": 6079, + "target": 6068, "name": "TotalsService", "package": "@medusajs/medusa" } @@ -5750,7 +5750,7 @@ }, "type": { "type": "reference", - "target": 1998, + "target": 1997, "name": "default", "package": "@medusajs/medusa" } @@ -5766,7 +5766,7 @@ }, "type": { "type": "reference", - "target": 698, + "target": 697, "name": "CustomShippingOptionService", "package": "@medusajs/medusa" } @@ -5801,7 +5801,7 @@ }, "type": { "type": "reference", - "target": 1892, + "target": 1891, "name": "LineItemAdjustmentService", "package": "@medusajs/medusa" } @@ -5818,7 +5818,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/feature-flags/utils/flag-router.d.ts", + "sourceFileName": "../../../packages/utils/src/feature-flags/utils/flag-router.ts", "qualifiedName": "FlagRouter" }, "name": "FlagRouter", @@ -5845,24 +5845,6 @@ }, { "id": 249, - "name": "remoteLink_", - "variant": "declaration", - "kind": 1024, - "flags": { - "isProtected": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/modules-sdk/dist/remote-link.d.ts", - "qualifiedName": "RemoteLink" - }, - "name": "RemoteLink", - "package": "@medusajs/modules-sdk" - } - }, - { - "id": 250, "name": "productVariantInventoryService_", "variant": "declaration", "kind": 1024, @@ -5872,13 +5854,13 @@ }, "type": { "type": "reference", - "target": 4486, + "target": 4475, "name": "ProductVariantInventoryService", "package": "@medusajs/medusa" } }, { - "id": 251, + "id": 250, "name": "pricingService_", "variant": "declaration", "kind": 1024, @@ -5888,7 +5870,7 @@ }, "type": { "type": "reference", - "target": 3359, + "target": 3358, "name": "PricingService", "package": "@medusajs/medusa" } @@ -5944,14 +5926,14 @@ } }, { - "id": 252, + "id": 251, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 253, + "id": 252, "name": "list", "variant": "signature", "kind": 4096, @@ -5972,7 +5954,7 @@ }, "parameters": [ { - "id": 254, + "id": 253, "name": "selector", "variant": "param", "kind": 32768, @@ -5996,7 +5978,7 @@ } }, { - "id": 255, + "id": 254, "name": "config", "variant": "param", "kind": 32768, @@ -6059,14 +6041,14 @@ ] }, { - "id": 256, + "id": 255, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 257, + "id": 256, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -6092,7 +6074,7 @@ }, "parameters": [ { - "id": 258, + "id": 257, "name": "cartId", "variant": "param", "kind": 32768, @@ -6111,7 +6093,7 @@ } }, { - "id": 259, + "id": 258, "name": "options", "variant": "param", "kind": 32768, @@ -6147,7 +6129,7 @@ "defaultValue": "{}" }, { - "id": 260, + "id": 259, "name": "totalsConfig", "variant": "param", "kind": 32768, @@ -6188,7 +6170,7 @@ ] }, { - "id": 261, + "id": 260, "name": "retrieveLegacy", "variant": "declaration", "kind": 2048, @@ -6197,7 +6179,7 @@ }, "signatures": [ { - "id": 262, + "id": 261, "name": "retrieveLegacy", "variant": "signature", "kind": 4096, @@ -6215,7 +6197,7 @@ }, "parameters": [ { - "id": 263, + "id": 262, "name": "cartId", "variant": "param", "kind": 32768, @@ -6226,7 +6208,7 @@ } }, { - "id": 264, + "id": 263, "name": "options", "variant": "param", "kind": 32768, @@ -6254,7 +6236,7 @@ "defaultValue": "{}" }, { - "id": 265, + "id": 264, "name": "totalsConfig", "variant": "param", "kind": 32768, @@ -6295,21 +6277,21 @@ ] }, { - "id": 266, + "id": 265, "name": "retrieveWithTotals", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 267, + "id": 266, "name": "retrieveWithTotals", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 268, + "id": 267, "name": "cartId", "variant": "param", "kind": 32768, @@ -6320,7 +6302,7 @@ } }, { - "id": 269, + "id": 268, "name": "options", "variant": "param", "kind": 32768, @@ -6348,7 +6330,7 @@ "defaultValue": "{}" }, { - "id": 270, + "id": 269, "name": "totalsConfig", "variant": "param", "kind": 32768, @@ -6404,14 +6386,14 @@ ] }, { - "id": 271, + "id": 270, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 272, + "id": 271, "name": "create", "variant": "signature", "kind": 4096, @@ -6437,7 +6419,7 @@ }, "parameters": [ { - "id": 273, + "id": 272, "name": "data", "variant": "param", "kind": 32768, @@ -6485,7 +6467,7 @@ ] }, { - "id": 274, + "id": 273, "name": "getValidatedSalesChannel", "variant": "declaration", "kind": 2048, @@ -6494,14 +6476,14 @@ }, "signatures": [ { - "id": 275, + "id": 274, "name": "getValidatedSalesChannel", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 276, + "id": 275, "name": "salesChannelId", "variant": "param", "kind": 32768, @@ -6538,14 +6520,14 @@ ] }, { - "id": 277, + "id": 276, "name": "removeLineItem", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 278, + "id": 277, "name": "removeLineItem", "variant": "signature", "kind": 4096, @@ -6571,7 +6553,7 @@ }, "parameters": [ { - "id": 279, + "id": 278, "name": "cartId", "variant": "param", "kind": 32768, @@ -6590,7 +6572,7 @@ } }, { - "id": 280, + "id": 279, "name": "lineItemId", "variant": "param", "kind": 32768, @@ -6640,7 +6622,7 @@ ] }, { - "id": 281, + "id": 280, "name": "validateLineItemShipping_", "variant": "declaration", "kind": 2048, @@ -6649,7 +6631,7 @@ }, "signatures": [ { - "id": 282, + "id": 281, "name": "validateLineItemShipping_", "variant": "signature", "kind": 4096, @@ -6675,7 +6657,7 @@ }, "parameters": [ { - "id": 283, + "id": 282, "name": "shippingMethods", "variant": "param", "kind": 32768, @@ -6702,7 +6684,7 @@ } }, { - "id": 284, + "id": 283, "name": "lineItemShippingProfiledId", "variant": "param", "kind": 32768, @@ -6729,7 +6711,7 @@ ] }, { - "id": 285, + "id": 284, "name": "validateLineItem", "variant": "declaration", "kind": 2048, @@ -6738,7 +6720,7 @@ }, "signatures": [ { - "id": 286, + "id": 285, "name": "validateLineItem", "variant": "signature", "kind": 4096, @@ -6764,7 +6746,7 @@ }, "parameters": [ { - "id": 287, + "id": 286, "name": "sales_channel_id", "variant": "param", "kind": 32768, @@ -6780,14 +6762,14 @@ "type": { "type": "reflection", "declaration": { - "id": 288, + "id": 287, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 289, + "id": 288, "name": "sales_channel_id", "variant": "declaration", "kind": 1024, @@ -6811,7 +6793,7 @@ { "title": "Properties", "children": [ - 289 + 288 ] } ] @@ -6819,7 +6801,7 @@ } }, { - "id": 290, + "id": 289, "name": "lineItem", "variant": "param", "kind": 32768, @@ -6862,14 +6844,14 @@ ] }, { - "id": 291, + "id": 290, "name": "addLineItem", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 292, + "id": 291, "name": "addLineItem", "variant": "signature", "kind": 4096, @@ -6902,7 +6884,7 @@ "kind": "inline-tag", "tag": "@link", "text": "addOrUpdateLineItems", - "target": 298, + "target": 297, "tsLinkText": "" }, { @@ -6915,7 +6897,7 @@ }, "parameters": [ { - "id": 293, + "id": 292, "name": "cartId", "variant": "param", "kind": 32768, @@ -6934,7 +6916,7 @@ } }, { - "id": 294, + "id": 293, "name": "lineItem", "variant": "param", "kind": 32768, @@ -6958,7 +6940,7 @@ } }, { - "id": 295, + "id": 294, "name": "config", "variant": "param", "kind": 32768, @@ -6974,14 +6956,14 @@ "type": { "type": "reflection", "declaration": { - "id": 296, + "id": 295, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 297, + "id": 296, "name": "validateSalesChannels", "variant": "declaration", "kind": 1024, @@ -6997,7 +6979,7 @@ { "title": "Properties", "children": [ - 297 + 296 ] } ] @@ -7025,14 +7007,14 @@ ] }, { - "id": 298, + "id": 297, "name": "addOrUpdateLineItems", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 299, + "id": 298, "name": "addOrUpdateLineItems", "variant": "signature", "kind": 4096, @@ -7058,7 +7040,7 @@ }, "parameters": [ { - "id": 300, + "id": 299, "name": "cartId", "variant": "param", "kind": 32768, @@ -7077,7 +7059,7 @@ } }, { - "id": 301, + "id": 300, "name": "lineItems", "variant": "param", "kind": 32768, @@ -7118,7 +7100,7 @@ } }, { - "id": 302, + "id": 301, "name": "config", "variant": "param", "kind": 32768, @@ -7134,14 +7116,14 @@ "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 302, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 304, + "id": 303, "name": "validateSalesChannels", "variant": "declaration", "kind": 1024, @@ -7157,7 +7139,7 @@ { "title": "Properties", "children": [ - 304 + 303 ] } ] @@ -7185,14 +7167,14 @@ ] }, { - "id": 305, + "id": 304, "name": "updateLineItem", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 306, + "id": 305, "name": "updateLineItem", "variant": "signature", "kind": 4096, @@ -7218,7 +7200,7 @@ }, "parameters": [ { - "id": 307, + "id": 306, "name": "cartId", "variant": "param", "kind": 32768, @@ -7237,7 +7219,7 @@ } }, { - "id": 308, + "id": 307, "name": "lineItemId", "variant": "param", "kind": 32768, @@ -7256,7 +7238,7 @@ } }, { - "id": 309, + "id": 308, "name": "update", "variant": "param", "kind": 32768, @@ -7304,7 +7286,7 @@ ] }, { - "id": 310, + "id": 309, "name": "adjustFreeShipping_", "variant": "declaration", "kind": 2048, @@ -7313,7 +7295,7 @@ }, "signatures": [ { - "id": 311, + "id": 310, "name": "adjustFreeShipping_", "variant": "signature", "kind": 4096, @@ -7339,7 +7321,7 @@ }, "parameters": [ { - "id": 312, + "id": 311, "name": "cart", "variant": "param", "kind": 32768, @@ -7363,7 +7345,7 @@ } }, { - "id": 313, + "id": 312, "name": "shouldAdd", "variant": "param", "kind": 32768, @@ -7401,21 +7383,21 @@ ] }, { - "id": 314, + "id": 313, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 315, + "id": 314, "name": "update", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 316, + "id": 315, "name": "cartOrId", "variant": "param", "kind": 32768, @@ -7440,7 +7422,7 @@ } }, { - "id": 317, + "id": 316, "name": "data", "variant": "param", "kind": 32768, @@ -7480,7 +7462,7 @@ ] }, { - "id": 318, + "id": 317, "name": "onSalesChannelChange", "variant": "declaration", "kind": 2048, @@ -7489,7 +7471,7 @@ }, "signatures": [ { - "id": 319, + "id": 318, "name": "onSalesChannelChange", "variant": "signature", "kind": 4096, @@ -7517,7 +7499,7 @@ }, "parameters": [ { - "id": 320, + "id": 319, "name": "cart", "variant": "param", "kind": 32768, @@ -7541,7 +7523,7 @@ } }, { - "id": 321, + "id": 320, "name": "newSalesChannelId", "variant": "param", "kind": 32768, @@ -7579,7 +7561,7 @@ ] }, { - "id": 322, + "id": 321, "name": "updateCustomerId_", "variant": "declaration", "kind": 2048, @@ -7588,7 +7570,7 @@ }, "signatures": [ { - "id": 323, + "id": 322, "name": "updateCustomerId_", "variant": "signature", "kind": 4096, @@ -7614,7 +7596,7 @@ }, "parameters": [ { - "id": 324, + "id": 323, "name": "cart", "variant": "param", "kind": 32768, @@ -7638,7 +7620,7 @@ } }, { - "id": 325, + "id": 324, "name": "customerId", "variant": "param", "kind": 32768, @@ -7676,7 +7658,7 @@ ] }, { - "id": 326, + "id": 325, "name": "createOrFetchGuestCustomerFromEmail_", "variant": "declaration", "kind": 2048, @@ -7685,7 +7667,7 @@ }, "signatures": [ { - "id": 327, + "id": 326, "name": "createOrFetchGuestCustomerFromEmail_", "variant": "signature", "kind": 4096, @@ -7711,7 +7693,7 @@ }, "parameters": [ { - "id": 328, + "id": 327, "name": "email", "variant": "param", "kind": 32768, @@ -7754,7 +7736,7 @@ ] }, { - "id": 329, + "id": 328, "name": "updateBillingAddress_", "variant": "declaration", "kind": 2048, @@ -7763,7 +7745,7 @@ }, "signatures": [ { - "id": 330, + "id": 329, "name": "updateBillingAddress_", "variant": "signature", "kind": 4096, @@ -7789,7 +7771,7 @@ }, "parameters": [ { - "id": 331, + "id": 330, "name": "cart", "variant": "param", "kind": 32768, @@ -7813,7 +7795,7 @@ } }, { - "id": 332, + "id": 331, "name": "addressOrId", "variant": "param", "kind": 32768, @@ -7866,7 +7848,7 @@ } }, { - "id": 333, + "id": 332, "name": "addrRepo", "variant": "param", "kind": 32768, @@ -7920,7 +7902,7 @@ ] }, { - "id": 334, + "id": 333, "name": "updateShippingAddress_", "variant": "declaration", "kind": 2048, @@ -7929,7 +7911,7 @@ }, "signatures": [ { - "id": 335, + "id": 334, "name": "updateShippingAddress_", "variant": "signature", "kind": 4096, @@ -7955,7 +7937,7 @@ }, "parameters": [ { - "id": 336, + "id": 335, "name": "cart", "variant": "param", "kind": 32768, @@ -7979,7 +7961,7 @@ } }, { - "id": 337, + "id": 336, "name": "addressOrId", "variant": "param", "kind": 32768, @@ -8032,7 +8014,7 @@ } }, { - "id": 338, + "id": 337, "name": "addrRepo", "variant": "param", "kind": 32768, @@ -8086,7 +8068,7 @@ ] }, { - "id": 339, + "id": 338, "name": "applyGiftCard_", "variant": "declaration", "kind": 2048, @@ -8095,14 +8077,14 @@ }, "signatures": [ { - "id": 340, + "id": 339, "name": "applyGiftCard_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 341, + "id": 340, "name": "cart", "variant": "param", "kind": 32768, @@ -8118,7 +8100,7 @@ } }, { - "id": 342, + "id": 341, "name": "code", "variant": "param", "kind": 32768, @@ -8148,14 +8130,14 @@ ] }, { - "id": 343, + "id": 342, "name": "applyDiscount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 344, + "id": 343, "name": "applyDiscount", "variant": "signature", "kind": 4096, @@ -8170,7 +8152,7 @@ }, "parameters": [ { - "id": 345, + "id": 344, "name": "cart", "variant": "param", "kind": 32768, @@ -8194,7 +8176,7 @@ } }, { - "id": 346, + "id": 345, "name": "discountCode", "variant": "param", "kind": 32768, @@ -8232,14 +8214,14 @@ ] }, { - "id": 347, + "id": 346, "name": "applyDiscounts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 348, + "id": 347, "name": "applyDiscounts", "variant": "signature", "kind": 4096, @@ -8254,7 +8236,7 @@ }, "parameters": [ { - "id": 349, + "id": 348, "name": "cart", "variant": "param", "kind": 32768, @@ -8278,7 +8260,7 @@ } }, { - "id": 350, + "id": 349, "name": "discountCodes", "variant": "param", "kind": 32768, @@ -8319,14 +8301,14 @@ ] }, { - "id": 351, + "id": 350, "name": "removeDiscount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 352, + "id": 351, "name": "removeDiscount", "variant": "signature", "kind": 4096, @@ -8352,7 +8334,7 @@ }, "parameters": [ { - "id": 353, + "id": 352, "name": "cartId", "variant": "param", "kind": 32768, @@ -8371,7 +8353,7 @@ } }, { - "id": 354, + "id": 353, "name": "discountCode", "variant": "param", "kind": 32768, @@ -8414,14 +8396,14 @@ ] }, { - "id": 355, + "id": 354, "name": "updatePaymentSession", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 356, + "id": 355, "name": "updatePaymentSession", "variant": "signature", "kind": 4096, @@ -8447,7 +8429,7 @@ }, "parameters": [ { - "id": 357, + "id": 356, "name": "cartId", "variant": "param", "kind": 32768, @@ -8466,7 +8448,7 @@ } }, { - "id": 358, + "id": 357, "name": "update", "variant": "param", "kind": 32768, @@ -8524,14 +8506,14 @@ ] }, { - "id": 359, + "id": 358, "name": "authorizePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 360, + "id": 359, "name": "authorizePayment", "variant": "signature", "kind": 4096, @@ -8557,7 +8539,7 @@ }, "parameters": [ { - "id": 361, + "id": 360, "name": "cartOrId", "variant": "param", "kind": 32768, @@ -8605,7 +8587,7 @@ } }, { - "id": 362, + "id": 361, "name": "context", "variant": "param", "kind": 32768, @@ -8664,14 +8646,14 @@ ] }, { - "id": 363, + "id": 362, "name": "setPaymentSession", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 364, + "id": 363, "name": "setPaymentSession", "variant": "signature", "kind": 4096, @@ -8686,7 +8668,7 @@ }, "parameters": [ { - "id": 365, + "id": 364, "name": "cartId", "variant": "param", "kind": 32768, @@ -8705,7 +8687,7 @@ } }, { - "id": 366, + "id": 365, "name": "providerId", "variant": "param", "kind": 32768, @@ -8743,14 +8725,14 @@ ] }, { - "id": 367, + "id": 366, "name": "setPaymentSessions", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 368, + "id": 367, "name": "setPaymentSessions", "variant": "signature", "kind": 4096, @@ -8776,7 +8758,7 @@ }, "parameters": [ { - "id": 369, + "id": 368, "name": "cartOrCartId", "variant": "param", "kind": 32768, @@ -8843,14 +8825,14 @@ ] }, { - "id": 370, + "id": 369, "name": "deletePaymentSession", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 371, + "id": 370, "name": "deletePaymentSession", "variant": "signature", "kind": 4096, @@ -8876,7 +8858,7 @@ }, "parameters": [ { - "id": 372, + "id": 371, "name": "cartId", "variant": "param", "kind": 32768, @@ -8895,7 +8877,7 @@ } }, { - "id": 373, + "id": 372, "name": "providerId", "variant": "param", "kind": 32768, @@ -8933,14 +8915,14 @@ ] }, { - "id": 374, + "id": 373, "name": "refreshPaymentSession", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 375, + "id": 374, "name": "refreshPaymentSession", "variant": "signature", "kind": 4096, @@ -8966,7 +8948,7 @@ }, "parameters": [ { - "id": 376, + "id": 375, "name": "cartId", "variant": "param", "kind": 32768, @@ -8985,7 +8967,7 @@ } }, { - "id": 377, + "id": 376, "name": "providerId", "variant": "param", "kind": 32768, @@ -9023,14 +9005,14 @@ ] }, { - "id": 378, + "id": 377, "name": "addShippingMethod", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 379, + "id": 378, "name": "addShippingMethod", "variant": "signature", "kind": 4096, @@ -9056,7 +9038,7 @@ }, "parameters": [ { - "id": 380, + "id": 379, "name": "cartOrId", "variant": "param", "kind": 32768, @@ -9089,7 +9071,7 @@ } }, { - "id": 381, + "id": 380, "name": "optionId", "variant": "param", "kind": 32768, @@ -9108,7 +9090,7 @@ } }, { - "id": 382, + "id": 381, "name": "data", "variant": "param", "kind": 32768, @@ -9167,14 +9149,14 @@ ] }, { - "id": 383, + "id": 382, "name": "findCustomShippingOption", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 384, + "id": 383, "name": "findCustomShippingOption", "variant": "signature", "kind": 4096, @@ -9200,7 +9182,7 @@ }, "parameters": [ { - "id": 385, + "id": 384, "name": "cartCustomShippingOptions", "variant": "param", "kind": 32768, @@ -9227,7 +9209,7 @@ } }, { - "id": 386, + "id": 385, "name": "optionId", "variant": "param", "kind": 32768, @@ -9268,7 +9250,7 @@ ] }, { - "id": 387, + "id": 386, "name": "updateUnitPrices_", "variant": "declaration", "kind": 2048, @@ -9277,14 +9259,14 @@ }, "signatures": [ { - "id": 388, + "id": 387, "name": "updateUnitPrices_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 389, + "id": 388, "name": "cart", "variant": "param", "kind": 32768, @@ -9300,7 +9282,7 @@ } }, { - "id": 390, + "id": 389, "name": "regionId", "variant": "param", "kind": 32768, @@ -9313,7 +9295,7 @@ } }, { - "id": 391, + "id": 390, "name": "customer_id", "variant": "param", "kind": 32768, @@ -9345,7 +9327,7 @@ ] }, { - "id": 392, + "id": 391, "name": "setRegion_", "variant": "declaration", "kind": 2048, @@ -9354,7 +9336,7 @@ }, "signatures": [ { - "id": 393, + "id": 392, "name": "setRegion_", "variant": "signature", "kind": 4096, @@ -9380,7 +9362,7 @@ }, "parameters": [ { - "id": 394, + "id": 393, "name": "cart", "variant": "param", "kind": 32768, @@ -9404,7 +9386,7 @@ } }, { - "id": 395, + "id": 394, "name": "regionId", "variant": "param", "kind": 32768, @@ -9423,7 +9405,7 @@ } }, { - "id": 396, + "id": 395, "name": "countryCode", "variant": "param", "kind": 32768, @@ -9470,14 +9452,14 @@ ] }, { - "id": 397, + "id": 396, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 398, + "id": 397, "name": "delete", "variant": "signature", "kind": 4096, @@ -9503,7 +9485,7 @@ }, "parameters": [ { - "id": 399, + "id": 398, "name": "cartId", "variant": "param", "kind": 32768, @@ -9546,14 +9528,14 @@ ] }, { - "id": 400, + "id": 399, "name": "setMetadata", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 401, + "id": 400, "name": "setMetadata", "variant": "signature", "kind": 4096, @@ -9579,7 +9561,7 @@ }, "parameters": [ { - "id": 402, + "id": 401, "name": "cartId", "variant": "param", "kind": 32768, @@ -9598,7 +9580,7 @@ } }, { - "id": 403, + "id": 402, "name": "key", "variant": "param", "kind": 32768, @@ -9617,7 +9599,7 @@ } }, { - "id": 404, + "id": 403, "name": "value", "variant": "param", "kind": 32768, @@ -9669,21 +9651,21 @@ ] }, { - "id": 405, + "id": 404, "name": "createTaxLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 406, + "id": 405, "name": "createTaxLines", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 407, + "id": 406, "name": "cartOrId", "variant": "param", "kind": 32768, @@ -9727,21 +9709,21 @@ ] }, { - "id": 408, + "id": 407, "name": "deleteTaxLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 409, + "id": 408, "name": "deleteTaxLines", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 410, + "id": 409, "name": "id", "variant": "param", "kind": 32768, @@ -9771,21 +9753,21 @@ ] }, { - "id": 411, + "id": 410, "name": "decorateTotals", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 412, + "id": 411, "name": "decorateTotals", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 413, + "id": 412, "name": "cart", "variant": "param", "kind": 32768, @@ -9801,7 +9783,7 @@ } }, { - "id": 414, + "id": 413, "name": "totalsConfig", "variant": "param", "kind": 32768, @@ -9857,7 +9839,7 @@ ] }, { - "id": 415, + "id": 414, "name": "refreshAdjustments_", "variant": "declaration", "kind": 2048, @@ -9866,14 +9848,14 @@ }, "signatures": [ { - "id": 416, + "id": 415, "name": "refreshAdjustments_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 417, + "id": 416, "name": "cart", "variant": "param", "kind": 32768, @@ -9908,7 +9890,7 @@ ] }, { - "id": 418, + "id": 417, "name": "transformQueryForTotals_", "variant": "declaration", "kind": 2048, @@ -9917,14 +9899,14 @@ }, "signatures": [ { - "id": 419, + "id": 418, "name": "transformQueryForTotals_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 420, + "id": 419, "name": "config", "variant": "param", "kind": 32768, @@ -9977,14 +9959,14 @@ { "type": "reflection", "declaration": { - "id": 421, + "id": 420, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 422, + "id": 421, "name": "totalsToSelect", "variant": "declaration", "kind": 1024, @@ -10007,7 +9989,7 @@ { "title": "Properties", "children": [ - 422 + 421 ] } ] @@ -10019,7 +10001,7 @@ ] }, { - "id": 423, + "id": 422, "name": "decorateTotals_", "variant": "declaration", "kind": 2048, @@ -10028,7 +10010,7 @@ }, "signatures": [ { - "id": 424, + "id": 423, "name": "decorateTotals_", "variant": "signature", "kind": 4096, @@ -10051,7 +10033,7 @@ }, "parameters": [ { - "id": 425, + "id": 424, "name": "cart", "variant": "param", "kind": 32768, @@ -10067,7 +10049,7 @@ } }, { - "id": 426, + "id": 425, "name": "totalsToSelect", "variant": "param", "kind": 32768, @@ -10086,7 +10068,7 @@ } }, { - "id": 427, + "id": 426, "name": "options", "variant": "param", "kind": 32768, @@ -10127,7 +10109,7 @@ ] }, { - "id": 428, + "id": 427, "name": "getTotalsRelations", "variant": "declaration", "kind": 2048, @@ -10136,14 +10118,14 @@ }, "signatures": [ { - "id": 429, + "id": 428, "name": "getTotalsRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 430, + "id": 429, "name": "config", "variant": "param", "kind": 32768, @@ -10191,11 +10173,11 @@ { "title": "Properties", "children": [ + 430, 431, - 432, + 434, 435, 436, - 437, 200, 208, 209, @@ -10224,64 +10206,63 @@ 247, 248, 249, - 250, - 251 + 250 ] }, { "title": "Accessors", "children": [ - 433 + 432 ] }, { "title": "Methods", "children": [ - 438, - 441, - 446, - 252, - 256, - 261, - 266, - 271, - 274, - 277, - 281, - 285, - 291, - 298, - 305, - 310, - 314, - 318, - 322, - 326, - 329, - 334, - 339, - 343, - 347, - 351, - 355, - 359, - 363, - 367, - 370, - 374, - 378, - 383, - 387, - 392, - 397, - 400, - 405, - 408, - 411, - 415, - 418, - 423, - 428 + 437, + 440, + 445, + 251, + 255, + 260, + 265, + 270, + 273, + 276, + 280, + 284, + 290, + 297, + 304, + 309, + 313, + 317, + 321, + 325, + 328, + 333, + 338, + 342, + 346, + 350, + 354, + 358, + 362, + 366, + 369, + 373, + 377, + 382, + 386, + 391, + 396, + 399, + 404, + 407, + 410, + 414, + 417, + 422, + 427 ] } ], @@ -10298,14 +10279,14 @@ ] }, { - "id": 578, + "id": 577, "name": "ClaimItemService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 613, + "id": 612, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -10328,7 +10309,7 @@ } }, { - "id": 614, + "id": 613, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -10360,7 +10341,7 @@ } }, { - "id": 615, + "id": 614, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -10368,7 +10349,7 @@ "isProtected": true }, "getSignature": { - "id": 616, + "id": 615, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -10395,7 +10376,7 @@ } }, { - "id": 617, + "id": 616, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -10414,7 +10395,7 @@ } }, { - "id": 618, + "id": 617, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -10449,7 +10430,7 @@ } }, { - "id": 619, + "id": 618, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -10484,21 +10465,21 @@ } }, { - "id": 620, + "id": 619, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 621, + "id": 620, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 622, + "id": 621, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -10534,7 +10515,7 @@ } }, { - "id": 623, + "id": 622, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -10543,14 +10524,14 @@ }, "signatures": [ { - "id": 624, + "id": 623, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 625, + "id": 624, "name": "err", "variant": "param", "kind": 32768, @@ -10580,14 +10561,14 @@ { "type": "reflection", "declaration": { - "id": 626, + "id": 625, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 627, + "id": 626, "name": "code", "variant": "declaration", "kind": 1024, @@ -10602,7 +10583,7 @@ { "title": "Properties", "children": [ - 627 + 626 ] } ] @@ -10630,7 +10611,7 @@ } }, { - "id": 628, + "id": 627, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -10639,7 +10620,7 @@ }, "signatures": [ { - "id": 629, + "id": 628, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -10665,14 +10646,14 @@ }, "typeParameter": [ { - "id": 630, + "id": 629, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 631, + "id": 630, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -10681,7 +10662,7 @@ ], "parameters": [ { - "id": 632, + "id": 631, "name": "work", "variant": "param", "kind": 32768, @@ -10697,21 +10678,21 @@ "type": { "type": "reflection", "declaration": { - "id": 633, + "id": 632, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 634, + "id": 633, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 635, + "id": 634, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -10751,7 +10732,7 @@ } }, { - "id": 636, + "id": 635, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -10781,21 +10762,21 @@ { "type": "reflection", "declaration": { - "id": 637, + "id": 636, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 638, + "id": 637, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 639, + "id": 638, "name": "error", "variant": "param", "kind": 32768, @@ -10844,7 +10825,7 @@ } }, { - "id": 640, + "id": 639, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -10862,21 +10843,21 @@ "type": { "type": "reflection", "declaration": { - "id": 641, + "id": 640, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 642, + "id": 641, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 643, + "id": 642, "name": "error", "variant": "param", "kind": 32768, @@ -10955,7 +10936,7 @@ } }, { - "id": 579, + "id": 578, "name": "Events", "variant": "declaration", "kind": 1024, @@ -10965,14 +10946,14 @@ "type": { "type": "reflection", "declaration": { - "id": 580, + "id": 579, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 581, + "id": 580, "name": "CREATED", "variant": "declaration", "kind": 1024, @@ -10984,7 +10965,7 @@ "defaultValue": "\"claim_item.created\"" }, { - "id": 582, + "id": 581, "name": "UPDATED", "variant": "declaration", "kind": 1024, @@ -10996,7 +10977,7 @@ "defaultValue": "\"claim_item.updated\"" }, { - "id": 583, + "id": 582, "name": "CANCELED", "variant": "declaration", "kind": 1024, @@ -11012,9 +10993,9 @@ { "title": "Properties", "children": [ + 580, 581, - 582, - 583 + 582 ] } ] @@ -11023,7 +11004,7 @@ "defaultValue": "..." }, { - "id": 593, + "id": 592, "name": "lineItemService_", "variant": "declaration", "kind": 1024, @@ -11033,13 +11014,13 @@ }, "type": { "type": "reference", - "target": 1753, + "target": 1752, "name": "LineItemService", "package": "@medusajs/medusa" } }, { - "id": 594, + "id": 593, "name": "eventBus_", "variant": "declaration", "kind": 1024, @@ -11049,13 +11030,13 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 595, + "id": 594, "name": "claimItemRepository_", "variant": "declaration", "kind": 1024, @@ -11085,7 +11066,7 @@ } }, { - "id": 596, + "id": 595, "name": "claimTagRepository_", "variant": "declaration", "kind": 1024, @@ -11115,7 +11096,7 @@ } }, { - "id": 597, + "id": 596, "name": "claimImageRepository_", "variant": "declaration", "kind": 1024, @@ -11145,21 +11126,21 @@ } }, { - "id": 584, + "id": 583, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 585, + "id": 584, "name": "new ClaimItemService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 586, + "id": 585, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -11167,14 +11148,14 @@ "type": { "type": "reflection", "declaration": { - "id": 587, + "id": 586, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 588, + "id": 587, "name": "claimItemRepository", "variant": "declaration", "kind": 1024, @@ -11185,7 +11166,7 @@ } }, { - "id": 589, + "id": 588, "name": "claimTagRepository", "variant": "declaration", "kind": 1024, @@ -11196,7 +11177,7 @@ } }, { - "id": 590, + "id": 589, "name": "claimImageRepository", "variant": "declaration", "kind": 1024, @@ -11207,7 +11188,7 @@ } }, { - "id": 591, + "id": 590, "name": "lineItemService", "variant": "declaration", "kind": 1024, @@ -11218,7 +11199,7 @@ } }, { - "id": 592, + "id": 591, "name": "eventBusService", "variant": "declaration", "kind": 1024, @@ -11233,11 +11214,11 @@ { "title": "Properties", "children": [ + 587, 588, 589, 590, - 591, - 592 + 591 ] } ] @@ -11247,7 +11228,7 @@ ], "type": { "type": "reference", - "target": 578, + "target": 577, "name": "ClaimItemService", "package": "@medusajs/medusa" }, @@ -11265,21 +11246,21 @@ } }, { - "id": 598, + "id": 597, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 599, + "id": 598, "name": "create", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 600, + "id": 599, "name": "data", "variant": "param", "kind": 32768, @@ -11319,21 +11300,21 @@ ] }, { - "id": 601, + "id": 600, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 602, + "id": 601, "name": "update", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 603, + "id": 602, "name": "id", "variant": "param", "kind": 32768, @@ -11344,7 +11325,7 @@ } }, { - "id": 604, + "id": 603, "name": "data", "variant": "param", "kind": 32768, @@ -11379,14 +11360,14 @@ ] }, { - "id": 605, + "id": 604, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 606, + "id": 605, "name": "list", "variant": "signature", "kind": 4096, @@ -11407,7 +11388,7 @@ }, "parameters": [ { - "id": 607, + "id": 606, "name": "selector", "variant": "param", "kind": 32768, @@ -11442,7 +11423,7 @@ } }, { - "id": 608, + "id": 607, "name": "config", "variant": "param", "kind": 32768, @@ -11505,14 +11486,14 @@ ] }, { - "id": 609, + "id": 608, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 610, + "id": 609, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -11538,7 +11519,7 @@ }, "parameters": [ { - "id": 611, + "id": 610, "name": "claimItemId", "variant": "param", "kind": 32768, @@ -11557,7 +11538,7 @@ } }, { - "id": 612, + "id": 611, "name": "config", "variant": "param", "kind": 32768, @@ -11621,41 +11602,41 @@ { "title": "Constructors", "children": [ - 584 + 583 ] }, { "title": "Properties", "children": [ + 612, 613, - 614, + 616, 617, 618, - 619, - 579, + 578, + 592, 593, 594, 595, - 596, - 597 + 596 ] }, { "title": "Accessors", "children": [ - 615 + 614 ] }, { "title": "Methods", "children": [ - 620, - 623, - 628, - 598, - 601, - 605, - 609 + 619, + 622, + 627, + 597, + 600, + 604, + 608 ] } ], @@ -11672,14 +11653,14 @@ ] }, { - "id": 462, + "id": 461, "name": "ClaimService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 547, + "id": 546, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -11702,7 +11683,7 @@ } }, { - "id": 548, + "id": 547, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -11734,7 +11715,7 @@ } }, { - "id": 549, + "id": 548, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -11742,7 +11723,7 @@ "isProtected": true }, "getSignature": { - "id": 550, + "id": 549, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -11769,7 +11750,7 @@ } }, { - "id": 551, + "id": 550, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -11788,7 +11769,7 @@ } }, { - "id": 552, + "id": 551, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -11823,7 +11804,7 @@ } }, { - "id": 553, + "id": 552, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -11858,21 +11839,21 @@ } }, { - "id": 554, + "id": 553, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 555, + "id": 554, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 556, + "id": 555, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -11908,7 +11889,7 @@ } }, { - "id": 557, + "id": 556, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -11917,14 +11898,14 @@ }, "signatures": [ { - "id": 558, + "id": 557, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 559, + "id": 558, "name": "err", "variant": "param", "kind": 32768, @@ -11954,14 +11935,14 @@ { "type": "reflection", "declaration": { - "id": 560, + "id": 559, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 561, + "id": 560, "name": "code", "variant": "declaration", "kind": 1024, @@ -11976,7 +11957,7 @@ { "title": "Properties", "children": [ - 561 + 560 ] } ] @@ -12004,7 +11985,7 @@ } }, { - "id": 562, + "id": 561, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -12013,7 +11994,7 @@ }, "signatures": [ { - "id": 563, + "id": 562, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -12039,14 +12020,14 @@ }, "typeParameter": [ { - "id": 564, + "id": 563, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 565, + "id": 564, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -12055,7 +12036,7 @@ ], "parameters": [ { - "id": 566, + "id": 565, "name": "work", "variant": "param", "kind": 32768, @@ -12071,21 +12052,21 @@ "type": { "type": "reflection", "declaration": { - "id": 567, + "id": 566, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 568, + "id": 567, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 569, + "id": 568, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -12125,7 +12106,7 @@ } }, { - "id": 570, + "id": 569, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -12155,21 +12136,21 @@ { "type": "reflection", "declaration": { - "id": 571, + "id": 570, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 572, + "id": 571, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 573, + "id": 572, "name": "error", "variant": "param", "kind": 32768, @@ -12218,7 +12199,7 @@ } }, { - "id": 574, + "id": 573, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -12236,21 +12217,21 @@ "type": { "type": "reflection", "declaration": { - "id": 575, + "id": 574, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 576, + "id": 575, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 577, + "id": 576, "name": "error", "variant": "param", "kind": 32768, @@ -12329,7 +12310,7 @@ } }, { - "id": 463, + "id": 462, "name": "Events", "variant": "declaration", "kind": 1024, @@ -12340,14 +12321,14 @@ "type": { "type": "reflection", "declaration": { - "id": 464, + "id": 463, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 465, + "id": 464, "name": "CREATED", "variant": "declaration", "kind": 1024, @@ -12359,7 +12340,7 @@ "defaultValue": "\"claim.created\"" }, { - "id": 466, + "id": 465, "name": "UPDATED", "variant": "declaration", "kind": 1024, @@ -12371,7 +12352,7 @@ "defaultValue": "\"claim.updated\"" }, { - "id": 467, + "id": 466, "name": "CANCELED", "variant": "declaration", "kind": 1024, @@ -12383,7 +12364,7 @@ "defaultValue": "\"claim.canceled\"" }, { - "id": 468, + "id": 467, "name": "FULFILLMENT_CREATED", "variant": "declaration", "kind": 1024, @@ -12395,7 +12376,7 @@ "defaultValue": "\"claim.fulfillment_created\"" }, { - "id": 469, + "id": 468, "name": "SHIPMENT_CREATED", "variant": "declaration", "kind": 1024, @@ -12407,7 +12388,7 @@ "defaultValue": "\"claim.shipment_created\"" }, { - "id": 470, + "id": 469, "name": "REFUND_PROCESSED", "variant": "declaration", "kind": 1024, @@ -12423,12 +12404,12 @@ { "title": "Properties", "children": [ + 464, 465, 466, 467, 468, - 469, - 470 + 469 ] } ] @@ -12437,7 +12418,7 @@ "defaultValue": "..." }, { - "id": 474, + "id": 473, "name": "addressRepository_", "variant": "declaration", "kind": 1024, @@ -12467,7 +12448,7 @@ } }, { - "id": 475, + "id": 474, "name": "claimRepository_", "variant": "declaration", "kind": 1024, @@ -12497,7 +12478,7 @@ } }, { - "id": 476, + "id": 475, "name": "shippingMethodRepository_", "variant": "declaration", "kind": 1024, @@ -12527,7 +12508,7 @@ } }, { - "id": 477, + "id": 476, "name": "lineItemRepository_", "variant": "declaration", "kind": 1024, @@ -12561,21 +12542,21 @@ { "type": "reflection", "declaration": { - "id": 478, + "id": 477, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 479, + "id": 478, "name": "findByReturn", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 480, + "id": 479, "name": "findByReturn", "variant": "signature", "kind": 4096, @@ -12617,7 +12598,7 @@ }, "parameters": [ { - "id": 481, + "id": 480, "name": "returnId", "variant": "param", "kind": 32768, @@ -12660,14 +12641,14 @@ { "type": "reflection", "declaration": { - "id": 482, + "id": 481, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 483, + "id": 482, "name": "return_item", "variant": "declaration", "kind": 1024, @@ -12687,7 +12668,7 @@ { "title": "Properties", "children": [ - 483 + 482 ] } ] @@ -12708,7 +12689,7 @@ { "title": "Methods", "children": [ - 479 + 478 ] } ] @@ -12718,7 +12699,7 @@ } }, { - "id": 484, + "id": 483, "name": "claimItemService_", "variant": "declaration", "kind": 1024, @@ -12728,13 +12709,13 @@ }, "type": { "type": "reference", - "target": 578, + "target": 577, "name": "ClaimItemService", "package": "@medusajs/medusa" } }, { - "id": 485, + "id": 484, "name": "eventBus_", "variant": "declaration", "kind": 1024, @@ -12744,13 +12725,13 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 486, + "id": 485, "name": "fulfillmentProviderService_", "variant": "declaration", "kind": 1024, @@ -12760,13 +12741,13 @@ }, "type": { "type": "reference", - "target": 1524, + "target": 1523, "name": "FulfillmentProviderService", "package": "@medusajs/medusa" } }, { - "id": 487, + "id": 486, "name": "fulfillmentService_", "variant": "declaration", "kind": 1024, @@ -12776,13 +12757,13 @@ }, "type": { "type": "reference", - "target": 1444, + "target": 1443, "name": "FulfillmentService", "package": "@medusajs/medusa" } }, { - "id": 488, + "id": 487, "name": "lineItemService_", "variant": "declaration", "kind": 1024, @@ -12792,13 +12773,13 @@ }, "type": { "type": "reference", - "target": 1753, + "target": 1752, "name": "LineItemService", "package": "@medusajs/medusa" } }, { - "id": 489, + "id": 488, "name": "paymentProviderService_", "variant": "declaration", "kind": 1024, @@ -12808,13 +12789,13 @@ }, "type": { "type": "reference", - "target": 2962, + "target": 2961, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 490, + "id": 489, "name": "regionService_", "variant": "declaration", "kind": 1024, @@ -12824,13 +12805,13 @@ }, "type": { "type": "reference", - "target": 4612, + "target": 4601, "name": "RegionService", "package": "@medusajs/medusa" } }, { - "id": 491, + "id": 490, "name": "returnService_", "variant": "declaration", "kind": 1024, @@ -12840,13 +12821,13 @@ }, "type": { "type": "reference", - "target": 4733, + "target": 4722, "name": "ReturnService", "package": "@medusajs/medusa" } }, { - "id": 492, + "id": 491, "name": "shippingOptionService_", "variant": "declaration", "kind": 1024, @@ -12856,13 +12837,13 @@ }, "type": { "type": "reference", - "target": 5157, + "target": 5146, "name": "ShippingOptionService", "package": "@medusajs/medusa" } }, { - "id": 493, + "id": 492, "name": "taxProviderService_", "variant": "declaration", "kind": 1024, @@ -12872,13 +12853,13 @@ }, "type": { "type": "reference", - "target": 5812, + "target": 5801, "name": "TaxProviderService", "package": "@medusajs/medusa" } }, { - "id": 494, + "id": 493, "name": "totalsService_", "variant": "declaration", "kind": 1024, @@ -12888,13 +12869,13 @@ }, "type": { "type": "reference", - "target": 6079, + "target": 6068, "name": "TotalsService", "package": "@medusajs/medusa" } }, { - "id": 495, + "id": 494, "name": "productVariantInventoryService_", "variant": "declaration", "kind": 1024, @@ -12904,27 +12885,27 @@ }, "type": { "type": "reference", - "target": 4486, + "target": 4475, "name": "ProductVariantInventoryService", "package": "@medusajs/medusa" } }, { - "id": 471, + "id": 470, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 472, + "id": 471, "name": "new ClaimService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 473, + "id": 472, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -12942,7 +12923,7 @@ ], "type": { "type": "reference", - "target": 462, + "target": 461, "name": "default", "package": "@medusajs/medusa" }, @@ -12960,21 +12941,21 @@ } }, { - "id": 496, + "id": 495, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 497, + "id": 496, "name": "update", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 498, + "id": 497, "name": "id", "variant": "param", "kind": 32768, @@ -12985,7 +12966,7 @@ } }, { - "id": 499, + "id": 498, "name": "data", "variant": "param", "kind": 32768, @@ -13025,7 +13006,7 @@ ] }, { - "id": 500, + "id": 499, "name": "validateCreateClaimInput", "variant": "declaration", "kind": 2048, @@ -13034,14 +13015,14 @@ }, "signatures": [ { - "id": 501, + "id": 500, "name": "validateCreateClaimInput", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 502, + "id": 501, "name": "data", "variant": "param", "kind": 32768, @@ -13076,7 +13057,7 @@ ] }, { - "id": 503, + "id": 502, "name": "getRefundTotalForClaimLinesOnOrder", "variant": "declaration", "kind": 2048, @@ -13085,7 +13066,7 @@ }, "signatures": [ { - "id": 504, + "id": 503, "name": "getRefundTotalForClaimLinesOnOrder", "variant": "signature", "kind": 4096, @@ -13111,7 +13092,7 @@ }, "parameters": [ { - "id": 505, + "id": 504, "name": "order", "variant": "param", "kind": 32768, @@ -13135,7 +13116,7 @@ } }, { - "id": 506, + "id": 505, "name": "claimItems", "variant": "param", "kind": 32768, @@ -13181,14 +13162,14 @@ ] }, { - "id": 507, + "id": 506, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 508, + "id": 507, "name": "create", "variant": "signature", "kind": 4096, @@ -13214,7 +13195,7 @@ }, "parameters": [ { - "id": 509, + "id": 508, "name": "data", "variant": "param", "kind": 32768, @@ -13262,14 +13243,14 @@ ] }, { - "id": 510, + "id": 509, "name": "createFulfillment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 511, + "id": 510, "name": "createFulfillment", "variant": "signature", "kind": 4096, @@ -13290,7 +13271,7 @@ }, "parameters": [ { - "id": 512, + "id": 511, "name": "id", "variant": "param", "kind": 32768, @@ -13309,7 +13290,7 @@ } }, { - "id": 513, + "id": 512, "name": "config", "variant": "param", "kind": 32768, @@ -13325,14 +13306,14 @@ "type": { "type": "reflection", "declaration": { - "id": 514, + "id": 513, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 515, + "id": 514, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -13368,7 +13349,7 @@ } }, { - "id": 516, + "id": 515, "name": "no_notification", "variant": "declaration", "kind": 1024, @@ -13389,7 +13370,7 @@ } }, { - "id": 517, + "id": 516, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -13406,9 +13387,9 @@ { "title": "Properties", "children": [ + 514, 515, - 516, - 517 + 516 ] } ] @@ -13441,21 +13422,21 @@ ] }, { - "id": 518, + "id": 517, "name": "cancelFulfillment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 519, + "id": 518, "name": "cancelFulfillment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 520, + "id": 519, "name": "fulfillmentId", "variant": "param", "kind": 32768, @@ -13490,21 +13471,21 @@ ] }, { - "id": 521, + "id": 520, "name": "processRefund", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 522, + "id": 521, "name": "processRefund", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 523, + "id": 522, "name": "id", "variant": "param", "kind": 32768, @@ -13539,21 +13520,21 @@ ] }, { - "id": 524, + "id": 523, "name": "createShipment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 525, + "id": 524, "name": "createShipment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 526, + "id": 525, "name": "id", "variant": "param", "kind": 32768, @@ -13564,7 +13545,7 @@ } }, { - "id": 527, + "id": 526, "name": "fulfillmentId", "variant": "param", "kind": 32768, @@ -13575,7 +13556,7 @@ } }, { - "id": 528, + "id": 527, "name": "trackingLinks", "variant": "param", "kind": 32768, @@ -13585,14 +13566,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 529, + "id": 528, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 530, + "id": 529, "name": "tracking_number", "variant": "declaration", "kind": 1024, @@ -13607,7 +13588,7 @@ { "title": "Properties", "children": [ - 530 + 529 ] } ] @@ -13617,7 +13598,7 @@ "defaultValue": "[]" }, { - "id": 531, + "id": 530, "name": "config", "variant": "param", "kind": 32768, @@ -13625,14 +13606,14 @@ "type": { "type": "reflection", "declaration": { - "id": 532, + "id": 531, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 533, + "id": 532, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -13640,7 +13621,7 @@ "type": { "type": "reflection", "declaration": { - "id": 534, + "id": 533, "name": "__type", "variant": "declaration", "kind": 65536, @@ -13650,7 +13631,7 @@ "defaultValue": "{}" }, { - "id": 535, + "id": 534, "name": "no_notification", "variant": "declaration", "kind": 1024, @@ -13666,8 +13647,8 @@ { "title": "Properties", "children": [ - 533, - 535 + 532, + 534 ] } ] @@ -13700,21 +13681,21 @@ ] }, { - "id": 536, + "id": 535, "name": "cancel", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 537, + "id": 536, "name": "cancel", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 538, + "id": 537, "name": "id", "variant": "param", "kind": 32768, @@ -13749,14 +13730,14 @@ ] }, { - "id": 539, + "id": 538, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 540, + "id": 539, "name": "list", "variant": "signature", "kind": 4096, @@ -13777,7 +13758,7 @@ }, "parameters": [ { - "id": 541, + "id": 540, "name": "selector", "variant": "param", "kind": 32768, @@ -13796,7 +13777,7 @@ } }, { - "id": 542, + "id": 541, "name": "config", "variant": "param", "kind": 32768, @@ -13859,14 +13840,14 @@ ] }, { - "id": 543, + "id": 542, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 544, + "id": 543, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -13892,7 +13873,7 @@ }, "parameters": [ { - "id": 545, + "id": 544, "name": "claimId", "variant": "param", "kind": 32768, @@ -13911,7 +13892,7 @@ } }, { - "id": 546, + "id": 545, "name": "config", "variant": "param", "kind": 32768, @@ -13975,22 +13956,23 @@ { "title": "Constructors", "children": [ - 471 + 470 ] }, { "title": "Properties", "children": [ + 546, 547, - 548, + 550, 551, 552, - 553, - 463, + 462, + 473, 474, 475, 476, - 477, + 483, 484, 485, 486, @@ -14001,33 +13983,32 @@ 491, 492, 493, - 494, - 495 + 494 ] }, { "title": "Accessors", "children": [ - 549 + 548 ] }, { "title": "Methods", "children": [ - 554, - 557, - 562, - 496, - 500, - 503, - 507, - 510, - 518, - 521, - 524, - 536, - 539, - 543 + 553, + 556, + 561, + 495, + 499, + 502, + 506, + 509, + 517, + 520, + 523, + 535, + 538, + 542 ] } ], @@ -14044,14 +14025,14 @@ ] }, { - "id": 644, + "id": 643, "name": "CurrencyService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 667, + "id": 666, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -14074,7 +14055,7 @@ } }, { - "id": 668, + "id": 667, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -14106,7 +14087,7 @@ } }, { - "id": 669, + "id": 668, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -14114,7 +14095,7 @@ "isProtected": true }, "getSignature": { - "id": 670, + "id": 669, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -14141,7 +14122,7 @@ } }, { - "id": 671, + "id": 670, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -14160,7 +14141,7 @@ } }, { - "id": 672, + "id": 671, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -14195,7 +14176,7 @@ } }, { - "id": 673, + "id": 672, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -14230,21 +14211,21 @@ } }, { - "id": 674, + "id": 673, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 675, + "id": 674, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 676, + "id": 675, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -14280,7 +14261,7 @@ } }, { - "id": 677, + "id": 676, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -14289,14 +14270,14 @@ }, "signatures": [ { - "id": 678, + "id": 677, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 679, + "id": 678, "name": "err", "variant": "param", "kind": 32768, @@ -14326,14 +14307,14 @@ { "type": "reflection", "declaration": { - "id": 680, + "id": 679, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 681, + "id": 680, "name": "code", "variant": "declaration", "kind": 1024, @@ -14348,7 +14329,7 @@ { "title": "Properties", "children": [ - 681 + 680 ] } ] @@ -14376,7 +14357,7 @@ } }, { - "id": 682, + "id": 681, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -14385,7 +14366,7 @@ }, "signatures": [ { - "id": 683, + "id": 682, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -14411,14 +14392,14 @@ }, "typeParameter": [ { - "id": 684, + "id": 683, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 685, + "id": 684, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -14427,7 +14408,7 @@ ], "parameters": [ { - "id": 686, + "id": 685, "name": "work", "variant": "param", "kind": 32768, @@ -14443,21 +14424,21 @@ "type": { "type": "reflection", "declaration": { - "id": 687, + "id": 686, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 688, + "id": 687, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 689, + "id": 688, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -14497,7 +14478,7 @@ } }, { - "id": 690, + "id": 689, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -14527,21 +14508,21 @@ { "type": "reflection", "declaration": { - "id": 691, + "id": 690, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 692, + "id": 691, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 693, + "id": 692, "name": "error", "variant": "param", "kind": 32768, @@ -14590,7 +14571,7 @@ } }, { - "id": 694, + "id": 693, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -14608,21 +14589,21 @@ "type": { "type": "reflection", "declaration": { - "id": 695, + "id": 694, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 696, + "id": 695, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 697, + "id": 696, "name": "error", "variant": "param", "kind": 32768, @@ -14701,7 +14682,7 @@ } }, { - "id": 645, + "id": 644, "name": "Events", "variant": "declaration", "kind": 1024, @@ -14712,14 +14693,14 @@ "type": { "type": "reflection", "declaration": { - "id": 646, + "id": 645, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 647, + "id": 646, "name": "UPDATED", "variant": "declaration", "kind": 1024, @@ -14735,7 +14716,7 @@ { "title": "Properties", "children": [ - 647 + 646 ] } ] @@ -14744,7 +14725,7 @@ "defaultValue": "..." }, { - "id": 651, + "id": 650, "name": "currencyRepository_", "variant": "declaration", "kind": 1024, @@ -14774,7 +14755,7 @@ } }, { - "id": 652, + "id": 651, "name": "eventBusService_", "variant": "declaration", "kind": 1024, @@ -14784,13 +14765,13 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 653, + "id": 652, "name": "featureFlagRouter_", "variant": "declaration", "kind": 1024, @@ -14801,7 +14782,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/feature-flags/utils/flag-router.d.ts", + "sourceFileName": "../../../packages/utils/src/feature-flags/utils/flag-router.ts", "qualifiedName": "FlagRouter" }, "name": "FlagRouter", @@ -14809,21 +14790,21 @@ } }, { - "id": 648, + "id": 647, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 649, + "id": 648, "name": "new CurrencyService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 650, + "id": 649, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -14841,7 +14822,7 @@ ], "type": { "type": "reference", - "target": 644, + "target": 643, "name": "default", "package": "@medusajs/medusa" }, @@ -14859,14 +14840,14 @@ } }, { - "id": 654, + "id": 653, "name": "retrieveByCode", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 655, + "id": 654, "name": "retrieveByCode", "variant": "signature", "kind": 4096, @@ -14892,7 +14873,7 @@ }, "parameters": [ { - "id": 656, + "id": 655, "name": "code", "variant": "param", "kind": 32768, @@ -14935,14 +14916,14 @@ ] }, { - "id": 657, + "id": 656, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 658, + "id": 657, "name": "listAndCount", "variant": "signature", "kind": 4096, @@ -14968,7 +14949,7 @@ }, "parameters": [ { - "id": 659, + "id": 658, "name": "selector", "variant": "param", "kind": 32768, @@ -15007,14 +14988,14 @@ { "type": "reflection", "declaration": { - "id": 660, + "id": 659, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 661, + "id": 660, "name": "q", "variant": "declaration", "kind": 1024, @@ -15031,7 +15012,7 @@ { "title": "Properties", "children": [ - 661 + 660 ] } ] @@ -15041,7 +15022,7 @@ } }, { - "id": 662, + "id": 661, "name": "config", "variant": "param", "kind": 32768, @@ -15113,14 +15094,14 @@ ] }, { - "id": 663, + "id": 662, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 664, + "id": 663, "name": "update", "variant": "signature", "kind": 4096, @@ -15146,7 +15127,7 @@ }, "parameters": [ { - "id": 665, + "id": 664, "name": "code", "variant": "param", "kind": 32768, @@ -15165,7 +15146,7 @@ } }, { - "id": 666, + "id": 665, "name": "data", "variant": "param", "kind": 32768, @@ -15226,38 +15207,38 @@ { "title": "Constructors", "children": [ - 648 + 647 ] }, { "title": "Properties", "children": [ + 666, 667, - 668, + 670, 671, 672, - 673, - 645, + 644, + 650, 651, - 652, - 653 + 652 ] }, { "title": "Accessors", "children": [ - 669 + 668 ] }, { "title": "Methods", "children": [ - 674, - 677, - 682, - 654, - 657, - 663 + 673, + 676, + 681, + 653, + 656, + 662 ] } ], @@ -15274,14 +15255,14 @@ ] }, { - "id": 698, + "id": 697, "name": "CustomShippingOptionService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 716, + "id": 715, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -15304,7 +15285,7 @@ } }, { - "id": 717, + "id": 716, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -15336,7 +15317,7 @@ } }, { - "id": 718, + "id": 717, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -15344,7 +15325,7 @@ "isProtected": true }, "getSignature": { - "id": 719, + "id": 718, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -15371,7 +15352,7 @@ } }, { - "id": 720, + "id": 719, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -15390,7 +15371,7 @@ } }, { - "id": 721, + "id": 720, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -15425,7 +15406,7 @@ } }, { - "id": 722, + "id": 721, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -15460,21 +15441,21 @@ } }, { - "id": 723, + "id": 722, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 724, + "id": 723, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 725, + "id": 724, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -15510,7 +15491,7 @@ } }, { - "id": 726, + "id": 725, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -15519,14 +15500,14 @@ }, "signatures": [ { - "id": 727, + "id": 726, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 728, + "id": 727, "name": "err", "variant": "param", "kind": 32768, @@ -15556,14 +15537,14 @@ { "type": "reflection", "declaration": { - "id": 729, + "id": 728, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 730, + "id": 729, "name": "code", "variant": "declaration", "kind": 1024, @@ -15578,7 +15559,7 @@ { "title": "Properties", "children": [ - 730 + 729 ] } ] @@ -15606,7 +15587,7 @@ } }, { - "id": 731, + "id": 730, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -15615,7 +15596,7 @@ }, "signatures": [ { - "id": 732, + "id": 731, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -15641,14 +15622,14 @@ }, "typeParameter": [ { - "id": 733, + "id": 732, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 734, + "id": 733, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -15657,7 +15638,7 @@ ], "parameters": [ { - "id": 735, + "id": 734, "name": "work", "variant": "param", "kind": 32768, @@ -15673,21 +15654,21 @@ "type": { "type": "reflection", "declaration": { - "id": 736, + "id": 735, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 737, + "id": 736, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 738, + "id": 737, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -15727,7 +15708,7 @@ } }, { - "id": 739, + "id": 738, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -15757,21 +15738,21 @@ { "type": "reflection", "declaration": { - "id": 740, + "id": 739, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 741, + "id": 740, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 742, + "id": 741, "name": "error", "variant": "param", "kind": 32768, @@ -15820,7 +15801,7 @@ } }, { - "id": 743, + "id": 742, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -15838,21 +15819,21 @@ "type": { "type": "reflection", "declaration": { - "id": 744, + "id": 743, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 745, + "id": 744, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 746, + "id": 745, "name": "error", "variant": "param", "kind": 32768, @@ -15931,7 +15912,7 @@ } }, { - "id": 702, + "id": 701, "name": "customShippingOptionRepository_", "variant": "declaration", "kind": 1024, @@ -15960,21 +15941,21 @@ } }, { - "id": 699, + "id": 698, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 700, + "id": 699, "name": "new CustomShippingOptionService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 701, + "id": 700, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -15992,7 +15973,7 @@ ], "type": { "type": "reference", - "target": 698, + "target": 697, "name": "CustomShippingOptionService", "package": "@medusajs/medusa" }, @@ -16010,14 +15991,14 @@ } }, { - "id": 703, + "id": 702, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 704, + "id": 703, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -16043,7 +16024,7 @@ }, "parameters": [ { - "id": 705, + "id": 704, "name": "id", "variant": "param", "kind": 32768, @@ -16062,7 +16043,7 @@ } }, { - "id": 706, + "id": 705, "name": "config", "variant": "param", "kind": 32768, @@ -16122,14 +16103,14 @@ ] }, { - "id": 707, + "id": 706, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 708, + "id": 707, "name": "list", "variant": "signature", "kind": 4096, @@ -16155,7 +16136,7 @@ }, "parameters": [ { - "id": 709, + "id": 708, "name": "selector", "variant": "param", "kind": 32768, @@ -16190,7 +16171,7 @@ } }, { - "id": 710, + "id": 709, "name": "config", "variant": "param", "kind": 32768, @@ -16253,14 +16234,14 @@ ] }, { - "id": 711, + "id": 710, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 712, + "id": 711, "name": "create", "variant": "signature", "kind": 4096, @@ -16286,7 +16267,7 @@ }, "typeParameter": [ { - "id": 713, + "id": 712, "name": "T", "variant": "typeParam", "kind": 131072, @@ -16319,7 +16300,7 @@ } }, { - "id": 714, + "id": 713, "name": "TResult", "variant": "typeParam", "kind": 131072, @@ -16328,7 +16309,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 713, + "target": 712, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -16371,7 +16352,7 @@ ], "parameters": [ { - "id": 715, + "id": 714, "name": "data", "variant": "param", "kind": 32768, @@ -16386,7 +16367,7 @@ }, "type": { "type": "reference", - "target": 713, + "target": 712, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -16402,7 +16383,7 @@ "typeArguments": [ { "type": "reference", - "target": 714, + "target": 713, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -16419,35 +16400,35 @@ { "title": "Constructors", "children": [ - 699 + 698 ] }, { "title": "Properties", "children": [ + 715, 716, - 717, + 719, 720, 721, - 722, - 702 + 701 ] }, { "title": "Accessors", "children": [ - 718 + 717 ] }, { "title": "Methods", "children": [ - 723, - 726, - 731, - 703, - 707, - 711 + 722, + 725, + 730, + 702, + 706, + 710 ] } ], @@ -16464,14 +16445,14 @@ ] }, { - "id": 876, + "id": 875, "name": "CustomerGroupService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 937, + "id": 936, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -16494,7 +16475,7 @@ } }, { - "id": 938, + "id": 937, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -16526,7 +16507,7 @@ } }, { - "id": 939, + "id": 938, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -16534,7 +16515,7 @@ "isProtected": true }, "getSignature": { - "id": 940, + "id": 939, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -16561,7 +16542,7 @@ } }, { - "id": 941, + "id": 940, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -16580,7 +16561,7 @@ } }, { - "id": 942, + "id": 941, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -16615,7 +16596,7 @@ } }, { - "id": 943, + "id": 942, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -16650,21 +16631,21 @@ } }, { - "id": 944, + "id": 943, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 945, + "id": 944, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 946, + "id": 945, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -16700,7 +16681,7 @@ } }, { - "id": 947, + "id": 946, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -16709,14 +16690,14 @@ }, "signatures": [ { - "id": 948, + "id": 947, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 949, + "id": 948, "name": "err", "variant": "param", "kind": 32768, @@ -16746,14 +16727,14 @@ { "type": "reflection", "declaration": { - "id": 950, + "id": 949, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 951, + "id": 950, "name": "code", "variant": "declaration", "kind": 1024, @@ -16768,7 +16749,7 @@ { "title": "Properties", "children": [ - 951 + 950 ] } ] @@ -16796,7 +16777,7 @@ } }, { - "id": 952, + "id": 951, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -16805,7 +16786,7 @@ }, "signatures": [ { - "id": 953, + "id": 952, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -16831,14 +16812,14 @@ }, "typeParameter": [ { - "id": 954, + "id": 953, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 955, + "id": 954, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -16847,7 +16828,7 @@ ], "parameters": [ { - "id": 956, + "id": 955, "name": "work", "variant": "param", "kind": 32768, @@ -16863,21 +16844,21 @@ "type": { "type": "reflection", "declaration": { - "id": 957, + "id": 956, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 958, + "id": 957, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 959, + "id": 958, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -16917,7 +16898,7 @@ } }, { - "id": 960, + "id": 959, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -16947,21 +16928,21 @@ { "type": "reflection", "declaration": { - "id": 961, + "id": 960, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 962, + "id": 961, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 963, + "id": 962, "name": "error", "variant": "param", "kind": 32768, @@ -17010,7 +16991,7 @@ } }, { - "id": 964, + "id": 963, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -17028,21 +17009,21 @@ "type": { "type": "reflection", "declaration": { - "id": 965, + "id": 964, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 966, + "id": 965, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 967, + "id": 966, "name": "error", "variant": "param", "kind": 32768, @@ -17121,7 +17102,7 @@ } }, { - "id": 880, + "id": 879, "name": "customerGroupRepository_", "variant": "declaration", "kind": 1024, @@ -17155,28 +17136,28 @@ { "type": "reflection", "declaration": { - "id": 881, + "id": 880, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 882, + "id": 881, "name": "addCustomers", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 883, + "id": 882, "name": "addCustomers", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 884, + "id": 883, "name": "groupId", "variant": "param", "kind": 32768, @@ -17187,7 +17168,7 @@ } }, { - "id": 885, + "id": 884, "name": "customerIds", "variant": "param", "kind": 32768, @@ -17225,21 +17206,21 @@ ] }, { - "id": 886, + "id": 885, "name": "removeCustomers", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 887, + "id": 886, "name": "removeCustomers", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 888, + "id": 887, "name": "groupId", "variant": "param", "kind": 32768, @@ -17250,7 +17231,7 @@ } }, { - "id": 889, + "id": 888, "name": "customerIds", "variant": "param", "kind": 32768, @@ -17288,21 +17269,21 @@ ] }, { - "id": 890, + "id": 889, "name": "findWithRelationsAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 891, + "id": 890, "name": "findWithRelationsAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 892, + "id": 891, "name": "relations", "variant": "param", "kind": 32768, @@ -17330,7 +17311,7 @@ "defaultValue": "{}" }, { - "id": 893, + "id": 892, "name": "idsOrOptionsWithoutRelations", "variant": "param", "kind": 32768, @@ -17399,9 +17380,9 @@ { "title": "Methods", "children": [ - 882, - 886, - 890 + 881, + 885, + 889 ] } ] @@ -17411,7 +17392,7 @@ } }, { - "id": 894, + "id": 893, "name": "customerService_", "variant": "declaration", "kind": 1024, @@ -17421,27 +17402,27 @@ }, "type": { "type": "reference", - "target": 747, + "target": 746, "name": "CustomerService", "package": "@medusajs/medusa" } }, { - "id": 877, + "id": 876, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 878, + "id": 877, "name": "new CustomerGroupService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 879, + "id": 878, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -17459,7 +17440,7 @@ ], "type": { "type": "reference", - "target": 876, + "target": 875, "name": "CustomerGroupService", "package": "@medusajs/medusa" }, @@ -17477,21 +17458,21 @@ } }, { - "id": 895, + "id": 894, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 896, + "id": 895, "name": "retrieve", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 897, + "id": 896, "name": "customerGroupId", "variant": "param", "kind": 32768, @@ -17502,7 +17483,7 @@ } }, { - "id": 898, + "id": 897, "name": "config", "variant": "param", "kind": 32768, @@ -17510,7 +17491,7 @@ "type": { "type": "reflection", "declaration": { - "id": 899, + "id": 898, "name": "__type", "variant": "declaration", "kind": 65536, @@ -17544,14 +17525,14 @@ ] }, { - "id": 900, + "id": 899, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 901, + "id": 900, "name": "create", "variant": "signature", "kind": 4096, @@ -17577,7 +17558,7 @@ }, "parameters": [ { - "id": 902, + "id": 901, "name": "group", "variant": "param", "kind": 32768, @@ -17636,14 +17617,14 @@ ] }, { - "id": 903, + "id": 902, "name": "addCustomers", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 904, + "id": 903, "name": "addCustomers", "variant": "signature", "kind": 4096, @@ -17669,7 +17650,7 @@ }, "parameters": [ { - "id": 905, + "id": 904, "name": "id", "variant": "param", "kind": 32768, @@ -17688,7 +17669,7 @@ } }, { - "id": 906, + "id": 905, "name": "customerIds", "variant": "param", "kind": 32768, @@ -17743,14 +17724,14 @@ ] }, { - "id": 907, + "id": 906, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 908, + "id": 907, "name": "update", "variant": "signature", "kind": 4096, @@ -17776,7 +17757,7 @@ }, "parameters": [ { - "id": 909, + "id": 908, "name": "customerGroupId", "variant": "param", "kind": 32768, @@ -17795,7 +17776,7 @@ } }, { - "id": 910, + "id": 909, "name": "update", "variant": "param", "kind": 32768, @@ -17843,14 +17824,14 @@ ] }, { - "id": 911, + "id": 910, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 912, + "id": 911, "name": "delete", "variant": "signature", "kind": 4096, @@ -17876,7 +17857,7 @@ }, "parameters": [ { - "id": 913, + "id": 912, "name": "groupId", "variant": "param", "kind": 32768, @@ -17914,14 +17895,14 @@ ] }, { - "id": 914, + "id": 913, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 915, + "id": 914, "name": "list", "variant": "signature", "kind": 4096, @@ -17947,7 +17928,7 @@ }, "parameters": [ { - "id": 916, + "id": 915, "name": "selector", "variant": "param", "kind": 32768, @@ -17986,14 +17967,14 @@ { "type": "reflection", "declaration": { - "id": 917, + "id": 916, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 918, + "id": 917, "name": "q", "variant": "declaration", "kind": 1024, @@ -18006,7 +17987,7 @@ } }, { - "id": 919, + "id": 918, "name": "discount_condition_id", "variant": "declaration", "kind": 1024, @@ -18023,8 +18004,8 @@ { "title": "Properties", "children": [ - 918, - 919 + 917, + 918 ] } ] @@ -18035,7 +18016,7 @@ "defaultValue": "{}" }, { - "id": 920, + "id": 919, "name": "config", "variant": "param", "kind": 32768, @@ -18097,14 +18078,14 @@ ] }, { - "id": 921, + "id": 920, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 922, + "id": 921, "name": "listAndCount", "variant": "signature", "kind": 4096, @@ -18130,7 +18111,7 @@ }, "parameters": [ { - "id": 923, + "id": 922, "name": "selector", "variant": "param", "kind": 32768, @@ -18169,14 +18150,14 @@ { "type": "reflection", "declaration": { - "id": 924, + "id": 923, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 925, + "id": 924, "name": "q", "variant": "declaration", "kind": 1024, @@ -18189,7 +18170,7 @@ } }, { - "id": 926, + "id": 925, "name": "discount_condition_id", "variant": "declaration", "kind": 1024, @@ -18206,8 +18187,8 @@ { "title": "Properties", "children": [ - 925, - 926 + 924, + 925 ] } ] @@ -18218,7 +18199,7 @@ "defaultValue": "{}" }, { - "id": 927, + "id": 926, "name": "config", "variant": "param", "kind": 32768, @@ -18289,14 +18270,14 @@ ] }, { - "id": 928, + "id": 927, "name": "removeCustomer", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 929, + "id": 928, "name": "removeCustomer", "variant": "signature", "kind": 4096, @@ -18322,7 +18303,7 @@ }, "parameters": [ { - "id": 930, + "id": 929, "name": "id", "variant": "param", "kind": 32768, @@ -18341,7 +18322,7 @@ } }, { - "id": 931, + "id": 930, "name": "customerIds", "variant": "param", "kind": 32768, @@ -18396,7 +18377,7 @@ ] }, { - "id": 932, + "id": 931, "name": "handleCreationFail", "variant": "declaration", "kind": 2048, @@ -18405,14 +18386,14 @@ }, "signatures": [ { - "id": 933, + "id": 932, "name": "handleCreationFail", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 934, + "id": 933, "name": "id", "variant": "param", "kind": 32768, @@ -18423,7 +18404,7 @@ } }, { - "id": 935, + "id": 934, "name": "ids", "variant": "param", "kind": 32768, @@ -18437,7 +18418,7 @@ } }, { - "id": 936, + "id": 935, "name": "error", "variant": "param", "kind": 32768, @@ -18471,42 +18452,42 @@ { "title": "Constructors", "children": [ - 877 + 876 ] }, { "title": "Properties", "children": [ + 936, 937, - 938, + 940, 941, 942, - 943, - 880, - 894 + 879, + 893 ] }, { "title": "Accessors", "children": [ - 939 + 938 ] }, { "title": "Methods", "children": [ - 944, - 947, - 952, - 895, - 900, - 903, - 907, - 911, - 914, - 921, - 928, - 932 + 943, + 946, + 951, + 894, + 899, + 902, + 906, + 910, + 913, + 920, + 927, + 931 ] } ], @@ -18523,7 +18504,7 @@ ] }, { - "id": 747, + "id": 746, "name": "CustomerService", "variant": "declaration", "kind": 128, @@ -18538,7 +18519,7 @@ }, "children": [ { - "id": 845, + "id": 844, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -18561,7 +18542,7 @@ } }, { - "id": 846, + "id": 845, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -18593,7 +18574,7 @@ } }, { - "id": 847, + "id": 846, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -18601,7 +18582,7 @@ "isProtected": true }, "getSignature": { - "id": 848, + "id": 847, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -18628,7 +18609,7 @@ } }, { - "id": 849, + "id": 848, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -18647,7 +18628,7 @@ } }, { - "id": 850, + "id": 849, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -18682,7 +18663,7 @@ } }, { - "id": 851, + "id": 850, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -18717,21 +18698,21 @@ } }, { - "id": 852, + "id": 851, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 853, + "id": 852, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 854, + "id": 853, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -18767,7 +18748,7 @@ } }, { - "id": 855, + "id": 854, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -18776,14 +18757,14 @@ }, "signatures": [ { - "id": 856, + "id": 855, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 857, + "id": 856, "name": "err", "variant": "param", "kind": 32768, @@ -18813,14 +18794,14 @@ { "type": "reflection", "declaration": { - "id": 858, + "id": 857, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 859, + "id": 858, "name": "code", "variant": "declaration", "kind": 1024, @@ -18835,7 +18816,7 @@ { "title": "Properties", "children": [ - 859 + 858 ] } ] @@ -18863,7 +18844,7 @@ } }, { - "id": 860, + "id": 859, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -18872,7 +18853,7 @@ }, "signatures": [ { - "id": 861, + "id": 860, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -18898,14 +18879,14 @@ }, "typeParameter": [ { - "id": 862, + "id": 861, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 863, + "id": 862, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -18914,7 +18895,7 @@ ], "parameters": [ { - "id": 864, + "id": 863, "name": "work", "variant": "param", "kind": 32768, @@ -18930,21 +18911,21 @@ "type": { "type": "reflection", "declaration": { - "id": 865, + "id": 864, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 866, + "id": 865, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 867, + "id": 866, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -18984,7 +18965,7 @@ } }, { - "id": 868, + "id": 867, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -19014,21 +18995,21 @@ { "type": "reflection", "declaration": { - "id": 869, + "id": 868, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 870, + "id": 869, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 871, + "id": 870, "name": "error", "variant": "param", "kind": 32768, @@ -19077,7 +19058,7 @@ } }, { - "id": 872, + "id": 871, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -19095,21 +19076,21 @@ "type": { "type": "reflection", "declaration": { - "id": 873, + "id": 872, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 874, + "id": 873, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 875, + "id": 874, "name": "error", "variant": "param", "kind": 32768, @@ -19188,7 +19169,7 @@ } }, { - "id": 756, + "id": 755, "name": "customerRepository_", "variant": "declaration", "kind": 1024, @@ -19222,28 +19203,28 @@ { "type": "reflection", "declaration": { - "id": 757, + "id": 756, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 758, + "id": 757, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 759, + "id": 758, "name": "listAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 760, + "id": 759, "name": "query", "variant": "param", "kind": 32768, @@ -19274,14 +19255,14 @@ { "type": "reflection", "declaration": { - "id": 761, + "id": 760, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 762, + "id": 761, "name": "where", "variant": "declaration", "kind": 1024, @@ -19308,14 +19289,14 @@ { "type": "reflection", "declaration": { - "id": 763, + "id": 762, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 764, + "id": 763, "name": "groups", "variant": "declaration", "kind": 1024, @@ -19346,7 +19327,7 @@ { "title": "Properties", "children": [ - 764 + 763 ] } ] @@ -19364,7 +19345,7 @@ { "title": "Properties", "children": [ - 762 + 761 ] } ] @@ -19374,7 +19355,7 @@ } }, { - "id": 765, + "id": 764, "name": "q", "variant": "param", "kind": 32768, @@ -19435,7 +19416,7 @@ { "title": "Methods", "children": [ - 758 + 757 ] } ] @@ -19445,7 +19426,7 @@ } }, { - "id": 766, + "id": 765, "name": "addressRepository_", "variant": "declaration", "kind": 1024, @@ -19475,7 +19456,7 @@ } }, { - "id": 767, + "id": 766, "name": "eventBusService_", "variant": "declaration", "kind": 1024, @@ -19485,13 +19466,13 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 748, + "id": 747, "name": "Events", "variant": "declaration", "kind": 1024, @@ -19501,14 +19482,14 @@ "type": { "type": "reflection", "declaration": { - "id": 749, + "id": 748, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 750, + "id": 749, "name": "PASSWORD_RESET", "variant": "declaration", "kind": 1024, @@ -19520,7 +19501,7 @@ "defaultValue": "\"customer.password_reset\"" }, { - "id": 751, + "id": 750, "name": "CREATED", "variant": "declaration", "kind": 1024, @@ -19532,7 +19513,7 @@ "defaultValue": "\"customer.created\"" }, { - "id": 752, + "id": 751, "name": "UPDATED", "variant": "declaration", "kind": 1024, @@ -19548,9 +19529,9 @@ { "title": "Properties", "children": [ + 749, 750, - 751, - 752 + 751 ] } ] @@ -19559,21 +19540,21 @@ "defaultValue": "..." }, { - "id": 753, + "id": 752, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 754, + "id": 753, "name": "new CustomerService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 755, + "id": 754, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -19591,7 +19572,7 @@ ], "type": { "type": "reference", - "target": 747, + "target": 746, "name": "CustomerService", "package": "@medusajs/medusa" }, @@ -19609,14 +19590,14 @@ } }, { - "id": 768, + "id": 767, "name": "generateResetPasswordToken", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 769, + "id": 768, "name": "generateResetPasswordToken", "variant": "signature", "kind": 4096, @@ -19642,7 +19623,7 @@ }, "parameters": [ { - "id": 770, + "id": 769, "name": "customerId", "variant": "param", "kind": 32768, @@ -19680,14 +19661,14 @@ ] }, { - "id": 771, + "id": 770, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 772, + "id": 771, "name": "list", "variant": "signature", "kind": 4096, @@ -19708,7 +19689,7 @@ }, "parameters": [ { - "id": 773, + "id": 772, "name": "selector", "variant": "param", "kind": 32768, @@ -19747,14 +19728,196 @@ { "type": "reflection", "declaration": { - "id": 774, + "id": 773, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ + { + "id": 774, + "name": "q", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, { "id": 775, + "name": "groups", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 774, + 775 + ] + } + ] + } + } + ] + }, + "defaultValue": "{}" + }, + { + "id": 776, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the config object containing query settings" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "FindConfig" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/medusa/src/models/customer.ts", + "qualifiedName": "Customer" + }, + "name": "Customer", + "package": "@medusajs/medusa" + } + ], + "name": "FindConfig", + "package": "@medusajs/medusa" + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/medusa/src/models/customer.ts", + "qualifiedName": "Customer" + }, + "name": "Customer", + "package": "@medusajs/medusa" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 777, + "name": "listAndCount", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 778, + "name": "listAndCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "the result of the find operation" + } + ] + } + ] + }, + "parameters": [ + { + "id": 779, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the query object for find" + } + ] + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/medusa/src/types/common.ts", + "qualifiedName": "Selector" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/medusa/src/models/customer.ts", + "qualifiedName": "Customer" + }, + "name": "Customer", + "package": "@medusajs/medusa" + } + ], + "name": "Selector", + "package": "@medusajs/medusa" + }, + { + "type": "reflection", + "declaration": { + "id": 780, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 781, "name": "q", "variant": "declaration", "kind": 1024, @@ -19767,7 +19930,7 @@ } }, { - "id": 776, + "id": 782, "name": "groups", "variant": "declaration", "kind": 1024, @@ -19787,190 +19950,8 @@ { "title": "Properties", "children": [ - 775, - 776 - ] - } - ] - } - } - ] - }, - "defaultValue": "{}" - }, - { - "id": 777, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the config object containing query settings" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/medusa/src/types/common.ts", - "qualifiedName": "FindConfig" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/medusa/src/models/customer.ts", - "qualifiedName": "Customer" - }, - "name": "Customer", - "package": "@medusajs/medusa" - } - ], - "name": "FindConfig", - "package": "@medusajs/medusa" - }, - "defaultValue": "..." - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/medusa/src/models/customer.ts", - "qualifiedName": "Customer" - }, - "name": "Customer", - "package": "@medusajs/medusa" - } - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 778, - "name": "listAndCount", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "signatures": [ - { - "id": 779, - "name": "listAndCount", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "the result of the find operation" - } - ] - } - ] - }, - "parameters": [ - { - "id": 780, - "name": "selector", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the query object for find" - } - ] - }, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/medusa/src/types/common.ts", - "qualifiedName": "Selector" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/medusa/src/models/customer.ts", - "qualifiedName": "Customer" - }, - "name": "Customer", - "package": "@medusajs/medusa" - } - ], - "name": "Selector", - "package": "@medusajs/medusa" - }, - { - "type": "reflection", - "declaration": { - "id": 781, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 782, - "name": "q", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 783, - "name": "groups", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 782, - 783 + 781, + 782 ] } ] @@ -19980,7 +19961,7 @@ } }, { - "id": 784, + "id": 783, "name": "config", "variant": "param", "kind": 32768, @@ -20052,14 +20033,14 @@ ] }, { - "id": 785, + "id": 784, "name": "count", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 786, + "id": 785, "name": "count", "variant": "signature", "kind": 4096, @@ -20102,7 +20083,7 @@ ] }, { - "id": 787, + "id": 786, "name": "retrieve_", "variant": "declaration", "kind": 2048, @@ -20111,14 +20092,14 @@ }, "signatures": [ { - "id": 788, + "id": 787, "name": "retrieve_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 789, + "id": 788, "name": "selector", "variant": "param", "kind": 32768, @@ -20145,7 +20126,7 @@ } }, { - "id": 790, + "id": 789, "name": "config", "variant": "param", "kind": 32768, @@ -20197,14 +20178,14 @@ ] }, { - "id": 791, + "id": 790, "name": "retrieveByEmail", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 792, + "id": 791, "name": "retrieveByEmail", "variant": "signature", "kind": 4096, @@ -20234,7 +20215,7 @@ }, "parameters": [ { - "id": 793, + "id": 792, "name": "email", "variant": "param", "kind": 32768, @@ -20253,7 +20234,7 @@ } }, { - "id": 794, + "id": 793, "name": "config", "variant": "param", "kind": 32768, @@ -20313,21 +20294,21 @@ ] }, { - "id": 795, + "id": 794, "name": "retrieveUnregisteredByEmail", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 796, + "id": 795, "name": "retrieveUnregisteredByEmail", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 797, + "id": 796, "name": "email", "variant": "param", "kind": 32768, @@ -20338,7 +20319,7 @@ } }, { - "id": 798, + "id": 797, "name": "config", "variant": "param", "kind": 32768, @@ -20390,21 +20371,21 @@ ] }, { - "id": 799, + "id": 798, "name": "retrieveRegisteredByEmail", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 800, + "id": 799, "name": "retrieveRegisteredByEmail", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 801, + "id": 800, "name": "email", "variant": "param", "kind": 32768, @@ -20415,7 +20396,7 @@ } }, { - "id": 802, + "id": 801, "name": "config", "variant": "param", "kind": 32768, @@ -20467,21 +20448,21 @@ ] }, { - "id": 803, + "id": 802, "name": "listByEmail", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 804, + "id": 803, "name": "listByEmail", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 805, + "id": 804, "name": "email", "variant": "param", "kind": 32768, @@ -20492,7 +20473,7 @@ } }, { - "id": 806, + "id": 805, "name": "config", "variant": "param", "kind": 32768, @@ -20547,14 +20528,14 @@ ] }, { - "id": 807, + "id": 806, "name": "retrieveByPhone", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 808, + "id": 807, "name": "retrieveByPhone", "variant": "signature", "kind": 4096, @@ -20580,7 +20561,7 @@ }, "parameters": [ { - "id": 809, + "id": 808, "name": "phone", "variant": "param", "kind": 32768, @@ -20599,7 +20580,7 @@ } }, { - "id": 810, + "id": 809, "name": "config", "variant": "param", "kind": 32768, @@ -20659,14 +20640,14 @@ ] }, { - "id": 811, + "id": 810, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 812, + "id": 811, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -20692,7 +20673,7 @@ }, "parameters": [ { - "id": 813, + "id": 812, "name": "customerId", "variant": "param", "kind": 32768, @@ -20711,7 +20692,7 @@ } }, { - "id": 814, + "id": 813, "name": "config", "variant": "param", "kind": 32768, @@ -20771,14 +20752,14 @@ ] }, { - "id": 815, + "id": 814, "name": "hashPassword_", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 816, + "id": 815, "name": "hashPassword_", "variant": "signature", "kind": 4096, @@ -20804,7 +20785,7 @@ }, "parameters": [ { - "id": 817, + "id": 816, "name": "password", "variant": "param", "kind": 32768, @@ -20842,14 +20823,14 @@ ] }, { - "id": 818, + "id": 817, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 819, + "id": 818, "name": "create", "variant": "signature", "kind": 4096, @@ -20875,7 +20856,7 @@ }, "parameters": [ { - "id": 820, + "id": 819, "name": "customer", "variant": "param", "kind": 32768, @@ -20923,14 +20904,14 @@ ] }, { - "id": 821, + "id": 820, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 822, + "id": 821, "name": "update", "variant": "signature", "kind": 4096, @@ -20956,7 +20937,7 @@ }, "parameters": [ { - "id": 823, + "id": 822, "name": "customerId", "variant": "param", "kind": 32768, @@ -20975,7 +20956,7 @@ } }, { - "id": 824, + "id": 823, "name": "update", "variant": "param", "kind": 32768, @@ -21023,14 +21004,14 @@ ] }, { - "id": 825, + "id": 824, "name": "updateBillingAddress_", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 826, + "id": 825, "name": "updateBillingAddress_", "variant": "signature", "kind": 4096, @@ -21056,7 +21037,7 @@ }, "parameters": [ { - "id": 827, + "id": 826, "name": "customer", "variant": "param", "kind": 32768, @@ -21080,7 +21061,7 @@ } }, { - "id": 828, + "id": 827, "name": "addressOrId", "variant": "param", "kind": 32768, @@ -21147,21 +21128,21 @@ ] }, { - "id": 829, + "id": 828, "name": "updateAddress", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 830, + "id": 829, "name": "updateAddress", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 831, + "id": 830, "name": "customerId", "variant": "param", "kind": 32768, @@ -21172,7 +21153,7 @@ } }, { - "id": 832, + "id": 831, "name": "addressId", "variant": "param", "kind": 32768, @@ -21183,7 +21164,7 @@ } }, { - "id": 833, + "id": 832, "name": "address", "variant": "param", "kind": 32768, @@ -21223,21 +21204,21 @@ ] }, { - "id": 834, + "id": 833, "name": "removeAddress", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 835, + "id": 834, "name": "removeAddress", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 836, + "id": 835, "name": "customerId", "variant": "param", "kind": 32768, @@ -21248,7 +21229,7 @@ } }, { - "id": 837, + "id": 836, "name": "addressId", "variant": "param", "kind": 32768, @@ -21278,21 +21259,21 @@ ] }, { - "id": 838, + "id": 837, "name": "addAddress", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 839, + "id": 838, "name": "addAddress", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 840, + "id": 839, "name": "customerId", "variant": "param", "kind": 32768, @@ -21303,7 +21284,7 @@ } }, { - "id": 841, + "id": 840, "name": "address", "variant": "param", "kind": 32768, @@ -21357,14 +21338,14 @@ ] }, { - "id": 842, + "id": 841, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 843, + "id": 842, "name": "delete", "variant": "signature", "kind": 4096, @@ -21390,7 +21371,7 @@ }, "parameters": [ { - "id": 844, + "id": 843, "name": "customerId", "variant": "param", "kind": 32768, @@ -21446,54 +21427,54 @@ { "title": "Constructors", "children": [ - 753 + 752 ] }, { "title": "Properties", "children": [ + 844, 845, - 846, + 848, 849, 850, - 851, - 756, + 755, + 765, 766, - 767, - 748 + 747 ] }, { "title": "Accessors", "children": [ - 847 + 846 ] }, { "title": "Methods", "children": [ - 852, - 855, - 860, - 768, - 771, - 778, - 785, - 787, - 791, - 795, - 799, - 803, - 807, - 811, - 815, - 818, - 821, - 825, - 829, - 834, - 838, - 842 + 851, + 854, + 859, + 767, + 770, + 777, + 784, + 786, + 790, + 794, + 798, + 802, + 806, + 810, + 814, + 817, + 820, + 824, + 828, + 833, + 837, + 841 ] } ], @@ -21510,7 +21491,7 @@ ] }, { - "id": 1172, + "id": 1171, "name": "DiscountConditionService", "variant": "declaration", "kind": 128, @@ -21531,7 +21512,7 @@ }, "children": [ { - "id": 1249, + "id": 1248, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -21554,7 +21535,7 @@ } }, { - "id": 1250, + "id": 1249, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -21586,7 +21567,7 @@ } }, { - "id": 1251, + "id": 1250, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -21594,7 +21575,7 @@ "isProtected": true }, "getSignature": { - "id": 1252, + "id": 1251, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -21621,7 +21602,7 @@ } }, { - "id": 1253, + "id": 1252, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -21640,7 +21621,7 @@ } }, { - "id": 1254, + "id": 1253, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -21675,7 +21656,7 @@ } }, { - "id": 1255, + "id": 1254, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -21710,21 +21691,21 @@ } }, { - "id": 1256, + "id": 1255, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1257, + "id": 1256, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1258, + "id": 1257, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -21760,7 +21741,7 @@ } }, { - "id": 1259, + "id": 1258, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -21769,14 +21750,14 @@ }, "signatures": [ { - "id": 1260, + "id": 1259, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1261, + "id": 1260, "name": "err", "variant": "param", "kind": 32768, @@ -21806,14 +21787,14 @@ { "type": "reflection", "declaration": { - "id": 1262, + "id": 1261, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1263, + "id": 1262, "name": "code", "variant": "declaration", "kind": 1024, @@ -21828,7 +21809,7 @@ { "title": "Properties", "children": [ - 1263 + 1262 ] } ] @@ -21856,7 +21837,7 @@ } }, { - "id": 1264, + "id": 1263, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -21865,7 +21846,7 @@ }, "signatures": [ { - "id": 1265, + "id": 1264, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -21891,14 +21872,14 @@ }, "typeParameter": [ { - "id": 1266, + "id": 1265, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 1267, + "id": 1266, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -21907,7 +21888,7 @@ ], "parameters": [ { - "id": 1268, + "id": 1267, "name": "work", "variant": "param", "kind": 32768, @@ -21923,21 +21904,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1269, + "id": 1268, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1270, + "id": 1269, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1271, + "id": 1270, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -21977,7 +21958,7 @@ } }, { - "id": 1272, + "id": 1271, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -22007,21 +21988,21 @@ { "type": "reflection", "declaration": { - "id": 1273, + "id": 1272, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1274, + "id": 1273, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1275, + "id": 1274, "name": "error", "variant": "param", "kind": 32768, @@ -22070,7 +22051,7 @@ } }, { - "id": 1276, + "id": 1275, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -22088,21 +22069,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1277, + "id": 1276, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1278, + "id": 1277, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1279, + "id": 1278, "name": "error", "variant": "param", "kind": 32768, @@ -22181,7 +22162,7 @@ } }, { - "id": 1184, + "id": 1183, "name": "discountConditionRepository_", "variant": "declaration", "kind": 1024, @@ -22215,28 +22196,28 @@ { "type": "reflection", "declaration": { - "id": 1185, + "id": 1184, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1186, + "id": 1185, "name": "findOneWithDiscount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1187, + "id": 1186, "name": "findOneWithDiscount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1188, + "id": 1187, "name": "conditionId", "variant": "param", "kind": 32768, @@ -22247,7 +22228,7 @@ } }, { - "id": 1189, + "id": 1188, "name": "discountId", "variant": "param", "kind": 32768, @@ -22287,14 +22268,14 @@ { "type": "reflection", "declaration": { - "id": 1190, + "id": 1189, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1191, + "id": 1190, "name": "discount", "variant": "declaration", "kind": 1024, @@ -22314,7 +22295,7 @@ { "title": "Properties", "children": [ - 1191 + 1190 ] } ] @@ -22332,21 +22313,21 @@ ] }, { - "id": 1192, + "id": 1191, "name": "getJoinTableResourceIdentifiers", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1193, + "id": 1192, "name": "getJoinTableResourceIdentifiers", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1194, + "id": 1193, "name": "type", "variant": "param", "kind": 32768, @@ -22360,14 +22341,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1195, + "id": 1194, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1196, + "id": 1195, "name": "joinTable", "variant": "declaration", "kind": 1024, @@ -22378,7 +22359,7 @@ } }, { - "id": 1197, + "id": 1196, "name": "resourceKey", "variant": "declaration", "kind": 1024, @@ -22389,7 +22370,7 @@ } }, { - "id": 1198, + "id": 1197, "name": "joinTableForeignKey", "variant": "declaration", "kind": 1024, @@ -22405,7 +22386,7 @@ } }, { - "id": 1199, + "id": 1198, "name": "conditionTable", "variant": "declaration", "kind": 1024, @@ -22421,7 +22402,7 @@ } }, { - "id": 1200, + "id": 1199, "name": "joinTableKey", "variant": "declaration", "kind": 1024, @@ -22432,7 +22413,7 @@ } }, { - "id": 1201, + "id": 1200, "name": "relatedTable", "variant": "declaration", "kind": 1024, @@ -22447,12 +22428,12 @@ { "title": "Properties", "children": [ + 1195, 1196, 1197, 1198, 1199, - 1200, - 1201 + 1200 ] } ] @@ -22462,21 +22443,21 @@ ] }, { - "id": 1202, + "id": 1201, "name": "removeConditionResources", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1203, + "id": 1202, "name": "removeConditionResources", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1204, + "id": 1203, "name": "id", "variant": "param", "kind": 32768, @@ -22487,7 +22468,7 @@ } }, { - "id": 1205, + "id": 1204, "name": "type", "variant": "param", "kind": 32768, @@ -22503,7 +22484,7 @@ } }, { - "id": 1206, + "id": 1205, "name": "resourceIds", "variant": "param", "kind": 32768, @@ -22520,14 +22501,14 @@ { "type": "reflection", "declaration": { - "id": 1207, + "id": 1206, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1208, + "id": 1207, "name": "id", "variant": "declaration", "kind": 1024, @@ -22542,7 +22523,7 @@ { "title": "Properties", "children": [ - 1208 + 1207 ] } ] @@ -22586,21 +22567,21 @@ ] }, { - "id": 1209, + "id": 1208, "name": "addConditionResources", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1210, + "id": 1209, "name": "addConditionResources", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1211, + "id": 1210, "name": "conditionId", "variant": "param", "kind": 32768, @@ -22611,7 +22592,7 @@ } }, { - "id": 1212, + "id": 1211, "name": "resourceIds", "variant": "param", "kind": 32768, @@ -22628,14 +22609,14 @@ { "type": "reflection", "declaration": { - "id": 1213, + "id": 1212, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1214, + "id": 1213, "name": "id", "variant": "declaration", "kind": 1024, @@ -22650,7 +22631,7 @@ { "title": "Properties", "children": [ - 1214 + 1213 ] } ] @@ -22661,7 +22642,7 @@ } }, { - "id": 1215, + "id": 1214, "name": "type", "variant": "param", "kind": 32768, @@ -22677,7 +22658,7 @@ } }, { - "id": 1216, + "id": 1215, "name": "overrideExisting", "variant": "param", "kind": 32768, @@ -22757,21 +22738,21 @@ ] }, { - "id": 1217, + "id": 1216, "name": "queryConditionTable", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1218, + "id": 1217, "name": "queryConditionTable", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1219, + "id": 1218, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -22779,14 +22760,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1220, + "id": 1219, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1221, + "id": 1220, "name": "type", "variant": "declaration", "kind": 1024, @@ -22797,7 +22778,7 @@ } }, { - "id": 1222, + "id": 1221, "name": "conditionId", "variant": "declaration", "kind": 1024, @@ -22808,7 +22789,7 @@ } }, { - "id": 1223, + "id": 1222, "name": "resourceId", "variant": "declaration", "kind": 1024, @@ -22823,9 +22804,9 @@ { "title": "Properties", "children": [ + 1220, 1221, - 1222, - 1223 + 1222 ] } ] @@ -22852,21 +22833,21 @@ ] }, { - "id": 1224, + "id": 1223, "name": "isValidForProduct", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1225, + "id": 1224, "name": "isValidForProduct", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1226, + "id": 1225, "name": "discountRuleId", "variant": "param", "kind": 32768, @@ -22877,7 +22858,7 @@ } }, { - "id": 1227, + "id": 1226, "name": "productId", "variant": "param", "kind": 32768, @@ -22907,21 +22888,21 @@ ] }, { - "id": 1228, + "id": 1227, "name": "canApplyForCustomer", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1229, + "id": 1228, "name": "canApplyForCustomer", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1230, + "id": 1229, "name": "discountRuleId", "variant": "param", "kind": 32768, @@ -22932,7 +22913,7 @@ } }, { - "id": 1231, + "id": 1230, "name": "customerId", "variant": "param", "kind": 32768, @@ -22966,13 +22947,13 @@ { "title": "Methods", "children": [ - 1186, - 1192, - 1202, - 1209, - 1217, - 1224, - 1228 + 1185, + 1191, + 1201, + 1208, + 1216, + 1223, + 1227 ] } ] @@ -22982,7 +22963,7 @@ } }, { - "id": 1232, + "id": 1231, "name": "eventBus_", "variant": "declaration", "kind": 1024, @@ -22992,27 +22973,27 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 1181, + "id": 1180, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1182, + "id": 1181, "name": "new DiscountConditionService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 1183, + "id": 1182, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -23030,7 +23011,7 @@ ], "type": { "type": "reference", - "target": 1172, + "target": 1171, "name": "DiscountConditionService", "package": "@medusajs/medusa" }, @@ -23048,21 +23029,21 @@ } }, { - "id": 1233, + "id": 1232, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1234, + "id": 1233, "name": "retrieve", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1235, + "id": 1234, "name": "conditionId", "variant": "param", "kind": 32768, @@ -23073,7 +23054,7 @@ } }, { - "id": 1236, + "id": 1235, "name": "config", "variant": "param", "kind": 32768, @@ -23126,7 +23107,7 @@ ] }, { - "id": 1173, + "id": 1172, "name": "resolveConditionType_", "variant": "declaration", "kind": 2048, @@ -23136,14 +23117,14 @@ }, "signatures": [ { - "id": 1174, + "id": 1173, "name": "resolveConditionType_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1175, + "id": 1174, "name": "data", "variant": "param", "kind": 32768, @@ -23169,14 +23150,14 @@ { "type": "reflection", "declaration": { - "id": 1176, + "id": 1175, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1177, + "id": 1176, "name": "type", "variant": "declaration", "kind": 1024, @@ -23192,7 +23173,7 @@ } }, { - "id": 1178, + "id": 1177, "name": "resource_ids", "variant": "declaration", "kind": 1024, @@ -23209,14 +23190,14 @@ { "type": "reflection", "declaration": { - "id": 1179, + "id": 1178, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1180, + "id": 1179, "name": "id", "variant": "declaration", "kind": 1024, @@ -23231,7 +23212,7 @@ { "title": "Properties", "children": [ - 1180 + 1179 ] } ] @@ -23246,8 +23227,8 @@ { "title": "Properties", "children": [ - 1177, - 1178 + 1176, + 1177 ] } ] @@ -23259,21 +23240,21 @@ ] }, { - "id": 1237, + "id": 1236, "name": "upsertCondition", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1238, + "id": 1237, "name": "upsertCondition", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1239, + "id": 1238, "name": "data", "variant": "param", "kind": 32768, @@ -23289,7 +23270,7 @@ } }, { - "id": 1240, + "id": 1239, "name": "overrideExisting", "variant": "param", "kind": 32768, @@ -23369,21 +23350,21 @@ ] }, { - "id": 1241, + "id": 1240, "name": "removeResources", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1242, + "id": 1241, "name": "removeResources", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1243, + "id": 1242, "name": "data", "variant": "param", "kind": 32768, @@ -23418,14 +23399,14 @@ { "type": "reflection", "declaration": { - "id": 1244, + "id": 1243, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1245, + "id": 1244, "name": "id", "variant": "declaration", "kind": 1024, @@ -23440,7 +23421,7 @@ { "title": "Properties", "children": [ - 1245 + 1244 ] } ] @@ -23469,21 +23450,21 @@ ] }, { - "id": 1246, + "id": 1245, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1247, + "id": 1246, "name": "delete", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1248, + "id": 1247, "name": "discountConditionId", "variant": "param", "kind": 32768, @@ -23531,38 +23512,38 @@ { "title": "Constructors", "children": [ - 1181 + 1180 ] }, { "title": "Properties", "children": [ + 1248, 1249, - 1250, + 1252, 1253, 1254, - 1255, - 1184, - 1232 + 1183, + 1231 ] }, { "title": "Accessors", "children": [ - 1251 + 1250 ] }, { "title": "Methods", "children": [ - 1256, - 1259, - 1264, - 1233, - 1173, - 1237, - 1241, - 1246 + 1255, + 1258, + 1263, + 1232, + 1172, + 1236, + 1240, + 1245 ] } ], @@ -23579,7 +23560,7 @@ ] }, { - "id": 968, + "id": 967, "name": "DiscountService", "variant": "declaration", "kind": 128, @@ -23600,7 +23581,7 @@ }, "children": [ { - "id": 1141, + "id": 1140, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -23623,7 +23604,7 @@ } }, { - "id": 1142, + "id": 1141, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -23655,7 +23636,7 @@ } }, { - "id": 1143, + "id": 1142, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -23663,7 +23644,7 @@ "isProtected": true }, "getSignature": { - "id": 1144, + "id": 1143, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -23690,7 +23671,7 @@ } }, { - "id": 1145, + "id": 1144, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -23709,7 +23690,7 @@ } }, { - "id": 1146, + "id": 1145, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -23744,7 +23725,7 @@ } }, { - "id": 1147, + "id": 1146, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -23779,21 +23760,21 @@ } }, { - "id": 1148, + "id": 1147, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1149, + "id": 1148, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1150, + "id": 1149, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -23829,7 +23810,7 @@ } }, { - "id": 1151, + "id": 1150, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -23838,14 +23819,14 @@ }, "signatures": [ { - "id": 1152, + "id": 1151, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1153, + "id": 1152, "name": "err", "variant": "param", "kind": 32768, @@ -23875,14 +23856,14 @@ { "type": "reflection", "declaration": { - "id": 1154, + "id": 1153, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1155, + "id": 1154, "name": "code", "variant": "declaration", "kind": 1024, @@ -23897,7 +23878,7 @@ { "title": "Properties", "children": [ - 1155 + 1154 ] } ] @@ -23925,7 +23906,7 @@ } }, { - "id": 1156, + "id": 1155, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -23934,7 +23915,7 @@ }, "signatures": [ { - "id": 1157, + "id": 1156, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -23960,14 +23941,14 @@ }, "typeParameter": [ { - "id": 1158, + "id": 1157, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 1159, + "id": 1158, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -23976,7 +23957,7 @@ ], "parameters": [ { - "id": 1160, + "id": 1159, "name": "work", "variant": "param", "kind": 32768, @@ -23992,21 +23973,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1161, + "id": 1160, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1162, + "id": 1161, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1163, + "id": 1162, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -24046,7 +24027,7 @@ } }, { - "id": 1164, + "id": 1163, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -24076,21 +24057,21 @@ { "type": "reflection", "declaration": { - "id": 1165, + "id": 1164, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1166, + "id": 1165, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1167, + "id": 1166, "name": "error", "variant": "param", "kind": 32768, @@ -24139,7 +24120,7 @@ } }, { - "id": 1168, + "id": 1167, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -24157,21 +24138,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1169, + "id": 1168, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1170, + "id": 1169, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1171, + "id": 1170, "name": "error", "variant": "param", "kind": 32768, @@ -24250,7 +24231,7 @@ } }, { - "id": 969, + "id": 968, "name": "Events", "variant": "declaration", "kind": 1024, @@ -24261,14 +24242,14 @@ "type": { "type": "reflection", "declaration": { - "id": 970, + "id": 969, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 971, + "id": 970, "name": "CREATED", "variant": "declaration", "kind": 1024, @@ -24284,7 +24265,7 @@ { "title": "Properties", "children": [ - 971 + 970 ] } ] @@ -24293,7 +24274,7 @@ "defaultValue": "..." }, { - "id": 988, + "id": 987, "name": "discountRepository_", "variant": "declaration", "kind": 1024, @@ -24323,7 +24304,7 @@ } }, { - "id": 989, + "id": 988, "name": "customerService_", "variant": "declaration", "kind": 1024, @@ -24333,13 +24314,13 @@ }, "type": { "type": "reference", - "target": 747, + "target": 746, "name": "CustomerService", "package": "@medusajs/medusa" } }, { - "id": 990, + "id": 989, "name": "discountRuleRepository_", "variant": "declaration", "kind": 1024, @@ -24369,7 +24350,7 @@ } }, { - "id": 991, + "id": 990, "name": "giftCardRepository_", "variant": "declaration", "kind": 1024, @@ -24403,28 +24384,28 @@ { "type": "reflection", "declaration": { - "id": 992, + "id": 991, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 993, + "id": 992, "name": "listGiftCardsAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 994, + "id": 993, "name": "listGiftCardsAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 995, + "id": 994, "name": "query", "variant": "param", "kind": 32768, @@ -24451,7 +24432,7 @@ } }, { - "id": 996, + "id": 995, "name": "q", "variant": "param", "kind": 32768, @@ -24504,7 +24485,7 @@ { "title": "Methods", "children": [ - 993 + 992 ] } ] @@ -24514,7 +24495,7 @@ } }, { - "id": 997, + "id": 996, "name": "discountConditionRepository_", "variant": "declaration", "kind": 1024, @@ -24548,28 +24529,28 @@ { "type": "reflection", "declaration": { - "id": 998, + "id": 997, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 999, + "id": 998, "name": "findOneWithDiscount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1000, + "id": 999, "name": "findOneWithDiscount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1001, + "id": 1000, "name": "conditionId", "variant": "param", "kind": 32768, @@ -24580,7 +24561,7 @@ } }, { - "id": 1002, + "id": 1001, "name": "discountId", "variant": "param", "kind": 32768, @@ -24620,14 +24601,14 @@ { "type": "reflection", "declaration": { - "id": 1003, + "id": 1002, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1004, + "id": 1003, "name": "discount", "variant": "declaration", "kind": 1024, @@ -24647,7 +24628,7 @@ { "title": "Properties", "children": [ - 1004 + 1003 ] } ] @@ -24665,21 +24646,21 @@ ] }, { - "id": 1005, + "id": 1004, "name": "getJoinTableResourceIdentifiers", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1006, + "id": 1005, "name": "getJoinTableResourceIdentifiers", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1007, + "id": 1006, "name": "type", "variant": "param", "kind": 32768, @@ -24693,14 +24674,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1008, + "id": 1007, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1009, + "id": 1008, "name": "joinTable", "variant": "declaration", "kind": 1024, @@ -24711,7 +24692,7 @@ } }, { - "id": 1010, + "id": 1009, "name": "resourceKey", "variant": "declaration", "kind": 1024, @@ -24722,7 +24703,7 @@ } }, { - "id": 1011, + "id": 1010, "name": "joinTableForeignKey", "variant": "declaration", "kind": 1024, @@ -24738,7 +24719,7 @@ } }, { - "id": 1012, + "id": 1011, "name": "conditionTable", "variant": "declaration", "kind": 1024, @@ -24754,7 +24735,7 @@ } }, { - "id": 1013, + "id": 1012, "name": "joinTableKey", "variant": "declaration", "kind": 1024, @@ -24765,7 +24746,7 @@ } }, { - "id": 1014, + "id": 1013, "name": "relatedTable", "variant": "declaration", "kind": 1024, @@ -24780,12 +24761,12 @@ { "title": "Properties", "children": [ + 1008, 1009, 1010, 1011, 1012, - 1013, - 1014 + 1013 ] } ] @@ -24795,21 +24776,21 @@ ] }, { - "id": 1015, + "id": 1014, "name": "removeConditionResources", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1016, + "id": 1015, "name": "removeConditionResources", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1017, + "id": 1016, "name": "id", "variant": "param", "kind": 32768, @@ -24820,7 +24801,7 @@ } }, { - "id": 1018, + "id": 1017, "name": "type", "variant": "param", "kind": 32768, @@ -24836,7 +24817,7 @@ } }, { - "id": 1019, + "id": 1018, "name": "resourceIds", "variant": "param", "kind": 32768, @@ -24853,14 +24834,14 @@ { "type": "reflection", "declaration": { - "id": 1020, + "id": 1019, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1021, + "id": 1020, "name": "id", "variant": "declaration", "kind": 1024, @@ -24875,7 +24856,7 @@ { "title": "Properties", "children": [ - 1021 + 1020 ] } ] @@ -24919,21 +24900,21 @@ ] }, { - "id": 1022, + "id": 1021, "name": "addConditionResources", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1023, + "id": 1022, "name": "addConditionResources", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1024, + "id": 1023, "name": "conditionId", "variant": "param", "kind": 32768, @@ -24944,7 +24925,7 @@ } }, { - "id": 1025, + "id": 1024, "name": "resourceIds", "variant": "param", "kind": 32768, @@ -24961,14 +24942,14 @@ { "type": "reflection", "declaration": { - "id": 1026, + "id": 1025, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1027, + "id": 1026, "name": "id", "variant": "declaration", "kind": 1024, @@ -24983,7 +24964,7 @@ { "title": "Properties", "children": [ - 1027 + 1026 ] } ] @@ -24994,7 +24975,7 @@ } }, { - "id": 1028, + "id": 1027, "name": "type", "variant": "param", "kind": 32768, @@ -25010,7 +24991,7 @@ } }, { - "id": 1029, + "id": 1028, "name": "overrideExisting", "variant": "param", "kind": 32768, @@ -25090,21 +25071,21 @@ ] }, { - "id": 1030, + "id": 1029, "name": "queryConditionTable", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1031, + "id": 1030, "name": "queryConditionTable", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1032, + "id": 1031, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -25112,14 +25093,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1033, + "id": 1032, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1034, + "id": 1033, "name": "type", "variant": "declaration", "kind": 1024, @@ -25130,7 +25111,7 @@ } }, { - "id": 1035, + "id": 1034, "name": "conditionId", "variant": "declaration", "kind": 1024, @@ -25141,7 +25122,7 @@ } }, { - "id": 1036, + "id": 1035, "name": "resourceId", "variant": "declaration", "kind": 1024, @@ -25156,9 +25137,9 @@ { "title": "Properties", "children": [ + 1033, 1034, - 1035, - 1036 + 1035 ] } ] @@ -25185,21 +25166,21 @@ ] }, { - "id": 1037, + "id": 1036, "name": "isValidForProduct", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1038, + "id": 1037, "name": "isValidForProduct", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1039, + "id": 1038, "name": "discountRuleId", "variant": "param", "kind": 32768, @@ -25210,7 +25191,7 @@ } }, { - "id": 1040, + "id": 1039, "name": "productId", "variant": "param", "kind": 32768, @@ -25240,21 +25221,21 @@ ] }, { - "id": 1041, + "id": 1040, "name": "canApplyForCustomer", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1042, + "id": 1041, "name": "canApplyForCustomer", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1043, + "id": 1042, "name": "discountRuleId", "variant": "param", "kind": 32768, @@ -25265,7 +25246,7 @@ } }, { - "id": 1044, + "id": 1043, "name": "customerId", "variant": "param", "kind": 32768, @@ -25299,13 +25280,13 @@ { "title": "Methods", "children": [ - 999, - 1005, - 1015, - 1022, - 1030, - 1037, - 1041 + 998, + 1004, + 1014, + 1021, + 1029, + 1036, + 1040 ] } ] @@ -25315,7 +25296,7 @@ } }, { - "id": 1045, + "id": 1044, "name": "discountConditionService_", "variant": "declaration", "kind": 1024, @@ -25325,13 +25306,13 @@ }, "type": { "type": "reference", - "target": 1172, + "target": 1171, "name": "DiscountConditionService", "package": "@medusajs/medusa" } }, { - "id": 1046, + "id": 1045, "name": "totalsService_", "variant": "declaration", "kind": 1024, @@ -25341,13 +25322,13 @@ }, "type": { "type": "reference", - "target": 6079, + "target": 6068, "name": "TotalsService", "package": "@medusajs/medusa" } }, { - "id": 1047, + "id": 1046, "name": "newTotalsService_", "variant": "declaration", "kind": 1024, @@ -25357,13 +25338,13 @@ }, "type": { "type": "reference", - "target": 1998, + "target": 1997, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 1048, + "id": 1047, "name": "productService_", "variant": "declaration", "kind": 1024, @@ -25373,13 +25354,13 @@ }, "type": { "type": "reference", - "target": 3484, + "target": 3473, "name": "ProductService", "package": "@medusajs/medusa" } }, { - "id": 1049, + "id": 1048, "name": "regionService_", "variant": "declaration", "kind": 1024, @@ -25389,13 +25370,13 @@ }, "type": { "type": "reference", - "target": 4612, + "target": 4601, "name": "RegionService", "package": "@medusajs/medusa" } }, { - "id": 1050, + "id": 1049, "name": "eventBus_", "variant": "declaration", "kind": 1024, @@ -25405,13 +25386,13 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 1051, + "id": 1050, "name": "featureFlagRouter_", "variant": "declaration", "kind": 1024, @@ -25422,7 +25403,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/feature-flags/utils/flag-router.d.ts", + "sourceFileName": "../../../packages/utils/src/feature-flags/utils/flag-router.ts", "qualifiedName": "FlagRouter" }, "name": "FlagRouter", @@ -25430,21 +25411,21 @@ } }, { - "id": 972, + "id": 971, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 973, + "id": 972, "name": "new DiscountService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 974, + "id": 973, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -25452,14 +25433,14 @@ "type": { "type": "reflection", "declaration": { - "id": 975, + "id": 974, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 976, + "id": 975, "name": "discountRepository", "variant": "declaration", "kind": 1024, @@ -25470,7 +25451,7 @@ } }, { - "id": 977, + "id": 976, "name": "discountRuleRepository", "variant": "declaration", "kind": 1024, @@ -25481,7 +25462,7 @@ } }, { - "id": 978, + "id": 977, "name": "giftCardRepository", "variant": "declaration", "kind": 1024, @@ -25492,7 +25473,7 @@ } }, { - "id": 979, + "id": 978, "name": "discountConditionRepository", "variant": "declaration", "kind": 1024, @@ -25503,7 +25484,7 @@ } }, { - "id": 980, + "id": 979, "name": "discountConditionService", "variant": "declaration", "kind": 1024, @@ -25514,7 +25495,7 @@ } }, { - "id": 981, + "id": 980, "name": "totalsService", "variant": "declaration", "kind": 1024, @@ -25525,7 +25506,7 @@ } }, { - "id": 982, + "id": 981, "name": "newTotalsService", "variant": "declaration", "kind": 1024, @@ -25536,7 +25517,7 @@ } }, { - "id": 983, + "id": 982, "name": "productService", "variant": "declaration", "kind": 1024, @@ -25547,7 +25528,7 @@ } }, { - "id": 984, + "id": 983, "name": "regionService", "variant": "declaration", "kind": 1024, @@ -25558,7 +25539,7 @@ } }, { - "id": 985, + "id": 984, "name": "customerService", "variant": "declaration", "kind": 1024, @@ -25569,7 +25550,7 @@ } }, { - "id": 986, + "id": 985, "name": "eventBusService", "variant": "declaration", "kind": 1024, @@ -25580,7 +25561,7 @@ } }, { - "id": 987, + "id": 986, "name": "featureFlagRouter", "variant": "declaration", "kind": 1024, @@ -25595,6 +25576,7 @@ { "title": "Properties", "children": [ + 975, 976, 977, 978, @@ -25605,8 +25587,7 @@ 983, 984, 985, - 986, - 987 + 986 ] } ] @@ -25616,7 +25597,7 @@ ], "type": { "type": "reference", - "target": 968, + "target": 967, "name": "DiscountService", "package": "@medusajs/medusa" }, @@ -25634,14 +25615,14 @@ } }, { - "id": 1052, + "id": 1051, "name": "validateDiscountRule_", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1053, + "id": 1052, "name": "validateDiscountRule_", "variant": "signature", "kind": 4096, @@ -25667,7 +25648,7 @@ }, "typeParameter": [ { - "id": 1054, + "id": 1053, "name": "T", "variant": "typeParam", "kind": 131072, @@ -25675,14 +25656,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1055, + "id": 1054, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1056, + "id": 1055, "name": "type", "variant": "declaration", "kind": 1024, @@ -25698,7 +25679,7 @@ } }, { - "id": 1057, + "id": 1056, "name": "value", "variant": "declaration", "kind": 1024, @@ -25713,8 +25694,8 @@ { "title": "Properties", "children": [ - 1056, - 1057 + 1055, + 1056 ] } ] @@ -25724,7 +25705,7 @@ ], "parameters": [ { - "id": 1058, + "id": 1057, "name": "discountRule", "variant": "param", "kind": 32768, @@ -25739,7 +25720,7 @@ }, "type": { "type": "reference", - "target": 1054, + "target": 1053, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -25748,7 +25729,7 @@ ], "type": { "type": "reference", - "target": 1054, + "target": 1053, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -25757,14 +25738,14 @@ ] }, { - "id": 1059, + "id": 1058, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1060, + "id": 1059, "name": "list", "variant": "signature", "kind": 4096, @@ -25785,7 +25766,7 @@ }, "parameters": [ { - "id": 1061, + "id": 1060, "name": "selector", "variant": "param", "kind": 32768, @@ -25810,7 +25791,7 @@ "defaultValue": "{}" }, { - "id": 1062, + "id": 1061, "name": "config", "variant": "param", "kind": 32768, @@ -25873,14 +25854,14 @@ ] }, { - "id": 1063, + "id": 1062, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1064, + "id": 1063, "name": "listAndCount", "variant": "signature", "kind": 4096, @@ -25901,7 +25882,7 @@ }, "parameters": [ { - "id": 1065, + "id": 1064, "name": "selector", "variant": "param", "kind": 32768, @@ -25926,7 +25907,7 @@ "defaultValue": "{}" }, { - "id": 1066, + "id": 1065, "name": "config", "variant": "param", "kind": 32768, @@ -25998,14 +25979,14 @@ ] }, { - "id": 1067, + "id": 1066, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1068, + "id": 1067, "name": "create", "variant": "signature", "kind": 4096, @@ -26031,7 +26012,7 @@ }, "parameters": [ { - "id": 1069, + "id": 1068, "name": "discount", "variant": "param", "kind": 32768, @@ -26079,14 +26060,14 @@ ] }, { - "id": 1070, + "id": 1069, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1071, + "id": 1070, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -26112,7 +26093,7 @@ }, "parameters": [ { - "id": 1072, + "id": 1071, "name": "discountId", "variant": "param", "kind": 32768, @@ -26131,7 +26112,7 @@ } }, { - "id": 1073, + "id": 1072, "name": "config", "variant": "param", "kind": 32768, @@ -26191,14 +26172,14 @@ ] }, { - "id": 1074, + "id": 1073, "name": "retrieveByCode", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1075, + "id": 1074, "name": "retrieveByCode", "variant": "signature", "kind": 4096, @@ -26224,7 +26205,7 @@ }, "parameters": [ { - "id": 1076, + "id": 1075, "name": "discountCode", "variant": "param", "kind": 32768, @@ -26243,7 +26224,7 @@ } }, { - "id": 1077, + "id": 1076, "name": "config", "variant": "param", "kind": 32768, @@ -26303,14 +26284,14 @@ ] }, { - "id": 1078, + "id": 1077, "name": "listByCodes", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1079, + "id": 1078, "name": "listByCodes", "variant": "signature", "kind": 4096, @@ -26336,7 +26317,7 @@ }, "parameters": [ { - "id": 1080, + "id": 1079, "name": "discountCodes", "variant": "param", "kind": 32768, @@ -26358,7 +26339,7 @@ } }, { - "id": 1081, + "id": 1080, "name": "config", "variant": "param", "kind": 32768, @@ -26421,14 +26402,14 @@ ] }, { - "id": 1082, + "id": 1081, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1083, + "id": 1082, "name": "update", "variant": "signature", "kind": 4096, @@ -26454,7 +26435,7 @@ }, "parameters": [ { - "id": 1084, + "id": 1083, "name": "discountId", "variant": "param", "kind": 32768, @@ -26473,7 +26454,7 @@ } }, { - "id": 1085, + "id": 1084, "name": "update", "variant": "param", "kind": 32768, @@ -26521,14 +26502,14 @@ ] }, { - "id": 1086, + "id": 1085, "name": "createDynamicCode", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1087, + "id": 1086, "name": "createDynamicCode", "variant": "signature", "kind": 4096, @@ -26554,7 +26535,7 @@ }, "parameters": [ { - "id": 1088, + "id": 1087, "name": "discountId", "variant": "param", "kind": 32768, @@ -26573,7 +26554,7 @@ } }, { - "id": 1089, + "id": 1088, "name": "data", "variant": "param", "kind": 32768, @@ -26621,14 +26602,14 @@ ] }, { - "id": 1090, + "id": 1089, "name": "deleteDynamicCode", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1091, + "id": 1090, "name": "deleteDynamicCode", "variant": "signature", "kind": 4096, @@ -26654,7 +26635,7 @@ }, "parameters": [ { - "id": 1092, + "id": 1091, "name": "discountId", "variant": "param", "kind": 32768, @@ -26673,7 +26654,7 @@ } }, { - "id": 1093, + "id": 1092, "name": "code", "variant": "param", "kind": 32768, @@ -26711,14 +26692,14 @@ ] }, { - "id": 1094, + "id": 1093, "name": "addRegion", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1095, + "id": 1094, "name": "addRegion", "variant": "signature", "kind": 4096, @@ -26744,7 +26725,7 @@ }, "parameters": [ { - "id": 1096, + "id": 1095, "name": "discountId", "variant": "param", "kind": 32768, @@ -26763,7 +26744,7 @@ } }, { - "id": 1097, + "id": 1096, "name": "regionId", "variant": "param", "kind": 32768, @@ -26806,14 +26787,14 @@ ] }, { - "id": 1098, + "id": 1097, "name": "removeRegion", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1099, + "id": 1098, "name": "removeRegion", "variant": "signature", "kind": 4096, @@ -26839,7 +26820,7 @@ }, "parameters": [ { - "id": 1100, + "id": 1099, "name": "discountId", "variant": "param", "kind": 32768, @@ -26858,7 +26839,7 @@ } }, { - "id": 1101, + "id": 1100, "name": "regionId", "variant": "param", "kind": 32768, @@ -26901,14 +26882,14 @@ ] }, { - "id": 1102, + "id": 1101, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1103, + "id": 1102, "name": "delete", "variant": "signature", "kind": 4096, @@ -26934,7 +26915,7 @@ }, "parameters": [ { - "id": 1104, + "id": 1103, "name": "discountId", "variant": "param", "kind": 32768, @@ -26972,21 +26953,21 @@ ] }, { - "id": 1105, + "id": 1104, "name": "validateDiscountForProduct", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1106, + "id": 1105, "name": "validateDiscountForProduct", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1107, + "id": 1106, "name": "discountRuleId", "variant": "param", "kind": 32768, @@ -26997,7 +26978,7 @@ } }, { - "id": 1108, + "id": 1107, "name": "productId", "variant": "param", "kind": 32768, @@ -27029,21 +27010,21 @@ ] }, { - "id": 1109, + "id": 1108, "name": "calculateDiscountForLineItem", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1110, + "id": 1109, "name": "calculateDiscountForLineItem", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1111, + "id": 1110, "name": "discountId", "variant": "param", "kind": 32768, @@ -27054,7 +27035,7 @@ } }, { - "id": 1112, + "id": 1111, "name": "lineItem", "variant": "param", "kind": 32768, @@ -27070,7 +27051,7 @@ } }, { - "id": 1113, + "id": 1112, "name": "calculationContextData", "variant": "param", "kind": 32768, @@ -27105,21 +27086,21 @@ ] }, { - "id": 1114, + "id": 1113, "name": "validateDiscountForCartOrThrow", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1115, + "id": 1114, "name": "validateDiscountForCartOrThrow", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1116, + "id": 1115, "name": "cart", "variant": "param", "kind": 32768, @@ -27135,7 +27116,7 @@ } }, { - "id": 1117, + "id": 1116, "name": "discount", "variant": "param", "kind": 32768, @@ -27187,21 +27168,21 @@ ] }, { - "id": 1118, + "id": 1117, "name": "hasCustomersGroupCondition", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1119, + "id": 1118, "name": "hasCustomersGroupCondition", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1120, + "id": 1119, "name": "discount", "variant": "param", "kind": 32768, @@ -27225,21 +27206,21 @@ ] }, { - "id": 1121, + "id": 1120, "name": "hasReachedLimit", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1122, + "id": 1121, "name": "hasReachedLimit", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1123, + "id": 1122, "name": "discount", "variant": "param", "kind": 32768, @@ -27263,21 +27244,21 @@ ] }, { - "id": 1124, + "id": 1123, "name": "hasNotStarted", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1125, + "id": 1124, "name": "hasNotStarted", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1126, + "id": 1125, "name": "discount", "variant": "param", "kind": 32768, @@ -27301,21 +27282,21 @@ ] }, { - "id": 1127, + "id": 1126, "name": "hasExpired", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1128, + "id": 1127, "name": "hasExpired", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1129, + "id": 1128, "name": "discount", "variant": "param", "kind": 32768, @@ -27339,21 +27320,21 @@ ] }, { - "id": 1130, + "id": 1129, "name": "isDisabled", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1131, + "id": 1130, "name": "isDisabled", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1132, + "id": 1131, "name": "discount", "variant": "param", "kind": 32768, @@ -27377,21 +27358,21 @@ ] }, { - "id": 1133, + "id": 1132, "name": "isValidForRegion", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1134, + "id": 1133, "name": "isValidForRegion", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1135, + "id": 1134, "name": "discount", "variant": "param", "kind": 32768, @@ -27407,7 +27388,7 @@ } }, { - "id": 1136, + "id": 1135, "name": "region_id", "variant": "param", "kind": 32768, @@ -27437,21 +27418,21 @@ ] }, { - "id": 1137, + "id": 1136, "name": "canApplyForCustomer", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1138, + "id": 1137, "name": "canApplyForCustomer", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1139, + "id": 1138, "name": "discountRuleId", "variant": "param", "kind": 32768, @@ -27462,7 +27443,7 @@ } }, { - "id": 1140, + "id": 1139, "name": "customerId", "variant": "param", "kind": 32768, @@ -27505,67 +27486,67 @@ { "title": "Constructors", "children": [ - 972 + 971 ] }, { "title": "Properties", "children": [ + 1140, 1141, - 1142, + 1144, 1145, 1146, - 1147, - 969, + 968, + 987, 988, 989, 990, - 991, - 997, + 996, + 1044, 1045, 1046, 1047, 1048, 1049, - 1050, - 1051 + 1050 ] }, { "title": "Accessors", "children": [ - 1143 + 1142 ] }, { "title": "Methods", "children": [ - 1148, - 1151, - 1156, - 1052, - 1059, - 1063, - 1067, - 1070, - 1074, - 1078, - 1082, - 1086, - 1090, - 1094, - 1098, - 1102, - 1105, - 1109, - 1114, - 1118, - 1121, - 1124, - 1127, - 1130, - 1133, - 1137 + 1147, + 1150, + 1155, + 1051, + 1058, + 1062, + 1066, + 1069, + 1073, + 1077, + 1081, + 1085, + 1089, + 1093, + 1097, + 1101, + 1104, + 1108, + 1113, + 1117, + 1120, + 1123, + 1126, + 1129, + 1132, + 1136 ] } ], @@ -27582,7 +27563,7 @@ ] }, { - "id": 1280, + "id": 1279, "name": "DraftOrderService", "variant": "declaration", "kind": 128, @@ -27603,7 +27584,7 @@ }, "children": [ { - "id": 1338, + "id": 1337, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -27626,7 +27607,7 @@ } }, { - "id": 1339, + "id": 1338, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -27658,7 +27639,7 @@ } }, { - "id": 1340, + "id": 1339, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -27666,7 +27647,7 @@ "isProtected": true }, "getSignature": { - "id": 1341, + "id": 1340, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -27693,7 +27674,7 @@ } }, { - "id": 1342, + "id": 1341, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -27712,7 +27693,7 @@ } }, { - "id": 1343, + "id": 1342, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -27747,7 +27728,7 @@ } }, { - "id": 1344, + "id": 1343, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -27782,21 +27763,21 @@ } }, { - "id": 1345, + "id": 1344, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1346, + "id": 1345, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1347, + "id": 1346, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -27832,7 +27813,7 @@ } }, { - "id": 1348, + "id": 1347, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -27841,14 +27822,14 @@ }, "signatures": [ { - "id": 1349, + "id": 1348, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1350, + "id": 1349, "name": "err", "variant": "param", "kind": 32768, @@ -27878,14 +27859,14 @@ { "type": "reflection", "declaration": { - "id": 1351, + "id": 1350, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1352, + "id": 1351, "name": "code", "variant": "declaration", "kind": 1024, @@ -27900,7 +27881,7 @@ { "title": "Properties", "children": [ - 1352 + 1351 ] } ] @@ -27928,7 +27909,7 @@ } }, { - "id": 1353, + "id": 1352, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -27937,7 +27918,7 @@ }, "signatures": [ { - "id": 1354, + "id": 1353, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -27963,14 +27944,14 @@ }, "typeParameter": [ { - "id": 1355, + "id": 1354, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 1356, + "id": 1355, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -27979,7 +27960,7 @@ ], "parameters": [ { - "id": 1357, + "id": 1356, "name": "work", "variant": "param", "kind": 32768, @@ -27995,21 +27976,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1358, + "id": 1357, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1359, + "id": 1358, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1360, + "id": 1359, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -28049,7 +28030,7 @@ } }, { - "id": 1361, + "id": 1360, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -28079,21 +28060,21 @@ { "type": "reflection", "declaration": { - "id": 1362, + "id": 1361, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1363, + "id": 1362, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1364, + "id": 1363, "name": "error", "variant": "param", "kind": 32768, @@ -28142,7 +28123,7 @@ } }, { - "id": 1365, + "id": 1364, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -28160,21 +28141,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1366, + "id": 1365, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1367, + "id": 1366, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1368, + "id": 1367, "name": "error", "variant": "param", "kind": 32768, @@ -28253,7 +28234,7 @@ } }, { - "id": 1281, + "id": 1280, "name": "Events", "variant": "declaration", "kind": 1024, @@ -28264,14 +28245,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1282, + "id": 1281, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1283, + "id": 1282, "name": "CREATED", "variant": "declaration", "kind": 1024, @@ -28283,7 +28264,7 @@ "defaultValue": "\"draft_order.created\"" }, { - "id": 1284, + "id": 1283, "name": "UPDATED", "variant": "declaration", "kind": 1024, @@ -28299,8 +28280,8 @@ { "title": "Properties", "children": [ - 1283, - 1284 + 1282, + 1283 ] } ] @@ -28309,7 +28290,7 @@ "defaultValue": "..." }, { - "id": 1288, + "id": 1287, "name": "draftOrderRepository_", "variant": "declaration", "kind": 1024, @@ -28339,7 +28320,7 @@ } }, { - "id": 1289, + "id": 1288, "name": "paymentRepository_", "variant": "declaration", "kind": 1024, @@ -28369,7 +28350,7 @@ } }, { - "id": 1290, + "id": 1289, "name": "orderRepository_", "variant": "declaration", "kind": 1024, @@ -28403,28 +28384,28 @@ { "type": "reflection", "declaration": { - "id": 1291, + "id": 1290, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1292, + "id": 1291, "name": "findWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1293, + "id": 1292, "name": "findWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1294, + "id": 1293, "name": "relations", "variant": "param", "kind": 32768, @@ -28452,7 +28433,7 @@ "defaultValue": "{}" }, { - "id": 1295, + "id": 1294, "name": "optionsWithoutRelations", "variant": "param", "kind": 32768, @@ -28522,21 +28503,21 @@ ] }, { - "id": 1296, + "id": 1295, "name": "findOneWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1297, + "id": 1296, "name": "findOneWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1298, + "id": 1297, "name": "relations", "variant": "param", "kind": 32768, @@ -28564,7 +28545,7 @@ "defaultValue": "{}" }, { - "id": 1299, + "id": 1298, "name": "optionsWithoutRelations", "variant": "param", "kind": 32768, @@ -28635,8 +28616,8 @@ { "title": "Methods", "children": [ - 1292, - 1296 + 1291, + 1295 ] } ] @@ -28646,7 +28627,7 @@ } }, { - "id": 1300, + "id": 1299, "name": "eventBus_", "variant": "declaration", "kind": 1024, @@ -28656,13 +28637,13 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 1301, + "id": 1300, "name": "cartService_", "variant": "declaration", "kind": 1024, @@ -28678,7 +28659,7 @@ } }, { - "id": 1302, + "id": 1301, "name": "lineItemService_", "variant": "declaration", "kind": 1024, @@ -28688,13 +28669,13 @@ }, "type": { "type": "reference", - "target": 1753, + "target": 1752, "name": "LineItemService", "package": "@medusajs/medusa" } }, { - "id": 1303, + "id": 1302, "name": "productVariantService_", "variant": "declaration", "kind": 1024, @@ -28704,13 +28685,13 @@ }, "type": { "type": "reference", - "target": 4139, + "target": 4128, "name": "ProductVariantService", "package": "@medusajs/medusa" } }, { - "id": 1304, + "id": 1303, "name": "shippingOptionService_", "variant": "declaration", "kind": 1024, @@ -28720,13 +28701,13 @@ }, "type": { "type": "reference", - "target": 5157, + "target": 5146, "name": "ShippingOptionService", "package": "@medusajs/medusa" } }, { - "id": 1305, + "id": 1304, "name": "customShippingOptionService_", "variant": "declaration", "kind": 1024, @@ -28736,27 +28717,27 @@ }, "type": { "type": "reference", - "target": 698, + "target": 697, "name": "CustomShippingOptionService", "package": "@medusajs/medusa" } }, { - "id": 1285, + "id": 1284, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1286, + "id": 1285, "name": "new DraftOrderService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 1287, + "id": 1286, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -28774,7 +28755,7 @@ ], "type": { "type": "reference", - "target": 1280, + "target": 1279, "name": "DraftOrderService", "package": "@medusajs/medusa" }, @@ -28792,14 +28773,14 @@ } }, { - "id": 1306, + "id": 1305, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1307, + "id": 1306, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -28825,7 +28806,7 @@ }, "parameters": [ { - "id": 1308, + "id": 1307, "name": "draftOrderId", "variant": "param", "kind": 32768, @@ -28844,7 +28825,7 @@ } }, { - "id": 1309, + "id": 1308, "name": "config", "variant": "param", "kind": 32768, @@ -28904,14 +28885,14 @@ ] }, { - "id": 1310, + "id": 1309, "name": "retrieveByCartId", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1311, + "id": 1310, "name": "retrieveByCartId", "variant": "signature", "kind": 4096, @@ -28937,7 +28918,7 @@ }, "parameters": [ { - "id": 1312, + "id": 1311, "name": "cartId", "variant": "param", "kind": 32768, @@ -28956,7 +28937,7 @@ } }, { - "id": 1313, + "id": 1312, "name": "config", "variant": "param", "kind": 32768, @@ -29016,14 +28997,14 @@ ] }, { - "id": 1314, + "id": 1313, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1315, + "id": 1314, "name": "delete", "variant": "signature", "kind": 4096, @@ -29049,7 +29030,7 @@ }, "parameters": [ { - "id": 1316, + "id": 1315, "name": "draftOrderId", "variant": "param", "kind": 32768, @@ -29101,14 +29082,14 @@ ] }, { - "id": 1317, + "id": 1316, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1318, + "id": 1317, "name": "listAndCount", "variant": "signature", "kind": 4096, @@ -29134,7 +29115,7 @@ }, "parameters": [ { - "id": 1319, + "id": 1318, "name": "selector", "variant": "param", "kind": 32768, @@ -29153,7 +29134,7 @@ } }, { - "id": 1320, + "id": 1319, "name": "config", "variant": "param", "kind": 32768, @@ -29225,14 +29206,14 @@ ] }, { - "id": 1321, + "id": 1320, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1322, + "id": 1321, "name": "list", "variant": "signature", "kind": 4096, @@ -29258,7 +29239,7 @@ }, "parameters": [ { - "id": 1323, + "id": 1322, "name": "selector", "variant": "param", "kind": 32768, @@ -29277,7 +29258,7 @@ } }, { - "id": 1324, + "id": 1323, "name": "config", "variant": "param", "kind": 32768, @@ -29340,14 +29321,14 @@ ] }, { - "id": 1325, + "id": 1324, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1326, + "id": 1325, "name": "create", "variant": "signature", "kind": 4096, @@ -29373,7 +29354,7 @@ }, "parameters": [ { - "id": 1327, + "id": 1326, "name": "data", "variant": "param", "kind": 32768, @@ -29421,14 +29402,14 @@ ] }, { - "id": 1328, + "id": 1327, "name": "registerCartCompletion", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1329, + "id": 1328, "name": "registerCartCompletion", "variant": "signature", "kind": 4096, @@ -29454,7 +29435,7 @@ }, "parameters": [ { - "id": 1330, + "id": 1329, "name": "draftOrderId", "variant": "param", "kind": 32768, @@ -29473,7 +29454,7 @@ } }, { - "id": 1331, + "id": 1330, "name": "orderId", "variant": "param", "kind": 32768, @@ -29516,14 +29497,14 @@ ] }, { - "id": 1332, + "id": 1331, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1333, + "id": 1332, "name": "update", "variant": "signature", "kind": 4096, @@ -29549,7 +29530,7 @@ }, "parameters": [ { - "id": 1334, + "id": 1333, "name": "id", "variant": "param", "kind": 32768, @@ -29568,7 +29549,7 @@ } }, { - "id": 1335, + "id": 1334, "name": "data", "variant": "param", "kind": 32768, @@ -29584,14 +29565,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1336, + "id": 1335, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1337, + "id": 1336, "name": "no_notification_order", "variant": "declaration", "kind": 1024, @@ -29606,7 +29587,7 @@ { "title": "Properties", "children": [ - 1337 + 1336 ] } ] @@ -29642,49 +29623,49 @@ { "title": "Constructors", "children": [ - 1285 + 1284 ] }, { "title": "Properties", "children": [ + 1337, 1338, - 1339, + 1341, 1342, 1343, - 1344, - 1281, + 1280, + 1287, 1288, 1289, - 1290, + 1299, 1300, 1301, 1302, 1303, - 1304, - 1305 + 1304 ] }, { "title": "Accessors", "children": [ - 1340 + 1339 ] }, { "title": "Methods", "children": [ - 1345, - 1348, - 1353, - 1306, - 1310, - 1314, - 1317, - 1321, - 1325, - 1328, - 1332 + 1344, + 1347, + 1352, + 1305, + 1309, + 1313, + 1316, + 1320, + 1324, + 1327, + 1331 ] } ], @@ -29701,7 +29682,7 @@ ] }, { - "id": 1369, + "id": 1368, "name": "EventBusService", "variant": "declaration", "kind": 128, @@ -29716,7 +29697,7 @@ }, "children": [ { - "id": 1416, + "id": 1415, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -29739,7 +29720,7 @@ } }, { - "id": 1417, + "id": 1416, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -29771,7 +29752,7 @@ } }, { - "id": 1418, + "id": 1417, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -29779,7 +29760,7 @@ "isProtected": true }, "getSignature": { - "id": 1419, + "id": 1418, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -29806,7 +29787,7 @@ } }, { - "id": 1420, + "id": 1419, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -29825,7 +29806,7 @@ } }, { - "id": 1421, + "id": 1420, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -29860,7 +29841,7 @@ } }, { - "id": 1422, + "id": 1421, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -29895,7 +29876,7 @@ } }, { - "id": 1423, + "id": 1422, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -29904,14 +29885,14 @@ }, "signatures": [ { - "id": 1424, + "id": 1423, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1425, + "id": 1424, "name": "err", "variant": "param", "kind": 32768, @@ -29941,14 +29922,14 @@ { "type": "reflection", "declaration": { - "id": 1426, + "id": 1425, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1427, + "id": 1426, "name": "code", "variant": "declaration", "kind": 1024, @@ -29963,7 +29944,7 @@ { "title": "Properties", "children": [ - 1427 + 1426 ] } ] @@ -29991,7 +29972,7 @@ } }, { - "id": 1428, + "id": 1427, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -30000,7 +29981,7 @@ }, "signatures": [ { - "id": 1429, + "id": 1428, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -30026,14 +30007,14 @@ }, "typeParameter": [ { - "id": 1430, + "id": 1429, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 1431, + "id": 1430, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -30042,7 +30023,7 @@ ], "parameters": [ { - "id": 1432, + "id": 1431, "name": "work", "variant": "param", "kind": 32768, @@ -30058,21 +30039,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1433, + "id": 1432, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1434, + "id": 1433, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1435, + "id": 1434, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -30112,7 +30093,7 @@ } }, { - "id": 1436, + "id": 1435, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -30142,21 +30123,21 @@ { "type": "reflection", "declaration": { - "id": 1437, + "id": 1436, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1438, + "id": 1437, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1439, + "id": 1438, "name": "error", "variant": "param", "kind": 32768, @@ -30205,7 +30186,7 @@ } }, { - "id": 1440, + "id": 1439, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -30223,21 +30204,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1441, + "id": 1440, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1442, + "id": 1441, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1443, + "id": 1442, "name": "error", "variant": "param", "kind": 32768, @@ -30316,7 +30297,7 @@ } }, { - "id": 1375, + "id": 1374, "name": "config_", "variant": "declaration", "kind": 1024, @@ -30335,7 +30316,7 @@ } }, { - "id": 1376, + "id": 1375, "name": "stagedJobService_", "variant": "declaration", "kind": 1024, @@ -30345,13 +30326,13 @@ }, "type": { "type": "reference", - "target": 5453, + "target": 5442, "name": "StagedJobService", "package": "@medusajs/medusa" } }, { - "id": 1377, + "id": 1376, "name": "eventBusModuleService_", "variant": "declaration", "kind": 262144, @@ -30359,7 +30340,7 @@ "isProtected": true }, "getSignature": { - "id": 1378, + "id": 1377, "name": "eventBusModuleService_", "variant": "signature", "kind": 524288, @@ -30376,7 +30357,7 @@ } }, { - "id": 1379, + "id": 1378, "name": "logger_", "variant": "declaration", "kind": 1024, @@ -30395,7 +30376,7 @@ } }, { - "id": 1380, + "id": 1379, "name": "shouldEnqueuerRun", "variant": "declaration", "kind": 1024, @@ -30408,7 +30389,7 @@ } }, { - "id": 1381, + "id": 1380, "name": "enqueue_", "variant": "declaration", "kind": 1024, @@ -30432,21 +30413,21 @@ } }, { - "id": 1370, + "id": 1369, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1371, + "id": 1370, "name": "new EventBusService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 1372, + "id": 1371, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -30462,7 +30443,7 @@ } }, { - "id": 1373, + "id": 1372, "name": "config", "variant": "param", "kind": 32768, @@ -30478,7 +30459,7 @@ } }, { - "id": 1374, + "id": 1373, "name": "isSingleton", "variant": "param", "kind": 32768, @@ -30492,7 +30473,7 @@ ], "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" }, @@ -30510,21 +30491,21 @@ } }, { - "id": 1382, + "id": 1381, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1383, + "id": 1382, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1384, + "id": 1383, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -30570,14 +30551,14 @@ } }, { - "id": 1385, + "id": 1384, "name": "subscribe", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1386, + "id": 1385, "name": "subscribe", "variant": "signature", "kind": 4096, @@ -30603,7 +30584,7 @@ }, "parameters": [ { - "id": 1387, + "id": 1386, "name": "event", "variant": "param", "kind": 32768, @@ -30631,7 +30612,7 @@ } }, { - "id": 1388, + "id": 1387, "name": "subscriber", "variant": "param", "kind": 32768, @@ -30661,7 +30642,7 @@ } }, { - "id": 1389, + "id": 1388, "name": "context", "variant": "param", "kind": 32768, @@ -30705,14 +30686,14 @@ } }, { - "id": 1390, + "id": 1389, "name": "unsubscribe", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1391, + "id": 1390, "name": "unsubscribe", "variant": "signature", "kind": 4096, @@ -30738,7 +30719,7 @@ }, "parameters": [ { - "id": 1392, + "id": 1391, "name": "event", "variant": "param", "kind": 32768, @@ -30766,7 +30747,7 @@ } }, { - "id": 1393, + "id": 1392, "name": "subscriber", "variant": "param", "kind": 32768, @@ -30796,7 +30777,7 @@ } }, { - "id": 1394, + "id": 1393, "name": "context", "variant": "param", "kind": 32768, @@ -30838,14 +30819,14 @@ } }, { - "id": 1395, + "id": 1394, "name": "emit", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1396, + "id": 1395, "name": "emit", "variant": "signature", "kind": 4096, @@ -30871,7 +30852,7 @@ }, "typeParameter": [ { - "id": 1397, + "id": 1396, "name": "T", "variant": "typeParam", "kind": 131072, @@ -30880,7 +30861,7 @@ ], "parameters": [ { - "id": 1398, + "id": 1397, "name": "data", "variant": "param", "kind": 32768, @@ -30904,7 +30885,7 @@ "typeArguments": [ { "type": "reference", - "target": 1397, + "target": 1396, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -30955,14 +30936,14 @@ } }, { - "id": 1399, + "id": 1398, "name": "emit", "variant": "signature", "kind": 4096, "flags": {}, "typeParameter": [ { - "id": 1400, + "id": 1399, "name": "T", "variant": "typeParam", "kind": 131072, @@ -30971,7 +30952,7 @@ ], "parameters": [ { - "id": 1401, + "id": 1400, "name": "data", "variant": "param", "kind": 32768, @@ -30987,7 +30968,7 @@ "typeArguments": [ { "type": "reference", - "target": 1400, + "target": 1399, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -31038,7 +31019,7 @@ } }, { - "id": 1402, + "id": 1401, "name": "emit", "variant": "signature", "kind": 4096, @@ -31064,7 +31045,7 @@ }, "typeParameter": [ { - "id": 1403, + "id": 1402, "name": "T", "variant": "typeParam", "kind": 131072, @@ -31073,7 +31054,7 @@ ], "parameters": [ { - "id": 1404, + "id": 1403, "name": "eventName", "variant": "param", "kind": 32768, @@ -31092,7 +31073,7 @@ } }, { - "id": 1405, + "id": 1404, "name": "data", "variant": "param", "kind": 32768, @@ -31107,14 +31088,14 @@ }, "type": { "type": "reference", - "target": 1403, + "target": 1402, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true } }, { - "id": 1406, + "id": 1405, "name": "options", "variant": "param", "kind": 32768, @@ -31193,14 +31174,14 @@ } }, { - "id": 1407, + "id": 1406, "name": "startEnqueuer", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1408, + "id": 1407, "name": "startEnqueuer", "variant": "signature", "kind": 4096, @@ -31213,14 +31194,14 @@ ] }, { - "id": 1409, + "id": 1408, "name": "stopEnqueuer", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1410, + "id": 1409, "name": "stopEnqueuer", "variant": "signature", "kind": 4096, @@ -31244,14 +31225,14 @@ ] }, { - "id": 1411, + "id": 1410, "name": "enqueuer_", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1412, + "id": 1411, "name": "enqueuer_", "variant": "signature", "kind": 4096, @@ -31275,7 +31256,7 @@ ] }, { - "id": 1413, + "id": 1412, "name": "listJobs", "variant": "declaration", "kind": 2048, @@ -31284,14 +31265,14 @@ }, "signatures": [ { - "id": 1414, + "id": 1413, "name": "listJobs", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1415, + "id": 1414, "name": "listConfig", "variant": "param", "kind": 32768, @@ -31361,44 +31342,44 @@ { "title": "Constructors", "children": [ - 1370 + 1369 ] }, { "title": "Properties", "children": [ + 1415, 1416, - 1417, + 1419, 1420, 1421, - 1422, + 1374, 1375, - 1376, + 1378, 1379, - 1380, - 1381 + 1380 ] }, { "title": "Accessors", "children": [ - 1418, - 1377 + 1417, + 1376 ] }, { "title": "Methods", "children": [ - 1423, - 1428, - 1382, - 1385, - 1390, - 1395, - 1407, - 1409, - 1411, - 1413 + 1422, + 1427, + 1381, + 1384, + 1389, + 1394, + 1406, + 1408, + 1410, + 1412 ] } ], @@ -31426,7 +31407,7 @@ ] }, { - "id": 1524, + "id": 1523, "name": "FulfillmentProviderService", "variant": "declaration", "kind": 128, @@ -31441,7 +31422,7 @@ }, "children": [ { - "id": 1574, + "id": 1573, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -31464,7 +31445,7 @@ } }, { - "id": 1575, + "id": 1574, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -31496,7 +31477,7 @@ } }, { - "id": 1576, + "id": 1575, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -31504,7 +31485,7 @@ "isProtected": true }, "getSignature": { - "id": 1577, + "id": 1576, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -31531,7 +31512,7 @@ } }, { - "id": 1578, + "id": 1577, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -31550,7 +31531,7 @@ } }, { - "id": 1579, + "id": 1578, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -31585,7 +31566,7 @@ } }, { - "id": 1580, + "id": 1579, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -31620,21 +31601,21 @@ } }, { - "id": 1581, + "id": 1580, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1582, + "id": 1581, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1583, + "id": 1582, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -31670,7 +31651,7 @@ } }, { - "id": 1584, + "id": 1583, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -31679,14 +31660,14 @@ }, "signatures": [ { - "id": 1585, + "id": 1584, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1586, + "id": 1585, "name": "err", "variant": "param", "kind": 32768, @@ -31716,14 +31697,14 @@ { "type": "reflection", "declaration": { - "id": 1587, + "id": 1586, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1588, + "id": 1587, "name": "code", "variant": "declaration", "kind": 1024, @@ -31738,7 +31719,7 @@ { "title": "Properties", "children": [ - 1588 + 1587 ] } ] @@ -31766,7 +31747,7 @@ } }, { - "id": 1589, + "id": 1588, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -31775,7 +31756,7 @@ }, "signatures": [ { - "id": 1590, + "id": 1589, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -31801,14 +31782,14 @@ }, "typeParameter": [ { - "id": 1591, + "id": 1590, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 1592, + "id": 1591, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -31817,7 +31798,7 @@ ], "parameters": [ { - "id": 1593, + "id": 1592, "name": "work", "variant": "param", "kind": 32768, @@ -31833,21 +31814,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1594, + "id": 1593, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1595, + "id": 1594, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1596, + "id": 1595, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -31887,7 +31868,7 @@ } }, { - "id": 1597, + "id": 1596, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -31917,21 +31898,21 @@ { "type": "reflection", "declaration": { - "id": 1598, + "id": 1597, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1599, + "id": 1598, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1600, + "id": 1599, "name": "error", "variant": "param", "kind": 32768, @@ -31980,7 +31961,7 @@ } }, { - "id": 1601, + "id": 1600, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -31998,21 +31979,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1602, + "id": 1601, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1603, + "id": 1602, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1604, + "id": 1603, "name": "error", "variant": "param", "kind": 32768, @@ -32091,7 +32072,7 @@ } }, { - "id": 1528, + "id": 1527, "name": "container_", "variant": "declaration", "kind": 1024, @@ -32110,7 +32091,7 @@ } }, { - "id": 1529, + "id": 1528, "name": "fulfillmentProviderRepository_", "variant": "declaration", "kind": 1024, @@ -32140,21 +32121,21 @@ } }, { - "id": 1525, + "id": 1524, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1526, + "id": 1525, "name": "new FulfillmentProviderService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 1527, + "id": 1526, "name": "container", "variant": "param", "kind": 32768, @@ -32172,7 +32153,7 @@ ], "type": { "type": "reference", - "target": 1524, + "target": 1523, "name": "FulfillmentProviderService", "package": "@medusajs/medusa" }, @@ -32190,21 +32171,21 @@ } }, { - "id": 1530, + "id": 1529, "name": "registerInstalledProviders", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1531, + "id": 1530, "name": "registerInstalledProviders", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1532, + "id": 1531, "name": "providers", "variant": "param", "kind": 32768, @@ -32237,14 +32218,14 @@ ] }, { - "id": 1533, + "id": 1532, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1534, + "id": 1533, "name": "list", "variant": "signature", "kind": 4096, @@ -32276,21 +32257,21 @@ ] }, { - "id": 1535, + "id": 1534, "name": "listFulfillmentOptions", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1536, + "id": 1535, "name": "listFulfillmentOptions", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1537, + "id": 1536, "name": "providerIds", "variant": "param", "kind": 32768, @@ -32331,14 +32312,14 @@ ] }, { - "id": 1538, + "id": 1537, "name": "retrieveProvider", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1539, + "id": 1538, "name": "retrieveProvider", "variant": "signature", "kind": 4096, @@ -32359,7 +32340,7 @@ }, "parameters": [ { - "id": 1540, + "id": 1539, "name": "providerId", "variant": "param", "kind": 32768, @@ -32386,21 +32367,21 @@ ] }, { - "id": 1541, + "id": 1540, "name": "createFulfillment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1542, + "id": 1541, "name": "createFulfillment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1543, + "id": 1542, "name": "method", "variant": "param", "kind": 32768, @@ -32416,7 +32397,7 @@ } }, { - "id": 1544, + "id": 1543, "name": "items", "variant": "param", "kind": 32768, @@ -32435,7 +32416,7 @@ } }, { - "id": 1545, + "id": 1544, "name": "order", "variant": "param", "kind": 32768, @@ -32451,7 +32432,7 @@ } }, { - "id": 1546, + "id": 1545, "name": "fulfillment", "variant": "param", "kind": 32768, @@ -32516,21 +32497,21 @@ ] }, { - "id": 1547, + "id": 1546, "name": "canCalculate", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1548, + "id": 1547, "name": "canCalculate", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1549, + "id": 1548, "name": "option", "variant": "param", "kind": 32768, @@ -32565,21 +32546,21 @@ ] }, { - "id": 1550, + "id": 1549, "name": "validateFulfillmentData", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1551, + "id": 1550, "name": "validateFulfillmentData", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1552, + "id": 1551, "name": "option", "variant": "param", "kind": 32768, @@ -32595,7 +32576,7 @@ } }, { - "id": 1553, + "id": 1552, "name": "data", "variant": "param", "kind": 32768, @@ -32621,7 +32602,7 @@ } }, { - "id": 1554, + "id": 1553, "name": "cart", "variant": "param", "kind": 32768, @@ -32695,21 +32676,21 @@ ] }, { - "id": 1555, + "id": 1554, "name": "cancelFulfillment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1556, + "id": 1555, "name": "cancelFulfillment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1557, + "id": 1556, "name": "fulfillment", "variant": "param", "kind": 32768, @@ -32749,21 +32730,21 @@ ] }, { - "id": 1558, + "id": 1557, "name": "calculatePrice", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1559, + "id": 1558, "name": "calculatePrice", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1560, + "id": 1559, "name": "option", "variant": "param", "kind": 32768, @@ -32779,7 +32760,7 @@ } }, { - "id": 1561, + "id": 1560, "name": "data", "variant": "param", "kind": 32768, @@ -32805,7 +32786,7 @@ } }, { - "id": 1562, + "id": 1561, "name": "cart", "variant": "param", "kind": 32768, @@ -32856,21 +32837,21 @@ ] }, { - "id": 1563, + "id": 1562, "name": "validateOption", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1564, + "id": 1563, "name": "validateOption", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1565, + "id": 1564, "name": "option", "variant": "param", "kind": 32768, @@ -32905,21 +32886,21 @@ ] }, { - "id": 1566, + "id": 1565, "name": "createReturn", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1567, + "id": 1566, "name": "createReturn", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1568, + "id": 1567, "name": "returnOrder", "variant": "param", "kind": 32768, @@ -32969,14 +32950,14 @@ ] }, { - "id": 1569, + "id": 1568, "name": "retrieveDocuments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1570, + "id": 1569, "name": "retrieveDocuments", "variant": "signature", "kind": 4096, @@ -33002,7 +32983,7 @@ }, "parameters": [ { - "id": 1571, + "id": 1570, "name": "providerId", "variant": "param", "kind": 32768, @@ -33021,7 +33002,7 @@ } }, { - "id": 1572, + "id": 1571, "name": "fulfillmentData", "variant": "param", "kind": 32768, @@ -33055,7 +33036,7 @@ } }, { - "id": 1573, + "id": 1572, "name": "documentType", "variant": "param", "kind": 32768, @@ -33106,45 +33087,45 @@ { "title": "Constructors", "children": [ - 1525 + 1524 ] }, { "title": "Properties", "children": [ + 1573, 1574, - 1575, + 1577, 1578, 1579, - 1580, - 1528, - 1529 + 1527, + 1528 ] }, { "title": "Accessors", "children": [ - 1576 + 1575 ] }, { "title": "Methods", "children": [ - 1581, - 1584, - 1589, - 1530, - 1533, - 1535, - 1538, - 1541, - 1547, - 1550, - 1555, - 1558, - 1563, - 1566, - 1569 + 1580, + 1583, + 1588, + 1529, + 1532, + 1534, + 1537, + 1540, + 1546, + 1549, + 1554, + 1557, + 1562, + 1565, + 1568 ] } ], @@ -33161,7 +33142,7 @@ ] }, { - "id": 1444, + "id": 1443, "name": "FulfillmentService", "variant": "declaration", "kind": 128, @@ -33176,7 +33157,7 @@ }, "children": [ { - "id": 1493, + "id": 1492, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -33199,7 +33180,7 @@ } }, { - "id": 1494, + "id": 1493, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -33231,7 +33212,7 @@ } }, { - "id": 1495, + "id": 1494, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -33239,7 +33220,7 @@ "isProtected": true }, "getSignature": { - "id": 1496, + "id": 1495, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -33266,7 +33247,7 @@ } }, { - "id": 1497, + "id": 1496, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -33285,7 +33266,7 @@ } }, { - "id": 1498, + "id": 1497, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -33320,7 +33301,7 @@ } }, { - "id": 1499, + "id": 1498, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -33355,21 +33336,21 @@ } }, { - "id": 1500, + "id": 1499, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1501, + "id": 1500, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1502, + "id": 1501, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -33405,7 +33386,7 @@ } }, { - "id": 1503, + "id": 1502, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -33414,14 +33395,14 @@ }, "signatures": [ { - "id": 1504, + "id": 1503, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1505, + "id": 1504, "name": "err", "variant": "param", "kind": 32768, @@ -33451,14 +33432,14 @@ { "type": "reflection", "declaration": { - "id": 1506, + "id": 1505, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1507, + "id": 1506, "name": "code", "variant": "declaration", "kind": 1024, @@ -33473,7 +33454,7 @@ { "title": "Properties", "children": [ - 1507 + 1506 ] } ] @@ -33501,7 +33482,7 @@ } }, { - "id": 1508, + "id": 1507, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -33510,7 +33491,7 @@ }, "signatures": [ { - "id": 1509, + "id": 1508, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -33536,14 +33517,14 @@ }, "typeParameter": [ { - "id": 1510, + "id": 1509, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 1511, + "id": 1510, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -33552,7 +33533,7 @@ ], "parameters": [ { - "id": 1512, + "id": 1511, "name": "work", "variant": "param", "kind": 32768, @@ -33568,21 +33549,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1513, + "id": 1512, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1514, + "id": 1513, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1515, + "id": 1514, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -33622,7 +33603,7 @@ } }, { - "id": 1516, + "id": 1515, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -33652,21 +33633,21 @@ { "type": "reflection", "declaration": { - "id": 1517, + "id": 1516, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1518, + "id": 1517, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1519, + "id": 1518, "name": "error", "variant": "param", "kind": 32768, @@ -33715,7 +33696,7 @@ } }, { - "id": 1520, + "id": 1519, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -33733,21 +33714,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1521, + "id": 1520, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1522, + "id": 1521, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1523, + "id": 1522, "name": "error", "variant": "param", "kind": 32768, @@ -33826,7 +33807,7 @@ } }, { - "id": 1448, + "id": 1447, "name": "totalsService_", "variant": "declaration", "kind": 1024, @@ -33836,13 +33817,13 @@ }, "type": { "type": "reference", - "target": 6079, + "target": 6068, "name": "TotalsService", "package": "@medusajs/medusa" } }, { - "id": 1449, + "id": 1448, "name": "lineItemService_", "variant": "declaration", "kind": 1024, @@ -33852,13 +33833,13 @@ }, "type": { "type": "reference", - "target": 1753, + "target": 1752, "name": "LineItemService", "package": "@medusajs/medusa" } }, { - "id": 1450, + "id": 1449, "name": "shippingProfileService_", "variant": "declaration", "kind": 1024, @@ -33868,13 +33849,13 @@ }, "type": { "type": "reference", - "target": 5273, + "target": 5262, "name": "ShippingProfileService", "package": "@medusajs/medusa" } }, { - "id": 1451, + "id": 1450, "name": "fulfillmentProviderService_", "variant": "declaration", "kind": 1024, @@ -33884,13 +33865,13 @@ }, "type": { "type": "reference", - "target": 1524, + "target": 1523, "name": "FulfillmentProviderService", "package": "@medusajs/medusa" } }, { - "id": 1452, + "id": 1451, "name": "fulfillmentRepository_", "variant": "declaration", "kind": 1024, @@ -33920,7 +33901,7 @@ } }, { - "id": 1453, + "id": 1452, "name": "trackingLinkRepository_", "variant": "declaration", "kind": 1024, @@ -33950,7 +33931,7 @@ } }, { - "id": 1454, + "id": 1453, "name": "lineItemRepository_", "variant": "declaration", "kind": 1024, @@ -33984,21 +33965,21 @@ { "type": "reflection", "declaration": { - "id": 1455, + "id": 1454, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1456, + "id": 1455, "name": "findByReturn", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1457, + "id": 1456, "name": "findByReturn", "variant": "signature", "kind": 4096, @@ -34040,7 +34021,7 @@ }, "parameters": [ { - "id": 1458, + "id": 1457, "name": "returnId", "variant": "param", "kind": 32768, @@ -34083,14 +34064,14 @@ { "type": "reflection", "declaration": { - "id": 1459, + "id": 1458, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1460, + "id": 1459, "name": "return_item", "variant": "declaration", "kind": 1024, @@ -34110,7 +34091,7 @@ { "title": "Properties", "children": [ - 1460 + 1459 ] } ] @@ -34131,7 +34112,7 @@ { "title": "Methods", "children": [ - 1456 + 1455 ] } ] @@ -34141,7 +34122,7 @@ } }, { - "id": 1461, + "id": 1460, "name": "productVariantInventoryService_", "variant": "declaration", "kind": 1024, @@ -34151,27 +34132,27 @@ }, "type": { "type": "reference", - "target": 4486, + "target": 4475, "name": "ProductVariantInventoryService", "package": "@medusajs/medusa" } }, { - "id": 1445, + "id": 1444, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1446, + "id": 1445, "name": "new FulfillmentService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 1447, + "id": 1446, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -34189,7 +34170,7 @@ ], "type": { "type": "reference", - "target": 1444, + "target": 1443, "name": "FulfillmentService", "package": "@medusajs/medusa" }, @@ -34207,21 +34188,21 @@ } }, { - "id": 1462, + "id": 1461, "name": "partitionItems_", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1463, + "id": 1462, "name": "partitionItems_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1464, + "id": 1463, "name": "shippingMethods", "variant": "param", "kind": 32768, @@ -34240,7 +34221,7 @@ } }, { - "id": 1465, + "id": 1464, "name": "items", "variant": "param", "kind": 32768, @@ -34275,14 +34256,14 @@ ] }, { - "id": 1466, + "id": 1465, "name": "getFulfillmentItems_", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1467, + "id": 1466, "name": "getFulfillmentItems_", "variant": "signature", "kind": 4096, @@ -34308,7 +34289,7 @@ }, "parameters": [ { - "id": 1468, + "id": 1467, "name": "order", "variant": "param", "kind": 32768, @@ -34332,7 +34313,7 @@ } }, { - "id": 1469, + "id": 1468, "name": "items", "variant": "param", "kind": 32768, @@ -34395,14 +34376,14 @@ ] }, { - "id": 1470, + "id": 1469, "name": "validateFulfillmentLineItem_", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1471, + "id": 1470, "name": "validateFulfillmentLineItem_", "variant": "signature", "kind": 4096, @@ -34428,7 +34409,7 @@ }, "parameters": [ { - "id": 1472, + "id": 1471, "name": "item", "variant": "param", "kind": 32768, @@ -34461,7 +34442,7 @@ } }, { - "id": 1473, + "id": 1472, "name": "quantity", "variant": "param", "kind": 32768, @@ -34502,14 +34483,14 @@ ] }, { - "id": 1474, + "id": 1473, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1475, + "id": 1474, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -34535,7 +34516,7 @@ }, "parameters": [ { - "id": 1476, + "id": 1475, "name": "fulfillmentId", "variant": "param", "kind": 32768, @@ -34554,7 +34535,7 @@ } }, { - "id": 1477, + "id": 1476, "name": "config", "variant": "param", "kind": 32768, @@ -34614,14 +34595,14 @@ ] }, { - "id": 1478, + "id": 1477, "name": "createFulfillment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1479, + "id": 1478, "name": "createFulfillment", "variant": "signature", "kind": 4096, @@ -34647,7 +34628,7 @@ }, "parameters": [ { - "id": 1480, + "id": 1479, "name": "order", "variant": "param", "kind": 32768, @@ -34671,7 +34652,7 @@ } }, { - "id": 1481, + "id": 1480, "name": "itemsToFulfill", "variant": "param", "kind": 32768, @@ -34698,7 +34679,7 @@ } }, { - "id": 1482, + "id": 1481, "name": "custom", "variant": "param", "kind": 32768, @@ -34761,14 +34742,14 @@ ] }, { - "id": 1483, + "id": 1482, "name": "cancelFulfillment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1484, + "id": 1483, "name": "cancelFulfillment", "variant": "signature", "kind": 4096, @@ -34794,7 +34775,7 @@ }, "parameters": [ { - "id": 1485, + "id": 1484, "name": "fulfillmentOrId", "variant": "param", "kind": 32768, @@ -34851,14 +34832,14 @@ ] }, { - "id": 1486, + "id": 1485, "name": "createShipment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1487, + "id": 1486, "name": "createShipment", "variant": "signature", "kind": 4096, @@ -34884,7 +34865,7 @@ }, "parameters": [ { - "id": 1488, + "id": 1487, "name": "fulfillmentId", "variant": "param", "kind": 32768, @@ -34903,7 +34884,7 @@ } }, { - "id": 1489, + "id": 1488, "name": "trackingLinks", "variant": "param", "kind": 32768, @@ -34923,14 +34904,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 1490, + "id": 1489, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1491, + "id": 1490, "name": "tracking_number", "variant": "declaration", "kind": 1024, @@ -34945,7 +34926,7 @@ { "title": "Properties", "children": [ - 1491 + 1490 ] } ] @@ -34954,7 +34935,7 @@ } }, { - "id": 1492, + "id": 1491, "name": "config", "variant": "param", "kind": 32768, @@ -35007,46 +34988,46 @@ { "title": "Constructors", "children": [ - 1445 + 1444 ] }, { "title": "Properties", "children": [ + 1492, 1493, - 1494, + 1496, 1497, 1498, - 1499, + 1447, 1448, 1449, 1450, 1451, 1452, 1453, - 1454, - 1461 + 1460 ] }, { "title": "Accessors", "children": [ - 1495 + 1494 ] }, { "title": "Methods", "children": [ - 1500, - 1503, - 1508, - 1462, - 1466, - 1470, - 1474, - 1478, - 1483, - 1486 + 1499, + 1502, + 1507, + 1461, + 1465, + 1469, + 1473, + 1477, + 1482, + 1485 ] } ], @@ -35063,7 +35044,7 @@ ] }, { - "id": 1605, + "id": 1604, "name": "GiftCardService", "variant": "declaration", "kind": 128, @@ -35078,7 +35059,7 @@ }, "children": [ { - "id": 1660, + "id": 1659, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -35101,7 +35082,7 @@ } }, { - "id": 1661, + "id": 1660, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -35133,7 +35114,7 @@ } }, { - "id": 1662, + "id": 1661, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -35141,7 +35122,7 @@ "isProtected": true }, "getSignature": { - "id": 1663, + "id": 1662, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -35168,7 +35149,7 @@ } }, { - "id": 1664, + "id": 1663, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -35187,7 +35168,7 @@ } }, { - "id": 1665, + "id": 1664, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -35222,7 +35203,7 @@ } }, { - "id": 1666, + "id": 1665, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -35257,21 +35238,21 @@ } }, { - "id": 1667, + "id": 1666, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1668, + "id": 1667, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1669, + "id": 1668, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -35307,7 +35288,7 @@ } }, { - "id": 1670, + "id": 1669, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -35316,14 +35297,14 @@ }, "signatures": [ { - "id": 1671, + "id": 1670, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1672, + "id": 1671, "name": "err", "variant": "param", "kind": 32768, @@ -35353,14 +35334,14 @@ { "type": "reflection", "declaration": { - "id": 1673, + "id": 1672, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1674, + "id": 1673, "name": "code", "variant": "declaration", "kind": 1024, @@ -35375,7 +35356,7 @@ { "title": "Properties", "children": [ - 1674 + 1673 ] } ] @@ -35403,7 +35384,7 @@ } }, { - "id": 1675, + "id": 1674, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -35412,7 +35393,7 @@ }, "signatures": [ { - "id": 1676, + "id": 1675, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -35438,14 +35419,14 @@ }, "typeParameter": [ { - "id": 1677, + "id": 1676, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 1678, + "id": 1677, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -35454,7 +35435,7 @@ ], "parameters": [ { - "id": 1679, + "id": 1678, "name": "work", "variant": "param", "kind": 32768, @@ -35470,21 +35451,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1680, + "id": 1679, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1681, + "id": 1680, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1682, + "id": 1681, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -35524,7 +35505,7 @@ } }, { - "id": 1683, + "id": 1682, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -35554,21 +35535,21 @@ { "type": "reflection", "declaration": { - "id": 1684, + "id": 1683, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1685, + "id": 1684, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1686, + "id": 1685, "name": "error", "variant": "param", "kind": 32768, @@ -35617,7 +35598,7 @@ } }, { - "id": 1687, + "id": 1686, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -35635,21 +35616,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1688, + "id": 1687, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1689, + "id": 1688, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1690, + "id": 1689, "name": "error", "variant": "param", "kind": 32768, @@ -35728,7 +35709,7 @@ } }, { - "id": 1618, + "id": 1617, "name": "giftCardRepository_", "variant": "declaration", "kind": 1024, @@ -35762,28 +35743,28 @@ { "type": "reflection", "declaration": { - "id": 1619, + "id": 1618, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1620, + "id": 1619, "name": "listGiftCardsAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1621, + "id": 1620, "name": "listGiftCardsAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1622, + "id": 1621, "name": "query", "variant": "param", "kind": 32768, @@ -35810,7 +35791,7 @@ } }, { - "id": 1623, + "id": 1622, "name": "q", "variant": "param", "kind": 32768, @@ -35863,7 +35844,7 @@ { "title": "Methods", "children": [ - 1620 + 1619 ] } ] @@ -35873,7 +35854,7 @@ } }, { - "id": 1624, + "id": 1623, "name": "giftCardTransactionRepo_", "variant": "declaration", "kind": 1024, @@ -35903,7 +35884,7 @@ } }, { - "id": 1625, + "id": 1624, "name": "regionService_", "variant": "declaration", "kind": 1024, @@ -35913,13 +35894,13 @@ }, "type": { "type": "reference", - "target": 4612, + "target": 4601, "name": "RegionService", "package": "@medusajs/medusa" } }, { - "id": 1626, + "id": 1625, "name": "eventBus_", "variant": "declaration", "kind": 1024, @@ -35929,13 +35910,13 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 1606, + "id": 1605, "name": "Events", "variant": "declaration", "kind": 1024, @@ -35945,14 +35926,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1607, + "id": 1606, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1608, + "id": 1607, "name": "CREATED", "variant": "declaration", "kind": 1024, @@ -35968,7 +35949,7 @@ { "title": "Properties", "children": [ - 1608 + 1607 ] } ] @@ -35977,21 +35958,21 @@ "defaultValue": "..." }, { - "id": 1615, + "id": 1614, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1616, + "id": 1615, "name": "new GiftCardService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 1617, + "id": 1616, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -36009,7 +35990,7 @@ ], "type": { "type": "reference", - "target": 1605, + "target": 1604, "name": "GiftCardService", "package": "@medusajs/medusa" }, @@ -36027,7 +36008,7 @@ } }, { - "id": 1609, + "id": 1608, "name": "generateCode", "variant": "declaration", "kind": 2048, @@ -36036,7 +36017,7 @@ }, "signatures": [ { - "id": 1610, + "id": 1609, "name": "generateCode", "variant": "signature", "kind": 4096, @@ -36068,14 +36049,14 @@ ] }, { - "id": 1627, + "id": 1626, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1628, + "id": 1627, "name": "listAndCount", "variant": "signature", "kind": 4096, @@ -36096,7 +36077,7 @@ }, "parameters": [ { - "id": 1629, + "id": 1628, "name": "selector", "variant": "param", "kind": 32768, @@ -36132,7 +36113,7 @@ "defaultValue": "{}" }, { - "id": 1630, + "id": 1629, "name": "config", "variant": "param", "kind": 32768, @@ -36204,14 +36185,14 @@ ] }, { - "id": 1631, + "id": 1630, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1632, + "id": 1631, "name": "list", "variant": "signature", "kind": 4096, @@ -36232,7 +36213,7 @@ }, "parameters": [ { - "id": 1633, + "id": 1632, "name": "selector", "variant": "param", "kind": 32768, @@ -36268,7 +36249,7 @@ "defaultValue": "{}" }, { - "id": 1634, + "id": 1633, "name": "config", "variant": "param", "kind": 32768, @@ -36331,21 +36312,21 @@ ] }, { - "id": 1635, + "id": 1634, "name": "createTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1636, + "id": 1635, "name": "createTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1637, + "id": 1636, "name": "data", "variant": "param", "kind": 32768, @@ -36380,14 +36361,14 @@ ] }, { - "id": 1638, + "id": 1637, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1639, + "id": 1638, "name": "create", "variant": "signature", "kind": 4096, @@ -36413,7 +36394,7 @@ }, "parameters": [ { - "id": 1640, + "id": 1639, "name": "giftCard", "variant": "param", "kind": 32768, @@ -36461,7 +36442,7 @@ ] }, { - "id": 1611, + "id": 1610, "name": "resolveTaxRate", "variant": "declaration", "kind": 2048, @@ -36471,7 +36452,7 @@ }, "signatures": [ { - "id": 1612, + "id": 1611, "name": "resolveTaxRate", "variant": "signature", "kind": 4096, @@ -36497,7 +36478,7 @@ }, "parameters": [ { - "id": 1613, + "id": 1612, "name": "giftCardTaxRate", "variant": "param", "kind": 32768, @@ -36517,7 +36498,7 @@ } }, { - "id": 1614, + "id": 1613, "name": "region", "variant": "param", "kind": 32768, @@ -36550,7 +36531,7 @@ ] }, { - "id": 1641, + "id": 1640, "name": "retrieve_", "variant": "declaration", "kind": 2048, @@ -36559,14 +36540,14 @@ }, "signatures": [ { - "id": 1642, + "id": 1641, "name": "retrieve_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1643, + "id": 1642, "name": "selector", "variant": "param", "kind": 32768, @@ -36593,7 +36574,7 @@ } }, { - "id": 1644, + "id": 1643, "name": "config", "variant": "param", "kind": 32768, @@ -36645,14 +36626,14 @@ ] }, { - "id": 1645, + "id": 1644, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1646, + "id": 1645, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -36678,7 +36659,7 @@ }, "parameters": [ { - "id": 1647, + "id": 1646, "name": "giftCardId", "variant": "param", "kind": 32768, @@ -36697,7 +36678,7 @@ } }, { - "id": 1648, + "id": 1647, "name": "config", "variant": "param", "kind": 32768, @@ -36757,21 +36738,21 @@ ] }, { - "id": 1649, + "id": 1648, "name": "retrieveByCode", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1650, + "id": 1649, "name": "retrieveByCode", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1651, + "id": 1650, "name": "code", "variant": "param", "kind": 32768, @@ -36782,7 +36763,7 @@ } }, { - "id": 1652, + "id": 1651, "name": "config", "variant": "param", "kind": 32768, @@ -36834,14 +36815,14 @@ ] }, { - "id": 1653, + "id": 1652, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1654, + "id": 1653, "name": "update", "variant": "signature", "kind": 4096, @@ -36867,7 +36848,7 @@ }, "parameters": [ { - "id": 1655, + "id": 1654, "name": "giftCardId", "variant": "param", "kind": 32768, @@ -36886,7 +36867,7 @@ } }, { - "id": 1656, + "id": 1655, "name": "update", "variant": "param", "kind": 32768, @@ -36934,14 +36915,14 @@ ] }, { - "id": 1657, + "id": 1656, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1658, + "id": 1657, "name": "delete", "variant": "signature", "kind": 4096, @@ -36967,7 +36948,7 @@ }, "parameters": [ { - "id": 1659, + "id": 1658, "name": "giftCardId", "variant": "param", "kind": 32768, @@ -37023,47 +37004,47 @@ { "title": "Constructors", "children": [ - 1615 + 1614 ] }, { "title": "Properties", "children": [ + 1659, 1660, - 1661, + 1663, 1664, 1665, - 1666, - 1618, + 1617, + 1623, 1624, 1625, - 1626, - 1606 + 1605 ] }, { "title": "Accessors", "children": [ - 1662 + 1661 ] }, { "title": "Methods", "children": [ - 1667, - 1670, - 1675, - 1609, - 1627, - 1631, - 1635, - 1638, - 1611, - 1641, - 1645, - 1649, - 1653, - 1657 + 1666, + 1669, + 1674, + 1608, + 1626, + 1630, + 1634, + 1637, + 1610, + 1640, + 1644, + 1648, + 1652, + 1656 ] } ], @@ -37080,14 +37061,14 @@ ] }, { - "id": 1691, + "id": 1690, "name": "IdempotencyKeyService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 1722, + "id": 1721, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -37110,7 +37091,7 @@ } }, { - "id": 1723, + "id": 1722, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -37142,7 +37123,7 @@ } }, { - "id": 1724, + "id": 1723, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -37150,7 +37131,7 @@ "isProtected": true }, "getSignature": { - "id": 1725, + "id": 1724, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -37177,7 +37158,7 @@ } }, { - "id": 1726, + "id": 1725, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -37196,7 +37177,7 @@ } }, { - "id": 1727, + "id": 1726, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -37231,7 +37212,7 @@ } }, { - "id": 1728, + "id": 1727, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -37266,21 +37247,21 @@ } }, { - "id": 1729, + "id": 1728, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1730, + "id": 1729, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1731, + "id": 1730, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -37316,7 +37297,7 @@ } }, { - "id": 1732, + "id": 1731, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -37325,14 +37306,14 @@ }, "signatures": [ { - "id": 1733, + "id": 1732, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1734, + "id": 1733, "name": "err", "variant": "param", "kind": 32768, @@ -37362,14 +37343,14 @@ { "type": "reflection", "declaration": { - "id": 1735, + "id": 1734, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1736, + "id": 1735, "name": "code", "variant": "declaration", "kind": 1024, @@ -37384,7 +37365,7 @@ { "title": "Properties", "children": [ - 1736 + 1735 ] } ] @@ -37412,7 +37393,7 @@ } }, { - "id": 1737, + "id": 1736, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -37421,7 +37402,7 @@ }, "signatures": [ { - "id": 1738, + "id": 1737, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -37447,14 +37428,14 @@ }, "typeParameter": [ { - "id": 1739, + "id": 1738, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 1740, + "id": 1739, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -37463,7 +37444,7 @@ ], "parameters": [ { - "id": 1741, + "id": 1740, "name": "work", "variant": "param", "kind": 32768, @@ -37479,21 +37460,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1742, + "id": 1741, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1743, + "id": 1742, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1744, + "id": 1743, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -37533,7 +37514,7 @@ } }, { - "id": 1745, + "id": 1744, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -37563,21 +37544,21 @@ { "type": "reflection", "declaration": { - "id": 1746, + "id": 1745, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1747, + "id": 1746, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1748, + "id": 1747, "name": "error", "variant": "param", "kind": 32768, @@ -37626,7 +37607,7 @@ } }, { - "id": 1749, + "id": 1748, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -37644,21 +37625,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1750, + "id": 1749, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1751, + "id": 1750, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1752, + "id": 1751, "name": "error", "variant": "param", "kind": 32768, @@ -37737,7 +37718,7 @@ } }, { - "id": 1695, + "id": 1694, "name": "idempotencyKeyRepository_", "variant": "declaration", "kind": 1024, @@ -37767,21 +37748,21 @@ } }, { - "id": 1692, + "id": 1691, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1693, + "id": 1692, "name": "new IdempotencyKeyService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 1694, + "id": 1693, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -37799,7 +37780,7 @@ ], "type": { "type": "reference", - "target": 1691, + "target": 1690, "name": "IdempotencyKeyService", "package": "@medusajs/medusa" }, @@ -37817,14 +37798,14 @@ } }, { - "id": 1696, + "id": 1695, "name": "initializeRequest", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1697, + "id": 1696, "name": "initializeRequest", "variant": "signature", "kind": 4096, @@ -37850,7 +37831,7 @@ }, "parameters": [ { - "id": 1698, + "id": 1697, "name": "headerKey", "variant": "param", "kind": 32768, @@ -37869,7 +37850,7 @@ } }, { - "id": 1699, + "id": 1698, "name": "reqMethod", "variant": "param", "kind": 32768, @@ -37888,7 +37869,7 @@ } }, { - "id": 1700, + "id": 1699, "name": "reqParams", "variant": "param", "kind": 32768, @@ -37922,7 +37903,7 @@ } }, { - "id": 1701, + "id": 1700, "name": "reqPath", "variant": "param", "kind": 32768, @@ -37965,14 +37946,14 @@ ] }, { - "id": 1702, + "id": 1701, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1703, + "id": 1702, "name": "create", "variant": "signature", "kind": 4096, @@ -37998,7 +37979,7 @@ }, "parameters": [ { - "id": 1704, + "id": 1703, "name": "payload", "variant": "param", "kind": 32768, @@ -38046,14 +38027,14 @@ ] }, { - "id": 1705, + "id": 1704, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1706, + "id": 1705, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -38079,7 +38060,7 @@ }, "parameters": [ { - "id": 1707, + "id": 1706, "name": "idempotencyKeyOrSelector", "variant": "param", "kind": 32768, @@ -38147,14 +38128,14 @@ ] }, { - "id": 1708, + "id": 1707, "name": "lock", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1709, + "id": 1708, "name": "lock", "variant": "signature", "kind": 4096, @@ -38180,7 +38161,7 @@ }, "parameters": [ { - "id": 1710, + "id": 1709, "name": "idempotencyKey", "variant": "param", "kind": 32768, @@ -38223,14 +38204,14 @@ ] }, { - "id": 1711, + "id": 1710, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1712, + "id": 1711, "name": "update", "variant": "signature", "kind": 4096, @@ -38256,7 +38237,7 @@ }, "parameters": [ { - "id": 1713, + "id": 1712, "name": "idempotencyKey", "variant": "param", "kind": 32768, @@ -38275,7 +38256,7 @@ } }, { - "id": 1714, + "id": 1713, "name": "update", "variant": "param", "kind": 32768, @@ -38334,14 +38315,14 @@ ] }, { - "id": 1715, + "id": 1714, "name": "workStage", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1716, + "id": 1715, "name": "workStage", "variant": "signature", "kind": 4096, @@ -38367,7 +38348,7 @@ }, "parameters": [ { - "id": 1717, + "id": 1716, "name": "idempotencyKey", "variant": "param", "kind": 32768, @@ -38386,7 +38367,7 @@ } }, { - "id": 1718, + "id": 1717, "name": "callback", "variant": "param", "kind": 32768, @@ -38402,21 +38383,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1719, + "id": 1718, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1720, + "id": 1719, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1721, + "id": 1720, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -38486,38 +38467,38 @@ { "title": "Constructors", "children": [ - 1692 + 1691 ] }, { "title": "Properties", "children": [ + 1721, 1722, - 1723, + 1725, 1726, 1727, - 1728, - 1695 + 1694 ] }, { "title": "Accessors", "children": [ - 1724 + 1723 ] }, { "title": "Methods", "children": [ - 1729, - 1732, - 1737, - 1696, - 1702, - 1705, - 1708, - 1711, - 1715 + 1728, + 1731, + 1736, + 1695, + 1701, + 1704, + 1707, + 1710, + 1714 ] } ], @@ -38534,7 +38515,7 @@ ] }, { - "id": 1892, + "id": 1891, "name": "LineItemAdjustmentService", "variant": "declaration", "kind": 128, @@ -38549,7 +38530,7 @@ }, "children": [ { - "id": 1931, + "id": 1930, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -38572,7 +38553,7 @@ } }, { - "id": 1932, + "id": 1931, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -38604,7 +38585,7 @@ } }, { - "id": 1933, + "id": 1932, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -38612,7 +38593,7 @@ "isProtected": true }, "getSignature": { - "id": 1934, + "id": 1933, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -38639,7 +38620,7 @@ } }, { - "id": 1935, + "id": 1934, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -38658,7 +38639,7 @@ } }, { - "id": 1936, + "id": 1935, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -38693,7 +38674,7 @@ } }, { - "id": 1937, + "id": 1936, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -38728,21 +38709,21 @@ } }, { - "id": 1938, + "id": 1937, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1939, + "id": 1938, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1940, + "id": 1939, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -38778,7 +38759,7 @@ } }, { - "id": 1941, + "id": 1940, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -38787,14 +38768,14 @@ }, "signatures": [ { - "id": 1942, + "id": 1941, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1943, + "id": 1942, "name": "err", "variant": "param", "kind": 32768, @@ -38824,14 +38805,14 @@ { "type": "reflection", "declaration": { - "id": 1944, + "id": 1943, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1945, + "id": 1944, "name": "code", "variant": "declaration", "kind": 1024, @@ -38846,7 +38827,7 @@ { "title": "Properties", "children": [ - 1945 + 1944 ] } ] @@ -38874,7 +38855,7 @@ } }, { - "id": 1946, + "id": 1945, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -38883,7 +38864,7 @@ }, "signatures": [ { - "id": 1947, + "id": 1946, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -38909,14 +38890,14 @@ }, "typeParameter": [ { - "id": 1948, + "id": 1947, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 1949, + "id": 1948, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -38925,7 +38906,7 @@ ], "parameters": [ { - "id": 1950, + "id": 1949, "name": "work", "variant": "param", "kind": 32768, @@ -38941,21 +38922,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1951, + "id": 1950, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1952, + "id": 1951, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1953, + "id": 1952, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -38995,7 +38976,7 @@ } }, { - "id": 1954, + "id": 1953, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -39025,21 +39006,21 @@ { "type": "reflection", "declaration": { - "id": 1955, + "id": 1954, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1956, + "id": 1955, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1957, + "id": 1956, "name": "error", "variant": "param", "kind": 32768, @@ -39088,7 +39069,7 @@ } }, { - "id": 1958, + "id": 1957, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -39106,21 +39087,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1959, + "id": 1958, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1960, + "id": 1959, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1961, + "id": 1960, "name": "error", "variant": "param", "kind": 32768, @@ -39199,7 +39180,7 @@ } }, { - "id": 1896, + "id": 1895, "name": "lineItemAdjustmentRepo_", "variant": "declaration", "kind": 1024, @@ -39229,7 +39210,7 @@ } }, { - "id": 1897, + "id": 1896, "name": "discountService", "variant": "declaration", "kind": 1024, @@ -39239,27 +39220,27 @@ }, "type": { "type": "reference", - "target": 968, + "target": 967, "name": "DiscountService", "package": "@medusajs/medusa" } }, { - "id": 1893, + "id": 1892, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1894, + "id": 1893, "name": "new LineItemAdjustmentService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 1895, + "id": 1894, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -39277,7 +39258,7 @@ ], "type": { "type": "reference", - "target": 1892, + "target": 1891, "name": "LineItemAdjustmentService", "package": "@medusajs/medusa" }, @@ -39295,14 +39276,14 @@ } }, { - "id": 1898, + "id": 1897, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1899, + "id": 1898, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -39328,7 +39309,7 @@ }, "parameters": [ { - "id": 1900, + "id": 1899, "name": "lineItemAdjustmentId", "variant": "param", "kind": 32768, @@ -39347,7 +39328,7 @@ } }, { - "id": 1901, + "id": 1900, "name": "config", "variant": "param", "kind": 32768, @@ -39407,14 +39388,14 @@ ] }, { - "id": 1902, + "id": 1901, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1903, + "id": 1902, "name": "create", "variant": "signature", "kind": 4096, @@ -39440,7 +39421,7 @@ }, "parameters": [ { - "id": 1904, + "id": 1903, "name": "data", "variant": "param", "kind": 32768, @@ -39499,14 +39480,14 @@ ] }, { - "id": 1905, + "id": 1904, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1906, + "id": 1905, "name": "update", "variant": "signature", "kind": 4096, @@ -39532,7 +39513,7 @@ }, "parameters": [ { - "id": 1907, + "id": 1906, "name": "id", "variant": "param", "kind": 32768, @@ -39551,7 +39532,7 @@ } }, { - "id": 1908, + "id": 1907, "name": "data", "variant": "param", "kind": 32768, @@ -39610,14 +39591,14 @@ ] }, { - "id": 1909, + "id": 1908, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1910, + "id": 1909, "name": "list", "variant": "signature", "kind": 4096, @@ -39643,7 +39624,7 @@ }, "parameters": [ { - "id": 1911, + "id": 1910, "name": "selector", "variant": "param", "kind": 32768, @@ -39668,7 +39649,7 @@ "defaultValue": "{}" }, { - "id": 1912, + "id": 1911, "name": "config", "variant": "param", "kind": 32768, @@ -39731,14 +39712,14 @@ ] }, { - "id": 1913, + "id": 1912, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1914, + "id": 1913, "name": "delete", "variant": "signature", "kind": 4096, @@ -39764,7 +39745,7 @@ }, "parameters": [ { - "id": 1915, + "id": 1914, "name": "selectorOrIds", "variant": "param", "kind": 32768, @@ -39806,14 +39787,14 @@ { "type": "reflection", "declaration": { - "id": 1916, + "id": 1915, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1917, + "id": 1916, "name": "discount_id", "variant": "declaration", "kind": 1024, @@ -39850,7 +39831,7 @@ { "title": "Properties", "children": [ - 1917 + 1916 ] } ] @@ -39881,14 +39862,14 @@ ] }, { - "id": 1918, + "id": 1917, "name": "generateAdjustments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1919, + "id": 1918, "name": "generateAdjustments", "variant": "signature", "kind": 4096, @@ -39914,7 +39895,7 @@ }, "parameters": [ { - "id": 1920, + "id": 1919, "name": "calculationContextData", "variant": "param", "kind": 32768, @@ -39938,7 +39919,7 @@ } }, { - "id": 1921, + "id": 1920, "name": "generatedLineItem", "variant": "param", "kind": 32768, @@ -39962,7 +39943,7 @@ } }, { - "id": 1922, + "id": 1921, "name": "context", "variant": "param", "kind": 32768, @@ -40013,14 +39994,14 @@ ] }, { - "id": 1923, + "id": 1922, "name": "createAdjustmentForLineItem", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1924, + "id": 1923, "name": "createAdjustmentForLineItem", "variant": "signature", "kind": 4096, @@ -40046,7 +40027,7 @@ }, "parameters": [ { - "id": 1925, + "id": 1924, "name": "cart", "variant": "param", "kind": 32768, @@ -40070,7 +40051,7 @@ } }, { - "id": 1926, + "id": 1925, "name": "lineItem", "variant": "param", "kind": 32768, @@ -40121,14 +40102,14 @@ ] }, { - "id": 1927, + "id": 1926, "name": "createAdjustments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1928, + "id": 1927, "name": "createAdjustments", "variant": "signature", "kind": 4096, @@ -40154,7 +40135,7 @@ }, "parameters": [ { - "id": 1929, + "id": 1928, "name": "cart", "variant": "param", "kind": 32768, @@ -40178,7 +40159,7 @@ } }, { - "id": 1930, + "id": 1929, "name": "lineItem", "variant": "param", "kind": 32768, @@ -40255,41 +40236,41 @@ { "title": "Constructors", "children": [ - 1893 + 1892 ] }, { "title": "Properties", "children": [ + 1930, 1931, - 1932, + 1934, 1935, 1936, - 1937, - 1896, - 1897 + 1895, + 1896 ] }, { "title": "Accessors", "children": [ - 1933 + 1932 ] }, { "title": "Methods", "children": [ - 1938, - 1941, - 1946, - 1898, - 1902, - 1905, - 1909, - 1913, - 1918, - 1923, - 1927 + 1937, + 1940, + 1945, + 1897, + 1901, + 1904, + 1908, + 1912, + 1917, + 1922, + 1926 ] } ], @@ -40306,14 +40287,14 @@ ] }, { - "id": 1753, + "id": 1752, "name": "LineItemService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 1861, + "id": 1860, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -40336,7 +40317,7 @@ } }, { - "id": 1862, + "id": 1861, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -40368,7 +40349,7 @@ } }, { - "id": 1863, + "id": 1862, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -40376,7 +40357,7 @@ "isProtected": true }, "getSignature": { - "id": 1864, + "id": 1863, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -40403,7 +40384,7 @@ } }, { - "id": 1865, + "id": 1864, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -40422,7 +40403,7 @@ } }, { - "id": 1866, + "id": 1865, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -40457,7 +40438,7 @@ } }, { - "id": 1867, + "id": 1866, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -40492,21 +40473,21 @@ } }, { - "id": 1868, + "id": 1867, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1869, + "id": 1868, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1870, + "id": 1869, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -40542,7 +40523,7 @@ } }, { - "id": 1871, + "id": 1870, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -40551,14 +40532,14 @@ }, "signatures": [ { - "id": 1872, + "id": 1871, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1873, + "id": 1872, "name": "err", "variant": "param", "kind": 32768, @@ -40588,14 +40569,14 @@ { "type": "reflection", "declaration": { - "id": 1874, + "id": 1873, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1875, + "id": 1874, "name": "code", "variant": "declaration", "kind": 1024, @@ -40610,7 +40591,7 @@ { "title": "Properties", "children": [ - 1875 + 1874 ] } ] @@ -40638,7 +40619,7 @@ } }, { - "id": 1876, + "id": 1875, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -40647,7 +40628,7 @@ }, "signatures": [ { - "id": 1877, + "id": 1876, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -40673,14 +40654,14 @@ }, "typeParameter": [ { - "id": 1878, + "id": 1877, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 1879, + "id": 1878, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -40689,7 +40670,7 @@ ], "parameters": [ { - "id": 1880, + "id": 1879, "name": "work", "variant": "param", "kind": 32768, @@ -40705,21 +40686,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1881, + "id": 1880, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1882, + "id": 1881, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1883, + "id": 1882, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -40759,7 +40740,7 @@ } }, { - "id": 1884, + "id": 1883, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -40789,21 +40770,21 @@ { "type": "reflection", "declaration": { - "id": 1885, + "id": 1884, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1886, + "id": 1885, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1887, + "id": 1886, "name": "error", "variant": "param", "kind": 32768, @@ -40852,7 +40833,7 @@ } }, { - "id": 1888, + "id": 1887, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -40870,21 +40851,21 @@ "type": { "type": "reflection", "declaration": { - "id": 1889, + "id": 1888, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 1890, + "id": 1889, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1891, + "id": 1890, "name": "error", "variant": "param", "kind": 32768, @@ -40963,7 +40944,7 @@ } }, { - "id": 1757, + "id": 1756, "name": "lineItemRepository_", "variant": "declaration", "kind": 1024, @@ -40997,21 +40978,21 @@ { "type": "reflection", "declaration": { - "id": 1758, + "id": 1757, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1759, + "id": 1758, "name": "findByReturn", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1760, + "id": 1759, "name": "findByReturn", "variant": "signature", "kind": 4096, @@ -41053,7 +41034,7 @@ }, "parameters": [ { - "id": 1761, + "id": 1760, "name": "returnId", "variant": "param", "kind": 32768, @@ -41096,14 +41077,14 @@ { "type": "reflection", "declaration": { - "id": 1762, + "id": 1761, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1763, + "id": 1762, "name": "return_item", "variant": "declaration", "kind": 1024, @@ -41123,7 +41104,7 @@ { "title": "Properties", "children": [ - 1763 + 1762 ] } ] @@ -41144,7 +41125,7 @@ { "title": "Methods", "children": [ - 1759 + 1758 ] } ] @@ -41154,7 +41135,7 @@ } }, { - "id": 1764, + "id": 1763, "name": "itemTaxLineRepo_", "variant": "declaration", "kind": 1024, @@ -41188,28 +41169,28 @@ { "type": "reflection", "declaration": { - "id": 1765, + "id": 1764, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1766, + "id": 1765, "name": "upsertLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1767, + "id": 1766, "name": "upsertLines", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1768, + "id": 1767, "name": "lines", "variant": "param", "kind": 32768, @@ -41255,21 +41236,21 @@ ] }, { - "id": 1769, + "id": 1768, "name": "deleteForCart", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1770, + "id": 1769, "name": "deleteForCart", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1771, + "id": 1770, "name": "cartId", "variant": "param", "kind": 32768, @@ -41303,8 +41284,8 @@ { "title": "Methods", "children": [ - 1766, - 1769 + 1765, + 1768 ] } ] @@ -41314,7 +41295,7 @@ } }, { - "id": 1772, + "id": 1771, "name": "cartRepository_", "variant": "declaration", "kind": 1024, @@ -41348,28 +41329,28 @@ { "type": "reflection", "declaration": { - "id": 1773, + "id": 1772, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1774, + "id": 1773, "name": "findWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1775, + "id": 1774, "name": "findWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1776, + "id": 1775, "name": "relations", "variant": "param", "kind": 32768, @@ -41397,7 +41378,7 @@ "defaultValue": "{}" }, { - "id": 1777, + "id": 1776, "name": "optionsWithoutRelations", "variant": "param", "kind": 32768, @@ -41467,21 +41448,21 @@ ] }, { - "id": 1778, + "id": 1777, "name": "findOneWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1779, + "id": 1778, "name": "findOneWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1780, + "id": 1779, "name": "relations", "variant": "param", "kind": 32768, @@ -41509,7 +41490,7 @@ "defaultValue": "{}" }, { - "id": 1781, + "id": 1780, "name": "optionsWithoutRelations", "variant": "param", "kind": 32768, @@ -41580,8 +41561,8 @@ { "title": "Methods", "children": [ - 1774, - 1778 + 1773, + 1777 ] } ] @@ -41591,7 +41572,7 @@ } }, { - "id": 1782, + "id": 1781, "name": "productVariantService_", "variant": "declaration", "kind": 1024, @@ -41601,13 +41582,13 @@ }, "type": { "type": "reference", - "target": 4139, + "target": 4128, "name": "ProductVariantService", "package": "@medusajs/medusa" } }, { - "id": 1783, + "id": 1782, "name": "productService_", "variant": "declaration", "kind": 1024, @@ -41617,13 +41598,13 @@ }, "type": { "type": "reference", - "target": 3484, + "target": 3473, "name": "ProductService", "package": "@medusajs/medusa" } }, { - "id": 1784, + "id": 1783, "name": "pricingService_", "variant": "declaration", "kind": 1024, @@ -41633,13 +41614,13 @@ }, "type": { "type": "reference", - "target": 3359, + "target": 3358, "name": "PricingService", "package": "@medusajs/medusa" } }, { - "id": 1785, + "id": 1784, "name": "regionService_", "variant": "declaration", "kind": 1024, @@ -41649,13 +41630,13 @@ }, "type": { "type": "reference", - "target": 4612, + "target": 4601, "name": "RegionService", "package": "@medusajs/medusa" } }, { - "id": 1786, + "id": 1785, "name": "featureFlagRouter_", "variant": "declaration", "kind": 1024, @@ -41666,7 +41647,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/feature-flags/utils/flag-router.d.ts", + "sourceFileName": "../../../packages/utils/src/feature-flags/utils/flag-router.ts", "qualifiedName": "FlagRouter" }, "name": "FlagRouter", @@ -41674,7 +41655,7 @@ } }, { - "id": 1787, + "id": 1786, "name": "lineItemAdjustmentService_", "variant": "declaration", "kind": 1024, @@ -41684,13 +41665,13 @@ }, "type": { "type": "reference", - "target": 1892, + "target": 1891, "name": "LineItemAdjustmentService", "package": "@medusajs/medusa" } }, { - "id": 1788, + "id": 1787, "name": "taxProviderService_", "variant": "declaration", "kind": 1024, @@ -41700,27 +41681,27 @@ }, "type": { "type": "reference", - "target": 5812, + "target": 5801, "name": "TaxProviderService", "package": "@medusajs/medusa" } }, { - "id": 1754, + "id": 1753, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1755, + "id": 1754, "name": "new LineItemService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 1756, + "id": 1755, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -41738,7 +41719,7 @@ ], "type": { "type": "reference", - "target": 1753, + "target": 1752, "name": "LineItemService", "package": "@medusajs/medusa" }, @@ -41756,21 +41737,21 @@ } }, { - "id": 1789, + "id": 1788, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1790, + "id": 1789, "name": "list", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1791, + "id": 1790, "name": "selector", "variant": "param", "kind": 32768, @@ -41797,7 +41778,7 @@ } }, { - "id": 1792, + "id": 1791, "name": "config", "variant": "param", "kind": 32768, @@ -41852,14 +41833,14 @@ ] }, { - "id": 1793, + "id": 1792, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1794, + "id": 1793, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -41885,7 +41866,7 @@ }, "parameters": [ { - "id": 1795, + "id": 1794, "name": "id", "variant": "param", "kind": 32768, @@ -41904,7 +41885,7 @@ } }, { - "id": 1796, + "id": 1795, "name": "config", "variant": "param", "kind": 32768, @@ -41920,7 +41901,7 @@ "type": { "type": "reflection", "declaration": { - "id": 1797, + "id": 1796, "name": "__type", "variant": "declaration", "kind": 65536, @@ -41954,14 +41935,14 @@ ] }, { - "id": 1798, + "id": 1797, "name": "createReturnLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1799, + "id": 1798, "name": "createReturnLines", "variant": "signature", "kind": 4096, @@ -41987,7 +41968,7 @@ }, "parameters": [ { - "id": 1800, + "id": 1799, "name": "returnId", "variant": "param", "kind": 32768, @@ -42006,7 +41987,7 @@ } }, { - "id": 1801, + "id": 1800, "name": "cartId", "variant": "param", "kind": 32768, @@ -42052,14 +42033,14 @@ ] }, { - "id": 1802, + "id": 1801, "name": "generate", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1803, + "id": 1802, "name": "generate", "variant": "signature", "kind": 4096, @@ -42074,7 +42055,7 @@ }, "typeParameter": [ { - "id": 1804, + "id": 1803, "name": "T", "variant": "typeParam", "kind": 131072, @@ -42111,7 +42092,7 @@ } }, { - "id": 1805, + "id": 1804, "name": "TResult", "variant": "typeParam", "kind": 131072, @@ -42120,7 +42101,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 1804, + "target": 1803, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -42142,7 +42123,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 1804, + "target": 1803, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -42183,21 +42164,21 @@ ], "parameters": [ { - "id": 1806, + "id": 1805, "name": "variantIdOrData", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 1804, + "target": 1803, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true } }, { - "id": 1807, + "id": 1806, "name": "regionIdOrContext", "variant": "param", "kind": 32768, @@ -42206,7 +42187,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 1804, + "target": 1803, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -42231,7 +42212,7 @@ } }, { - "id": 1808, + "id": 1807, "name": "quantity", "variant": "param", "kind": 32768, @@ -42244,7 +42225,7 @@ } }, { - "id": 1809, + "id": 1808, "name": "context", "variant": "param", "kind": 32768, @@ -42270,7 +42251,7 @@ "typeArguments": [ { "type": "reference", - "target": 1805, + "target": 1804, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -42283,7 +42264,7 @@ ] }, { - "id": 1810, + "id": 1809, "name": "generateLineItem", "variant": "declaration", "kind": 2048, @@ -42292,14 +42273,14 @@ }, "signatures": [ { - "id": 1811, + "id": 1810, "name": "generateLineItem", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1812, + "id": 1811, "name": "variant", "variant": "param", "kind": 32768, @@ -42307,14 +42288,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1813, + "id": 1812, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1814, + "id": 1813, "name": "id", "variant": "declaration", "kind": 1024, @@ -42325,7 +42306,7 @@ } }, { - "id": 1815, + "id": 1814, "name": "title", "variant": "declaration", "kind": 1024, @@ -42336,7 +42317,7 @@ } }, { - "id": 1816, + "id": 1815, "name": "product_id", "variant": "declaration", "kind": 1024, @@ -42347,7 +42328,7 @@ } }, { - "id": 1817, + "id": 1816, "name": "product", "variant": "declaration", "kind": 1024, @@ -42355,14 +42336,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1818, + "id": 1817, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1819, + "id": 1818, "name": "title", "variant": "declaration", "kind": 1024, @@ -42373,7 +42354,7 @@ } }, { - "id": 1820, + "id": 1819, "name": "thumbnail", "variant": "declaration", "kind": 1024, @@ -42393,7 +42374,7 @@ } }, { - "id": 1821, + "id": 1820, "name": "discountable", "variant": "declaration", "kind": 1024, @@ -42404,7 +42385,7 @@ } }, { - "id": 1822, + "id": 1821, "name": "is_giftcard", "variant": "declaration", "kind": 1024, @@ -42419,10 +42400,10 @@ { "title": "Properties", "children": [ + 1818, 1819, 1820, - 1821, - 1822 + 1821 ] } ] @@ -42434,10 +42415,10 @@ { "title": "Properties", "children": [ + 1813, 1814, 1815, - 1816, - 1817 + 1816 ] } ] @@ -42445,7 +42426,7 @@ } }, { - "id": 1823, + "id": 1822, "name": "quantity", "variant": "param", "kind": 32768, @@ -42456,7 +42437,7 @@ } }, { - "id": 1824, + "id": 1823, "name": "context", "variant": "param", "kind": 32768, @@ -42476,14 +42457,14 @@ { "type": "reflection", "declaration": { - "id": 1825, + "id": 1824, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1826, + "id": 1825, "name": "variantPricing", "variant": "declaration", "kind": 1024, @@ -42503,7 +42484,7 @@ { "title": "Properties", "children": [ - 1826 + 1825 ] } ] @@ -42537,14 +42518,14 @@ ] }, { - "id": 1827, + "id": 1826, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1828, + "id": 1827, "name": "create", "variant": "signature", "kind": 4096, @@ -42570,7 +42551,7 @@ }, "typeParameter": [ { - "id": 1829, + "id": 1828, "name": "T", "variant": "typeParam", "kind": 131072, @@ -42603,7 +42584,7 @@ } }, { - "id": 1830, + "id": 1829, "name": "TResult", "variant": "typeParam", "kind": 131072, @@ -42612,7 +42593,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 1829, + "target": 1828, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -42655,7 +42636,7 @@ ], "parameters": [ { - "id": 1831, + "id": 1830, "name": "data", "variant": "param", "kind": 32768, @@ -42670,7 +42651,7 @@ }, "type": { "type": "reference", - "target": 1829, + "target": 1828, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -42686,7 +42667,7 @@ "typeArguments": [ { "type": "reference", - "target": 1830, + "target": 1829, "name": "TResult", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -42699,14 +42680,14 @@ ] }, { - "id": 1832, + "id": 1831, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1833, + "id": 1832, "name": "update", "variant": "signature", "kind": 4096, @@ -42732,7 +42713,7 @@ }, "parameters": [ { - "id": 1834, + "id": 1833, "name": "idOrSelector", "variant": "param", "kind": 32768, @@ -42776,7 +42757,7 @@ } }, { - "id": 1835, + "id": 1834, "name": "data", "variant": "param", "kind": 32768, @@ -42838,14 +42819,14 @@ ] }, { - "id": 1836, + "id": 1835, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1837, + "id": 1836, "name": "delete", "variant": "signature", "kind": 4096, @@ -42871,7 +42852,7 @@ }, "parameters": [ { - "id": 1838, + "id": 1837, "name": "ids", "variant": "param", "kind": 32768, @@ -42910,7 +42891,7 @@ } }, { - "id": 1839, + "id": 1838, "name": "delete", "variant": "signature", "kind": 4096, @@ -42936,7 +42917,7 @@ }, "parameters": [ { - "id": 1840, + "id": 1839, "name": "id", "variant": "param", "kind": 32768, @@ -42988,14 +42969,14 @@ ] }, { - "id": 1841, + "id": 1840, "name": "deleteWithTaxLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1842, + "id": 1841, "name": "deleteWithTaxLines", "variant": "signature", "kind": 4096, @@ -43025,7 +43006,7 @@ }, "parameters": [ { - "id": 1843, + "id": 1842, "name": "id", "variant": "param", "kind": 32768, @@ -43077,7 +43058,7 @@ ] }, { - "id": 1844, + "id": 1843, "name": "createTaxLine", "variant": "declaration", "kind": 2048, @@ -43086,7 +43067,7 @@ }, "signatures": [ { - "id": 1845, + "id": 1844, "name": "createTaxLine", "variant": "signature", "kind": 4096, @@ -43112,7 +43093,7 @@ }, "parameters": [ { - "id": 1846, + "id": 1845, "name": "args", "variant": "param", "kind": 32768, @@ -43160,21 +43141,21 @@ ] }, { - "id": 1847, + "id": 1846, "name": "cloneTo", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1848, + "id": 1847, "name": "cloneTo", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1849, + "id": 1848, "name": "ids", "variant": "param", "kind": 32768, @@ -43197,7 +43178,7 @@ } }, { - "id": 1850, + "id": 1849, "name": "data", "variant": "param", "kind": 32768, @@ -43225,7 +43206,7 @@ "defaultValue": "{}" }, { - "id": 1851, + "id": 1850, "name": "options", "variant": "param", "kind": 32768, @@ -43233,14 +43214,14 @@ "type": { "type": "reflection", "declaration": { - "id": 1852, + "id": 1851, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 1853, + "id": 1852, "name": "setOriginalLineItemId", "variant": "declaration", "kind": 1024, @@ -43257,7 +43238,7 @@ { "title": "Properties", "children": [ - 1853 + 1852 ] } ] @@ -43293,7 +43274,7 @@ ] }, { - "id": 1854, + "id": 1853, "name": "validateGenerateArguments", "variant": "declaration", "kind": 2048, @@ -43302,14 +43283,14 @@ }, "signatures": [ { - "id": 1855, + "id": 1854, "name": "validateGenerateArguments", "variant": "signature", "kind": 4096, "flags": {}, "typeParameter": [ { - "id": 1856, + "id": 1855, "name": "T", "variant": "typeParam", "kind": 131072, @@ -43346,7 +43327,7 @@ } }, { - "id": 1857, + "id": 1856, "name": "TResult", "variant": "typeParam", "kind": 131072, @@ -43355,7 +43336,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 1856, + "target": 1855, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -43377,7 +43358,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 1856, + "target": 1855, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -43418,7 +43399,7 @@ ], "parameters": [ { - "id": 1858, + "id": 1857, "name": "variantIdOrData", "variant": "param", "kind": 32768, @@ -43432,7 +43413,7 @@ }, { "type": "reference", - "target": 1856, + "target": 1855, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -43441,7 +43422,7 @@ } }, { - "id": 1859, + "id": 1858, "name": "regionIdOrContext", "variant": "param", "kind": 32768, @@ -43450,7 +43431,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 1856, + "target": 1855, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -43475,7 +43456,7 @@ } }, { - "id": 1860, + "id": 1859, "name": "quantity", "variant": "param", "kind": 32768, @@ -43500,53 +43481,53 @@ { "title": "Constructors", "children": [ - 1754 + 1753 ] }, { "title": "Properties", "children": [ + 1860, 1861, - 1862, + 1864, 1865, 1866, - 1867, - 1757, - 1764, - 1772, + 1756, + 1763, + 1771, + 1781, 1782, 1783, 1784, 1785, 1786, - 1787, - 1788 + 1787 ] }, { "title": "Accessors", "children": [ - 1863 + 1862 ] }, { "title": "Methods", "children": [ - 1868, - 1871, - 1876, - 1789, - 1793, - 1798, - 1802, - 1810, - 1827, - 1832, - 1836, - 1841, - 1844, - 1847, - 1854 + 1867, + 1870, + 1875, + 1788, + 1792, + 1797, + 1801, + 1809, + 1826, + 1831, + 1835, + 1840, + 1843, + 1846, + 1853 ] } ], @@ -43563,7 +43544,7 @@ ] }, { - "id": 1962, + "id": 1961, "name": "MiddlewareService", "variant": "declaration", "kind": 128, @@ -43578,7 +43559,7 @@ }, "children": [ { - "id": 1965, + "id": 1964, "name": "postAuthentication_", "variant": "declaration", "kind": 1024, @@ -43600,7 +43581,7 @@ } }, { - "id": 1966, + "id": 1965, "name": "preAuthentication_", "variant": "declaration", "kind": 1024, @@ -43622,7 +43603,7 @@ } }, { - "id": 1967, + "id": 1966, "name": "preCartCreation_", "variant": "declaration", "kind": 1024, @@ -43693,7 +43674,7 @@ } }, { - "id": 1968, + "id": 1967, "name": "routers", "variant": "declaration", "kind": 1024, @@ -43731,21 +43712,21 @@ } }, { - "id": 1963, + "id": 1962, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 1964, + "id": 1963, "name": "new MiddlewareService", "variant": "signature", "kind": 16384, "flags": {}, "type": { "type": "reference", - "target": 1962, + "target": 1961, "name": "MiddlewareService", "package": "@medusajs/medusa" } @@ -43753,21 +43734,21 @@ ] }, { - "id": 1969, + "id": 1968, "name": "addRouter", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1970, + "id": 1969, "name": "addRouter", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1971, + "id": 1970, "name": "path", "variant": "param", "kind": 32768, @@ -43778,7 +43759,7 @@ } }, { - "id": 1972, + "id": 1971, "name": "router", "variant": "param", "kind": 32768, @@ -43803,21 +43784,21 @@ ] }, { - "id": 1973, + "id": 1972, "name": "getRouters", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1974, + "id": 1973, "name": "getRouters", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 1975, + "id": 1974, "name": "path", "variant": "param", "kind": 32768, @@ -43845,14 +43826,14 @@ ] }, { - "id": 1976, + "id": 1975, "name": "validateMiddleware_", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1977, + "id": 1976, "name": "validateMiddleware_", "variant": "signature", "kind": 4096, @@ -43878,7 +43859,7 @@ }, "parameters": [ { - "id": 1978, + "id": 1977, "name": "fn", "variant": "param", "kind": 32768, @@ -43905,14 +43886,14 @@ ] }, { - "id": 1979, + "id": 1978, "name": "addPostAuthentication", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1980, + "id": 1979, "name": "addPostAuthentication", "variant": "signature", "kind": 4096, @@ -43938,7 +43919,7 @@ }, "parameters": [ { - "id": 1981, + "id": 1980, "name": "middleware", "variant": "param", "kind": 32768, @@ -43962,7 +43943,7 @@ } }, { - "id": 1982, + "id": 1981, "name": "options", "variant": "param", "kind": 32768, @@ -44004,14 +43985,14 @@ ] }, { - "id": 1983, + "id": 1982, "name": "addPreAuthentication", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1984, + "id": 1983, "name": "addPreAuthentication", "variant": "signature", "kind": 4096, @@ -44037,7 +44018,7 @@ }, "parameters": [ { - "id": 1985, + "id": 1984, "name": "middleware", "variant": "param", "kind": 32768, @@ -44061,7 +44042,7 @@ } }, { - "id": 1986, + "id": 1985, "name": "options", "variant": "param", "kind": 32768, @@ -44103,14 +44084,14 @@ ] }, { - "id": 1987, + "id": 1986, "name": "addPreCartCreation", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1988, + "id": 1987, "name": "addPreCartCreation", "variant": "signature", "kind": 4096, @@ -44131,7 +44112,7 @@ }, "parameters": [ { - "id": 1989, + "id": 1988, "name": "middleware", "variant": "param", "kind": 32768, @@ -44212,14 +44193,14 @@ ] }, { - "id": 1990, + "id": 1989, "name": "usePostAuthentication", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1991, + "id": 1990, "name": "usePostAuthentication", "variant": "signature", "kind": 4096, @@ -44240,7 +44221,7 @@ }, "parameters": [ { - "id": 1992, + "id": 1991, "name": "app", "variant": "param", "kind": 32768, @@ -44273,14 +44254,14 @@ ] }, { - "id": 1993, + "id": 1992, "name": "usePreAuthentication", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1994, + "id": 1993, "name": "usePreAuthentication", "variant": "signature", "kind": 4096, @@ -44301,7 +44282,7 @@ }, "parameters": [ { - "id": 1995, + "id": 1994, "name": "app", "variant": "param", "kind": 32768, @@ -44334,14 +44315,14 @@ ] }, { - "id": 1996, + "id": 1995, "name": "usePreCartCreation", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 1997, + "id": 1996, "name": "usePreCartCreation", "variant": "signature", "kind": 4096, @@ -44415,43 +44396,43 @@ { "title": "Constructors", "children": [ - 1963 + 1962 ] }, { "title": "Properties", "children": [ + 1964, 1965, 1966, - 1967, - 1968 + 1967 ] }, { "title": "Methods", "children": [ - 1969, - 1973, - 1976, - 1979, - 1983, - 1987, - 1990, - 1993, - 1996 + 1968, + 1972, + 1975, + 1978, + 1982, + 1986, + 1989, + 1992, + 1995 ] } ] }, { - "id": 1998, + "id": 1997, "name": "NewTotalsService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2125, + "id": 2124, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -44474,7 +44455,7 @@ } }, { - "id": 2126, + "id": 2125, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -44506,7 +44487,7 @@ } }, { - "id": 2127, + "id": 2126, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -44514,7 +44495,7 @@ "isProtected": true }, "getSignature": { - "id": 2128, + "id": 2127, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -44541,7 +44522,7 @@ } }, { - "id": 2129, + "id": 2128, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -44560,7 +44541,7 @@ } }, { - "id": 2130, + "id": 2129, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -44595,7 +44576,7 @@ } }, { - "id": 2131, + "id": 2130, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -44630,21 +44611,21 @@ } }, { - "id": 2132, + "id": 2131, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2133, + "id": 2132, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2134, + "id": 2133, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -44680,7 +44661,7 @@ } }, { - "id": 2135, + "id": 2134, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -44689,14 +44670,14 @@ }, "signatures": [ { - "id": 2136, + "id": 2135, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2137, + "id": 2136, "name": "err", "variant": "param", "kind": 32768, @@ -44726,14 +44707,14 @@ { "type": "reflection", "declaration": { - "id": 2138, + "id": 2137, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2139, + "id": 2138, "name": "code", "variant": "declaration", "kind": 1024, @@ -44748,7 +44729,7 @@ { "title": "Properties", "children": [ - 2139 + 2138 ] } ] @@ -44776,7 +44757,7 @@ } }, { - "id": 2140, + "id": 2139, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -44785,7 +44766,7 @@ }, "signatures": [ { - "id": 2141, + "id": 2140, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -44811,14 +44792,14 @@ }, "typeParameter": [ { - "id": 2142, + "id": 2141, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 2143, + "id": 2142, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -44827,7 +44808,7 @@ ], "parameters": [ { - "id": 2144, + "id": 2143, "name": "work", "variant": "param", "kind": 32768, @@ -44843,21 +44824,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2145, + "id": 2144, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2146, + "id": 2145, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2147, + "id": 2146, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -44897,7 +44878,7 @@ } }, { - "id": 2148, + "id": 2147, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -44927,21 +44908,21 @@ { "type": "reflection", "declaration": { - "id": 2149, + "id": 2148, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2150, + "id": 2149, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2151, + "id": 2150, "name": "error", "variant": "param", "kind": 32768, @@ -44990,7 +44971,7 @@ } }, { - "id": 2152, + "id": 2151, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -45008,21 +44989,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2153, + "id": 2152, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2154, + "id": 2153, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2155, + "id": 2154, "name": "error", "variant": "param", "kind": 32768, @@ -45101,7 +45082,7 @@ } }, { - "id": 2002, + "id": 2001, "name": "taxProviderService_", "variant": "declaration", "kind": 1024, @@ -45111,13 +45092,13 @@ }, "type": { "type": "reference", - "target": 5812, + "target": 5801, "name": "TaxProviderService", "package": "@medusajs/medusa" } }, { - "id": 2003, + "id": 2002, "name": "featureFlagRouter_", "variant": "declaration", "kind": 1024, @@ -45128,7 +45109,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/feature-flags/utils/flag-router.d.ts", + "sourceFileName": "../../../packages/utils/src/feature-flags/utils/flag-router.ts", "qualifiedName": "FlagRouter" }, "name": "FlagRouter", @@ -45136,7 +45117,7 @@ } }, { - "id": 2004, + "id": 2003, "name": "taxCalculationStrategy_", "variant": "declaration", "kind": 1024, @@ -45155,21 +45136,21 @@ } }, { - "id": 1999, + "id": 1998, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2000, + "id": 1999, "name": "new NewTotalsService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 2001, + "id": 2000, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -45187,7 +45168,7 @@ ], "type": { "type": "reference", - "target": 1998, + "target": 1997, "name": "default", "package": "@medusajs/medusa" }, @@ -45205,14 +45186,14 @@ } }, { - "id": 2005, + "id": 2004, "name": "getLineItemTotals", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2006, + "id": 2005, "name": "getLineItemTotals", "variant": "signature", "kind": 4096, @@ -45227,7 +45208,7 @@ }, "parameters": [ { - "id": 2007, + "id": 2006, "name": "items", "variant": "param", "kind": 32768, @@ -45260,7 +45241,7 @@ } }, { - "id": 2008, + "id": 2007, "name": "param1", "variant": "param", "kind": 32768, @@ -45268,14 +45249,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2009, + "id": 2008, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2010, + "id": 2009, "name": "includeTax", "variant": "declaration", "kind": 1024, @@ -45288,7 +45269,7 @@ } }, { - "id": 2011, + "id": 2010, "name": "calculationContext", "variant": "declaration", "kind": 1024, @@ -45304,7 +45285,7 @@ } }, { - "id": 2012, + "id": 2011, "name": "taxRate", "variant": "declaration", "kind": 1024, @@ -45330,9 +45311,9 @@ { "title": "Properties", "children": [ + 2009, 2010, - 2011, - 2012 + 2011 ] } ] @@ -45350,20 +45331,20 @@ { "type": "reflection", "declaration": { - "id": 2013, + "id": 2012, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 2014, + "id": 2013, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 2015, + "id": 2014, "name": "lineItemId", "variant": "param", "kind": 32768, @@ -45394,7 +45375,7 @@ ] }, { - "id": 2016, + "id": 2015, "name": "getLineItemTotals_", "variant": "declaration", "kind": 2048, @@ -45403,7 +45384,7 @@ }, "signatures": [ { - "id": 2017, + "id": 2016, "name": "getLineItemTotals_", "variant": "signature", "kind": 4096, @@ -45424,7 +45405,7 @@ }, "parameters": [ { - "id": 2018, + "id": 2017, "name": "item", "variant": "param", "kind": 32768, @@ -45440,7 +45421,7 @@ } }, { - "id": 2019, + "id": 2018, "name": "param1", "variant": "param", "kind": 32768, @@ -45448,14 +45429,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2020, + "id": 2019, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2021, + "id": 2020, "name": "includeTax", "variant": "declaration", "kind": 1024, @@ -45468,7 +45449,7 @@ } }, { - "id": 2022, + "id": 2021, "name": "lineItemAllocation", "variant": "declaration", "kind": 1024, @@ -45476,14 +45457,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2023, + "id": 2022, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2024, + "id": 2023, "name": "gift_card", "variant": "declaration", "kind": 1024, @@ -45509,7 +45490,7 @@ } }, { - "id": 2025, + "id": 2024, "name": "discount", "variant": "declaration", "kind": 1024, @@ -45539,8 +45520,8 @@ { "title": "Properties", "children": [ - 2024, - 2025 + 2023, + 2024 ] } ] @@ -45548,7 +45529,7 @@ } }, { - "id": 2026, + "id": 2025, "name": "taxLines", "variant": "declaration", "kind": 1024, @@ -45569,7 +45550,7 @@ } }, { - "id": 2027, + "id": 2026, "name": "calculationContext", "variant": "declaration", "kind": 1024, @@ -45589,10 +45570,10 @@ { "title": "Properties", "children": [ + 2020, 2021, - 2022, - 2026, - 2027 + 2025, + 2026 ] } ] @@ -45624,7 +45605,7 @@ ] }, { - "id": 2028, + "id": 2027, "name": "getLineItemTotalsLegacy", "variant": "declaration", "kind": 2048, @@ -45633,7 +45614,7 @@ }, "signatures": [ { - "id": 2029, + "id": 2028, "name": "getLineItemTotalsLegacy", "variant": "signature", "kind": 4096, @@ -45648,7 +45629,7 @@ }, "parameters": [ { - "id": 2030, + "id": 2029, "name": "item", "variant": "param", "kind": 32768, @@ -45664,7 +45645,7 @@ } }, { - "id": 2031, + "id": 2030, "name": "param1", "variant": "param", "kind": 32768, @@ -45672,14 +45653,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2032, + "id": 2031, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2033, + "id": 2032, "name": "lineItemAllocation", "variant": "declaration", "kind": 1024, @@ -45687,14 +45668,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2034, + "id": 2033, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2035, + "id": 2034, "name": "gift_card", "variant": "declaration", "kind": 1024, @@ -45720,7 +45701,7 @@ } }, { - "id": 2036, + "id": 2035, "name": "discount", "variant": "declaration", "kind": 1024, @@ -45750,8 +45731,8 @@ { "title": "Properties", "children": [ - 2035, - 2036 + 2034, + 2035 ] } ] @@ -45759,7 +45740,7 @@ } }, { - "id": 2037, + "id": 2036, "name": "calculationContext", "variant": "declaration", "kind": 1024, @@ -45775,7 +45756,7 @@ } }, { - "id": 2038, + "id": 2037, "name": "taxRate", "variant": "declaration", "kind": 1024, @@ -45790,9 +45771,9 @@ { "title": "Properties", "children": [ - 2033, - 2037, - 2038 + 2032, + 2036, + 2037 ] } ] @@ -45824,14 +45805,14 @@ ] }, { - "id": 2039, + "id": 2038, "name": "getLineItemRefund", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2040, + "id": 2039, "name": "getLineItemRefund", "variant": "signature", "kind": 4096, @@ -45846,7 +45827,7 @@ }, "parameters": [ { - "id": 2041, + "id": 2040, "name": "lineItem", "variant": "param", "kind": 32768, @@ -45854,14 +45835,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2042, + "id": 2041, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2043, + "id": 2042, "name": "id", "variant": "declaration", "kind": 1024, @@ -45872,7 +45853,7 @@ } }, { - "id": 2044, + "id": 2043, "name": "unit_price", "variant": "declaration", "kind": 1024, @@ -45883,7 +45864,7 @@ } }, { - "id": 2045, + "id": 2044, "name": "includes_tax", "variant": "declaration", "kind": 1024, @@ -45894,7 +45875,7 @@ } }, { - "id": 2046, + "id": 2045, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -45905,7 +45886,7 @@ } }, { - "id": 2047, + "id": 2046, "name": "tax_lines", "variant": "declaration", "kind": 1024, @@ -45928,11 +45909,11 @@ { "title": "Properties", "children": [ + 2042, 2043, 2044, 2045, - 2046, - 2047 + 2046 ] } ] @@ -45940,7 +45921,7 @@ } }, { - "id": 2048, + "id": 2047, "name": "param1", "variant": "param", "kind": 32768, @@ -45948,14 +45929,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2049, + "id": 2048, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2050, + "id": 2049, "name": "calculationContext", "variant": "declaration", "kind": 1024, @@ -45971,7 +45952,7 @@ } }, { - "id": 2051, + "id": 2050, "name": "taxRate", "variant": "declaration", "kind": 1024, @@ -45997,8 +45978,8 @@ { "title": "Properties", "children": [ - 2050, - 2051 + 2049, + 2050 ] } ] @@ -46014,7 +45995,7 @@ ] }, { - "id": 2052, + "id": 2051, "name": "getLineItemRefundLegacy", "variant": "declaration", "kind": 2048, @@ -46023,7 +46004,7 @@ }, "signatures": [ { - "id": 2053, + "id": 2052, "name": "getLineItemRefundLegacy", "variant": "signature", "kind": 4096, @@ -46032,7 +46013,7 @@ }, "parameters": [ { - "id": 2054, + "id": 2053, "name": "lineItem", "variant": "param", "kind": 32768, @@ -46040,14 +46021,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2055, + "id": 2054, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2056, + "id": 2055, "name": "id", "variant": "declaration", "kind": 1024, @@ -46058,7 +46039,7 @@ } }, { - "id": 2057, + "id": 2056, "name": "unit_price", "variant": "declaration", "kind": 1024, @@ -46069,7 +46050,7 @@ } }, { - "id": 2058, + "id": 2057, "name": "includes_tax", "variant": "declaration", "kind": 1024, @@ -46080,7 +46061,7 @@ } }, { - "id": 2059, + "id": 2058, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -46095,10 +46076,10 @@ { "title": "Properties", "children": [ + 2055, 2056, 2057, - 2058, - 2059 + 2058 ] } ] @@ -46106,7 +46087,7 @@ } }, { - "id": 2060, + "id": 2059, "name": "param1", "variant": "param", "kind": 32768, @@ -46114,14 +46095,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2061, + "id": 2060, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2062, + "id": 2061, "name": "calculationContext", "variant": "declaration", "kind": 1024, @@ -46137,7 +46118,7 @@ } }, { - "id": 2063, + "id": 2062, "name": "taxRate", "variant": "declaration", "kind": 1024, @@ -46152,8 +46133,8 @@ { "title": "Properties", "children": [ - 2062, - 2063 + 2061, + 2062 ] } ] @@ -46169,14 +46150,14 @@ ] }, { - "id": 2064, + "id": 2063, "name": "getGiftCardTotals", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2065, + "id": 2064, "name": "getGiftCardTotals", "variant": "signature", "kind": 4096, @@ -46191,7 +46172,7 @@ }, "parameters": [ { - "id": 2066, + "id": 2065, "name": "giftCardableAmount", "variant": "param", "kind": 32768, @@ -46202,7 +46183,7 @@ } }, { - "id": 2067, + "id": 2066, "name": "param1", "variant": "param", "kind": 32768, @@ -46210,14 +46191,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2068, + "id": 2067, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2069, + "id": 2068, "name": "region", "variant": "declaration", "kind": 1024, @@ -46233,7 +46214,7 @@ } }, { - "id": 2070, + "id": 2069, "name": "giftCardTransactions", "variant": "declaration", "kind": 1024, @@ -46254,7 +46235,7 @@ } }, { - "id": 2071, + "id": 2070, "name": "giftCards", "variant": "declaration", "kind": 1024, @@ -46279,9 +46260,9 @@ { "title": "Properties", "children": [ + 2068, 2069, - 2070, - 2071 + 2070 ] } ] @@ -46299,14 +46280,14 @@ { "type": "reflection", "declaration": { - "id": 2072, + "id": 2071, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2073, + "id": 2072, "name": "total", "variant": "declaration", "kind": 1024, @@ -46317,7 +46298,7 @@ } }, { - "id": 2074, + "id": 2073, "name": "tax_total", "variant": "declaration", "kind": 1024, @@ -46332,8 +46313,8 @@ { "title": "Properties", "children": [ - 2073, - 2074 + 2072, + 2073 ] } ] @@ -46347,14 +46328,14 @@ ] }, { - "id": 2075, + "id": 2074, "name": "getGiftCardTransactionsTotals", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2076, + "id": 2075, "name": "getGiftCardTransactionsTotals", "variant": "signature", "kind": 4096, @@ -46369,7 +46350,7 @@ }, "parameters": [ { - "id": 2077, + "id": 2076, "name": "param0", "variant": "param", "kind": 32768, @@ -46377,14 +46358,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2078, + "id": 2077, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2079, + "id": 2078, "name": "giftCardTransactions", "variant": "declaration", "kind": 1024, @@ -46403,7 +46384,7 @@ } }, { - "id": 2080, + "id": 2079, "name": "region", "variant": "declaration", "kind": 1024, @@ -46411,14 +46392,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2081, + "id": 2080, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2082, + "id": 2081, "name": "gift_cards_taxable", "variant": "declaration", "kind": 1024, @@ -46429,7 +46410,7 @@ } }, { - "id": 2083, + "id": 2082, "name": "tax_rate", "variant": "declaration", "kind": 1024, @@ -46444,8 +46425,8 @@ { "title": "Properties", "children": [ - 2082, - 2083 + 2081, + 2082 ] } ] @@ -46457,8 +46438,8 @@ { "title": "Properties", "children": [ - 2079, - 2080 + 2078, + 2079 ] } ] @@ -46469,14 +46450,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2084, + "id": 2083, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2085, + "id": 2084, "name": "total", "variant": "declaration", "kind": 1024, @@ -46487,7 +46468,7 @@ } }, { - "id": 2086, + "id": 2085, "name": "tax_total", "variant": "declaration", "kind": 1024, @@ -46502,8 +46483,8 @@ { "title": "Properties", "children": [ - 2085, - 2086 + 2084, + 2085 ] } ] @@ -46513,14 +46494,14 @@ ] }, { - "id": 2087, + "id": 2086, "name": "getShippingMethodTotals", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2088, + "id": 2087, "name": "getShippingMethodTotals", "variant": "signature", "kind": 4096, @@ -46535,7 +46516,7 @@ }, "parameters": [ { - "id": 2089, + "id": 2088, "name": "shippingMethods", "variant": "param", "kind": 32768, @@ -46568,7 +46549,7 @@ } }, { - "id": 2090, + "id": 2089, "name": "param1", "variant": "param", "kind": 32768, @@ -46576,14 +46557,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2091, + "id": 2090, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2092, + "id": 2091, "name": "includeTax", "variant": "declaration", "kind": 1024, @@ -46596,7 +46577,7 @@ } }, { - "id": 2093, + "id": 2092, "name": "calculationContext", "variant": "declaration", "kind": 1024, @@ -46612,7 +46593,7 @@ } }, { - "id": 2094, + "id": 2093, "name": "discounts", "variant": "declaration", "kind": 1024, @@ -46633,7 +46614,7 @@ } }, { - "id": 2095, + "id": 2094, "name": "taxRate", "variant": "declaration", "kind": 1024, @@ -46659,10 +46640,10 @@ { "title": "Properties", "children": [ + 2091, 2092, 2093, - 2094, - 2095 + 2094 ] } ] @@ -46680,20 +46661,20 @@ { "type": "reflection", "declaration": { - "id": 2096, + "id": 2095, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 2097, + "id": 2096, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 2098, + "id": 2097, "name": "shippingMethodId", "variant": "param", "kind": 32768, @@ -46724,21 +46705,21 @@ ] }, { - "id": 2099, + "id": 2098, "name": "getGiftCardableAmount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2100, + "id": 2099, "name": "getGiftCardableAmount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2101, + "id": 2100, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -46746,14 +46727,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2102, + "id": 2101, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2103, + "id": 2102, "name": "gift_cards_taxable", "variant": "declaration", "kind": 1024, @@ -46766,7 +46747,7 @@ } }, { - "id": 2104, + "id": 2103, "name": "subtotal", "variant": "declaration", "kind": 1024, @@ -46777,7 +46758,7 @@ } }, { - "id": 2105, + "id": 2104, "name": "shipping_total", "variant": "declaration", "kind": 1024, @@ -46788,7 +46769,7 @@ } }, { - "id": 2106, + "id": 2105, "name": "discount_total", "variant": "declaration", "kind": 1024, @@ -46799,7 +46780,7 @@ } }, { - "id": 2107, + "id": 2106, "name": "tax_total", "variant": "declaration", "kind": 1024, @@ -46814,11 +46795,11 @@ { "title": "Properties", "children": [ + 2102, 2103, 2104, 2105, - 2106, - 2107 + 2106 ] } ] @@ -46834,7 +46815,7 @@ ] }, { - "id": 2108, + "id": 2107, "name": "getShippingMethodTotals_", "variant": "declaration", "kind": 2048, @@ -46843,7 +46824,7 @@ }, "signatures": [ { - "id": 2109, + "id": 2108, "name": "getShippingMethodTotals_", "variant": "signature", "kind": 4096, @@ -46858,7 +46839,7 @@ }, "parameters": [ { - "id": 2110, + "id": 2109, "name": "shippingMethod", "variant": "param", "kind": 32768, @@ -46874,7 +46855,7 @@ } }, { - "id": 2111, + "id": 2110, "name": "param1", "variant": "param", "kind": 32768, @@ -46882,14 +46863,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2112, + "id": 2111, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2113, + "id": 2112, "name": "includeTax", "variant": "declaration", "kind": 1024, @@ -46902,7 +46883,7 @@ } }, { - "id": 2114, + "id": 2113, "name": "calculationContext", "variant": "declaration", "kind": 1024, @@ -46918,7 +46899,7 @@ } }, { - "id": 2115, + "id": 2114, "name": "taxLines", "variant": "declaration", "kind": 1024, @@ -46939,7 +46920,7 @@ } }, { - "id": 2116, + "id": 2115, "name": "discounts", "variant": "declaration", "kind": 1024, @@ -46964,10 +46945,10 @@ { "title": "Properties", "children": [ + 2112, 2113, 2114, - 2115, - 2116 + 2115 ] } ] @@ -46999,7 +46980,7 @@ ] }, { - "id": 2117, + "id": 2116, "name": "getShippingMethodTotalsLegacy", "variant": "declaration", "kind": 2048, @@ -47008,7 +46989,7 @@ }, "signatures": [ { - "id": 2118, + "id": 2117, "name": "getShippingMethodTotalsLegacy", "variant": "signature", "kind": 4096, @@ -47023,7 +47004,7 @@ }, "parameters": [ { - "id": 2119, + "id": 2118, "name": "shippingMethod", "variant": "param", "kind": 32768, @@ -47039,7 +47020,7 @@ } }, { - "id": 2120, + "id": 2119, "name": "param1", "variant": "param", "kind": 32768, @@ -47047,14 +47028,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2121, + "id": 2120, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2122, + "id": 2121, "name": "calculationContext", "variant": "declaration", "kind": 1024, @@ -47070,7 +47051,7 @@ } }, { - "id": 2123, + "id": 2122, "name": "discounts", "variant": "declaration", "kind": 1024, @@ -47091,7 +47072,7 @@ } }, { - "id": 2124, + "id": 2123, "name": "taxRate", "variant": "declaration", "kind": 1024, @@ -47106,9 +47087,9 @@ { "title": "Properties", "children": [ + 2121, 2122, - 2123, - 2124 + 2123 ] } ] @@ -47144,45 +47125,45 @@ { "title": "Constructors", "children": [ - 1999 + 1998 ] }, { "title": "Properties", "children": [ + 2124, 2125, - 2126, + 2128, 2129, 2130, - 2131, + 2001, 2002, - 2003, - 2004 + 2003 ] }, { "title": "Accessors", "children": [ - 2127 + 2126 ] }, { "title": "Methods", "children": [ - 2132, - 2135, - 2140, - 2005, - 2016, - 2028, - 2039, - 2052, - 2064, - 2075, - 2087, - 2099, - 2108, - 2117 + 2131, + 2134, + 2139, + 2004, + 2015, + 2027, + 2038, + 2051, + 2063, + 2074, + 2086, + 2098, + 2107, + 2116 ] } ], @@ -47199,14 +47180,14 @@ ] }, { - "id": 2156, + "id": 2155, "name": "NoteService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2192, + "id": 2191, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -47229,7 +47210,7 @@ } }, { - "id": 2193, + "id": 2192, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -47261,7 +47242,7 @@ } }, { - "id": 2194, + "id": 2193, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -47269,7 +47250,7 @@ "isProtected": true }, "getSignature": { - "id": 2195, + "id": 2194, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -47296,7 +47277,7 @@ } }, { - "id": 2196, + "id": 2195, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -47315,7 +47296,7 @@ } }, { - "id": 2197, + "id": 2196, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -47350,7 +47331,7 @@ } }, { - "id": 2198, + "id": 2197, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -47385,21 +47366,21 @@ } }, { - "id": 2199, + "id": 2198, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2200, + "id": 2199, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2201, + "id": 2200, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -47435,7 +47416,7 @@ } }, { - "id": 2202, + "id": 2201, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -47444,14 +47425,14 @@ }, "signatures": [ { - "id": 2203, + "id": 2202, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2204, + "id": 2203, "name": "err", "variant": "param", "kind": 32768, @@ -47481,14 +47462,14 @@ { "type": "reflection", "declaration": { - "id": 2205, + "id": 2204, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2206, + "id": 2205, "name": "code", "variant": "declaration", "kind": 1024, @@ -47503,7 +47484,7 @@ { "title": "Properties", "children": [ - 2206 + 2205 ] } ] @@ -47531,7 +47512,7 @@ } }, { - "id": 2207, + "id": 2206, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -47540,7 +47521,7 @@ }, "signatures": [ { - "id": 2208, + "id": 2207, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -47566,14 +47547,14 @@ }, "typeParameter": [ { - "id": 2209, + "id": 2208, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 2210, + "id": 2209, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -47582,7 +47563,7 @@ ], "parameters": [ { - "id": 2211, + "id": 2210, "name": "work", "variant": "param", "kind": 32768, @@ -47598,21 +47579,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2212, + "id": 2211, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2213, + "id": 2212, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2214, + "id": 2213, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -47652,7 +47633,7 @@ } }, { - "id": 2215, + "id": 2214, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -47682,21 +47663,21 @@ { "type": "reflection", "declaration": { - "id": 2216, + "id": 2215, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2217, + "id": 2216, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2218, + "id": 2217, "name": "error", "variant": "param", "kind": 32768, @@ -47745,7 +47726,7 @@ } }, { - "id": 2219, + "id": 2218, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -47763,21 +47744,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2220, + "id": 2219, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2221, + "id": 2220, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2222, + "id": 2221, "name": "error", "variant": "param", "kind": 32768, @@ -47856,7 +47837,7 @@ } }, { - "id": 2157, + "id": 2156, "name": "Events", "variant": "declaration", "kind": 1024, @@ -47867,14 +47848,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2158, + "id": 2157, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2159, + "id": 2158, "name": "CREATED", "variant": "declaration", "kind": 1024, @@ -47886,7 +47867,7 @@ "defaultValue": "\"note.created\"" }, { - "id": 2160, + "id": 2159, "name": "UPDATED", "variant": "declaration", "kind": 1024, @@ -47898,7 +47879,7 @@ "defaultValue": "\"note.updated\"" }, { - "id": 2161, + "id": 2160, "name": "DELETED", "variant": "declaration", "kind": 1024, @@ -47914,9 +47895,9 @@ { "title": "Properties", "children": [ + 2158, 2159, - 2160, - 2161 + 2160 ] } ] @@ -47925,7 +47906,7 @@ "defaultValue": "..." }, { - "id": 2165, + "id": 2164, "name": "noteRepository_", "variant": "declaration", "kind": 1024, @@ -47955,7 +47936,7 @@ } }, { - "id": 2166, + "id": 2165, "name": "eventBus_", "variant": "declaration", "kind": 1024, @@ -47965,27 +47946,27 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 2162, + "id": 2161, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2163, + "id": 2162, "name": "new NoteService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 2164, + "id": 2163, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -48003,7 +47984,7 @@ ], "type": { "type": "reference", - "target": 2156, + "target": 2155, "name": "NoteService", "package": "@medusajs/medusa" }, @@ -48021,14 +48002,14 @@ } }, { - "id": 2167, + "id": 2166, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2168, + "id": 2167, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -48054,7 +48035,7 @@ }, "parameters": [ { - "id": 2169, + "id": 2168, "name": "noteId", "variant": "param", "kind": 32768, @@ -48073,7 +48054,7 @@ } }, { - "id": 2170, + "id": 2169, "name": "config", "variant": "param", "kind": 32768, @@ -48133,14 +48114,14 @@ ] }, { - "id": 2171, + "id": 2170, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2172, + "id": 2171, "name": "list", "variant": "signature", "kind": 4096, @@ -48166,7 +48147,7 @@ }, "parameters": [ { - "id": 2173, + "id": 2172, "name": "selector", "variant": "param", "kind": 32768, @@ -48201,7 +48182,7 @@ } }, { - "id": 2174, + "id": 2173, "name": "config", "variant": "param", "kind": 32768, @@ -48264,14 +48245,14 @@ ] }, { - "id": 2175, + "id": 2174, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2176, + "id": 2175, "name": "listAndCount", "variant": "signature", "kind": 4096, @@ -48297,7 +48278,7 @@ }, "parameters": [ { - "id": 2177, + "id": 2176, "name": "selector", "variant": "param", "kind": 32768, @@ -48332,7 +48313,7 @@ } }, { - "id": 2178, + "id": 2177, "name": "config", "variant": "param", "kind": 32768, @@ -48404,14 +48385,14 @@ ] }, { - "id": 2179, + "id": 2178, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2180, + "id": 2179, "name": "create", "variant": "signature", "kind": 4096, @@ -48437,7 +48418,7 @@ }, "parameters": [ { - "id": 2181, + "id": 2180, "name": "data", "variant": "param", "kind": 32768, @@ -48461,7 +48442,7 @@ } }, { - "id": 2182, + "id": 2181, "name": "config", "variant": "param", "kind": 32768, @@ -48477,14 +48458,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2183, + "id": 2182, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2184, + "id": 2183, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -48514,7 +48495,7 @@ { "title": "Properties", "children": [ - 2184 + 2183 ] } ] @@ -48547,14 +48528,14 @@ ] }, { - "id": 2185, + "id": 2184, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2186, + "id": 2185, "name": "update", "variant": "signature", "kind": 4096, @@ -48580,7 +48561,7 @@ }, "parameters": [ { - "id": 2187, + "id": 2186, "name": "noteId", "variant": "param", "kind": 32768, @@ -48599,7 +48580,7 @@ } }, { - "id": 2188, + "id": 2187, "name": "value", "variant": "param", "kind": 32768, @@ -48642,14 +48623,14 @@ ] }, { - "id": 2189, + "id": 2188, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2190, + "id": 2189, "name": "delete", "variant": "signature", "kind": 4096, @@ -48664,7 +48645,7 @@ }, "parameters": [ { - "id": 2191, + "id": 2190, "name": "noteId", "variant": "param", "kind": 32768, @@ -48706,40 +48687,40 @@ { "title": "Constructors", "children": [ - 2162 + 2161 ] }, { "title": "Properties", "children": [ + 2191, 2192, - 2193, + 2195, 2196, 2197, - 2198, - 2157, - 2165, - 2166 + 2156, + 2164, + 2165 ] }, { "title": "Accessors", "children": [ - 2194 + 2193 ] }, { "title": "Methods", "children": [ - 2199, - 2202, - 2207, - 2167, - 2171, - 2175, - 2179, - 2185, - 2189 + 2198, + 2201, + 2206, + 2166, + 2170, + 2174, + 2178, + 2184, + 2188 ] } ], @@ -48756,14 +48737,14 @@ ] }, { - "id": 2223, + "id": 2222, "name": "NotificationService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2273, + "id": 2272, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -48786,7 +48767,7 @@ } }, { - "id": 2274, + "id": 2273, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -48818,7 +48799,7 @@ } }, { - "id": 2275, + "id": 2274, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -48826,7 +48807,7 @@ "isProtected": true }, "getSignature": { - "id": 2276, + "id": 2275, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -48853,7 +48834,7 @@ } }, { - "id": 2277, + "id": 2276, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -48872,7 +48853,7 @@ } }, { - "id": 2278, + "id": 2277, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -48907,7 +48888,7 @@ } }, { - "id": 2279, + "id": 2278, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -48942,21 +48923,21 @@ } }, { - "id": 2280, + "id": 2279, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2281, + "id": 2280, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2282, + "id": 2281, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -48992,7 +48973,7 @@ } }, { - "id": 2283, + "id": 2282, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -49001,14 +48982,14 @@ }, "signatures": [ { - "id": 2284, + "id": 2283, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2285, + "id": 2284, "name": "err", "variant": "param", "kind": 32768, @@ -49038,14 +49019,14 @@ { "type": "reflection", "declaration": { - "id": 2286, + "id": 2285, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2287, + "id": 2286, "name": "code", "variant": "declaration", "kind": 1024, @@ -49060,7 +49041,7 @@ { "title": "Properties", "children": [ - 2287 + 2286 ] } ] @@ -49088,7 +49069,7 @@ } }, { - "id": 2288, + "id": 2287, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -49097,7 +49078,7 @@ }, "signatures": [ { - "id": 2289, + "id": 2288, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -49123,14 +49104,14 @@ }, "typeParameter": [ { - "id": 2290, + "id": 2289, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 2291, + "id": 2290, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -49139,7 +49120,7 @@ ], "parameters": [ { - "id": 2292, + "id": 2291, "name": "work", "variant": "param", "kind": 32768, @@ -49155,21 +49136,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2293, + "id": 2292, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2294, + "id": 2293, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2295, + "id": 2294, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -49209,7 +49190,7 @@ } }, { - "id": 2296, + "id": 2295, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -49239,21 +49220,21 @@ { "type": "reflection", "declaration": { - "id": 2297, + "id": 2296, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2298, + "id": 2297, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2299, + "id": 2298, "name": "error", "variant": "param", "kind": 32768, @@ -49302,7 +49283,7 @@ } }, { - "id": 2300, + "id": 2299, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -49320,21 +49301,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2301, + "id": 2300, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2302, + "id": 2301, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2303, + "id": 2302, "name": "error", "variant": "param", "kind": 32768, @@ -49413,7 +49394,7 @@ } }, { - "id": 2227, + "id": 2226, "name": "subscribers_", "variant": "declaration", "kind": 1024, @@ -49423,7 +49404,7 @@ "type": { "type": "reflection", "declaration": { - "id": 2228, + "id": 2227, "name": "__type", "variant": "declaration", "kind": 65536, @@ -49433,7 +49414,7 @@ "defaultValue": "{}" }, { - "id": 2229, + "id": 2228, "name": "attachmentGenerator_", "variant": "declaration", "kind": 1024, @@ -49447,7 +49428,7 @@ "defaultValue": "null" }, { - "id": 2230, + "id": 2229, "name": "container_", "variant": "declaration", "kind": 1024, @@ -49470,7 +49451,7 @@ { "type": "reflection", "declaration": { - "id": 2231, + "id": 2230, "name": "__type", "variant": "declaration", "kind": 65536, @@ -49481,7 +49462,7 @@ } }, { - "id": 2232, + "id": 2231, "name": "logger_", "variant": "declaration", "kind": 1024, @@ -49500,7 +49481,7 @@ } }, { - "id": 2233, + "id": 2232, "name": "notificationRepository_", "variant": "declaration", "kind": 1024, @@ -49530,7 +49511,7 @@ } }, { - "id": 2234, + "id": 2233, "name": "notificationProviderRepository_", "variant": "declaration", "kind": 1024, @@ -49560,21 +49541,21 @@ } }, { - "id": 2224, + "id": 2223, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2225, + "id": 2224, "name": "new NotificationService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 2226, + "id": 2225, "name": "container", "variant": "param", "kind": 32768, @@ -49592,7 +49573,7 @@ ], "type": { "type": "reference", - "target": 2223, + "target": 2222, "name": "NotificationService", "package": "@medusajs/medusa" }, @@ -49610,14 +49591,14 @@ } }, { - "id": 2235, + "id": 2234, "name": "registerAttachmentGenerator", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2236, + "id": 2235, "name": "registerAttachmentGenerator", "variant": "signature", "kind": 4096, @@ -49632,7 +49613,7 @@ }, "parameters": [ { - "id": 2237, + "id": 2236, "name": "service", "variant": "param", "kind": 32768, @@ -49659,14 +49640,14 @@ ] }, { - "id": 2238, + "id": 2237, "name": "registerInstalledProviders", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2239, + "id": 2238, "name": "registerInstalledProviders", "variant": "signature", "kind": 4096, @@ -49681,7 +49662,7 @@ }, "parameters": [ { - "id": 2240, + "id": 2239, "name": "providerIds", "variant": "param", "kind": 32768, @@ -49722,14 +49703,14 @@ ] }, { - "id": 2241, + "id": 2240, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2242, + "id": 2241, "name": "list", "variant": "signature", "kind": 4096, @@ -49755,7 +49736,7 @@ }, "parameters": [ { - "id": 2243, + "id": 2242, "name": "selector", "variant": "param", "kind": 32768, @@ -49790,7 +49771,7 @@ } }, { - "id": 2244, + "id": 2243, "name": "config", "variant": "param", "kind": 32768, @@ -49853,14 +49834,14 @@ ] }, { - "id": 2245, + "id": 2244, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2246, + "id": 2245, "name": "listAndCount", "variant": "signature", "kind": 4096, @@ -49886,7 +49867,7 @@ }, "parameters": [ { - "id": 2247, + "id": 2246, "name": "selector", "variant": "param", "kind": 32768, @@ -49921,7 +49902,7 @@ } }, { - "id": 2248, + "id": 2247, "name": "config", "variant": "param", "kind": 32768, @@ -49993,14 +49974,14 @@ ] }, { - "id": 2249, + "id": 2248, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2250, + "id": 2249, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -50026,7 +50007,7 @@ }, "parameters": [ { - "id": 2251, + "id": 2250, "name": "id", "variant": "param", "kind": 32768, @@ -50045,7 +50026,7 @@ } }, { - "id": 2252, + "id": 2251, "name": "config", "variant": "param", "kind": 32768, @@ -50105,14 +50086,14 @@ ] }, { - "id": 2253, + "id": 2252, "name": "subscribe", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2254, + "id": 2253, "name": "subscribe", "variant": "signature", "kind": 4096, @@ -50127,7 +50108,7 @@ }, "parameters": [ { - "id": 2255, + "id": 2254, "name": "eventName", "variant": "param", "kind": 32768, @@ -50146,7 +50127,7 @@ } }, { - "id": 2256, + "id": 2255, "name": "providerId", "variant": "param", "kind": 32768, @@ -50173,7 +50154,7 @@ ] }, { - "id": 2257, + "id": 2256, "name": "retrieveProvider_", "variant": "declaration", "kind": 2048, @@ -50182,7 +50163,7 @@ }, "signatures": [ { - "id": 2258, + "id": 2257, "name": "retrieveProvider_", "variant": "signature", "kind": 4096, @@ -50208,7 +50189,7 @@ }, "parameters": [ { - "id": 2259, + "id": 2258, "name": "id", "variant": "param", "kind": 32768, @@ -50240,14 +50221,14 @@ ] }, { - "id": 2260, + "id": 2259, "name": "handleEvent", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2261, + "id": 2260, "name": "handleEvent", "variant": "signature", "kind": 4096, @@ -50273,7 +50254,7 @@ }, "parameters": [ { - "id": 2262, + "id": 2261, "name": "eventName", "variant": "param", "kind": 32768, @@ -50292,7 +50273,7 @@ } }, { - "id": 2263, + "id": 2262, "name": "data", "variant": "param", "kind": 32768, @@ -50366,14 +50347,14 @@ ] }, { - "id": 2264, + "id": 2263, "name": "send", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2265, + "id": 2264, "name": "send", "variant": "signature", "kind": 4096, @@ -50399,7 +50380,7 @@ }, "parameters": [ { - "id": 2266, + "id": 2265, "name": "event", "variant": "param", "kind": 32768, @@ -50418,7 +50399,7 @@ } }, { - "id": 2267, + "id": 2266, "name": "eventData", "variant": "param", "kind": 32768, @@ -50452,7 +50433,7 @@ } }, { - "id": 2268, + "id": 2267, "name": "providerId", "variant": "param", "kind": 32768, @@ -50504,14 +50485,14 @@ ] }, { - "id": 2269, + "id": 2268, "name": "resend", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2270, + "id": 2269, "name": "resend", "variant": "signature", "kind": 4096, @@ -50537,7 +50518,7 @@ }, "parameters": [ { - "id": 2271, + "id": 2270, "name": "id", "variant": "param", "kind": 32768, @@ -50556,7 +50537,7 @@ } }, { - "id": 2272, + "id": 2271, "name": "config", "variant": "param", "kind": 32768, @@ -50620,47 +50601,47 @@ { "title": "Constructors", "children": [ - 2224 + 2223 ] }, { "title": "Properties", "children": [ + 2272, 2273, - 2274, + 2276, 2277, 2278, - 2279, - 2227, + 2226, + 2228, 2229, - 2230, + 2231, 2232, - 2233, - 2234 + 2233 ] }, { "title": "Accessors", "children": [ - 2275 + 2274 ] }, { "title": "Methods", "children": [ - 2280, - 2283, - 2288, - 2235, - 2238, - 2241, - 2245, - 2249, - 2253, - 2257, - 2260, - 2264, - 2269 + 2279, + 2282, + 2287, + 2234, + 2237, + 2240, + 2244, + 2248, + 2252, + 2256, + 2259, + 2263, + 2268 ] } ], @@ -50677,14 +50658,14 @@ ] }, { - "id": 2304, + "id": 2303, "name": "OauthService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2342, + "id": 2341, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -50707,7 +50688,7 @@ } }, { - "id": 2343, + "id": 2342, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -50739,7 +50720,7 @@ } }, { - "id": 2344, + "id": 2343, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -50747,7 +50728,7 @@ "isProtected": true }, "getSignature": { - "id": 2345, + "id": 2344, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -50774,7 +50755,7 @@ } }, { - "id": 2346, + "id": 2345, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -50793,7 +50774,7 @@ } }, { - "id": 2347, + "id": 2346, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -50828,7 +50809,7 @@ } }, { - "id": 2348, + "id": 2347, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -50863,21 +50844,21 @@ } }, { - "id": 2349, + "id": 2348, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2350, + "id": 2349, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2351, + "id": 2350, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -50913,7 +50894,7 @@ } }, { - "id": 2352, + "id": 2351, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -50922,14 +50903,14 @@ }, "signatures": [ { - "id": 2353, + "id": 2352, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2354, + "id": 2353, "name": "err", "variant": "param", "kind": 32768, @@ -50959,14 +50940,14 @@ { "type": "reflection", "declaration": { - "id": 2355, + "id": 2354, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2356, + "id": 2355, "name": "code", "variant": "declaration", "kind": 1024, @@ -50981,7 +50962,7 @@ { "title": "Properties", "children": [ - 2356 + 2355 ] } ] @@ -51009,7 +50990,7 @@ } }, { - "id": 2357, + "id": 2356, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -51018,7 +50999,7 @@ }, "signatures": [ { - "id": 2358, + "id": 2357, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -51044,14 +51025,14 @@ }, "typeParameter": [ { - "id": 2359, + "id": 2358, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 2360, + "id": 2359, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -51060,7 +51041,7 @@ ], "parameters": [ { - "id": 2361, + "id": 2360, "name": "work", "variant": "param", "kind": 32768, @@ -51076,21 +51057,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2362, + "id": 2361, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2363, + "id": 2362, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2364, + "id": 2363, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -51130,7 +51111,7 @@ } }, { - "id": 2365, + "id": 2364, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -51160,21 +51141,21 @@ { "type": "reflection", "declaration": { - "id": 2366, + "id": 2365, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2367, + "id": 2366, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2368, + "id": 2367, "name": "error", "variant": "param", "kind": 32768, @@ -51223,7 +51204,7 @@ } }, { - "id": 2369, + "id": 2368, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -51241,21 +51222,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2370, + "id": 2369, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2371, + "id": 2370, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2372, + "id": 2371, "name": "error", "variant": "param", "kind": 32768, @@ -51334,7 +51315,7 @@ } }, { - "id": 2305, + "id": 2304, "name": "Events", "variant": "declaration", "kind": 1024, @@ -51344,14 +51325,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2306, + "id": 2305, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2307, + "id": 2306, "name": "TOKEN_GENERATED", "variant": "declaration", "kind": 1024, @@ -51363,7 +51344,7 @@ "defaultValue": "\"oauth.token_generated\"" }, { - "id": 2308, + "id": 2307, "name": "TOKEN_REFRESHED", "variant": "declaration", "kind": 1024, @@ -51379,8 +51360,8 @@ { "title": "Properties", "children": [ - 2307, - 2308 + 2306, + 2307 ] } ] @@ -51389,7 +51370,7 @@ "defaultValue": "..." }, { - "id": 2312, + "id": 2311, "name": "container_", "variant": "declaration", "kind": 1024, @@ -51407,7 +51388,7 @@ } }, { - "id": 2313, + "id": 2312, "name": "oauthRepository_", "variant": "declaration", "kind": 1024, @@ -51436,7 +51417,7 @@ } }, { - "id": 2314, + "id": 2313, "name": "eventBus_", "variant": "declaration", "kind": 1024, @@ -51445,27 +51426,27 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 2309, + "id": 2308, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2310, + "id": 2309, "name": "new OauthService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 2311, + "id": 2310, "name": "cradle", "variant": "param", "kind": 32768, @@ -51483,7 +51464,7 @@ ], "type": { "type": "reference", - "target": 2304, + "target": 2303, "name": "Oauth", "package": "@medusajs/medusa" }, @@ -51501,21 +51482,21 @@ } }, { - "id": 2315, + "id": 2314, "name": "retrieveByName", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2316, + "id": 2315, "name": "retrieveByName", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2317, + "id": 2316, "name": "appName", "variant": "param", "kind": 32768, @@ -51550,21 +51531,21 @@ ] }, { - "id": 2318, + "id": 2317, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2319, + "id": 2318, "name": "retrieve", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2320, + "id": 2319, "name": "oauthId", "variant": "param", "kind": 32768, @@ -51599,21 +51580,21 @@ ] }, { - "id": 2321, + "id": 2320, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2322, + "id": 2321, "name": "list", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2323, + "id": 2322, "name": "selector", "variant": "param", "kind": 32768, @@ -51667,21 +51648,21 @@ ] }, { - "id": 2324, + "id": 2323, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2325, + "id": 2324, "name": "create", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2326, + "id": 2325, "name": "data", "variant": "param", "kind": 32768, @@ -51721,21 +51702,21 @@ ] }, { - "id": 2327, + "id": 2326, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2328, + "id": 2327, "name": "update", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2329, + "id": 2328, "name": "id", "variant": "param", "kind": 32768, @@ -51746,7 +51727,7 @@ } }, { - "id": 2330, + "id": 2329, "name": "update", "variant": "param", "kind": 32768, @@ -51786,21 +51767,21 @@ ] }, { - "id": 2331, + "id": 2330, "name": "registerOauthApp", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2332, + "id": 2331, "name": "registerOauthApp", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2333, + "id": 2332, "name": "appDetails", "variant": "param", "kind": 32768, @@ -51840,21 +51821,21 @@ ] }, { - "id": 2334, + "id": 2333, "name": "generateToken", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2335, + "id": 2334, "name": "generateToken", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2336, + "id": 2335, "name": "appName", "variant": "param", "kind": 32768, @@ -51865,7 +51846,7 @@ } }, { - "id": 2337, + "id": 2336, "name": "code", "variant": "param", "kind": 32768, @@ -51876,7 +51857,7 @@ } }, { - "id": 2338, + "id": 2337, "name": "state", "variant": "param", "kind": 32768, @@ -51911,21 +51892,21 @@ ] }, { - "id": 2339, + "id": 2338, "name": "refreshToken", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2340, + "id": 2339, "name": "refreshToken", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2341, + "id": 2340, "name": "appName", "variant": "param", "kind": 32768, @@ -51964,43 +51945,43 @@ { "title": "Constructors", "children": [ - 2309 + 2308 ] }, { "title": "Properties", "children": [ + 2341, 2342, - 2343, + 2345, 2346, 2347, - 2348, - 2305, + 2304, + 2311, 2312, - 2313, - 2314 + 2313 ] }, { "title": "Accessors", "children": [ - 2344 + 2343 ] }, { "title": "Methods", "children": [ - 2349, - 2352, - 2357, - 2315, - 2318, - 2321, - 2324, - 2327, - 2331, - 2334, - 2339 + 2348, + 2351, + 2356, + 2314, + 2317, + 2320, + 2323, + 2326, + 2330, + 2333, + 2338 ] } ], @@ -52017,14 +51998,14 @@ ] }, { - "id": 2741, + "id": 2740, "name": "OrderEditItemChangeService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2767, + "id": 2766, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -52047,7 +52028,7 @@ } }, { - "id": 2768, + "id": 2767, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -52079,7 +52060,7 @@ } }, { - "id": 2769, + "id": 2768, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -52087,7 +52068,7 @@ "isProtected": true }, "getSignature": { - "id": 2770, + "id": 2769, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -52114,7 +52095,7 @@ } }, { - "id": 2771, + "id": 2770, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -52133,7 +52114,7 @@ } }, { - "id": 2772, + "id": 2771, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -52168,7 +52149,7 @@ } }, { - "id": 2773, + "id": 2772, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -52203,21 +52184,21 @@ } }, { - "id": 2774, + "id": 2773, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2775, + "id": 2774, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2776, + "id": 2775, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -52253,7 +52234,7 @@ } }, { - "id": 2777, + "id": 2776, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -52262,14 +52243,14 @@ }, "signatures": [ { - "id": 2778, + "id": 2777, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2779, + "id": 2778, "name": "err", "variant": "param", "kind": 32768, @@ -52299,14 +52280,14 @@ { "type": "reflection", "declaration": { - "id": 2780, + "id": 2779, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2781, + "id": 2780, "name": "code", "variant": "declaration", "kind": 1024, @@ -52321,7 +52302,7 @@ { "title": "Properties", "children": [ - 2781 + 2780 ] } ] @@ -52349,7 +52330,7 @@ } }, { - "id": 2782, + "id": 2781, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -52358,7 +52339,7 @@ }, "signatures": [ { - "id": 2783, + "id": 2782, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -52384,14 +52365,14 @@ }, "typeParameter": [ { - "id": 2784, + "id": 2783, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 2785, + "id": 2784, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -52400,7 +52381,7 @@ ], "parameters": [ { - "id": 2786, + "id": 2785, "name": "work", "variant": "param", "kind": 32768, @@ -52416,21 +52397,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2787, + "id": 2786, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2788, + "id": 2787, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2789, + "id": 2788, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -52470,7 +52451,7 @@ } }, { - "id": 2790, + "id": 2789, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -52500,21 +52481,21 @@ { "type": "reflection", "declaration": { - "id": 2791, + "id": 2790, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2792, + "id": 2791, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2793, + "id": 2792, "name": "error", "variant": "param", "kind": 32768, @@ -52563,7 +52544,7 @@ } }, { - "id": 2794, + "id": 2793, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -52581,21 +52562,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2795, + "id": 2794, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2796, + "id": 2795, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2797, + "id": 2796, "name": "error", "variant": "param", "kind": 32768, @@ -52674,7 +52655,7 @@ } }, { - "id": 2742, + "id": 2741, "name": "Events", "variant": "declaration", "kind": 1024, @@ -52685,14 +52666,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2743, + "id": 2742, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2744, + "id": 2743, "name": "CREATED", "variant": "declaration", "kind": 1024, @@ -52704,7 +52685,7 @@ "defaultValue": "\"order-edit-item-change.CREATED\"" }, { - "id": 2745, + "id": 2744, "name": "DELETED", "variant": "declaration", "kind": 1024, @@ -52720,8 +52701,8 @@ { "title": "Properties", "children": [ - 2744, - 2745 + 2743, + 2744 ] } ] @@ -52730,7 +52711,7 @@ "defaultValue": "..." }, { - "id": 2749, + "id": 2748, "name": "orderItemChangeRepository_", "variant": "declaration", "kind": 1024, @@ -52760,7 +52741,7 @@ } }, { - "id": 2750, + "id": 2749, "name": "eventBus_", "variant": "declaration", "kind": 1024, @@ -52779,7 +52760,7 @@ } }, { - "id": 2751, + "id": 2750, "name": "lineItemService_", "variant": "declaration", "kind": 1024, @@ -52789,13 +52770,13 @@ }, "type": { "type": "reference", - "target": 1753, + "target": 1752, "name": "LineItemService", "package": "@medusajs/medusa" } }, { - "id": 2752, + "id": 2751, "name": "taxProviderService_", "variant": "declaration", "kind": 1024, @@ -52805,27 +52786,27 @@ }, "type": { "type": "reference", - "target": 5812, + "target": 5801, "name": "TaxProviderService", "package": "@medusajs/medusa" } }, { - "id": 2746, + "id": 2745, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2747, + "id": 2746, "name": "new OrderEditItemChangeService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 2748, + "id": 2747, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -52843,7 +52824,7 @@ ], "type": { "type": "reference", - "target": 2741, + "target": 2740, "name": "default", "package": "@medusajs/medusa" }, @@ -52861,21 +52842,21 @@ } }, { - "id": 2753, + "id": 2752, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2754, + "id": 2753, "name": "retrieve", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2755, + "id": 2754, "name": "id", "variant": "param", "kind": 32768, @@ -52886,7 +52867,7 @@ } }, { - "id": 2756, + "id": 2755, "name": "config", "variant": "param", "kind": 32768, @@ -52938,21 +52919,21 @@ ] }, { - "id": 2757, + "id": 2756, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2758, + "id": 2757, "name": "list", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2759, + "id": 2758, "name": "selector", "variant": "param", "kind": 32768, @@ -52979,7 +52960,7 @@ } }, { - "id": 2760, + "id": 2759, "name": "config", "variant": "param", "kind": 32768, @@ -53034,21 +53015,21 @@ ] }, { - "id": 2761, + "id": 2760, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2762, + "id": 2761, "name": "create", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2763, + "id": 2762, "name": "data", "variant": "param", "kind": 32768, @@ -53088,21 +53069,21 @@ ] }, { - "id": 2764, + "id": 2763, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2765, + "id": 2764, "name": "delete", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2766, + "id": 2765, "name": "itemChangeIds", "variant": "param", "kind": 32768, @@ -53148,40 +53129,40 @@ { "title": "Constructors", "children": [ - 2746 + 2745 ] }, { "title": "Properties", "children": [ + 2766, 2767, - 2768, + 2770, 2771, 2772, - 2773, - 2742, + 2741, + 2748, 2749, 2750, - 2751, - 2752 + 2751 ] }, { "title": "Accessors", "children": [ - 2769 + 2768 ] }, { "title": "Methods", "children": [ - 2774, - 2777, - 2782, - 2753, - 2757, - 2761, - 2764 + 2773, + 2776, + 2781, + 2752, + 2756, + 2760, + 2763 ] } ], @@ -53198,14 +53179,14 @@ ] }, { - "id": 2597, + "id": 2596, "name": "OrderEditService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2710, + "id": 2709, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -53228,7 +53209,7 @@ } }, { - "id": 2711, + "id": 2710, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -53260,7 +53241,7 @@ } }, { - "id": 2712, + "id": 2711, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -53268,7 +53249,7 @@ "isProtected": true }, "getSignature": { - "id": 2713, + "id": 2712, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -53295,7 +53276,7 @@ } }, { - "id": 2714, + "id": 2713, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -53314,7 +53295,7 @@ } }, { - "id": 2715, + "id": 2714, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -53349,7 +53330,7 @@ } }, { - "id": 2716, + "id": 2715, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -53384,21 +53365,21 @@ } }, { - "id": 2717, + "id": 2716, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2718, + "id": 2717, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2719, + "id": 2718, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -53434,7 +53415,7 @@ } }, { - "id": 2720, + "id": 2719, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -53443,14 +53424,14 @@ }, "signatures": [ { - "id": 2721, + "id": 2720, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2722, + "id": 2721, "name": "err", "variant": "param", "kind": 32768, @@ -53480,14 +53461,14 @@ { "type": "reflection", "declaration": { - "id": 2723, + "id": 2722, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2724, + "id": 2723, "name": "code", "variant": "declaration", "kind": 1024, @@ -53502,7 +53483,7 @@ { "title": "Properties", "children": [ - 2724 + 2723 ] } ] @@ -53530,7 +53511,7 @@ } }, { - "id": 2725, + "id": 2724, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -53539,7 +53520,7 @@ }, "signatures": [ { - "id": 2726, + "id": 2725, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -53565,14 +53546,14 @@ }, "typeParameter": [ { - "id": 2727, + "id": 2726, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 2728, + "id": 2727, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -53581,7 +53562,7 @@ ], "parameters": [ { - "id": 2729, + "id": 2728, "name": "work", "variant": "param", "kind": 32768, @@ -53597,21 +53578,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2730, + "id": 2729, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2731, + "id": 2730, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2732, + "id": 2731, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -53651,7 +53632,7 @@ } }, { - "id": 2733, + "id": 2732, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -53681,21 +53662,21 @@ { "type": "reflection", "declaration": { - "id": 2734, + "id": 2733, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2735, + "id": 2734, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2736, + "id": 2735, "name": "error", "variant": "param", "kind": 32768, @@ -53744,7 +53725,7 @@ } }, { - "id": 2737, + "id": 2736, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -53762,21 +53743,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2738, + "id": 2737, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2739, + "id": 2738, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2740, + "id": 2739, "name": "error", "variant": "param", "kind": 32768, @@ -53855,7 +53836,7 @@ } }, { - "id": 2598, + "id": 2597, "name": "Events", "variant": "declaration", "kind": 1024, @@ -53866,14 +53847,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2599, + "id": 2598, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2600, + "id": 2599, "name": "CREATED", "variant": "declaration", "kind": 1024, @@ -53885,7 +53866,7 @@ "defaultValue": "\"order-edit.created\"" }, { - "id": 2601, + "id": 2600, "name": "UPDATED", "variant": "declaration", "kind": 1024, @@ -53897,7 +53878,7 @@ "defaultValue": "\"order-edit.updated\"" }, { - "id": 2602, + "id": 2601, "name": "DECLINED", "variant": "declaration", "kind": 1024, @@ -53909,7 +53890,7 @@ "defaultValue": "\"order-edit.declined\"" }, { - "id": 2603, + "id": 2602, "name": "REQUESTED", "variant": "declaration", "kind": 1024, @@ -53921,7 +53902,7 @@ "defaultValue": "\"order-edit.requested\"" }, { - "id": 2604, + "id": 2603, "name": "CANCELED", "variant": "declaration", "kind": 1024, @@ -53933,7 +53914,7 @@ "defaultValue": "\"order-edit.canceled\"" }, { - "id": 2605, + "id": 2604, "name": "CONFIRMED", "variant": "declaration", "kind": 1024, @@ -53949,12 +53930,12 @@ { "title": "Properties", "children": [ + 2599, 2600, 2601, 2602, 2603, - 2604, - 2605 + 2604 ] } ] @@ -53963,7 +53944,7 @@ "defaultValue": "..." }, { - "id": 2612, + "id": 2611, "name": "orderEditRepository_", "variant": "declaration", "kind": 1024, @@ -53993,7 +53974,7 @@ } }, { - "id": 2613, + "id": 2612, "name": "orderService_", "variant": "declaration", "kind": 1024, @@ -54003,13 +53984,13 @@ }, "type": { "type": "reference", - "target": 2373, + "target": 2372, "name": "OrderService", "package": "@medusajs/medusa" } }, { - "id": 2614, + "id": 2613, "name": "totalsService_", "variant": "declaration", "kind": 1024, @@ -54019,13 +54000,13 @@ }, "type": { "type": "reference", - "target": 6079, + "target": 6068, "name": "TotalsService", "package": "@medusajs/medusa" } }, { - "id": 2615, + "id": 2614, "name": "newTotalsService_", "variant": "declaration", "kind": 1024, @@ -54035,13 +54016,13 @@ }, "type": { "type": "reference", - "target": 1998, + "target": 1997, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 2616, + "id": 2615, "name": "lineItemService_", "variant": "declaration", "kind": 1024, @@ -54051,13 +54032,13 @@ }, "type": { "type": "reference", - "target": 1753, + "target": 1752, "name": "LineItemService", "package": "@medusajs/medusa" } }, { - "id": 2617, + "id": 2616, "name": "eventBusService_", "variant": "declaration", "kind": 1024, @@ -54067,13 +54048,13 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 2618, + "id": 2617, "name": "taxProviderService_", "variant": "declaration", "kind": 1024, @@ -54083,13 +54064,13 @@ }, "type": { "type": "reference", - "target": 5812, + "target": 5801, "name": "TaxProviderService", "package": "@medusajs/medusa" } }, { - "id": 2619, + "id": 2618, "name": "lineItemAdjustmentService_", "variant": "declaration", "kind": 1024, @@ -54099,13 +54080,13 @@ }, "type": { "type": "reference", - "target": 1892, + "target": 1891, "name": "LineItemAdjustmentService", "package": "@medusajs/medusa" } }, { - "id": 2620, + "id": 2619, "name": "orderEditItemChangeService_", "variant": "declaration", "kind": 1024, @@ -54115,13 +54096,13 @@ }, "type": { "type": "reference", - "target": 2741, + "target": 2740, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 2621, + "id": 2620, "name": "inventoryService_", "variant": "declaration", "kind": 262144, @@ -54129,7 +54110,7 @@ "isProtected": true }, "getSignature": { - "id": 2622, + "id": 2621, "name": "inventoryService_", "variant": "signature", "kind": 524288, @@ -54155,21 +54136,21 @@ } }, { - "id": 2609, + "id": 2608, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2610, + "id": 2609, "name": "new OrderEditService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 2611, + "id": 2610, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -54187,7 +54168,7 @@ ], "type": { "type": "reference", - "target": 2597, + "target": 2596, "name": "default", "package": "@medusajs/medusa" }, @@ -54205,21 +54186,21 @@ } }, { - "id": 2623, + "id": 2622, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2624, + "id": 2623, "name": "retrieve", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2625, + "id": 2624, "name": "orderEditId", "variant": "param", "kind": 32768, @@ -54230,7 +54211,7 @@ } }, { - "id": 2626, + "id": 2625, "name": "config", "variant": "param", "kind": 32768, @@ -54282,21 +54263,21 @@ ] }, { - "id": 2627, + "id": 2626, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2628, + "id": 2627, "name": "listAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2629, + "id": 2628, "name": "selector", "variant": "param", "kind": 32768, @@ -54327,14 +54308,14 @@ { "type": "reflection", "declaration": { - "id": 2630, + "id": 2629, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2631, + "id": 2630, "name": "q", "variant": "declaration", "kind": 1024, @@ -54351,7 +54332,7 @@ { "title": "Properties", "children": [ - 2631 + 2630 ] } ] @@ -54361,7 +54342,7 @@ } }, { - "id": 2632, + "id": 2631, "name": "config", "variant": "param", "kind": 32768, @@ -54426,21 +54407,21 @@ ] }, { - "id": 2633, + "id": 2632, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2634, + "id": 2633, "name": "list", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2635, + "id": 2634, "name": "selector", "variant": "param", "kind": 32768, @@ -54467,7 +54448,7 @@ } }, { - "id": 2636, + "id": 2635, "name": "config", "variant": "param", "kind": 32768, @@ -54523,21 +54504,21 @@ ] }, { - "id": 2637, + "id": 2636, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2638, + "id": 2637, "name": "create", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2639, + "id": 2638, "name": "data", "variant": "param", "kind": 32768, @@ -54553,7 +54534,7 @@ } }, { - "id": 2640, + "id": 2639, "name": "context", "variant": "param", "kind": 32768, @@ -54561,14 +54542,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2641, + "id": 2640, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2642, + "id": 2641, "name": "createdBy", "variant": "declaration", "kind": 1024, @@ -54583,7 +54564,7 @@ { "title": "Properties", "children": [ - 2642 + 2641 ] } ] @@ -54615,21 +54596,21 @@ ] }, { - "id": 2643, + "id": 2642, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2644, + "id": 2643, "name": "update", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2645, + "id": 2644, "name": "orderEditId", "variant": "param", "kind": 32768, @@ -54640,7 +54621,7 @@ } }, { - "id": 2646, + "id": 2645, "name": "data", "variant": "param", "kind": 32768, @@ -54691,21 +54672,21 @@ ] }, { - "id": 2647, + "id": 2646, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2648, + "id": 2647, "name": "delete", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2649, + "id": 2648, "name": "id", "variant": "param", "kind": 32768, @@ -54735,21 +54716,21 @@ ] }, { - "id": 2650, + "id": 2649, "name": "decline", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2651, + "id": 2650, "name": "decline", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2652, + "id": 2651, "name": "orderEditId", "variant": "param", "kind": 32768, @@ -54760,7 +54741,7 @@ } }, { - "id": 2653, + "id": 2652, "name": "context", "variant": "param", "kind": 32768, @@ -54768,14 +54749,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2654, + "id": 2653, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2655, + "id": 2654, "name": "declinedReason", "variant": "declaration", "kind": 1024, @@ -54788,7 +54769,7 @@ } }, { - "id": 2656, + "id": 2655, "name": "declinedBy", "variant": "declaration", "kind": 1024, @@ -54805,8 +54786,8 @@ { "title": "Properties", "children": [ - 2655, - 2656 + 2654, + 2655 ] } ] @@ -54838,14 +54819,14 @@ ] }, { - "id": 2657, + "id": 2656, "name": "updateLineItem", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2658, + "id": 2657, "name": "updateLineItem", "variant": "signature", "kind": 4096, @@ -54860,7 +54841,7 @@ }, "parameters": [ { - "id": 2659, + "id": 2658, "name": "orderEditId", "variant": "param", "kind": 32768, @@ -54871,7 +54852,7 @@ } }, { - "id": 2660, + "id": 2659, "name": "itemId", "variant": "param", "kind": 32768, @@ -54882,7 +54863,7 @@ } }, { - "id": 2661, + "id": 2660, "name": "data", "variant": "param", "kind": 32768, @@ -54890,14 +54871,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2662, + "id": 2661, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2663, + "id": 2662, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -54912,7 +54893,7 @@ { "title": "Properties", "children": [ - 2663 + 2662 ] } ] @@ -54939,21 +54920,21 @@ ] }, { - "id": 2664, + "id": 2663, "name": "removeLineItem", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2665, + "id": 2664, "name": "removeLineItem", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2666, + "id": 2665, "name": "orderEditId", "variant": "param", "kind": 32768, @@ -54964,7 +54945,7 @@ } }, { - "id": 2667, + "id": 2666, "name": "lineItemId", "variant": "param", "kind": 32768, @@ -54994,21 +54975,21 @@ ] }, { - "id": 2668, + "id": 2667, "name": "refreshAdjustments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2669, + "id": 2668, "name": "refreshAdjustments", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2670, + "id": 2669, "name": "orderEditId", "variant": "param", "kind": 32768, @@ -55019,7 +55000,7 @@ } }, { - "id": 2671, + "id": 2670, "name": "config", "variant": "param", "kind": 32768, @@ -55027,14 +55008,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2672, + "id": 2671, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2673, + "id": 2672, "name": "preserveCustomAdjustments", "variant": "declaration", "kind": 1024, @@ -55050,7 +55031,7 @@ { "title": "Properties", "children": [ - 2673 + 2672 ] } ] @@ -55078,21 +55059,21 @@ ] }, { - "id": 2674, + "id": 2673, "name": "decorateTotals", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2675, + "id": 2674, "name": "decorateTotals", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2676, + "id": 2675, "name": "orderEdit", "variant": "param", "kind": 32768, @@ -55132,21 +55113,21 @@ ] }, { - "id": 2677, + "id": 2676, "name": "addLineItem", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2678, + "id": 2677, "name": "addLineItem", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2679, + "id": 2678, "name": "orderEditId", "variant": "param", "kind": 32768, @@ -55157,7 +55138,7 @@ } }, { - "id": 2680, + "id": 2679, "name": "data", "variant": "param", "kind": 32768, @@ -55192,21 +55173,21 @@ ] }, { - "id": 2681, + "id": 2680, "name": "deleteItemChange", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2682, + "id": 2681, "name": "deleteItemChange", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2683, + "id": 2682, "name": "orderEditId", "variant": "param", "kind": 32768, @@ -55217,7 +55198,7 @@ } }, { - "id": 2684, + "id": 2683, "name": "itemChangeId", "variant": "param", "kind": 32768, @@ -55247,21 +55228,21 @@ ] }, { - "id": 2685, + "id": 2684, "name": "requestConfirmation", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2686, + "id": 2685, "name": "requestConfirmation", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2687, + "id": 2686, "name": "orderEditId", "variant": "param", "kind": 32768, @@ -55272,7 +55253,7 @@ } }, { - "id": 2688, + "id": 2687, "name": "context", "variant": "param", "kind": 32768, @@ -55280,14 +55261,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2689, + "id": 2688, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2690, + "id": 2689, "name": "requestedBy", "variant": "declaration", "kind": 1024, @@ -55304,7 +55285,7 @@ { "title": "Properties", "children": [ - 2690 + 2689 ] } ] @@ -55337,21 +55318,21 @@ ] }, { - "id": 2691, + "id": 2690, "name": "cancel", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2692, + "id": 2691, "name": "cancel", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2693, + "id": 2692, "name": "orderEditId", "variant": "param", "kind": 32768, @@ -55362,7 +55343,7 @@ } }, { - "id": 2694, + "id": 2693, "name": "context", "variant": "param", "kind": 32768, @@ -55370,14 +55351,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2695, + "id": 2694, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2696, + "id": 2695, "name": "canceledBy", "variant": "declaration", "kind": 1024, @@ -55394,7 +55375,7 @@ { "title": "Properties", "children": [ - 2696 + 2695 ] } ] @@ -55427,21 +55408,21 @@ ] }, { - "id": 2697, + "id": 2696, "name": "confirm", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2698, + "id": 2697, "name": "confirm", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2699, + "id": 2698, "name": "orderEditId", "variant": "param", "kind": 32768, @@ -55452,7 +55433,7 @@ } }, { - "id": 2700, + "id": 2699, "name": "context", "variant": "param", "kind": 32768, @@ -55460,14 +55441,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2701, + "id": 2700, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2702, + "id": 2701, "name": "confirmedBy", "variant": "declaration", "kind": 1024, @@ -55484,7 +55465,7 @@ { "title": "Properties", "children": [ - 2702 + 2701 ] } ] @@ -55517,7 +55498,7 @@ ] }, { - "id": 2703, + "id": 2702, "name": "retrieveActive", "variant": "declaration", "kind": 2048, @@ -55526,14 +55507,14 @@ }, "signatures": [ { - "id": 2704, + "id": 2703, "name": "retrieveActive", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2705, + "id": 2704, "name": "orderId", "variant": "param", "kind": 32768, @@ -55544,7 +55525,7 @@ } }, { - "id": 2706, + "id": 2705, "name": "config", "variant": "param", "kind": 32768, @@ -55609,7 +55590,7 @@ ] }, { - "id": 2707, + "id": 2706, "name": "deleteClonedItems", "variant": "declaration", "kind": 2048, @@ -55618,14 +55599,14 @@ }, "signatures": [ { - "id": 2708, + "id": 2707, "name": "deleteClonedItems", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2709, + "id": 2708, "name": "orderEditId", "variant": "param", "kind": 32768, @@ -55655,7 +55636,7 @@ ] }, { - "id": 2606, + "id": 2605, "name": "isOrderEditActive", "variant": "declaration", "kind": 2048, @@ -55665,14 +55646,14 @@ }, "signatures": [ { - "id": 2607, + "id": 2606, "name": "isOrderEditActive", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2608, + "id": 2607, "name": "orderEdit", "variant": "param", "kind": 32768, @@ -55700,18 +55681,19 @@ { "title": "Constructors", "children": [ - 2609 + 2608 ] }, { "title": "Properties", "children": [ + 2709, 2710, - 2711, + 2713, 2714, 2715, - 2716, - 2598, + 2597, + 2611, 2612, 2613, 2614, @@ -55719,42 +55701,41 @@ 2616, 2617, 2618, - 2619, - 2620 + 2619 ] }, { "title": "Accessors", "children": [ - 2712, - 2621 + 2711, + 2620 ] }, { "title": "Methods", "children": [ - 2717, - 2720, - 2725, - 2623, - 2627, - 2633, - 2637, - 2643, - 2647, - 2650, - 2657, - 2664, - 2668, - 2674, - 2677, - 2681, - 2685, - 2691, - 2697, - 2703, - 2707, - 2606 + 2716, + 2719, + 2724, + 2622, + 2626, + 2632, + 2636, + 2642, + 2646, + 2649, + 2656, + 2663, + 2667, + 2673, + 2676, + 2680, + 2684, + 2690, + 2696, + 2702, + 2706, + 2605 ] } ], @@ -55771,14 +55752,14 @@ ] }, { - "id": 2373, + "id": 2372, "name": "OrderService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2566, + "id": 2565, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -55801,7 +55782,7 @@ } }, { - "id": 2567, + "id": 2566, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -55833,7 +55814,7 @@ } }, { - "id": 2568, + "id": 2567, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -55841,7 +55822,7 @@ "isProtected": true }, "getSignature": { - "id": 2569, + "id": 2568, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -55868,7 +55849,7 @@ } }, { - "id": 2570, + "id": 2569, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -55887,7 +55868,7 @@ } }, { - "id": 2571, + "id": 2570, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -55922,7 +55903,7 @@ } }, { - "id": 2572, + "id": 2571, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -55957,21 +55938,21 @@ } }, { - "id": 2573, + "id": 2572, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2574, + "id": 2573, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2575, + "id": 2574, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -56007,7 +55988,7 @@ } }, { - "id": 2576, + "id": 2575, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -56016,14 +55997,14 @@ }, "signatures": [ { - "id": 2577, + "id": 2576, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2578, + "id": 2577, "name": "err", "variant": "param", "kind": 32768, @@ -56053,14 +56034,14 @@ { "type": "reflection", "declaration": { - "id": 2579, + "id": 2578, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2580, + "id": 2579, "name": "code", "variant": "declaration", "kind": 1024, @@ -56075,7 +56056,7 @@ { "title": "Properties", "children": [ - 2580 + 2579 ] } ] @@ -56103,7 +56084,7 @@ } }, { - "id": 2581, + "id": 2580, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -56112,7 +56093,7 @@ }, "signatures": [ { - "id": 2582, + "id": 2581, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -56138,14 +56119,14 @@ }, "typeParameter": [ { - "id": 2583, + "id": 2582, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 2584, + "id": 2583, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -56154,7 +56135,7 @@ ], "parameters": [ { - "id": 2585, + "id": 2584, "name": "work", "variant": "param", "kind": 32768, @@ -56170,21 +56151,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2586, + "id": 2585, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2587, + "id": 2586, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2588, + "id": 2587, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -56224,7 +56205,7 @@ } }, { - "id": 2589, + "id": 2588, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -56254,21 +56235,21 @@ { "type": "reflection", "declaration": { - "id": 2590, + "id": 2589, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2591, + "id": 2590, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2592, + "id": 2591, "name": "error", "variant": "param", "kind": 32768, @@ -56317,7 +56298,7 @@ } }, { - "id": 2593, + "id": 2592, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -56335,21 +56316,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2594, + "id": 2593, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2595, + "id": 2594, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2596, + "id": 2595, "name": "error", "variant": "param", "kind": 32768, @@ -56428,7 +56409,7 @@ } }, { - "id": 2374, + "id": 2373, "name": "Events", "variant": "declaration", "kind": 1024, @@ -56439,14 +56420,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2375, + "id": 2374, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2376, + "id": 2375, "name": "GIFT_CARD_CREATED", "variant": "declaration", "kind": 1024, @@ -56458,7 +56439,7 @@ "defaultValue": "\"order.gift_card_created\"" }, { - "id": 2377, + "id": 2376, "name": "PAYMENT_CAPTURED", "variant": "declaration", "kind": 1024, @@ -56470,7 +56451,7 @@ "defaultValue": "\"order.payment_captured\"" }, { - "id": 2378, + "id": 2377, "name": "PAYMENT_CAPTURE_FAILED", "variant": "declaration", "kind": 1024, @@ -56482,7 +56463,7 @@ "defaultValue": "\"order.payment_capture_failed\"" }, { - "id": 2379, + "id": 2378, "name": "SHIPMENT_CREATED", "variant": "declaration", "kind": 1024, @@ -56494,7 +56475,7 @@ "defaultValue": "\"order.shipment_created\"" }, { - "id": 2380, + "id": 2379, "name": "FULFILLMENT_CREATED", "variant": "declaration", "kind": 1024, @@ -56506,7 +56487,7 @@ "defaultValue": "\"order.fulfillment_created\"" }, { - "id": 2381, + "id": 2380, "name": "FULFILLMENT_CANCELED", "variant": "declaration", "kind": 1024, @@ -56518,7 +56499,7 @@ "defaultValue": "\"order.fulfillment_canceled\"" }, { - "id": 2382, + "id": 2381, "name": "RETURN_REQUESTED", "variant": "declaration", "kind": 1024, @@ -56530,7 +56511,7 @@ "defaultValue": "\"order.return_requested\"" }, { - "id": 2383, + "id": 2382, "name": "ITEMS_RETURNED", "variant": "declaration", "kind": 1024, @@ -56542,7 +56523,7 @@ "defaultValue": "\"order.items_returned\"" }, { - "id": 2384, + "id": 2383, "name": "RETURN_ACTION_REQUIRED", "variant": "declaration", "kind": 1024, @@ -56554,7 +56535,7 @@ "defaultValue": "\"order.return_action_required\"" }, { - "id": 2385, + "id": 2384, "name": "REFUND_CREATED", "variant": "declaration", "kind": 1024, @@ -56566,7 +56547,7 @@ "defaultValue": "\"order.refund_created\"" }, { - "id": 2386, + "id": 2385, "name": "REFUND_FAILED", "variant": "declaration", "kind": 1024, @@ -56578,7 +56559,7 @@ "defaultValue": "\"order.refund_failed\"" }, { - "id": 2387, + "id": 2386, "name": "SWAP_CREATED", "variant": "declaration", "kind": 1024, @@ -56590,7 +56571,7 @@ "defaultValue": "\"order.swap_created\"" }, { - "id": 2388, + "id": 2387, "name": "PLACED", "variant": "declaration", "kind": 1024, @@ -56602,7 +56583,7 @@ "defaultValue": "\"order.placed\"" }, { - "id": 2389, + "id": 2388, "name": "UPDATED", "variant": "declaration", "kind": 1024, @@ -56614,7 +56595,7 @@ "defaultValue": "\"order.updated\"" }, { - "id": 2390, + "id": 2389, "name": "CANCELED", "variant": "declaration", "kind": 1024, @@ -56626,7 +56607,7 @@ "defaultValue": "\"order.canceled\"" }, { - "id": 2391, + "id": 2390, "name": "COMPLETED", "variant": "declaration", "kind": 1024, @@ -56642,6 +56623,7 @@ { "title": "Properties", "children": [ + 2375, 2376, 2377, 2378, @@ -56656,8 +56638,7 @@ 2387, 2388, 2389, - 2390, - 2391 + 2390 ] } ] @@ -56666,7 +56647,7 @@ "defaultValue": "..." }, { - "id": 2395, + "id": 2394, "name": "orderRepository_", "variant": "declaration", "kind": 1024, @@ -56700,28 +56681,28 @@ { "type": "reflection", "declaration": { - "id": 2396, + "id": 2395, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2397, + "id": 2396, "name": "findWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2398, + "id": 2397, "name": "findWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2399, + "id": 2398, "name": "relations", "variant": "param", "kind": 32768, @@ -56749,7 +56730,7 @@ "defaultValue": "{}" }, { - "id": 2400, + "id": 2399, "name": "optionsWithoutRelations", "variant": "param", "kind": 32768, @@ -56819,21 +56800,21 @@ ] }, { - "id": 2401, + "id": 2400, "name": "findOneWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2402, + "id": 2401, "name": "findOneWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2403, + "id": 2402, "name": "relations", "variant": "param", "kind": 32768, @@ -56861,7 +56842,7 @@ "defaultValue": "{}" }, { - "id": 2404, + "id": 2403, "name": "optionsWithoutRelations", "variant": "param", "kind": 32768, @@ -56932,8 +56913,8 @@ { "title": "Methods", "children": [ - 2397, - 2401 + 2396, + 2400 ] } ] @@ -56943,7 +56924,7 @@ } }, { - "id": 2405, + "id": 2404, "name": "customerService_", "variant": "declaration", "kind": 1024, @@ -56953,13 +56934,13 @@ }, "type": { "type": "reference", - "target": 747, + "target": 746, "name": "CustomerService", "package": "@medusajs/medusa" } }, { - "id": 2406, + "id": 2405, "name": "paymentProviderService_", "variant": "declaration", "kind": 1024, @@ -56969,13 +56950,13 @@ }, "type": { "type": "reference", - "target": 2962, + "target": 2961, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 2407, + "id": 2406, "name": "shippingOptionService_", "variant": "declaration", "kind": 1024, @@ -56985,13 +56966,13 @@ }, "type": { "type": "reference", - "target": 5157, + "target": 5146, "name": "ShippingOptionService", "package": "@medusajs/medusa" } }, { - "id": 2408, + "id": 2407, "name": "shippingProfileService_", "variant": "declaration", "kind": 1024, @@ -57001,13 +56982,13 @@ }, "type": { "type": "reference", - "target": 5273, + "target": 5262, "name": "ShippingProfileService", "package": "@medusajs/medusa" } }, { - "id": 2409, + "id": 2408, "name": "discountService_", "variant": "declaration", "kind": 1024, @@ -57017,13 +56998,13 @@ }, "type": { "type": "reference", - "target": 968, + "target": 967, "name": "DiscountService", "package": "@medusajs/medusa" } }, { - "id": 2410, + "id": 2409, "name": "fulfillmentProviderService_", "variant": "declaration", "kind": 1024, @@ -57033,13 +57014,13 @@ }, "type": { "type": "reference", - "target": 1524, + "target": 1523, "name": "FulfillmentProviderService", "package": "@medusajs/medusa" } }, { - "id": 2411, + "id": 2410, "name": "fulfillmentService_", "variant": "declaration", "kind": 1024, @@ -57049,13 +57030,13 @@ }, "type": { "type": "reference", - "target": 1444, + "target": 1443, "name": "FulfillmentService", "package": "@medusajs/medusa" } }, { - "id": 2412, + "id": 2411, "name": "lineItemService_", "variant": "declaration", "kind": 1024, @@ -57065,13 +57046,13 @@ }, "type": { "type": "reference", - "target": 1753, + "target": 1752, "name": "LineItemService", "package": "@medusajs/medusa" } }, { - "id": 2413, + "id": 2412, "name": "totalsService_", "variant": "declaration", "kind": 1024, @@ -57081,13 +57062,13 @@ }, "type": { "type": "reference", - "target": 6079, + "target": 6068, "name": "TotalsService", "package": "@medusajs/medusa" } }, { - "id": 2414, + "id": 2413, "name": "newTotalsService_", "variant": "declaration", "kind": 1024, @@ -57097,13 +57078,13 @@ }, "type": { "type": "reference", - "target": 1998, + "target": 1997, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 2415, + "id": 2414, "name": "taxProviderService_", "variant": "declaration", "kind": 1024, @@ -57113,13 +57094,13 @@ }, "type": { "type": "reference", - "target": 5812, + "target": 5801, "name": "TaxProviderService", "package": "@medusajs/medusa" } }, { - "id": 2416, + "id": 2415, "name": "regionService_", "variant": "declaration", "kind": 1024, @@ -57129,13 +57110,13 @@ }, "type": { "type": "reference", - "target": 4612, + "target": 4601, "name": "RegionService", "package": "@medusajs/medusa" } }, { - "id": 2417, + "id": 2416, "name": "cartService_", "variant": "declaration", "kind": 1024, @@ -57151,7 +57132,7 @@ } }, { - "id": 2418, + "id": 2417, "name": "addressRepository_", "variant": "declaration", "kind": 1024, @@ -57181,7 +57162,7 @@ } }, { - "id": 2419, + "id": 2418, "name": "giftCardService_", "variant": "declaration", "kind": 1024, @@ -57191,13 +57172,13 @@ }, "type": { "type": "reference", - "target": 1605, + "target": 1604, "name": "GiftCardService", "package": "@medusajs/medusa" } }, { - "id": 2420, + "id": 2419, "name": "draftOrderService_", "variant": "declaration", "kind": 1024, @@ -57207,13 +57188,13 @@ }, "type": { "type": "reference", - "target": 1280, + "target": 1279, "name": "DraftOrderService", "package": "@medusajs/medusa" } }, { - "id": 2421, + "id": 2420, "name": "inventoryService_", "variant": "declaration", "kind": 1024, @@ -57232,7 +57213,7 @@ } }, { - "id": 2422, + "id": 2421, "name": "eventBus_", "variant": "declaration", "kind": 1024, @@ -57242,13 +57223,13 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 2423, + "id": 2422, "name": "featureFlagRouter_", "variant": "declaration", "kind": 1024, @@ -57259,7 +57240,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/feature-flags/utils/flag-router.d.ts", + "sourceFileName": "../../../packages/utils/src/feature-flags/utils/flag-router.ts", "qualifiedName": "FlagRouter" }, "name": "FlagRouter", @@ -57267,7 +57248,7 @@ } }, { - "id": 2424, + "id": 2423, "name": "remoteLink_", "variant": "declaration", "kind": 1024, @@ -57285,7 +57266,7 @@ } }, { - "id": 2425, + "id": 2424, "name": "productVariantInventoryService_", "variant": "declaration", "kind": 1024, @@ -57295,27 +57276,27 @@ }, "type": { "type": "reference", - "target": 4486, + "target": 4475, "name": "ProductVariantInventoryService", "package": "@medusajs/medusa" } }, { - "id": 2392, + "id": 2391, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2393, + "id": 2392, "name": "new OrderService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 2394, + "id": 2393, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -57333,7 +57314,7 @@ ], "type": { "type": "reference", - "target": 2373, + "target": 2372, "name": "OrderService", "package": "@medusajs/medusa" }, @@ -57351,14 +57332,14 @@ } }, { - "id": 2426, + "id": 2425, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2427, + "id": 2426, "name": "list", "variant": "signature", "kind": 4096, @@ -57379,7 +57360,7 @@ }, "parameters": [ { - "id": 2428, + "id": 2427, "name": "selector", "variant": "param", "kind": 32768, @@ -57414,7 +57395,7 @@ } }, { - "id": 2429, + "id": 2428, "name": "config", "variant": "param", "kind": 32768, @@ -57477,14 +57458,14 @@ ] }, { - "id": 2430, + "id": 2429, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2431, + "id": 2430, "name": "listAndCount", "variant": "signature", "kind": 4096, @@ -57505,7 +57486,7 @@ }, "parameters": [ { - "id": 2432, + "id": 2431, "name": "selector", "variant": "param", "kind": 32768, @@ -57540,7 +57521,7 @@ } }, { - "id": 2433, + "id": 2432, "name": "config", "variant": "param", "kind": 32768, @@ -57612,7 +57593,7 @@ ] }, { - "id": 2434, + "id": 2433, "name": "transformQueryForTotals", "variant": "declaration", "kind": 2048, @@ -57621,14 +57602,14 @@ }, "signatures": [ { - "id": 2435, + "id": 2434, "name": "transformQueryForTotals", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2436, + "id": 2435, "name": "config", "variant": "param", "kind": 32768, @@ -57658,14 +57639,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2437, + "id": 2436, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2438, + "id": 2437, "name": "relations", "variant": "declaration", "kind": 1024, @@ -57688,7 +57669,7 @@ } }, { - "id": 2439, + "id": 2438, "name": "select", "variant": "declaration", "kind": 1024, @@ -57720,7 +57701,7 @@ } }, { - "id": 2440, + "id": 2439, "name": "totalsToSelect", "variant": "declaration", "kind": 1024, @@ -57756,9 +57737,9 @@ { "title": "Properties", "children": [ + 2437, 2438, - 2439, - 2440 + 2439 ] } ] @@ -57768,14 +57749,14 @@ ] }, { - "id": 2441, + "id": 2440, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2442, + "id": 2441, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -57801,7 +57782,7 @@ }, "parameters": [ { - "id": 2443, + "id": 2442, "name": "orderId", "variant": "param", "kind": 32768, @@ -57820,7 +57801,7 @@ } }, { - "id": 2444, + "id": 2443, "name": "config", "variant": "param", "kind": 32768, @@ -57880,7 +57861,7 @@ ] }, { - "id": 2445, + "id": 2444, "name": "retrieveLegacy", "variant": "declaration", "kind": 2048, @@ -57889,14 +57870,14 @@ }, "signatures": [ { - "id": 2446, + "id": 2445, "name": "retrieveLegacy", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2447, + "id": 2446, "name": "orderIdOrSelector", "variant": "param", "kind": 32768, @@ -57932,7 +57913,7 @@ } }, { - "id": 2448, + "id": 2447, "name": "config", "variant": "param", "kind": 32768, @@ -57984,21 +57965,21 @@ ] }, { - "id": 2449, + "id": 2448, "name": "retrieveWithTotals", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2450, + "id": 2449, "name": "retrieveWithTotals", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2451, + "id": 2450, "name": "orderId", "variant": "param", "kind": 32768, @@ -58009,7 +57990,7 @@ } }, { - "id": 2452, + "id": 2451, "name": "options", "variant": "param", "kind": 32768, @@ -58037,7 +58018,7 @@ "defaultValue": "{}" }, { - "id": 2453, + "id": 2452, "name": "context", "variant": "param", "kind": 32768, @@ -58078,14 +58059,14 @@ ] }, { - "id": 2454, + "id": 2453, "name": "retrieveByCartId", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2455, + "id": 2454, "name": "retrieveByCartId", "variant": "signature", "kind": 4096, @@ -58111,7 +58092,7 @@ }, "parameters": [ { - "id": 2456, + "id": 2455, "name": "cartId", "variant": "param", "kind": 32768, @@ -58130,7 +58111,7 @@ } }, { - "id": 2457, + "id": 2456, "name": "config", "variant": "param", "kind": 32768, @@ -58190,21 +58171,21 @@ ] }, { - "id": 2458, + "id": 2457, "name": "retrieveByCartIdWithTotals", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2459, + "id": 2458, "name": "retrieveByCartIdWithTotals", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2460, + "id": 2459, "name": "cartId", "variant": "param", "kind": 32768, @@ -58215,7 +58196,7 @@ } }, { - "id": 2461, + "id": 2460, "name": "options", "variant": "param", "kind": 32768, @@ -58267,14 +58248,14 @@ ] }, { - "id": 2462, + "id": 2461, "name": "retrieveByExternalId", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2463, + "id": 2462, "name": "retrieveByExternalId", "variant": "signature", "kind": 4096, @@ -58300,7 +58281,7 @@ }, "parameters": [ { - "id": 2464, + "id": 2463, "name": "externalId", "variant": "param", "kind": 32768, @@ -58319,7 +58300,7 @@ } }, { - "id": 2465, + "id": 2464, "name": "config", "variant": "param", "kind": 32768, @@ -58379,14 +58360,14 @@ ] }, { - "id": 2466, + "id": 2465, "name": "completeOrder", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2467, + "id": 2466, "name": "completeOrder", "variant": "signature", "kind": 4096, @@ -58407,7 +58388,7 @@ }, "parameters": [ { - "id": 2468, + "id": 2467, "name": "orderId", "variant": "param", "kind": 32768, @@ -58450,14 +58431,14 @@ ] }, { - "id": 2469, + "id": 2468, "name": "createFromCart", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2470, + "id": 2469, "name": "createFromCart", "variant": "signature", "kind": 4096, @@ -58483,7 +58464,7 @@ }, "parameters": [ { - "id": 2471, + "id": 2470, "name": "cartOrId", "variant": "param", "kind": 32768, @@ -58532,7 +58513,7 @@ ] }, { - "id": 2472, + "id": 2471, "name": "createGiftCardsFromLineItem_", "variant": "declaration", "kind": 2048, @@ -58541,14 +58522,14 @@ }, "signatures": [ { - "id": 2473, + "id": 2472, "name": "createGiftCardsFromLineItem_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2474, + "id": 2473, "name": "order", "variant": "param", "kind": 32768, @@ -58564,7 +58545,7 @@ } }, { - "id": 2475, + "id": 2474, "name": "lineItem", "variant": "param", "kind": 32768, @@ -58580,7 +58561,7 @@ } }, { - "id": 2476, + "id": 2475, "name": "manager", "variant": "param", "kind": 32768, @@ -58623,14 +58604,14 @@ ] }, { - "id": 2477, + "id": 2476, "name": "createShipment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2478, + "id": 2477, "name": "createShipment", "variant": "signature", "kind": 4096, @@ -58656,7 +58637,7 @@ }, "parameters": [ { - "id": 2479, + "id": 2478, "name": "orderId", "variant": "param", "kind": 32768, @@ -58675,7 +58656,7 @@ } }, { - "id": 2480, + "id": 2479, "name": "fulfillmentId", "variant": "param", "kind": 32768, @@ -58694,7 +58675,7 @@ } }, { - "id": 2481, + "id": 2480, "name": "trackingLinks", "variant": "param", "kind": 32768, @@ -58723,7 +58704,7 @@ } }, { - "id": 2482, + "id": 2481, "name": "config", "variant": "param", "kind": 32768, @@ -58739,14 +58720,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2483, + "id": 2482, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2484, + "id": 2483, "name": "no_notification", "variant": "declaration", "kind": 1024, @@ -58759,7 +58740,7 @@ } }, { - "id": 2485, + "id": 2484, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -58789,8 +58770,8 @@ { "title": "Properties", "children": [ - 2484, - 2485 + 2483, + 2484 ] } ] @@ -58823,7 +58804,7 @@ ] }, { - "id": 2486, + "id": 2485, "name": "updateBillingAddress", "variant": "declaration", "kind": 2048, @@ -58832,7 +58813,7 @@ }, "signatures": [ { - "id": 2487, + "id": 2486, "name": "updateBillingAddress", "variant": "signature", "kind": 4096, @@ -58858,7 +58839,7 @@ }, "parameters": [ { - "id": 2488, + "id": 2487, "name": "order", "variant": "param", "kind": 32768, @@ -58882,7 +58863,7 @@ } }, { - "id": 2489, + "id": 2488, "name": "address", "variant": "param", "kind": 32768, @@ -58925,7 +58906,7 @@ ] }, { - "id": 2490, + "id": 2489, "name": "updateShippingAddress", "variant": "declaration", "kind": 2048, @@ -58934,7 +58915,7 @@ }, "signatures": [ { - "id": 2491, + "id": 2490, "name": "updateShippingAddress", "variant": "signature", "kind": 4096, @@ -58960,7 +58941,7 @@ }, "parameters": [ { - "id": 2492, + "id": 2491, "name": "order", "variant": "param", "kind": 32768, @@ -58984,7 +58965,7 @@ } }, { - "id": 2493, + "id": 2492, "name": "address", "variant": "param", "kind": 32768, @@ -59027,21 +59008,21 @@ ] }, { - "id": 2494, + "id": 2493, "name": "addShippingMethod", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2495, + "id": 2494, "name": "addShippingMethod", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2496, + "id": 2495, "name": "orderId", "variant": "param", "kind": 32768, @@ -59052,7 +59033,7 @@ } }, { - "id": 2497, + "id": 2496, "name": "optionId", "variant": "param", "kind": 32768, @@ -59063,7 +59044,7 @@ } }, { - "id": 2498, + "id": 2497, "name": "data", "variant": "param", "kind": 32768, @@ -59091,7 +59072,7 @@ } }, { - "id": 2499, + "id": 2498, "name": "config", "variant": "param", "kind": 32768, @@ -59132,14 +59113,14 @@ ] }, { - "id": 2500, + "id": 2499, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2501, + "id": 2500, "name": "update", "variant": "signature", "kind": 4096, @@ -59173,7 +59154,7 @@ }, "parameters": [ { - "id": 2502, + "id": 2501, "name": "orderId", "variant": "param", "kind": 32768, @@ -59192,7 +59173,7 @@ } }, { - "id": 2503, + "id": 2502, "name": "update", "variant": "param", "kind": 32768, @@ -59240,14 +59221,14 @@ ] }, { - "id": 2504, + "id": 2503, "name": "cancel", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2505, + "id": 2504, "name": "cancel", "variant": "signature", "kind": 4096, @@ -59273,7 +59254,7 @@ }, "parameters": [ { - "id": 2506, + "id": 2505, "name": "orderId", "variant": "param", "kind": 32768, @@ -59316,14 +59297,14 @@ ] }, { - "id": 2507, + "id": 2506, "name": "capturePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2508, + "id": 2507, "name": "capturePayment", "variant": "signature", "kind": 4096, @@ -59349,7 +59330,7 @@ }, "parameters": [ { - "id": 2509, + "id": 2508, "name": "orderId", "variant": "param", "kind": 32768, @@ -59392,7 +59373,7 @@ ] }, { - "id": 2510, + "id": 2509, "name": "validateFulfillmentLineItem", "variant": "declaration", "kind": 2048, @@ -59401,7 +59382,7 @@ }, "signatures": [ { - "id": 2511, + "id": 2510, "name": "validateFulfillmentLineItem", "variant": "signature", "kind": 4096, @@ -59427,7 +59408,7 @@ }, "parameters": [ { - "id": 2512, + "id": 2511, "name": "item", "variant": "param", "kind": 32768, @@ -59451,7 +59432,7 @@ } }, { - "id": 2513, + "id": 2512, "name": "quantity", "variant": "param", "kind": 32768, @@ -59492,14 +59473,14 @@ ] }, { - "id": 2514, + "id": 2513, "name": "createFulfillment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2515, + "id": 2514, "name": "createFulfillment", "variant": "signature", "kind": 4096, @@ -59525,7 +59506,7 @@ }, "parameters": [ { - "id": 2516, + "id": 2515, "name": "orderId", "variant": "param", "kind": 32768, @@ -59544,7 +59525,7 @@ } }, { - "id": 2517, + "id": 2516, "name": "itemsToFulfill", "variant": "param", "kind": 32768, @@ -59571,7 +59552,7 @@ } }, { - "id": 2518, + "id": 2517, "name": "config", "variant": "param", "kind": 32768, @@ -59587,14 +59568,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2519, + "id": 2518, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2520, + "id": 2519, "name": "no_notification", "variant": "declaration", "kind": 1024, @@ -59607,7 +59588,7 @@ } }, { - "id": 2521, + "id": 2520, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -59620,7 +59601,7 @@ } }, { - "id": 2522, + "id": 2521, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -59652,9 +59633,9 @@ { "title": "Properties", "children": [ + 2519, 2520, - 2521, - 2522 + 2521 ] } ] @@ -59687,14 +59668,14 @@ ] }, { - "id": 2523, + "id": 2522, "name": "cancelFulfillment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2524, + "id": 2523, "name": "cancelFulfillment", "variant": "signature", "kind": 4096, @@ -59720,7 +59701,7 @@ }, "parameters": [ { - "id": 2525, + "id": 2524, "name": "fulfillmentId", "variant": "param", "kind": 32768, @@ -59763,7 +59744,7 @@ ] }, { - "id": 2526, + "id": 2525, "name": "getFulfillmentItems", "variant": "declaration", "kind": 2048, @@ -59772,7 +59753,7 @@ }, "signatures": [ { - "id": 2527, + "id": 2526, "name": "getFulfillmentItems", "variant": "signature", "kind": 4096, @@ -59798,7 +59779,7 @@ }, "parameters": [ { - "id": 2528, + "id": 2527, "name": "order", "variant": "param", "kind": 32768, @@ -59822,7 +59803,7 @@ } }, { - "id": 2529, + "id": 2528, "name": "items", "variant": "param", "kind": 32768, @@ -59849,7 +59830,7 @@ } }, { - "id": 2530, + "id": 2529, "name": "transformer", "variant": "param", "kind": 32768, @@ -59865,21 +59846,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2531, + "id": 2530, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2532, + "id": 2531, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2533, + "id": 2532, "name": "item", "variant": "param", "kind": 32768, @@ -59904,7 +59885,7 @@ } }, { - "id": 2534, + "id": 2533, "name": "quantity", "variant": "param", "kind": 32768, @@ -59952,14 +59933,14 @@ ] }, { - "id": 2535, + "id": 2534, "name": "archive", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2536, + "id": 2535, "name": "archive", "variant": "signature", "kind": 4096, @@ -59985,7 +59966,7 @@ }, "parameters": [ { - "id": 2537, + "id": 2536, "name": "orderId", "variant": "param", "kind": 32768, @@ -60028,14 +60009,14 @@ ] }, { - "id": 2538, + "id": 2537, "name": "createRefund", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2539, + "id": 2538, "name": "createRefund", "variant": "signature", "kind": 4096, @@ -60061,7 +60042,7 @@ }, "parameters": [ { - "id": 2540, + "id": 2539, "name": "orderId", "variant": "param", "kind": 32768, @@ -60080,7 +60061,7 @@ } }, { - "id": 2541, + "id": 2540, "name": "refundAmount", "variant": "param", "kind": 32768, @@ -60099,7 +60080,7 @@ } }, { - "id": 2542, + "id": 2541, "name": "reason", "variant": "param", "kind": 32768, @@ -60118,7 +60099,7 @@ } }, { - "id": 2543, + "id": 2542, "name": "note", "variant": "param", "kind": 32768, @@ -60139,7 +60120,7 @@ } }, { - "id": 2544, + "id": 2543, "name": "config", "variant": "param", "kind": 32768, @@ -60155,14 +60136,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2545, + "id": 2544, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2546, + "id": 2545, "name": "no_notification", "variant": "declaration", "kind": 1024, @@ -60179,7 +60160,7 @@ { "title": "Properties", "children": [ - 2546 + 2545 ] } ] @@ -60212,7 +60193,7 @@ ] }, { - "id": 2547, + "id": 2546, "name": "decorateTotalsLegacy", "variant": "declaration", "kind": 2048, @@ -60221,14 +60202,14 @@ }, "signatures": [ { - "id": 2548, + "id": 2547, "name": "decorateTotalsLegacy", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2549, + "id": 2548, "name": "order", "variant": "param", "kind": 32768, @@ -60244,7 +60225,7 @@ } }, { - "id": 2550, + "id": 2549, "name": "totalsFields", "variant": "param", "kind": 32768, @@ -60283,14 +60264,14 @@ ] }, { - "id": 2551, + "id": 2550, "name": "decorateTotals", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2552, + "id": 2551, "name": "decorateTotals", "variant": "signature", "kind": 4096, @@ -60305,7 +60286,7 @@ }, "parameters": [ { - "id": 2553, + "id": 2552, "name": "order", "variant": "param", "kind": 32768, @@ -60321,7 +60302,7 @@ } }, { - "id": 2554, + "id": 2553, "name": "totalsFields", "variant": "param", "kind": 32768, @@ -60359,7 +60340,7 @@ } }, { - "id": 2555, + "id": 2554, "name": "decorateTotals", "variant": "signature", "kind": 4096, @@ -60374,7 +60355,7 @@ }, "parameters": [ { - "id": 2556, + "id": 2555, "name": "order", "variant": "param", "kind": 32768, @@ -60390,7 +60371,7 @@ } }, { - "id": 2557, + "id": 2556, "name": "context", "variant": "param", "kind": 32768, @@ -60432,14 +60413,14 @@ ] }, { - "id": 2558, + "id": 2557, "name": "registerReturnReceived", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2559, + "id": 2558, "name": "registerReturnReceived", "variant": "signature", "kind": 4096, @@ -60465,7 +60446,7 @@ }, "parameters": [ { - "id": 2560, + "id": 2559, "name": "orderId", "variant": "param", "kind": 32768, @@ -60484,7 +60465,7 @@ } }, { - "id": 2561, + "id": 2560, "name": "receivedReturn", "variant": "param", "kind": 32768, @@ -60508,7 +60489,7 @@ } }, { - "id": 2562, + "id": 2561, "name": "customRefundAmount", "variant": "param", "kind": 32768, @@ -60553,7 +60534,7 @@ ] }, { - "id": 2563, + "id": 2562, "name": "getTotalsRelations", "variant": "declaration", "kind": 2048, @@ -60562,14 +60543,14 @@ }, "signatures": [ { - "id": 2564, + "id": 2563, "name": "getTotalsRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2565, + "id": 2564, "name": "config", "variant": "param", "kind": 32768, @@ -60611,19 +60592,20 @@ { "title": "Constructors", "children": [ - 2392 + 2391 ] }, { "title": "Properties", "children": [ + 2565, 2566, - 2567, + 2569, 2570, 2571, - 2572, - 2374, - 2395, + 2373, + 2394, + 2404, 2405, 2406, 2407, @@ -60643,51 +60625,50 @@ 2421, 2422, 2423, - 2424, - 2425 + 2424 ] }, { "title": "Accessors", "children": [ - 2568 + 2567 ] }, { "title": "Methods", "children": [ - 2573, - 2576, - 2581, - 2426, - 2430, - 2434, - 2441, - 2445, - 2449, - 2454, - 2458, - 2462, - 2466, - 2469, - 2472, - 2477, - 2486, - 2490, - 2494, - 2500, - 2504, - 2507, - 2510, - 2514, - 2523, - 2526, - 2535, - 2538, - 2547, - 2551, - 2558, - 2563 + 2572, + 2575, + 2580, + 2425, + 2429, + 2433, + 2440, + 2444, + 2448, + 2453, + 2457, + 2461, + 2465, + 2468, + 2471, + 2476, + 2485, + 2489, + 2493, + 2499, + 2503, + 2506, + 2509, + 2513, + 2522, + 2525, + 2534, + 2537, + 2546, + 2550, + 2557, + 2562 ] } ], @@ -60704,14 +60685,14 @@ ] }, { - "id": 2867, + "id": 2866, "name": "PaymentCollectionService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2931, + "id": 2930, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -60734,7 +60715,7 @@ } }, { - "id": 2932, + "id": 2931, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -60766,7 +60747,7 @@ } }, { - "id": 2933, + "id": 2932, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -60774,7 +60755,7 @@ "isProtected": true }, "getSignature": { - "id": 2934, + "id": 2933, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -60801,7 +60782,7 @@ } }, { - "id": 2935, + "id": 2934, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -60820,7 +60801,7 @@ } }, { - "id": 2936, + "id": 2935, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -60855,7 +60836,7 @@ } }, { - "id": 2937, + "id": 2936, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -60890,21 +60871,21 @@ } }, { - "id": 2938, + "id": 2937, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2939, + "id": 2938, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2940, + "id": 2939, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -60940,7 +60921,7 @@ } }, { - "id": 2941, + "id": 2940, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -60949,14 +60930,14 @@ }, "signatures": [ { - "id": 2942, + "id": 2941, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2943, + "id": 2942, "name": "err", "variant": "param", "kind": 32768, @@ -60986,14 +60967,14 @@ { "type": "reflection", "declaration": { - "id": 2944, + "id": 2943, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2945, + "id": 2944, "name": "code", "variant": "declaration", "kind": 1024, @@ -61008,7 +60989,7 @@ { "title": "Properties", "children": [ - 2945 + 2944 ] } ] @@ -61036,7 +61017,7 @@ } }, { - "id": 2946, + "id": 2945, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -61045,7 +61026,7 @@ }, "signatures": [ { - "id": 2947, + "id": 2946, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -61071,14 +61052,14 @@ }, "typeParameter": [ { - "id": 2948, + "id": 2947, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 2949, + "id": 2948, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -61087,7 +61068,7 @@ ], "parameters": [ { - "id": 2950, + "id": 2949, "name": "work", "variant": "param", "kind": 32768, @@ -61103,21 +61084,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2951, + "id": 2950, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2952, + "id": 2951, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2953, + "id": 2952, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -61157,7 +61138,7 @@ } }, { - "id": 2954, + "id": 2953, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -61187,21 +61168,21 @@ { "type": "reflection", "declaration": { - "id": 2955, + "id": 2954, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2956, + "id": 2955, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2957, + "id": 2956, "name": "error", "variant": "param", "kind": 32768, @@ -61250,7 +61231,7 @@ } }, { - "id": 2958, + "id": 2957, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -61268,21 +61249,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2959, + "id": 2958, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2960, + "id": 2959, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2961, + "id": 2960, "name": "error", "variant": "param", "kind": 32768, @@ -61361,7 +61342,7 @@ } }, { - "id": 2868, + "id": 2867, "name": "Events", "variant": "declaration", "kind": 1024, @@ -61372,14 +61353,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2869, + "id": 2868, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2870, + "id": 2869, "name": "CREATED", "variant": "declaration", "kind": 1024, @@ -61391,7 +61372,7 @@ "defaultValue": "\"payment-collection.created\"" }, { - "id": 2871, + "id": 2870, "name": "UPDATED", "variant": "declaration", "kind": 1024, @@ -61403,7 +61384,7 @@ "defaultValue": "\"payment-collection.updated\"" }, { - "id": 2872, + "id": 2871, "name": "DELETED", "variant": "declaration", "kind": 1024, @@ -61415,7 +61396,7 @@ "defaultValue": "\"payment-collection.deleted\"" }, { - "id": 2873, + "id": 2872, "name": "PAYMENT_AUTHORIZED", "variant": "declaration", "kind": 1024, @@ -61431,10 +61412,10 @@ { "title": "Properties", "children": [ + 2869, 2870, 2871, - 2872, - 2873 + 2872 ] } ] @@ -61443,7 +61424,7 @@ "defaultValue": "..." }, { - "id": 2877, + "id": 2876, "name": "eventBusService_", "variant": "declaration", "kind": 1024, @@ -61453,13 +61434,13 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 2878, + "id": 2877, "name": "paymentProviderService_", "variant": "declaration", "kind": 1024, @@ -61469,13 +61450,13 @@ }, "type": { "type": "reference", - "target": 2962, + "target": 2961, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 2879, + "id": 2878, "name": "customerService_", "variant": "declaration", "kind": 1024, @@ -61485,13 +61466,13 @@ }, "type": { "type": "reference", - "target": 747, + "target": 746, "name": "CustomerService", "package": "@medusajs/medusa" } }, { - "id": 2880, + "id": 2879, "name": "paymentCollectionRepository_", "variant": "declaration", "kind": 1024, @@ -61525,28 +61506,28 @@ { "type": "reflection", "declaration": { - "id": 2881, + "id": 2880, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2882, + "id": 2881, "name": "getPaymentCollectionIdBySessionId", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2883, + "id": 2882, "name": "getPaymentCollectionIdBySessionId", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2884, + "id": 2883, "name": "sessionId", "variant": "param", "kind": 32768, @@ -61557,7 +61538,7 @@ } }, { - "id": 2885, + "id": 2884, "name": "config", "variant": "param", "kind": 32768, @@ -61609,21 +61590,21 @@ ] }, { - "id": 2886, + "id": 2885, "name": "getPaymentCollectionIdByPaymentId", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2887, + "id": 2886, "name": "getPaymentCollectionIdByPaymentId", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2888, + "id": 2887, "name": "paymentId", "variant": "param", "kind": 32768, @@ -61634,7 +61615,7 @@ } }, { - "id": 2889, + "id": 2888, "name": "config", "variant": "param", "kind": 32768, @@ -61690,8 +61671,8 @@ { "title": "Methods", "children": [ - 2882, - 2886 + 2881, + 2885 ] } ] @@ -61701,21 +61682,21 @@ } }, { - "id": 2874, + "id": 2873, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2875, + "id": 2874, "name": "new PaymentCollectionService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 2876, + "id": 2875, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -61733,7 +61714,7 @@ ], "type": { "type": "reference", - "target": 2867, + "target": 2866, "name": "default", "package": "@medusajs/medusa" }, @@ -61751,14 +61732,14 @@ } }, { - "id": 2890, + "id": 2889, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2891, + "id": 2890, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -61784,7 +61765,7 @@ }, "parameters": [ { - "id": 2892, + "id": 2891, "name": "paymentCollectionId", "variant": "param", "kind": 32768, @@ -61803,7 +61784,7 @@ } }, { - "id": 2893, + "id": 2892, "name": "config", "variant": "param", "kind": 32768, @@ -61863,14 +61844,14 @@ ] }, { - "id": 2894, + "id": 2893, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2895, + "id": 2894, "name": "create", "variant": "signature", "kind": 4096, @@ -61896,7 +61877,7 @@ }, "parameters": [ { - "id": 2896, + "id": 2895, "name": "data", "variant": "param", "kind": 32768, @@ -61944,14 +61925,14 @@ ] }, { - "id": 2897, + "id": 2896, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2898, + "id": 2897, "name": "update", "variant": "signature", "kind": 4096, @@ -61977,7 +61958,7 @@ }, "parameters": [ { - "id": 2899, + "id": 2898, "name": "paymentCollectionId", "variant": "param", "kind": 32768, @@ -61996,7 +61977,7 @@ } }, { - "id": 2900, + "id": 2899, "name": "data", "variant": "param", "kind": 32768, @@ -62055,14 +62036,14 @@ ] }, { - "id": 2901, + "id": 2900, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2902, + "id": 2901, "name": "delete", "variant": "signature", "kind": 4096, @@ -62088,7 +62069,7 @@ }, "parameters": [ { - "id": 2903, + "id": 2902, "name": "paymentCollectionId", "variant": "param", "kind": 32768, @@ -62140,7 +62121,7 @@ ] }, { - "id": 2904, + "id": 2903, "name": "isValidTotalAmount", "variant": "declaration", "kind": 2048, @@ -62149,14 +62130,14 @@ }, "signatures": [ { - "id": 2905, + "id": 2904, "name": "isValidTotalAmount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2906, + "id": 2905, "name": "total", "variant": "param", "kind": 32768, @@ -62167,7 +62148,7 @@ } }, { - "id": 2907, + "id": 2906, "name": "sessionsInput", "variant": "param", "kind": 32768, @@ -62194,14 +62175,14 @@ ] }, { - "id": 2908, + "id": 2907, "name": "setPaymentSessionsBatch", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2909, + "id": 2908, "name": "setPaymentSessionsBatch", "variant": "signature", "kind": 4096, @@ -62227,7 +62208,7 @@ }, "parameters": [ { - "id": 2910, + "id": 2909, "name": "paymentCollectionOrId", "variant": "param", "kind": 32768, @@ -62260,7 +62241,7 @@ } }, { - "id": 2911, + "id": 2910, "name": "sessionsInput", "variant": "param", "kind": 32768, @@ -62287,7 +62268,7 @@ } }, { - "id": 2912, + "id": 2911, "name": "customerId", "variant": "param", "kind": 32768, @@ -62330,14 +62311,14 @@ ] }, { - "id": 2913, + "id": 2912, "name": "setPaymentSession", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2914, + "id": 2913, "name": "setPaymentSession", "variant": "signature", "kind": 4096, @@ -62363,7 +62344,7 @@ }, "parameters": [ { - "id": 2915, + "id": 2914, "name": "paymentCollectionId", "variant": "param", "kind": 32768, @@ -62382,7 +62363,7 @@ } }, { - "id": 2916, + "id": 2915, "name": "sessionInput", "variant": "param", "kind": 32768, @@ -62406,7 +62387,7 @@ } }, { - "id": 2917, + "id": 2916, "name": "customerId", "variant": "param", "kind": 32768, @@ -62449,14 +62430,14 @@ ] }, { - "id": 2918, + "id": 2917, "name": "refreshPaymentSession", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2919, + "id": 2918, "name": "refreshPaymentSession", "variant": "signature", "kind": 4096, @@ -62482,7 +62463,7 @@ }, "parameters": [ { - "id": 2920, + "id": 2919, "name": "paymentCollectionId", "variant": "param", "kind": 32768, @@ -62501,7 +62482,7 @@ } }, { - "id": 2921, + "id": 2920, "name": "sessionId", "variant": "param", "kind": 32768, @@ -62520,7 +62501,7 @@ } }, { - "id": 2922, + "id": 2921, "name": "customerId", "variant": "param", "kind": 32768, @@ -62563,14 +62544,14 @@ ] }, { - "id": 2923, + "id": 2922, "name": "markAsAuthorized", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2924, + "id": 2923, "name": "markAsAuthorized", "variant": "signature", "kind": 4096, @@ -62596,7 +62577,7 @@ }, "parameters": [ { - "id": 2925, + "id": 2924, "name": "paymentCollectionId", "variant": "param", "kind": 32768, @@ -62639,14 +62620,14 @@ ] }, { - "id": 2926, + "id": 2925, "name": "authorizePaymentSessions", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2927, + "id": 2926, "name": "authorizePaymentSessions", "variant": "signature", "kind": 4096, @@ -62672,7 +62653,7 @@ }, "parameters": [ { - "id": 2928, + "id": 2927, "name": "paymentCollectionId", "variant": "param", "kind": 32768, @@ -62691,7 +62672,7 @@ } }, { - "id": 2929, + "id": 2928, "name": "sessionIds", "variant": "param", "kind": 32768, @@ -62713,7 +62694,7 @@ } }, { - "id": 2930, + "id": 2929, "name": "context", "variant": "param", "kind": 32768, @@ -62776,46 +62757,46 @@ { "title": "Constructors", "children": [ - 2874 + 2873 ] }, { "title": "Properties", "children": [ + 2930, 2931, - 2932, + 2934, 2935, 2936, - 2937, - 2868, + 2867, + 2876, 2877, 2878, - 2879, - 2880 + 2879 ] }, { "title": "Accessors", "children": [ - 2933 + 2932 ] }, { "title": "Methods", "children": [ - 2938, - 2941, - 2946, - 2890, - 2894, - 2897, - 2901, - 2904, - 2908, - 2913, - 2918, - 2923, - 2926 + 2937, + 2940, + 2945, + 2889, + 2893, + 2896, + 2900, + 2903, + 2907, + 2912, + 2917, + 2922, + 2925 ] } ], @@ -62832,7 +62813,7 @@ ] }, { - "id": 2962, + "id": 2961, "name": "PaymentProviderService", "variant": "declaration", "kind": 128, @@ -62847,7 +62828,7 @@ }, "children": [ { - "id": 3095, + "id": 3094, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -62870,7 +62851,7 @@ } }, { - "id": 3096, + "id": 3095, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -62902,7 +62883,7 @@ } }, { - "id": 3097, + "id": 3096, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -62910,7 +62891,7 @@ "isProtected": true }, "getSignature": { - "id": 3098, + "id": 3097, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -62937,7 +62918,7 @@ } }, { - "id": 3099, + "id": 3098, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -62956,7 +62937,7 @@ } }, { - "id": 3100, + "id": 3099, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -62991,7 +62972,7 @@ } }, { - "id": 3101, + "id": 3100, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -63026,21 +63007,21 @@ } }, { - "id": 3102, + "id": 3101, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3103, + "id": 3102, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3104, + "id": 3103, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -63076,7 +63057,7 @@ } }, { - "id": 3105, + "id": 3104, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -63085,14 +63066,14 @@ }, "signatures": [ { - "id": 3106, + "id": 3105, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3107, + "id": 3106, "name": "err", "variant": "param", "kind": 32768, @@ -63122,14 +63103,14 @@ { "type": "reflection", "declaration": { - "id": 3108, + "id": 3107, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3109, + "id": 3108, "name": "code", "variant": "declaration", "kind": 1024, @@ -63144,7 +63125,7 @@ { "title": "Properties", "children": [ - 3109 + 3108 ] } ] @@ -63172,7 +63153,7 @@ } }, { - "id": 3110, + "id": 3109, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -63181,7 +63162,7 @@ }, "signatures": [ { - "id": 3111, + "id": 3110, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -63207,14 +63188,14 @@ }, "typeParameter": [ { - "id": 3112, + "id": 3111, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 3113, + "id": 3112, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -63223,7 +63204,7 @@ ], "parameters": [ { - "id": 3114, + "id": 3113, "name": "work", "variant": "param", "kind": 32768, @@ -63239,21 +63220,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3115, + "id": 3114, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3116, + "id": 3115, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3117, + "id": 3116, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -63293,7 +63274,7 @@ } }, { - "id": 3118, + "id": 3117, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -63323,21 +63304,21 @@ { "type": "reflection", "declaration": { - "id": 3119, + "id": 3118, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3120, + "id": 3119, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3121, + "id": 3120, "name": "error", "variant": "param", "kind": 32768, @@ -63386,7 +63367,7 @@ } }, { - "id": 3122, + "id": 3121, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -63404,21 +63385,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3123, + "id": 3122, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3124, + "id": 3123, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3125, + "id": 3124, "name": "error", "variant": "param", "kind": 32768, @@ -63497,7 +63478,7 @@ } }, { - "id": 2966, + "id": 2965, "name": "container_", "variant": "declaration", "kind": 1024, @@ -63516,7 +63497,7 @@ } }, { - "id": 2967, + "id": 2966, "name": "paymentSessionRepository_", "variant": "declaration", "kind": 1024, @@ -63546,7 +63527,7 @@ } }, { - "id": 2968, + "id": 2967, "name": "paymentProviderRepository_", "variant": "declaration", "kind": 1024, @@ -63576,7 +63557,7 @@ } }, { - "id": 2969, + "id": 2968, "name": "paymentRepository_", "variant": "declaration", "kind": 1024, @@ -63606,7 +63587,7 @@ } }, { - "id": 2970, + "id": 2969, "name": "paymentService_", "variant": "declaration", "kind": 262144, @@ -63614,21 +63595,21 @@ "isProtected": true }, "getSignature": { - "id": 2971, + "id": 2970, "name": "paymentService_", "variant": "signature", "kind": 524288, "flags": {}, "type": { "type": "reference", - "target": 2798, + "target": 2797, "name": "default", "package": "@medusajs/medusa" } } }, { - "id": 2972, + "id": 2971, "name": "refundRepository_", "variant": "declaration", "kind": 1024, @@ -63658,7 +63639,7 @@ } }, { - "id": 2973, + "id": 2972, "name": "customerService_", "variant": "declaration", "kind": 1024, @@ -63668,13 +63649,13 @@ }, "type": { "type": "reference", - "target": 747, + "target": 746, "name": "CustomerService", "package": "@medusajs/medusa" } }, { - "id": 2974, + "id": 2973, "name": "logger_", "variant": "declaration", "kind": 1024, @@ -63693,7 +63674,7 @@ } }, { - "id": 2975, + "id": 2974, "name": "featureFlagRouter_", "variant": "declaration", "kind": 1024, @@ -63704,7 +63685,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/feature-flags/utils/flag-router.d.ts", + "sourceFileName": "../../../packages/utils/src/feature-flags/utils/flag-router.ts", "qualifiedName": "FlagRouter" }, "name": "FlagRouter", @@ -63712,21 +63693,21 @@ } }, { - "id": 2963, + "id": 2962, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2964, + "id": 2963, "name": "new PaymentProviderService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 2965, + "id": 2964, "name": "container", "variant": "param", "kind": 32768, @@ -63744,7 +63725,7 @@ ], "type": { "type": "reference", - "target": 2962, + "target": 2961, "name": "default", "package": "@medusajs/medusa" }, @@ -63762,21 +63743,21 @@ } }, { - "id": 2976, + "id": 2975, "name": "registerInstalledProviders", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2977, + "id": 2976, "name": "registerInstalledProviders", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2978, + "id": 2977, "name": "providerIds", "variant": "param", "kind": 32768, @@ -63809,14 +63790,14 @@ ] }, { - "id": 2979, + "id": 2978, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2980, + "id": 2979, "name": "list", "variant": "signature", "kind": 4096, @@ -63848,14 +63829,14 @@ ] }, { - "id": 2981, + "id": 2980, "name": "retrievePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2982, + "id": 2981, "name": "retrievePayment", "variant": "signature", "kind": 4096, @@ -63870,7 +63851,7 @@ }, "parameters": [ { - "id": 2983, + "id": 2982, "name": "paymentId", "variant": "param", "kind": 32768, @@ -63881,7 +63862,7 @@ } }, { - "id": 2984, + "id": 2983, "name": "relations", "variant": "param", "kind": 32768, @@ -63920,14 +63901,14 @@ ] }, { - "id": 2985, + "id": 2984, "name": "listPayments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2986, + "id": 2985, "name": "listPayments", "variant": "signature", "kind": 4096, @@ -63942,7 +63923,7 @@ }, "parameters": [ { - "id": 2987, + "id": 2986, "name": "selector", "variant": "param", "kind": 32768, @@ -63969,7 +63950,7 @@ } }, { - "id": 2988, + "id": 2987, "name": "config", "variant": "param", "kind": 32768, @@ -64024,14 +64005,14 @@ ] }, { - "id": 2989, + "id": 2988, "name": "retrieveSession", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2990, + "id": 2989, "name": "retrieveSession", "variant": "signature", "kind": 4096, @@ -64046,7 +64027,7 @@ }, "parameters": [ { - "id": 2991, + "id": 2990, "name": "paymentSessionId", "variant": "param", "kind": 32768, @@ -64057,7 +64038,7 @@ } }, { - "id": 2992, + "id": 2991, "name": "relations", "variant": "param", "kind": 32768, @@ -64096,14 +64077,14 @@ ] }, { - "id": 2993, + "id": 2992, "name": "createSession", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2994, + "id": 2993, "name": "createSession", "variant": "signature", "kind": 4096, @@ -64119,7 +64100,7 @@ }, "parameters": [ { - "id": 2995, + "id": 2994, "name": "providerId", "variant": "param", "kind": 32768, @@ -64130,7 +64111,7 @@ } }, { - "id": 2996, + "id": 2995, "name": "cart", "variant": "param", "kind": 32768, @@ -64168,7 +64149,7 @@ } }, { - "id": 2997, + "id": 2996, "name": "createSession", "variant": "signature", "kind": 4096, @@ -64183,7 +64164,7 @@ }, "parameters": [ { - "id": 2998, + "id": 2997, "name": "sessionInput", "variant": "param", "kind": 32768, @@ -64223,14 +64204,14 @@ ] }, { - "id": 2999, + "id": 2998, "name": "refreshSession", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3000, + "id": 2999, "name": "refreshSession", "variant": "signature", "kind": 4096, @@ -64256,7 +64237,7 @@ }, "parameters": [ { - "id": 3001, + "id": 3000, "name": "paymentSession", "variant": "param", "kind": 32768, @@ -64272,14 +64253,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3002, + "id": 3001, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3003, + "id": 3002, "name": "id", "variant": "declaration", "kind": 1024, @@ -64290,7 +64271,7 @@ } }, { - "id": 3004, + "id": 3003, "name": "data", "variant": "declaration", "kind": 1024, @@ -64316,7 +64297,7 @@ } }, { - "id": 3005, + "id": 3004, "name": "provider_id", "variant": "declaration", "kind": 1024, @@ -64331,9 +64312,9 @@ { "title": "Properties", "children": [ + 3002, 3003, - 3004, - 3005 + 3004 ] } ] @@ -64341,7 +64322,7 @@ } }, { - "id": 3006, + "id": 3005, "name": "sessionInput", "variant": "param", "kind": 32768, @@ -64381,14 +64362,14 @@ ] }, { - "id": 3007, + "id": 3006, "name": "updateSession", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3008, + "id": 3007, "name": "updateSession", "variant": "signature", "kind": 4096, @@ -64414,7 +64395,7 @@ }, "parameters": [ { - "id": 3009, + "id": 3008, "name": "paymentSession", "variant": "param", "kind": 32768, @@ -64430,14 +64411,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3010, + "id": 3009, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3011, + "id": 3010, "name": "id", "variant": "declaration", "kind": 1024, @@ -64448,7 +64429,7 @@ } }, { - "id": 3012, + "id": 3011, "name": "data", "variant": "declaration", "kind": 1024, @@ -64474,7 +64455,7 @@ } }, { - "id": 3013, + "id": 3012, "name": "provider_id", "variant": "declaration", "kind": 1024, @@ -64489,9 +64470,9 @@ { "title": "Properties", "children": [ + 3010, 3011, - 3012, - 3013 + 3012 ] } ] @@ -64499,7 +64480,7 @@ } }, { - "id": 3014, + "id": 3013, "name": "sessionInput", "variant": "param", "kind": 32768, @@ -64553,21 +64534,21 @@ ] }, { - "id": 3015, + "id": 3014, "name": "deleteSession", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3016, + "id": 3015, "name": "deleteSession", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3017, + "id": 3016, "name": "paymentSession", "variant": "param", "kind": 32768, @@ -64616,14 +64597,14 @@ ] }, { - "id": 3018, + "id": 3017, "name": "retrieveProvider", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3019, + "id": 3018, "name": "retrieveProvider", "variant": "signature", "kind": 4096, @@ -64649,7 +64630,7 @@ }, "typeParameter": [ { - "id": 3020, + "id": 3019, "name": "TProvider", "variant": "typeParam", "kind": 131072, @@ -64662,7 +64643,7 @@ ], "parameters": [ { - "id": 3021, + "id": 3020, "name": "providerId", "variant": "param", "kind": 32768, @@ -64685,7 +64666,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 3020, + "target": 3019, "name": "TProvider", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -64712,7 +64693,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 3020, + "target": 3019, "name": "TProvider", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -64745,21 +64726,21 @@ ] }, { - "id": 3022, + "id": 3021, "name": "createPayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3023, + "id": 3022, "name": "createPayment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3024, + "id": 3023, "name": "data", "variant": "param", "kind": 32768, @@ -64799,21 +64780,21 @@ ] }, { - "id": 3025, + "id": 3024, "name": "updatePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3026, + "id": 3025, "name": "updatePayment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3027, + "id": 3026, "name": "paymentId", "variant": "param", "kind": 32768, @@ -64824,7 +64805,7 @@ } }, { - "id": 3028, + "id": 3027, "name": "data", "variant": "param", "kind": 32768, @@ -64832,14 +64813,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3029, + "id": 3028, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3030, + "id": 3029, "name": "order_id", "variant": "declaration", "kind": 1024, @@ -64852,7 +64833,7 @@ } }, { - "id": 3031, + "id": 3030, "name": "swap_id", "variant": "declaration", "kind": 1024, @@ -64869,8 +64850,8 @@ { "title": "Properties", "children": [ - 3030, - 3031 + 3029, + 3030 ] } ] @@ -64902,21 +64883,21 @@ ] }, { - "id": 3032, + "id": 3031, "name": "authorizePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3033, + "id": 3032, "name": "authorizePayment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3034, + "id": 3033, "name": "paymentSession", "variant": "param", "kind": 32768, @@ -64932,7 +64913,7 @@ } }, { - "id": 3035, + "id": 3034, "name": "context", "variant": "param", "kind": 32768, @@ -64991,21 +64972,21 @@ ] }, { - "id": 3036, + "id": 3035, "name": "updateSessionData", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3037, + "id": 3036, "name": "updateSessionData", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3038, + "id": 3037, "name": "paymentSession", "variant": "param", "kind": 32768, @@ -65021,7 +65002,7 @@ } }, { - "id": 3039, + "id": 3038, "name": "data", "variant": "param", "kind": 32768, @@ -65071,21 +65052,21 @@ ] }, { - "id": 3040, + "id": 3039, "name": "cancelPayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3041, + "id": 3040, "name": "cancelPayment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3042, + "id": 3041, "name": "paymentObj", "variant": "param", "kind": 32768, @@ -65116,14 +65097,14 @@ { "type": "reflection", "declaration": { - "id": 3043, + "id": 3042, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3044, + "id": 3043, "name": "id", "variant": "declaration", "kind": 1024, @@ -65138,7 +65119,7 @@ { "title": "Properties", "children": [ - 3044 + 3043 ] } ] @@ -65172,21 +65153,21 @@ ] }, { - "id": 3045, + "id": 3044, "name": "getStatus", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3046, + "id": 3045, "name": "getStatus", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3047, + "id": 3046, "name": "payment", "variant": "param", "kind": 32768, @@ -65226,21 +65207,21 @@ ] }, { - "id": 3048, + "id": 3047, "name": "capturePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3049, + "id": 3048, "name": "capturePayment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3050, + "id": 3049, "name": "paymentObj", "variant": "param", "kind": 32768, @@ -65271,14 +65252,14 @@ { "type": "reflection", "declaration": { - "id": 3051, + "id": 3050, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3052, + "id": 3051, "name": "id", "variant": "declaration", "kind": 1024, @@ -65293,7 +65274,7 @@ { "title": "Properties", "children": [ - 3052 + 3051 ] } ] @@ -65327,21 +65308,21 @@ ] }, { - "id": 3053, + "id": 3052, "name": "refundPayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3054, + "id": 3053, "name": "refundPayment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3055, + "id": 3054, "name": "payObjs", "variant": "param", "kind": 32768, @@ -65360,7 +65341,7 @@ } }, { - "id": 3056, + "id": 3055, "name": "amount", "variant": "param", "kind": 32768, @@ -65371,7 +65352,7 @@ } }, { - "id": 3057, + "id": 3056, "name": "reason", "variant": "param", "kind": 32768, @@ -65382,7 +65363,7 @@ } }, { - "id": 3058, + "id": 3057, "name": "note", "variant": "param", "kind": 32768, @@ -65419,21 +65400,21 @@ ] }, { - "id": 3059, + "id": 3058, "name": "refundFromPayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3060, + "id": 3059, "name": "refundFromPayment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3061, + "id": 3060, "name": "payment", "variant": "param", "kind": 32768, @@ -65449,7 +65430,7 @@ } }, { - "id": 3062, + "id": 3061, "name": "amount", "variant": "param", "kind": 32768, @@ -65460,7 +65441,7 @@ } }, { - "id": 3063, + "id": 3062, "name": "reason", "variant": "param", "kind": 32768, @@ -65471,7 +65452,7 @@ } }, { - "id": 3064, + "id": 3063, "name": "note", "variant": "param", "kind": 32768, @@ -65508,21 +65489,21 @@ ] }, { - "id": 3065, + "id": 3064, "name": "retrieveRefund", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3066, + "id": 3065, "name": "retrieveRefund", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3067, + "id": 3066, "name": "id", "variant": "param", "kind": 32768, @@ -65533,7 +65514,7 @@ } }, { - "id": 3068, + "id": 3067, "name": "config", "variant": "param", "kind": 32768, @@ -65585,7 +65566,7 @@ ] }, { - "id": 3069, + "id": 3068, "name": "buildPaymentProcessorContext", "variant": "declaration", "kind": 2048, @@ -65594,7 +65575,7 @@ }, "signatures": [ { - "id": 3070, + "id": 3069, "name": "buildPaymentProcessorContext", "variant": "signature", "kind": 4096, @@ -65611,7 +65592,7 @@ }, "parameters": [ { - "id": 3071, + "id": 3070, "name": "cartOrData", "variant": "param", "kind": 32768, @@ -65668,7 +65649,7 @@ ] }, { - "id": 3072, + "id": 3071, "name": "saveSession", "variant": "declaration", "kind": 2048, @@ -65677,7 +65658,7 @@ }, "signatures": [ { - "id": 3073, + "id": 3072, "name": "saveSession", "variant": "signature", "kind": 4096, @@ -65694,7 +65675,7 @@ }, "parameters": [ { - "id": 3074, + "id": 3073, "name": "providerId", "variant": "param", "kind": 32768, @@ -65705,7 +65686,7 @@ } }, { - "id": 3075, + "id": 3074, "name": "data", "variant": "param", "kind": 32768, @@ -65713,14 +65694,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3076, + "id": 3075, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3077, + "id": 3076, "name": "payment_session_id", "variant": "declaration", "kind": 1024, @@ -65733,7 +65714,7 @@ } }, { - "id": 3078, + "id": 3077, "name": "cartId", "variant": "declaration", "kind": 1024, @@ -65746,7 +65727,7 @@ } }, { - "id": 3079, + "id": 3078, "name": "amount", "variant": "declaration", "kind": 1024, @@ -65759,7 +65740,7 @@ } }, { - "id": 3080, + "id": 3079, "name": "sessionData", "variant": "declaration", "kind": 1024, @@ -65785,7 +65766,7 @@ } }, { - "id": 3081, + "id": 3080, "name": "isSelected", "variant": "declaration", "kind": 1024, @@ -65798,7 +65779,7 @@ } }, { - "id": 3082, + "id": 3081, "name": "isInitiated", "variant": "declaration", "kind": 1024, @@ -65811,7 +65792,7 @@ } }, { - "id": 3083, + "id": 3082, "name": "status", "variant": "declaration", "kind": 1024, @@ -65833,13 +65814,13 @@ { "title": "Properties", "children": [ + 3076, 3077, 3078, 3079, 3080, 3081, - 3082, - 3083 + 3082 ] } ] @@ -65871,7 +65852,7 @@ ] }, { - "id": 3084, + "id": 3083, "name": "processUpdateRequestsData", "variant": "declaration", "kind": 2048, @@ -65880,7 +65861,7 @@ }, "signatures": [ { - "id": 3085, + "id": 3084, "name": "processUpdateRequestsData", "variant": "signature", "kind": 4096, @@ -65897,7 +65878,7 @@ }, "parameters": [ { - "id": 3086, + "id": 3085, "name": "data", "variant": "param", "kind": 32768, @@ -65905,14 +65886,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3087, + "id": 3086, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3088, + "id": 3087, "name": "customer", "variant": "declaration", "kind": 1024, @@ -65922,14 +65903,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3089, + "id": 3088, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3090, + "id": 3089, "name": "id", "variant": "declaration", "kind": 1024, @@ -65946,7 +65927,7 @@ { "title": "Properties", "children": [ - 3090 + 3089 ] } ] @@ -65958,7 +65939,7 @@ { "title": "Properties", "children": [ - 3088 + 3087 ] } ] @@ -65967,7 +65948,7 @@ "defaultValue": "{}" }, { - "id": 3091, + "id": 3090, "name": "paymentResponse", "variant": "param", "kind": 32768, @@ -66026,7 +66007,7 @@ ] }, { - "id": 3092, + "id": 3091, "name": "throwFromPaymentProcessorError", "variant": "declaration", "kind": 2048, @@ -66035,14 +66016,14 @@ }, "signatures": [ { - "id": 3093, + "id": 3092, "name": "throwFromPaymentProcessorError", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3094, + "id": 3093, "name": "errObj", "variant": "param", "kind": 32768, @@ -66070,64 +66051,64 @@ { "title": "Constructors", "children": [ - 2963 + 2962 ] }, { "title": "Properties", "children": [ + 3094, 3095, - 3096, + 3098, 3099, 3100, - 3101, + 2965, 2966, 2967, 2968, - 2969, + 2971, 2972, 2973, - 2974, - 2975 + 2974 ] }, { "title": "Accessors", "children": [ - 3097, - 2970 + 3096, + 2969 ] }, { "title": "Methods", "children": [ - 3102, - 3105, - 3110, - 2976, - 2979, - 2981, - 2985, - 2989, - 2993, - 2999, - 3007, - 3015, - 3018, - 3022, - 3025, - 3032, - 3036, - 3040, - 3045, - 3048, - 3053, - 3059, - 3065, - 3069, - 3072, - 3084, - 3092 + 3101, + 3104, + 3109, + 2975, + 2978, + 2980, + 2984, + 2988, + 2992, + 2998, + 3006, + 3014, + 3017, + 3021, + 3024, + 3031, + 3035, + 3039, + 3044, + 3047, + 3052, + 3058, + 3064, + 3068, + 3071, + 3083, + 3091 ] } ], @@ -66144,14 +66125,14 @@ ] }, { - "id": 2798, + "id": 2797, "name": "PaymentService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 2836, + "id": 2835, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -66174,7 +66155,7 @@ } }, { - "id": 2837, + "id": 2836, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -66206,7 +66187,7 @@ } }, { - "id": 2838, + "id": 2837, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -66214,7 +66195,7 @@ "isProtected": true }, "getSignature": { - "id": 2839, + "id": 2838, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -66241,7 +66222,7 @@ } }, { - "id": 2840, + "id": 2839, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -66260,7 +66241,7 @@ } }, { - "id": 2841, + "id": 2840, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -66295,7 +66276,7 @@ } }, { - "id": 2842, + "id": 2841, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -66330,21 +66311,21 @@ } }, { - "id": 2843, + "id": 2842, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2844, + "id": 2843, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2845, + "id": 2844, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -66380,7 +66361,7 @@ } }, { - "id": 2846, + "id": 2845, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -66389,14 +66370,14 @@ }, "signatures": [ { - "id": 2847, + "id": 2846, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2848, + "id": 2847, "name": "err", "variant": "param", "kind": 32768, @@ -66426,14 +66407,14 @@ { "type": "reflection", "declaration": { - "id": 2849, + "id": 2848, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2850, + "id": 2849, "name": "code", "variant": "declaration", "kind": 1024, @@ -66448,7 +66429,7 @@ { "title": "Properties", "children": [ - 2850 + 2849 ] } ] @@ -66476,7 +66457,7 @@ } }, { - "id": 2851, + "id": 2850, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -66485,7 +66466,7 @@ }, "signatures": [ { - "id": 2852, + "id": 2851, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -66511,14 +66492,14 @@ }, "typeParameter": [ { - "id": 2853, + "id": 2852, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 2854, + "id": 2853, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -66527,7 +66508,7 @@ ], "parameters": [ { - "id": 2855, + "id": 2854, "name": "work", "variant": "param", "kind": 32768, @@ -66543,21 +66524,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2856, + "id": 2855, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2857, + "id": 2856, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2858, + "id": 2857, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -66597,7 +66578,7 @@ } }, { - "id": 2859, + "id": 2858, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -66627,21 +66608,21 @@ { "type": "reflection", "declaration": { - "id": 2860, + "id": 2859, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2861, + "id": 2860, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2862, + "id": 2861, "name": "error", "variant": "param", "kind": 32768, @@ -66690,7 +66671,7 @@ } }, { - "id": 2863, + "id": 2862, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -66708,21 +66689,21 @@ "type": { "type": "reflection", "declaration": { - "id": 2864, + "id": 2863, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 2865, + "id": 2864, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 2866, + "id": 2865, "name": "error", "variant": "param", "kind": 32768, @@ -66801,7 +66782,7 @@ } }, { - "id": 2810, + "id": 2809, "name": "eventBusService_", "variant": "declaration", "kind": 1024, @@ -66811,13 +66792,13 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 2811, + "id": 2810, "name": "paymentProviderService_", "variant": "declaration", "kind": 1024, @@ -66827,13 +66808,13 @@ }, "type": { "type": "reference", - "target": 2962, + "target": 2961, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 2812, + "id": 2811, "name": "paymentRepository_", "variant": "declaration", "kind": 1024, @@ -66863,7 +66844,7 @@ } }, { - "id": 2799, + "id": 2798, "name": "Events", "variant": "declaration", "kind": 1024, @@ -66874,14 +66855,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2800, + "id": 2799, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2801, + "id": 2800, "name": "CREATED", "variant": "declaration", "kind": 1024, @@ -66893,7 +66874,7 @@ "defaultValue": "\"payment.created\"" }, { - "id": 2802, + "id": 2801, "name": "UPDATED", "variant": "declaration", "kind": 1024, @@ -66905,7 +66886,7 @@ "defaultValue": "\"payment.updated\"" }, { - "id": 2803, + "id": 2802, "name": "PAYMENT_CAPTURED", "variant": "declaration", "kind": 1024, @@ -66917,7 +66898,7 @@ "defaultValue": "\"payment.payment_captured\"" }, { - "id": 2804, + "id": 2803, "name": "PAYMENT_CAPTURE_FAILED", "variant": "declaration", "kind": 1024, @@ -66929,7 +66910,7 @@ "defaultValue": "\"payment.payment_capture_failed\"" }, { - "id": 2805, + "id": 2804, "name": "REFUND_CREATED", "variant": "declaration", "kind": 1024, @@ -66941,7 +66922,7 @@ "defaultValue": "\"payment.payment_refund_created\"" }, { - "id": 2806, + "id": 2805, "name": "REFUND_FAILED", "variant": "declaration", "kind": 1024, @@ -66957,12 +66938,12 @@ { "title": "Properties", "children": [ + 2800, 2801, 2802, 2803, 2804, - 2805, - 2806 + 2805 ] } ] @@ -66971,21 +66952,21 @@ "defaultValue": "..." }, { - "id": 2807, + "id": 2806, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 2808, + "id": 2807, "name": "new PaymentService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 2809, + "id": 2808, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -67003,7 +66984,7 @@ ], "type": { "type": "reference", - "target": 2798, + "target": 2797, "name": "default", "package": "@medusajs/medusa" }, @@ -67021,14 +67002,14 @@ } }, { - "id": 2813, + "id": 2812, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2814, + "id": 2813, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -67054,7 +67035,7 @@ }, "parameters": [ { - "id": 2815, + "id": 2814, "name": "paymentId", "variant": "param", "kind": 32768, @@ -67073,7 +67054,7 @@ } }, { - "id": 2816, + "id": 2815, "name": "config", "variant": "param", "kind": 32768, @@ -67133,14 +67114,14 @@ ] }, { - "id": 2817, + "id": 2816, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2818, + "id": 2817, "name": "create", "variant": "signature", "kind": 4096, @@ -67166,7 +67147,7 @@ }, "parameters": [ { - "id": 2819, + "id": 2818, "name": "paymentInput", "variant": "param", "kind": 32768, @@ -67214,14 +67195,14 @@ ] }, { - "id": 2820, + "id": 2819, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2821, + "id": 2820, "name": "update", "variant": "signature", "kind": 4096, @@ -67247,7 +67228,7 @@ }, "parameters": [ { - "id": 2822, + "id": 2821, "name": "paymentId", "variant": "param", "kind": 32768, @@ -67266,7 +67247,7 @@ } }, { - "id": 2823, + "id": 2822, "name": "data", "variant": "param", "kind": 32768, @@ -67282,14 +67263,14 @@ "type": { "type": "reflection", "declaration": { - "id": 2824, + "id": 2823, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 2825, + "id": 2824, "name": "order_id", "variant": "declaration", "kind": 1024, @@ -67302,7 +67283,7 @@ } }, { - "id": 2826, + "id": 2825, "name": "swap_id", "variant": "declaration", "kind": 1024, @@ -67319,8 +67300,8 @@ { "title": "Properties", "children": [ - 2825, - 2826 + 2824, + 2825 ] } ] @@ -67352,14 +67333,14 @@ ] }, { - "id": 2827, + "id": 2826, "name": "capture", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2828, + "id": 2827, "name": "capture", "variant": "signature", "kind": 4096, @@ -67385,7 +67366,7 @@ }, "parameters": [ { - "id": 2829, + "id": 2828, "name": "paymentOrId", "variant": "param", "kind": 32768, @@ -67442,14 +67423,14 @@ ] }, { - "id": 2830, + "id": 2829, "name": "refund", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 2831, + "id": 2830, "name": "refund", "variant": "signature", "kind": 4096, @@ -67475,7 +67456,7 @@ }, "parameters": [ { - "id": 2832, + "id": 2831, "name": "paymentOrId", "variant": "param", "kind": 32768, @@ -67508,7 +67489,7 @@ } }, { - "id": 2833, + "id": 2832, "name": "amount", "variant": "param", "kind": 32768, @@ -67527,7 +67508,7 @@ } }, { - "id": 2834, + "id": 2833, "name": "reason", "variant": "param", "kind": 32768, @@ -67546,7 +67527,7 @@ } }, { - "id": 2835, + "id": 2834, "name": "note", "variant": "param", "kind": 32768, @@ -67595,40 +67576,40 @@ { "title": "Constructors", "children": [ - 2807 + 2806 ] }, { "title": "Properties", "children": [ + 2835, 2836, - 2837, + 2839, 2840, 2841, - 2842, + 2809, 2810, 2811, - 2812, - 2799 + 2798 ] }, { "title": "Accessors", "children": [ - 2838 + 2837 ] }, { "title": "Methods", "children": [ - 2843, - 2846, - 2851, - 2813, - 2817, - 2820, - 2827, - 2830 + 2842, + 2845, + 2850, + 2812, + 2816, + 2819, + 2826, + 2829 ] } ], @@ -67645,7 +67626,7 @@ ] }, { - "id": 3126, + "id": 3125, "name": "PriceListService", "variant": "declaration", "kind": 128, @@ -67660,7 +67641,7 @@ }, "children": [ { - "id": 3328, + "id": 3327, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -67683,7 +67664,7 @@ } }, { - "id": 3329, + "id": 3328, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -67715,7 +67696,7 @@ } }, { - "id": 3330, + "id": 3329, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -67723,7 +67704,7 @@ "isProtected": true }, "getSignature": { - "id": 3331, + "id": 3330, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -67750,7 +67731,7 @@ } }, { - "id": 3332, + "id": 3331, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -67769,7 +67750,7 @@ } }, { - "id": 3333, + "id": 3332, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -67804,7 +67785,7 @@ } }, { - "id": 3334, + "id": 3333, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -67839,21 +67820,21 @@ } }, { - "id": 3335, + "id": 3334, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3336, + "id": 3335, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3337, + "id": 3336, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -67889,7 +67870,7 @@ } }, { - "id": 3338, + "id": 3337, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -67898,14 +67879,14 @@ }, "signatures": [ { - "id": 3339, + "id": 3338, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3340, + "id": 3339, "name": "err", "variant": "param", "kind": 32768, @@ -67935,14 +67916,14 @@ { "type": "reflection", "declaration": { - "id": 3341, + "id": 3340, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3342, + "id": 3341, "name": "code", "variant": "declaration", "kind": 1024, @@ -67957,7 +67938,7 @@ { "title": "Properties", "children": [ - 3342 + 3341 ] } ] @@ -67985,7 +67966,7 @@ } }, { - "id": 3343, + "id": 3342, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -67994,7 +67975,7 @@ }, "signatures": [ { - "id": 3344, + "id": 3343, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -68020,14 +68001,14 @@ }, "typeParameter": [ { - "id": 3345, + "id": 3344, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 3346, + "id": 3345, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -68036,7 +68017,7 @@ ], "parameters": [ { - "id": 3347, + "id": 3346, "name": "work", "variant": "param", "kind": 32768, @@ -68052,21 +68033,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3348, + "id": 3347, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3349, + "id": 3348, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3350, + "id": 3349, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -68106,7 +68087,7 @@ } }, { - "id": 3351, + "id": 3350, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -68136,21 +68117,21 @@ { "type": "reflection", "declaration": { - "id": 3352, + "id": 3351, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3353, + "id": 3352, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3354, + "id": 3353, "name": "error", "variant": "param", "kind": 32768, @@ -68199,7 +68180,7 @@ } }, { - "id": 3355, + "id": 3354, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -68217,21 +68198,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3356, + "id": 3355, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3357, + "id": 3356, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3358, + "id": 3357, "name": "error", "variant": "param", "kind": 32768, @@ -68310,7 +68291,7 @@ } }, { - "id": 3130, + "id": 3129, "name": "customerGroupService_", "variant": "declaration", "kind": 1024, @@ -68320,13 +68301,13 @@ }, "type": { "type": "reference", - "target": 876, + "target": 875, "name": "CustomerGroupService", "package": "@medusajs/medusa" } }, { - "id": 3131, + "id": 3130, "name": "regionService_", "variant": "declaration", "kind": 1024, @@ -68336,13 +68317,13 @@ }, "type": { "type": "reference", - "target": 4612, + "target": 4601, "name": "RegionService", "package": "@medusajs/medusa" } }, { - "id": 3132, + "id": 3131, "name": "productService_", "variant": "declaration", "kind": 1024, @@ -68352,13 +68333,13 @@ }, "type": { "type": "reference", - "target": 3484, + "target": 3473, "name": "ProductService", "package": "@medusajs/medusa" } }, { - "id": 3133, + "id": 3132, "name": "variantService_", "variant": "declaration", "kind": 1024, @@ -68368,13 +68349,13 @@ }, "type": { "type": "reference", - "target": 4139, + "target": 4128, "name": "ProductVariantService", "package": "@medusajs/medusa" } }, { - "id": 3134, + "id": 3133, "name": "priceListRepo_", "variant": "declaration", "kind": 1024, @@ -68408,28 +68389,28 @@ { "type": "reflection", "declaration": { - "id": 3135, + "id": 3134, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3136, + "id": 3135, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3137, + "id": 3136, "name": "listAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3138, + "id": 3137, "name": "query", "variant": "param", "kind": 32768, @@ -68456,7 +68437,7 @@ } }, { - "id": 3139, + "id": 3138, "name": "q", "variant": "param", "kind": 32768, @@ -68505,21 +68486,21 @@ ] }, { - "id": 3140, + "id": 3139, "name": "listPriceListsVariantIdsMap", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3141, + "id": 3140, "name": "listPriceListsVariantIdsMap", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3142, + "id": 3141, "name": "priceListIds", "variant": "param", "kind": 32768, @@ -68552,20 +68533,20 @@ { "type": "reflection", "declaration": { - "id": 3143, + "id": 3142, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 3144, + "id": 3143, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 3145, + "id": 3144, "name": "priceListId", "variant": "param", "kind": 32768, @@ -68598,8 +68579,8 @@ { "title": "Methods", "children": [ - 3136, - 3140 + 3135, + 3139 ] } ] @@ -68609,7 +68590,7 @@ } }, { - "id": 3146, + "id": 3145, "name": "moneyAmountRepo_", "variant": "declaration", "kind": 1024, @@ -68643,28 +68624,28 @@ { "type": "reflection", "declaration": { - "id": 3147, + "id": 3146, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3148, + "id": 3147, "name": "insertBulk", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3149, + "id": 3148, "name": "insertBulk", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3150, + "id": 3149, "name": "data", "variant": "param", "kind": 32768, @@ -68721,14 +68702,14 @@ ] }, { - "id": 3151, + "id": 3150, "name": "findVariantPricesNotIn", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3152, + "id": 3151, "name": "findVariantPricesNotIn", "variant": "signature", "kind": 4096, @@ -68757,7 +68738,7 @@ }, "parameters": [ { - "id": 3153, + "id": 3152, "name": "variantId", "variant": "param", "kind": 32768, @@ -68768,7 +68749,7 @@ } }, { - "id": 3154, + "id": 3153, "name": "prices", "variant": "param", "kind": 32768, @@ -68814,21 +68795,21 @@ ] }, { - "id": 3155, + "id": 3154, "name": "deleteVariantPricesNotIn", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3156, + "id": 3155, "name": "deleteVariantPricesNotIn", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3157, + "id": 3156, "name": "variantIdOrData", "variant": "param", "kind": 32768, @@ -68845,14 +68826,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 3158, + "id": 3157, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3159, + "id": 3158, "name": "variantId", "variant": "declaration", "kind": 1024, @@ -68863,7 +68844,7 @@ } }, { - "id": 3160, + "id": 3159, "name": "prices", "variant": "declaration", "kind": 1024, @@ -68886,8 +68867,8 @@ { "title": "Properties", "children": [ - 3159, - 3160 + 3158, + 3159 ] } ] @@ -68898,7 +68879,7 @@ } }, { - "id": 3161, + "id": 3160, "name": "prices", "variant": "param", "kind": 32768, @@ -68938,21 +68919,21 @@ ] }, { - "id": 3162, + "id": 3161, "name": "upsertVariantCurrencyPrice", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3163, + "id": 3162, "name": "upsertVariantCurrencyPrice", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3164, + "id": 3163, "name": "variantId", "variant": "param", "kind": 32768, @@ -68963,7 +68944,7 @@ } }, { - "id": 3165, + "id": 3164, "name": "price", "variant": "param", "kind": 32768, @@ -69003,21 +68984,21 @@ ] }, { - "id": 3166, + "id": 3165, "name": "addPriceListPrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3167, + "id": 3166, "name": "addPriceListPrices", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3168, + "id": 3167, "name": "priceListId", "variant": "param", "kind": 32768, @@ -69028,7 +69009,7 @@ } }, { - "id": 3169, + "id": 3168, "name": "prices", "variant": "param", "kind": 32768, @@ -69047,7 +69028,7 @@ } }, { - "id": 3170, + "id": 3169, "name": "overrideExisting", "variant": "param", "kind": 32768, @@ -69086,21 +69067,21 @@ ] }, { - "id": 3171, + "id": 3170, "name": "deletePriceListPrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3172, + "id": 3171, "name": "deletePriceListPrices", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3173, + "id": 3172, "name": "priceListId", "variant": "param", "kind": 32768, @@ -69111,7 +69092,7 @@ } }, { - "id": 3174, + "id": 3173, "name": "moneyAmountIds", "variant": "param", "kind": 32768, @@ -69144,21 +69125,21 @@ ] }, { - "id": 3175, + "id": 3174, "name": "findManyForVariantInPriceList", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3176, + "id": 3175, "name": "findManyForVariantInPriceList", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3177, + "id": 3176, "name": "variant_id", "variant": "param", "kind": 32768, @@ -69169,7 +69150,7 @@ } }, { - "id": 3178, + "id": 3177, "name": "price_list_id", "variant": "param", "kind": 32768, @@ -69180,7 +69161,7 @@ } }, { - "id": 3179, + "id": 3178, "name": "requiresPriceList", "variant": "param", "kind": 32768, @@ -69228,14 +69209,14 @@ ] }, { - "id": 3180, + "id": 3179, "name": "findManyForVariantInRegion", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3181, + "id": 3180, "name": "findManyForVariantInRegion", "variant": "signature", "kind": 4096, @@ -69254,7 +69235,7 @@ "kind": "inline-tag", "tag": "@link", "text": "findManyForVariantsInRegion", - "target": 3234 + "target": 3233 } ] } @@ -69262,7 +69243,7 @@ }, "parameters": [ { - "id": 3182, + "id": 3181, "name": "variant_id", "variant": "param", "kind": 32768, @@ -69273,7 +69254,7 @@ } }, { - "id": 3183, + "id": 3182, "name": "region_id", "variant": "param", "kind": 32768, @@ -69286,7 +69267,7 @@ } }, { - "id": 3184, + "id": 3183, "name": "currency_code", "variant": "param", "kind": 32768, @@ -69299,7 +69280,7 @@ } }, { - "id": 3185, + "id": 3184, "name": "customer_id", "variant": "param", "kind": 32768, @@ -69312,7 +69293,7 @@ } }, { - "id": 3186, + "id": 3185, "name": "include_discount_prices", "variant": "param", "kind": 32768, @@ -69325,7 +69306,7 @@ } }, { - "id": 3187, + "id": 3186, "name": "include_tax_inclusive_pricing", "variant": "param", "kind": 32768, @@ -69373,21 +69354,21 @@ ] }, { - "id": 3188, + "id": 3187, "name": "findCurrencyMoneyAmounts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3189, + "id": 3188, "name": "findCurrencyMoneyAmounts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3190, + "id": 3189, "name": "where", "variant": "param", "kind": 32768, @@ -69397,14 +69378,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 3191, + "id": 3190, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3192, + "id": 3191, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -69415,7 +69396,7 @@ } }, { - "id": 3193, + "id": 3192, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -69430,8 +69411,8 @@ { "title": "Properties", "children": [ - 3192, - 3193 + 3191, + 3192 ] } ] @@ -69452,14 +69433,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 3194, + "id": 3193, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3208, + "id": 3207, "name": "id", "variant": "declaration", "kind": 1024, @@ -69470,7 +69451,7 @@ } }, { - "id": 3209, + "id": 3208, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -69486,7 +69467,7 @@ } }, { - "id": 3210, + "id": 3209, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -69502,7 +69483,7 @@ } }, { - "id": 3207, + "id": 3206, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -69527,7 +69508,7 @@ } }, { - "id": 3196, + "id": 3195, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -69538,7 +69519,7 @@ } }, { - "id": 3197, + "id": 3196, "name": "currency", "variant": "declaration", "kind": 1024, @@ -69556,7 +69537,7 @@ } }, { - "id": 3198, + "id": 3197, "name": "amount", "variant": "declaration", "kind": 1024, @@ -69567,7 +69548,7 @@ } }, { - "id": 3199, + "id": 3198, "name": "min_quantity", "variant": "declaration", "kind": 1024, @@ -69587,7 +69568,7 @@ } }, { - "id": 3200, + "id": 3199, "name": "max_quantity", "variant": "declaration", "kind": 1024, @@ -69607,7 +69588,7 @@ } }, { - "id": 3201, + "id": 3200, "name": "price_list_id", "variant": "declaration", "kind": 1024, @@ -69627,7 +69608,7 @@ } }, { - "id": 3202, + "id": 3201, "name": "price_list", "variant": "declaration", "kind": 1024, @@ -69652,7 +69633,7 @@ } }, { - "id": 3203, + "id": 3202, "name": "variants", "variant": "declaration", "kind": 1024, @@ -69671,7 +69652,7 @@ } }, { - "id": 3204, + "id": 3203, "name": "variant", "variant": "declaration", "kind": 1024, @@ -69687,7 +69668,7 @@ } }, { - "id": 3205, + "id": 3204, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -69707,7 +69688,7 @@ } }, { - "id": 3206, + "id": 3205, "name": "region", "variant": "declaration", "kind": 1024, @@ -69725,7 +69706,7 @@ } }, { - "id": 3195, + "id": 3194, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -69741,10 +69722,11 @@ { "title": "Properties", "children": [ + 3207, 3208, 3209, - 3210, - 3207, + 3206, + 3195, 3196, 3197, 3198, @@ -69755,8 +69737,7 @@ 3203, 3204, 3205, - 3206, - 3195 + 3194 ] } ] @@ -69771,21 +69752,21 @@ ] }, { - "id": 3211, + "id": 3210, "name": "findRegionMoneyAmounts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3212, + "id": 3211, "name": "findRegionMoneyAmounts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3213, + "id": 3212, "name": "where", "variant": "param", "kind": 32768, @@ -69795,14 +69776,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 3214, + "id": 3213, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3215, + "id": 3214, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -69813,7 +69794,7 @@ } }, { - "id": 3216, + "id": 3215, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -69828,8 +69809,8 @@ { "title": "Properties", "children": [ - 3215, - 3216 + 3214, + 3215 ] } ] @@ -69850,14 +69831,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 3217, + "id": 3216, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3231, + "id": 3230, "name": "id", "variant": "declaration", "kind": 1024, @@ -69868,7 +69849,7 @@ } }, { - "id": 3232, + "id": 3231, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -69884,7 +69865,7 @@ } }, { - "id": 3233, + "id": 3232, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -69900,7 +69881,7 @@ } }, { - "id": 3230, + "id": 3229, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -69925,7 +69906,7 @@ } }, { - "id": 3219, + "id": 3218, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -69936,7 +69917,7 @@ } }, { - "id": 3220, + "id": 3219, "name": "currency", "variant": "declaration", "kind": 1024, @@ -69954,7 +69935,7 @@ } }, { - "id": 3221, + "id": 3220, "name": "amount", "variant": "declaration", "kind": 1024, @@ -69965,7 +69946,7 @@ } }, { - "id": 3222, + "id": 3221, "name": "min_quantity", "variant": "declaration", "kind": 1024, @@ -69985,7 +69966,7 @@ } }, { - "id": 3223, + "id": 3222, "name": "max_quantity", "variant": "declaration", "kind": 1024, @@ -70005,7 +69986,7 @@ } }, { - "id": 3224, + "id": 3223, "name": "price_list_id", "variant": "declaration", "kind": 1024, @@ -70025,7 +70006,7 @@ } }, { - "id": 3225, + "id": 3224, "name": "price_list", "variant": "declaration", "kind": 1024, @@ -70050,7 +70031,7 @@ } }, { - "id": 3226, + "id": 3225, "name": "variants", "variant": "declaration", "kind": 1024, @@ -70069,7 +70050,7 @@ } }, { - "id": 3227, + "id": 3226, "name": "variant", "variant": "declaration", "kind": 1024, @@ -70085,7 +70066,7 @@ } }, { - "id": 3228, + "id": 3227, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -70105,7 +70086,7 @@ } }, { - "id": 3229, + "id": 3228, "name": "region", "variant": "declaration", "kind": 1024, @@ -70123,7 +70104,7 @@ } }, { - "id": 3218, + "id": 3217, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -70139,10 +70120,11 @@ { "title": "Properties", "children": [ + 3230, 3231, 3232, - 3233, - 3230, + 3229, + 3218, 3219, 3220, 3221, @@ -70153,8 +70135,7 @@ 3226, 3227, 3228, - 3229, - 3218 + 3217 ] } ] @@ -70169,21 +70150,21 @@ ] }, { - "id": 3234, + "id": 3233, "name": "findManyForVariantsInRegion", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3235, + "id": 3234, "name": "findManyForVariantsInRegion", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3236, + "id": 3235, "name": "variant_ids", "variant": "param", "kind": 32768, @@ -70206,7 +70187,7 @@ } }, { - "id": 3237, + "id": 3236, "name": "region_id", "variant": "param", "kind": 32768, @@ -70219,7 +70200,7 @@ } }, { - "id": 3238, + "id": 3237, "name": "currency_code", "variant": "param", "kind": 32768, @@ -70232,7 +70213,7 @@ } }, { - "id": 3239, + "id": 3238, "name": "customer_id", "variant": "param", "kind": 32768, @@ -70245,7 +70226,7 @@ } }, { - "id": 3240, + "id": 3239, "name": "include_discount_prices", "variant": "param", "kind": 32768, @@ -70258,7 +70239,7 @@ } }, { - "id": 3241, + "id": 3240, "name": "include_tax_inclusive_pricing", "variant": "param", "kind": 32768, @@ -70321,21 +70302,21 @@ ] }, { - "id": 3242, + "id": 3241, "name": "updatePriceListPrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3243, + "id": 3242, "name": "updatePriceListPrices", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3244, + "id": 3243, "name": "priceListId", "variant": "param", "kind": 32768, @@ -70346,7 +70327,7 @@ } }, { - "id": 3245, + "id": 3244, "name": "updates", "variant": "param", "kind": 32768, @@ -70392,21 +70373,21 @@ ] }, { - "id": 3246, + "id": 3245, "name": "getPricesForVariantInRegion", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3247, + "id": 3246, "name": "getPricesForVariantInRegion", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3248, + "id": 3247, "name": "variantId", "variant": "param", "kind": 32768, @@ -70417,7 +70398,7 @@ } }, { - "id": 3249, + "id": 3248, "name": "regionId", "variant": "param", "kind": 32768, @@ -70464,21 +70445,21 @@ ] }, { - "id": 3250, + "id": 3249, "name": "createProductVariantMoneyAmounts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3251, + "id": 3250, "name": "createProductVariantMoneyAmounts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3252, + "id": 3251, "name": "toCreate", "variant": "param", "kind": 32768, @@ -70488,14 +70469,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 3253, + "id": 3252, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3254, + "id": 3253, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -70506,7 +70487,7 @@ } }, { - "id": 3255, + "id": 3254, "name": "money_amount_id", "variant": "declaration", "kind": 1024, @@ -70521,8 +70502,8 @@ { "title": "Properties", "children": [ - 3254, - 3255 + 3253, + 3254 ] } ] @@ -70559,20 +70540,20 @@ { "title": "Methods", "children": [ - 3148, - 3151, - 3155, - 3162, - 3166, - 3171, - 3175, - 3180, - 3188, - 3211, - 3234, - 3242, - 3246, - 3250 + 3147, + 3150, + 3154, + 3161, + 3165, + 3170, + 3174, + 3179, + 3187, + 3210, + 3233, + 3241, + 3245, + 3249 ] } ] @@ -70582,7 +70563,7 @@ } }, { - "id": 3256, + "id": 3255, "name": "productVariantRepo_", "variant": "declaration", "kind": 1024, @@ -70612,7 +70593,7 @@ } }, { - "id": 3257, + "id": 3256, "name": "featureFlagRouter_", "variant": "declaration", "kind": 1024, @@ -70623,7 +70604,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/feature-flags/utils/flag-router.d.ts", + "sourceFileName": "../../../packages/utils/src/feature-flags/utils/flag-router.ts", "qualifiedName": "FlagRouter" }, "name": "FlagRouter", @@ -70631,21 +70612,21 @@ } }, { - "id": 3127, + "id": 3126, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 3128, + "id": 3127, "name": "new PriceListService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 3129, + "id": 3128, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -70663,7 +70644,7 @@ ], "type": { "type": "reference", - "target": 3126, + "target": 3125, "name": "PriceListService", "package": "@medusajs/medusa" }, @@ -70681,14 +70662,14 @@ } }, { - "id": 3258, + "id": 3257, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3259, + "id": 3258, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -70714,7 +70695,7 @@ }, "parameters": [ { - "id": 3260, + "id": 3259, "name": "priceListId", "variant": "param", "kind": 32768, @@ -70733,7 +70714,7 @@ } }, { - "id": 3261, + "id": 3260, "name": "config", "variant": "param", "kind": 32768, @@ -70793,21 +70774,21 @@ ] }, { - "id": 3262, + "id": 3261, "name": "listPriceListsVariantIdsMap", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3263, + "id": 3262, "name": "listPriceListsVariantIdsMap", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3264, + "id": 3263, "name": "priceListIds", "variant": "param", "kind": 32768, @@ -70840,20 +70821,20 @@ { "type": "reflection", "declaration": { - "id": 3265, + "id": 3264, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 3266, + "id": 3265, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 3267, + "id": 3266, "name": "priceListId", "variant": "param", "kind": 32768, @@ -70882,14 +70863,14 @@ ] }, { - "id": 3268, + "id": 3267, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3269, + "id": 3268, "name": "create", "variant": "signature", "kind": 4096, @@ -70915,7 +70896,7 @@ }, "parameters": [ { - "id": 3270, + "id": 3269, "name": "priceListObject", "variant": "param", "kind": 32768, @@ -70963,14 +70944,14 @@ ] }, { - "id": 3271, + "id": 3270, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3272, + "id": 3271, "name": "update", "variant": "signature", "kind": 4096, @@ -70996,7 +70977,7 @@ }, "parameters": [ { - "id": 3273, + "id": 3272, "name": "id", "variant": "param", "kind": 32768, @@ -71015,7 +70996,7 @@ } }, { - "id": 3274, + "id": 3273, "name": "update", "variant": "param", "kind": 32768, @@ -71063,14 +71044,14 @@ ] }, { - "id": 3275, + "id": 3274, "name": "addPrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3276, + "id": 3275, "name": "addPrices", "variant": "signature", "kind": 4096, @@ -71096,7 +71077,7 @@ }, "parameters": [ { - "id": 3277, + "id": 3276, "name": "id", "variant": "param", "kind": 32768, @@ -71115,7 +71096,7 @@ } }, { - "id": 3278, + "id": 3277, "name": "prices", "variant": "param", "kind": 32768, @@ -71142,7 +71123,7 @@ } }, { - "id": 3279, + "id": 3278, "name": "replace", "variant": "param", "kind": 32768, @@ -71186,14 +71167,14 @@ ] }, { - "id": 3280, + "id": 3279, "name": "deletePrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3281, + "id": 3280, "name": "deletePrices", "variant": "signature", "kind": 4096, @@ -71219,7 +71200,7 @@ }, "parameters": [ { - "id": 3282, + "id": 3281, "name": "id", "variant": "param", "kind": 32768, @@ -71238,7 +71219,7 @@ } }, { - "id": 3283, + "id": 3282, "name": "priceIds", "variant": "param", "kind": 32768, @@ -71279,14 +71260,14 @@ ] }, { - "id": 3284, + "id": 3283, "name": "clearPrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3285, + "id": 3284, "name": "clearPrices", "variant": "signature", "kind": 4096, @@ -71312,7 +71293,7 @@ }, "parameters": [ { - "id": 3286, + "id": 3285, "name": "id", "variant": "param", "kind": 32768, @@ -71350,14 +71331,14 @@ ] }, { - "id": 3287, + "id": 3286, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3288, + "id": 3287, "name": "delete", "variant": "signature", "kind": 4096, @@ -71383,7 +71364,7 @@ }, "parameters": [ { - "id": 3289, + "id": 3288, "name": "id", "variant": "param", "kind": 32768, @@ -71421,14 +71402,14 @@ ] }, { - "id": 3290, + "id": 3289, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3291, + "id": 3290, "name": "list", "variant": "signature", "kind": 4096, @@ -71454,7 +71435,7 @@ }, "parameters": [ { - "id": 3292, + "id": 3291, "name": "selector", "variant": "param", "kind": 32768, @@ -71479,7 +71460,7 @@ "defaultValue": "{}" }, { - "id": 3293, + "id": 3292, "name": "config", "variant": "param", "kind": 32768, @@ -71542,14 +71523,14 @@ ] }, { - "id": 3294, + "id": 3293, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3295, + "id": 3294, "name": "listAndCount", "variant": "signature", "kind": 4096, @@ -71575,7 +71556,7 @@ }, "parameters": [ { - "id": 3296, + "id": 3295, "name": "selector", "variant": "param", "kind": 32768, @@ -71600,7 +71581,7 @@ "defaultValue": "{}" }, { - "id": 3297, + "id": 3296, "name": "config", "variant": "param", "kind": 32768, @@ -71672,7 +71653,7 @@ ] }, { - "id": 3298, + "id": 3297, "name": "upsertCustomerGroups_", "variant": "declaration", "kind": 2048, @@ -71681,14 +71662,14 @@ }, "signatures": [ { - "id": 3299, + "id": 3298, "name": "upsertCustomerGroups_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3300, + "id": 3299, "name": "priceListId", "variant": "param", "kind": 32768, @@ -71699,7 +71680,7 @@ } }, { - "id": 3301, + "id": 3300, "name": "customerGroups", "variant": "param", "kind": 32768, @@ -71709,14 +71690,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 3302, + "id": 3301, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3303, + "id": 3302, "name": "id", "variant": "declaration", "kind": 1024, @@ -71731,7 +71712,7 @@ { "title": "Properties", "children": [ - 3303 + 3302 ] } ] @@ -71759,21 +71740,21 @@ ] }, { - "id": 3304, + "id": 3303, "name": "listProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3305, + "id": 3304, "name": "listProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3306, + "id": 3305, "name": "priceListId", "variant": "param", "kind": 32768, @@ -71784,7 +71765,7 @@ } }, { - "id": 3307, + "id": 3306, "name": "selector", "variant": "param", "kind": 32768, @@ -71826,7 +71807,7 @@ "defaultValue": "{}" }, { - "id": 3308, + "id": 3307, "name": "config", "variant": "param", "kind": 32768, @@ -71854,7 +71835,7 @@ "defaultValue": "..." }, { - "id": 3309, + "id": 3308, "name": "requiresPriceList", "variant": "param", "kind": 32768, @@ -71902,21 +71883,21 @@ ] }, { - "id": 3310, + "id": 3309, "name": "listVariants", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3311, + "id": 3310, "name": "listVariants", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3312, + "id": 3311, "name": "priceListId", "variant": "param", "kind": 32768, @@ -71927,7 +71908,7 @@ } }, { - "id": 3313, + "id": 3312, "name": "selector", "variant": "param", "kind": 32768, @@ -71944,7 +71925,7 @@ "defaultValue": "{}" }, { - "id": 3314, + "id": 3313, "name": "config", "variant": "param", "kind": 32768, @@ -71972,7 +71953,7 @@ "defaultValue": "..." }, { - "id": 3315, + "id": 3314, "name": "requiresPriceList", "variant": "param", "kind": 32768, @@ -72020,7 +72001,7 @@ ] }, { - "id": 3316, + "id": 3315, "name": "deleteProductPrices", "variant": "declaration", "kind": 2048, @@ -72029,14 +72010,14 @@ }, "signatures": [ { - "id": 3317, + "id": 3316, "name": "deleteProductPrices", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3318, + "id": 3317, "name": "priceListId", "variant": "param", "kind": 32768, @@ -72047,7 +72028,7 @@ } }, { - "id": 3319, + "id": 3318, "name": "productIds", "variant": "param", "kind": 32768, @@ -72092,7 +72073,7 @@ ] }, { - "id": 3320, + "id": 3319, "name": "deleteVariantPrices", "variant": "declaration", "kind": 2048, @@ -72101,14 +72082,14 @@ }, "signatures": [ { - "id": 3321, + "id": 3320, "name": "deleteVariantPrices", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3322, + "id": 3321, "name": "priceListId", "variant": "param", "kind": 32768, @@ -72119,7 +72100,7 @@ } }, { - "id": 3323, + "id": 3322, "name": "variantIds", "variant": "param", "kind": 32768, @@ -72164,7 +72145,7 @@ ] }, { - "id": 3324, + "id": 3323, "name": "addCurrencyFromRegion", "variant": "declaration", "kind": 2048, @@ -72173,7 +72154,7 @@ }, "signatures": [ { - "id": 3325, + "id": 3324, "name": "addCurrencyFromRegion", "variant": "signature", "kind": 4096, @@ -72223,7 +72204,7 @@ }, "typeParameter": [ { - "id": 3326, + "id": 3325, "name": "T", "variant": "typeParam", "kind": 131072, @@ -72255,7 +72236,7 @@ ], "parameters": [ { - "id": 3327, + "id": 3326, "name": "prices", "variant": "param", "kind": 32768, @@ -72272,7 +72253,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 3326, + "target": 3325, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -72291,7 +72272,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 3326, + "target": 3325, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -72309,55 +72290,55 @@ { "title": "Constructors", "children": [ - 3127 + 3126 ] }, { "title": "Properties", "children": [ + 3327, 3328, - 3329, + 3331, 3332, 3333, - 3334, + 3129, 3130, 3131, 3132, 3133, - 3134, - 3146, - 3256, - 3257 + 3145, + 3255, + 3256 ] }, { "title": "Accessors", "children": [ - 3330 + 3329 ] }, { "title": "Methods", "children": [ - 3335, - 3338, - 3343, - 3258, - 3262, - 3268, - 3271, - 3275, - 3280, - 3284, - 3287, - 3290, - 3294, - 3298, - 3304, - 3310, - 3316, - 3320, - 3324 + 3334, + 3337, + 3342, + 3257, + 3261, + 3267, + 3270, + 3274, + 3279, + 3283, + 3286, + 3289, + 3293, + 3297, + 3303, + 3309, + 3315, + 3319, + 3323 ] } ], @@ -72374,7 +72355,7 @@ ] }, { - "id": 3359, + "id": 3358, "name": "PricingService", "variant": "declaration", "kind": 128, @@ -72389,7 +72370,7 @@ }, "children": [ { - "id": 3453, + "id": 3442, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -72412,7 +72393,7 @@ } }, { - "id": 3454, + "id": 3443, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -72444,7 +72425,7 @@ } }, { - "id": 3455, + "id": 3444, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -72452,7 +72433,7 @@ "isProtected": true }, "getSignature": { - "id": 3456, + "id": 3445, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -72479,7 +72460,7 @@ } }, { - "id": 3457, + "id": 3446, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -72498,7 +72479,7 @@ } }, { - "id": 3458, + "id": 3447, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -72533,7 +72514,7 @@ } }, { - "id": 3459, + "id": 3448, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -72568,21 +72549,21 @@ } }, { - "id": 3460, + "id": 3449, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3461, + "id": 3450, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3462, + "id": 3451, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -72618,7 +72599,7 @@ } }, { - "id": 3463, + "id": 3452, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -72627,14 +72608,14 @@ }, "signatures": [ { - "id": 3464, + "id": 3453, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3465, + "id": 3454, "name": "err", "variant": "param", "kind": 32768, @@ -72664,14 +72645,14 @@ { "type": "reflection", "declaration": { - "id": 3466, + "id": 3455, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3467, + "id": 3456, "name": "code", "variant": "declaration", "kind": 1024, @@ -72686,7 +72667,7 @@ { "title": "Properties", "children": [ - 3467 + 3456 ] } ] @@ -72714,7 +72695,7 @@ } }, { - "id": 3468, + "id": 3457, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -72723,7 +72704,7 @@ }, "signatures": [ { - "id": 3469, + "id": 3458, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -72749,14 +72730,14 @@ }, "typeParameter": [ { - "id": 3470, + "id": 3459, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 3471, + "id": 3460, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -72765,7 +72746,7 @@ ], "parameters": [ { - "id": 3472, + "id": 3461, "name": "work", "variant": "param", "kind": 32768, @@ -72781,21 +72762,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3473, + "id": 3462, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3474, + "id": 3463, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3475, + "id": 3464, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -72835,7 +72816,7 @@ } }, { - "id": 3476, + "id": 3465, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -72865,21 +72846,21 @@ { "type": "reflection", "declaration": { - "id": 3477, + "id": 3466, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3478, + "id": 3467, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3479, + "id": 3468, "name": "error", "variant": "param", "kind": 32768, @@ -72928,7 +72909,7 @@ } }, { - "id": 3480, + "id": 3469, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -72946,21 +72927,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3481, + "id": 3470, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3482, + "id": 3471, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3483, + "id": 3472, "name": "error", "variant": "param", "kind": 32768, @@ -73039,7 +73020,7 @@ } }, { - "id": 3363, + "id": 3362, "name": "regionService", "variant": "declaration", "kind": 1024, @@ -73049,13 +73030,13 @@ }, "type": { "type": "reference", - "target": 4612, + "target": 4601, "name": "RegionService", "package": "@medusajs/medusa" } }, { - "id": 3364, + "id": 3363, "name": "taxProviderService", "variant": "declaration", "kind": 1024, @@ -73065,13 +73046,13 @@ }, "type": { "type": "reference", - "target": 5812, + "target": 5801, "name": "TaxProviderService", "package": "@medusajs/medusa" } }, { - "id": 3365, + "id": 3364, "name": "customerService_", "variant": "declaration", "kind": 1024, @@ -73081,13 +73062,13 @@ }, "type": { "type": "reference", - "target": 747, + "target": 746, "name": "CustomerService", "package": "@medusajs/medusa" } }, { - "id": 3366, + "id": 3365, "name": "priceSelectionStrategy", "variant": "declaration", "kind": 1024, @@ -73106,7 +73087,7 @@ } }, { - "id": 3367, + "id": 3366, "name": "productVariantService", "variant": "declaration", "kind": 1024, @@ -73116,13 +73097,13 @@ }, "type": { "type": "reference", - "target": 4139, + "target": 4128, "name": "ProductVariantService", "package": "@medusajs/medusa" } }, { - "id": 3368, + "id": 3367, "name": "featureFlagRouter", "variant": "declaration", "kind": 1024, @@ -73133,7 +73114,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/feature-flags/utils/flag-router.d.ts", + "sourceFileName": "../../../packages/utils/src/feature-flags/utils/flag-router.ts", "qualifiedName": "FlagRouter" }, "name": "FlagRouter", @@ -73141,7 +73122,7 @@ } }, { - "id": 3369, + "id": 3368, "name": "pricingModuleService", "variant": "declaration", "kind": 262144, @@ -73149,7 +73130,7 @@ "isProtected": true }, "getSignature": { - "id": 3370, + "id": 3369, "name": "pricingModuleService", "variant": "signature", "kind": 524288, @@ -73166,7 +73147,7 @@ } }, { - "id": 3371, + "id": 3370, "name": "remoteQuery", "variant": "declaration", "kind": 262144, @@ -73174,7 +73155,7 @@ "isProtected": true }, "getSignature": { - "id": 3372, + "id": 3371, "name": "remoteQuery", "variant": "signature", "kind": 524288, @@ -73191,21 +73172,21 @@ } }, { - "id": 3360, + "id": 3359, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 3361, + "id": 3360, "name": "new PricingService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 3362, + "id": 3361, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -73223,7 +73204,7 @@ ], "type": { "type": "reference", - "target": 3359, + "target": 3358, "name": "PricingService", "package": "@medusajs/medusa" }, @@ -73241,14 +73222,14 @@ } }, { - "id": 3373, + "id": 3372, "name": "collectPricingContext", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3374, + "id": 3373, "name": "collectPricingContext", "variant": "signature", "kind": 4096, @@ -73274,7 +73255,7 @@ }, "parameters": [ { - "id": 3375, + "id": 3374, "name": "context", "variant": "param", "kind": 32768, @@ -73322,14 +73303,14 @@ ] }, { - "id": 3376, + "id": 3375, "name": "calculateTaxes", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3377, + "id": 3376, "name": "calculateTaxes", "variant": "signature", "kind": 4096, @@ -73355,7 +73336,7 @@ }, "parameters": [ { - "id": 3378, + "id": 3377, "name": "variantPricing", "variant": "param", "kind": 32768, @@ -73379,7 +73360,7 @@ } }, { - "id": 3379, + "id": 3378, "name": "productRates", "variant": "param", "kind": 32768, @@ -73419,128 +73400,7 @@ ] }, { - "id": 3380, - "name": "getProductVariantPricingModulePricing_", - "variant": "declaration", - "kind": 2048, - "flags": { - "isPrivate": true - }, - "signatures": [ - { - "id": 3381, - "name": "getProductVariantPricingModulePricing_", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3382, - "name": "variantPriceData", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 3383, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 3384, - "name": "variantId", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 3385, - "name": "quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 3384, - 3385 - ] - } - ] - } - } - } - }, - { - "id": 3386, - "name": "context", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/medusa/src/types/pricing.ts", - "qualifiedName": "PricingContext" - }, - "name": "PricingContext", - "package": "@medusajs/medusa" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es2015.collection.d.ts", - "qualifiedName": "Map" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Map", - "package": "typescript" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 3387, + "id": 3379, "name": "getProductVariantPricing_", "variant": "declaration", "kind": 2048, @@ -73549,14 +73409,14 @@ }, "signatures": [ { - "id": 3388, + "id": 3380, "name": "getProductVariantPricing_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3389, + "id": 3381, "name": "data", "variant": "param", "kind": 32768, @@ -73566,14 +73426,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 3390, + "id": 3382, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3391, + "id": 3383, "name": "variantId", "variant": "declaration", "kind": 1024, @@ -73584,7 +73444,7 @@ } }, { - "id": 3392, + "id": 3384, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -73601,8 +73461,8 @@ { "title": "Properties", "children": [ - 3391, - 3392 + 3383, + 3384 ] } ] @@ -73611,7 +73471,7 @@ } }, { - "id": 3393, + "id": 3385, "name": "context", "variant": "param", "kind": 32768, @@ -73666,14 +73526,14 @@ ] }, { - "id": 3394, + "id": 3386, "name": "getProductVariantPricing", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3395, + "id": 3387, "name": "getProductVariantPricing", "variant": "signature", "kind": 4096, @@ -73699,7 +73559,7 @@ }, "parameters": [ { - "id": 3396, + "id": 3388, "name": "variant", "variant": "param", "kind": 32768, @@ -73739,7 +73599,7 @@ } }, { - "id": 3397, + "id": 3389, "name": "context", "variant": "param", "kind": 32768, @@ -73801,14 +73661,14 @@ ] }, { - "id": 3398, + "id": 3390, "name": "getProductVariantPricingById", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3399, + "id": 3391, "name": "getProductVariantPricingById", "variant": "signature", "kind": 4096, @@ -73841,7 +73701,7 @@ "kind": "inline-tag", "tag": "@link", "text": "getProductVariantsPricing", - "target": 3402, + "target": 3394, "tsLinkText": "" }, { @@ -73854,7 +73714,7 @@ }, "parameters": [ { - "id": 3400, + "id": 3392, "name": "variantId", "variant": "param", "kind": 32768, @@ -73873,7 +73733,7 @@ } }, { - "id": 3401, + "id": 3393, "name": "context", "variant": "param", "kind": 32768, @@ -73935,14 +73795,14 @@ ] }, { - "id": 3402, + "id": 3394, "name": "getProductVariantsPricing", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3403, + "id": 3395, "name": "getProductVariantsPricing", "variant": "signature", "kind": 4096, @@ -73968,7 +73828,7 @@ }, "parameters": [ { - "id": 3404, + "id": 3396, "name": "data", "variant": "param", "kind": 32768, @@ -73978,14 +73838,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 3405, + "id": 3397, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3406, + "id": 3398, "name": "variantId", "variant": "declaration", "kind": 1024, @@ -73996,7 +73856,7 @@ } }, { - "id": 3407, + "id": 3399, "name": "quantity", "variant": "declaration", "kind": 1024, @@ -74013,8 +73873,8 @@ { "title": "Properties", "children": [ - 3406, - 3407 + 3398, + 3399 ] } ] @@ -74023,7 +73883,7 @@ } }, { - "id": 3408, + "id": 3400, "name": "context", "variant": "param", "kind": 32768, @@ -74071,20 +73931,20 @@ { "type": "reflection", "declaration": { - "id": 3409, + "id": 3401, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 3410, + "id": 3402, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 3411, + "id": 3403, "name": "variant_id", "variant": "param", "kind": 32768, @@ -74115,7 +73975,7 @@ ] }, { - "id": 3412, + "id": 3404, "name": "getProductPricing_", "variant": "declaration", "kind": 2048, @@ -74124,14 +73984,14 @@ }, "signatures": [ { - "id": 3413, + "id": 3405, "name": "getProductPricing_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3414, + "id": 3406, "name": "data", "variant": "param", "kind": 32768, @@ -74141,14 +74001,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 3415, + "id": 3407, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3416, + "id": 3408, "name": "productId", "variant": "declaration", "kind": 1024, @@ -74159,7 +74019,7 @@ } }, { - "id": 3417, + "id": 3409, "name": "variants", "variant": "declaration", "kind": 1024, @@ -74182,8 +74042,8 @@ { "title": "Properties", "children": [ - 3416, - 3417 + 3408, + 3409 ] } ] @@ -74192,7 +74052,7 @@ } }, { - "id": 3418, + "id": 3410, "name": "context", "variant": "param", "kind": 32768, @@ -74262,14 +74122,14 @@ ] }, { - "id": 3419, + "id": 3411, "name": "getProductPricing", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3420, + "id": 3412, "name": "getProductPricing", "variant": "signature", "kind": 4096, @@ -74295,7 +74155,7 @@ }, "parameters": [ { - "id": 3421, + "id": 3413, "name": "product", "variant": "param", "kind": 32768, @@ -74343,7 +74203,7 @@ } }, { - "id": 3422, + "id": 3414, "name": "context", "variant": "param", "kind": 32768, @@ -74406,14 +74266,14 @@ ] }, { - "id": 3423, + "id": 3415, "name": "getProductPricingById", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3424, + "id": 3416, "name": "getProductPricingById", "variant": "signature", "kind": 4096, @@ -74439,7 +74299,7 @@ }, "parameters": [ { - "id": 3425, + "id": 3417, "name": "productId", "variant": "param", "kind": 32768, @@ -74458,7 +74318,7 @@ } }, { - "id": 3426, + "id": 3418, "name": "context", "variant": "param", "kind": 32768, @@ -74521,14 +74381,14 @@ ] }, { - "id": 3427, + "id": 3419, "name": "setVariantPrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3428, + "id": 3420, "name": "setVariantPrices", "variant": "signature", "kind": 4096, @@ -74554,7 +74414,7 @@ }, "parameters": [ { - "id": 3429, + "id": 3421, "name": "variants", "variant": "param", "kind": 32768, @@ -74573,7 +74433,7 @@ } }, { - "id": 3430, + "id": 3422, "name": "context", "variant": "param", "kind": 32768, @@ -74625,14 +74485,14 @@ ] }, { - "id": 3431, + "id": 3423, "name": "setProductPrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3432, + "id": 3424, "name": "setProductPrices", "variant": "signature", "kind": 4096, @@ -74658,7 +74518,7 @@ }, "parameters": [ { - "id": 3433, + "id": 3425, "name": "products", "variant": "param", "kind": 32768, @@ -74685,7 +74545,7 @@ } }, { - "id": 3434, + "id": 3426, "name": "context", "variant": "param", "kind": 32768, @@ -74751,93 +74611,21 @@ ] }, { - "id": 3435, - "name": "getPricingModuleVariantMoneyAmounts", - "variant": "declaration", - "kind": 2048, - "flags": { - "isPrivate": true - }, - "signatures": [ - { - "id": 3436, - "name": "getPricingModuleVariantMoneyAmounts", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 3437, - "name": "variantIds", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es2015.collection.d.ts", - "qualifiedName": "Map" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", - "qualifiedName": "MoneyAmount" - }, - "name": "MoneyAmount", - "package": "@medusajs/medusa" - } - } - ], - "name": "Map", - "package": "typescript" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 3438, + "id": 3427, "name": "setAdminVariantPricing", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3439, + "id": 3428, "name": "setAdminVariantPricing", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3440, + "id": 3429, "name": "variants", "variant": "param", "kind": 32768, @@ -74856,7 +74644,7 @@ } }, { - "id": 3441, + "id": 3430, "name": "context", "variant": "param", "kind": 32768, @@ -74900,21 +74688,21 @@ ] }, { - "id": 3442, + "id": 3431, "name": "setAdminProductPricing", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3443, + "id": 3432, "name": "setAdminProductPricing", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3444, + "id": 3433, "name": "products", "variant": "param", "kind": 32768, @@ -74974,14 +74762,14 @@ ] }, { - "id": 3445, + "id": 3434, "name": "getShippingOptionPricing", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3446, + "id": 3435, "name": "getShippingOptionPricing", "variant": "signature", "kind": 4096, @@ -75007,7 +74795,7 @@ }, "parameters": [ { - "id": 3447, + "id": 3436, "name": "shippingOption", "variant": "param", "kind": 32768, @@ -75031,7 +74819,7 @@ } }, { - "id": 3448, + "id": 3437, "name": "context", "variant": "param", "kind": 32768, @@ -75093,14 +74881,14 @@ ] }, { - "id": 3449, + "id": 3438, "name": "setShippingOptionPrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3450, + "id": 3439, "name": "setShippingOptionPrices", "variant": "signature", "kind": 4096, @@ -75126,7 +74914,7 @@ }, "parameters": [ { - "id": 3451, + "id": 3440, "name": "shippingOptions", "variant": "param", "kind": 32768, @@ -75153,7 +74941,7 @@ } }, { - "id": 3452, + "id": 3441, "name": "context", "variant": "param", "kind": 32768, @@ -75224,56 +75012,54 @@ { "title": "Constructors", "children": [ - 3360 + 3359 ] }, { "title": "Properties", "children": [ - 3453, - 3454, - 3457, - 3458, - 3459, + 3442, + 3443, + 3446, + 3447, + 3448, + 3362, 3363, 3364, 3365, 3366, - 3367, - 3368 + 3367 ] }, { "title": "Accessors", "children": [ - 3455, - 3369, - 3371 + 3444, + 3368, + 3370 ] }, { "title": "Methods", "children": [ - 3460, - 3463, - 3468, - 3373, - 3376, - 3380, - 3387, + 3449, + 3452, + 3457, + 3372, + 3375, + 3379, + 3386, + 3390, 3394, - 3398, - 3402, - 3412, + 3404, + 3411, + 3415, 3419, 3423, 3427, 3431, - 3435, - 3438, - 3442, - 3445, - 3449 + 3434, + 3438 ] } ], @@ -75290,7 +75076,7 @@ ] }, { - "id": 3755, + "id": 3744, "name": "ProductCategoryService", "variant": "declaration", "kind": 128, @@ -75305,7 +75091,7 @@ }, "children": [ { - "id": 3879, + "id": 3868, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -75328,7 +75114,7 @@ } }, { - "id": 3880, + "id": 3869, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -75360,7 +75146,7 @@ } }, { - "id": 3881, + "id": 3870, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -75368,7 +75154,7 @@ "isProtected": true }, "getSignature": { - "id": 3882, + "id": 3871, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -75395,7 +75181,7 @@ } }, { - "id": 3883, + "id": 3872, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -75414,7 +75200,7 @@ } }, { - "id": 3884, + "id": 3873, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -75449,7 +75235,7 @@ } }, { - "id": 3885, + "id": 3874, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -75484,21 +75270,21 @@ } }, { - "id": 3886, + "id": 3875, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3887, + "id": 3876, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3888, + "id": 3877, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -75534,7 +75320,7 @@ } }, { - "id": 3889, + "id": 3878, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -75543,14 +75329,14 @@ }, "signatures": [ { - "id": 3890, + "id": 3879, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3891, + "id": 3880, "name": "err", "variant": "param", "kind": 32768, @@ -75580,14 +75366,14 @@ { "type": "reflection", "declaration": { - "id": 3892, + "id": 3881, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3893, + "id": 3882, "name": "code", "variant": "declaration", "kind": 1024, @@ -75602,7 +75388,7 @@ { "title": "Properties", "children": [ - 3893 + 3882 ] } ] @@ -75630,7 +75416,7 @@ } }, { - "id": 3894, + "id": 3883, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -75639,7 +75425,7 @@ }, "signatures": [ { - "id": 3895, + "id": 3884, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -75665,14 +75451,14 @@ }, "typeParameter": [ { - "id": 3896, + "id": 3885, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 3897, + "id": 3886, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -75681,7 +75467,7 @@ ], "parameters": [ { - "id": 3898, + "id": 3887, "name": "work", "variant": "param", "kind": 32768, @@ -75697,21 +75483,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3899, + "id": 3888, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3900, + "id": 3889, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3901, + "id": 3890, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -75751,7 +75537,7 @@ } }, { - "id": 3902, + "id": 3891, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -75781,21 +75567,21 @@ { "type": "reflection", "declaration": { - "id": 3903, + "id": 3892, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3904, + "id": 3893, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3905, + "id": 3894, "name": "error", "variant": "param", "kind": 32768, @@ -75844,7 +75630,7 @@ } }, { - "id": 3906, + "id": 3895, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -75862,21 +75648,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3907, + "id": 3896, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3908, + "id": 3897, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3909, + "id": 3898, "name": "error", "variant": "param", "kind": 32768, @@ -75955,7 +75741,7 @@ } }, { - "id": 3764, + "id": 3753, "name": "productCategoryRepo_", "variant": "declaration", "kind": 1024, @@ -75989,28 +75775,28 @@ { "type": "reflection", "declaration": { - "id": 3765, + "id": 3754, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3766, + "id": 3755, "name": "findOneWithDescendants", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3767, + "id": 3756, "name": "findOneWithDescendants", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3768, + "id": 3757, "name": "query", "variant": "param", "kind": 32768, @@ -76037,7 +75823,7 @@ } }, { - "id": 3769, + "id": 3758, "name": "treeScope", "variant": "param", "kind": 32768, @@ -76098,21 +75884,21 @@ ] }, { - "id": 3770, + "id": 3759, "name": "getFreeTextSearchResultsAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3771, + "id": 3760, "name": "getFreeTextSearchResultsAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3772, + "id": 3761, "name": "options", "variant": "param", "kind": 32768, @@ -76140,7 +75926,7 @@ "defaultValue": "..." }, { - "id": 3773, + "id": 3762, "name": "q", "variant": "param", "kind": 32768, @@ -76153,7 +75939,7 @@ } }, { - "id": 3774, + "id": 3763, "name": "treeScope", "variant": "param", "kind": 32768, @@ -76181,7 +75967,7 @@ "defaultValue": "{}" }, { - "id": 3775, + "id": 3764, "name": "includeTree", "variant": "param", "kind": 32768, @@ -76229,21 +76015,21 @@ ] }, { - "id": 3776, + "id": 3765, "name": "addProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3777, + "id": 3766, "name": "addProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3778, + "id": 3767, "name": "productCategoryId", "variant": "param", "kind": 32768, @@ -76254,7 +76040,7 @@ } }, { - "id": 3779, + "id": 3768, "name": "productIds", "variant": "param", "kind": 32768, @@ -76287,21 +76073,21 @@ ] }, { - "id": 3780, + "id": 3769, "name": "removeProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3781, + "id": 3770, "name": "removeProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3782, + "id": 3771, "name": "productCategoryId", "variant": "param", "kind": 32768, @@ -76312,7 +76098,7 @@ } }, { - "id": 3783, + "id": 3772, "name": "productIds", "variant": "param", "kind": 32768, @@ -76354,10 +76140,10 @@ { "title": "Methods", "children": [ - 3766, - 3770, - 3776, - 3780 + 3755, + 3759, + 3765, + 3769 ] } ] @@ -76367,7 +76153,7 @@ } }, { - "id": 3784, + "id": 3773, "name": "eventBusService_", "variant": "declaration", "kind": 1024, @@ -76377,13 +76163,13 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 3756, + "id": 3745, "name": "Events", "variant": "declaration", "kind": 1024, @@ -76393,14 +76179,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3757, + "id": 3746, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3758, + "id": 3747, "name": "CREATED", "variant": "declaration", "kind": 1024, @@ -76412,7 +76198,7 @@ "defaultValue": "\"product-category.created\"" }, { - "id": 3759, + "id": 3748, "name": "UPDATED", "variant": "declaration", "kind": 1024, @@ -76424,7 +76210,7 @@ "defaultValue": "\"product-category.updated\"" }, { - "id": 3760, + "id": 3749, "name": "DELETED", "variant": "declaration", "kind": 1024, @@ -76440,9 +76226,9 @@ { "title": "Properties", "children": [ - 3758, - 3759, - 3760 + 3747, + 3748, + 3749 ] } ] @@ -76451,21 +76237,21 @@ "defaultValue": "..." }, { - "id": 3761, + "id": 3750, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 3762, + "id": 3751, "name": "new ProductCategoryService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 3763, + "id": 3752, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -76483,7 +76269,7 @@ ], "type": { "type": "reference", - "target": 3755, + "target": 3744, "name": "ProductCategoryService", "package": "@medusajs/medusa" }, @@ -76501,14 +76287,14 @@ } }, { - "id": 3785, + "id": 3774, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3786, + "id": 3775, "name": "listAndCount", "variant": "signature", "kind": 4096, @@ -76534,7 +76320,7 @@ }, "parameters": [ { - "id": 3787, + "id": 3776, "name": "selector", "variant": "param", "kind": 32768, @@ -76569,7 +76355,7 @@ } }, { - "id": 3788, + "id": 3777, "name": "config", "variant": "param", "kind": 32768, @@ -76605,7 +76391,7 @@ "defaultValue": "..." }, { - "id": 3789, + "id": 3778, "name": "treeSelector", "variant": "param", "kind": 32768, @@ -76677,7 +76463,7 @@ ] }, { - "id": 3790, + "id": 3779, "name": "retrieve_", "variant": "declaration", "kind": 2048, @@ -76686,7 +76472,7 @@ }, "signatures": [ { - "id": 3791, + "id": 3780, "name": "retrieve_", "variant": "signature", "kind": 4096, @@ -76712,7 +76498,7 @@ }, "parameters": [ { - "id": 3792, + "id": 3781, "name": "config", "variant": "param", "kind": 32768, @@ -76748,7 +76534,7 @@ "defaultValue": "{}" }, { - "id": 3793, + "id": 3782, "name": "selector", "variant": "param", "kind": 32768, @@ -76776,7 +76562,7 @@ "defaultValue": "{}" }, { - "id": 3794, + "id": 3783, "name": "treeSelector", "variant": "param", "kind": 32768, @@ -76828,14 +76614,14 @@ ] }, { - "id": 3795, + "id": 3784, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3796, + "id": 3785, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -76861,7 +76647,7 @@ }, "parameters": [ { - "id": 3797, + "id": 3786, "name": "productCategoryId", "variant": "param", "kind": 32768, @@ -76880,7 +76666,7 @@ } }, { - "id": 3798, + "id": 3787, "name": "config", "variant": "param", "kind": 32768, @@ -76916,7 +76702,7 @@ "defaultValue": "{}" }, { - "id": 3799, + "id": 3788, "name": "selector", "variant": "param", "kind": 32768, @@ -76944,7 +76730,7 @@ "defaultValue": "{}" }, { - "id": 3800, + "id": 3789, "name": "treeSelector", "variant": "param", "kind": 32768, @@ -76996,14 +76782,14 @@ ] }, { - "id": 3801, + "id": 3790, "name": "retrieveByHandle", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3802, + "id": 3791, "name": "retrieveByHandle", "variant": "signature", "kind": 4096, @@ -77029,7 +76815,7 @@ }, "parameters": [ { - "id": 3803, + "id": 3792, "name": "handle", "variant": "param", "kind": 32768, @@ -77048,7 +76834,7 @@ } }, { - "id": 3804, + "id": 3793, "name": "config", "variant": "param", "kind": 32768, @@ -77084,7 +76870,7 @@ "defaultValue": "{}" }, { - "id": 3805, + "id": 3794, "name": "selector", "variant": "param", "kind": 32768, @@ -77112,7 +76898,7 @@ "defaultValue": "{}" }, { - "id": 3806, + "id": 3795, "name": "treeSelector", "variant": "param", "kind": 32768, @@ -77164,14 +76950,14 @@ ] }, { - "id": 3807, + "id": 3796, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3808, + "id": 3797, "name": "create", "variant": "signature", "kind": 4096, @@ -77197,7 +76983,7 @@ }, "parameters": [ { - "id": 3809, + "id": 3798, "name": "productCategoryInput", "variant": "param", "kind": 32768, @@ -77245,14 +77031,14 @@ ] }, { - "id": 3810, + "id": 3799, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3811, + "id": 3800, "name": "update", "variant": "signature", "kind": 4096, @@ -77278,7 +77064,7 @@ }, "parameters": [ { - "id": 3812, + "id": 3801, "name": "productCategoryId", "variant": "param", "kind": 32768, @@ -77297,7 +77083,7 @@ } }, { - "id": 3813, + "id": 3802, "name": "productCategoryInput", "variant": "param", "kind": 32768, @@ -77345,14 +77131,14 @@ ] }, { - "id": 3814, + "id": 3803, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3815, + "id": 3804, "name": "delete", "variant": "signature", "kind": 4096, @@ -77378,7 +77164,7 @@ }, "parameters": [ { - "id": 3816, + "id": 3805, "name": "productCategoryId", "variant": "param", "kind": 32768, @@ -77416,14 +77202,14 @@ ] }, { - "id": 3817, + "id": 3806, "name": "addProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3818, + "id": 3807, "name": "addProducts", "variant": "signature", "kind": 4096, @@ -77449,7 +77235,7 @@ }, "parameters": [ { - "id": 3819, + "id": 3808, "name": "productCategoryId", "variant": "param", "kind": 32768, @@ -77468,7 +77254,7 @@ } }, { - "id": 3820, + "id": 3809, "name": "productIds", "variant": "param", "kind": 32768, @@ -77509,14 +77295,14 @@ ] }, { - "id": 3821, + "id": 3810, "name": "removeProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3822, + "id": 3811, "name": "removeProducts", "variant": "signature", "kind": 4096, @@ -77542,7 +77328,7 @@ }, "parameters": [ { - "id": 3823, + "id": 3812, "name": "productCategoryId", "variant": "param", "kind": 32768, @@ -77561,7 +77347,7 @@ } }, { - "id": 3824, + "id": 3813, "name": "productIds", "variant": "param", "kind": 32768, @@ -77602,7 +77388,7 @@ ] }, { - "id": 3825, + "id": 3814, "name": "fetchReorderConditions", "variant": "declaration", "kind": 2048, @@ -77611,14 +77397,14 @@ }, "signatures": [ { - "id": 3826, + "id": 3815, "name": "fetchReorderConditions", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3827, + "id": 3816, "name": "productCategory", "variant": "param", "kind": 32768, @@ -77634,7 +77420,7 @@ } }, { - "id": 3828, + "id": 3817, "name": "input", "variant": "param", "kind": 32768, @@ -77650,7 +77436,7 @@ } }, { - "id": 3829, + "id": 3818, "name": "shouldDeleteElement", "variant": "param", "kind": 32768, @@ -77675,7 +77461,7 @@ ] }, { - "id": 3830, + "id": 3819, "name": "performReordering", "variant": "declaration", "kind": 2048, @@ -77684,14 +77470,14 @@ }, "signatures": [ { - "id": 3831, + "id": 3820, "name": "performReordering", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3832, + "id": 3821, "name": "repository", "variant": "param", "kind": 32768, @@ -77722,28 +77508,28 @@ { "type": "reflection", "declaration": { - "id": 3833, + "id": 3822, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3834, + "id": 3823, "name": "findOneWithDescendants", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3835, + "id": 3824, "name": "findOneWithDescendants", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3836, + "id": 3825, "name": "query", "variant": "param", "kind": 32768, @@ -77770,7 +77556,7 @@ } }, { - "id": 3837, + "id": 3826, "name": "treeScope", "variant": "param", "kind": 32768, @@ -77831,21 +77617,21 @@ ] }, { - "id": 3838, + "id": 3827, "name": "getFreeTextSearchResultsAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3839, + "id": 3828, "name": "getFreeTextSearchResultsAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3840, + "id": 3829, "name": "options", "variant": "param", "kind": 32768, @@ -77873,7 +77659,7 @@ "defaultValue": "..." }, { - "id": 3841, + "id": 3830, "name": "q", "variant": "param", "kind": 32768, @@ -77886,7 +77672,7 @@ } }, { - "id": 3842, + "id": 3831, "name": "treeScope", "variant": "param", "kind": 32768, @@ -77914,7 +77700,7 @@ "defaultValue": "{}" }, { - "id": 3843, + "id": 3832, "name": "includeTree", "variant": "param", "kind": 32768, @@ -77962,21 +77748,21 @@ ] }, { - "id": 3844, + "id": 3833, "name": "addProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3845, + "id": 3834, "name": "addProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3846, + "id": 3835, "name": "productCategoryId", "variant": "param", "kind": 32768, @@ -77987,7 +77773,7 @@ } }, { - "id": 3847, + "id": 3836, "name": "productIds", "variant": "param", "kind": 32768, @@ -78020,21 +77806,21 @@ ] }, { - "id": 3848, + "id": 3837, "name": "removeProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3849, + "id": 3838, "name": "removeProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3850, + "id": 3839, "name": "productCategoryId", "variant": "param", "kind": 32768, @@ -78045,7 +77831,7 @@ } }, { - "id": 3851, + "id": 3840, "name": "productIds", "variant": "param", "kind": 32768, @@ -78087,10 +77873,10 @@ { "title": "Methods", "children": [ - 3834, - 3838, - 3844, - 3848 + 3823, + 3827, + 3833, + 3837 ] } ] @@ -78100,7 +77886,7 @@ } }, { - "id": 3852, + "id": 3841, "name": "conditions", "variant": "param", "kind": 32768, @@ -78135,7 +77921,7 @@ ] }, { - "id": 3853, + "id": 3842, "name": "shiftSiblings", "variant": "declaration", "kind": 2048, @@ -78144,14 +77930,14 @@ }, "signatures": [ { - "id": 3854, + "id": 3843, "name": "shiftSiblings", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3855, + "id": 3844, "name": "repository", "variant": "param", "kind": 32768, @@ -78182,28 +77968,28 @@ { "type": "reflection", "declaration": { - "id": 3856, + "id": 3845, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3857, + "id": 3846, "name": "findOneWithDescendants", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3858, + "id": 3847, "name": "findOneWithDescendants", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3859, + "id": 3848, "name": "query", "variant": "param", "kind": 32768, @@ -78230,7 +78016,7 @@ } }, { - "id": 3860, + "id": 3849, "name": "treeScope", "variant": "param", "kind": 32768, @@ -78291,21 +78077,21 @@ ] }, { - "id": 3861, + "id": 3850, "name": "getFreeTextSearchResultsAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3862, + "id": 3851, "name": "getFreeTextSearchResultsAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3863, + "id": 3852, "name": "options", "variant": "param", "kind": 32768, @@ -78333,7 +78119,7 @@ "defaultValue": "..." }, { - "id": 3864, + "id": 3853, "name": "q", "variant": "param", "kind": 32768, @@ -78346,7 +78132,7 @@ } }, { - "id": 3865, + "id": 3854, "name": "treeScope", "variant": "param", "kind": 32768, @@ -78374,7 +78160,7 @@ "defaultValue": "{}" }, { - "id": 3866, + "id": 3855, "name": "includeTree", "variant": "param", "kind": 32768, @@ -78422,21 +78208,21 @@ ] }, { - "id": 3867, + "id": 3856, "name": "addProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3868, + "id": 3857, "name": "addProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3869, + "id": 3858, "name": "productCategoryId", "variant": "param", "kind": 32768, @@ -78447,7 +78233,7 @@ } }, { - "id": 3870, + "id": 3859, "name": "productIds", "variant": "param", "kind": 32768, @@ -78480,21 +78266,21 @@ ] }, { - "id": 3871, + "id": 3860, "name": "removeProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3872, + "id": 3861, "name": "removeProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3873, + "id": 3862, "name": "productCategoryId", "variant": "param", "kind": 32768, @@ -78505,7 +78291,7 @@ } }, { - "id": 3874, + "id": 3863, "name": "productIds", "variant": "param", "kind": 32768, @@ -78547,10 +78333,10 @@ { "title": "Methods", "children": [ - 3857, - 3861, - 3867, - 3871 + 3846, + 3850, + 3856, + 3860 ] } ] @@ -78560,7 +78346,7 @@ } }, { - "id": 3875, + "id": 3864, "name": "conditions", "variant": "param", "kind": 32768, @@ -78595,7 +78381,7 @@ ] }, { - "id": 3876, + "id": 3865, "name": "transformParentIdToEntity", "variant": "declaration", "kind": 2048, @@ -78604,7 +78390,7 @@ }, "signatures": [ { - "id": 3877, + "id": 3866, "name": "transformParentIdToEntity", "variant": "signature", "kind": 4096, @@ -78630,7 +78416,7 @@ }, "parameters": [ { - "id": 3878, + "id": 3867, "name": "productCategoryInput", "variant": "param", "kind": 32768, @@ -78710,47 +78496,47 @@ { "title": "Constructors", "children": [ - 3761 + 3750 ] }, { "title": "Properties", "children": [ - 3879, - 3880, - 3883, - 3884, - 3885, - 3764, - 3784, - 3756 + 3868, + 3869, + 3872, + 3873, + 3874, + 3753, + 3773, + 3745 ] }, { "title": "Accessors", "children": [ - 3881 + 3870 ] }, { "title": "Methods", "children": [ - 3886, - 3889, - 3894, - 3785, + 3875, + 3878, + 3883, + 3774, + 3779, + 3784, 3790, - 3795, - 3801, - 3807, + 3796, + 3799, + 3803, + 3806, 3810, 3814, - 3817, - 3821, - 3825, - 3830, - 3853, - 3876 + 3819, + 3842, + 3865 ] } ], @@ -78767,7 +78553,7 @@ ] }, { - "id": 3910, + "id": 3899, "name": "ProductCollectionService", "variant": "declaration", "kind": 128, @@ -78782,7 +78568,7 @@ }, "children": [ { - "id": 4044, + "id": 4033, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -78805,7 +78591,7 @@ } }, { - "id": 4045, + "id": 4034, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -78837,7 +78623,7 @@ } }, { - "id": 4046, + "id": 4035, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -78845,7 +78631,7 @@ "isProtected": true }, "getSignature": { - "id": 4047, + "id": 4036, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -78872,7 +78658,7 @@ } }, { - "id": 4048, + "id": 4037, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -78891,7 +78677,7 @@ } }, { - "id": 4049, + "id": 4038, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -78926,7 +78712,7 @@ } }, { - "id": 4050, + "id": 4039, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -78961,21 +78747,21 @@ } }, { - "id": 4051, + "id": 4040, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4052, + "id": 4041, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4053, + "id": 4042, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -79011,7 +78797,7 @@ } }, { - "id": 4054, + "id": 4043, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -79020,14 +78806,14 @@ }, "signatures": [ { - "id": 4055, + "id": 4044, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4056, + "id": 4045, "name": "err", "variant": "param", "kind": 32768, @@ -79057,14 +78843,14 @@ { "type": "reflection", "declaration": { - "id": 4057, + "id": 4046, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4058, + "id": 4047, "name": "code", "variant": "declaration", "kind": 1024, @@ -79079,7 +78865,7 @@ { "title": "Properties", "children": [ - 4058 + 4047 ] } ] @@ -79107,7 +78893,7 @@ } }, { - "id": 4059, + "id": 4048, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -79116,7 +78902,7 @@ }, "signatures": [ { - "id": 4060, + "id": 4049, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -79142,14 +78928,14 @@ }, "typeParameter": [ { - "id": 4061, + "id": 4050, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 4062, + "id": 4051, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -79158,7 +78944,7 @@ ], "parameters": [ { - "id": 4063, + "id": 4052, "name": "work", "variant": "param", "kind": 32768, @@ -79174,21 +78960,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4064, + "id": 4053, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4065, + "id": 4054, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4066, + "id": 4055, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -79228,7 +79014,7 @@ } }, { - "id": 4067, + "id": 4056, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -79258,21 +79044,21 @@ { "type": "reflection", "declaration": { - "id": 4068, + "id": 4057, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4069, + "id": 4058, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4070, + "id": 4059, "name": "error", "variant": "param", "kind": 32768, @@ -79321,7 +79107,7 @@ } }, { - "id": 4071, + "id": 4060, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -79339,21 +79125,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4072, + "id": 4061, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4073, + "id": 4062, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4074, + "id": 4063, "name": "error", "variant": "param", "kind": 32768, @@ -79432,7 +79218,7 @@ } }, { - "id": 3921, + "id": 3910, "name": "eventBus_", "variant": "declaration", "kind": 1024, @@ -79442,13 +79228,13 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 3922, + "id": 3911, "name": "productCollectionRepository_", "variant": "declaration", "kind": 1024, @@ -79482,28 +79268,28 @@ { "type": "reflection", "declaration": { - "id": 3923, + "id": 3912, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3924, + "id": 3913, "name": "findAndCountByDiscountConditionId", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3925, + "id": 3914, "name": "findAndCountByDiscountConditionId", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3926, + "id": 3915, "name": "conditionId", "variant": "param", "kind": 32768, @@ -79514,7 +79300,7 @@ } }, { - "id": 3927, + "id": 3916, "name": "query", "variant": "param", "kind": 32768, @@ -79581,7 +79367,7 @@ { "title": "Methods", "children": [ - 3924 + 3913 ] } ] @@ -79591,7 +79377,7 @@ } }, { - "id": 3928, + "id": 3917, "name": "productRepository_", "variant": "declaration", "kind": 1024, @@ -79625,28 +79411,28 @@ { "type": "reflection", "declaration": { - "id": 3929, + "id": 3918, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3930, + "id": 3919, "name": "queryProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3931, + "id": 3920, "name": "queryProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3932, + "id": 3921, "name": "optionsWithoutRelations", "variant": "param", "kind": 32768, @@ -79662,7 +79448,7 @@ } }, { - "id": 3933, + "id": 3922, "name": "shouldCount", "variant": "param", "kind": 32768, @@ -79710,21 +79496,21 @@ ] }, { - "id": 3934, + "id": 3923, "name": "queryProductsWithIds", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3935, + "id": 3924, "name": "queryProductsWithIds", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3936, + "id": 3925, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -79732,14 +79518,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3937, + "id": 3926, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3938, + "id": 3927, "name": "entityIds", "variant": "declaration", "kind": 1024, @@ -79753,7 +79539,7 @@ } }, { - "id": 3939, + "id": 3928, "name": "groupedRelations", "variant": "declaration", "kind": 1024, @@ -79761,20 +79547,20 @@ "type": { "type": "reflection", "declaration": { - "id": 3940, + "id": 3929, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 3941, + "id": 3930, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 3942, + "id": 3931, "name": "toplevel", "variant": "param", "kind": 32768, @@ -79797,7 +79583,7 @@ } }, { - "id": 3943, + "id": 3932, "name": "withDeleted", "variant": "declaration", "kind": 1024, @@ -79811,7 +79597,7 @@ "defaultValue": "false" }, { - "id": 3944, + "id": 3933, "name": "select", "variant": "declaration", "kind": 1024, @@ -79837,7 +79623,7 @@ "defaultValue": "[]" }, { - "id": 3945, + "id": 3934, "name": "order", "variant": "declaration", "kind": 1024, @@ -79847,20 +79633,20 @@ "type": { "type": "reflection", "declaration": { - "id": 3946, + "id": 3935, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 3947, + "id": 3936, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 3948, + "id": 3937, "name": "column", "variant": "param", "kind": 32768, @@ -79890,7 +79676,7 @@ "defaultValue": "{}" }, { - "id": 3949, + "id": 3938, "name": "where", "variant": "declaration", "kind": 1024, @@ -79924,12 +79710,12 @@ { "title": "Properties", "children": [ - 3938, - 3939, - 3943, - 3944, - 3945, - 3949 + 3927, + 3928, + 3932, + 3933, + 3934, + 3938 ] } ] @@ -79964,21 +79750,21 @@ ] }, { - "id": 3950, + "id": 3939, "name": "findWithRelationsAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3951, + "id": 3940, "name": "findWithRelationsAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3952, + "id": 3941, "name": "relations", "variant": "param", "kind": 32768, @@ -79993,7 +79779,7 @@ "defaultValue": "[]" }, { - "id": 3953, + "id": 3942, "name": "idsOrOptionsWithoutRelations", "variant": "param", "kind": 32768, @@ -80046,21 +79832,21 @@ ] }, { - "id": 3954, + "id": 3943, "name": "findWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3955, + "id": 3944, "name": "findWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3956, + "id": 3945, "name": "relations", "variant": "param", "kind": 32768, @@ -80075,7 +79861,7 @@ "defaultValue": "[]" }, { - "id": 3957, + "id": 3946, "name": "idsOrOptionsWithoutRelations", "variant": "param", "kind": 32768, @@ -80104,7 +79890,7 @@ "defaultValue": "..." }, { - "id": 3958, + "id": 3947, "name": "withDeleted", "variant": "param", "kind": 32768, @@ -80143,21 +79929,21 @@ ] }, { - "id": 3959, + "id": 3948, "name": "findOneWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3960, + "id": 3949, "name": "findOneWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3961, + "id": 3950, "name": "relations", "variant": "param", "kind": 32768, @@ -80172,7 +79958,7 @@ "defaultValue": "[]" }, { - "id": 3962, + "id": 3951, "name": "optionsWithoutRelations", "variant": "param", "kind": 32768, @@ -80213,21 +79999,21 @@ ] }, { - "id": 3963, + "id": 3952, "name": "bulkAddToCollection", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3964, + "id": 3953, "name": "bulkAddToCollection", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3965, + "id": 3954, "name": "productIds", "variant": "param", "kind": 32768, @@ -80241,7 +80027,7 @@ } }, { - "id": 3966, + "id": 3955, "name": "collectionId", "variant": "param", "kind": 32768, @@ -80279,21 +80065,21 @@ ] }, { - "id": 3967, + "id": 3956, "name": "bulkRemoveFromCollection", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3968, + "id": 3957, "name": "bulkRemoveFromCollection", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3969, + "id": 3958, "name": "productIds", "variant": "param", "kind": 32768, @@ -80307,7 +80093,7 @@ } }, { - "id": 3970, + "id": 3959, "name": "collectionId", "variant": "param", "kind": 32768, @@ -80345,21 +80131,21 @@ ] }, { - "id": 3971, + "id": 3960, "name": "getFreeTextSearchResultsAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3972, + "id": 3961, "name": "getFreeTextSearchResultsAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3973, + "id": 3962, "name": "q", "variant": "param", "kind": 32768, @@ -80370,7 +80156,7 @@ } }, { - "id": 3974, + "id": 3963, "name": "options", "variant": "param", "kind": 32768, @@ -80387,7 +80173,7 @@ "defaultValue": "..." }, { - "id": 3975, + "id": 3964, "name": "relations", "variant": "param", "kind": 32768, @@ -80438,21 +80224,21 @@ ] }, { - "id": 3976, + "id": 3965, "name": "getCategoryIdsFromInput", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3977, + "id": 3966, "name": "getCategoryIdsFromInput", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3978, + "id": 3967, "name": "categoryId", "variant": "param", "kind": 32768, @@ -80470,7 +80256,7 @@ } }, { - "id": 3979, + "id": 3968, "name": "includeCategoryChildren", "variant": "param", "kind": 32768, @@ -80504,21 +80290,21 @@ ] }, { - "id": 3980, + "id": 3969, "name": "getCategoryIdsRecursively", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3981, + "id": 3970, "name": "getCategoryIdsRecursively", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3982, + "id": 3971, "name": "productCategory", "variant": "param", "kind": 32768, @@ -80545,21 +80331,21 @@ ] }, { - "id": 3983, + "id": 3972, "name": "_findWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3984, + "id": 3973, "name": "_findWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3985, + "id": 3974, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -80567,14 +80353,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3986, + "id": 3975, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3987, + "id": 3976, "name": "relations", "variant": "declaration", "kind": 1024, @@ -80589,7 +80375,7 @@ "defaultValue": "[]" }, { - "id": 3988, + "id": 3977, "name": "idsOrOptionsWithoutRelations", "variant": "declaration", "kind": 1024, @@ -80618,7 +80404,7 @@ "defaultValue": "..." }, { - "id": 3989, + "id": 3978, "name": "withDeleted", "variant": "declaration", "kind": 1024, @@ -80630,7 +80416,7 @@ "defaultValue": "false" }, { - "id": 3990, + "id": 3979, "name": "shouldCount", "variant": "declaration", "kind": 1024, @@ -80646,10 +80432,10 @@ { "title": "Properties", "children": [ - 3987, - 3988, - 3989, - 3990 + 3976, + 3977, + 3978, + 3979 ] } ] @@ -80693,21 +80479,21 @@ ] }, { - "id": 3991, + "id": 3980, "name": "isProductInSalesChannels", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3992, + "id": 3981, "name": "isProductInSalesChannels", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3993, + "id": 3982, "name": "id", "variant": "param", "kind": 32768, @@ -80718,7 +80504,7 @@ } }, { - "id": 3994, + "id": 3983, "name": "salesChannelIds", "variant": "param", "kind": 32768, @@ -80751,21 +80537,21 @@ ] }, { - "id": 3995, + "id": 3984, "name": "_applyCategoriesQuery", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3996, + "id": 3985, "name": "_applyCategoriesQuery", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3997, + "id": 3986, "name": "qb", "variant": "param", "kind": 32768, @@ -80792,7 +80578,7 @@ } }, { - "id": 3998, + "id": 3987, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -80800,14 +80586,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3999, + "id": 3988, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4000, + "id": 3989, "name": "alias", "variant": "declaration", "kind": 1024, @@ -80818,7 +80604,7 @@ } }, { - "id": 4001, + "id": 3990, "name": "categoryAlias", "variant": "declaration", "kind": 1024, @@ -80829,7 +80615,7 @@ } }, { - "id": 4002, + "id": 3991, "name": "where", "variant": "declaration", "kind": 1024, @@ -80840,7 +80626,7 @@ } }, { - "id": 4003, + "id": 3992, "name": "joinName", "variant": "declaration", "kind": 1024, @@ -80855,10 +80641,10 @@ { "title": "Properties", "children": [ - 4000, - 4001, - 4002, - 4003 + 3989, + 3990, + 3991, + 3992 ] } ] @@ -80894,19 +80680,19 @@ { "title": "Methods", "children": [ - 3930, - 3934, - 3950, - 3954, - 3959, - 3963, - 3967, - 3971, - 3976, + 3919, + 3923, + 3939, + 3943, + 3948, + 3952, + 3956, + 3960, + 3965, + 3969, + 3972, 3980, - 3983, - 3991, - 3995 + 3984 ] } ] @@ -80916,7 +80702,7 @@ } }, { - "id": 3911, + "id": 3900, "name": "Events", "variant": "declaration", "kind": 1024, @@ -80927,14 +80713,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3912, + "id": 3901, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3913, + "id": 3902, "name": "CREATED", "variant": "declaration", "kind": 1024, @@ -80946,7 +80732,7 @@ "defaultValue": "\"product-collection.created\"" }, { - "id": 3914, + "id": 3903, "name": "UPDATED", "variant": "declaration", "kind": 1024, @@ -80958,7 +80744,7 @@ "defaultValue": "\"product-collection.updated\"" }, { - "id": 3915, + "id": 3904, "name": "DELETED", "variant": "declaration", "kind": 1024, @@ -80970,7 +80756,7 @@ "defaultValue": "\"product-collection.deleted\"" }, { - "id": 3916, + "id": 3905, "name": "PRODUCTS_ADDED", "variant": "declaration", "kind": 1024, @@ -80982,7 +80768,7 @@ "defaultValue": "\"product-collection.products_added\"" }, { - "id": 3917, + "id": 3906, "name": "PRODUCTS_REMOVED", "variant": "declaration", "kind": 1024, @@ -80998,11 +80784,11 @@ { "title": "Properties", "children": [ - 3913, - 3914, - 3915, - 3916, - 3917 + 3902, + 3903, + 3904, + 3905, + 3906 ] } ] @@ -81011,21 +80797,21 @@ "defaultValue": "..." }, { - "id": 3918, + "id": 3907, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 3919, + "id": 3908, "name": "new ProductCollectionService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 3920, + "id": 3909, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -81043,7 +80829,7 @@ ], "type": { "type": "reference", - "target": 3910, + "target": 3899, "name": "ProductCollectionService", "package": "@medusajs/medusa" }, @@ -81061,14 +80847,14 @@ } }, { - "id": 4004, + "id": 3993, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4005, + "id": 3994, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -81094,7 +80880,7 @@ }, "parameters": [ { - "id": 4006, + "id": 3995, "name": "collectionId", "variant": "param", "kind": 32768, @@ -81113,7 +80899,7 @@ } }, { - "id": 4007, + "id": 3996, "name": "config", "variant": "param", "kind": 32768, @@ -81173,14 +80959,14 @@ ] }, { - "id": 4008, + "id": 3997, "name": "retrieveByHandle", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4009, + "id": 3998, "name": "retrieveByHandle", "variant": "signature", "kind": 4096, @@ -81206,7 +80992,7 @@ }, "parameters": [ { - "id": 4010, + "id": 3999, "name": "collectionHandle", "variant": "param", "kind": 32768, @@ -81225,7 +81011,7 @@ } }, { - "id": 4011, + "id": 4000, "name": "config", "variant": "param", "kind": 32768, @@ -81285,14 +81071,14 @@ ] }, { - "id": 4012, + "id": 4001, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4013, + "id": 4002, "name": "create", "variant": "signature", "kind": 4096, @@ -81318,7 +81104,7 @@ }, "parameters": [ { - "id": 4014, + "id": 4003, "name": "collection", "variant": "param", "kind": 32768, @@ -81366,14 +81152,14 @@ ] }, { - "id": 4015, + "id": 4004, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4016, + "id": 4005, "name": "update", "variant": "signature", "kind": 4096, @@ -81399,7 +81185,7 @@ }, "parameters": [ { - "id": 4017, + "id": 4006, "name": "collectionId", "variant": "param", "kind": 32768, @@ -81418,7 +81204,7 @@ } }, { - "id": 4018, + "id": 4007, "name": "update", "variant": "param", "kind": 32768, @@ -81466,14 +81252,14 @@ ] }, { - "id": 4019, + "id": 4008, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4020, + "id": 4009, "name": "delete", "variant": "signature", "kind": 4096, @@ -81499,7 +81285,7 @@ }, "parameters": [ { - "id": 4021, + "id": 4010, "name": "collectionId", "variant": "param", "kind": 32768, @@ -81537,21 +81323,21 @@ ] }, { - "id": 4022, + "id": 4011, "name": "addProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4023, + "id": 4012, "name": "addProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4024, + "id": 4013, "name": "collectionId", "variant": "param", "kind": 32768, @@ -81562,7 +81348,7 @@ } }, { - "id": 4025, + "id": 4014, "name": "productIds", "variant": "param", "kind": 32768, @@ -81600,21 +81386,21 @@ ] }, { - "id": 4026, + "id": 4015, "name": "removeProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4027, + "id": 4016, "name": "removeProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4028, + "id": 4017, "name": "collectionId", "variant": "param", "kind": 32768, @@ -81625,7 +81411,7 @@ } }, { - "id": 4029, + "id": 4018, "name": "productIds", "variant": "param", "kind": 32768, @@ -81658,14 +81444,14 @@ ] }, { - "id": 4030, + "id": 4019, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4031, + "id": 4020, "name": "list", "variant": "signature", "kind": 4096, @@ -81691,7 +81477,7 @@ }, "parameters": [ { - "id": 4032, + "id": 4021, "name": "selector", "variant": "param", "kind": 32768, @@ -81730,14 +81516,14 @@ { "type": "reflection", "declaration": { - "id": 4033, + "id": 4022, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4034, + "id": 4023, "name": "q", "variant": "declaration", "kind": 1024, @@ -81750,7 +81536,7 @@ } }, { - "id": 4035, + "id": 4024, "name": "discount_condition_id", "variant": "declaration", "kind": 1024, @@ -81767,8 +81553,8 @@ { "title": "Properties", "children": [ - 4034, - 4035 + 4023, + 4024 ] } ] @@ -81779,7 +81565,7 @@ "defaultValue": "{}" }, { - "id": 4036, + "id": 4025, "name": "config", "variant": "param", "kind": 32768, @@ -81795,14 +81581,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4037, + "id": 4026, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4038, + "id": 4027, "name": "skip", "variant": "declaration", "kind": 1024, @@ -81814,7 +81600,7 @@ "defaultValue": "0" }, { - "id": 4039, + "id": 4028, "name": "take", "variant": "declaration", "kind": 1024, @@ -81830,8 +81616,8 @@ { "title": "Properties", "children": [ - 4038, - 4039 + 4027, + 4028 ] } ] @@ -81867,14 +81653,14 @@ ] }, { - "id": 4040, + "id": 4029, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4041, + "id": 4030, "name": "listAndCount", "variant": "signature", "kind": 4096, @@ -81900,7 +81686,7 @@ }, "parameters": [ { - "id": 4042, + "id": 4031, "name": "selector", "variant": "param", "kind": 32768, @@ -81925,7 +81711,7 @@ "defaultValue": "{}" }, { - "id": 4043, + "id": 4032, "name": "config", "variant": "param", "kind": 32768, @@ -82001,44 +81787,44 @@ { "title": "Constructors", "children": [ - 3918 + 3907 ] }, { "title": "Properties", "children": [ - 4044, - 4045, - 4048, - 4049, - 4050, - 3921, - 3922, - 3928, - 3911 + 4033, + 4034, + 4037, + 4038, + 4039, + 3910, + 3911, + 3917, + 3900 ] }, { "title": "Accessors", "children": [ - 4046 + 4035 ] }, { "title": "Methods", "children": [ - 4051, - 4054, - 4059, + 4040, + 4043, + 4048, + 3993, + 3997, + 4001, 4004, 4008, - 4012, + 4011, 4015, 4019, - 4022, - 4026, - 4030, - 4040 + 4029 ] } ], @@ -82055,14 +81841,14 @@ ] }, { - "id": 4075, + "id": 4064, "name": "ProductTypeService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4108, + "id": 4097, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -82085,7 +81871,7 @@ } }, { - "id": 4109, + "id": 4098, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -82117,7 +81903,7 @@ } }, { - "id": 4110, + "id": 4099, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -82125,7 +81911,7 @@ "isProtected": true }, "getSignature": { - "id": 4111, + "id": 4100, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -82152,7 +81938,7 @@ } }, { - "id": 4112, + "id": 4101, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -82171,7 +81957,7 @@ } }, { - "id": 4113, + "id": 4102, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -82206,7 +81992,7 @@ } }, { - "id": 4114, + "id": 4103, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -82241,21 +82027,21 @@ } }, { - "id": 4115, + "id": 4104, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4116, + "id": 4105, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4117, + "id": 4106, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -82291,7 +82077,7 @@ } }, { - "id": 4118, + "id": 4107, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -82300,14 +82086,14 @@ }, "signatures": [ { - "id": 4119, + "id": 4108, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4120, + "id": 4109, "name": "err", "variant": "param", "kind": 32768, @@ -82337,14 +82123,14 @@ { "type": "reflection", "declaration": { - "id": 4121, + "id": 4110, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4122, + "id": 4111, "name": "code", "variant": "declaration", "kind": 1024, @@ -82359,7 +82145,7 @@ { "title": "Properties", "children": [ - 4122 + 4111 ] } ] @@ -82387,7 +82173,7 @@ } }, { - "id": 4123, + "id": 4112, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -82396,7 +82182,7 @@ }, "signatures": [ { - "id": 4124, + "id": 4113, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -82422,14 +82208,14 @@ }, "typeParameter": [ { - "id": 4125, + "id": 4114, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 4126, + "id": 4115, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -82438,7 +82224,7 @@ ], "parameters": [ { - "id": 4127, + "id": 4116, "name": "work", "variant": "param", "kind": 32768, @@ -82454,21 +82240,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4128, + "id": 4117, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4129, + "id": 4118, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4130, + "id": 4119, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -82508,7 +82294,7 @@ } }, { - "id": 4131, + "id": 4120, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -82538,21 +82324,21 @@ { "type": "reflection", "declaration": { - "id": 4132, + "id": 4121, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4133, + "id": 4122, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4134, + "id": 4123, "name": "error", "variant": "param", "kind": 32768, @@ -82601,7 +82387,7 @@ } }, { - "id": 4135, + "id": 4124, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -82619,21 +82405,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4136, + "id": 4125, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4137, + "id": 4126, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4138, + "id": 4127, "name": "error", "variant": "param", "kind": 32768, @@ -82712,7 +82498,7 @@ } }, { - "id": 4081, + "id": 4070, "name": "typeRepository_", "variant": "declaration", "kind": 1024, @@ -82746,28 +82532,28 @@ { "type": "reflection", "declaration": { - "id": 4082, + "id": 4071, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4083, + "id": 4072, "name": "upsertType", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4084, + "id": 4073, "name": "upsertType", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4085, + "id": 4074, "name": "type", "variant": "param", "kind": 32768, @@ -82818,21 +82604,21 @@ ] }, { - "id": 4086, + "id": 4075, "name": "findAndCountByDiscountConditionId", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4087, + "id": 4076, "name": "findAndCountByDiscountConditionId", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4088, + "id": 4077, "name": "conditionId", "variant": "param", "kind": 32768, @@ -82843,7 +82629,7 @@ } }, { - "id": 4089, + "id": 4078, "name": "query", "variant": "param", "kind": 32768, @@ -82910,8 +82696,8 @@ { "title": "Methods", "children": [ - 4083, - 4086 + 4072, + 4075 ] } ] @@ -82921,21 +82707,21 @@ } }, { - "id": 4076, + "id": 4065, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4077, + "id": 4066, "name": "new ProductTypeService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 4078, + "id": 4067, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -82943,14 +82729,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4079, + "id": 4068, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4080, + "id": 4069, "name": "productTypeRepository", "variant": "declaration", "kind": 1024, @@ -82965,7 +82751,7 @@ { "title": "Properties", "children": [ - 4080 + 4069 ] } ] @@ -82975,7 +82761,7 @@ ], "type": { "type": "reference", - "target": 4075, + "target": 4064, "name": "ProductTypeService", "package": "@medusajs/medusa" }, @@ -82993,14 +82779,14 @@ } }, { - "id": 4090, + "id": 4079, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4091, + "id": 4080, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -83026,7 +82812,7 @@ }, "parameters": [ { - "id": 4092, + "id": 4081, "name": "id", "variant": "param", "kind": 32768, @@ -83045,7 +82831,7 @@ } }, { - "id": 4093, + "id": 4082, "name": "config", "variant": "param", "kind": 32768, @@ -83105,14 +82891,14 @@ ] }, { - "id": 4094, + "id": 4083, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4095, + "id": 4084, "name": "list", "variant": "signature", "kind": 4096, @@ -83138,7 +82924,7 @@ }, "parameters": [ { - "id": 4096, + "id": 4085, "name": "selector", "variant": "param", "kind": 32768, @@ -83177,14 +82963,14 @@ { "type": "reflection", "declaration": { - "id": 4097, + "id": 4086, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4098, + "id": 4087, "name": "q", "variant": "declaration", "kind": 1024, @@ -83197,7 +82983,7 @@ } }, { - "id": 4099, + "id": 4088, "name": "discount_condition_id", "variant": "declaration", "kind": 1024, @@ -83214,8 +83000,8 @@ { "title": "Properties", "children": [ - 4098, - 4099 + 4087, + 4088 ] } ] @@ -83226,7 +83012,7 @@ "defaultValue": "{}" }, { - "id": 4100, + "id": 4089, "name": "config", "variant": "param", "kind": 32768, @@ -83289,14 +83075,14 @@ ] }, { - "id": 4101, + "id": 4090, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4102, + "id": 4091, "name": "listAndCount", "variant": "signature", "kind": 4096, @@ -83322,7 +83108,7 @@ }, "parameters": [ { - "id": 4103, + "id": 4092, "name": "selector", "variant": "param", "kind": 32768, @@ -83361,14 +83147,14 @@ { "type": "reflection", "declaration": { - "id": 4104, + "id": 4093, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4105, + "id": 4094, "name": "q", "variant": "declaration", "kind": 1024, @@ -83381,7 +83167,7 @@ } }, { - "id": 4106, + "id": 4095, "name": "discount_condition_id", "variant": "declaration", "kind": 1024, @@ -83398,8 +83184,8 @@ { "title": "Properties", "children": [ - 4105, - 4106 + 4094, + 4095 ] } ] @@ -83410,7 +83196,7 @@ "defaultValue": "{}" }, { - "id": 4107, + "id": 4096, "name": "config", "variant": "param", "kind": 32768, @@ -83486,35 +83272,35 @@ { "title": "Constructors", "children": [ - 4076 + 4065 ] }, { "title": "Properties", "children": [ - 4108, - 4109, - 4112, - 4113, - 4114, - 4081 + 4097, + 4098, + 4101, + 4102, + 4103, + 4070 ] }, { "title": "Accessors", "children": [ - 4110 + 4099 ] }, { "title": "Methods", "children": [ - 4115, - 4118, - 4123, - 4090, - 4094, - 4101 + 4104, + 4107, + 4112, + 4079, + 4083, + 4090 ] } ], @@ -83531,14 +83317,14 @@ ] }, { - "id": 4486, + "id": 4475, "name": "ProductVariantInventoryService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4583, + "id": 4572, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -83546,7 +83332,7 @@ "isProtected": true }, "getSignature": { - "id": 4584, + "id": 4573, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -83573,7 +83359,7 @@ } }, { - "id": 4585, + "id": 4574, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -83592,7 +83378,7 @@ } }, { - "id": 4586, + "id": 4575, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -83627,7 +83413,7 @@ } }, { - "id": 4587, + "id": 4576, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -83662,21 +83448,21 @@ } }, { - "id": 4588, + "id": 4577, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4589, + "id": 4578, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4590, + "id": 4579, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -83712,7 +83498,7 @@ } }, { - "id": 4591, + "id": 4580, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -83721,14 +83507,14 @@ }, "signatures": [ { - "id": 4592, + "id": 4581, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4593, + "id": 4582, "name": "err", "variant": "param", "kind": 32768, @@ -83758,14 +83544,14 @@ { "type": "reflection", "declaration": { - "id": 4594, + "id": 4583, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4595, + "id": 4584, "name": "code", "variant": "declaration", "kind": 1024, @@ -83780,7 +83566,7 @@ { "title": "Properties", "children": [ - 4595 + 4584 ] } ] @@ -83808,7 +83594,7 @@ } }, { - "id": 4596, + "id": 4585, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -83817,7 +83603,7 @@ }, "signatures": [ { - "id": 4597, + "id": 4586, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -83843,14 +83629,14 @@ }, "typeParameter": [ { - "id": 4598, + "id": 4587, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 4599, + "id": 4588, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -83859,7 +83645,7 @@ ], "parameters": [ { - "id": 4600, + "id": 4589, "name": "work", "variant": "param", "kind": 32768, @@ -83875,21 +83661,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4601, + "id": 4590, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4602, + "id": 4591, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4603, + "id": 4592, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -83929,7 +83715,7 @@ } }, { - "id": 4604, + "id": 4593, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -83959,21 +83745,21 @@ { "type": "reflection", "declaration": { - "id": 4605, + "id": 4594, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4606, + "id": 4595, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4607, + "id": 4596, "name": "error", "variant": "param", "kind": 32768, @@ -84022,7 +83808,7 @@ } }, { - "id": 4608, + "id": 4597, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -84040,21 +83826,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4609, + "id": 4598, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4610, + "id": 4599, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4611, + "id": 4600, "name": "error", "variant": "param", "kind": 32768, @@ -84133,7 +83919,7 @@ } }, { - "id": 4490, + "id": 4479, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -84156,7 +83942,7 @@ } }, { - "id": 4491, + "id": 4480, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -84188,7 +83974,7 @@ } }, { - "id": 4492, + "id": 4481, "name": "salesChannelLocationService_", "variant": "declaration", "kind": 1024, @@ -84198,13 +83984,13 @@ }, "type": { "type": "reference", - "target": 5055, + "target": 5044, "name": "SalesChannelLocationService", "package": "@medusajs/medusa" } }, { - "id": 4493, + "id": 4482, "name": "salesChannelInventoryService_", "variant": "declaration", "kind": 1024, @@ -84214,13 +84000,13 @@ }, "type": { "type": "reference", - "target": 5012, + "target": 5001, "name": "SalesChannelInventoryService", "package": "@medusajs/medusa" } }, { - "id": 4494, + "id": 4483, "name": "productVariantService_", "variant": "declaration", "kind": 1024, @@ -84230,13 +84016,13 @@ }, "type": { "type": "reference", - "target": 4139, + "target": 4128, "name": "ProductVariantService", "package": "@medusajs/medusa" } }, { - "id": 4495, + "id": 4484, "name": "eventBusService_", "variant": "declaration", "kind": 1024, @@ -84255,7 +84041,7 @@ } }, { - "id": 4496, + "id": 4485, "name": "featureFlagRouter_", "variant": "declaration", "kind": 1024, @@ -84266,7 +84052,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/feature-flags/utils/flag-router.d.ts", + "sourceFileName": "../../../packages/utils/src/feature-flags/utils/flag-router.ts", "qualifiedName": "FlagRouter" }, "name": "FlagRouter", @@ -84274,7 +84060,7 @@ } }, { - "id": 4497, + "id": 4486, "name": "remoteQuery_", "variant": "declaration", "kind": 1024, @@ -84293,7 +84079,7 @@ } }, { - "id": 4498, + "id": 4487, "name": "inventoryService_", "variant": "declaration", "kind": 262144, @@ -84301,7 +84087,7 @@ "isProtected": true }, "getSignature": { - "id": 4499, + "id": 4488, "name": "inventoryService_", "variant": "signature", "kind": 524288, @@ -84318,7 +84104,7 @@ } }, { - "id": 4500, + "id": 4489, "name": "stockLocationService_", "variant": "declaration", "kind": 262144, @@ -84326,7 +84112,7 @@ "isProtected": true }, "getSignature": { - "id": 4501, + "id": 4490, "name": "stockLocationService_", "variant": "signature", "kind": 524288, @@ -84343,21 +84129,21 @@ } }, { - "id": 4487, + "id": 4476, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4488, + "id": 4477, "name": "new ProductVariantInventoryService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 4489, + "id": 4478, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -84375,7 +84161,7 @@ ], "type": { "type": "reference", - "target": 4486, + "target": 4475, "name": "ProductVariantInventoryService", "package": "@medusajs/medusa" }, @@ -84393,14 +84179,14 @@ } }, { - "id": 4502, + "id": 4491, "name": "confirmInventory", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4503, + "id": 4492, "name": "confirmInventory", "variant": "signature", "kind": 4096, @@ -84426,7 +84212,7 @@ }, "parameters": [ { - "id": 4504, + "id": 4493, "name": "variantId", "variant": "param", "kind": 32768, @@ -84445,7 +84231,7 @@ } }, { - "id": 4505, + "id": 4494, "name": "quantity", "variant": "param", "kind": 32768, @@ -84464,7 +84250,7 @@ } }, { - "id": 4506, + "id": 4495, "name": "context", "variant": "param", "kind": 32768, @@ -84480,14 +84266,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4507, + "id": 4496, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4508, + "id": 4497, "name": "salesChannelId", "variant": "declaration", "kind": 1024, @@ -84513,7 +84299,7 @@ { "title": "Properties", "children": [ - 4508 + 4497 ] } ] @@ -84546,14 +84332,14 @@ ] }, { - "id": 4509, + "id": 4498, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4510, + "id": 4499, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -84579,7 +84365,7 @@ }, "parameters": [ { - "id": 4511, + "id": 4500, "name": "inventoryItemId", "variant": "param", "kind": 32768, @@ -84598,7 +84384,7 @@ } }, { - "id": 4512, + "id": 4501, "name": "variantId", "variant": "param", "kind": 32768, @@ -84641,14 +84427,14 @@ ] }, { - "id": 4513, + "id": 4502, "name": "listByItem", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4514, + "id": 4503, "name": "listByItem", "variant": "signature", "kind": 4096, @@ -84674,7 +84460,7 @@ }, "parameters": [ { - "id": 4515, + "id": 4504, "name": "itemIds", "variant": "param", "kind": 32768, @@ -84723,7 +84509,7 @@ ] }, { - "id": 4516, + "id": 4505, "name": "listByVariant", "variant": "declaration", "kind": 2048, @@ -84732,7 +84518,7 @@ }, "signatures": [ { - "id": 4517, + "id": 4506, "name": "listByVariant", "variant": "signature", "kind": 4096, @@ -84758,7 +84544,7 @@ }, "parameters": [ { - "id": 4518, + "id": 4507, "name": "variantId", "variant": "param", "kind": 32768, @@ -84816,14 +84602,14 @@ ] }, { - "id": 4519, + "id": 4508, "name": "listVariantsByItem", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4520, + "id": 4509, "name": "listVariantsByItem", "variant": "signature", "kind": 4096, @@ -84849,7 +84635,7 @@ }, "parameters": [ { - "id": 4521, + "id": 4510, "name": "itemId", "variant": "param", "kind": 32768, @@ -84895,14 +84681,14 @@ ] }, { - "id": 4522, + "id": 4511, "name": "listInventoryItemsByVariant", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4523, + "id": 4512, "name": "listInventoryItemsByVariant", "variant": "signature", "kind": 4096, @@ -84928,7 +84714,7 @@ }, "parameters": [ { - "id": 4524, + "id": 4513, "name": "variantId", "variant": "param", "kind": 32768, @@ -84974,14 +84760,14 @@ ] }, { - "id": 4525, + "id": 4514, "name": "attachInventoryItem", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4526, + "id": 4515, "name": "attachInventoryItem", "variant": "signature", "kind": 4096, @@ -85007,7 +84793,7 @@ }, "parameters": [ { - "id": 4527, + "id": 4516, "name": "attachments", "variant": "param", "kind": 32768, @@ -85017,14 +84803,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 4528, + "id": 4517, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4529, + "id": 4518, "name": "variantId", "variant": "declaration", "kind": 1024, @@ -85043,7 +84829,7 @@ } }, { - "id": 4530, + "id": 4519, "name": "inventoryItemId", "variant": "declaration", "kind": 1024, @@ -85062,7 +84848,7 @@ } }, { - "id": 4531, + "id": 4520, "name": "requiredQuantity", "variant": "declaration", "kind": 1024, @@ -85087,9 +84873,9 @@ { "title": "Properties", "children": [ - 4529, - 4530, - 4531 + 4518, + 4519, + 4520 ] } ] @@ -85123,14 +84909,14 @@ } }, { - "id": 4532, + "id": 4521, "name": "attachInventoryItem", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4533, + "id": 4522, "name": "variantId", "variant": "param", "kind": 32768, @@ -85141,7 +84927,7 @@ } }, { - "id": 4534, + "id": 4523, "name": "inventoryItemId", "variant": "param", "kind": 32768, @@ -85152,7 +84938,7 @@ } }, { - "id": 4535, + "id": 4524, "name": "requiredQuantity", "variant": "param", "kind": 32768, @@ -85192,14 +84978,14 @@ ] }, { - "id": 4536, + "id": 4525, "name": "detachInventoryItem", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4537, + "id": 4526, "name": "detachInventoryItem", "variant": "signature", "kind": 4096, @@ -85214,7 +85000,7 @@ }, "parameters": [ { - "id": 4538, + "id": 4527, "name": "inventoryItemId", "variant": "param", "kind": 32768, @@ -85233,7 +85019,7 @@ } }, { - "id": 4539, + "id": 4528, "name": "variantId", "variant": "param", "kind": 32768, @@ -85273,14 +85059,14 @@ ] }, { - "id": 4540, + "id": 4529, "name": "reserveQuantity", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4541, + "id": 4530, "name": "reserveQuantity", "variant": "signature", "kind": 4096, @@ -85295,7 +85081,7 @@ }, "parameters": [ { - "id": 4542, + "id": 4531, "name": "variantId", "variant": "param", "kind": 32768, @@ -85314,7 +85100,7 @@ } }, { - "id": 4543, + "id": 4532, "name": "quantity", "variant": "param", "kind": 32768, @@ -85333,7 +85119,7 @@ } }, { - "id": 4544, + "id": 4533, "name": "context", "variant": "param", "kind": 32768, @@ -85394,14 +85180,14 @@ ] }, { - "id": 4545, + "id": 4534, "name": "adjustReservationsQuantityByLineItem", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4546, + "id": 4535, "name": "adjustReservationsQuantityByLineItem", "variant": "signature", "kind": 4096, @@ -85416,7 +85202,7 @@ }, "parameters": [ { - "id": 4547, + "id": 4536, "name": "lineItemId", "variant": "param", "kind": 32768, @@ -85435,7 +85221,7 @@ } }, { - "id": 4548, + "id": 4537, "name": "variantId", "variant": "param", "kind": 32768, @@ -85454,7 +85240,7 @@ } }, { - "id": 4549, + "id": 4538, "name": "locationId", "variant": "param", "kind": 32768, @@ -85473,7 +85259,7 @@ } }, { - "id": 4550, + "id": 4539, "name": "quantity", "variant": "param", "kind": 32768, @@ -85511,14 +85297,14 @@ ] }, { - "id": 4551, + "id": 4540, "name": "validateInventoryAtLocation", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4552, + "id": 4541, "name": "validateInventoryAtLocation", "variant": "signature", "kind": 4096, @@ -85544,7 +85330,7 @@ }, "parameters": [ { - "id": 4553, + "id": 4542, "name": "items", "variant": "param", "kind": 32768, @@ -85586,7 +85372,7 @@ } }, { - "id": 4554, + "id": 4543, "name": "locationId", "variant": "param", "kind": 32768, @@ -85624,14 +85410,14 @@ ] }, { - "id": 4555, + "id": 4544, "name": "deleteReservationsByLineItem", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4556, + "id": 4545, "name": "deleteReservationsByLineItem", "variant": "signature", "kind": 4096, @@ -85646,7 +85432,7 @@ }, "parameters": [ { - "id": 4557, + "id": 4546, "name": "lineItemId", "variant": "param", "kind": 32768, @@ -85677,7 +85463,7 @@ } }, { - "id": 4558, + "id": 4547, "name": "variantId", "variant": "param", "kind": 32768, @@ -85696,7 +85482,7 @@ } }, { - "id": 4559, + "id": 4548, "name": "quantity", "variant": "param", "kind": 32768, @@ -85734,14 +85520,14 @@ ] }, { - "id": 4560, + "id": 4549, "name": "adjustInventory", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4561, + "id": 4550, "name": "adjustInventory", "variant": "signature", "kind": 4096, @@ -85756,7 +85542,7 @@ }, "parameters": [ { - "id": 4562, + "id": 4551, "name": "variantId", "variant": "param", "kind": 32768, @@ -85775,7 +85561,7 @@ } }, { - "id": 4563, + "id": 4552, "name": "locationId", "variant": "param", "kind": 32768, @@ -85794,7 +85580,7 @@ } }, { - "id": 4564, + "id": 4553, "name": "quantity", "variant": "param", "kind": 32768, @@ -85832,21 +85618,21 @@ ] }, { - "id": 4565, + "id": 4554, "name": "setVariantAvailability", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4566, + "id": 4555, "name": "setVariantAvailability", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4567, + "id": 4556, "name": "variants", "variant": "param", "kind": 32768, @@ -85882,7 +85668,7 @@ } }, { - "id": 4568, + "id": 4557, "name": "salesChannelId", "variant": "param", "kind": 32768, @@ -85909,7 +85695,7 @@ } }, { - "id": 4569, + "id": 4558, "name": "availabilityContext", "variant": "param", "kind": 32768, @@ -85970,7 +85756,7 @@ ] }, { - "id": 4570, + "id": 4559, "name": "getAvailabilityContext", "variant": "declaration", "kind": 2048, @@ -85979,14 +85765,14 @@ }, "signatures": [ { - "id": 4571, + "id": 4560, "name": "getAvailabilityContext", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4572, + "id": 4561, "name": "variants", "variant": "param", "kind": 32768, @@ -86000,7 +85786,7 @@ } }, { - "id": 4573, + "id": 4562, "name": "salesChannelId", "variant": "param", "kind": 32768, @@ -86027,7 +85813,7 @@ } }, { - "id": 4574, + "id": 4563, "name": "existingContext", "variant": "param", "kind": 32768, @@ -86079,21 +85865,21 @@ ] }, { - "id": 4575, + "id": 4564, "name": "setProductAvailability", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4576, + "id": 4565, "name": "setProductAvailability", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4577, + "id": 4566, "name": "products", "variant": "param", "kind": 32768, @@ -86126,7 +85912,7 @@ } }, { - "id": 4578, + "id": 4567, "name": "salesChannelId", "variant": "param", "kind": 32768, @@ -86194,14 +85980,14 @@ ] }, { - "id": 4579, + "id": 4568, "name": "getVariantQuantityFromVariantInventoryItems", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4580, + "id": 4569, "name": "getVariantQuantityFromVariantInventoryItems", "variant": "signature", "kind": 4096, @@ -86227,7 +86013,7 @@ }, "parameters": [ { - "id": 4581, + "id": 4570, "name": "variantInventoryItems", "variant": "param", "kind": 32768, @@ -86254,7 +86040,7 @@ } }, { - "id": 4582, + "id": 4571, "name": "channelId", "variant": "param", "kind": 32768, @@ -86296,56 +86082,56 @@ { "title": "Constructors", "children": [ - 4487 + 4476 ] }, { "title": "Properties", "children": [ - 4585, - 4586, - 4587, - 4490, - 4491, - 4492, - 4493, - 4494, - 4495, - 4496, - 4497 + 4574, + 4575, + 4576, + 4479, + 4480, + 4481, + 4482, + 4483, + 4484, + 4485, + 4486 ] }, { "title": "Accessors", "children": [ - 4583, - 4498, - 4500 + 4572, + 4487, + 4489 ] }, { "title": "Methods", "children": [ - 4588, - 4591, - 4596, + 4577, + 4580, + 4585, + 4491, + 4498, 4502, - 4509, - 4513, - 4516, - 4519, - 4522, + 4505, + 4508, + 4511, + 4514, 4525, - 4536, + 4529, + 4534, 4540, - 4545, - 4551, - 4555, - 4560, - 4565, - 4570, - 4575, - 4579 + 4544, + 4549, + 4554, + 4559, + 4564, + 4568 ] } ], @@ -86362,14 +86148,14 @@ ] }, { - "id": 4139, + "id": 4128, "name": "ProductVariantService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4455, + "id": 4444, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -86392,7 +86178,7 @@ } }, { - "id": 4456, + "id": 4445, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -86424,7 +86210,7 @@ } }, { - "id": 4457, + "id": 4446, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -86432,7 +86218,7 @@ "isProtected": true }, "getSignature": { - "id": 4458, + "id": 4447, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -86459,7 +86245,7 @@ } }, { - "id": 4459, + "id": 4448, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -86478,7 +86264,7 @@ } }, { - "id": 4460, + "id": 4449, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -86513,7 +86299,7 @@ } }, { - "id": 4461, + "id": 4450, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -86548,21 +86334,21 @@ } }, { - "id": 4462, + "id": 4451, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4463, + "id": 4452, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4464, + "id": 4453, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -86598,7 +86384,7 @@ } }, { - "id": 4465, + "id": 4454, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -86607,14 +86393,14 @@ }, "signatures": [ { - "id": 4466, + "id": 4455, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4467, + "id": 4456, "name": "err", "variant": "param", "kind": 32768, @@ -86644,14 +86430,14 @@ { "type": "reflection", "declaration": { - "id": 4468, + "id": 4457, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4469, + "id": 4458, "name": "code", "variant": "declaration", "kind": 1024, @@ -86666,7 +86452,7 @@ { "title": "Properties", "children": [ - 4469 + 4458 ] } ] @@ -86694,7 +86480,7 @@ } }, { - "id": 4470, + "id": 4459, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -86703,7 +86489,7 @@ }, "signatures": [ { - "id": 4471, + "id": 4460, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -86729,14 +86515,14 @@ }, "typeParameter": [ { - "id": 4472, + "id": 4461, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 4473, + "id": 4462, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -86745,7 +86531,7 @@ ], "parameters": [ { - "id": 4474, + "id": 4463, "name": "work", "variant": "param", "kind": 32768, @@ -86761,21 +86547,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4475, + "id": 4464, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4476, + "id": 4465, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4477, + "id": 4466, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -86815,7 +86601,7 @@ } }, { - "id": 4478, + "id": 4467, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -86845,21 +86631,21 @@ { "type": "reflection", "declaration": { - "id": 4479, + "id": 4468, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4480, + "id": 4469, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4481, + "id": 4470, "name": "error", "variant": "param", "kind": 32768, @@ -86908,7 +86694,7 @@ } }, { - "id": 4482, + "id": 4471, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -86926,21 +86712,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4483, + "id": 4472, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4484, + "id": 4473, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4485, + "id": 4474, "name": "error", "variant": "param", "kind": 32768, @@ -87019,7 +86805,7 @@ } }, { - "id": 4140, + "id": 4129, "name": "Events", "variant": "declaration", "kind": 1024, @@ -87029,14 +86815,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4141, + "id": 4130, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4142, + "id": 4131, "name": "UPDATED", "variant": "declaration", "kind": 1024, @@ -87048,7 +86834,7 @@ "defaultValue": "\"product-variant.updated\"" }, { - "id": 4143, + "id": 4132, "name": "CREATED", "variant": "declaration", "kind": 1024, @@ -87060,7 +86846,7 @@ "defaultValue": "\"product-variant.created\"" }, { - "id": 4144, + "id": 4133, "name": "DELETED", "variant": "declaration", "kind": 1024, @@ -87076,9 +86862,9 @@ { "title": "Properties", "children": [ - 4142, - 4143, - 4144 + 4131, + 4132, + 4133 ] } ] @@ -87087,7 +86873,7 @@ "defaultValue": "..." }, { - "id": 4157, + "id": 4146, "name": "productVariantRepository_", "variant": "declaration", "kind": 1024, @@ -87117,7 +86903,7 @@ } }, { - "id": 4158, + "id": 4147, "name": "productRepository_", "variant": "declaration", "kind": 1024, @@ -87151,28 +86937,28 @@ { "type": "reflection", "declaration": { - "id": 4159, + "id": 4148, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4160, + "id": 4149, "name": "queryProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4161, + "id": 4150, "name": "queryProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4162, + "id": 4151, "name": "optionsWithoutRelations", "variant": "param", "kind": 32768, @@ -87188,7 +86974,7 @@ } }, { - "id": 4163, + "id": 4152, "name": "shouldCount", "variant": "param", "kind": 32768, @@ -87236,21 +87022,21 @@ ] }, { - "id": 4164, + "id": 4153, "name": "queryProductsWithIds", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4165, + "id": 4154, "name": "queryProductsWithIds", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4166, + "id": 4155, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -87258,14 +87044,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4167, + "id": 4156, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4168, + "id": 4157, "name": "entityIds", "variant": "declaration", "kind": 1024, @@ -87279,7 +87065,7 @@ } }, { - "id": 4169, + "id": 4158, "name": "groupedRelations", "variant": "declaration", "kind": 1024, @@ -87287,20 +87073,20 @@ "type": { "type": "reflection", "declaration": { - "id": 4170, + "id": 4159, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 4171, + "id": 4160, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 4172, + "id": 4161, "name": "toplevel", "variant": "param", "kind": 32768, @@ -87323,7 +87109,7 @@ } }, { - "id": 4173, + "id": 4162, "name": "withDeleted", "variant": "declaration", "kind": 1024, @@ -87337,7 +87123,7 @@ "defaultValue": "false" }, { - "id": 4174, + "id": 4163, "name": "select", "variant": "declaration", "kind": 1024, @@ -87363,7 +87149,7 @@ "defaultValue": "[]" }, { - "id": 4175, + "id": 4164, "name": "order", "variant": "declaration", "kind": 1024, @@ -87373,20 +87159,20 @@ "type": { "type": "reflection", "declaration": { - "id": 4176, + "id": 4165, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 4177, + "id": 4166, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 4178, + "id": 4167, "name": "column", "variant": "param", "kind": 32768, @@ -87416,7 +87202,7 @@ "defaultValue": "{}" }, { - "id": 4179, + "id": 4168, "name": "where", "variant": "declaration", "kind": 1024, @@ -87450,12 +87236,12 @@ { "title": "Properties", "children": [ - 4168, - 4169, - 4173, - 4174, - 4175, - 4179 + 4157, + 4158, + 4162, + 4163, + 4164, + 4168 ] } ] @@ -87490,21 +87276,21 @@ ] }, { - "id": 4180, + "id": 4169, "name": "findWithRelationsAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4181, + "id": 4170, "name": "findWithRelationsAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4182, + "id": 4171, "name": "relations", "variant": "param", "kind": 32768, @@ -87519,7 +87305,7 @@ "defaultValue": "[]" }, { - "id": 4183, + "id": 4172, "name": "idsOrOptionsWithoutRelations", "variant": "param", "kind": 32768, @@ -87572,21 +87358,21 @@ ] }, { - "id": 4184, + "id": 4173, "name": "findWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4185, + "id": 4174, "name": "findWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4186, + "id": 4175, "name": "relations", "variant": "param", "kind": 32768, @@ -87601,7 +87387,7 @@ "defaultValue": "[]" }, { - "id": 4187, + "id": 4176, "name": "idsOrOptionsWithoutRelations", "variant": "param", "kind": 32768, @@ -87630,7 +87416,7 @@ "defaultValue": "..." }, { - "id": 4188, + "id": 4177, "name": "withDeleted", "variant": "param", "kind": 32768, @@ -87669,21 +87455,21 @@ ] }, { - "id": 4189, + "id": 4178, "name": "findOneWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4190, + "id": 4179, "name": "findOneWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4191, + "id": 4180, "name": "relations", "variant": "param", "kind": 32768, @@ -87698,7 +87484,7 @@ "defaultValue": "[]" }, { - "id": 4192, + "id": 4181, "name": "optionsWithoutRelations", "variant": "param", "kind": 32768, @@ -87739,21 +87525,21 @@ ] }, { - "id": 4193, + "id": 4182, "name": "bulkAddToCollection", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4194, + "id": 4183, "name": "bulkAddToCollection", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4195, + "id": 4184, "name": "productIds", "variant": "param", "kind": 32768, @@ -87767,7 +87553,7 @@ } }, { - "id": 4196, + "id": 4185, "name": "collectionId", "variant": "param", "kind": 32768, @@ -87805,21 +87591,21 @@ ] }, { - "id": 4197, + "id": 4186, "name": "bulkRemoveFromCollection", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4198, + "id": 4187, "name": "bulkRemoveFromCollection", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4199, + "id": 4188, "name": "productIds", "variant": "param", "kind": 32768, @@ -87833,7 +87619,7 @@ } }, { - "id": 4200, + "id": 4189, "name": "collectionId", "variant": "param", "kind": 32768, @@ -87871,21 +87657,21 @@ ] }, { - "id": 4201, + "id": 4190, "name": "getFreeTextSearchResultsAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4202, + "id": 4191, "name": "getFreeTextSearchResultsAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4203, + "id": 4192, "name": "q", "variant": "param", "kind": 32768, @@ -87896,7 +87682,7 @@ } }, { - "id": 4204, + "id": 4193, "name": "options", "variant": "param", "kind": 32768, @@ -87913,7 +87699,7 @@ "defaultValue": "..." }, { - "id": 4205, + "id": 4194, "name": "relations", "variant": "param", "kind": 32768, @@ -87964,21 +87750,21 @@ ] }, { - "id": 4206, + "id": 4195, "name": "getCategoryIdsFromInput", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4207, + "id": 4196, "name": "getCategoryIdsFromInput", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4208, + "id": 4197, "name": "categoryId", "variant": "param", "kind": 32768, @@ -87996,7 +87782,7 @@ } }, { - "id": 4209, + "id": 4198, "name": "includeCategoryChildren", "variant": "param", "kind": 32768, @@ -88030,21 +87816,21 @@ ] }, { - "id": 4210, + "id": 4199, "name": "getCategoryIdsRecursively", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4211, + "id": 4200, "name": "getCategoryIdsRecursively", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4212, + "id": 4201, "name": "productCategory", "variant": "param", "kind": 32768, @@ -88071,21 +87857,21 @@ ] }, { - "id": 4213, + "id": 4202, "name": "_findWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4214, + "id": 4203, "name": "_findWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4215, + "id": 4204, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -88093,14 +87879,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4216, + "id": 4205, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4217, + "id": 4206, "name": "relations", "variant": "declaration", "kind": 1024, @@ -88115,7 +87901,7 @@ "defaultValue": "[]" }, { - "id": 4218, + "id": 4207, "name": "idsOrOptionsWithoutRelations", "variant": "declaration", "kind": 1024, @@ -88144,7 +87930,7 @@ "defaultValue": "..." }, { - "id": 4219, + "id": 4208, "name": "withDeleted", "variant": "declaration", "kind": 1024, @@ -88156,7 +87942,7 @@ "defaultValue": "false" }, { - "id": 4220, + "id": 4209, "name": "shouldCount", "variant": "declaration", "kind": 1024, @@ -88172,10 +87958,10 @@ { "title": "Properties", "children": [ - 4217, - 4218, - 4219, - 4220 + 4206, + 4207, + 4208, + 4209 ] } ] @@ -88219,21 +88005,21 @@ ] }, { - "id": 4221, + "id": 4210, "name": "isProductInSalesChannels", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4222, + "id": 4211, "name": "isProductInSalesChannels", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4223, + "id": 4212, "name": "id", "variant": "param", "kind": 32768, @@ -88244,7 +88030,7 @@ } }, { - "id": 4224, + "id": 4213, "name": "salesChannelIds", "variant": "param", "kind": 32768, @@ -88277,21 +88063,21 @@ ] }, { - "id": 4225, + "id": 4214, "name": "_applyCategoriesQuery", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4226, + "id": 4215, "name": "_applyCategoriesQuery", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4227, + "id": 4216, "name": "qb", "variant": "param", "kind": 32768, @@ -88318,7 +88104,7 @@ } }, { - "id": 4228, + "id": 4217, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -88326,14 +88112,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4229, + "id": 4218, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4230, + "id": 4219, "name": "alias", "variant": "declaration", "kind": 1024, @@ -88344,7 +88130,7 @@ } }, { - "id": 4231, + "id": 4220, "name": "categoryAlias", "variant": "declaration", "kind": 1024, @@ -88355,7 +88141,7 @@ } }, { - "id": 4232, + "id": 4221, "name": "where", "variant": "declaration", "kind": 1024, @@ -88366,7 +88152,7 @@ } }, { - "id": 4233, + "id": 4222, "name": "joinName", "variant": "declaration", "kind": 1024, @@ -88381,10 +88167,10 @@ { "title": "Properties", "children": [ - 4230, - 4231, - 4232, - 4233 + 4219, + 4220, + 4221, + 4222 ] } ] @@ -88420,19 +88206,19 @@ { "title": "Methods", "children": [ - 4160, - 4164, - 4180, - 4184, - 4189, - 4193, - 4197, - 4201, - 4206, + 4149, + 4153, + 4169, + 4173, + 4178, + 4182, + 4186, + 4190, + 4195, + 4199, + 4202, 4210, - 4213, - 4221, - 4225 + 4214 ] } ] @@ -88442,7 +88228,7 @@ } }, { - "id": 4234, + "id": 4223, "name": "eventBus_", "variant": "declaration", "kind": 1024, @@ -88452,13 +88238,13 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 4235, + "id": 4224, "name": "regionService_", "variant": "declaration", "kind": 1024, @@ -88468,13 +88254,13 @@ }, "type": { "type": "reference", - "target": 4612, + "target": 4601, "name": "RegionService", "package": "@medusajs/medusa" } }, { - "id": 4236, + "id": 4225, "name": "priceSelectionStrategy_", "variant": "declaration", "kind": 1024, @@ -88493,7 +88279,7 @@ } }, { - "id": 4237, + "id": 4226, "name": "moneyAmountRepository_", "variant": "declaration", "kind": 1024, @@ -88527,28 +88313,28 @@ { "type": "reflection", "declaration": { - "id": 4238, + "id": 4227, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4239, + "id": 4228, "name": "insertBulk", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4240, + "id": 4229, "name": "insertBulk", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4241, + "id": 4230, "name": "data", "variant": "param", "kind": 32768, @@ -88605,14 +88391,14 @@ ] }, { - "id": 4242, + "id": 4231, "name": "findVariantPricesNotIn", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4243, + "id": 4232, "name": "findVariantPricesNotIn", "variant": "signature", "kind": 4096, @@ -88641,7 +88427,7 @@ }, "parameters": [ { - "id": 4244, + "id": 4233, "name": "variantId", "variant": "param", "kind": 32768, @@ -88652,7 +88438,7 @@ } }, { - "id": 4245, + "id": 4234, "name": "prices", "variant": "param", "kind": 32768, @@ -88698,21 +88484,21 @@ ] }, { - "id": 4246, + "id": 4235, "name": "deleteVariantPricesNotIn", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4247, + "id": 4236, "name": "deleteVariantPricesNotIn", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4248, + "id": 4237, "name": "variantIdOrData", "variant": "param", "kind": 32768, @@ -88729,14 +88515,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 4249, + "id": 4238, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4250, + "id": 4239, "name": "variantId", "variant": "declaration", "kind": 1024, @@ -88747,7 +88533,7 @@ } }, { - "id": 4251, + "id": 4240, "name": "prices", "variant": "declaration", "kind": 1024, @@ -88770,8 +88556,8 @@ { "title": "Properties", "children": [ - 4250, - 4251 + 4239, + 4240 ] } ] @@ -88782,7 +88568,7 @@ } }, { - "id": 4252, + "id": 4241, "name": "prices", "variant": "param", "kind": 32768, @@ -88822,21 +88608,21 @@ ] }, { - "id": 4253, + "id": 4242, "name": "upsertVariantCurrencyPrice", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4254, + "id": 4243, "name": "upsertVariantCurrencyPrice", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4255, + "id": 4244, "name": "variantId", "variant": "param", "kind": 32768, @@ -88847,7 +88633,7 @@ } }, { - "id": 4256, + "id": 4245, "name": "price", "variant": "param", "kind": 32768, @@ -88887,21 +88673,21 @@ ] }, { - "id": 4257, + "id": 4246, "name": "addPriceListPrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4258, + "id": 4247, "name": "addPriceListPrices", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4259, + "id": 4248, "name": "priceListId", "variant": "param", "kind": 32768, @@ -88912,7 +88698,7 @@ } }, { - "id": 4260, + "id": 4249, "name": "prices", "variant": "param", "kind": 32768, @@ -88931,7 +88717,7 @@ } }, { - "id": 4261, + "id": 4250, "name": "overrideExisting", "variant": "param", "kind": 32768, @@ -88970,21 +88756,21 @@ ] }, { - "id": 4262, + "id": 4251, "name": "deletePriceListPrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4263, + "id": 4252, "name": "deletePriceListPrices", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4264, + "id": 4253, "name": "priceListId", "variant": "param", "kind": 32768, @@ -88995,7 +88781,7 @@ } }, { - "id": 4265, + "id": 4254, "name": "moneyAmountIds", "variant": "param", "kind": 32768, @@ -89028,21 +88814,21 @@ ] }, { - "id": 4266, + "id": 4255, "name": "findManyForVariantInPriceList", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4267, + "id": 4256, "name": "findManyForVariantInPriceList", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4268, + "id": 4257, "name": "variant_id", "variant": "param", "kind": 32768, @@ -89053,7 +88839,7 @@ } }, { - "id": 4269, + "id": 4258, "name": "price_list_id", "variant": "param", "kind": 32768, @@ -89064,7 +88850,7 @@ } }, { - "id": 4270, + "id": 4259, "name": "requiresPriceList", "variant": "param", "kind": 32768, @@ -89112,14 +88898,14 @@ ] }, { - "id": 4271, + "id": 4260, "name": "findManyForVariantInRegion", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4272, + "id": 4261, "name": "findManyForVariantInRegion", "variant": "signature", "kind": 4096, @@ -89138,7 +88924,7 @@ "kind": "inline-tag", "tag": "@link", "text": "findManyForVariantsInRegion", - "target": 4325 + "target": 4314 } ] } @@ -89146,7 +88932,7 @@ }, "parameters": [ { - "id": 4273, + "id": 4262, "name": "variant_id", "variant": "param", "kind": 32768, @@ -89157,7 +88943,7 @@ } }, { - "id": 4274, + "id": 4263, "name": "region_id", "variant": "param", "kind": 32768, @@ -89170,7 +88956,7 @@ } }, { - "id": 4275, + "id": 4264, "name": "currency_code", "variant": "param", "kind": 32768, @@ -89183,7 +88969,7 @@ } }, { - "id": 4276, + "id": 4265, "name": "customer_id", "variant": "param", "kind": 32768, @@ -89196,7 +88982,7 @@ } }, { - "id": 4277, + "id": 4266, "name": "include_discount_prices", "variant": "param", "kind": 32768, @@ -89209,7 +88995,7 @@ } }, { - "id": 4278, + "id": 4267, "name": "include_tax_inclusive_pricing", "variant": "param", "kind": 32768, @@ -89257,21 +89043,21 @@ ] }, { - "id": 4279, + "id": 4268, "name": "findCurrencyMoneyAmounts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4280, + "id": 4269, "name": "findCurrencyMoneyAmounts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4281, + "id": 4270, "name": "where", "variant": "param", "kind": 32768, @@ -89281,14 +89067,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 4282, + "id": 4271, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4283, + "id": 4272, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -89299,7 +89085,7 @@ } }, { - "id": 4284, + "id": 4273, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -89314,8 +89100,8 @@ { "title": "Properties", "children": [ - 4283, - 4284 + 4272, + 4273 ] } ] @@ -89336,14 +89122,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 4285, + "id": 4274, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4299, + "id": 4288, "name": "id", "variant": "declaration", "kind": 1024, @@ -89354,7 +89140,7 @@ } }, { - "id": 4300, + "id": 4289, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -89370,7 +89156,7 @@ } }, { - "id": 4301, + "id": 4290, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -89386,7 +89172,7 @@ } }, { - "id": 4298, + "id": 4287, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -89411,7 +89197,7 @@ } }, { - "id": 4287, + "id": 4276, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -89422,7 +89208,7 @@ } }, { - "id": 4288, + "id": 4277, "name": "currency", "variant": "declaration", "kind": 1024, @@ -89440,7 +89226,7 @@ } }, { - "id": 4289, + "id": 4278, "name": "amount", "variant": "declaration", "kind": 1024, @@ -89451,7 +89237,7 @@ } }, { - "id": 4290, + "id": 4279, "name": "min_quantity", "variant": "declaration", "kind": 1024, @@ -89471,7 +89257,7 @@ } }, { - "id": 4291, + "id": 4280, "name": "max_quantity", "variant": "declaration", "kind": 1024, @@ -89491,7 +89277,7 @@ } }, { - "id": 4292, + "id": 4281, "name": "price_list_id", "variant": "declaration", "kind": 1024, @@ -89511,7 +89297,7 @@ } }, { - "id": 4293, + "id": 4282, "name": "price_list", "variant": "declaration", "kind": 1024, @@ -89536,7 +89322,7 @@ } }, { - "id": 4294, + "id": 4283, "name": "variants", "variant": "declaration", "kind": 1024, @@ -89555,7 +89341,7 @@ } }, { - "id": 4295, + "id": 4284, "name": "variant", "variant": "declaration", "kind": 1024, @@ -89571,7 +89357,7 @@ } }, { - "id": 4296, + "id": 4285, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -89591,7 +89377,7 @@ } }, { - "id": 4297, + "id": 4286, "name": "region", "variant": "declaration", "kind": 1024, @@ -89609,7 +89395,7 @@ } }, { - "id": 4286, + "id": 4275, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -89625,22 +89411,22 @@ { "title": "Properties", "children": [ - 4299, - 4300, - 4301, - 4298, - 4287, 4288, 4289, 4290, - 4291, - 4292, - 4293, - 4294, - 4295, - 4296, - 4297, - 4286 + 4287, + 4276, + 4277, + 4278, + 4279, + 4280, + 4281, + 4282, + 4283, + 4284, + 4285, + 4286, + 4275 ] } ] @@ -89655,21 +89441,21 @@ ] }, { - "id": 4302, + "id": 4291, "name": "findRegionMoneyAmounts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4303, + "id": 4292, "name": "findRegionMoneyAmounts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4304, + "id": 4293, "name": "where", "variant": "param", "kind": 32768, @@ -89679,14 +89465,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 4305, + "id": 4294, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4306, + "id": 4295, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -89697,7 +89483,7 @@ } }, { - "id": 4307, + "id": 4296, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -89712,8 +89498,8 @@ { "title": "Properties", "children": [ - 4306, - 4307 + 4295, + 4296 ] } ] @@ -89734,14 +89520,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 4308, + "id": 4297, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4322, + "id": 4311, "name": "id", "variant": "declaration", "kind": 1024, @@ -89752,7 +89538,7 @@ } }, { - "id": 4323, + "id": 4312, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -89768,7 +89554,7 @@ } }, { - "id": 4324, + "id": 4313, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -89784,7 +89570,7 @@ } }, { - "id": 4321, + "id": 4310, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -89809,7 +89595,7 @@ } }, { - "id": 4310, + "id": 4299, "name": "currency_code", "variant": "declaration", "kind": 1024, @@ -89820,7 +89606,7 @@ } }, { - "id": 4311, + "id": 4300, "name": "currency", "variant": "declaration", "kind": 1024, @@ -89838,7 +89624,7 @@ } }, { - "id": 4312, + "id": 4301, "name": "amount", "variant": "declaration", "kind": 1024, @@ -89849,7 +89635,7 @@ } }, { - "id": 4313, + "id": 4302, "name": "min_quantity", "variant": "declaration", "kind": 1024, @@ -89869,7 +89655,7 @@ } }, { - "id": 4314, + "id": 4303, "name": "max_quantity", "variant": "declaration", "kind": 1024, @@ -89889,7 +89675,7 @@ } }, { - "id": 4315, + "id": 4304, "name": "price_list_id", "variant": "declaration", "kind": 1024, @@ -89909,7 +89695,7 @@ } }, { - "id": 4316, + "id": 4305, "name": "price_list", "variant": "declaration", "kind": 1024, @@ -89934,7 +89720,7 @@ } }, { - "id": 4317, + "id": 4306, "name": "variants", "variant": "declaration", "kind": 1024, @@ -89953,7 +89739,7 @@ } }, { - "id": 4318, + "id": 4307, "name": "variant", "variant": "declaration", "kind": 1024, @@ -89969,7 +89755,7 @@ } }, { - "id": 4319, + "id": 4308, "name": "region_id", "variant": "declaration", "kind": 1024, @@ -89989,7 +89775,7 @@ } }, { - "id": 4320, + "id": 4309, "name": "region", "variant": "declaration", "kind": 1024, @@ -90007,7 +89793,7 @@ } }, { - "id": 4309, + "id": 4298, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -90023,22 +89809,22 @@ { "title": "Properties", "children": [ - 4322, - 4323, - 4324, - 4321, - 4310, 4311, 4312, 4313, - 4314, - 4315, - 4316, - 4317, - 4318, - 4319, - 4320, - 4309 + 4310, + 4299, + 4300, + 4301, + 4302, + 4303, + 4304, + 4305, + 4306, + 4307, + 4308, + 4309, + 4298 ] } ] @@ -90053,21 +89839,21 @@ ] }, { - "id": 4325, + "id": 4314, "name": "findManyForVariantsInRegion", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4326, + "id": 4315, "name": "findManyForVariantsInRegion", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4327, + "id": 4316, "name": "variant_ids", "variant": "param", "kind": 32768, @@ -90090,7 +89876,7 @@ } }, { - "id": 4328, + "id": 4317, "name": "region_id", "variant": "param", "kind": 32768, @@ -90103,7 +89889,7 @@ } }, { - "id": 4329, + "id": 4318, "name": "currency_code", "variant": "param", "kind": 32768, @@ -90116,7 +89902,7 @@ } }, { - "id": 4330, + "id": 4319, "name": "customer_id", "variant": "param", "kind": 32768, @@ -90129,7 +89915,7 @@ } }, { - "id": 4331, + "id": 4320, "name": "include_discount_prices", "variant": "param", "kind": 32768, @@ -90142,7 +89928,7 @@ } }, { - "id": 4332, + "id": 4321, "name": "include_tax_inclusive_pricing", "variant": "param", "kind": 32768, @@ -90205,21 +89991,21 @@ ] }, { - "id": 4333, + "id": 4322, "name": "updatePriceListPrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4334, + "id": 4323, "name": "updatePriceListPrices", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4335, + "id": 4324, "name": "priceListId", "variant": "param", "kind": 32768, @@ -90230,7 +90016,7 @@ } }, { - "id": 4336, + "id": 4325, "name": "updates", "variant": "param", "kind": 32768, @@ -90276,21 +90062,21 @@ ] }, { - "id": 4337, + "id": 4326, "name": "getPricesForVariantInRegion", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4338, + "id": 4327, "name": "getPricesForVariantInRegion", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4339, + "id": 4328, "name": "variantId", "variant": "param", "kind": 32768, @@ -90301,7 +90087,7 @@ } }, { - "id": 4340, + "id": 4329, "name": "regionId", "variant": "param", "kind": 32768, @@ -90348,21 +90134,21 @@ ] }, { - "id": 4341, + "id": 4330, "name": "createProductVariantMoneyAmounts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4342, + "id": 4331, "name": "createProductVariantMoneyAmounts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4343, + "id": 4332, "name": "toCreate", "variant": "param", "kind": 32768, @@ -90372,14 +90158,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 4344, + "id": 4333, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4345, + "id": 4334, "name": "variant_id", "variant": "declaration", "kind": 1024, @@ -90390,7 +90176,7 @@ } }, { - "id": 4346, + "id": 4335, "name": "money_amount_id", "variant": "declaration", "kind": 1024, @@ -90405,8 +90191,8 @@ { "title": "Properties", "children": [ - 4345, - 4346 + 4334, + 4335 ] } ] @@ -90443,20 +90229,20 @@ { "title": "Methods", "children": [ - 4239, + 4228, + 4231, + 4235, 4242, 4246, - 4253, - 4257, - 4262, - 4266, - 4271, - 4279, - 4302, - 4325, - 4333, - 4337, - 4341 + 4251, + 4255, + 4260, + 4268, + 4291, + 4314, + 4322, + 4326, + 4330 ] } ] @@ -90466,7 +90252,7 @@ } }, { - "id": 4347, + "id": 4336, "name": "productOptionValueRepository_", "variant": "declaration", "kind": 1024, @@ -90496,7 +90282,7 @@ } }, { - "id": 4348, + "id": 4337, "name": "cartRepository_", "variant": "declaration", "kind": 1024, @@ -90530,28 +90316,28 @@ { "type": "reflection", "declaration": { - "id": 4349, + "id": 4338, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4350, + "id": 4339, "name": "findWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4351, + "id": 4340, "name": "findWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4352, + "id": 4341, "name": "relations", "variant": "param", "kind": 32768, @@ -90579,7 +90365,7 @@ "defaultValue": "{}" }, { - "id": 4353, + "id": 4342, "name": "optionsWithoutRelations", "variant": "param", "kind": 32768, @@ -90649,21 +90435,21 @@ ] }, { - "id": 4354, + "id": 4343, "name": "findOneWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4355, + "id": 4344, "name": "findOneWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4356, + "id": 4345, "name": "relations", "variant": "param", "kind": 32768, @@ -90691,7 +90477,7 @@ "defaultValue": "{}" }, { - "id": 4357, + "id": 4346, "name": "optionsWithoutRelations", "variant": "param", "kind": 32768, @@ -90762,8 +90548,8 @@ { "title": "Methods", "children": [ - 4350, - 4354 + 4339, + 4343 ] } ] @@ -90773,21 +90559,21 @@ } }, { - "id": 4145, + "id": 4134, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4146, + "id": 4135, "name": "new ProductVariantService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 4147, + "id": 4136, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -90795,14 +90581,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4148, + "id": 4137, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4149, + "id": 4138, "name": "productVariantRepository", "variant": "declaration", "kind": 1024, @@ -90813,7 +90599,7 @@ } }, { - "id": 4150, + "id": 4139, "name": "productRepository", "variant": "declaration", "kind": 1024, @@ -90824,7 +90610,7 @@ } }, { - "id": 4151, + "id": 4140, "name": "eventBusService", "variant": "declaration", "kind": 1024, @@ -90835,7 +90621,7 @@ } }, { - "id": 4152, + "id": 4141, "name": "regionService", "variant": "declaration", "kind": 1024, @@ -90846,7 +90632,7 @@ } }, { - "id": 4153, + "id": 4142, "name": "moneyAmountRepository", "variant": "declaration", "kind": 1024, @@ -90857,7 +90643,7 @@ } }, { - "id": 4154, + "id": 4143, "name": "productOptionValueRepository", "variant": "declaration", "kind": 1024, @@ -90868,7 +90654,7 @@ } }, { - "id": 4155, + "id": 4144, "name": "cartRepository", "variant": "declaration", "kind": 1024, @@ -90879,7 +90665,7 @@ } }, { - "id": 4156, + "id": 4145, "name": "priceSelectionStrategy", "variant": "declaration", "kind": 1024, @@ -90894,14 +90680,14 @@ { "title": "Properties", "children": [ - 4149, - 4150, - 4151, - 4152, - 4153, - 4154, - 4155, - 4156 + 4138, + 4139, + 4140, + 4141, + 4142, + 4143, + 4144, + 4145 ] } ] @@ -90911,7 +90697,7 @@ ], "type": { "type": "reference", - "target": 4139, + "target": 4128, "name": "ProductVariantService", "package": "@medusajs/medusa" }, @@ -90929,14 +90715,14 @@ } }, { - "id": 4358, + "id": 4347, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4359, + "id": 4348, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -90962,7 +90748,7 @@ }, "parameters": [ { - "id": 4360, + "id": 4349, "name": "variantId", "variant": "param", "kind": 32768, @@ -90981,7 +90767,7 @@ } }, { - "id": 4361, + "id": 4350, "name": "config", "variant": "param", "kind": 32768, @@ -91055,14 +90841,14 @@ ] }, { - "id": 4362, + "id": 4351, "name": "retrieveBySKU", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4363, + "id": 4352, "name": "retrieveBySKU", "variant": "signature", "kind": 4096, @@ -91088,7 +90874,7 @@ }, "parameters": [ { - "id": 4364, + "id": 4353, "name": "sku", "variant": "param", "kind": 32768, @@ -91107,7 +90893,7 @@ } }, { - "id": 4365, + "id": 4354, "name": "config", "variant": "param", "kind": 32768, @@ -91181,14 +90967,14 @@ ] }, { - "id": 4366, + "id": 4355, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4367, + "id": 4356, "name": "create", "variant": "signature", "kind": 4096, @@ -91214,7 +91000,7 @@ }, "typeParameter": [ { - "id": 4368, + "id": 4357, "name": "TVariants", "variant": "typeParam", "kind": 131072, @@ -91247,7 +91033,7 @@ } }, { - "id": 4369, + "id": 4358, "name": "TOutput", "variant": "typeParam", "kind": 131072, @@ -91256,7 +91042,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 4368, + "target": 4357, "name": "TVariants", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -91299,7 +91085,7 @@ ], "parameters": [ { - "id": 4370, + "id": 4359, "name": "productOrProductId", "variant": "param", "kind": 32768, @@ -91332,7 +91118,7 @@ } }, { - "id": 4371, + "id": 4360, "name": "variants", "variant": "param", "kind": 32768, @@ -91374,7 +91160,7 @@ "typeArguments": [ { "type": "reference", - "target": 4369, + "target": 4358, "name": "TOutput", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -91387,14 +91173,14 @@ ] }, { - "id": 4372, + "id": 4361, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4373, + "id": 4362, "name": "update", "variant": "signature", "kind": 4096, @@ -91420,7 +91206,7 @@ }, "parameters": [ { - "id": 4374, + "id": 4363, "name": "variantData", "variant": "param", "kind": 32768, @@ -91438,14 +91224,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 4375, + "id": 4364, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4376, + "id": 4365, "name": "variant", "variant": "declaration", "kind": 1024, @@ -91461,7 +91247,7 @@ } }, { - "id": 4377, + "id": 4366, "name": "updateData", "variant": "declaration", "kind": 1024, @@ -91481,8 +91267,8 @@ { "title": "Properties", "children": [ - 4376, - 4377 + 4365, + 4366 ] } ] @@ -91516,7 +91302,7 @@ } }, { - "id": 4378, + "id": 4367, "name": "update", "variant": "signature", "kind": 4096, @@ -91542,7 +91328,7 @@ }, "parameters": [ { - "id": 4379, + "id": 4368, "name": "variantOrVariantId", "variant": "param", "kind": 32768, @@ -91586,7 +91372,7 @@ } }, { - "id": 4380, + "id": 4369, "name": "update", "variant": "param", "kind": 32768, @@ -91632,14 +91418,14 @@ } }, { - "id": 4381, + "id": 4370, "name": "update", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4382, + "id": 4371, "name": "variantOrVariantId", "variant": "param", "kind": 32768, @@ -91675,7 +91461,7 @@ } }, { - "id": 4383, + "id": 4372, "name": "update", "variant": "param", "kind": 32768, @@ -91715,7 +91501,7 @@ ] }, { - "id": 4384, + "id": 4373, "name": "updateBatch", "variant": "declaration", "kind": 2048, @@ -91724,14 +91510,14 @@ }, "signatures": [ { - "id": 4385, + "id": 4374, "name": "updateBatch", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4386, + "id": 4375, "name": "variantData", "variant": "param", "kind": 32768, @@ -91777,14 +91563,14 @@ ] }, { - "id": 4387, + "id": 4376, "name": "updateVariantPrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4388, + "id": 4377, "name": "updateVariantPrices", "variant": "signature", "kind": 4096, @@ -91810,7 +91596,7 @@ }, "parameters": [ { - "id": 4389, + "id": 4378, "name": "data", "variant": "param", "kind": 32768, @@ -91846,7 +91632,7 @@ } }, { - "id": 4390, + "id": 4379, "name": "updateVariantPrices", "variant": "signature", "kind": 4096, @@ -91872,7 +91658,7 @@ }, "parameters": [ { - "id": 4391, + "id": 4380, "name": "variantId", "variant": "param", "kind": 32768, @@ -91891,7 +91677,7 @@ } }, { - "id": 4392, + "id": 4381, "name": "prices", "variant": "param", "kind": 32768, @@ -91937,7 +91723,7 @@ ] }, { - "id": 4393, + "id": 4382, "name": "updateVariantPricesBatch", "variant": "declaration", "kind": 2048, @@ -91946,14 +91732,14 @@ }, "signatures": [ { - "id": 4394, + "id": 4383, "name": "updateVariantPricesBatch", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4395, + "id": 4384, "name": "data", "variant": "param", "kind": 32768, @@ -91991,21 +91777,21 @@ ] }, { - "id": 4396, + "id": 4385, "name": "upsertRegionPrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4397, + "id": 4386, "name": "upsertRegionPrices", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4398, + "id": 4387, "name": "data", "variant": "param", "kind": 32768, @@ -92043,21 +91829,21 @@ ] }, { - "id": 4399, + "id": 4388, "name": "upsertCurrencyPrices", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4400, + "id": 4389, "name": "upsertCurrencyPrices", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4401, + "id": 4390, "name": "data", "variant": "param", "kind": 32768, @@ -92067,14 +91853,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 4402, + "id": 4391, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4403, + "id": 4392, "name": "variantId", "variant": "declaration", "kind": 1024, @@ -92085,7 +91871,7 @@ } }, { - "id": 4404, + "id": 4393, "name": "price", "variant": "declaration", "kind": 1024, @@ -92120,8 +91906,8 @@ { "title": "Properties", "children": [ - 4403, - 4404 + 4392, + 4393 ] } ] @@ -92149,14 +91935,14 @@ ] }, { - "id": 4405, + "id": 4394, "name": "getRegionPrice", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4406, + "id": 4395, "name": "getRegionPrice", "variant": "signature", "kind": 4096, @@ -92182,7 +91968,7 @@ }, "parameters": [ { - "id": 4407, + "id": 4396, "name": "variantId", "variant": "param", "kind": 32768, @@ -92201,7 +91987,7 @@ } }, { - "id": 4408, + "id": 4397, "name": "context", "variant": "param", "kind": 32768, @@ -92253,14 +92039,14 @@ ] }, { - "id": 4409, + "id": 4398, "name": "setRegionPrice", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4410, + "id": 4399, "name": "setRegionPrice", "variant": "signature", "kind": 4096, @@ -92290,7 +92076,7 @@ }, "parameters": [ { - "id": 4411, + "id": 4400, "name": "variantId", "variant": "param", "kind": 32768, @@ -92309,7 +92095,7 @@ } }, { - "id": 4412, + "id": 4401, "name": "price", "variant": "param", "kind": 32768, @@ -92357,14 +92143,14 @@ ] }, { - "id": 4413, + "id": 4402, "name": "setCurrencyPrice", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4414, + "id": 4403, "name": "setCurrencyPrice", "variant": "signature", "kind": 4096, @@ -92394,7 +92180,7 @@ }, "parameters": [ { - "id": 4415, + "id": 4404, "name": "variantId", "variant": "param", "kind": 32768, @@ -92413,7 +92199,7 @@ } }, { - "id": 4416, + "id": 4405, "name": "price", "variant": "param", "kind": 32768, @@ -92461,14 +92247,14 @@ ] }, { - "id": 4417, + "id": 4406, "name": "updateOptionValue", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4418, + "id": 4407, "name": "updateOptionValue", "variant": "signature", "kind": 4096, @@ -92494,7 +92280,7 @@ }, "parameters": [ { - "id": 4419, + "id": 4408, "name": "variantId", "variant": "param", "kind": 32768, @@ -92513,7 +92299,7 @@ } }, { - "id": 4420, + "id": 4409, "name": "optionId", "variant": "param", "kind": 32768, @@ -92532,7 +92318,7 @@ } }, { - "id": 4421, + "id": 4410, "name": "optionValue", "variant": "param", "kind": 32768, @@ -92575,14 +92361,14 @@ ] }, { - "id": 4422, + "id": 4411, "name": "addOptionValue", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4423, + "id": 4412, "name": "addOptionValue", "variant": "signature", "kind": 4096, @@ -92608,7 +92394,7 @@ }, "parameters": [ { - "id": 4424, + "id": 4413, "name": "variantId", "variant": "param", "kind": 32768, @@ -92627,7 +92413,7 @@ } }, { - "id": 4425, + "id": 4414, "name": "optionId", "variant": "param", "kind": 32768, @@ -92646,7 +92432,7 @@ } }, { - "id": 4426, + "id": 4415, "name": "optionValue", "variant": "param", "kind": 32768, @@ -92689,14 +92475,14 @@ ] }, { - "id": 4427, + "id": 4416, "name": "deleteOptionValue", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4428, + "id": 4417, "name": "deleteOptionValue", "variant": "signature", "kind": 4096, @@ -92722,7 +92508,7 @@ }, "parameters": [ { - "id": 4429, + "id": 4418, "name": "variantId", "variant": "param", "kind": 32768, @@ -92741,7 +92527,7 @@ } }, { - "id": 4430, + "id": 4419, "name": "optionId", "variant": "param", "kind": 32768, @@ -92779,14 +92565,14 @@ ] }, { - "id": 4431, + "id": 4420, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4432, + "id": 4421, "name": "listAndCount", "variant": "signature", "kind": 4096, @@ -92807,7 +92593,7 @@ }, "parameters": [ { - "id": 4433, + "id": 4422, "name": "selector", "variant": "param", "kind": 32768, @@ -92831,7 +92617,7 @@ } }, { - "id": 4434, + "id": 4423, "name": "config", "variant": "param", "kind": 32768, @@ -92917,14 +92703,14 @@ ] }, { - "id": 4435, + "id": 4424, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4436, + "id": 4425, "name": "list", "variant": "signature", "kind": 4096, @@ -92945,7 +92731,7 @@ }, "parameters": [ { - "id": 4437, + "id": 4426, "name": "selector", "variant": "param", "kind": 32768, @@ -92969,7 +92755,7 @@ } }, { - "id": 4438, + "id": 4427, "name": "config", "variant": "param", "kind": 32768, @@ -93046,14 +92832,14 @@ ] }, { - "id": 4439, + "id": 4428, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4440, + "id": 4429, "name": "delete", "variant": "signature", "kind": 4096, @@ -93079,7 +92865,7 @@ }, "parameters": [ { - "id": 4441, + "id": 4430, "name": "variantIds", "variant": "param", "kind": 32768, @@ -93129,14 +92915,14 @@ ] }, { - "id": 4442, + "id": 4431, "name": "isVariantInSalesChannels", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4443, + "id": 4432, "name": "isVariantInSalesChannels", "variant": "signature", "kind": 4096, @@ -93151,7 +92937,7 @@ }, "parameters": [ { - "id": 4444, + "id": 4433, "name": "id", "variant": "param", "kind": 32768, @@ -93170,7 +92956,7 @@ } }, { - "id": 4445, + "id": 4434, "name": "salesChannelIds", "variant": "param", "kind": 32768, @@ -93211,14 +92997,14 @@ ] }, { - "id": 4446, + "id": 4435, "name": "getFreeTextQueryBuilder_", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4447, + "id": 4436, "name": "getFreeTextQueryBuilder_", "variant": "signature", "kind": 4096, @@ -93244,7 +93030,7 @@ }, "parameters": [ { - "id": 4448, + "id": 4437, "name": "variantRepo", "variant": "param", "kind": 32768, @@ -93279,7 +93065,7 @@ } }, { - "id": 4449, + "id": 4438, "name": "query", "variant": "param", "kind": 32768, @@ -93303,7 +93089,7 @@ } }, { - "id": 4450, + "id": 4439, "name": "q", "variant": "param", "kind": 32768, @@ -93348,7 +93134,7 @@ ] }, { - "id": 4451, + "id": 4440, "name": "validateVariantsToCreate_", "variant": "declaration", "kind": 2048, @@ -93357,14 +93143,14 @@ }, "signatures": [ { - "id": 4452, + "id": 4441, "name": "validateVariantsToCreate_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4453, + "id": 4442, "name": "product", "variant": "param", "kind": 32768, @@ -93380,7 +93166,7 @@ } }, { - "id": 4454, + "id": 4443, "name": "variants", "variant": "param", "kind": 32768, @@ -93411,61 +93197,61 @@ { "title": "Constructors", "children": [ - 4145 + 4134 ] }, { "title": "Properties", "children": [ - 4455, - 4456, - 4459, - 4460, - 4461, - 4140, - 4157, - 4158, - 4234, - 4235, - 4236, - 4237, - 4347, - 4348 + 4444, + 4445, + 4448, + 4449, + 4450, + 4129, + 4146, + 4147, + 4223, + 4224, + 4225, + 4226, + 4336, + 4337 ] }, { "title": "Accessors", "children": [ - 4457 + 4446 ] }, { "title": "Methods", "children": [ - 4462, - 4465, - 4470, - 4358, - 4362, - 4366, - 4372, - 4384, - 4387, - 4393, - 4396, - 4399, - 4405, - 4409, - 4413, - 4417, - 4422, - 4427, + 4451, + 4454, + 4459, + 4347, + 4351, + 4355, + 4361, + 4373, + 4376, + 4382, + 4385, + 4388, + 4394, + 4398, + 4402, + 4406, + 4411, + 4416, + 4420, + 4424, + 4428, 4431, 4435, - 4439, - 4442, - 4446, - 4451 + 4440 ] } ], @@ -93482,14 +93268,14 @@ ] }, { - "id": 3484, + "id": 3473, "name": "ProductService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 3724, + "id": 3713, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -93512,7 +93298,7 @@ } }, { - "id": 3725, + "id": 3714, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -93544,7 +93330,7 @@ } }, { - "id": 3726, + "id": 3715, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -93552,7 +93338,7 @@ "isProtected": true }, "getSignature": { - "id": 3727, + "id": 3716, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -93579,7 +93365,7 @@ } }, { - "id": 3728, + "id": 3717, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -93598,7 +93384,7 @@ } }, { - "id": 3729, + "id": 3718, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -93633,7 +93419,7 @@ } }, { - "id": 3730, + "id": 3719, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -93668,21 +93454,21 @@ } }, { - "id": 3731, + "id": 3720, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3732, + "id": 3721, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3733, + "id": 3722, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -93718,7 +93504,7 @@ } }, { - "id": 3734, + "id": 3723, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -93727,14 +93513,14 @@ }, "signatures": [ { - "id": 3735, + "id": 3724, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3736, + "id": 3725, "name": "err", "variant": "param", "kind": 32768, @@ -93764,14 +93550,14 @@ { "type": "reflection", "declaration": { - "id": 3737, + "id": 3726, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3738, + "id": 3727, "name": "code", "variant": "declaration", "kind": 1024, @@ -93786,7 +93572,7 @@ { "title": "Properties", "children": [ - 3738 + 3727 ] } ] @@ -93814,7 +93600,7 @@ } }, { - "id": 3739, + "id": 3728, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -93823,7 +93609,7 @@ }, "signatures": [ { - "id": 3740, + "id": 3729, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -93849,14 +93635,14 @@ }, "typeParameter": [ { - "id": 3741, + "id": 3730, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 3742, + "id": 3731, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -93865,7 +93651,7 @@ ], "parameters": [ { - "id": 3743, + "id": 3732, "name": "work", "variant": "param", "kind": 32768, @@ -93881,21 +93667,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3744, + "id": 3733, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3745, + "id": 3734, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3746, + "id": 3735, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -93935,7 +93721,7 @@ } }, { - "id": 3747, + "id": 3736, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -93965,21 +93751,21 @@ { "type": "reflection", "declaration": { - "id": 3748, + "id": 3737, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3749, + "id": 3738, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3750, + "id": 3739, "name": "error", "variant": "param", "kind": 32768, @@ -94028,7 +93814,7 @@ } }, { - "id": 3751, + "id": 3740, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -94046,21 +93832,21 @@ "type": { "type": "reflection", "declaration": { - "id": 3752, + "id": 3741, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 3753, + "id": 3742, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3754, + "id": 3743, "name": "error", "variant": "param", "kind": 32768, @@ -94139,7 +93925,7 @@ } }, { - "id": 3494, + "id": 3483, "name": "productOptionRepository_", "variant": "declaration", "kind": 1024, @@ -94169,7 +93955,7 @@ } }, { - "id": 3495, + "id": 3484, "name": "productRepository_", "variant": "declaration", "kind": 1024, @@ -94203,28 +93989,28 @@ { "type": "reflection", "declaration": { - "id": 3496, + "id": 3485, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3497, + "id": 3486, "name": "queryProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3498, + "id": 3487, "name": "queryProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3499, + "id": 3488, "name": "optionsWithoutRelations", "variant": "param", "kind": 32768, @@ -94240,7 +94026,7 @@ } }, { - "id": 3500, + "id": 3489, "name": "shouldCount", "variant": "param", "kind": 32768, @@ -94288,21 +94074,21 @@ ] }, { - "id": 3501, + "id": 3490, "name": "queryProductsWithIds", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3502, + "id": 3491, "name": "queryProductsWithIds", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3503, + "id": 3492, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -94310,14 +94096,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3504, + "id": 3493, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3505, + "id": 3494, "name": "entityIds", "variant": "declaration", "kind": 1024, @@ -94331,7 +94117,7 @@ } }, { - "id": 3506, + "id": 3495, "name": "groupedRelations", "variant": "declaration", "kind": 1024, @@ -94339,20 +94125,20 @@ "type": { "type": "reflection", "declaration": { - "id": 3507, + "id": 3496, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 3508, + "id": 3497, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 3509, + "id": 3498, "name": "toplevel", "variant": "param", "kind": 32768, @@ -94375,7 +94161,7 @@ } }, { - "id": 3510, + "id": 3499, "name": "withDeleted", "variant": "declaration", "kind": 1024, @@ -94389,7 +94175,7 @@ "defaultValue": "false" }, { - "id": 3511, + "id": 3500, "name": "select", "variant": "declaration", "kind": 1024, @@ -94415,7 +94201,7 @@ "defaultValue": "[]" }, { - "id": 3512, + "id": 3501, "name": "order", "variant": "declaration", "kind": 1024, @@ -94425,20 +94211,20 @@ "type": { "type": "reflection", "declaration": { - "id": 3513, + "id": 3502, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 3514, + "id": 3503, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 3515, + "id": 3504, "name": "column", "variant": "param", "kind": 32768, @@ -94468,7 +94254,7 @@ "defaultValue": "{}" }, { - "id": 3516, + "id": 3505, "name": "where", "variant": "declaration", "kind": 1024, @@ -94502,12 +94288,12 @@ { "title": "Properties", "children": [ - 3505, - 3506, - 3510, - 3511, - 3512, - 3516 + 3494, + 3495, + 3499, + 3500, + 3501, + 3505 ] } ] @@ -94542,21 +94328,21 @@ ] }, { - "id": 3517, + "id": 3506, "name": "findWithRelationsAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3518, + "id": 3507, "name": "findWithRelationsAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3519, + "id": 3508, "name": "relations", "variant": "param", "kind": 32768, @@ -94571,7 +94357,7 @@ "defaultValue": "[]" }, { - "id": 3520, + "id": 3509, "name": "idsOrOptionsWithoutRelations", "variant": "param", "kind": 32768, @@ -94624,21 +94410,21 @@ ] }, { - "id": 3521, + "id": 3510, "name": "findWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3522, + "id": 3511, "name": "findWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3523, + "id": 3512, "name": "relations", "variant": "param", "kind": 32768, @@ -94653,7 +94439,7 @@ "defaultValue": "[]" }, { - "id": 3524, + "id": 3513, "name": "idsOrOptionsWithoutRelations", "variant": "param", "kind": 32768, @@ -94682,7 +94468,7 @@ "defaultValue": "..." }, { - "id": 3525, + "id": 3514, "name": "withDeleted", "variant": "param", "kind": 32768, @@ -94721,21 +94507,21 @@ ] }, { - "id": 3526, + "id": 3515, "name": "findOneWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3527, + "id": 3516, "name": "findOneWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3528, + "id": 3517, "name": "relations", "variant": "param", "kind": 32768, @@ -94750,7 +94536,7 @@ "defaultValue": "[]" }, { - "id": 3529, + "id": 3518, "name": "optionsWithoutRelations", "variant": "param", "kind": 32768, @@ -94791,21 +94577,21 @@ ] }, { - "id": 3530, + "id": 3519, "name": "bulkAddToCollection", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3531, + "id": 3520, "name": "bulkAddToCollection", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3532, + "id": 3521, "name": "productIds", "variant": "param", "kind": 32768, @@ -94819,7 +94605,7 @@ } }, { - "id": 3533, + "id": 3522, "name": "collectionId", "variant": "param", "kind": 32768, @@ -94857,21 +94643,21 @@ ] }, { - "id": 3534, + "id": 3523, "name": "bulkRemoveFromCollection", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3535, + "id": 3524, "name": "bulkRemoveFromCollection", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3536, + "id": 3525, "name": "productIds", "variant": "param", "kind": 32768, @@ -94885,7 +94671,7 @@ } }, { - "id": 3537, + "id": 3526, "name": "collectionId", "variant": "param", "kind": 32768, @@ -94923,21 +94709,21 @@ ] }, { - "id": 3538, + "id": 3527, "name": "getFreeTextSearchResultsAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3539, + "id": 3528, "name": "getFreeTextSearchResultsAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3540, + "id": 3529, "name": "q", "variant": "param", "kind": 32768, @@ -94948,7 +94734,7 @@ } }, { - "id": 3541, + "id": 3530, "name": "options", "variant": "param", "kind": 32768, @@ -94965,7 +94751,7 @@ "defaultValue": "..." }, { - "id": 3542, + "id": 3531, "name": "relations", "variant": "param", "kind": 32768, @@ -95016,21 +94802,21 @@ ] }, { - "id": 3543, + "id": 3532, "name": "getCategoryIdsFromInput", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3544, + "id": 3533, "name": "getCategoryIdsFromInput", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3545, + "id": 3534, "name": "categoryId", "variant": "param", "kind": 32768, @@ -95048,7 +94834,7 @@ } }, { - "id": 3546, + "id": 3535, "name": "includeCategoryChildren", "variant": "param", "kind": 32768, @@ -95082,21 +94868,21 @@ ] }, { - "id": 3547, + "id": 3536, "name": "getCategoryIdsRecursively", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3548, + "id": 3537, "name": "getCategoryIdsRecursively", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3549, + "id": 3538, "name": "productCategory", "variant": "param", "kind": 32768, @@ -95123,21 +94909,21 @@ ] }, { - "id": 3550, + "id": 3539, "name": "_findWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3551, + "id": 3540, "name": "_findWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3552, + "id": 3541, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -95145,14 +94931,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3553, + "id": 3542, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3554, + "id": 3543, "name": "relations", "variant": "declaration", "kind": 1024, @@ -95167,7 +94953,7 @@ "defaultValue": "[]" }, { - "id": 3555, + "id": 3544, "name": "idsOrOptionsWithoutRelations", "variant": "declaration", "kind": 1024, @@ -95196,7 +94982,7 @@ "defaultValue": "..." }, { - "id": 3556, + "id": 3545, "name": "withDeleted", "variant": "declaration", "kind": 1024, @@ -95208,7 +94994,7 @@ "defaultValue": "false" }, { - "id": 3557, + "id": 3546, "name": "shouldCount", "variant": "declaration", "kind": 1024, @@ -95224,10 +95010,10 @@ { "title": "Properties", "children": [ - 3554, - 3555, - 3556, - 3557 + 3543, + 3544, + 3545, + 3546 ] } ] @@ -95271,21 +95057,21 @@ ] }, { - "id": 3558, + "id": 3547, "name": "isProductInSalesChannels", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3559, + "id": 3548, "name": "isProductInSalesChannels", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3560, + "id": 3549, "name": "id", "variant": "param", "kind": 32768, @@ -95296,7 +95082,7 @@ } }, { - "id": 3561, + "id": 3550, "name": "salesChannelIds", "variant": "param", "kind": 32768, @@ -95329,21 +95115,21 @@ ] }, { - "id": 3562, + "id": 3551, "name": "_applyCategoriesQuery", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3563, + "id": 3552, "name": "_applyCategoriesQuery", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3564, + "id": 3553, "name": "qb", "variant": "param", "kind": 32768, @@ -95370,7 +95156,7 @@ } }, { - "id": 3565, + "id": 3554, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -95378,14 +95164,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3566, + "id": 3555, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3567, + "id": 3556, "name": "alias", "variant": "declaration", "kind": 1024, @@ -95396,7 +95182,7 @@ } }, { - "id": 3568, + "id": 3557, "name": "categoryAlias", "variant": "declaration", "kind": 1024, @@ -95407,7 +95193,7 @@ } }, { - "id": 3569, + "id": 3558, "name": "where", "variant": "declaration", "kind": 1024, @@ -95418,7 +95204,7 @@ } }, { - "id": 3570, + "id": 3559, "name": "joinName", "variant": "declaration", "kind": 1024, @@ -95433,10 +95219,10 @@ { "title": "Properties", "children": [ - 3567, - 3568, - 3569, - 3570 + 3556, + 3557, + 3558, + 3559 ] } ] @@ -95472,19 +95258,19 @@ { "title": "Methods", "children": [ - 3497, - 3501, - 3517, - 3521, - 3526, - 3530, - 3534, - 3538, - 3543, + 3486, + 3490, + 3506, + 3510, + 3515, + 3519, + 3523, + 3527, + 3532, + 3536, + 3539, 3547, - 3550, - 3558, - 3562 + 3551 ] } ] @@ -95494,7 +95280,7 @@ } }, { - "id": 3571, + "id": 3560, "name": "productVariantRepository_", "variant": "declaration", "kind": 1024, @@ -95524,7 +95310,7 @@ } }, { - "id": 3572, + "id": 3561, "name": "productTypeRepository_", "variant": "declaration", "kind": 1024, @@ -95558,28 +95344,28 @@ { "type": "reflection", "declaration": { - "id": 3573, + "id": 3562, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3574, + "id": 3563, "name": "upsertType", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3575, + "id": 3564, "name": "upsertType", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3576, + "id": 3565, "name": "type", "variant": "param", "kind": 32768, @@ -95630,21 +95416,21 @@ ] }, { - "id": 3577, + "id": 3566, "name": "findAndCountByDiscountConditionId", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3578, + "id": 3567, "name": "findAndCountByDiscountConditionId", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3579, + "id": 3568, "name": "conditionId", "variant": "param", "kind": 32768, @@ -95655,7 +95441,7 @@ } }, { - "id": 3580, + "id": 3569, "name": "query", "variant": "param", "kind": 32768, @@ -95722,8 +95508,8 @@ { "title": "Methods", "children": [ - 3574, - 3577 + 3563, + 3566 ] } ] @@ -95733,7 +95519,7 @@ } }, { - "id": 3581, + "id": 3570, "name": "productTagRepository_", "variant": "declaration", "kind": 1024, @@ -95767,28 +95553,28 @@ { "type": "reflection", "declaration": { - "id": 3582, + "id": 3571, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3583, + "id": 3572, "name": "insertBulk", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3584, + "id": 3573, "name": "insertBulk", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3585, + "id": 3574, "name": "data", "variant": "param", "kind": 32768, @@ -95845,21 +95631,21 @@ ] }, { - "id": 3586, + "id": 3575, "name": "listTagsByUsage", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3587, + "id": 3576, "name": "listTagsByUsage", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3588, + "id": 3577, "name": "take", "variant": "param", "kind": 32768, @@ -95898,21 +95684,21 @@ ] }, { - "id": 3589, + "id": 3578, "name": "upsertTags", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3590, + "id": 3579, "name": "upsertTags", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3591, + "id": 3580, "name": "tags", "variant": "param", "kind": 32768, @@ -95955,21 +95741,21 @@ ] }, { - "id": 3592, + "id": 3581, "name": "findAndCountByDiscountConditionId", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3593, + "id": 3582, "name": "findAndCountByDiscountConditionId", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3594, + "id": 3583, "name": "conditionId", "variant": "param", "kind": 32768, @@ -95980,7 +95766,7 @@ } }, { - "id": 3595, + "id": 3584, "name": "query", "variant": "param", "kind": 32768, @@ -96047,10 +95833,10 @@ { "title": "Methods", "children": [ - 3583, - 3586, - 3589, - 3592 + 3572, + 3575, + 3578, + 3581 ] } ] @@ -96060,7 +95846,7 @@ } }, { - "id": 3596, + "id": 3585, "name": "imageRepository_", "variant": "declaration", "kind": 1024, @@ -96094,28 +95880,28 @@ { "type": "reflection", "declaration": { - "id": 3597, + "id": 3586, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3598, + "id": 3587, "name": "insertBulk", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3599, + "id": 3588, "name": "insertBulk", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3600, + "id": 3589, "name": "data", "variant": "param", "kind": 32768, @@ -96172,21 +95958,21 @@ ] }, { - "id": 3601, + "id": 3590, "name": "upsertImages", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3602, + "id": 3591, "name": "upsertImages", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3603, + "id": 3592, "name": "imageUrls", "variant": "param", "kind": 32768, @@ -96231,8 +96017,8 @@ { "title": "Methods", "children": [ - 3598, - 3601 + 3587, + 3590 ] } ] @@ -96242,7 +96028,7 @@ } }, { - "id": 3604, + "id": 3593, "name": "productCategoryRepository_", "variant": "declaration", "kind": 1024, @@ -96276,28 +96062,28 @@ { "type": "reflection", "declaration": { - "id": 3605, + "id": 3594, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3606, + "id": 3595, "name": "findOneWithDescendants", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3607, + "id": 3596, "name": "findOneWithDescendants", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3608, + "id": 3597, "name": "query", "variant": "param", "kind": 32768, @@ -96324,7 +96110,7 @@ } }, { - "id": 3609, + "id": 3598, "name": "treeScope", "variant": "param", "kind": 32768, @@ -96385,21 +96171,21 @@ ] }, { - "id": 3610, + "id": 3599, "name": "getFreeTextSearchResultsAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3611, + "id": 3600, "name": "getFreeTextSearchResultsAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3612, + "id": 3601, "name": "options", "variant": "param", "kind": 32768, @@ -96427,7 +96213,7 @@ "defaultValue": "..." }, { - "id": 3613, + "id": 3602, "name": "q", "variant": "param", "kind": 32768, @@ -96440,7 +96226,7 @@ } }, { - "id": 3614, + "id": 3603, "name": "treeScope", "variant": "param", "kind": 32768, @@ -96468,7 +96254,7 @@ "defaultValue": "{}" }, { - "id": 3615, + "id": 3604, "name": "includeTree", "variant": "param", "kind": 32768, @@ -96516,21 +96302,21 @@ ] }, { - "id": 3616, + "id": 3605, "name": "addProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3617, + "id": 3606, "name": "addProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3618, + "id": 3607, "name": "productCategoryId", "variant": "param", "kind": 32768, @@ -96541,7 +96327,7 @@ } }, { - "id": 3619, + "id": 3608, "name": "productIds", "variant": "param", "kind": 32768, @@ -96574,21 +96360,21 @@ ] }, { - "id": 3620, + "id": 3609, "name": "removeProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3621, + "id": 3610, "name": "removeProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3622, + "id": 3611, "name": "productCategoryId", "variant": "param", "kind": 32768, @@ -96599,7 +96385,7 @@ } }, { - "id": 3623, + "id": 3612, "name": "productIds", "variant": "param", "kind": 32768, @@ -96641,10 +96427,10 @@ { "title": "Methods", "children": [ - 3606, - 3610, - 3616, - 3620 + 3595, + 3599, + 3605, + 3609 ] } ] @@ -96654,7 +96440,7 @@ } }, { - "id": 3624, + "id": 3613, "name": "productVariantService_", "variant": "declaration", "kind": 1024, @@ -96664,13 +96450,13 @@ }, "type": { "type": "reference", - "target": 4139, + "target": 4128, "name": "ProductVariantService", "package": "@medusajs/medusa" } }, { - "id": 3625, + "id": 3614, "name": "searchService_", "variant": "declaration", "kind": 1024, @@ -96680,13 +96466,13 @@ }, "type": { "type": "reference", - "target": 5108, + "target": 5097, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 3626, + "id": 3615, "name": "salesChannelService_", "variant": "declaration", "kind": 1024, @@ -96696,13 +96482,13 @@ }, "type": { "type": "reference", - "target": 4890, + "target": 4879, "name": "SalesChannelService", "package": "@medusajs/medusa" } }, { - "id": 3627, + "id": 3616, "name": "eventBus_", "variant": "declaration", "kind": 1024, @@ -96712,13 +96498,13 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 3628, + "id": 3617, "name": "featureFlagRouter_", "variant": "declaration", "kind": 1024, @@ -96729,7 +96515,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/feature-flags/utils/flag-router.d.ts", + "sourceFileName": "../../../packages/utils/src/feature-flags/utils/flag-router.ts", "qualifiedName": "FlagRouter" }, "name": "FlagRouter", @@ -96737,7 +96523,7 @@ } }, { - "id": 3629, + "id": 3618, "name": "remoteQuery_", "variant": "declaration", "kind": 1024, @@ -96755,7 +96541,7 @@ } }, { - "id": 3485, + "id": 3474, "name": "IndexName", "variant": "declaration", "kind": 1024, @@ -96770,7 +96556,7 @@ "defaultValue": "..." }, { - "id": 3486, + "id": 3475, "name": "Events", "variant": "declaration", "kind": 1024, @@ -96781,14 +96567,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3487, + "id": 3476, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3488, + "id": 3477, "name": "UPDATED", "variant": "declaration", "kind": 1024, @@ -96800,7 +96586,7 @@ "defaultValue": "\"product.updated\"" }, { - "id": 3489, + "id": 3478, "name": "CREATED", "variant": "declaration", "kind": 1024, @@ -96812,7 +96598,7 @@ "defaultValue": "\"product.created\"" }, { - "id": 3490, + "id": 3479, "name": "DELETED", "variant": "declaration", "kind": 1024, @@ -96828,9 +96614,9 @@ { "title": "Properties", "children": [ - 3488, - 3489, - 3490 + 3477, + 3478, + 3479 ] } ] @@ -96839,21 +96625,21 @@ "defaultValue": "..." }, { - "id": 3491, + "id": 3480, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 3492, + "id": 3481, "name": "new ProductService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 3493, + "id": 3482, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -96871,7 +96657,7 @@ ], "type": { "type": "reference", - "target": 3484, + "target": 3473, "name": "ProductService", "package": "@medusajs/medusa" }, @@ -96889,14 +96675,14 @@ } }, { - "id": 3630, + "id": 3619, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3631, + "id": 3620, "name": "list", "variant": "signature", "kind": 4096, @@ -96922,7 +96708,7 @@ }, "parameters": [ { - "id": 3632, + "id": 3621, "name": "selector", "variant": "param", "kind": 32768, @@ -96946,7 +96732,7 @@ } }, { - "id": 3633, + "id": 3622, "name": "config", "variant": "param", "kind": 32768, @@ -96998,14 +96784,14 @@ ] }, { - "id": 3634, + "id": 3623, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3635, + "id": 3624, "name": "listAndCount", "variant": "signature", "kind": 4096, @@ -97031,7 +96817,7 @@ }, "parameters": [ { - "id": 3636, + "id": 3625, "name": "selector", "variant": "param", "kind": 32768, @@ -97055,7 +96841,7 @@ } }, { - "id": 3637, + "id": 3626, "name": "config", "variant": "param", "kind": 32768, @@ -97116,14 +96902,14 @@ ] }, { - "id": 3638, + "id": 3627, "name": "count", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3639, + "id": 3628, "name": "count", "variant": "signature", "kind": 4096, @@ -97149,7 +96935,7 @@ }, "parameters": [ { - "id": 3640, + "id": 3629, "name": "selector", "variant": "param", "kind": 32768, @@ -97204,14 +96990,14 @@ ] }, { - "id": 3641, + "id": 3630, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3642, + "id": 3631, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -97237,7 +97023,7 @@ }, "parameters": [ { - "id": 3643, + "id": 3632, "name": "productId", "variant": "param", "kind": 32768, @@ -97256,7 +97042,7 @@ } }, { - "id": 3644, + "id": 3633, "name": "config", "variant": "param", "kind": 32768, @@ -97305,14 +97091,14 @@ ] }, { - "id": 3645, + "id": 3634, "name": "retrieveByHandle", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3646, + "id": 3635, "name": "retrieveByHandle", "variant": "signature", "kind": 4096, @@ -97338,7 +97124,7 @@ }, "parameters": [ { - "id": 3647, + "id": 3636, "name": "productHandle", "variant": "param", "kind": 32768, @@ -97357,7 +97143,7 @@ } }, { - "id": 3648, + "id": 3637, "name": "config", "variant": "param", "kind": 32768, @@ -97406,14 +97192,14 @@ ] }, { - "id": 3649, + "id": 3638, "name": "retrieveByExternalId", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3650, + "id": 3639, "name": "retrieveByExternalId", "variant": "signature", "kind": 4096, @@ -97439,7 +97225,7 @@ }, "parameters": [ { - "id": 3651, + "id": 3640, "name": "externalId", "variant": "param", "kind": 32768, @@ -97458,7 +97244,7 @@ } }, { - "id": 3652, + "id": 3641, "name": "config", "variant": "param", "kind": 32768, @@ -97507,14 +97293,14 @@ ] }, { - "id": 3653, + "id": 3642, "name": "retrieve_", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3654, + "id": 3643, "name": "retrieve_", "variant": "signature", "kind": 4096, @@ -97540,7 +97326,7 @@ }, "parameters": [ { - "id": 3655, + "id": 3644, "name": "selector", "variant": "param", "kind": 32768, @@ -97575,7 +97361,7 @@ } }, { - "id": 3656, + "id": 3645, "name": "config", "variant": "param", "kind": 32768, @@ -97624,14 +97410,14 @@ ] }, { - "id": 3657, + "id": 3646, "name": "retrieveVariants", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3658, + "id": 3647, "name": "retrieveVariants", "variant": "signature", "kind": 4096, @@ -97657,7 +97443,7 @@ }, "parameters": [ { - "id": 3659, + "id": 3648, "name": "productId", "variant": "param", "kind": 32768, @@ -97676,7 +97462,7 @@ } }, { - "id": 3660, + "id": 3649, "name": "config", "variant": "param", "kind": 32768, @@ -97728,21 +97514,21 @@ ] }, { - "id": 3661, + "id": 3650, "name": "filterProductsBySalesChannel", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3662, + "id": 3651, "name": "filterProductsBySalesChannel", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3663, + "id": 3652, "name": "productIds", "variant": "param", "kind": 32768, @@ -97756,7 +97542,7 @@ } }, { - "id": 3664, + "id": 3653, "name": "salesChannelId", "variant": "param", "kind": 32768, @@ -97767,7 +97553,7 @@ } }, { - "id": 3665, + "id": 3654, "name": "config", "variant": "param", "kind": 32768, @@ -97811,14 +97597,14 @@ ] }, { - "id": 3666, + "id": 3655, "name": "listTypes", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3667, + "id": 3656, "name": "listTypes", "variant": "signature", "kind": 4096, @@ -97850,21 +97636,21 @@ ] }, { - "id": 3668, + "id": 3657, "name": "listTagsByUsage", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3669, + "id": 3658, "name": "listTagsByUsage", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3670, + "id": 3659, "name": "take", "variant": "param", "kind": 32768, @@ -97903,14 +97689,14 @@ ] }, { - "id": 3671, + "id": 3660, "name": "isProductInSalesChannels", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3672, + "id": 3661, "name": "isProductInSalesChannels", "variant": "signature", "kind": 4096, @@ -97925,7 +97711,7 @@ }, "parameters": [ { - "id": 3673, + "id": 3662, "name": "id", "variant": "param", "kind": 32768, @@ -97944,7 +97730,7 @@ } }, { - "id": 3674, + "id": 3663, "name": "salesChannelIds", "variant": "param", "kind": 32768, @@ -97985,14 +97771,14 @@ ] }, { - "id": 3675, + "id": 3664, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3676, + "id": 3665, "name": "create", "variant": "signature", "kind": 4096, @@ -98018,7 +97804,7 @@ }, "parameters": [ { - "id": 3677, + "id": 3666, "name": "productObject", "variant": "param", "kind": 32768, @@ -98066,14 +97852,14 @@ ] }, { - "id": 3678, + "id": 3667, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3679, + "id": 3668, "name": "update", "variant": "signature", "kind": 4096, @@ -98107,7 +97893,7 @@ }, "parameters": [ { - "id": 3680, + "id": 3669, "name": "productId", "variant": "param", "kind": 32768, @@ -98126,7 +97912,7 @@ } }, { - "id": 3681, + "id": 3670, "name": "update", "variant": "param", "kind": 32768, @@ -98174,14 +97960,14 @@ ] }, { - "id": 3682, + "id": 3671, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3683, + "id": 3672, "name": "delete", "variant": "signature", "kind": 4096, @@ -98207,7 +97993,7 @@ }, "parameters": [ { - "id": 3684, + "id": 3673, "name": "productId", "variant": "param", "kind": 32768, @@ -98245,14 +98031,14 @@ ] }, { - "id": 3685, + "id": 3674, "name": "addOption", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3686, + "id": 3675, "name": "addOption", "variant": "signature", "kind": 4096, @@ -98278,7 +98064,7 @@ }, "parameters": [ { - "id": 3687, + "id": 3676, "name": "productId", "variant": "param", "kind": 32768, @@ -98297,7 +98083,7 @@ } }, { - "id": 3688, + "id": 3677, "name": "optionTitle", "variant": "param", "kind": 32768, @@ -98340,21 +98126,21 @@ ] }, { - "id": 3689, + "id": 3678, "name": "reorderVariants", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3690, + "id": 3679, "name": "reorderVariants", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 3691, + "id": 3680, "name": "productId", "variant": "param", "kind": 32768, @@ -98365,7 +98151,7 @@ } }, { - "id": 3692, + "id": 3681, "name": "variantOrder", "variant": "param", "kind": 32768, @@ -98403,14 +98189,14 @@ ] }, { - "id": 3693, + "id": 3682, "name": "updateOption", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3694, + "id": 3683, "name": "updateOption", "variant": "signature", "kind": 4096, @@ -98436,7 +98222,7 @@ }, "parameters": [ { - "id": 3695, + "id": 3684, "name": "productId", "variant": "param", "kind": 32768, @@ -98455,7 +98241,7 @@ } }, { - "id": 3696, + "id": 3685, "name": "optionId", "variant": "param", "kind": 32768, @@ -98474,7 +98260,7 @@ } }, { - "id": 3697, + "id": 3686, "name": "data", "variant": "param", "kind": 32768, @@ -98522,14 +98308,14 @@ ] }, { - "id": 3698, + "id": 3687, "name": "retrieveOptionByTitle", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3699, + "id": 3688, "name": "retrieveOptionByTitle", "variant": "signature", "kind": 4096, @@ -98555,7 +98341,7 @@ }, "parameters": [ { - "id": 3700, + "id": 3689, "name": "title", "variant": "param", "kind": 32768, @@ -98574,7 +98360,7 @@ } }, { - "id": 3701, + "id": 3690, "name": "productId", "variant": "param", "kind": 32768, @@ -98626,14 +98412,14 @@ ] }, { - "id": 3702, + "id": 3691, "name": "deleteOption", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3703, + "id": 3692, "name": "deleteOption", "variant": "signature", "kind": 4096, @@ -98659,7 +98445,7 @@ }, "parameters": [ { - "id": 3704, + "id": 3693, "name": "productId", "variant": "param", "kind": 32768, @@ -98678,7 +98464,7 @@ } }, { - "id": 3705, + "id": 3694, "name": "optionId", "variant": "param", "kind": 32768, @@ -98730,14 +98516,14 @@ ] }, { - "id": 3706, + "id": 3695, "name": "updateShippingProfile", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 3707, + "id": 3696, "name": "updateShippingProfile", "variant": "signature", "kind": 4096, @@ -98763,7 +98549,7 @@ }, "parameters": [ { - "id": 3708, + "id": 3697, "name": "productIds", "variant": "param", "kind": 32768, @@ -98794,7 +98580,7 @@ } }, { - "id": 3709, + "id": 3698, "name": "profileId", "variant": "param", "kind": 32768, @@ -98849,7 +98635,7 @@ ] }, { - "id": 3710, + "id": 3699, "name": "prepareListQuery_", "variant": "declaration", "kind": 2048, @@ -98858,7 +98644,7 @@ }, "signatures": [ { - "id": 3711, + "id": 3700, "name": "prepareListQuery_", "variant": "signature", "kind": 4096, @@ -98875,7 +98661,7 @@ }, "parameters": [ { - "id": 3712, + "id": 3701, "name": "selector", "variant": "param", "kind": 32768, @@ -98916,7 +98702,7 @@ } }, { - "id": 3713, + "id": 3702, "name": "config", "variant": "param", "kind": 32768, @@ -98935,14 +98721,14 @@ "type": { "type": "reflection", "declaration": { - "id": 3714, + "id": 3703, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 3715, + "id": 3704, "name": "q", "variant": "declaration", "kind": 1024, @@ -98953,7 +98739,7 @@ } }, { - "id": 3716, + "id": 3705, "name": "relations", "variant": "declaration", "kind": 1024, @@ -98976,7 +98762,7 @@ } }, { - "id": 3717, + "id": 3706, "name": "query", "variant": "declaration", "kind": 1024, @@ -98996,9 +98782,9 @@ { "title": "Properties", "children": [ - 3715, - 3716, - 3717 + 3704, + 3705, + 3706 ] } ] @@ -99008,7 +98794,7 @@ ] }, { - "id": 3718, + "id": 3707, "name": "decorateProductsWithSalesChannels", "variant": "declaration", "kind": 2048, @@ -99017,7 +98803,7 @@ }, "signatures": [ { - "id": 3719, + "id": 3708, "name": "decorateProductsWithSalesChannels", "variant": "signature", "kind": 4096, @@ -99034,7 +98820,7 @@ }, "parameters": [ { - "id": 3720, + "id": 3709, "name": "products", "variant": "param", "kind": 32768, @@ -99080,7 +98866,7 @@ ] }, { - "id": 3721, + "id": 3710, "name": "getSalesChannelModuleChannels", "variant": "declaration", "kind": 2048, @@ -99089,7 +98875,7 @@ }, "signatures": [ { - "id": 3722, + "id": 3711, "name": "getSalesChannelModuleChannels", "variant": "signature", "kind": 4096, @@ -99106,7 +98892,7 @@ }, "parameters": [ { - "id": 3723, + "id": 3712, "name": "productIds", "variant": "param", "kind": 32768, @@ -99166,70 +98952,70 @@ { "title": "Constructors", "children": [ - 3491 + 3480 ] }, { "title": "Properties", "children": [ - 3724, - 3725, - 3728, - 3729, - 3730, - 3494, - 3495, - 3571, - 3572, - 3581, - 3596, - 3604, - 3624, - 3625, - 3626, - 3627, - 3628, - 3629, - 3485, - 3486 + 3713, + 3714, + 3717, + 3718, + 3719, + 3483, + 3484, + 3560, + 3561, + 3570, + 3585, + 3593, + 3613, + 3614, + 3615, + 3616, + 3617, + 3618, + 3474, + 3475 ] }, { "title": "Accessors", "children": [ - 3726 + 3715 ] }, { "title": "Methods", "children": [ - 3731, - 3734, - 3739, + 3720, + 3723, + 3728, + 3619, + 3623, + 3627, 3630, 3634, 3638, - 3641, - 3645, - 3649, - 3653, + 3642, + 3646, + 3650, + 3655, 3657, - 3661, - 3666, - 3668, + 3660, + 3664, + 3667, 3671, - 3675, + 3674, 3678, 3682, - 3685, - 3689, - 3693, - 3698, - 3702, - 3706, - 3710, - 3718, - 3721 + 3687, + 3691, + 3695, + 3699, + 3707, + 3710 ] } ], @@ -99246,7 +99032,7 @@ ] }, { - "id": 4612, + "id": 4601, "name": "RegionService", "variant": "declaration", "kind": 128, @@ -99261,7 +99047,7 @@ }, "children": [ { - "id": 4702, + "id": 4691, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -99284,7 +99070,7 @@ } }, { - "id": 4703, + "id": 4692, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -99316,7 +99102,7 @@ } }, { - "id": 4704, + "id": 4693, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -99324,7 +99110,7 @@ "isProtected": true }, "getSignature": { - "id": 4705, + "id": 4694, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -99351,7 +99137,7 @@ } }, { - "id": 4706, + "id": 4695, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -99370,7 +99156,7 @@ } }, { - "id": 4707, + "id": 4696, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -99405,7 +99191,7 @@ } }, { - "id": 4708, + "id": 4697, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -99440,21 +99226,21 @@ } }, { - "id": 4709, + "id": 4698, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4710, + "id": 4699, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4711, + "id": 4700, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -99490,7 +99276,7 @@ } }, { - "id": 4712, + "id": 4701, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -99499,14 +99285,14 @@ }, "signatures": [ { - "id": 4713, + "id": 4702, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4714, + "id": 4703, "name": "err", "variant": "param", "kind": 32768, @@ -99536,14 +99322,14 @@ { "type": "reflection", "declaration": { - "id": 4715, + "id": 4704, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4716, + "id": 4705, "name": "code", "variant": "declaration", "kind": 1024, @@ -99558,7 +99344,7 @@ { "title": "Properties", "children": [ - 4716 + 4705 ] } ] @@ -99586,7 +99372,7 @@ } }, { - "id": 4717, + "id": 4706, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -99595,7 +99381,7 @@ }, "signatures": [ { - "id": 4718, + "id": 4707, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -99621,14 +99407,14 @@ }, "typeParameter": [ { - "id": 4719, + "id": 4708, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 4720, + "id": 4709, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -99637,7 +99423,7 @@ ], "parameters": [ { - "id": 4721, + "id": 4710, "name": "work", "variant": "param", "kind": 32768, @@ -99653,21 +99439,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4722, + "id": 4711, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4723, + "id": 4712, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4724, + "id": 4713, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -99707,7 +99493,7 @@ } }, { - "id": 4725, + "id": 4714, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -99737,21 +99523,21 @@ { "type": "reflection", "declaration": { - "id": 4726, + "id": 4715, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4727, + "id": 4716, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4728, + "id": 4717, "name": "error", "variant": "param", "kind": 32768, @@ -99800,7 +99586,7 @@ } }, { - "id": 4729, + "id": 4718, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -99818,21 +99604,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4730, + "id": 4719, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4731, + "id": 4720, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4732, + "id": 4721, "name": "error", "variant": "param", "kind": 32768, @@ -99911,7 +99697,7 @@ } }, { - "id": 4613, + "id": 4602, "name": "Events", "variant": "declaration", "kind": 1024, @@ -99921,14 +99707,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4614, + "id": 4603, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4615, + "id": 4604, "name": "UPDATED", "variant": "declaration", "kind": 1024, @@ -99940,7 +99726,7 @@ "defaultValue": "\"region.updated\"" }, { - "id": 4616, + "id": 4605, "name": "CREATED", "variant": "declaration", "kind": 1024, @@ -99952,7 +99738,7 @@ "defaultValue": "\"region.created\"" }, { - "id": 4617, + "id": 4606, "name": "DELETED", "variant": "declaration", "kind": 1024, @@ -99968,9 +99754,9 @@ { "title": "Properties", "children": [ - 4615, - 4616, - 4617 + 4604, + 4605, + 4606 ] } ] @@ -99979,7 +99765,7 @@ "defaultValue": "..." }, { - "id": 4621, + "id": 4610, "name": "featureFlagRouter_", "variant": "declaration", "kind": 1024, @@ -99989,7 +99775,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/feature-flags/utils/flag-router.d.ts", + "sourceFileName": "../../../packages/utils/src/feature-flags/utils/flag-router.ts", "qualifiedName": "FlagRouter" }, "name": "FlagRouter", @@ -99997,7 +99783,7 @@ } }, { - "id": 4622, + "id": 4611, "name": "eventBus_", "variant": "declaration", "kind": 1024, @@ -100007,13 +99793,13 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 4623, + "id": 4612, "name": "storeService_", "variant": "declaration", "kind": 1024, @@ -100023,13 +99809,13 @@ }, "type": { "type": "reference", - "target": 5502, + "target": 5491, "name": "StoreService", "package": "@medusajs/medusa" } }, { - "id": 4624, + "id": 4613, "name": "paymentProviderService_", "variant": "declaration", "kind": 1024, @@ -100039,13 +99825,13 @@ }, "type": { "type": "reference", - "target": 2962, + "target": 2961, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 4625, + "id": 4614, "name": "fulfillmentProviderService_", "variant": "declaration", "kind": 1024, @@ -100055,13 +99841,13 @@ }, "type": { "type": "reference", - "target": 1524, + "target": 1523, "name": "FulfillmentProviderService", "package": "@medusajs/medusa" } }, { - "id": 4626, + "id": 4615, "name": "regionRepository_", "variant": "declaration", "kind": 1024, @@ -100091,7 +99877,7 @@ } }, { - "id": 4627, + "id": 4616, "name": "countryRepository_", "variant": "declaration", "kind": 1024, @@ -100121,7 +99907,7 @@ } }, { - "id": 4628, + "id": 4617, "name": "currencyRepository_", "variant": "declaration", "kind": 1024, @@ -100151,7 +99937,7 @@ } }, { - "id": 4629, + "id": 4618, "name": "paymentProviderRepository_", "variant": "declaration", "kind": 1024, @@ -100181,7 +99967,7 @@ } }, { - "id": 4630, + "id": 4619, "name": "fulfillmentProviderRepository_", "variant": "declaration", "kind": 1024, @@ -100211,7 +99997,7 @@ } }, { - "id": 4631, + "id": 4620, "name": "taxProviderRepository_", "variant": "declaration", "kind": 1024, @@ -100241,21 +100027,21 @@ } }, { - "id": 4618, + "id": 4607, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4619, + "id": 4608, "name": "new RegionService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 4620, + "id": 4609, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -100273,7 +100059,7 @@ ], "type": { "type": "reference", - "target": 4612, + "target": 4601, "name": "RegionService", "package": "@medusajs/medusa" }, @@ -100291,14 +100077,14 @@ } }, { - "id": 4632, + "id": 4621, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4633, + "id": 4622, "name": "create", "variant": "signature", "kind": 4096, @@ -100324,7 +100110,7 @@ }, "parameters": [ { - "id": 4634, + "id": 4623, "name": "data", "variant": "param", "kind": 32768, @@ -100372,14 +100158,14 @@ ] }, { - "id": 4635, + "id": 4624, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4636, + "id": 4625, "name": "update", "variant": "signature", "kind": 4096, @@ -100405,7 +100191,7 @@ }, "parameters": [ { - "id": 4637, + "id": 4626, "name": "regionId", "variant": "param", "kind": 32768, @@ -100424,7 +100210,7 @@ } }, { - "id": 4638, + "id": 4627, "name": "update", "variant": "param", "kind": 32768, @@ -100472,7 +100258,7 @@ ] }, { - "id": 4639, + "id": 4628, "name": "validateFields", "variant": "declaration", "kind": 2048, @@ -100481,7 +100267,7 @@ }, "signatures": [ { - "id": 4640, + "id": 4629, "name": "validateFields", "variant": "signature", "kind": 4096, @@ -100507,7 +100293,7 @@ }, "typeParameter": [ { - "id": 4641, + "id": 4630, "name": "T", "variant": "typeParam", "kind": 131072, @@ -100539,7 +100325,7 @@ ], "parameters": [ { - "id": 4642, + "id": 4631, "name": "regionData", "variant": "param", "kind": 32768, @@ -100561,7 +100347,7 @@ "typeArguments": [ { "type": "reference", - "target": 4641, + "target": 4630, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100585,7 +100371,7 @@ } }, { - "id": 4643, + "id": 4632, "name": "id", "variant": "param", "kind": 32768, @@ -100604,7 +100390,7 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 4641, + "target": 4630, "name": "T", "package": "@medusajs/medusa", "refersToTypeParameter": true @@ -100664,7 +100450,7 @@ ] }, { - "id": 4644, + "id": 4633, "name": "validateTaxRate", "variant": "declaration", "kind": 2048, @@ -100673,7 +100459,7 @@ }, "signatures": [ { - "id": 4645, + "id": 4634, "name": "validateTaxRate", "variant": "signature", "kind": 4096, @@ -100708,7 +100494,7 @@ }, "parameters": [ { - "id": 4646, + "id": 4635, "name": "taxRate", "variant": "param", "kind": 32768, @@ -100735,7 +100521,7 @@ ] }, { - "id": 4647, + "id": 4636, "name": "validateCurrency", "variant": "declaration", "kind": 2048, @@ -100744,7 +100530,7 @@ }, "signatures": [ { - "id": 4648, + "id": 4637, "name": "validateCurrency", "variant": "signature", "kind": 4096, @@ -100779,7 +100565,7 @@ }, "parameters": [ { - "id": 4649, + "id": 4638, "name": "currencyCode", "variant": "param", "kind": 32768, @@ -100817,7 +100603,7 @@ ] }, { - "id": 4650, + "id": 4639, "name": "validateCountry", "variant": "declaration", "kind": 2048, @@ -100826,7 +100612,7 @@ }, "signatures": [ { - "id": 4651, + "id": 4640, "name": "validateCountry", "variant": "signature", "kind": 4096, @@ -100852,7 +100638,7 @@ }, "parameters": [ { - "id": 4652, + "id": 4641, "name": "code", "variant": "param", "kind": 32768, @@ -100871,7 +100657,7 @@ } }, { - "id": 4653, + "id": 4642, "name": "regionId", "variant": "param", "kind": 32768, @@ -100914,14 +100700,14 @@ ] }, { - "id": 4654, + "id": 4643, "name": "retrieveByCountryCode", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4655, + "id": 4644, "name": "retrieveByCountryCode", "variant": "signature", "kind": 4096, @@ -100947,7 +100733,7 @@ }, "parameters": [ { - "id": 4656, + "id": 4645, "name": "code", "variant": "param", "kind": 32768, @@ -100966,7 +100752,7 @@ } }, { - "id": 4657, + "id": 4646, "name": "config", "variant": "param", "kind": 32768, @@ -101026,14 +100812,14 @@ ] }, { - "id": 4658, + "id": 4647, "name": "retrieveByName", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4659, + "id": 4648, "name": "retrieveByName", "variant": "signature", "kind": 4096, @@ -101059,7 +100845,7 @@ }, "parameters": [ { - "id": 4660, + "id": 4649, "name": "name", "variant": "param", "kind": 32768, @@ -101102,14 +100888,14 @@ ] }, { - "id": 4661, + "id": 4650, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4662, + "id": 4651, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -101135,7 +100921,7 @@ }, "parameters": [ { - "id": 4663, + "id": 4652, "name": "regionId", "variant": "param", "kind": 32768, @@ -101154,7 +100940,7 @@ } }, { - "id": 4664, + "id": 4653, "name": "config", "variant": "param", "kind": 32768, @@ -101214,14 +101000,14 @@ ] }, { - "id": 4665, + "id": 4654, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4666, + "id": 4655, "name": "list", "variant": "signature", "kind": 4096, @@ -101247,7 +101033,7 @@ }, "parameters": [ { - "id": 4667, + "id": 4656, "name": "selector", "variant": "param", "kind": 32768, @@ -101283,7 +101069,7 @@ "defaultValue": "{}" }, { - "id": 4668, + "id": 4657, "name": "config", "variant": "param", "kind": 32768, @@ -101346,14 +101132,14 @@ ] }, { - "id": 4669, + "id": 4658, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4670, + "id": 4659, "name": "listAndCount", "variant": "signature", "kind": 4096, @@ -101379,7 +101165,7 @@ }, "parameters": [ { - "id": 4671, + "id": 4660, "name": "selector", "variant": "param", "kind": 32768, @@ -101418,14 +101204,14 @@ { "type": "reflection", "declaration": { - "id": 4672, + "id": 4661, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4673, + "id": 4662, "name": "q", "variant": "declaration", "kind": 1024, @@ -101442,7 +101228,7 @@ { "title": "Properties", "children": [ - 4673 + 4662 ] } ] @@ -101453,7 +101239,7 @@ "defaultValue": "{}" }, { - "id": 4674, + "id": 4663, "name": "config", "variant": "param", "kind": 32768, @@ -101525,14 +101311,14 @@ ] }, { - "id": 4675, + "id": 4664, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4676, + "id": 4665, "name": "delete", "variant": "signature", "kind": 4096, @@ -101558,7 +101344,7 @@ }, "parameters": [ { - "id": 4677, + "id": 4666, "name": "regionId", "variant": "param", "kind": 32768, @@ -101596,14 +101382,14 @@ ] }, { - "id": 4678, + "id": 4667, "name": "addCountry", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4679, + "id": 4668, "name": "addCountry", "variant": "signature", "kind": 4096, @@ -101629,7 +101415,7 @@ }, "parameters": [ { - "id": 4680, + "id": 4669, "name": "regionId", "variant": "param", "kind": 32768, @@ -101648,7 +101434,7 @@ } }, { - "id": 4681, + "id": 4670, "name": "code", "variant": "param", "kind": 32768, @@ -101691,14 +101477,14 @@ ] }, { - "id": 4682, + "id": 4671, "name": "removeCountry", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4683, + "id": 4672, "name": "removeCountry", "variant": "signature", "kind": 4096, @@ -101724,7 +101510,7 @@ }, "parameters": [ { - "id": 4684, + "id": 4673, "name": "regionId", "variant": "param", "kind": 32768, @@ -101743,7 +101529,7 @@ } }, { - "id": 4685, + "id": 4674, "name": "code", "variant": "param", "kind": 32768, @@ -101786,14 +101572,14 @@ ] }, { - "id": 4686, + "id": 4675, "name": "addPaymentProvider", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4687, + "id": 4676, "name": "addPaymentProvider", "variant": "signature", "kind": 4096, @@ -101819,7 +101605,7 @@ }, "parameters": [ { - "id": 4688, + "id": 4677, "name": "regionId", "variant": "param", "kind": 32768, @@ -101838,7 +101624,7 @@ } }, { - "id": 4689, + "id": 4678, "name": "providerId", "variant": "param", "kind": 32768, @@ -101881,14 +101667,14 @@ ] }, { - "id": 4690, + "id": 4679, "name": "addFulfillmentProvider", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4691, + "id": 4680, "name": "addFulfillmentProvider", "variant": "signature", "kind": 4096, @@ -101914,7 +101700,7 @@ }, "parameters": [ { - "id": 4692, + "id": 4681, "name": "regionId", "variant": "param", "kind": 32768, @@ -101933,7 +101719,7 @@ } }, { - "id": 4693, + "id": 4682, "name": "providerId", "variant": "param", "kind": 32768, @@ -101976,14 +101762,14 @@ ] }, { - "id": 4694, + "id": 4683, "name": "removePaymentProvider", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4695, + "id": 4684, "name": "removePaymentProvider", "variant": "signature", "kind": 4096, @@ -102009,7 +101795,7 @@ }, "parameters": [ { - "id": 4696, + "id": 4685, "name": "regionId", "variant": "param", "kind": 32768, @@ -102028,7 +101814,7 @@ } }, { - "id": 4697, + "id": 4686, "name": "providerId", "variant": "param", "kind": 32768, @@ -102071,14 +101857,14 @@ ] }, { - "id": 4698, + "id": 4687, "name": "removeFulfillmentProvider", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4699, + "id": 4688, "name": "removeFulfillmentProvider", "variant": "signature", "kind": 4096, @@ -102104,7 +101890,7 @@ }, "parameters": [ { - "id": 4700, + "id": 4689, "name": "regionId", "variant": "param", "kind": 32768, @@ -102123,7 +101909,7 @@ } }, { - "id": 4701, + "id": 4690, "name": "providerId", "variant": "param", "kind": 32768, @@ -102170,61 +101956,61 @@ { "title": "Constructors", "children": [ - 4618 + 4607 ] }, { "title": "Properties", "children": [ - 4702, - 4703, - 4706, - 4707, - 4708, + 4691, + 4692, + 4695, + 4696, + 4697, + 4602, + 4610, + 4611, + 4612, 4613, - 4621, - 4622, - 4623, - 4624, - 4625, - 4626, - 4627, - 4628, - 4629, - 4630, - 4631 + 4614, + 4615, + 4616, + 4617, + 4618, + 4619, + 4620 ] }, { "title": "Accessors", "children": [ - 4704 + 4693 ] }, { "title": "Methods", "children": [ - 4709, - 4712, - 4717, - 4632, - 4635, + 4698, + 4701, + 4706, + 4621, + 4624, + 4628, + 4633, + 4636, 4639, - 4644, + 4643, 4647, 4650, 4654, 4658, - 4661, - 4665, - 4669, + 4664, + 4667, + 4671, 4675, - 4678, - 4682, - 4686, - 4690, - 4694, - 4698 + 4679, + 4683, + 4687 ] } ], @@ -102241,14 +102027,14 @@ ] }, { - "id": 4836, + "id": 4825, "name": "ReturnReasonService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4859, + "id": 4848, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -102271,7 +102057,7 @@ } }, { - "id": 4860, + "id": 4849, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -102303,7 +102089,7 @@ } }, { - "id": 4861, + "id": 4850, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -102311,7 +102097,7 @@ "isProtected": true }, "getSignature": { - "id": 4862, + "id": 4851, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -102338,7 +102124,7 @@ } }, { - "id": 4863, + "id": 4852, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -102357,7 +102143,7 @@ } }, { - "id": 4864, + "id": 4853, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -102392,7 +102178,7 @@ } }, { - "id": 4865, + "id": 4854, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -102427,21 +102213,21 @@ } }, { - "id": 4866, + "id": 4855, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4867, + "id": 4856, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4868, + "id": 4857, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -102477,7 +102263,7 @@ } }, { - "id": 4869, + "id": 4858, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -102486,14 +102272,14 @@ }, "signatures": [ { - "id": 4870, + "id": 4859, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4871, + "id": 4860, "name": "err", "variant": "param", "kind": 32768, @@ -102523,14 +102309,14 @@ { "type": "reflection", "declaration": { - "id": 4872, + "id": 4861, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4873, + "id": 4862, "name": "code", "variant": "declaration", "kind": 1024, @@ -102545,7 +102331,7 @@ { "title": "Properties", "children": [ - 4873 + 4862 ] } ] @@ -102573,7 +102359,7 @@ } }, { - "id": 4874, + "id": 4863, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -102582,7 +102368,7 @@ }, "signatures": [ { - "id": 4875, + "id": 4864, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -102608,14 +102394,14 @@ }, "typeParameter": [ { - "id": 4876, + "id": 4865, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 4877, + "id": 4866, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -102624,7 +102410,7 @@ ], "parameters": [ { - "id": 4878, + "id": 4867, "name": "work", "variant": "param", "kind": 32768, @@ -102640,21 +102426,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4879, + "id": 4868, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4880, + "id": 4869, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4881, + "id": 4870, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -102694,7 +102480,7 @@ } }, { - "id": 4882, + "id": 4871, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -102724,21 +102510,21 @@ { "type": "reflection", "declaration": { - "id": 4883, + "id": 4872, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4884, + "id": 4873, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4885, + "id": 4874, "name": "error", "variant": "param", "kind": 32768, @@ -102787,7 +102573,7 @@ } }, { - "id": 4886, + "id": 4875, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -102805,21 +102591,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4887, + "id": 4876, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4888, + "id": 4877, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4889, + "id": 4878, "name": "error", "variant": "param", "kind": 32768, @@ -102898,7 +102684,7 @@ } }, { - "id": 4840, + "id": 4829, "name": "retReasonRepo_", "variant": "declaration", "kind": 1024, @@ -102928,21 +102714,21 @@ } }, { - "id": 4837, + "id": 4826, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4838, + "id": 4827, "name": "new ReturnReasonService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 4839, + "id": 4828, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -102960,7 +102746,7 @@ ], "type": { "type": "reference", - "target": 4836, + "target": 4825, "name": "ReturnReasonService", "package": "@medusajs/medusa" }, @@ -102978,21 +102764,21 @@ } }, { - "id": 4841, + "id": 4830, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4842, + "id": 4831, "name": "create", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4843, + "id": 4832, "name": "data", "variant": "param", "kind": 32768, @@ -103032,21 +102818,21 @@ ] }, { - "id": 4844, + "id": 4833, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4845, + "id": 4834, "name": "update", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4846, + "id": 4835, "name": "id", "variant": "param", "kind": 32768, @@ -103057,7 +102843,7 @@ } }, { - "id": 4847, + "id": 4836, "name": "data", "variant": "param", "kind": 32768, @@ -103097,14 +102883,14 @@ ] }, { - "id": 4848, + "id": 4837, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4849, + "id": 4838, "name": "list", "variant": "signature", "kind": 4096, @@ -103125,7 +102911,7 @@ }, "parameters": [ { - "id": 4850, + "id": 4839, "name": "selector", "variant": "param", "kind": 32768, @@ -103160,7 +102946,7 @@ } }, { - "id": 4851, + "id": 4840, "name": "config", "variant": "param", "kind": 32768, @@ -103223,14 +103009,14 @@ ] }, { - "id": 4852, + "id": 4841, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4853, + "id": 4842, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -103256,7 +103042,7 @@ }, "parameters": [ { - "id": 4854, + "id": 4843, "name": "returnReasonId", "variant": "param", "kind": 32768, @@ -103275,7 +103061,7 @@ } }, { - "id": 4855, + "id": 4844, "name": "config", "variant": "param", "kind": 32768, @@ -103335,21 +103121,21 @@ ] }, { - "id": 4856, + "id": 4845, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4857, + "id": 4846, "name": "delete", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4858, + "id": 4847, "name": "returnReasonId", "variant": "param", "kind": 32768, @@ -103383,37 +103169,37 @@ { "title": "Constructors", "children": [ - 4837 + 4826 ] }, { "title": "Properties", "children": [ - 4859, - 4860, - 4863, - 4864, - 4865, - 4840 + 4848, + 4849, + 4852, + 4853, + 4854, + 4829 ] }, { "title": "Accessors", "children": [ - 4861 + 4850 ] }, { "title": "Methods", "children": [ - 4866, - 4869, - 4874, + 4855, + 4858, + 4863, + 4830, + 4833, + 4837, 4841, - 4844, - 4848, - 4852, - 4856 + 4845 ] } ], @@ -103430,14 +103216,14 @@ ] }, { - "id": 4733, + "id": 4722, "name": "ReturnService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4805, + "id": 4794, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -103460,7 +103246,7 @@ } }, { - "id": 4806, + "id": 4795, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -103492,7 +103278,7 @@ } }, { - "id": 4807, + "id": 4796, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -103500,7 +103286,7 @@ "isProtected": true }, "getSignature": { - "id": 4808, + "id": 4797, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -103527,7 +103313,7 @@ } }, { - "id": 4809, + "id": 4798, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -103546,7 +103332,7 @@ } }, { - "id": 4810, + "id": 4799, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -103581,7 +103367,7 @@ } }, { - "id": 4811, + "id": 4800, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -103616,21 +103402,21 @@ } }, { - "id": 4812, + "id": 4801, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4813, + "id": 4802, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4814, + "id": 4803, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -103666,7 +103452,7 @@ } }, { - "id": 4815, + "id": 4804, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -103675,14 +103461,14 @@ }, "signatures": [ { - "id": 4816, + "id": 4805, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4817, + "id": 4806, "name": "err", "variant": "param", "kind": 32768, @@ -103712,14 +103498,14 @@ { "type": "reflection", "declaration": { - "id": 4818, + "id": 4807, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4819, + "id": 4808, "name": "code", "variant": "declaration", "kind": 1024, @@ -103734,7 +103520,7 @@ { "title": "Properties", "children": [ - 4819 + 4808 ] } ] @@ -103762,7 +103548,7 @@ } }, { - "id": 4820, + "id": 4809, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -103771,7 +103557,7 @@ }, "signatures": [ { - "id": 4821, + "id": 4810, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -103797,14 +103583,14 @@ }, "typeParameter": [ { - "id": 4822, + "id": 4811, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 4823, + "id": 4812, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -103813,7 +103599,7 @@ ], "parameters": [ { - "id": 4824, + "id": 4813, "name": "work", "variant": "param", "kind": 32768, @@ -103829,21 +103615,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4825, + "id": 4814, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4826, + "id": 4815, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4827, + "id": 4816, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -103883,7 +103669,7 @@ } }, { - "id": 4828, + "id": 4817, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -103913,21 +103699,21 @@ { "type": "reflection", "declaration": { - "id": 4829, + "id": 4818, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4830, + "id": 4819, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4831, + "id": 4820, "name": "error", "variant": "param", "kind": 32768, @@ -103976,7 +103762,7 @@ } }, { - "id": 4832, + "id": 4821, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -103994,21 +103780,21 @@ "type": { "type": "reflection", "declaration": { - "id": 4833, + "id": 4822, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 4834, + "id": 4823, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4835, + "id": 4824, "name": "error", "variant": "param", "kind": 32768, @@ -104087,7 +103873,7 @@ } }, { - "id": 4737, + "id": 4726, "name": "totalsService_", "variant": "declaration", "kind": 1024, @@ -104097,13 +103883,13 @@ }, "type": { "type": "reference", - "target": 6079, + "target": 6068, "name": "TotalsService", "package": "@medusajs/medusa" } }, { - "id": 4738, + "id": 4727, "name": "returnRepository_", "variant": "declaration", "kind": 1024, @@ -104133,7 +103919,7 @@ } }, { - "id": 4739, + "id": 4728, "name": "returnItemRepository_", "variant": "declaration", "kind": 1024, @@ -104163,7 +103949,7 @@ } }, { - "id": 4740, + "id": 4729, "name": "lineItemService_", "variant": "declaration", "kind": 1024, @@ -104173,13 +103959,13 @@ }, "type": { "type": "reference", - "target": 1753, + "target": 1752, "name": "LineItemService", "package": "@medusajs/medusa" } }, { - "id": 4741, + "id": 4730, "name": "taxProviderService_", "variant": "declaration", "kind": 1024, @@ -104189,13 +103975,13 @@ }, "type": { "type": "reference", - "target": 5812, + "target": 5801, "name": "TaxProviderService", "package": "@medusajs/medusa" } }, { - "id": 4742, + "id": 4731, "name": "shippingOptionService_", "variant": "declaration", "kind": 1024, @@ -104205,13 +103991,13 @@ }, "type": { "type": "reference", - "target": 5157, + "target": 5146, "name": "ShippingOptionService", "package": "@medusajs/medusa" } }, { - "id": 4743, + "id": 4732, "name": "fulfillmentProviderService_", "variant": "declaration", "kind": 1024, @@ -104221,13 +104007,13 @@ }, "type": { "type": "reference", - "target": 1524, + "target": 1523, "name": "FulfillmentProviderService", "package": "@medusajs/medusa" } }, { - "id": 4744, + "id": 4733, "name": "returnReasonService_", "variant": "declaration", "kind": 1024, @@ -104237,13 +104023,13 @@ }, "type": { "type": "reference", - "target": 4836, + "target": 4825, "name": "ReturnReasonService", "package": "@medusajs/medusa" } }, { - "id": 4745, + "id": 4734, "name": "orderService_", "variant": "declaration", "kind": 1024, @@ -104253,13 +104039,13 @@ }, "type": { "type": "reference", - "target": 2373, + "target": 2372, "name": "OrderService", "package": "@medusajs/medusa" } }, { - "id": 4746, + "id": 4735, "name": "productVariantInventoryService_", "variant": "declaration", "kind": 1024, @@ -104269,13 +104055,13 @@ }, "type": { "type": "reference", - "target": 4486, + "target": 4475, "name": "ProductVariantInventoryService", "package": "@medusajs/medusa" } }, { - "id": 4747, + "id": 4736, "name": "featureFlagRouter_", "variant": "declaration", "kind": 1024, @@ -104286,7 +104072,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/feature-flags/utils/flag-router.d.ts", + "sourceFileName": "../../../packages/utils/src/feature-flags/utils/flag-router.ts", "qualifiedName": "FlagRouter" }, "name": "FlagRouter", @@ -104294,21 +104080,21 @@ } }, { - "id": 4734, + "id": 4723, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4735, + "id": 4724, "name": "new ReturnService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 4736, + "id": 4725, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -104326,7 +104112,7 @@ ], "type": { "type": "reference", - "target": 4733, + "target": 4722, "name": "ReturnService", "package": "@medusajs/medusa" }, @@ -104344,7 +104130,7 @@ } }, { - "id": 4748, + "id": 4737, "name": "getFulfillmentItems", "variant": "declaration", "kind": 2048, @@ -104353,7 +104139,7 @@ }, "signatures": [ { - "id": 4749, + "id": 4738, "name": "getFulfillmentItems", "variant": "signature", "kind": 4096, @@ -104379,7 +104165,7 @@ }, "parameters": [ { - "id": 4750, + "id": 4739, "name": "order", "variant": "param", "kind": 32768, @@ -104403,7 +104189,7 @@ } }, { - "id": 4751, + "id": 4740, "name": "items", "variant": "param", "kind": 32768, @@ -104430,7 +104216,7 @@ } }, { - "id": 4752, + "id": 4741, "name": "transformer", "variant": "param", "kind": 32768, @@ -104478,14 +104264,14 @@ { "type": "reflection", "declaration": { - "id": 4753, + "id": 4742, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4754, + "id": 4743, "name": "reason_id", "variant": "declaration", "kind": 1024, @@ -104498,7 +104284,7 @@ } }, { - "id": 4755, + "id": 4744, "name": "note", "variant": "declaration", "kind": 1024, @@ -104515,8 +104301,8 @@ { "title": "Properties", "children": [ - 4754, - 4755 + 4743, + 4744 ] } ] @@ -104533,14 +104319,14 @@ ] }, { - "id": 4756, + "id": 4745, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4757, + "id": 4746, "name": "list", "variant": "signature", "kind": 4096, @@ -104561,7 +104347,7 @@ }, "parameters": [ { - "id": 4758, + "id": 4747, "name": "selector", "variant": "param", "kind": 32768, @@ -104596,7 +104382,7 @@ } }, { - "id": 4759, + "id": 4748, "name": "config", "variant": "param", "kind": 32768, @@ -104659,14 +104445,14 @@ ] }, { - "id": 4760, + "id": 4749, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4761, + "id": 4750, "name": "listAndCount", "variant": "signature", "kind": 4096, @@ -104687,7 +104473,7 @@ }, "parameters": [ { - "id": 4762, + "id": 4751, "name": "selector", "variant": "param", "kind": 32768, @@ -104722,7 +104508,7 @@ } }, { - "id": 4763, + "id": 4752, "name": "config", "variant": "param", "kind": 32768, @@ -104794,14 +104580,14 @@ ] }, { - "id": 4764, + "id": 4753, "name": "cancel", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4765, + "id": 4754, "name": "cancel", "variant": "signature", "kind": 4096, @@ -104827,7 +104613,7 @@ }, "parameters": [ { - "id": 4766, + "id": 4755, "name": "returnId", "variant": "param", "kind": 32768, @@ -104870,7 +104656,7 @@ ] }, { - "id": 4767, + "id": 4756, "name": "validateReturnStatuses", "variant": "declaration", "kind": 2048, @@ -104879,7 +104665,7 @@ }, "signatures": [ { - "id": 4768, + "id": 4757, "name": "validateReturnStatuses", "variant": "signature", "kind": 4096, @@ -104905,7 +104691,7 @@ }, "parameters": [ { - "id": 4769, + "id": 4758, "name": "order", "variant": "param", "kind": 32768, @@ -104937,7 +104723,7 @@ ] }, { - "id": 4770, + "id": 4759, "name": "validateReturnLineItem", "variant": "declaration", "kind": 2048, @@ -104946,7 +104732,7 @@ }, "signatures": [ { - "id": 4771, + "id": 4760, "name": "validateReturnLineItem", "variant": "signature", "kind": 4096, @@ -104972,7 +104758,7 @@ }, "parameters": [ { - "id": 4772, + "id": 4761, "name": "item", "variant": "param", "kind": 32768, @@ -104998,7 +104784,7 @@ } }, { - "id": 4773, + "id": 4762, "name": "quantity", "variant": "param", "kind": 32768, @@ -105018,7 +104804,7 @@ "defaultValue": "0" }, { - "id": 4774, + "id": 4763, "name": "additional", "variant": "param", "kind": 32768, @@ -105034,14 +104820,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4775, + "id": 4764, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4776, + "id": 4765, "name": "reason_id", "variant": "declaration", "kind": 1024, @@ -105054,7 +104840,7 @@ } }, { - "id": 4777, + "id": 4766, "name": "note", "variant": "declaration", "kind": 1024, @@ -105071,8 +104857,8 @@ { "title": "Properties", "children": [ - 4776, - 4777 + 4765, + 4766 ] } ] @@ -105105,14 +104891,14 @@ ] }, { - "id": 4778, + "id": 4767, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4779, + "id": 4768, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -105138,7 +104924,7 @@ }, "parameters": [ { - "id": 4780, + "id": 4769, "name": "returnId", "variant": "param", "kind": 32768, @@ -105157,7 +104943,7 @@ } }, { - "id": 4781, + "id": 4770, "name": "config", "variant": "param", "kind": 32768, @@ -105217,21 +105003,21 @@ ] }, { - "id": 4782, + "id": 4771, "name": "retrieveBySwap", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4783, + "id": 4772, "name": "retrieveBySwap", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4784, + "id": 4773, "name": "swapId", "variant": "param", "kind": 32768, @@ -105242,7 +105028,7 @@ } }, { - "id": 4785, + "id": 4774, "name": "relations", "variant": "param", "kind": 32768, @@ -105281,21 +105067,21 @@ ] }, { - "id": 4786, + "id": 4775, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4787, + "id": 4776, "name": "update", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4788, + "id": 4777, "name": "returnId", "variant": "param", "kind": 32768, @@ -105306,7 +105092,7 @@ } }, { - "id": 4789, + "id": 4778, "name": "update", "variant": "param", "kind": 32768, @@ -105346,14 +105132,14 @@ ] }, { - "id": 4790, + "id": 4779, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4791, + "id": 4780, "name": "create", "variant": "signature", "kind": 4096, @@ -105379,7 +105165,7 @@ }, "parameters": [ { - "id": 4792, + "id": 4781, "name": "data", "variant": "param", "kind": 32768, @@ -105427,21 +105213,21 @@ ] }, { - "id": 4793, + "id": 4782, "name": "fulfill", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4794, + "id": 4783, "name": "fulfill", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4795, + "id": 4784, "name": "returnId", "variant": "param", "kind": 32768, @@ -105476,14 +105262,14 @@ ] }, { - "id": 4796, + "id": 4785, "name": "receive", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4797, + "id": 4786, "name": "receive", "variant": "signature", "kind": 4096, @@ -105509,7 +105295,7 @@ }, "parameters": [ { - "id": 4798, + "id": 4787, "name": "returnId", "variant": "param", "kind": 32768, @@ -105528,7 +105314,7 @@ } }, { - "id": 4799, + "id": 4788, "name": "receivedItems", "variant": "param", "kind": 32768, @@ -105555,7 +105341,7 @@ } }, { - "id": 4800, + "id": 4789, "name": "refundAmount", "variant": "param", "kind": 32768, @@ -105576,7 +105362,7 @@ } }, { - "id": 4801, + "id": 4790, "name": "allowMismatch", "variant": "param", "kind": 32768, @@ -105596,7 +105382,7 @@ "defaultValue": "false" }, { - "id": 4802, + "id": 4791, "name": "context", "variant": "param", "kind": 32768, @@ -105604,14 +105390,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4803, + "id": 4792, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4804, + "id": 4793, "name": "locationId", "variant": "declaration", "kind": 1024, @@ -105628,7 +105414,7 @@ { "title": "Properties", "children": [ - 4804 + 4793 ] } ] @@ -105665,54 +105451,54 @@ { "title": "Constructors", "children": [ - 4734 + 4723 ] }, { "title": "Properties", "children": [ - 4805, - 4806, - 4809, - 4810, - 4811, - 4737, - 4738, - 4739, - 4740, - 4741, - 4742, - 4743, - 4744, - 4745, - 4746, - 4747 + 4794, + 4795, + 4798, + 4799, + 4800, + 4726, + 4727, + 4728, + 4729, + 4730, + 4731, + 4732, + 4733, + 4734, + 4735, + 4736 ] }, { "title": "Accessors", "children": [ - 4807 + 4796 ] }, { "title": "Methods", "children": [ - 4812, - 4815, - 4820, - 4748, + 4801, + 4804, + 4809, + 4737, + 4745, + 4749, + 4753, 4756, - 4760, - 4764, + 4759, 4767, - 4770, - 4778, + 4771, + 4775, + 4779, 4782, - 4786, - 4790, - 4793, - 4796 + 4785 ] } ], @@ -105729,14 +105515,14 @@ ] }, { - "id": 5012, + "id": 5001, "name": "SalesChannelInventoryService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 5024, + "id": 5013, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -105759,7 +105545,7 @@ } }, { - "id": 5025, + "id": 5014, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -105791,7 +105577,7 @@ } }, { - "id": 5026, + "id": 5015, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -105799,7 +105585,7 @@ "isProtected": true }, "getSignature": { - "id": 5027, + "id": 5016, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -105826,7 +105612,7 @@ } }, { - "id": 5028, + "id": 5017, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -105845,7 +105631,7 @@ } }, { - "id": 5029, + "id": 5018, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -105880,7 +105666,7 @@ } }, { - "id": 5030, + "id": 5019, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -105915,21 +105701,21 @@ } }, { - "id": 5031, + "id": 5020, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5032, + "id": 5021, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5033, + "id": 5022, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -105965,7 +105751,7 @@ } }, { - "id": 5034, + "id": 5023, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -105974,14 +105760,14 @@ }, "signatures": [ { - "id": 5035, + "id": 5024, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5036, + "id": 5025, "name": "err", "variant": "param", "kind": 32768, @@ -106011,14 +105797,14 @@ { "type": "reflection", "declaration": { - "id": 5037, + "id": 5026, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5038, + "id": 5027, "name": "code", "variant": "declaration", "kind": 1024, @@ -106033,7 +105819,7 @@ { "title": "Properties", "children": [ - 5038 + 5027 ] } ] @@ -106061,7 +105847,7 @@ } }, { - "id": 5039, + "id": 5028, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -106070,7 +105856,7 @@ }, "signatures": [ { - "id": 5040, + "id": 5029, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -106096,14 +105882,14 @@ }, "typeParameter": [ { - "id": 5041, + "id": 5030, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 5042, + "id": 5031, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -106112,7 +105898,7 @@ ], "parameters": [ { - "id": 5043, + "id": 5032, "name": "work", "variant": "param", "kind": 32768, @@ -106128,21 +105914,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5044, + "id": 5033, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5045, + "id": 5034, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5046, + "id": 5035, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -106182,7 +105968,7 @@ } }, { - "id": 5047, + "id": 5036, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -106212,21 +105998,21 @@ { "type": "reflection", "declaration": { - "id": 5048, + "id": 5037, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5049, + "id": 5038, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5050, + "id": 5039, "name": "error", "variant": "param", "kind": 32768, @@ -106275,7 +106061,7 @@ } }, { - "id": 5051, + "id": 5040, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -106293,21 +106079,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5052, + "id": 5041, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5053, + "id": 5042, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5054, + "id": 5043, "name": "error", "variant": "param", "kind": 32768, @@ -106386,7 +106172,7 @@ } }, { - "id": 5016, + "id": 5005, "name": "salesChannelLocationService_", "variant": "declaration", "kind": 1024, @@ -106396,13 +106182,13 @@ }, "type": { "type": "reference", - "target": 5055, + "target": 5044, "name": "SalesChannelLocationService", "package": "@medusajs/medusa" } }, { - "id": 5017, + "id": 5006, "name": "eventBusService_", "variant": "declaration", "kind": 1024, @@ -106421,7 +106207,7 @@ } }, { - "id": 5018, + "id": 5007, "name": "inventoryService_", "variant": "declaration", "kind": 262144, @@ -106429,7 +106215,7 @@ "isProtected": true }, "getSignature": { - "id": 5019, + "id": 5008, "name": "inventoryService_", "variant": "signature", "kind": 524288, @@ -106446,21 +106232,21 @@ } }, { - "id": 5013, + "id": 5002, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 5014, + "id": 5003, "name": "new SalesChannelInventoryService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 5015, + "id": 5004, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -106478,7 +106264,7 @@ ], "type": { "type": "reference", - "target": 5012, + "target": 5001, "name": "SalesChannelInventoryService", "package": "@medusajs/medusa" }, @@ -106496,14 +106282,14 @@ } }, { - "id": 5020, + "id": 5009, "name": "retrieveAvailableItemQuantity", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5021, + "id": 5010, "name": "retrieveAvailableItemQuantity", "variant": "signature", "kind": 4096, @@ -106529,7 +106315,7 @@ }, "parameters": [ { - "id": 5022, + "id": 5011, "name": "salesChannelId", "variant": "param", "kind": 32768, @@ -106548,7 +106334,7 @@ } }, { - "id": 5023, + "id": 5012, "name": "inventoryItemId", "variant": "param", "kind": 32768, @@ -106590,35 +106376,35 @@ { "title": "Constructors", "children": [ - 5013 + 5002 ] }, { "title": "Properties", "children": [ - 5024, - 5025, - 5028, - 5029, - 5030, - 5016, - 5017 + 5013, + 5014, + 5017, + 5018, + 5019, + 5005, + 5006 ] }, { "title": "Accessors", "children": [ - 5026, - 5018 + 5015, + 5007 ] }, { "title": "Methods", "children": [ - 5031, - 5034, - 5039, - 5020 + 5020, + 5023, + 5028, + 5009 ] } ], @@ -106635,7 +106421,7 @@ ] }, { - "id": 5055, + "id": 5044, "name": "SalesChannelLocationService", "variant": "declaration", "kind": 128, @@ -106650,7 +106436,7 @@ }, "children": [ { - "id": 5077, + "id": 5066, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -106673,7 +106459,7 @@ } }, { - "id": 5078, + "id": 5067, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -106705,7 +106491,7 @@ } }, { - "id": 5079, + "id": 5068, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -106713,7 +106499,7 @@ "isProtected": true }, "getSignature": { - "id": 5080, + "id": 5069, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -106740,7 +106526,7 @@ } }, { - "id": 5081, + "id": 5070, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -106759,7 +106545,7 @@ } }, { - "id": 5082, + "id": 5071, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -106794,7 +106580,7 @@ } }, { - "id": 5083, + "id": 5072, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -106829,21 +106615,21 @@ } }, { - "id": 5084, + "id": 5073, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5085, + "id": 5074, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5086, + "id": 5075, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -106879,7 +106665,7 @@ } }, { - "id": 5087, + "id": 5076, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -106888,14 +106674,14 @@ }, "signatures": [ { - "id": 5088, + "id": 5077, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5089, + "id": 5078, "name": "err", "variant": "param", "kind": 32768, @@ -106925,14 +106711,14 @@ { "type": "reflection", "declaration": { - "id": 5090, + "id": 5079, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5091, + "id": 5080, "name": "code", "variant": "declaration", "kind": 1024, @@ -106947,7 +106733,7 @@ { "title": "Properties", "children": [ - 5091 + 5080 ] } ] @@ -106975,7 +106761,7 @@ } }, { - "id": 5092, + "id": 5081, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -106984,7 +106770,7 @@ }, "signatures": [ { - "id": 5093, + "id": 5082, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -107010,14 +106796,14 @@ }, "typeParameter": [ { - "id": 5094, + "id": 5083, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 5095, + "id": 5084, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -107026,7 +106812,7 @@ ], "parameters": [ { - "id": 5096, + "id": 5085, "name": "work", "variant": "param", "kind": 32768, @@ -107042,21 +106828,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5097, + "id": 5086, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5098, + "id": 5087, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5099, + "id": 5088, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -107096,7 +106882,7 @@ } }, { - "id": 5100, + "id": 5089, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -107126,21 +106912,21 @@ { "type": "reflection", "declaration": { - "id": 5101, + "id": 5090, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5102, + "id": 5091, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5103, + "id": 5092, "name": "error", "variant": "param", "kind": 32768, @@ -107189,7 +106975,7 @@ } }, { - "id": 5104, + "id": 5093, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -107207,21 +106993,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5105, + "id": 5094, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5106, + "id": 5095, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5107, + "id": 5096, "name": "error", "variant": "param", "kind": 32768, @@ -107300,7 +107086,7 @@ } }, { - "id": 5059, + "id": 5048, "name": "salesChannelService_", "variant": "declaration", "kind": 1024, @@ -107310,13 +107096,13 @@ }, "type": { "type": "reference", - "target": 4890, + "target": 4879, "name": "SalesChannelService", "package": "@medusajs/medusa" } }, { - "id": 5060, + "id": 5049, "name": "eventBusService_", "variant": "declaration", "kind": 1024, @@ -107335,7 +107121,7 @@ } }, { - "id": 5061, + "id": 5050, "name": "stockLocationService_", "variant": "declaration", "kind": 262144, @@ -107343,7 +107129,7 @@ "isProtected": true }, "getSignature": { - "id": 5062, + "id": 5051, "name": "stockLocationService_", "variant": "signature", "kind": 524288, @@ -107360,21 +107146,21 @@ } }, { - "id": 5056, + "id": 5045, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 5057, + "id": 5046, "name": "new SalesChannelLocationService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 5058, + "id": 5047, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -107392,7 +107178,7 @@ ], "type": { "type": "reference", - "target": 5055, + "target": 5044, "name": "SalesChannelLocationService", "package": "@medusajs/medusa" }, @@ -107410,14 +107196,14 @@ } }, { - "id": 5063, + "id": 5052, "name": "removeLocation", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5064, + "id": 5053, "name": "removeLocation", "variant": "signature", "kind": 4096, @@ -107443,7 +107229,7 @@ }, "parameters": [ { - "id": 5065, + "id": 5054, "name": "locationId", "variant": "param", "kind": 32768, @@ -107462,7 +107248,7 @@ } }, { - "id": 5066, + "id": 5055, "name": "salesChannelId", "variant": "param", "kind": 32768, @@ -107502,14 +107288,14 @@ ] }, { - "id": 5067, + "id": 5056, "name": "associateLocation", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5068, + "id": 5057, "name": "associateLocation", "variant": "signature", "kind": 4096, @@ -107535,7 +107321,7 @@ }, "parameters": [ { - "id": 5069, + "id": 5058, "name": "salesChannelId", "variant": "param", "kind": 32768, @@ -107554,7 +107340,7 @@ } }, { - "id": 5070, + "id": 5059, "name": "locationId", "variant": "param", "kind": 32768, @@ -107592,14 +107378,14 @@ ] }, { - "id": 5071, + "id": 5060, "name": "listLocationIds", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5072, + "id": 5061, "name": "listLocationIds", "variant": "signature", "kind": 4096, @@ -107625,7 +107411,7 @@ }, "parameters": [ { - "id": 5073, + "id": 5062, "name": "salesChannelId", "variant": "param", "kind": 32768, @@ -107678,14 +107464,14 @@ ] }, { - "id": 5074, + "id": 5063, "name": "listSalesChannelIds", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5075, + "id": 5064, "name": "listSalesChannelIds", "variant": "signature", "kind": 4096, @@ -107711,7 +107497,7 @@ }, "parameters": [ { - "id": 5076, + "id": 5065, "name": "locationId", "variant": "param", "kind": 32768, @@ -107756,38 +107542,38 @@ { "title": "Constructors", "children": [ - 5056 + 5045 ] }, { "title": "Properties", "children": [ - 5077, - 5078, - 5081, - 5082, - 5083, - 5059, - 5060 + 5066, + 5067, + 5070, + 5071, + 5072, + 5048, + 5049 ] }, { "title": "Accessors", "children": [ - 5079, - 5061 + 5068, + 5050 ] }, { "title": "Methods", "children": [ - 5084, - 5087, - 5092, - 5063, - 5067, - 5071, - 5074 + 5073, + 5076, + 5081, + 5052, + 5056, + 5060, + 5063 ] } ], @@ -107804,14 +107590,14 @@ ] }, { - "id": 4890, + "id": 4879, "name": "SalesChannelService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 4981, + "id": 4970, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -107834,7 +107620,7 @@ } }, { - "id": 4982, + "id": 4971, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -107866,7 +107652,7 @@ } }, { - "id": 4983, + "id": 4972, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -107874,7 +107660,7 @@ "isProtected": true }, "getSignature": { - "id": 4984, + "id": 4973, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -107901,7 +107687,7 @@ } }, { - "id": 4985, + "id": 4974, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -107920,7 +107706,7 @@ } }, { - "id": 4986, + "id": 4975, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -107955,7 +107741,7 @@ } }, { - "id": 4987, + "id": 4976, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -107990,21 +107776,21 @@ } }, { - "id": 4988, + "id": 4977, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4989, + "id": 4978, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4990, + "id": 4979, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -108040,7 +107826,7 @@ } }, { - "id": 4991, + "id": 4980, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -108049,14 +107835,14 @@ }, "signatures": [ { - "id": 4992, + "id": 4981, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4993, + "id": 4982, "name": "err", "variant": "param", "kind": 32768, @@ -108086,14 +107872,14 @@ { "type": "reflection", "declaration": { - "id": 4994, + "id": 4983, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4995, + "id": 4984, "name": "code", "variant": "declaration", "kind": 1024, @@ -108108,7 +107894,7 @@ { "title": "Properties", "children": [ - 4995 + 4984 ] } ] @@ -108136,7 +107922,7 @@ } }, { - "id": 4996, + "id": 4985, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -108145,7 +107931,7 @@ }, "signatures": [ { - "id": 4997, + "id": 4986, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -108171,14 +107957,14 @@ }, "typeParameter": [ { - "id": 4998, + "id": 4987, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 4999, + "id": 4988, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -108187,7 +107973,7 @@ ], "parameters": [ { - "id": 5000, + "id": 4989, "name": "work", "variant": "param", "kind": 32768, @@ -108203,21 +107989,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5001, + "id": 4990, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5002, + "id": 4991, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5003, + "id": 4992, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -108257,7 +108043,7 @@ } }, { - "id": 5004, + "id": 4993, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -108287,21 +108073,21 @@ { "type": "reflection", "declaration": { - "id": 5005, + "id": 4994, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5006, + "id": 4995, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5007, + "id": 4996, "name": "error", "variant": "param", "kind": 32768, @@ -108350,7 +108136,7 @@ } }, { - "id": 5008, + "id": 4997, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -108368,21 +108154,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5009, + "id": 4998, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5010, + "id": 4999, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5011, + "id": 5000, "name": "error", "variant": "param", "kind": 32768, @@ -108461,7 +108247,7 @@ } }, { - "id": 4891, + "id": 4880, "name": "Events", "variant": "declaration", "kind": 1024, @@ -108471,14 +108257,14 @@ "type": { "type": "reflection", "declaration": { - "id": 4892, + "id": 4881, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4893, + "id": 4882, "name": "UPDATED", "variant": "declaration", "kind": 1024, @@ -108490,7 +108276,7 @@ "defaultValue": "\"sales_channel.updated\"" }, { - "id": 4894, + "id": 4883, "name": "CREATED", "variant": "declaration", "kind": 1024, @@ -108502,7 +108288,7 @@ "defaultValue": "\"sales_channel.created\"" }, { - "id": 4895, + "id": 4884, "name": "DELETED", "variant": "declaration", "kind": 1024, @@ -108518,9 +108304,9 @@ { "title": "Properties", "children": [ - 4893, - 4894, - 4895 + 4882, + 4883, + 4884 ] } ] @@ -108529,7 +108315,7 @@ "defaultValue": "..." }, { - "id": 4899, + "id": 4888, "name": "salesChannelRepository_", "variant": "declaration", "kind": 1024, @@ -108563,28 +108349,28 @@ { "type": "reflection", "declaration": { - "id": 4900, + "id": 4889, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4901, + "id": 4890, "name": "getFreeTextSearchResults_", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4902, + "id": 4891, "name": "getFreeTextSearchResults_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4903, + "id": 4892, "name": "q", "variant": "param", "kind": 32768, @@ -108595,7 +108381,7 @@ } }, { - "id": 4904, + "id": 4893, "name": "options", "variant": "param", "kind": 32768, @@ -108626,14 +108412,14 @@ { "type": "reflection", "declaration": { - "id": 4905, + "id": 4894, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 4906, + "id": 4895, "name": "withCount", "variant": "declaration", "kind": 1024, @@ -108650,7 +108436,7 @@ { "title": "Properties", "children": [ - 4906 + 4895 ] } ] @@ -108714,21 +108500,21 @@ ] }, { - "id": 4907, + "id": 4896, "name": "getFreeTextSearchResultsAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4908, + "id": 4897, "name": "getFreeTextSearchResultsAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4909, + "id": 4898, "name": "q", "variant": "param", "kind": 32768, @@ -108739,7 +108525,7 @@ } }, { - "id": 4910, + "id": 4899, "name": "options", "variant": "param", "kind": 32768, @@ -108803,21 +108589,21 @@ ] }, { - "id": 4911, + "id": 4900, "name": "getFreeTextSearchResults", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4912, + "id": 4901, "name": "getFreeTextSearchResults", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4913, + "id": 4902, "name": "q", "variant": "param", "kind": 32768, @@ -108828,7 +108614,7 @@ } }, { - "id": 4914, + "id": 4903, "name": "options", "variant": "param", "kind": 32768, @@ -108883,21 +108669,21 @@ ] }, { - "id": 4915, + "id": 4904, "name": "removeProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4916, + "id": 4905, "name": "removeProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4917, + "id": 4906, "name": "salesChannelId", "variant": "param", "kind": 32768, @@ -108908,7 +108694,7 @@ } }, { - "id": 4918, + "id": 4907, "name": "productIds", "variant": "param", "kind": 32768, @@ -108946,21 +108732,21 @@ ] }, { - "id": 4919, + "id": 4908, "name": "addProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4920, + "id": 4909, "name": "addProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4921, + "id": 4910, "name": "salesChannelId", "variant": "param", "kind": 32768, @@ -108971,7 +108757,7 @@ } }, { - "id": 4922, + "id": 4911, "name": "productIds", "variant": "param", "kind": 32768, @@ -108985,7 +108771,7 @@ } }, { - "id": 4923, + "id": 4912, "name": "isMedusaV2Enabled", "variant": "param", "kind": 32768, @@ -109017,21 +108803,21 @@ ] }, { - "id": 4924, + "id": 4913, "name": "listProductIdsBySalesChannelIds", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4925, + "id": 4914, "name": "listProductIdsBySalesChannelIds", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4926, + "id": 4915, "name": "salesChannelIds", "variant": "param", "kind": 32768, @@ -109064,20 +108850,20 @@ { "type": "reflection", "declaration": { - "id": 4927, + "id": 4916, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 4928, + "id": 4917, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 4929, + "id": 4918, "name": "salesChannelId", "variant": "param", "kind": 32768, @@ -109110,12 +108896,12 @@ { "title": "Methods", "children": [ - 4901, - 4907, - 4911, - 4915, - 4919, - 4924 + 4890, + 4896, + 4900, + 4904, + 4908, + 4913 ] } ] @@ -109125,7 +108911,7 @@ } }, { - "id": 4930, + "id": 4919, "name": "eventBusService_", "variant": "declaration", "kind": 1024, @@ -109135,13 +108921,13 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 4931, + "id": 4920, "name": "storeService_", "variant": "declaration", "kind": 1024, @@ -109151,13 +108937,13 @@ }, "type": { "type": "reference", - "target": 5502, + "target": 5491, "name": "StoreService", "package": "@medusajs/medusa" } }, { - "id": 4932, + "id": 4921, "name": "featureFlagRouter_", "variant": "declaration", "kind": 1024, @@ -109168,7 +108954,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/feature-flags/utils/flag-router.d.ts", + "sourceFileName": "../../../packages/utils/src/feature-flags/utils/flag-router.ts", "qualifiedName": "FlagRouter" }, "name": "FlagRouter", @@ -109176,21 +108962,21 @@ } }, { - "id": 4896, + "id": 4885, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 4897, + "id": 4886, "name": "new SalesChannelService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 4898, + "id": 4887, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -109208,7 +108994,7 @@ ], "type": { "type": "reference", - "target": 4890, + "target": 4879, "name": "SalesChannelService", "package": "@medusajs/medusa" }, @@ -109226,7 +109012,7 @@ } }, { - "id": 4933, + "id": 4922, "name": "retrieve_", "variant": "declaration", "kind": 2048, @@ -109235,7 +109021,7 @@ }, "signatures": [ { - "id": 4934, + "id": 4923, "name": "retrieve_", "variant": "signature", "kind": 4096, @@ -109261,7 +109047,7 @@ }, "parameters": [ { - "id": 4935, + "id": 4924, "name": "selector", "variant": "param", "kind": 32768, @@ -109296,7 +109082,7 @@ } }, { - "id": 4936, + "id": 4925, "name": "config", "variant": "param", "kind": 32768, @@ -109356,14 +109142,14 @@ ] }, { - "id": 4937, + "id": 4926, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4938, + "id": 4927, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -109392,7 +109178,7 @@ }, "parameters": [ { - "id": 4939, + "id": 4928, "name": "salesChannelId", "variant": "param", "kind": 32768, @@ -109411,7 +109197,7 @@ } }, { - "id": 4940, + "id": 4929, "name": "config", "variant": "param", "kind": 32768, @@ -109471,14 +109257,14 @@ ] }, { - "id": 4941, + "id": 4930, "name": "retrieveByName", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4942, + "id": 4931, "name": "retrieveByName", "variant": "signature", "kind": 4096, @@ -109504,7 +109290,7 @@ }, "parameters": [ { - "id": 4943, + "id": 4932, "name": "name", "variant": "param", "kind": 32768, @@ -109523,7 +109309,7 @@ } }, { - "id": 4944, + "id": 4933, "name": "config", "variant": "param", "kind": 32768, @@ -109578,14 +109364,14 @@ ] }, { - "id": 4945, + "id": 4934, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4946, + "id": 4935, "name": "listAndCount", "variant": "signature", "kind": 4096, @@ -109611,7 +109397,7 @@ }, "parameters": [ { - "id": 4947, + "id": 4936, "name": "selector", "variant": "param", "kind": 32768, @@ -109638,7 +109424,7 @@ } }, { - "id": 4948, + "id": 4937, "name": "config", "variant": "param", "kind": 32768, @@ -109702,14 +109488,14 @@ ] }, { - "id": 4949, + "id": 4938, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4950, + "id": 4939, "name": "list", "variant": "signature", "kind": 4096, @@ -109735,7 +109521,7 @@ }, "parameters": [ { - "id": 4951, + "id": 4940, "name": "selector", "variant": "param", "kind": 32768, @@ -109762,7 +109548,7 @@ } }, { - "id": 4952, + "id": 4941, "name": "config", "variant": "param", "kind": 32768, @@ -109817,14 +109603,14 @@ ] }, { - "id": 4953, + "id": 4942, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4954, + "id": 4943, "name": "create", "variant": "signature", "kind": 4096, @@ -109853,7 +109639,7 @@ }, "parameters": [ { - "id": 4955, + "id": 4944, "name": "data", "variant": "param", "kind": 32768, @@ -109893,21 +109679,21 @@ ] }, { - "id": 4956, + "id": 4945, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4957, + "id": 4946, "name": "update", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 4958, + "id": 4947, "name": "salesChannelId", "variant": "param", "kind": 32768, @@ -109918,7 +109704,7 @@ } }, { - "id": 4959, + "id": 4948, "name": "data", "variant": "param", "kind": 32768, @@ -109969,14 +109755,14 @@ ] }, { - "id": 4960, + "id": 4949, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4961, + "id": 4950, "name": "delete", "variant": "signature", "kind": 4096, @@ -109994,7 +109780,7 @@ }, "parameters": [ { - "id": 4962, + "id": 4951, "name": "salesChannelId", "variant": "param", "kind": 32768, @@ -110032,14 +109818,14 @@ ] }, { - "id": 4963, + "id": 4952, "name": "createDefault", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4964, + "id": 4953, "name": "createDefault", "variant": "signature", "kind": 4096, @@ -110087,14 +109873,14 @@ ] }, { - "id": 4965, + "id": 4954, "name": "retrieveDefault", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4966, + "id": 4955, "name": "retrieveDefault", "variant": "signature", "kind": 4096, @@ -110142,14 +109928,14 @@ ] }, { - "id": 4967, + "id": 4956, "name": "listProductIdsBySalesChannelIds", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4968, + "id": 4957, "name": "listProductIdsBySalesChannelIds", "variant": "signature", "kind": 4096, @@ -110164,7 +109950,7 @@ }, "parameters": [ { - "id": 4969, + "id": 4958, "name": "salesChannelIds", "variant": "param", "kind": 32768, @@ -110197,20 +109983,20 @@ { "type": "reflection", "declaration": { - "id": 4970, + "id": 4959, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 4971, + "id": 4960, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 4972, + "id": 4961, "name": "salesChannelId", "variant": "param", "kind": 32768, @@ -110239,14 +110025,14 @@ ] }, { - "id": 4973, + "id": 4962, "name": "removeProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4974, + "id": 4963, "name": "removeProducts", "variant": "signature", "kind": 4096, @@ -110272,7 +110058,7 @@ }, "parameters": [ { - "id": 4975, + "id": 4964, "name": "salesChannelId", "variant": "param", "kind": 32768, @@ -110291,7 +110077,7 @@ } }, { - "id": 4976, + "id": 4965, "name": "productIds", "variant": "param", "kind": 32768, @@ -110337,14 +110123,14 @@ ] }, { - "id": 4977, + "id": 4966, "name": "addProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 4978, + "id": 4967, "name": "addProducts", "variant": "signature", "kind": 4096, @@ -110370,7 +110156,7 @@ }, "parameters": [ { - "id": 4979, + "id": 4968, "name": "salesChannelId", "variant": "param", "kind": 32768, @@ -110389,7 +110175,7 @@ } }, { - "id": 4980, + "id": 4969, "name": "productIds", "variant": "param", "kind": 32768, @@ -110439,49 +110225,49 @@ { "title": "Constructors", "children": [ - 4896 + 4885 ] }, { "title": "Properties", "children": [ - 4981, - 4982, - 4985, - 4986, - 4987, - 4891, - 4899, - 4930, - 4931, - 4932 + 4970, + 4971, + 4974, + 4975, + 4976, + 4880, + 4888, + 4919, + 4920, + 4921 ] }, { "title": "Accessors", "children": [ - 4983 + 4972 ] }, { "title": "Methods", "children": [ - 4988, - 4991, - 4996, - 4933, - 4937, - 4941, + 4977, + 4980, + 4985, + 4922, + 4926, + 4930, + 4934, + 4938, + 4942, 4945, 4949, - 4953, + 4952, + 4954, 4956, - 4960, - 4963, - 4965, - 4967, - 4973, - 4977 + 4962, + 4966 ] } ], @@ -110498,14 +110284,14 @@ ] }, { - "id": 5108, + "id": 5097, "name": "SearchService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 5117, + "id": 5106, "name": "isDefault", "variant": "declaration", "kind": 1024, @@ -110522,7 +110308,7 @@ } }, { - "id": 5118, + "id": 5107, "name": "logger_", "variant": "declaration", "kind": 1024, @@ -110541,7 +110327,7 @@ } }, { - "id": 5119, + "id": 5108, "name": "options_", "variant": "declaration", "kind": 1024, @@ -110575,21 +110361,21 @@ } }, { - "id": 5113, + "id": 5102, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 5114, + "id": 5103, "name": "new SearchService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 5115, + "id": 5104, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -110605,7 +110391,7 @@ } }, { - "id": 5116, + "id": 5105, "name": "options", "variant": "param", "kind": 32768, @@ -110618,7 +110404,7 @@ ], "type": { "type": "reference", - "target": 5108, + "target": 5097, "name": "default", "package": "@medusajs/medusa" }, @@ -110636,21 +110422,21 @@ } }, { - "id": 5120, + "id": 5109, "name": "createIndex", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5121, + "id": 5110, "name": "createIndex", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5122, + "id": 5111, "name": "indexName", "variant": "param", "kind": 32768, @@ -110661,7 +110447,7 @@ } }, { - "id": 5123, + "id": 5112, "name": "options", "variant": "param", "kind": 32768, @@ -110701,21 +110487,21 @@ } }, { - "id": 5124, + "id": 5113, "name": "getIndex", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5125, + "id": 5114, "name": "getIndex", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5126, + "id": 5115, "name": "indexName", "variant": "param", "kind": 32768, @@ -110755,21 +110541,21 @@ } }, { - "id": 5127, + "id": 5116, "name": "addDocuments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5128, + "id": 5117, "name": "addDocuments", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5129, + "id": 5118, "name": "indexName", "variant": "param", "kind": 32768, @@ -110780,7 +110566,7 @@ } }, { - "id": 5130, + "id": 5119, "name": "documents", "variant": "param", "kind": 32768, @@ -110791,7 +110577,7 @@ } }, { - "id": 5131, + "id": 5120, "name": "type", "variant": "param", "kind": 32768, @@ -110831,21 +110617,21 @@ } }, { - "id": 5132, + "id": 5121, "name": "replaceDocuments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5133, + "id": 5122, "name": "replaceDocuments", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5134, + "id": 5123, "name": "indexName", "variant": "param", "kind": 32768, @@ -110856,7 +110642,7 @@ } }, { - "id": 5135, + "id": 5124, "name": "documents", "variant": "param", "kind": 32768, @@ -110867,7 +110653,7 @@ } }, { - "id": 5136, + "id": 5125, "name": "type", "variant": "param", "kind": 32768, @@ -110907,21 +110693,21 @@ } }, { - "id": 5137, + "id": 5126, "name": "deleteDocument", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5138, + "id": 5127, "name": "deleteDocument", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5139, + "id": 5128, "name": "indexName", "variant": "param", "kind": 32768, @@ -110932,7 +110718,7 @@ } }, { - "id": 5140, + "id": 5129, "name": "document_id", "variant": "param", "kind": 32768, @@ -110981,21 +110767,21 @@ } }, { - "id": 5141, + "id": 5130, "name": "deleteAllDocuments", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5142, + "id": 5131, "name": "deleteAllDocuments", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5143, + "id": 5132, "name": "indexName", "variant": "param", "kind": 32768, @@ -111035,21 +110821,21 @@ } }, { - "id": 5144, + "id": 5133, "name": "search", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5145, + "id": 5134, "name": "search", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5146, + "id": 5135, "name": "indexName", "variant": "param", "kind": 32768, @@ -111060,7 +110846,7 @@ } }, { - "id": 5147, + "id": 5136, "name": "query", "variant": "param", "kind": 32768, @@ -111071,7 +110857,7 @@ } }, { - "id": 5148, + "id": 5137, "name": "options", "variant": "param", "kind": 32768, @@ -111092,14 +110878,14 @@ { "type": "reflection", "declaration": { - "id": 5149, + "id": 5138, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5150, + "id": 5139, "name": "hits", "variant": "declaration", "kind": 1024, @@ -111117,7 +110903,7 @@ { "title": "Properties", "children": [ - 5150 + 5139 ] } ] @@ -111141,21 +110927,21 @@ } }, { - "id": 5151, + "id": 5140, "name": "updateSettings", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5152, + "id": 5141, "name": "updateSettings", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5153, + "id": 5142, "name": "indexName", "variant": "param", "kind": 32768, @@ -111166,7 +110952,7 @@ } }, { - "id": 5154, + "id": 5143, "name": "settings", "variant": "param", "kind": 32768, @@ -111210,28 +110996,28 @@ { "title": "Constructors", "children": [ - 5113 + 5102 ] }, { "title": "Properties", "children": [ - 5117, - 5118, - 5119 + 5106, + 5107, + 5108 ] }, { "title": "Methods", "children": [ - 5120, - 5124, - 5127, - 5132, - 5137, - 5141, - 5144, - 5151 + 5109, + 5113, + 5116, + 5121, + 5126, + 5130, + 5133, + 5140 ] } ], @@ -111239,7 +111025,7 @@ { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/search/abstract-service.d.ts", + "sourceFileName": "../../../packages/utils/src/search/abstract-service.ts", "qualifiedName": "AbstractSearchService" }, "name": "AbstractSearchService", @@ -111248,7 +111034,7 @@ ] }, { - "id": 5157, + "id": 5146, "name": "ShippingOptionService", "variant": "declaration", "kind": 128, @@ -111263,7 +111049,7 @@ }, "children": [ { - "id": 5242, + "id": 5231, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -111286,7 +111072,7 @@ } }, { - "id": 5243, + "id": 5232, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -111318,7 +111104,7 @@ } }, { - "id": 5244, + "id": 5233, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -111326,7 +111112,7 @@ "isProtected": true }, "getSignature": { - "id": 5245, + "id": 5234, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -111353,7 +111139,7 @@ } }, { - "id": 5246, + "id": 5235, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -111372,7 +111158,7 @@ } }, { - "id": 5247, + "id": 5236, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -111407,7 +111193,7 @@ } }, { - "id": 5248, + "id": 5237, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -111442,21 +111228,21 @@ } }, { - "id": 5249, + "id": 5238, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5250, + "id": 5239, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5251, + "id": 5240, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -111492,7 +111278,7 @@ } }, { - "id": 5252, + "id": 5241, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -111501,14 +111287,14 @@ }, "signatures": [ { - "id": 5253, + "id": 5242, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5254, + "id": 5243, "name": "err", "variant": "param", "kind": 32768, @@ -111538,14 +111324,14 @@ { "type": "reflection", "declaration": { - "id": 5255, + "id": 5244, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5256, + "id": 5245, "name": "code", "variant": "declaration", "kind": 1024, @@ -111560,7 +111346,7 @@ { "title": "Properties", "children": [ - 5256 + 5245 ] } ] @@ -111588,7 +111374,7 @@ } }, { - "id": 5257, + "id": 5246, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -111597,7 +111383,7 @@ }, "signatures": [ { - "id": 5258, + "id": 5247, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -111623,14 +111409,14 @@ }, "typeParameter": [ { - "id": 5259, + "id": 5248, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 5260, + "id": 5249, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -111639,7 +111425,7 @@ ], "parameters": [ { - "id": 5261, + "id": 5250, "name": "work", "variant": "param", "kind": 32768, @@ -111655,21 +111441,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5262, + "id": 5251, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5263, + "id": 5252, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5264, + "id": 5253, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -111709,7 +111495,7 @@ } }, { - "id": 5265, + "id": 5254, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -111739,21 +111525,21 @@ { "type": "reflection", "declaration": { - "id": 5266, + "id": 5255, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5267, + "id": 5256, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5268, + "id": 5257, "name": "error", "variant": "param", "kind": 32768, @@ -111802,7 +111588,7 @@ } }, { - "id": 5269, + "id": 5258, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -111820,21 +111606,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5270, + "id": 5259, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5271, + "id": 5260, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5272, + "id": 5261, "name": "error", "variant": "param", "kind": 32768, @@ -111913,7 +111699,7 @@ } }, { - "id": 5161, + "id": 5150, "name": "providerService_", "variant": "declaration", "kind": 1024, @@ -111923,13 +111709,13 @@ }, "type": { "type": "reference", - "target": 1524, + "target": 1523, "name": "FulfillmentProviderService", "package": "@medusajs/medusa" } }, { - "id": 5162, + "id": 5151, "name": "regionService_", "variant": "declaration", "kind": 1024, @@ -111939,13 +111725,13 @@ }, "type": { "type": "reference", - "target": 4612, + "target": 4601, "name": "RegionService", "package": "@medusajs/medusa" } }, { - "id": 5163, + "id": 5152, "name": "requirementRepository_", "variant": "declaration", "kind": 1024, @@ -111975,7 +111761,7 @@ } }, { - "id": 5164, + "id": 5153, "name": "optionRepository_", "variant": "declaration", "kind": 1024, @@ -112009,28 +111795,28 @@ { "type": "reflection", "declaration": { - "id": 5165, + "id": 5154, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5166, + "id": 5155, "name": "upsertShippingProfile", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5167, + "id": 5156, "name": "upsertShippingProfile", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5168, + "id": 5157, "name": "shippingOptionIds", "variant": "param", "kind": 32768, @@ -112044,7 +111830,7 @@ } }, { - "id": 5169, + "id": 5158, "name": "shippingProfileId", "variant": "param", "kind": 32768, @@ -112086,7 +111872,7 @@ { "title": "Methods", "children": [ - 5166 + 5155 ] } ] @@ -112096,7 +111882,7 @@ } }, { - "id": 5170, + "id": 5159, "name": "methodRepository_", "variant": "declaration", "kind": 1024, @@ -112126,7 +111912,7 @@ } }, { - "id": 5171, + "id": 5160, "name": "featureFlagRouter_", "variant": "declaration", "kind": 1024, @@ -112137,7 +111923,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/feature-flags/utils/flag-router.d.ts", + "sourceFileName": "../../../packages/utils/src/feature-flags/utils/flag-router.ts", "qualifiedName": "FlagRouter" }, "name": "FlagRouter", @@ -112145,21 +111931,21 @@ } }, { - "id": 5158, + "id": 5147, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 5159, + "id": 5148, "name": "new ShippingOptionService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 5160, + "id": 5149, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -112177,7 +111963,7 @@ ], "type": { "type": "reference", - "target": 5157, + "target": 5146, "name": "ShippingOptionService", "package": "@medusajs/medusa" }, @@ -112195,14 +111981,14 @@ } }, { - "id": 5172, + "id": 5161, "name": "validateRequirement_", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5173, + "id": 5162, "name": "validateRequirement_", "variant": "signature", "kind": 4096, @@ -112228,7 +112014,7 @@ }, "parameters": [ { - "id": 5174, + "id": 5163, "name": "requirement", "variant": "param", "kind": 32768, @@ -112252,7 +112038,7 @@ } }, { - "id": 5175, + "id": 5164, "name": "optionId", "variant": "param", "kind": 32768, @@ -112305,14 +112091,14 @@ ] }, { - "id": 5176, + "id": 5165, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5177, + "id": 5166, "name": "list", "variant": "signature", "kind": 4096, @@ -112333,7 +112119,7 @@ }, "parameters": [ { - "id": 5178, + "id": 5167, "name": "selector", "variant": "param", "kind": 32768, @@ -112372,14 +112158,14 @@ { "type": "reflection", "declaration": { - "id": 5179, + "id": 5168, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5180, + "id": 5169, "name": "q", "variant": "declaration", "kind": 1024, @@ -112396,7 +112182,7 @@ { "title": "Properties", "children": [ - 5180 + 5169 ] } ] @@ -112407,7 +112193,7 @@ "defaultValue": "{}" }, { - "id": 5181, + "id": 5170, "name": "config", "variant": "param", "kind": 32768, @@ -112470,14 +112256,14 @@ ] }, { - "id": 5182, + "id": 5171, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5183, + "id": 5172, "name": "listAndCount", "variant": "signature", "kind": 4096, @@ -112498,7 +112284,7 @@ }, "parameters": [ { - "id": 5184, + "id": 5173, "name": "selector", "variant": "param", "kind": 32768, @@ -112537,14 +112323,14 @@ { "type": "reflection", "declaration": { - "id": 5185, + "id": 5174, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5186, + "id": 5175, "name": "q", "variant": "declaration", "kind": 1024, @@ -112561,7 +112347,7 @@ { "title": "Properties", "children": [ - 5186 + 5175 ] } ] @@ -112572,7 +112358,7 @@ "defaultValue": "{}" }, { - "id": 5187, + "id": 5176, "name": "config", "variant": "param", "kind": 32768, @@ -112644,14 +112430,14 @@ ] }, { - "id": 5188, + "id": 5177, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5189, + "id": 5178, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -112677,7 +112463,7 @@ }, "parameters": [ { - "id": 5190, + "id": 5179, "name": "optionId", "variant": "param", "kind": 32768, @@ -112696,7 +112482,7 @@ } }, { - "id": 5191, + "id": 5180, "name": "options", "variant": "param", "kind": 32768, @@ -112756,14 +112542,14 @@ ] }, { - "id": 5192, + "id": 5181, "name": "updateShippingMethod", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5193, + "id": 5182, "name": "updateShippingMethod", "variant": "signature", "kind": 4096, @@ -112789,7 +112575,7 @@ }, "parameters": [ { - "id": 5194, + "id": 5183, "name": "id", "variant": "param", "kind": 32768, @@ -112808,7 +112594,7 @@ } }, { - "id": 5195, + "id": 5184, "name": "update", "variant": "param", "kind": 32768, @@ -112865,14 +112651,14 @@ ] }, { - "id": 5196, + "id": 5185, "name": "deleteShippingMethods", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5197, + "id": 5186, "name": "deleteShippingMethods", "variant": "signature", "kind": 4096, @@ -112898,7 +112684,7 @@ }, "parameters": [ { - "id": 5198, + "id": 5187, "name": "shippingMethods", "variant": "param", "kind": 32768, @@ -112966,14 +112752,14 @@ ] }, { - "id": 5199, + "id": 5188, "name": "createShippingMethod", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5200, + "id": 5189, "name": "createShippingMethod", "variant": "signature", "kind": 4096, @@ -112999,7 +112785,7 @@ }, "parameters": [ { - "id": 5201, + "id": 5190, "name": "optionId", "variant": "param", "kind": 32768, @@ -113018,7 +112804,7 @@ } }, { - "id": 5202, + "id": 5191, "name": "data", "variant": "param", "kind": 32768, @@ -113052,7 +112838,7 @@ } }, { - "id": 5203, + "id": 5192, "name": "config", "variant": "param", "kind": 32768, @@ -113100,14 +112886,14 @@ ] }, { - "id": 5204, + "id": 5193, "name": "validateCartOption", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5205, + "id": 5194, "name": "validateCartOption", "variant": "signature", "kind": 4096, @@ -113133,7 +112919,7 @@ }, "parameters": [ { - "id": 5206, + "id": 5195, "name": "option", "variant": "param", "kind": 32768, @@ -113157,7 +112943,7 @@ } }, { - "id": 5207, + "id": 5196, "name": "cart", "variant": "param", "kind": 32768, @@ -113214,7 +113000,7 @@ ] }, { - "id": 5208, + "id": 5197, "name": "validateAndMutatePrice", "variant": "declaration", "kind": 2048, @@ -113223,14 +113009,14 @@ }, "signatures": [ { - "id": 5209, + "id": 5198, "name": "validateAndMutatePrice", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5210, + "id": 5199, "name": "option", "variant": "param", "kind": 32768, @@ -113260,7 +113046,7 @@ } }, { - "id": 5211, + "id": 5200, "name": "priceInput", "variant": "param", "kind": 32768, @@ -113329,14 +113115,14 @@ ] }, { - "id": 5212, + "id": 5201, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5213, + "id": 5202, "name": "create", "variant": "signature", "kind": 4096, @@ -113370,7 +113156,7 @@ }, "parameters": [ { - "id": 5214, + "id": 5203, "name": "data", "variant": "param", "kind": 32768, @@ -113418,14 +113204,14 @@ ] }, { - "id": 5215, + "id": 5204, "name": "validatePriceType_", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5216, + "id": 5205, "name": "validatePriceType_", "variant": "signature", "kind": 4096, @@ -113451,7 +113237,7 @@ }, "parameters": [ { - "id": 5217, + "id": 5206, "name": "priceType", "variant": "param", "kind": 32768, @@ -113475,7 +113261,7 @@ } }, { - "id": 5218, + "id": 5207, "name": "option", "variant": "param", "kind": 32768, @@ -113523,14 +113309,14 @@ ] }, { - "id": 5219, + "id": 5208, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5220, + "id": 5209, "name": "update", "variant": "signature", "kind": 4096, @@ -113564,7 +113350,7 @@ }, "parameters": [ { - "id": 5221, + "id": 5210, "name": "optionId", "variant": "param", "kind": 32768, @@ -113583,7 +113369,7 @@ } }, { - "id": 5222, + "id": 5211, "name": "update", "variant": "param", "kind": 32768, @@ -113631,14 +113417,14 @@ ] }, { - "id": 5223, + "id": 5212, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5224, + "id": 5213, "name": "delete", "variant": "signature", "kind": 4096, @@ -113664,7 +113450,7 @@ }, "parameters": [ { - "id": 5225, + "id": 5214, "name": "optionId", "variant": "param", "kind": 32768, @@ -113716,14 +113502,14 @@ ] }, { - "id": 5226, + "id": 5215, "name": "addRequirement", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5227, + "id": 5216, "name": "addRequirement", "variant": "signature", "kind": 4096, @@ -113749,7 +113535,7 @@ }, "parameters": [ { - "id": 5228, + "id": 5217, "name": "optionId", "variant": "param", "kind": 32768, @@ -113768,7 +113554,7 @@ } }, { - "id": 5229, + "id": 5218, "name": "requirement", "variant": "param", "kind": 32768, @@ -113816,14 +113602,14 @@ ] }, { - "id": 5230, + "id": 5219, "name": "removeRequirement", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5231, + "id": 5220, "name": "removeRequirement", "variant": "signature", "kind": 4096, @@ -113849,7 +113635,7 @@ }, "parameters": [ { - "id": 5232, + "id": 5221, "name": "requirementId", "variant": "param", "kind": 32768, @@ -113901,14 +113687,14 @@ ] }, { - "id": 5233, + "id": 5222, "name": "updateShippingProfile", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5234, + "id": 5223, "name": "updateShippingProfile", "variant": "signature", "kind": 4096, @@ -113929,7 +113715,7 @@ }, "parameters": [ { - "id": 5235, + "id": 5224, "name": "optionIds", "variant": "param", "kind": 32768, @@ -113960,7 +113746,7 @@ } }, { - "id": 5236, + "id": 5225, "name": "profileId", "variant": "param", "kind": 32768, @@ -114006,14 +113792,14 @@ ] }, { - "id": 5237, + "id": 5226, "name": "getPrice_", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5238, + "id": 5227, "name": "getPrice_", "variant": "signature", "kind": 4096, @@ -114039,7 +113825,7 @@ }, "parameters": [ { - "id": 5239, + "id": 5228, "name": "option", "variant": "param", "kind": 32768, @@ -114063,7 +113849,7 @@ } }, { - "id": 5240, + "id": 5229, "name": "data", "variant": "param", "kind": 32768, @@ -114097,7 +113883,7 @@ } }, { - "id": 5241, + "id": 5230, "name": "cart", "variant": "param", "kind": 32768, @@ -114162,54 +113948,54 @@ { "title": "Constructors", "children": [ - 5158 + 5147 ] }, { "title": "Properties", "children": [ - 5242, - 5243, - 5246, - 5247, - 5248, - 5161, - 5162, - 5163, - 5164, - 5170, - 5171 + 5231, + 5232, + 5235, + 5236, + 5237, + 5150, + 5151, + 5152, + 5153, + 5159, + 5160 ] }, { "title": "Accessors", "children": [ - 5244 + 5233 ] }, { "title": "Methods", "children": [ - 5249, - 5252, - 5257, - 5172, - 5176, - 5182, + 5238, + 5241, + 5246, + 5161, + 5165, + 5171, + 5177, + 5181, + 5185, 5188, - 5192, - 5196, - 5199, + 5193, + 5197, + 5201, 5204, 5208, 5212, 5215, 5219, - 5223, - 5226, - 5230, - 5233, - 5237 + 5222, + 5226 ] } ], @@ -114226,7 +114012,7 @@ ] }, { - "id": 5273, + "id": 5262, "name": "ShippingProfileService", "variant": "declaration", "kind": 128, @@ -114247,7 +114033,7 @@ }, "children": [ { - "id": 5422, + "id": 5411, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -114270,7 +114056,7 @@ } }, { - "id": 5423, + "id": 5412, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -114302,7 +114088,7 @@ } }, { - "id": 5424, + "id": 5413, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -114310,7 +114096,7 @@ "isProtected": true }, "getSignature": { - "id": 5425, + "id": 5414, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -114337,7 +114123,7 @@ } }, { - "id": 5426, + "id": 5415, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -114356,7 +114142,7 @@ } }, { - "id": 5427, + "id": 5416, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -114391,7 +114177,7 @@ } }, { - "id": 5428, + "id": 5417, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -114426,21 +114212,21 @@ } }, { - "id": 5429, + "id": 5418, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5430, + "id": 5419, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5431, + "id": 5420, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -114476,7 +114262,7 @@ } }, { - "id": 5432, + "id": 5421, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -114485,14 +114271,14 @@ }, "signatures": [ { - "id": 5433, + "id": 5422, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5434, + "id": 5423, "name": "err", "variant": "param", "kind": 32768, @@ -114522,14 +114308,14 @@ { "type": "reflection", "declaration": { - "id": 5435, + "id": 5424, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5436, + "id": 5425, "name": "code", "variant": "declaration", "kind": 1024, @@ -114544,7 +114330,7 @@ { "title": "Properties", "children": [ - 5436 + 5425 ] } ] @@ -114572,7 +114358,7 @@ } }, { - "id": 5437, + "id": 5426, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -114581,7 +114367,7 @@ }, "signatures": [ { - "id": 5438, + "id": 5427, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -114607,14 +114393,14 @@ }, "typeParameter": [ { - "id": 5439, + "id": 5428, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 5440, + "id": 5429, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -114623,7 +114409,7 @@ ], "parameters": [ { - "id": 5441, + "id": 5430, "name": "work", "variant": "param", "kind": 32768, @@ -114639,21 +114425,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5442, + "id": 5431, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5443, + "id": 5432, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5444, + "id": 5433, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -114693,7 +114479,7 @@ } }, { - "id": 5445, + "id": 5434, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -114723,21 +114509,21 @@ { "type": "reflection", "declaration": { - "id": 5446, + "id": 5435, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5447, + "id": 5436, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5448, + "id": 5437, "name": "error", "variant": "param", "kind": 32768, @@ -114786,7 +114572,7 @@ } }, { - "id": 5449, + "id": 5438, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -114804,21 +114590,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5450, + "id": 5439, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5451, + "id": 5440, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5452, + "id": 5441, "name": "error", "variant": "param", "kind": 32768, @@ -114897,7 +114683,7 @@ } }, { - "id": 5277, + "id": 5266, "name": "productService_", "variant": "declaration", "kind": 1024, @@ -114907,13 +114693,13 @@ }, "type": { "type": "reference", - "target": 3484, + "target": 3473, "name": "ProductService", "package": "@medusajs/medusa" } }, { - "id": 5278, + "id": 5267, "name": "shippingOptionService_", "variant": "declaration", "kind": 1024, @@ -114923,13 +114709,13 @@ }, "type": { "type": "reference", - "target": 5157, + "target": 5146, "name": "ShippingOptionService", "package": "@medusajs/medusa" } }, { - "id": 5279, + "id": 5268, "name": "customShippingOptionService_", "variant": "declaration", "kind": 1024, @@ -114939,13 +114725,13 @@ }, "type": { "type": "reference", - "target": 698, + "target": 697, "name": "CustomShippingOptionService", "package": "@medusajs/medusa" } }, { - "id": 5280, + "id": 5269, "name": "shippingProfileRepository_", "variant": "declaration", "kind": 1024, @@ -114979,28 +114765,28 @@ { "type": "reflection", "declaration": { - "id": 5281, + "id": 5270, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5282, + "id": 5271, "name": "findByProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5283, + "id": 5272, "name": "findByProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5284, + "id": 5273, "name": "productIds", "variant": "param", "kind": 32768, @@ -115033,20 +114819,20 @@ { "type": "reflection", "declaration": { - "id": 5285, + "id": 5274, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 5286, + "id": 5275, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 5287, + "id": 5276, "name": "product_id", "variant": "param", "kind": 32768, @@ -115084,7 +114870,7 @@ { "title": "Methods", "children": [ - 5282 + 5271 ] } ] @@ -115094,7 +114880,7 @@ } }, { - "id": 5288, + "id": 5277, "name": "productRepository_", "variant": "declaration", "kind": 1024, @@ -115128,28 +114914,28 @@ { "type": "reflection", "declaration": { - "id": 5289, + "id": 5278, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5290, + "id": 5279, "name": "queryProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5291, + "id": 5280, "name": "queryProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5292, + "id": 5281, "name": "optionsWithoutRelations", "variant": "param", "kind": 32768, @@ -115165,7 +114951,7 @@ } }, { - "id": 5293, + "id": 5282, "name": "shouldCount", "variant": "param", "kind": 32768, @@ -115213,21 +114999,21 @@ ] }, { - "id": 5294, + "id": 5283, "name": "queryProductsWithIds", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5295, + "id": 5284, "name": "queryProductsWithIds", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5296, + "id": 5285, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -115235,14 +115021,14 @@ "type": { "type": "reflection", "declaration": { - "id": 5297, + "id": 5286, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5298, + "id": 5287, "name": "entityIds", "variant": "declaration", "kind": 1024, @@ -115256,7 +115042,7 @@ } }, { - "id": 5299, + "id": 5288, "name": "groupedRelations", "variant": "declaration", "kind": 1024, @@ -115264,20 +115050,20 @@ "type": { "type": "reflection", "declaration": { - "id": 5300, + "id": 5289, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 5301, + "id": 5290, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 5302, + "id": 5291, "name": "toplevel", "variant": "param", "kind": 32768, @@ -115300,7 +115086,7 @@ } }, { - "id": 5303, + "id": 5292, "name": "withDeleted", "variant": "declaration", "kind": 1024, @@ -115314,7 +115100,7 @@ "defaultValue": "false" }, { - "id": 5304, + "id": 5293, "name": "select", "variant": "declaration", "kind": 1024, @@ -115340,7 +115126,7 @@ "defaultValue": "[]" }, { - "id": 5305, + "id": 5294, "name": "order", "variant": "declaration", "kind": 1024, @@ -115350,20 +115136,20 @@ "type": { "type": "reflection", "declaration": { - "id": 5306, + "id": 5295, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 5307, + "id": 5296, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 5308, + "id": 5297, "name": "column", "variant": "param", "kind": 32768, @@ -115393,7 +115179,7 @@ "defaultValue": "{}" }, { - "id": 5309, + "id": 5298, "name": "where", "variant": "declaration", "kind": 1024, @@ -115427,12 +115213,12 @@ { "title": "Properties", "children": [ - 5298, - 5299, - 5303, - 5304, - 5305, - 5309 + 5287, + 5288, + 5292, + 5293, + 5294, + 5298 ] } ] @@ -115467,21 +115253,21 @@ ] }, { - "id": 5310, + "id": 5299, "name": "findWithRelationsAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5311, + "id": 5300, "name": "findWithRelationsAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5312, + "id": 5301, "name": "relations", "variant": "param", "kind": 32768, @@ -115496,7 +115282,7 @@ "defaultValue": "[]" }, { - "id": 5313, + "id": 5302, "name": "idsOrOptionsWithoutRelations", "variant": "param", "kind": 32768, @@ -115549,21 +115335,21 @@ ] }, { - "id": 5314, + "id": 5303, "name": "findWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5315, + "id": 5304, "name": "findWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5316, + "id": 5305, "name": "relations", "variant": "param", "kind": 32768, @@ -115578,7 +115364,7 @@ "defaultValue": "[]" }, { - "id": 5317, + "id": 5306, "name": "idsOrOptionsWithoutRelations", "variant": "param", "kind": 32768, @@ -115607,7 +115393,7 @@ "defaultValue": "..." }, { - "id": 5318, + "id": 5307, "name": "withDeleted", "variant": "param", "kind": 32768, @@ -115646,21 +115432,21 @@ ] }, { - "id": 5319, + "id": 5308, "name": "findOneWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5320, + "id": 5309, "name": "findOneWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5321, + "id": 5310, "name": "relations", "variant": "param", "kind": 32768, @@ -115675,7 +115461,7 @@ "defaultValue": "[]" }, { - "id": 5322, + "id": 5311, "name": "optionsWithoutRelations", "variant": "param", "kind": 32768, @@ -115716,21 +115502,21 @@ ] }, { - "id": 5323, + "id": 5312, "name": "bulkAddToCollection", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5324, + "id": 5313, "name": "bulkAddToCollection", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5325, + "id": 5314, "name": "productIds", "variant": "param", "kind": 32768, @@ -115744,7 +115530,7 @@ } }, { - "id": 5326, + "id": 5315, "name": "collectionId", "variant": "param", "kind": 32768, @@ -115782,21 +115568,21 @@ ] }, { - "id": 5327, + "id": 5316, "name": "bulkRemoveFromCollection", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5328, + "id": 5317, "name": "bulkRemoveFromCollection", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5329, + "id": 5318, "name": "productIds", "variant": "param", "kind": 32768, @@ -115810,7 +115596,7 @@ } }, { - "id": 5330, + "id": 5319, "name": "collectionId", "variant": "param", "kind": 32768, @@ -115848,21 +115634,21 @@ ] }, { - "id": 5331, + "id": 5320, "name": "getFreeTextSearchResultsAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5332, + "id": 5321, "name": "getFreeTextSearchResultsAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5333, + "id": 5322, "name": "q", "variant": "param", "kind": 32768, @@ -115873,7 +115659,7 @@ } }, { - "id": 5334, + "id": 5323, "name": "options", "variant": "param", "kind": 32768, @@ -115890,7 +115676,7 @@ "defaultValue": "..." }, { - "id": 5335, + "id": 5324, "name": "relations", "variant": "param", "kind": 32768, @@ -115941,21 +115727,21 @@ ] }, { - "id": 5336, + "id": 5325, "name": "getCategoryIdsFromInput", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5337, + "id": 5326, "name": "getCategoryIdsFromInput", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5338, + "id": 5327, "name": "categoryId", "variant": "param", "kind": 32768, @@ -115973,7 +115759,7 @@ } }, { - "id": 5339, + "id": 5328, "name": "includeCategoryChildren", "variant": "param", "kind": 32768, @@ -116007,21 +115793,21 @@ ] }, { - "id": 5340, + "id": 5329, "name": "getCategoryIdsRecursively", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5341, + "id": 5330, "name": "getCategoryIdsRecursively", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5342, + "id": 5331, "name": "productCategory", "variant": "param", "kind": 32768, @@ -116048,21 +115834,21 @@ ] }, { - "id": 5343, + "id": 5332, "name": "_findWithRelations", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5344, + "id": 5333, "name": "_findWithRelations", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5345, + "id": 5334, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -116070,14 +115856,14 @@ "type": { "type": "reflection", "declaration": { - "id": 5346, + "id": 5335, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5347, + "id": 5336, "name": "relations", "variant": "declaration", "kind": 1024, @@ -116092,7 +115878,7 @@ "defaultValue": "[]" }, { - "id": 5348, + "id": 5337, "name": "idsOrOptionsWithoutRelations", "variant": "declaration", "kind": 1024, @@ -116121,7 +115907,7 @@ "defaultValue": "..." }, { - "id": 5349, + "id": 5338, "name": "withDeleted", "variant": "declaration", "kind": 1024, @@ -116133,7 +115919,7 @@ "defaultValue": "false" }, { - "id": 5350, + "id": 5339, "name": "shouldCount", "variant": "declaration", "kind": 1024, @@ -116149,10 +115935,10 @@ { "title": "Properties", "children": [ - 5347, - 5348, - 5349, - 5350 + 5336, + 5337, + 5338, + 5339 ] } ] @@ -116196,21 +115982,21 @@ ] }, { - "id": 5351, + "id": 5340, "name": "isProductInSalesChannels", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5352, + "id": 5341, "name": "isProductInSalesChannels", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5353, + "id": 5342, "name": "id", "variant": "param", "kind": 32768, @@ -116221,7 +116007,7 @@ } }, { - "id": 5354, + "id": 5343, "name": "salesChannelIds", "variant": "param", "kind": 32768, @@ -116254,21 +116040,21 @@ ] }, { - "id": 5355, + "id": 5344, "name": "_applyCategoriesQuery", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5356, + "id": 5345, "name": "_applyCategoriesQuery", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5357, + "id": 5346, "name": "qb", "variant": "param", "kind": 32768, @@ -116295,7 +116081,7 @@ } }, { - "id": 5358, + "id": 5347, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -116303,14 +116089,14 @@ "type": { "type": "reflection", "declaration": { - "id": 5359, + "id": 5348, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5360, + "id": 5349, "name": "alias", "variant": "declaration", "kind": 1024, @@ -116321,7 +116107,7 @@ } }, { - "id": 5361, + "id": 5350, "name": "categoryAlias", "variant": "declaration", "kind": 1024, @@ -116332,7 +116118,7 @@ } }, { - "id": 5362, + "id": 5351, "name": "where", "variant": "declaration", "kind": 1024, @@ -116343,7 +116129,7 @@ } }, { - "id": 5363, + "id": 5352, "name": "joinName", "variant": "declaration", "kind": 1024, @@ -116358,10 +116144,10 @@ { "title": "Properties", "children": [ - 5360, - 5361, - 5362, - 5363 + 5349, + 5350, + 5351, + 5352 ] } ] @@ -116397,19 +116183,19 @@ { "title": "Methods", "children": [ - 5290, - 5294, - 5310, - 5314, - 5319, - 5323, - 5327, - 5331, - 5336, + 5279, + 5283, + 5299, + 5303, + 5308, + 5312, + 5316, + 5320, + 5325, + 5329, + 5332, 5340, - 5343, - 5351, - 5355 + 5344 ] } ] @@ -116419,7 +116205,7 @@ } }, { - "id": 5364, + "id": 5353, "name": "featureFlagRouter_", "variant": "declaration", "kind": 1024, @@ -116430,7 +116216,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/feature-flags/utils/flag-router.d.ts", + "sourceFileName": "../../../packages/utils/src/feature-flags/utils/flag-router.ts", "qualifiedName": "FlagRouter" }, "name": "FlagRouter", @@ -116438,21 +116224,21 @@ } }, { - "id": 5274, + "id": 5263, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 5275, + "id": 5264, "name": "new ShippingProfileService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 5276, + "id": 5265, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -116470,7 +116256,7 @@ ], "type": { "type": "reference", - "target": 5273, + "target": 5262, "name": "ShippingProfileService", "package": "@medusajs/medusa" }, @@ -116488,14 +116274,14 @@ } }, { - "id": 5365, + "id": 5354, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5366, + "id": 5355, "name": "list", "variant": "signature", "kind": 4096, @@ -116516,7 +116302,7 @@ }, "parameters": [ { - "id": 5367, + "id": 5356, "name": "selector", "variant": "param", "kind": 32768, @@ -116552,7 +116338,7 @@ "defaultValue": "{}" }, { - "id": 5368, + "id": 5357, "name": "config", "variant": "param", "kind": 32768, @@ -116615,21 +116401,21 @@ ] }, { - "id": 5369, + "id": 5358, "name": "getMapProfileIdsByProductIds", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5370, + "id": 5359, "name": "getMapProfileIdsByProductIds", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5371, + "id": 5360, "name": "productIds", "variant": "param", "kind": 32768, @@ -116677,14 +116463,14 @@ ] }, { - "id": 5372, + "id": 5361, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5373, + "id": 5362, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -116710,7 +116496,7 @@ }, "parameters": [ { - "id": 5374, + "id": 5363, "name": "profileId", "variant": "param", "kind": 32768, @@ -116729,7 +116515,7 @@ } }, { - "id": 5375, + "id": 5364, "name": "options", "variant": "param", "kind": 32768, @@ -116789,21 +116575,21 @@ ] }, { - "id": 5376, + "id": 5365, "name": "retrieveForProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5377, + "id": 5366, "name": "retrieveForProducts", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5378, + "id": 5367, "name": "productIds", "variant": "param", "kind": 32768, @@ -116836,20 +116622,20 @@ { "type": "reflection", "declaration": { - "id": 5379, + "id": 5368, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 5380, + "id": 5369, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 5381, + "id": 5370, "name": "product_id", "variant": "param", "kind": 32768, @@ -116883,14 +116669,14 @@ ] }, { - "id": 5382, + "id": 5371, "name": "retrieveDefault", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5383, + "id": 5372, "name": "retrieveDefault", "variant": "signature", "kind": 4096, @@ -116928,14 +116714,14 @@ ] }, { - "id": 5384, + "id": 5373, "name": "createDefault", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5385, + "id": 5374, "name": "createDefault", "variant": "signature", "kind": 4096, @@ -116983,14 +116769,14 @@ ] }, { - "id": 5386, + "id": 5375, "name": "retrieveGiftCardDefault", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5387, + "id": 5376, "name": "retrieveGiftCardDefault", "variant": "signature", "kind": 4096, @@ -117047,14 +116833,14 @@ ] }, { - "id": 5388, + "id": 5377, "name": "createGiftCardDefault", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5389, + "id": 5378, "name": "createGiftCardDefault", "variant": "signature", "kind": 4096, @@ -117102,14 +116888,14 @@ ] }, { - "id": 5390, + "id": 5379, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5391, + "id": 5380, "name": "create", "variant": "signature", "kind": 4096, @@ -117135,7 +116921,7 @@ }, "parameters": [ { - "id": 5392, + "id": 5381, "name": "profile", "variant": "param", "kind": 32768, @@ -117183,14 +116969,14 @@ ] }, { - "id": 5393, + "id": 5382, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5394, + "id": 5383, "name": "update", "variant": "signature", "kind": 4096, @@ -117232,7 +117018,7 @@ }, "parameters": [ { - "id": 5395, + "id": 5384, "name": "profileId", "variant": "param", "kind": 32768, @@ -117251,7 +117037,7 @@ } }, { - "id": 5396, + "id": 5385, "name": "update", "variant": "param", "kind": 32768, @@ -117299,14 +117085,14 @@ ] }, { - "id": 5397, + "id": 5386, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5398, + "id": 5387, "name": "delete", "variant": "signature", "kind": 4096, @@ -117332,7 +117118,7 @@ }, "parameters": [ { - "id": 5399, + "id": 5388, "name": "profileId", "variant": "param", "kind": 32768, @@ -117370,14 +117156,14 @@ ] }, { - "id": 5400, + "id": 5389, "name": "addProduct", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5401, + "id": 5390, "name": "addProduct", "variant": "signature", "kind": 4096, @@ -117396,7 +117182,7 @@ "kind": "inline-tag", "tag": "@link", "text": "addProducts", - "target": 5404, + "target": 5393, "tsLinkText": "" }, { @@ -117409,7 +117195,7 @@ }, "parameters": [ { - "id": 5402, + "id": 5391, "name": "profileId", "variant": "param", "kind": 32768, @@ -117420,7 +117206,7 @@ } }, { - "id": 5403, + "id": 5392, "name": "productId", "variant": "param", "kind": 32768, @@ -117467,14 +117253,14 @@ ] }, { - "id": 5404, + "id": 5393, "name": "addProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5405, + "id": 5394, "name": "addProducts", "variant": "signature", "kind": 4096, @@ -117500,7 +117286,7 @@ }, "parameters": [ { - "id": 5406, + "id": 5395, "name": "profileId", "variant": "param", "kind": 32768, @@ -117519,7 +117305,7 @@ } }, { - "id": 5407, + "id": 5396, "name": "productId", "variant": "param", "kind": 32768, @@ -117574,14 +117360,14 @@ ] }, { - "id": 5408, + "id": 5397, "name": "removeProducts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5409, + "id": 5398, "name": "removeProducts", "variant": "signature", "kind": 4096, @@ -117607,7 +117393,7 @@ }, "parameters": [ { - "id": 5410, + "id": 5399, "name": "profileId", "variant": "param", "kind": 32768, @@ -117635,7 +117421,7 @@ } }, { - "id": 5411, + "id": 5400, "name": "productId", "variant": "param", "kind": 32768, @@ -117699,14 +117485,14 @@ ] }, { - "id": 5412, + "id": 5401, "name": "addShippingOption", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5413, + "id": 5402, "name": "addShippingOption", "variant": "signature", "kind": 4096, @@ -117732,7 +117518,7 @@ }, "parameters": [ { - "id": 5414, + "id": 5403, "name": "profileId", "variant": "param", "kind": 32768, @@ -117751,7 +117537,7 @@ } }, { - "id": 5415, + "id": 5404, "name": "optionId", "variant": "param", "kind": 32768, @@ -117806,14 +117592,14 @@ ] }, { - "id": 5416, + "id": 5405, "name": "fetchCartOptions", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5417, + "id": 5406, "name": "fetchCartOptions", "variant": "signature", "kind": 4096, @@ -117839,7 +117625,7 @@ }, "parameters": [ { - "id": 5418, + "id": 5407, "name": "cart", "variant": "param", "kind": 32768, @@ -117885,7 +117671,7 @@ ] }, { - "id": 5419, + "id": 5408, "name": "getProfilesInCart", "variant": "declaration", "kind": 2048, @@ -117894,7 +117680,7 @@ }, "signatures": [ { - "id": 5420, + "id": 5409, "name": "getProfilesInCart", "variant": "signature", "kind": 4096, @@ -117920,7 +117706,7 @@ }, "parameters": [ { - "id": 5421, + "id": 5410, "name": "cart", "variant": "param", "kind": 32768, @@ -117970,54 +117756,54 @@ { "title": "Constructors", "children": [ - 5274 + 5263 ] }, { "title": "Properties", "children": [ - 5422, - 5423, - 5426, - 5427, - 5428, + 5411, + 5412, + 5415, + 5416, + 5417, + 5266, + 5267, + 5268, + 5269, 5277, - 5278, - 5279, - 5280, - 5288, - 5364 + 5353 ] }, { "title": "Accessors", "children": [ - 5424 + 5413 ] }, { "title": "Methods", "children": [ - 5429, - 5432, - 5437, + 5418, + 5421, + 5426, + 5354, + 5358, + 5361, 5365, - 5369, - 5372, - 5376, + 5371, + 5373, + 5375, + 5377, + 5379, 5382, - 5384, 5386, - 5388, - 5390, + 5389, 5393, 5397, - 5400, - 5404, - 5408, - 5412, - 5416, - 5419 + 5401, + 5405, + 5408 ] } ], @@ -118034,7 +117820,7 @@ ] }, { - "id": 5453, + "id": 5442, "name": "StagedJobService", "variant": "declaration", "kind": 128, @@ -118049,7 +117835,7 @@ }, "children": [ { - "id": 5471, + "id": 5460, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -118072,7 +117858,7 @@ } }, { - "id": 5472, + "id": 5461, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -118104,7 +117890,7 @@ } }, { - "id": 5473, + "id": 5462, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -118112,7 +117898,7 @@ "isProtected": true }, "getSignature": { - "id": 5474, + "id": 5463, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -118139,7 +117925,7 @@ } }, { - "id": 5475, + "id": 5464, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -118158,7 +117944,7 @@ } }, { - "id": 5476, + "id": 5465, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -118193,7 +117979,7 @@ } }, { - "id": 5477, + "id": 5466, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -118228,21 +118014,21 @@ } }, { - "id": 5478, + "id": 5467, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5479, + "id": 5468, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5480, + "id": 5469, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -118278,7 +118064,7 @@ } }, { - "id": 5481, + "id": 5470, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -118287,14 +118073,14 @@ }, "signatures": [ { - "id": 5482, + "id": 5471, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5483, + "id": 5472, "name": "err", "variant": "param", "kind": 32768, @@ -118324,14 +118110,14 @@ { "type": "reflection", "declaration": { - "id": 5484, + "id": 5473, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5485, + "id": 5474, "name": "code", "variant": "declaration", "kind": 1024, @@ -118346,7 +118132,7 @@ { "title": "Properties", "children": [ - 5485 + 5474 ] } ] @@ -118374,7 +118160,7 @@ } }, { - "id": 5486, + "id": 5475, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -118383,7 +118169,7 @@ }, "signatures": [ { - "id": 5487, + "id": 5476, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -118409,14 +118195,14 @@ }, "typeParameter": [ { - "id": 5488, + "id": 5477, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 5489, + "id": 5478, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -118425,7 +118211,7 @@ ], "parameters": [ { - "id": 5490, + "id": 5479, "name": "work", "variant": "param", "kind": 32768, @@ -118441,21 +118227,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5491, + "id": 5480, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5492, + "id": 5481, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5493, + "id": 5482, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -118495,7 +118281,7 @@ } }, { - "id": 5494, + "id": 5483, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -118525,21 +118311,21 @@ { "type": "reflection", "declaration": { - "id": 5495, + "id": 5484, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5496, + "id": 5485, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5497, + "id": 5486, "name": "error", "variant": "param", "kind": 32768, @@ -118588,7 +118374,7 @@ } }, { - "id": 5498, + "id": 5487, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -118606,21 +118392,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5499, + "id": 5488, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5500, + "id": 5489, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5501, + "id": 5490, "name": "error", "variant": "param", "kind": 32768, @@ -118699,7 +118485,7 @@ } }, { - "id": 5457, + "id": 5446, "name": "stagedJobRepository_", "variant": "declaration", "kind": 1024, @@ -118732,28 +118518,28 @@ { "type": "reflection", "declaration": { - "id": 5458, + "id": 5447, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5459, + "id": 5448, "name": "insertBulk", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5460, + "id": 5449, "name": "insertBulk", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5461, + "id": 5450, "name": "jobToCreates", "variant": "param", "kind": 32768, @@ -118814,7 +118600,7 @@ { "title": "Methods", "children": [ - 5459 + 5448 ] } ] @@ -118824,21 +118610,21 @@ } }, { - "id": 5454, + "id": 5443, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 5455, + "id": 5444, "name": "new StagedJobService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 5456, + "id": 5445, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -118856,7 +118642,7 @@ ], "type": { "type": "reference", - "target": 5453, + "target": 5442, "name": "StagedJobService", "package": "@medusajs/medusa" }, @@ -118874,21 +118660,21 @@ } }, { - "id": 5462, + "id": 5451, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5463, + "id": 5452, "name": "list", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5464, + "id": 5453, "name": "config", "variant": "param", "kind": 32768, @@ -118942,21 +118728,21 @@ ] }, { - "id": 5465, + "id": 5454, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5466, + "id": 5455, "name": "delete", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5467, + "id": 5456, "name": "stagedJobIds", "variant": "param", "kind": 32768, @@ -118998,21 +118784,21 @@ ] }, { - "id": 5468, + "id": 5457, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5469, + "id": 5458, "name": "create", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5470, + "id": 5459, "name": "data", "variant": "param", "kind": 32768, @@ -119088,35 +118874,35 @@ { "title": "Constructors", "children": [ - 5454 + 5443 ] }, { "title": "Properties", "children": [ - 5471, - 5472, - 5475, - 5476, - 5477, - 5457 + 5460, + 5461, + 5464, + 5465, + 5466, + 5446 ] }, { "title": "Accessors", "children": [ - 5473 + 5462 ] }, { "title": "Methods", "children": [ - 5478, - 5481, - 5486, - 5462, - 5465, - 5468 + 5467, + 5470, + 5475, + 5451, + 5454, + 5457 ] } ], @@ -119133,7 +118919,7 @@ ] }, { - "id": 5502, + "id": 5491, "name": "StoreService", "variant": "declaration", "kind": 128, @@ -119148,7 +118934,7 @@ }, "children": [ { - "id": 5526, + "id": 5515, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -119171,7 +118957,7 @@ } }, { - "id": 5527, + "id": 5516, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -119203,7 +118989,7 @@ } }, { - "id": 5528, + "id": 5517, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -119211,7 +118997,7 @@ "isProtected": true }, "getSignature": { - "id": 5529, + "id": 5518, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -119238,7 +119024,7 @@ } }, { - "id": 5530, + "id": 5519, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -119257,7 +119043,7 @@ } }, { - "id": 5531, + "id": 5520, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -119292,7 +119078,7 @@ } }, { - "id": 5532, + "id": 5521, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -119327,21 +119113,21 @@ } }, { - "id": 5533, + "id": 5522, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5534, + "id": 5523, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5535, + "id": 5524, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -119377,7 +119163,7 @@ } }, { - "id": 5536, + "id": 5525, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -119386,14 +119172,14 @@ }, "signatures": [ { - "id": 5537, + "id": 5526, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5538, + "id": 5527, "name": "err", "variant": "param", "kind": 32768, @@ -119423,14 +119209,14 @@ { "type": "reflection", "declaration": { - "id": 5539, + "id": 5528, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5540, + "id": 5529, "name": "code", "variant": "declaration", "kind": 1024, @@ -119445,7 +119231,7 @@ { "title": "Properties", "children": [ - 5540 + 5529 ] } ] @@ -119473,7 +119259,7 @@ } }, { - "id": 5541, + "id": 5530, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -119482,7 +119268,7 @@ }, "signatures": [ { - "id": 5542, + "id": 5531, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -119508,14 +119294,14 @@ }, "typeParameter": [ { - "id": 5543, + "id": 5532, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 5544, + "id": 5533, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -119524,7 +119310,7 @@ ], "parameters": [ { - "id": 5545, + "id": 5534, "name": "work", "variant": "param", "kind": 32768, @@ -119540,21 +119326,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5546, + "id": 5535, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5547, + "id": 5536, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5548, + "id": 5537, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -119594,7 +119380,7 @@ } }, { - "id": 5549, + "id": 5538, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -119624,21 +119410,21 @@ { "type": "reflection", "declaration": { - "id": 5550, + "id": 5539, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5551, + "id": 5540, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5552, + "id": 5541, "name": "error", "variant": "param", "kind": 32768, @@ -119687,7 +119473,7 @@ } }, { - "id": 5553, + "id": 5542, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -119705,21 +119491,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5554, + "id": 5543, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5555, + "id": 5544, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5556, + "id": 5545, "name": "error", "variant": "param", "kind": 32768, @@ -119798,7 +119584,7 @@ } }, { - "id": 5506, + "id": 5495, "name": "storeRepository_", "variant": "declaration", "kind": 1024, @@ -119828,7 +119614,7 @@ } }, { - "id": 5507, + "id": 5496, "name": "currencyRepository_", "variant": "declaration", "kind": 1024, @@ -119858,7 +119644,7 @@ } }, { - "id": 5508, + "id": 5497, "name": "eventBus_", "variant": "declaration", "kind": 1024, @@ -119868,27 +119654,27 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 5503, + "id": 5492, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 5504, + "id": 5493, "name": "new StoreService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 5505, + "id": 5494, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -119906,7 +119692,7 @@ ], "type": { "type": "reference", - "target": 5502, + "target": 5491, "name": "StoreService", "package": "@medusajs/medusa" }, @@ -119924,14 +119710,14 @@ } }, { - "id": 5509, + "id": 5498, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5510, + "id": 5499, "name": "create", "variant": "signature", "kind": 4096, @@ -119979,14 +119765,14 @@ ] }, { - "id": 5511, + "id": 5500, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5512, + "id": 5501, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -120012,7 +119798,7 @@ }, "parameters": [ { - "id": 5513, + "id": 5502, "name": "config", "variant": "param", "kind": 32768, @@ -120072,7 +119858,7 @@ ] }, { - "id": 5514, + "id": 5503, "name": "getDefaultCurrency_", "variant": "declaration", "kind": 2048, @@ -120081,14 +119867,14 @@ }, "signatures": [ { - "id": 5515, + "id": 5504, "name": "getDefaultCurrency_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5516, + "id": 5505, "name": "code", "variant": "param", "kind": 32768, @@ -120123,14 +119909,14 @@ ] }, { - "id": 5517, + "id": 5506, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5518, + "id": 5507, "name": "update", "variant": "signature", "kind": 4096, @@ -120156,7 +119942,7 @@ }, "parameters": [ { - "id": 5519, + "id": 5508, "name": "data", "variant": "param", "kind": 32768, @@ -120204,14 +119990,14 @@ ] }, { - "id": 5520, + "id": 5509, "name": "addCurrency", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5521, + "id": 5510, "name": "addCurrency", "variant": "signature", "kind": 4096, @@ -120237,7 +120023,7 @@ }, "parameters": [ { - "id": 5522, + "id": 5511, "name": "code", "variant": "param", "kind": 32768, @@ -120280,14 +120066,14 @@ ] }, { - "id": 5523, + "id": 5512, "name": "removeCurrency", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5524, + "id": 5513, "name": "removeCurrency", "variant": "signature", "kind": 4096, @@ -120313,7 +120099,7 @@ }, "parameters": [ { - "id": 5525, + "id": 5514, "name": "code", "variant": "param", "kind": 32768, @@ -120355,40 +120141,40 @@ { "title": "Constructors", "children": [ - 5503 + 5492 ] }, { "title": "Properties", "children": [ - 5526, - 5527, - 5530, - 5531, - 5532, - 5506, - 5507, - 5508 + 5515, + 5516, + 5519, + 5520, + 5521, + 5495, + 5496, + 5497 ] }, { "title": "Accessors", "children": [ - 5528 + 5517 ] }, { "title": "Methods", "children": [ - 5533, - 5536, - 5541, + 5522, + 5525, + 5530, + 5498, + 5500, + 5503, + 5506, 5509, - 5511, - 5514, - 5517, - 5520, - 5523 + 5512 ] } ], @@ -120405,14 +120191,14 @@ ] }, { - "id": 5557, + "id": 5546, "name": "StrategyResolverService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 5565, + "id": 5554, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -120435,7 +120221,7 @@ } }, { - "id": 5566, + "id": 5555, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -120467,7 +120253,7 @@ } }, { - "id": 5567, + "id": 5556, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -120475,7 +120261,7 @@ "isProtected": true }, "getSignature": { - "id": 5568, + "id": 5557, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -120502,7 +120288,7 @@ } }, { - "id": 5569, + "id": 5558, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -120521,7 +120307,7 @@ } }, { - "id": 5570, + "id": 5559, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -120556,7 +120342,7 @@ } }, { - "id": 5571, + "id": 5560, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -120591,21 +120377,21 @@ } }, { - "id": 5572, + "id": 5561, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5573, + "id": 5562, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5574, + "id": 5563, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -120641,7 +120427,7 @@ } }, { - "id": 5575, + "id": 5564, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -120650,14 +120436,14 @@ }, "signatures": [ { - "id": 5576, + "id": 5565, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5577, + "id": 5566, "name": "err", "variant": "param", "kind": 32768, @@ -120687,14 +120473,14 @@ { "type": "reflection", "declaration": { - "id": 5578, + "id": 5567, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5579, + "id": 5568, "name": "code", "variant": "declaration", "kind": 1024, @@ -120709,7 +120495,7 @@ { "title": "Properties", "children": [ - 5579 + 5568 ] } ] @@ -120737,7 +120523,7 @@ } }, { - "id": 5580, + "id": 5569, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -120746,7 +120532,7 @@ }, "signatures": [ { - "id": 5581, + "id": 5570, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -120772,14 +120558,14 @@ }, "typeParameter": [ { - "id": 5582, + "id": 5571, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 5583, + "id": 5572, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -120788,7 +120574,7 @@ ], "parameters": [ { - "id": 5584, + "id": 5573, "name": "work", "variant": "param", "kind": 32768, @@ -120804,21 +120590,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5585, + "id": 5574, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5586, + "id": 5575, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5587, + "id": 5576, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -120858,7 +120644,7 @@ } }, { - "id": 5588, + "id": 5577, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -120888,21 +120674,21 @@ { "type": "reflection", "declaration": { - "id": 5589, + "id": 5578, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5590, + "id": 5579, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5591, + "id": 5580, "name": "error", "variant": "param", "kind": 32768, @@ -120951,7 +120737,7 @@ } }, { - "id": 5592, + "id": 5581, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -120969,21 +120755,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5593, + "id": 5582, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5594, + "id": 5583, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5595, + "id": 5584, "name": "error", "variant": "param", "kind": 32768, @@ -121062,21 +120848,21 @@ } }, { - "id": 5558, + "id": 5547, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 5559, + "id": 5548, "name": "new StrategyResolverService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 5560, + "id": 5549, "name": "container", "variant": "param", "kind": 32768, @@ -121094,7 +120880,7 @@ ], "type": { "type": "reference", - "target": 5557, + "target": 5546, "name": "default", "package": "@medusajs/medusa" }, @@ -121112,7 +120898,7 @@ } }, { - "id": 5561, + "id": 5550, "name": "container", "variant": "declaration", "kind": 1024, @@ -121131,21 +120917,21 @@ } }, { - "id": 5562, + "id": 5551, "name": "resolveBatchJobByType", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5563, + "id": 5552, "name": "resolveBatchJobByType", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5564, + "id": 5553, "name": "type", "variant": "param", "kind": 32768, @@ -121173,33 +120959,33 @@ { "title": "Constructors", "children": [ - 5558 + 5547 ] }, { "title": "Properties", "children": [ - 5565, - 5566, - 5569, - 5570, - 5571, - 5561 + 5554, + 5555, + 5558, + 5559, + 5560, + 5550 ] }, { "title": "Accessors", "children": [ - 5567 + 5556 ] }, { "title": "Methods", "children": [ - 5572, - 5575, - 5580, - 5562 + 5561, + 5564, + 5569, + 5551 ] } ], @@ -121216,7 +121002,7 @@ ] }, { - "id": 5596, + "id": 5585, "name": "SwapService", "variant": "declaration", "kind": 128, @@ -121231,7 +121017,7 @@ }, "children": [ { - "id": 5715, + "id": 5704, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -121254,7 +121040,7 @@ } }, { - "id": 5716, + "id": 5705, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -121286,7 +121072,7 @@ } }, { - "id": 5717, + "id": 5706, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -121294,7 +121080,7 @@ "isProtected": true }, "getSignature": { - "id": 5718, + "id": 5707, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -121321,7 +121107,7 @@ } }, { - "id": 5719, + "id": 5708, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -121340,7 +121126,7 @@ } }, { - "id": 5720, + "id": 5709, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -121375,7 +121161,7 @@ } }, { - "id": 5721, + "id": 5710, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -121410,21 +121196,21 @@ } }, { - "id": 5722, + "id": 5711, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5723, + "id": 5712, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5724, + "id": 5713, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -121460,7 +121246,7 @@ } }, { - "id": 5725, + "id": 5714, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -121469,14 +121255,14 @@ }, "signatures": [ { - "id": 5726, + "id": 5715, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5727, + "id": 5716, "name": "err", "variant": "param", "kind": 32768, @@ -121506,14 +121292,14 @@ { "type": "reflection", "declaration": { - "id": 5728, + "id": 5717, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5729, + "id": 5718, "name": "code", "variant": "declaration", "kind": 1024, @@ -121528,7 +121314,7 @@ { "title": "Properties", "children": [ - 5729 + 5718 ] } ] @@ -121556,7 +121342,7 @@ } }, { - "id": 5730, + "id": 5719, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -121565,7 +121351,7 @@ }, "signatures": [ { - "id": 5731, + "id": 5720, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -121591,14 +121377,14 @@ }, "typeParameter": [ { - "id": 5732, + "id": 5721, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 5733, + "id": 5722, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -121607,7 +121393,7 @@ ], "parameters": [ { - "id": 5734, + "id": 5723, "name": "work", "variant": "param", "kind": 32768, @@ -121623,21 +121409,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5735, + "id": 5724, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5736, + "id": 5725, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5737, + "id": 5726, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -121677,7 +121463,7 @@ } }, { - "id": 5738, + "id": 5727, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -121707,21 +121493,21 @@ { "type": "reflection", "declaration": { - "id": 5739, + "id": 5728, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5740, + "id": 5729, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5741, + "id": 5730, "name": "error", "variant": "param", "kind": 32768, @@ -121770,7 +121556,7 @@ } }, { - "id": 5742, + "id": 5731, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -121788,21 +121574,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5743, + "id": 5732, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5744, + "id": 5733, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5745, + "id": 5734, "name": "error", "variant": "param", "kind": 32768, @@ -121881,7 +121667,7 @@ } }, { - "id": 5597, + "id": 5586, "name": "Events", "variant": "declaration", "kind": 1024, @@ -121891,14 +121677,14 @@ "type": { "type": "reflection", "declaration": { - "id": 5598, + "id": 5587, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5599, + "id": 5588, "name": "CREATED", "variant": "declaration", "kind": 1024, @@ -121910,7 +121696,7 @@ "defaultValue": "\"swap.created\"" }, { - "id": 5600, + "id": 5589, "name": "RECEIVED", "variant": "declaration", "kind": 1024, @@ -121922,7 +121708,7 @@ "defaultValue": "\"swap.received\"" }, { - "id": 5601, + "id": 5590, "name": "SHIPMENT_CREATED", "variant": "declaration", "kind": 1024, @@ -121934,7 +121720,7 @@ "defaultValue": "\"swap.shipment_created\"" }, { - "id": 5602, + "id": 5591, "name": "PAYMENT_COMPLETED", "variant": "declaration", "kind": 1024, @@ -121946,7 +121732,7 @@ "defaultValue": "\"swap.payment_completed\"" }, { - "id": 5603, + "id": 5592, "name": "PAYMENT_CAPTURED", "variant": "declaration", "kind": 1024, @@ -121958,7 +121744,7 @@ "defaultValue": "\"swap.payment_captured\"" }, { - "id": 5604, + "id": 5593, "name": "PAYMENT_CAPTURE_FAILED", "variant": "declaration", "kind": 1024, @@ -121970,7 +121756,7 @@ "defaultValue": "\"swap.payment_capture_failed\"" }, { - "id": 5605, + "id": 5594, "name": "PROCESS_REFUND_FAILED", "variant": "declaration", "kind": 1024, @@ -121982,7 +121768,7 @@ "defaultValue": "\"swap.process_refund_failed\"" }, { - "id": 5606, + "id": 5595, "name": "REFUND_PROCESSED", "variant": "declaration", "kind": 1024, @@ -121994,7 +121780,7 @@ "defaultValue": "\"swap.refund_processed\"" }, { - "id": 5607, + "id": 5596, "name": "FULFILLMENT_CREATED", "variant": "declaration", "kind": 1024, @@ -122010,15 +121796,15 @@ { "title": "Properties", "children": [ - 5599, - 5600, - 5601, - 5602, - 5603, - 5604, - 5605, - 5606, - 5607 + 5588, + 5589, + 5590, + 5591, + 5592, + 5593, + 5594, + 5595, + 5596 ] } ] @@ -122027,7 +121813,7 @@ "defaultValue": "..." }, { - "id": 5611, + "id": 5600, "name": "swapRepository_", "variant": "declaration", "kind": 1024, @@ -122057,7 +121843,7 @@ } }, { - "id": 5612, + "id": 5601, "name": "cartService_", "variant": "declaration", "kind": 1024, @@ -122073,7 +121859,7 @@ } }, { - "id": 5613, + "id": 5602, "name": "eventBus_", "variant": "declaration", "kind": 1024, @@ -122083,13 +121869,13 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 5614, + "id": 5603, "name": "orderService_", "variant": "declaration", "kind": 1024, @@ -122099,13 +121885,13 @@ }, "type": { "type": "reference", - "target": 2373, + "target": 2372, "name": "OrderService", "package": "@medusajs/medusa" } }, { - "id": 5615, + "id": 5604, "name": "returnService_", "variant": "declaration", "kind": 1024, @@ -122115,13 +121901,13 @@ }, "type": { "type": "reference", - "target": 4733, + "target": 4722, "name": "ReturnService", "package": "@medusajs/medusa" } }, { - "id": 5616, + "id": 5605, "name": "totalsService_", "variant": "declaration", "kind": 1024, @@ -122131,13 +121917,13 @@ }, "type": { "type": "reference", - "target": 6079, + "target": 6068, "name": "TotalsService", "package": "@medusajs/medusa" } }, { - "id": 5617, + "id": 5606, "name": "lineItemService_", "variant": "declaration", "kind": 1024, @@ -122147,13 +121933,13 @@ }, "type": { "type": "reference", - "target": 1753, + "target": 1752, "name": "LineItemService", "package": "@medusajs/medusa" } }, { - "id": 5618, + "id": 5607, "name": "fulfillmentService_", "variant": "declaration", "kind": 1024, @@ -122163,13 +121949,13 @@ }, "type": { "type": "reference", - "target": 1444, + "target": 1443, "name": "FulfillmentService", "package": "@medusajs/medusa" } }, { - "id": 5619, + "id": 5608, "name": "shippingOptionService_", "variant": "declaration", "kind": 1024, @@ -122179,13 +121965,13 @@ }, "type": { "type": "reference", - "target": 5157, + "target": 5146, "name": "ShippingOptionService", "package": "@medusajs/medusa" } }, { - "id": 5620, + "id": 5609, "name": "paymentProviderService_", "variant": "declaration", "kind": 1024, @@ -122195,13 +121981,13 @@ }, "type": { "type": "reference", - "target": 2962, + "target": 2961, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 5621, + "id": 5610, "name": "lineItemAdjustmentService_", "variant": "declaration", "kind": 1024, @@ -122211,13 +121997,13 @@ }, "type": { "type": "reference", - "target": 1892, + "target": 1891, "name": "LineItemAdjustmentService", "package": "@medusajs/medusa" } }, { - "id": 5622, + "id": 5611, "name": "customShippingOptionService_", "variant": "declaration", "kind": 1024, @@ -122227,13 +122013,13 @@ }, "type": { "type": "reference", - "target": 698, + "target": 697, "name": "CustomShippingOptionService", "package": "@medusajs/medusa" } }, { - "id": 5623, + "id": 5612, "name": "productVariantInventoryService_", "variant": "declaration", "kind": 1024, @@ -122243,27 +122029,27 @@ }, "type": { "type": "reference", - "target": 4486, + "target": 4475, "name": "ProductVariantInventoryService", "package": "@medusajs/medusa" } }, { - "id": 5608, + "id": 5597, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 5609, + "id": 5598, "name": "new SwapService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 5610, + "id": 5599, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -122281,7 +122067,7 @@ ], "type": { "type": "reference", - "target": 5596, + "target": 5585, "name": "SwapService", "package": "@medusajs/medusa" }, @@ -122299,7 +122085,7 @@ } }, { - "id": 5624, + "id": 5613, "name": "transformQueryForCart", "variant": "declaration", "kind": 2048, @@ -122308,7 +122094,7 @@ }, "signatures": [ { - "id": 5625, + "id": 5614, "name": "transformQueryForCart", "variant": "signature", "kind": 4096, @@ -122334,7 +122120,7 @@ }, "parameters": [ { - "id": 5626, + "id": 5615, "name": "config", "variant": "param", "kind": 32768, @@ -122388,14 +122174,14 @@ { "type": "reflection", "declaration": { - "id": 5627, + "id": 5616, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5628, + "id": 5617, "name": "select", "variant": "declaration", "kind": 1024, @@ -122415,7 +122201,7 @@ { "title": "Properties", "children": [ - 5628 + 5617 ] } ] @@ -122466,14 +122252,14 @@ { "type": "reflection", "declaration": { - "id": 5629, + "id": 5618, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5630, + "id": 5619, "name": "select", "variant": "declaration", "kind": 1024, @@ -122493,7 +122279,7 @@ { "title": "Properties", "children": [ - 5630 + 5619 ] } ] @@ -122502,14 +122288,14 @@ { "type": "reflection", "declaration": { - "id": 5631, + "id": 5620, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5632, + "id": 5621, "name": "cartSelects", "variant": "declaration", "kind": 1024, @@ -122541,7 +122327,7 @@ } }, { - "id": 5633, + "id": 5622, "name": "cartRelations", "variant": "declaration", "kind": 1024, @@ -122568,8 +122354,8 @@ { "title": "Properties", "children": [ - 5632, - 5633 + 5621, + 5622 ] } ] @@ -122581,14 +122367,14 @@ ] }, { - "id": 5634, + "id": 5623, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5635, + "id": 5624, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -122614,7 +122400,7 @@ }, "parameters": [ { - "id": 5636, + "id": 5625, "name": "swapId", "variant": "param", "kind": 32768, @@ -122633,7 +122419,7 @@ } }, { - "id": 5637, + "id": 5626, "name": "config", "variant": "param", "kind": 32768, @@ -122687,14 +122473,14 @@ { "type": "reflection", "declaration": { - "id": 5638, + "id": 5627, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5639, + "id": 5628, "name": "select", "variant": "declaration", "kind": 1024, @@ -122714,7 +122500,7 @@ { "title": "Properties", "children": [ - 5639 + 5628 ] } ] @@ -122749,14 +122535,14 @@ ] }, { - "id": 5640, + "id": 5629, "name": "retrieveByCartId", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5641, + "id": 5630, "name": "retrieveByCartId", "variant": "signature", "kind": 4096, @@ -122782,7 +122568,7 @@ }, "parameters": [ { - "id": 5642, + "id": 5631, "name": "cartId", "variant": "param", "kind": 32768, @@ -122801,7 +122587,7 @@ } }, { - "id": 5643, + "id": 5632, "name": "relations", "variant": "param", "kind": 32768, @@ -122857,14 +122643,14 @@ ] }, { - "id": 5644, + "id": 5633, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5645, + "id": 5634, "name": "list", "variant": "signature", "kind": 4096, @@ -122890,7 +122676,7 @@ }, "parameters": [ { - "id": 5646, + "id": 5635, "name": "selector", "variant": "param", "kind": 32768, @@ -122925,7 +122711,7 @@ } }, { - "id": 5647, + "id": 5636, "name": "config", "variant": "param", "kind": 32768, @@ -122988,14 +122774,14 @@ ] }, { - "id": 5648, + "id": 5637, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5649, + "id": 5638, "name": "listAndCount", "variant": "signature", "kind": 4096, @@ -123021,7 +122807,7 @@ }, "parameters": [ { - "id": 5650, + "id": 5639, "name": "selector", "variant": "param", "kind": 32768, @@ -123056,7 +122842,7 @@ } }, { - "id": 5651, + "id": 5640, "name": "config", "variant": "param", "kind": 32768, @@ -123128,14 +122914,14 @@ ] }, { - "id": 5652, + "id": 5641, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5653, + "id": 5642, "name": "create", "variant": "signature", "kind": 4096, @@ -123161,7 +122947,7 @@ }, "parameters": [ { - "id": 5654, + "id": 5643, "name": "order", "variant": "param", "kind": 32768, @@ -123185,7 +122971,7 @@ } }, { - "id": 5655, + "id": 5644, "name": "returnItems", "variant": "param", "kind": 32768, @@ -123238,7 +123024,7 @@ } }, { - "id": 5656, + "id": 5645, "name": "additionalItems", "variant": "param", "kind": 32768, @@ -123291,7 +123077,7 @@ } }, { - "id": 5657, + "id": 5646, "name": "returnShipping", "variant": "param", "kind": 32768, @@ -123309,14 +123095,14 @@ "type": { "type": "reflection", "declaration": { - "id": 5658, + "id": 5647, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5659, + "id": 5648, "name": "option_id", "variant": "declaration", "kind": 1024, @@ -123327,7 +123113,7 @@ } }, { - "id": 5660, + "id": 5649, "name": "price", "variant": "declaration", "kind": 1024, @@ -123344,8 +123130,8 @@ { "title": "Properties", "children": [ - 5659, - 5660 + 5648, + 5649 ] } ] @@ -123353,7 +123139,7 @@ } }, { - "id": 5661, + "id": 5650, "name": "custom", "variant": "param", "kind": 32768, @@ -123369,14 +123155,14 @@ "type": { "type": "reflection", "declaration": { - "id": 5662, + "id": 5651, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5663, + "id": 5652, "name": "no_notification", "variant": "declaration", "kind": 1024, @@ -123389,7 +123175,7 @@ } }, { - "id": 5664, + "id": 5653, "name": "idempotency_key", "variant": "declaration", "kind": 1024, @@ -123402,7 +123188,7 @@ } }, { - "id": 5665, + "id": 5654, "name": "allow_backorder", "variant": "declaration", "kind": 1024, @@ -123415,7 +123201,7 @@ } }, { - "id": 5666, + "id": 5655, "name": "location_id", "variant": "declaration", "kind": 1024, @@ -123432,10 +123218,10 @@ { "title": "Properties", "children": [ - 5663, - 5664, - 5665, - 5666 + 5652, + 5653, + 5654, + 5655 ] } ] @@ -123468,14 +123254,14 @@ ] }, { - "id": 5667, + "id": 5656, "name": "processDifference", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5668, + "id": 5657, "name": "processDifference", "variant": "signature", "kind": 4096, @@ -123501,7 +123287,7 @@ }, "parameters": [ { - "id": 5669, + "id": 5658, "name": "swapId", "variant": "param", "kind": 32768, @@ -123544,14 +123330,14 @@ ] }, { - "id": 5670, + "id": 5659, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5671, + "id": 5660, "name": "update", "variant": "signature", "kind": 4096, @@ -123577,7 +123363,7 @@ }, "parameters": [ { - "id": 5672, + "id": 5661, "name": "swapId", "variant": "param", "kind": 32768, @@ -123596,7 +123382,7 @@ } }, { - "id": 5673, + "id": 5662, "name": "update", "variant": "param", "kind": 32768, @@ -123655,14 +123441,14 @@ ] }, { - "id": 5674, + "id": 5663, "name": "createCart", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5675, + "id": 5664, "name": "createCart", "variant": "signature", "kind": 4096, @@ -123688,7 +123474,7 @@ }, "parameters": [ { - "id": 5676, + "id": 5665, "name": "swapId", "variant": "param", "kind": 32768, @@ -123707,7 +123493,7 @@ } }, { - "id": 5677, + "id": 5666, "name": "customShippingOptions", "variant": "param", "kind": 32768, @@ -123725,14 +123511,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 5678, + "id": 5667, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5679, + "id": 5668, "name": "option_id", "variant": "declaration", "kind": 1024, @@ -123743,7 +123529,7 @@ } }, { - "id": 5680, + "id": 5669, "name": "price", "variant": "declaration", "kind": 1024, @@ -123758,8 +123544,8 @@ { "title": "Properties", "children": [ - 5679, - 5680 + 5668, + 5669 ] } ] @@ -123769,7 +123555,7 @@ "defaultValue": "[]" }, { - "id": 5681, + "id": 5670, "name": "context", "variant": "param", "kind": 32768, @@ -123777,14 +123563,14 @@ "type": { "type": "reflection", "declaration": { - "id": 5682, + "id": 5671, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5683, + "id": 5672, "name": "sales_channel_id", "variant": "declaration", "kind": 1024, @@ -123801,7 +123587,7 @@ { "title": "Properties", "children": [ - 5683 + 5672 ] } ] @@ -123834,14 +123620,14 @@ ] }, { - "id": 5684, + "id": 5673, "name": "registerCartCompletion", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5685, + "id": 5674, "name": "registerCartCompletion", "variant": "signature", "kind": 4096, @@ -123867,7 +123653,7 @@ }, "parameters": [ { - "id": 5686, + "id": 5675, "name": "swapId", "variant": "param", "kind": 32768, @@ -123910,14 +123696,14 @@ ] }, { - "id": 5687, + "id": 5676, "name": "cancel", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5688, + "id": 5677, "name": "cancel", "variant": "signature", "kind": 4096, @@ -123943,7 +123729,7 @@ }, "parameters": [ { - "id": 5689, + "id": 5678, "name": "swapId", "variant": "param", "kind": 32768, @@ -123986,14 +123772,14 @@ ] }, { - "id": 5690, + "id": 5679, "name": "createFulfillment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5691, + "id": 5680, "name": "createFulfillment", "variant": "signature", "kind": 4096, @@ -124019,7 +123805,7 @@ }, "parameters": [ { - "id": 5692, + "id": 5681, "name": "swapId", "variant": "param", "kind": 32768, @@ -124038,7 +123824,7 @@ } }, { - "id": 5693, + "id": 5682, "name": "config", "variant": "param", "kind": 32768, @@ -124087,14 +123873,14 @@ ] }, { - "id": 5694, + "id": 5683, "name": "cancelFulfillment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5695, + "id": 5684, "name": "cancelFulfillment", "variant": "signature", "kind": 4096, @@ -124120,7 +123906,7 @@ }, "parameters": [ { - "id": 5696, + "id": 5685, "name": "fulfillmentId", "variant": "param", "kind": 32768, @@ -124163,14 +123949,14 @@ ] }, { - "id": 5697, + "id": 5686, "name": "createShipment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5698, + "id": 5687, "name": "createShipment", "variant": "signature", "kind": 4096, @@ -124196,7 +123982,7 @@ }, "parameters": [ { - "id": 5699, + "id": 5688, "name": "swapId", "variant": "param", "kind": 32768, @@ -124215,7 +124001,7 @@ } }, { - "id": 5700, + "id": 5689, "name": "fulfillmentId", "variant": "param", "kind": 32768, @@ -124234,7 +124020,7 @@ } }, { - "id": 5701, + "id": 5690, "name": "trackingLinks", "variant": "param", "kind": 32768, @@ -124254,14 +124040,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 5702, + "id": 5691, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5703, + "id": 5692, "name": "tracking_number", "variant": "declaration", "kind": 1024, @@ -124276,7 +124062,7 @@ { "title": "Properties", "children": [ - 5703 + 5692 ] } ] @@ -124285,7 +124071,7 @@ } }, { - "id": 5704, + "id": 5693, "name": "config", "variant": "param", "kind": 32768, @@ -124334,14 +124120,14 @@ ] }, { - "id": 5705, + "id": 5694, "name": "deleteMetadata", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5706, + "id": 5695, "name": "deleteMetadata", "variant": "signature", "kind": 4096, @@ -124367,7 +124153,7 @@ }, "parameters": [ { - "id": 5707, + "id": 5696, "name": "swapId", "variant": "param", "kind": 32768, @@ -124386,7 +124172,7 @@ } }, { - "id": 5708, + "id": 5697, "name": "key", "variant": "param", "kind": 32768, @@ -124429,14 +124215,14 @@ ] }, { - "id": 5709, + "id": 5698, "name": "registerReceived", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5710, + "id": 5699, "name": "registerReceived", "variant": "signature", "kind": 4096, @@ -124462,7 +124248,7 @@ }, "parameters": [ { - "id": 5711, + "id": 5700, "name": "id", "variant": "param", "kind": 32768, @@ -124505,7 +124291,7 @@ ] }, { - "id": 5712, + "id": 5701, "name": "areReturnItemsValid", "variant": "declaration", "kind": 2048, @@ -124514,14 +124300,14 @@ }, "signatures": [ { - "id": 5713, + "id": 5702, "name": "areReturnItemsValid", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5714, + "id": 5703, "name": "returnItems", "variant": "param", "kind": 32768, @@ -124589,62 +124375,62 @@ { "title": "Constructors", "children": [ - 5608 + 5597 ] }, { "title": "Properties", "children": [ - 5715, - 5716, - 5719, - 5720, - 5721, - 5597, + 5704, + 5705, + 5708, + 5709, + 5710, + 5586, + 5600, + 5601, + 5602, + 5603, + 5604, + 5605, + 5606, + 5607, + 5608, + 5609, + 5610, 5611, - 5612, - 5613, - 5614, - 5615, - 5616, - 5617, - 5618, - 5619, - 5620, - 5621, - 5622, - 5623 + 5612 ] }, { "title": "Accessors", "children": [ - 5717 + 5706 ] }, { "title": "Methods", "children": [ - 5722, - 5725, - 5730, - 5624, - 5634, - 5640, - 5644, - 5648, - 5652, - 5667, - 5670, - 5674, - 5684, - 5687, - 5690, + 5711, + 5714, + 5719, + 5613, + 5623, + 5629, + 5633, + 5637, + 5641, + 5656, + 5659, + 5663, + 5673, + 5676, + 5679, + 5683, + 5686, 5694, - 5697, - 5705, - 5709, - 5712 + 5698, + 5701 ] } ], @@ -124661,14 +124447,14 @@ ] }, { - "id": 5746, + "id": 5735, "name": "SystemPaymentProviderService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 5781, + "id": 5770, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -124691,7 +124477,7 @@ } }, { - "id": 5782, + "id": 5771, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -124723,7 +124509,7 @@ } }, { - "id": 5783, + "id": 5772, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -124731,7 +124517,7 @@ "isProtected": true }, "getSignature": { - "id": 5784, + "id": 5773, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -124758,7 +124544,7 @@ } }, { - "id": 5785, + "id": 5774, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -124777,7 +124563,7 @@ } }, { - "id": 5786, + "id": 5775, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -124812,7 +124598,7 @@ } }, { - "id": 5787, + "id": 5776, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -124847,21 +124633,21 @@ } }, { - "id": 5788, + "id": 5777, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5789, + "id": 5778, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5790, + "id": 5779, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -124897,7 +124683,7 @@ } }, { - "id": 5791, + "id": 5780, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -124906,14 +124692,14 @@ }, "signatures": [ { - "id": 5792, + "id": 5781, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5793, + "id": 5782, "name": "err", "variant": "param", "kind": 32768, @@ -124943,14 +124729,14 @@ { "type": "reflection", "declaration": { - "id": 5794, + "id": 5783, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5795, + "id": 5784, "name": "code", "variant": "declaration", "kind": 1024, @@ -124965,7 +124751,7 @@ { "title": "Properties", "children": [ - 5795 + 5784 ] } ] @@ -124993,7 +124779,7 @@ } }, { - "id": 5796, + "id": 5785, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -125002,7 +124788,7 @@ }, "signatures": [ { - "id": 5797, + "id": 5786, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -125028,14 +124814,14 @@ }, "typeParameter": [ { - "id": 5798, + "id": 5787, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 5799, + "id": 5788, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -125044,7 +124830,7 @@ ], "parameters": [ { - "id": 5800, + "id": 5789, "name": "work", "variant": "param", "kind": 32768, @@ -125060,21 +124846,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5801, + "id": 5790, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5802, + "id": 5791, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5803, + "id": 5792, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -125114,7 +124900,7 @@ } }, { - "id": 5804, + "id": 5793, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -125144,21 +124930,21 @@ { "type": "reflection", "declaration": { - "id": 5805, + "id": 5794, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5806, + "id": 5795, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5807, + "id": 5796, "name": "error", "variant": "param", "kind": 32768, @@ -125207,7 +124993,7 @@ } }, { - "id": 5808, + "id": 5797, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -125225,21 +125011,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5809, + "id": 5798, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5810, + "id": 5799, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5811, + "id": 5800, "name": "error", "variant": "param", "kind": 32768, @@ -125318,7 +125104,7 @@ } }, { - "id": 5747, + "id": 5736, "name": "identifier", "variant": "declaration", "kind": 1024, @@ -125332,21 +125118,21 @@ "defaultValue": "\"system\"" }, { - "id": 5748, + "id": 5737, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 5749, + "id": 5738, "name": "new SystemPaymentProviderService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 5750, + "id": 5739, "name": "_", "variant": "param", "kind": 32768, @@ -125359,7 +125145,7 @@ ], "type": { "type": "reference", - "target": 5746, + "target": 5735, "name": "SystemProviderService", "package": "@medusajs/medusa" }, @@ -125377,21 +125163,21 @@ } }, { - "id": 5751, + "id": 5740, "name": "createPayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5752, + "id": 5741, "name": "createPayment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5753, + "id": 5742, "name": "_", "variant": "param", "kind": 32768, @@ -125436,21 +125222,21 @@ ] }, { - "id": 5754, + "id": 5743, "name": "getStatus", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5755, + "id": 5744, "name": "getStatus", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5756, + "id": 5745, "name": "_", "variant": "param", "kind": 32768, @@ -125480,21 +125266,21 @@ ] }, { - "id": 5757, + "id": 5746, "name": "getPaymentData", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5758, + "id": 5747, "name": "getPaymentData", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5759, + "id": 5748, "name": "_", "variant": "param", "kind": 32768, @@ -125539,21 +125325,21 @@ ] }, { - "id": 5760, + "id": 5749, "name": "authorizePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5761, + "id": 5750, "name": "authorizePayment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5762, + "id": 5751, "name": "_", "variant": "param", "kind": 32768, @@ -125598,21 +125384,21 @@ ] }, { - "id": 5763, + "id": 5752, "name": "updatePaymentData", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5764, + "id": 5753, "name": "updatePaymentData", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5765, + "id": 5754, "name": "_", "variant": "param", "kind": 32768, @@ -125657,21 +125443,21 @@ ] }, { - "id": 5766, + "id": 5755, "name": "updatePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5767, + "id": 5756, "name": "updatePayment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5768, + "id": 5757, "name": "_", "variant": "param", "kind": 32768, @@ -125716,21 +125502,21 @@ ] }, { - "id": 5769, + "id": 5758, "name": "deletePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5770, + "id": 5759, "name": "deletePayment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5771, + "id": 5760, "name": "_", "variant": "param", "kind": 32768, @@ -125775,21 +125561,21 @@ ] }, { - "id": 5772, + "id": 5761, "name": "capturePayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5773, + "id": 5762, "name": "capturePayment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5774, + "id": 5763, "name": "_", "variant": "param", "kind": 32768, @@ -125834,21 +125620,21 @@ ] }, { - "id": 5775, + "id": 5764, "name": "refundPayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5776, + "id": 5765, "name": "refundPayment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5777, + "id": 5766, "name": "_", "variant": "param", "kind": 32768, @@ -125893,21 +125679,21 @@ ] }, { - "id": 5778, + "id": 5767, "name": "cancelPayment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5779, + "id": 5768, "name": "cancelPayment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5780, + "id": 5769, "name": "_", "variant": "param", "kind": 32768, @@ -125956,42 +125742,42 @@ { "title": "Constructors", "children": [ - 5748 + 5737 ] }, { "title": "Properties", "children": [ - 5781, - 5782, - 5785, - 5786, - 5787, - 5747 + 5770, + 5771, + 5774, + 5775, + 5776, + 5736 ] }, { "title": "Accessors", "children": [ - 5783 + 5772 ] }, { "title": "Methods", "children": [ - 5788, - 5791, - 5796, - 5751, - 5754, - 5757, - 5760, - 5763, - 5766, - 5769, - 5772, - 5775, - 5778 + 5777, + 5780, + 5785, + 5740, + 5743, + 5746, + 5749, + 5752, + 5755, + 5758, + 5761, + 5764, + 5767 ] } ], @@ -126008,7 +125794,7 @@ ] }, { - "id": 5812, + "id": 5801, "name": "TaxProviderService", "variant": "declaration", "kind": 128, @@ -126023,7 +125809,7 @@ }, "children": [ { - "id": 5883, + "id": 5872, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -126046,7 +125832,7 @@ } }, { - "id": 5884, + "id": 5873, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -126078,7 +125864,7 @@ } }, { - "id": 5885, + "id": 5874, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -126086,7 +125872,7 @@ "isProtected": true }, "getSignature": { - "id": 5886, + "id": 5875, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -126113,7 +125899,7 @@ } }, { - "id": 5887, + "id": 5876, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -126132,7 +125918,7 @@ } }, { - "id": 5888, + "id": 5877, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -126167,7 +125953,7 @@ } }, { - "id": 5889, + "id": 5878, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -126202,21 +125988,21 @@ } }, { - "id": 5890, + "id": 5879, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5891, + "id": 5880, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5892, + "id": 5881, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -126252,7 +126038,7 @@ } }, { - "id": 5893, + "id": 5882, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -126261,14 +126047,14 @@ }, "signatures": [ { - "id": 5894, + "id": 5883, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5895, + "id": 5884, "name": "err", "variant": "param", "kind": 32768, @@ -126298,14 +126084,14 @@ { "type": "reflection", "declaration": { - "id": 5896, + "id": 5885, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5897, + "id": 5886, "name": "code", "variant": "declaration", "kind": 1024, @@ -126320,7 +126106,7 @@ { "title": "Properties", "children": [ - 5897 + 5886 ] } ] @@ -126348,7 +126134,7 @@ } }, { - "id": 5898, + "id": 5887, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -126357,7 +126143,7 @@ }, "signatures": [ { - "id": 5899, + "id": 5888, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -126383,14 +126169,14 @@ }, "typeParameter": [ { - "id": 5900, + "id": 5889, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 5901, + "id": 5890, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -126399,7 +126185,7 @@ ], "parameters": [ { - "id": 5902, + "id": 5891, "name": "work", "variant": "param", "kind": 32768, @@ -126415,21 +126201,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5903, + "id": 5892, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5904, + "id": 5893, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5905, + "id": 5894, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -126469,7 +126255,7 @@ } }, { - "id": 5906, + "id": 5895, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -126499,21 +126285,21 @@ { "type": "reflection", "declaration": { - "id": 5907, + "id": 5896, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5908, + "id": 5897, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5909, + "id": 5898, "name": "error", "variant": "param", "kind": 32768, @@ -126562,7 +126348,7 @@ } }, { - "id": 5910, + "id": 5899, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -126580,21 +126366,21 @@ "type": { "type": "reflection", "declaration": { - "id": 5911, + "id": 5900, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 5912, + "id": 5901, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5913, + "id": 5902, "name": "error", "variant": "param", "kind": 32768, @@ -126673,7 +126459,7 @@ } }, { - "id": 5816, + "id": 5805, "name": "container_", "variant": "declaration", "kind": 1024, @@ -126698,7 +126484,7 @@ } }, { - "id": 5817, + "id": 5806, "name": "cacheService_", "variant": "declaration", "kind": 1024, @@ -126717,7 +126503,7 @@ } }, { - "id": 5818, + "id": 5807, "name": "taxRateService_", "variant": "declaration", "kind": 1024, @@ -126727,13 +126513,13 @@ }, "type": { "type": "reference", - "target": 5914, + "target": 5903, "name": "TaxRateService", "package": "@medusajs/medusa" } }, { - "id": 5819, + "id": 5808, "name": "taxLineRepo_", "variant": "declaration", "kind": 1024, @@ -126767,28 +126553,28 @@ { "type": "reflection", "declaration": { - "id": 5820, + "id": 5809, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5821, + "id": 5810, "name": "upsertLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5822, + "id": 5811, "name": "upsertLines", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5823, + "id": 5812, "name": "lines", "variant": "param", "kind": 32768, @@ -126834,21 +126620,21 @@ ] }, { - "id": 5824, + "id": 5813, "name": "deleteForCart", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5825, + "id": 5814, "name": "deleteForCart", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5826, + "id": 5815, "name": "cartId", "variant": "param", "kind": 32768, @@ -126882,8 +126668,8 @@ { "title": "Methods", "children": [ - 5821, - 5824 + 5810, + 5813 ] } ] @@ -126893,7 +126679,7 @@ } }, { - "id": 5827, + "id": 5816, "name": "smTaxLineRepo_", "variant": "declaration", "kind": 1024, @@ -126927,28 +126713,28 @@ { "type": "reflection", "declaration": { - "id": 5828, + "id": 5817, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5829, + "id": 5818, "name": "upsertLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5830, + "id": 5819, "name": "upsertLines", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5831, + "id": 5820, "name": "lines", "variant": "param", "kind": 32768, @@ -126994,21 +126780,21 @@ ] }, { - "id": 5832, + "id": 5821, "name": "deleteForCart", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5833, + "id": 5822, "name": "deleteForCart", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5834, + "id": 5823, "name": "cartId", "variant": "param", "kind": 32768, @@ -127042,8 +126828,8 @@ { "title": "Methods", "children": [ - 5829, - 5832 + 5818, + 5821 ] } ] @@ -127053,7 +126839,7 @@ } }, { - "id": 5835, + "id": 5824, "name": "taxProviderRepo_", "variant": "declaration", "kind": 1024, @@ -127083,7 +126869,7 @@ } }, { - "id": 5836, + "id": 5825, "name": "eventBus_", "variant": "declaration", "kind": 1024, @@ -127102,21 +126888,21 @@ } }, { - "id": 5813, + "id": 5802, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 5814, + "id": 5803, "name": "new TaxProviderService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 5815, + "id": 5804, "name": "container", "variant": "param", "kind": 32768, @@ -127140,7 +126926,7 @@ ], "type": { "type": "reference", - "target": 5812, + "target": 5801, "name": "TaxProviderService", "package": "@medusajs/medusa" }, @@ -127158,14 +126944,14 @@ } }, { - "id": 5837, + "id": 5826, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5838, + "id": 5827, "name": "list", "variant": "signature", "kind": 4096, @@ -127197,14 +126983,14 @@ ] }, { - "id": 5839, + "id": 5828, "name": "retrieveProvider", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5840, + "id": 5829, "name": "retrieveProvider", "variant": "signature", "kind": 4096, @@ -127230,7 +127016,7 @@ }, "parameters": [ { - "id": 5841, + "id": 5830, "name": "region", "variant": "param", "kind": 32768, @@ -127267,21 +127053,21 @@ ] }, { - "id": 5842, + "id": 5831, "name": "clearLineItemsTaxLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5843, + "id": 5832, "name": "clearLineItemsTaxLines", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5844, + "id": 5833, "name": "itemIds", "variant": "param", "kind": 32768, @@ -127314,21 +127100,21 @@ ] }, { - "id": 5845, + "id": 5834, "name": "clearTaxLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5846, + "id": 5835, "name": "clearTaxLines", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5847, + "id": 5836, "name": "cartId", "variant": "param", "kind": 32768, @@ -127358,14 +127144,14 @@ ] }, { - "id": 5848, + "id": 5837, "name": "createTaxLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5849, + "id": 5838, "name": "createTaxLines", "variant": "signature", "kind": 4096, @@ -127391,7 +127177,7 @@ }, "parameters": [ { - "id": 5850, + "id": 5839, "name": "cartOrLineItems", "variant": "param", "kind": 32768, @@ -127407,6 +127193,15 @@ "type": { "type": "union", "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/medusa/src/models/cart.ts", + "qualifiedName": "Cart" + }, + "name": "Cart", + "package": "@medusajs/medusa" + }, { "type": "array", "elementType": { @@ -127418,21 +127213,12 @@ "name": "LineItem", "package": "@medusajs/medusa" } - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/medusa/src/models/cart.ts", - "qualifiedName": "Cart" - }, - "name": "Cart", - "package": "@medusajs/medusa" } ] } }, { - "id": 5851, + "id": 5840, "name": "calculationContext", "variant": "param", "kind": 32768, @@ -127471,19 +127257,19 @@ { "type": "reference", "target": { - "sourceFileName": "../../../packages/medusa/src/models/line-item-tax-line.ts", - "qualifiedName": "LineItemTaxLine" + "sourceFileName": "../../../packages/medusa/src/models/shipping-method-tax-line.ts", + "qualifiedName": "ShippingMethodTaxLine" }, - "name": "LineItemTaxLine", + "name": "ShippingMethodTaxLine", "package": "@medusajs/medusa" }, { "type": "reference", "target": { - "sourceFileName": "../../../packages/medusa/src/models/shipping-method-tax-line.ts", - "qualifiedName": "ShippingMethodTaxLine" + "sourceFileName": "../../../packages/medusa/src/models/line-item-tax-line.ts", + "qualifiedName": "LineItemTaxLine" }, - "name": "ShippingMethodTaxLine", + "name": "LineItemTaxLine", "package": "@medusajs/medusa" } ] @@ -127497,14 +127283,14 @@ ] }, { - "id": 5852, + "id": 5841, "name": "createShippingTaxLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5853, + "id": 5842, "name": "createShippingTaxLines", "variant": "signature", "kind": 4096, @@ -127530,7 +127316,7 @@ }, "parameters": [ { - "id": 5854, + "id": 5843, "name": "shippingMethod", "variant": "param", "kind": 32768, @@ -127554,7 +127340,7 @@ } }, { - "id": 5855, + "id": 5844, "name": "calculationContext", "variant": "param", "kind": 32768, @@ -127593,19 +127379,19 @@ { "type": "reference", "target": { - "sourceFileName": "../../../packages/medusa/src/models/line-item-tax-line.ts", - "qualifiedName": "LineItemTaxLine" + "sourceFileName": "../../../packages/medusa/src/models/shipping-method-tax-line.ts", + "qualifiedName": "ShippingMethodTaxLine" }, - "name": "LineItemTaxLine", + "name": "ShippingMethodTaxLine", "package": "@medusajs/medusa" }, { "type": "reference", "target": { - "sourceFileName": "../../../packages/medusa/src/models/shipping-method-tax-line.ts", - "qualifiedName": "ShippingMethodTaxLine" + "sourceFileName": "../../../packages/medusa/src/models/line-item-tax-line.ts", + "qualifiedName": "LineItemTaxLine" }, - "name": "ShippingMethodTaxLine", + "name": "LineItemTaxLine", "package": "@medusajs/medusa" } ] @@ -127619,14 +127405,14 @@ ] }, { - "id": 5856, + "id": 5845, "name": "getShippingTaxLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5857, + "id": 5846, "name": "getShippingTaxLines", "variant": "signature", "kind": 4096, @@ -127652,7 +127438,7 @@ }, "parameters": [ { - "id": 5858, + "id": 5847, "name": "shippingMethod", "variant": "param", "kind": 32768, @@ -127676,7 +127462,7 @@ } }, { - "id": 5859, + "id": 5848, "name": "calculationContext", "variant": "param", "kind": 32768, @@ -127727,14 +127513,14 @@ ] }, { - "id": 5860, + "id": 5849, "name": "getTaxLines", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5861, + "id": 5850, "name": "getTaxLines", "variant": "signature", "kind": 4096, @@ -127760,7 +127546,7 @@ }, "parameters": [ { - "id": 5862, + "id": 5851, "name": "lineItems", "variant": "param", "kind": 32768, @@ -127787,7 +127573,7 @@ } }, { - "id": 5863, + "id": 5852, "name": "calculationContext", "variant": "param", "kind": 32768, @@ -127826,19 +127612,19 @@ { "type": "reference", "target": { - "sourceFileName": "../../../packages/medusa/src/models/line-item-tax-line.ts", - "qualifiedName": "LineItemTaxLine" + "sourceFileName": "../../../packages/medusa/src/models/shipping-method-tax-line.ts", + "qualifiedName": "ShippingMethodTaxLine" }, - "name": "LineItemTaxLine", + "name": "ShippingMethodTaxLine", "package": "@medusajs/medusa" }, { "type": "reference", "target": { - "sourceFileName": "../../../packages/medusa/src/models/shipping-method-tax-line.ts", - "qualifiedName": "ShippingMethodTaxLine" + "sourceFileName": "../../../packages/medusa/src/models/line-item-tax-line.ts", + "qualifiedName": "LineItemTaxLine" }, - "name": "ShippingMethodTaxLine", + "name": "LineItemTaxLine", "package": "@medusajs/medusa" } ] @@ -127852,7 +127638,7 @@ ] }, { - "id": 5864, + "id": 5853, "name": "getTaxLinesMap", "variant": "declaration", "kind": 2048, @@ -127861,7 +127647,7 @@ }, "signatures": [ { - "id": 5865, + "id": 5854, "name": "getTaxLinesMap", "variant": "signature", "kind": 4096, @@ -127878,7 +127664,7 @@ }, "parameters": [ { - "id": 5866, + "id": 5855, "name": "items", "variant": "param", "kind": 32768, @@ -127897,7 +127683,7 @@ } }, { - "id": 5867, + "id": 5856, "name": "calculationContext", "variant": "param", "kind": 32768, @@ -127937,14 +127723,14 @@ ] }, { - "id": 5868, + "id": 5857, "name": "getRegionRatesForShipping", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5869, + "id": 5858, "name": "getRegionRatesForShipping", "variant": "signature", "kind": 4096, @@ -127970,7 +127756,7 @@ }, "parameters": [ { - "id": 5870, + "id": 5859, "name": "optionId", "variant": "param", "kind": 32768, @@ -127989,7 +127775,7 @@ } }, { - "id": 5871, + "id": 5860, "name": "regionDetails", "variant": "param", "kind": 32768, @@ -128040,14 +127826,14 @@ ] }, { - "id": 5872, + "id": 5861, "name": "getRegionRatesForProduct", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5873, + "id": 5862, "name": "getRegionRatesForProduct", "variant": "signature", "kind": 4096, @@ -128073,7 +127859,7 @@ }, "parameters": [ { - "id": 5874, + "id": 5863, "name": "productIds", "variant": "param", "kind": 32768, @@ -128096,7 +127882,7 @@ } }, { - "id": 5875, + "id": 5864, "name": "region", "variant": "param", "kind": 32768, @@ -128162,7 +127948,7 @@ ] }, { - "id": 5876, + "id": 5865, "name": "getCacheKey", "variant": "declaration", "kind": 2048, @@ -128171,7 +127957,7 @@ }, "signatures": [ { - "id": 5877, + "id": 5866, "name": "getCacheKey", "variant": "signature", "kind": 4096, @@ -128197,7 +127983,7 @@ }, "parameters": [ { - "id": 5878, + "id": 5867, "name": "id", "variant": "param", "kind": 32768, @@ -128216,7 +128002,7 @@ } }, { - "id": 5879, + "id": 5868, "name": "regionId", "variant": "param", "kind": 32768, @@ -128243,21 +128029,21 @@ ] }, { - "id": 5880, + "id": 5869, "name": "registerInstalledProviders", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5881, + "id": 5870, "name": "registerInstalledProviders", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5882, + "id": 5871, "name": "providers", "variant": "param", "kind": 32768, @@ -128294,51 +128080,51 @@ { "title": "Constructors", "children": [ - 5813 + 5802 ] }, { "title": "Properties", "children": [ - 5883, - 5884, - 5887, - 5888, - 5889, + 5872, + 5873, + 5876, + 5877, + 5878, + 5805, + 5806, + 5807, + 5808, 5816, - 5817, - 5818, - 5819, - 5827, - 5835, - 5836 + 5824, + 5825 ] }, { "title": "Accessors", "children": [ - 5885 + 5874 ] }, { "title": "Methods", "children": [ - 5890, - 5893, - 5898, + 5879, + 5882, + 5887, + 5826, + 5828, + 5831, + 5834, 5837, - 5839, - 5842, + 5841, 5845, - 5848, - 5852, - 5856, - 5860, - 5864, - 5868, - 5872, - 5876, - 5880 + 5849, + 5853, + 5857, + 5861, + 5865, + 5869 ] } ], @@ -128355,14 +128141,14 @@ ] }, { - "id": 5914, + "id": 5903, "name": "TaxRateService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 6034, + "id": 6023, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -128385,7 +128171,7 @@ } }, { - "id": 6035, + "id": 6024, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -128417,7 +128203,7 @@ } }, { - "id": 6036, + "id": 6025, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -128425,7 +128211,7 @@ "isProtected": true }, "getSignature": { - "id": 6037, + "id": 6026, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -128452,7 +128238,7 @@ } }, { - "id": 6038, + "id": 6027, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -128471,7 +128257,7 @@ } }, { - "id": 6039, + "id": 6028, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -128506,7 +128292,7 @@ } }, { - "id": 6040, + "id": 6029, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -128541,21 +128327,21 @@ } }, { - "id": 6041, + "id": 6030, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6042, + "id": 6031, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6043, + "id": 6032, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -128591,7 +128377,7 @@ } }, { - "id": 6044, + "id": 6033, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -128600,14 +128386,14 @@ }, "signatures": [ { - "id": 6045, + "id": 6034, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6046, + "id": 6035, "name": "err", "variant": "param", "kind": 32768, @@ -128637,14 +128423,14 @@ { "type": "reflection", "declaration": { - "id": 6047, + "id": 6036, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 6048, + "id": 6037, "name": "code", "variant": "declaration", "kind": 1024, @@ -128659,7 +128445,7 @@ { "title": "Properties", "children": [ - 6048 + 6037 ] } ] @@ -128687,7 +128473,7 @@ } }, { - "id": 6049, + "id": 6038, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -128696,7 +128482,7 @@ }, "signatures": [ { - "id": 6050, + "id": 6039, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -128722,14 +128508,14 @@ }, "typeParameter": [ { - "id": 6051, + "id": 6040, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 6052, + "id": 6041, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -128738,7 +128524,7 @@ ], "parameters": [ { - "id": 6053, + "id": 6042, "name": "work", "variant": "param", "kind": 32768, @@ -128754,21 +128540,21 @@ "type": { "type": "reflection", "declaration": { - "id": 6054, + "id": 6043, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 6055, + "id": 6044, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6056, + "id": 6045, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -128808,7 +128594,7 @@ } }, { - "id": 6057, + "id": 6046, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -128838,21 +128624,21 @@ { "type": "reflection", "declaration": { - "id": 6058, + "id": 6047, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 6059, + "id": 6048, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6060, + "id": 6049, "name": "error", "variant": "param", "kind": 32768, @@ -128901,7 +128687,7 @@ } }, { - "id": 6061, + "id": 6050, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -128919,21 +128705,21 @@ "type": { "type": "reflection", "declaration": { - "id": 6062, + "id": 6051, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 6063, + "id": 6052, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6064, + "id": 6053, "name": "error", "variant": "param", "kind": 32768, @@ -129012,7 +128798,7 @@ } }, { - "id": 5923, + "id": 5912, "name": "productService_", "variant": "declaration", "kind": 1024, @@ -129022,13 +128808,13 @@ }, "type": { "type": "reference", - "target": 3484, + "target": 3473, "name": "ProductService", "package": "@medusajs/medusa" } }, { - "id": 5924, + "id": 5913, "name": "productTypeService_", "variant": "declaration", "kind": 1024, @@ -129038,13 +128824,13 @@ }, "type": { "type": "reference", - "target": 4075, + "target": 4064, "name": "ProductTypeService", "package": "@medusajs/medusa" } }, { - "id": 5925, + "id": 5914, "name": "shippingOptionService_", "variant": "declaration", "kind": 1024, @@ -129054,13 +128840,13 @@ }, "type": { "type": "reference", - "target": 5157, + "target": 5146, "name": "ShippingOptionService", "package": "@medusajs/medusa" } }, { - "id": 5926, + "id": 5915, "name": "taxRateRepository_", "variant": "declaration", "kind": 1024, @@ -129094,28 +128880,28 @@ { "type": "reflection", "declaration": { - "id": 5927, + "id": 5916, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5928, + "id": 5917, "name": "getFindQueryBuilder", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5929, + "id": 5918, "name": "getFindQueryBuilder", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5930, + "id": 5919, "name": "findOptions", "variant": "param", "kind": 32768, @@ -129166,21 +128952,21 @@ ] }, { - "id": 5931, + "id": 5920, "name": "findWithResolution", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5932, + "id": 5921, "name": "findWithResolution", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5933, + "id": 5922, "name": "findOptions", "variant": "param", "kind": 32768, @@ -129234,21 +129020,21 @@ ] }, { - "id": 5934, + "id": 5923, "name": "findOneWithResolution", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5935, + "id": 5924, "name": "findOneWithResolution", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5936, + "id": 5925, "name": "findOptions", "variant": "param", "kind": 32768, @@ -129308,21 +129094,21 @@ ] }, { - "id": 5937, + "id": 5926, "name": "findAndCountWithResolution", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5938, + "id": 5927, "name": "findAndCountWithResolution", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5939, + "id": 5928, "name": "findOptions", "variant": "param", "kind": 32768, @@ -129385,21 +129171,21 @@ ] }, { - "id": 5940, + "id": 5929, "name": "applyResolutionsToQueryBuilder", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5941, + "id": 5930, "name": "applyResolutionsToQueryBuilder", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5942, + "id": 5931, "name": "qb", "variant": "param", "kind": 32768, @@ -129426,7 +129212,7 @@ } }, { - "id": 5943, + "id": 5932, "name": "resolverFields", "variant": "param", "kind": 32768, @@ -129464,21 +129250,21 @@ ] }, { - "id": 5944, + "id": 5933, "name": "removeFromProduct", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5945, + "id": 5934, "name": "removeFromProduct", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5946, + "id": 5935, "name": "id", "variant": "param", "kind": 32768, @@ -129489,7 +129275,7 @@ } }, { - "id": 5947, + "id": 5936, "name": "productIds", "variant": "param", "kind": 32768, @@ -129527,21 +129313,21 @@ ] }, { - "id": 5948, + "id": 5937, "name": "addToProduct", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5949, + "id": 5938, "name": "addToProduct", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5950, + "id": 5939, "name": "id", "variant": "param", "kind": 32768, @@ -129552,7 +129338,7 @@ } }, { - "id": 5951, + "id": 5940, "name": "productIds", "variant": "param", "kind": 32768, @@ -129566,7 +129352,7 @@ } }, { - "id": 5952, + "id": 5941, "name": "overrideExisting", "variant": "param", "kind": 32768, @@ -129605,21 +129391,21 @@ ] }, { - "id": 5953, + "id": 5942, "name": "removeFromProductType", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5954, + "id": 5943, "name": "removeFromProductType", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5955, + "id": 5944, "name": "id", "variant": "param", "kind": 32768, @@ -129630,7 +129416,7 @@ } }, { - "id": 5956, + "id": 5945, "name": "productTypeIds", "variant": "param", "kind": 32768, @@ -129668,21 +129454,21 @@ ] }, { - "id": 5957, + "id": 5946, "name": "addToProductType", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5958, + "id": 5947, "name": "addToProductType", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5959, + "id": 5948, "name": "id", "variant": "param", "kind": 32768, @@ -129693,7 +129479,7 @@ } }, { - "id": 5960, + "id": 5949, "name": "productTypeIds", "variant": "param", "kind": 32768, @@ -129707,7 +129493,7 @@ } }, { - "id": 5961, + "id": 5950, "name": "overrideExisting", "variant": "param", "kind": 32768, @@ -129746,21 +129532,21 @@ ] }, { - "id": 5962, + "id": 5951, "name": "removeFromShippingOption", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5963, + "id": 5952, "name": "removeFromShippingOption", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5964, + "id": 5953, "name": "id", "variant": "param", "kind": 32768, @@ -129771,7 +129557,7 @@ } }, { - "id": 5965, + "id": 5954, "name": "optionIds", "variant": "param", "kind": 32768, @@ -129809,21 +129595,21 @@ ] }, { - "id": 5966, + "id": 5955, "name": "addToShippingOption", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5967, + "id": 5956, "name": "addToShippingOption", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5968, + "id": 5957, "name": "id", "variant": "param", "kind": 32768, @@ -129834,7 +129620,7 @@ } }, { - "id": 5969, + "id": 5958, "name": "optionIds", "variant": "param", "kind": 32768, @@ -129848,7 +129634,7 @@ } }, { - "id": 5970, + "id": 5959, "name": "overrideExisting", "variant": "param", "kind": 32768, @@ -129887,21 +129673,21 @@ ] }, { - "id": 5971, + "id": 5960, "name": "listByProduct", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5972, + "id": 5961, "name": "listByProduct", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5973, + "id": 5962, "name": "productId", "variant": "param", "kind": 32768, @@ -129912,7 +129698,7 @@ } }, { - "id": 5974, + "id": 5963, "name": "config", "variant": "param", "kind": 32768, @@ -129955,21 +129741,21 @@ ] }, { - "id": 5975, + "id": 5964, "name": "listByShippingOption", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5976, + "id": 5965, "name": "listByShippingOption", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5977, + "id": 5966, "name": "optionId", "variant": "param", "kind": 32768, @@ -130011,19 +129797,19 @@ { "title": "Methods", "children": [ - 5928, - 5931, - 5934, + 5917, + 5920, + 5923, + 5926, + 5929, + 5933, 5937, - 5940, - 5944, - 5948, - 5953, - 5957, - 5962, - 5966, - 5971, - 5975 + 5942, + 5946, + 5951, + 5955, + 5960, + 5964 ] } ] @@ -130033,21 +129819,21 @@ } }, { - "id": 5915, + "id": 5904, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 5916, + "id": 5905, "name": "new TaxRateService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 5917, + "id": 5906, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -130055,14 +129841,14 @@ "type": { "type": "reflection", "declaration": { - "id": 5918, + "id": 5907, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 5919, + "id": 5908, "name": "productService", "variant": "declaration", "kind": 1024, @@ -130073,7 +129859,7 @@ } }, { - "id": 5920, + "id": 5909, "name": "productTypeService", "variant": "declaration", "kind": 1024, @@ -130084,7 +129870,7 @@ } }, { - "id": 5921, + "id": 5910, "name": "shippingOptionService", "variant": "declaration", "kind": 1024, @@ -130095,7 +129881,7 @@ } }, { - "id": 5922, + "id": 5911, "name": "taxRateRepository", "variant": "declaration", "kind": 1024, @@ -130110,10 +129896,10 @@ { "title": "Properties", "children": [ - 5919, - 5920, - 5921, - 5922 + 5908, + 5909, + 5910, + 5911 ] } ] @@ -130123,7 +129909,7 @@ ], "type": { "type": "reference", - "target": 5914, + "target": 5903, "name": "TaxRateService", "package": "@medusajs/medusa" }, @@ -130141,21 +129927,21 @@ } }, { - "id": 5978, + "id": 5967, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5979, + "id": 5968, "name": "list", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5980, + "id": 5969, "name": "selector", "variant": "param", "kind": 32768, @@ -130171,7 +129957,7 @@ } }, { - "id": 5981, + "id": 5970, "name": "config", "variant": "param", "kind": 32768, @@ -130226,21 +130012,21 @@ ] }, { - "id": 5982, + "id": 5971, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5983, + "id": 5972, "name": "listAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5984, + "id": 5973, "name": "selector", "variant": "param", "kind": 32768, @@ -130256,7 +130042,7 @@ } }, { - "id": 5985, + "id": 5974, "name": "config", "variant": "param", "kind": 32768, @@ -130320,21 +130106,21 @@ ] }, { - "id": 5986, + "id": 5975, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5987, + "id": 5976, "name": "retrieve", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5988, + "id": 5977, "name": "taxRateId", "variant": "param", "kind": 32768, @@ -130345,7 +130131,7 @@ } }, { - "id": 5989, + "id": 5978, "name": "config", "variant": "param", "kind": 32768, @@ -130397,21 +130183,21 @@ ] }, { - "id": 5990, + "id": 5979, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5991, + "id": 5980, "name": "create", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5992, + "id": 5981, "name": "data", "variant": "param", "kind": 32768, @@ -130451,21 +130237,21 @@ ] }, { - "id": 5993, + "id": 5982, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5994, + "id": 5983, "name": "update", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5995, + "id": 5984, "name": "id", "variant": "param", "kind": 32768, @@ -130476,7 +130262,7 @@ } }, { - "id": 5996, + "id": 5985, "name": "data", "variant": "param", "kind": 32768, @@ -130516,21 +130302,21 @@ ] }, { - "id": 5997, + "id": 5986, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 5998, + "id": 5987, "name": "delete", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 5999, + "id": 5988, "name": "id", "variant": "param", "kind": 32768, @@ -130572,21 +130358,21 @@ ] }, { - "id": 6000, + "id": 5989, "name": "removeFromProduct", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6001, + "id": 5990, "name": "removeFromProduct", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6002, + "id": 5991, "name": "id", "variant": "param", "kind": 32768, @@ -130597,7 +130383,7 @@ } }, { - "id": 6003, + "id": 5992, "name": "productIds", "variant": "param", "kind": 32768, @@ -130639,21 +130425,21 @@ ] }, { - "id": 6004, + "id": 5993, "name": "removeFromProductType", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6005, + "id": 5994, "name": "removeFromProductType", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6006, + "id": 5995, "name": "id", "variant": "param", "kind": 32768, @@ -130664,7 +130450,7 @@ } }, { - "id": 6007, + "id": 5996, "name": "typeIds", "variant": "param", "kind": 32768, @@ -130706,21 +130492,21 @@ ] }, { - "id": 6008, + "id": 5997, "name": "removeFromShippingOption", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6009, + "id": 5998, "name": "removeFromShippingOption", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6010, + "id": 5999, "name": "id", "variant": "param", "kind": 32768, @@ -130731,7 +130517,7 @@ } }, { - "id": 6011, + "id": 6000, "name": "optionIds", "variant": "param", "kind": 32768, @@ -130773,21 +130559,21 @@ ] }, { - "id": 6012, + "id": 6001, "name": "addToProduct", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6013, + "id": 6002, "name": "addToProduct", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6014, + "id": 6003, "name": "id", "variant": "param", "kind": 32768, @@ -130798,7 +130584,7 @@ } }, { - "id": 6015, + "id": 6004, "name": "productIds", "variant": "param", "kind": 32768, @@ -130821,7 +130607,7 @@ } }, { - "id": 6016, + "id": 6005, "name": "replace", "variant": "param", "kind": 32768, @@ -130874,21 +130660,21 @@ ] }, { - "id": 6017, + "id": 6006, "name": "addToProductType", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6018, + "id": 6007, "name": "addToProductType", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6019, + "id": 6008, "name": "id", "variant": "param", "kind": 32768, @@ -130899,7 +130685,7 @@ } }, { - "id": 6020, + "id": 6009, "name": "productTypeIds", "variant": "param", "kind": 32768, @@ -130922,7 +130708,7 @@ } }, { - "id": 6021, + "id": 6010, "name": "replace", "variant": "param", "kind": 32768, @@ -130961,21 +130747,21 @@ ] }, { - "id": 6022, + "id": 6011, "name": "addToShippingOption", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6023, + "id": 6012, "name": "addToShippingOption", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6024, + "id": 6013, "name": "id", "variant": "param", "kind": 32768, @@ -130986,7 +130772,7 @@ } }, { - "id": 6025, + "id": 6014, "name": "optionIds", "variant": "param", "kind": 32768, @@ -131009,7 +130795,7 @@ } }, { - "id": 6026, + "id": 6015, "name": "replace", "variant": "param", "kind": 32768, @@ -131048,21 +130834,21 @@ ] }, { - "id": 6027, + "id": 6016, "name": "listByProduct", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6028, + "id": 6017, "name": "listByProduct", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6029, + "id": 6018, "name": "productId", "variant": "param", "kind": 32768, @@ -131073,7 +130859,7 @@ } }, { - "id": 6030, + "id": 6019, "name": "config", "variant": "param", "kind": 32768, @@ -131116,21 +130902,21 @@ ] }, { - "id": 6031, + "id": 6020, "name": "listByShippingOption", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6032, + "id": 6021, "name": "listByShippingOption", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6033, + "id": 6022, "name": "shippingOptionId", "variant": "param", "kind": 32768, @@ -131172,49 +130958,49 @@ { "title": "Constructors", "children": [ - 5915 + 5904 ] }, { "title": "Properties", "children": [ - 6034, - 6035, - 6038, - 6039, - 6040, - 5923, - 5924, - 5925, - 5926 + 6023, + 6024, + 6027, + 6028, + 6029, + 5912, + 5913, + 5914, + 5915 ] }, { "title": "Accessors", "children": [ - 6036 + 6025 ] }, { "title": "Methods", "children": [ - 6041, - 6044, - 6049, - 5978, + 6030, + 6033, + 6038, + 5967, + 5971, + 5975, + 5979, 5982, 5986, - 5990, + 5989, 5993, 5997, - 6000, - 6004, - 6008, - 6012, - 6017, - 6022, - 6027, - 6031 + 6001, + 6006, + 6011, + 6016, + 6020 ] } ], @@ -131231,14 +131017,14 @@ ] }, { - "id": 6065, + "id": 6054, "name": "TokenService", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 6066, + "id": 6055, "name": "RESOLUTION_KEY", "variant": "declaration", "kind": 1024, @@ -131252,7 +131038,7 @@ "defaultValue": "..." }, { - "id": 6070, + "id": 6059, "name": "configModule_", "variant": "declaration", "kind": 1024, @@ -131271,21 +131057,21 @@ } }, { - "id": 6067, + "id": 6056, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 6068, + "id": 6057, "name": "new TokenService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 6069, + "id": 6058, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -131303,7 +131089,7 @@ ], "type": { "type": "reference", - "target": 6065, + "target": 6054, "name": "TokenService", "package": "@medusajs/medusa" } @@ -131311,21 +131097,21 @@ ] }, { - "id": 6071, + "id": 6060, "name": "verifyToken", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6072, + "id": 6061, "name": "verifyToken", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6073, + "id": 6062, "name": "token", "variant": "param", "kind": 32768, @@ -131336,7 +131122,7 @@ } }, { - "id": 6074, + "id": 6063, "name": "options", "variant": "param", "kind": 32768, @@ -131385,21 +131171,21 @@ ] }, { - "id": 6075, + "id": 6064, "name": "signToken", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6076, + "id": 6065, "name": "signToken", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6077, + "id": 6066, "name": "data", "variant": "param", "kind": 32768, @@ -131429,7 +131215,7 @@ } }, { - "id": 6078, + "id": 6067, "name": "options", "variant": "param", "kind": 32768, @@ -131459,27 +131245,27 @@ { "title": "Constructors", "children": [ - 6067 + 6056 ] }, { "title": "Properties", "children": [ - 6066, - 6070 + 6055, + 6059 ] }, { "title": "Methods", "children": [ - 6071, - 6075 + 6060, + 6064 ] } ] }, { - "id": 6079, + "id": 6068, "name": "TotalsService", "variant": "declaration", "kind": 128, @@ -131500,7 +131286,7 @@ }, "children": [ { - "id": 6191, + "id": 6180, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -131523,7 +131309,7 @@ } }, { - "id": 6192, + "id": 6181, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -131555,7 +131341,7 @@ } }, { - "id": 6193, + "id": 6182, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -131563,7 +131349,7 @@ "isProtected": true }, "getSignature": { - "id": 6194, + "id": 6183, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -131590,7 +131376,7 @@ } }, { - "id": 6195, + "id": 6184, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -131609,7 +131395,7 @@ } }, { - "id": 6196, + "id": 6185, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -131644,7 +131430,7 @@ } }, { - "id": 6197, + "id": 6186, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -131679,21 +131465,21 @@ } }, { - "id": 6198, + "id": 6187, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6199, + "id": 6188, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6200, + "id": 6189, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -131729,7 +131515,7 @@ } }, { - "id": 6201, + "id": 6190, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -131738,14 +131524,14 @@ }, "signatures": [ { - "id": 6202, + "id": 6191, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6203, + "id": 6192, "name": "err", "variant": "param", "kind": 32768, @@ -131775,14 +131561,14 @@ { "type": "reflection", "declaration": { - "id": 6204, + "id": 6193, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 6205, + "id": 6194, "name": "code", "variant": "declaration", "kind": 1024, @@ -131797,7 +131583,7 @@ { "title": "Properties", "children": [ - 6205 + 6194 ] } ] @@ -131825,7 +131611,7 @@ } }, { - "id": 6206, + "id": 6195, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -131834,7 +131620,7 @@ }, "signatures": [ { - "id": 6207, + "id": 6196, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -131860,14 +131646,14 @@ }, "typeParameter": [ { - "id": 6208, + "id": 6197, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 6209, + "id": 6198, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -131876,7 +131662,7 @@ ], "parameters": [ { - "id": 6210, + "id": 6199, "name": "work", "variant": "param", "kind": 32768, @@ -131892,21 +131678,21 @@ "type": { "type": "reflection", "declaration": { - "id": 6211, + "id": 6200, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 6212, + "id": 6201, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6213, + "id": 6202, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -131946,7 +131732,7 @@ } }, { - "id": 6214, + "id": 6203, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -131976,21 +131762,21 @@ { "type": "reflection", "declaration": { - "id": 6215, + "id": 6204, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 6216, + "id": 6205, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6217, + "id": 6206, "name": "error", "variant": "param", "kind": 32768, @@ -132039,7 +131825,7 @@ } }, { - "id": 6218, + "id": 6207, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -132057,21 +131843,21 @@ "type": { "type": "reflection", "declaration": { - "id": 6219, + "id": 6208, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 6220, + "id": 6209, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6221, + "id": 6210, "name": "error", "variant": "param", "kind": 32768, @@ -132150,7 +131936,7 @@ } }, { - "id": 6083, + "id": 6072, "name": "taxProviderService_", "variant": "declaration", "kind": 1024, @@ -132160,13 +131946,13 @@ }, "type": { "type": "reference", - "target": 5812, + "target": 5801, "name": "TaxProviderService", "package": "@medusajs/medusa" } }, { - "id": 6084, + "id": 6073, "name": "newTotalsService_", "variant": "declaration", "kind": 1024, @@ -132176,13 +131962,13 @@ }, "type": { "type": "reference", - "target": 1998, + "target": 1997, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 6085, + "id": 6074, "name": "taxCalculationStrategy_", "variant": "declaration", "kind": 1024, @@ -132201,7 +131987,7 @@ } }, { - "id": 6086, + "id": 6075, "name": "featureFlagRouter_", "variant": "declaration", "kind": 1024, @@ -132212,7 +131998,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/feature-flags/utils/flag-router.d.ts", + "sourceFileName": "../../../packages/utils/src/feature-flags/utils/flag-router.ts", "qualifiedName": "FlagRouter" }, "name": "FlagRouter", @@ -132220,21 +132006,21 @@ } }, { - "id": 6080, + "id": 6069, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 6081, + "id": 6070, "name": "new TotalsService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 6082, + "id": 6071, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -132252,7 +132038,7 @@ ], "type": { "type": "reference", - "target": 6079, + "target": 6068, "name": "TotalsService", "package": "@medusajs/medusa" }, @@ -132270,14 +132056,14 @@ } }, { - "id": 6087, + "id": 6076, "name": "getTotal", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6088, + "id": 6077, "name": "getTotal", "variant": "signature", "kind": 4096, @@ -132303,7 +132089,7 @@ }, "parameters": [ { - "id": 6089, + "id": 6078, "name": "cartOrOrder", "variant": "param", "kind": 32768, @@ -132341,7 +132127,7 @@ } }, { - "id": 6090, + "id": 6079, "name": "options", "variant": "param", "kind": 32768, @@ -132385,14 +132171,14 @@ ] }, { - "id": 6091, + "id": 6080, "name": "getPaidTotal", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6092, + "id": 6081, "name": "getPaidTotal", "variant": "signature", "kind": 4096, @@ -132418,7 +132204,7 @@ }, "parameters": [ { - "id": 6093, + "id": 6082, "name": "order", "variant": "param", "kind": 32768, @@ -132450,14 +132236,14 @@ ] }, { - "id": 6094, + "id": 6083, "name": "getSwapTotal", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6095, + "id": 6084, "name": "getSwapTotal", "variant": "signature", "kind": 4096, @@ -132483,7 +132269,7 @@ }, "parameters": [ { - "id": 6096, + "id": 6085, "name": "order", "variant": "param", "kind": 32768, @@ -132515,14 +132301,14 @@ ] }, { - "id": 6097, + "id": 6086, "name": "getShippingMethodTotals", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6098, + "id": 6087, "name": "getShippingMethodTotals", "variant": "signature", "kind": 4096, @@ -132548,7 +132334,7 @@ }, "parameters": [ { - "id": 6099, + "id": 6088, "name": "shippingMethod", "variant": "param", "kind": 32768, @@ -132572,7 +132358,7 @@ } }, { - "id": 6100, + "id": 6089, "name": "cartOrOrder", "variant": "param", "kind": 32768, @@ -132610,7 +132396,7 @@ } }, { - "id": 6101, + "id": 6090, "name": "opts", "variant": "param", "kind": 32768, @@ -132659,14 +132445,14 @@ ] }, { - "id": 6102, + "id": 6091, "name": "getSubtotal", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6103, + "id": 6092, "name": "getSubtotal", "variant": "signature", "kind": 4096, @@ -132692,7 +132478,7 @@ }, "parameters": [ { - "id": 6104, + "id": 6093, "name": "cartOrOrder", "variant": "param", "kind": 32768, @@ -132730,7 +132516,7 @@ } }, { - "id": 6105, + "id": 6094, "name": "opts", "variant": "param", "kind": 32768, @@ -132774,14 +132560,14 @@ ] }, { - "id": 6106, + "id": 6095, "name": "getShippingTotal", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6107, + "id": 6096, "name": "getShippingTotal", "variant": "signature", "kind": 4096, @@ -132807,7 +132593,7 @@ }, "parameters": [ { - "id": 6108, + "id": 6097, "name": "cartOrOrder", "variant": "param", "kind": 32768, @@ -132864,14 +132650,14 @@ ] }, { - "id": 6109, + "id": 6098, "name": "getTaxTotal", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6110, + "id": 6099, "name": "getTaxTotal", "variant": "signature", "kind": 4096, @@ -132897,7 +132683,7 @@ }, "parameters": [ { - "id": 6111, + "id": 6100, "name": "cartOrOrder", "variant": "param", "kind": 32768, @@ -132935,7 +132721,7 @@ } }, { - "id": 6112, + "id": 6101, "name": "forceTaxes", "variant": "param", "kind": 32768, @@ -132983,14 +132769,14 @@ ] }, { - "id": 6113, + "id": 6102, "name": "getAllocationMap", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6114, + "id": 6103, "name": "getAllocationMap", "variant": "signature", "kind": 4096, @@ -133016,7 +132802,7 @@ }, "parameters": [ { - "id": 6115, + "id": 6104, "name": "orderOrCart", "variant": "param", "kind": 32768, @@ -133032,14 +132818,14 @@ "type": { "type": "reflection", "declaration": { - "id": 6116, + "id": 6105, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 6117, + "id": 6106, "name": "discounts", "variant": "declaration", "kind": 1024, @@ -133060,7 +132846,7 @@ } }, { - "id": 6118, + "id": 6107, "name": "items", "variant": "declaration", "kind": 1024, @@ -133079,7 +132865,7 @@ } }, { - "id": 6119, + "id": 6108, "name": "swaps", "variant": "declaration", "kind": 1024, @@ -133100,7 +132886,7 @@ } }, { - "id": 6120, + "id": 6109, "name": "claims", "variant": "declaration", "kind": 1024, @@ -133125,10 +132911,10 @@ { "title": "Properties", "children": [ - 6117, - 6118, - 6119, - 6120 + 6106, + 6107, + 6108, + 6109 ] } ] @@ -133136,7 +132922,7 @@ } }, { - "id": 6121, + "id": 6110, "name": "options", "variant": "param", "kind": 32768, @@ -133185,14 +132971,14 @@ ] }, { - "id": 6122, + "id": 6111, "name": "getRefundedTotal", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6123, + "id": 6112, "name": "getRefundedTotal", "variant": "signature", "kind": 4096, @@ -133218,7 +133004,7 @@ }, "parameters": [ { - "id": 6124, + "id": 6113, "name": "order", "variant": "param", "kind": 32768, @@ -133250,14 +133036,14 @@ ] }, { - "id": 6125, + "id": 6114, "name": "getLineItemRefund", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6126, + "id": 6115, "name": "getLineItemRefund", "variant": "signature", "kind": 4096, @@ -133283,7 +133069,7 @@ }, "parameters": [ { - "id": 6127, + "id": 6116, "name": "order", "variant": "param", "kind": 32768, @@ -133307,7 +133093,7 @@ } }, { - "id": 6128, + "id": 6117, "name": "lineItem", "variant": "param", "kind": 32768, @@ -133350,14 +133136,14 @@ ] }, { - "id": 6129, + "id": 6118, "name": "getRefundTotal", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6130, + "id": 6119, "name": "getRefundTotal", "variant": "signature", "kind": 4096, @@ -133383,7 +133169,7 @@ }, "parameters": [ { - "id": 6131, + "id": 6120, "name": "order", "variant": "param", "kind": 32768, @@ -133407,7 +133193,7 @@ } }, { - "id": 6132, + "id": 6121, "name": "lineItems", "variant": "param", "kind": 32768, @@ -133453,14 +133239,14 @@ ] }, { - "id": 6133, + "id": 6122, "name": "calculateDiscount_", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6134, + "id": 6123, "name": "calculateDiscount_", "variant": "signature", "kind": 4096, @@ -133495,7 +133281,7 @@ }, "parameters": [ { - "id": 6135, + "id": 6124, "name": "lineItem", "variant": "param", "kind": 32768, @@ -133519,7 +133305,7 @@ } }, { - "id": 6136, + "id": 6125, "name": "variant", "variant": "param", "kind": 32768, @@ -133538,7 +133324,7 @@ } }, { - "id": 6137, + "id": 6126, "name": "variantPrice", "variant": "param", "kind": 32768, @@ -133557,7 +133343,7 @@ } }, { - "id": 6138, + "id": 6127, "name": "value", "variant": "param", "kind": 32768, @@ -133576,7 +133362,7 @@ } }, { - "id": 6139, + "id": 6128, "name": "discountType", "variant": "param", "kind": 32768, @@ -133613,14 +133399,14 @@ ] }, { - "id": 6140, + "id": 6129, "name": "getAllocationItemDiscounts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6141, + "id": 6130, "name": "getAllocationItemDiscounts", "variant": "signature", "kind": 4096, @@ -133646,7 +133432,7 @@ }, "parameters": [ { - "id": 6142, + "id": 6131, "name": "discount", "variant": "param", "kind": 32768, @@ -133670,7 +133456,7 @@ } }, { - "id": 6143, + "id": 6132, "name": "cart", "variant": "param", "kind": 32768, @@ -133724,21 +133510,21 @@ ] }, { - "id": 6144, + "id": 6133, "name": "getLineItemDiscountAdjustment", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6145, + "id": 6134, "name": "getLineItemDiscountAdjustment", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6146, + "id": 6135, "name": "lineItem", "variant": "param", "kind": 32768, @@ -133754,7 +133540,7 @@ } }, { - "id": 6147, + "id": 6136, "name": "discount", "variant": "param", "kind": 32768, @@ -133778,21 +133564,21 @@ ] }, { - "id": 6148, + "id": 6137, "name": "getLineItemAdjustmentsTotal", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6149, + "id": 6138, "name": "getLineItemAdjustmentsTotal", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6150, + "id": 6139, "name": "cartOrOrder", "variant": "param", "kind": 32768, @@ -133830,14 +133616,14 @@ ] }, { - "id": 6151, + "id": 6140, "name": "getLineDiscounts", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6152, + "id": 6141, "name": "getLineDiscounts", "variant": "signature", "kind": 4096, @@ -133863,7 +133649,7 @@ }, "parameters": [ { - "id": 6153, + "id": 6142, "name": "cartOrOrder", "variant": "param", "kind": 32768, @@ -133879,14 +133665,14 @@ "type": { "type": "reflection", "declaration": { - "id": 6154, + "id": 6143, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 6155, + "id": 6144, "name": "items", "variant": "declaration", "kind": 1024, @@ -133905,7 +133691,7 @@ } }, { - "id": 6156, + "id": 6145, "name": "swaps", "variant": "declaration", "kind": 1024, @@ -133926,7 +133712,7 @@ } }, { - "id": 6157, + "id": 6146, "name": "claims", "variant": "declaration", "kind": 1024, @@ -133951,9 +133737,9 @@ { "title": "Properties", "children": [ - 6155, - 6156, - 6157 + 6144, + 6145, + 6146 ] } ] @@ -133961,7 +133747,7 @@ } }, { - "id": 6158, + "id": 6147, "name": "discount", "variant": "param", "kind": 32768, @@ -134003,14 +133789,14 @@ ] }, { - "id": 6159, + "id": 6148, "name": "getLineItemTotals", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6160, + "id": 6149, "name": "getLineItemTotals", "variant": "signature", "kind": 4096, @@ -134036,7 +133822,7 @@ }, "parameters": [ { - "id": 6161, + "id": 6150, "name": "lineItem", "variant": "param", "kind": 32768, @@ -134060,7 +133846,7 @@ } }, { - "id": 6162, + "id": 6151, "name": "cartOrOrder", "variant": "param", "kind": 32768, @@ -134098,7 +133884,7 @@ } }, { - "id": 6163, + "id": 6152, "name": "options", "variant": "param", "kind": 32768, @@ -134147,14 +133933,14 @@ ] }, { - "id": 6164, + "id": 6153, "name": "getLineItemTotal", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6165, + "id": 6154, "name": "getLineItemTotal", "variant": "signature", "kind": 4096, @@ -134180,7 +133966,7 @@ }, "parameters": [ { - "id": 6166, + "id": 6155, "name": "lineItem", "variant": "param", "kind": 32768, @@ -134204,7 +133990,7 @@ } }, { - "id": 6167, + "id": 6156, "name": "cartOrOrder", "variant": "param", "kind": 32768, @@ -134242,7 +134028,7 @@ } }, { - "id": 6168, + "id": 6157, "name": "options", "variant": "param", "kind": 32768, @@ -134286,14 +134072,14 @@ ] }, { - "id": 6169, + "id": 6158, "name": "getGiftCardableAmount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6170, + "id": 6159, "name": "getGiftCardableAmount", "variant": "signature", "kind": 4096, @@ -134319,7 +134105,7 @@ }, "parameters": [ { - "id": 6171, + "id": 6160, "name": "cartOrOrder", "variant": "param", "kind": 32768, @@ -134376,14 +134162,14 @@ ] }, { - "id": 6172, + "id": 6161, "name": "getGiftCardTotal", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6173, + "id": 6162, "name": "getGiftCardTotal", "variant": "signature", "kind": 4096, @@ -134409,7 +134195,7 @@ }, "parameters": [ { - "id": 6174, + "id": 6163, "name": "cartOrOrder", "variant": "param", "kind": 32768, @@ -134447,7 +134233,7 @@ } }, { - "id": 6175, + "id": 6164, "name": "opts", "variant": "param", "kind": 32768, @@ -134455,14 +134241,14 @@ "type": { "type": "reflection", "declaration": { - "id": 6176, + "id": 6165, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 6177, + "id": 6166, "name": "gift_cardable", "variant": "declaration", "kind": 1024, @@ -134479,7 +134265,7 @@ { "title": "Properties", "children": [ - 6177 + 6166 ] } ] @@ -134498,14 +134284,14 @@ { "type": "reflection", "declaration": { - "id": 6178, + "id": 6167, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 6179, + "id": 6168, "name": "total", "variant": "declaration", "kind": 1024, @@ -134516,7 +134302,7 @@ } }, { - "id": 6180, + "id": 6169, "name": "tax_total", "variant": "declaration", "kind": 1024, @@ -134531,8 +134317,8 @@ { "title": "Properties", "children": [ - 6179, - 6180 + 6168, + 6169 ] } ] @@ -134546,14 +134332,14 @@ ] }, { - "id": 6181, + "id": 6170, "name": "getDiscountTotal", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6182, + "id": 6171, "name": "getDiscountTotal", "variant": "signature", "kind": 4096, @@ -134579,7 +134365,7 @@ }, "parameters": [ { - "id": 6183, + "id": 6172, "name": "cartOrOrder", "variant": "param", "kind": 32768, @@ -134636,14 +134422,14 @@ ] }, { - "id": 6184, + "id": 6173, "name": "getCalculationContext", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6185, + "id": 6174, "name": "getCalculationContext", "variant": "signature", "kind": 4096, @@ -134669,7 +134455,7 @@ }, "parameters": [ { - "id": 6186, + "id": 6175, "name": "calculationContextData", "variant": "param", "kind": 32768, @@ -134693,7 +134479,7 @@ } }, { - "id": 6187, + "id": 6176, "name": "options", "variant": "param", "kind": 32768, @@ -134742,14 +134528,14 @@ ] }, { - "id": 6188, + "id": 6177, "name": "rounded", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6189, + "id": 6178, "name": "rounded", "variant": "signature", "kind": 4096, @@ -134775,7 +134561,7 @@ }, "parameters": [ { - "id": 6190, + "id": 6179, "name": "value", "variant": "param", "kind": 32768, @@ -134806,58 +134592,58 @@ { "title": "Constructors", "children": [ - 6080 + 6069 ] }, { "title": "Properties", "children": [ - 6191, - 6192, - 6195, - 6196, - 6197, - 6083, - 6084, - 6085, - 6086 + 6180, + 6181, + 6184, + 6185, + 6186, + 6072, + 6073, + 6074, + 6075 ] }, { "title": "Accessors", "children": [ - 6193 + 6182 ] }, { "title": "Methods", "children": [ - 6198, - 6201, - 6206, - 6087, + 6187, + 6190, + 6195, + 6076, + 6080, + 6083, + 6086, 6091, - 6094, - 6097, + 6095, + 6098, 6102, - 6106, - 6109, - 6113, + 6111, + 6114, + 6118, 6122, - 6125, 6129, 6133, + 6137, 6140, - 6144, 6148, - 6151, - 6159, - 6164, - 6169, - 6172, - 6181, - 6184, - 6188 + 6153, + 6158, + 6161, + 6170, + 6173, + 6177 ] } ], @@ -134874,7 +134660,7 @@ ] }, { - "id": 6222, + "id": 6211, "name": "UserService", "variant": "declaration", "kind": 128, @@ -134889,7 +134675,7 @@ }, "children": [ { - "id": 6281, + "id": 6270, "name": "manager_", "variant": "declaration", "kind": 1024, @@ -134912,7 +134698,7 @@ } }, { - "id": 6282, + "id": 6271, "name": "transactionManager_", "variant": "declaration", "kind": 1024, @@ -134944,7 +134730,7 @@ } }, { - "id": 6283, + "id": 6272, "name": "activeManager_", "variant": "declaration", "kind": 262144, @@ -134952,7 +134738,7 @@ "isProtected": true }, "getSignature": { - "id": 6284, + "id": 6273, "name": "activeManager_", "variant": "signature", "kind": 524288, @@ -134979,7 +134765,7 @@ } }, { - "id": 6285, + "id": 6274, "name": "__container__", "variant": "declaration", "kind": 1024, @@ -134998,7 +134784,7 @@ } }, { - "id": 6286, + "id": 6275, "name": "__configModule__", "variant": "declaration", "kind": 1024, @@ -135033,7 +134819,7 @@ } }, { - "id": 6287, + "id": 6276, "name": "__moduleDeclaration__", "variant": "declaration", "kind": 1024, @@ -135068,21 +134854,21 @@ } }, { - "id": 6288, + "id": 6277, "name": "withTransaction", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6289, + "id": 6278, "name": "withTransaction", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6290, + "id": 6279, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -135118,7 +134904,7 @@ } }, { - "id": 6291, + "id": 6280, "name": "shouldRetryTransaction_", "variant": "declaration", "kind": 2048, @@ -135127,14 +134913,14 @@ }, "signatures": [ { - "id": 6292, + "id": 6281, "name": "shouldRetryTransaction_", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6293, + "id": 6282, "name": "err", "variant": "param", "kind": 32768, @@ -135164,14 +134950,14 @@ { "type": "reflection", "declaration": { - "id": 6294, + "id": 6283, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 6295, + "id": 6284, "name": "code", "variant": "declaration", "kind": 1024, @@ -135186,7 +134972,7 @@ { "title": "Properties", "children": [ - 6295 + 6284 ] } ] @@ -135214,7 +135000,7 @@ } }, { - "id": 6296, + "id": 6285, "name": "atomicPhase_", "variant": "declaration", "kind": 2048, @@ -135223,7 +135009,7 @@ }, "signatures": [ { - "id": 6297, + "id": 6286, "name": "atomicPhase_", "variant": "signature", "kind": 4096, @@ -135249,14 +135035,14 @@ }, "typeParameter": [ { - "id": 6298, + "id": 6287, "name": "TResult", "variant": "typeParam", "kind": 131072, "flags": {} }, { - "id": 6299, + "id": 6288, "name": "TError", "variant": "typeParam", "kind": 131072, @@ -135265,7 +135051,7 @@ ], "parameters": [ { - "id": 6300, + "id": 6289, "name": "work", "variant": "param", "kind": 32768, @@ -135281,21 +135067,21 @@ "type": { "type": "reflection", "declaration": { - "id": 6301, + "id": 6290, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 6302, + "id": 6291, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6303, + "id": 6292, "name": "transactionManager", "variant": "param", "kind": 32768, @@ -135335,7 +135121,7 @@ } }, { - "id": 6304, + "id": 6293, "name": "isolationOrErrorHandler", "variant": "param", "kind": 32768, @@ -135365,21 +135151,21 @@ { "type": "reflection", "declaration": { - "id": 6305, + "id": 6294, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 6306, + "id": 6295, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6307, + "id": 6296, "name": "error", "variant": "param", "kind": 32768, @@ -135428,7 +135214,7 @@ } }, { - "id": 6308, + "id": 6297, "name": "maybeErrorHandlerOrDontFail", "variant": "param", "kind": 32768, @@ -135446,21 +135232,21 @@ "type": { "type": "reflection", "declaration": { - "id": 6309, + "id": 6298, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 6310, + "id": 6299, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6311, + "id": 6300, "name": "error", "variant": "param", "kind": 32768, @@ -135539,7 +135325,7 @@ } }, { - "id": 6223, + "id": 6212, "name": "Events", "variant": "declaration", "kind": 1024, @@ -135549,14 +135335,14 @@ "type": { "type": "reflection", "declaration": { - "id": 6224, + "id": 6213, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 6225, + "id": 6214, "name": "PASSWORD_RESET", "variant": "declaration", "kind": 1024, @@ -135568,7 +135354,7 @@ "defaultValue": "\"user.password_reset\"" }, { - "id": 6226, + "id": 6215, "name": "CREATED", "variant": "declaration", "kind": 1024, @@ -135580,7 +135366,7 @@ "defaultValue": "\"user.created\"" }, { - "id": 6227, + "id": 6216, "name": "UPDATED", "variant": "declaration", "kind": 1024, @@ -135592,7 +135378,7 @@ "defaultValue": "\"user.updated\"" }, { - "id": 6228, + "id": 6217, "name": "DELETED", "variant": "declaration", "kind": 1024, @@ -135608,10 +135394,10 @@ { "title": "Properties", "children": [ - 6225, - 6226, - 6227, - 6228 + 6214, + 6215, + 6216, + 6217 ] } ] @@ -135620,7 +135406,7 @@ "defaultValue": "..." }, { - "id": 6232, + "id": 6221, "name": "analyticsConfigService_", "variant": "declaration", "kind": 1024, @@ -135636,7 +135422,7 @@ } }, { - "id": 6233, + "id": 6222, "name": "userRepository_", "variant": "declaration", "kind": 1024, @@ -135666,7 +135452,7 @@ } }, { - "id": 6234, + "id": 6223, "name": "eventBus_", "variant": "declaration", "kind": 1024, @@ -135676,13 +135462,13 @@ }, "type": { "type": "reference", - "target": 1369, + "target": 1368, "name": "default", "package": "@medusajs/medusa" } }, { - "id": 6235, + "id": 6224, "name": "featureFlagRouter_", "variant": "declaration", "kind": 1024, @@ -135693,7 +135479,7 @@ "type": { "type": "reference", "target": { - "sourceFileName": "../../../packages/utils/dist/feature-flags/utils/flag-router.d.ts", + "sourceFileName": "../../../packages/utils/src/feature-flags/utils/flag-router.ts", "qualifiedName": "FlagRouter" }, "name": "FlagRouter", @@ -135701,21 +135487,21 @@ } }, { - "id": 6229, + "id": 6218, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "signatures": [ { - "id": 6230, + "id": 6219, "name": "new UserService", "variant": "signature", "kind": 16384, "flags": {}, "parameters": [ { - "id": 6231, + "id": 6220, "name": "__namedParameters", "variant": "param", "kind": 32768, @@ -135733,7 +135519,7 @@ ], "type": { "type": "reference", - "target": 6222, + "target": 6211, "name": "UserService", "package": "@medusajs/medusa" }, @@ -135751,14 +135537,14 @@ } }, { - "id": 6236, + "id": 6225, "name": "list", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6237, + "id": 6226, "name": "list", "variant": "signature", "kind": 4096, @@ -135779,7 +135565,7 @@ }, "parameters": [ { - "id": 6238, + "id": 6227, "name": "selector", "variant": "param", "kind": 32768, @@ -135818,14 +135604,14 @@ { "type": "reflection", "declaration": { - "id": 6239, + "id": 6228, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 6240, + "id": 6229, "name": "q", "variant": "declaration", "kind": 1024, @@ -135842,7 +135628,7 @@ { "title": "Properties", "children": [ - 6240 + 6229 ] } ] @@ -135853,7 +135639,7 @@ "defaultValue": "{}" }, { - "id": 6241, + "id": 6230, "name": "config", "variant": "param", "kind": 32768, @@ -135916,21 +135702,21 @@ ] }, { - "id": 6242, + "id": 6231, "name": "listAndCount", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6243, + "id": 6232, "name": "listAndCount", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 6244, + "id": 6233, "name": "selector", "variant": "param", "kind": 32768, @@ -135961,14 +135747,14 @@ { "type": "reflection", "declaration": { - "id": 6245, + "id": 6234, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 6246, + "id": 6235, "name": "q", "variant": "declaration", "kind": 1024, @@ -135985,7 +135771,7 @@ { "title": "Properties", "children": [ - 6246 + 6235 ] } ] @@ -135996,7 +135782,7 @@ "defaultValue": "{}" }, { - "id": 6247, + "id": 6236, "name": "config", "variant": "param", "kind": 32768, @@ -136060,14 +135846,14 @@ ] }, { - "id": 6248, + "id": 6237, "name": "retrieve", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6249, + "id": 6238, "name": "retrieve", "variant": "signature", "kind": 4096, @@ -136093,7 +135879,7 @@ }, "parameters": [ { - "id": 6250, + "id": 6239, "name": "userId", "variant": "param", "kind": 32768, @@ -136112,7 +135898,7 @@ } }, { - "id": 6251, + "id": 6240, "name": "config", "variant": "param", "kind": 32768, @@ -136172,14 +135958,14 @@ ] }, { - "id": 6252, + "id": 6241, "name": "retrieveByApiToken", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6253, + "id": 6242, "name": "retrieveByApiToken", "variant": "signature", "kind": 4096, @@ -136205,7 +135991,7 @@ }, "parameters": [ { - "id": 6254, + "id": 6243, "name": "apiToken", "variant": "param", "kind": 32768, @@ -136224,7 +136010,7 @@ } }, { - "id": 6255, + "id": 6244, "name": "relations", "variant": "param", "kind": 32768, @@ -136271,14 +136057,14 @@ ] }, { - "id": 6256, + "id": 6245, "name": "retrieveByEmail", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6257, + "id": 6246, "name": "retrieveByEmail", "variant": "signature", "kind": 4096, @@ -136304,7 +136090,7 @@ }, "parameters": [ { - "id": 6258, + "id": 6247, "name": "email", "variant": "param", "kind": 32768, @@ -136323,7 +136109,7 @@ } }, { - "id": 6259, + "id": 6248, "name": "config", "variant": "param", "kind": 32768, @@ -136383,14 +136169,14 @@ ] }, { - "id": 6260, + "id": 6249, "name": "hashPassword_", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6261, + "id": 6250, "name": "hashPassword_", "variant": "signature", "kind": 4096, @@ -136416,7 +136202,7 @@ }, "parameters": [ { - "id": 6262, + "id": 6251, "name": "password", "variant": "param", "kind": 32768, @@ -136454,14 +136240,14 @@ ] }, { - "id": 6263, + "id": 6252, "name": "create", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6264, + "id": 6253, "name": "create", "variant": "signature", "kind": 4096, @@ -136487,7 +136273,7 @@ }, "parameters": [ { - "id": 6265, + "id": 6254, "name": "user", "variant": "param", "kind": 32768, @@ -136511,7 +136297,7 @@ } }, { - "id": 6266, + "id": 6255, "name": "password", "variant": "param", "kind": 32768, @@ -136554,14 +136340,14 @@ ] }, { - "id": 6267, + "id": 6256, "name": "update", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6268, + "id": 6257, "name": "update", "variant": "signature", "kind": 4096, @@ -136587,7 +136373,7 @@ }, "parameters": [ { - "id": 6269, + "id": 6258, "name": "userId", "variant": "param", "kind": 32768, @@ -136606,7 +136392,7 @@ } }, { - "id": 6270, + "id": 6259, "name": "update", "variant": "param", "kind": 32768, @@ -136654,14 +136440,14 @@ ] }, { - "id": 6271, + "id": 6260, "name": "delete", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6272, + "id": 6261, "name": "delete", "variant": "signature", "kind": 4096, @@ -136687,7 +136473,7 @@ }, "parameters": [ { - "id": 6273, + "id": 6262, "name": "userId", "variant": "param", "kind": 32768, @@ -136725,14 +136511,14 @@ ] }, { - "id": 6274, + "id": 6263, "name": "setPassword_", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6275, + "id": 6264, "name": "setPassword_", "variant": "signature", "kind": 4096, @@ -136758,7 +136544,7 @@ }, "parameters": [ { - "id": 6276, + "id": 6265, "name": "userId", "variant": "param", "kind": 32768, @@ -136777,7 +136563,7 @@ } }, { - "id": 6277, + "id": 6266, "name": "password", "variant": "param", "kind": 32768, @@ -136820,14 +136606,14 @@ ] }, { - "id": 6278, + "id": 6267, "name": "generateResetPasswordToken", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 6279, + "id": 6268, "name": "generateResetPasswordToken", "variant": "signature", "kind": 4096, @@ -136853,7 +136639,7 @@ }, "parameters": [ { - "id": 6280, + "id": 6269, "name": "userId", "variant": "param", "kind": 32768, @@ -136895,47 +136681,47 @@ { "title": "Constructors", "children": [ - 6229 + 6218 ] }, { "title": "Properties", "children": [ - 6281, - 6282, - 6285, - 6286, - 6287, + 6270, + 6271, + 6274, + 6275, + 6276, + 6212, + 6221, + 6222, 6223, - 6232, - 6233, - 6234, - 6235 + 6224 ] }, { "title": "Accessors", "children": [ - 6283 + 6272 ] }, { "title": "Methods", "children": [ - 6288, - 6291, - 6296, - 6236, - 6242, - 6248, + 6277, + 6280, + 6285, + 6225, + 6231, + 6237, + 6241, + 6245, + 6249, 6252, 6256, 6260, 6263, - 6267, - 6271, - 6274, - 6278 + 6267 ] } ], @@ -136960,60 +136746,60 @@ 52, 105, 199, - 578, - 462, - 644, - 698, - 876, - 747, - 1172, - 968, - 1280, - 1369, - 1524, - 1444, - 1605, - 1691, - 1892, - 1753, - 1962, - 1998, - 2156, - 2223, - 2304, - 2741, - 2597, - 2373, - 2867, - 2962, - 2798, - 3126, - 3359, - 3755, - 3910, - 4075, - 4486, - 4139, - 3484, - 4612, - 4836, - 4733, - 5012, - 5055, - 4890, - 5108, - 5157, - 5273, - 5453, - 5502, - 5557, - 5596, - 5746, - 5812, - 5914, - 6065, - 6079, - 6222 + 577, + 461, + 643, + 697, + 875, + 746, + 1171, + 967, + 1279, + 1368, + 1523, + 1443, + 1604, + 1690, + 1891, + 1752, + 1961, + 1997, + 2155, + 2222, + 2303, + 2740, + 2596, + 2372, + 2866, + 2961, + 2797, + 3125, + 3358, + 3744, + 3899, + 4064, + 4475, + 4128, + 3473, + 4601, + 4825, + 4722, + 5001, + 5044, + 4879, + 5097, + 5146, + 5262, + 5442, + 5491, + 5546, + 5585, + 5735, + 5801, + 5903, + 6054, + 6068, + 6211 ] } ], @@ -138017,15 +137803,15 @@ }, "249": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.remoteLink_" + "qualifiedName": "CartService.productVariantInventoryService_" }, "250": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.productVariantInventoryService_" + "qualifiedName": "CartService.pricingService_" }, "251": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.pricingService_" + "qualifiedName": "CartService.list" }, "252": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138033,15 +137819,15 @@ }, "253": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.list" + "qualifiedName": "selector" }, "254": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "255": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "config" + "qualifiedName": "CartService.retrieve" }, "256": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138049,19 +137835,19 @@ }, "257": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.retrieve" + "qualifiedName": "cartId" }, "258": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartId" + "qualifiedName": "options" }, "259": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "options" + "qualifiedName": "totalsConfig" }, "260": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "totalsConfig" + "qualifiedName": "CartService.retrieveLegacy" }, "261": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138069,19 +137855,19 @@ }, "262": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.retrieveLegacy" + "qualifiedName": "cartId" }, "263": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartId" + "qualifiedName": "options" }, "264": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "options" + "qualifiedName": "totalsConfig" }, "265": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "totalsConfig" + "qualifiedName": "CartService.retrieveWithTotals" }, "266": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138089,19 +137875,19 @@ }, "267": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.retrieveWithTotals" + "qualifiedName": "cartId" }, "268": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartId" + "qualifiedName": "options" }, "269": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "options" + "qualifiedName": "totalsConfig" }, "270": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "totalsConfig" + "qualifiedName": "CartService.create" }, "271": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138109,11 +137895,11 @@ }, "272": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.create" + "qualifiedName": "data" }, "273": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "data" + "qualifiedName": "CartService.getValidatedSalesChannel" }, "274": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138121,11 +137907,11 @@ }, "275": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.getValidatedSalesChannel" + "qualifiedName": "salesChannelId" }, "276": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "salesChannelId" + "qualifiedName": "CartService.removeLineItem" }, "277": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138133,15 +137919,15 @@ }, "278": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.removeLineItem" + "qualifiedName": "cartId" }, "279": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartId" + "qualifiedName": "lineItemId" }, "280": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "lineItemId" + "qualifiedName": "CartService.validateLineItemShipping_" }, "281": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138149,15 +137935,15 @@ }, "282": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.validateLineItemShipping_" + "qualifiedName": "shippingMethods" }, "283": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "shippingMethods" + "qualifiedName": "lineItemShippingProfiledId" }, "284": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "lineItemShippingProfiledId" + "qualifiedName": "CartService.validateLineItem" }, "285": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138165,23 +137951,23 @@ }, "286": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.validateLineItem" + "qualifiedName": "__0" }, "287": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "__0" + "qualifiedName": "__type" }, "288": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.sales_channel_id" }, "289": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "__type.sales_channel_id" + "qualifiedName": "lineItem" }, "290": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "lineItem" + "qualifiedName": "CartService.addLineItem" }, "291": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138189,27 +137975,27 @@ }, "292": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.addLineItem" + "qualifiedName": "cartId" }, "293": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartId" + "qualifiedName": "lineItem" }, "294": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "lineItem" + "qualifiedName": "config" }, "295": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "config" + "qualifiedName": "__object" }, "296": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "__object" + "qualifiedName": "__object.validateSalesChannels" }, "297": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "__object.validateSalesChannels" + "qualifiedName": "CartService.addOrUpdateLineItems" }, "298": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138217,27 +138003,27 @@ }, "299": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.addOrUpdateLineItems" + "qualifiedName": "cartId" }, "300": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartId" + "qualifiedName": "lineItems" }, "301": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "lineItems" + "qualifiedName": "config" }, "302": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "config" + "qualifiedName": "__object" }, "303": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "__object" + "qualifiedName": "__object.validateSalesChannels" }, "304": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "__object.validateSalesChannels" + "qualifiedName": "CartService.updateLineItem" }, "305": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138245,19 +138031,19 @@ }, "306": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.updateLineItem" + "qualifiedName": "cartId" }, "307": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartId" + "qualifiedName": "lineItemId" }, "308": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "lineItemId" + "qualifiedName": "update" }, "309": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "update" + "qualifiedName": "CartService.adjustFreeShipping_" }, "310": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138265,15 +138051,15 @@ }, "311": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.adjustFreeShipping_" + "qualifiedName": "cart" }, "312": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cart" + "qualifiedName": "shouldAdd" }, "313": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "shouldAdd" + "qualifiedName": "CartService.update" }, "314": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138281,15 +138067,15 @@ }, "315": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.update" + "qualifiedName": "cartOrId" }, "316": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartOrId" + "qualifiedName": "data" }, "317": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "data" + "qualifiedName": "CartService.onSalesChannelChange" }, "318": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138297,15 +138083,15 @@ }, "319": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.onSalesChannelChange" + "qualifiedName": "cart" }, "320": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cart" + "qualifiedName": "newSalesChannelId" }, "321": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "newSalesChannelId" + "qualifiedName": "CartService.updateCustomerId_" }, "322": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138313,15 +138099,15 @@ }, "323": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.updateCustomerId_" + "qualifiedName": "cart" }, "324": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cart" + "qualifiedName": "customerId" }, "325": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "customerId" + "qualifiedName": "CartService.createOrFetchGuestCustomerFromEmail_" }, "326": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138329,11 +138115,11 @@ }, "327": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.createOrFetchGuestCustomerFromEmail_" + "qualifiedName": "email" }, "328": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "email" + "qualifiedName": "CartService.updateBillingAddress_" }, "329": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138341,19 +138127,19 @@ }, "330": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.updateBillingAddress_" + "qualifiedName": "cart" }, "331": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cart" + "qualifiedName": "addressOrId" }, "332": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "addressOrId" + "qualifiedName": "addrRepo" }, "333": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "addrRepo" + "qualifiedName": "CartService.updateShippingAddress_" }, "334": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138361,19 +138147,19 @@ }, "335": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.updateShippingAddress_" + "qualifiedName": "cart" }, "336": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cart" + "qualifiedName": "addressOrId" }, "337": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "addressOrId" + "qualifiedName": "addrRepo" }, "338": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "addrRepo" + "qualifiedName": "CartService.applyGiftCard_" }, "339": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138381,15 +138167,15 @@ }, "340": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.applyGiftCard_" + "qualifiedName": "cart" }, "341": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cart" + "qualifiedName": "code" }, "342": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "code" + "qualifiedName": "CartService.applyDiscount" }, "343": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138397,15 +138183,15 @@ }, "344": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.applyDiscount" + "qualifiedName": "cart" }, "345": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cart" + "qualifiedName": "discountCode" }, "346": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "discountCode" + "qualifiedName": "CartService.applyDiscounts" }, "347": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138413,15 +138199,15 @@ }, "348": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.applyDiscounts" + "qualifiedName": "cart" }, "349": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cart" + "qualifiedName": "discountCodes" }, "350": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "discountCodes" + "qualifiedName": "CartService.removeDiscount" }, "351": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138429,15 +138215,15 @@ }, "352": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.removeDiscount" + "qualifiedName": "cartId" }, "353": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartId" + "qualifiedName": "discountCode" }, "354": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "discountCode" + "qualifiedName": "CartService.updatePaymentSession" }, "355": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138445,15 +138231,15 @@ }, "356": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.updatePaymentSession" + "qualifiedName": "cartId" }, "357": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartId" + "qualifiedName": "update" }, "358": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "update" + "qualifiedName": "CartService.authorizePayment" }, "359": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138461,15 +138247,15 @@ }, "360": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.authorizePayment" + "qualifiedName": "cartOrId" }, "361": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartOrId" + "qualifiedName": "context" }, "362": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "context" + "qualifiedName": "CartService.setPaymentSession" }, "363": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138477,15 +138263,15 @@ }, "364": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.setPaymentSession" + "qualifiedName": "cartId" }, "365": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartId" + "qualifiedName": "providerId" }, "366": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "providerId" + "qualifiedName": "CartService.setPaymentSessions" }, "367": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138493,11 +138279,11 @@ }, "368": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.setPaymentSessions" + "qualifiedName": "cartOrCartId" }, "369": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartOrCartId" + "qualifiedName": "CartService.deletePaymentSession" }, "370": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138505,15 +138291,15 @@ }, "371": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.deletePaymentSession" + "qualifiedName": "cartId" }, "372": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartId" + "qualifiedName": "providerId" }, "373": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "providerId" + "qualifiedName": "CartService.refreshPaymentSession" }, "374": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138521,15 +138307,15 @@ }, "375": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.refreshPaymentSession" + "qualifiedName": "cartId" }, "376": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartId" + "qualifiedName": "providerId" }, "377": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "providerId" + "qualifiedName": "CartService.addShippingMethod" }, "378": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138537,19 +138323,19 @@ }, "379": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.addShippingMethod" + "qualifiedName": "cartOrId" }, "380": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartOrId" + "qualifiedName": "optionId" }, "381": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "optionId" + "qualifiedName": "data" }, "382": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "data" + "qualifiedName": "CartService.findCustomShippingOption" }, "383": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138557,15 +138343,15 @@ }, "384": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.findCustomShippingOption" + "qualifiedName": "cartCustomShippingOptions" }, "385": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartCustomShippingOptions" + "qualifiedName": "optionId" }, "386": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "optionId" + "qualifiedName": "CartService.updateUnitPrices_" }, "387": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138573,19 +138359,19 @@ }, "388": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.updateUnitPrices_" + "qualifiedName": "cart" }, "389": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cart" + "qualifiedName": "regionId" }, "390": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "regionId" + "qualifiedName": "customer_id" }, "391": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "customer_id" + "qualifiedName": "CartService.setRegion_" }, "392": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138593,19 +138379,19 @@ }, "393": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.setRegion_" + "qualifiedName": "cart" }, "394": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cart" + "qualifiedName": "regionId" }, "395": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "regionId" + "qualifiedName": "countryCode" }, "396": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "countryCode" + "qualifiedName": "CartService.delete" }, "397": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138613,11 +138399,11 @@ }, "398": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.delete" + "qualifiedName": "cartId" }, "399": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartId" + "qualifiedName": "CartService.setMetadata" }, "400": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138625,19 +138411,19 @@ }, "401": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.setMetadata" + "qualifiedName": "cartId" }, "402": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartId" + "qualifiedName": "key" }, "403": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "key" + "qualifiedName": "value" }, "404": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "value" + "qualifiedName": "CartService.createTaxLines" }, "405": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138645,11 +138431,11 @@ }, "406": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.createTaxLines" + "qualifiedName": "cartOrId" }, "407": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cartOrId" + "qualifiedName": "CartService.deleteTaxLines" }, "408": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138657,11 +138443,11 @@ }, "409": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.deleteTaxLines" + "qualifiedName": "id" }, "410": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "id" + "qualifiedName": "CartService.decorateTotals" }, "411": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138669,15 +138455,15 @@ }, "412": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.decorateTotals" + "qualifiedName": "cart" }, "413": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cart" + "qualifiedName": "totalsConfig" }, "414": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "totalsConfig" + "qualifiedName": "CartService.refreshAdjustments_" }, "415": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138685,11 +138471,11 @@ }, "416": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.refreshAdjustments_" + "qualifiedName": "cart" }, "417": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cart" + "qualifiedName": "CartService.transformQueryForTotals_" }, "418": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138697,19 +138483,19 @@ }, "419": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.transformQueryForTotals_" + "qualifiedName": "config" }, "420": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "config" + "qualifiedName": "__type" }, "421": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.totalsToSelect" }, "422": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "__type.totalsToSelect" + "qualifiedName": "CartService.decorateTotals_" }, "423": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138717,19 +138503,19 @@ }, "424": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.decorateTotals_" + "qualifiedName": "cart" }, "425": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "cart" + "qualifiedName": "totalsToSelect" }, "426": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "totalsToSelect" + "qualifiedName": "options" }, "427": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "options" + "qualifiedName": "CartService.getTotalsRelations" }, "428": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", @@ -138737,19 +138523,19 @@ }, "429": { "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "CartService.getTotalsRelations" + "qualifiedName": "config" }, "430": { - "sourceFileName": "../../../packages/medusa/src/services/cart.ts", - "qualifiedName": "config" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "431": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "432": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "433": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -138757,19 +138543,19 @@ }, "434": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "435": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "436": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "437": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "438": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -138777,11 +138563,11 @@ }, "439": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "440": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "441": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -138789,19 +138575,19 @@ }, "442": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "443": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "444": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "445": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "446": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -138809,19 +138595,19 @@ }, "447": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "448": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "449": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "450": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "451": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -138829,15 +138615,15 @@ }, "452": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "453": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "454": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "455": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -138845,179 +138631,179 @@ }, "456": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "457": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "458": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "459": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, "460": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" - }, - "461": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "462": { + "461": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default" }, - "463": { + "462": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default.Events" }, - "464": { + "463": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "__object" }, - "465": { + "464": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "__object.CREATED" }, - "466": { + "465": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "__object.UPDATED" }, - "467": { + "466": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "__object.CANCELED" }, - "468": { + "467": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "__object.FULFILLMENT_CREATED" }, - "469": { + "468": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "__object.SHIPMENT_CREATED" }, - "470": { + "469": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "__object.REFUND_PROCESSED" }, - "471": { + "470": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default.__constructor" }, - "472": { + "471": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default" }, - "473": { + "472": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "__0" }, - "474": { + "473": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default.addressRepository_" }, - "475": { + "474": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default.claimRepository_" }, - "476": { + "475": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default.shippingMethodRepository_" }, - "477": { + "476": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default.lineItemRepository_" }, - "478": { + "477": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item.ts", "qualifiedName": "__object" }, - "479": { + "478": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item.ts", "qualifiedName": "__object.findByReturn" }, - "480": { + "479": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item.ts", "qualifiedName": "__object.findByReturn" }, - "481": { + "480": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item.ts", "qualifiedName": "returnId" }, - "482": { + "481": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item.ts", "qualifiedName": "__type" }, - "483": { + "482": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item.ts", "qualifiedName": "__type.return_item" }, - "484": { + "483": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default.claimItemService_" }, - "485": { + "484": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default.eventBus_" }, - "486": { + "485": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default.fulfillmentProviderService_" }, - "487": { + "486": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default.fulfillmentService_" }, - "488": { + "487": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default.lineItemService_" }, - "489": { + "488": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default.paymentProviderService_" }, - "490": { + "489": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default.regionService_" }, - "491": { + "490": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default.returnService_" }, - "492": { + "491": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default.shippingOptionService_" }, - "493": { + "492": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default.taxProviderService_" }, - "494": { + "493": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default.totalsService_" }, - "495": { + "494": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default.productVariantInventoryService_" }, + "495": { + "sourceFileName": "../../../packages/medusa/src/services/claim.ts", + "qualifiedName": "default.update" + }, "496": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", "qualifiedName": "default.update" }, "497": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "default.update" + "qualifiedName": "id" }, "498": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "id" + "qualifiedName": "data" }, "499": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "data" + "qualifiedName": "default.validateCreateClaimInput" }, "500": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", @@ -139025,11 +138811,11 @@ }, "501": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "default.validateCreateClaimInput" + "qualifiedName": "data" }, "502": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "data" + "qualifiedName": "default.getRefundTotalForClaimLinesOnOrder" }, "503": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", @@ -139037,15 +138823,15 @@ }, "504": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "default.getRefundTotalForClaimLinesOnOrder" + "qualifiedName": "order" }, "505": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "order" + "qualifiedName": "claimItems" }, "506": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "claimItems" + "qualifiedName": "default.create" }, "507": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", @@ -139053,11 +138839,11 @@ }, "508": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "default.create" + "qualifiedName": "data" }, "509": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "data" + "qualifiedName": "default.createFulfillment" }, "510": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", @@ -139065,31 +138851,31 @@ }, "511": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "default.createFulfillment" + "qualifiedName": "id" }, "512": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "id" + "qualifiedName": "config" }, "513": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "config" + "qualifiedName": "__type" }, "514": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.metadata" }, "515": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "__type.metadata" + "qualifiedName": "__type.no_notification" }, "516": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "__type.no_notification" + "qualifiedName": "__type.location_id" }, "517": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "__type.location_id" + "qualifiedName": "default.cancelFulfillment" }, "518": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", @@ -139097,11 +138883,11 @@ }, "519": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "default.cancelFulfillment" + "qualifiedName": "fulfillmentId" }, "520": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "fulfillmentId" + "qualifiedName": "default.processRefund" }, "521": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", @@ -139109,11 +138895,11 @@ }, "522": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "default.processRefund" + "qualifiedName": "id" }, "523": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "id" + "qualifiedName": "default.createShipment" }, "524": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", @@ -139121,47 +138907,47 @@ }, "525": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "default.createShipment" + "qualifiedName": "id" }, "526": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "id" + "qualifiedName": "fulfillmentId" }, "527": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "fulfillmentId" + "qualifiedName": "trackingLinks" }, "528": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "trackingLinks" + "qualifiedName": "__type" }, "529": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.tracking_number" }, "530": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "__type.tracking_number" + "qualifiedName": "config" }, "531": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "config" + "qualifiedName": "__object" }, "532": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "__object" + "qualifiedName": "__object.metadata" }, "533": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "__object.metadata" + "qualifiedName": "__object" }, "534": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "__object" + "qualifiedName": "__object.no_notification" }, "535": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "__object.no_notification" + "qualifiedName": "default.cancel" }, "536": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", @@ -139169,11 +138955,11 @@ }, "537": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "default.cancel" + "qualifiedName": "id" }, "538": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "id" + "qualifiedName": "default.list" }, "539": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", @@ -139181,15 +138967,15 @@ }, "540": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "default.list" + "qualifiedName": "selector" }, "541": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "542": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "config" + "qualifiedName": "default.retrieve" }, "543": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", @@ -139197,23 +138983,23 @@ }, "544": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "default.retrieve" + "qualifiedName": "claimId" }, "545": { "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "claimId" + "qualifiedName": "config" }, "546": { - "sourceFileName": "../../../packages/medusa/src/services/claim.ts", - "qualifiedName": "config" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "547": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "548": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "549": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139221,19 +139007,19 @@ }, "550": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "551": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "552": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "553": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "554": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139241,11 +139027,11 @@ }, "555": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "556": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "557": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139253,19 +139039,19 @@ }, "558": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "559": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "560": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "561": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "562": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139273,19 +139059,19 @@ }, "563": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "564": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "565": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "566": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "567": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139293,15 +139079,15 @@ }, "568": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "569": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "570": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "571": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139309,115 +139095,115 @@ }, "572": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "573": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "574": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "575": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, "576": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" - }, - "577": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "578": { + "577": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", "qualifiedName": "ClaimItemService" }, - "579": { + "578": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", "qualifiedName": "ClaimItemService.Events" }, - "580": { + "579": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", "qualifiedName": "__object" }, - "581": { + "580": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", "qualifiedName": "__object.CREATED" }, - "582": { + "581": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", "qualifiedName": "__object.UPDATED" }, - "583": { + "582": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", "qualifiedName": "__object.CANCELED" }, - "584": { + "583": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", "qualifiedName": "ClaimItemService.__constructor" }, - "585": { + "584": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", "qualifiedName": "ClaimItemService" }, - "586": { + "585": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", "qualifiedName": "__0" }, - "588": { + "587": { "sourceFileName": "", "qualifiedName": "claimItemRepository" }, - "589": { + "588": { "sourceFileName": "", "qualifiedName": "claimTagRepository" }, - "590": { + "589": { "sourceFileName": "", "qualifiedName": "claimImageRepository" }, - "591": { + "590": { "sourceFileName": "", "qualifiedName": "lineItemService" }, - "592": { + "591": { "sourceFileName": "", "qualifiedName": "eventBusService" }, - "593": { + "592": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", "qualifiedName": "ClaimItemService.lineItemService_" }, - "594": { + "593": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", "qualifiedName": "ClaimItemService.eventBus_" }, - "595": { + "594": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", "qualifiedName": "ClaimItemService.claimItemRepository_" }, - "596": { + "595": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", "qualifiedName": "ClaimItemService.claimTagRepository_" }, - "597": { + "596": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", "qualifiedName": "ClaimItemService.claimImageRepository_" }, + "597": { + "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", + "qualifiedName": "ClaimItemService.create" + }, "598": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", "qualifiedName": "ClaimItemService.create" }, "599": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", - "qualifiedName": "ClaimItemService.create" + "qualifiedName": "data" }, "600": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", - "qualifiedName": "data" + "qualifiedName": "ClaimItemService.update" }, "601": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", @@ -139425,15 +139211,15 @@ }, "602": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", - "qualifiedName": "ClaimItemService.update" + "qualifiedName": "id" }, "603": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", - "qualifiedName": "id" + "qualifiedName": "data" }, "604": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", - "qualifiedName": "data" + "qualifiedName": "ClaimItemService.list" }, "605": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", @@ -139441,15 +139227,15 @@ }, "606": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", - "qualifiedName": "ClaimItemService.list" + "qualifiedName": "selector" }, "607": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "608": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", - "qualifiedName": "config" + "qualifiedName": "ClaimItemService.retrieve" }, "609": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", @@ -139457,23 +139243,23 @@ }, "610": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", - "qualifiedName": "ClaimItemService.retrieve" + "qualifiedName": "claimItemId" }, "611": { "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", - "qualifiedName": "claimItemId" + "qualifiedName": "config" }, "612": { - "sourceFileName": "../../../packages/medusa/src/services/claim-item.ts", - "qualifiedName": "config" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "613": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "614": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "615": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139481,19 +139267,19 @@ }, "616": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "617": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "618": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "619": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "620": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139501,11 +139287,11 @@ }, "621": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "622": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "623": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139513,19 +139299,19 @@ }, "624": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "625": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "626": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "627": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "628": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139533,19 +139319,19 @@ }, "629": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "630": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "631": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "632": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "633": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139553,15 +139339,15 @@ }, "634": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "635": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "636": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "637": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139569,15 +139355,15 @@ }, "638": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "639": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "640": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "641": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139585,51 +139371,51 @@ }, "642": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "643": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "sourceFileName": "../../../packages/medusa/src/services/currency.ts", + "qualifiedName": "default" }, "644": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "default" + "qualifiedName": "default.Events" }, "645": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "default.Events" + "qualifiedName": "__object" }, "646": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "__object" + "qualifiedName": "__object.UPDATED" }, "647": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "__object.UPDATED" + "qualifiedName": "default.__constructor" }, "648": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "default.__constructor" + "qualifiedName": "default" }, "649": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "default" + "qualifiedName": "__0" }, "650": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "__0" + "qualifiedName": "default.currencyRepository_" }, "651": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "default.currencyRepository_" + "qualifiedName": "default.eventBusService_" }, "652": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "default.eventBusService_" + "qualifiedName": "default.featureFlagRouter_" }, "653": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "default.featureFlagRouter_" + "qualifiedName": "default.retrieveByCode" }, "654": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", @@ -139637,11 +139423,11 @@ }, "655": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "default.retrieveByCode" + "qualifiedName": "code" }, "656": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "code" + "qualifiedName": "default.listAndCount" }, "657": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", @@ -139649,23 +139435,23 @@ }, "658": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "default.listAndCount" + "qualifiedName": "selector" }, "659": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "selector" + "qualifiedName": "__type" }, "660": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.q" }, "661": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "__type.q" + "qualifiedName": "config" }, "662": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "config" + "qualifiedName": "default.update" }, "663": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", @@ -139673,23 +139459,23 @@ }, "664": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "default.update" + "qualifiedName": "code" }, "665": { "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "code" + "qualifiedName": "data" }, "666": { - "sourceFileName": "../../../packages/medusa/src/services/currency.ts", - "qualifiedName": "data" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "667": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "668": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "669": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139697,19 +139483,19 @@ }, "670": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "671": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "672": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "673": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "674": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139717,11 +139503,11 @@ }, "675": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "676": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "677": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139729,19 +139515,19 @@ }, "678": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "679": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "680": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "681": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "682": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139749,19 +139535,19 @@ }, "683": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "684": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "685": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "686": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "687": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139769,15 +139555,15 @@ }, "688": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "689": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "690": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "691": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139785,15 +139571,15 @@ }, "692": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "693": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "694": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "695": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139801,31 +139587,31 @@ }, "696": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "697": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "sourceFileName": "../../../packages/medusa/src/services/custom-shipping-option.ts", + "qualifiedName": "CustomShippingOptionService" }, "698": { "sourceFileName": "../../../packages/medusa/src/services/custom-shipping-option.ts", - "qualifiedName": "CustomShippingOptionService" + "qualifiedName": "CustomShippingOptionService.__constructor" }, "699": { "sourceFileName": "../../../packages/medusa/src/services/custom-shipping-option.ts", - "qualifiedName": "CustomShippingOptionService.__constructor" + "qualifiedName": "CustomShippingOptionService" }, "700": { "sourceFileName": "../../../packages/medusa/src/services/custom-shipping-option.ts", - "qualifiedName": "CustomShippingOptionService" + "qualifiedName": "__0" }, "701": { "sourceFileName": "../../../packages/medusa/src/services/custom-shipping-option.ts", - "qualifiedName": "__0" + "qualifiedName": "CustomShippingOptionService.customShippingOptionRepository_" }, "702": { "sourceFileName": "../../../packages/medusa/src/services/custom-shipping-option.ts", - "qualifiedName": "CustomShippingOptionService.customShippingOptionRepository_" + "qualifiedName": "CustomShippingOptionService.retrieve" }, "703": { "sourceFileName": "../../../packages/medusa/src/services/custom-shipping-option.ts", @@ -139833,15 +139619,15 @@ }, "704": { "sourceFileName": "../../../packages/medusa/src/services/custom-shipping-option.ts", - "qualifiedName": "CustomShippingOptionService.retrieve" + "qualifiedName": "id" }, "705": { "sourceFileName": "../../../packages/medusa/src/services/custom-shipping-option.ts", - "qualifiedName": "id" + "qualifiedName": "config" }, "706": { "sourceFileName": "../../../packages/medusa/src/services/custom-shipping-option.ts", - "qualifiedName": "config" + "qualifiedName": "CustomShippingOptionService.list" }, "707": { "sourceFileName": "../../../packages/medusa/src/services/custom-shipping-option.ts", @@ -139849,15 +139635,15 @@ }, "708": { "sourceFileName": "../../../packages/medusa/src/services/custom-shipping-option.ts", - "qualifiedName": "CustomShippingOptionService.list" + "qualifiedName": "selector" }, "709": { "sourceFileName": "../../../packages/medusa/src/services/custom-shipping-option.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "710": { "sourceFileName": "../../../packages/medusa/src/services/custom-shipping-option.ts", - "qualifiedName": "config" + "qualifiedName": "CustomShippingOptionService.create" }, "711": { "sourceFileName": "../../../packages/medusa/src/services/custom-shipping-option.ts", @@ -139865,27 +139651,27 @@ }, "712": { "sourceFileName": "../../../packages/medusa/src/services/custom-shipping-option.ts", - "qualifiedName": "CustomShippingOptionService.create" + "qualifiedName": "T" }, "713": { "sourceFileName": "../../../packages/medusa/src/services/custom-shipping-option.ts", - "qualifiedName": "T" + "qualifiedName": "TResult" }, "714": { "sourceFileName": "../../../packages/medusa/src/services/custom-shipping-option.ts", - "qualifiedName": "TResult" + "qualifiedName": "data" }, "715": { - "sourceFileName": "../../../packages/medusa/src/services/custom-shipping-option.ts", - "qualifiedName": "data" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "716": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "717": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "718": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139893,19 +139679,19 @@ }, "719": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "720": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "721": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "722": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "723": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139913,11 +139699,11 @@ }, "724": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "725": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "726": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139925,19 +139711,19 @@ }, "727": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "728": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "729": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "730": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "731": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139945,19 +139731,19 @@ }, "732": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "733": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "734": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "735": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "736": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139965,15 +139751,15 @@ }, "737": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "738": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "739": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "740": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -139981,123 +139767,123 @@ }, "741": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "742": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "743": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "744": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, "745": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" - }, - "746": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "747": { + "746": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", "qualifiedName": "CustomerService" }, - "748": { + "747": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", "qualifiedName": "CustomerService.Events" }, - "749": { + "748": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", "qualifiedName": "__object" }, - "750": { + "749": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", "qualifiedName": "__object.PASSWORD_RESET" }, - "751": { + "750": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", "qualifiedName": "__object.CREATED" }, - "752": { + "751": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", "qualifiedName": "__object.UPDATED" }, - "753": { + "752": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", "qualifiedName": "CustomerService.__constructor" }, - "754": { + "753": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", "qualifiedName": "CustomerService" }, - "755": { + "754": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", "qualifiedName": "__0" }, - "756": { + "755": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", "qualifiedName": "CustomerService.customerRepository_" }, - "757": { + "756": { "sourceFileName": "../../../packages/medusa/src/repositories/customer.ts", "qualifiedName": "__object" }, - "758": { + "757": { "sourceFileName": "../../../packages/medusa/src/repositories/customer.ts", "qualifiedName": "__object.listAndCount" }, - "759": { + "758": { "sourceFileName": "../../../packages/medusa/src/repositories/customer.ts", "qualifiedName": "__object.listAndCount" }, - "760": { + "759": { "sourceFileName": "../../../packages/medusa/src/repositories/customer.ts", "qualifiedName": "query" }, - "761": { + "760": { "sourceFileName": "../../../packages/medusa/src/repositories/customer.ts", "qualifiedName": "__type" }, - "762": { + "761": { "sourceFileName": "../../../packages/medusa/src/repositories/customer.ts", "qualifiedName": "__type.where" }, - "763": { + "762": { "sourceFileName": "../../../packages/medusa/src/repositories/customer.ts", "qualifiedName": "__type" }, - "764": { + "763": { "sourceFileName": "../../../packages/medusa/src/repositories/customer.ts", "qualifiedName": "__type.groups" }, - "765": { + "764": { "sourceFileName": "../../../packages/medusa/src/repositories/customer.ts", "qualifiedName": "q" }, - "766": { + "765": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", "qualifiedName": "CustomerService.addressRepository_" }, - "767": { + "766": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", "qualifiedName": "CustomerService.eventBusService_" }, + "767": { + "sourceFileName": "../../../packages/medusa/src/services/customer.ts", + "qualifiedName": "CustomerService.generateResetPasswordToken" + }, "768": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", "qualifiedName": "CustomerService.generateResetPasswordToken" }, "769": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "CustomerService.generateResetPasswordToken" + "qualifiedName": "customerId" }, "770": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "customerId" + "qualifiedName": "CustomerService.list" }, "771": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", @@ -140105,27 +139891,27 @@ }, "772": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "CustomerService.list" + "qualifiedName": "selector" }, "773": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "selector" + "qualifiedName": "__type" }, "774": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.q" }, "775": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "__type.q" + "qualifiedName": "__type.groups" }, "776": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "__type.groups" + "qualifiedName": "config" }, "777": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "config" + "qualifiedName": "CustomerService.listAndCount" }, "778": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", @@ -140133,27 +139919,27 @@ }, "779": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "CustomerService.listAndCount" + "qualifiedName": "selector" }, "780": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "selector" + "qualifiedName": "__type" }, "781": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.q" }, "782": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "__type.q" + "qualifiedName": "__type.groups" }, "783": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "__type.groups" + "qualifiedName": "config" }, "784": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "config" + "qualifiedName": "CustomerService.count" }, "785": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", @@ -140161,7 +139947,7 @@ }, "786": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "CustomerService.count" + "qualifiedName": "CustomerService.retrieve_" }, "787": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", @@ -140169,15 +139955,15 @@ }, "788": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "CustomerService.retrieve_" + "qualifiedName": "selector" }, "789": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "790": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "config" + "qualifiedName": "CustomerService.retrieveByEmail" }, "791": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", @@ -140185,15 +139971,15 @@ }, "792": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "CustomerService.retrieveByEmail" + "qualifiedName": "email" }, "793": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "email" + "qualifiedName": "config" }, "794": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "config" + "qualifiedName": "CustomerService.retrieveUnregisteredByEmail" }, "795": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", @@ -140201,15 +139987,15 @@ }, "796": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "CustomerService.retrieveUnregisteredByEmail" + "qualifiedName": "email" }, "797": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "email" + "qualifiedName": "config" }, "798": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "config" + "qualifiedName": "CustomerService.retrieveRegisteredByEmail" }, "799": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", @@ -140217,15 +140003,15 @@ }, "800": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "CustomerService.retrieveRegisteredByEmail" + "qualifiedName": "email" }, "801": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "email" + "qualifiedName": "config" }, "802": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "config" + "qualifiedName": "CustomerService.listByEmail" }, "803": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", @@ -140233,15 +140019,15 @@ }, "804": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "CustomerService.listByEmail" + "qualifiedName": "email" }, "805": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "email" + "qualifiedName": "config" }, "806": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "config" + "qualifiedName": "CustomerService.retrieveByPhone" }, "807": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", @@ -140249,15 +140035,15 @@ }, "808": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "CustomerService.retrieveByPhone" + "qualifiedName": "phone" }, "809": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "phone" + "qualifiedName": "config" }, "810": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "config" + "qualifiedName": "CustomerService.retrieve" }, "811": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", @@ -140265,15 +140051,15 @@ }, "812": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "CustomerService.retrieve" + "qualifiedName": "customerId" }, "813": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "customerId" + "qualifiedName": "config" }, "814": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "config" + "qualifiedName": "CustomerService.hashPassword_" }, "815": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", @@ -140281,11 +140067,11 @@ }, "816": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "CustomerService.hashPassword_" + "qualifiedName": "password" }, "817": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "password" + "qualifiedName": "CustomerService.create" }, "818": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", @@ -140293,11 +140079,11 @@ }, "819": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "CustomerService.create" + "qualifiedName": "customer" }, "820": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "customer" + "qualifiedName": "CustomerService.update" }, "821": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", @@ -140305,15 +140091,15 @@ }, "822": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "CustomerService.update" + "qualifiedName": "customerId" }, "823": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "customerId" + "qualifiedName": "update" }, "824": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "update" + "qualifiedName": "CustomerService.updateBillingAddress_" }, "825": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", @@ -140321,15 +140107,15 @@ }, "826": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "CustomerService.updateBillingAddress_" + "qualifiedName": "customer" }, "827": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "customer" + "qualifiedName": "addressOrId" }, "828": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "addressOrId" + "qualifiedName": "CustomerService.updateAddress" }, "829": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", @@ -140337,19 +140123,19 @@ }, "830": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "CustomerService.updateAddress" + "qualifiedName": "customerId" }, "831": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "customerId" + "qualifiedName": "addressId" }, "832": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "addressId" + "qualifiedName": "address" }, "833": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "address" + "qualifiedName": "CustomerService.removeAddress" }, "834": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", @@ -140357,15 +140143,15 @@ }, "835": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "CustomerService.removeAddress" + "qualifiedName": "customerId" }, "836": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "customerId" + "qualifiedName": "addressId" }, "837": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "addressId" + "qualifiedName": "CustomerService.addAddress" }, "838": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", @@ -140373,15 +140159,15 @@ }, "839": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "CustomerService.addAddress" + "qualifiedName": "customerId" }, "840": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "customerId" + "qualifiedName": "address" }, "841": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "address" + "qualifiedName": "CustomerService.delete" }, "842": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", @@ -140389,19 +140175,19 @@ }, "843": { "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "CustomerService.delete" + "qualifiedName": "customerId" }, "844": { - "sourceFileName": "../../../packages/medusa/src/services/customer.ts", - "qualifiedName": "customerId" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "845": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "846": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "847": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -140409,19 +140195,19 @@ }, "848": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "849": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "850": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "851": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "852": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -140429,11 +140215,11 @@ }, "853": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "854": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "855": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -140441,19 +140227,19 @@ }, "856": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "857": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "858": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "859": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "860": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -140461,19 +140247,19 @@ }, "861": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "862": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "863": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "864": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "865": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -140481,15 +140267,15 @@ }, "866": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "867": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "868": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "869": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -140497,67 +140283,67 @@ }, "870": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "871": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "872": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "873": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, "874": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" - }, - "875": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "876": { + "875": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", "qualifiedName": "CustomerGroupService" }, - "877": { + "876": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", "qualifiedName": "CustomerGroupService.__constructor" }, - "878": { + "877": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", "qualifiedName": "CustomerGroupService" }, - "879": { + "878": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", "qualifiedName": "__0" }, - "880": { + "879": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", "qualifiedName": "CustomerGroupService.customerGroupRepository_" }, - "881": { + "880": { "sourceFileName": "../../../packages/medusa/src/repositories/customer-group.ts", "qualifiedName": "__object" }, + "881": { + "sourceFileName": "../../../packages/medusa/src/repositories/customer-group.ts", + "qualifiedName": "__object.addCustomers" + }, "882": { "sourceFileName": "../../../packages/medusa/src/repositories/customer-group.ts", "qualifiedName": "__object.addCustomers" }, "883": { "sourceFileName": "../../../packages/medusa/src/repositories/customer-group.ts", - "qualifiedName": "__object.addCustomers" + "qualifiedName": "groupId" }, "884": { "sourceFileName": "../../../packages/medusa/src/repositories/customer-group.ts", - "qualifiedName": "groupId" + "qualifiedName": "customerIds" }, "885": { "sourceFileName": "../../../packages/medusa/src/repositories/customer-group.ts", - "qualifiedName": "customerIds" + "qualifiedName": "__object.removeCustomers" }, "886": { "sourceFileName": "../../../packages/medusa/src/repositories/customer-group.ts", @@ -140565,15 +140351,15 @@ }, "887": { "sourceFileName": "../../../packages/medusa/src/repositories/customer-group.ts", - "qualifiedName": "__object.removeCustomers" + "qualifiedName": "groupId" }, "888": { "sourceFileName": "../../../packages/medusa/src/repositories/customer-group.ts", - "qualifiedName": "groupId" + "qualifiedName": "customerIds" }, "889": { "sourceFileName": "../../../packages/medusa/src/repositories/customer-group.ts", - "qualifiedName": "customerIds" + "qualifiedName": "__object.findWithRelationsAndCount" }, "890": { "sourceFileName": "../../../packages/medusa/src/repositories/customer-group.ts", @@ -140581,19 +140367,19 @@ }, "891": { "sourceFileName": "../../../packages/medusa/src/repositories/customer-group.ts", - "qualifiedName": "__object.findWithRelationsAndCount" + "qualifiedName": "relations" }, "892": { "sourceFileName": "../../../packages/medusa/src/repositories/customer-group.ts", - "qualifiedName": "relations" + "qualifiedName": "idsOrOptionsWithoutRelations" }, "893": { - "sourceFileName": "../../../packages/medusa/src/repositories/customer-group.ts", - "qualifiedName": "idsOrOptionsWithoutRelations" + "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", + "qualifiedName": "CustomerGroupService.customerService_" }, "894": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "CustomerGroupService.customerService_" + "qualifiedName": "CustomerGroupService.retrieve" }, "895": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", @@ -140601,19 +140387,19 @@ }, "896": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "CustomerGroupService.retrieve" + "qualifiedName": "customerGroupId" }, "897": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "customerGroupId" + "qualifiedName": "config" }, "898": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "config" + "qualifiedName": "__object" }, "899": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "__object" + "qualifiedName": "CustomerGroupService.create" }, "900": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", @@ -140621,11 +140407,11 @@ }, "901": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "CustomerGroupService.create" + "qualifiedName": "group" }, "902": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "group" + "qualifiedName": "CustomerGroupService.addCustomers" }, "903": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", @@ -140633,15 +140419,15 @@ }, "904": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "CustomerGroupService.addCustomers" + "qualifiedName": "id" }, "905": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "id" + "qualifiedName": "customerIds" }, "906": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "customerIds" + "qualifiedName": "CustomerGroupService.update" }, "907": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", @@ -140649,15 +140435,15 @@ }, "908": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "CustomerGroupService.update" + "qualifiedName": "customerGroupId" }, "909": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "customerGroupId" + "qualifiedName": "update" }, "910": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "update" + "qualifiedName": "CustomerGroupService.delete" }, "911": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", @@ -140665,11 +140451,11 @@ }, "912": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "CustomerGroupService.delete" + "qualifiedName": "groupId" }, "913": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "groupId" + "qualifiedName": "CustomerGroupService.list" }, "914": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", @@ -140677,27 +140463,27 @@ }, "915": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "CustomerGroupService.list" + "qualifiedName": "selector" }, "916": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "selector" + "qualifiedName": "__type" }, "917": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.q" }, "918": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "__type.q" + "qualifiedName": "__type.discount_condition_id" }, "919": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "__type.discount_condition_id" + "qualifiedName": "config" }, "920": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "config" + "qualifiedName": "CustomerGroupService.listAndCount" }, "921": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", @@ -140705,27 +140491,27 @@ }, "922": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "CustomerGroupService.listAndCount" + "qualifiedName": "selector" }, "923": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "selector" + "qualifiedName": "__type" }, "924": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.q" }, "925": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "__type.q" + "qualifiedName": "__type.discount_condition_id" }, "926": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "__type.discount_condition_id" + "qualifiedName": "config" }, "927": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "config" + "qualifiedName": "CustomerGroupService.removeCustomer" }, "928": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", @@ -140733,15 +140519,15 @@ }, "929": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "CustomerGroupService.removeCustomer" + "qualifiedName": "id" }, "930": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "id" + "qualifiedName": "customerIds" }, "931": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "customerIds" + "qualifiedName": "CustomerGroupService.handleCreationFail" }, "932": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", @@ -140749,27 +140535,27 @@ }, "933": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "CustomerGroupService.handleCreationFail" + "qualifiedName": "id" }, "934": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "id" + "qualifiedName": "ids" }, "935": { "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "ids" + "qualifiedName": "error" }, "936": { - "sourceFileName": "../../../packages/medusa/src/services/customer-group.ts", - "qualifiedName": "error" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "937": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "938": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "939": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -140777,19 +140563,19 @@ }, "940": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "941": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "942": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "943": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "944": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -140797,11 +140583,11 @@ }, "945": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "946": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "947": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -140809,19 +140595,19 @@ }, "948": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "949": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "950": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "951": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "952": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -140829,19 +140615,19 @@ }, "953": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "954": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "955": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "956": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "957": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -140849,15 +140635,15 @@ }, "958": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "959": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "960": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "961": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -140865,171 +140651,171 @@ }, "962": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "963": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "964": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "965": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, "966": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" - }, - "967": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "968": { + "967": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", "qualifiedName": "DiscountService" }, - "969": { + "968": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", "qualifiedName": "DiscountService.Events" }, - "970": { + "969": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", "qualifiedName": "__object" }, - "971": { + "970": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", "qualifiedName": "__object.CREATED" }, - "972": { + "971": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", "qualifiedName": "DiscountService.__constructor" }, - "973": { + "972": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", "qualifiedName": "DiscountService" }, - "974": { + "973": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", "qualifiedName": "__0" }, - "976": { + "975": { "sourceFileName": "", "qualifiedName": "discountRepository" }, - "977": { + "976": { "sourceFileName": "", "qualifiedName": "discountRuleRepository" }, - "978": { + "977": { "sourceFileName": "", "qualifiedName": "giftCardRepository" }, - "979": { + "978": { "sourceFileName": "", "qualifiedName": "discountConditionRepository" }, - "980": { + "979": { "sourceFileName": "", "qualifiedName": "discountConditionService" }, - "981": { + "980": { "sourceFileName": "", "qualifiedName": "totalsService" }, - "982": { + "981": { "sourceFileName": "", "qualifiedName": "newTotalsService" }, - "983": { + "982": { "sourceFileName": "", "qualifiedName": "productService" }, - "984": { + "983": { "sourceFileName": "", "qualifiedName": "regionService" }, - "985": { + "984": { "sourceFileName": "", "qualifiedName": "customerService" }, - "986": { + "985": { "sourceFileName": "", "qualifiedName": "eventBusService" }, - "987": { + "986": { "sourceFileName": "", "qualifiedName": "featureFlagRouter" }, - "988": { + "987": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", "qualifiedName": "DiscountService.discountRepository_" }, - "989": { + "988": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", "qualifiedName": "DiscountService.customerService_" }, - "990": { + "989": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", "qualifiedName": "DiscountService.discountRuleRepository_" }, - "991": { + "990": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", "qualifiedName": "DiscountService.giftCardRepository_" }, - "992": { + "991": { "sourceFileName": "../../../packages/medusa/src/repositories/gift-card.ts", "qualifiedName": "__object" }, - "993": { + "992": { "sourceFileName": "../../../packages/medusa/src/repositories/gift-card.ts", "qualifiedName": "__object.listGiftCardsAndCount" }, - "994": { + "993": { "sourceFileName": "../../../packages/medusa/src/repositories/gift-card.ts", "qualifiedName": "__object.listGiftCardsAndCount" }, - "995": { + "994": { "sourceFileName": "../../../packages/medusa/src/repositories/gift-card.ts", "qualifiedName": "query" }, - "996": { + "995": { "sourceFileName": "../../../packages/medusa/src/repositories/gift-card.ts", "qualifiedName": "q" }, - "997": { + "996": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", "qualifiedName": "DiscountService.discountConditionRepository_" }, - "998": { + "997": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", "qualifiedName": "__object" }, + "998": { + "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", + "qualifiedName": "__object.findOneWithDiscount" + }, "999": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", "qualifiedName": "__object.findOneWithDiscount" }, "1000": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__object.findOneWithDiscount" + "qualifiedName": "conditionId" }, "1001": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "conditionId" + "qualifiedName": "discountId" }, "1002": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "discountId" + "qualifiedName": "__type" }, "1003": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.discount" }, "1004": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type.discount" + "qualifiedName": "__object.getJoinTableResourceIdentifiers" }, "1005": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", @@ -141037,39 +140823,39 @@ }, "1006": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__object.getJoinTableResourceIdentifiers" + "qualifiedName": "type" }, "1007": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "type" + "qualifiedName": "__type" }, "1008": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.joinTable" }, "1009": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type.joinTable" + "qualifiedName": "__type.resourceKey" }, "1010": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type.resourceKey" + "qualifiedName": "__type.joinTableForeignKey" }, "1011": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type.joinTableForeignKey" + "qualifiedName": "__type.conditionTable" }, "1012": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type.conditionTable" + "qualifiedName": "__type.joinTableKey" }, "1013": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type.joinTableKey" + "qualifiedName": "__type.relatedTable" }, "1014": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type.relatedTable" + "qualifiedName": "__object.removeConditionResources" }, "1015": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", @@ -141077,27 +140863,27 @@ }, "1016": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__object.removeConditionResources" + "qualifiedName": "id" }, "1017": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "id" + "qualifiedName": "type" }, "1018": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "type" + "qualifiedName": "resourceIds" }, "1019": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "resourceIds" + "qualifiedName": "__type" }, "1020": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.id" }, "1021": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type.id" + "qualifiedName": "__object.addConditionResources" }, "1022": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", @@ -141105,71 +140891,71 @@ }, "1023": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__object.addConditionResources" + "qualifiedName": "conditionId" }, "1024": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "conditionId" + "qualifiedName": "resourceIds" }, "1025": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "resourceIds" + "qualifiedName": "__type" }, "1026": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.id" }, "1027": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type.id" + "qualifiedName": "type" }, "1028": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "type" + "qualifiedName": "overrideExisting" }, "1029": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "overrideExisting" + "qualifiedName": "__object.queryConditionTable" }, "1030": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", "qualifiedName": "__object.queryConditionTable" }, "1031": { - "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__object.queryConditionTable" - }, - "1032": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", "qualifiedName": "__0" }, - "1034": { + "1033": { "sourceFileName": "", "qualifiedName": "type" }, - "1035": { + "1034": { "sourceFileName": "", "qualifiedName": "conditionId" }, - "1036": { + "1035": { "sourceFileName": "", "qualifiedName": "resourceId" }, + "1036": { + "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", + "qualifiedName": "__object.isValidForProduct" + }, "1037": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", "qualifiedName": "__object.isValidForProduct" }, "1038": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__object.isValidForProduct" + "qualifiedName": "discountRuleId" }, "1039": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "discountRuleId" + "qualifiedName": "productId" }, "1040": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "productId" + "qualifiedName": "__object.canApplyForCustomer" }, "1041": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", @@ -141177,43 +140963,43 @@ }, "1042": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__object.canApplyForCustomer" + "qualifiedName": "discountRuleId" }, "1043": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "discountRuleId" + "qualifiedName": "customerId" }, "1044": { - "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "customerId" + "sourceFileName": "../../../packages/medusa/src/services/discount.ts", + "qualifiedName": "DiscountService.discountConditionService_" }, "1045": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.discountConditionService_" + "qualifiedName": "DiscountService.totalsService_" }, "1046": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.totalsService_" + "qualifiedName": "DiscountService.newTotalsService_" }, "1047": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.newTotalsService_" + "qualifiedName": "DiscountService.productService_" }, "1048": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.productService_" + "qualifiedName": "DiscountService.regionService_" }, "1049": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.regionService_" + "qualifiedName": "DiscountService.eventBus_" }, "1050": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.eventBus_" + "qualifiedName": "DiscountService.featureFlagRouter_" }, "1051": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.featureFlagRouter_" + "qualifiedName": "DiscountService.validateDiscountRule_" }, "1052": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141221,27 +141007,27 @@ }, "1053": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.validateDiscountRule_" + "qualifiedName": "T" }, "1054": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "T" + "qualifiedName": "__type" }, "1055": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.type" }, "1056": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "__type.type" + "qualifiedName": "__type.value" }, "1057": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "__type.value" + "qualifiedName": "discountRule" }, "1058": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discountRule" + "qualifiedName": "DiscountService.list" }, "1059": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141249,15 +141035,15 @@ }, "1060": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.list" + "qualifiedName": "selector" }, "1061": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "1062": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "config" + "qualifiedName": "DiscountService.listAndCount" }, "1063": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141265,15 +141051,15 @@ }, "1064": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.listAndCount" + "qualifiedName": "selector" }, "1065": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "1066": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "config" + "qualifiedName": "DiscountService.create" }, "1067": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141281,11 +141067,11 @@ }, "1068": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.create" + "qualifiedName": "discount" }, "1069": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discount" + "qualifiedName": "DiscountService.retrieve" }, "1070": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141293,15 +141079,15 @@ }, "1071": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.retrieve" + "qualifiedName": "discountId" }, "1072": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discountId" + "qualifiedName": "config" }, "1073": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "config" + "qualifiedName": "DiscountService.retrieveByCode" }, "1074": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141309,15 +141095,15 @@ }, "1075": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.retrieveByCode" + "qualifiedName": "discountCode" }, "1076": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discountCode" + "qualifiedName": "config" }, "1077": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "config" + "qualifiedName": "DiscountService.listByCodes" }, "1078": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141325,15 +141111,15 @@ }, "1079": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.listByCodes" + "qualifiedName": "discountCodes" }, "1080": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discountCodes" + "qualifiedName": "config" }, "1081": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "config" + "qualifiedName": "DiscountService.update" }, "1082": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141341,15 +141127,15 @@ }, "1083": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.update" + "qualifiedName": "discountId" }, "1084": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discountId" + "qualifiedName": "update" }, "1085": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "update" + "qualifiedName": "DiscountService.createDynamicCode" }, "1086": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141357,15 +141143,15 @@ }, "1087": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.createDynamicCode" + "qualifiedName": "discountId" }, "1088": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discountId" + "qualifiedName": "data" }, "1089": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "data" + "qualifiedName": "DiscountService.deleteDynamicCode" }, "1090": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141373,15 +141159,15 @@ }, "1091": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.deleteDynamicCode" + "qualifiedName": "discountId" }, "1092": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discountId" + "qualifiedName": "code" }, "1093": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "code" + "qualifiedName": "DiscountService.addRegion" }, "1094": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141389,15 +141175,15 @@ }, "1095": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.addRegion" + "qualifiedName": "discountId" }, "1096": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discountId" + "qualifiedName": "regionId" }, "1097": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "regionId" + "qualifiedName": "DiscountService.removeRegion" }, "1098": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141405,15 +141191,15 @@ }, "1099": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.removeRegion" + "qualifiedName": "discountId" }, "1100": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discountId" + "qualifiedName": "regionId" }, "1101": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "regionId" + "qualifiedName": "DiscountService.delete" }, "1102": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141421,11 +141207,11 @@ }, "1103": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.delete" + "qualifiedName": "discountId" }, "1104": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discountId" + "qualifiedName": "DiscountService.validateDiscountForProduct" }, "1105": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141433,15 +141219,15 @@ }, "1106": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.validateDiscountForProduct" + "qualifiedName": "discountRuleId" }, "1107": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discountRuleId" + "qualifiedName": "productId" }, "1108": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "productId" + "qualifiedName": "DiscountService.calculateDiscountForLineItem" }, "1109": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141449,19 +141235,19 @@ }, "1110": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.calculateDiscountForLineItem" + "qualifiedName": "discountId" }, "1111": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discountId" + "qualifiedName": "lineItem" }, "1112": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "lineItem" + "qualifiedName": "calculationContextData" }, "1113": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "calculationContextData" + "qualifiedName": "DiscountService.validateDiscountForCartOrThrow" }, "1114": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141469,15 +141255,15 @@ }, "1115": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.validateDiscountForCartOrThrow" + "qualifiedName": "cart" }, "1116": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "cart" + "qualifiedName": "discount" }, "1117": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discount" + "qualifiedName": "DiscountService.hasCustomersGroupCondition" }, "1118": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141485,11 +141271,11 @@ }, "1119": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.hasCustomersGroupCondition" + "qualifiedName": "discount" }, "1120": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discount" + "qualifiedName": "DiscountService.hasReachedLimit" }, "1121": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141497,11 +141283,11 @@ }, "1122": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.hasReachedLimit" + "qualifiedName": "discount" }, "1123": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discount" + "qualifiedName": "DiscountService.hasNotStarted" }, "1124": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141509,11 +141295,11 @@ }, "1125": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.hasNotStarted" + "qualifiedName": "discount" }, "1126": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discount" + "qualifiedName": "DiscountService.hasExpired" }, "1127": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141521,11 +141307,11 @@ }, "1128": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.hasExpired" + "qualifiedName": "discount" }, "1129": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discount" + "qualifiedName": "DiscountService.isDisabled" }, "1130": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141533,11 +141319,11 @@ }, "1131": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.isDisabled" + "qualifiedName": "discount" }, "1132": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discount" + "qualifiedName": "DiscountService.isValidForRegion" }, "1133": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141545,15 +141331,15 @@ }, "1134": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.isValidForRegion" + "qualifiedName": "discount" }, "1135": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discount" + "qualifiedName": "region_id" }, "1136": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "region_id" + "qualifiedName": "DiscountService.canApplyForCustomer" }, "1137": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", @@ -141561,23 +141347,23 @@ }, "1138": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "DiscountService.canApplyForCustomer" + "qualifiedName": "discountRuleId" }, "1139": { "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "discountRuleId" + "qualifiedName": "customerId" }, "1140": { - "sourceFileName": "../../../packages/medusa/src/services/discount.ts", - "qualifiedName": "customerId" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "1141": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "1142": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "1143": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -141585,19 +141371,19 @@ }, "1144": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "1145": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "1146": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "1147": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "1148": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -141605,11 +141391,11 @@ }, "1149": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "1150": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "1151": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -141617,19 +141403,19 @@ }, "1152": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "1153": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "1154": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "1155": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "1156": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -141637,19 +141423,19 @@ }, "1157": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "1158": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "1159": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "1160": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "1161": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -141657,15 +141443,15 @@ }, "1162": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "1163": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "1164": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "1165": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -141673,15 +141459,15 @@ }, "1166": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "1167": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "1168": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "1169": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -141689,15 +141475,15 @@ }, "1170": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "1171": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", + "qualifiedName": "DiscountConditionService" }, "1172": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "DiscountConditionService" + "qualifiedName": "DiscountConditionService.resolveConditionType_" }, "1173": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", @@ -141705,51 +141491,51 @@ }, "1174": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "DiscountConditionService.resolveConditionType_" + "qualifiedName": "data" }, "1175": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "data" + "qualifiedName": "__type" }, "1176": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.type" }, "1177": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "__type.type" + "qualifiedName": "__type.resource_ids" }, "1178": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "__type.resource_ids" + "qualifiedName": "__type" }, "1179": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.id" }, "1180": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "__type.id" + "qualifiedName": "DiscountConditionService.__constructor" }, "1181": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "DiscountConditionService.__constructor" + "qualifiedName": "DiscountConditionService" }, "1182": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "DiscountConditionService" + "qualifiedName": "__0" }, "1183": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "__0" + "qualifiedName": "DiscountConditionService.discountConditionRepository_" }, "1184": { - "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "DiscountConditionService.discountConditionRepository_" + "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", + "qualifiedName": "__object" }, "1185": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__object" + "qualifiedName": "__object.findOneWithDiscount" }, "1186": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", @@ -141757,23 +141543,23 @@ }, "1187": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__object.findOneWithDiscount" + "qualifiedName": "conditionId" }, "1188": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "conditionId" + "qualifiedName": "discountId" }, "1189": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "discountId" + "qualifiedName": "__type" }, "1190": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.discount" }, "1191": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type.discount" + "qualifiedName": "__object.getJoinTableResourceIdentifiers" }, "1192": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", @@ -141781,39 +141567,39 @@ }, "1193": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__object.getJoinTableResourceIdentifiers" + "qualifiedName": "type" }, "1194": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "type" + "qualifiedName": "__type" }, "1195": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.joinTable" }, "1196": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type.joinTable" + "qualifiedName": "__type.resourceKey" }, "1197": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type.resourceKey" + "qualifiedName": "__type.joinTableForeignKey" }, "1198": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type.joinTableForeignKey" + "qualifiedName": "__type.conditionTable" }, "1199": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type.conditionTable" + "qualifiedName": "__type.joinTableKey" }, "1200": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type.joinTableKey" + "qualifiedName": "__type.relatedTable" }, "1201": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type.relatedTable" + "qualifiedName": "__object.removeConditionResources" }, "1202": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", @@ -141821,27 +141607,27 @@ }, "1203": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__object.removeConditionResources" + "qualifiedName": "id" }, "1204": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "id" + "qualifiedName": "type" }, "1205": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "type" + "qualifiedName": "resourceIds" }, "1206": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "resourceIds" + "qualifiedName": "__type" }, "1207": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.id" }, "1208": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type.id" + "qualifiedName": "__object.addConditionResources" }, "1209": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", @@ -141849,71 +141635,71 @@ }, "1210": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__object.addConditionResources" + "qualifiedName": "conditionId" }, "1211": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "conditionId" + "qualifiedName": "resourceIds" }, "1212": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "resourceIds" + "qualifiedName": "__type" }, "1213": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.id" }, "1214": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__type.id" + "qualifiedName": "type" }, "1215": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "type" + "qualifiedName": "overrideExisting" }, "1216": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "overrideExisting" + "qualifiedName": "__object.queryConditionTable" }, "1217": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", "qualifiedName": "__object.queryConditionTable" }, "1218": { - "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__object.queryConditionTable" - }, - "1219": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", "qualifiedName": "__0" }, - "1221": { + "1220": { "sourceFileName": "", "qualifiedName": "type" }, - "1222": { + "1221": { "sourceFileName": "", "qualifiedName": "conditionId" }, - "1223": { + "1222": { "sourceFileName": "", "qualifiedName": "resourceId" }, + "1223": { + "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", + "qualifiedName": "__object.isValidForProduct" + }, "1224": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", "qualifiedName": "__object.isValidForProduct" }, "1225": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__object.isValidForProduct" + "qualifiedName": "discountRuleId" }, "1226": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "discountRuleId" + "qualifiedName": "productId" }, "1227": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "productId" + "qualifiedName": "__object.canApplyForCustomer" }, "1228": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", @@ -141921,19 +141707,19 @@ }, "1229": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "__object.canApplyForCustomer" + "qualifiedName": "discountRuleId" }, "1230": { "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "discountRuleId" + "qualifiedName": "customerId" }, "1231": { - "sourceFileName": "../../../packages/medusa/src/repositories/discount-condition.ts", - "qualifiedName": "customerId" + "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", + "qualifiedName": "DiscountConditionService.eventBus_" }, "1232": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "DiscountConditionService.eventBus_" + "qualifiedName": "DiscountConditionService.retrieve" }, "1233": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", @@ -141941,15 +141727,15 @@ }, "1234": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "DiscountConditionService.retrieve" + "qualifiedName": "conditionId" }, "1235": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "conditionId" + "qualifiedName": "config" }, "1236": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "config" + "qualifiedName": "DiscountConditionService.upsertCondition" }, "1237": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", @@ -141957,15 +141743,15 @@ }, "1238": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "DiscountConditionService.upsertCondition" + "qualifiedName": "data" }, "1239": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "data" + "qualifiedName": "overrideExisting" }, "1240": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "overrideExisting" + "qualifiedName": "DiscountConditionService.removeResources" }, "1241": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", @@ -141973,19 +141759,19 @@ }, "1242": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "DiscountConditionService.removeResources" + "qualifiedName": "data" }, "1243": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "data" + "qualifiedName": "__type" }, "1244": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.id" }, "1245": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "__type.id" + "qualifiedName": "DiscountConditionService.delete" }, "1246": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", @@ -141993,19 +141779,19 @@ }, "1247": { "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "DiscountConditionService.delete" + "qualifiedName": "discountConditionId" }, "1248": { - "sourceFileName": "../../../packages/medusa/src/services/discount-condition.ts", - "qualifiedName": "discountConditionId" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "1249": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "1250": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "1251": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -142013,19 +141799,19 @@ }, "1252": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "1253": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "1254": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "1255": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "1256": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -142033,11 +141819,11 @@ }, "1257": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "1258": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "1259": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -142045,19 +141831,19 @@ }, "1260": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "1261": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "1262": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "1263": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "1264": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -142065,19 +141851,19 @@ }, "1265": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "1266": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "1267": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "1268": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "1269": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -142085,15 +141871,15 @@ }, "1270": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "1271": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "1272": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "1273": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -142101,91 +141887,91 @@ }, "1274": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "1275": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "1276": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "1277": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, "1278": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" - }, - "1279": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "1280": { + "1279": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", "qualifiedName": "DraftOrderService" }, - "1281": { + "1280": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", "qualifiedName": "DraftOrderService.Events" }, - "1282": { + "1281": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", "qualifiedName": "__object" }, - "1283": { + "1282": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", "qualifiedName": "__object.CREATED" }, - "1284": { + "1283": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", "qualifiedName": "__object.UPDATED" }, - "1285": { + "1284": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", "qualifiedName": "DraftOrderService.__constructor" }, - "1286": { + "1285": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", "qualifiedName": "DraftOrderService" }, - "1287": { + "1286": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", "qualifiedName": "__0" }, - "1288": { + "1287": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", "qualifiedName": "DraftOrderService.draftOrderRepository_" }, - "1289": { + "1288": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", "qualifiedName": "DraftOrderService.paymentRepository_" }, - "1290": { + "1289": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", "qualifiedName": "DraftOrderService.orderRepository_" }, - "1291": { + "1290": { "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", "qualifiedName": "__object" }, + "1291": { + "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", + "qualifiedName": "__object.findWithRelations" + }, "1292": { "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", "qualifiedName": "__object.findWithRelations" }, "1293": { "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", - "qualifiedName": "__object.findWithRelations" + "qualifiedName": "relations" }, "1294": { "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", - "qualifiedName": "relations" + "qualifiedName": "optionsWithoutRelations" }, "1295": { "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", - "qualifiedName": "optionsWithoutRelations" + "qualifiedName": "__object.findOneWithRelations" }, "1296": { "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", @@ -142193,39 +141979,39 @@ }, "1297": { "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", - "qualifiedName": "__object.findOneWithRelations" + "qualifiedName": "relations" }, "1298": { "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", - "qualifiedName": "relations" + "qualifiedName": "optionsWithoutRelations" }, "1299": { - "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", - "qualifiedName": "optionsWithoutRelations" + "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", + "qualifiedName": "DraftOrderService.eventBus_" }, "1300": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "DraftOrderService.eventBus_" + "qualifiedName": "DraftOrderService.cartService_" }, "1301": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "DraftOrderService.cartService_" + "qualifiedName": "DraftOrderService.lineItemService_" }, "1302": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "DraftOrderService.lineItemService_" + "qualifiedName": "DraftOrderService.productVariantService_" }, "1303": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "DraftOrderService.productVariantService_" + "qualifiedName": "DraftOrderService.shippingOptionService_" }, "1304": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "DraftOrderService.shippingOptionService_" + "qualifiedName": "DraftOrderService.customShippingOptionService_" }, "1305": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "DraftOrderService.customShippingOptionService_" + "qualifiedName": "DraftOrderService.retrieve" }, "1306": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", @@ -142233,15 +142019,15 @@ }, "1307": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "DraftOrderService.retrieve" + "qualifiedName": "draftOrderId" }, "1308": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "draftOrderId" + "qualifiedName": "config" }, "1309": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "config" + "qualifiedName": "DraftOrderService.retrieveByCartId" }, "1310": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", @@ -142249,15 +142035,15 @@ }, "1311": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "DraftOrderService.retrieveByCartId" + "qualifiedName": "cartId" }, "1312": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "cartId" + "qualifiedName": "config" }, "1313": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "config" + "qualifiedName": "DraftOrderService.delete" }, "1314": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", @@ -142265,11 +142051,11 @@ }, "1315": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "DraftOrderService.delete" + "qualifiedName": "draftOrderId" }, "1316": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "draftOrderId" + "qualifiedName": "DraftOrderService.listAndCount" }, "1317": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", @@ -142277,15 +142063,15 @@ }, "1318": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "DraftOrderService.listAndCount" + "qualifiedName": "selector" }, "1319": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "1320": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "config" + "qualifiedName": "DraftOrderService.list" }, "1321": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", @@ -142293,15 +142079,15 @@ }, "1322": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "DraftOrderService.list" + "qualifiedName": "selector" }, "1323": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "1324": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "config" + "qualifiedName": "DraftOrderService.create" }, "1325": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", @@ -142309,11 +142095,11 @@ }, "1326": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "DraftOrderService.create" + "qualifiedName": "data" }, "1327": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "data" + "qualifiedName": "DraftOrderService.registerCartCompletion" }, "1328": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", @@ -142321,15 +142107,15 @@ }, "1329": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "DraftOrderService.registerCartCompletion" + "qualifiedName": "draftOrderId" }, "1330": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "draftOrderId" + "qualifiedName": "orderId" }, "1331": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "orderId" + "qualifiedName": "DraftOrderService.update" }, "1332": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", @@ -142337,31 +142123,31 @@ }, "1333": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "DraftOrderService.update" + "qualifiedName": "id" }, "1334": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "id" + "qualifiedName": "data" }, "1335": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "data" + "qualifiedName": "__type" }, "1336": { "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.no_notification_order" }, "1337": { - "sourceFileName": "../../../packages/medusa/src/services/draft-order.ts", - "qualifiedName": "__type.no_notification_order" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "1338": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "1339": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "1340": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -142369,19 +142155,19 @@ }, "1341": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "1342": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "1343": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "1344": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "1345": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -142389,11 +142175,11 @@ }, "1346": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "1347": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "1348": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -142401,19 +142187,19 @@ }, "1349": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "1350": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "1351": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "1352": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "1353": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -142421,19 +142207,19 @@ }, "1354": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "1355": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "1356": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "1357": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "1358": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -142441,15 +142227,15 @@ }, "1359": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "1360": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "1361": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "1362": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -142457,15 +142243,15 @@ }, "1363": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "1364": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "1365": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "1366": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -142473,43 +142259,43 @@ }, "1367": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "1368": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", + "qualifiedName": "default" }, "1369": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "default" + "qualifiedName": "default.__constructor" }, "1370": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "default.__constructor" + "qualifiedName": "default" }, "1371": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "default" + "qualifiedName": "__0" }, "1372": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "__0" + "qualifiedName": "config" }, "1373": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "config" + "qualifiedName": "isSingleton" }, "1374": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "isSingleton" + "qualifiedName": "default.config_" }, "1375": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "default.config_" + "qualifiedName": "default.stagedJobService_" }, "1376": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "default.stagedJobService_" + "qualifiedName": "default.eventBusModuleService_" }, "1377": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", @@ -142517,19 +142303,19 @@ }, "1378": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "default.eventBusModuleService_" + "qualifiedName": "default.logger_" }, "1379": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "default.logger_" + "qualifiedName": "default.shouldEnqueuerRun" }, "1380": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "default.shouldEnqueuerRun" + "qualifiedName": "default.enqueue_" }, "1381": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "default.enqueue_" + "qualifiedName": "default.withTransaction" }, "1382": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", @@ -142537,11 +142323,11 @@ }, "1383": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "default.withTransaction" + "qualifiedName": "transactionManager" }, "1384": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "default.subscribe" }, "1385": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", @@ -142549,19 +142335,19 @@ }, "1386": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "default.subscribe" + "qualifiedName": "event" }, "1387": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "event" + "qualifiedName": "subscriber" }, "1388": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "subscriber" + "qualifiedName": "context" }, "1389": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "context" + "qualifiedName": "default.unsubscribe" }, "1390": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", @@ -142569,19 +142355,19 @@ }, "1391": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "default.unsubscribe" + "qualifiedName": "event" }, "1392": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "event" + "qualifiedName": "subscriber" }, "1393": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "subscriber" + "qualifiedName": "context" }, "1394": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "context" + "qualifiedName": "default.emit" }, "1395": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", @@ -142589,47 +142375,47 @@ }, "1396": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "default.emit" + "qualifiedName": "T" }, "1397": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "T" + "qualifiedName": "data" }, "1398": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "data" + "qualifiedName": "default.emit" }, "1399": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "default.emit" + "qualifiedName": "T" }, "1400": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "T" + "qualifiedName": "data" }, "1401": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "data" + "qualifiedName": "default.emit" }, "1402": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "default.emit" + "qualifiedName": "T" }, "1403": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "T" + "qualifiedName": "eventName" }, "1404": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "eventName" + "qualifiedName": "data" }, "1405": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "data" + "qualifiedName": "options" }, "1406": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "options" + "qualifiedName": "default.startEnqueuer" }, "1407": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", @@ -142637,7 +142423,7 @@ }, "1408": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "default.startEnqueuer" + "qualifiedName": "default.stopEnqueuer" }, "1409": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", @@ -142645,7 +142431,7 @@ }, "1410": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "default.stopEnqueuer" + "qualifiedName": "default.enqueuer_" }, "1411": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", @@ -142653,7 +142439,7 @@ }, "1412": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "default.enqueuer_" + "qualifiedName": "default.listJobs" }, "1413": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", @@ -142661,19 +142447,19 @@ }, "1414": { "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "default.listJobs" + "qualifiedName": "listConfig" }, "1415": { - "sourceFileName": "../../../packages/medusa/src/services/event-bus.ts", - "qualifiedName": "listConfig" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "1416": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "1417": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "1418": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -142681,19 +142467,19 @@ }, "1419": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "1420": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "1421": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "1422": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "1423": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -142701,19 +142487,19 @@ }, "1424": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "1425": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "1426": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "1427": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "1428": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -142721,19 +142507,19 @@ }, "1429": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "1430": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "1431": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "1432": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "1433": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -142741,15 +142527,15 @@ }, "1434": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "1435": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "1436": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "1437": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -142757,115 +142543,115 @@ }, "1438": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "1439": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "1440": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "1441": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, "1442": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" - }, - "1443": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "1444": { + "1443": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", "qualifiedName": "FulfillmentService" }, - "1445": { + "1444": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", "qualifiedName": "FulfillmentService.__constructor" }, - "1446": { + "1445": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", "qualifiedName": "FulfillmentService" }, - "1447": { + "1446": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", "qualifiedName": "__0" }, - "1448": { + "1447": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", "qualifiedName": "FulfillmentService.totalsService_" }, - "1449": { + "1448": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", "qualifiedName": "FulfillmentService.lineItemService_" }, - "1450": { + "1449": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", "qualifiedName": "FulfillmentService.shippingProfileService_" }, - "1451": { + "1450": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", "qualifiedName": "FulfillmentService.fulfillmentProviderService_" }, - "1452": { + "1451": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", "qualifiedName": "FulfillmentService.fulfillmentRepository_" }, - "1453": { + "1452": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", "qualifiedName": "FulfillmentService.trackingLinkRepository_" }, - "1454": { + "1453": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", "qualifiedName": "FulfillmentService.lineItemRepository_" }, - "1455": { + "1454": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item.ts", "qualifiedName": "__object" }, - "1456": { + "1455": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item.ts", "qualifiedName": "__object.findByReturn" }, - "1457": { + "1456": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item.ts", "qualifiedName": "__object.findByReturn" }, - "1458": { + "1457": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item.ts", "qualifiedName": "returnId" }, - "1459": { + "1458": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item.ts", "qualifiedName": "__type" }, - "1460": { + "1459": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item.ts", "qualifiedName": "__type.return_item" }, - "1461": { + "1460": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", "qualifiedName": "FulfillmentService.productVariantInventoryService_" }, + "1461": { + "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", + "qualifiedName": "FulfillmentService.partitionItems_" + }, "1462": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", "qualifiedName": "FulfillmentService.partitionItems_" }, "1463": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "FulfillmentService.partitionItems_" + "qualifiedName": "shippingMethods" }, "1464": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "shippingMethods" + "qualifiedName": "items" }, "1465": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "items" + "qualifiedName": "FulfillmentService.getFulfillmentItems_" }, "1466": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", @@ -142873,15 +142659,15 @@ }, "1467": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "FulfillmentService.getFulfillmentItems_" + "qualifiedName": "order" }, "1468": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "order" + "qualifiedName": "items" }, "1469": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "items" + "qualifiedName": "FulfillmentService.validateFulfillmentLineItem_" }, "1470": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", @@ -142889,15 +142675,15 @@ }, "1471": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "FulfillmentService.validateFulfillmentLineItem_" + "qualifiedName": "item" }, "1472": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "item" + "qualifiedName": "quantity" }, "1473": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "quantity" + "qualifiedName": "FulfillmentService.retrieve" }, "1474": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", @@ -142905,15 +142691,15 @@ }, "1475": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "FulfillmentService.retrieve" + "qualifiedName": "fulfillmentId" }, "1476": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "fulfillmentId" + "qualifiedName": "config" }, "1477": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "config" + "qualifiedName": "FulfillmentService.createFulfillment" }, "1478": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", @@ -142921,19 +142707,19 @@ }, "1479": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "FulfillmentService.createFulfillment" + "qualifiedName": "order" }, "1480": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "order" + "qualifiedName": "itemsToFulfill" }, "1481": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "itemsToFulfill" + "qualifiedName": "custom" }, "1482": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "custom" + "qualifiedName": "FulfillmentService.cancelFulfillment" }, "1483": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", @@ -142941,11 +142727,11 @@ }, "1484": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "FulfillmentService.cancelFulfillment" + "qualifiedName": "fulfillmentOrId" }, "1485": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "fulfillmentOrId" + "qualifiedName": "FulfillmentService.createShipment" }, "1486": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", @@ -142953,35 +142739,35 @@ }, "1487": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "FulfillmentService.createShipment" + "qualifiedName": "fulfillmentId" }, "1488": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "fulfillmentId" + "qualifiedName": "trackingLinks" }, "1489": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "trackingLinks" + "qualifiedName": "__type" }, "1490": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.tracking_number" }, "1491": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "__type.tracking_number" + "qualifiedName": "config" }, "1492": { - "sourceFileName": "../../../packages/medusa/src/services/fulfillment.ts", - "qualifiedName": "config" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "1493": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "1494": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "1495": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -142989,19 +142775,19 @@ }, "1496": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "1497": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "1498": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "1499": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "1500": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143009,11 +142795,11 @@ }, "1501": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "1502": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "1503": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143021,19 +142807,19 @@ }, "1504": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "1505": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "1506": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "1507": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "1508": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143041,19 +142827,19 @@ }, "1509": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "1510": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "1511": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "1512": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "1513": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143061,15 +142847,15 @@ }, "1514": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "1515": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "1516": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "1517": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143077,15 +142863,15 @@ }, "1518": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "1519": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "1520": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "1521": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143093,35 +142879,35 @@ }, "1522": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "1523": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderService" }, "1524": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "FulfillmentProviderService" + "qualifiedName": "FulfillmentProviderService.__constructor" }, "1525": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "FulfillmentProviderService.__constructor" + "qualifiedName": "FulfillmentProviderService" }, "1526": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "FulfillmentProviderService" + "qualifiedName": "container" }, "1527": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "container" + "qualifiedName": "FulfillmentProviderService.container_" }, "1528": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "FulfillmentProviderService.container_" + "qualifiedName": "FulfillmentProviderService.fulfillmentProviderRepository_" }, "1529": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "FulfillmentProviderService.fulfillmentProviderRepository_" + "qualifiedName": "FulfillmentProviderService.registerInstalledProviders" }, "1530": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", @@ -143129,11 +142915,11 @@ }, "1531": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "FulfillmentProviderService.registerInstalledProviders" + "qualifiedName": "providers" }, "1532": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "providers" + "qualifiedName": "FulfillmentProviderService.list" }, "1533": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", @@ -143141,7 +142927,7 @@ }, "1534": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "FulfillmentProviderService.list" + "qualifiedName": "FulfillmentProviderService.listFulfillmentOptions" }, "1535": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", @@ -143149,11 +142935,11 @@ }, "1536": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "FulfillmentProviderService.listFulfillmentOptions" + "qualifiedName": "providerIds" }, "1537": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "providerIds" + "qualifiedName": "FulfillmentProviderService.retrieveProvider" }, "1538": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", @@ -143161,11 +142947,11 @@ }, "1539": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "FulfillmentProviderService.retrieveProvider" + "qualifiedName": "providerId" }, "1540": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "providerId" + "qualifiedName": "FulfillmentProviderService.createFulfillment" }, "1541": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", @@ -143173,23 +142959,23 @@ }, "1542": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "FulfillmentProviderService.createFulfillment" + "qualifiedName": "method" }, "1543": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "method" + "qualifiedName": "items" }, "1544": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "items" + "qualifiedName": "order" }, "1545": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "order" + "qualifiedName": "fulfillment" }, "1546": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "fulfillment" + "qualifiedName": "FulfillmentProviderService.canCalculate" }, "1547": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", @@ -143197,11 +142983,11 @@ }, "1548": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "FulfillmentProviderService.canCalculate" + "qualifiedName": "option" }, "1549": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "option" + "qualifiedName": "FulfillmentProviderService.validateFulfillmentData" }, "1550": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", @@ -143209,19 +142995,19 @@ }, "1551": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "FulfillmentProviderService.validateFulfillmentData" + "qualifiedName": "option" }, "1552": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "option" + "qualifiedName": "data" }, "1553": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "data" + "qualifiedName": "cart" }, "1554": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "cart" + "qualifiedName": "FulfillmentProviderService.cancelFulfillment" }, "1555": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", @@ -143229,11 +143015,11 @@ }, "1556": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "FulfillmentProviderService.cancelFulfillment" + "qualifiedName": "fulfillment" }, "1557": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "fulfillment" + "qualifiedName": "FulfillmentProviderService.calculatePrice" }, "1558": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", @@ -143241,19 +143027,19 @@ }, "1559": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "FulfillmentProviderService.calculatePrice" + "qualifiedName": "option" }, "1560": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "option" + "qualifiedName": "data" }, "1561": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "data" + "qualifiedName": "cart" }, "1562": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "cart" + "qualifiedName": "FulfillmentProviderService.validateOption" }, "1563": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", @@ -143261,11 +143047,11 @@ }, "1564": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "FulfillmentProviderService.validateOption" + "qualifiedName": "option" }, "1565": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "option" + "qualifiedName": "FulfillmentProviderService.createReturn" }, "1566": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", @@ -143273,11 +143059,11 @@ }, "1567": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "FulfillmentProviderService.createReturn" + "qualifiedName": "returnOrder" }, "1568": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "returnOrder" + "qualifiedName": "FulfillmentProviderService.retrieveDocuments" }, "1569": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", @@ -143285,27 +143071,27 @@ }, "1570": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "FulfillmentProviderService.retrieveDocuments" + "qualifiedName": "providerId" }, "1571": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "providerId" + "qualifiedName": "fulfillmentData" }, "1572": { "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "fulfillmentData" + "qualifiedName": "documentType" }, "1573": { - "sourceFileName": "../../../packages/medusa/src/services/fulfillment-provider.ts", - "qualifiedName": "documentType" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "1574": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "1575": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "1576": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143313,19 +143099,19 @@ }, "1577": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "1578": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "1579": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "1580": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "1581": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143333,11 +143119,11 @@ }, "1582": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "1583": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "1584": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143345,19 +143131,19 @@ }, "1585": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "1586": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "1587": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "1588": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "1589": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143365,19 +143151,19 @@ }, "1590": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "1591": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "1592": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "1593": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "1594": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143385,15 +143171,15 @@ }, "1595": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "1596": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "1597": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "1598": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143401,15 +143187,15 @@ }, "1599": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "1600": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "1601": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "1602": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143417,27 +143203,27 @@ }, "1603": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "1604": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", + "qualifiedName": "GiftCardService" }, "1605": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "GiftCardService" + "qualifiedName": "GiftCardService.Events" }, "1606": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "GiftCardService.Events" + "qualifiedName": "__object" }, "1607": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "__object" + "qualifiedName": "__object.CREATED" }, "1608": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "__object.CREATED" + "qualifiedName": "GiftCardService.generateCode" }, "1609": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", @@ -143445,7 +143231,7 @@ }, "1610": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "GiftCardService.generateCode" + "qualifiedName": "GiftCardService.resolveTaxRate" }, "1611": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", @@ -143453,35 +143239,35 @@ }, "1612": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "GiftCardService.resolveTaxRate" + "qualifiedName": "giftCardTaxRate" }, "1613": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "giftCardTaxRate" + "qualifiedName": "region" }, "1614": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "region" + "qualifiedName": "GiftCardService.__constructor" }, "1615": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "GiftCardService.__constructor" + "qualifiedName": "GiftCardService" }, "1616": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "GiftCardService" + "qualifiedName": "__0" }, "1617": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "__0" + "qualifiedName": "GiftCardService.giftCardRepository_" }, "1618": { - "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "GiftCardService.giftCardRepository_" + "sourceFileName": "../../../packages/medusa/src/repositories/gift-card.ts", + "qualifiedName": "__object" }, "1619": { "sourceFileName": "../../../packages/medusa/src/repositories/gift-card.ts", - "qualifiedName": "__object" + "qualifiedName": "__object.listGiftCardsAndCount" }, "1620": { "sourceFileName": "../../../packages/medusa/src/repositories/gift-card.ts", @@ -143489,27 +143275,27 @@ }, "1621": { "sourceFileName": "../../../packages/medusa/src/repositories/gift-card.ts", - "qualifiedName": "__object.listGiftCardsAndCount" + "qualifiedName": "query" }, "1622": { "sourceFileName": "../../../packages/medusa/src/repositories/gift-card.ts", - "qualifiedName": "query" + "qualifiedName": "q" }, "1623": { - "sourceFileName": "../../../packages/medusa/src/repositories/gift-card.ts", - "qualifiedName": "q" + "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", + "qualifiedName": "GiftCardService.giftCardTransactionRepo_" }, "1624": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "GiftCardService.giftCardTransactionRepo_" + "qualifiedName": "GiftCardService.regionService_" }, "1625": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "GiftCardService.regionService_" + "qualifiedName": "GiftCardService.eventBus_" }, "1626": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "GiftCardService.eventBus_" + "qualifiedName": "GiftCardService.listAndCount" }, "1627": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", @@ -143517,15 +143303,15 @@ }, "1628": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "GiftCardService.listAndCount" + "qualifiedName": "selector" }, "1629": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "1630": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "config" + "qualifiedName": "GiftCardService.list" }, "1631": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", @@ -143533,15 +143319,15 @@ }, "1632": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "GiftCardService.list" + "qualifiedName": "selector" }, "1633": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "1634": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "config" + "qualifiedName": "GiftCardService.createTransaction" }, "1635": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", @@ -143549,11 +143335,11 @@ }, "1636": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "GiftCardService.createTransaction" + "qualifiedName": "data" }, "1637": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "data" + "qualifiedName": "GiftCardService.create" }, "1638": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", @@ -143561,11 +143347,11 @@ }, "1639": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "GiftCardService.create" + "qualifiedName": "giftCard" }, "1640": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "giftCard" + "qualifiedName": "GiftCardService.retrieve_" }, "1641": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", @@ -143573,15 +143359,15 @@ }, "1642": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "GiftCardService.retrieve_" + "qualifiedName": "selector" }, "1643": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "1644": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "config" + "qualifiedName": "GiftCardService.retrieve" }, "1645": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", @@ -143589,15 +143375,15 @@ }, "1646": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "GiftCardService.retrieve" + "qualifiedName": "giftCardId" }, "1647": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "giftCardId" + "qualifiedName": "config" }, "1648": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "config" + "qualifiedName": "GiftCardService.retrieveByCode" }, "1649": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", @@ -143605,15 +143391,15 @@ }, "1650": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "GiftCardService.retrieveByCode" + "qualifiedName": "code" }, "1651": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "code" + "qualifiedName": "config" }, "1652": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "config" + "qualifiedName": "GiftCardService.update" }, "1653": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", @@ -143621,15 +143407,15 @@ }, "1654": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "GiftCardService.update" + "qualifiedName": "giftCardId" }, "1655": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "giftCardId" + "qualifiedName": "update" }, "1656": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "update" + "qualifiedName": "GiftCardService.delete" }, "1657": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", @@ -143637,19 +143423,19 @@ }, "1658": { "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "GiftCardService.delete" + "qualifiedName": "giftCardId" }, "1659": { - "sourceFileName": "../../../packages/medusa/src/services/gift-card.ts", - "qualifiedName": "giftCardId" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "1660": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "1661": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "1662": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143657,19 +143443,19 @@ }, "1663": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "1664": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "1665": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "1666": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "1667": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143677,11 +143463,11 @@ }, "1668": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "1669": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "1670": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143689,19 +143475,19 @@ }, "1671": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "1672": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "1673": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "1674": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "1675": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143709,19 +143495,19 @@ }, "1676": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "1677": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "1678": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "1679": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "1680": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143729,15 +143515,15 @@ }, "1681": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "1682": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "1683": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "1684": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143745,15 +143531,15 @@ }, "1685": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "1686": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "1687": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "1688": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143761,31 +143547,31 @@ }, "1689": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "1690": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", + "qualifiedName": "IdempotencyKeyService" }, "1691": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "IdempotencyKeyService" + "qualifiedName": "IdempotencyKeyService.__constructor" }, "1692": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "IdempotencyKeyService.__constructor" + "qualifiedName": "IdempotencyKeyService" }, "1693": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "IdempotencyKeyService" + "qualifiedName": "__0" }, "1694": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "__0" + "qualifiedName": "IdempotencyKeyService.idempotencyKeyRepository_" }, "1695": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "IdempotencyKeyService.idempotencyKeyRepository_" + "qualifiedName": "IdempotencyKeyService.initializeRequest" }, "1696": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", @@ -143793,23 +143579,23 @@ }, "1697": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "IdempotencyKeyService.initializeRequest" + "qualifiedName": "headerKey" }, "1698": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "headerKey" + "qualifiedName": "reqMethod" }, "1699": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "reqMethod" + "qualifiedName": "reqParams" }, "1700": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "reqParams" + "qualifiedName": "reqPath" }, "1701": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "reqPath" + "qualifiedName": "IdempotencyKeyService.create" }, "1702": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", @@ -143817,11 +143603,11 @@ }, "1703": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "IdempotencyKeyService.create" + "qualifiedName": "payload" }, "1704": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "payload" + "qualifiedName": "IdempotencyKeyService.retrieve" }, "1705": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", @@ -143829,11 +143615,11 @@ }, "1706": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "IdempotencyKeyService.retrieve" + "qualifiedName": "idempotencyKeyOrSelector" }, "1707": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "idempotencyKeyOrSelector" + "qualifiedName": "IdempotencyKeyService.lock" }, "1708": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", @@ -143841,11 +143627,11 @@ }, "1709": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "IdempotencyKeyService.lock" + "qualifiedName": "idempotencyKey" }, "1710": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "idempotencyKey" + "qualifiedName": "IdempotencyKeyService.update" }, "1711": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", @@ -143853,15 +143639,15 @@ }, "1712": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "IdempotencyKeyService.update" + "qualifiedName": "idempotencyKey" }, "1713": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "idempotencyKey" + "qualifiedName": "update" }, "1714": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "update" + "qualifiedName": "IdempotencyKeyService.workStage" }, "1715": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", @@ -143869,15 +143655,15 @@ }, "1716": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "IdempotencyKeyService.workStage" + "qualifiedName": "idempotencyKey" }, "1717": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "idempotencyKey" + "qualifiedName": "callback" }, "1718": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "callback" + "qualifiedName": "__type" }, "1719": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", @@ -143885,19 +143671,19 @@ }, "1720": { "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "1721": { - "sourceFileName": "../../../packages/medusa/src/services/idempotency-key.ts", - "qualifiedName": "transactionManager" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "1722": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "1723": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "1724": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143905,19 +143691,19 @@ }, "1725": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "1726": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "1727": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "1728": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "1729": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143925,11 +143711,11 @@ }, "1730": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "1731": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "1732": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143937,19 +143723,19 @@ }, "1733": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "1734": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "1735": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "1736": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "1737": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143957,19 +143743,19 @@ }, "1738": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "1739": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "1740": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "1741": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "1742": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143977,15 +143763,15 @@ }, "1743": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "1744": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "1745": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "1746": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -143993,127 +143779,127 @@ }, "1747": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "1748": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "1749": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "1750": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, "1751": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" - }, - "1752": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "1753": { + "1752": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", "qualifiedName": "LineItemService" }, - "1754": { + "1753": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", "qualifiedName": "LineItemService.__constructor" }, - "1755": { + "1754": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", "qualifiedName": "LineItemService" }, - "1756": { + "1755": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", "qualifiedName": "__0" }, - "1757": { + "1756": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", "qualifiedName": "LineItemService.lineItemRepository_" }, - "1758": { + "1757": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item.ts", "qualifiedName": "__object" }, - "1759": { + "1758": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item.ts", "qualifiedName": "__object.findByReturn" }, - "1760": { + "1759": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item.ts", "qualifiedName": "__object.findByReturn" }, - "1761": { + "1760": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item.ts", "qualifiedName": "returnId" }, - "1762": { + "1761": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item.ts", "qualifiedName": "__type" }, - "1763": { + "1762": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item.ts", "qualifiedName": "__type.return_item" }, - "1764": { + "1763": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", "qualifiedName": "LineItemService.itemTaxLineRepo_" }, - "1765": { + "1764": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item-tax-line.ts", "qualifiedName": "__object" }, - "1766": { + "1765": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item-tax-line.ts", "qualifiedName": "__object.upsertLines" }, - "1767": { + "1766": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item-tax-line.ts", "qualifiedName": "__object.upsertLines" }, - "1768": { + "1767": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item-tax-line.ts", "qualifiedName": "lines" }, - "1769": { + "1768": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item-tax-line.ts", "qualifiedName": "__object.deleteForCart" }, - "1770": { + "1769": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item-tax-line.ts", "qualifiedName": "__object.deleteForCart" }, - "1771": { + "1770": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item-tax-line.ts", "qualifiedName": "cartId" }, - "1772": { + "1771": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", "qualifiedName": "LineItemService.cartRepository_" }, - "1773": { + "1772": { "sourceFileName": "../../../packages/medusa/src/repositories/cart.ts", "qualifiedName": "__object" }, + "1773": { + "sourceFileName": "../../../packages/medusa/src/repositories/cart.ts", + "qualifiedName": "__object.findWithRelations" + }, "1774": { "sourceFileName": "../../../packages/medusa/src/repositories/cart.ts", "qualifiedName": "__object.findWithRelations" }, "1775": { "sourceFileName": "../../../packages/medusa/src/repositories/cart.ts", - "qualifiedName": "__object.findWithRelations" + "qualifiedName": "relations" }, "1776": { "sourceFileName": "../../../packages/medusa/src/repositories/cart.ts", - "qualifiedName": "relations" + "qualifiedName": "optionsWithoutRelations" }, "1777": { "sourceFileName": "../../../packages/medusa/src/repositories/cart.ts", - "qualifiedName": "optionsWithoutRelations" + "qualifiedName": "__object.findOneWithRelations" }, "1778": { "sourceFileName": "../../../packages/medusa/src/repositories/cart.ts", @@ -144121,43 +143907,43 @@ }, "1779": { "sourceFileName": "../../../packages/medusa/src/repositories/cart.ts", - "qualifiedName": "__object.findOneWithRelations" + "qualifiedName": "relations" }, "1780": { "sourceFileName": "../../../packages/medusa/src/repositories/cart.ts", - "qualifiedName": "relations" + "qualifiedName": "optionsWithoutRelations" }, "1781": { - "sourceFileName": "../../../packages/medusa/src/repositories/cart.ts", - "qualifiedName": "optionsWithoutRelations" + "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", + "qualifiedName": "LineItemService.productVariantService_" }, "1782": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.productVariantService_" + "qualifiedName": "LineItemService.productService_" }, "1783": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.productService_" + "qualifiedName": "LineItemService.pricingService_" }, "1784": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.pricingService_" + "qualifiedName": "LineItemService.regionService_" }, "1785": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.regionService_" + "qualifiedName": "LineItemService.featureFlagRouter_" }, "1786": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.featureFlagRouter_" + "qualifiedName": "LineItemService.lineItemAdjustmentService_" }, "1787": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.lineItemAdjustmentService_" + "qualifiedName": "LineItemService.taxProviderService_" }, "1788": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.taxProviderService_" + "qualifiedName": "LineItemService.list" }, "1789": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", @@ -144165,15 +143951,15 @@ }, "1790": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.list" + "qualifiedName": "selector" }, "1791": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "1792": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "config" + "qualifiedName": "LineItemService.retrieve" }, "1793": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", @@ -144181,19 +143967,19 @@ }, "1794": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.retrieve" + "qualifiedName": "id" }, "1795": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "id" + "qualifiedName": "config" }, "1796": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "config" + "qualifiedName": "__object" }, "1797": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "__object" + "qualifiedName": "LineItemService.createReturnLines" }, "1798": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", @@ -144201,15 +143987,15 @@ }, "1799": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.createReturnLines" + "qualifiedName": "returnId" }, "1800": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "returnId" + "qualifiedName": "cartId" }, "1801": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "cartId" + "qualifiedName": "LineItemService.generate" }, "1802": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", @@ -144217,31 +144003,31 @@ }, "1803": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.generate" + "qualifiedName": "T" }, "1804": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "T" + "qualifiedName": "TResult" }, "1805": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "TResult" + "qualifiedName": "variantIdOrData" }, "1806": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "variantIdOrData" + "qualifiedName": "regionIdOrContext" }, "1807": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "regionIdOrContext" + "qualifiedName": "quantity" }, "1808": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "quantity" + "qualifiedName": "context" }, "1809": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "context" + "qualifiedName": "LineItemService.generateLineItem" }, "1810": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", @@ -144249,67 +144035,67 @@ }, "1811": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.generateLineItem" + "qualifiedName": "variant" }, "1812": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "variant" + "qualifiedName": "__type" }, "1813": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.id" }, "1814": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "__type.id" + "qualifiedName": "__type.title" }, "1815": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "__type.title" + "qualifiedName": "__type.product_id" }, "1816": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "__type.product_id" + "qualifiedName": "__type.product" }, "1817": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "__type.product" + "qualifiedName": "__type" }, "1818": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.title" }, "1819": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "__type.title" + "qualifiedName": "__type.thumbnail" }, "1820": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "__type.thumbnail" + "qualifiedName": "__type.discountable" }, "1821": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "__type.discountable" + "qualifiedName": "__type.is_giftcard" }, "1822": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "__type.is_giftcard" + "qualifiedName": "quantity" }, "1823": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "quantity" + "qualifiedName": "context" }, "1824": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "context" + "qualifiedName": "__type" }, "1825": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.variantPricing" }, "1826": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "__type.variantPricing" + "qualifiedName": "LineItemService.create" }, "1827": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", @@ -144317,19 +144103,19 @@ }, "1828": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.create" + "qualifiedName": "T" }, "1829": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "T" + "qualifiedName": "TResult" }, "1830": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "TResult" + "qualifiedName": "data" }, "1831": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "data" + "qualifiedName": "LineItemService.update" }, "1832": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", @@ -144337,15 +144123,15 @@ }, "1833": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.update" + "qualifiedName": "idOrSelector" }, "1834": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "idOrSelector" + "qualifiedName": "data" }, "1835": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "data" + "qualifiedName": "LineItemService.delete" }, "1836": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", @@ -144353,19 +144139,19 @@ }, "1837": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.delete" + "qualifiedName": "ids" }, "1838": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "ids" + "qualifiedName": "LineItemService.delete" }, "1839": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.delete" + "qualifiedName": "id" }, "1840": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "id" + "qualifiedName": "LineItemService.deleteWithTaxLines" }, "1841": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", @@ -144373,11 +144159,11 @@ }, "1842": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.deleteWithTaxLines" + "qualifiedName": "id" }, "1843": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "id" + "qualifiedName": "LineItemService.createTaxLine" }, "1844": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", @@ -144385,11 +144171,11 @@ }, "1845": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.createTaxLine" + "qualifiedName": "args" }, "1846": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "args" + "qualifiedName": "LineItemService.cloneTo" }, "1847": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", @@ -144397,27 +144183,27 @@ }, "1848": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.cloneTo" + "qualifiedName": "ids" }, "1849": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "ids" + "qualifiedName": "data" }, "1850": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "data" + "qualifiedName": "options" }, "1851": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "options" + "qualifiedName": "__type" }, "1852": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.setOriginalLineItemId" }, "1853": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "__type.setOriginalLineItemId" + "qualifiedName": "LineItemService.validateGenerateArguments" }, "1854": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", @@ -144425,35 +144211,35 @@ }, "1855": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "LineItemService.validateGenerateArguments" + "qualifiedName": "T" }, "1856": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "T" + "qualifiedName": "TResult" }, "1857": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "TResult" + "qualifiedName": "variantIdOrData" }, "1858": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "variantIdOrData" + "qualifiedName": "regionIdOrContext" }, "1859": { "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "regionIdOrContext" + "qualifiedName": "quantity" }, "1860": { - "sourceFileName": "../../../packages/medusa/src/services/line-item.ts", - "qualifiedName": "quantity" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "1861": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "1862": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "1863": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -144461,19 +144247,19 @@ }, "1864": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "1865": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "1866": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "1867": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "1868": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -144481,11 +144267,11 @@ }, "1869": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "1870": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "1871": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -144493,19 +144279,19 @@ }, "1872": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "1873": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "1874": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "1875": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "1876": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -144513,19 +144299,19 @@ }, "1877": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "1878": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "1879": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "1880": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "1881": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -144533,15 +144319,15 @@ }, "1882": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "1883": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "1884": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "1885": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -144549,15 +144335,15 @@ }, "1886": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "1887": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "1888": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "1889": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -144565,35 +144351,35 @@ }, "1890": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "1891": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", + "qualifiedName": "LineItemAdjustmentService" }, "1892": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "LineItemAdjustmentService" + "qualifiedName": "LineItemAdjustmentService.__constructor" }, "1893": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "LineItemAdjustmentService.__constructor" + "qualifiedName": "LineItemAdjustmentService" }, "1894": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "LineItemAdjustmentService" + "qualifiedName": "__0" }, "1895": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "__0" + "qualifiedName": "LineItemAdjustmentService.lineItemAdjustmentRepo_" }, "1896": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "LineItemAdjustmentService.lineItemAdjustmentRepo_" + "qualifiedName": "LineItemAdjustmentService.discountService" }, "1897": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "LineItemAdjustmentService.discountService" + "qualifiedName": "LineItemAdjustmentService.retrieve" }, "1898": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", @@ -144601,15 +144387,15 @@ }, "1899": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "LineItemAdjustmentService.retrieve" + "qualifiedName": "lineItemAdjustmentId" }, "1900": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "lineItemAdjustmentId" + "qualifiedName": "config" }, "1901": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "config" + "qualifiedName": "LineItemAdjustmentService.create" }, "1902": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", @@ -144617,11 +144403,11 @@ }, "1903": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "LineItemAdjustmentService.create" + "qualifiedName": "data" }, "1904": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "data" + "qualifiedName": "LineItemAdjustmentService.update" }, "1905": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", @@ -144629,15 +144415,15 @@ }, "1906": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "LineItemAdjustmentService.update" + "qualifiedName": "id" }, "1907": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "id" + "qualifiedName": "data" }, "1908": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "data" + "qualifiedName": "LineItemAdjustmentService.list" }, "1909": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", @@ -144645,15 +144431,15 @@ }, "1910": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "LineItemAdjustmentService.list" + "qualifiedName": "selector" }, "1911": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "1912": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "config" + "qualifiedName": "LineItemAdjustmentService.delete" }, "1913": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", @@ -144661,19 +144447,19 @@ }, "1914": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "LineItemAdjustmentService.delete" + "qualifiedName": "selectorOrIds" }, "1915": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "selectorOrIds" + "qualifiedName": "__type" }, "1916": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.discount_id" }, "1917": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "__type.discount_id" + "qualifiedName": "LineItemAdjustmentService.generateAdjustments" }, "1918": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", @@ -144681,19 +144467,19 @@ }, "1919": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "LineItemAdjustmentService.generateAdjustments" + "qualifiedName": "calculationContextData" }, "1920": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "calculationContextData" + "qualifiedName": "generatedLineItem" }, "1921": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "generatedLineItem" + "qualifiedName": "context" }, "1922": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "context" + "qualifiedName": "LineItemAdjustmentService.createAdjustmentForLineItem" }, "1923": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", @@ -144701,15 +144487,15 @@ }, "1924": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "LineItemAdjustmentService.createAdjustmentForLineItem" + "qualifiedName": "cart" }, "1925": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "cart" + "qualifiedName": "lineItem" }, "1926": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "lineItem" + "qualifiedName": "LineItemAdjustmentService.createAdjustments" }, "1927": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", @@ -144717,23 +144503,23 @@ }, "1928": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "LineItemAdjustmentService.createAdjustments" + "qualifiedName": "cart" }, "1929": { "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "cart" + "qualifiedName": "lineItem" }, "1930": { - "sourceFileName": "../../../packages/medusa/src/services/line-item-adjustment.ts", - "qualifiedName": "lineItem" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "1931": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "1932": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "1933": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -144741,19 +144527,19 @@ }, "1934": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "1935": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "1936": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "1937": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "1938": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -144761,11 +144547,11 @@ }, "1939": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "1940": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "1941": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -144773,19 +144559,19 @@ }, "1942": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "1943": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "1944": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "1945": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "1946": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -144793,19 +144579,19 @@ }, "1947": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "1948": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "1949": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "1950": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "1951": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -144813,15 +144599,15 @@ }, "1952": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "1953": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "1954": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "1955": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -144829,15 +144615,15 @@ }, "1956": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "1957": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "1958": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "1959": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -144845,39 +144631,39 @@ }, "1960": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "1961": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", + "qualifiedName": "MiddlewareService" }, "1962": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "MiddlewareService" + "qualifiedName": "MiddlewareService.__constructor" }, "1963": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "MiddlewareService.__constructor" + "qualifiedName": "MiddlewareService" }, "1964": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "MiddlewareService" + "qualifiedName": "MiddlewareService.postAuthentication_" }, "1965": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "MiddlewareService.postAuthentication_" + "qualifiedName": "MiddlewareService.preAuthentication_" }, "1966": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "MiddlewareService.preAuthentication_" + "qualifiedName": "MiddlewareService.preCartCreation_" }, "1967": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "MiddlewareService.preCartCreation_" + "qualifiedName": "MiddlewareService.routers" }, "1968": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "MiddlewareService.routers" + "qualifiedName": "MiddlewareService.addRouter" }, "1969": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", @@ -144885,15 +144671,15 @@ }, "1970": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "MiddlewareService.addRouter" + "qualifiedName": "path" }, "1971": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "path" + "qualifiedName": "router" }, "1972": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "router" + "qualifiedName": "MiddlewareService.getRouters" }, "1973": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", @@ -144901,11 +144687,11 @@ }, "1974": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "MiddlewareService.getRouters" + "qualifiedName": "path" }, "1975": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "path" + "qualifiedName": "MiddlewareService.validateMiddleware_" }, "1976": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", @@ -144913,11 +144699,11 @@ }, "1977": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "MiddlewareService.validateMiddleware_" + "qualifiedName": "fn" }, "1978": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "fn" + "qualifiedName": "MiddlewareService.addPostAuthentication" }, "1979": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", @@ -144925,15 +144711,15 @@ }, "1980": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "MiddlewareService.addPostAuthentication" + "qualifiedName": "middleware" }, "1981": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "middleware" + "qualifiedName": "options" }, "1982": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "options" + "qualifiedName": "MiddlewareService.addPreAuthentication" }, "1983": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", @@ -144941,15 +144727,15 @@ }, "1984": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "MiddlewareService.addPreAuthentication" + "qualifiedName": "middleware" }, "1985": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "middleware" + "qualifiedName": "options" }, "1986": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "options" + "qualifiedName": "MiddlewareService.addPreCartCreation" }, "1987": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", @@ -144957,11 +144743,11 @@ }, "1988": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "MiddlewareService.addPreCartCreation" + "qualifiedName": "middleware" }, "1989": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "middleware" + "qualifiedName": "MiddlewareService.usePostAuthentication" }, "1990": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", @@ -144969,11 +144755,11 @@ }, "1991": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "MiddlewareService.usePostAuthentication" + "qualifiedName": "app" }, "1992": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "app" + "qualifiedName": "MiddlewareService.usePreAuthentication" }, "1993": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", @@ -144981,231 +144767,231 @@ }, "1994": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "MiddlewareService.usePreAuthentication" + "qualifiedName": "app" }, "1995": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "app" + "qualifiedName": "MiddlewareService.usePreCartCreation" }, "1996": { "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", "qualifiedName": "MiddlewareService.usePreCartCreation" }, "1997": { - "sourceFileName": "../../../packages/medusa/src/services/middleware.ts", - "qualifiedName": "MiddlewareService.usePreCartCreation" - }, - "1998": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "default" }, - "1999": { + "1998": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "default.__constructor" }, - "2000": { + "1999": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "default" }, - "2001": { + "2000": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "__0" }, - "2002": { + "2001": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "default.taxProviderService_" }, - "2003": { + "2002": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "default.featureFlagRouter_" }, - "2004": { + "2003": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "default.taxCalculationStrategy_" }, - "2005": { + "2004": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "default.getLineItemTotals" }, - "2006": { + "2005": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "default.getLineItemTotals" }, - "2007": { + "2006": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "items" }, - "2008": { + "2007": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "__1" }, - "2009": { + "2008": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "__type" }, - "2010": { + "2009": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "__type.includeTax" }, - "2011": { + "2010": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "__type.calculationContext" }, - "2012": { + "2011": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "__type.taxRate" }, - "2013": { + "2012": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "__type" }, - "2014": { + "2013": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "__type.__index" }, - "2016": { + "2015": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "default.getLineItemTotals_" }, - "2017": { + "2016": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "default.getLineItemTotals_" }, - "2018": { + "2017": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "item" }, - "2019": { + "2018": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "__1" }, - "2020": { + "2019": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "__type" }, - "2021": { + "2020": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "__type.includeTax" }, - "2022": { + "2021": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "__type.lineItemAllocation" }, - "2023": { + "2022": { "sourceFileName": "../../../packages/medusa/src/types/totals.ts", "qualifiedName": "__type" }, - "2024": { + "2023": { "sourceFileName": "../../../packages/medusa/src/types/totals.ts", "qualifiedName": "__type.gift_card" }, - "2025": { + "2024": { "sourceFileName": "../../../packages/medusa/src/types/totals.ts", "qualifiedName": "__type.discount" }, - "2026": { + "2025": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "__type.taxLines" }, - "2027": { + "2026": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "__type.calculationContext" }, - "2028": { + "2027": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "default.getLineItemTotalsLegacy" }, - "2029": { + "2028": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "default.getLineItemTotalsLegacy" }, - "2030": { + "2029": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "item" }, - "2031": { + "2030": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "__1" }, - "2032": { + "2031": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "__type" }, - "2033": { + "2032": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "__type.lineItemAllocation" }, - "2034": { + "2033": { "sourceFileName": "../../../packages/medusa/src/types/totals.ts", "qualifiedName": "__type" }, - "2035": { + "2034": { "sourceFileName": "../../../packages/medusa/src/types/totals.ts", "qualifiedName": "__type.gift_card" }, - "2036": { + "2035": { "sourceFileName": "../../../packages/medusa/src/types/totals.ts", "qualifiedName": "__type.discount" }, - "2037": { + "2036": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "__type.calculationContext" }, - "2038": { + "2037": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "__type.taxRate" }, + "2038": { + "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", + "qualifiedName": "default.getLineItemRefund" + }, "2039": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", "qualifiedName": "default.getLineItemRefund" }, "2040": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "default.getLineItemRefund" + "qualifiedName": "lineItem" }, "2041": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "lineItem" + "qualifiedName": "__type" }, "2042": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.id" }, "2043": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.id" + "qualifiedName": "__type.unit_price" }, "2044": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.unit_price" + "qualifiedName": "__type.includes_tax" }, "2045": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.includes_tax" + "qualifiedName": "__type.quantity" }, "2046": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.quantity" + "qualifiedName": "__type.tax_lines" }, "2047": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.tax_lines" + "qualifiedName": "__1" }, "2048": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__1" + "qualifiedName": "__type" }, "2049": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.calculationContext" }, "2050": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.calculationContext" + "qualifiedName": "__type.taxRate" }, "2051": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.taxRate" + "qualifiedName": "default.getLineItemRefundLegacy" }, "2052": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", @@ -145213,47 +144999,47 @@ }, "2053": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "default.getLineItemRefundLegacy" + "qualifiedName": "lineItem" }, "2054": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "lineItem" + "qualifiedName": "__type" }, "2055": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.id" }, "2056": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.id" + "qualifiedName": "__type.unit_price" }, "2057": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.unit_price" + "qualifiedName": "__type.includes_tax" }, "2058": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.includes_tax" + "qualifiedName": "__type.quantity" }, "2059": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.quantity" + "qualifiedName": "__1" }, "2060": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__1" + "qualifiedName": "__type" }, "2061": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.calculationContext" }, "2062": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.calculationContext" + "qualifiedName": "__type.taxRate" }, "2063": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.taxRate" + "qualifiedName": "default.getGiftCardTotals" }, "2064": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", @@ -145261,43 +145047,43 @@ }, "2065": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "default.getGiftCardTotals" + "qualifiedName": "giftCardableAmount" }, "2066": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "giftCardableAmount" + "qualifiedName": "__1" }, "2067": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__1" + "qualifiedName": "__type" }, "2068": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.region" }, "2069": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.region" + "qualifiedName": "__type.giftCardTransactions" }, "2070": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.giftCardTransactions" + "qualifiedName": "__type.giftCards" }, "2071": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.giftCards" + "qualifiedName": "__type" }, "2072": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.total" }, "2073": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.total" + "qualifiedName": "__type.tax_total" }, "2074": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.tax_total" + "qualifiedName": "default.getGiftCardTransactionsTotals" }, "2075": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", @@ -145305,47 +145091,47 @@ }, "2076": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "default.getGiftCardTransactionsTotals" + "qualifiedName": "__0" }, "2077": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__0" + "qualifiedName": "__type" }, "2078": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.giftCardTransactions" }, "2079": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.giftCardTransactions" + "qualifiedName": "__type.region" }, "2080": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.region" + "qualifiedName": "__type" }, "2081": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.gift_cards_taxable" }, "2082": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.gift_cards_taxable" + "qualifiedName": "__type.tax_rate" }, "2083": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.tax_rate" + "qualifiedName": "__type" }, "2084": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.total" }, "2085": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.total" + "qualifiedName": "__type.tax_total" }, "2086": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.tax_total" + "qualifiedName": "default.getShippingMethodTotals" }, "2087": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", @@ -145353,43 +145139,43 @@ }, "2088": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "default.getShippingMethodTotals" + "qualifiedName": "shippingMethods" }, "2089": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "shippingMethods" + "qualifiedName": "__1" }, "2090": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__1" + "qualifiedName": "__type" }, "2091": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.includeTax" }, "2092": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.includeTax" + "qualifiedName": "__type.calculationContext" }, "2093": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.calculationContext" + "qualifiedName": "__type.discounts" }, "2094": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.discounts" + "qualifiedName": "__type.taxRate" }, "2095": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.taxRate" + "qualifiedName": "__type" }, "2096": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, - "2097": { + "2098": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "default.getGiftCardableAmount" }, "2099": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", @@ -145397,35 +145183,35 @@ }, "2100": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "default.getGiftCardableAmount" + "qualifiedName": "__0" }, "2101": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__0" + "qualifiedName": "__type" }, "2102": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.gift_cards_taxable" }, "2103": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.gift_cards_taxable" + "qualifiedName": "__type.subtotal" }, "2104": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.subtotal" + "qualifiedName": "__type.shipping_total" }, "2105": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.shipping_total" + "qualifiedName": "__type.discount_total" }, "2106": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.discount_total" + "qualifiedName": "__type.tax_total" }, "2107": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.tax_total" + "qualifiedName": "default.getShippingMethodTotals_" }, "2108": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", @@ -145433,35 +145219,35 @@ }, "2109": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "default.getShippingMethodTotals_" + "qualifiedName": "shippingMethod" }, "2110": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "shippingMethod" + "qualifiedName": "__1" }, "2111": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__1" + "qualifiedName": "__type" }, "2112": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.includeTax" }, "2113": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.includeTax" + "qualifiedName": "__type.calculationContext" }, "2114": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.calculationContext" + "qualifiedName": "__type.taxLines" }, "2115": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.taxLines" + "qualifiedName": "__type.discounts" }, "2116": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.discounts" + "qualifiedName": "default.getShippingMethodTotalsLegacy" }, "2117": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", @@ -145469,39 +145255,39 @@ }, "2118": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "default.getShippingMethodTotalsLegacy" + "qualifiedName": "shippingMethod" }, "2119": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "shippingMethod" + "qualifiedName": "__1" }, "2120": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__1" + "qualifiedName": "__type" }, "2121": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.calculationContext" }, "2122": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.calculationContext" + "qualifiedName": "__type.discounts" }, "2123": { "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.discounts" + "qualifiedName": "__type.taxRate" }, "2124": { - "sourceFileName": "../../../packages/medusa/src/services/new-totals.ts", - "qualifiedName": "__type.taxRate" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "2125": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "2126": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "2127": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -145509,19 +145295,19 @@ }, "2128": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "2129": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "2130": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "2131": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "2132": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -145529,11 +145315,11 @@ }, "2133": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "2134": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "2135": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -145541,19 +145327,19 @@ }, "2136": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "2137": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "2138": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "2139": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "2140": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -145561,19 +145347,19 @@ }, "2141": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "2142": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "2143": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "2144": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "2145": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -145581,15 +145367,15 @@ }, "2146": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "2147": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "2148": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "2149": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -145597,15 +145383,15 @@ }, "2150": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "2151": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "2152": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "2153": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -145613,55 +145399,55 @@ }, "2154": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "2155": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "sourceFileName": "../../../packages/medusa/src/services/note.ts", + "qualifiedName": "NoteService" }, "2156": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "NoteService" + "qualifiedName": "NoteService.Events" }, "2157": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "NoteService.Events" + "qualifiedName": "__object" }, "2158": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "__object" + "qualifiedName": "__object.CREATED" }, "2159": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "__object.CREATED" + "qualifiedName": "__object.UPDATED" }, "2160": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "__object.UPDATED" + "qualifiedName": "__object.DELETED" }, "2161": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "__object.DELETED" + "qualifiedName": "NoteService.__constructor" }, "2162": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "NoteService.__constructor" + "qualifiedName": "NoteService" }, "2163": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "NoteService" + "qualifiedName": "__0" }, "2164": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "__0" + "qualifiedName": "NoteService.noteRepository_" }, "2165": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "NoteService.noteRepository_" + "qualifiedName": "NoteService.eventBus_" }, "2166": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "NoteService.eventBus_" + "qualifiedName": "NoteService.retrieve" }, "2167": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", @@ -145669,15 +145455,15 @@ }, "2168": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "NoteService.retrieve" + "qualifiedName": "noteId" }, "2169": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "noteId" + "qualifiedName": "config" }, "2170": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "config" + "qualifiedName": "NoteService.list" }, "2171": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", @@ -145685,15 +145471,15 @@ }, "2172": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "NoteService.list" + "qualifiedName": "selector" }, "2173": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "2174": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "config" + "qualifiedName": "NoteService.listAndCount" }, "2175": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", @@ -145701,15 +145487,15 @@ }, "2176": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "NoteService.listAndCount" + "qualifiedName": "selector" }, "2177": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "2178": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "config" + "qualifiedName": "NoteService.create" }, "2179": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", @@ -145717,23 +145503,23 @@ }, "2180": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "NoteService.create" + "qualifiedName": "data" }, "2181": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "data" + "qualifiedName": "config" }, "2182": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "config" + "qualifiedName": "__type" }, "2183": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.metadata" }, "2184": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "__type.metadata" + "qualifiedName": "NoteService.update" }, "2185": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", @@ -145741,15 +145527,15 @@ }, "2186": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "NoteService.update" + "qualifiedName": "noteId" }, "2187": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "noteId" + "qualifiedName": "value" }, "2188": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "value" + "qualifiedName": "NoteService.delete" }, "2189": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", @@ -145757,19 +145543,19 @@ }, "2190": { "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "NoteService.delete" + "qualifiedName": "noteId" }, "2191": { - "sourceFileName": "../../../packages/medusa/src/services/note.ts", - "qualifiedName": "noteId" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "2192": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "2193": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "2194": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -145777,19 +145563,19 @@ }, "2195": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "2196": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "2197": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "2198": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "2199": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -145797,11 +145583,11 @@ }, "2200": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "2201": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "2202": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -145809,19 +145595,19 @@ }, "2203": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "2204": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "2205": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "2206": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "2207": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -145829,19 +145615,19 @@ }, "2208": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "2209": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "2210": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "2211": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "2212": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -145849,15 +145635,15 @@ }, "2213": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "2214": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "2215": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "2216": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -145865,15 +145651,15 @@ }, "2217": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "2218": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "2219": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "2220": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -145881,59 +145667,59 @@ }, "2221": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "2222": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "sourceFileName": "../../../packages/medusa/src/services/notification.ts", + "qualifiedName": "NotificationService" }, "2223": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "NotificationService" + "qualifiedName": "NotificationService.__constructor" }, "2224": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "NotificationService.__constructor" + "qualifiedName": "NotificationService" }, "2225": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "NotificationService" + "qualifiedName": "container" }, "2226": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "container" + "qualifiedName": "NotificationService.subscribers_" }, "2227": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "NotificationService.subscribers_" + "qualifiedName": "__object" }, "2228": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "__object" + "qualifiedName": "NotificationService.attachmentGenerator_" }, "2229": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "NotificationService.attachmentGenerator_" + "qualifiedName": "NotificationService.container_" }, "2230": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "NotificationService.container_" + "qualifiedName": "__type" }, "2231": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "__type" + "qualifiedName": "NotificationService.logger_" }, "2232": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "NotificationService.logger_" + "qualifiedName": "NotificationService.notificationRepository_" }, "2233": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "NotificationService.notificationRepository_" + "qualifiedName": "NotificationService.notificationProviderRepository_" }, "2234": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "NotificationService.notificationProviderRepository_" + "qualifiedName": "NotificationService.registerAttachmentGenerator" }, "2235": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", @@ -145941,11 +145727,11 @@ }, "2236": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "NotificationService.registerAttachmentGenerator" + "qualifiedName": "service" }, "2237": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "service" + "qualifiedName": "NotificationService.registerInstalledProviders" }, "2238": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", @@ -145953,11 +145739,11 @@ }, "2239": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "NotificationService.registerInstalledProviders" + "qualifiedName": "providerIds" }, "2240": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "providerIds" + "qualifiedName": "NotificationService.list" }, "2241": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", @@ -145965,15 +145751,15 @@ }, "2242": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "NotificationService.list" + "qualifiedName": "selector" }, "2243": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "2244": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "config" + "qualifiedName": "NotificationService.listAndCount" }, "2245": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", @@ -145981,15 +145767,15 @@ }, "2246": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "NotificationService.listAndCount" + "qualifiedName": "selector" }, "2247": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "2248": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "config" + "qualifiedName": "NotificationService.retrieve" }, "2249": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", @@ -145997,15 +145783,15 @@ }, "2250": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "NotificationService.retrieve" + "qualifiedName": "id" }, "2251": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "id" + "qualifiedName": "config" }, "2252": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "config" + "qualifiedName": "NotificationService.subscribe" }, "2253": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", @@ -146013,15 +145799,15 @@ }, "2254": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "NotificationService.subscribe" + "qualifiedName": "eventName" }, "2255": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "eventName" + "qualifiedName": "providerId" }, "2256": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "providerId" + "qualifiedName": "NotificationService.retrieveProvider_" }, "2257": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", @@ -146029,11 +145815,11 @@ }, "2258": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "NotificationService.retrieveProvider_" + "qualifiedName": "id" }, "2259": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "id" + "qualifiedName": "NotificationService.handleEvent" }, "2260": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", @@ -146041,15 +145827,15 @@ }, "2261": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "NotificationService.handleEvent" + "qualifiedName": "eventName" }, "2262": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "eventName" + "qualifiedName": "data" }, "2263": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "data" + "qualifiedName": "NotificationService.send" }, "2264": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", @@ -146057,19 +145843,19 @@ }, "2265": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "NotificationService.send" + "qualifiedName": "event" }, "2266": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "event" + "qualifiedName": "eventData" }, "2267": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "eventData" + "qualifiedName": "providerId" }, "2268": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "providerId" + "qualifiedName": "NotificationService.resend" }, "2269": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", @@ -146077,23 +145863,23 @@ }, "2270": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "NotificationService.resend" + "qualifiedName": "id" }, "2271": { "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "id" + "qualifiedName": "config" }, "2272": { - "sourceFileName": "../../../packages/medusa/src/services/notification.ts", - "qualifiedName": "config" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "2273": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "2274": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "2275": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -146101,19 +145887,19 @@ }, "2276": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "2277": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "2278": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "2279": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "2280": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -146121,11 +145907,11 @@ }, "2281": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "2282": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "2283": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -146133,19 +145919,19 @@ }, "2284": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "2285": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "2286": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "2287": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "2288": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -146153,19 +145939,19 @@ }, "2289": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "2290": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "2291": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "2292": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "2293": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -146173,15 +145959,15 @@ }, "2294": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "2295": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "2296": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "2297": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -146189,15 +145975,15 @@ }, "2298": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "2299": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "2300": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "2301": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -146205,55 +145991,55 @@ }, "2302": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "2303": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", + "qualifiedName": "Oauth" }, "2304": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "Oauth" + "qualifiedName": "Oauth.Events" }, "2305": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "Oauth.Events" + "qualifiedName": "__object" }, "2306": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "__object" + "qualifiedName": "__object.TOKEN_GENERATED" }, "2307": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "__object.TOKEN_GENERATED" + "qualifiedName": "__object.TOKEN_REFRESHED" }, "2308": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "__object.TOKEN_REFRESHED" + "qualifiedName": "Oauth.__constructor" }, "2309": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "Oauth.__constructor" + "qualifiedName": "Oauth" }, "2310": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "Oauth" + "qualifiedName": "cradle" }, "2311": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "cradle" + "qualifiedName": "Oauth.container_" }, "2312": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "Oauth.container_" + "qualifiedName": "Oauth.oauthRepository_" }, "2313": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "Oauth.oauthRepository_" + "qualifiedName": "Oauth.eventBus_" }, "2314": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "Oauth.eventBus_" + "qualifiedName": "Oauth.retrieveByName" }, "2315": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", @@ -146261,11 +146047,11 @@ }, "2316": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "Oauth.retrieveByName" + "qualifiedName": "appName" }, "2317": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "appName" + "qualifiedName": "Oauth.retrieve" }, "2318": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", @@ -146273,11 +146059,11 @@ }, "2319": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "Oauth.retrieve" + "qualifiedName": "oauthId" }, "2320": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "oauthId" + "qualifiedName": "Oauth.list" }, "2321": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", @@ -146285,11 +146071,11 @@ }, "2322": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "Oauth.list" + "qualifiedName": "selector" }, "2323": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "selector" + "qualifiedName": "Oauth.create" }, "2324": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", @@ -146297,11 +146083,11 @@ }, "2325": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "Oauth.create" + "qualifiedName": "data" }, "2326": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "data" + "qualifiedName": "Oauth.update" }, "2327": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", @@ -146309,15 +146095,15 @@ }, "2328": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "Oauth.update" + "qualifiedName": "id" }, "2329": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "id" + "qualifiedName": "update" }, "2330": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "update" + "qualifiedName": "Oauth.registerOauthApp" }, "2331": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", @@ -146325,11 +146111,11 @@ }, "2332": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "Oauth.registerOauthApp" + "qualifiedName": "appDetails" }, "2333": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "appDetails" + "qualifiedName": "Oauth.generateToken" }, "2334": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", @@ -146337,19 +146123,19 @@ }, "2335": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "Oauth.generateToken" + "qualifiedName": "appName" }, "2336": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "appName" + "qualifiedName": "code" }, "2337": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "code" + "qualifiedName": "state" }, "2338": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "state" + "qualifiedName": "Oauth.refreshToken" }, "2339": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", @@ -146357,19 +146143,19 @@ }, "2340": { "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "Oauth.refreshToken" + "qualifiedName": "appName" }, "2341": { - "sourceFileName": "../../../packages/medusa/src/services/oauth.ts", - "qualifiedName": "appName" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "2342": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "2343": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "2344": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -146377,19 +146163,19 @@ }, "2345": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "2346": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "2347": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "2348": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "2349": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -146397,11 +146183,11 @@ }, "2350": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "2351": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "2352": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -146409,19 +146195,19 @@ }, "2353": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "2354": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "2355": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "2356": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "2357": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -146429,19 +146215,19 @@ }, "2358": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "2359": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "2360": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "2361": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "2362": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -146449,15 +146235,15 @@ }, "2363": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "2364": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "2365": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "2366": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -146465,139 +146251,139 @@ }, "2367": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "2368": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "2369": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "2370": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, "2371": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" - }, - "2372": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "2373": { + "2372": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "OrderService" }, - "2374": { + "2373": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "OrderService.Events" }, - "2375": { + "2374": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "__object" }, - "2376": { + "2375": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "__object.GIFT_CARD_CREATED" }, - "2377": { + "2376": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "__object.PAYMENT_CAPTURED" }, - "2378": { + "2377": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "__object.PAYMENT_CAPTURE_FAILED" }, - "2379": { + "2378": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "__object.SHIPMENT_CREATED" }, - "2380": { + "2379": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "__object.FULFILLMENT_CREATED" }, - "2381": { + "2380": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "__object.FULFILLMENT_CANCELED" }, - "2382": { + "2381": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "__object.RETURN_REQUESTED" }, - "2383": { + "2382": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "__object.ITEMS_RETURNED" }, - "2384": { + "2383": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "__object.RETURN_ACTION_REQUIRED" }, - "2385": { + "2384": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "__object.REFUND_CREATED" }, - "2386": { + "2385": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "__object.REFUND_FAILED" }, - "2387": { + "2386": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "__object.SWAP_CREATED" }, - "2388": { + "2387": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "__object.PLACED" }, - "2389": { + "2388": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "__object.UPDATED" }, - "2390": { + "2389": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "__object.CANCELED" }, - "2391": { + "2390": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "__object.COMPLETED" }, - "2392": { + "2391": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "OrderService.__constructor" }, - "2393": { + "2392": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "OrderService" }, - "2394": { + "2393": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "__0" }, - "2395": { + "2394": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", "qualifiedName": "OrderService.orderRepository_" }, - "2396": { + "2395": { "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", "qualifiedName": "__object" }, + "2396": { + "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", + "qualifiedName": "__object.findWithRelations" + }, "2397": { "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", "qualifiedName": "__object.findWithRelations" }, "2398": { "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", - "qualifiedName": "__object.findWithRelations" + "qualifiedName": "relations" }, "2399": { "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", - "qualifiedName": "relations" + "qualifiedName": "optionsWithoutRelations" }, "2400": { "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", - "qualifiedName": "optionsWithoutRelations" + "qualifiedName": "__object.findOneWithRelations" }, "2401": { "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", @@ -146605,99 +146391,99 @@ }, "2402": { "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", - "qualifiedName": "__object.findOneWithRelations" + "qualifiedName": "relations" }, "2403": { "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", - "qualifiedName": "relations" + "qualifiedName": "optionsWithoutRelations" }, "2404": { - "sourceFileName": "../../../packages/medusa/src/repositories/order.ts", - "qualifiedName": "optionsWithoutRelations" + "sourceFileName": "../../../packages/medusa/src/services/order.ts", + "qualifiedName": "OrderService.customerService_" }, "2405": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.customerService_" + "qualifiedName": "OrderService.paymentProviderService_" }, "2406": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.paymentProviderService_" + "qualifiedName": "OrderService.shippingOptionService_" }, "2407": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.shippingOptionService_" + "qualifiedName": "OrderService.shippingProfileService_" }, "2408": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.shippingProfileService_" + "qualifiedName": "OrderService.discountService_" }, "2409": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.discountService_" + "qualifiedName": "OrderService.fulfillmentProviderService_" }, "2410": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.fulfillmentProviderService_" + "qualifiedName": "OrderService.fulfillmentService_" }, "2411": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.fulfillmentService_" + "qualifiedName": "OrderService.lineItemService_" }, "2412": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.lineItemService_" + "qualifiedName": "OrderService.totalsService_" }, "2413": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.totalsService_" + "qualifiedName": "OrderService.newTotalsService_" }, "2414": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.newTotalsService_" + "qualifiedName": "OrderService.taxProviderService_" }, "2415": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.taxProviderService_" + "qualifiedName": "OrderService.regionService_" }, "2416": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.regionService_" + "qualifiedName": "OrderService.cartService_" }, "2417": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.cartService_" + "qualifiedName": "OrderService.addressRepository_" }, "2418": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.addressRepository_" + "qualifiedName": "OrderService.giftCardService_" }, "2419": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.giftCardService_" + "qualifiedName": "OrderService.draftOrderService_" }, "2420": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.draftOrderService_" + "qualifiedName": "OrderService.inventoryService_" }, "2421": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.inventoryService_" + "qualifiedName": "OrderService.eventBus_" }, "2422": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.eventBus_" + "qualifiedName": "OrderService.featureFlagRouter_" }, "2423": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.featureFlagRouter_" + "qualifiedName": "OrderService.remoteLink_" }, "2424": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.remoteLink_" + "qualifiedName": "OrderService.productVariantInventoryService_" }, "2425": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.productVariantInventoryService_" + "qualifiedName": "OrderService.list" }, "2426": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -146705,15 +146491,15 @@ }, "2427": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.list" + "qualifiedName": "selector" }, "2428": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "2429": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "config" + "qualifiedName": "OrderService.listAndCount" }, "2430": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -146721,15 +146507,15 @@ }, "2431": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.listAndCount" + "qualifiedName": "selector" }, "2432": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "2433": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "config" + "qualifiedName": "OrderService.transformQueryForTotals" }, "2434": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -146737,27 +146523,27 @@ }, "2435": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.transformQueryForTotals" + "qualifiedName": "config" }, "2436": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "config" + "qualifiedName": "__type" }, "2437": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.relations" }, "2438": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "__type.relations" + "qualifiedName": "__type.select" }, "2439": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "__type.select" + "qualifiedName": "__type.totalsToSelect" }, "2440": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "__type.totalsToSelect" + "qualifiedName": "OrderService.retrieve" }, "2441": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -146765,15 +146551,15 @@ }, "2442": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.retrieve" + "qualifiedName": "orderId" }, "2443": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "orderId" + "qualifiedName": "config" }, "2444": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "config" + "qualifiedName": "OrderService.retrieveLegacy" }, "2445": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -146781,15 +146567,15 @@ }, "2446": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.retrieveLegacy" + "qualifiedName": "orderIdOrSelector" }, "2447": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "orderIdOrSelector" + "qualifiedName": "config" }, "2448": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "config" + "qualifiedName": "OrderService.retrieveWithTotals" }, "2449": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -146797,19 +146583,19 @@ }, "2450": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.retrieveWithTotals" + "qualifiedName": "orderId" }, "2451": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "orderId" + "qualifiedName": "options" }, "2452": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "options" + "qualifiedName": "context" }, "2453": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "context" + "qualifiedName": "OrderService.retrieveByCartId" }, "2454": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -146817,15 +146603,15 @@ }, "2455": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.retrieveByCartId" + "qualifiedName": "cartId" }, "2456": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "cartId" + "qualifiedName": "config" }, "2457": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "config" + "qualifiedName": "OrderService.retrieveByCartIdWithTotals" }, "2458": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -146833,15 +146619,15 @@ }, "2459": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.retrieveByCartIdWithTotals" + "qualifiedName": "cartId" }, "2460": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "cartId" + "qualifiedName": "options" }, "2461": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "options" + "qualifiedName": "OrderService.retrieveByExternalId" }, "2462": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -146849,15 +146635,15 @@ }, "2463": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.retrieveByExternalId" + "qualifiedName": "externalId" }, "2464": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "externalId" + "qualifiedName": "config" }, "2465": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "config" + "qualifiedName": "OrderService.completeOrder" }, "2466": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -146865,11 +146651,11 @@ }, "2467": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.completeOrder" + "qualifiedName": "orderId" }, "2468": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "orderId" + "qualifiedName": "OrderService.createFromCart" }, "2469": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -146877,11 +146663,11 @@ }, "2470": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.createFromCart" + "qualifiedName": "cartOrId" }, "2471": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "cartOrId" + "qualifiedName": "OrderService.createGiftCardsFromLineItem_" }, "2472": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -146889,19 +146675,19 @@ }, "2473": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.createGiftCardsFromLineItem_" + "qualifiedName": "order" }, "2474": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "order" + "qualifiedName": "lineItem" }, "2475": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "lineItem" + "qualifiedName": "manager" }, "2476": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "manager" + "qualifiedName": "OrderService.createShipment" }, "2477": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -146909,35 +146695,35 @@ }, "2478": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.createShipment" + "qualifiedName": "orderId" }, "2479": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "orderId" + "qualifiedName": "fulfillmentId" }, "2480": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "fulfillmentId" + "qualifiedName": "trackingLinks" }, "2481": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "trackingLinks" + "qualifiedName": "config" }, "2482": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "config" + "qualifiedName": "__type" }, "2483": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.no_notification" }, "2484": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "__type.no_notification" + "qualifiedName": "__type.metadata" }, "2485": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "__type.metadata" + "qualifiedName": "OrderService.updateBillingAddress" }, "2486": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -146945,15 +146731,15 @@ }, "2487": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.updateBillingAddress" + "qualifiedName": "order" }, "2488": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "order" + "qualifiedName": "address" }, "2489": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "address" + "qualifiedName": "OrderService.updateShippingAddress" }, "2490": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -146961,15 +146747,15 @@ }, "2491": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.updateShippingAddress" + "qualifiedName": "order" }, "2492": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "order" + "qualifiedName": "address" }, "2493": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "address" + "qualifiedName": "OrderService.addShippingMethod" }, "2494": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -146977,23 +146763,23 @@ }, "2495": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.addShippingMethod" + "qualifiedName": "orderId" }, "2496": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "orderId" + "qualifiedName": "optionId" }, "2497": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "optionId" + "qualifiedName": "data" }, "2498": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "data" + "qualifiedName": "config" }, "2499": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "config" + "qualifiedName": "OrderService.update" }, "2500": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -147001,15 +146787,15 @@ }, "2501": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.update" + "qualifiedName": "orderId" }, "2502": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "orderId" + "qualifiedName": "update" }, "2503": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "update" + "qualifiedName": "OrderService.cancel" }, "2504": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -147017,11 +146803,11 @@ }, "2505": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.cancel" + "qualifiedName": "orderId" }, "2506": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "orderId" + "qualifiedName": "OrderService.capturePayment" }, "2507": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -147029,11 +146815,11 @@ }, "2508": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.capturePayment" + "qualifiedName": "orderId" }, "2509": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "orderId" + "qualifiedName": "OrderService.validateFulfillmentLineItem" }, "2510": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -147041,15 +146827,15 @@ }, "2511": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.validateFulfillmentLineItem" + "qualifiedName": "item" }, "2512": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "item" + "qualifiedName": "quantity" }, "2513": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "quantity" + "qualifiedName": "OrderService.createFulfillment" }, "2514": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -147057,35 +146843,35 @@ }, "2515": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.createFulfillment" + "qualifiedName": "orderId" }, "2516": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "orderId" + "qualifiedName": "itemsToFulfill" }, "2517": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "itemsToFulfill" + "qualifiedName": "config" }, "2518": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "config" + "qualifiedName": "__type" }, "2519": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.no_notification" }, "2520": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "__type.no_notification" + "qualifiedName": "__type.location_id" }, "2521": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "__type.location_id" + "qualifiedName": "__type.metadata" }, "2522": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "__type.metadata" + "qualifiedName": "OrderService.cancelFulfillment" }, "2523": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -147093,11 +146879,11 @@ }, "2524": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.cancelFulfillment" + "qualifiedName": "fulfillmentId" }, "2525": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "fulfillmentId" + "qualifiedName": "OrderService.getFulfillmentItems" }, "2526": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -147105,19 +146891,19 @@ }, "2527": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.getFulfillmentItems" + "qualifiedName": "order" }, "2528": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "order" + "qualifiedName": "items" }, "2529": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "items" + "qualifiedName": "transformer" }, "2530": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "transformer" + "qualifiedName": "__type" }, "2531": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -147125,15 +146911,15 @@ }, "2532": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "__type" + "qualifiedName": "item" }, "2533": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "item" + "qualifiedName": "quantity" }, "2534": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "quantity" + "qualifiedName": "OrderService.archive" }, "2535": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -147141,11 +146927,11 @@ }, "2536": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.archive" + "qualifiedName": "orderId" }, "2537": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "orderId" + "qualifiedName": "OrderService.createRefund" }, "2538": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -147153,35 +146939,35 @@ }, "2539": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.createRefund" + "qualifiedName": "orderId" }, "2540": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "orderId" + "qualifiedName": "refundAmount" }, "2541": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "refundAmount" + "qualifiedName": "reason" }, "2542": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "reason" + "qualifiedName": "note" }, "2543": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "note" + "qualifiedName": "config" }, "2544": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "config" + "qualifiedName": "__type" }, "2545": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.no_notification" }, "2546": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "__type.no_notification" + "qualifiedName": "OrderService.decorateTotalsLegacy" }, "2547": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -147189,15 +146975,15 @@ }, "2548": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.decorateTotalsLegacy" + "qualifiedName": "order" }, "2549": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "order" + "qualifiedName": "totalsFields" }, "2550": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "totalsFields" + "qualifiedName": "OrderService.decorateTotals" }, "2551": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -147205,27 +146991,27 @@ }, "2552": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.decorateTotals" + "qualifiedName": "order" }, "2553": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "order" + "qualifiedName": "totalsFields" }, "2554": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "totalsFields" + "qualifiedName": "OrderService.decorateTotals" }, "2555": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.decorateTotals" + "qualifiedName": "order" }, "2556": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "order" + "qualifiedName": "context" }, "2557": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "context" + "qualifiedName": "OrderService.registerReturnReceived" }, "2558": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -147233,19 +147019,19 @@ }, "2559": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.registerReturnReceived" + "qualifiedName": "orderId" }, "2560": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "orderId" + "qualifiedName": "receivedReturn" }, "2561": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "receivedReturn" + "qualifiedName": "customRefundAmount" }, "2562": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "customRefundAmount" + "qualifiedName": "OrderService.getTotalsRelations" }, "2563": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", @@ -147253,19 +147039,19 @@ }, "2564": { "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "OrderService.getTotalsRelations" + "qualifiedName": "config" }, "2565": { - "sourceFileName": "../../../packages/medusa/src/services/order.ts", - "qualifiedName": "config" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "2566": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "2567": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "2568": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -147273,19 +147059,19 @@ }, "2569": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "2570": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "2571": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "2572": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "2573": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -147293,11 +147079,11 @@ }, "2574": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "2575": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "2576": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -147305,19 +147091,19 @@ }, "2577": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "2578": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "2579": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "2580": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "2581": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -147325,19 +147111,19 @@ }, "2582": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "2583": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "2584": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "2585": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "2586": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -147345,15 +147131,15 @@ }, "2587": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "2588": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "2589": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "2590": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -147361,15 +147147,15 @@ }, "2591": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "2592": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "2593": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "2594": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -147377,47 +147163,47 @@ }, "2595": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "2596": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", + "qualifiedName": "default" }, "2597": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default" + "qualifiedName": "default.Events" }, "2598": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.Events" + "qualifiedName": "__object" }, "2599": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__object" + "qualifiedName": "__object.CREATED" }, "2600": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__object.CREATED" + "qualifiedName": "__object.UPDATED" }, "2601": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__object.UPDATED" + "qualifiedName": "__object.DECLINED" }, "2602": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__object.DECLINED" + "qualifiedName": "__object.REQUESTED" }, "2603": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__object.REQUESTED" + "qualifiedName": "__object.CANCELED" }, "2604": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__object.CANCELED" + "qualifiedName": "__object.CONFIRMED" }, "2605": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__object.CONFIRMED" + "qualifiedName": "default.isOrderEditActive" }, "2606": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147425,59 +147211,59 @@ }, "2607": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.isOrderEditActive" + "qualifiedName": "orderEdit" }, "2608": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "orderEdit" + "qualifiedName": "default.__constructor" }, "2609": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.__constructor" + "qualifiedName": "default" }, "2610": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default" + "qualifiedName": "__0" }, "2611": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__0" + "qualifiedName": "default.orderEditRepository_" }, "2612": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.orderEditRepository_" + "qualifiedName": "default.orderService_" }, "2613": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.orderService_" + "qualifiedName": "default.totalsService_" }, "2614": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.totalsService_" + "qualifiedName": "default.newTotalsService_" }, "2615": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.newTotalsService_" + "qualifiedName": "default.lineItemService_" }, "2616": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.lineItemService_" + "qualifiedName": "default.eventBusService_" }, "2617": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.eventBusService_" + "qualifiedName": "default.taxProviderService_" }, "2618": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.taxProviderService_" + "qualifiedName": "default.lineItemAdjustmentService_" }, "2619": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.lineItemAdjustmentService_" + "qualifiedName": "default.orderEditItemChangeService_" }, "2620": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.orderEditItemChangeService_" + "qualifiedName": "default.inventoryService_" }, "2621": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147485,7 +147271,7 @@ }, "2622": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.inventoryService_" + "qualifiedName": "default.retrieve" }, "2623": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147493,15 +147279,15 @@ }, "2624": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.retrieve" + "qualifiedName": "orderEditId" }, "2625": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "orderEditId" + "qualifiedName": "config" }, "2626": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "config" + "qualifiedName": "default.listAndCount" }, "2627": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147509,23 +147295,23 @@ }, "2628": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.listAndCount" + "qualifiedName": "selector" }, "2629": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "selector" + "qualifiedName": "__type" }, "2630": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.q" }, "2631": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__type.q" + "qualifiedName": "config" }, "2632": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "config" + "qualifiedName": "default.list" }, "2633": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147533,15 +147319,15 @@ }, "2634": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.list" + "qualifiedName": "selector" }, "2635": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "2636": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "config" + "qualifiedName": "default.create" }, "2637": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147549,23 +147335,23 @@ }, "2638": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.create" + "qualifiedName": "data" }, "2639": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "data" + "qualifiedName": "context" }, "2640": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "context" + "qualifiedName": "__type" }, "2641": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.createdBy" }, "2642": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__type.createdBy" + "qualifiedName": "default.update" }, "2643": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147573,15 +147359,15 @@ }, "2644": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.update" + "qualifiedName": "orderEditId" }, "2645": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "orderEditId" + "qualifiedName": "data" }, "2646": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "data" + "qualifiedName": "default.delete" }, "2647": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147589,11 +147375,11 @@ }, "2648": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.delete" + "qualifiedName": "id" }, "2649": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "id" + "qualifiedName": "default.decline" }, "2650": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147601,27 +147387,27 @@ }, "2651": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.decline" + "qualifiedName": "orderEditId" }, "2652": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "orderEditId" + "qualifiedName": "context" }, "2653": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "context" + "qualifiedName": "__type" }, "2654": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.declinedReason" }, "2655": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__type.declinedReason" + "qualifiedName": "__type.declinedBy" }, "2656": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__type.declinedBy" + "qualifiedName": "default.updateLineItem" }, "2657": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147629,27 +147415,27 @@ }, "2658": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.updateLineItem" + "qualifiedName": "orderEditId" }, "2659": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "orderEditId" + "qualifiedName": "itemId" }, "2660": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "itemId" + "qualifiedName": "data" }, "2661": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "data" + "qualifiedName": "__type" }, "2662": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.quantity" }, "2663": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__type.quantity" + "qualifiedName": "default.removeLineItem" }, "2664": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147657,15 +147443,15 @@ }, "2665": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.removeLineItem" + "qualifiedName": "orderEditId" }, "2666": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "orderEditId" + "qualifiedName": "lineItemId" }, "2667": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "lineItemId" + "qualifiedName": "default.refreshAdjustments" }, "2668": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147673,23 +147459,23 @@ }, "2669": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.refreshAdjustments" + "qualifiedName": "orderEditId" }, "2670": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "orderEditId" + "qualifiedName": "config" }, "2671": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "config" + "qualifiedName": "__object" }, "2672": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__object" + "qualifiedName": "__object.preserveCustomAdjustments" }, "2673": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__object.preserveCustomAdjustments" + "qualifiedName": "default.decorateTotals" }, "2674": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147697,11 +147483,11 @@ }, "2675": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.decorateTotals" + "qualifiedName": "orderEdit" }, "2676": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "orderEdit" + "qualifiedName": "default.addLineItem" }, "2677": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147709,15 +147495,15 @@ }, "2678": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.addLineItem" + "qualifiedName": "orderEditId" }, "2679": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "orderEditId" + "qualifiedName": "data" }, "2680": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "data" + "qualifiedName": "default.deleteItemChange" }, "2681": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147725,15 +147511,15 @@ }, "2682": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.deleteItemChange" + "qualifiedName": "orderEditId" }, "2683": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "orderEditId" + "qualifiedName": "itemChangeId" }, "2684": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "itemChangeId" + "qualifiedName": "default.requestConfirmation" }, "2685": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147741,23 +147527,23 @@ }, "2686": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.requestConfirmation" + "qualifiedName": "orderEditId" }, "2687": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "orderEditId" + "qualifiedName": "context" }, "2688": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "context" + "qualifiedName": "__type" }, "2689": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.requestedBy" }, "2690": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__type.requestedBy" + "qualifiedName": "default.cancel" }, "2691": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147765,23 +147551,23 @@ }, "2692": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.cancel" + "qualifiedName": "orderEditId" }, "2693": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "orderEditId" + "qualifiedName": "context" }, "2694": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "context" + "qualifiedName": "__type" }, "2695": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.canceledBy" }, "2696": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__type.canceledBy" + "qualifiedName": "default.confirm" }, "2697": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147789,23 +147575,23 @@ }, "2698": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.confirm" + "qualifiedName": "orderEditId" }, "2699": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "orderEditId" + "qualifiedName": "context" }, "2700": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "context" + "qualifiedName": "__type" }, "2701": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.confirmedBy" }, "2702": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "__type.confirmedBy" + "qualifiedName": "default.retrieveActive" }, "2703": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147813,15 +147599,15 @@ }, "2704": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.retrieveActive" + "qualifiedName": "orderId" }, "2705": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "orderId" + "qualifiedName": "config" }, "2706": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "config" + "qualifiedName": "default.deleteClonedItems" }, "2707": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", @@ -147829,19 +147615,19 @@ }, "2708": { "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "default.deleteClonedItems" + "qualifiedName": "orderEditId" }, "2709": { - "sourceFileName": "../../../packages/medusa/src/services/order-edit.ts", - "qualifiedName": "orderEditId" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "2710": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "2711": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "2712": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -147849,19 +147635,19 @@ }, "2713": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "2714": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "2715": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "2716": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "2717": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -147869,11 +147655,11 @@ }, "2718": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "2719": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "2720": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -147881,19 +147667,19 @@ }, "2721": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "2722": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "2723": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "2724": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "2725": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -147901,19 +147687,19 @@ }, "2726": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "2727": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "2728": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "2729": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "2730": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -147921,15 +147707,15 @@ }, "2731": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "2732": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "2733": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "2734": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -147937,15 +147723,15 @@ }, "2735": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "2736": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "2737": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "2738": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -147953,59 +147739,59 @@ }, "2739": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "2740": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", + "qualifiedName": "default" }, "2741": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "default" + "qualifiedName": "default.Events" }, "2742": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "default.Events" + "qualifiedName": "__object" }, "2743": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "__object" + "qualifiedName": "__object.CREATED" }, "2744": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "__object.CREATED" + "qualifiedName": "__object.DELETED" }, "2745": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "__object.DELETED" + "qualifiedName": "default.__constructor" }, "2746": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "default.__constructor" + "qualifiedName": "default" }, "2747": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "default" + "qualifiedName": "__0" }, "2748": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "__0" + "qualifiedName": "default.orderItemChangeRepository_" }, "2749": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "default.orderItemChangeRepository_" + "qualifiedName": "default.eventBus_" }, "2750": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "default.eventBus_" + "qualifiedName": "default.lineItemService_" }, "2751": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "default.lineItemService_" + "qualifiedName": "default.taxProviderService_" }, "2752": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "default.taxProviderService_" + "qualifiedName": "default.retrieve" }, "2753": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", @@ -148013,15 +147799,15 @@ }, "2754": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "default.retrieve" + "qualifiedName": "id" }, "2755": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "id" + "qualifiedName": "config" }, "2756": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "config" + "qualifiedName": "default.list" }, "2757": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", @@ -148029,15 +147815,15 @@ }, "2758": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "default.list" + "qualifiedName": "selector" }, "2759": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "2760": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "config" + "qualifiedName": "default.create" }, "2761": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", @@ -148045,11 +147831,11 @@ }, "2762": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "default.create" + "qualifiedName": "data" }, "2763": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "data" + "qualifiedName": "default.delete" }, "2764": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", @@ -148057,19 +147843,19 @@ }, "2765": { "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "default.delete" + "qualifiedName": "itemChangeIds" }, "2766": { - "sourceFileName": "../../../packages/medusa/src/services/order-edit-item-change.ts", - "qualifiedName": "itemChangeIds" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "2767": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "2768": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "2769": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148077,19 +147863,19 @@ }, "2770": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "2771": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "2772": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "2773": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "2774": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148097,11 +147883,11 @@ }, "2775": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "2776": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "2777": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148109,19 +147895,19 @@ }, "2778": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "2779": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "2780": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "2781": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "2782": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148129,19 +147915,19 @@ }, "2783": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "2784": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "2785": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "2786": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "2787": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148149,15 +147935,15 @@ }, "2788": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "2789": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "2790": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "2791": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148165,15 +147951,15 @@ }, "2792": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "2793": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "2794": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "2795": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148181,71 +147967,71 @@ }, "2796": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "2797": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "sourceFileName": "../../../packages/medusa/src/services/payment.ts", + "qualifiedName": "default" }, "2798": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "default" + "qualifiedName": "default.Events" }, "2799": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "default.Events" + "qualifiedName": "__object" }, "2800": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "__object" + "qualifiedName": "__object.CREATED" }, "2801": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "__object.CREATED" + "qualifiedName": "__object.UPDATED" }, "2802": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "__object.UPDATED" + "qualifiedName": "__object.PAYMENT_CAPTURED" }, "2803": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "__object.PAYMENT_CAPTURED" + "qualifiedName": "__object.PAYMENT_CAPTURE_FAILED" }, "2804": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "__object.PAYMENT_CAPTURE_FAILED" + "qualifiedName": "__object.REFUND_CREATED" }, "2805": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "__object.REFUND_CREATED" + "qualifiedName": "__object.REFUND_FAILED" }, "2806": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "__object.REFUND_FAILED" + "qualifiedName": "default.__constructor" }, "2807": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "default.__constructor" + "qualifiedName": "default" }, "2808": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "default" + "qualifiedName": "__0" }, "2809": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "__0" + "qualifiedName": "default.eventBusService_" }, "2810": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "default.eventBusService_" + "qualifiedName": "default.paymentProviderService_" }, "2811": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "default.paymentProviderService_" + "qualifiedName": "default.paymentRepository_" }, "2812": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "default.paymentRepository_" + "qualifiedName": "default.retrieve" }, "2813": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", @@ -148253,15 +148039,15 @@ }, "2814": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "default.retrieve" + "qualifiedName": "paymentId" }, "2815": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "paymentId" + "qualifiedName": "config" }, "2816": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "config" + "qualifiedName": "default.create" }, "2817": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", @@ -148269,11 +148055,11 @@ }, "2818": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "default.create" + "qualifiedName": "paymentInput" }, "2819": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "paymentInput" + "qualifiedName": "default.update" }, "2820": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", @@ -148281,27 +148067,27 @@ }, "2821": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "default.update" + "qualifiedName": "paymentId" }, "2822": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "paymentId" + "qualifiedName": "data" }, "2823": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "data" + "qualifiedName": "__type" }, "2824": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.order_id" }, "2825": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "__type.order_id" + "qualifiedName": "__type.swap_id" }, "2826": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "__type.swap_id" + "qualifiedName": "default.capture" }, "2827": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", @@ -148309,11 +148095,11 @@ }, "2828": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "default.capture" + "qualifiedName": "paymentOrId" }, "2829": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "paymentOrId" + "qualifiedName": "default.refund" }, "2830": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", @@ -148321,31 +148107,31 @@ }, "2831": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "default.refund" + "qualifiedName": "paymentOrId" }, "2832": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "paymentOrId" + "qualifiedName": "amount" }, "2833": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "amount" + "qualifiedName": "reason" }, "2834": { "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "reason" + "qualifiedName": "note" }, "2835": { - "sourceFileName": "../../../packages/medusa/src/services/payment.ts", - "qualifiedName": "note" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "2836": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "2837": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "2838": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148353,19 +148139,19 @@ }, "2839": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "2840": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "2841": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "2842": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "2843": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148373,11 +148159,11 @@ }, "2844": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "2845": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "2846": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148385,19 +148171,19 @@ }, "2847": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "2848": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "2849": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "2850": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "2851": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148405,19 +148191,19 @@ }, "2852": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "2853": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "2854": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "2855": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "2856": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148425,15 +148211,15 @@ }, "2857": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "2858": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "2859": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "2860": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148441,103 +148227,103 @@ }, "2861": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "2862": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "2863": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "2864": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, "2865": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" - }, - "2866": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "2867": { + "2866": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", "qualifiedName": "default" }, - "2868": { + "2867": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", "qualifiedName": "default.Events" }, - "2869": { + "2868": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", "qualifiedName": "__object" }, - "2870": { + "2869": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", "qualifiedName": "__object.CREATED" }, - "2871": { + "2870": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", "qualifiedName": "__object.UPDATED" }, - "2872": { + "2871": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", "qualifiedName": "__object.DELETED" }, - "2873": { + "2872": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", "qualifiedName": "__object.PAYMENT_AUTHORIZED" }, - "2874": { + "2873": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", "qualifiedName": "default.__constructor" }, - "2875": { + "2874": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", "qualifiedName": "default" }, - "2876": { + "2875": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", "qualifiedName": "__0" }, - "2877": { + "2876": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", "qualifiedName": "default.eventBusService_" }, - "2878": { + "2877": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", "qualifiedName": "default.paymentProviderService_" }, - "2879": { + "2878": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", "qualifiedName": "default.customerService_" }, - "2880": { + "2879": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", "qualifiedName": "default.paymentCollectionRepository_" }, - "2881": { + "2880": { "sourceFileName": "../../../packages/medusa/src/repositories/payment-collection.ts", "qualifiedName": "__object" }, + "2881": { + "sourceFileName": "../../../packages/medusa/src/repositories/payment-collection.ts", + "qualifiedName": "__object.getPaymentCollectionIdBySessionId" + }, "2882": { "sourceFileName": "../../../packages/medusa/src/repositories/payment-collection.ts", "qualifiedName": "__object.getPaymentCollectionIdBySessionId" }, "2883": { "sourceFileName": "../../../packages/medusa/src/repositories/payment-collection.ts", - "qualifiedName": "__object.getPaymentCollectionIdBySessionId" + "qualifiedName": "sessionId" }, "2884": { "sourceFileName": "../../../packages/medusa/src/repositories/payment-collection.ts", - "qualifiedName": "sessionId" + "qualifiedName": "config" }, "2885": { "sourceFileName": "../../../packages/medusa/src/repositories/payment-collection.ts", - "qualifiedName": "config" + "qualifiedName": "__object.getPaymentCollectionIdByPaymentId" }, "2886": { "sourceFileName": "../../../packages/medusa/src/repositories/payment-collection.ts", @@ -148545,15 +148331,15 @@ }, "2887": { "sourceFileName": "../../../packages/medusa/src/repositories/payment-collection.ts", - "qualifiedName": "__object.getPaymentCollectionIdByPaymentId" + "qualifiedName": "paymentId" }, "2888": { "sourceFileName": "../../../packages/medusa/src/repositories/payment-collection.ts", - "qualifiedName": "paymentId" + "qualifiedName": "config" }, "2889": { - "sourceFileName": "../../../packages/medusa/src/repositories/payment-collection.ts", - "qualifiedName": "config" + "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", + "qualifiedName": "default.retrieve" }, "2890": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", @@ -148561,15 +148347,15 @@ }, "2891": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "default.retrieve" + "qualifiedName": "paymentCollectionId" }, "2892": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "paymentCollectionId" + "qualifiedName": "config" }, "2893": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "config" + "qualifiedName": "default.create" }, "2894": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", @@ -148577,11 +148363,11 @@ }, "2895": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "default.create" + "qualifiedName": "data" }, "2896": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "data" + "qualifiedName": "default.update" }, "2897": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", @@ -148589,15 +148375,15 @@ }, "2898": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "default.update" + "qualifiedName": "paymentCollectionId" }, "2899": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "paymentCollectionId" + "qualifiedName": "data" }, "2900": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "data" + "qualifiedName": "default.delete" }, "2901": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", @@ -148605,11 +148391,11 @@ }, "2902": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "default.delete" + "qualifiedName": "paymentCollectionId" }, "2903": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "paymentCollectionId" + "qualifiedName": "default.isValidTotalAmount" }, "2904": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", @@ -148617,15 +148403,15 @@ }, "2905": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "default.isValidTotalAmount" + "qualifiedName": "total" }, "2906": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "total" + "qualifiedName": "sessionsInput" }, "2907": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "sessionsInput" + "qualifiedName": "default.setPaymentSessionsBatch" }, "2908": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", @@ -148633,19 +148419,19 @@ }, "2909": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "default.setPaymentSessionsBatch" + "qualifiedName": "paymentCollectionOrId" }, "2910": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "paymentCollectionOrId" + "qualifiedName": "sessionsInput" }, "2911": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "sessionsInput" + "qualifiedName": "customerId" }, "2912": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "customerId" + "qualifiedName": "default.setPaymentSession" }, "2913": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", @@ -148653,19 +148439,19 @@ }, "2914": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "default.setPaymentSession" + "qualifiedName": "paymentCollectionId" }, "2915": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "paymentCollectionId" + "qualifiedName": "sessionInput" }, "2916": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "sessionInput" + "qualifiedName": "customerId" }, "2917": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "customerId" + "qualifiedName": "default.refreshPaymentSession" }, "2918": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", @@ -148673,19 +148459,19 @@ }, "2919": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "default.refreshPaymentSession" + "qualifiedName": "paymentCollectionId" }, "2920": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "paymentCollectionId" + "qualifiedName": "sessionId" }, "2921": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "sessionId" + "qualifiedName": "customerId" }, "2922": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "customerId" + "qualifiedName": "default.markAsAuthorized" }, "2923": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", @@ -148693,11 +148479,11 @@ }, "2924": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "default.markAsAuthorized" + "qualifiedName": "paymentCollectionId" }, "2925": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "paymentCollectionId" + "qualifiedName": "default.authorizePaymentSessions" }, "2926": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", @@ -148705,27 +148491,27 @@ }, "2927": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "default.authorizePaymentSessions" + "qualifiedName": "paymentCollectionId" }, "2928": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "paymentCollectionId" + "qualifiedName": "sessionIds" }, "2929": { "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "sessionIds" + "qualifiedName": "context" }, "2930": { - "sourceFileName": "../../../packages/medusa/src/services/payment-collection.ts", - "qualifiedName": "context" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "2931": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "2932": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "2933": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148733,19 +148519,19 @@ }, "2934": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "2935": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "2936": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "2937": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "2938": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148753,11 +148539,11 @@ }, "2939": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "2940": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "2941": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148765,19 +148551,19 @@ }, "2942": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "2943": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "2944": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "2945": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "2946": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148785,19 +148571,19 @@ }, "2947": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "2948": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "2949": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "2950": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "2951": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148805,15 +148591,15 @@ }, "2952": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "2953": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "2954": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "2955": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148821,15 +148607,15 @@ }, "2956": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "2957": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "2958": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "2959": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -148837,43 +148623,43 @@ }, "2960": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "2961": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", + "qualifiedName": "default" }, "2962": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default" + "qualifiedName": "default.__constructor" }, "2963": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.__constructor" + "qualifiedName": "default" }, "2964": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default" + "qualifiedName": "container" }, "2965": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "container" + "qualifiedName": "default.container_" }, "2966": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.container_" + "qualifiedName": "default.paymentSessionRepository_" }, "2967": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.paymentSessionRepository_" + "qualifiedName": "default.paymentProviderRepository_" }, "2968": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.paymentProviderRepository_" + "qualifiedName": "default.paymentRepository_" }, "2969": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.paymentRepository_" + "qualifiedName": "default.paymentService_" }, "2970": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -148881,23 +148667,23 @@ }, "2971": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.paymentService_" + "qualifiedName": "default.refundRepository_" }, "2972": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.refundRepository_" + "qualifiedName": "default.customerService_" }, "2973": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.customerService_" + "qualifiedName": "default.logger_" }, "2974": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.logger_" + "qualifiedName": "default.featureFlagRouter_" }, "2975": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.featureFlagRouter_" + "qualifiedName": "default.registerInstalledProviders" }, "2976": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -148905,11 +148691,11 @@ }, "2977": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.registerInstalledProviders" + "qualifiedName": "providerIds" }, "2978": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "providerIds" + "qualifiedName": "default.list" }, "2979": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -148917,7 +148703,7 @@ }, "2980": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.list" + "qualifiedName": "default.retrievePayment" }, "2981": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -148925,15 +148711,15 @@ }, "2982": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.retrievePayment" + "qualifiedName": "paymentId" }, "2983": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "paymentId" + "qualifiedName": "relations" }, "2984": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "relations" + "qualifiedName": "default.listPayments" }, "2985": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -148941,15 +148727,15 @@ }, "2986": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.listPayments" + "qualifiedName": "selector" }, "2987": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "2988": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "config" + "qualifiedName": "default.retrieveSession" }, "2989": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -148957,15 +148743,15 @@ }, "2990": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.retrieveSession" + "qualifiedName": "paymentSessionId" }, "2991": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "paymentSessionId" + "qualifiedName": "relations" }, "2992": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "relations" + "qualifiedName": "default.createSession" }, "2993": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -148973,23 +148759,23 @@ }, "2994": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.createSession" + "qualifiedName": "providerId" }, "2995": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "providerId" + "qualifiedName": "cart" }, "2996": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "cart" + "qualifiedName": "default.createSession" }, "2997": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.createSession" + "qualifiedName": "sessionInput" }, "2998": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "sessionInput" + "qualifiedName": "default.refreshSession" }, "2999": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -148997,31 +148783,31 @@ }, "3000": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.refreshSession" + "qualifiedName": "paymentSession" }, "3001": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "paymentSession" + "qualifiedName": "__type" }, "3002": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.id" }, "3003": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type.id" + "qualifiedName": "__type.data" }, "3004": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type.data" + "qualifiedName": "__type.provider_id" }, "3005": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type.provider_id" + "qualifiedName": "sessionInput" }, "3006": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "sessionInput" + "qualifiedName": "default.updateSession" }, "3007": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -149029,31 +148815,31 @@ }, "3008": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.updateSession" + "qualifiedName": "paymentSession" }, "3009": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "paymentSession" + "qualifiedName": "__type" }, "3010": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.id" }, "3011": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type.id" + "qualifiedName": "__type.data" }, "3012": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type.data" + "qualifiedName": "__type.provider_id" }, "3013": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type.provider_id" + "qualifiedName": "sessionInput" }, "3014": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "sessionInput" + "qualifiedName": "default.deleteSession" }, "3015": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -149061,11 +148847,11 @@ }, "3016": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.deleteSession" + "qualifiedName": "paymentSession" }, "3017": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "paymentSession" + "qualifiedName": "default.retrieveProvider" }, "3018": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -149073,15 +148859,15 @@ }, "3019": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.retrieveProvider" + "qualifiedName": "TProvider" }, "3020": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "TProvider" + "qualifiedName": "providerId" }, "3021": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "providerId" + "qualifiedName": "default.createPayment" }, "3022": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -149089,11 +148875,11 @@ }, "3023": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.createPayment" + "qualifiedName": "data" }, "3024": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "data" + "qualifiedName": "default.updatePayment" }, "3025": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -149101,27 +148887,27 @@ }, "3026": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.updatePayment" + "qualifiedName": "paymentId" }, "3027": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "paymentId" + "qualifiedName": "data" }, "3028": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "data" + "qualifiedName": "__type" }, "3029": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.order_id" }, "3030": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type.order_id" + "qualifiedName": "__type.swap_id" }, "3031": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type.swap_id" + "qualifiedName": "default.authorizePayment" }, "3032": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -149129,15 +148915,15 @@ }, "3033": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.authorizePayment" + "qualifiedName": "paymentSession" }, "3034": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "paymentSession" + "qualifiedName": "context" }, "3035": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "context" + "qualifiedName": "default.updateSessionData" }, "3036": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -149145,15 +148931,15 @@ }, "3037": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.updateSessionData" + "qualifiedName": "paymentSession" }, "3038": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "paymentSession" + "qualifiedName": "data" }, "3039": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "data" + "qualifiedName": "default.cancelPayment" }, "3040": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -149161,19 +148947,19 @@ }, "3041": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.cancelPayment" + "qualifiedName": "paymentObj" }, "3042": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "paymentObj" + "qualifiedName": "__type" }, "3043": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.id" }, "3044": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type.id" + "qualifiedName": "default.getStatus" }, "3045": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -149181,11 +148967,11 @@ }, "3046": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.getStatus" + "qualifiedName": "payment" }, "3047": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "payment" + "qualifiedName": "default.capturePayment" }, "3048": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -149193,19 +148979,19 @@ }, "3049": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.capturePayment" + "qualifiedName": "paymentObj" }, "3050": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "paymentObj" + "qualifiedName": "__type" }, "3051": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.id" }, "3052": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type.id" + "qualifiedName": "default.refundPayment" }, "3053": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -149213,23 +148999,23 @@ }, "3054": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.refundPayment" + "qualifiedName": "payObjs" }, "3055": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "payObjs" + "qualifiedName": "amount" }, "3056": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "amount" + "qualifiedName": "reason" }, "3057": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "reason" + "qualifiedName": "note" }, "3058": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "note" + "qualifiedName": "default.refundFromPayment" }, "3059": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -149237,23 +149023,23 @@ }, "3060": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.refundFromPayment" + "qualifiedName": "payment" }, "3061": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "payment" + "qualifiedName": "amount" }, "3062": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "amount" + "qualifiedName": "reason" }, "3063": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "reason" + "qualifiedName": "note" }, "3064": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "note" + "qualifiedName": "default.retrieveRefund" }, "3065": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -149261,15 +149047,15 @@ }, "3066": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.retrieveRefund" + "qualifiedName": "id" }, "3067": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "id" + "qualifiedName": "config" }, "3068": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "config" + "qualifiedName": "default.buildPaymentProcessorContext" }, "3069": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -149277,11 +149063,11 @@ }, "3070": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.buildPaymentProcessorContext" + "qualifiedName": "cartOrData" }, "3071": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "cartOrData" + "qualifiedName": "default.saveSession" }, "3072": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -149289,47 +149075,47 @@ }, "3073": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.saveSession" + "qualifiedName": "providerId" }, "3074": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "providerId" + "qualifiedName": "data" }, "3075": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "data" + "qualifiedName": "__type" }, "3076": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.payment_session_id" }, "3077": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type.payment_session_id" + "qualifiedName": "__type.cartId" }, "3078": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type.cartId" + "qualifiedName": "__type.amount" }, "3079": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type.amount" + "qualifiedName": "__type.sessionData" }, "3080": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type.sessionData" + "qualifiedName": "__type.isSelected" }, "3081": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type.isSelected" + "qualifiedName": "__type.isInitiated" }, "3082": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type.isInitiated" + "qualifiedName": "__type.status" }, "3083": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type.status" + "qualifiedName": "default.processUpdateRequestsData" }, "3084": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -149337,31 +149123,31 @@ }, "3085": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.processUpdateRequestsData" + "qualifiedName": "data" }, "3086": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "data" + "qualifiedName": "__type" }, "3087": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.customer" }, "3088": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type.customer" + "qualifiedName": "__type" }, "3089": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.id" }, "3090": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "__type.id" + "qualifiedName": "paymentResponse" }, "3091": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "paymentResponse" + "qualifiedName": "default.throwFromPaymentProcessorError" }, "3092": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", @@ -149369,19 +149155,19 @@ }, "3093": { "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "default.throwFromPaymentProcessorError" + "qualifiedName": "errObj" }, "3094": { - "sourceFileName": "../../../packages/medusa/src/services/payment-provider.ts", - "qualifiedName": "errObj" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "3095": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "3096": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "3097": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -149389,19 +149175,19 @@ }, "3098": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "3099": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "3100": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "3101": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "3102": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -149409,11 +149195,11 @@ }, "3103": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "3104": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "3105": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -149421,19 +149207,19 @@ }, "3106": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "3107": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "3108": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "3109": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "3110": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -149441,19 +149227,19 @@ }, "3111": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "3112": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "3113": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "3114": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "3115": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -149461,15 +149247,15 @@ }, "3116": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "3117": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "3118": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "3119": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -149477,123 +149263,123 @@ }, "3120": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "3121": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "3122": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "3123": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, "3124": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" - }, - "3125": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3126": { + "3125": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", "qualifiedName": "PriceListService" }, - "3127": { + "3126": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", "qualifiedName": "PriceListService.__constructor" }, - "3128": { + "3127": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", "qualifiedName": "PriceListService" }, - "3129": { + "3128": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", "qualifiedName": "__0" }, - "3130": { + "3129": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", "qualifiedName": "PriceListService.customerGroupService_" }, - "3131": { + "3130": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", "qualifiedName": "PriceListService.regionService_" }, - "3132": { + "3131": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", "qualifiedName": "PriceListService.productService_" }, - "3133": { + "3132": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", "qualifiedName": "PriceListService.variantService_" }, - "3134": { + "3133": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", "qualifiedName": "PriceListService.priceListRepo_" }, - "3135": { + "3134": { "sourceFileName": "../../../packages/medusa/src/repositories/price-list.ts", "qualifiedName": "__object" }, - "3136": { + "3135": { "sourceFileName": "../../../packages/medusa/src/repositories/price-list.ts", "qualifiedName": "__object.listAndCount" }, - "3137": { + "3136": { "sourceFileName": "../../../packages/medusa/src/repositories/price-list.ts", "qualifiedName": "__object.listAndCount" }, - "3138": { + "3137": { "sourceFileName": "../../../packages/medusa/src/repositories/price-list.ts", "qualifiedName": "query" }, - "3139": { + "3138": { "sourceFileName": "../../../packages/medusa/src/repositories/price-list.ts", "qualifiedName": "q" }, - "3140": { + "3139": { "sourceFileName": "../../../packages/medusa/src/repositories/price-list.ts", "qualifiedName": "__object.listPriceListsVariantIdsMap" }, - "3141": { + "3140": { "sourceFileName": "../../../packages/medusa/src/repositories/price-list.ts", "qualifiedName": "__object.listPriceListsVariantIdsMap" }, - "3142": { + "3141": { "sourceFileName": "../../../packages/medusa/src/repositories/price-list.ts", "qualifiedName": "priceListIds" }, - "3143": { + "3142": { "sourceFileName": "../../../packages/medusa/src/repositories/price-list.ts", "qualifiedName": "__type" }, - "3144": { + "3143": { "sourceFileName": "../../../packages/medusa/src/repositories/price-list.ts", "qualifiedName": "__type.__index" }, - "3146": { + "3145": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", "qualifiedName": "PriceListService.moneyAmountRepo_" }, - "3147": { + "3146": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object" }, + "3147": { + "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", + "qualifiedName": "__object.insertBulk" + }, "3148": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.insertBulk" }, "3149": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "__object.insertBulk" + "qualifiedName": "data" }, "3150": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "data" + "qualifiedName": "__object.findVariantPricesNotIn" }, "3151": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", @@ -149601,15 +149387,15 @@ }, "3152": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "__object.findVariantPricesNotIn" + "qualifiedName": "variantId" }, "3153": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "variantId" + "qualifiedName": "prices" }, "3154": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "prices" + "qualifiedName": "__object.deleteVariantPricesNotIn" }, "3155": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", @@ -149617,27 +149403,27 @@ }, "3156": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "__object.deleteVariantPricesNotIn" + "qualifiedName": "variantIdOrData" }, "3157": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "variantIdOrData" + "qualifiedName": "__type" }, "3158": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.variantId" }, "3159": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "__type.variantId" + "qualifiedName": "__type.prices" }, "3160": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "__type.prices" + "qualifiedName": "prices" }, "3161": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "prices" + "qualifiedName": "__object.upsertVariantCurrencyPrice" }, "3162": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", @@ -149645,15 +149431,15 @@ }, "3163": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "__object.upsertVariantCurrencyPrice" + "qualifiedName": "variantId" }, "3164": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "variantId" + "qualifiedName": "price" }, "3165": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "price" + "qualifiedName": "__object.addPriceListPrices" }, "3166": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", @@ -149661,19 +149447,19 @@ }, "3167": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "__object.addPriceListPrices" + "qualifiedName": "priceListId" }, "3168": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "priceListId" + "qualifiedName": "prices" }, "3169": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "prices" + "qualifiedName": "overrideExisting" }, "3170": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "overrideExisting" + "qualifiedName": "__object.deletePriceListPrices" }, "3171": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", @@ -149681,15 +149467,15 @@ }, "3172": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "__object.deletePriceListPrices" + "qualifiedName": "priceListId" }, "3173": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "priceListId" + "qualifiedName": "moneyAmountIds" }, "3174": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "moneyAmountIds" + "qualifiedName": "__object.findManyForVariantInPriceList" }, "3175": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", @@ -149697,19 +149483,19 @@ }, "3176": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "__object.findManyForVariantInPriceList" + "qualifiedName": "variant_id" }, "3177": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "variant_id" + "qualifiedName": "price_list_id" }, "3178": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "price_list_id" + "qualifiedName": "requiresPriceList" }, "3179": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "requiresPriceList" + "qualifiedName": "__object.findManyForVariantInRegion" }, "3180": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", @@ -149717,247 +149503,247 @@ }, "3181": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "__object.findManyForVariantInRegion" + "qualifiedName": "variant_id" }, "3182": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "variant_id" + "qualifiedName": "region_id" }, "3183": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "region_id" + "qualifiedName": "currency_code" }, "3184": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "currency_code" + "qualifiedName": "customer_id" }, "3185": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "customer_id" + "qualifiedName": "include_discount_prices" }, "3186": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "include_discount_prices" + "qualifiedName": "include_tax_inclusive_pricing" }, "3187": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "include_tax_inclusive_pricing" + "qualifiedName": "__object.findCurrencyMoneyAmounts" }, "3188": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.findCurrencyMoneyAmounts" }, "3189": { - "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "__object.findCurrencyMoneyAmounts" - }, - "3190": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "where" }, - "3191": { + "3190": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__type" }, - "3192": { + "3191": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__type.variant_id" }, - "3193": { + "3192": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__type.currency_code" }, - "3194": { + "3193": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object" }, - "3195": { + "3194": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.variant_id" }, - "3196": { + "3195": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.currency_code" }, - "3197": { + "3196": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.currency" }, - "3198": { + "3197": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.amount" }, - "3199": { + "3198": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.min_quantity" }, - "3200": { + "3199": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.max_quantity" }, - "3201": { + "3200": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.price_list_id" }, - "3202": { + "3201": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.price_list" }, - "3203": { + "3202": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.variants" }, - "3204": { + "3203": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.variant" }, - "3205": { + "3204": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.region_id" }, - "3206": { + "3205": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.region" }, - "3207": { + "3206": { "sourceFileName": "../../../packages/medusa/src/interfaces/models/soft-deletable-entity.ts", "qualifiedName": "SoftDeletableEntity.deleted_at" }, - "3208": { + "3207": { "sourceFileName": "../../../packages/medusa/src/interfaces/models/base-entity.ts", "qualifiedName": "BaseEntity.id" }, - "3209": { + "3208": { "sourceFileName": "../../../packages/medusa/src/interfaces/models/base-entity.ts", "qualifiedName": "BaseEntity.created_at" }, - "3210": { + "3209": { "sourceFileName": "../../../packages/medusa/src/interfaces/models/base-entity.ts", "qualifiedName": "BaseEntity.updated_at" }, - "3211": { + "3210": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.findRegionMoneyAmounts" }, - "3212": { + "3211": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.findRegionMoneyAmounts" }, - "3213": { + "3212": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "where" }, - "3214": { + "3213": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__type" }, - "3215": { + "3214": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__type.variant_id" }, - "3216": { + "3215": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__type.region_id" }, - "3217": { + "3216": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object" }, - "3218": { + "3217": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.variant_id" }, - "3219": { + "3218": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.currency_code" }, - "3220": { + "3219": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.currency" }, - "3221": { + "3220": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.amount" }, - "3222": { + "3221": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.min_quantity" }, - "3223": { + "3222": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.max_quantity" }, - "3224": { + "3223": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.price_list_id" }, - "3225": { + "3224": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.price_list" }, - "3226": { + "3225": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.variants" }, - "3227": { + "3226": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.variant" }, - "3228": { + "3227": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.region_id" }, - "3229": { + "3228": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.region" }, - "3230": { + "3229": { "sourceFileName": "../../../packages/medusa/src/interfaces/models/soft-deletable-entity.ts", "qualifiedName": "SoftDeletableEntity.deleted_at" }, - "3231": { + "3230": { "sourceFileName": "../../../packages/medusa/src/interfaces/models/base-entity.ts", "qualifiedName": "BaseEntity.id" }, - "3232": { + "3231": { "sourceFileName": "../../../packages/medusa/src/interfaces/models/base-entity.ts", "qualifiedName": "BaseEntity.created_at" }, - "3233": { + "3232": { "sourceFileName": "../../../packages/medusa/src/interfaces/models/base-entity.ts", "qualifiedName": "BaseEntity.updated_at" }, + "3233": { + "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", + "qualifiedName": "__object.findManyForVariantsInRegion" + }, "3234": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.findManyForVariantsInRegion" }, "3235": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "__object.findManyForVariantsInRegion" + "qualifiedName": "variant_ids" }, "3236": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "variant_ids" + "qualifiedName": "region_id" }, "3237": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "region_id" + "qualifiedName": "currency_code" }, "3238": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "currency_code" + "qualifiedName": "customer_id" }, "3239": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "customer_id" + "qualifiedName": "include_discount_prices" }, "3240": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "include_discount_prices" + "qualifiedName": "include_tax_inclusive_pricing" }, "3241": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "include_tax_inclusive_pricing" + "qualifiedName": "__object.updatePriceListPrices" }, "3242": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", @@ -149965,15 +149751,15 @@ }, "3243": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "__object.updatePriceListPrices" + "qualifiedName": "priceListId" }, "3244": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "priceListId" + "qualifiedName": "updates" }, "3245": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "updates" + "qualifiedName": "__object.getPricesForVariantInRegion" }, "3246": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", @@ -149981,15 +149767,15 @@ }, "3247": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "__object.getPricesForVariantInRegion" + "qualifiedName": "variantId" }, "3248": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "variantId" + "qualifiedName": "regionId" }, "3249": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "regionId" + "qualifiedName": "__object.createProductVariantMoneyAmounts" }, "3250": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", @@ -149997,31 +149783,31 @@ }, "3251": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "__object.createProductVariantMoneyAmounts" + "qualifiedName": "toCreate" }, "3252": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "toCreate" + "qualifiedName": "__type" }, "3253": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.variant_id" }, "3254": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "__type.variant_id" + "qualifiedName": "__type.money_amount_id" }, "3255": { - "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", - "qualifiedName": "__type.money_amount_id" + "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", + "qualifiedName": "PriceListService.productVariantRepo_" }, "3256": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "PriceListService.productVariantRepo_" + "qualifiedName": "PriceListService.featureFlagRouter_" }, "3257": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "PriceListService.featureFlagRouter_" + "qualifiedName": "PriceListService.retrieve" }, "3258": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", @@ -150029,15 +149815,15 @@ }, "3259": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "PriceListService.retrieve" + "qualifiedName": "priceListId" }, "3260": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "priceListId" + "qualifiedName": "config" }, "3261": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "config" + "qualifiedName": "PriceListService.listPriceListsVariantIdsMap" }, "3262": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", @@ -150045,19 +149831,19 @@ }, "3263": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "PriceListService.listPriceListsVariantIdsMap" + "qualifiedName": "priceListIds" }, "3264": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "priceListIds" + "qualifiedName": "__type" }, "3265": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, - "3266": { + "3267": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "PriceListService.create" }, "3268": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", @@ -150065,11 +149851,11 @@ }, "3269": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "PriceListService.create" + "qualifiedName": "priceListObject" }, "3270": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "priceListObject" + "qualifiedName": "PriceListService.update" }, "3271": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", @@ -150077,15 +149863,15 @@ }, "3272": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "PriceListService.update" + "qualifiedName": "id" }, "3273": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "id" + "qualifiedName": "update" }, "3274": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "update" + "qualifiedName": "PriceListService.addPrices" }, "3275": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", @@ -150093,19 +149879,19 @@ }, "3276": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "PriceListService.addPrices" + "qualifiedName": "id" }, "3277": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "id" + "qualifiedName": "prices" }, "3278": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "prices" + "qualifiedName": "replace" }, "3279": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "replace" + "qualifiedName": "PriceListService.deletePrices" }, "3280": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", @@ -150113,15 +149899,15 @@ }, "3281": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "PriceListService.deletePrices" + "qualifiedName": "id" }, "3282": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "id" + "qualifiedName": "priceIds" }, "3283": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "priceIds" + "qualifiedName": "PriceListService.clearPrices" }, "3284": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", @@ -150129,11 +149915,11 @@ }, "3285": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "PriceListService.clearPrices" + "qualifiedName": "id" }, "3286": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "id" + "qualifiedName": "PriceListService.delete" }, "3287": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", @@ -150141,11 +149927,11 @@ }, "3288": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "PriceListService.delete" + "qualifiedName": "id" }, "3289": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "id" + "qualifiedName": "PriceListService.list" }, "3290": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", @@ -150153,15 +149939,15 @@ }, "3291": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "PriceListService.list" + "qualifiedName": "selector" }, "3292": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "3293": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "config" + "qualifiedName": "PriceListService.listAndCount" }, "3294": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", @@ -150169,15 +149955,15 @@ }, "3295": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "PriceListService.listAndCount" + "qualifiedName": "selector" }, "3296": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "3297": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "config" + "qualifiedName": "PriceListService.upsertCustomerGroups_" }, "3298": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", @@ -150185,23 +149971,23 @@ }, "3299": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "PriceListService.upsertCustomerGroups_" + "qualifiedName": "priceListId" }, "3300": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "priceListId" + "qualifiedName": "customerGroups" }, "3301": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "customerGroups" + "qualifiedName": "__type" }, "3302": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.id" }, "3303": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "__type.id" + "qualifiedName": "PriceListService.listProducts" }, "3304": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", @@ -150209,23 +149995,23 @@ }, "3305": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "PriceListService.listProducts" + "qualifiedName": "priceListId" }, "3306": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "priceListId" + "qualifiedName": "selector" }, "3307": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "3308": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "config" + "qualifiedName": "requiresPriceList" }, "3309": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "requiresPriceList" + "qualifiedName": "PriceListService.listVariants" }, "3310": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", @@ -150233,23 +150019,23 @@ }, "3311": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "PriceListService.listVariants" + "qualifiedName": "priceListId" }, "3312": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "priceListId" + "qualifiedName": "selector" }, "3313": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "selector" + "qualifiedName": "config" }, "3314": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "config" + "qualifiedName": "requiresPriceList" }, "3315": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "requiresPriceList" + "qualifiedName": "PriceListService.deleteProductPrices" }, "3316": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", @@ -150257,15 +150043,15 @@ }, "3317": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "PriceListService.deleteProductPrices" + "qualifiedName": "priceListId" }, "3318": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "priceListId" + "qualifiedName": "productIds" }, "3319": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "productIds" + "qualifiedName": "PriceListService.deleteVariantPrices" }, "3320": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", @@ -150273,15 +150059,15 @@ }, "3321": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "PriceListService.deleteVariantPrices" + "qualifiedName": "priceListId" }, "3322": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "priceListId" + "qualifiedName": "variantIds" }, "3323": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "variantIds" + "qualifiedName": "PriceListService.addCurrencyFromRegion" }, "3324": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", @@ -150289,23 +150075,23 @@ }, "3325": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "PriceListService.addCurrencyFromRegion" + "qualifiedName": "T" }, "3326": { "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "T" + "qualifiedName": "prices" }, "3327": { - "sourceFileName": "../../../packages/medusa/src/services/price-list.ts", - "qualifiedName": "prices" + "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", + "qualifiedName": "TransactionBaseService.manager_" }, "3328": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.manager_" + "qualifiedName": "TransactionBaseService.transactionManager_" }, "3329": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.transactionManager_" + "qualifiedName": "TransactionBaseService.activeManager_" }, "3330": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -150313,19 +150099,19 @@ }, "3331": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.activeManager_" + "qualifiedName": "TransactionBaseService.__container__" }, "3332": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__container__" + "qualifiedName": "TransactionBaseService.__configModule__" }, "3333": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__configModule__" + "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, "3334": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.__moduleDeclaration__" + "qualifiedName": "TransactionBaseService.withTransaction" }, "3335": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -150333,11 +150119,11 @@ }, "3336": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.withTransaction" + "qualifiedName": "transactionManager" }, "3337": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, "3338": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -150345,19 +150131,19 @@ }, "3339": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" + "qualifiedName": "err" }, "3340": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "err" + "qualifiedName": "__type" }, "3341": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.code" }, "3342": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type.code" + "qualifiedName": "TransactionBaseService.atomicPhase_" }, "3343": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -150365,19 +150151,19 @@ }, "3344": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TransactionBaseService.atomicPhase_" + "qualifiedName": "TResult" }, "3345": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TResult" + "qualifiedName": "TError" }, "3346": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "TError" + "qualifiedName": "work" }, "3347": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "work" + "qualifiedName": "__type" }, "3348": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -150385,15 +150171,15 @@ }, "3349": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "transactionManager" }, "3350": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "transactionManager" + "qualifiedName": "isolationOrErrorHandler" }, "3351": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "isolationOrErrorHandler" + "qualifiedName": "__type" }, "3352": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -150401,15 +150187,15 @@ }, "3353": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "3354": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "qualifiedName": "maybeErrorHandlerOrDontFail" }, "3355": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "maybeErrorHandlerOrDontFail" + "qualifiedName": "__type" }, "3356": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", @@ -150417,51 +150203,51 @@ }, "3357": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "__type" + "qualifiedName": "error" }, "3358": { - "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", - "qualifiedName": "error" + "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", + "qualifiedName": "PricingService" }, "3359": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService" + "qualifiedName": "PricingService.__constructor" }, "3360": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.__constructor" + "qualifiedName": "PricingService" }, "3361": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService" + "qualifiedName": "__0" }, "3362": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "__0" + "qualifiedName": "PricingService.regionService" }, "3363": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.regionService" + "qualifiedName": "PricingService.taxProviderService" }, "3364": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.taxProviderService" + "qualifiedName": "PricingService.customerService_" }, "3365": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.customerService_" + "qualifiedName": "PricingService.priceSelectionStrategy" }, "3366": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.priceSelectionStrategy" + "qualifiedName": "PricingService.productVariantService" }, "3367": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.productVariantService" + "qualifiedName": "PricingService.featureFlagRouter" }, "3368": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.featureFlagRouter" + "qualifiedName": "PricingService.pricingModuleService" }, "3369": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", @@ -150469,7 +150255,7 @@ }, "3370": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.pricingModuleService" + "qualifiedName": "PricingService.remoteQuery" }, "3371": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", @@ -150477,7 +150263,7 @@ }, "3372": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.remoteQuery" + "qualifiedName": "PricingService.collectPricingContext" }, "3373": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", @@ -150485,11 +150271,11 @@ }, "3374": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.collectPricingContext" + "qualifiedName": "context" }, "3375": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "context" + "qualifiedName": "PricingService.calculateTaxes" }, "3376": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", @@ -150497,67 +150283,67 @@ }, "3377": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.calculateTaxes" + "qualifiedName": "variantPricing" }, "3378": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "variantPricing" + "qualifiedName": "productRates" }, "3379": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "productRates" + "qualifiedName": "PricingService.getProductVariantPricing_" }, "3380": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getProductVariantPricingModulePricing_" + "qualifiedName": "PricingService.getProductVariantPricing_" }, "3381": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getProductVariantPricingModulePricing_" + "qualifiedName": "data" }, "3382": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "variantPriceData" + "qualifiedName": "__type" }, "3383": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.variantId" }, "3384": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "__type.variantId" + "qualifiedName": "__type.quantity" }, "3385": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "__type.quantity" + "qualifiedName": "context" }, "3386": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "context" + "qualifiedName": "PricingService.getProductVariantPricing" }, "3387": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getProductVariantPricing_" + "qualifiedName": "PricingService.getProductVariantPricing" }, "3388": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getProductVariantPricing_" + "qualifiedName": "variant" }, "3389": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "data" + "qualifiedName": "context" }, "3390": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "__type" + "qualifiedName": "PricingService.getProductVariantPricingById" }, "3391": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "__type.variantId" + "qualifiedName": "PricingService.getProductVariantPricingById" }, "3392": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "__type.quantity" + "qualifiedName": "variantId" }, "3393": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", @@ -150565,95 +150351,95 @@ }, "3394": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getProductVariantPricing" + "qualifiedName": "PricingService.getProductVariantsPricing" }, "3395": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getProductVariantPricing" + "qualifiedName": "PricingService.getProductVariantsPricing" }, "3396": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "variant" + "qualifiedName": "data" }, "3397": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "context" + "qualifiedName": "__type" }, "3398": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getProductVariantPricingById" + "qualifiedName": "__type.variantId" }, "3399": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getProductVariantPricingById" + "qualifiedName": "__type.quantity" }, "3400": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "variantId" + "qualifiedName": "context" }, "3401": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "context" + "qualifiedName": "__type" }, "3402": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getProductVariantsPricing" - }, - "3403": { - "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getProductVariantsPricing" + "qualifiedName": "__type.__index" }, "3404": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "data" + "qualifiedName": "PricingService.getProductPricing_" }, "3405": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "__type" + "qualifiedName": "PricingService.getProductPricing_" }, "3406": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "__type.variantId" + "qualifiedName": "data" }, "3407": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "__type.quantity" + "qualifiedName": "__type" }, "3408": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "context" + "qualifiedName": "__type.productId" }, "3409": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.variants" }, "3410": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "context" + }, + "3411": { + "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", + "qualifiedName": "PricingService.getProductPricing" }, "3412": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getProductPricing_" + "qualifiedName": "PricingService.getProductPricing" }, "3413": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getProductPricing_" + "qualifiedName": "product" }, "3414": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "data" + "qualifiedName": "context" }, "3415": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "__type" + "qualifiedName": "PricingService.getProductPricingById" }, "3416": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "__type.productId" + "qualifiedName": "PricingService.getProductPricingById" }, "3417": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "__type.variants" + "qualifiedName": "productId" }, "3418": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", @@ -150661,15 +150447,15 @@ }, "3419": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getProductPricing" + "qualifiedName": "PricingService.setVariantPrices" }, "3420": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getProductPricing" + "qualifiedName": "PricingService.setVariantPrices" }, "3421": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "product" + "qualifiedName": "variants" }, "3422": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", @@ -150677,15 +150463,15 @@ }, "3423": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getProductPricingById" + "qualifiedName": "PricingService.setProductPrices" }, "3424": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getProductPricingById" + "qualifiedName": "PricingService.setProductPrices" }, "3425": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "productId" + "qualifiedName": "products" }, "3426": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", @@ -150693,11 +150479,11 @@ }, "3427": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.setVariantPrices" + "qualifiedName": "PricingService.setAdminVariantPricing" }, "3428": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.setVariantPrices" + "qualifiedName": "PricingService.setAdminVariantPricing" }, "3429": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", @@ -150709,11 +150495,11 @@ }, "3431": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.setProductPrices" + "qualifiedName": "PricingService.setAdminProductPricing" }, "3432": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.setProductPrices" + "qualifiedName": "PricingService.setAdminProductPricing" }, "3433": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", @@ -150721,11413 +150507,11369 @@ }, "3434": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "context" + "qualifiedName": "PricingService.getShippingOptionPricing" }, "3435": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getPricingModuleVariantMoneyAmounts" + "qualifiedName": "PricingService.getShippingOptionPricing" }, "3436": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getPricingModuleVariantMoneyAmounts" + "qualifiedName": "shippingOption" }, "3437": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "variantIds" + "qualifiedName": "context" }, "3438": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.setAdminVariantPricing" + "qualifiedName": "PricingService.setShippingOptionPrices" }, "3439": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.setAdminVariantPricing" + "qualifiedName": "PricingService.setShippingOptionPrices" }, "3440": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "variants" + "qualifiedName": "shippingOptions" }, "3441": { "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", "qualifiedName": "context" }, "3442": { - "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.setAdminProductPricing" - }, - "3443": { - "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.setAdminProductPricing" - }, - "3444": { - "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "products" - }, - "3445": { - "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getShippingOptionPricing" - }, - "3446": { - "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.getShippingOptionPricing" - }, - "3447": { - "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "shippingOption" - }, - "3448": { - "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "context" - }, - "3449": { - "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.setShippingOptionPrices" - }, - "3450": { - "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "PricingService.setShippingOptionPrices" - }, - "3451": { - "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "shippingOptions" - }, - "3452": { - "sourceFileName": "../../../packages/medusa/src/services/pricing.ts", - "qualifiedName": "context" - }, - "3453": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "3454": { + "3443": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "3455": { + "3444": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3456": { + "3445": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3457": { + "3446": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "3458": { + "3447": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "3459": { + "3448": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "3460": { + "3449": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3461": { + "3450": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3462": { + "3451": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3463": { + "3452": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3464": { + "3453": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3465": { + "3454": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "3466": { + "3455": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3467": { + "3456": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "3468": { + "3457": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3469": { + "3458": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3470": { + "3459": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "3471": { + "3460": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "3472": { + "3461": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "3473": { + "3462": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3474": { + "3463": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3475": { + "3464": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3476": { + "3465": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "3477": { + "3466": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3478": { + "3467": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3479": { + "3468": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3480": { + "3469": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "3481": { + "3470": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3482": { + "3471": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3483": { + "3472": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3484": { + "3473": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService" }, - "3485": { + "3474": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.IndexName" }, - "3486": { + "3475": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.Events" }, - "3487": { + "3476": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "__object" }, - "3488": { + "3477": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "__object.UPDATED" }, - "3489": { + "3478": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "__object.CREATED" }, - "3490": { + "3479": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "__object.DELETED" }, - "3491": { + "3480": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.__constructor" }, - "3492": { + "3481": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService" }, - "3493": { + "3482": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "__0" }, - "3494": { + "3483": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.productOptionRepository_" }, - "3495": { + "3484": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.productRepository_" }, - "3496": { + "3485": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object" }, - "3497": { + "3486": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.queryProducts" }, - "3498": { + "3487": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.queryProducts" }, - "3499": { + "3488": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "optionsWithoutRelations" }, - "3500": { + "3489": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "shouldCount" }, - "3501": { + "3490": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.queryProductsWithIds" }, - "3502": { + "3491": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.queryProductsWithIds" }, - "3503": { + "3492": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__0" }, - "3504": { + "3493": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type" }, - "3505": { + "3494": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.entityIds" }, - "3506": { + "3495": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.groupedRelations" }, - "3507": { + "3496": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type" }, - "3508": { + "3497": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.__index" }, - "3510": { + "3499": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.withDeleted" }, - "3511": { + "3500": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.select" }, - "3512": { + "3501": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.order" }, - "3513": { + "3502": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type" }, - "3514": { + "3503": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.__index" }, - "3516": { + "3505": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.where" }, - "3517": { + "3506": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findWithRelationsAndCount" }, - "3518": { + "3507": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findWithRelationsAndCount" }, - "3519": { + "3508": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "relations" }, - "3520": { + "3509": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "idsOrOptionsWithoutRelations" }, - "3521": { + "3510": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findWithRelations" }, - "3522": { + "3511": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findWithRelations" }, - "3523": { + "3512": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "relations" }, - "3524": { + "3513": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "idsOrOptionsWithoutRelations" }, - "3525": { + "3514": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "withDeleted" }, - "3526": { + "3515": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findOneWithRelations" }, - "3527": { + "3516": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findOneWithRelations" }, - "3528": { + "3517": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "relations" }, - "3529": { + "3518": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "optionsWithoutRelations" }, - "3530": { + "3519": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.bulkAddToCollection" }, - "3531": { + "3520": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.bulkAddToCollection" }, - "3532": { + "3521": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "productIds" }, - "3533": { + "3522": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "collectionId" }, - "3534": { + "3523": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.bulkRemoveFromCollection" }, - "3535": { + "3524": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.bulkRemoveFromCollection" }, - "3536": { + "3525": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "productIds" }, - "3537": { + "3526": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "collectionId" }, - "3538": { + "3527": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getFreeTextSearchResultsAndCount" }, - "3539": { + "3528": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getFreeTextSearchResultsAndCount" }, - "3540": { + "3529": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "q" }, - "3541": { + "3530": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "options" }, - "3542": { + "3531": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "relations" }, - "3543": { + "3532": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getCategoryIdsFromInput" }, - "3544": { + "3533": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getCategoryIdsFromInput" }, - "3545": { + "3534": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "categoryId" }, - "3546": { + "3535": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "includeCategoryChildren" }, - "3547": { + "3536": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getCategoryIdsRecursively" }, - "3548": { + "3537": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getCategoryIdsRecursively" }, - "3549": { + "3538": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "productCategory" }, - "3550": { + "3539": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object._findWithRelations" }, - "3551": { + "3540": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object._findWithRelations" }, - "3552": { + "3541": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__0" }, - "3553": { + "3542": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type" }, - "3554": { + "3543": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.relations" }, - "3555": { + "3544": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.idsOrOptionsWithoutRelations" }, - "3556": { + "3545": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.withDeleted" }, - "3557": { + "3546": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.shouldCount" }, - "3558": { + "3547": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.isProductInSalesChannels" }, - "3559": { + "3548": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.isProductInSalesChannels" }, - "3560": { + "3549": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "id" }, - "3561": { + "3550": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "salesChannelIds" }, - "3562": { + "3551": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object._applyCategoriesQuery" }, - "3563": { + "3552": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object._applyCategoriesQuery" }, - "3564": { + "3553": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "qb" }, - "3565": { + "3554": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__1" }, - "3567": { + "3556": { "sourceFileName": "", "qualifiedName": "alias" }, - "3568": { + "3557": { "sourceFileName": "", "qualifiedName": "categoryAlias" }, - "3569": { + "3558": { "sourceFileName": "", "qualifiedName": "where" }, - "3570": { + "3559": { "sourceFileName": "", "qualifiedName": "joinName" }, - "3571": { + "3560": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.productVariantRepository_" }, - "3572": { + "3561": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.productTypeRepository_" }, - "3573": { + "3562": { "sourceFileName": "../../../packages/medusa/src/repositories/product-type.ts", "qualifiedName": "__object" }, - "3574": { + "3563": { "sourceFileName": "../../../packages/medusa/src/repositories/product-type.ts", "qualifiedName": "__object.upsertType" }, - "3575": { + "3564": { "sourceFileName": "../../../packages/medusa/src/repositories/product-type.ts", "qualifiedName": "__object.upsertType" }, - "3576": { + "3565": { "sourceFileName": "../../../packages/medusa/src/repositories/product-type.ts", "qualifiedName": "type" }, - "3577": { + "3566": { "sourceFileName": "../../../packages/medusa/src/repositories/product-type.ts", "qualifiedName": "__object.findAndCountByDiscountConditionId" }, - "3578": { + "3567": { "sourceFileName": "../../../packages/medusa/src/repositories/product-type.ts", "qualifiedName": "__object.findAndCountByDiscountConditionId" }, - "3579": { + "3568": { "sourceFileName": "../../../packages/medusa/src/repositories/product-type.ts", "qualifiedName": "conditionId" }, - "3580": { + "3569": { "sourceFileName": "../../../packages/medusa/src/repositories/product-type.ts", "qualifiedName": "query" }, - "3581": { + "3570": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.productTagRepository_" }, - "3582": { + "3571": { "sourceFileName": "../../../packages/medusa/src/repositories/product-tag.ts", "qualifiedName": "__object" }, - "3583": { + "3572": { "sourceFileName": "../../../packages/medusa/src/repositories/product-tag.ts", "qualifiedName": "__object.insertBulk" }, - "3584": { + "3573": { "sourceFileName": "../../../packages/medusa/src/repositories/product-tag.ts", "qualifiedName": "__object.insertBulk" }, - "3585": { + "3574": { "sourceFileName": "../../../packages/medusa/src/repositories/product-tag.ts", "qualifiedName": "data" }, - "3586": { + "3575": { "sourceFileName": "../../../packages/medusa/src/repositories/product-tag.ts", "qualifiedName": "__object.listTagsByUsage" }, - "3587": { + "3576": { "sourceFileName": "../../../packages/medusa/src/repositories/product-tag.ts", "qualifiedName": "__object.listTagsByUsage" }, - "3588": { + "3577": { "sourceFileName": "../../../packages/medusa/src/repositories/product-tag.ts", "qualifiedName": "take" }, - "3589": { + "3578": { "sourceFileName": "../../../packages/medusa/src/repositories/product-tag.ts", "qualifiedName": "__object.upsertTags" }, - "3590": { + "3579": { "sourceFileName": "../../../packages/medusa/src/repositories/product-tag.ts", "qualifiedName": "__object.upsertTags" }, - "3591": { + "3580": { "sourceFileName": "../../../packages/medusa/src/repositories/product-tag.ts", "qualifiedName": "tags" }, - "3592": { + "3581": { "sourceFileName": "../../../packages/medusa/src/repositories/product-tag.ts", "qualifiedName": "__object.findAndCountByDiscountConditionId" }, - "3593": { + "3582": { "sourceFileName": "../../../packages/medusa/src/repositories/product-tag.ts", "qualifiedName": "__object.findAndCountByDiscountConditionId" }, - "3594": { + "3583": { "sourceFileName": "../../../packages/medusa/src/repositories/product-tag.ts", "qualifiedName": "conditionId" }, - "3595": { + "3584": { "sourceFileName": "../../../packages/medusa/src/repositories/product-tag.ts", "qualifiedName": "query" }, - "3596": { + "3585": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.imageRepository_" }, - "3597": { + "3586": { "sourceFileName": "../../../packages/medusa/src/repositories/image.ts", "qualifiedName": "__object" }, - "3598": { + "3587": { "sourceFileName": "../../../packages/medusa/src/repositories/image.ts", "qualifiedName": "__object.insertBulk" }, - "3599": { + "3588": { "sourceFileName": "../../../packages/medusa/src/repositories/image.ts", "qualifiedName": "__object.insertBulk" }, - "3600": { + "3589": { "sourceFileName": "../../../packages/medusa/src/repositories/image.ts", "qualifiedName": "data" }, - "3601": { + "3590": { "sourceFileName": "../../../packages/medusa/src/repositories/image.ts", "qualifiedName": "__object.upsertImages" }, - "3602": { + "3591": { "sourceFileName": "../../../packages/medusa/src/repositories/image.ts", "qualifiedName": "__object.upsertImages" }, - "3603": { + "3592": { "sourceFileName": "../../../packages/medusa/src/repositories/image.ts", "qualifiedName": "imageUrls" }, - "3604": { + "3593": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.productCategoryRepository_" }, - "3605": { + "3594": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object" }, - "3606": { + "3595": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.findOneWithDescendants" }, - "3607": { + "3596": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.findOneWithDescendants" }, - "3608": { + "3597": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "query" }, - "3609": { + "3598": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "treeScope" }, - "3610": { + "3599": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.getFreeTextSearchResultsAndCount" }, - "3611": { + "3600": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.getFreeTextSearchResultsAndCount" }, - "3612": { + "3601": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "options" }, - "3613": { + "3602": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "q" }, - "3614": { + "3603": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "treeScope" }, - "3615": { + "3604": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "includeTree" }, - "3616": { + "3605": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.addProducts" }, - "3617": { + "3606": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.addProducts" }, - "3618": { + "3607": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "productCategoryId" }, - "3619": { + "3608": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "productIds" }, - "3620": { + "3609": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.removeProducts" }, - "3621": { + "3610": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.removeProducts" }, - "3622": { + "3611": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "productCategoryId" }, - "3623": { + "3612": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "productIds" }, - "3624": { + "3613": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.productVariantService_" }, - "3625": { + "3614": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.searchService_" }, - "3626": { + "3615": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.salesChannelService_" }, - "3627": { + "3616": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.eventBus_" }, - "3628": { + "3617": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.featureFlagRouter_" }, - "3629": { + "3618": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.remoteQuery_" }, - "3630": { + "3619": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.list" }, - "3631": { + "3620": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.list" }, - "3632": { + "3621": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "selector" }, - "3633": { + "3622": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "config" }, - "3634": { + "3623": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.listAndCount" }, - "3635": { + "3624": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.listAndCount" }, - "3636": { + "3625": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "selector" }, - "3637": { + "3626": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "config" }, - "3638": { + "3627": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.count" }, - "3639": { + "3628": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.count" }, - "3640": { + "3629": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "selector" }, - "3641": { + "3630": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.retrieve" }, - "3642": { + "3631": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.retrieve" }, - "3643": { + "3632": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "productId" }, - "3644": { + "3633": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "config" }, - "3645": { + "3634": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.retrieveByHandle" }, - "3646": { + "3635": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.retrieveByHandle" }, - "3647": { + "3636": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "productHandle" }, - "3648": { + "3637": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "config" }, - "3649": { + "3638": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.retrieveByExternalId" }, - "3650": { + "3639": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.retrieveByExternalId" }, - "3651": { + "3640": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "externalId" }, - "3652": { + "3641": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "config" }, - "3653": { + "3642": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.retrieve_" }, - "3654": { + "3643": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.retrieve_" }, - "3655": { + "3644": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "selector" }, - "3656": { + "3645": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "config" }, - "3657": { + "3646": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.retrieveVariants" }, - "3658": { + "3647": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.retrieveVariants" }, - "3659": { + "3648": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "productId" }, - "3660": { + "3649": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "config" }, - "3661": { + "3650": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.filterProductsBySalesChannel" }, - "3662": { + "3651": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.filterProductsBySalesChannel" }, - "3663": { + "3652": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "productIds" }, - "3664": { + "3653": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "salesChannelId" }, - "3665": { + "3654": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "config" }, - "3666": { + "3655": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.listTypes" }, - "3667": { + "3656": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.listTypes" }, - "3668": { + "3657": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.listTagsByUsage" }, - "3669": { + "3658": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.listTagsByUsage" }, - "3670": { + "3659": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "take" }, - "3671": { + "3660": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.isProductInSalesChannels" }, - "3672": { + "3661": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.isProductInSalesChannels" }, - "3673": { + "3662": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "id" }, - "3674": { + "3663": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "salesChannelIds" }, - "3675": { + "3664": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.create" }, - "3676": { + "3665": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.create" }, - "3677": { + "3666": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "productObject" }, - "3678": { + "3667": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.update" }, - "3679": { + "3668": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.update" }, - "3680": { + "3669": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "productId" }, - "3681": { + "3670": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "update" }, - "3682": { + "3671": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.delete" }, - "3683": { + "3672": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.delete" }, - "3684": { + "3673": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "productId" }, - "3685": { + "3674": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.addOption" }, - "3686": { + "3675": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.addOption" }, - "3687": { + "3676": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "productId" }, - "3688": { + "3677": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "optionTitle" }, - "3689": { + "3678": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.reorderVariants" }, - "3690": { + "3679": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.reorderVariants" }, - "3691": { + "3680": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "productId" }, - "3692": { + "3681": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "variantOrder" }, - "3693": { + "3682": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.updateOption" }, - "3694": { + "3683": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.updateOption" }, - "3695": { + "3684": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "productId" }, - "3696": { + "3685": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "optionId" }, - "3697": { + "3686": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "data" }, - "3698": { + "3687": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.retrieveOptionByTitle" }, - "3699": { + "3688": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.retrieveOptionByTitle" }, - "3700": { + "3689": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "title" }, - "3701": { + "3690": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "productId" }, - "3702": { + "3691": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.deleteOption" }, - "3703": { + "3692": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.deleteOption" }, - "3704": { + "3693": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "productId" }, - "3705": { + "3694": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "optionId" }, - "3706": { + "3695": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.updateShippingProfile" }, - "3707": { + "3696": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.updateShippingProfile" }, - "3708": { + "3697": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "productIds" }, - "3709": { + "3698": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "profileId" }, - "3710": { + "3699": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.prepareListQuery_" }, - "3711": { + "3700": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.prepareListQuery_" }, - "3712": { + "3701": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "selector" }, - "3713": { + "3702": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "config" }, - "3714": { + "3703": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "__type" }, - "3715": { + "3704": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "__type.q" }, - "3716": { + "3705": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "__type.relations" }, - "3717": { + "3706": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "__type.query" }, - "3718": { + "3707": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.decorateProductsWithSalesChannels" }, - "3719": { + "3708": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.decorateProductsWithSalesChannels" }, - "3720": { + "3709": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "products" }, - "3721": { + "3710": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.getSalesChannelModuleChannels" }, - "3722": { + "3711": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "ProductService.getSalesChannelModuleChannels" }, - "3723": { + "3712": { "sourceFileName": "../../../packages/medusa/src/services/product.ts", "qualifiedName": "productIds" }, - "3724": { + "3713": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "3725": { + "3714": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "3726": { + "3715": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3727": { + "3716": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3728": { + "3717": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "3729": { + "3718": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "3730": { + "3719": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "3731": { + "3720": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3732": { + "3721": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3733": { + "3722": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3734": { + "3723": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3735": { + "3724": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3736": { + "3725": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "3737": { + "3726": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3738": { + "3727": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "3739": { + "3728": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3740": { + "3729": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3741": { + "3730": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "3742": { + "3731": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "3743": { + "3732": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "3744": { + "3733": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3745": { + "3734": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3746": { + "3735": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3747": { + "3736": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "3748": { + "3737": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3749": { + "3738": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3750": { + "3739": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3751": { + "3740": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "3752": { + "3741": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3753": { + "3742": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3754": { + "3743": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3755": { + "3744": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService" }, - "3756": { + "3745": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.Events" }, - "3757": { + "3746": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "__object" }, - "3758": { + "3747": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "__object.CREATED" }, - "3759": { + "3748": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "__object.UPDATED" }, - "3760": { + "3749": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "__object.DELETED" }, - "3761": { + "3750": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.__constructor" }, - "3762": { + "3751": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService" }, - "3763": { + "3752": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "__0" }, - "3764": { + "3753": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.productCategoryRepo_" }, - "3765": { + "3754": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object" }, - "3766": { + "3755": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.findOneWithDescendants" }, - "3767": { + "3756": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.findOneWithDescendants" }, - "3768": { + "3757": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "query" }, - "3769": { + "3758": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "treeScope" }, - "3770": { + "3759": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.getFreeTextSearchResultsAndCount" }, - "3771": { + "3760": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.getFreeTextSearchResultsAndCount" }, - "3772": { + "3761": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "options" }, - "3773": { + "3762": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "q" }, - "3774": { + "3763": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "treeScope" }, - "3775": { + "3764": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "includeTree" }, - "3776": { + "3765": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.addProducts" }, - "3777": { + "3766": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.addProducts" }, - "3778": { + "3767": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "productCategoryId" }, - "3779": { + "3768": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "productIds" }, - "3780": { + "3769": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.removeProducts" }, - "3781": { + "3770": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.removeProducts" }, - "3782": { + "3771": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "productCategoryId" }, - "3783": { + "3772": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "productIds" }, - "3784": { + "3773": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.eventBusService_" }, - "3785": { + "3774": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.listAndCount" }, - "3786": { + "3775": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.listAndCount" }, - "3787": { + "3776": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "selector" }, - "3788": { + "3777": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "config" }, - "3789": { + "3778": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "treeSelector" }, - "3790": { + "3779": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.retrieve_" }, - "3791": { + "3780": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.retrieve_" }, - "3792": { + "3781": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "config" }, - "3793": { + "3782": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "selector" }, - "3794": { + "3783": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "treeSelector" }, - "3795": { + "3784": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.retrieve" }, - "3796": { + "3785": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.retrieve" }, - "3797": { + "3786": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "productCategoryId" }, - "3798": { + "3787": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "config" }, - "3799": { + "3788": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "selector" }, - "3800": { + "3789": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "treeSelector" }, - "3801": { + "3790": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.retrieveByHandle" }, - "3802": { + "3791": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.retrieveByHandle" }, - "3803": { + "3792": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "handle" }, - "3804": { + "3793": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "config" }, - "3805": { + "3794": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "selector" }, - "3806": { + "3795": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "treeSelector" }, - "3807": { + "3796": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.create" }, - "3808": { + "3797": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.create" }, - "3809": { + "3798": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "productCategoryInput" }, - "3810": { + "3799": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.update" }, - "3811": { + "3800": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.update" }, - "3812": { + "3801": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "productCategoryId" }, - "3813": { + "3802": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "productCategoryInput" }, - "3814": { + "3803": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.delete" }, - "3815": { + "3804": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.delete" }, - "3816": { + "3805": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "productCategoryId" }, - "3817": { + "3806": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.addProducts" }, - "3818": { + "3807": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.addProducts" }, - "3819": { + "3808": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "productCategoryId" }, - "3820": { + "3809": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "productIds" }, - "3821": { + "3810": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.removeProducts" }, - "3822": { + "3811": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.removeProducts" }, - "3823": { + "3812": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "productCategoryId" }, - "3824": { + "3813": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "productIds" }, - "3825": { + "3814": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.fetchReorderConditions" }, - "3826": { + "3815": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.fetchReorderConditions" }, - "3827": { + "3816": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "productCategory" }, - "3828": { + "3817": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "input" }, - "3829": { + "3818": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "shouldDeleteElement" }, - "3830": { + "3819": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.performReordering" }, - "3831": { + "3820": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.performReordering" }, - "3832": { + "3821": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "repository" }, - "3833": { + "3822": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object" }, - "3834": { + "3823": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.findOneWithDescendants" }, - "3835": { + "3824": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.findOneWithDescendants" }, - "3836": { + "3825": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "query" }, - "3837": { + "3826": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "treeScope" }, - "3838": { + "3827": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.getFreeTextSearchResultsAndCount" }, - "3839": { + "3828": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.getFreeTextSearchResultsAndCount" }, - "3840": { + "3829": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "options" }, - "3841": { + "3830": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "q" }, - "3842": { + "3831": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "treeScope" }, - "3843": { + "3832": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "includeTree" }, - "3844": { + "3833": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.addProducts" }, - "3845": { + "3834": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.addProducts" }, - "3846": { + "3835": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "productCategoryId" }, - "3847": { + "3836": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "productIds" }, - "3848": { + "3837": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.removeProducts" }, - "3849": { + "3838": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.removeProducts" }, - "3850": { + "3839": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "productCategoryId" }, - "3851": { + "3840": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "productIds" }, - "3852": { + "3841": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "conditions" }, - "3853": { + "3842": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.shiftSiblings" }, - "3854": { + "3843": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.shiftSiblings" }, - "3855": { + "3844": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "repository" }, - "3856": { + "3845": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object" }, - "3857": { + "3846": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.findOneWithDescendants" }, - "3858": { + "3847": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.findOneWithDescendants" }, - "3859": { + "3848": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "query" }, - "3860": { + "3849": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "treeScope" }, - "3861": { + "3850": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.getFreeTextSearchResultsAndCount" }, - "3862": { + "3851": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.getFreeTextSearchResultsAndCount" }, - "3863": { + "3852": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "options" }, - "3864": { + "3853": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "q" }, - "3865": { + "3854": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "treeScope" }, - "3866": { + "3855": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "includeTree" }, - "3867": { + "3856": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.addProducts" }, - "3868": { + "3857": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.addProducts" }, - "3869": { + "3858": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "productCategoryId" }, - "3870": { + "3859": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "productIds" }, - "3871": { + "3860": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.removeProducts" }, - "3872": { + "3861": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "__object.removeProducts" }, - "3873": { + "3862": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "productCategoryId" }, - "3874": { + "3863": { "sourceFileName": "../../../packages/medusa/src/repositories/product-category.ts", "qualifiedName": "productIds" }, - "3875": { + "3864": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "conditions" }, - "3876": { + "3865": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.transformParentIdToEntity" }, - "3877": { + "3866": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "ProductCategoryService.transformParentIdToEntity" }, - "3878": { + "3867": { "sourceFileName": "../../../packages/medusa/src/services/product-category.ts", "qualifiedName": "productCategoryInput" }, - "3879": { + "3868": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "3880": { + "3869": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "3881": { + "3870": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3882": { + "3871": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "3883": { + "3872": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "3884": { + "3873": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "3885": { + "3874": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "3886": { + "3875": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3887": { + "3876": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "3888": { + "3877": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3889": { + "3878": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3890": { + "3879": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "3891": { + "3880": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "3892": { + "3881": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3893": { + "3882": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "3894": { + "3883": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3895": { + "3884": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "3896": { + "3885": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "3897": { + "3886": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "3898": { + "3887": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "3899": { + "3888": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3900": { + "3889": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3901": { + "3890": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "3902": { + "3891": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "3903": { + "3892": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3904": { + "3893": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3905": { + "3894": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3906": { + "3895": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "3907": { + "3896": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3908": { + "3897": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "3909": { + "3898": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "3910": { + "3899": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService" }, - "3911": { + "3900": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.Events" }, - "3912": { + "3901": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "__object" }, - "3913": { + "3902": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "__object.CREATED" }, - "3914": { + "3903": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "__object.UPDATED" }, - "3915": { + "3904": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "__object.DELETED" }, - "3916": { + "3905": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "__object.PRODUCTS_ADDED" }, - "3917": { + "3906": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "__object.PRODUCTS_REMOVED" }, - "3918": { + "3907": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.__constructor" }, - "3919": { + "3908": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService" }, - "3920": { + "3909": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "__0" }, - "3921": { + "3910": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.eventBus_" }, - "3922": { + "3911": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.productCollectionRepository_" }, - "3923": { + "3912": { "sourceFileName": "../../../packages/medusa/src/repositories/product-collection.ts", "qualifiedName": "__object" }, - "3924": { + "3913": { "sourceFileName": "../../../packages/medusa/src/repositories/product-collection.ts", "qualifiedName": "__object.findAndCountByDiscountConditionId" }, - "3925": { + "3914": { "sourceFileName": "../../../packages/medusa/src/repositories/product-collection.ts", "qualifiedName": "__object.findAndCountByDiscountConditionId" }, - "3926": { + "3915": { "sourceFileName": "../../../packages/medusa/src/repositories/product-collection.ts", "qualifiedName": "conditionId" }, - "3927": { + "3916": { "sourceFileName": "../../../packages/medusa/src/repositories/product-collection.ts", "qualifiedName": "query" }, - "3928": { + "3917": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.productRepository_" }, - "3929": { + "3918": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object" }, - "3930": { + "3919": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.queryProducts" }, - "3931": { + "3920": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.queryProducts" }, - "3932": { + "3921": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "optionsWithoutRelations" }, - "3933": { + "3922": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "shouldCount" }, - "3934": { + "3923": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.queryProductsWithIds" }, - "3935": { + "3924": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.queryProductsWithIds" }, - "3936": { + "3925": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__0" }, - "3937": { + "3926": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type" }, - "3938": { + "3927": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.entityIds" }, - "3939": { + "3928": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.groupedRelations" }, - "3940": { + "3929": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type" }, - "3941": { + "3930": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.__index" }, - "3943": { + "3932": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.withDeleted" }, - "3944": { + "3933": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.select" }, - "3945": { + "3934": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.order" }, - "3946": { + "3935": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type" }, - "3947": { + "3936": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.__index" }, - "3949": { + "3938": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.where" }, - "3950": { + "3939": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findWithRelationsAndCount" }, - "3951": { + "3940": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findWithRelationsAndCount" }, - "3952": { + "3941": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "relations" }, - "3953": { + "3942": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "idsOrOptionsWithoutRelations" }, - "3954": { + "3943": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findWithRelations" }, - "3955": { + "3944": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findWithRelations" }, - "3956": { + "3945": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "relations" }, - "3957": { + "3946": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "idsOrOptionsWithoutRelations" }, - "3958": { + "3947": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "withDeleted" }, - "3959": { + "3948": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findOneWithRelations" }, - "3960": { + "3949": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findOneWithRelations" }, - "3961": { + "3950": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "relations" }, - "3962": { + "3951": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "optionsWithoutRelations" }, - "3963": { + "3952": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.bulkAddToCollection" }, - "3964": { + "3953": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.bulkAddToCollection" }, - "3965": { + "3954": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "productIds" }, - "3966": { + "3955": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "collectionId" }, - "3967": { + "3956": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.bulkRemoveFromCollection" }, - "3968": { + "3957": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.bulkRemoveFromCollection" }, - "3969": { + "3958": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "productIds" }, - "3970": { + "3959": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "collectionId" }, - "3971": { + "3960": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getFreeTextSearchResultsAndCount" }, - "3972": { + "3961": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getFreeTextSearchResultsAndCount" }, - "3973": { + "3962": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "q" }, - "3974": { + "3963": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "options" }, - "3975": { + "3964": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "relations" }, - "3976": { + "3965": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getCategoryIdsFromInput" }, - "3977": { + "3966": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getCategoryIdsFromInput" }, - "3978": { + "3967": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "categoryId" }, - "3979": { + "3968": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "includeCategoryChildren" }, - "3980": { + "3969": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getCategoryIdsRecursively" }, - "3981": { + "3970": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getCategoryIdsRecursively" }, - "3982": { + "3971": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "productCategory" }, - "3983": { + "3972": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object._findWithRelations" }, - "3984": { + "3973": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object._findWithRelations" }, - "3985": { + "3974": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__0" }, - "3986": { + "3975": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type" }, - "3987": { + "3976": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.relations" }, - "3988": { + "3977": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.idsOrOptionsWithoutRelations" }, - "3989": { + "3978": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.withDeleted" }, - "3990": { + "3979": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.shouldCount" }, - "3991": { + "3980": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.isProductInSalesChannels" }, - "3992": { + "3981": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.isProductInSalesChannels" }, - "3993": { + "3982": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "id" }, - "3994": { + "3983": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "salesChannelIds" }, - "3995": { + "3984": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object._applyCategoriesQuery" }, - "3996": { + "3985": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object._applyCategoriesQuery" }, - "3997": { + "3986": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "qb" }, - "3998": { + "3987": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__1" }, - "4000": { + "3989": { "sourceFileName": "", "qualifiedName": "alias" }, - "4001": { + "3990": { "sourceFileName": "", "qualifiedName": "categoryAlias" }, - "4002": { + "3991": { "sourceFileName": "", "qualifiedName": "where" }, - "4003": { + "3992": { "sourceFileName": "", "qualifiedName": "joinName" }, - "4004": { + "3993": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.retrieve" }, - "4005": { + "3994": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.retrieve" }, - "4006": { + "3995": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "collectionId" }, - "4007": { + "3996": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "config" }, - "4008": { + "3997": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.retrieveByHandle" }, - "4009": { + "3998": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.retrieveByHandle" }, - "4010": { + "3999": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "collectionHandle" }, - "4011": { + "4000": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "config" }, - "4012": { + "4001": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.create" }, - "4013": { + "4002": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.create" }, - "4014": { + "4003": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "collection" }, - "4015": { + "4004": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.update" }, - "4016": { + "4005": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.update" }, - "4017": { + "4006": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "collectionId" }, - "4018": { + "4007": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "update" }, - "4019": { + "4008": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.delete" }, - "4020": { + "4009": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.delete" }, - "4021": { + "4010": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "collectionId" }, - "4022": { + "4011": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.addProducts" }, - "4023": { + "4012": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.addProducts" }, - "4024": { + "4013": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "collectionId" }, - "4025": { + "4014": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "productIds" }, - "4026": { + "4015": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.removeProducts" }, - "4027": { + "4016": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.removeProducts" }, - "4028": { + "4017": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "collectionId" }, - "4029": { + "4018": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "productIds" }, - "4030": { + "4019": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.list" }, - "4031": { + "4020": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.list" }, - "4032": { + "4021": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "selector" }, - "4033": { + "4022": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "__type" }, - "4034": { + "4023": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "__type.q" }, - "4035": { + "4024": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "__type.discount_condition_id" }, - "4036": { + "4025": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "config" }, - "4037": { + "4026": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "__object" }, - "4038": { + "4027": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "__object.skip" }, - "4039": { + "4028": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "__object.take" }, - "4040": { + "4029": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.listAndCount" }, - "4041": { + "4030": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "ProductCollectionService.listAndCount" }, - "4042": { + "4031": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "selector" }, - "4043": { + "4032": { "sourceFileName": "../../../packages/medusa/src/services/product-collection.ts", "qualifiedName": "config" }, - "4044": { + "4033": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "4045": { + "4034": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "4046": { + "4035": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "4047": { + "4036": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "4048": { + "4037": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "4049": { + "4038": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "4050": { + "4039": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "4051": { + "4040": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "4052": { + "4041": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "4053": { + "4042": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "4054": { + "4043": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "4055": { + "4044": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "4056": { + "4045": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "4057": { + "4046": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4058": { + "4047": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "4059": { + "4048": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "4060": { + "4049": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "4061": { + "4050": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "4062": { + "4051": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "4063": { + "4052": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "4064": { + "4053": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4065": { + "4054": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4066": { + "4055": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "4067": { + "4056": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "4068": { + "4057": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4069": { + "4058": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4070": { + "4059": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "4071": { + "4060": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "4072": { + "4061": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4073": { + "4062": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4074": { + "4063": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "4075": { + "4064": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "ProductTypeService" }, - "4076": { + "4065": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "ProductTypeService.__constructor" }, - "4077": { + "4066": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "ProductTypeService" }, - "4078": { + "4067": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "__0" }, - "4080": { + "4069": { "sourceFileName": "", "qualifiedName": "productTypeRepository" }, - "4081": { + "4070": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "ProductTypeService.typeRepository_" }, - "4082": { + "4071": { "sourceFileName": "../../../packages/medusa/src/repositories/product-type.ts", "qualifiedName": "__object" }, - "4083": { + "4072": { "sourceFileName": "../../../packages/medusa/src/repositories/product-type.ts", "qualifiedName": "__object.upsertType" }, - "4084": { + "4073": { "sourceFileName": "../../../packages/medusa/src/repositories/product-type.ts", "qualifiedName": "__object.upsertType" }, - "4085": { + "4074": { "sourceFileName": "../../../packages/medusa/src/repositories/product-type.ts", "qualifiedName": "type" }, - "4086": { + "4075": { "sourceFileName": "../../../packages/medusa/src/repositories/product-type.ts", "qualifiedName": "__object.findAndCountByDiscountConditionId" }, - "4087": { + "4076": { "sourceFileName": "../../../packages/medusa/src/repositories/product-type.ts", "qualifiedName": "__object.findAndCountByDiscountConditionId" }, - "4088": { + "4077": { "sourceFileName": "../../../packages/medusa/src/repositories/product-type.ts", "qualifiedName": "conditionId" }, - "4089": { + "4078": { "sourceFileName": "../../../packages/medusa/src/repositories/product-type.ts", "qualifiedName": "query" }, - "4090": { + "4079": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "ProductTypeService.retrieve" }, - "4091": { + "4080": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "ProductTypeService.retrieve" }, - "4092": { + "4081": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "id" }, - "4093": { + "4082": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "config" }, - "4094": { + "4083": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "ProductTypeService.list" }, - "4095": { + "4084": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "ProductTypeService.list" }, - "4096": { + "4085": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "selector" }, - "4097": { + "4086": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "__type" }, - "4098": { + "4087": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "__type.q" }, - "4099": { + "4088": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "__type.discount_condition_id" }, - "4100": { + "4089": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "config" }, - "4101": { + "4090": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "ProductTypeService.listAndCount" }, - "4102": { + "4091": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "ProductTypeService.listAndCount" }, - "4103": { + "4092": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "selector" }, - "4104": { + "4093": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "__type" }, - "4105": { + "4094": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "__type.q" }, - "4106": { + "4095": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "__type.discount_condition_id" }, - "4107": { + "4096": { "sourceFileName": "../../../packages/medusa/src/services/product-type.ts", "qualifiedName": "config" }, - "4108": { + "4097": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "4109": { + "4098": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "4110": { + "4099": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "4111": { + "4100": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "4112": { + "4101": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "4113": { + "4102": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "4114": { + "4103": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "4115": { + "4104": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "4116": { + "4105": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "4117": { + "4106": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "4118": { + "4107": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "4119": { + "4108": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "4120": { + "4109": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "4121": { + "4110": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4122": { + "4111": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "4123": { + "4112": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "4124": { + "4113": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "4125": { + "4114": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "4126": { + "4115": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "4127": { + "4116": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "4128": { + "4117": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4129": { + "4118": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4130": { + "4119": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "4131": { + "4120": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "4132": { + "4121": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4133": { + "4122": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4134": { + "4123": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "4135": { + "4124": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "4136": { + "4125": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4137": { + "4126": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4138": { + "4127": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "4139": { + "4128": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService" }, - "4140": { + "4129": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.Events" }, - "4141": { + "4130": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "__object" }, - "4142": { + "4131": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "__object.UPDATED" }, - "4143": { + "4132": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "__object.CREATED" }, - "4144": { + "4133": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "__object.DELETED" }, - "4145": { + "4134": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.__constructor" }, - "4146": { + "4135": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService" }, - "4147": { + "4136": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "__0" }, - "4149": { + "4138": { "sourceFileName": "", "qualifiedName": "productVariantRepository" }, - "4150": { + "4139": { "sourceFileName": "", "qualifiedName": "productRepository" }, - "4151": { + "4140": { "sourceFileName": "", "qualifiedName": "eventBusService" }, - "4152": { + "4141": { "sourceFileName": "", "qualifiedName": "regionService" }, - "4153": { + "4142": { "sourceFileName": "", "qualifiedName": "moneyAmountRepository" }, - "4154": { + "4143": { "sourceFileName": "", "qualifiedName": "productOptionValueRepository" }, - "4155": { + "4144": { "sourceFileName": "", "qualifiedName": "cartRepository" }, - "4156": { + "4145": { "sourceFileName": "", "qualifiedName": "priceSelectionStrategy" }, - "4157": { + "4146": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.productVariantRepository_" }, - "4158": { + "4147": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.productRepository_" }, - "4159": { + "4148": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object" }, - "4160": { + "4149": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.queryProducts" }, - "4161": { + "4150": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.queryProducts" }, - "4162": { + "4151": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "optionsWithoutRelations" }, - "4163": { + "4152": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "shouldCount" }, - "4164": { + "4153": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.queryProductsWithIds" }, - "4165": { + "4154": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.queryProductsWithIds" }, - "4166": { + "4155": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__0" }, - "4167": { + "4156": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type" }, - "4168": { + "4157": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.entityIds" }, - "4169": { + "4158": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.groupedRelations" }, - "4170": { + "4159": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type" }, - "4171": { + "4160": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.__index" }, - "4173": { + "4162": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.withDeleted" }, - "4174": { + "4163": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.select" }, - "4175": { + "4164": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.order" }, - "4176": { + "4165": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type" }, - "4177": { + "4166": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.__index" }, - "4179": { + "4168": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.where" }, - "4180": { + "4169": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findWithRelationsAndCount" }, - "4181": { + "4170": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findWithRelationsAndCount" }, - "4182": { + "4171": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "relations" }, - "4183": { + "4172": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "idsOrOptionsWithoutRelations" }, - "4184": { + "4173": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findWithRelations" }, - "4185": { + "4174": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findWithRelations" }, - "4186": { + "4175": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "relations" }, - "4187": { + "4176": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "idsOrOptionsWithoutRelations" }, - "4188": { + "4177": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "withDeleted" }, - "4189": { + "4178": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findOneWithRelations" }, - "4190": { + "4179": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findOneWithRelations" }, - "4191": { + "4180": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "relations" }, - "4192": { + "4181": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "optionsWithoutRelations" }, - "4193": { + "4182": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.bulkAddToCollection" }, - "4194": { + "4183": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.bulkAddToCollection" }, - "4195": { + "4184": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "productIds" }, - "4196": { + "4185": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "collectionId" }, - "4197": { + "4186": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.bulkRemoveFromCollection" }, - "4198": { + "4187": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.bulkRemoveFromCollection" }, - "4199": { + "4188": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "productIds" }, - "4200": { + "4189": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "collectionId" }, - "4201": { + "4190": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getFreeTextSearchResultsAndCount" }, - "4202": { + "4191": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getFreeTextSearchResultsAndCount" }, - "4203": { + "4192": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "q" }, - "4204": { + "4193": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "options" }, - "4205": { + "4194": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "relations" }, - "4206": { + "4195": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getCategoryIdsFromInput" }, - "4207": { + "4196": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getCategoryIdsFromInput" }, - "4208": { + "4197": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "categoryId" }, - "4209": { + "4198": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "includeCategoryChildren" }, - "4210": { + "4199": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getCategoryIdsRecursively" }, - "4211": { + "4200": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getCategoryIdsRecursively" }, - "4212": { + "4201": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "productCategory" }, - "4213": { + "4202": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object._findWithRelations" }, - "4214": { + "4203": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object._findWithRelations" }, - "4215": { + "4204": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__0" }, - "4216": { + "4205": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type" }, - "4217": { + "4206": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.relations" }, - "4218": { + "4207": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.idsOrOptionsWithoutRelations" }, - "4219": { + "4208": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.withDeleted" }, - "4220": { + "4209": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.shouldCount" }, - "4221": { + "4210": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.isProductInSalesChannels" }, - "4222": { + "4211": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.isProductInSalesChannels" }, - "4223": { + "4212": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "id" }, - "4224": { + "4213": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "salesChannelIds" }, - "4225": { + "4214": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object._applyCategoriesQuery" }, - "4226": { + "4215": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object._applyCategoriesQuery" }, - "4227": { + "4216": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "qb" }, - "4228": { + "4217": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__1" }, - "4230": { + "4219": { "sourceFileName": "", "qualifiedName": "alias" }, - "4231": { + "4220": { "sourceFileName": "", "qualifiedName": "categoryAlias" }, - "4232": { + "4221": { "sourceFileName": "", "qualifiedName": "where" }, - "4233": { + "4222": { "sourceFileName": "", "qualifiedName": "joinName" }, - "4234": { + "4223": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.eventBus_" }, - "4235": { + "4224": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.regionService_" }, - "4236": { + "4225": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.priceSelectionStrategy_" }, - "4237": { + "4226": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.moneyAmountRepository_" }, - "4238": { + "4227": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object" }, - "4239": { + "4228": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.insertBulk" }, - "4240": { + "4229": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.insertBulk" }, - "4241": { + "4230": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "data" }, - "4242": { + "4231": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.findVariantPricesNotIn" }, - "4243": { + "4232": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.findVariantPricesNotIn" }, - "4244": { + "4233": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "variantId" }, - "4245": { + "4234": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "prices" }, - "4246": { + "4235": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.deleteVariantPricesNotIn" }, - "4247": { + "4236": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.deleteVariantPricesNotIn" }, - "4248": { + "4237": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "variantIdOrData" }, - "4249": { + "4238": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__type" }, - "4250": { + "4239": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__type.variantId" }, - "4251": { + "4240": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__type.prices" }, - "4252": { + "4241": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "prices" }, - "4253": { + "4242": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.upsertVariantCurrencyPrice" }, - "4254": { + "4243": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.upsertVariantCurrencyPrice" }, - "4255": { + "4244": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "variantId" }, - "4256": { + "4245": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "price" }, - "4257": { + "4246": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.addPriceListPrices" }, - "4258": { + "4247": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.addPriceListPrices" }, - "4259": { + "4248": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "priceListId" }, - "4260": { + "4249": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "prices" }, - "4261": { + "4250": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "overrideExisting" }, - "4262": { + "4251": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.deletePriceListPrices" }, - "4263": { + "4252": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.deletePriceListPrices" }, - "4264": { + "4253": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "priceListId" }, - "4265": { + "4254": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "moneyAmountIds" }, - "4266": { + "4255": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.findManyForVariantInPriceList" }, - "4267": { + "4256": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.findManyForVariantInPriceList" }, - "4268": { + "4257": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "variant_id" }, - "4269": { + "4258": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "price_list_id" }, - "4270": { + "4259": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "requiresPriceList" }, - "4271": { + "4260": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.findManyForVariantInRegion" }, - "4272": { + "4261": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.findManyForVariantInRegion" }, - "4273": { + "4262": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "variant_id" }, - "4274": { + "4263": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "region_id" }, - "4275": { + "4264": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "currency_code" }, - "4276": { + "4265": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "customer_id" }, - "4277": { + "4266": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "include_discount_prices" }, - "4278": { + "4267": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "include_tax_inclusive_pricing" }, - "4279": { + "4268": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.findCurrencyMoneyAmounts" }, - "4280": { + "4269": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.findCurrencyMoneyAmounts" }, - "4281": { + "4270": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "where" }, - "4282": { + "4271": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__type" }, - "4283": { + "4272": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__type.variant_id" }, - "4284": { + "4273": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__type.currency_code" }, - "4285": { + "4274": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object" }, - "4286": { + "4275": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.variant_id" }, - "4287": { + "4276": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.currency_code" }, - "4288": { + "4277": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.currency" }, - "4289": { + "4278": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.amount" }, - "4290": { + "4279": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.min_quantity" }, - "4291": { + "4280": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.max_quantity" }, - "4292": { + "4281": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.price_list_id" }, - "4293": { + "4282": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.price_list" }, - "4294": { + "4283": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.variants" }, - "4295": { + "4284": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.variant" }, - "4296": { + "4285": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.region_id" }, - "4297": { + "4286": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.region" }, - "4298": { + "4287": { "sourceFileName": "../../../packages/medusa/src/interfaces/models/soft-deletable-entity.ts", "qualifiedName": "SoftDeletableEntity.deleted_at" }, - "4299": { + "4288": { "sourceFileName": "../../../packages/medusa/src/interfaces/models/base-entity.ts", "qualifiedName": "BaseEntity.id" }, - "4300": { + "4289": { "sourceFileName": "../../../packages/medusa/src/interfaces/models/base-entity.ts", "qualifiedName": "BaseEntity.created_at" }, - "4301": { + "4290": { "sourceFileName": "../../../packages/medusa/src/interfaces/models/base-entity.ts", "qualifiedName": "BaseEntity.updated_at" }, - "4302": { + "4291": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.findRegionMoneyAmounts" }, - "4303": { + "4292": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.findRegionMoneyAmounts" }, - "4304": { + "4293": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "where" }, - "4305": { + "4294": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__type" }, - "4306": { + "4295": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__type.variant_id" }, - "4307": { + "4296": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__type.region_id" }, - "4308": { + "4297": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object" }, - "4309": { + "4298": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.variant_id" }, - "4310": { + "4299": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.currency_code" }, - "4311": { + "4300": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.currency" }, - "4312": { + "4301": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.amount" }, - "4313": { + "4302": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.min_quantity" }, - "4314": { + "4303": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.max_quantity" }, - "4315": { + "4304": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.price_list_id" }, - "4316": { + "4305": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.price_list" }, - "4317": { + "4306": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.variants" }, - "4318": { + "4307": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.variant" }, - "4319": { + "4308": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.region_id" }, - "4320": { + "4309": { "sourceFileName": "../../../packages/medusa/src/models/money-amount.ts", "qualifiedName": "MoneyAmount.region" }, - "4321": { + "4310": { "sourceFileName": "../../../packages/medusa/src/interfaces/models/soft-deletable-entity.ts", "qualifiedName": "SoftDeletableEntity.deleted_at" }, - "4322": { + "4311": { "sourceFileName": "../../../packages/medusa/src/interfaces/models/base-entity.ts", "qualifiedName": "BaseEntity.id" }, - "4323": { + "4312": { "sourceFileName": "../../../packages/medusa/src/interfaces/models/base-entity.ts", "qualifiedName": "BaseEntity.created_at" }, - "4324": { + "4313": { "sourceFileName": "../../../packages/medusa/src/interfaces/models/base-entity.ts", "qualifiedName": "BaseEntity.updated_at" }, - "4325": { + "4314": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.findManyForVariantsInRegion" }, - "4326": { + "4315": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.findManyForVariantsInRegion" }, - "4327": { + "4316": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "variant_ids" }, - "4328": { + "4317": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "region_id" }, - "4329": { + "4318": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "currency_code" }, - "4330": { + "4319": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "customer_id" }, - "4331": { + "4320": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "include_discount_prices" }, - "4332": { + "4321": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "include_tax_inclusive_pricing" }, - "4333": { + "4322": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.updatePriceListPrices" }, - "4334": { + "4323": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.updatePriceListPrices" }, - "4335": { + "4324": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "priceListId" }, - "4336": { + "4325": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "updates" }, - "4337": { + "4326": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.getPricesForVariantInRegion" }, - "4338": { + "4327": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.getPricesForVariantInRegion" }, - "4339": { + "4328": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "variantId" }, - "4340": { + "4329": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "regionId" }, - "4341": { + "4330": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.createProductVariantMoneyAmounts" }, - "4342": { + "4331": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__object.createProductVariantMoneyAmounts" }, - "4343": { + "4332": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "toCreate" }, - "4344": { + "4333": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__type" }, - "4345": { + "4334": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__type.variant_id" }, - "4346": { + "4335": { "sourceFileName": "../../../packages/medusa/src/repositories/money-amount.ts", "qualifiedName": "__type.money_amount_id" }, - "4347": { + "4336": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.productOptionValueRepository_" }, - "4348": { + "4337": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.cartRepository_" }, - "4349": { + "4338": { "sourceFileName": "../../../packages/medusa/src/repositories/cart.ts", "qualifiedName": "__object" }, - "4350": { + "4339": { "sourceFileName": "../../../packages/medusa/src/repositories/cart.ts", "qualifiedName": "__object.findWithRelations" }, - "4351": { + "4340": { "sourceFileName": "../../../packages/medusa/src/repositories/cart.ts", "qualifiedName": "__object.findWithRelations" }, - "4352": { + "4341": { "sourceFileName": "../../../packages/medusa/src/repositories/cart.ts", "qualifiedName": "relations" }, - "4353": { + "4342": { "sourceFileName": "../../../packages/medusa/src/repositories/cart.ts", "qualifiedName": "optionsWithoutRelations" }, - "4354": { + "4343": { "sourceFileName": "../../../packages/medusa/src/repositories/cart.ts", "qualifiedName": "__object.findOneWithRelations" }, - "4355": { + "4344": { "sourceFileName": "../../../packages/medusa/src/repositories/cart.ts", "qualifiedName": "__object.findOneWithRelations" }, - "4356": { + "4345": { "sourceFileName": "../../../packages/medusa/src/repositories/cart.ts", "qualifiedName": "relations" }, - "4357": { + "4346": { "sourceFileName": "../../../packages/medusa/src/repositories/cart.ts", "qualifiedName": "optionsWithoutRelations" }, - "4358": { + "4347": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.retrieve" }, - "4359": { + "4348": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.retrieve" }, - "4360": { + "4349": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "variantId" }, - "4361": { + "4350": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "config" }, - "4362": { + "4351": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.retrieveBySKU" }, - "4363": { + "4352": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.retrieveBySKU" }, - "4364": { + "4353": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "sku" }, - "4365": { + "4354": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "config" }, - "4366": { + "4355": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.create" }, - "4367": { + "4356": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.create" }, - "4368": { + "4357": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "TVariants" }, - "4369": { + "4358": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "TOutput" }, - "4370": { + "4359": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "productOrProductId" }, - "4371": { + "4360": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "variants" }, - "4372": { + "4361": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.update" }, - "4373": { + "4362": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.update" }, - "4374": { + "4363": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "variantData" }, - "4375": { + "4364": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "__type" }, - "4376": { + "4365": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "__type.variant" }, - "4377": { + "4366": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "__type.updateData" }, - "4378": { + "4367": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.update" }, - "4379": { + "4368": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "variantOrVariantId" }, - "4380": { + "4369": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "update" }, - "4381": { + "4370": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.update" }, - "4382": { + "4371": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "variantOrVariantId" }, - "4383": { + "4372": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "update" }, - "4384": { + "4373": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.updateBatch" }, - "4385": { + "4374": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.updateBatch" }, - "4386": { + "4375": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "variantData" }, - "4387": { + "4376": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.updateVariantPrices" }, - "4388": { + "4377": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.updateVariantPrices" }, - "4389": { + "4378": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "data" }, - "4390": { + "4379": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.updateVariantPrices" }, - "4391": { + "4380": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "variantId" }, - "4392": { + "4381": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "prices" }, - "4393": { + "4382": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.updateVariantPricesBatch" }, - "4394": { + "4383": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.updateVariantPricesBatch" }, - "4395": { + "4384": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "data" }, - "4396": { + "4385": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.upsertRegionPrices" }, - "4397": { + "4386": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.upsertRegionPrices" }, - "4398": { + "4387": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "data" }, - "4399": { + "4388": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.upsertCurrencyPrices" }, - "4400": { + "4389": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.upsertCurrencyPrices" }, - "4401": { + "4390": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "data" }, - "4402": { + "4391": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "__type" }, - "4403": { + "4392": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "__type.variantId" }, - "4404": { + "4393": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "__type.price" }, - "4405": { + "4394": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.getRegionPrice" }, - "4406": { + "4395": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.getRegionPrice" }, - "4407": { + "4396": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "variantId" }, - "4408": { + "4397": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "context" }, - "4409": { + "4398": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.setRegionPrice" }, - "4410": { + "4399": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.setRegionPrice" }, - "4411": { + "4400": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "variantId" }, - "4412": { + "4401": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "price" }, - "4413": { + "4402": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.setCurrencyPrice" }, - "4414": { + "4403": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.setCurrencyPrice" }, - "4415": { + "4404": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "variantId" }, - "4416": { + "4405": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "price" }, - "4417": { + "4406": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.updateOptionValue" }, - "4418": { + "4407": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.updateOptionValue" }, - "4419": { + "4408": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "variantId" }, - "4420": { + "4409": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "optionId" }, - "4421": { + "4410": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "optionValue" }, - "4422": { + "4411": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.addOptionValue" }, - "4423": { + "4412": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.addOptionValue" }, - "4424": { + "4413": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "variantId" }, - "4425": { + "4414": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "optionId" }, - "4426": { + "4415": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "optionValue" }, - "4427": { + "4416": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.deleteOptionValue" }, - "4428": { + "4417": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.deleteOptionValue" }, - "4429": { + "4418": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "variantId" }, - "4430": { + "4419": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "optionId" }, - "4431": { + "4420": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.listAndCount" }, - "4432": { + "4421": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.listAndCount" }, - "4433": { + "4422": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "selector" }, - "4434": { + "4423": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "config" }, - "4435": { + "4424": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.list" }, - "4436": { + "4425": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.list" }, - "4437": { + "4426": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "selector" }, - "4438": { + "4427": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "config" }, - "4439": { + "4428": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.delete" }, - "4440": { + "4429": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.delete" }, - "4441": { + "4430": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "variantIds" }, - "4442": { + "4431": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.isVariantInSalesChannels" }, - "4443": { + "4432": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.isVariantInSalesChannels" }, - "4444": { + "4433": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "id" }, - "4445": { + "4434": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "salesChannelIds" }, - "4446": { + "4435": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.getFreeTextQueryBuilder_" }, - "4447": { + "4436": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.getFreeTextQueryBuilder_" }, - "4448": { + "4437": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "variantRepo" }, - "4449": { + "4438": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "query" }, - "4450": { + "4439": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "q" }, - "4451": { + "4440": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.validateVariantsToCreate_" }, - "4452": { + "4441": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "ProductVariantService.validateVariantsToCreate_" }, - "4453": { + "4442": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "product" }, - "4454": { + "4443": { "sourceFileName": "../../../packages/medusa/src/services/product-variant.ts", "qualifiedName": "variants" }, - "4455": { + "4444": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "4456": { + "4445": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "4457": { + "4446": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "4458": { + "4447": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "4459": { + "4448": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "4460": { + "4449": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "4461": { + "4450": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "4462": { + "4451": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "4463": { + "4452": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "4464": { + "4453": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "4465": { + "4454": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "4466": { + "4455": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "4467": { + "4456": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "4468": { + "4457": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4469": { + "4458": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "4470": { + "4459": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "4471": { + "4460": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "4472": { + "4461": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "4473": { + "4462": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "4474": { + "4463": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "4475": { + "4464": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4476": { + "4465": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4477": { + "4466": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "4478": { + "4467": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "4479": { + "4468": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4480": { + "4469": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4481": { + "4470": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "4482": { + "4471": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "4483": { + "4472": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4484": { + "4473": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4485": { + "4474": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "4486": { + "4475": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService" }, - "4487": { + "4476": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.__constructor" }, - "4488": { + "4477": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService" }, - "4489": { + "4478": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "__0" }, - "4490": { + "4479": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.manager_" }, - "4491": { + "4480": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.transactionManager_" }, - "4492": { + "4481": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.salesChannelLocationService_" }, - "4493": { + "4482": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.salesChannelInventoryService_" }, - "4494": { + "4483": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.productVariantService_" }, - "4495": { + "4484": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.eventBusService_" }, - "4496": { + "4485": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.featureFlagRouter_" }, - "4497": { + "4486": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.remoteQuery_" }, - "4498": { + "4487": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.inventoryService_" }, - "4499": { + "4488": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.inventoryService_" }, - "4500": { + "4489": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.stockLocationService_" }, - "4501": { + "4490": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.stockLocationService_" }, - "4502": { + "4491": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.confirmInventory" }, - "4503": { + "4492": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.confirmInventory" }, - "4504": { + "4493": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "variantId" }, - "4505": { + "4494": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "quantity" }, - "4506": { + "4495": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "context" }, - "4507": { + "4496": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "__type" }, - "4508": { + "4497": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "__type.salesChannelId" }, - "4509": { + "4498": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.retrieve" }, - "4510": { + "4499": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.retrieve" }, - "4511": { + "4500": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "inventoryItemId" }, - "4512": { + "4501": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "variantId" }, - "4513": { + "4502": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.listByItem" }, - "4514": { + "4503": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.listByItem" }, - "4515": { + "4504": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "itemIds" }, - "4516": { + "4505": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.listByVariant" }, - "4517": { + "4506": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.listByVariant" }, - "4518": { + "4507": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "variantId" }, - "4519": { + "4508": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.listVariantsByItem" }, - "4520": { + "4509": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.listVariantsByItem" }, - "4521": { + "4510": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "itemId" }, - "4522": { + "4511": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.listInventoryItemsByVariant" }, - "4523": { + "4512": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.listInventoryItemsByVariant" }, - "4524": { + "4513": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "variantId" }, - "4525": { + "4514": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.attachInventoryItem" }, - "4526": { + "4515": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.attachInventoryItem" }, - "4527": { + "4516": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "attachments" }, - "4528": { + "4517": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "__type" }, - "4529": { + "4518": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "__type.variantId" }, - "4530": { + "4519": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "__type.inventoryItemId" }, - "4531": { + "4520": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "__type.requiredQuantity" }, - "4532": { + "4521": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.attachInventoryItem" }, - "4533": { + "4522": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "variantId" }, - "4534": { + "4523": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "inventoryItemId" }, - "4535": { + "4524": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "requiredQuantity" }, - "4536": { + "4525": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.detachInventoryItem" }, - "4537": { + "4526": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.detachInventoryItem" }, - "4538": { + "4527": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "inventoryItemId" }, - "4539": { + "4528": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "variantId" }, - "4540": { + "4529": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.reserveQuantity" }, - "4541": { + "4530": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.reserveQuantity" }, - "4542": { + "4531": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "variantId" }, - "4543": { + "4532": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "quantity" }, - "4544": { + "4533": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "context" }, - "4545": { + "4534": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.adjustReservationsQuantityByLineItem" }, - "4546": { + "4535": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.adjustReservationsQuantityByLineItem" }, - "4547": { + "4536": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "lineItemId" }, - "4548": { + "4537": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "variantId" }, - "4549": { + "4538": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "locationId" }, - "4550": { + "4539": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "quantity" }, - "4551": { + "4540": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.validateInventoryAtLocation" }, - "4552": { + "4541": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.validateInventoryAtLocation" }, - "4553": { + "4542": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "items" }, - "4554": { + "4543": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "locationId" }, - "4555": { + "4544": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.deleteReservationsByLineItem" }, - "4556": { + "4545": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.deleteReservationsByLineItem" }, - "4557": { + "4546": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "lineItemId" }, - "4558": { + "4547": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "variantId" }, - "4559": { + "4548": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "quantity" }, - "4560": { + "4549": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.adjustInventory" }, - "4561": { + "4550": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.adjustInventory" }, - "4562": { + "4551": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "variantId" }, - "4563": { + "4552": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "locationId" }, - "4564": { + "4553": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "quantity" }, - "4565": { + "4554": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.setVariantAvailability" }, - "4566": { + "4555": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.setVariantAvailability" }, - "4567": { + "4556": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "variants" }, - "4568": { + "4557": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "salesChannelId" }, - "4569": { + "4558": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "availabilityContext" }, - "4570": { + "4559": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.getAvailabilityContext" }, - "4571": { + "4560": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.getAvailabilityContext" }, - "4572": { + "4561": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "variants" }, - "4573": { + "4562": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "salesChannelId" }, - "4574": { + "4563": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "existingContext" }, - "4575": { + "4564": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.setProductAvailability" }, - "4576": { + "4565": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.setProductAvailability" }, - "4577": { + "4566": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "products" }, - "4578": { + "4567": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "salesChannelId" }, - "4579": { + "4568": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.getVariantQuantityFromVariantInventoryItems" }, - "4580": { + "4569": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "ProductVariantInventoryService.getVariantQuantityFromVariantInventoryItems" }, - "4581": { + "4570": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "variantInventoryItems" }, - "4582": { + "4571": { "sourceFileName": "../../../packages/medusa/src/services/product-variant-inventory.ts", "qualifiedName": "channelId" }, - "4583": { + "4572": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "4584": { + "4573": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "4585": { + "4574": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "4586": { + "4575": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "4587": { + "4576": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "4588": { + "4577": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "4589": { + "4578": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "4590": { + "4579": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "4591": { + "4580": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "4592": { + "4581": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "4593": { + "4582": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "4594": { + "4583": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4595": { + "4584": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "4596": { + "4585": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "4597": { + "4586": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "4598": { + "4587": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "4599": { + "4588": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "4600": { + "4589": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "4601": { + "4590": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4602": { + "4591": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4603": { + "4592": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "4604": { + "4593": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "4605": { + "4594": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4606": { + "4595": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4607": { + "4596": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "4608": { + "4597": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "4609": { + "4598": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4610": { + "4599": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4611": { + "4600": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "4612": { + "4601": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService" }, - "4613": { + "4602": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.Events" }, - "4614": { + "4603": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "__object" }, - "4615": { + "4604": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "__object.UPDATED" }, - "4616": { + "4605": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "__object.CREATED" }, - "4617": { + "4606": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "__object.DELETED" }, - "4618": { + "4607": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.__constructor" }, - "4619": { + "4608": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService" }, - "4620": { + "4609": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "__0" }, - "4621": { + "4610": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.featureFlagRouter_" }, - "4622": { + "4611": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.eventBus_" }, - "4623": { + "4612": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.storeService_" }, - "4624": { + "4613": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.paymentProviderService_" }, - "4625": { + "4614": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.fulfillmentProviderService_" }, - "4626": { + "4615": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.regionRepository_" }, - "4627": { + "4616": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.countryRepository_" }, - "4628": { + "4617": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.currencyRepository_" }, - "4629": { + "4618": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.paymentProviderRepository_" }, - "4630": { + "4619": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.fulfillmentProviderRepository_" }, - "4631": { + "4620": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.taxProviderRepository_" }, - "4632": { + "4621": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.create" }, - "4633": { + "4622": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.create" }, - "4634": { + "4623": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "data" }, - "4635": { + "4624": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.update" }, - "4636": { + "4625": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.update" }, - "4637": { + "4626": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "regionId" }, - "4638": { + "4627": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "update" }, - "4639": { + "4628": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.validateFields" }, - "4640": { + "4629": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.validateFields" }, - "4641": { + "4630": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "T" }, - "4642": { + "4631": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "regionData" }, - "4643": { + "4632": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "id" }, - "4644": { + "4633": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.validateTaxRate" }, - "4645": { + "4634": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.validateTaxRate" }, - "4646": { + "4635": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "taxRate" }, - "4647": { + "4636": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.validateCurrency" }, - "4648": { + "4637": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.validateCurrency" }, - "4649": { + "4638": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "currencyCode" }, - "4650": { + "4639": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.validateCountry" }, - "4651": { + "4640": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.validateCountry" }, - "4652": { + "4641": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "code" }, - "4653": { + "4642": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "regionId" }, - "4654": { + "4643": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.retrieveByCountryCode" }, - "4655": { + "4644": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.retrieveByCountryCode" }, - "4656": { + "4645": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "code" }, - "4657": { + "4646": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "config" }, - "4658": { + "4647": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.retrieveByName" }, - "4659": { + "4648": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.retrieveByName" }, - "4660": { + "4649": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "name" }, - "4661": { + "4650": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.retrieve" }, - "4662": { + "4651": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.retrieve" }, - "4663": { + "4652": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "regionId" }, - "4664": { + "4653": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "config" }, - "4665": { + "4654": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.list" }, - "4666": { + "4655": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.list" }, - "4667": { + "4656": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "selector" }, - "4668": { + "4657": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "config" }, - "4669": { + "4658": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.listAndCount" }, - "4670": { + "4659": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.listAndCount" }, - "4671": { + "4660": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "selector" }, - "4672": { + "4661": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "__type" }, - "4673": { + "4662": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "__type.q" }, - "4674": { + "4663": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "config" }, - "4675": { + "4664": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.delete" }, - "4676": { + "4665": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.delete" }, - "4677": { + "4666": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "regionId" }, - "4678": { + "4667": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.addCountry" }, - "4679": { + "4668": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.addCountry" }, - "4680": { + "4669": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "regionId" }, - "4681": { + "4670": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "code" }, - "4682": { + "4671": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.removeCountry" }, - "4683": { + "4672": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.removeCountry" }, - "4684": { + "4673": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "regionId" }, - "4685": { + "4674": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "code" }, - "4686": { + "4675": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.addPaymentProvider" }, - "4687": { + "4676": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.addPaymentProvider" }, - "4688": { + "4677": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "regionId" }, - "4689": { + "4678": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "providerId" }, - "4690": { + "4679": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.addFulfillmentProvider" }, - "4691": { + "4680": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.addFulfillmentProvider" }, - "4692": { + "4681": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "regionId" }, - "4693": { + "4682": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "providerId" }, - "4694": { + "4683": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.removePaymentProvider" }, - "4695": { + "4684": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.removePaymentProvider" }, - "4696": { + "4685": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "regionId" }, - "4697": { + "4686": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "providerId" }, - "4698": { + "4687": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.removeFulfillmentProvider" }, - "4699": { + "4688": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "RegionService.removeFulfillmentProvider" }, - "4700": { + "4689": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "regionId" }, - "4701": { + "4690": { "sourceFileName": "../../../packages/medusa/src/services/region.ts", "qualifiedName": "providerId" }, - "4702": { + "4691": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "4703": { + "4692": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "4704": { + "4693": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "4705": { + "4694": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "4706": { + "4695": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "4707": { + "4696": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "4708": { + "4697": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "4709": { + "4698": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "4710": { + "4699": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "4711": { + "4700": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "4712": { + "4701": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "4713": { + "4702": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "4714": { + "4703": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "4715": { + "4704": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4716": { + "4705": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "4717": { + "4706": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "4718": { + "4707": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "4719": { + "4708": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "4720": { + "4709": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "4721": { + "4710": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "4722": { + "4711": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4723": { + "4712": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4724": { + "4713": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "4725": { + "4714": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "4726": { + "4715": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4727": { + "4716": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4728": { + "4717": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "4729": { + "4718": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "4730": { + "4719": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4731": { + "4720": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4732": { + "4721": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "4733": { + "4722": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService" }, - "4734": { + "4723": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.__constructor" }, - "4735": { + "4724": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService" }, - "4736": { + "4725": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "__0" }, - "4737": { + "4726": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.totalsService_" }, - "4738": { + "4727": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.returnRepository_" }, - "4739": { + "4728": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.returnItemRepository_" }, - "4740": { + "4729": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.lineItemService_" }, - "4741": { + "4730": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.taxProviderService_" }, - "4742": { + "4731": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.shippingOptionService_" }, - "4743": { + "4732": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.fulfillmentProviderService_" }, - "4744": { + "4733": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.returnReasonService_" }, - "4745": { + "4734": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.orderService_" }, - "4746": { + "4735": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.productVariantInventoryService_" }, - "4747": { + "4736": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.featureFlagRouter_" }, - "4748": { + "4737": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.getFulfillmentItems" }, - "4749": { + "4738": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.getFulfillmentItems" }, - "4750": { + "4739": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "order" }, - "4751": { + "4740": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "items" }, - "4752": { + "4741": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "transformer" }, - "4753": { + "4742": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "__type" }, - "4754": { + "4743": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "__type.reason_id" }, - "4755": { + "4744": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "__type.note" }, - "4756": { + "4745": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.list" }, - "4757": { + "4746": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.list" }, - "4758": { + "4747": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "selector" }, - "4759": { + "4748": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "config" }, - "4760": { + "4749": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.listAndCount" }, - "4761": { + "4750": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.listAndCount" }, - "4762": { + "4751": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "selector" }, - "4763": { + "4752": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "config" }, - "4764": { + "4753": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.cancel" }, - "4765": { + "4754": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.cancel" }, - "4766": { + "4755": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "returnId" }, - "4767": { + "4756": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.validateReturnStatuses" }, - "4768": { + "4757": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.validateReturnStatuses" }, - "4769": { + "4758": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "order" }, - "4770": { + "4759": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.validateReturnLineItem" }, - "4771": { + "4760": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.validateReturnLineItem" }, - "4772": { + "4761": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "item" }, - "4773": { + "4762": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "quantity" }, - "4774": { + "4763": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "additional" }, - "4775": { + "4764": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "__type" }, - "4776": { + "4765": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "__type.reason_id" }, - "4777": { + "4766": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "__type.note" }, - "4778": { + "4767": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.retrieve" }, - "4779": { + "4768": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.retrieve" }, - "4780": { + "4769": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "returnId" }, - "4781": { + "4770": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "config" }, - "4782": { + "4771": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.retrieveBySwap" }, - "4783": { + "4772": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.retrieveBySwap" }, - "4784": { + "4773": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "swapId" }, - "4785": { + "4774": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "relations" }, - "4786": { + "4775": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.update" }, - "4787": { + "4776": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.update" }, - "4788": { + "4777": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "returnId" }, - "4789": { + "4778": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "update" }, - "4790": { + "4779": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.create" }, - "4791": { + "4780": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.create" }, - "4792": { + "4781": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "data" }, - "4793": { + "4782": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.fulfill" }, - "4794": { + "4783": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.fulfill" }, - "4795": { + "4784": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "returnId" }, - "4796": { + "4785": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.receive" }, - "4797": { + "4786": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "ReturnService.receive" }, - "4798": { + "4787": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "returnId" }, - "4799": { + "4788": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "receivedItems" }, - "4800": { + "4789": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "refundAmount" }, - "4801": { + "4790": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "allowMismatch" }, - "4802": { + "4791": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "context" }, - "4803": { + "4792": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "__type" }, - "4804": { + "4793": { "sourceFileName": "../../../packages/medusa/src/services/return.ts", "qualifiedName": "__type.locationId" }, - "4805": { + "4794": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "4806": { + "4795": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "4807": { + "4796": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "4808": { + "4797": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "4809": { + "4798": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "4810": { + "4799": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "4811": { + "4800": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "4812": { + "4801": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "4813": { + "4802": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "4814": { + "4803": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "4815": { + "4804": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "4816": { + "4805": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "4817": { + "4806": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "4818": { + "4807": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4819": { + "4808": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "4820": { + "4809": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "4821": { + "4810": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "4822": { + "4811": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "4823": { + "4812": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "4824": { + "4813": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "4825": { + "4814": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4826": { + "4815": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4827": { + "4816": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "4828": { + "4817": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "4829": { + "4818": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4830": { + "4819": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4831": { + "4820": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "4832": { + "4821": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "4833": { + "4822": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4834": { + "4823": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4835": { + "4824": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "4836": { + "4825": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "ReturnReasonService" }, - "4837": { + "4826": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "ReturnReasonService.__constructor" }, - "4838": { + "4827": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "ReturnReasonService" }, - "4839": { + "4828": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "__0" }, - "4840": { + "4829": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "ReturnReasonService.retReasonRepo_" }, - "4841": { + "4830": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "ReturnReasonService.create" }, - "4842": { + "4831": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "ReturnReasonService.create" }, - "4843": { + "4832": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "data" }, - "4844": { + "4833": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "ReturnReasonService.update" }, - "4845": { + "4834": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "ReturnReasonService.update" }, - "4846": { + "4835": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "id" }, - "4847": { + "4836": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "data" }, - "4848": { + "4837": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "ReturnReasonService.list" }, - "4849": { + "4838": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "ReturnReasonService.list" }, - "4850": { + "4839": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "selector" }, - "4851": { + "4840": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "config" }, - "4852": { + "4841": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "ReturnReasonService.retrieve" }, - "4853": { + "4842": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "ReturnReasonService.retrieve" }, - "4854": { + "4843": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "returnReasonId" }, - "4855": { + "4844": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "config" }, - "4856": { + "4845": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "ReturnReasonService.delete" }, - "4857": { + "4846": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "ReturnReasonService.delete" }, - "4858": { + "4847": { "sourceFileName": "../../../packages/medusa/src/services/return-reason.ts", "qualifiedName": "returnReasonId" }, - "4859": { + "4848": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "4860": { + "4849": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "4861": { + "4850": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "4862": { + "4851": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "4863": { + "4852": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "4864": { + "4853": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "4865": { + "4854": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "4866": { + "4855": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "4867": { + "4856": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "4868": { + "4857": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "4869": { + "4858": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "4870": { + "4859": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "4871": { + "4860": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "4872": { + "4861": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4873": { + "4862": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "4874": { + "4863": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "4875": { + "4864": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "4876": { + "4865": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "4877": { + "4866": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "4878": { + "4867": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "4879": { + "4868": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4880": { + "4869": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4881": { + "4870": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "4882": { + "4871": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "4883": { + "4872": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4884": { + "4873": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4885": { + "4874": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "4886": { + "4875": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "4887": { + "4876": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4888": { + "4877": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4889": { + "4878": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "4890": { + "4879": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService" }, - "4891": { + "4880": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.Events" }, - "4892": { + "4881": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "__object" }, - "4893": { + "4882": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "__object.UPDATED" }, - "4894": { + "4883": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "__object.CREATED" }, - "4895": { + "4884": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "__object.DELETED" }, - "4896": { + "4885": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.__constructor" }, - "4897": { + "4886": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService" }, - "4898": { + "4887": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "__0" }, - "4899": { + "4888": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.salesChannelRepository_" }, - "4900": { + "4889": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "__object" }, - "4901": { + "4890": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "__object.getFreeTextSearchResults_" }, - "4902": { + "4891": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "__object.getFreeTextSearchResults_" }, - "4903": { + "4892": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "q" }, - "4904": { + "4893": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "options" }, - "4905": { + "4894": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "__type" }, - "4906": { + "4895": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "__type.withCount" }, - "4907": { + "4896": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "__object.getFreeTextSearchResultsAndCount" }, - "4908": { + "4897": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "__object.getFreeTextSearchResultsAndCount" }, - "4909": { + "4898": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "q" }, - "4910": { + "4899": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "options" }, - "4911": { + "4900": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "__object.getFreeTextSearchResults" }, - "4912": { + "4901": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "__object.getFreeTextSearchResults" }, - "4913": { + "4902": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "q" }, - "4914": { + "4903": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "options" }, - "4915": { + "4904": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "__object.removeProducts" }, - "4916": { + "4905": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "__object.removeProducts" }, - "4917": { + "4906": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "salesChannelId" }, - "4918": { + "4907": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "productIds" }, - "4919": { + "4908": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "__object.addProducts" }, - "4920": { + "4909": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "__object.addProducts" }, - "4921": { + "4910": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "salesChannelId" }, - "4922": { + "4911": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "productIds" }, - "4923": { + "4912": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "isMedusaV2Enabled" }, - "4924": { + "4913": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "__object.listProductIdsBySalesChannelIds" }, - "4925": { + "4914": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "__object.listProductIdsBySalesChannelIds" }, - "4926": { + "4915": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "salesChannelIds" }, - "4927": { + "4916": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "__type" }, - "4928": { + "4917": { "sourceFileName": "../../../packages/medusa/src/repositories/sales-channel.ts", "qualifiedName": "__type.__index" }, - "4930": { + "4919": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.eventBusService_" }, - "4931": { + "4920": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.storeService_" }, - "4932": { + "4921": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.featureFlagRouter_" }, - "4933": { + "4922": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.retrieve_" }, - "4934": { + "4923": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.retrieve_" }, - "4935": { + "4924": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "selector" }, - "4936": { + "4925": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "config" }, - "4937": { + "4926": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.retrieve" }, - "4938": { + "4927": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.retrieve" }, - "4939": { + "4928": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "salesChannelId" }, - "4940": { + "4929": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "config" }, - "4941": { + "4930": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.retrieveByName" }, - "4942": { + "4931": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.retrieveByName" }, - "4943": { + "4932": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "name" }, - "4944": { + "4933": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "config" }, - "4945": { + "4934": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.listAndCount" }, - "4946": { + "4935": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.listAndCount" }, - "4947": { + "4936": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "selector" }, - "4948": { + "4937": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "config" }, - "4949": { + "4938": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.list" }, - "4950": { + "4939": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.list" }, - "4951": { + "4940": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "selector" }, - "4952": { + "4941": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "config" }, - "4953": { + "4942": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.create" }, - "4954": { + "4943": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.create" }, - "4955": { + "4944": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "data" }, - "4956": { + "4945": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.update" }, - "4957": { + "4946": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.update" }, - "4958": { + "4947": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "salesChannelId" }, - "4959": { + "4948": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "data" }, - "4960": { + "4949": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.delete" }, - "4961": { + "4950": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.delete" }, - "4962": { + "4951": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "salesChannelId" }, - "4963": { + "4952": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.createDefault" }, - "4964": { + "4953": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.createDefault" }, - "4965": { + "4954": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.retrieveDefault" }, - "4966": { + "4955": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.retrieveDefault" }, - "4967": { + "4956": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.listProductIdsBySalesChannelIds" }, - "4968": { + "4957": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.listProductIdsBySalesChannelIds" }, - "4969": { + "4958": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "salesChannelIds" }, - "4970": { + "4959": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "__type" }, - "4971": { + "4960": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "__type.__index" }, - "4973": { + "4962": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.removeProducts" }, - "4974": { + "4963": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.removeProducts" }, - "4975": { + "4964": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "salesChannelId" }, - "4976": { + "4965": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "productIds" }, - "4977": { + "4966": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.addProducts" }, - "4978": { + "4967": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "SalesChannelService.addProducts" }, - "4979": { + "4968": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "salesChannelId" }, - "4980": { + "4969": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel.ts", "qualifiedName": "productIds" }, - "4981": { + "4970": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "4982": { + "4971": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "4983": { + "4972": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "4984": { + "4973": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "4985": { + "4974": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "4986": { + "4975": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "4987": { + "4976": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "4988": { + "4977": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "4989": { + "4978": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "4990": { + "4979": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "4991": { + "4980": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "4992": { + "4981": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "4993": { + "4982": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "4994": { + "4983": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "4995": { + "4984": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "4996": { + "4985": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "4997": { + "4986": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "4998": { + "4987": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "4999": { + "4988": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "5000": { + "4989": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "5001": { + "4990": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5002": { + "4991": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5003": { + "4992": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5004": { + "4993": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "5005": { + "4994": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5006": { + "4995": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5007": { + "4996": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5008": { + "4997": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "5009": { + "4998": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5010": { + "4999": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5011": { + "5000": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5012": { + "5001": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-inventory.ts", "qualifiedName": "SalesChannelInventoryService" }, - "5013": { + "5002": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-inventory.ts", "qualifiedName": "SalesChannelInventoryService.__constructor" }, - "5014": { + "5003": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-inventory.ts", "qualifiedName": "SalesChannelInventoryService" }, - "5015": { + "5004": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-inventory.ts", "qualifiedName": "__0" }, - "5016": { + "5005": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-inventory.ts", "qualifiedName": "SalesChannelInventoryService.salesChannelLocationService_" }, - "5017": { + "5006": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-inventory.ts", "qualifiedName": "SalesChannelInventoryService.eventBusService_" }, - "5018": { + "5007": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-inventory.ts", "qualifiedName": "SalesChannelInventoryService.inventoryService_" }, - "5019": { + "5008": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-inventory.ts", "qualifiedName": "SalesChannelInventoryService.inventoryService_" }, - "5020": { + "5009": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-inventory.ts", "qualifiedName": "SalesChannelInventoryService.retrieveAvailableItemQuantity" }, - "5021": { + "5010": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-inventory.ts", "qualifiedName": "SalesChannelInventoryService.retrieveAvailableItemQuantity" }, - "5022": { + "5011": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-inventory.ts", "qualifiedName": "salesChannelId" }, - "5023": { + "5012": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-inventory.ts", "qualifiedName": "inventoryItemId" }, - "5024": { + "5013": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "5025": { + "5014": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "5026": { + "5015": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5027": { + "5016": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5028": { + "5017": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "5029": { + "5018": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "5030": { + "5019": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "5031": { + "5020": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5032": { + "5021": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5033": { + "5022": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5034": { + "5023": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5035": { + "5024": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5036": { + "5025": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "5037": { + "5026": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5038": { + "5027": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "5039": { + "5028": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5040": { + "5029": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5041": { + "5030": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "5042": { + "5031": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "5043": { + "5032": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "5044": { + "5033": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5045": { + "5034": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5046": { + "5035": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5047": { + "5036": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "5048": { + "5037": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5049": { + "5038": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5050": { + "5039": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5051": { + "5040": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "5052": { + "5041": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5053": { + "5042": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5054": { + "5043": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5055": { + "5044": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "SalesChannelLocationService" }, - "5056": { + "5045": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "SalesChannelLocationService.__constructor" }, - "5057": { + "5046": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "SalesChannelLocationService" }, - "5058": { + "5047": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "__0" }, - "5059": { + "5048": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "SalesChannelLocationService.salesChannelService_" }, - "5060": { + "5049": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "SalesChannelLocationService.eventBusService_" }, - "5061": { + "5050": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "SalesChannelLocationService.stockLocationService_" }, - "5062": { + "5051": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "SalesChannelLocationService.stockLocationService_" }, - "5063": { + "5052": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "SalesChannelLocationService.removeLocation" }, - "5064": { + "5053": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "SalesChannelLocationService.removeLocation" }, - "5065": { + "5054": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "locationId" }, - "5066": { + "5055": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "salesChannelId" }, - "5067": { + "5056": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "SalesChannelLocationService.associateLocation" }, - "5068": { + "5057": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "SalesChannelLocationService.associateLocation" }, - "5069": { + "5058": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "salesChannelId" }, - "5070": { + "5059": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "locationId" }, - "5071": { + "5060": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "SalesChannelLocationService.listLocationIds" }, - "5072": { + "5061": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "SalesChannelLocationService.listLocationIds" }, - "5073": { + "5062": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "salesChannelId" }, - "5074": { + "5063": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "SalesChannelLocationService.listSalesChannelIds" }, - "5075": { + "5064": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "SalesChannelLocationService.listSalesChannelIds" }, - "5076": { + "5065": { "sourceFileName": "../../../packages/medusa/src/services/sales-channel-location.ts", "qualifiedName": "locationId" }, - "5077": { + "5066": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "5078": { + "5067": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "5079": { + "5068": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5080": { + "5069": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5081": { + "5070": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "5082": { + "5071": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "5083": { + "5072": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "5084": { + "5073": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5085": { + "5074": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5086": { + "5075": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5087": { + "5076": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5088": { + "5077": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5089": { + "5078": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "5090": { + "5079": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5091": { + "5080": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "5092": { + "5081": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5093": { + "5082": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5094": { + "5083": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "5095": { + "5084": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "5096": { + "5085": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "5097": { + "5086": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5098": { + "5087": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5099": { + "5088": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5100": { + "5089": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "5101": { + "5090": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5102": { + "5091": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5103": { + "5092": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5104": { + "5093": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "5105": { + "5094": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5106": { + "5095": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5107": { + "5096": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5108": { + "5097": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default" }, - "5113": { + "5102": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.__constructor" }, - "5114": { + "5103": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default" }, - "5115": { + "5104": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "__0" }, - "5116": { + "5105": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "options" }, - "5117": { + "5106": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.isDefault" }, - "5118": { + "5107": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.logger_" }, - "5119": { + "5108": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.options_" }, - "5120": { + "5109": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.createIndex" }, - "5121": { + "5110": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.createIndex" }, - "5122": { + "5111": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "indexName" }, - "5123": { + "5112": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "options" }, - "5124": { + "5113": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.getIndex" }, - "5125": { + "5114": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.getIndex" }, - "5126": { + "5115": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "indexName" }, - "5127": { + "5116": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.addDocuments" }, - "5128": { + "5117": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.addDocuments" }, - "5129": { + "5118": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "indexName" }, - "5130": { + "5119": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "documents" }, - "5131": { + "5120": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "type" }, - "5132": { + "5121": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.replaceDocuments" }, - "5133": { + "5122": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.replaceDocuments" }, - "5134": { + "5123": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "indexName" }, - "5135": { + "5124": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "documents" }, - "5136": { + "5125": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "type" }, - "5137": { + "5126": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.deleteDocument" }, - "5138": { + "5127": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.deleteDocument" }, - "5139": { + "5128": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "indexName" }, - "5140": { + "5129": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "document_id" }, - "5141": { + "5130": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.deleteAllDocuments" }, - "5142": { + "5131": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.deleteAllDocuments" }, - "5143": { + "5132": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "indexName" }, - "5144": { + "5133": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.search" }, - "5145": { + "5134": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.search" }, - "5146": { + "5135": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "indexName" }, - "5147": { + "5136": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "query" }, - "5148": { + "5137": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "options" }, - "5149": { + "5138": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "__type" }, - "5150": { + "5139": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "__type.hits" }, - "5151": { + "5140": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.updateSettings" }, - "5152": { + "5141": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "default.updateSettings" }, - "5153": { + "5142": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "indexName" }, - "5154": { + "5143": { "sourceFileName": "../../../packages/medusa/src/services/search.ts", "qualifiedName": "settings" }, - "5157": { + "5146": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService" }, - "5158": { + "5147": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.__constructor" }, - "5159": { + "5148": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService" }, - "5160": { + "5149": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "__0" }, - "5161": { + "5150": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.providerService_" }, - "5162": { + "5151": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.regionService_" }, - "5163": { + "5152": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.requirementRepository_" }, - "5164": { + "5153": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.optionRepository_" }, - "5165": { + "5154": { "sourceFileName": "../../../packages/medusa/src/repositories/shipping-option.ts", "qualifiedName": "__object" }, - "5166": { + "5155": { "sourceFileName": "../../../packages/medusa/src/repositories/shipping-option.ts", "qualifiedName": "__object.upsertShippingProfile" }, - "5167": { + "5156": { "sourceFileName": "../../../packages/medusa/src/repositories/shipping-option.ts", "qualifiedName": "__object.upsertShippingProfile" }, - "5168": { + "5157": { "sourceFileName": "../../../packages/medusa/src/repositories/shipping-option.ts", "qualifiedName": "shippingOptionIds" }, - "5169": { + "5158": { "sourceFileName": "../../../packages/medusa/src/repositories/shipping-option.ts", "qualifiedName": "shippingProfileId" }, - "5170": { + "5159": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.methodRepository_" }, - "5171": { + "5160": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.featureFlagRouter_" }, - "5172": { + "5161": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.validateRequirement_" }, - "5173": { + "5162": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.validateRequirement_" }, - "5174": { + "5163": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "requirement" }, - "5175": { + "5164": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "optionId" }, - "5176": { + "5165": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.list" }, - "5177": { + "5166": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.list" }, - "5178": { + "5167": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "selector" }, - "5179": { + "5168": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "__type" }, - "5180": { + "5169": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "__type.q" }, - "5181": { + "5170": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "config" }, - "5182": { + "5171": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.listAndCount" }, - "5183": { + "5172": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.listAndCount" }, - "5184": { + "5173": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "selector" }, - "5185": { + "5174": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "__type" }, - "5186": { + "5175": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "__type.q" }, - "5187": { + "5176": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "config" }, - "5188": { + "5177": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.retrieve" }, - "5189": { + "5178": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.retrieve" }, - "5190": { + "5179": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "optionId" }, - "5191": { + "5180": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "options" }, - "5192": { + "5181": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.updateShippingMethod" }, - "5193": { + "5182": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.updateShippingMethod" }, - "5194": { + "5183": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "id" }, - "5195": { + "5184": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "update" }, - "5196": { + "5185": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.deleteShippingMethods" }, - "5197": { + "5186": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.deleteShippingMethods" }, - "5198": { + "5187": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "shippingMethods" }, - "5199": { + "5188": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.createShippingMethod" }, - "5200": { + "5189": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.createShippingMethod" }, - "5201": { + "5190": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "optionId" }, - "5202": { + "5191": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "data" }, - "5203": { + "5192": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "config" }, - "5204": { + "5193": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.validateCartOption" }, - "5205": { + "5194": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.validateCartOption" }, - "5206": { + "5195": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "option" }, - "5207": { + "5196": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "cart" }, - "5208": { + "5197": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.validateAndMutatePrice" }, - "5209": { + "5198": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.validateAndMutatePrice" }, - "5210": { + "5199": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "option" }, - "5211": { + "5200": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "priceInput" }, - "5212": { + "5201": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.create" }, - "5213": { + "5202": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.create" }, - "5214": { + "5203": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "data" }, - "5215": { + "5204": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.validatePriceType_" }, - "5216": { + "5205": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.validatePriceType_" }, - "5217": { + "5206": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "priceType" }, - "5218": { + "5207": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "option" }, - "5219": { + "5208": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.update" }, - "5220": { + "5209": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.update" }, - "5221": { + "5210": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "optionId" }, - "5222": { + "5211": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "update" }, - "5223": { + "5212": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.delete" }, - "5224": { + "5213": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.delete" }, - "5225": { + "5214": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "optionId" }, - "5226": { + "5215": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.addRequirement" }, - "5227": { + "5216": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.addRequirement" }, - "5228": { + "5217": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "optionId" }, - "5229": { + "5218": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "requirement" }, - "5230": { + "5219": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.removeRequirement" }, - "5231": { + "5220": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.removeRequirement" }, - "5232": { + "5221": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "requirementId" }, - "5233": { + "5222": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.updateShippingProfile" }, - "5234": { + "5223": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.updateShippingProfile" }, - "5235": { + "5224": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "optionIds" }, - "5236": { + "5225": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "profileId" }, - "5237": { + "5226": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.getPrice_" }, - "5238": { + "5227": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "ShippingOptionService.getPrice_" }, - "5239": { + "5228": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "option" }, - "5240": { + "5229": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "data" }, - "5241": { + "5230": { "sourceFileName": "../../../packages/medusa/src/services/shipping-option.ts", "qualifiedName": "cart" }, - "5242": { + "5231": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "5243": { + "5232": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "5244": { + "5233": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5245": { + "5234": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5246": { + "5235": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "5247": { + "5236": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "5248": { + "5237": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "5249": { + "5238": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5250": { + "5239": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5251": { + "5240": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5252": { + "5241": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5253": { + "5242": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5254": { + "5243": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "5255": { + "5244": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5256": { + "5245": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "5257": { + "5246": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5258": { + "5247": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5259": { + "5248": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "5260": { + "5249": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "5261": { + "5250": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "5262": { + "5251": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5263": { + "5252": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5264": { + "5253": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5265": { + "5254": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "5266": { + "5255": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5267": { + "5256": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5268": { + "5257": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5269": { + "5258": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "5270": { + "5259": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5271": { + "5260": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5272": { + "5261": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5273": { + "5262": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService" }, - "5274": { + "5263": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.__constructor" }, - "5275": { + "5264": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService" }, - "5276": { + "5265": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "__0" }, - "5277": { + "5266": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.productService_" }, - "5278": { + "5267": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.shippingOptionService_" }, - "5279": { + "5268": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.customShippingOptionService_" }, - "5280": { + "5269": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.shippingProfileRepository_" }, - "5281": { + "5270": { "sourceFileName": "../../../packages/medusa/src/repositories/shipping-profile.ts", "qualifiedName": "__object" }, - "5282": { + "5271": { "sourceFileName": "../../../packages/medusa/src/repositories/shipping-profile.ts", "qualifiedName": "__object.findByProducts" }, - "5283": { + "5272": { "sourceFileName": "../../../packages/medusa/src/repositories/shipping-profile.ts", "qualifiedName": "__object.findByProducts" }, - "5284": { + "5273": { "sourceFileName": "../../../packages/medusa/src/repositories/shipping-profile.ts", "qualifiedName": "productIds" }, - "5285": { + "5274": { "sourceFileName": "../../../packages/medusa/src/repositories/shipping-profile.ts", "qualifiedName": "__type" }, - "5286": { + "5275": { "sourceFileName": "../../../packages/medusa/src/repositories/shipping-profile.ts", "qualifiedName": "__type.__index" }, - "5288": { + "5277": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.productRepository_" }, - "5289": { + "5278": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object" }, - "5290": { + "5279": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.queryProducts" }, - "5291": { + "5280": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.queryProducts" }, - "5292": { + "5281": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "optionsWithoutRelations" }, - "5293": { + "5282": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "shouldCount" }, - "5294": { + "5283": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.queryProductsWithIds" }, - "5295": { + "5284": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.queryProductsWithIds" }, - "5296": { + "5285": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__0" }, - "5297": { + "5286": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type" }, - "5298": { + "5287": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.entityIds" }, - "5299": { + "5288": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.groupedRelations" }, - "5300": { + "5289": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type" }, - "5301": { + "5290": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.__index" }, - "5303": { + "5292": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.withDeleted" }, - "5304": { + "5293": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.select" }, - "5305": { + "5294": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.order" }, - "5306": { + "5295": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type" }, - "5307": { + "5296": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.__index" }, - "5309": { + "5298": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.where" }, - "5310": { + "5299": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findWithRelationsAndCount" }, - "5311": { + "5300": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findWithRelationsAndCount" }, - "5312": { + "5301": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "relations" }, - "5313": { + "5302": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "idsOrOptionsWithoutRelations" }, - "5314": { + "5303": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findWithRelations" }, - "5315": { + "5304": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findWithRelations" }, - "5316": { + "5305": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "relations" }, - "5317": { + "5306": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "idsOrOptionsWithoutRelations" }, - "5318": { + "5307": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "withDeleted" }, - "5319": { + "5308": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findOneWithRelations" }, - "5320": { + "5309": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.findOneWithRelations" }, - "5321": { + "5310": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "relations" }, - "5322": { + "5311": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "optionsWithoutRelations" }, - "5323": { + "5312": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.bulkAddToCollection" }, - "5324": { + "5313": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.bulkAddToCollection" }, - "5325": { + "5314": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "productIds" }, - "5326": { + "5315": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "collectionId" }, - "5327": { + "5316": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.bulkRemoveFromCollection" }, - "5328": { + "5317": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.bulkRemoveFromCollection" }, - "5329": { + "5318": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "productIds" }, - "5330": { + "5319": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "collectionId" }, - "5331": { + "5320": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getFreeTextSearchResultsAndCount" }, - "5332": { + "5321": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getFreeTextSearchResultsAndCount" }, - "5333": { + "5322": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "q" }, - "5334": { + "5323": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "options" }, - "5335": { + "5324": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "relations" }, - "5336": { + "5325": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getCategoryIdsFromInput" }, - "5337": { + "5326": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getCategoryIdsFromInput" }, - "5338": { + "5327": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "categoryId" }, - "5339": { + "5328": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "includeCategoryChildren" }, - "5340": { + "5329": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getCategoryIdsRecursively" }, - "5341": { + "5330": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.getCategoryIdsRecursively" }, - "5342": { + "5331": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "productCategory" }, - "5343": { + "5332": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object._findWithRelations" }, - "5344": { + "5333": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object._findWithRelations" }, - "5345": { + "5334": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__0" }, - "5346": { + "5335": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type" }, - "5347": { + "5336": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.relations" }, - "5348": { + "5337": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.idsOrOptionsWithoutRelations" }, - "5349": { + "5338": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.withDeleted" }, - "5350": { + "5339": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__type.shouldCount" }, - "5351": { + "5340": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.isProductInSalesChannels" }, - "5352": { + "5341": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object.isProductInSalesChannels" }, - "5353": { + "5342": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "id" }, - "5354": { + "5343": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "salesChannelIds" }, - "5355": { + "5344": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object._applyCategoriesQuery" }, - "5356": { + "5345": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__object._applyCategoriesQuery" }, - "5357": { + "5346": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "qb" }, - "5358": { + "5347": { "sourceFileName": "../../../packages/medusa/src/repositories/product.ts", "qualifiedName": "__1" }, - "5360": { + "5349": { "sourceFileName": "", "qualifiedName": "alias" }, - "5361": { + "5350": { "sourceFileName": "", "qualifiedName": "categoryAlias" }, - "5362": { + "5351": { "sourceFileName": "", "qualifiedName": "where" }, - "5363": { + "5352": { "sourceFileName": "", "qualifiedName": "joinName" }, - "5364": { + "5353": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.featureFlagRouter_" }, - "5365": { + "5354": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.list" }, - "5366": { + "5355": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.list" }, - "5367": { + "5356": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "selector" }, - "5368": { + "5357": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "config" }, - "5369": { + "5358": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.getMapProfileIdsByProductIds" }, - "5370": { + "5359": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.getMapProfileIdsByProductIds" }, - "5371": { + "5360": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "productIds" }, - "5372": { + "5361": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.retrieve" }, - "5373": { + "5362": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.retrieve" }, - "5374": { + "5363": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "profileId" }, - "5375": { + "5364": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "options" }, - "5376": { + "5365": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.retrieveForProducts" }, - "5377": { + "5366": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.retrieveForProducts" }, - "5378": { + "5367": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "productIds" }, - "5379": { + "5368": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "__type" }, - "5380": { + "5369": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "__type.__index" }, - "5382": { + "5371": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.retrieveDefault" }, - "5383": { + "5372": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.retrieveDefault" }, - "5384": { + "5373": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.createDefault" }, - "5385": { + "5374": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.createDefault" }, - "5386": { + "5375": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.retrieveGiftCardDefault" }, - "5387": { + "5376": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.retrieveGiftCardDefault" }, - "5388": { + "5377": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.createGiftCardDefault" }, - "5389": { + "5378": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.createGiftCardDefault" }, - "5390": { + "5379": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.create" }, - "5391": { + "5380": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.create" }, - "5392": { + "5381": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "profile" }, - "5393": { + "5382": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.update" }, - "5394": { + "5383": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.update" }, - "5395": { + "5384": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "profileId" }, - "5396": { + "5385": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "update" }, - "5397": { + "5386": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.delete" }, - "5398": { + "5387": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.delete" }, - "5399": { + "5388": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "profileId" }, - "5400": { + "5389": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.addProduct" }, - "5401": { + "5390": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.addProduct" }, - "5402": { + "5391": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "profileId" }, - "5403": { + "5392": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "productId" }, - "5404": { + "5393": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.addProducts" }, - "5405": { + "5394": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.addProducts" }, - "5406": { + "5395": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "profileId" }, - "5407": { + "5396": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "productId" }, - "5408": { + "5397": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.removeProducts" }, - "5409": { + "5398": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.removeProducts" }, - "5410": { + "5399": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "profileId" }, - "5411": { + "5400": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "productId" }, - "5412": { + "5401": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.addShippingOption" }, - "5413": { + "5402": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.addShippingOption" }, - "5414": { + "5403": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "profileId" }, - "5415": { + "5404": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "optionId" }, - "5416": { + "5405": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.fetchCartOptions" }, - "5417": { + "5406": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.fetchCartOptions" }, - "5418": { + "5407": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "cart" }, - "5419": { + "5408": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.getProfilesInCart" }, - "5420": { + "5409": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "ShippingProfileService.getProfilesInCart" }, - "5421": { + "5410": { "sourceFileName": "../../../packages/medusa/src/services/shipping-profile.ts", "qualifiedName": "cart" }, - "5422": { + "5411": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "5423": { + "5412": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "5424": { + "5413": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5425": { + "5414": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5426": { + "5415": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "5427": { + "5416": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "5428": { + "5417": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "5429": { + "5418": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5430": { + "5419": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5431": { + "5420": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5432": { + "5421": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5433": { + "5422": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5434": { + "5423": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "5435": { + "5424": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5436": { + "5425": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "5437": { + "5426": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5438": { + "5427": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5439": { + "5428": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "5440": { + "5429": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "5441": { + "5430": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "5442": { + "5431": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5443": { + "5432": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5444": { + "5433": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5445": { + "5434": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "5446": { + "5435": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5447": { + "5436": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5448": { + "5437": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5449": { + "5438": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "5450": { + "5439": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5451": { + "5440": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5452": { + "5441": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5453": { + "5442": { "sourceFileName": "../../../packages/medusa/src/services/staged-job.ts", "qualifiedName": "StagedJobService" }, - "5454": { + "5443": { "sourceFileName": "../../../packages/medusa/src/services/staged-job.ts", "qualifiedName": "StagedJobService.__constructor" }, - "5455": { + "5444": { "sourceFileName": "../../../packages/medusa/src/services/staged-job.ts", "qualifiedName": "StagedJobService" }, - "5456": { + "5445": { "sourceFileName": "../../../packages/medusa/src/services/staged-job.ts", "qualifiedName": "__0" }, - "5457": { + "5446": { "sourceFileName": "../../../packages/medusa/src/services/staged-job.ts", "qualifiedName": "StagedJobService.stagedJobRepository_" }, - "5458": { + "5447": { "sourceFileName": "../../../packages/medusa/src/repositories/staged-job.ts", "qualifiedName": "__object" }, - "5459": { + "5448": { "sourceFileName": "../../../packages/medusa/src/repositories/staged-job.ts", "qualifiedName": "__object.insertBulk" }, - "5460": { + "5449": { "sourceFileName": "../../../packages/medusa/src/repositories/staged-job.ts", "qualifiedName": "__object.insertBulk" }, - "5461": { + "5450": { "sourceFileName": "../../../packages/medusa/src/repositories/staged-job.ts", "qualifiedName": "jobToCreates" }, - "5462": { + "5451": { "sourceFileName": "../../../packages/medusa/src/services/staged-job.ts", "qualifiedName": "StagedJobService.list" }, - "5463": { + "5452": { "sourceFileName": "../../../packages/medusa/src/services/staged-job.ts", "qualifiedName": "StagedJobService.list" }, - "5464": { + "5453": { "sourceFileName": "../../../packages/medusa/src/services/staged-job.ts", "qualifiedName": "config" }, - "5465": { + "5454": { "sourceFileName": "../../../packages/medusa/src/services/staged-job.ts", "qualifiedName": "StagedJobService.delete" }, - "5466": { + "5455": { "sourceFileName": "../../../packages/medusa/src/services/staged-job.ts", "qualifiedName": "StagedJobService.delete" }, - "5467": { + "5456": { "sourceFileName": "../../../packages/medusa/src/services/staged-job.ts", "qualifiedName": "stagedJobIds" }, - "5468": { + "5457": { "sourceFileName": "../../../packages/medusa/src/services/staged-job.ts", "qualifiedName": "StagedJobService.create" }, - "5469": { + "5458": { "sourceFileName": "../../../packages/medusa/src/services/staged-job.ts", "qualifiedName": "StagedJobService.create" }, - "5470": { + "5459": { "sourceFileName": "../../../packages/medusa/src/services/staged-job.ts", "qualifiedName": "data" }, - "5471": { + "5460": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "5472": { + "5461": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "5473": { + "5462": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5474": { + "5463": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5475": { + "5464": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "5476": { + "5465": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "5477": { + "5466": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "5478": { + "5467": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5479": { + "5468": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5480": { + "5469": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5481": { + "5470": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5482": { + "5471": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5483": { + "5472": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "5484": { + "5473": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5485": { + "5474": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "5486": { + "5475": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5487": { + "5476": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5488": { + "5477": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "5489": { + "5478": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "5490": { + "5479": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "5491": { + "5480": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5492": { + "5481": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5493": { + "5482": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5494": { + "5483": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "5495": { + "5484": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5496": { + "5485": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5497": { + "5486": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5498": { + "5487": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "5499": { + "5488": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5500": { + "5489": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5501": { + "5490": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5502": { + "5491": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "StoreService" }, - "5503": { + "5492": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "StoreService.__constructor" }, - "5504": { + "5493": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "StoreService" }, - "5505": { + "5494": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "__0" }, - "5506": { + "5495": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "StoreService.storeRepository_" }, - "5507": { + "5496": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "StoreService.currencyRepository_" }, - "5508": { + "5497": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "StoreService.eventBus_" }, - "5509": { + "5498": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "StoreService.create" }, - "5510": { + "5499": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "StoreService.create" }, - "5511": { + "5500": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "StoreService.retrieve" }, - "5512": { + "5501": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "StoreService.retrieve" }, - "5513": { + "5502": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "config" }, - "5514": { + "5503": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "StoreService.getDefaultCurrency_" }, - "5515": { + "5504": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "StoreService.getDefaultCurrency_" }, - "5516": { + "5505": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "code" }, - "5517": { + "5506": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "StoreService.update" }, - "5518": { + "5507": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "StoreService.update" }, - "5519": { + "5508": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "data" }, - "5520": { + "5509": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "StoreService.addCurrency" }, - "5521": { + "5510": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "StoreService.addCurrency" }, - "5522": { + "5511": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "code" }, - "5523": { + "5512": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "StoreService.removeCurrency" }, - "5524": { + "5513": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "StoreService.removeCurrency" }, - "5525": { + "5514": { "sourceFileName": "../../../packages/medusa/src/services/store.ts", "qualifiedName": "code" }, - "5526": { + "5515": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "5527": { + "5516": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "5528": { + "5517": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5529": { + "5518": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5530": { + "5519": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "5531": { + "5520": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "5532": { + "5521": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "5533": { + "5522": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5534": { + "5523": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5535": { + "5524": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5536": { + "5525": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5537": { + "5526": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5538": { + "5527": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "5539": { + "5528": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5540": { + "5529": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "5541": { + "5530": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5542": { + "5531": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5543": { + "5532": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "5544": { + "5533": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "5545": { + "5534": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "5546": { + "5535": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5547": { + "5536": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5548": { + "5537": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5549": { + "5538": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "5550": { + "5539": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5551": { + "5540": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5552": { + "5541": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5553": { + "5542": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "5554": { + "5543": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5555": { + "5544": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5556": { + "5545": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5557": { + "5546": { "sourceFileName": "../../../packages/medusa/src/services/strategy-resolver.ts", "qualifiedName": "default" }, - "5558": { + "5547": { "sourceFileName": "../../../packages/medusa/src/services/strategy-resolver.ts", "qualifiedName": "default.__constructor" }, - "5559": { + "5548": { "sourceFileName": "../../../packages/medusa/src/services/strategy-resolver.ts", "qualifiedName": "default" }, - "5560": { + "5549": { "sourceFileName": "../../../packages/medusa/src/services/strategy-resolver.ts", "qualifiedName": "container" }, - "5561": { + "5550": { "sourceFileName": "../../../packages/medusa/src/services/strategy-resolver.ts", "qualifiedName": "default.container" }, - "5562": { + "5551": { "sourceFileName": "../../../packages/medusa/src/services/strategy-resolver.ts", "qualifiedName": "default.resolveBatchJobByType" }, - "5563": { + "5552": { "sourceFileName": "../../../packages/medusa/src/services/strategy-resolver.ts", "qualifiedName": "default.resolveBatchJobByType" }, - "5564": { + "5553": { "sourceFileName": "../../../packages/medusa/src/services/strategy-resolver.ts", "qualifiedName": "type" }, - "5565": { + "5554": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "5566": { + "5555": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "5567": { + "5556": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5568": { + "5557": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5569": { + "5558": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "5570": { + "5559": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "5571": { + "5560": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "5572": { + "5561": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5573": { + "5562": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5574": { + "5563": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5575": { + "5564": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5576": { + "5565": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5577": { + "5566": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "5578": { + "5567": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5579": { + "5568": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "5580": { + "5569": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5581": { + "5570": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5582": { + "5571": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "5583": { + "5572": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "5584": { + "5573": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "5585": { + "5574": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5586": { + "5575": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5587": { + "5576": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5588": { + "5577": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "5589": { + "5578": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5590": { + "5579": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5591": { + "5580": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5592": { + "5581": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "5593": { + "5582": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5594": { + "5583": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5595": { + "5584": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5596": { + "5585": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService" }, - "5597": { + "5586": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.Events" }, - "5598": { + "5587": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__object" }, - "5599": { + "5588": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__object.CREATED" }, - "5600": { + "5589": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__object.RECEIVED" }, - "5601": { + "5590": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__object.SHIPMENT_CREATED" }, - "5602": { + "5591": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__object.PAYMENT_COMPLETED" }, - "5603": { + "5592": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__object.PAYMENT_CAPTURED" }, - "5604": { + "5593": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__object.PAYMENT_CAPTURE_FAILED" }, - "5605": { + "5594": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__object.PROCESS_REFUND_FAILED" }, - "5606": { + "5595": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__object.REFUND_PROCESSED" }, - "5607": { + "5596": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__object.FULFILLMENT_CREATED" }, - "5608": { + "5597": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.__constructor" }, - "5609": { + "5598": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService" }, - "5610": { + "5599": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__0" }, - "5611": { + "5600": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.swapRepository_" }, - "5612": { + "5601": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.cartService_" }, - "5613": { + "5602": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.eventBus_" }, - "5614": { + "5603": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.orderService_" }, - "5615": { + "5604": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.returnService_" }, - "5616": { + "5605": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.totalsService_" }, - "5617": { + "5606": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.lineItemService_" }, - "5618": { + "5607": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.fulfillmentService_" }, - "5619": { + "5608": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.shippingOptionService_" }, - "5620": { + "5609": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.paymentProviderService_" }, - "5621": { + "5610": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.lineItemAdjustmentService_" }, - "5622": { + "5611": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.customShippingOptionService_" }, - "5623": { + "5612": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.productVariantInventoryService_" }, - "5624": { + "5613": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.transformQueryForCart" }, - "5625": { + "5614": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.transformQueryForCart" }, - "5626": { + "5615": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "config" }, - "5627": { + "5616": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type" }, - "5628": { + "5617": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type.select" }, - "5629": { + "5618": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type" }, - "5630": { + "5619": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type.select" }, - "5631": { + "5620": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type" }, - "5632": { + "5621": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type.cartSelects" }, - "5633": { + "5622": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type.cartRelations" }, - "5634": { + "5623": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.retrieve" }, - "5635": { + "5624": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.retrieve" }, - "5636": { + "5625": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "swapId" }, - "5637": { + "5626": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "config" }, - "5638": { + "5627": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type" }, - "5639": { + "5628": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type.select" }, - "5640": { + "5629": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.retrieveByCartId" }, - "5641": { + "5630": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.retrieveByCartId" }, - "5642": { + "5631": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "cartId" }, - "5643": { + "5632": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "relations" }, - "5644": { + "5633": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.list" }, - "5645": { + "5634": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.list" }, - "5646": { + "5635": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "selector" }, - "5647": { + "5636": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "config" }, - "5648": { + "5637": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.listAndCount" }, - "5649": { + "5638": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.listAndCount" }, - "5650": { + "5639": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "selector" }, - "5651": { + "5640": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "config" }, - "5652": { + "5641": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.create" }, - "5653": { + "5642": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.create" }, - "5654": { + "5643": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "order" }, - "5655": { + "5644": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "returnItems" }, - "5656": { + "5645": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "additionalItems" }, - "5657": { + "5646": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "returnShipping" }, - "5658": { + "5647": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type" }, - "5659": { + "5648": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type.option_id" }, - "5660": { + "5649": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type.price" }, - "5661": { + "5650": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "custom" }, - "5662": { + "5651": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type" }, - "5663": { + "5652": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type.no_notification" }, - "5664": { + "5653": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type.idempotency_key" }, - "5665": { + "5654": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type.allow_backorder" }, - "5666": { + "5655": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type.location_id" }, - "5667": { + "5656": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.processDifference" }, - "5668": { + "5657": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.processDifference" }, - "5669": { + "5658": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "swapId" }, - "5670": { + "5659": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.update" }, - "5671": { + "5660": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.update" }, - "5672": { + "5661": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "swapId" }, - "5673": { + "5662": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "update" }, - "5674": { + "5663": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.createCart" }, - "5675": { + "5664": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.createCart" }, - "5676": { + "5665": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "swapId" }, - "5677": { + "5666": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "customShippingOptions" }, - "5678": { + "5667": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type" }, - "5679": { + "5668": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type.option_id" }, - "5680": { + "5669": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type.price" }, - "5681": { + "5670": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "context" }, - "5682": { + "5671": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type" }, - "5683": { + "5672": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type.sales_channel_id" }, - "5684": { + "5673": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.registerCartCompletion" }, - "5685": { + "5674": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.registerCartCompletion" }, - "5686": { + "5675": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "swapId" }, - "5687": { + "5676": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.cancel" }, - "5688": { + "5677": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.cancel" }, - "5689": { + "5678": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "swapId" }, - "5690": { + "5679": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.createFulfillment" }, - "5691": { + "5680": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.createFulfillment" }, - "5692": { + "5681": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "swapId" }, - "5693": { + "5682": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "config" }, - "5694": { + "5683": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.cancelFulfillment" }, - "5695": { + "5684": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.cancelFulfillment" }, - "5696": { + "5685": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "fulfillmentId" }, - "5697": { + "5686": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.createShipment" }, - "5698": { + "5687": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.createShipment" }, - "5699": { + "5688": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "swapId" }, - "5700": { + "5689": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "fulfillmentId" }, - "5701": { + "5690": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "trackingLinks" }, - "5702": { + "5691": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type" }, - "5703": { + "5692": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "__type.tracking_number" }, - "5704": { + "5693": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "config" }, - "5705": { + "5694": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.deleteMetadata" }, - "5706": { + "5695": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.deleteMetadata" }, - "5707": { + "5696": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "swapId" }, - "5708": { + "5697": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "key" }, - "5709": { + "5698": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.registerReceived" }, - "5710": { + "5699": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.registerReceived" }, - "5711": { + "5700": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "id" }, - "5712": { + "5701": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.areReturnItemsValid" }, - "5713": { + "5702": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "SwapService.areReturnItemsValid" }, - "5714": { + "5703": { "sourceFileName": "../../../packages/medusa/src/services/swap.ts", "qualifiedName": "returnItems" }, - "5715": { + "5704": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "5716": { + "5705": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "5717": { + "5706": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5718": { + "5707": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5719": { + "5708": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "5720": { + "5709": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "5721": { + "5710": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "5722": { + "5711": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5723": { + "5712": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5724": { + "5713": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5725": { + "5714": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5726": { + "5715": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5727": { + "5716": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "5728": { + "5717": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5729": { + "5718": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "5730": { + "5719": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5731": { + "5720": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5732": { + "5721": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "5733": { + "5722": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "5734": { + "5723": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "5735": { + "5724": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5736": { + "5725": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5737": { + "5726": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5738": { + "5727": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "5739": { + "5728": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5740": { + "5729": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5741": { + "5730": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5742": { + "5731": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "5743": { + "5732": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5744": { + "5733": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5745": { + "5734": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5746": { + "5735": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService" }, - "5747": { + "5736": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.identifier" }, - "5748": { + "5737": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.__constructor" }, - "5749": { + "5738": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService" }, - "5750": { + "5739": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "_" }, - "5751": { + "5740": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.createPayment" }, - "5752": { + "5741": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.createPayment" }, - "5753": { + "5742": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "_" }, - "5754": { + "5743": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.getStatus" }, - "5755": { + "5744": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.getStatus" }, - "5756": { + "5745": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "_" }, - "5757": { + "5746": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.getPaymentData" }, - "5758": { + "5747": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.getPaymentData" }, - "5759": { + "5748": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "_" }, - "5760": { + "5749": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.authorizePayment" }, - "5761": { + "5750": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.authorizePayment" }, - "5762": { + "5751": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "_" }, - "5763": { + "5752": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.updatePaymentData" }, - "5764": { + "5753": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.updatePaymentData" }, - "5765": { + "5754": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "_" }, - "5766": { + "5755": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.updatePayment" }, - "5767": { + "5756": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.updatePayment" }, - "5768": { + "5757": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "_" }, - "5769": { + "5758": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.deletePayment" }, - "5770": { + "5759": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.deletePayment" }, - "5771": { + "5760": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "_" }, - "5772": { + "5761": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.capturePayment" }, - "5773": { + "5762": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.capturePayment" }, - "5774": { + "5763": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "_" }, - "5775": { + "5764": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.refundPayment" }, - "5776": { + "5765": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.refundPayment" }, - "5777": { + "5766": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "_" }, - "5778": { + "5767": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.cancelPayment" }, - "5779": { + "5768": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "SystemProviderService.cancelPayment" }, - "5780": { + "5769": { "sourceFileName": "../../../packages/medusa/src/services/system-payment-provider.ts", "qualifiedName": "_" }, - "5781": { + "5770": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "5782": { + "5771": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "5783": { + "5772": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5784": { + "5773": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5785": { + "5774": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "5786": { + "5775": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "5787": { + "5776": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "5788": { + "5777": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5789": { + "5778": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5790": { + "5779": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5791": { + "5780": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5792": { + "5781": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5793": { + "5782": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "5794": { + "5783": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5795": { + "5784": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "5796": { + "5785": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5797": { + "5786": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5798": { + "5787": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "5799": { + "5788": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "5800": { + "5789": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "5801": { + "5790": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5802": { + "5791": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5803": { + "5792": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5804": { + "5793": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "5805": { + "5794": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5806": { + "5795": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5807": { + "5796": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5808": { + "5797": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "5809": { + "5798": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5810": { + "5799": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5811": { + "5800": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5812": { + "5801": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService" }, - "5813": { + "5802": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.__constructor" }, - "5814": { + "5803": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService" }, - "5815": { + "5804": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "container" }, - "5816": { + "5805": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.container_" }, - "5817": { + "5806": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.cacheService_" }, - "5818": { + "5807": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.taxRateService_" }, - "5819": { + "5808": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.taxLineRepo_" }, - "5820": { + "5809": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item-tax-line.ts", "qualifiedName": "__object" }, - "5821": { + "5810": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item-tax-line.ts", "qualifiedName": "__object.upsertLines" }, - "5822": { + "5811": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item-tax-line.ts", "qualifiedName": "__object.upsertLines" }, - "5823": { + "5812": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item-tax-line.ts", "qualifiedName": "lines" }, - "5824": { + "5813": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item-tax-line.ts", "qualifiedName": "__object.deleteForCart" }, - "5825": { + "5814": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item-tax-line.ts", "qualifiedName": "__object.deleteForCart" }, - "5826": { + "5815": { "sourceFileName": "../../../packages/medusa/src/repositories/line-item-tax-line.ts", "qualifiedName": "cartId" }, - "5827": { + "5816": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.smTaxLineRepo_" }, - "5828": { + "5817": { "sourceFileName": "../../../packages/medusa/src/repositories/shipping-method-tax-line.ts", "qualifiedName": "__object" }, - "5829": { + "5818": { "sourceFileName": "../../../packages/medusa/src/repositories/shipping-method-tax-line.ts", "qualifiedName": "__object.upsertLines" }, - "5830": { + "5819": { "sourceFileName": "../../../packages/medusa/src/repositories/shipping-method-tax-line.ts", "qualifiedName": "__object.upsertLines" }, - "5831": { + "5820": { "sourceFileName": "../../../packages/medusa/src/repositories/shipping-method-tax-line.ts", "qualifiedName": "lines" }, - "5832": { + "5821": { "sourceFileName": "../../../packages/medusa/src/repositories/shipping-method-tax-line.ts", "qualifiedName": "__object.deleteForCart" }, - "5833": { + "5822": { "sourceFileName": "../../../packages/medusa/src/repositories/shipping-method-tax-line.ts", "qualifiedName": "__object.deleteForCart" }, - "5834": { + "5823": { "sourceFileName": "../../../packages/medusa/src/repositories/shipping-method-tax-line.ts", "qualifiedName": "cartId" }, - "5835": { + "5824": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.taxProviderRepo_" }, - "5836": { + "5825": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.eventBus_" }, - "5837": { + "5826": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.list" }, - "5838": { + "5827": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.list" }, - "5839": { + "5828": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.retrieveProvider" }, - "5840": { + "5829": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.retrieveProvider" }, - "5841": { + "5830": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "region" }, - "5842": { + "5831": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.clearLineItemsTaxLines" }, - "5843": { + "5832": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.clearLineItemsTaxLines" }, - "5844": { + "5833": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "itemIds" }, - "5845": { + "5834": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.clearTaxLines" }, - "5846": { + "5835": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.clearTaxLines" }, - "5847": { + "5836": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "cartId" }, - "5848": { + "5837": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.createTaxLines" }, - "5849": { + "5838": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.createTaxLines" }, - "5850": { + "5839": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "cartOrLineItems" }, - "5851": { + "5840": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "calculationContext" }, - "5852": { + "5841": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.createShippingTaxLines" }, - "5853": { + "5842": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.createShippingTaxLines" }, - "5854": { + "5843": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "shippingMethod" }, - "5855": { + "5844": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "calculationContext" }, - "5856": { + "5845": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.getShippingTaxLines" }, - "5857": { + "5846": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.getShippingTaxLines" }, - "5858": { + "5847": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "shippingMethod" }, - "5859": { + "5848": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "calculationContext" }, - "5860": { + "5849": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.getTaxLines" }, - "5861": { + "5850": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.getTaxLines" }, - "5862": { + "5851": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "lineItems" }, - "5863": { + "5852": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "calculationContext" }, - "5864": { + "5853": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.getTaxLinesMap" }, - "5865": { + "5854": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.getTaxLinesMap" }, - "5866": { + "5855": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "items" }, - "5867": { + "5856": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "calculationContext" }, - "5868": { + "5857": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.getRegionRatesForShipping" }, - "5869": { + "5858": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.getRegionRatesForShipping" }, - "5870": { + "5859": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "optionId" }, - "5871": { + "5860": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "regionDetails" }, - "5872": { + "5861": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.getRegionRatesForProduct" }, - "5873": { + "5862": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.getRegionRatesForProduct" }, - "5874": { + "5863": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "productIds" }, - "5875": { + "5864": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "region" }, - "5876": { + "5865": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.getCacheKey" }, - "5877": { + "5866": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.getCacheKey" }, - "5878": { + "5867": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "id" }, - "5879": { + "5868": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "regionId" }, - "5880": { + "5869": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.registerInstalledProviders" }, - "5881": { + "5870": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "TaxProviderService.registerInstalledProviders" }, - "5882": { + "5871": { "sourceFileName": "../../../packages/medusa/src/services/tax-provider.ts", "qualifiedName": "providers" }, - "5883": { + "5872": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "5884": { + "5873": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "5885": { + "5874": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5886": { + "5875": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "5887": { + "5876": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "5888": { + "5877": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "5889": { + "5878": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "5890": { + "5879": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5891": { + "5880": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "5892": { + "5881": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5893": { + "5882": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5894": { + "5883": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "5895": { + "5884": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "5896": { + "5885": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5897": { + "5886": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "5898": { + "5887": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5899": { + "5888": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "5900": { + "5889": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "5901": { + "5890": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "5902": { + "5891": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "5903": { + "5892": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5904": { + "5893": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5905": { + "5894": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "5906": { + "5895": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "5907": { + "5896": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5908": { + "5897": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5909": { + "5898": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5910": { + "5899": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "5911": { + "5900": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5912": { + "5901": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "5913": { + "5902": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "5914": { + "5903": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService" }, - "5915": { + "5904": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.__constructor" }, - "5916": { + "5905": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService" }, - "5917": { + "5906": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "__0" }, - "5919": { + "5908": { "sourceFileName": "", "qualifiedName": "productService" }, - "5920": { + "5909": { "sourceFileName": "", "qualifiedName": "productTypeService" }, - "5921": { + "5910": { "sourceFileName": "", "qualifiedName": "shippingOptionService" }, - "5922": { + "5911": { "sourceFileName": "", "qualifiedName": "taxRateRepository" }, - "5923": { + "5912": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.productService_" }, - "5924": { + "5913": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.productTypeService_" }, - "5925": { + "5914": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.shippingOptionService_" }, - "5926": { + "5915": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.taxRateRepository_" }, - "5927": { + "5916": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object" }, - "5928": { + "5917": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.getFindQueryBuilder" }, - "5929": { + "5918": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.getFindQueryBuilder" }, - "5930": { + "5919": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "findOptions" }, - "5931": { + "5920": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.findWithResolution" }, - "5932": { + "5921": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.findWithResolution" }, - "5933": { + "5922": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "findOptions" }, - "5934": { + "5923": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.findOneWithResolution" }, - "5935": { + "5924": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.findOneWithResolution" }, - "5936": { + "5925": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "findOptions" }, - "5937": { + "5926": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.findAndCountWithResolution" }, - "5938": { + "5927": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.findAndCountWithResolution" }, - "5939": { + "5928": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "findOptions" }, - "5940": { + "5929": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.applyResolutionsToQueryBuilder" }, - "5941": { + "5930": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.applyResolutionsToQueryBuilder" }, - "5942": { + "5931": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "qb" }, - "5943": { + "5932": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "resolverFields" }, - "5944": { + "5933": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.removeFromProduct" }, - "5945": { + "5934": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.removeFromProduct" }, - "5946": { + "5935": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "id" }, - "5947": { + "5936": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "productIds" }, - "5948": { + "5937": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.addToProduct" }, - "5949": { + "5938": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.addToProduct" }, - "5950": { + "5939": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "id" }, - "5951": { + "5940": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "productIds" }, - "5952": { + "5941": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "overrideExisting" }, - "5953": { + "5942": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.removeFromProductType" }, - "5954": { + "5943": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.removeFromProductType" }, - "5955": { + "5944": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "id" }, - "5956": { + "5945": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "productTypeIds" }, - "5957": { + "5946": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.addToProductType" }, - "5958": { + "5947": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.addToProductType" }, - "5959": { + "5948": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "id" }, - "5960": { + "5949": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "productTypeIds" }, - "5961": { + "5950": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "overrideExisting" }, - "5962": { + "5951": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.removeFromShippingOption" }, - "5963": { + "5952": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.removeFromShippingOption" }, - "5964": { + "5953": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "id" }, - "5965": { + "5954": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "optionIds" }, - "5966": { + "5955": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.addToShippingOption" }, - "5967": { + "5956": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.addToShippingOption" }, - "5968": { + "5957": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "id" }, - "5969": { + "5958": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "optionIds" }, - "5970": { + "5959": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "overrideExisting" }, - "5971": { + "5960": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.listByProduct" }, - "5972": { + "5961": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.listByProduct" }, - "5973": { + "5962": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "productId" }, - "5974": { + "5963": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "config" }, - "5975": { + "5964": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.listByShippingOption" }, - "5976": { + "5965": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "__object.listByShippingOption" }, - "5977": { + "5966": { "sourceFileName": "../../../packages/medusa/src/repositories/tax-rate.ts", "qualifiedName": "optionId" }, - "5978": { + "5967": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.list" }, - "5979": { + "5968": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.list" }, - "5980": { + "5969": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "selector" }, - "5981": { + "5970": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "config" }, - "5982": { + "5971": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.listAndCount" }, - "5983": { + "5972": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.listAndCount" }, - "5984": { + "5973": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "selector" }, - "5985": { + "5974": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "config" }, - "5986": { + "5975": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.retrieve" }, - "5987": { + "5976": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.retrieve" }, - "5988": { + "5977": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "taxRateId" }, - "5989": { + "5978": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "config" }, - "5990": { + "5979": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.create" }, - "5991": { + "5980": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.create" }, - "5992": { + "5981": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "data" }, - "5993": { + "5982": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.update" }, - "5994": { + "5983": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.update" }, - "5995": { + "5984": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "id" }, - "5996": { + "5985": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "data" }, - "5997": { + "5986": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.delete" }, - "5998": { + "5987": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.delete" }, - "5999": { + "5988": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "id" }, - "6000": { + "5989": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.removeFromProduct" }, - "6001": { + "5990": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.removeFromProduct" }, - "6002": { + "5991": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "id" }, - "6003": { + "5992": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "productIds" }, - "6004": { + "5993": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.removeFromProductType" }, - "6005": { + "5994": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.removeFromProductType" }, - "6006": { + "5995": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "id" }, - "6007": { + "5996": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "typeIds" }, - "6008": { + "5997": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.removeFromShippingOption" }, - "6009": { + "5998": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.removeFromShippingOption" }, - "6010": { + "5999": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "id" }, - "6011": { + "6000": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "optionIds" }, - "6012": { + "6001": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.addToProduct" }, - "6013": { + "6002": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.addToProduct" }, - "6014": { + "6003": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "id" }, - "6015": { + "6004": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "productIds" }, - "6016": { + "6005": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "replace" }, - "6017": { + "6006": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.addToProductType" }, - "6018": { + "6007": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.addToProductType" }, - "6019": { + "6008": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "id" }, - "6020": { + "6009": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "productTypeIds" }, - "6021": { + "6010": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "replace" }, - "6022": { + "6011": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.addToShippingOption" }, - "6023": { + "6012": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.addToShippingOption" }, - "6024": { + "6013": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "id" }, - "6025": { + "6014": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "optionIds" }, - "6026": { + "6015": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "replace" }, - "6027": { + "6016": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.listByProduct" }, - "6028": { + "6017": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.listByProduct" }, - "6029": { + "6018": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "productId" }, - "6030": { + "6019": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "config" }, - "6031": { + "6020": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.listByShippingOption" }, - "6032": { + "6021": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "TaxRateService.listByShippingOption" }, - "6033": { + "6022": { "sourceFileName": "../../../packages/medusa/src/services/tax-rate.ts", "qualifiedName": "shippingOptionId" }, - "6034": { + "6023": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "6035": { + "6024": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "6036": { + "6025": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "6037": { + "6026": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "6038": { + "6027": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "6039": { + "6028": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "6040": { + "6029": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "6041": { + "6030": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "6042": { + "6031": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "6043": { + "6032": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "6044": { + "6033": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "6045": { + "6034": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "6046": { + "6035": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "6047": { + "6036": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6048": { + "6037": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "6049": { + "6038": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "6050": { + "6039": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "6051": { + "6040": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "6052": { + "6041": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "6053": { + "6042": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "6054": { + "6043": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6055": { + "6044": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6056": { + "6045": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "6057": { + "6046": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "6058": { + "6047": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6059": { + "6048": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6060": { + "6049": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "6061": { + "6050": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "6062": { + "6051": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6063": { + "6052": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6064": { + "6053": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "6065": { + "6054": { "sourceFileName": "../../../packages/medusa/src/services/token.ts", "qualifiedName": "TokenService" }, - "6066": { + "6055": { "sourceFileName": "../../../packages/medusa/src/services/token.ts", "qualifiedName": "TokenService.RESOLUTION_KEY" }, - "6067": { + "6056": { "sourceFileName": "../../../packages/medusa/src/services/token.ts", "qualifiedName": "TokenService.__constructor" }, - "6068": { + "6057": { "sourceFileName": "../../../packages/medusa/src/services/token.ts", "qualifiedName": "TokenService" }, - "6069": { + "6058": { "sourceFileName": "../../../packages/medusa/src/services/token.ts", "qualifiedName": "__0" }, - "6070": { + "6059": { "sourceFileName": "../../../packages/medusa/src/services/token.ts", "qualifiedName": "TokenService.configModule_" }, - "6071": { + "6060": { "sourceFileName": "../../../packages/medusa/src/services/token.ts", "qualifiedName": "TokenService.verifyToken" }, - "6072": { + "6061": { "sourceFileName": "../../../packages/medusa/src/services/token.ts", "qualifiedName": "TokenService.verifyToken" }, - "6073": { + "6062": { "sourceFileName": "../../../packages/medusa/src/services/token.ts", "qualifiedName": "token" }, - "6074": { + "6063": { "sourceFileName": "../../../packages/medusa/src/services/token.ts", "qualifiedName": "options" }, - "6075": { + "6064": { "sourceFileName": "../../../packages/medusa/src/services/token.ts", "qualifiedName": "TokenService.signToken" }, - "6076": { + "6065": { "sourceFileName": "../../../packages/medusa/src/services/token.ts", "qualifiedName": "TokenService.signToken" }, - "6077": { + "6066": { "sourceFileName": "../../../packages/medusa/src/services/token.ts", "qualifiedName": "data" }, - "6078": { + "6067": { "sourceFileName": "../../../packages/medusa/src/services/token.ts", "qualifiedName": "options" }, - "6079": { + "6068": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService" }, - "6080": { + "6069": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.__constructor" }, - "6081": { + "6070": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService" }, - "6082": { + "6071": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "__0" }, - "6083": { + "6072": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.taxProviderService_" }, - "6084": { + "6073": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.newTotalsService_" }, - "6085": { + "6074": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.taxCalculationStrategy_" }, - "6086": { + "6075": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.featureFlagRouter_" }, - "6087": { + "6076": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getTotal" }, - "6088": { + "6077": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getTotal" }, - "6089": { + "6078": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "cartOrOrder" }, - "6090": { + "6079": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "options" }, - "6091": { + "6080": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getPaidTotal" }, - "6092": { + "6081": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getPaidTotal" }, - "6093": { + "6082": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "order" }, - "6094": { + "6083": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getSwapTotal" }, - "6095": { + "6084": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getSwapTotal" }, - "6096": { + "6085": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "order" }, - "6097": { + "6086": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getShippingMethodTotals" }, - "6098": { + "6087": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getShippingMethodTotals" }, - "6099": { + "6088": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "shippingMethod" }, - "6100": { + "6089": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "cartOrOrder" }, - "6101": { + "6090": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "opts" }, - "6102": { + "6091": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getSubtotal" }, - "6103": { + "6092": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getSubtotal" }, - "6104": { + "6093": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "cartOrOrder" }, - "6105": { + "6094": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "opts" }, - "6106": { + "6095": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getShippingTotal" }, - "6107": { + "6096": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getShippingTotal" }, - "6108": { + "6097": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "cartOrOrder" }, - "6109": { + "6098": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getTaxTotal" }, - "6110": { + "6099": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getTaxTotal" }, - "6111": { + "6100": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "cartOrOrder" }, - "6112": { + "6101": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "forceTaxes" }, - "6113": { + "6102": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getAllocationMap" }, - "6114": { + "6103": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getAllocationMap" }, - "6115": { + "6104": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "orderOrCart" }, - "6116": { + "6105": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "__type" }, - "6117": { + "6106": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "__type.discounts" }, - "6118": { + "6107": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "__type.items" }, - "6119": { + "6108": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "__type.swaps" }, - "6120": { + "6109": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "__type.claims" }, - "6121": { + "6110": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "options" }, - "6122": { + "6111": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getRefundedTotal" }, - "6123": { + "6112": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getRefundedTotal" }, - "6124": { + "6113": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "order" }, - "6125": { + "6114": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getLineItemRefund" }, - "6126": { + "6115": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getLineItemRefund" }, - "6127": { + "6116": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "order" }, - "6128": { + "6117": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "lineItem" }, - "6129": { + "6118": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getRefundTotal" }, - "6130": { + "6119": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getRefundTotal" }, - "6131": { + "6120": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "order" }, - "6132": { + "6121": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "lineItems" }, - "6133": { + "6122": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.calculateDiscount_" }, - "6134": { + "6123": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.calculateDiscount_" }, - "6135": { + "6124": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "lineItem" }, - "6136": { + "6125": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "variant" }, - "6137": { + "6126": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "variantPrice" }, - "6138": { + "6127": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "value" }, - "6139": { + "6128": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "discountType" }, - "6140": { + "6129": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getAllocationItemDiscounts" }, - "6141": { + "6130": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getAllocationItemDiscounts" }, - "6142": { + "6131": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "discount" }, - "6143": { + "6132": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "cart" }, - "6144": { + "6133": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getLineItemDiscountAdjustment" }, - "6145": { + "6134": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getLineItemDiscountAdjustment" }, - "6146": { + "6135": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "lineItem" }, - "6147": { + "6136": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "discount" }, - "6148": { + "6137": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getLineItemAdjustmentsTotal" }, - "6149": { + "6138": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getLineItemAdjustmentsTotal" }, - "6150": { + "6139": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "cartOrOrder" }, - "6151": { + "6140": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getLineDiscounts" }, - "6152": { + "6141": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getLineDiscounts" }, - "6153": { + "6142": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "cartOrOrder" }, - "6154": { + "6143": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "__type" }, - "6155": { + "6144": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "__type.items" }, - "6156": { + "6145": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "__type.swaps" }, - "6157": { + "6146": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "__type.claims" }, - "6158": { + "6147": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "discount" }, - "6159": { + "6148": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getLineItemTotals" }, - "6160": { + "6149": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getLineItemTotals" }, - "6161": { + "6150": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "lineItem" }, - "6162": { + "6151": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "cartOrOrder" }, - "6163": { + "6152": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "options" }, - "6164": { + "6153": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getLineItemTotal" }, - "6165": { + "6154": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getLineItemTotal" }, - "6166": { + "6155": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "lineItem" }, - "6167": { + "6156": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "cartOrOrder" }, - "6168": { + "6157": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "options" }, - "6169": { + "6158": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getGiftCardableAmount" }, - "6170": { + "6159": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getGiftCardableAmount" }, - "6171": { + "6160": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "cartOrOrder" }, - "6172": { + "6161": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getGiftCardTotal" }, - "6173": { + "6162": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getGiftCardTotal" }, - "6174": { + "6163": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "cartOrOrder" }, - "6175": { + "6164": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "opts" }, - "6176": { + "6165": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "__type" }, - "6177": { + "6166": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "__type.gift_cardable" }, - "6178": { + "6167": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "__type" }, - "6179": { + "6168": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "__type.total" }, - "6180": { + "6169": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "__type.tax_total" }, - "6181": { + "6170": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getDiscountTotal" }, - "6182": { + "6171": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getDiscountTotal" }, - "6183": { + "6172": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "cartOrOrder" }, - "6184": { + "6173": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getCalculationContext" }, - "6185": { + "6174": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.getCalculationContext" }, - "6186": { + "6175": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "calculationContextData" }, - "6187": { + "6176": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "options" }, - "6188": { + "6177": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.rounded" }, - "6189": { + "6178": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "TotalsService.rounded" }, - "6190": { + "6179": { "sourceFileName": "../../../packages/medusa/src/services/totals.ts", "qualifiedName": "value" }, - "6191": { + "6180": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "6192": { + "6181": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "6193": { + "6182": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "6194": { + "6183": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "6195": { + "6184": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "6196": { + "6185": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "6197": { + "6186": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "6198": { + "6187": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "6199": { + "6188": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "6200": { + "6189": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "6201": { + "6190": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "6202": { + "6191": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "6203": { + "6192": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "6204": { + "6193": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6205": { + "6194": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "6206": { + "6195": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "6207": { + "6196": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "6208": { + "6197": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "6209": { + "6198": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "6210": { + "6199": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "6211": { + "6200": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6212": { + "6201": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6213": { + "6202": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "6214": { + "6203": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "6215": { + "6204": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6216": { + "6205": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6217": { + "6206": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "6218": { + "6207": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "6219": { + "6208": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6220": { + "6209": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6221": { + "6210": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "6222": { + "6211": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService" }, - "6223": { + "6212": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.Events" }, - "6224": { + "6213": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "__object" }, - "6225": { + "6214": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "__object.PASSWORD_RESET" }, - "6226": { + "6215": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "__object.CREATED" }, - "6227": { + "6216": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "__object.UPDATED" }, - "6228": { + "6217": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "__object.DELETED" }, - "6229": { + "6218": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.__constructor" }, - "6230": { + "6219": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService" }, - "6231": { + "6220": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "__0" }, - "6232": { + "6221": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.analyticsConfigService_" }, - "6233": { + "6222": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.userRepository_" }, - "6234": { + "6223": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.eventBus_" }, - "6235": { + "6224": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.featureFlagRouter_" }, - "6236": { + "6225": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.list" }, - "6237": { + "6226": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.list" }, - "6238": { + "6227": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "selector" }, - "6239": { + "6228": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "__type" }, - "6240": { + "6229": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "__type.q" }, - "6241": { + "6230": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "config" }, - "6242": { + "6231": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.listAndCount" }, - "6243": { + "6232": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.listAndCount" }, - "6244": { + "6233": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "selector" }, - "6245": { + "6234": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "__type" }, - "6246": { + "6235": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "__type.q" }, - "6247": { + "6236": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "config" }, - "6248": { + "6237": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.retrieve" }, - "6249": { + "6238": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.retrieve" }, - "6250": { + "6239": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "userId" }, - "6251": { + "6240": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "config" }, - "6252": { + "6241": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.retrieveByApiToken" }, - "6253": { + "6242": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.retrieveByApiToken" }, - "6254": { + "6243": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "apiToken" }, - "6255": { + "6244": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "relations" }, - "6256": { + "6245": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.retrieveByEmail" }, - "6257": { + "6246": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.retrieveByEmail" }, - "6258": { + "6247": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "email" }, - "6259": { + "6248": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "config" }, - "6260": { + "6249": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.hashPassword_" }, - "6261": { + "6250": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.hashPassword_" }, - "6262": { + "6251": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "password" }, - "6263": { + "6252": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.create" }, - "6264": { + "6253": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.create" }, - "6265": { + "6254": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "user" }, - "6266": { + "6255": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "password" }, - "6267": { + "6256": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.update" }, - "6268": { + "6257": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.update" }, - "6269": { + "6258": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "userId" }, - "6270": { + "6259": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "update" }, - "6271": { + "6260": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.delete" }, - "6272": { + "6261": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.delete" }, - "6273": { + "6262": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "userId" }, - "6274": { + "6263": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.setPassword_" }, - "6275": { + "6264": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.setPassword_" }, - "6276": { + "6265": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "userId" }, - "6277": { + "6266": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "password" }, - "6278": { + "6267": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.generateResetPasswordToken" }, - "6279": { + "6268": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "UserService.generateResetPasswordToken" }, - "6280": { + "6269": { "sourceFileName": "../../../packages/medusa/src/services/user.ts", "qualifiedName": "userId" }, - "6281": { + "6270": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.manager_" }, - "6282": { + "6271": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.transactionManager_" }, - "6283": { + "6272": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "6284": { + "6273": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.activeManager_" }, - "6285": { + "6274": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__container__" }, - "6286": { + "6275": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__configModule__" }, - "6287": { + "6276": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.__moduleDeclaration__" }, - "6288": { + "6277": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "6289": { + "6278": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.withTransaction" }, - "6290": { + "6279": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "6291": { + "6280": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "6292": { + "6281": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.shouldRetryTransaction_" }, - "6293": { + "6282": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "err" }, - "6294": { + "6283": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6295": { + "6284": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type.code" }, - "6296": { + "6285": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "6297": { + "6286": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TransactionBaseService.atomicPhase_" }, - "6298": { + "6287": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TResult" }, - "6299": { + "6288": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "TError" }, - "6300": { + "6289": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "work" }, - "6301": { + "6290": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6302": { + "6291": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6303": { + "6292": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "transactionManager" }, - "6304": { + "6293": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "isolationOrErrorHandler" }, - "6305": { + "6294": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6306": { + "6295": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6307": { + "6296": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" }, - "6308": { + "6297": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "maybeErrorHandlerOrDontFail" }, - "6309": { + "6298": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6310": { + "6299": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "__type" }, - "6311": { + "6300": { "sourceFileName": "../../../packages/medusa/src/interfaces/transaction-base-service.ts", "qualifiedName": "error" } diff --git a/docs-util/typedoc-json-output/stock-location.json b/docs-util/typedoc-json-output/stock-location.json index 2ee57303ade9e..ab209de50f0f8 100644 --- a/docs-util/typedoc-json-output/stock-location.json +++ b/docs-util/typedoc-json-output/stock-location.json @@ -6,7 +6,7 @@ "flags": {}, "children": [ { - "id": 49, + "id": 63, "name": "FindConfig", "variant": "declaration", "kind": 256, @@ -29,7 +29,7 @@ }, "children": [ { - "id": 50, + "id": 64, "name": "select", "variant": "declaration", "kind": 1024, @@ -58,7 +58,7 @@ "operator": "keyof", "target": { "type": "reference", - "target": 59, + "target": 74, "name": "Entity", "package": "@medusajs/types", "qualifiedName": "FindConfig.Entity", @@ -70,7 +70,7 @@ } }, { - "id": 51, + "id": 65, "name": "skip", "variant": "declaration", "kind": 1024, @@ -100,7 +100,7 @@ } }, { - "id": 52, + "id": 66, "name": "take", "variant": "declaration", "kind": 1024, @@ -130,7 +130,7 @@ } }, { - "id": 53, + "id": 67, "name": "relations", "variant": "declaration", "kind": 1024, @@ -154,7 +154,7 @@ } }, { - "id": 54, + "id": 68, "name": "order", "variant": "declaration", "kind": 1024, @@ -188,20 +188,20 @@ "type": { "type": "reflection", "declaration": { - "id": 55, + "id": 69, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 56, + "id": 70, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 57, + "id": 71, "name": "K", "variant": "param", "kind": 32768, @@ -230,7 +230,7 @@ } }, { - "id": 58, + "id": 72, "name": "withDeleted", "variant": "declaration", "kind": 1024, @@ -257,24 +257,61 @@ "type": "intrinsic", "name": "boolean" } + }, + { + "id": 73, + "name": "filters", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enable ORM specific defined filters" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } } ], "groups": [ { "title": "Properties", "children": [ - 50, - 51, - 52, - 53, - 54, - 58 + 64, + 65, + 66, + 67, + 68, + 72, + 73 ] } ], "typeParameters": [ { - "id": 59, + "id": 74, "name": "Entity", "variant": "typeParam", "kind": 131072, @@ -283,101 +320,5639 @@ ] }, { - "id": 112, - "name": "StringComparisonOperator", + "id": 129, + "name": "BaseFilterable", "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object used to allow specifying flexible queries with and/or conditions." + } + ] + }, "children": [ { - "id": 113, - "name": "lt", + "id": 130, + "name": "$and", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 129, + "typeArguments": [ + { + "type": "reference", + "target": 132, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "BaseFilterable.T", + "refersToTypeParameter": true + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 132, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "BaseFilterable.T", + "refersToTypeParameter": true + } + ] + } } }, { - "id": 114, - "name": "gt", + "id": 131, + "name": "$or", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, "type": { - "type": "intrinsic", - "name": "string" + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 129, + "typeArguments": [ + { + "type": "reference", + "target": 132, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "BaseFilterable.T", + "refersToTypeParameter": true + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 132, + "name": "T", + "package": "@medusajs/types", + "qualifiedName": "BaseFilterable.T", + "refersToTypeParameter": true + } + ] + } } - }, + } + ], + "groups": [ { - "id": 115, - "name": "gte", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "title": "Properties", + "children": [ + 130, + 131 + ] + } + ], + "typeParameters": [ + { + "id": 132, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "extendedBy": [ + { + "type": "reference", + "target": 57, + "name": "FilterableStockLocationProps" + } + ] + }, + { + "id": 207, + "name": "Query", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 208, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 208, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "object" + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 208, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true }, - "type": { + "extendsType": { + "type": "reference", + "target": 234, + "name": "Scalar", + "package": "@medusajs/types" + }, + "trueType": { "type": "intrinsic", - "name": "string" + "name": "never" + }, + "falseType": { + "type": "reference", + "target": 238, + "typeArguments": [ + { + "type": "reference", + "target": 208, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "FilterQuery", + "package": "@medusajs/types" } }, + "falseType": { + "type": "reference", + "target": 244, + "typeArguments": [ + { + "type": "reference", + "target": 208, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "FilterValue", + "package": "@medusajs/types" + } + } + }, + { + "id": 209, + "name": "ExpandScalar", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ { - "id": 116, - "name": "lte", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + "id": 210, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null }, - "type": { - "type": "intrinsic", - "name": "string" + { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 210, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "string" + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "RegExp" + }, + "name": "RegExp", + "package": "typescript" + } + ] + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 210, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "falseType": { + "type": "reference", + "target": 210, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + } } - }, - { - "id": 117, - "name": "contains", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + ] + } + }, + { + "id": 234, + "name": "Scalar", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" }, - "type": { + { + "type": "intrinsic", + "name": "number" + }, + { "type": "intrinsic", "name": "string" - } - }, - { - "id": 118, - "name": "starts_with", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "intrinsic", + "name": "symbol" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "RegExp" + }, + "name": "RegExp", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/@types/node/buffer.d.ts", + "qualifiedName": "__global.Buffer" + }, + "name": "Buffer", + "package": "@types/node", + "qualifiedName": "__global.Buffer" + }, + { + "type": "reflection", + "declaration": { + "id": 235, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 236, + "name": "toHexString", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 237, + "name": "toHexString", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 236 + ] + } + ] + } + } + ] + } + }, + { + "id": 389, + "name": "ReadonlyPrimary", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 390, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 390, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Readonly" + }, + "typeArguments": [ + { + "type": "reference", + "target": 390, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Readonly", + "package": "typescript" + }, + "falseType": { + "type": "reference", + "target": 390, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + } + }, + { + "id": 339, + "name": "Primary", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 348, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 348, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 340, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 341, + "name": "[PrimaryKeyType]", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "inferred", + "name": "PK" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 341 + ] + } + ] + } + }, + "trueType": { + "type": "reference", + "target": 389, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "PK" + }, + "name": "PK", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ReadonlyPrimary", + "package": "@medusajs/types" + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 348, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 342, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 343, + "name": "_id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "inferred", + "name": "PK" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 343 + ] + } + ] + } + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 389, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "PK" + }, + "name": "PK", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ReadonlyPrimary", + "package": "@medusajs/types" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 348, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 344, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 345, + "name": "uuid", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "inferred", + "name": "PK" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 345 + ] + } + ] + } + }, + "trueType": { + "type": "reference", + "target": 389, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "PK" + }, + "name": "PK", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ReadonlyPrimary", + "package": "@medusajs/types" + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 348, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 346, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 347, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "inferred", + "name": "PK" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 347 + ] + } + ] + } + }, + "trueType": { + "type": "reference", + "target": 389, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "PK" + }, + "name": "PK", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ReadonlyPrimary", + "package": "@medusajs/types" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + } + } + }, + { + "id": 133, + "name": "OperatorMap", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 154, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 134, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 135, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 207, + "typeArguments": [ + { + "type": "reference", + "target": 154, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Query", + "package": "@medusajs/types" + } + } + }, + { + "id": 136, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 207, + "typeArguments": [ + { + "type": "reference", + "target": 154, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Query", + "package": "@medusajs/types" + } + } + }, + { + "id": 137, + "name": "$eq", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 209, + "typeArguments": [ + { + "type": "reference", + "target": 154, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 209, + "typeArguments": [ + { + "type": "reference", + "target": 154, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } + } + ] + } + }, + { + "id": 138, + "name": "$ne", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 209, + "typeArguments": [ + { + "type": "reference", + "target": 154, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } + }, + { + "id": 139, + "name": "$in", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 209, + "typeArguments": [ + { + "type": "reference", + "target": 154, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } + } + }, + { + "id": 140, + "name": "$nin", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 209, + "typeArguments": [ + { + "type": "reference", + "target": 154, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } + } + }, + { + "id": 141, + "name": "$not", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 207, + "typeArguments": [ + { + "type": "reference", + "target": 154, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Query", + "package": "@medusajs/types" + } + }, + { + "id": 142, + "name": "$gt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 209, + "typeArguments": [ + { + "type": "reference", + "target": 154, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } + }, + { + "id": 143, + "name": "$gte", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 209, + "typeArguments": [ + { + "type": "reference", + "target": 154, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } + }, + { + "id": 144, + "name": "$lt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 209, + "typeArguments": [ + { + "type": "reference", + "target": 154, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } + }, + { + "id": 145, + "name": "$lte", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 209, + "typeArguments": [ + { + "type": "reference", + "target": 154, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + } + }, + { + "id": 146, + "name": "$like", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 147, + "name": "$re", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 148, + "name": "$ilike", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 149, + "name": "$fulltext", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 150, + "name": "$overlap", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 151, + "name": "$contains", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 152, + "name": "$contained", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 153, + "name": "$exists", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153 + ] + } + ] + } + } + }, + { + "id": 277, + "name": "FilterValue2", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 278, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 278, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 209, + "typeArguments": [ + { + "type": "reference", + "target": 278, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "ExpandScalar", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 339, + "typeArguments": [ + { + "type": "reference", + "target": 278, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Primary", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 244, + "name": "FilterValue", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 245, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 133, + "typeArguments": [ + { + "type": "reference", + "target": 277, + "typeArguments": [ + { + "type": "reference", + "target": 245, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "FilterValue2", + "package": "@medusajs/types" + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 277, + "typeArguments": [ + { + "type": "reference", + "target": 245, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "FilterValue2", + "package": "@medusajs/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 277, + "typeArguments": [ + { + "type": "reference", + "target": 245, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "FilterValue2", + "package": "@medusajs/types" + } + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 276, + "name": "PrevLimit", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "type": { + "type": "tuple", + "elements": [ + { + "type": "intrinsic", + "name": "never" + }, + { + "type": "literal", + "value": 1 + }, + { + "type": "literal", + "value": 2 + }, + { + "type": "literal", + "value": 3 + } + ] + } + }, + { + "id": 238, + "name": "FilterQuery", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "typeParameters": [ + { + "id": 242, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 243, + "name": "Prev", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + }, + "default": { + "type": "literal", + "value": 3 + } + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 243, + "name": "Prev", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "never" + }, + "trueType": { + "type": "intrinsic", + "name": "never" + }, + "falseType": { + "type": "mapped", + "parameter": "Key", + "parameterType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 242, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + "templateType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 242, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + "extendsType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "intrinsic", + "name": "symbol" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 242, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + { + "type": "reference", + "target": 133, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 242, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + } + ], + "name": "OperatorMap", + "package": "@medusajs/types" + } + ] + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 242, + "name": "T", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + }, + "extendsType": { + "type": "inferred", + "name": "U" + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "U" + }, + "name": "U", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reflection", + "declaration": { + "id": 239, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "indexSignature": { + "id": 240, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": {}, + "parameters": [ + { + "id": 241, + "name": "x", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "inferred", + "name": "V" + } + } + } + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "V" + }, + "name": "V", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "object" + }, + "trueType": { + "type": "reference", + "target": 238, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "V" + }, + "name": "V", + "package": "@medusajs/types", + "refersToTypeParameter": true + } + ], + "name": "Partial", + "package": "typescript" + }, + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 243, + "name": "Prev", + "package": "@medusajs/types", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 276, + "name": "PrevLimit", + "package": "@medusajs/types" + } + } + ], + "name": "FilterQuery", + "package": "@medusajs/types" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + }, + "optionalModifier": "+" + } + } + }, + { + "id": 349, + "name": "FulfillmentAddressDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment address details." + } + ] + }, + "children": [ + { + "id": 350, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the address." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 351, + "name": "fulfillment_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 352, + "name": "company", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The company of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 353, + "name": "first_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first name of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 354, + "name": "last_name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The last name of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 355, + "name": "address_1", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The first line of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 356, + "name": "address_2", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The second line of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 357, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 358, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ISO 2 character country code of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 359, + "name": "province", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 360, + "name": "postal_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The postal code of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 361, + "name": "phone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The phone of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 362, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 363, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the address." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 364, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the address." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 365, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the address." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 350, + 351, + 352, + 353, + 354, + 355, + 356, + 357, + 358, + 359, + 360, + 361, + 362, + 363, + 364, + 365 + ] + } + ] + }, + { + "id": 366, + "name": "FulfillmentItemDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment item details." + } + ] + }, + "children": [ + { + "id": 367, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 368, + "name": "title", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The title of the fulfillment item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 369, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The quantity of the fulfillment item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 370, + "name": "sku", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The sku of the fulfillment item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 371, + "name": "barcode", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The barcode of the fulfillment item." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 372, + "name": "line_item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated line item's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 373, + "name": "inventory_item_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated inventory item's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 374, + "name": "fulfillment_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 375, + "name": "fulfillment", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment." + } + ] + }, + "type": { + "type": "reference", + "target": 320, + "name": "FulfillmentDTO", + "package": "@medusajs/types" + } + }, + { + "id": 376, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the fulfillment item." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 377, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the fulfillment item." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 378, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the fulfillment item." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 367, + 368, + 369, + 370, + 371, + 372, + 373, + 374, + 375, + 376, + 377, + 378 + ] + } + ] + }, + { + "id": 379, + "name": "FulfillmentLabelDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment label details." + } + ] + }, + "children": [ + { + "id": 380, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment label." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 381, + "name": "tracking_number", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tracking number of the fulfillment label." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 382, + "name": "tracking_url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The tracking URL of the fulfillment label." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 383, + "name": "label_url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The label's URL." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 384, + "name": "fulfillment_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 385, + "name": "fulfillment", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment." + } + ] + }, + "type": { + "type": "reference", + "target": 320, + "name": "FulfillmentDTO", + "package": "@medusajs/types" + } + }, + { + "id": 386, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the fulfillment label." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 387, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the fulfillment label." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 388, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the fulfillment label." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 380, + 381, + 382, + 383, + 384, + 385, + 386, + 387, + 388 + ] + } + ] + }, + { + "id": 290, + "name": "FulfillmentProviderDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment provider details." + } + ] + }, + "children": [ + { + "id": 291, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment provider." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 292, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the fulfillment provider." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 293, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 294, + "name": "shipping_options", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping options associated with the fulfillment provider." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 257, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 295, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the fulfillment provider." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 296, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the fulfillment provider." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 297, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the fulfillment provider." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 291, + 292, + 293, + 294, + 295, + 296, + 297 + ] + } + ] + }, + { + "id": 170, + "name": "FulfillmentSetDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment set details." + } + ] + }, + "children": [ + { + "id": 171, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 172, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the fulfillment set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 173, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the fulfillment set." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 174, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 175, + "name": "service_zones", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The service zones associated with the fulfillment set." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 211, + "name": "ServiceZoneDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 176, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the fulfillment set." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 177, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the fulfillment set." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 178, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the fulfillment set." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 171, + 172, + 173, + 174, + 175, + 176, + 177, + 178 + ] + } + ] + }, + { + "id": 320, + "name": "FulfillmentDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment details." + } + ] + }, + "children": [ + { + "id": 321, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the fulfillment." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 322, + "name": "location_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated location's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 323, + "name": "packed_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was packed." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 324, + "name": "shipped_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was shipped." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 325, + "name": "delivered_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was delivered." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 326, + "name": "canceled_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The date the fulfillment was canceled." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 327, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data necessary for the fulfillment provider to process\nthe fulfillment." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 328, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment provider's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 329, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 330, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 331, + "name": "shipping_option", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": 257, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + ] + } + }, + { + "id": 332, + "name": "provider", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment provider." + } + ] + }, + "type": { + "type": "reference", + "target": 290, + "name": "FulfillmentProviderDTO", + "package": "@medusajs/types" + } + }, + { + "id": 333, + "name": "delivery_address", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment address used for delivery." + } + ] + }, + "type": { + "type": "reference", + "target": 349, + "name": "FulfillmentAddressDTO", + "package": "@medusajs/types" + } + }, + { + "id": 334, + "name": "items", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The items of the fulfillment." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 366, + "name": "FulfillmentItemDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 335, + "name": "labels", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The labels of the fulfillment." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 379, + "name": "FulfillmentLabelDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 336, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the fulfillment." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 337, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the fulfillment." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 338, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the fulfillment." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 321, + 322, + 323, + 324, + 325, + 326, + 327, + 328, + 329, + 330, + 331, + 332, + 333, + 334, + 335, + 336, + 337, + 338 + ] + } + ] + }, + { + "id": 279, + "name": "GeoZoneType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the geo zone." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "country" + }, + { + "type": "literal", + "value": "province" + }, + { + "type": "literal", + "value": "city" + }, + { + "type": "literal", + "value": "zip" + } + ] + } + }, + { + "id": 246, + "name": "GeoZoneDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The geo zone details." + } + ] + }, + "children": [ + { + "id": 247, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 248, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the geo zone." + } + ] + }, + "type": { + "type": "reference", + "target": 279, + "name": "GeoZoneType", + "package": "@medusajs/types" + } + }, + { + "id": 249, + "name": "country_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The country code of the geo zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 250, + "name": "province_code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The province code of the geo zone." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 251, + "name": "city", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The city of the geo zone." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 252, + "name": "postal_expression", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The postal expression of the geo zone." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 253, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 254, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the geo zone." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 255, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the geo zone." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 256, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the geo zone." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 247, + 248, + 249, + 250, + 251, + 252, + 253, + 254, + 255, + 256 + ] + } + ] + }, + { + "id": 211, + "name": "ServiceZoneDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The service zone details." + } + ] + }, + "children": [ + { + "id": 212, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the service zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 213, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the service zone." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 214, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 215, + "name": "fulfillment_sets", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillment sets assoiated with the service zone." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 170, + "name": "FulfillmentSetDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 216, + "name": "geo_zones", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The geo zones assoiated with the service zone." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 246, + "name": "GeoZoneDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 217, + "name": "shipping_options", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping options assoiated with the service zone." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 257, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 218, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the service zone." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 219, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the service zone." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 220, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the service zone." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 212, + 213, + 214, + 215, + 216, + 217, + 218, + 219, + 220 + ] + } + ] + }, + { + "id": 308, + "name": "ShippingOptionRuleDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option rule details." + } + ] + }, + "children": [ + { + "id": 309, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 310, + "name": "attribute", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attribute of the shipping option rule." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 311, + "name": "operator", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The operator of the shipping option rule." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\nin\n```" + } + ] + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 312, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The values of the shipping option rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 313, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 314, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The values of the shipping option rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 314 + ] + } + ] + } + } + ] + } + }, + { + "id": 315, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 316, + "name": "shipping_option", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option." + } + ] + }, + "type": { + "type": "reference", + "target": 257, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 317, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the shipping option rule." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 318, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the shipping option rule." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 319, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the shipping option rule." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 309, + 310, + 311, + 312, + 315, + 316, + 317, + 318, + 319 + ] + } + ] + }, + { + "id": 298, + "name": "ShippingOptionTypeDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option type details." + } + ] + }, + "children": [ + { + "id": 299, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 300, + "name": "label", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The label of the shipping option type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 301, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The description of the shipping option type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 302, + "name": "code", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The code of the shipping option type." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 303, + "name": "shipping_option_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 304, + "name": "shipping_option", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option." + } + ] + }, + "type": { + "type": "reference", + "target": 257, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + }, + { + "id": 305, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the shipping option type." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 306, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the shipping option type." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 307, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the shipping option type." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 299, + 300, + 301, + 302, + 303, + 304, + 305, + 306, + 307 + ] + } + ] + }, + { + "id": 280, + "name": "ShippingOptionPriceType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option's price type.\n\n- Use " + }, + { + "kind": "code", + "text": "`calculated`" + }, + { + "kind": "text", + "text": " if the shipping option's price amount is calculated by the fulfillment provider.\n- Use " + }, + { + "kind": "code", + "text": "`flat_rate`" + }, + { + "kind": "text", + "text": " if the shipping option's price is always the same amount." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "calculated" + }, + { + "type": "literal", + "value": "flat" + } + ] + } + }, + { + "id": 257, + "name": "ShippingOptionDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping option details." + } + ] + }, + "children": [ + { + "id": 258, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping option." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 259, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the shipping option." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 260, + "name": "price_type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the shipping option's price." + } + ] + }, + "type": { + "type": "reference", + "target": 280, + "name": "ShippingOptionPriceType", + "package": "@medusajs/types" + } + }, + { + "id": 261, + "name": "service_zone_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 262, + "name": "shipping_profile_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping profile's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 263, + "name": "provider_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment provider's ID." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 264, + "name": "shipping_option_type_id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option type's ID." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 265, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 266, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 267, + "name": "service_zone", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated service zone." + } + ] + }, + "type": { + "type": "reference", + "target": 211, + "name": "ServiceZoneDTO", + "package": "@medusajs/types" + } + }, + { + "id": 268, + "name": "shipping_profile", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping profile." + } + ] + }, + "type": { + "type": "reference", + "target": 281, + "name": "ShippingProfileDTO", + "package": "@medusajs/types" + } + }, + { + "id": 269, + "name": "fulfillment_provider", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated fulfillment provider." + } + ] + }, + "type": { + "type": "reference", + "target": 290, + "name": "FulfillmentProviderDTO", + "package": "@medusajs/types" + } + }, + { + "id": 270, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The associated shipping option type." + } + ] + }, + "type": { + "type": "reference", + "target": 298, + "name": "ShippingOptionTypeDTO", + "package": "@medusajs/types" + } + }, + { + "id": 271, + "name": "rules", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The rules associated with the shipping option." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 308, + "name": "ShippingOptionRuleDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 272, + "name": "fulfillments", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The fulfillments associated with the shipping option." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 320, + "name": "FulfillmentDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 273, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the shipping option." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 274, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the shipping option." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 275, + "name": "deleted_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the shipping option." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 258, + 259, + 260, + 261, + 262, + 263, + 264, + 265, + 266, + 267, + 268, + 269, + 270, + 271, + 272, + 273, + 274, + 275 + ] + } + ] + }, + { + "id": 281, + "name": "ShippingProfileDTO", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping profile details." + } + ] + }, + "children": [ + { + "id": 282, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the shipping profile." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 283, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the shipping profile." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 284, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The type of the shipping profile." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 285, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Holds custom data in key-value pairs." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + ] + } + }, + { + "id": 286, + "name": "shipping_options", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The shipping options associated with the shipping profile." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 257, + "name": "ShippingOptionDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 287, + "name": "created_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The creation date of the shipping profile." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + }, + { + "id": 288, + "name": "updated_at", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The update date of the shipping profile." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" } }, { - "id": 119, - "name": "ends_with", + "id": 289, + "name": "deleted_at", "variant": "declaration", "kind": 1024, - "flags": { - "isOptional": true + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The deletion date of the shipping profile." + } + ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] } } ], @@ -385,19 +5960,20 @@ { "title": "Properties", "children": [ - 113, - 114, - 115, - 116, - 117, - 118, - 119 + 282, + 283, + 284, + 285, + 286, + 287, + 288, + 289 ] } ] }, { - "id": 166, + "id": 224, "name": "JoinerRelationship", "variant": "declaration", "kind": 2097152, @@ -405,14 +5981,14 @@ "type": { "type": "reflection", "declaration": { - "id": 167, + "id": 225, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 168, + "id": 226, "name": "alias", "variant": "declaration", "kind": 1024, @@ -423,7 +5999,7 @@ } }, { - "id": 169, + "id": 227, "name": "foreignKey", "variant": "declaration", "kind": 1024, @@ -434,7 +6010,7 @@ } }, { - "id": 170, + "id": 228, "name": "primaryKey", "variant": "declaration", "kind": 1024, @@ -445,7 +6021,7 @@ } }, { - "id": 171, + "id": 229, "name": "serviceName", "variant": "declaration", "kind": 1024, @@ -456,7 +6032,7 @@ } }, { - "id": 172, + "id": 230, "name": "isInternalService", "variant": "declaration", "kind": 1024, @@ -477,7 +6053,7 @@ } }, { - "id": 173, + "id": 231, "name": "inverse", "variant": "declaration", "kind": 1024, @@ -498,7 +6074,7 @@ } }, { - "id": 174, + "id": 232, "name": "isList", "variant": "declaration", "kind": 1024, @@ -519,7 +6095,7 @@ } }, { - "id": 175, + "id": 233, "name": "args", "variant": "declaration", "kind": 1024, @@ -559,14 +6135,14 @@ { "title": "Properties", "children": [ - 168, - 169, - 170, - 171, - 172, - 173, - 174, - 175 + 226, + 227, + 228, + 229, + 230, + 231, + 232, + 233 ] } ] @@ -574,14 +6150,14 @@ } }, { - "id": 163, + "id": 221, "name": "JoinerServiceConfigAlias", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { - "id": 164, + "id": 222, "name": "name", "variant": "declaration", "kind": 1024, @@ -604,7 +6180,7 @@ } }, { - "id": 165, + "id": 223, "name": "args", "variant": "declaration", "kind": 1024, @@ -644,21 +6220,21 @@ { "title": "Properties", "children": [ - 164, - 165 + 222, + 223 ] } ] }, { - "id": 145, + "id": 189, "name": "JoinerServiceConfig", "variant": "declaration", "kind": 256, "flags": {}, "children": [ { - "id": 146, + "id": 190, "name": "serviceName", "variant": "declaration", "kind": 1024, @@ -669,7 +6245,7 @@ } }, { - "id": 147, + "id": 191, "name": "alias", "variant": "declaration", "kind": 1024, @@ -689,7 +6265,7 @@ "types": [ { "type": "reference", - "target": 163, + "target": 221, "name": "JoinerServiceConfigAlias", "package": "@medusajs/types" }, @@ -697,7 +6273,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 163, + "target": 221, "name": "JoinerServiceConfigAlias", "package": "@medusajs/types" } @@ -706,7 +6282,7 @@ } }, { - "id": 148, + "id": 192, "name": "fieldAlias", "variant": "declaration", "kind": 1024, @@ -742,14 +6318,14 @@ { "type": "reflection", "declaration": { - "id": 149, + "id": 193, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 150, + "id": 194, "name": "path", "variant": "declaration", "kind": 1024, @@ -760,7 +6336,7 @@ } }, { - "id": 151, + "id": 195, "name": "forwardArgumentsOnPath", "variant": "declaration", "kind": 1024, @@ -778,8 +6354,8 @@ { "title": "Properties", "children": [ - 150, - 151 + 194, + 195 ] } ] @@ -793,7 +6369,7 @@ } }, { - "id": 152, + "id": 196, "name": "primaryKeys", "variant": "declaration", "kind": 1024, @@ -807,7 +6383,7 @@ } }, { - "id": 153, + "id": 197, "name": "relationships", "variant": "declaration", "kind": 1024, @@ -818,14 +6394,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 166, + "target": 224, "name": "JoinerRelationship", "package": "@medusajs/types" } } }, { - "id": 154, + "id": 198, "name": "extends", "variant": "declaration", "kind": 1024, @@ -837,14 +6413,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 155, + "id": 199, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 156, + "id": 200, "name": "serviceName", "variant": "declaration", "kind": 1024, @@ -855,14 +6431,14 @@ } }, { - "id": 157, + "id": 201, "name": "relationship", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 166, + "target": 224, "name": "JoinerRelationship", "package": "@medusajs/types" } @@ -872,8 +6448,8 @@ { "title": "Properties", "children": [ - 156, - 157 + 200, + 201 ] } ] @@ -882,7 +6458,7 @@ } }, { - "id": 158, + "id": 202, "name": "args", "variant": "declaration", "kind": 1024, @@ -922,19 +6498,19 @@ { "title": "Properties", "children": [ - 146, - 147, - 148, - 152, - 153, - 154, - 158 + 190, + 191, + 192, + 196, + 197, + 198, + 202 ] } ] }, { - "id": 85, + "id": 101, "name": "ModuleJoinerConfig", "variant": "declaration", "kind": 2097152, @@ -951,7 +6527,7 @@ "typeArguments": [ { "type": "reference", - "target": 145, + "target": 189, "name": "JoinerServiceConfig", "package": "@medusajs/types" }, @@ -983,14 +6559,14 @@ { "type": "reflection", "declaration": { - "id": 86, + "id": 102, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 87, + "id": 103, "name": "schema", "variant": "declaration", "kind": 1024, @@ -1011,7 +6587,7 @@ } }, { - "id": 88, + "id": 104, "name": "relationships", "variant": "declaration", "kind": 1024, @@ -1022,14 +6598,14 @@ "type": "array", "elementType": { "type": "reference", - "target": 159, + "target": 203, "name": "ModuleJoinerRelationship", "package": "@medusajs/types" } } }, { - "id": 89, + "id": 105, "name": "extends", "variant": "declaration", "kind": 1024, @@ -1041,14 +6617,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 90, + "id": 106, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 91, + "id": 107, "name": "serviceName", "variant": "declaration", "kind": 1024, @@ -1059,7 +6635,7 @@ } }, { - "id": 92, + "id": 108, "name": "fieldAlias", "variant": "declaration", "kind": 1024, @@ -1087,14 +6663,14 @@ { "type": "reflection", "declaration": { - "id": 93, + "id": 109, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 94, + "id": 110, "name": "path", "variant": "declaration", "kind": 1024, @@ -1105,11 +6681,13 @@ } }, { - "id": 95, + "id": 111, "name": "forwardArgumentsOnPath", "variant": "declaration", "kind": 1024, - "flags": {}, + "flags": { + "isOptional": true + }, "type": { "type": "array", "elementType": { @@ -1117,14 +6695,28 @@ "name": "string" } } + }, + { + "id": 112, + "name": "isList", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } } ], "groups": [ { "title": "Properties", "children": [ - 94, - 95 + 110, + 111, + 112 ] } ] @@ -1138,14 +6730,14 @@ } }, { - "id": 96, + "id": 113, "name": "relationship", "variant": "declaration", "kind": 1024, "flags": {}, "type": { "type": "reference", - "target": 159, + "target": 203, "name": "ModuleJoinerRelationship", "package": "@medusajs/types" } @@ -1155,9 +6747,9 @@ { "title": "Properties", "children": [ - 91, - 92, - 96 + 107, + 108, + 113 ] } ] @@ -1166,7 +6758,7 @@ } }, { - "id": 97, + "id": 114, "name": "serviceName", "variant": "declaration", "kind": 1024, @@ -1179,7 +6771,7 @@ } }, { - "id": 98, + "id": 115, "name": "primaryKeys", "variant": "declaration", "kind": 1024, @@ -1195,7 +6787,7 @@ } }, { - "id": 99, + "id": 116, "name": "isLink", "variant": "declaration", "kind": 1024, @@ -1216,7 +6808,7 @@ } }, { - "id": 100, + "id": 117, "name": "linkableKeys", "variant": "declaration", "kind": 1024, @@ -1252,7 +6844,7 @@ } }, { - "id": 101, + "id": 118, "name": "isReadOnlyLink", "variant": "declaration", "kind": 1024, @@ -1273,7 +6865,7 @@ } }, { - "id": 102, + "id": 119, "name": "databaseConfig", "variant": "declaration", "kind": 1024, @@ -1283,14 +6875,14 @@ "type": { "type": "reflection", "declaration": { - "id": 103, + "id": 120, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 104, + "id": 121, "name": "tableName", "variant": "declaration", "kind": 1024, @@ -1311,7 +6903,7 @@ } }, { - "id": 105, + "id": 122, "name": "idPrefix", "variant": "declaration", "kind": 1024, @@ -1332,7 +6924,7 @@ } }, { - "id": 106, + "id": 123, "name": "extraFields", "variant": "declaration", "kind": 1024, @@ -1353,14 +6945,14 @@ { "type": "reflection", "declaration": { - "id": 107, + "id": 124, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 108, + "id": 125, "name": "type", "variant": "declaration", "kind": 1024, @@ -1456,7 +7048,7 @@ } }, { - "id": 109, + "id": 126, "name": "defaultValue", "variant": "declaration", "kind": 1024, @@ -1469,7 +7061,7 @@ } }, { - "id": 110, + "id": 127, "name": "nullable", "variant": "declaration", "kind": 1024, @@ -1482,7 +7074,7 @@ } }, { - "id": 111, + "id": 128, "name": "options", "variant": "declaration", "kind": 1024, @@ -1522,10 +7114,10 @@ { "title": "Properties", "children": [ - 108, - 109, - 110, - 111 + 125, + 126, + 127, + 128 ] } ] @@ -1541,9 +7133,9 @@ { "title": "Properties", "children": [ - 104, - 105, - 106 + 121, + 122, + 123 ] } ] @@ -1555,15 +7147,15 @@ { "title": "Properties", "children": [ - 87, - 88, - 89, - 97, - 98, - 99, - 100, - 101, - 102 + 103, + 104, + 105, + 114, + 115, + 116, + 117, + 118, + 119 ] } ] @@ -1573,7 +7165,7 @@ } }, { - "id": 159, + "id": 203, "name": "ModuleJoinerRelationship", "variant": "declaration", "kind": 2097152, @@ -1583,21 +7175,21 @@ "types": [ { "type": "reference", - "target": 166, + "target": 224, "name": "JoinerRelationship", "package": "@medusajs/types" }, { "type": "reflection", "declaration": { - "id": 160, + "id": 204, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 161, + "id": 205, "name": "isInternalService", "variant": "declaration", "kind": 1024, @@ -1618,7 +7210,7 @@ } }, { - "id": 162, + "id": 206, "name": "deleteCascade", "variant": "declaration", "kind": 1024, @@ -1643,8 +7235,8 @@ { "title": "Properties", "children": [ - 161, - 162 + 205, + 206 ] } ] @@ -1654,7 +7246,7 @@ } }, { - "id": 37, + "id": 43, "name": "IModuleService", "variant": "declaration", "kind": 256, @@ -1668,7 +7260,7 @@ ] }, { - "id": 70, + "id": 86, "name": "SharedContext", "variant": "declaration", "kind": 256, @@ -1697,7 +7289,7 @@ }, "children": [ { - "id": 71, + "id": 87, "name": "transactionManager", "variant": "declaration", "kind": 1024, @@ -1723,7 +7315,7 @@ } }, { - "id": 72, + "id": 88, "name": "manager", "variant": "declaration", "kind": 1024, @@ -1753,14 +7345,14 @@ { "title": "Properties", "children": [ - 71, - 72 + 87, + 88 ] } ] }, { - "id": 120, + "id": 155, "name": "StockLocationAddressDTO", "variant": "declaration", "kind": 2097152, @@ -1779,14 +7371,14 @@ "type": { "type": "reflection", "declaration": { - "id": 121, + "id": 156, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 122, + "id": 157, "name": "id", "variant": "declaration", "kind": 1024, @@ -1797,7 +7389,7 @@ "summary": [ { "kind": "text", - "text": "The stock location address' ID" + "text": "The ID of the stock location address." } ] }, @@ -1807,7 +7399,7 @@ } }, { - "id": 123, + "id": 158, "name": "address_1", "variant": "declaration", "kind": 1024, @@ -1816,7 +7408,7 @@ "summary": [ { "kind": "text", - "text": "Stock location address" + "text": "The address 1 of the stock location address." } ] }, @@ -1826,7 +7418,7 @@ } }, { - "id": 124, + "id": 159, "name": "address_2", "variant": "declaration", "kind": 1024, @@ -1837,7 +7429,7 @@ "summary": [ { "kind": "text", - "text": "Stock location address' complement" + "text": "The address 2 of the stock location address." } ] }, @@ -1856,7 +7448,7 @@ } }, { - "id": 125, + "id": 160, "name": "company", "variant": "declaration", "kind": 1024, @@ -1867,7 +7459,7 @@ "summary": [ { "kind": "text", - "text": "Stock location company' name" + "text": "The company of the stock location address." } ] }, @@ -1886,7 +7478,7 @@ } }, { - "id": 126, + "id": 161, "name": "country_code", "variant": "declaration", "kind": 1024, @@ -1895,7 +7487,7 @@ "summary": [ { "kind": "text", - "text": "Stock location address' country" + "text": "The country code of the stock location address." } ] }, @@ -1905,7 +7497,7 @@ } }, { - "id": 127, + "id": 162, "name": "city", "variant": "declaration", "kind": 1024, @@ -1916,7 +7508,7 @@ "summary": [ { "kind": "text", - "text": "Stock location address' city" + "text": "The city of the stock location address." } ] }, @@ -1935,7 +7527,7 @@ } }, { - "id": 128, + "id": 163, "name": "phone", "variant": "declaration", "kind": 1024, @@ -1946,7 +7538,7 @@ "summary": [ { "kind": "text", - "text": "Stock location address' phone number" + "text": "The phone of the stock location address." } ] }, @@ -1965,7 +7557,7 @@ } }, { - "id": 129, + "id": 164, "name": "postal_code", "variant": "declaration", "kind": 1024, @@ -1976,7 +7568,7 @@ "summary": [ { "kind": "text", - "text": "Stock location address' postal code" + "text": "The postal code of the stock location address." } ] }, @@ -1995,7 +7587,7 @@ } }, { - "id": 130, + "id": 165, "name": "province", "variant": "declaration", "kind": 1024, @@ -2006,7 +7598,7 @@ "summary": [ { "kind": "text", - "text": "Stock location address' province" + "text": "The province of the stock location address." } ] }, @@ -2025,7 +7617,7 @@ } }, { - "id": 131, + "id": 166, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -2036,7 +7628,7 @@ "summary": [ { "kind": "text", - "text": "An optional key-value map with additional details" + "text": "Holds custom data in key-value pairs." } ] }, @@ -2070,7 +7662,7 @@ } }, { - "id": 132, + "id": 167, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -2079,7 +7671,7 @@ "summary": [ { "kind": "text", - "text": "The date with timezone at which the resource was created." + "text": "The creation date of the stock location address." } ] }, @@ -2103,7 +7695,7 @@ } }, { - "id": 133, + "id": 168, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -2112,7 +7704,7 @@ "summary": [ { "kind": "text", - "text": "The date with timezone at which the resource was updated." + "text": "The update date of the stock location address." } ] }, @@ -2136,7 +7728,7 @@ } }, { - "id": 134, + "id": 169, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -2145,7 +7737,7 @@ "summary": [ { "kind": "text", - "text": "The date with timezone at which the resource was deleted." + "text": "The deletion date of the stock location address." } ] }, @@ -2177,19 +7769,19 @@ { "title": "Properties", "children": [ - 122, - 123, - 124, - 125, - 126, - 127, - 128, - 129, - 130, - 131, - 132, - 133, - 134 + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169 ] } ] @@ -2197,7 +7789,7 @@ } }, { - "id": 60, + "id": 75, "name": "StockLocationDTO", "variant": "declaration", "kind": 2097152, @@ -2216,14 +7808,14 @@ "type": { "type": "reflection", "declaration": { - "id": 61, + "id": 76, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 62, + "id": 77, "name": "id", "variant": "declaration", "kind": 1024, @@ -2232,7 +7824,7 @@ "summary": [ { "kind": "text", - "text": "The stock location's ID" + "text": "The ID of the stock location." } ] }, @@ -2242,7 +7834,7 @@ } }, { - "id": 63, + "id": 78, "name": "name", "variant": "declaration", "kind": 1024, @@ -2251,7 +7843,7 @@ "summary": [ { "kind": "text", - "text": "The name of the stock location" + "text": "The name of the stock location." } ] }, @@ -2261,7 +7853,7 @@ } }, { - "id": 64, + "id": 79, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -2270,7 +7862,7 @@ "summary": [ { "kind": "text", - "text": "An optional key-value map with additional details" + "text": "Holds custom data in key-value pairs." } ] }, @@ -2304,7 +7896,7 @@ } }, { - "id": 65, + "id": 80, "name": "address_id", "variant": "declaration", "kind": 1024, @@ -2313,7 +7905,7 @@ "summary": [ { "kind": "text", - "text": "Stock location address' ID" + "text": "The associated address's ID." } ] }, @@ -2323,7 +7915,7 @@ } }, { - "id": 66, + "id": 81, "name": "address", "variant": "declaration", "kind": 1024, @@ -2334,19 +7926,43 @@ "summary": [ { "kind": "text", - "text": "The Address of the Stock Location" + "text": "The address of the stock location." } ] }, "type": { "type": "reference", - "target": 120, + "target": 155, "name": "StockLocationAddressDTO", "package": "@medusajs/types" } }, { - "id": 67, + "id": 82, + "name": "fulfillment_sets", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Fulfillment sets for the location" + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 170, + "name": "FulfillmentSetDTO", + "package": "@medusajs/types" + } + } + }, + { + "id": 83, "name": "created_at", "variant": "declaration", "kind": 1024, @@ -2355,7 +7971,7 @@ "summary": [ { "kind": "text", - "text": "The date with timezone at which the resource was created." + "text": "The creation date of the stock location." } ] }, @@ -2379,7 +7995,7 @@ } }, { - "id": 68, + "id": 84, "name": "updated_at", "variant": "declaration", "kind": 1024, @@ -2388,7 +8004,7 @@ "summary": [ { "kind": "text", - "text": "The date with timezone at which the resource was updated." + "text": "The update date of the stock location." } ] }, @@ -2412,7 +8028,7 @@ } }, { - "id": 69, + "id": 85, "name": "deleted_at", "variant": "declaration", "kind": 1024, @@ -2421,7 +8037,7 @@ "summary": [ { "kind": "text", - "text": "The date with timezone at which the resource was deleted." + "text": "The deletion date of the stock location." } ] }, @@ -2453,14 +8069,15 @@ { "title": "Properties", "children": [ - 62, - 63, - 64, - 65, - 66, - 67, - 68, - 69 + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85 ] } ] @@ -2468,7 +8085,7 @@ } }, { - "id": 45, + "id": 57, "name": "FilterableStockLocationProps", "variant": "declaration", "kind": 256, @@ -2483,7 +8100,107 @@ }, "children": [ { - "id": 46, + "id": 61, + "name": "$and", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 57, + "name": "FilterableStockLocationProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 129, + "typeArguments": [ + { + "type": "reference", + "target": 57, + "name": "FilterableStockLocationProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 130, + "name": "BaseFilterable.$and" + } + }, + { + "id": 62, + "name": "$or", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 57, + "name": "FilterableStockLocationProps", + "package": "@medusajs/types" + }, + { + "type": "reference", + "target": 129, + "typeArguments": [ + { + "type": "reference", + "target": 57, + "name": "FilterableStockLocationProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 131, + "name": "BaseFilterable.$or" + } + }, + { + "id": 58, "name": "q", "variant": "declaration", "kind": 1024, @@ -2504,7 +8221,7 @@ } }, { - "id": 47, + "id": 59, "name": "id", "variant": "declaration", "kind": 1024, @@ -2537,7 +8254,7 @@ } }, { - "id": 48, + "id": 60, "name": "name", "variant": "declaration", "kind": 1024, @@ -2568,8 +8285,14 @@ }, { "type": "reference", - "target": 112, - "name": "StringComparisonOperator", + "target": 133, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "OperatorMap", "package": "@medusajs/types" } ] @@ -2580,15 +8303,33 @@ { "title": "Properties", "children": [ - 46, - 47, - 48 + 61, + 62, + 58, + 59, + 60 ] } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 129, + "typeArguments": [ + { + "type": "reference", + "target": 57, + "name": "FilterableStockLocationProps", + "package": "@medusajs/types" + } + ], + "name": "BaseFilterable", + "package": "@medusajs/types" + } ] }, { - "id": 135, + "id": 179, "name": "StockLocationAddressInput", "variant": "declaration", "kind": 2097152, @@ -2607,14 +8348,14 @@ "type": { "type": "reflection", "declaration": { - "id": 136, + "id": 180, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 137, + "id": 181, "name": "address_1", "variant": "declaration", "kind": 1024, @@ -2623,7 +8364,7 @@ "summary": [ { "kind": "text", - "text": "Stock location address" + "text": "The first line of the stock location address." } ] }, @@ -2633,7 +8374,7 @@ } }, { - "id": 138, + "id": 182, "name": "address_2", "variant": "declaration", "kind": 1024, @@ -2644,17 +8385,26 @@ "summary": [ { "kind": "text", - "text": "Stock location address' complement" + "text": "The second line of the stock location address." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] } }, { - "id": 139, + "id": 183, "name": "country_code", "variant": "declaration", "kind": 1024, @@ -2663,7 +8413,7 @@ "summary": [ { "kind": "text", - "text": "Stock location address' country" + "text": "The country code of the stock location address." } ] }, @@ -2673,7 +8423,7 @@ } }, { - "id": 140, + "id": 184, "name": "city", "variant": "declaration", "kind": 1024, @@ -2684,17 +8434,26 @@ "summary": [ { "kind": "text", - "text": "Stock location address' city" + "text": "The city of the stock location address." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] } }, { - "id": 141, + "id": 185, "name": "phone", "variant": "declaration", "kind": 1024, @@ -2705,17 +8464,26 @@ "summary": [ { "kind": "text", - "text": "Stock location address' phone number" + "text": "The phone of the stock location address." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] } }, { - "id": 142, + "id": 186, "name": "province", "variant": "declaration", "kind": 1024, @@ -2726,17 +8494,26 @@ "summary": [ { "kind": "text", - "text": "Stock location address' province" + "text": "The province of the stock location address." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] } }, { - "id": 143, + "id": 187, "name": "postal_code", "variant": "declaration", "kind": 1024, @@ -2747,17 +8524,26 @@ "summary": [ { "kind": "text", - "text": "Stock location address' postal code" + "text": "The postal code of the stock location address." } ] }, "type": { - "type": "intrinsic", - "name": "string" + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] } }, { - "id": 144, + "id": 188, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -2768,28 +8554,37 @@ "summary": [ { "kind": "text", - "text": "An optional key-value map with additional details" + "text": "Holds custom data in key-value pairs." } ] }, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ + "type": "union", + "types": [ { - "type": "intrinsic", - "name": "string" + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" }, { - "type": "intrinsic", - "name": "unknown" + "type": "literal", + "value": null } - ], - "name": "Record", - "package": "typescript" + ] } } ], @@ -2797,14 +8592,14 @@ { "title": "Properties", "children": [ - 137, - 138, - 139, - 140, - 141, - 142, - 143, - 144 + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 188 ] } ] @@ -2812,7 +8607,7 @@ } }, { - "id": 73, + "id": 89, "name": "CreateStockLocationInput", "variant": "declaration", "kind": 2097152, @@ -2831,14 +8626,14 @@ "type": { "type": "reflection", "declaration": { - "id": 74, + "id": 90, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 75, + "id": 91, "name": "name", "variant": "declaration", "kind": 1024, @@ -2847,7 +8642,7 @@ "summary": [ { "kind": "text", - "text": "The stock location name" + "text": "The name of the stock location." } ] }, @@ -2857,7 +8652,7 @@ } }, { - "id": 76, + "id": 92, "name": "address_id", "variant": "declaration", "kind": 1024, @@ -2868,7 +8663,7 @@ "summary": [ { "kind": "text", - "text": "The Stock location address ID" + "text": "The associated address's ID." } ] }, @@ -2878,7 +8673,7 @@ } }, { - "id": 77, + "id": 93, "name": "address", "variant": "declaration", "kind": 1024, @@ -2889,7 +8684,7 @@ "summary": [ { "kind": "text", - "text": "Stock location address object" + "text": "The associated address." } ] }, @@ -2902,7 +8697,7 @@ }, { "type": "reference", - "target": 135, + "target": 179, "name": "StockLocationAddressInput", "package": "@medusajs/types" } @@ -2910,7 +8705,7 @@ } }, { - "id": 78, + "id": 94, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -2921,7 +8716,7 @@ "summary": [ { "kind": "text", - "text": "An optional key-value map with additional details" + "text": "Holds custom data in key-value pairs." } ] }, @@ -2950,10 +8745,10 @@ { "title": "Properties", "children": [ - 75, - 76, - 77, - 78 + 91, + 92, + 93, + 94 ] } ] @@ -2961,7 +8756,7 @@ } }, { - "id": 79, + "id": 95, "name": "UpdateStockLocationInput", "variant": "declaration", "kind": 2097152, @@ -2980,14 +8775,14 @@ "type": { "type": "reflection", "declaration": { - "id": 80, + "id": 96, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 81, + "id": 97, "name": "name", "variant": "declaration", "kind": 1024, @@ -2998,7 +8793,7 @@ "summary": [ { "kind": "text", - "text": "The stock location name" + "text": "The name of the stock location." } ] }, @@ -3008,7 +8803,7 @@ } }, { - "id": 82, + "id": 98, "name": "address_id", "variant": "declaration", "kind": 1024, @@ -3019,7 +8814,7 @@ "summary": [ { "kind": "text", - "text": "The Stock location address ID" + "text": "The associated address's ID." } ] }, @@ -3029,7 +8824,7 @@ } }, { - "id": 83, + "id": 99, "name": "address", "variant": "declaration", "kind": 1024, @@ -3040,19 +8835,19 @@ "summary": [ { "kind": "text", - "text": "Stock location address object" + "text": "The associated address's details." } ] }, "type": { "type": "reference", - "target": 135, + "target": 179, "name": "StockLocationAddressInput", "package": "@medusajs/types" } }, { - "id": 84, + "id": 100, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -3063,7 +8858,7 @@ "summary": [ { "kind": "text", - "text": "An optional key-value map with additional details" + "text": "Holds custom data in key-value pairs." } ] }, @@ -3092,10 +8887,10 @@ { "title": "Properties", "children": [ - 81, - 82, - 83, - 84 + 97, + 98, + 99, + 100 ] } ] @@ -3108,6 +8903,14 @@ "variant": "declaration", "kind": 256, "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The main service interface for the stock location's module." + } + ] + }, "children": [ { "id": 2, @@ -3219,7 +9022,7 @@ }, "type": { "type": "reference", - "target": 45, + "target": 57, "name": "FilterableStockLocationProps", "package": "@medusajs/types" } @@ -3258,11 +9061,11 @@ }, "type": { "type": "reference", - "target": 49, + "target": 63, "typeArguments": [ { "type": "reference", - "target": 60, + "target": 75, "name": "StockLocationDTO", "package": "@medusajs/types" } @@ -3289,7 +9092,7 @@ }, "type": { "type": "reference", - "target": 70, + "target": 86, "name": "SharedContext", "package": "@medusajs/types" } @@ -3306,7 +9109,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 60, + "target": 75, "name": "StockLocationDTO", "package": "@medusajs/types" } @@ -3428,7 +9231,7 @@ }, "type": { "type": "reference", - "target": 45, + "target": 57, "name": "FilterableStockLocationProps", "package": "@medusajs/types" } @@ -3467,11 +9270,11 @@ }, "type": { "type": "reference", - "target": 49, + "target": 63, "typeArguments": [ { "type": "reference", - "target": 60, + "target": 75, "name": "StockLocationDTO", "package": "@medusajs/types" } @@ -3498,7 +9301,7 @@ }, "type": { "type": "reference", - "target": 70, + "target": 86, "name": "SharedContext", "package": "@medusajs/types" } @@ -3518,7 +9321,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 60, + "target": 75, "name": "StockLocationDTO", "package": "@medusajs/types" } @@ -3643,11 +9446,11 @@ }, "type": { "type": "reference", - "target": 49, + "target": 63, "typeArguments": [ { "type": "reference", - "target": 60, + "target": 75, "name": "StockLocationDTO", "package": "@medusajs/types" } @@ -3674,7 +9477,7 @@ }, "type": { "type": "reference", - "target": 70, + "target": 86, "name": "SharedContext", "package": "@medusajs/types" } @@ -3689,7 +9492,7 @@ "typeArguments": [ { "type": "reference", - "target": 60, + "target": 75, "name": "StockLocationDTO", "package": "@medusajs/types" } @@ -3758,7 +9561,7 @@ }, "type": { "type": "reference", - "target": 73, + "target": 89, "name": "CreateStockLocationInput", "package": "@medusajs/types" } @@ -3781,7 +9584,7 @@ }, "type": { "type": "reference", - "target": 70, + "target": 86, "name": "SharedContext", "package": "@medusajs/types" } @@ -3796,7 +9599,7 @@ "typeArguments": [ { "type": "reference", - "target": 60, + "target": 75, "name": "StockLocationDTO", "package": "@medusajs/types" } @@ -3884,7 +9687,7 @@ }, "type": { "type": "reference", - "target": 79, + "target": 95, "name": "UpdateStockLocationInput", "package": "@medusajs/types" } @@ -3907,7 +9710,7 @@ }, "type": { "type": "reference", - "target": 70, + "target": 86, "name": "SharedContext", "package": "@medusajs/types" } @@ -3922,7 +9725,7 @@ "typeArguments": [ { "type": "reference", - "target": 60, + "target": 75, "name": "StockLocationDTO", "package": "@medusajs/types" } @@ -4012,7 +9815,7 @@ }, "type": { "type": "reference", - "target": 70, + "target": 86, "name": "SharedContext", "package": "@medusajs/types" } @@ -4053,7 +9856,7 @@ "extendedTypes": [ { "type": "reference", - "target": 37, + "target": 43, "name": "IModuleService", "package": "@medusajs/types" } @@ -4064,27 +9867,51 @@ { "title": "Interfaces", "children": [ - 49, - 112, - 163, - 145, - 37, - 70, - 45, + 63, + 129, + 349, + 366, + 379, + 290, + 170, + 320, + 246, + 211, + 308, + 298, + 257, + 281, + 221, + 189, + 43, + 86, + 57, 1 ] }, { "title": "Type Aliases", "children": [ - 166, - 85, - 159, - 120, - 60, - 135, - 73, - 79 + 207, + 209, + 234, + 389, + 339, + 133, + 277, + 244, + 276, + 238, + 279, + 280, + 224, + 101, + 203, + 155, + 75, + 179, + 89, + 95 ] } ], @@ -4210,529 +10037,1337 @@ "sourceFileName": "../../../packages/types/src/stock-location/service.ts", "qualifiedName": "context" }, - "37": { + "43": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "IModuleService" }, - "45": { + "57": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "FilterableStockLocationProps" }, - "46": { + "58": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", - "qualifiedName": "__type.q" + "qualifiedName": "FilterableStockLocationProps.q" }, - "47": { + "59": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", - "qualifiedName": "__type.id" + "qualifiedName": "FilterableStockLocationProps.id" }, - "48": { + "60": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", - "qualifiedName": "__type.name" + "qualifiedName": "FilterableStockLocationProps.name" + }, + "61": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" + }, + "62": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "49": { + "63": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig" }, - "50": { + "64": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.select" }, - "51": { + "65": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.skip" }, - "52": { + "66": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.take" }, - "53": { + "67": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.relations" }, - "54": { + "68": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.order" }, - "55": { + "69": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "__type" }, - "56": { + "70": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "__type.__index" }, - "58": { + "72": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.withDeleted" }, - "59": { + "73": { + "sourceFileName": "../../../packages/types/src/common/common.ts", + "qualifiedName": "FindConfig.filters" + }, + "74": { "sourceFileName": "../../../packages/types/src/common/common.ts", "qualifiedName": "FindConfig.Entity" }, - "60": { + "75": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "StockLocationDTO" }, - "61": { + "76": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type" }, - "62": { + "77": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.id" }, - "63": { + "78": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.name" }, - "64": { + "79": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.metadata" }, - "65": { + "80": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.address_id" }, - "66": { + "81": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.address" }, - "67": { + "82": { + "sourceFileName": "../../../packages/types/src/stock-location/common.ts", + "qualifiedName": "__type.fulfillment_sets" + }, + "83": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.created_at" }, - "68": { + "84": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.updated_at" }, - "69": { + "85": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.deleted_at" }, - "70": { + "86": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "SharedContext" }, - "71": { + "87": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.transactionManager" }, - "72": { + "88": { "sourceFileName": "../../../packages/types/src/shared-context.ts", "qualifiedName": "__type.manager" }, - "73": { + "89": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "CreateStockLocationInput" }, - "74": { + "90": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type" }, - "75": { + "91": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.name" }, - "76": { + "92": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.address_id" }, - "77": { + "93": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.address" }, - "78": { + "94": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.metadata" }, - "79": { + "95": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "UpdateStockLocationInput" }, - "80": { + "96": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type" }, - "81": { + "97": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.name" }, - "82": { + "98": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.address_id" }, - "83": { + "99": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.address" }, - "84": { + "100": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.metadata" }, - "85": { + "101": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "ModuleJoinerConfig" }, - "86": { + "102": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "87": { + "103": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.schema" }, - "88": { + "104": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.relationships" }, - "89": { + "105": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.extends" }, - "90": { + "106": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "91": { + "107": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.serviceName" }, - "92": { + "108": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.fieldAlias" }, - "93": { + "109": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "94": { + "110": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.path" }, - "95": { + "111": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.forwardArgumentsOnPath" }, - "96": { + "112": { + "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", + "qualifiedName": "__type.isList" + }, + "113": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.relationship" }, - "97": { + "114": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.serviceName" }, - "98": { + "115": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.primaryKeys" }, - "99": { + "116": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.isLink" }, - "100": { + "117": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.linkableKeys" }, - "101": { + "118": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.isReadOnlyLink" }, - "102": { + "119": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.databaseConfig" }, - "103": { + "120": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "104": { + "121": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.tableName" }, - "105": { + "122": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.idPrefix" }, - "106": { + "123": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.extraFields" }, - "107": { + "124": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "108": { + "125": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.type" }, - "109": { + "126": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.defaultValue" }, - "110": { + "127": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.nullable" }, - "111": { + "128": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.options" }, - "112": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "StringComparisonOperator" + "129": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable" }, - "113": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "StringComparisonOperator.lt" + "130": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$and" }, - "114": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "StringComparisonOperator.gt" + "131": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.$or" }, - "115": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "StringComparisonOperator.gte" + "132": { + "sourceFileName": "../../../packages/types/src/dal/index.ts", + "qualifiedName": "BaseFilterable.T" }, - "116": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "StringComparisonOperator.lte" + "133": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "OperatorMap" }, - "117": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "StringComparisonOperator.contains" + "134": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" }, - "118": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "StringComparisonOperator.starts_with" + "135": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$and" }, - "119": { - "sourceFileName": "../../../packages/types/src/common/common.ts", - "qualifiedName": "StringComparisonOperator.ends_with" + "136": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$or" }, - "120": { + "137": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$eq" + }, + "138": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$ne" + }, + "139": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$in" + }, + "140": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$nin" + }, + "141": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$not" + }, + "142": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$gt" + }, + "143": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$gte" + }, + "144": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$lt" + }, + "145": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$lte" + }, + "146": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$like" + }, + "147": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$re" + }, + "148": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$ilike" + }, + "149": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$fulltext" + }, + "150": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$overlap" + }, + "151": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$contains" + }, + "152": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$contained" + }, + "153": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.$exists" + }, + "154": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "T" + }, + "155": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "StockLocationAddressDTO" }, - "121": { + "156": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type" }, - "122": { + "157": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.id" }, - "123": { + "158": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.address_1" }, - "124": { + "159": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.address_2" }, - "125": { + "160": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.company" }, - "126": { + "161": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.country_code" }, - "127": { + "162": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.city" }, - "128": { + "163": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.phone" }, - "129": { + "164": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.postal_code" }, - "130": { + "165": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.province" }, - "131": { + "166": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.metadata" }, - "132": { + "167": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.created_at" }, - "133": { + "168": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.updated_at" }, - "134": { + "169": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.deleted_at" }, - "135": { + "170": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO" + }, + "171": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.id" + }, + "172": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.name" + }, + "173": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.type" + }, + "174": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.metadata" + }, + "175": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.service_zones" + }, + "176": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.created_at" + }, + "177": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.updated_at" + }, + "178": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-set.ts", + "qualifiedName": "FulfillmentSetDTO.deleted_at" + }, + "179": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "StockLocationAddressInput" }, - "136": { + "180": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type" }, - "137": { + "181": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.address_1" }, - "138": { + "182": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.address_2" }, - "139": { + "183": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.country_code" }, - "140": { + "184": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.city" }, - "141": { + "185": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.phone" }, - "142": { + "186": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.province" }, - "143": { + "187": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.postal_code" }, - "144": { + "188": { "sourceFileName": "../../../packages/types/src/stock-location/common.ts", "qualifiedName": "__type.metadata" }, - "145": { + "189": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig" }, - "146": { + "190": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.serviceName" }, - "147": { + "191": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.alias" }, - "148": { + "192": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.fieldAlias" }, - "149": { + "193": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type" }, - "150": { + "194": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.path" }, - "151": { + "195": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.forwardArgumentsOnPath" }, - "152": { + "196": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.primaryKeys" }, - "153": { + "197": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.relationships" }, - "154": { + "198": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.extends" }, - "155": { + "199": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type" }, - "156": { + "200": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.serviceName" }, - "157": { + "201": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.relationship" }, - "158": { + "202": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfig.args" }, - "159": { + "203": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "ModuleJoinerRelationship" }, - "160": { + "204": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type" }, - "161": { + "205": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.isInternalService" }, - "162": { + "206": { "sourceFileName": "../../../packages/types/src/modules-sdk/index.ts", "qualifiedName": "__type.deleteCascade" }, - "163": { + "207": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Query" + }, + "208": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "T" + }, + "209": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "ExpandScalar" + }, + "210": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "T" + }, + "211": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO" + }, + "212": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.id" + }, + "213": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.name" + }, + "214": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.metadata" + }, + "215": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.fulfillment_sets" + }, + "216": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.geo_zones" + }, + "217": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.shipping_options" + }, + "218": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.created_at" + }, + "219": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.updated_at" + }, + "220": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/service-zone.ts", + "qualifiedName": "ServiceZoneDTO.deleted_at" + }, + "221": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfigAlias" }, - "164": { + "222": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfigAlias.name" }, - "165": { + "223": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerServiceConfigAlias.args" }, - "166": { + "224": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "JoinerRelationship" }, - "167": { + "225": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type" }, - "168": { + "226": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.alias" }, - "169": { + "227": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.foreignKey" }, - "170": { + "228": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.primaryKey" }, - "171": { + "229": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.serviceName" }, - "172": { + "230": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.isInternalService" }, - "173": { + "231": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.inverse" }, - "174": { + "232": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.isList" }, - "175": { + "233": { "sourceFileName": "../../../packages/types/src/joiner/index.ts", "qualifiedName": "__type.args" + }, + "234": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Scalar" + }, + "235": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "236": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.toHexString" + }, + "237": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.toHexString" + }, + "238": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "FilterQuery" + }, + "239": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "240": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.__index" + }, + "242": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "T" + }, + "243": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Prev" + }, + "244": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "FilterValue" + }, + "245": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "T" + }, + "246": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO" + }, + "247": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.id" + }, + "248": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.type" + }, + "249": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.country_code" + }, + "250": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.province_code" + }, + "251": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.city" + }, + "252": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.postal_expression" + }, + "253": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.metadata" + }, + "254": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.created_at" + }, + "255": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.updated_at" + }, + "256": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneDTO.deleted_at" + }, + "257": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO" + }, + "258": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.id" + }, + "259": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.name" + }, + "260": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.price_type" + }, + "261": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.service_zone_id" + }, + "262": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.shipping_profile_id" + }, + "263": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.provider_id" + }, + "264": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.shipping_option_type_id" + }, + "265": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.data" + }, + "266": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.metadata" + }, + "267": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.service_zone" + }, + "268": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.shipping_profile" + }, + "269": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.fulfillment_provider" + }, + "270": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.type" + }, + "271": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.rules" + }, + "272": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.fulfillments" + }, + "273": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.created_at" + }, + "274": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.updated_at" + }, + "275": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionDTO.deleted_at" + }, + "276": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "PrevLimit" + }, + "277": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "FilterValue2" + }, + "278": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "T" + }, + "279": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/geo-zone.ts", + "qualifiedName": "GeoZoneType" + }, + "280": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option.ts", + "qualifiedName": "ShippingOptionPriceType" + }, + "281": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO" + }, + "282": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.id" + }, + "283": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.name" + }, + "284": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.type" + }, + "285": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.metadata" + }, + "286": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.shipping_options" + }, + "287": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.created_at" + }, + "288": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.updated_at" + }, + "289": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-profile.ts", + "qualifiedName": "ShippingProfileDTO.deleted_at" + }, + "290": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO" + }, + "291": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.id" + }, + "292": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.name" + }, + "293": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.metadata" + }, + "294": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.shipping_options" + }, + "295": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.created_at" + }, + "296": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.updated_at" + }, + "297": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-provider.ts", + "qualifiedName": "FulfillmentProviderDTO.deleted_at" + }, + "298": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO" + }, + "299": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.id" + }, + "300": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.label" + }, + "301": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.description" + }, + "302": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.code" + }, + "303": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.shipping_option_id" + }, + "304": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.shipping_option" + }, + "305": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.created_at" + }, + "306": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.updated_at" + }, + "307": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-type.ts", + "qualifiedName": "ShippingOptionTypeDTO.deleted_at" + }, + "308": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO" + }, + "309": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.id" + }, + "310": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.attribute" + }, + "311": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.operator" + }, + "312": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.value" + }, + "313": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "__type" + }, + "314": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "__type.value" + }, + "315": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.shipping_option_id" + }, + "316": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.shipping_option" + }, + "317": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.created_at" + }, + "318": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.updated_at" + }, + "319": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/shipping-option-rule.ts", + "qualifiedName": "ShippingOptionRuleDTO.deleted_at" + }, + "320": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO" + }, + "321": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.id" + }, + "322": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.location_id" + }, + "323": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.packed_at" + }, + "324": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.shipped_at" + }, + "325": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.delivered_at" + }, + "326": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.canceled_at" + }, + "327": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.data" + }, + "328": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.provider_id" + }, + "329": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.shipping_option_id" + }, + "330": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.metadata" + }, + "331": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.shipping_option" + }, + "332": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.provider" + }, + "333": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.delivery_address" + }, + "334": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.items" + }, + "335": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.labels" + }, + "336": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.created_at" + }, + "337": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.updated_at" + }, + "338": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment.ts", + "qualifiedName": "FulfillmentDTO.deleted_at" + }, + "339": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "Primary" + }, + "340": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "341": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.[PrimaryKeyType]" + }, + "342": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "343": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type._id" + }, + "344": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "345": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.uuid" + }, + "346": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type" + }, + "347": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "__type.id" + }, + "348": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "T" + }, + "349": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO" + }, + "350": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.id" + }, + "351": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.fulfillment_id" + }, + "352": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.company" + }, + "353": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.first_name" + }, + "354": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.last_name" + }, + "355": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.address_1" + }, + "356": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.address_2" + }, + "357": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.city" + }, + "358": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.country_code" + }, + "359": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.province" + }, + "360": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.postal_code" + }, + "361": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.phone" + }, + "362": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.metadata" + }, + "363": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.created_at" + }, + "364": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.updated_at" + }, + "365": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/address.ts", + "qualifiedName": "FulfillmentAddressDTO.deleted_at" + }, + "366": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO" + }, + "367": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.id" + }, + "368": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.title" + }, + "369": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.quantity" + }, + "370": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.sku" + }, + "371": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.barcode" + }, + "372": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.line_item_id" + }, + "373": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.inventory_item_id" + }, + "374": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.fulfillment_id" + }, + "375": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.fulfillment" + }, + "376": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.created_at" + }, + "377": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.updated_at" + }, + "378": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-item.ts", + "qualifiedName": "FulfillmentItemDTO.deleted_at" + }, + "379": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO" + }, + "380": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.id" + }, + "381": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.tracking_number" + }, + "382": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.tracking_url" + }, + "383": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.label_url" + }, + "384": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.fulfillment_id" + }, + "385": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.fulfillment" + }, + "386": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.created_at" + }, + "387": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.updated_at" + }, + "388": { + "sourceFileName": "../../../packages/types/src/fulfillment/common/fulfillment-label.ts", + "qualifiedName": "FulfillmentLabelDTO.deleted_at" + }, + "389": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "ReadonlyPrimary" + }, + "390": { + "sourceFileName": "../../../packages/types/src/dal/utils.ts", + "qualifiedName": "T" } } } \ No newline at end of file diff --git a/docs-util/typedoc-json-output/tax-calculation.json b/docs-util/typedoc-json-output/tax-calculation.json index 4738afc2d65b8..0334e2dead64f 100644 --- a/docs-util/typedoc-json-output/tax-calculation.json +++ b/docs-util/typedoc-json-output/tax-calculation.json @@ -77,7 +77,7 @@ "summary": [ { "kind": "text", - "text": "This method calculates the tax amount for a given set of line items under applicable\ntax conditions and calculation contexts.\n\nThis method is used whenever taxes are calculated. If automatic tax calculation is disabled in a region,\nthen it's only triggered when taxes are calculated manually as explained in\n[this guide](https://docs.medusajs.com/modules/taxes/storefront/manual-calculation)." + "text": "This method calculates the tax amount for a given set of line items under applicable\ntax conditions and calculation contexts.\n\nThis method is used whenever taxes are calculated. If automatic tax calculation is disabled in a region,\nthen it's only triggered when taxes are calculated manually as explained in\n[this guide](https://docs.medusajs.com/v1/modules/taxes/storefront/manual-calculation)." } ], "blockTags": [ @@ -155,19 +155,19 @@ { "type": "reference", "target": { - "sourceFileName": "../../../packages/medusa/src/models/line-item-tax-line.ts", - "qualifiedName": "LineItemTaxLine" + "sourceFileName": "../../../packages/medusa/src/models/shipping-method-tax-line.ts", + "qualifiedName": "ShippingMethodTaxLine" }, - "name": "LineItemTaxLine", + "name": "ShippingMethodTaxLine", "package": "@medusajs/medusa" }, { "type": "reference", "target": { - "sourceFileName": "../../../packages/medusa/src/models/shipping-method-tax-line.ts", - "qualifiedName": "ShippingMethodTaxLine" + "sourceFileName": "../../../packages/medusa/src/models/line-item-tax-line.ts", + "qualifiedName": "LineItemTaxLine" }, - "name": "ShippingMethodTaxLine", + "name": "LineItemTaxLine", "package": "@medusajs/medusa" } ] @@ -486,7 +486,7 @@ "summary": [ { "kind": "text", - "text": "This method calculates the tax amount for a given set of line items under applicable\ntax conditions and calculation contexts.\n\nThis method is used whenever taxes are calculated. If automatic tax calculation is disabled in a region,\nthen it's only triggered when taxes are calculated manually as explained in\n[this guide](https://docs.medusajs.com/modules/taxes/storefront/manual-calculation)." + "text": "This method calculates the tax amount for a given set of line items under applicable\ntax conditions and calculation contexts.\n\nThis method is used whenever taxes are calculated. If automatic tax calculation is disabled in a region,\nthen it's only triggered when taxes are calculated manually as explained in\n[this guide](https://docs.medusajs.com/v1/modules/taxes/storefront/manual-calculation)." } ], "blockTags": [ @@ -564,19 +564,19 @@ { "type": "reference", "target": { - "sourceFileName": "../../../packages/medusa/src/models/line-item-tax-line.ts", - "qualifiedName": "LineItemTaxLine" + "sourceFileName": "../../../packages/medusa/src/models/shipping-method-tax-line.ts", + "qualifiedName": "ShippingMethodTaxLine" }, - "name": "LineItemTaxLine", + "name": "ShippingMethodTaxLine", "package": "@medusajs/medusa" }, { "type": "reference", "target": { - "sourceFileName": "../../../packages/medusa/src/models/shipping-method-tax-line.ts", - "qualifiedName": "ShippingMethodTaxLine" + "sourceFileName": "../../../packages/medusa/src/models/line-item-tax-line.ts", + "qualifiedName": "LineItemTaxLine" }, - "name": "ShippingMethodTaxLine", + "name": "LineItemTaxLine", "package": "@medusajs/medusa" } ] diff --git a/docs-util/typedoc-json-output/tax.json b/docs-util/typedoc-json-output/tax.json index 8878372d23fa9..e16e1c2b8154a 100644 --- a/docs-util/typedoc-json-output/tax.json +++ b/docs-util/typedoc-json-output/tax.json @@ -468,7 +468,7 @@ }, { "kind": "text", - "text": " property in the tax provider service is used when the tax provider is added to the database.\n\nThe value of this property is also used to reference the tax provider throughout Medusa. For example, it is used to [change the tax provider](https://docs.medusajs.com/modules/taxes/admin/manage-tax-settings#change-tax-provider-of-a-region) to a region.\n\n" + "text": " property in the tax provider service is used when the tax provider is added to the database.\n\nThe value of this property is also used to reference the tax provider throughout Medusa. For example, it is used to [change the tax provider](https://docs.medusajs.com/v1/modules/taxes/admin/manage-tax-settings#change-tax-provider-of-a-region) to a region.\n\n" }, { "kind": "code", diff --git a/docs-util/typedoc-json-output/workflows.json b/docs-util/typedoc-json-output/workflows.json index 3962bab641d4d..a1bfd5b2d9517 100644 --- a/docs-util/typedoc-json-output/workflows.json +++ b/docs-util/typedoc-json-output/workflows.json @@ -628,6 +628,10 @@ { "type": "literal", "value": "registerStepFailure" + }, + { + "type": "literal", + "value": "cancel" } ] } @@ -1217,7 +1221,7 @@ "flags": {}, "type": { "type": "reference", - "target": 161, + "target": 173, "typeArguments": [ { "type": "reference", @@ -1241,7 +1245,7 @@ }, { "type": "reference", - "target": 161, + "target": 173, "typeArguments": [ { "type": "reference", @@ -1279,7 +1283,7 @@ "types": [ { "type": "reference", - "target": 156, + "target": 168, "typeArguments": [ { "type": "indexedAccess", @@ -1307,7 +1311,7 @@ }, { "type": "reference", - "target": 161, + "target": 173, "typeArguments": [ { "type": "indexedAccess", @@ -1410,7 +1414,7 @@ }, "type": { "type": "intrinsic", - "name": "symbol" + "name": "string" }, "defaultValue": "OrchestrationUtils.SymbolWorkflowStepResponse" }, @@ -1641,7 +1645,7 @@ "content": [ { "kind": "code", - "text": "```ts\nimport { Product } from \"@medusajs/medusa\"\nimport {\n createStep,\n StepResponse,\n createWorkflow\n} from \"@medusajs/workflows-sdk\"\n\ninterface CreateProductInput {\n title: string\n}\n\nexport const createProductStep = createStep(\n \"createProductStep\",\n async function (\n input: CreateProductInput,\n context\n ) {\n const productService = context.container.resolve(\n \"productService\"\n )\n \n try {\n const product = await productService.create(input)\n return new StepResponse({\n product\n }, {\n product_id: product.id\n })\n } catch (e) {\n return StepResponse.permanentFailure(`Couldn't create the product: ${e}`)\n }\n }\n)\n\ninterface WorkflowInput {\n title: string\n}\n\nconst myWorkflow = createWorkflow<\n WorkflowInput,\n Product\n >(\"my-workflow\", (input) => {\n // Everything here will be executed and resolved later\n // during the execution. Including the data access.\n\n const product = createProductStep(input)\n }\n)\n\nmyWorkflow()\n .run({\n input: {\n title: \"Shirt\"\n }\n })\n .then(({ errors, result }) => {\n if (errors.length) {\n errors.forEach((err) => {\n if (typeof err.error === \"object\" && \"message\" in err.error) {\n console.error(err.error.message)\n } else {\n console.error(err.error)\n }\n })\n }\n console.log(result)\n })\n```" + "text": "```ts\nimport { Product } from \"@medusajs/medusa\"\nimport {\n createStep,\n StepResponse,\n createWorkflow\n} from \"@medusajs/workflows-sdk\"\n\ninterface CreateProductInput {\n title: string\n}\n\nexport const createProductStep = createStep(\n \"createProductStep\",\n async function (\n input: CreateProductInput,\n context\n ) {\n const productService = context.container.resolve(\n \"productService\"\n )\n\n try {\n const product = await productService.create(input)\n return new StepResponse({\n product\n }, {\n product_id: product.id\n })\n } catch (e) {\n return StepResponse.permanentFailure(`Couldn't create the product: ${e}`)\n }\n }\n)\n\ninterface WorkflowInput {\n title: string\n}\n\nconst myWorkflow = createWorkflow<\n WorkflowInput,\n Product\n >(\"my-workflow\", (input) => {\n // Everything here will be executed and resolved later\n // during the execution. Including the data access.\n\n const product = createProductStep(input)\n }\n)\n\nmyWorkflow()\n .run({\n input: {\n title: \"Shirt\"\n }\n })\n .then(({ errors, result }) => {\n if (errors.length) {\n errors.forEach((err) => {\n if (typeof err.error === \"object\" && \"message\" in err.error) {\n console.error(err.error.message)\n } else {\n console.error(err.error)\n }\n })\n }\n console.log(result)\n })\n```" } ] } @@ -1816,7 +1820,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 161, + "target": 173, "name": "WorkflowData", "package": "@medusajs/workflows-sdk" } @@ -1934,7 +1938,7 @@ }, { "type": "reference", - "target": 161, + "target": 173, "name": "WorkflowData", "package": "@medusajs/workflows-sdk" } @@ -2030,7 +2034,7 @@ ], "type": { "type": "reference", - "target": 161, + "target": 173, "typeArguments": [ { "type": "reference", @@ -2105,7 +2109,7 @@ "flags": {}, "type": { "type": "reference", - "target": 169, + "target": 181, "name": "CreateWorkflowComposerContext", "package": "@medusajs/workflows-sdk" } @@ -2113,42 +2117,14 @@ ], "type": { "type": "reference", - "target": 161, + "target": 173, "typeArguments": [ { - "type": "mapped", - "parameter": "K", - "parameterType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "target": 147, - "name": "TOutput", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true - } - }, - "templateType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "K" - }, - "name": "K", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 147, - "name": "TOutput", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true - } - } + "type": "reference", + "target": 147, + "name": "TOutput", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true } ], "name": "WorkflowData", @@ -2175,7 +2151,7 @@ }, "typeParameters": [ { - "id": 154, + "id": 166, "name": "TInput", "variant": "typeParam", "kind": 131072, @@ -2190,7 +2166,7 @@ } }, { - "id": 155, + "id": 167, "name": "TOutput", "variant": "typeParam", "kind": 131072, @@ -2215,15 +2191,22 @@ { "type": "conditional", "checkType": { - "type": "typeOperator", - "operator": "keyof", + "type": "reference", "target": { - "type": "reference", - "target": 154, - "name": "TInput", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true - } + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "KeysOfUnion" + }, + "typeArguments": [ + { + "type": "reference", + "target": 166, + "name": "TInput", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + } + ], + "name": "KeysOfUnion", + "package": "@medusajs/workflows-sdk" }, "extendsType": { "type": "tuple" @@ -2244,53 +2227,356 @@ "kind": 4096, "flags": {}, "type": { - "type": "reference", - "target": 161, - "typeArguments": [ + "type": "intersection", + "types": [ { - "type": "mapped", - "parameter": "K", - "parameterType": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "symbol" - } - ] + "type": "conditional", + "checkType": { + "type": "reference", + "target": 167, + "name": "TOutput", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true }, - "templateType": { - "type": "indexedAccess", - "indexType": { + "extendsType": { + "type": "array", + "elementType": { "type": "reference", "target": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "K" + "qualifiedName": "Item" }, - "name": "K", + "name": "Item", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + } + }, + "trueType": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "Item" + }, + "name": "Item", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 173, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "Item" + }, + "name": "Item", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + } + ], + "name": "WorkflowData", + "package": "@medusajs/workflows-sdk" + } + ] + } + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 167, + "name": "TOutput", "package": "@medusajs/workflows-sdk", "refersToTypeParameter": true }, - "objectType": { + "extendsType": { + "type": "intrinsic", + "name": "object" + }, + "trueType": { + "type": "mapped", + "parameter": "Key", + "parameterType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "symbol" + } + ] + }, + "templateType": { + "type": "union", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": -1, + "name": "TOutput", + "refersToTypeParameter": true + } + }, + { + "type": "reference", + "target": 173, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": -1, + "name": "TOutput", + "refersToTypeParameter": true + } + } + ], + "name": "WorkflowData", + "package": "@medusajs/workflows-sdk" + } + ] + } + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 167, + "name": "TOutput", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 168, + "typeArguments": [ + { + "type": "reference", + "target": 167, + "name": "TOutput", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + } + ], + "name": "WorkflowDataProperties", + "package": "@medusajs/workflows-sdk" + } + ] + } + } + }, + { + "type": "reference", + "target": 167, + "name": "TOutput", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 168, + "typeArguments": [ + { "type": "reference", - "target": 155, + "target": 167, "name": "TOutput", "package": "@medusajs/workflows-sdk", "refersToTypeParameter": true } + ], + "name": "WorkflowDataProperties", + "package": "@medusajs/workflows-sdk" + }, + { + "type": "reflection", + "declaration": { + "id": 151, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 152, + "name": "config", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 153, + "name": "config", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 154, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 155, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 156, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 156 + ] + } + ] + } + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/orchestration/dist/transaction/types.d.ts", + "qualifiedName": "TransactionStepsDefinition" + }, + "name": "TransactionStepsDefinition", + "package": "@medusajs/orchestration" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "next" + }, + { + "type": "literal", + "value": "uuid" + }, + { + "type": "literal", + "value": "action" + } + ] + } + ], + "name": "Omit", + "package": "typescript" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": 173, + "typeArguments": [ + { + "type": "reference", + "target": 167, + "name": "TOutput", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + } + ], + "name": "WorkflowData", + "package": "@medusajs/workflows-sdk" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 152 + ] + } + ] } + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "StepFunctionReturnConfig" + }, + "typeArguments": [ + { + "type": "reference", + "target": 167, + "name": "TOutput", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + } + ], + "name": "StepFunctionReturnConfig", + "package": "@medusajs/workflows-sdk" } - ], - "name": "WorkflowData", - "package": "@medusajs/workflows-sdk" + ] } } ] @@ -2299,102 +2585,107 @@ "falseType": { "type": "reflection", "declaration": { - "id": 151, + "id": 157, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 152, + "id": 158, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 153, + "id": 159, "name": "input", "variant": "param", "kind": 32768, "flags": {}, "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 166, + "name": "TInput", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 173, + "typeArguments": [ + { + "type": "reference", + "target": 166, + "name": "TInput", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + } + ], + "name": "WorkflowData", + "package": "@medusajs/workflows-sdk" + } + ] + } + } + ], + "type": { + "type": "intersection", + "types": [ + { "type": "conditional", "checkType": { "type": "reference", - "target": 154, - "name": "TInput", + "target": 167, + "name": "TOutput", "package": "@medusajs/workflows-sdk", "refersToTypeParameter": true }, "extendsType": { - "type": "intrinsic", - "name": "object" + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "Item" + }, + "name": "Item", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + } }, "trueType": { - "type": "mapped", - "parameter": "K", - "parameterType": { + "type": "array", + "elementType": { "type": "union", "types": [ { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "symbol" - } - ] - }, - "templateType": { - "type": "union", - "types": [ - { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "K" - }, - "name": "K", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": -1, - "name": "TInput", - "refersToTypeParameter": true - } + "type": "reference", + "target": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "Item" + }, + "name": "Item", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true }, { "type": "reference", - "target": 161, + "target": 173, "typeArguments": [ { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "K" - }, - "name": "K", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true + "type": "reference", + "target": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "Item" }, - "objectType": { - "type": "reference", - "target": -1, - "name": "TInput", - "refersToTypeParameter": true - } + "name": "Item", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true } ], "name": "WorkflowData", @@ -2404,83 +2695,295 @@ } }, "falseType": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 154, - "name": "TInput", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true + "type": "conditional", + "checkType": { + "type": "reference", + "target": 167, + "name": "TOutput", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "object" + }, + "trueType": { + "type": "mapped", + "parameter": "Key", + "parameterType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "symbol" + } + ] }, - { - "type": "reference", - "target": 161, - "typeArguments": [ + "templateType": { + "type": "union", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": -1, + "name": "TOutput", + "refersToTypeParameter": true + } + }, { "type": "reference", - "target": 154, - "name": "TInput", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true + "target": 173, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": -1, + "name": "TOutput", + "refersToTypeParameter": true + } + } + ], + "name": "WorkflowData", + "package": "@medusajs/workflows-sdk" } - ], - "name": "WorkflowData", - "package": "@medusajs/workflows-sdk" + ] } - ] + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 167, + "name": "TOutput", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 168, + "typeArguments": [ + { + "type": "reference", + "target": 167, + "name": "TOutput", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + } + ], + "name": "WorkflowDataProperties", + "package": "@medusajs/workflows-sdk" + } + ] + } } - } - } - ], - "type": { - "type": "reference", - "target": 161, - "typeArguments": [ + }, { - "type": "mapped", - "parameter": "K", - "parameterType": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, + "type": "reference", + "target": 167, + "name": "TOutput", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 168, + "typeArguments": [ + { + "type": "reference", + "target": 167, + "name": "TOutput", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + } + ], + "name": "WorkflowDataProperties", + "package": "@medusajs/workflows-sdk" + }, + { + "type": "reflection", + "declaration": { + "id": 160, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ { - "type": "intrinsic", - "name": "number" - }, + "id": 161, + "name": "config", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "signatures": [ + { + "id": 162, + "name": "config", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 163, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 164, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 165, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 165 + ] + } + ] + } + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/orchestration/dist/transaction/types.d.ts", + "qualifiedName": "TransactionStepsDefinition" + }, + "name": "TransactionStepsDefinition", + "package": "@medusajs/orchestration" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "next" + }, + { + "type": "literal", + "value": "uuid" + }, + { + "type": "literal", + "value": "action" + } + ] + } + ], + "name": "Omit", + "package": "typescript" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": 173, + "typeArguments": [ + { + "type": "reference", + "target": 167, + "name": "TOutput", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + } + ], + "name": "WorkflowData", + "package": "@medusajs/workflows-sdk" + } + } + ] + } + ], + "groups": [ { - "type": "intrinsic", - "name": "symbol" + "title": "Methods", + "children": [ + 161 + ] } ] + } + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "StepFunctionReturnConfig" }, - "templateType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "K" - }, - "name": "K", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true - }, - "objectType": { + "typeArguments": [ + { "type": "reference", - "target": 155, + "target": 167, "name": "TOutput", "package": "@medusajs/workflows-sdk", "refersToTypeParameter": true } - } + ], + "name": "StepFunctionReturnConfig", + "package": "@medusajs/workflows-sdk" } - ], - "name": "WorkflowData", - "package": "@medusajs/workflows-sdk" + ] } } ] @@ -2489,85 +2992,14 @@ }, { "type": "reference", - "target": 156, - "typeArguments": [ - { - "type": "mapped", - "parameter": "K", - "parameterType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "target": 155, - "name": "TOutput", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true - } - }, - "templateType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "K" - }, - "name": "K", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 155, - "name": "TOutput", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true - } - } - } - ], - "name": "WorkflowDataProperties", - "package": "@medusajs/workflows-sdk" - }, - { - "type": "reference", - "target": 156, + "target": 168, "typeArguments": [ { - "type": "mapped", - "parameter": "K", - "parameterType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "target": 155, - "name": "TOutput", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true - } - }, - "templateType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "K" - }, - "name": "K", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 155, - "name": "TOutput", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true - } - } + "type": "reference", + "target": 167, + "name": "TOutput", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true } ], "name": "WorkflowDataProperties", @@ -2577,14 +3009,14 @@ } }, { - "id": 156, + "id": 168, "name": "WorkflowDataProperties", "variant": "declaration", "kind": 2097152, "flags": {}, "typeParameters": [ { - "id": 160, + "id": 172, "name": "T", "variant": "typeParam", "kind": 131072, @@ -2598,30 +3030,25 @@ "type": { "type": "reflection", "declaration": { - "id": 157, + "id": 169, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 158, + "id": 170, "name": "__type", "variant": "declaration", "kind": 1024, "flags": {}, "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Symbol" - }, - "name": "Symbol", - "package": "typescript" + "type": "intrinsic", + "name": "string" } }, { - "id": 159, + "id": 171, "name": "__step__", "variant": "declaration", "kind": 1024, @@ -2636,8 +3063,8 @@ { "title": "Properties", "children": [ - 158, - 159 + 170, + 171 ] } ] @@ -2645,7 +3072,7 @@ } }, { - "id": 161, + "id": 173, "name": "WorkflowData", "variant": "declaration", "kind": 2097152, @@ -2660,7 +3087,7 @@ }, "typeParameters": [ { - "id": 168, + "id": 180, "name": "T", "variant": "typeParam", "kind": 131072, @@ -2686,81 +3113,178 @@ "type": "conditional", "checkType": { "type": "reference", - "target": 168, + "target": 180, "name": "T", "package": "@medusajs/workflows-sdk", "refersToTypeParameter": true }, "extendsType": { - "type": "intrinsic", - "name": "object" + "type": "array", + "elementType": { + "type": "inferred", + "name": "Item" + } }, "trueType": { - "type": "mapped", - "parameter": "Key", - "parameterType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "target": 168, - "name": "T", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true - } - }, - "templateType": { - "type": "reference", - "target": 161, - "typeArguments": [ + "type": "array", + "elementType": { + "type": "union", + "types": [ { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "Key" - }, - "name": "Key", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true + "type": "reference", + "target": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "Item" }, - "objectType": { - "type": "reference", - "target": 168, - "name": "T", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true - } + "name": "Item", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 173, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "Item" + }, + "name": "Item", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + } + ], + "name": "WorkflowData", + "package": "@medusajs/workflows-sdk" } - ], - "name": "WorkflowData", - "package": "@medusajs/workflows-sdk" + ] } }, "falseType": { - "type": "reference", - "target": 156, - "typeArguments": [ - { - "type": "reference", - "target": 168, - "name": "T", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true + "type": "conditional", + "checkType": { + "type": "reference", + "target": 180, + "name": "T", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "object" + }, + "trueType": { + "type": "mapped", + "parameter": "Key", + "parameterType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 180, + "name": "T", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + } + }, + "templateType": { + "type": "union", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 180, + "name": "T", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + } + }, + { + "type": "reference", + "target": 173, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "Key" + }, + "name": "Key", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 180, + "name": "T", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + } + } + ], + "name": "WorkflowData", + "package": "@medusajs/workflows-sdk" + } + ] } - ], - "name": "WorkflowDataProperties", - "package": "@medusajs/workflows-sdk" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 180, + "name": "T", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 168, + "typeArguments": [ + { + "type": "reference", + "target": 180, + "name": "T", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + } + ], + "name": "WorkflowDataProperties", + "package": "@medusajs/workflows-sdk" + } + ] + } } }, { "type": "reference", - "target": 156, + "target": 180, + "name": "T", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 168, "typeArguments": [ { "type": "reference", - "target": 168, + "target": 180, "name": "T", "package": "@medusajs/workflows-sdk", "refersToTypeParameter": true @@ -2772,28 +3296,28 @@ { "type": "reflection", "declaration": { - "id": 162, + "id": 174, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 163, + "id": 175, "name": "config", "variant": "declaration", "kind": 2048, "flags": {}, "signatures": [ { - "id": 164, + "id": 176, "name": "config", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 165, + "id": 177, "name": "config", "variant": "param", "kind": 32768, @@ -2804,14 +3328,14 @@ { "type": "reflection", "declaration": { - "id": 166, + "id": 178, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 167, + "id": 179, "name": "name", "variant": "declaration", "kind": 1024, @@ -2828,7 +3352,7 @@ { "title": "Properties", "children": [ - 167 + 179 ] } ] @@ -2865,103 +3389,30 @@ "type": "literal", "value": "action" } - ] - } - ], - "name": "Omit", - "package": "typescript" - } - ] - } - } - ], - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": 168, - "name": "T", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "intrinsic", - "name": "object" - }, - "trueType": { - "type": "reference", - "target": 161, - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "target": -1, - "name": "T", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "intrinsic", - "name": "object" - }, - "trueType": { - "type": "mapped", - "parameter": "K", - "parameterType": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "symbol" - } - ] - }, - "templateType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": { - "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "K" - }, - "name": "K", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": -1, - "name": "T", - "refersToTypeParameter": true - } - } - }, - "falseType": { - "type": "reference", - "target": -1, - "name": "T", - "refersToTypeParameter": true + ] + } + ], + "name": "Omit", + "package": "typescript" } - } - ], - "name": "WorkflowData", - "package": "@medusajs/workflows-sdk" - }, - "falseType": { - "type": "reference", - "target": 168, - "name": "T", - "package": "@medusajs/workflows-sdk", - "refersToTypeParameter": true + ] + } } + ], + "type": { + "type": "reference", + "target": 173, + "typeArguments": [ + { + "type": "reference", + "target": 180, + "name": "T", + "package": "@medusajs/workflows-sdk", + "refersToTypeParameter": true + } + ], + "name": "WorkflowData", + "package": "@medusajs/workflows-sdk" } } ] @@ -2971,7 +3422,7 @@ { "title": "Methods", "children": [ - 163 + 175 ] } ] @@ -2981,7 +3432,7 @@ } }, { - "id": 169, + "id": 181, "name": "CreateWorkflowComposerContext", "variant": "declaration", "kind": 2097152, @@ -2989,14 +3440,14 @@ "type": { "type": "reflection", "declaration": { - "id": 170, + "id": 182, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 171, + "id": 183, "name": "hooks_", "variant": "declaration", "kind": 1024, @@ -3010,7 +3461,7 @@ } }, { - "id": 172, + "id": 184, "name": "hooksCallback_", "variant": "declaration", "kind": 1024, @@ -3044,7 +3495,7 @@ } }, { - "id": 173, + "id": 185, "name": "workflowId", "variant": "declaration", "kind": 1024, @@ -3055,7 +3506,7 @@ } }, { - "id": 174, + "id": 186, "name": "flow", "variant": "declaration", "kind": 1024, @@ -3071,7 +3522,7 @@ } }, { - "id": 175, + "id": 187, "name": "handlers", "variant": "declaration", "kind": 1024, @@ -3087,7 +3538,7 @@ } }, { - "id": 176, + "id": 188, "name": "stepBinder", "variant": "declaration", "kind": 1024, @@ -3095,21 +3546,21 @@ "type": { "type": "reflection", "declaration": { - "id": 177, + "id": 189, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 178, + "id": 190, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "typeParameter": [ { - "id": 180, + "id": 192, "name": "TOutput", "variant": "typeParam", "kind": 131072, @@ -3122,7 +3573,7 @@ ], "parameters": [ { - "id": 179, + "id": 191, "name": "fn", "variant": "param", "kind": 32768, @@ -3137,11 +3588,11 @@ ], "type": { "type": "reference", - "target": 161, + "target": 173, "typeArguments": [ { "type": "reference", - "target": 180, + "target": 192, "name": "TOutput", "package": "@medusajs/workflows-sdk", "refersToTypeParameter": true @@ -3156,7 +3607,7 @@ } }, { - "id": 181, + "id": 193, "name": "hookBinder", "variant": "declaration", "kind": 1024, @@ -3164,21 +3615,21 @@ "type": { "type": "reflection", "declaration": { - "id": 182, + "id": 194, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 183, + "id": 195, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "typeParameter": [ { - "id": 186, + "id": 198, "name": "TOutput", "variant": "typeParam", "kind": 131072, @@ -3191,7 +3642,7 @@ ], "parameters": [ { - "id": 184, + "id": 196, "name": "name", "variant": "param", "kind": 32768, @@ -3202,7 +3653,7 @@ } }, { - "id": 185, + "id": 197, "name": "fn", "variant": "param", "kind": 32768, @@ -3220,11 +3671,11 @@ ], "type": { "type": "reference", - "target": 161, + "target": 173, "typeArguments": [ { "type": "reference", - "target": 186, + "target": 198, "name": "TOutput", "package": "@medusajs/workflows-sdk", "refersToTypeParameter": true @@ -3239,7 +3690,7 @@ } }, { - "id": 187, + "id": 199, "name": "parallelizeBinder", "variant": "declaration", "kind": 1024, @@ -3247,21 +3698,21 @@ "type": { "type": "reflection", "declaration": { - "id": 188, + "id": 200, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 189, + "id": 201, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "typeParameter": [ { - "id": 194, + "id": 206, "name": "TOutput", "variant": "typeParam", "kind": 131072, @@ -3270,7 +3721,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 161, + "target": 173, "name": "WorkflowData", "package": "@medusajs/workflows-sdk" } @@ -3279,7 +3730,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 161, + "target": 173, "name": "WorkflowData", "package": "@medusajs/workflows-sdk" } @@ -3288,7 +3739,7 @@ ], "parameters": [ { - "id": 190, + "id": 202, "name": "fn", "variant": "param", "kind": 32768, @@ -3296,28 +3747,28 @@ "type": { "type": "reflection", "declaration": { - "id": 191, + "id": 203, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "signatures": [ { - "id": 192, + "id": 204, "name": "__type", "variant": "signature", "kind": 4096, "flags": {}, "parameters": [ { - "id": 193, + "id": 205, "name": "this", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 169, + "target": 181, "name": "CreateWorkflowComposerContext", "package": "@medusajs/workflows-sdk" } @@ -3325,7 +3776,7 @@ ], "type": { "type": "reference", - "target": 194, + "target": 206, "name": "TOutput", "package": "@medusajs/workflows-sdk", "refersToTypeParameter": true @@ -3338,7 +3789,7 @@ ], "type": { "type": "reference", - "target": 194, + "target": 206, "name": "TOutput", "package": "@medusajs/workflows-sdk", "refersToTypeParameter": true @@ -3353,14 +3804,14 @@ { "title": "Properties", "children": [ - 171, - 172, - 173, - 174, - 175, - 176, - 181, - 187 + 183, + 184, + 185, + 186, + 187, + 188, + 193, + 199 ] } ] @@ -3368,7 +3819,7 @@ } }, { - "id": 195, + "id": 207, "name": "StepExecutionContext", "variant": "declaration", "kind": 256, @@ -3383,7 +3834,111 @@ }, "children": [ { - "id": 196, + "id": 208, + "name": "workflowId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The ID of the workflow." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 209, + "name": "attempt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The attempt number of the step." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 210, + "name": "idempotencyKey", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The idempoency key of the step." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 211, + "name": "stepName", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The name of the step." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 212, + "name": "action", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The action of the step." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "invoke" + }, + { + "type": "literal", + "value": "compensate" + } + ] + } + }, + { + "id": 213, "name": "container", "variant": "declaration", "kind": 1024, @@ -3407,7 +3962,7 @@ } }, { - "id": 197, + "id": 214, "name": "metadata", "variant": "declaration", "kind": 1024, @@ -3431,7 +3986,7 @@ } }, { - "id": 198, + "id": 215, "name": "context", "variant": "declaration", "kind": 1024, @@ -3460,15 +4015,20 @@ { "title": "Properties", "children": [ - 196, - 197, - 198 + 208, + 209, + 210, + 211, + 212, + 213, + 214, + 215 ] } ] }, { - "id": 199, + "id": 216, "name": "WorkflowTransactionContext", "variant": "declaration", "kind": 2097152, @@ -3478,7 +4038,7 @@ "types": [ { "type": "reference", - "target": 195, + "target": 207, "name": "StepExecutionContext", "package": "@medusajs/workflows-sdk" }, @@ -3495,14 +4055,14 @@ { "type": "reflection", "declaration": { - "id": 200, + "id": 217, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 201, + "id": 218, "name": "invoke", "variant": "declaration", "kind": 1024, @@ -3510,20 +4070,20 @@ "type": { "type": "reflection", "declaration": { - "id": 202, + "id": 219, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "indexSignature": { - "id": 203, + "id": 220, "name": "__index", "variant": "signature", "kind": 8192, "flags": {}, "parameters": [ { - "id": 204, + "id": 221, "name": "key", "variant": "param", "kind": 32768, @@ -3537,14 +4097,14 @@ "type": { "type": "reflection", "declaration": { - "id": 205, + "id": 222, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 206, + "id": 223, "name": "output", "variant": "declaration", "kind": 1024, @@ -3559,7 +4119,7 @@ { "title": "Properties", "children": [ - 206 + 223 ] } ] @@ -3574,7 +4134,7 @@ { "title": "Properties", "children": [ - 201 + 218 ] } ] @@ -3594,7 +4154,7 @@ { "title": "Interfaces", "children": [ - 195 + 207 ] }, { @@ -3604,10 +4164,10 @@ 44, 143, 148, - 156, - 161, - 169, - 199 + 168, + 173, + 181, + 216 ] }, { @@ -3944,23 +4504,23 @@ }, "152": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.config" }, "153": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "input" + "qualifiedName": "__type.config" }, "154": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "TInput" + "qualifiedName": "config" }, "155": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "TOutput" + "qualifiedName": "__type" }, "156": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "WorkflowDataProperties" + "qualifiedName": "__type.name" }, "157": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", @@ -3968,83 +4528,83 @@ }, "158": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type.__type" + "qualifiedName": "__type" }, "159": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type.__step__" + "qualifiedName": "input" }, "160": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "T" + "qualifiedName": "__type" }, "161": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "WorkflowData" + "qualifiedName": "__type.config" }, "162": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.config" }, "163": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type.config" + "qualifiedName": "config" }, "164": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type.config" + "qualifiedName": "__type" }, "165": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "config" + "qualifiedName": "__type.name" }, "166": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type" + "qualifiedName": "TInput" }, "167": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type.name" + "qualifiedName": "TOutput" }, "168": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "T" + "qualifiedName": "WorkflowDataProperties" }, "169": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "CreateWorkflowComposerContext" + "qualifiedName": "__type" }, "170": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__type" }, "171": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type.hooks_" + "qualifiedName": "__type.__step__" }, "172": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type.hooksCallback_" + "qualifiedName": "T" }, "173": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type.workflowId" + "qualifiedName": "WorkflowData" }, "174": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type.flow" + "qualifiedName": "__type" }, "175": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type.handlers" + "qualifiedName": "__type.config" }, "176": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type.stepBinder" + "qualifiedName": "__type.config" }, "177": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type" + "qualifiedName": "config" }, "178": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", @@ -4052,15 +4612,15 @@ }, "179": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "fn" + "qualifiedName": "__type.name" }, "180": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "TOutput" + "qualifiedName": "T" }, "181": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type.hookBinder" + "qualifiedName": "CreateWorkflowComposerContext" }, "182": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", @@ -4068,27 +4628,27 @@ }, "183": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.hooks_" }, "184": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "name" + "qualifiedName": "__type.hooksCallback_" }, "185": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "fn" + "qualifiedName": "__type.workflowId" }, "186": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "TOutput" + "qualifiedName": "__type.flow" }, "187": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type.parallelizeBinder" + "qualifiedName": "__type.handlers" }, "188": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.stepBinder" }, "189": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", @@ -4096,43 +4656,43 @@ }, "190": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "fn" + "qualifiedName": "__type" }, "191": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type" + "qualifiedName": "fn" }, "192": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type" + "qualifiedName": "TOutput" }, "193": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "this" + "qualifiedName": "__type.hookBinder" }, "194": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "TOutput" + "qualifiedName": "__type" }, "195": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "StepExecutionContext" + "qualifiedName": "__type" }, "196": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "StepExecutionContext.container" + "qualifiedName": "name" }, "197": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "StepExecutionContext.metadata" + "qualifiedName": "fn" }, "198": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "StepExecutionContext.context" + "qualifiedName": "TOutput" }, "199": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "WorkflowTransactionContext" + "qualifiedName": "__type.parallelizeBinder" }, "200": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", @@ -4140,21 +4700,89 @@ }, "201": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type.invoke" + "qualifiedName": "__type" }, "202": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type" + "qualifiedName": "fn" }, "203": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type" }, - "205": { + "204": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", "qualifiedName": "__type" }, + "205": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "this" + }, "206": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "TOutput" + }, + "207": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "StepExecutionContext" + }, + "208": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "StepExecutionContext.workflowId" + }, + "209": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "StepExecutionContext.attempt" + }, + "210": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "StepExecutionContext.idempotencyKey" + }, + "211": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "StepExecutionContext.stepName" + }, + "212": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "StepExecutionContext.action" + }, + "213": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "StepExecutionContext.container" + }, + "214": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "StepExecutionContext.metadata" + }, + "215": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "StepExecutionContext.context" + }, + "216": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "WorkflowTransactionContext" + }, + "217": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "__type" + }, + "218": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "__type.invoke" + }, + "219": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "__type" + }, + "220": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "__type.__index" + }, + "222": { + "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", + "qualifiedName": "__type" + }, + "223": { "sourceFileName": "../../../packages/workflows-sdk/src/utils/composer/type.ts", "qualifiedName": "__type.output" } diff --git a/packages/admin-next/dashboard/src/components/layout/shell/shell.tsx b/packages/admin-next/dashboard/src/components/layout/shell/shell.tsx index cf65fffb5e0a3..be708977eb79f 100644 --- a/packages/admin-next/dashboard/src/components/layout/shell/shell.tsx +++ b/packages/admin-next/dashboard/src/components/layout/shell/shell.tsx @@ -246,7 +246,7 @@ const LoggedInUser = () => { - + Documentation diff --git a/packages/admin-next/dashboard/src/v2-routes/profile/profile-edit/components/edit-profile-form/edit-profile-form.tsx b/packages/admin-next/dashboard/src/v2-routes/profile/profile-edit/components/edit-profile-form/edit-profile-form.tsx index 188e55df45778..4a215f2ba89ef 100644 --- a/packages/admin-next/dashboard/src/v2-routes/profile/profile-edit/components/edit-profile-form/edit-profile-form.tsx +++ b/packages/admin-next/dashboard/src/v2-routes/profile/profile-edit/components/edit-profile-form/edit-profile-form.tsx @@ -170,7 +170,7 @@ export const EditProfileForm = ({ user, usageInsights }: EditProfileProps) => { , diff --git a/packages/admin-ui/README.md b/packages/admin-ui/README.md index 71226fb350f69..68c49864200a0 100644 --- a/packages/admin-ui/README.md +++ b/packages/admin-ui/README.md @@ -8,7 +8,7 @@

- Documentation | + Documentation | Medusa Admin Demo | Website

diff --git a/packages/admin-ui/ui/src/components/organisms/analytics-preferences/index.tsx b/packages/admin-ui/ui/src/components/organisms/analytics-preferences/index.tsx index 8188266c2dcc3..73c4a6054a128 100644 --- a/packages/admin-ui/ui/src/components/organisms/analytics-preferences/index.tsx +++ b/packages/admin-ui/ui/src/components/organisms/analytics-preferences/index.tsx @@ -100,7 +100,7 @@ const AnalyticsPreferencesModal = () => { "To create the most compelling e-commerce experience we would like to gain insights in how you use Medusa. User insights allow us to build a better, more engaging, and more usable products. We only collect data for product improvements. Read what data we gather in our" )}{" "}

- Documentation | + Documentation | Medusa Admin Demo | Website

diff --git a/packages/create-medusa-app/README.md b/packages/create-medusa-app/README.md index 7012b30f4698a..62dc94db78322 100644 --- a/packages/create-medusa-app/README.md +++ b/packages/create-medusa-app/README.md @@ -8,7 +8,7 @@

- Documentation | + Documentation | Website

diff --git a/packages/create-medusa-app/src/commands/create.ts b/packages/create-medusa-app/src/commands/create.ts index 0660246a73392..e698e5ed26037 100644 --- a/packages/create-medusa-app/src/commands/create.ts +++ b/packages/create-medusa-app/src/commands/create.ts @@ -320,7 +320,7 @@ function showSuccessMessage( message: boxen( chalk.green( // eslint-disable-next-line prettier/prettier - `Change to the \`${projectName}\` directory to explore your Medusa project.${EOL}${EOL}Start your Medusa app again with the following command:${EOL}${EOL}npx @medusajs/medusa-cli develop${EOL}${EOL}${inviteToken ? `After you start the Medusa app, you can set a password for your admin user with the URL ${getInviteUrl(inviteToken)}${EOL}${EOL}` : ""}${nextjsDirectory?.length ? `The Next.js Starter storefront was installed in the \`${nextjsDirectory}\` directory. Change to that directory and start it with the following command:${EOL}${EOL}npm run dev${EOL}${EOL}` : ""}Check out the Medusa documentation to start your development:${EOL}${EOL}https://docs.medusajs.com/${EOL}${EOL}Star us on GitHub if you like what we're building:${EOL}${EOL}https://github.com/medusajs/medusa/stargazers` + `Change to the \`${projectName}\` directory to explore your Medusa project.${EOL}${EOL}Start your Medusa app again with the following command:${EOL}${EOL}npx @medusajs/medusa-cli develop${EOL}${EOL}${inviteToken ? `After you start the Medusa app, you can set a password for your admin user with the URL ${getInviteUrl(inviteToken)}${EOL}${EOL}` : ""}${nextjsDirectory?.length ? `The Next.js Starter storefront was installed in the \`${nextjsDirectory}\` directory. Change to that directory and start it with the following command:${EOL}${EOL}npm run dev${EOL}${EOL}` : ""}Check out the Medusa documentation to start your development:${EOL}${EOL}https://docs.medusajs.com/v1/${EOL}${EOL}Star us on GitHub if you like what we're building:${EOL}${EOL}https://github.com/medusajs/medusa/stargazers` ), { titleAlignment: "center", diff --git a/packages/create-medusa-app/src/utils/create-db.ts b/packages/create-medusa-app/src/utils/create-db.ts index cc4fc2df87c77..9d8fbe5223fc4 100644 --- a/packages/create-medusa-app/src/utils/create-db.ts +++ b/packages/create-medusa-app/src/utils/create-db.ts @@ -106,7 +106,7 @@ async function getForDbName({ }) } catch (e) { logMessage({ - message: `Couldn't connect to PostgreSQL because of the following error: ${e}.${EOL}${EOL}Make sure you have PostgreSQL installed and the credentials you provided are correct.${EOL}${EOL}You can learn how to install PostgreSQL here: https://docs.medusajs.com/development/backend/prepare-environment?os=${getCurrentOs()}#postgresql${EOL}${EOL}If you keep running into this issue despite having PostgreSQL installed, please check out our troubleshooting guidelines: https://docs.medusajs.com/troubleshooting/database-error`, + message: `Couldn't connect to PostgreSQL because of the following error: ${e}.${EOL}${EOL}Make sure you have PostgreSQL installed and the credentials you provided are correct.${EOL}${EOL}You can learn how to install PostgreSQL here: https://docs.medusajs.com/v1/development/backend/prepare-environment?os=${getCurrentOs()}#postgresql${EOL}${EOL}If you keep running into this issue despite having PostgreSQL installed, please check out our troubleshooting guidelines: https://docs.medusajs.com/v1/troubleshooting/database-error`, type: "error", }) } diff --git a/packages/design-system/icons/README.md b/packages/design-system/icons/README.md index 6c82917d2aec2..da510188658a8 100644 --- a/packages/design-system/icons/README.md +++ b/packages/design-system/icons/README.md @@ -12,7 +12,7 @@

- Documentation | + Documentation | Website

diff --git a/packages/design-system/ui-preset/README.md b/packages/design-system/ui-preset/README.md index 2ea97a5fc4207..e204bb9f33d24 100644 --- a/packages/design-system/ui-preset/README.md +++ b/packages/design-system/ui-preset/README.md @@ -12,7 +12,7 @@

- Documentation | + Documentation | Website

diff --git a/packages/design-system/ui/CONTRIBUTING.md b/packages/design-system/ui/CONTRIBUTING.md index cccd29af38407..09ada7995a31d 100644 --- a/packages/design-system/ui/CONTRIBUTING.md +++ b/packages/design-system/ui/CONTRIBUTING.md @@ -2,7 +2,7 @@ Thank you for considering contributing to Medusa! This document will outline how to submit changes to this repository and which conventions to follow. If you are ever in doubt about anything we encourage you to reach out either by submitting an issue here or reaching out [via Discord](https://discord.gg/xpCwq3Kfn8). -If you're contributing to our documentation, make sure to also check out the [contribution guidelines on our documentation website](https://docs.medusajs.com/contribution-guidelines). +If you're contributing to our documentation, make sure to also check out the [contribution guidelines on our documentation website](https://docs.medusajs.com/v1/contribution-guidelines). ### Important @@ -15,7 +15,7 @@ If you, as a community contributor, wish to work on more extensive features, ple ## Prerequisites - **You're familiar with GitHub Issues and Pull Requests** -- **You've read the [docs](https://docs.medusajs.com).** +- **You've read the [docs](https://docs.medusajs.com/v1).** - **You've setup a test project with `medusa new`** ## Issues before PRs diff --git a/packages/design-system/ui/README.md b/packages/design-system/ui/README.md index 12f4afd29a48c..7ab9ff9ba0be7 100644 --- a/packages/design-system/ui/README.md +++ b/packages/design-system/ui/README.md @@ -12,7 +12,7 @@

- Documentation | + Documentation | Website

@@ -49,4 +49,4 @@ const App = () => ## Documentation -You can find the documentation for Medusa UI [on the documentation site](https://docs.medusajs.com/ui). +You can find the documentation for Medusa UI [on the documentation site](https://docs.medusajs.com/v1/ui). diff --git a/packages/design-system/ui/src/components/date-picker/date-picker.tsx b/packages/design-system/ui/src/components/date-picker/date-picker.tsx index 0013a88732bbf..5df1e8751222d 100644 --- a/packages/design-system/ui/src/components/date-picker/date-picker.tsx +++ b/packages/design-system/ui/src/components/date-picker/date-picker.tsx @@ -1028,7 +1028,7 @@ const validatePresets = ( } /** - * This component is based on the [Calendar](https://docs.medusajs.com/ui/components/calendar) + * This component is based on the [Calendar](https://docs.medusajs.com/v1/ui/components/calendar) * component and [Radix UI Popover](https://www.radix-ui.com/primitives/docs/components/popover). */ const DatePicker = ({ diff --git a/packages/event-bus-local/README.md b/packages/event-bus-local/README.md index 1c625dcf8d43a..5a2d5ee31053b 100644 --- a/packages/event-bus-local/README.md +++ b/packages/event-bus-local/README.md @@ -8,7 +8,7 @@

- Documentation | + Documentation | Website

diff --git a/packages/event-bus-redis/README.md b/packages/event-bus-redis/README.md index 2e4406683ab71..d73d3f78082a7 100644 --- a/packages/event-bus-redis/README.md +++ b/packages/event-bus-redis/README.md @@ -8,7 +8,7 @@

- Documentation | + Documentation | Website

diff --git a/packages/medusa-file-local/README.md b/packages/medusa-file-local/README.md index 6848b0d300200..29673e6d75a54 100644 --- a/packages/medusa-file-local/README.md +++ b/packages/medusa-file-local/README.md @@ -4,7 +4,7 @@ Store uploaded files to your Medusa backend locally. > Not suited for production environments -[Plugin Documentation](https://docs.medusajs.com/plugins/file-service/local) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) +[Plugin Documentation](https://docs.medusajs.com/v1/plugins/file-service/local) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) ## Features @@ -14,7 +14,7 @@ Store uploaded files to your Medusa backend locally. ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) --- @@ -51,5 +51,5 @@ const plugins = [ npm run start ``` -2\. Upload an image for a product using the admin dashboard or using [the Admin APIs](https://docs.medusajs.com/api/admin#tag/Upload). +2\. Upload an image for a product using the admin dashboard or using [the Admin APIs](https://docs.medusajs.com/v1/api/admin#tag/Upload). diff --git a/packages/medusa-file-minio/README.md b/packages/medusa-file-minio/README.md index d80dd57605654..0dcca9a8a3795 100644 --- a/packages/medusa-file-minio/README.md +++ b/packages/medusa-file-minio/README.md @@ -2,7 +2,7 @@ Store uploaded files to your Medusa backend on MinIO. -[Plugin Documentation](https://docs.medusajs.com/plugins/file-service/minio) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) +[Plugin Documentation](https://docs.medusajs.com/v1/plugins/file-service/minio) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) ## Features @@ -14,7 +14,7 @@ Store uploaded files to your Medusa backend on MinIO. ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) - [MinIO](https://docs.min.io/minio/baremetal/quickstart/quickstart.html) --- @@ -63,10 +63,10 @@ Store uploaded files to your Medusa backend on MinIO. npm run start ``` -2\. Upload an image for a product using the admin dashboard or using [the Admin APIs](https://docs.medusajs.com/api/admin#tag/Upload). +2\. Upload an image for a product using the admin dashboard or using [the Admin APIs](https://docs.medusajs.com/v1/api/admin#tag/Upload). --- ## Additional Resources -- [MinIO Plugin Documentation](https://docs.medusajs.com/plugins/file-service/minio) \ No newline at end of file +- [MinIO Plugin Documentation](https://docs.medusajs.com/v1/plugins/file-service/minio) \ No newline at end of file diff --git a/packages/medusa-file-s3/README.md b/packages/medusa-file-s3/README.md index 1c6aa9666a904..56163bbf4edc3 100644 --- a/packages/medusa-file-s3/README.md +++ b/packages/medusa-file-s3/README.md @@ -2,7 +2,7 @@ Store uploaded files to your Medusa backend on S3. -[Plugin Documentation](https://docs.medusajs.com/plugins/file-service/s3) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) +[Plugin Documentation](https://docs.medusajs.com/v1/plugins/file-service/s3) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) ## Features @@ -14,7 +14,7 @@ Store uploaded files to your Medusa backend on S3. ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) - [S3](https://aws.amazon.com/s3) --- @@ -68,10 +68,10 @@ const plugins = [ npm run start ``` -2\. Upload an image for a product using the admin dashboard or using [the Admin APIs](https://docs.medusajs.com/api/admin#tag/Upload). +2\. Upload an image for a product using the admin dashboard or using [the Admin APIs](https://docs.medusajs.com/v1/api/admin#tag/Upload). --- ## Additional Resources -- [S3 Plugin Documentation](https://docs.medusajs.com/plugins/file-service/s3) +- [S3 Plugin Documentation](https://docs.medusajs.com/v1/plugins/file-service/s3) diff --git a/packages/medusa-file-spaces/README.md b/packages/medusa-file-spaces/README.md index 142f502c98d76..5410ec8341b14 100644 --- a/packages/medusa-file-spaces/README.md +++ b/packages/medusa-file-spaces/README.md @@ -2,7 +2,7 @@ Store uploaded files to your Medusa backend on Spaces. -[Plugin Documentation](https://docs.medusajs.com/plugins/file-service/spaces) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) +[Plugin Documentation](https://docs.medusajs.com/v1/plugins/file-service/spaces) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) ## Features @@ -13,7 +13,7 @@ Store uploaded files to your Medusa backend on Spaces. ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) - [DigitalOcean Spaces](https://www.digitalocean.com/products/spaces) --- @@ -64,10 +64,10 @@ Store uploaded files to your Medusa backend on Spaces. npm run start ``` -2\. Upload an image for a product using the admin dashboard or using [the Admin APIs](https://docs.medusajs.com/api/admin#tag/Upload). +2\. Upload an image for a product using the admin dashboard or using [the Admin APIs](https://docs.medusajs.com/v1/api/admin#tag/Upload). --- ## Additional Resources -- [Spaces Plugin Documentation](https://docs.medusajs.com/plugins/file-service/spaces) \ No newline at end of file +- [Spaces Plugin Documentation](https://docs.medusajs.com/v1/plugins/file-service/spaces) \ No newline at end of file diff --git a/packages/medusa-fulfillment-manual/README.md b/packages/medusa-fulfillment-manual/README.md index bf7af9e4edd91..3ad9d47cd66a4 100644 --- a/packages/medusa-fulfillment-manual/README.md +++ b/packages/medusa-fulfillment-manual/README.md @@ -12,7 +12,7 @@ A minimal fulfillment provider that allows merchants to handle fulfillments manu ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) --- @@ -43,8 +43,8 @@ A minimal fulfillment provider that allows merchants to handle fulfillments manu npm run start ``` -2\. Enable the fulfillment provider in the admin. You can refer to [this User Guide](https://docs.medusajs.com/user-guide/regions/providers) to learn how to do that. Alternatively, you can use the [Admin APIs](https://docs.medusajs.com/api/admin#tag/Region/operation/PostRegionsRegion). +2\. Enable the fulfillment provider in the admin. You can refer to [this User Guide](https://docs.medusajs.com/v1/user-guide/regions/providers) to learn how to do that. Alternatively, you can use the [Admin APIs](https://docs.medusajs.com/v1/api/admin#tag/Region/operation/PostRegionsRegion). 3\. Add shipping options for the fulfillment provider. You can do that using either the [Medusa Admin](../../user-guide/regions/shipping-options.mdx) or the [Admin REST APIs](../../modules/regions-and-currencies/admin/manage-regions.mdx#add-a-shipping-option-to-a-region). -3\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/api/store). You should be able to use the manual fulfillment provider during checkout. \ No newline at end of file +3\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/v1/api/store). You should be able to use the manual fulfillment provider during checkout. \ No newline at end of file diff --git a/packages/medusa-fulfillment-webshipper/README.md b/packages/medusa-fulfillment-webshipper/README.md index 962111c2fb8b1..5cbb0e8cfbc27 100644 --- a/packages/medusa-fulfillment-webshipper/README.md +++ b/packages/medusa-fulfillment-webshipper/README.md @@ -14,7 +14,7 @@ Handle order fulfillments using Webshipper. ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) - [Webshipper Account](https://webshipper.com) --- @@ -67,9 +67,9 @@ Handle order fulfillments using Webshipper. npm run start ``` -2\. Enable the fulfillment provider in the admin. You can refer to [this User Guide](https://docs.medusajs.com/user-guide/regions/providers) to learn how to do that. Alternatively, you can use the [Admin APIs](https://docs.medusajs.com/api/admin#tag/Region/operation/PostRegionsRegion). +2\. Enable the fulfillment provider in the admin. You can refer to [this User Guide](https://docs.medusajs.com/v1/user-guide/regions/providers) to learn how to do that. Alternatively, you can use the [Admin APIs](https://docs.medusajs.com/v1/api/admin#tag/Region/operation/PostRegionsRegion). -3\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/api/store). You should be able to use the manual fulfillment provider during checkout. +3\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/v1/api/store). You should be able to use the manual fulfillment provider during checkout. --- diff --git a/packages/medusa-js/README.md b/packages/medusa-js/README.md index 644b61d734b80..91d74fa92d97b 100644 --- a/packages/medusa-js/README.md +++ b/packages/medusa-js/README.md @@ -6,6 +6,6 @@ The Medusa JS Client provides easy access to the Medusa API from a client writte ## Documentation -You can learn more about how to install and use this client in [our documentation](https://docs.medusajs.com/js-client/overview). +You can learn more about how to install and use this client in [our documentation](https://docs.medusajs.com/v1/js-client/overview). -To learn more about the API endpoints that this client allows you to access check out our [API reference](https://docs.medusajs.com/api/store). +To learn more about the API endpoints that this client allows you to access check out our [API reference](https://docs.medusajs.com/v1/api/store). diff --git a/packages/medusa-js/package.json b/packages/medusa-js/package.json index aba267e4cb534..42180d73a5dd7 100644 --- a/packages/medusa-js/package.json +++ b/packages/medusa-js/package.json @@ -53,5 +53,5 @@ "typescript": "^4.9.5" }, "gitHead": "cd1f5afa5aa8c0b15ea957008ee19f1d695cbd2e", - "homepage": "https://docs.medusajs.com/js-client/overview" + "homepage": "https://docs.medusajs.com/v1/js-client/overview" } diff --git a/packages/medusa-js/src/resources/addresses.ts b/packages/medusa-js/src/resources/addresses.ts index 8223871df5d5c..6351d703ebc0b 100644 --- a/packages/medusa-js/src/resources/addresses.ts +++ b/packages/medusa-js/src/resources/addresses.ts @@ -7,7 +7,7 @@ import { ResponsePromise } from "../typings" import BaseResource from "./base" /** - * This class is used to send requests to Address API Routes part of the [Store Customer API Routes](https://docs.medusajs.com/api/store#customers_postcustomers). All its method + * This class is used to send requests to Address API Routes part of the [Store Customer API Routes](https://docs.medusajs.com/v1/api/store#customers_postcustomers). All its method * are available in the JS Client under the `medusa.customers.addresses` property. * * All methods in this class require {@link AuthResource.authenticate | customer authentication}. diff --git a/packages/medusa-js/src/resources/admin/auth.ts b/packages/medusa-js/src/resources/admin/auth.ts index 66a94b8d98f3a..d550fb7683900 100644 --- a/packages/medusa-js/src/resources/admin/auth.ts +++ b/packages/medusa-js/src/resources/admin/auth.ts @@ -4,7 +4,7 @@ import JwtTokenManager from "../../jwt-token-manager" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Auth API Routes](https://docs.medusajs.com/api/admin#auth_getauth). All its method + * This class is used to send requests to [Admin Auth API Routes](https://docs.medusajs.com/v1/api/admin#auth_getauth). All its method * are available in the JS Client under the `medusa.admin.auth` property. * * The methods in this class allow admin users to manage their session, such as login or log out. @@ -12,7 +12,7 @@ import BaseResource from "../base" * When you log the admin user in using the {@link createSession} method, the JS client will automatically attach the * cookie header in all subsequent requests. * - * Related Guide: [How to implement user profiles](https://docs.medusajs.com/modules/users/admin/manage-profile). + * Related Guide: [How to implement user profiles](https://docs.medusajs.com/v1/modules/users/admin/manage-profile). */ class AdminAuthResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/batch-jobs.ts b/packages/medusa-js/src/resources/admin/batch-jobs.ts index 80fb2f04f90a0..5202af51d75b6 100644 --- a/packages/medusa-js/src/resources/admin/batch-jobs.ts +++ b/packages/medusa-js/src/resources/admin/batch-jobs.ts @@ -10,7 +10,7 @@ import BaseResource from "../base" import { stringifyNullProperties } from "../../utils" /** - * This class is used to send requests to [Admin Batch Job API Routes](https://docs.medusajs.com/api/admin#batch-jobs). All its method + * This class is used to send requests to [Admin Batch Job API Routes](https://docs.medusajs.com/v1/api/admin#batch-jobs). All its method * are available in the JS Client under the `medusa.admin.batchJobs` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. @@ -18,7 +18,7 @@ import { stringifyNullProperties } from "../../utils" * A batch job is a task that is performed by the Medusa backend asynchronusly. For example, the Import Product feature is implemented using batch jobs. * The methods in this class allow admins to manage the batch jobs and their state. * - * Related Guide: [How to import products](https://docs.medusajs.com/modules/products/admin/import-products). + * Related Guide: [How to import products](https://docs.medusajs.com/v1/modules/products/admin/import-products). */ class AdminBatchJobsResource extends BaseResource { diff --git a/packages/medusa-js/src/resources/admin/collections.ts b/packages/medusa-js/src/resources/admin/collections.ts index 4e8828f39554c..d0f0a29efa6f3 100644 --- a/packages/medusa-js/src/resources/admin/collections.ts +++ b/packages/medusa-js/src/resources/admin/collections.ts @@ -14,7 +14,7 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Product Collection API Routes](https://docs.medusajs.com/api/admin#product-collections). All its method + * This class is used to send requests to [Admin Product Collection API Routes](https://docs.medusajs.com/v1/api/admin#product-collections). All its method * are available in the JS Client under the `medusa.admin.collections` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. diff --git a/packages/medusa-js/src/resources/admin/currencies.ts b/packages/medusa-js/src/resources/admin/currencies.ts index b0ddefebd363c..6d21d6ce69fe4 100644 --- a/packages/medusa-js/src/resources/admin/currencies.ts +++ b/packages/medusa-js/src/resources/admin/currencies.ts @@ -9,7 +9,7 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Currency API Routes](https://docs.medusajs.com/api/admin#currencies). All its method + * This class is used to send requests to [Admin Currency API Routes](https://docs.medusajs.com/v1/api/admin#currencies). All its method * are available in the JS Client under the `medusa.admin.currencies` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. @@ -17,7 +17,7 @@ import BaseResource from "../base" * A store can use unlimited currencies, and each region must be associated with at least one currency. * Currencies are defined within the Medusa backend. The methods in this class allow admins to list and update currencies. * - * Related Guide: [How to manage currencies](https://docs.medusajs.com/modules/regions-and-currencies/admin/manage-currencies). + * Related Guide: [How to manage currencies](https://docs.medusajs.com/v1/modules/regions-and-currencies/admin/manage-currencies). */ class AdminCurrenciesResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/customer-groups.ts b/packages/medusa-js/src/resources/admin/customer-groups.ts index dface26da24e8..6edc6766e72ff 100644 --- a/packages/medusa-js/src/resources/admin/customer-groups.ts +++ b/packages/medusa-js/src/resources/admin/customer-groups.ts @@ -17,7 +17,7 @@ import BaseResource from "../base" import { ResponsePromise } from "../.." /** - * This class is used to send requests to [Admin Customer Group API Routes](https://docs.medusajs.com/api/admin#customer-groups). All its method + * This class is used to send requests to [Admin Customer Group API Routes](https://docs.medusajs.com/v1/api/admin#customer-groups). All its method * are available in the JS Client under the `medusa.admin.customerGroups` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. @@ -25,7 +25,7 @@ import { ResponsePromise } from "../.." * Customer Groups can be used to organize customers that share similar data or attributes into dedicated groups. * This can be useful for different purposes such as setting a different price for a specific customer group. * - * Related Guide: [How to manage customer groups](https://docs.medusajs.com/modules/customers/admin/manage-customer-groups). + * Related Guide: [How to manage customer groups](https://docs.medusajs.com/v1/modules/customers/admin/manage-customer-groups). */ class AdminCustomerGroupsResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/customers.ts b/packages/medusa-js/src/resources/admin/customers.ts index 264ca86814dea..3aa19c7360d32 100644 --- a/packages/medusa-js/src/resources/admin/customers.ts +++ b/packages/medusa-js/src/resources/admin/customers.ts @@ -10,14 +10,14 @@ import { ResponsePromise } from "../.." import BaseResource from "../base" /** - * This class is used to send requests to [Admin Customer API Routes](https://docs.medusajs.com/api/admin#customers). All its method + * This class is used to send requests to [Admin Customer API Routes](https://docs.medusajs.com/v1/api/admin#customers). All its method * are available in the JS Client under the `medusa.admin.customers` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. * * Customers can either be created when they register through the {@link CustomersResource.create} method, or created by the admin using the {@link create} method. * - * Related Guide: [How to manage customers](https://docs.medusajs.com/modules/customers/admin/manage-customers). + * Related Guide: [How to manage customers](https://docs.medusajs.com/v1/modules/customers/admin/manage-customers). */ class AdminCustomersResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/discounts.ts b/packages/medusa-js/src/resources/admin/discounts.ts index a0e1f0336a12e..869400b7a4995 100644 --- a/packages/medusa-js/src/resources/admin/discounts.ts +++ b/packages/medusa-js/src/resources/admin/discounts.ts @@ -22,7 +22,7 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Discount API Routes](https://docs.medusajs.com/api/admin#discounts). All its method + * This class is used to send requests to [Admin Discount API Routes](https://docs.medusajs.com/v1/api/admin#discounts). All its method * are available in the JS Client under the `medusa.admin.discounts` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. @@ -30,7 +30,7 @@ import BaseResource from "../base" * Admins can create discounts with conditions and rules, providing them with advanced settings for variety of cases. * The methods in this class can be used to manage discounts, their conditions, resources, and more. * - * Related Guide: [How to manage discounts](https://docs.medusajs.com/modules/discounts/admin/manage-discounts). + * Related Guide: [How to manage discounts](https://docs.medusajs.com/v1/modules/discounts/admin/manage-discounts). */ class AdminDiscountsResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/draft-orders.ts b/packages/medusa-js/src/resources/admin/draft-orders.ts index cb356660f16a2..4749036695244 100644 --- a/packages/medusa-js/src/resources/admin/draft-orders.ts +++ b/packages/medusa-js/src/resources/admin/draft-orders.ts @@ -14,14 +14,14 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Draft Order API Routes](https://docs.medusajs.com/api/admin#draft-orders). All its method + * This class is used to send requests to [Admin Draft Order API Routes](https://docs.medusajs.com/v1/api/admin#draft-orders). All its method * are available in the JS Client under the `medusa.admin.draftOrders` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. * * A draft order is an order created manually by the admin. It allows admins to create orders without direct involvement from the customer. * - * Related Guide: [How to manage draft orders](https://docs.medusajs.com/modules/orders/admin/manage-draft-orders). + * Related Guide: [How to manage draft orders](https://docs.medusajs.com/v1/modules/orders/admin/manage-draft-orders). */ class AdminDraftOrdersResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/gift-cards.ts b/packages/medusa-js/src/resources/admin/gift-cards.ts index fb5685b4fb1ef..f0a322c1a4ad7 100644 --- a/packages/medusa-js/src/resources/admin/gift-cards.ts +++ b/packages/medusa-js/src/resources/admin/gift-cards.ts @@ -11,7 +11,7 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Gift Card API Routes](https://docs.medusajs.com/api/admin#gift-cards). All its method + * This class is used to send requests to [Admin Gift Card API Routes](https://docs.medusajs.com/v1/api/admin#gift-cards). All its method * are available in the JS Client under the `medusa.admin.giftCards` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. @@ -19,7 +19,7 @@ import BaseResource from "../base" * Admins can create gift cards and send them directly to customers, specifying options like their balance, region, and more. * These gift cards are different than the saleable gift cards in a store, which are created and managed through {@link AdminProductsResource}. * - * Related Guide: [How to manage gift cards](https://docs.medusajs.com/modules/gift-cards/admin/manage-gift-cards#manage-custom-gift-cards). + * Related Guide: [How to manage gift cards](https://docs.medusajs.com/v1/modules/gift-cards/admin/manage-gift-cards#manage-custom-gift-cards). */ class AdminGiftCardsResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/index.ts b/packages/medusa-js/src/resources/admin/index.ts index 32785fc9b15a3..436505f74f852 100644 --- a/packages/medusa-js/src/resources/admin/index.ts +++ b/packages/medusa-js/src/resources/admin/index.ts @@ -39,156 +39,156 @@ import AdminUsersResource from "./users" import AdminVariantsResource from "./variants" /** - * This class includes properties used to send requests to the [Admin API Routes](https://docs.medusajs.com/api/admin). All its properties + * This class includes properties used to send requests to the [Admin API Routes](https://docs.medusajs.com/v1/api/admin). All its properties * are available in the JS Client under the `medusa.admin` property. */ class Admin extends BaseResource { /** - * An instance of {@link AdminAuthResource} used to send requests to [Admin Auth API Routes](https://docs.medusajs.com/api/admin#auth). + * An instance of {@link AdminAuthResource} used to send requests to [Admin Auth API Routes](https://docs.medusajs.com/v1/api/admin#auth). */ public auth = new AdminAuthResource(this.client) /** - * An instance of {@link AdminBatchJobsResource} used to send requests to [Admin Batch Job API Routes](https://docs.medusajs.com/api/admin#batch-jobs). + * An instance of {@link AdminBatchJobsResource} used to send requests to [Admin Batch Job API Routes](https://docs.medusajs.com/v1/api/admin#batch-jobs). */ public batchJobs = new AdminBatchJobsResource(this.client) /** - * An instance of {@link AdminCustomersResource} used to send requests to [Admin Customer API Routes](https://docs.medusajs.com/api/admin#customers). + * An instance of {@link AdminCustomersResource} used to send requests to [Admin Customer API Routes](https://docs.medusajs.com/v1/api/admin#customers). */ public customers = new AdminCustomersResource(this.client) /** - * An instance of {@link AdminCustomerGroupsResource} used to send requests to [Admin Customer Group API Routes](https://docs.medusajs.com/api/admin#customer-groups). + * An instance of {@link AdminCustomerGroupsResource} used to send requests to [Admin Customer Group API Routes](https://docs.medusajs.com/v1/api/admin#customer-groups). */ public customerGroups = new AdminCustomerGroupsResource(this.client) /** - * An instance of {@link AdminDiscountsResource} used to send requests to [Admin Discount API Routes](https://docs.medusajs.com/api/admin#discounts). + * An instance of {@link AdminDiscountsResource} used to send requests to [Admin Discount API Routes](https://docs.medusajs.com/v1/api/admin#discounts). */ public discounts = new AdminDiscountsResource(this.client) /** - * An instance of {@link AdminCurrenciesResource} used to send requests to [Admin Currency API Routes](https://docs.medusajs.com/api/admin#currencies_getcurrencies). + * An instance of {@link AdminCurrenciesResource} used to send requests to [Admin Currency API Routes](https://docs.medusajs.com/v1/api/admin#currencies_getcurrencies). */ public currencies = new AdminCurrenciesResource(this.client) /** - * An instance of {@link AdminCollectionsResource} used to send requests to [Admin Product Collection API Routes](https://docs.medusajs.com/api/admin#product-collections). + * An instance of {@link AdminCollectionsResource} used to send requests to [Admin Product Collection API Routes](https://docs.medusajs.com/v1/api/admin#product-collections). */ public collections = new AdminCollectionsResource(this.client) /** - * An instance of {@link AdminDraftOrdersResource} used to send requests to [Admin Draft Order API Routes](https://docs.medusajs.com/api/admin#draft-orders). + * An instance of {@link AdminDraftOrdersResource} used to send requests to [Admin Draft Order API Routes](https://docs.medusajs.com/v1/api/admin#draft-orders). */ public draftOrders = new AdminDraftOrdersResource(this.client) /** - * An instance of {@link AdminGiftCardsResource} used to send requests to [Admin Gift Card API Routes](https://docs.medusajs.com/api/admin#gift-cards). + * An instance of {@link AdminGiftCardsResource} used to send requests to [Admin Gift Card API Routes](https://docs.medusajs.com/v1/api/admin#gift-cards). */ public giftCards = new AdminGiftCardsResource(this.client) /** - * An instance of {@link AdminInvitesResource} used to send requests to [Admin Invite API Routes](https://docs.medusajs.com/api/admin#invites). + * An instance of {@link AdminInvitesResource} used to send requests to [Admin Invite API Routes](https://docs.medusajs.com/v1/api/admin#invites). */ public invites = new AdminInvitesResource(this.client) /** - * An instance of {@link AdminInventoryItemsResource} used to send requests to [Admin Inventory Item API Routes](https://docs.medusajs.com/api/admin#inventory-items). + * An instance of {@link AdminInventoryItemsResource} used to send requests to [Admin Inventory Item API Routes](https://docs.medusajs.com/v1/api/admin#inventory-items). */ public inventoryItems = new AdminInventoryItemsResource(this.client) /** - * An instance of {@link AdminNotesResource} used to send requests to [Admin Note API Routes](https://docs.medusajs.com/api/admin#notes). + * An instance of {@link AdminNotesResource} used to send requests to [Admin Note API Routes](https://docs.medusajs.com/v1/api/admin#notes). */ public notes = new AdminNotesResource(this.client) /** - * An instance of {@link AdminPriceListResource} used to send requests to [Admin Price List API Routes](https://docs.medusajs.com/api/admin#price-lists). + * An instance of {@link AdminPriceListResource} used to send requests to [Admin Price List API Routes](https://docs.medusajs.com/v1/api/admin#price-lists). */ public priceLists = new AdminPriceListResource(this.client) /** - * An instance of {@link AdminProductsResource} used to send requests to [Admin Product API Routes](https://docs.medusajs.com/api/admin#products). + * An instance of {@link AdminProductsResource} used to send requests to [Admin Product API Routes](https://docs.medusajs.com/v1/api/admin#products). */ public products = new AdminProductsResource(this.client) /** - * An instance of {@link AdminProductTagsResource} used to send requests to [Admin Product Tag API Routes](https://docs.medusajs.com/api/admin#product-tags). + * An instance of {@link AdminProductTagsResource} used to send requests to [Admin Product Tag API Routes](https://docs.medusajs.com/v1/api/admin#product-tags). */ public productTags = new AdminProductTagsResource(this.client) /** - * An instance of {@link AdminProductTypesResource} used to send requests to [Admin Product Type API Routes](https://docs.medusajs.com/api/admin#product-types). + * An instance of {@link AdminProductTypesResource} used to send requests to [Admin Product Type API Routes](https://docs.medusajs.com/v1/api/admin#product-types). */ public productTypes = new AdminProductTypesResource(this.client) /** - * An instance of {@link AdminUsersResource} used to send requests to [Admin User API Routes](https://docs.medusajs.com/api/admin#users). + * An instance of {@link AdminUsersResource} used to send requests to [Admin User API Routes](https://docs.medusajs.com/v1/api/admin#users). */ public users = new AdminUsersResource(this.client) /** - * An instance of {@link AdminReturnsResource} used to send requests to [Admin Return API Routes](https://docs.medusajs.com/api/admin#returns). + * An instance of {@link AdminReturnsResource} used to send requests to [Admin Return API Routes](https://docs.medusajs.com/v1/api/admin#returns). */ public returns = new AdminReturnsResource(this.client) /** - * An instance of {@link AdminOrdersResource} used to send requests to [Admin Order API Routes](https://docs.medusajs.com/api/admin#orders). + * An instance of {@link AdminOrdersResource} used to send requests to [Admin Order API Routes](https://docs.medusajs.com/v1/api/admin#orders). */ public orders = new AdminOrdersResource(this.client) /** - * An instance of {@link AdminOrderEditsResource} used to send requests to [Admin Order Edit API Routes](https://docs.medusajs.com/api/admin#order-edits). + * An instance of {@link AdminOrderEditsResource} used to send requests to [Admin Order Edit API Routes](https://docs.medusajs.com/v1/api/admin#order-edits). */ public orderEdits = new AdminOrderEditsResource(this.client) /** - * An instance of {@link AdminPublishableApiKeyResource} used to send requests to [Admin Publishable API Key API Routes](https://docs.medusajs.com/api/admin#publishable-api-keys). + * An instance of {@link AdminPublishableApiKeyResource} used to send requests to [Admin Publishable API Key API Routes](https://docs.medusajs.com/v1/api/admin#publishable-api-keys). */ public publishableApiKeys = new AdminPublishableApiKeyResource(this.client) /** - * An instance of {@link AdminReturnReasonsResource} used to send requests to [Admin Return Reason API Routes](https://docs.medusajs.com/api/admin#return-reasons). + * An instance of {@link AdminReturnReasonsResource} used to send requests to [Admin Return Reason API Routes](https://docs.medusajs.com/v1/api/admin#return-reasons). */ public returnReasons = new AdminReturnReasonsResource(this.client) /** - * @props variants - An instance of {@link AdminVariantsResource} used to send requests to [Admin Product Variant API Routes](https://docs.medusajs.com/api/admin#product-variants). + * @props variants - An instance of {@link AdminVariantsResource} used to send requests to [Admin Product Variant API Routes](https://docs.medusajs.com/v1/api/admin#product-variants). */ public variants = new AdminVariantsResource(this.client) /** - * An instance of {@link AdminSalesChannelsResource} used to send requests to [Admin Sales Channel API Routes](https://docs.medusajs.com/api/admin#sales-channels). + * An instance of {@link AdminSalesChannelsResource} used to send requests to [Admin Sales Channel API Routes](https://docs.medusajs.com/v1/api/admin#sales-channels). */ public salesChannels = new AdminSalesChannelsResource(this.client) /** - * An instance of {@link AdminSwapsResource} used to send requests to [Admin Swap API Routes](https://docs.medusajs.com/api/admin#swaps). + * An instance of {@link AdminSwapsResource} used to send requests to [Admin Swap API Routes](https://docs.medusajs.com/v1/api/admin#swaps). */ public swaps = new AdminSwapsResource(this.client) /** - * An instance of {@link AdminShippingProfilesResource} used to send requests to [Admin Shipping Profile API Routes](https://docs.medusajs.com/api/admin#shipping-profiles). + * An instance of {@link AdminShippingProfilesResource} used to send requests to [Admin Shipping Profile API Routes](https://docs.medusajs.com/v1/api/admin#shipping-profiles). */ public shippingProfiles = new AdminShippingProfilesResource(this.client) /** - * An instance of {@link AdminStockLocationsResource} used to send requests to [Admin Stock Location API Routes](https://docs.medusajs.com/api/admin#stock-locations). + * An instance of {@link AdminStockLocationsResource} used to send requests to [Admin Stock Location API Routes](https://docs.medusajs.com/v1/api/admin#stock-locations). */ public stockLocations = new AdminStockLocationsResource(this.client) /** - * An instance of {@link AdminStoresResource} used to send requests to [Admin Store API Routes](https://docs.medusajs.com/api/admin#store). + * An instance of {@link AdminStoresResource} used to send requests to [Admin Store API Routes](https://docs.medusajs.com/v1/api/admin#store). */ public store = new AdminStoresResource(this.client) /** - * An instance of {@link AdminShippingOptionsResource} used to send requests to [Admin Shipping Option API Routes](https://docs.medusajs.com/api/admin#shipping-options). + * An instance of {@link AdminShippingOptionsResource} used to send requests to [Admin Shipping Option API Routes](https://docs.medusajs.com/v1/api/admin#shipping-options). */ public shippingOptions = new AdminShippingOptionsResource(this.client) /** - * An instance of {@link AdminRegionsResource} used to send requests to [Admin Region API Routes](https://docs.medusajs.com/api/admin#regions). + * An instance of {@link AdminRegionsResource} used to send requests to [Admin Region API Routes](https://docs.medusajs.com/v1/api/admin#regions). */ public regions = new AdminRegionsResource(this.client) /** - * An instance of {@link AdminReservationsResource} used to send requests to [Admin Reservation API Routes](https://docs.medusajs.com/api/admin#reservations). + * An instance of {@link AdminReservationsResource} used to send requests to [Admin Reservation API Routes](https://docs.medusajs.com/v1/api/admin#reservations). */ public reservations = new AdminReservationsResource(this.client) /** - * An instance of {@link AdminNotificationsResource} used to send requests to [Admin Notification API Routes](https://docs.medusajs.com/api/admin#notifications). + * An instance of {@link AdminNotificationsResource} used to send requests to [Admin Notification API Routes](https://docs.medusajs.com/v1/api/admin#notifications). */ public notifications = new AdminNotificationsResource(this.client) /** - * An instance of {@link AdminTaxRatesResource} used to send requests to [Admin Tax Rate API Routes](https://docs.medusajs.com/api/admin#tax-rates). + * An instance of {@link AdminTaxRatesResource} used to send requests to [Admin Tax Rate API Routes](https://docs.medusajs.com/v1/api/admin#tax-rates). */ public taxRates = new AdminTaxRatesResource(this.client) /** - * An instance of {@link AdminUploadsResource} used to send requests to [Admin Upload API Routes](https://docs.medusajs.com/api/admin#uploads). + * An instance of {@link AdminUploadsResource} used to send requests to [Admin Upload API Routes](https://docs.medusajs.com/v1/api/admin#uploads). */ public uploads = new AdminUploadsResource(this.client) /** - * An instance of {@link AdminPaymentCollectionsResource} used to send requests to [Admin Payment Collection API Routes](https://docs.medusajs.com/api/admin#payment-collections). + * An instance of {@link AdminPaymentCollectionsResource} used to send requests to [Admin Payment Collection API Routes](https://docs.medusajs.com/v1/api/admin#payment-collections). */ public paymentCollections = new AdminPaymentCollectionsResource(this.client) /** - * An instance of {@link AdminPaymentsResource} used to send requests to [Admin Payment API Routes](https://docs.medusajs.com/api/admin#payments). + * An instance of {@link AdminPaymentsResource} used to send requests to [Admin Payment API Routes](https://docs.medusajs.com/v1/api/admin#payments). */ public payments = new AdminPaymentsResource(this.client) /** - * An instance of {@link AdminProductCategoriesResource} used to send requests to [Admin Product Category API Routes](https://docs.medusajs.com/api/admin#product-categories). + * An instance of {@link AdminProductCategoriesResource} used to send requests to [Admin Product Category API Routes](https://docs.medusajs.com/v1/api/admin#product-categories). */ public productCategories = new AdminProductCategoriesResource(this.client) /** diff --git a/packages/medusa-js/src/resources/admin/inventory-item.ts b/packages/medusa-js/src/resources/admin/inventory-item.ts index c58bc19fb0c95..db6d6e8cb29d4 100644 --- a/packages/medusa-js/src/resources/admin/inventory-item.ts +++ b/packages/medusa-js/src/resources/admin/inventory-item.ts @@ -21,15 +21,15 @@ import { AdminPostInventoryItemsInventoryItemParams } from "@medusajs/medusa" import { AdminPostInventoryItemsItemLocationLevelsLevelParams } from "@medusajs/medusa" /** - * This class is used to send requests to [Admin Inventory Item API Routes](https://docs.medusajs.com/api/admin#inventory-items). To use these API Routes, make sure to install the - * [@medusajs/inventory](https://docs.medusajs.com/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. All its method + * This class is used to send requests to [Admin Inventory Item API Routes](https://docs.medusajs.com/v1/api/admin#inventory-items). To use these API Routes, make sure to install the + * [@medusajs/inventory](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. All its method * are available in the JS Client under the `medusa.admin.inventoryItems` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. * - * Inventory items, provided by the [Inventory Module](https://docs.medusajs.com/modules/multiwarehouse/inventory-module), can be used to manage the inventory of saleable items in your store. + * Inventory items, provided by the [Inventory Module](https://docs.medusajs.com/v1/modules/multiwarehouse/inventory-module), can be used to manage the inventory of saleable items in your store. * - * Related Guide: [How to manage inventory items](https://docs.medusajs.com/modules/multiwarehouse/admin/manage-inventory-items). + * Related Guide: [How to manage inventory items](https://docs.medusajs.com/v1/modules/multiwarehouse/admin/manage-inventory-items). */ class AdminInventoryItemsResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/invites.ts b/packages/medusa-js/src/resources/admin/invites.ts index 0dde3303d0948..773015b186e1a 100644 --- a/packages/medusa-js/src/resources/admin/invites.ts +++ b/packages/medusa-js/src/resources/admin/invites.ts @@ -7,14 +7,14 @@ import { AdminPostInvitesPayload, ResponsePromise } from "../.." import BaseResource from "../base" /** - * This class is used to send requests to [Admin Invite API Routes](https://docs.medusajs.com/api/admin#invites). All its method + * This class is used to send requests to [Admin Invite API Routes](https://docs.medusajs.com/v1/api/admin#invites). All its method * are available in the JS Client under the `medusa.admin.invites` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. * * An admin can invite new users to manage their team. This would allow new users to authenticate as admins and perform admin functionalities. * - * Related Guide: [How to manage invites](https://docs.medusajs.com/modules/users/admin/manage-invites). + * Related Guide: [How to manage invites](https://docs.medusajs.com/v1/modules/users/admin/manage-invites). */ class AdminInvitesResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/notes.ts b/packages/medusa-js/src/resources/admin/notes.ts index fdbc75772db50..ca1d1f0e9405f 100644 --- a/packages/medusa-js/src/resources/admin/notes.ts +++ b/packages/medusa-js/src/resources/admin/notes.ts @@ -11,7 +11,7 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Note API Routes](https://docs.medusajs.com/api/admin#notes). All its method + * This class is used to send requests to [Admin Note API Routes](https://docs.medusajs.com/v1/api/admin#notes). All its method * are available in the JS Client under the `medusa.admin.notes` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. diff --git a/packages/medusa-js/src/resources/admin/notifications.ts b/packages/medusa-js/src/resources/admin/notifications.ts index 23038c658eaa4..909fad3ab5818 100644 --- a/packages/medusa-js/src/resources/admin/notifications.ts +++ b/packages/medusa-js/src/resources/admin/notifications.ts @@ -9,7 +9,7 @@ import { ResponsePromise } from "../.." import BaseResource from "../base" /** - * This class is used to send requests to [Admin Notification API Routes](https://docs.medusajs.com/api/admin#notifications). All its method + * This class is used to send requests to [Admin Notification API Routes](https://docs.medusajs.com/v1/api/admin#notifications). All its method * are available in the JS Client under the `medusa.admin.notifications` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. diff --git a/packages/medusa-js/src/resources/admin/order-edits.ts b/packages/medusa-js/src/resources/admin/order-edits.ts index 7e9d675aab882..e2af5b669aa59 100644 --- a/packages/medusa-js/src/resources/admin/order-edits.ts +++ b/packages/medusa-js/src/resources/admin/order-edits.ts @@ -15,14 +15,14 @@ import BaseResource from "../base" import qs from "qs" /** - * This class is used to send requests to [Admin Order Edit API Routes](https://docs.medusajs.com/api/admin#order-edits). All its method + * This class is used to send requests to [Admin Order Edit API Routes](https://docs.medusajs.com/v1/api/admin#order-edits). All its method * are available in the JS Client under the `medusa.admin.orderEdits` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. * * An admin can edit an order to remove, add, or update an item's quantity. When an admin edits an order, they're stored as an `OrderEdit`. * - * Related Guide: [How to edit an order](https://docs.medusajs.com/modules/orders/admin/edit-order). + * Related Guide: [How to edit an order](https://docs.medusajs.com/v1/modules/orders/admin/edit-order). */ class AdminOrderEditsResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/orders.ts b/packages/medusa-js/src/resources/admin/orders.ts index 3bb36506da563..3fe13f1a80858 100644 --- a/packages/medusa-js/src/resources/admin/orders.ts +++ b/packages/medusa-js/src/resources/admin/orders.ts @@ -22,7 +22,7 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Order API Routes](https://docs.medusajs.com/api/admin#orders). All its method + * This class is used to send requests to [Admin Order API Routes](https://docs.medusajs.com/v1/api/admin#orders). All its method * are available in the JS Client under the `medusa.admin.orders` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. @@ -30,7 +30,7 @@ import BaseResource from "../base" * Orders are purchases made by customers, typically through a storefront using {@link CartsResource}. Draft orders created by the admin are also transformed to an Order once the payment is captured. * Managing orders include managing fulfillment, payment, claims, reservations, and more. * - * Related Guide: [How to manage orders](https://docs.medusajs.com/modules/orders/admin/manage-orders). + * Related Guide: [How to manage orders](https://docs.medusajs.com/v1/modules/orders/admin/manage-orders). */ class AdminOrdersResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/payment-collections.ts b/packages/medusa-js/src/resources/admin/payment-collections.ts index 68a406026203b..54cd34611ff5e 100644 --- a/packages/medusa-js/src/resources/admin/payment-collections.ts +++ b/packages/medusa-js/src/resources/admin/payment-collections.ts @@ -9,7 +9,7 @@ import BaseResource from "../base" import qs from "qs" /** - * This class is used to send requests to [Admin Payment Collection API Routes](https://docs.medusajs.com/api/admin#payment-collections). All its method + * This class is used to send requests to [Admin Payment Collection API Routes](https://docs.medusajs.com/v1/api/admin#payment-collections). All its method * are available in the JS Client under the `medusa.admin.paymentCollections` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. diff --git a/packages/medusa-js/src/resources/admin/payments.ts b/packages/medusa-js/src/resources/admin/payments.ts index 6acfe68a89c24..a231df3fe1ff8 100644 --- a/packages/medusa-js/src/resources/admin/payments.ts +++ b/packages/medusa-js/src/resources/admin/payments.ts @@ -9,7 +9,7 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Payment API Routes](https://docs.medusajs.com/api/admin#payments). All its method + * This class is used to send requests to [Admin Payment API Routes](https://docs.medusajs.com/v1/api/admin#payments). All its method * are available in the JS Client under the `medusa.admin.payments` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. diff --git a/packages/medusa-js/src/resources/admin/price-lists.ts b/packages/medusa-js/src/resources/admin/price-lists.ts index 4ed135b449145..248561f1f411f 100644 --- a/packages/medusa-js/src/resources/admin/price-lists.ts +++ b/packages/medusa-js/src/resources/admin/price-lists.ts @@ -19,14 +19,14 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Price List API Routes](https://docs.medusajs.com/api/admin#price-lists). All its method + * This class is used to send requests to [Admin Price List API Routes](https://docs.medusajs.com/v1/api/admin#price-lists). All its method * are available in the JS Client under the `medusa.admin.priceLists` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. * * A price list are special prices applied to products based on a set of conditions, such as customer group. * - * Related Guide: [How to manage price lists](https://docs.medusajs.com/modules/price-lists/admin/manage-price-lists). + * Related Guide: [How to manage price lists](https://docs.medusajs.com/v1/modules/price-lists/admin/manage-price-lists). */ class AdminPriceListResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/product-categories.ts b/packages/medusa-js/src/resources/admin/product-categories.ts index daad77449d3d3..7440375b955cf 100644 --- a/packages/medusa-js/src/resources/admin/product-categories.ts +++ b/packages/medusa-js/src/resources/admin/product-categories.ts @@ -15,14 +15,14 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Product Category API Routes](https://docs.medusajs.com/api/admin#product-categories). All its method + * This class is used to send requests to [Admin Product Category API Routes](https://docs.medusajs.com/v1/api/admin#product-categories). All its method * are available in the JS Client under the `medusa.admin.productCategories` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. * * Products can be categoriezed into categories. A product can be added into more than one category. * - * Related Guide: [How to manage product categories](https://docs.medusajs.com/modules/products/admin/manage-categories). + * Related Guide: [How to manage product categories](https://docs.medusajs.com/v1/modules/products/admin/manage-categories). * * @featureFlag product_categories */ diff --git a/packages/medusa-js/src/resources/admin/product-tags.ts b/packages/medusa-js/src/resources/admin/product-tags.ts index c4ef68b047e9e..5f7ed3a8715b1 100644 --- a/packages/medusa-js/src/resources/admin/product-tags.ts +++ b/packages/medusa-js/src/resources/admin/product-tags.ts @@ -7,7 +7,7 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Product Tag API Routes](https://docs.medusajs.com/api/admin#product-tags). All its method + * This class is used to send requests to [Admin Product Tag API Routes](https://docs.medusajs.com/v1/api/admin#product-tags). All its method * are available in the JS Client under the `medusa.admin.productTags` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. diff --git a/packages/medusa-js/src/resources/admin/product-types.ts b/packages/medusa-js/src/resources/admin/product-types.ts index 78463b47be268..f5d717ff5290b 100644 --- a/packages/medusa-js/src/resources/admin/product-types.ts +++ b/packages/medusa-js/src/resources/admin/product-types.ts @@ -7,7 +7,7 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Product Type API Routes](https://docs.medusajs.com/api/admin#product-types). All its method + * This class is used to send requests to [Admin Product Type API Routes](https://docs.medusajs.com/v1/api/admin#product-types). All its method * are available in the JS Client under the `medusa.admin.productTypes` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. diff --git a/packages/medusa-js/src/resources/admin/products.ts b/packages/medusa-js/src/resources/admin/products.ts index 7bca1c143bf27..2ffc8159a47d5 100644 --- a/packages/medusa-js/src/resources/admin/products.ts +++ b/packages/medusa-js/src/resources/admin/products.ts @@ -22,14 +22,14 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Product API Routes](https://docs.medusajs.com/api/admin#products). All its method + * This class is used to send requests to [Admin Product API Routes](https://docs.medusajs.com/v1/api/admin#products). All its method * are available in the JS Client under the `medusa.admin.products` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. * - * Products are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/modules/gift-cards/admin/manage-gift-cards#manage-gift-card-product) in a store. + * Products are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/v1/modules/gift-cards/admin/manage-gift-cards#manage-gift-card-product) in a store. * - * Related Guide: [How to manage products](https://docs.medusajs.com/modules/products/admin/manage-products). + * Related Guide: [How to manage products](https://docs.medusajs.com/v1/modules/products/admin/manage-products). */ class AdminProductsResource extends BaseResource { /** @@ -230,7 +230,7 @@ class AdminProductsResource extends BaseResource { /** * Set the metadata of a product. It can be any key-value pair, which allows adding custom data to a product. Learn about how you can update and delete the metadata attribute - * [here](https://docs.medusajs.com/development/entities/overview#metadata-attribute). + * [here](https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute). * @param {string} id - The product's ID. * @param {AdminPostProductsProductMetadataReq} payload - The metadata details to add, update, or delete. * @param {Record} customHeaders - Custom headers to attach to the request. diff --git a/packages/medusa-js/src/resources/admin/publishable-api-keys.ts b/packages/medusa-js/src/resources/admin/publishable-api-keys.ts index 0e2b33e89d3ec..37168cfc84b04 100644 --- a/packages/medusa-js/src/resources/admin/publishable-api-keys.ts +++ b/packages/medusa-js/src/resources/admin/publishable-api-keys.ts @@ -17,7 +17,7 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Publishable API Key API Routes](https://docs.medusajs.com/api/admin#publishable-api-keys). All its method + * This class is used to send requests to [Admin Publishable API Key API Routes](https://docs.medusajs.com/v1/api/admin#publishable-api-keys). All its method * are available in the JS Client under the `medusa.admin.publishableApiKeys` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. @@ -27,7 +27,7 @@ import BaseResource from "../base" * the sales channels are inferred from the key and only products associated with those sales channels are retrieved. * Admins can manage publishable API keys and their associated resources. Currently, only Sales Channels are supported as a resource. * - * Related Guide: [How to manage publishable API keys](https://docs.medusajs.com/development/publishable-api-keys/admin/manage-publishable-api-keys). + * Related Guide: [How to manage publishable API keys](https://docs.medusajs.com/v1/development/publishable-api-keys/admin/manage-publishable-api-keys). */ class AdminPublishableApiKeyResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/regions.ts b/packages/medusa-js/src/resources/admin/regions.ts index 006a623e6be12..486c2ff537121 100644 --- a/packages/medusa-js/src/resources/admin/regions.ts +++ b/packages/medusa-js/src/resources/admin/regions.ts @@ -16,7 +16,7 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Region API Routes](https://docs.medusajs.com/api/admin#regions). All its method + * This class is used to send requests to [Admin Region API Routes](https://docs.medusajs.com/v1/api/admin#regions). All its method * are available in the JS Client under the `medusa.admin.regions` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. @@ -24,7 +24,7 @@ import BaseResource from "../base" * Regions are different countries or geographical regions that the commerce store serves customers in. * Admins can manage these regions, their providers, and more. * - * Related Guide: [How to manage regions](https://docs.medusajs.com/modules/regions-and-currencies/admin/manage-regions). + * Related Guide: [How to manage regions](https://docs.medusajs.com/v1/modules/regions-and-currencies/admin/manage-regions). */ class AdminRegionsResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/reservations.ts b/packages/medusa-js/src/resources/admin/reservations.ts index 27fc674a4a6a9..f3e350d9bc4ec 100644 --- a/packages/medusa-js/src/resources/admin/reservations.ts +++ b/packages/medusa-js/src/resources/admin/reservations.ts @@ -11,16 +11,16 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Reservation API Routes](https://docs.medusajs.com/api/admin#reservations). To use these API Routes, make sure to install the - * [@medusajs/inventory](https://docs.medusajs.com/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. + * This class is used to send requests to [Admin Reservation API Routes](https://docs.medusajs.com/v1/api/admin#reservations). To use these API Routes, make sure to install the + * [@medusajs/inventory](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. The methods * are available in the JS Client under the `medusa.admin.reservations` property. * - * Reservations, provided by the [Inventory Module](https://docs.medusajs.com/modules/multiwarehouse/inventory-module), are quantities of an item that are reserved, typically when an order is placed but not yet fulfilled. + * Reservations, provided by the [Inventory Module](https://docs.medusajs.com/v1/modules/multiwarehouse/inventory-module), are quantities of an item that are reserved, typically when an order is placed but not yet fulfilled. * Reservations can be associated with any resources, but commonly with line items of an order. * - * Related Guide: [How to manage item allocations in orders](https://docs.medusajs.com/modules/multiwarehouse/admin/manage-item-allocations-in-orders). + * Related Guide: [How to manage item allocations in orders](https://docs.medusajs.com/v1/modules/multiwarehouse/admin/manage-item-allocations-in-orders). */ class AdminReservationsResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/return-reasons.ts b/packages/medusa-js/src/resources/admin/return-reasons.ts index ea965209a23e1..49a35d0ab8773 100644 --- a/packages/medusa-js/src/resources/admin/return-reasons.ts +++ b/packages/medusa-js/src/resources/admin/return-reasons.ts @@ -9,7 +9,7 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Return Reason API Routes](https://docs.medusajs.com/api/admin#return-reasons). All its method + * This class is used to send requests to [Admin Return Reason API Routes](https://docs.medusajs.com/v1/api/admin#return-reasons). All its method * are available in the JS Client under the `medusa.admin.returnReasons` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. @@ -17,7 +17,7 @@ import BaseResource from "../base" * Return reasons are key-value pairs that are used to specify why an order return is being created. * Admins can manage available return reasons, and they can be used by both admins and customers when creating a return. * - * Related Guide: [How to manage return reasons](https://docs.medusajs.com/modules/orders/admin/manage-returns#manage-return-reasons). + * Related Guide: [How to manage return reasons](https://docs.medusajs.com/v1/modules/orders/admin/manage-returns#manage-return-reasons). */ class AdminReturnReasonsResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/returns.ts b/packages/medusa-js/src/resources/admin/returns.ts index 97c2d31cb3918..da8cb7e71532f 100644 --- a/packages/medusa-js/src/resources/admin/returns.ts +++ b/packages/medusa-js/src/resources/admin/returns.ts @@ -10,7 +10,7 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Return API Routes](https://docs.medusajs.com/api/admin#returns). All its method + * This class is used to send requests to [Admin Return API Routes](https://docs.medusajs.com/v1/api/admin#returns). All its method * are available in the JS Client under the `medusa.admin.returns` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. @@ -18,7 +18,7 @@ import BaseResource from "../base" * A return can be created by a customer or an admin to return items in an order. * Admins can manage these returns and change their state. * - * Related Guide: [How to manage returns](https://docs.medusajs.com/modules/orders/admin/manage-returns). + * Related Guide: [How to manage returns](https://docs.medusajs.com/v1/modules/orders/admin/manage-returns). */ class AdminReturnsResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/sales-channels.ts b/packages/medusa-js/src/resources/admin/sales-channels.ts index a904744c2d469..4e0c4f215cb9d 100644 --- a/packages/medusa-js/src/resources/admin/sales-channels.ts +++ b/packages/medusa-js/src/resources/admin/sales-channels.ts @@ -15,7 +15,7 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Sales Channel API Routes](https://docs.medusajs.com/api/admin#sales-channels). All its method + * This class is used to send requests to [Admin Sales Channel API Routes](https://docs.medusajs.com/v1/api/admin#sales-channels). All its method * are available in the JS Client under the `medusa.admin.salesChannels` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. @@ -23,7 +23,7 @@ import BaseResource from "../base" * A sales channel indicates a channel where products can be sold in. For example, a webshop or a mobile app. * Admins can manage sales channels and the products available in them. * - * Related Guide: [How to manage sales channels](https://docs.medusajs.com/modules/sales-channels/admin/manage). + * Related Guide: [How to manage sales channels](https://docs.medusajs.com/v1/modules/sales-channels/admin/manage). */ class AdminSalesChannelsResource extends BaseResource { /** @@ -252,7 +252,7 @@ class AdminSalesChannelsResource extends BaseResource { /** * Associate a stock location with a sales channel. It requires the - * [@medusajs/stock-location](https://docs.medusajs.com/modules/multiwarehouse/install-modules#stock-location-module) module to be installed in + * [@medusajs/stock-location](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#stock-location-module) module to be installed in * your Medusa backend. * @param {string} salesChannelId - The sales channel's ID. * @param {AdminPostSalesChannelsChannelStockLocationsReq} payload - The stock location to associate with the sales channel. diff --git a/packages/medusa-js/src/resources/admin/shipping-options.ts b/packages/medusa-js/src/resources/admin/shipping-options.ts index bdcf14419a176..19d0b463c2ca5 100644 --- a/packages/medusa-js/src/resources/admin/shipping-options.ts +++ b/packages/medusa-js/src/resources/admin/shipping-options.ts @@ -11,7 +11,7 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Shipping Option API Routes](https://docs.medusajs.com/api/admin#shipping-options). All its method + * This class is used to send requests to [Admin Shipping Option API Routes](https://docs.medusajs.com/v1/api/admin#shipping-options). All its method * are available in the JS Client under the `medusa.admin.shippingOptions` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. @@ -19,7 +19,7 @@ import BaseResource from "../base" * A shipping option is used to define the available shipping methods during checkout or when creating a return. * Admins can create an unlimited number of shipping options, each associated with a shipping profile and fulfillment provider, among other resources. * - * Related Guide: [Shipping Option architecture](https://docs.medusajs.com/modules/carts-and-checkout/shipping#shipping-option). + * Related Guide: [Shipping Option architecture](https://docs.medusajs.com/v1/modules/carts-and-checkout/shipping#shipping-option). */ class AdminShippingOptionsResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/shipping-profiles.ts b/packages/medusa-js/src/resources/admin/shipping-profiles.ts index 3ada7ce428890..af9f13c269763 100644 --- a/packages/medusa-js/src/resources/admin/shipping-profiles.ts +++ b/packages/medusa-js/src/resources/admin/shipping-profiles.ts @@ -9,7 +9,7 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Shipping Profile API Routes](https://docs.medusajs.com/api/admin#shipping-profiles). All its method + * This class is used to send requests to [Admin Shipping Profile API Routes](https://docs.medusajs.com/v1/api/admin#shipping-profiles). All its method * are available in the JS Client under the `medusa.admin.shippingProfiles` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. @@ -17,7 +17,7 @@ import BaseResource from "../base" * A shipping profile is used to group products that can be shipped in the same manner. * They are created by the admin and they're not associated with a fulfillment provider. * - * Related Guide: [Shipping Profile architecture](https://docs.medusajs.com/modules/carts-and-checkout/shipping#shipping-profile). + * Related Guide: [Shipping Profile architecture](https://docs.medusajs.com/v1/modules/carts-and-checkout/shipping#shipping-profile). */ class AdminShippingProfilesResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/stock-locations.ts b/packages/medusa-js/src/resources/admin/stock-locations.ts index eee0b389ccdd2..14b184f5ad73b 100644 --- a/packages/medusa-js/src/resources/admin/stock-locations.ts +++ b/packages/medusa-js/src/resources/admin/stock-locations.ts @@ -11,16 +11,16 @@ import BaseResource from "../base" import qs from "qs" /** - * This class is used to send requests to [Admin Stock Location API Routes](https://docs.medusajs.com/api/admin#stock-locations). To use these API Routes, make sure to install the - * [@medusajs/stock-location](https://docs.medusajs.com/modules/multiwarehouse/install-modules#stock-location-module) module in your Medusa backend. + * This class is used to send requests to [Admin Stock Location API Routes](https://docs.medusajs.com/v1/api/admin#stock-locations). To use these API Routes, make sure to install the + * [@medusajs/stock-location](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#stock-location-module) module in your Medusa backend. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. The methods * are available in the JS Client under the `medusa.admin.stockLocations` property. * - * A stock location, provided by the [Stock Location module](https://docs.medusajs.com/modules/multiwarehouse/stock-location-module), indicates a physical address that stock-kept items, such as physical products, can be stored in. + * A stock location, provided by the [Stock Location module](https://docs.medusajs.com/v1/modules/multiwarehouse/stock-location-module), indicates a physical address that stock-kept items, such as physical products, can be stored in. * An admin can create and manage available stock locations. * - * Related Guide: [How to manage stock locations](https://docs.medusajs.com/modules/multiwarehouse/admin/manage-stock-locations). + * Related Guide: [How to manage stock locations](https://docs.medusajs.com/v1/modules/multiwarehouse/admin/manage-stock-locations). */ class AdminStockLocationsResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/store.ts b/packages/medusa-js/src/resources/admin/store.ts index 2c0f554432304..c979ed6827677 100644 --- a/packages/medusa-js/src/resources/admin/store.ts +++ b/packages/medusa-js/src/resources/admin/store.ts @@ -9,7 +9,7 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Store API Routes](https://docs.medusajs.com/api/admin#store). All its method + * This class is used to send requests to [Admin Store API Routes](https://docs.medusajs.com/v1/api/admin#store). All its method * are available in the JS Client under the `medusa.admin.store` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. @@ -45,7 +45,7 @@ class AdminStoresResource extends BaseResource { /** * Add a currency code to the available currencies in a store. This doesn't create new currencies, as currencies are defined within the Medusa backend. - * To create a currency, you can [create a migration](https://docs.medusajs.com/development/entities/migrations/create) that inserts the currency into the database. + * To create a currency, you can [create a migration](https://docs.medusajs.com/v1/development/entities/migrations/create) that inserts the currency into the database. * @param {string} currency_code - The code of the currency to add to the store. * @param {Record} customHeaders - Custom headers to attach to the request. * @returns {ResponsePromise} Resolves to the store's details. diff --git a/packages/medusa-js/src/resources/admin/swaps.ts b/packages/medusa-js/src/resources/admin/swaps.ts index a5df4550555f4..a9bfb2cd924a4 100644 --- a/packages/medusa-js/src/resources/admin/swaps.ts +++ b/packages/medusa-js/src/resources/admin/swaps.ts @@ -8,7 +8,7 @@ import { ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Swap API Routes](https://docs.medusajs.com/api/admin#swaps). All its method + * This class is used to send requests to [Admin Swap API Routes](https://docs.medusajs.com/v1/api/admin#swaps). All its method * are available in the JS Client under the `medusa.admin.swaps` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. @@ -16,7 +16,7 @@ import BaseResource from "../base" * A swap is created by a customer or an admin to exchange an item with a new one. * Creating a swap implicitely includes creating a return for the item being exchanged. * - * Related Guide: [How to manage swaps](https://docs.medusajs.com/modules/orders/admin/manage-swaps) + * Related Guide: [How to manage swaps](https://docs.medusajs.com/v1/modules/orders/admin/manage-swaps) */ class AdminSwapsResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/tax-rates.ts b/packages/medusa-js/src/resources/admin/tax-rates.ts index 66d54126efc9e..b19dea268b0da 100644 --- a/packages/medusa-js/src/resources/admin/tax-rates.ts +++ b/packages/medusa-js/src/resources/admin/tax-rates.ts @@ -25,14 +25,14 @@ import { AdminPostTaxRatesParams } from "@medusajs/medusa" import { AdminPostTaxRatesTaxRateParams } from "@medusajs/medusa" /** - * This class is used to send requests to [Admin Tax Rate API Routes](https://docs.medusajs.com/api/admin#tax-rates). All its method + * This class is used to send requests to [Admin Tax Rate API Routes](https://docs.medusajs.com/v1/api/admin#tax-rates). All its method * are available in the JS Client under the `medusa.admin.taxRates` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. * * Each region has at least a default tax rate. Admins can create and manage additional tax rates that can be applied for certain conditions, such as for specific product types. * - * Related Guide: [How to manage tax rates](https://docs.medusajs.com/modules/taxes/admin/manage-tax-rates). + * Related Guide: [How to manage tax rates](https://docs.medusajs.com/v1/modules/taxes/admin/manage-tax-rates). */ class AdminTaxRatesResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/uploads.ts b/packages/medusa-js/src/resources/admin/uploads.ts index 6e2517ac69f38..30801d4d7e388 100644 --- a/packages/medusa-js/src/resources/admin/uploads.ts +++ b/packages/medusa-js/src/resources/admin/uploads.ts @@ -9,14 +9,14 @@ import { AdminCreateUploadPayload, ResponsePromise } from "../../typings" import BaseResource from "../base" /** - * This class is used to send requests to [Admin Upload API Routes](https://docs.medusajs.com/api/admin#uploads). All its method + * This class is used to send requests to [Admin Upload API Routes](https://docs.medusajs.com/v1/api/admin#uploads). All its method * are available in the JS Client under the `medusa.admin.uploads` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. * * The methods in this class are used to upload any type of resources. For example, they can be used to upload CSV files that are used to import products into the store. * - * Related Guide: [How to upload CSV file when importing a product](https://docs.medusajs.com/modules/products/admin/import-products#1-upload-csv-file). + * Related Guide: [How to upload CSV file when importing a product](https://docs.medusajs.com/v1/modules/products/admin/import-products#1-upload-csv-file). */ class AdminUploadsResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/users.ts b/packages/medusa-js/src/resources/admin/users.ts index 9918bb044a81b..a3870e6873ef7 100644 --- a/packages/medusa-js/src/resources/admin/users.ts +++ b/packages/medusa-js/src/resources/admin/users.ts @@ -15,14 +15,14 @@ import { import BaseResource from "../base" /** - * This class is used to send requests to [Admin User API Routes](https://docs.medusajs.com/api/admin#users). All its method + * This class is used to send requests to [Admin User API Routes](https://docs.medusajs.com/v1/api/admin#users). All its method * are available in the JS Client under the `medusa.admin.users` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. * * A store can have more than one user, each having the same privileges. Admins can manage users, their passwords, and more. * - * Related Guide: [How to manage users](https://docs.medusajs.com/modules/users/admin/manage-users). + * Related Guide: [How to manage users](https://docs.medusajs.com/v1/modules/users/admin/manage-users). */ class AdminUsersResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/admin/variants.ts b/packages/medusa-js/src/resources/admin/variants.ts index 77a9d28af4e1d..d90f8f5f064c1 100644 --- a/packages/medusa-js/src/resources/admin/variants.ts +++ b/packages/medusa-js/src/resources/admin/variants.ts @@ -10,7 +10,7 @@ import { ResponsePromise } from "../.." import BaseResource from "../base" /** - * This class is used to send requests to [Admin Product Variant API Routes](https://docs.medusajs.com/api/admin#product-variants). All its method + * This class is used to send requests to [Admin Product Variant API Routes](https://docs.medusajs.com/v1/api/admin#product-variants). All its method * are available in the JS Client under the `medusa.admin.variants` property. * * All methods in this class require {@link AdminAuthResource.createSession | user authentication}. @@ -18,7 +18,7 @@ import BaseResource from "../base" * Product variants are the actual salable item in your store. Each variant is a combination of the different option values available on the product. * Product variants can be managed through {@link AdminProductsResource}. * - * Related Guide: [How to manage product variants](https://docs.medusajs.com/modules/products/admin/manage-products#manage-product-variants). + * Related Guide: [How to manage product variants](https://docs.medusajs.com/v1/modules/products/admin/manage-products#manage-product-variants). */ class AdminVariantsResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/auth.ts b/packages/medusa-js/src/resources/auth.ts index 0f381e553c666..641a996f9a707 100644 --- a/packages/medusa-js/src/resources/auth.ts +++ b/packages/medusa-js/src/resources/auth.ts @@ -9,7 +9,7 @@ import JwtTokenManager from "../jwt-token-manager" import BaseResource from "./base" /** - * This class is used to send requests to [Store Auth API Routes](https://docs.medusajs.com/api/store#auth). All its method + * This class is used to send requests to [Store Auth API Routes](https://docs.medusajs.com/v1/api/store#auth). All its method * are available in the JS Client under the `medusa.auth` property. * * The methods in this class allows you to manage a customer's session, such as login or log out. @@ -17,7 +17,7 @@ import BaseResource from "./base" * When you log the customer in using the {@link authenticate} method, the JS client will automatically attach the * cookie header in all subsequent requests. * - * Related Guide: [How to implement customer profiles in your storefront](https://docs.medusajs.com/modules/customers/storefront/implement-customer-profiles). + * Related Guide: [How to implement customer profiles in your storefront](https://docs.medusajs.com/v1/modules/customers/storefront/implement-customer-profiles). */ class AuthResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/carts.ts b/packages/medusa-js/src/resources/carts.ts index 4cd8766abf1c3..c29f46f236f1c 100644 --- a/packages/medusa-js/src/resources/carts.ts +++ b/packages/medusa-js/src/resources/carts.ts @@ -12,17 +12,17 @@ import BaseResource from "./base" import LineItemsResource from "./line-items" /** - * This class is used to send requests to [Store Cart API Routes](https://docs.medusajs.com/api/store#carts). All its method + * This class is used to send requests to [Store Cart API Routes](https://docs.medusajs.com/v1/api/store#carts). All its method * are available in the JS Client under the `medusa.carts` property. * * A cart is a virtual shopping bag that customers can use to add items they want to purchase. * A cart is then used to checkout and place an order. * - * Related Guide: [How to implement cart functionality in your storefront](https://docs.medusajs.com/modules/carts-and-checkout/storefront/implement-cart). + * Related Guide: [How to implement cart functionality in your storefront](https://docs.medusajs.com/v1/modules/carts-and-checkout/storefront/implement-cart). */ class CartsResource extends BaseResource { /** - * An instance of {@link LineItemsResource} used to send requests to line-item-related routes part of the [Store Cart API Routes](https://docs.medusajs.com/api/store#carts). + * An instance of {@link LineItemsResource} used to send requests to line-item-related routes part of the [Store Cart API Routes](https://docs.medusajs.com/v1/api/store#carts). */ public lineItems = new LineItemsResource(this.client) diff --git a/packages/medusa-js/src/resources/collections.ts b/packages/medusa-js/src/resources/collections.ts index f4fbcc9705987..a74ff6dfb7905 100644 --- a/packages/medusa-js/src/resources/collections.ts +++ b/packages/medusa-js/src/resources/collections.ts @@ -8,7 +8,7 @@ import { ResponsePromise } from "../typings" import BaseResource from "./base" /** - * This class is used to send requests to [Store Product Collection API Routes](https://docs.medusajs.com/api/store#product-collections). All its method + * This class is used to send requests to [Store Product Collection API Routes](https://docs.medusajs.com/v1/api/store#product-collections). All its method * are available in the JS Client under the `medusa.collections` property. * * A product collection is used to organize products for different purposes such as marketing or discount purposes. For example, you can create a Summer Collection. diff --git a/packages/medusa-js/src/resources/customers.ts b/packages/medusa-js/src/resources/customers.ts index ce5e8ba8db42e..3f7788e285d03 100644 --- a/packages/medusa-js/src/resources/customers.ts +++ b/packages/medusa-js/src/resources/customers.ts @@ -14,20 +14,20 @@ import BaseResource from "./base" import PaymentMethodsResource from "./payment-methods" /** - * This class is used to send requests to [Store Customer API Routes](https://docs.medusajs.com/api/store#customers_postcustomers). All its method + * This class is used to send requests to [Store Customer API Routes](https://docs.medusajs.com/v1/api/store#customers_postcustomers). All its method * are available in the JS Client under the `medusa.customers` property. * * A customer can register and manage their information such as addresses, orders, payment methods, and more. * - * Related Guide: [How to implement customer profiles in your storefront](https://docs.medusajs.com/modules/customers/storefront/implement-customer-profiles). + * Related Guide: [How to implement customer profiles in your storefront](https://docs.medusajs.com/v1/modules/customers/storefront/implement-customer-profiles). */ class CustomerResource extends BaseResource { /** - * An instance of {@link PaymentMethodsResource} used to send requests to payment-related routes part of the [Store Customer API Routes](https://docs.medusajs.com/api/store#customers_postcustomers). + * An instance of {@link PaymentMethodsResource} used to send requests to payment-related routes part of the [Store Customer API Routes](https://docs.medusajs.com/v1/api/store#customers_postcustomers). */ public paymentMethods = new PaymentMethodsResource(this.client) /** - * An instance of {@link AddressesResource} used to send requests to address-related routes part of the [Store Customer API Routes](https://docs.medusajs.com/api/store#customers_postcustomers). + * An instance of {@link AddressesResource} used to send requests to address-related routes part of the [Store Customer API Routes](https://docs.medusajs.com/v1/api/store#customers_postcustomers). */ public addresses = new AddressesResource(this.client) diff --git a/packages/medusa-js/src/resources/gift-cards.ts b/packages/medusa-js/src/resources/gift-cards.ts index 37a3b3f2799e5..597bc04bb4349 100644 --- a/packages/medusa-js/src/resources/gift-cards.ts +++ b/packages/medusa-js/src/resources/gift-cards.ts @@ -3,13 +3,13 @@ import { ResponsePromise } from "../typings" import BaseResource from "./base" /** - * This class is used to send requests to [Store Gift Card API Routes](https://docs.medusajs.com/api/store#gift-cards). All its method + * This class is used to send requests to [Store Gift Card API Routes](https://docs.medusajs.com/v1/api/store#gift-cards). All its method * are available in the JS Client under the `medusa.giftCards` property. * * Customers can use gift cards during checkout to deduct the gift card's balance from the checkout total. * The methods in this class allow retrieving a gift card's details by its code. A gift card can be applied to a cart using {@link CartsResource}. * - * Related Guide: [How to use gift cards in a storefront](https://docs.medusajs.com/modules/gift-cards/storefront/use-gift-cards). + * Related Guide: [How to use gift cards in a storefront](https://docs.medusajs.com/v1/modules/gift-cards/storefront/use-gift-cards). */ class GiftCardsResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/line-items.ts b/packages/medusa-js/src/resources/line-items.ts index afc639554c60a..0b9f0b5c52c2f 100644 --- a/packages/medusa-js/src/resources/line-items.ts +++ b/packages/medusa-js/src/resources/line-items.ts @@ -7,7 +7,7 @@ import { ResponsePromise } from "../typings" import BaseResource from "./base" /** - * This class is used to send requests to Line Item API Routes part of the [Store Cart API Routes](https://docs.medusajs.com/api/store#carts). All its method + * This class is used to send requests to Line Item API Routes part of the [Store Cart API Routes](https://docs.medusajs.com/v1/api/store#carts). All its method * are available in the JS Client under the `medusa.carts.lineItems` property. */ class LineItemsResource extends BaseResource { diff --git a/packages/medusa-js/src/resources/order-edits.ts b/packages/medusa-js/src/resources/order-edits.ts index cca61fbc6e888..449ba184e19a5 100644 --- a/packages/medusa-js/src/resources/order-edits.ts +++ b/packages/medusa-js/src/resources/order-edits.ts @@ -6,13 +6,13 @@ import { ResponsePromise } from "../typings" import BaseResource from "./base" /** - * This class is used to send requests to [Store Order Edits API Routes](https://docs.medusajs.com/api/store#order-edits). All its method + * This class is used to send requests to [Store Order Edits API Routes](https://docs.medusajs.com/v1/api/store#order-edits). All its method * are available in the JS Client under the `medusa.orderEdits` property. * * Order edits are changes made to items in an order such as adding, updating their quantity, or deleting them. Order edits are created by the admin. * A customer can review order edit requests created by an admin and confirm or decline them. * - * Related Guide: [How to handle order edits in a storefront](https://docs.medusajs.com/modules/orders/storefront/handle-order-edits). + * Related Guide: [How to handle order edits in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/handle-order-edits). */ class OrderEditsResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/orders.ts b/packages/medusa-js/src/resources/orders.ts index 475379349ec20..2b4cad8870c7f 100644 --- a/packages/medusa-js/src/resources/orders.ts +++ b/packages/medusa-js/src/resources/orders.ts @@ -9,13 +9,13 @@ import { ResponsePromise } from "../typings" import BaseResource from "./base" /** - * This class is used to send requests to [Store Order API Routes](https://docs.medusajs.com/api/store#orders). All its method + * This class is used to send requests to [Store Order API Routes](https://docs.medusajs.com/v1/api/store#orders). All its method * are available in the JS Client under the `medusa.orders` property. * * Orders are purchases made by customers, typically through a storefront. * Orders are placed and created using {@link CartsResource}. The methods in this class allow retrieving and claiming orders. * - * Related Guide: [How to retrieve order details in a storefront](https://docs.medusajs.com/modules/orders/storefront/retrieve-order-details). + * Related Guide: [How to retrieve order details in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/retrieve-order-details). */ class OrdersResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/payment-collections.ts b/packages/medusa-js/src/resources/payment-collections.ts index a831860c823a2..f8b08483da5a2 100644 --- a/packages/medusa-js/src/resources/payment-collections.ts +++ b/packages/medusa-js/src/resources/payment-collections.ts @@ -11,7 +11,7 @@ import BaseResource from "./base" import qs from "qs" /** - * This class is used to send requests to [Store Payment Collection API Routes](https://docs.medusajs.com/api/store#payment-collections). All its method + * This class is used to send requests to [Store Payment Collection API Routes](https://docs.medusajs.com/v1/api/store#payment-collections). All its method * are available in the JS Client under the `medusa.paymentCollections` property. * * A payment collection is useful for managing additional payments, such as for Order Edits, or installment payments. diff --git a/packages/medusa-js/src/resources/payment-methods.ts b/packages/medusa-js/src/resources/payment-methods.ts index 0af972903c12e..0d582442e0938 100644 --- a/packages/medusa-js/src/resources/payment-methods.ts +++ b/packages/medusa-js/src/resources/payment-methods.ts @@ -3,7 +3,7 @@ import { ResponsePromise } from "../typings" import BaseResource from "./base" /** - * This class is used to send requests to Payment Method API Routes part of the [Store Customer API Routes](https://docs.medusajs.com/api/store#customers_postcustomers). All its method + * This class is used to send requests to Payment Method API Routes part of the [Store Customer API Routes](https://docs.medusajs.com/v1/api/store#customers_postcustomers). All its method * are available in the JS Client under the `medusa.customers.paymentMethods` property. * * All methods in this class require {@link AuthResource.authenticate | customer authentication}. diff --git a/packages/medusa-js/src/resources/product-categories.ts b/packages/medusa-js/src/resources/product-categories.ts index d09cfbe0a907d..837e2666a2a9f 100644 --- a/packages/medusa-js/src/resources/product-categories.ts +++ b/packages/medusa-js/src/resources/product-categories.ts @@ -9,13 +9,13 @@ import { ResponsePromise } from "../typings" import BaseResource from "./base" /** - * This class is used to send requests to [Store Product Category API Routes](https://docs.medusajs.com/api/store#product-categories_getproductcategories). All its method + * This class is used to send requests to [Store Product Category API Routes](https://docs.medusajs.com/v1/api/store#product-categories_getproductcategories). All its method * are available in the JS Client under the `medusa.productCategories` property. * * Products can be categoriezed into categories. A product can be associated more than one category. * Using the methods in this class, you can list or retrieve a category's details and products. * - * Related Guide: [How to use product categories in a storefront](https://docs.medusajs.com/modules/products/storefront/use-categories). + * Related Guide: [How to use product categories in a storefront](https://docs.medusajs.com/v1/modules/products/storefront/use-categories). * * @featureFlag product_categories */ diff --git a/packages/medusa-js/src/resources/product-tags.ts b/packages/medusa-js/src/resources/product-tags.ts index 7b9fde8a5f1d7..80225337ea927 100644 --- a/packages/medusa-js/src/resources/product-tags.ts +++ b/packages/medusa-js/src/resources/product-tags.ts @@ -7,7 +7,7 @@ import { ResponsePromise } from "../typings" import BaseResource from "./base" /** - * This class is used to send requests to [Store Product Tag API Routes](https://docs.medusajs.com/api/store#product-tags). All its method + * This class is used to send requests to [Store Product Tag API Routes](https://docs.medusajs.com/v1/api/store#product-tags). All its method * are available in the JS Client under the `medusa.productTags` property. * * Product tags are string values that can be used to filter products by. diff --git a/packages/medusa-js/src/resources/product-types.ts b/packages/medusa-js/src/resources/product-types.ts index aab30f9e5e384..872b377fab780 100644 --- a/packages/medusa-js/src/resources/product-types.ts +++ b/packages/medusa-js/src/resources/product-types.ts @@ -7,7 +7,7 @@ import { ResponsePromise } from "../typings" import BaseResource from "./base" /** - * This class is used to send requests to [Store Product Type API Routes](https://docs.medusajs.com/api/store#product-types). All its method + * This class is used to send requests to [Store Product Type API Routes](https://docs.medusajs.com/v1/api/store#product-types). All its method * are available in the JS Client under the `medusa.productTypes` property. * * Product types are string values that can be used to filter products by. diff --git a/packages/medusa-js/src/resources/product-variants.ts b/packages/medusa-js/src/resources/product-variants.ts index 373cc46509fd7..88c4dc4597bde 100644 --- a/packages/medusa-js/src/resources/product-variants.ts +++ b/packages/medusa-js/src/resources/product-variants.ts @@ -8,7 +8,7 @@ import { ResponsePromise } from "../typings" import BaseResource from "./base" /** - * This class is used to send requests to [Store Product Variant API Routes](https://docs.medusajs.com/api/store#product-variants). All its method + * This class is used to send requests to [Store Product Variant API Routes](https://docs.medusajs.com/v1/api/store#product-variants). All its method * are available in the JS Client under the `medusa.product.variants` property. * * Product variants are the actual salable item in your store. Each variant is a combination of the different option values available on the product. diff --git a/packages/medusa-js/src/resources/products.ts b/packages/medusa-js/src/resources/products.ts index 16b706af4a4d0..2c17667b048d0 100644 --- a/packages/medusa-js/src/resources/products.ts +++ b/packages/medusa-js/src/resources/products.ts @@ -11,17 +11,17 @@ import BaseResource from "./base" import ProductVariantsResource from "./product-variants" /** - * This class is used to send requests to [Store Product API Routes](https://docs.medusajs.com/api/store#products). All its method + * This class is used to send requests to [Store Product API Routes](https://docs.medusajs.com/v1/api/store#products). All its method * are available in the JS Client under the `medusa.products` property. * - * Products are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/modules/gift-cards/storefront/use-gift-cards) in a store. + * Products are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/v1/modules/gift-cards/storefront/use-gift-cards) in a store. * Using the methods in this class, you can filter products by categories, collections, sales channels, and more. * - * Related Guide: [How to show products in a storefront](https://docs.medusajs.com/modules/products/storefront/show-products). + * Related Guide: [How to show products in a storefront](https://docs.medusajs.com/v1/modules/products/storefront/show-products). */ class ProductsResource extends BaseResource { /** - * An instance of {@link ProductVariantsResource} used to send requests to [Store Product Variant API Routes](https://docs.medusajs.com/api/store#product-variants_getvariants). + * An instance of {@link ProductVariantsResource} used to send requests to [Store Product Variant API Routes](https://docs.medusajs.com/v1/api/store#product-variants_getvariants). */ public variants = new ProductVariantsResource(this.client) diff --git a/packages/medusa-js/src/resources/regions.ts b/packages/medusa-js/src/resources/regions.ts index d723646e0b651..8f0a1a4d6fb51 100644 --- a/packages/medusa-js/src/resources/regions.ts +++ b/packages/medusa-js/src/resources/regions.ts @@ -3,13 +3,13 @@ import { StoreRegionsListRes, StoreRegionsRes } from "@medusajs/medusa" import BaseResource from "./base" /** - * This class is used to send requests to [Store Region API Routes](https://docs.medusajs.com/api/store#regions_getregions). All its method + * This class is used to send requests to [Store Region API Routes](https://docs.medusajs.com/v1/api/store#regions_getregions). All its method * are available in the JS Client under the `medusa.regions` property. * * Regions are different countries or geographical regions that the commerce store serves customers in. * Customers can choose what region they're in, which can be used to change the prices shown based on the region and its currency. * - * Related Guide: [How to use regions in a storefront](https://docs.medusajs.com/modules/regions-and-currencies/storefront/use-regions). + * Related Guide: [How to use regions in a storefront](https://docs.medusajs.com/v1/modules/regions-and-currencies/storefront/use-regions). */ class RegionsResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/return-reasons.ts b/packages/medusa-js/src/resources/return-reasons.ts index 5e61ef157c31f..41e4365bcf5b3 100644 --- a/packages/medusa-js/src/resources/return-reasons.ts +++ b/packages/medusa-js/src/resources/return-reasons.ts @@ -6,7 +6,7 @@ import { import { ResponsePromise } from "../typings" /** - * This class is used to send requests to [Store Return Reason API Routes](https://docs.medusajs.com/api/store#return-reasons). All its method + * This class is used to send requests to [Store Return Reason API Routes](https://docs.medusajs.com/v1/api/store#return-reasons). All its method * are available in the JS Client under the `medusa.returnReasons` property. * * Return reasons are key-value pairs that are used to specify why an order return is being created. diff --git a/packages/medusa-js/src/resources/returns.ts b/packages/medusa-js/src/resources/returns.ts index cbd4a05db9cbe..60819afe42edd 100644 --- a/packages/medusa-js/src/resources/returns.ts +++ b/packages/medusa-js/src/resources/returns.ts @@ -3,12 +3,12 @@ import { ResponsePromise } from "../typings" import { StoreReturnsRes, StorePostReturnsReq } from "@medusajs/medusa" /** - * This class is used to send requests to [Store Return API Routes](https://docs.medusajs.com/api/store#returns). All its method + * This class is used to send requests to [Store Return API Routes](https://docs.medusajs.com/v1/api/store#returns). All its method * are available in the JS Client under the `medusa.returns` property. * * A return can be created by a customer to return items in an order. * - * Related Guide: [How to create a return in a storefront](https://docs.medusajs.com/modules/orders/storefront/create-return). + * Related Guide: [How to create a return in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/create-return). */ class ReturnsResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/shipping-options.ts b/packages/medusa-js/src/resources/shipping-options.ts index d3d6631db906d..91b51485d5dc1 100644 --- a/packages/medusa-js/src/resources/shipping-options.ts +++ b/packages/medusa-js/src/resources/shipping-options.ts @@ -7,12 +7,12 @@ import { ResponsePromise } from "../typings" import BaseResource from "./base" /** - * This class is used to send requests to [Store Shipping Option API Routes](https://docs.medusajs.com/api/store#shipping-options). All its method + * This class is used to send requests to [Store Shipping Option API Routes](https://docs.medusajs.com/v1/api/store#shipping-options). All its method * are available in the JS Client under the `medusa.shippingOptions` property. * * A shipping option is used to define the available shipping methods during checkout or when creating a return. * - * Related Guide: [Shipping Option architecture](https://docs.medusajs.com/modules/carts-and-checkout/shipping#shipping-option). + * Related Guide: [Shipping Option architecture](https://docs.medusajs.com/v1/modules/carts-and-checkout/shipping#shipping-option). */ class ShippingOptionsResource extends BaseResource { /** diff --git a/packages/medusa-js/src/resources/swaps.ts b/packages/medusa-js/src/resources/swaps.ts index a6a140a1013bb..ada9e03643e72 100644 --- a/packages/medusa-js/src/resources/swaps.ts +++ b/packages/medusa-js/src/resources/swaps.ts @@ -3,13 +3,13 @@ import { StoreSwapsRes, StorePostSwapsReq } from "@medusajs/medusa" import BaseResource from "./base" /** - * This class is used to send requests to [Store Swap API Routes](https://docs.medusajs.com/api/store#swaps). All its method + * This class is used to send requests to [Store Swap API Routes](https://docs.medusajs.com/v1/api/store#swaps). All its method * are available in the JS Client under the `medusa.swaps` property. * * A swap is created by a customer or an admin to exchange an item with a new one. * Creating a swap implicitely includes creating a return for the item being exchanged. * - * Related Guide: [How to create a swap in a storefront](https://docs.medusajs.com/modules/orders/storefront/create-swap) + * Related Guide: [How to create a swap in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/create-swap) */ class SwapsResource extends BaseResource { /** diff --git a/packages/medusa-payment-adyen/README.md b/packages/medusa-payment-adyen/README.md index d7996b9bccc51..f7135a634b404 100644 --- a/packages/medusa-payment-adyen/README.md +++ b/packages/medusa-payment-adyen/README.md @@ -17,7 +17,7 @@ Receive payments on your Medusa commerce application using Adyen. ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) - [Adyen account](https://www.adyen.com) --- @@ -74,6 +74,6 @@ Receive payments on your Medusa commerce application using Adyen. npm run start ``` -2\. Enable Adyen in a region in the admin. You can refer to [this User Guide](https://docs.medusajs.com/user-guide/regions/providers) to learn how to do that. Alternatively, you can use the [Admin APIs](https://docs.medusajs.com/api/admin#tag/Region/operation/PostRegionsRegion). +2\. Enable Adyen in a region in the admin. You can refer to [this User Guide](https://docs.medusajs.com/v1/user-guide/regions/providers) to learn how to do that. Alternatively, you can use the [Admin APIs](https://docs.medusajs.com/v1/api/admin#tag/Region/operation/PostRegionsRegion). -3\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/api/store). You should be able to use Stripe as a payment method. \ No newline at end of file +3\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/v1/api/store). You should be able to use Stripe as a payment method. \ No newline at end of file diff --git a/packages/medusa-payment-klarna/README.md b/packages/medusa-payment-klarna/README.md index 16c05dc3f13c8..68d04b37a4e42 100644 --- a/packages/medusa-payment-klarna/README.md +++ b/packages/medusa-payment-klarna/README.md @@ -2,7 +2,7 @@ Receive payments on your Medusa commerce application using Klarna. -[Klarna Plugin Documentation](https://docs.medusajs.com/plugins/payment/klarna) | [Medusa Website](https://medusajs.com/) | [Medusa Repository](https://github.com/medusajs/medusa) +[Klarna Plugin Documentation](https://docs.medusajs.com/v1/plugins/payment/klarna) | [Medusa Website](https://medusajs.com/) | [Medusa Repository](https://github.com/medusajs/medusa) ## Features @@ -14,7 +14,7 @@ Receive payments on your Medusa commerce application using Klarna. ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) - [Klarna account](https://www.klarna.com/) --- @@ -73,12 +73,12 @@ Receive payments on your Medusa commerce application using Klarna. npm run start ``` -2\. Enable Klarna in a region in the admin. You can refer to [this User Guide](https://docs.medusajs.com/user-guide/regions/providers) to learn how to do that. Alternatively, you can use the [Admin APIs](https://docs.medusajs.com/api/admin#tag/Region/operation/PostRegionsRegion). +2\. Enable Klarna in a region in the admin. You can refer to [this User Guide](https://docs.medusajs.com/v1/user-guide/regions/providers) to learn how to do that. Alternatively, you can use the [Admin APIs](https://docs.medusajs.com/v1/api/admin#tag/Region/operation/PostRegionsRegion). -3\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/api/store). You should be able to use Stripe as a payment method. +3\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/v1/api/store). You should be able to use Stripe as a payment method. --- ## Additional Resources -- [Klarna Plugin Documentation](https://docs.medusajs.com/plugins/payment/klarna) \ No newline at end of file +- [Klarna Plugin Documentation](https://docs.medusajs.com/v1/plugins/payment/klarna) \ No newline at end of file diff --git a/packages/medusa-payment-manual/README.md b/packages/medusa-payment-manual/README.md index aa0503e792b3b..cc4fdcadb2290 100644 --- a/packages/medusa-payment-manual/README.md +++ b/packages/medusa-payment-manual/README.md @@ -12,7 +12,7 @@ A minimal payment provider that allows merchants to handle payments manually. ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) --- @@ -43,6 +43,6 @@ A minimal payment provider that allows merchants to handle payments manually. npm run start ``` -2\. Enable the payment provider in a region in the admin. You can refer to [this User Guide](https://docs.medusajs.com/user-guide/regions/providers) to learn how to do that. Alternatively, you can use the [Admin APIs](https://docs.medusajs.com/api/admin#tag/Region/operation/PostRegionsRegion). +2\. Enable the payment provider in a region in the admin. You can refer to [this User Guide](https://docs.medusajs.com/v1/user-guide/regions/providers) to learn how to do that. Alternatively, you can use the [Admin APIs](https://docs.medusajs.com/v1/api/admin#tag/Region/operation/PostRegionsRegion). -3\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/api/store). You should be able to use Stripe as a payment method. +3\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/v1/api/store). You should be able to use Stripe as a payment method. diff --git a/packages/medusa-payment-paypal/README.md b/packages/medusa-payment-paypal/README.md index c11adde8600fe..b9986b663e31b 100644 --- a/packages/medusa-payment-paypal/README.md +++ b/packages/medusa-payment-paypal/README.md @@ -2,21 +2,21 @@ Receive payments on your Medusa commerce application using PayPal. -[PayPal Plugin Documentation](https://docs.medusajs.com/plugins/payment/paypal) | [Medusa Website](https://medusajs.com/) | [Medusa Repository](https://github.com/medusajs/medusa) +[PayPal Plugin Documentation](https://docs.medusajs.com/v1/plugins/payment/paypal) | [Medusa Website](https://medusajs.com/) | [Medusa Repository](https://github.com/medusajs/medusa) ## Features - Authorize payments on orders from any sales channel. - Capture payments from the admin dashboard. - View payment analytics through PayPal's dashboard. -- Ready-integration with [Medusa's Next.js starter storefront](https://docs.medusajs.com/starters/nextjs-medusa-starter). +- Ready-integration with [Medusa's Next.js starter storefront](https://docs.medusajs.com/v1/starters/nextjs-medusa-starter). - Support for Webhooks. --- ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) - [PayPal account](https://www.paypal.com) --- @@ -65,12 +65,12 @@ Receive payments on your Medusa commerce application using PayPal. npm run start ``` -2\. Enable PayPal in a region in the admin. You can refer to [this User Guide](https://docs.medusajs.com/user-guide/regions/providers) to learn how to do that. Alternatively, you can use the [Admin APIs](https://docs.medusajs.com/api/admin#tag/Region/operation/PostRegionsRegion). +2\. Enable PayPal in a region in the admin. You can refer to [this User Guide](https://docs.medusajs.com/v1/user-guide/regions/providers) to learn how to do that. Alternatively, you can use the [Admin APIs](https://docs.medusajs.com/v1/api/admin#tag/Region/operation/PostRegionsRegion). -3\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/api/store). You should be able to use Stripe as a payment method. +3\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/v1/api/store). You should be able to use Stripe as a payment method. --- ## Additional Resources -- [PayPal Plugin Documentation](https://docs.medusajs.com/plugins/payment/paypal) +- [PayPal Plugin Documentation](https://docs.medusajs.com/v1/plugins/payment/paypal) diff --git a/packages/medusa-payment-stripe/README.md b/packages/medusa-payment-stripe/README.md index f39a8be46ba23..3796ebcedf902 100644 --- a/packages/medusa-payment-stripe/README.md +++ b/packages/medusa-payment-stripe/README.md @@ -2,7 +2,7 @@ Receive payments on your Medusa commerce application using Stripe. -[Stripe Plugin Documentation](https://docs.medusajs.com/plugins/payment/stripe) | [Medusa Website](https://medusajs.com/) | [Medusa Repository](https://github.com/medusajs/medusa) +[Stripe Plugin Documentation](https://docs.medusajs.com/v1/plugins/payment/stripe) | [Medusa Website](https://medusajs.com/) | [Medusa Repository](https://github.com/medusajs/medusa) ## Features @@ -10,14 +10,14 @@ Receive payments on your Medusa commerce application using Stripe. - Support for Bancontact, BLIK, giropay, iDEAL, and Przelewy24. - Capture payments from the admin dashboard. - View payment analytics through Stripe's dashboard. -- Ready-integration with [Medusa's Next.js starter storefront](https://docs.medusajs.com/starters/nextjs-medusa-starter). +- Ready-integration with [Medusa's Next.js starter storefront](https://docs.medusajs.com/v1/starters/nextjs-medusa-starter). - Support for Stripe Webhooks. --- ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) - [Stripe account](https://stripe.com/) --- @@ -63,12 +63,12 @@ Receive payments on your Medusa commerce application using Stripe. npm run start ``` -2\. Enable Stripe in a region in the admin. You can refer to [this User Guide](https://docs.medusajs.com/user-guide/regions/providers) to learn how to do that. Alternatively, you can use the [Admin APIs](https://docs.medusajs.com/api/admin#tag/Region/operation/PostRegionsRegion). +2\. Enable Stripe in a region in the admin. You can refer to [this User Guide](https://docs.medusajs.com/v1/user-guide/regions/providers) to learn how to do that. Alternatively, you can use the [Admin APIs](https://docs.medusajs.com/v1/api/admin#tag/Region/operation/PostRegionsRegion). -3\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/api/store). You should be able to use Stripe as a payment method. +3\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/v1/api/store). You should be able to use Stripe as a payment method. --- ## Additional Resources -- [Stripe Plugin Documentation](https://docs.medusajs.com/plugins/payment/stripe) +- [Stripe Plugin Documentation](https://docs.medusajs.com/v1/plugins/payment/stripe) diff --git a/packages/medusa-plugin-algolia/README.md b/packages/medusa-plugin-algolia/README.md index a2536c6304d01..b73b11a149762 100644 --- a/packages/medusa-plugin-algolia/README.md +++ b/packages/medusa-plugin-algolia/README.md @@ -2,19 +2,19 @@ Provide powerful indexing and searching features in your commerce application with Algolia. -[Algolia Plugin Documentation](https://docs.medusajs.com/plugins/search/algolia) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) +[Algolia Plugin Documentation](https://docs.medusajs.com/v1/plugins/search/algolia) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) ## Features - Flexible configurations for specifying searchable and retrievable attributes. -- Ready-integration with [Medusa's Next.js starter storefront](https://docs.medusajs.com/starters/nextjs-medusa-starter). +- Ready-integration with [Medusa's Next.js starter storefront](https://docs.medusajs.com/v1/starters/nextjs-medusa-starter). - Utilize Algolia's powerful search functionalities including typo-tolerance, query suggestions, results ranking, and more. --- ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) - [Algolia account](https://www.algolia.com/) --- @@ -83,10 +83,10 @@ const plugins = [ npm run start ``` -2\. Try searching products either using your storefront or using the [Store APIs](https://docs.medusajs.com/api/store#tag/Product/operation/PostProductsSearch). +2\. Try searching products either using your storefront or using the [Store APIs](https://docs.medusajs.com/v1/api/store#tag/Product/operation/PostProductsSearch). --- ## Additional Resources -- [Algolia Plugin Documentation](https://docs.medusajs.com/plugins/search/algolia) +- [Algolia Plugin Documentation](https://docs.medusajs.com/v1/plugins/search/algolia) diff --git a/packages/medusa-plugin-brightpearl/README.md b/packages/medusa-plugin-brightpearl/README.md index 10c345a701795..235e309d7cddc 100644 --- a/packages/medusa-plugin-brightpearl/README.md +++ b/packages/medusa-plugin-brightpearl/README.md @@ -14,7 +14,7 @@ Manage and streamline your business processes using Brightpearl. ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) - [Brightpearl account](https://www.brightpearl.com) --- diff --git a/packages/medusa-plugin-contentful/README.md b/packages/medusa-plugin-contentful/README.md index b9875f88a6e02..dd892f2c71330 100644 --- a/packages/medusa-plugin-contentful/README.md +++ b/packages/medusa-plugin-contentful/README.md @@ -2,7 +2,7 @@ Manage the content of your storefront with rich Content Management System (CMS) capabilities using Contentful. -[Contentful Plugin Documentation](https://docs.medusajs.com/plugins/cms/contentful/) | [Medusa Website](https://medusajs.com/) | [Medusa Repository](https://github.com/medusajs/medusa) +[Contentful Plugin Documentation](https://docs.medusajs.com/v1/plugins/cms/contentful/) | [Medusa Website](https://medusajs.com/) | [Medusa Repository](https://github.com/medusajs/medusa) ## Features @@ -15,9 +15,9 @@ Manage the content of your storefront with rich Content Management System (CMS) ## Prerequisites - [Contentful account](https://www.contentful.com) -- [Medusa CLI Tool](https://docs.medusajs.com/cli/reference#how-to-install-cli-tool) -- [PostgreSQL](https://docs.medusajs.com/development/backend/prepare-environment#postgresql) -- [Redis](https://docs.medusajs.com/development/backend/prepare-environment#redis) +- [Medusa CLI Tool](https://docs.medusajs.com/v1/cli/reference#how-to-install-cli-tool) +- [PostgreSQL](https://docs.medusajs.com/v1/development/backend/prepare-environment#postgresql) +- [Redis](https://docs.medusajs.com/v1/development/backend/prepare-environment#redis) --- @@ -67,10 +67,10 @@ Manage the content of your storefront with rich Content Management System (CMS) npm run start ``` -2\. You can then setup the [Gatsby Contentful Storefront](https://docs.medusajs.com/plugins/cms/contentful/#setup-gatsby-storefront), or connect to Contentful from your own storefront to retrieve content data. +2\. You can then setup the [Gatsby Contentful Storefront](https://docs.medusajs.com/v1/plugins/cms/contentful/#setup-gatsby-storefront), or connect to Contentful from your own storefront to retrieve content data. --- ## Additional Resources -- [Contentful Plugin Documentation](https://docs.medusajs.com/plugins/cms/contentful/) +- [Contentful Plugin Documentation](https://docs.medusajs.com/v1/plugins/cms/contentful/) diff --git a/packages/medusa-plugin-discount-generator/README.md b/packages/medusa-plugin-discount-generator/README.md index 372f80df47fdf..c17a7a46d816d 100644 --- a/packages/medusa-plugin-discount-generator/README.md +++ b/packages/medusa-plugin-discount-generator/README.md @@ -13,7 +13,7 @@ Generate dynamic discount codes in your Medusa backend. ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) --- diff --git a/packages/medusa-plugin-economic/README.md b/packages/medusa-plugin-economic/README.md index 01f038973476c..2499b75f85ff1 100644 --- a/packages/medusa-plugin-economic/README.md +++ b/packages/medusa-plugin-economic/README.md @@ -15,9 +15,9 @@ Manage your commerce accounting with e-conomic. ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) - [Visma e-conomic account](https://www.e-conomic.com/developer/connect) -- [Redis](https://docs.medusajs.com/development/backend/prepare-environment#redis) +- [Redis](https://docs.medusajs.com/v1/development/backend/prepare-environment#redis) --- @@ -81,4 +81,4 @@ Manage your commerce accounting with e-conomic. npm run start ``` -2\. Try creating an order using the storefront or the [Store APIs](https://docs.medusajs.com/api/store#tag/Cart). Once the order is placed, a draft invoice will be created in e-conomic. +2\. Try creating an order using the storefront or the [Store APIs](https://docs.medusajs.com/v1/api/store#tag/Cart). Once the order is placed, a draft invoice will be created in e-conomic. diff --git a/packages/medusa-plugin-ip-lookup/README.md b/packages/medusa-plugin-ip-lookup/README.md index af08bd54eb8bf..4c8eb4a426448 100644 --- a/packages/medusa-plugin-ip-lookup/README.md +++ b/packages/medusa-plugin-ip-lookup/README.md @@ -14,7 +14,7 @@ Automatically detect the region and location of your customer using ipstack. ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) - [ipstack account](https://ipstack.com) --- diff --git a/packages/medusa-plugin-mailchimp/README.md b/packages/medusa-plugin-mailchimp/README.md index a38dfe8671cbe..86fca02c9ccd5 100644 --- a/packages/medusa-plugin-mailchimp/README.md +++ b/packages/medusa-plugin-mailchimp/README.md @@ -2,7 +2,7 @@ Manage newsletter subscriptions in your commerce application with Mailchimp. -[Mailchimp Plugin Documentation](https://docs.medusajs.com/plugins/notifications/mailchimp) | [Medusa Website](https://medusajs.com/) | [Medusa Repository](https://github.com/medusajs/medusa) +[Mailchimp Plugin Documentation](https://docs.medusajs.com/v1/plugins/notifications/mailchimp) | [Medusa Website](https://medusajs.com/) | [Medusa Repository](https://github.com/medusajs/medusa) ## Features @@ -13,7 +13,7 @@ Manage newsletter subscriptions in your commerce application with Mailchimp. ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) - [Mailchimp account](https://mailchimp.com/signup) --- @@ -64,4 +64,4 @@ npm run start ## Additional Resources -- [Mailchimp Plugin Documentation](https://docs.medusajs.com/plugins/notifications/mailchimp) +- [Mailchimp Plugin Documentation](https://docs.medusajs.com/v1/plugins/notifications/mailchimp) diff --git a/packages/medusa-plugin-meilisearch/README.md b/packages/medusa-plugin-meilisearch/README.md index 565d147422ea2..9afb8f78715e7 100644 --- a/packages/medusa-plugin-meilisearch/README.md +++ b/packages/medusa-plugin-meilisearch/README.md @@ -2,19 +2,19 @@ Provide powerful indexing and searching features in your commerce application with MeiliSearch. -[MeiliSearch Plugin Documentation](https://docs.medusajs.com/plugins/search/meilisearch) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) +[MeiliSearch Plugin Documentation](https://docs.medusajs.com/v1/plugins/search/meilisearch) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) ## Features - Flexible configurations for specifying searchable and retrievable attributes. -- Ready-integration with [Medusa's Next.js starter storefront](https://docs.medusajs.com/starters/nextjs-medusa-starter). +- Ready-integration with [Medusa's Next.js starter storefront](https://docs.medusajs.com/v1/starters/nextjs-medusa-starter). - Utilize MeiliSearch's powerful search functionalities including typo-tolerance, synonyms, filtering, and more. --- ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) - [MeiliSearch instance](https://docs.meilisearch.com/learn/getting_started/quick_start.html#setup-and-installation) --- @@ -84,10 +84,10 @@ Provide powerful indexing and searching features in your commerce application wi npm run start ``` -2\. Try searching products either using your storefront or using the [Store APIs](https://docs.medusajs.com/api/store#tag/Product/operation/PostProductsSearch). +2\. Try searching products either using your storefront or using the [Store APIs](https://docs.medusajs.com/v1/api/store#tag/Product/operation/PostProductsSearch). --- ## Additional Resources -- [MeiliSearch Plugin Documentation](https://docs.medusajs.com/plugins/search/meilisearch) +- [MeiliSearch Plugin Documentation](https://docs.medusajs.com/v1/plugins/search/meilisearch) diff --git a/packages/medusa-plugin-meilisearch/src/services/meilisearch.ts b/packages/medusa-plugin-meilisearch/src/services/meilisearch.ts index 7bc01b887cde1..a04c1d9accbb0 100644 --- a/packages/medusa-plugin-meilisearch/src/services/meilisearch.ts +++ b/packages/medusa-plugin-meilisearch/src/services/meilisearch.ts @@ -18,14 +18,14 @@ class MeiliSearchService extends SearchUtils.AbstractSearchService { if (process.env.NODE_ENV !== "development") { if (!options.config?.apiKey) { throw Error( - "Meilisearch API key is missing in plugin config. See https://docs.medusajs.com/add-plugins/meilisearch" + "Meilisearch API key is missing in plugin config. See https://docs.medusajs.com/v1/add-plugins/meilisearch" ) } } if (!options.config?.host) { throw Error( - "Meilisearch host is missing in plugin config. See https://docs.medusajs.com/add-plugins/meilisearch" + "Meilisearch host is missing in plugin config. See https://docs.medusajs.com/v1/add-plugins/meilisearch" ) } diff --git a/packages/medusa-plugin-restock-notification/README.md b/packages/medusa-plugin-restock-notification/README.md index e30444887d905..627cacc5197b7 100644 --- a/packages/medusa-plugin-restock-notification/README.md +++ b/packages/medusa-plugin-restock-notification/README.md @@ -8,15 +8,15 @@ Send notifications to subscribed customers when an item has been restocked. - Triggers an event when a product variant has been restocked. - Provides an endpoint to subscribe customers to receive restock notifications. -- Does not implement the email or notification sending mechanisms. Instead, it is compatible with Notification plugins such as [SendGrid](https://docs.medusajs.com/plugins/notifications/sendgrid). +- Does not implement the email or notification sending mechanisms. Instead, it is compatible with Notification plugins such as [SendGrid](https://docs.medusajs.com/v1/plugins/notifications/sendgrid). --- ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) -- [Redis](https://docs.medusajs.com/development/backend/prepare-environment#redis) -- [PostgreSQL](https://docs.medusajs.com/development/backend/prepare-environment#postgresql) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) +- [Redis](https://docs.medusajs.com/v1/development/backend/prepare-environment#redis) +- [PostgreSQL](https://docs.medusajs.com/v1/development/backend/prepare-environment#postgresql) --- diff --git a/packages/medusa-plugin-segment/README.md b/packages/medusa-plugin-segment/README.md index 315ecdbbfac37..b52c3a52eb30e 100644 --- a/packages/medusa-plugin-segment/README.md +++ b/packages/medusa-plugin-segment/README.md @@ -2,7 +2,7 @@ Track essential commerce analytics with Segment. -[Segment Plugin Documentation](https://docs.medusajs.com/plugins/analytics/segment) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) +[Segment Plugin Documentation](https://docs.medusajs.com/v1/plugins/analytics/segment) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) ## Features @@ -13,7 +13,7 @@ Track essential commerce analytics with Segment. ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) - [Segment account](https://app.segment.com/signup) --- @@ -56,10 +56,10 @@ Track essential commerce analytics with Segment. npm run start ``` -2\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/api/store). You should see the event tracked in Segment. +2\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/v1/api/store). You should see the event tracked in Segment. --- ## Additional Resources -- [Segment Plugin Documentation](https://docs.medusajs.com/plugins/analytics/segment) +- [Segment Plugin Documentation](https://docs.medusajs.com/v1/plugins/analytics/segment) diff --git a/packages/medusa-plugin-sendgrid/README.md b/packages/medusa-plugin-sendgrid/README.md index 6cde3c5aff615..fdb8aeacb1cb6 100644 --- a/packages/medusa-plugin-sendgrid/README.md +++ b/packages/medusa-plugin-sendgrid/README.md @@ -2,7 +2,7 @@ Handle sending emails to customers related to orders, restock notifications, users, or custom events. -[SendGrid Plugin Documentation](https://docs.medusajs.com/plugins/notifications/sendgrid) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) +[SendGrid Plugin Documentation](https://docs.medusajs.com/v1/plugins/notifications/sendgrid) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) ## Features @@ -14,7 +14,7 @@ Handle sending emails to customers related to orders, restock notifications, use ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) - [SendGrid account](https://signup.sendgrid.com/) --- @@ -69,10 +69,10 @@ Handle sending emails to customers related to orders, restock notifications, use npm run start ``` -2\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/api/store). You should receive a confirmation email. +2\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/v1/api/store). You should receive a confirmation email. --- ## Additional Resources -- [SendGrid Plugin Documentation](https://docs.medusajs.com/plugins/notifications/sendgrid) +- [SendGrid Plugin Documentation](https://docs.medusajs.com/v1/plugins/notifications/sendgrid) diff --git a/packages/medusa-plugin-slack-notification/README.md b/packages/medusa-plugin-slack-notification/README.md index 64ef9268e30ec..015fc725829b0 100644 --- a/packages/medusa-plugin-slack-notification/README.md +++ b/packages/medusa-plugin-slack-notification/README.md @@ -2,7 +2,7 @@ Receive new order notifications on Slack. -[Slack Plugin Documentation](https://docs.medusajs.com/plugins/notifications/slack) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) +[Slack Plugin Documentation](https://docs.medusajs.com/v1/plugins/notifications/slack) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) ## Features @@ -12,9 +12,9 @@ Receive new order notifications on Slack. ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) - [Slack account](https://slack.com) -- [Redis](https://docs.medusajs.com/development/backend/prepare-environment#redis) +- [Redis](https://docs.medusajs.com/v1/development/backend/prepare-environment#redis) --- @@ -59,10 +59,10 @@ Receive new order notifications on Slack. npm run start ``` -2\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/api/store). You should receive a notification on your Slack workspace. +2\. Place an order using a storefront or the [Store APIs](https://docs.medusajs.com/v1/api/store). You should receive a notification on your Slack workspace. --- ## Additional Resources -- [Slack Plugin Documentation](https://docs.medusajs.com/plugins/notifications/slack) +- [Slack Plugin Documentation](https://docs.medusajs.com/v1/plugins/notifications/slack) diff --git a/packages/medusa-plugin-twilio-sms/README.md b/packages/medusa-plugin-twilio-sms/README.md index be660416b66bd..8a6605f7d6928 100644 --- a/packages/medusa-plugin-twilio-sms/README.md +++ b/packages/medusa-plugin-twilio-sms/README.md @@ -2,7 +2,7 @@ Utilize Twilio's SMS APIs to send customers SMS notifications. -[Twilio SMS Plugin Documentation](https://docs.medusajs.com/plugins/notifications/twilio-sms) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) +[Twilio SMS Plugin Documentation](https://docs.medusajs.com/v1/plugins/notifications/twilio-sms) | [Medusa Website](https://medusajs.com) | [Medusa Repository](https://github.com/medusajs/medusa) ## Features @@ -12,7 +12,7 @@ Utilize Twilio's SMS APIs to send customers SMS notifications. ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) - [Twilio account](https://www.twilio.com/sms) --- @@ -59,4 +59,4 @@ In your code, use the `TwilioSmsService` where necessary to send your customers ## Additional Resources -- [Twilio SMS Plugin Documentation](https://docs.medusajs.com/plugins/notifications/twilio-sms) +- [Twilio SMS Plugin Documentation](https://docs.medusajs.com/v1/plugins/notifications/twilio-sms) diff --git a/packages/medusa-plugin-wishlist/README.md b/packages/medusa-plugin-wishlist/README.md index 15db673e3bc8f..eee5a0c819cd6 100644 --- a/packages/medusa-plugin-wishlist/README.md +++ b/packages/medusa-plugin-wishlist/README.md @@ -12,7 +12,7 @@ Add wishlist capabilities to your commerce application. ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) --- @@ -37,4 +37,4 @@ Add wishlist capabilities to your commerce application. ## Test the Plugin -Learn about testing the plugin in [the documentation](https://docs.medusajs.com/plugins/other/wishlist) +Learn about testing the plugin in [the documentation](https://docs.medusajs.com/v1/plugins/other/wishlist) diff --git a/packages/medusa-react/README.md b/packages/medusa-react/README.md index 62e88b9c86143..b9600ba424650 100644 --- a/packages/medusa-react/README.md +++ b/packages/medusa-react/README.md @@ -2,4 +2,4 @@ A React library providing a set of components, utilities, and hooks for interacting seamlessly with a Medusa backend and building custom React storefronts. -Learn how to install and use it in [this documentation](https://docs.medusajs.com/medusa-react/overview). +Learn how to install and use it in [this documentation](https://docs.medusajs.com/v1/medusa-react/overview). diff --git a/packages/medusa-react/src/contexts/cart.tsx b/packages/medusa-react/src/contexts/cart.tsx index 997a9d127f209..47b69dc7c8ea6 100644 --- a/packages/medusa-react/src/contexts/cart.tsx +++ b/packages/medusa-react/src/contexts/cart.tsx @@ -75,8 +75,8 @@ const CartContext = React.createContext(null) * * The context provides helper functions and mutations for managing the cart and checkout. You can refer to the following guides for examples on how to use them: * - * - [How to Add Cart Functionality](https://docs.medusajs.com/modules/carts-and-checkout/storefront/implement-cart) - * - [How to Implement Checkout Flow](https://docs.medusajs.com/modules/carts-and-checkout/storefront/implement-checkout-flow) + * - [How to Add Cart Functionality](https://docs.medusajs.com/v1/modules/carts-and-checkout/storefront/implement-cart) + * - [How to Implement Checkout Flow](https://docs.medusajs.com/v1/modules/carts-and-checkout/storefront/implement-checkout-flow) * * @example * ```tsx title="src/Cart.ts" diff --git a/packages/medusa-react/src/contexts/medusa.tsx b/packages/medusa-react/src/contexts/medusa.tsx index 3e09288cc6cb6..442fed99267ea 100644 --- a/packages/medusa-react/src/contexts/medusa.tsx +++ b/packages/medusa-react/src/contexts/medusa.tsx @@ -22,7 +22,7 @@ const MedusaContext = React.createContext(null) /** * This hook gives you access to context of {@link MedusaProvider}. It's useful if you want access to the - * [Medusa JS Client](https://docs.medusajs.com/js-client/overview). + * [Medusa JS Client](https://docs.medusajs.com/v1/js-client/overview). * * @example * import React from "react" @@ -78,13 +78,13 @@ export interface MedusaProviderProps { */ children: React.ReactNode /** - * API key used for authenticating admin requests. Follow [this guide](https://docs.medusajs.com/api/admin#authentication) to learn how to create an API key for an admin user. + * API key used for authenticating admin requests. Follow [this guide](https://docs.medusajs.com/v1/api/admin#authentication) to learn how to create an API key for an admin user. */ apiKey?: string /** * Publishable API key used for storefront requests. You can create a publishable API key either using the - * [admin APIs](https://docs.medusajs.com/development/publishable-api-keys/admin/manage-publishable-api-keys) or the - * [Medusa admin](https://docs.medusajs.com/user-guide/settings/publishable-api-keys#create-publishable-api-key). + * [admin APIs](https://docs.medusajs.com/v1/development/publishable-api-keys/admin/manage-publishable-api-keys) or the + * [Medusa admin](https://docs.medusajs.com/v1/user-guide/settings/publishable-api-keys#create-publishable-api-key). */ publishableApiKey?: string /** diff --git a/packages/medusa-react/src/hooks/admin/auth/index.ts b/packages/medusa-react/src/hooks/admin/auth/index.ts index d00d0b97d3ec8..6e33897c617c3 100644 --- a/packages/medusa-react/src/hooks/admin/auth/index.ts +++ b/packages/medusa-react/src/hooks/admin/auth/index.ts @@ -1,14 +1,14 @@ /** * @packageDocumentation * - * Queries and mutations listed here are used to send requests to the [Admin Auth API Routes](https://docs.medusajs.com/api/admin#auth_getauth). + * Queries and mutations listed here are used to send requests to the [Admin Auth API Routes](https://docs.medusajs.com/v1/api/admin#auth_getauth). * * They allow admin users to manage their session, such as login or log out. * You can send authenticated requests for an admin user either using the Cookie header, their API token, or the JWT Token. * When you log the admin user in using the {@link Hooks.Admin.Auth.useAdminLogin | user authentication} hook, Medusa React will automatically attach the * cookie header in all subsequent requests. * - * Related Guide: [How to implement user profiles](https://docs.medusajs.com/modules/users/admin/manage-profile). + * Related Guide: [How to implement user profiles](https://docs.medusajs.com/v1/modules/users/admin/manage-profile). * * @customNamespace Hooks.Admin.Auth */ diff --git a/packages/medusa-react/src/hooks/admin/batch-jobs/index.ts b/packages/medusa-react/src/hooks/admin/batch-jobs/index.ts index ccfb0ecde1bf5..d1d7d8fc07d5a 100644 --- a/packages/medusa-react/src/hooks/admin/batch-jobs/index.ts +++ b/packages/medusa-react/src/hooks/admin/batch-jobs/index.ts @@ -1,14 +1,14 @@ /** * @packageDocumentation * - * Queries and mutations listed here are used to send requests to the [Admin Batch Job API Routes](https://docs.medusajs.com/api/admin#batch-jobs). + * Queries and mutations listed here are used to send requests to the [Admin Batch Job API Routes](https://docs.medusajs.com/v1/api/admin#batch-jobs). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * A batch job is a task that is performed by the Medusa backend asynchronusly. For example, the Import Product feature is implemented using batch jobs. * The methods in this class allow admins to manage the batch jobs and their state. * - * Related Guide: [How to import products](https://docs.medusajs.com/modules/products/admin/import-products). + * Related Guide: [How to import products](https://docs.medusajs.com/v1/modules/products/admin/import-products). * * @customNamespace Hooks.Admin.Batch Jobs */ diff --git a/packages/medusa-react/src/hooks/admin/claims/index.ts b/packages/medusa-react/src/hooks/admin/claims/index.ts index f735b931a9207..bf8071e177b41 100644 --- a/packages/medusa-react/src/hooks/admin/claims/index.ts +++ b/packages/medusa-react/src/hooks/admin/claims/index.ts @@ -1,14 +1,14 @@ /** * @packageDocumentation * - * Mutations listed here are used to send requests to the [Admin Order API Routes related to claims](https://docs.medusajs.com/api/admin#orders). + * Mutations listed here are used to send requests to the [Admin Order API Routes related to claims](https://docs.medusajs.com/v1/api/admin#orders). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * A claim represents a return or replacement request of order items. It allows refunding the customer or replacing some or all of its * order items with new items. * - * Related Guide: [How to manage claims](https://docs.medusajs.com/modules/orders/admin/manage-claims). + * Related Guide: [How to manage claims](https://docs.medusajs.com/v1/modules/orders/admin/manage-claims). * * @customNamespace Hooks.Admin.Claims */ diff --git a/packages/medusa-react/src/hooks/admin/collections/index.ts b/packages/medusa-react/src/hooks/admin/collections/index.ts index e4266c2bc1a3b..eceba53ad4442 100644 --- a/packages/medusa-react/src/hooks/admin/collections/index.ts +++ b/packages/medusa-react/src/hooks/admin/collections/index.ts @@ -1,7 +1,7 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Product Collection API Routes](https://docs.medusajs.com/api/admin#product-collections). + * Queries and Mutations listed here are used to send requests to the [Admin Product Collection API Routes](https://docs.medusajs.com/v1/api/admin#product-collections). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * diff --git a/packages/medusa-react/src/hooks/admin/currencies/index.ts b/packages/medusa-react/src/hooks/admin/currencies/index.ts index 5242a3f4b0f4a..124d04363637f 100644 --- a/packages/medusa-react/src/hooks/admin/currencies/index.ts +++ b/packages/medusa-react/src/hooks/admin/currencies/index.ts @@ -1,14 +1,14 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Currency API Routes](https://docs.medusajs.com/api/admin#currencies). + * Queries and Mutations listed here are used to send requests to the [Admin Currency API Routes](https://docs.medusajs.com/v1/api/admin#currencies). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * A store can use unlimited currencies, and each region must be associated with at least one currency. * Currencies are defined within the Medusa backend. The methods in this class allow admins to list and update currencies. * - * Related Guide: [How to manage currencies](https://docs.medusajs.com/modules/regions-and-currencies/admin/manage-currencies). + * Related Guide: [How to manage currencies](https://docs.medusajs.com/v1/modules/regions-and-currencies/admin/manage-currencies). * * @customNamespace Hooks.Admin.Currencies */ diff --git a/packages/medusa-react/src/hooks/admin/customer-groups/index.ts b/packages/medusa-react/src/hooks/admin/customer-groups/index.ts index 09022b31c862d..0cfc67691aa03 100644 --- a/packages/medusa-react/src/hooks/admin/customer-groups/index.ts +++ b/packages/medusa-react/src/hooks/admin/customer-groups/index.ts @@ -1,14 +1,14 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Customer Group API Routes](https://docs.medusajs.com/api/admin#customer-groups). + * Queries and Mutations listed here are used to send requests to the [Admin Customer Group API Routes](https://docs.medusajs.com/v1/api/admin#customer-groups). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * Customer Groups can be used to organize customers that share similar data or attributes into dedicated groups. * This can be useful for different purposes such as setting a different price for a specific customer group. * - * Related Guide: [How to manage customer groups](https://docs.medusajs.com/modules/customers/admin/manage-customer-groups). + * Related Guide: [How to manage customer groups](https://docs.medusajs.com/v1/modules/customers/admin/manage-customer-groups). * * @customNamespace Hooks.Admin.Customer Groups */ diff --git a/packages/medusa-react/src/hooks/admin/customers/index.ts b/packages/medusa-react/src/hooks/admin/customers/index.ts index 91ed416ef11b4..c0979db010324 100644 --- a/packages/medusa-react/src/hooks/admin/customers/index.ts +++ b/packages/medusa-react/src/hooks/admin/customers/index.ts @@ -1,11 +1,11 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Customer API Routes](https://docs.medusajs.com/api/admin#customers). + * Queries and Mutations listed here are used to send requests to the [Admin Customer API Routes](https://docs.medusajs.com/v1/api/admin#customers). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * - * Related Guide: [How to manage customers](https://docs.medusajs.com/modules/customers/admin/manage-customers). + * Related Guide: [How to manage customers](https://docs.medusajs.com/v1/modules/customers/admin/manage-customers). * * @customNamespace Hooks.Admin.Customers */ diff --git a/packages/medusa-react/src/hooks/admin/discounts/index.ts b/packages/medusa-react/src/hooks/admin/discounts/index.ts index 4f50d4431a67a..d67523c7ce542 100644 --- a/packages/medusa-react/src/hooks/admin/discounts/index.ts +++ b/packages/medusa-react/src/hooks/admin/discounts/index.ts @@ -1,14 +1,14 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Discount API Routes](https://docs.medusajs.com/api/admin#discounts). + * Queries and Mutations listed here are used to send requests to the [Admin Discount API Routes](https://docs.medusajs.com/v1/api/admin#discounts). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * Admins can create discounts with conditions and rules, providing them with advanced settings for variety of cases. * The methods in this class can be used to manage discounts, their conditions, resources, and more. * - * Related Guide: [How to manage discounts](https://docs.medusajs.com/modules/discounts/admin/manage-discounts). + * Related Guide: [How to manage discounts](https://docs.medusajs.com/v1/modules/discounts/admin/manage-discounts). * * @customNamespace Hooks.Admin.Discounts */ diff --git a/packages/medusa-react/src/hooks/admin/draft-orders/index.ts b/packages/medusa-react/src/hooks/admin/draft-orders/index.ts index ffd53780a7dbd..95fe2b5caf169 100644 --- a/packages/medusa-react/src/hooks/admin/draft-orders/index.ts +++ b/packages/medusa-react/src/hooks/admin/draft-orders/index.ts @@ -1,13 +1,13 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Draft Order API Routes](https://docs.medusajs.com/api/admin#draft-orders). + * Queries and Mutations listed here are used to send requests to the [Admin Draft Order API Routes](https://docs.medusajs.com/v1/api/admin#draft-orders). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * A draft order is an order created manually by the admin. It allows admins to create orders without direct involvement from the customer. * - * Related Guide: [How to manage draft orders](https://docs.medusajs.com/modules/orders/admin/manage-draft-orders). + * Related Guide: [How to manage draft orders](https://docs.medusajs.com/v1/modules/orders/admin/manage-draft-orders). * * @customNamespace Hooks.Admin.Draft Orders */ diff --git a/packages/medusa-react/src/hooks/admin/gift-cards/index.ts b/packages/medusa-react/src/hooks/admin/gift-cards/index.ts index 0be7ee8e00839..bbf88b9419868 100644 --- a/packages/medusa-react/src/hooks/admin/gift-cards/index.ts +++ b/packages/medusa-react/src/hooks/admin/gift-cards/index.ts @@ -1,14 +1,14 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Gift Card API Routes](https://docs.medusajs.com/api/admin#gift-cards). + * Queries and Mutations listed here are used to send requests to the [Admin Gift Card API Routes](https://docs.medusajs.com/v1/api/admin#gift-cards). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * Admins can create gift cards and send them directly to customers, specifying options like their balance, region, and more. * These gift cards are different than the saleable gift cards in a store, which are created and managed through {@link Hooks.Admin.Products.useAdminCreateProduct | useAdminCreateProduct}. * - * Related Guide: [How to manage gift cards](https://docs.medusajs.com/modules/gift-cards/admin/manage-gift-cards#manage-custom-gift-cards). + * Related Guide: [How to manage gift cards](https://docs.medusajs.com/v1/modules/gift-cards/admin/manage-gift-cards#manage-custom-gift-cards). * * @customNamespace Hooks.Admin.Gift Cards */ diff --git a/packages/medusa-react/src/hooks/admin/inventory-item/index.ts b/packages/medusa-react/src/hooks/admin/inventory-item/index.ts index cef82cb3bcc76..0eca44e4456f7 100644 --- a/packages/medusa-react/src/hooks/admin/inventory-item/index.ts +++ b/packages/medusa-react/src/hooks/admin/inventory-item/index.ts @@ -1,16 +1,16 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Inventory Item API Routes](https://docs.medusajs.com/api/admin#inventory-items). + * Queries and Mutations listed here are used to send requests to the [Admin Inventory Item API Routes](https://docs.medusajs.com/v1/api/admin#inventory-items). * To use these hooks, make sure to install the - * [@medusajs/inventory](https://docs.medusajs.com/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. + * [@medusajs/inventory](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * - * Inventory items, provided by the [Inventory Module](https://docs.medusajs.com/modules/multiwarehouse/inventory-module), can be + * Inventory items, provided by the [Inventory Module](https://docs.medusajs.com/v1/modules/multiwarehouse/inventory-module), can be * used to manage the inventory of saleable items in your store. * - * Related Guide: [How to manage inventory items](https://docs.medusajs.com/modules/multiwarehouse/admin/manage-inventory-items). + * Related Guide: [How to manage inventory items](https://docs.medusajs.com/v1/modules/multiwarehouse/admin/manage-inventory-items). * * @customNamespace Hooks.Admin.Inventory Items */ diff --git a/packages/medusa-react/src/hooks/admin/invites/index.ts b/packages/medusa-react/src/hooks/admin/invites/index.ts index 1444fbf0a0587..b608dc153c3e3 100644 --- a/packages/medusa-react/src/hooks/admin/invites/index.ts +++ b/packages/medusa-react/src/hooks/admin/invites/index.ts @@ -1,13 +1,13 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Invite API Routes](https://docs.medusajs.com/api/admin#invites). + * Queries and Mutations listed here are used to send requests to the [Admin Invite API Routes](https://docs.medusajs.com/v1/api/admin#invites). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * An admin can invite new users to manage their team. This would allow new users to authenticate as admins and perform admin functionalities. * - * Related Guide: [How to manage invites](https://docs.medusajs.com/modules/users/admin/manage-invites). + * Related Guide: [How to manage invites](https://docs.medusajs.com/v1/modules/users/admin/manage-invites). * * @customNamespace Hooks.Admin.Invites */ diff --git a/packages/medusa-react/src/hooks/admin/notes/index.ts b/packages/medusa-react/src/hooks/admin/notes/index.ts index 023f0d35176a9..491cd23bad4ff 100644 --- a/packages/medusa-react/src/hooks/admin/notes/index.ts +++ b/packages/medusa-react/src/hooks/admin/notes/index.ts @@ -1,7 +1,7 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Note API Routes](https://docs.medusajs.com/api/admin#notes). + * Queries and Mutations listed here are used to send requests to the [Admin Note API Routes](https://docs.medusajs.com/v1/api/admin#notes). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * diff --git a/packages/medusa-react/src/hooks/admin/notifications/index.ts b/packages/medusa-react/src/hooks/admin/notifications/index.ts index 963466c20c88f..341d406531ac4 100644 --- a/packages/medusa-react/src/hooks/admin/notifications/index.ts +++ b/packages/medusa-react/src/hooks/admin/notifications/index.ts @@ -1,7 +1,7 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Notification API Routes](https://docs.medusajs.com/api/admin#notifications). + * Queries and Mutations listed here are used to send requests to the [Admin Notification API Routes](https://docs.medusajs.com/v1/api/admin#notifications). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * diff --git a/packages/medusa-react/src/hooks/admin/order-edits/index.ts b/packages/medusa-react/src/hooks/admin/order-edits/index.ts index eb52fb09386d5..99d28ea6dc6f0 100644 --- a/packages/medusa-react/src/hooks/admin/order-edits/index.ts +++ b/packages/medusa-react/src/hooks/admin/order-edits/index.ts @@ -1,13 +1,13 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Order Edit API Routes](https://docs.medusajs.com/api/admin#order-edits). + * Queries and Mutations listed here are used to send requests to the [Admin Order Edit API Routes](https://docs.medusajs.com/v1/api/admin#order-edits). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * An admin can edit an order to remove, add, or update an item's quantity. When an admin edits an order, they're stored as an `OrderEdit`. * - * Related Guide: [How to edit an order](https://docs.medusajs.com/modules/orders/admin/edit-order). + * Related Guide: [How to edit an order](https://docs.medusajs.com/v1/modules/orders/admin/edit-order). * * @customNamespace Hooks.Admin.Order Edits */ diff --git a/packages/medusa-react/src/hooks/admin/orders/index.ts b/packages/medusa-react/src/hooks/admin/orders/index.ts index 19ed3736d179a..ddf3db62ac4e3 100644 --- a/packages/medusa-react/src/hooks/admin/orders/index.ts +++ b/packages/medusa-react/src/hooks/admin/orders/index.ts @@ -1,13 +1,13 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Order API Routes](https://docs.medusajs.com/api/admin#orders). + * Queries and Mutations listed here are used to send requests to the [Admin Order API Routes](https://docs.medusajs.com/v1/api/admin#orders). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * Orders are purchases made by customers, typically through a storefront using cart. Managing orders include managing fulfillment, payment, claims, reservations, and more. * - * Related Guide: [How to manage orders](https://docs.medusajs.com/modules/orders/admin/manage-orders). + * Related Guide: [How to manage orders](https://docs.medusajs.com/v1/modules/orders/admin/manage-orders). * * @customNamespace Hooks.Admin.Orders */ diff --git a/packages/medusa-react/src/hooks/admin/payment-collections/index.ts b/packages/medusa-react/src/hooks/admin/payment-collections/index.ts index 46d9d45298a03..e809d4a4ba5d4 100644 --- a/packages/medusa-react/src/hooks/admin/payment-collections/index.ts +++ b/packages/medusa-react/src/hooks/admin/payment-collections/index.ts @@ -1,7 +1,7 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Payment Collection API Routes](https://docs.medusajs.com/api/admin#payment-collections). + * Queries and Mutations listed here are used to send requests to the [Admin Payment Collection API Routes](https://docs.medusajs.com/v1/api/admin#payment-collections). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * diff --git a/packages/medusa-react/src/hooks/admin/payments/index.ts b/packages/medusa-react/src/hooks/admin/payments/index.ts index 334dc544c0944..3fa0b9c2837ab 100644 --- a/packages/medusa-react/src/hooks/admin/payments/index.ts +++ b/packages/medusa-react/src/hooks/admin/payments/index.ts @@ -1,7 +1,7 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Payment API Routes](https://docs.medusajs.com/api/admin#payments). + * Queries and Mutations listed here are used to send requests to the [Admin Payment API Routes](https://docs.medusajs.com/v1/api/admin#payments). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * diff --git a/packages/medusa-react/src/hooks/admin/price-lists/index.ts b/packages/medusa-react/src/hooks/admin/price-lists/index.ts index e63f8da6d8e1b..e12b7563413a1 100644 --- a/packages/medusa-react/src/hooks/admin/price-lists/index.ts +++ b/packages/medusa-react/src/hooks/admin/price-lists/index.ts @@ -1,13 +1,13 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Price List API Routes](https://docs.medusajs.com/api/admin#price-lists). + * Queries and Mutations listed here are used to send requests to the [Admin Price List API Routes](https://docs.medusajs.com/v1/api/admin#price-lists). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * A price list are special prices applied to products based on a set of conditions, such as customer group. * - * Related Guide: [How to manage price lists](https://docs.medusajs.com/modules/price-lists/admin/manage-price-lists). + * Related Guide: [How to manage price lists](https://docs.medusajs.com/v1/modules/price-lists/admin/manage-price-lists). * * @customNamespace Hooks.Admin.Price Lists */ diff --git a/packages/medusa-react/src/hooks/admin/product-categories/index.ts b/packages/medusa-react/src/hooks/admin/product-categories/index.ts index d0323b3478435..bad807c2e07a2 100644 --- a/packages/medusa-react/src/hooks/admin/product-categories/index.ts +++ b/packages/medusa-react/src/hooks/admin/product-categories/index.ts @@ -1,13 +1,13 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Product Category API Routes](https://docs.medusajs.com/api/admin#product-categories). + * Queries and Mutations listed here are used to send requests to the [Admin Product Category API Routes](https://docs.medusajs.com/v1/api/admin#product-categories). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * Products can be categoriezed into categories. A product can be added into more than one category. * - * Related Guide: [How to manage product categories](https://docs.medusajs.com/modules/products/admin/manage-categories). + * Related Guide: [How to manage product categories](https://docs.medusajs.com/v1/modules/products/admin/manage-categories). * * @featureFlag product_categories * diff --git a/packages/medusa-react/src/hooks/admin/product-tags/index.ts b/packages/medusa-react/src/hooks/admin/product-tags/index.ts index 5b817c84458fc..261ab597a504e 100644 --- a/packages/medusa-react/src/hooks/admin/product-tags/index.ts +++ b/packages/medusa-react/src/hooks/admin/product-tags/index.ts @@ -1,7 +1,7 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Product Tag API Routes](https://docs.medusajs.com/api/admin#product-tags). + * Queries and Mutations listed here are used to send requests to the [Admin Product Tag API Routes](https://docs.medusajs.com/v1/api/admin#product-tags). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * diff --git a/packages/medusa-react/src/hooks/admin/product-types/index.ts b/packages/medusa-react/src/hooks/admin/product-types/index.ts index 7c2fc525c9487..1bfeb0539d007 100644 --- a/packages/medusa-react/src/hooks/admin/product-types/index.ts +++ b/packages/medusa-react/src/hooks/admin/product-types/index.ts @@ -1,7 +1,7 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Product Type API Routes](https://docs.medusajs.com/api/admin#product-types). + * Queries and Mutations listed here are used to send requests to the [Admin Product Type API Routes](https://docs.medusajs.com/v1/api/admin#product-types). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * diff --git a/packages/medusa-react/src/hooks/admin/products/index.ts b/packages/medusa-react/src/hooks/admin/products/index.ts index 3a526ea996d7b..05b2f7d965189 100644 --- a/packages/medusa-react/src/hooks/admin/products/index.ts +++ b/packages/medusa-react/src/hooks/admin/products/index.ts @@ -1,13 +1,13 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Product API Routes](https://docs.medusajs.com/api/admin#products). + * Queries and Mutations listed here are used to send requests to the [Admin Product API Routes](https://docs.medusajs.com/v1/api/admin#products). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * - * Products are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/modules/gift-cards/admin/manage-gift-cards#manage-gift-card-product) in a store. + * Products are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/v1/modules/gift-cards/admin/manage-gift-cards#manage-gift-card-product) in a store. * - * Related Guide: [How to manage products](https://docs.medusajs.com/modules/products/admin/manage-products). + * Related Guide: [How to manage products](https://docs.medusajs.com/v1/modules/products/admin/manage-products). * * @customNamespace Hooks.Admin.Products */ diff --git a/packages/medusa-react/src/hooks/admin/publishable-api-keys/index.ts b/packages/medusa-react/src/hooks/admin/publishable-api-keys/index.ts index d893bbfb0fa36..6e00dbf8468d0 100644 --- a/packages/medusa-react/src/hooks/admin/publishable-api-keys/index.ts +++ b/packages/medusa-react/src/hooks/admin/publishable-api-keys/index.ts @@ -1,7 +1,7 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Publishable API Key API Routes](https://docs.medusajs.com/api/admin#publishable-api-keys). + * Queries and Mutations listed here are used to send requests to the [Admin Publishable API Key API Routes](https://docs.medusajs.com/v1/api/admin#publishable-api-keys). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * @@ -13,7 +13,7 @@ * * Admins can manage publishable API keys and their associated resources. Currently, only Sales Channels are supported as a resource. * - * Related Guide: [How to manage publishable API keys](https://docs.medusajs.com/development/publishable-api-keys/admin/manage-publishable-api-keys). + * Related Guide: [How to manage publishable API keys](https://docs.medusajs.com/v1/development/publishable-api-keys/admin/manage-publishable-api-keys). * * @customNamespace Hooks.Admin.Publishable API Keys */ diff --git a/packages/medusa-react/src/hooks/admin/regions/index.ts b/packages/medusa-react/src/hooks/admin/regions/index.ts index 5c5b12abe49c3..62cee98b6aa8c 100644 --- a/packages/medusa-react/src/hooks/admin/regions/index.ts +++ b/packages/medusa-react/src/hooks/admin/regions/index.ts @@ -1,14 +1,14 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Region API Routes](https://docs.medusajs.com/api/admin#regions). + * Queries and Mutations listed here are used to send requests to the [Admin Region API Routes](https://docs.medusajs.com/v1/api/admin#regions). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * Regions are different countries or geographical regions that the commerce store serves customers in. * Admins can manage these regions, their providers, and more. * - * Related Guide: [How to manage regions](https://docs.medusajs.com/modules/regions-and-currencies/admin/manage-regions). + * Related Guide: [How to manage regions](https://docs.medusajs.com/v1/modules/regions-and-currencies/admin/manage-regions). * * @customNamespace Hooks.Admin.Regions */ diff --git a/packages/medusa-react/src/hooks/admin/reservations/index.ts b/packages/medusa-react/src/hooks/admin/reservations/index.ts index fc48b511b0bed..ece2456ecf905 100644 --- a/packages/medusa-react/src/hooks/admin/reservations/index.ts +++ b/packages/medusa-react/src/hooks/admin/reservations/index.ts @@ -1,17 +1,17 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Reservation API Routes](https://docs.medusajs.com/api/admin#reservations). + * Queries and Mutations listed here are used to send requests to the [Admin Reservation API Routes](https://docs.medusajs.com/v1/api/admin#reservations). * To use these hooks, make sure to install the - * [@medusajs/inventory](https://docs.medusajs.com/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. + * [@medusajs/inventory](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * - * Reservations, provided by the [Inventory Module](https://docs.medusajs.com/modules/multiwarehouse/inventory-module), + * Reservations, provided by the [Inventory Module](https://docs.medusajs.com/v1/modules/multiwarehouse/inventory-module), * are quantities of an item that are reserved, typically when an order is placed but not yet fulfilled. * Reservations can be associated with any resources, but commonly with line items of an order. * - * Related Guide: [How to manage item allocations in orders](https://docs.medusajs.com/modules/multiwarehouse/admin/manage-item-allocations-in-orders). + * Related Guide: [How to manage item allocations in orders](https://docs.medusajs.com/v1/modules/multiwarehouse/admin/manage-item-allocations-in-orders). * * @customNamespace Hooks.Admin.Reservations */ diff --git a/packages/medusa-react/src/hooks/admin/return-reasons/index.ts b/packages/medusa-react/src/hooks/admin/return-reasons/index.ts index 1e038c375b972..a748635855fed 100644 --- a/packages/medusa-react/src/hooks/admin/return-reasons/index.ts +++ b/packages/medusa-react/src/hooks/admin/return-reasons/index.ts @@ -1,14 +1,14 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Return Reason API Routes](https://docs.medusajs.com/api/admin#return-reasons). + * Queries and Mutations listed here are used to send requests to the [Admin Return Reason API Routes](https://docs.medusajs.com/v1/api/admin#return-reasons). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * Return reasons are key-value pairs that are used to specify why an order return is being created. * Admins can manage available return reasons, and they can be used by both admins and customers when creating a return. * - * Related Guide: [How to manage return reasons](https://docs.medusajs.com/modules/orders/admin/manage-returns#manage-return-reasons). + * Related Guide: [How to manage return reasons](https://docs.medusajs.com/v1/modules/orders/admin/manage-returns#manage-return-reasons). * * @customNamespace Hooks.Admin.Return Reasons */ diff --git a/packages/medusa-react/src/hooks/admin/returns/index.ts b/packages/medusa-react/src/hooks/admin/returns/index.ts index 065434d59a1ce..21686c07bc1ce 100644 --- a/packages/medusa-react/src/hooks/admin/returns/index.ts +++ b/packages/medusa-react/src/hooks/admin/returns/index.ts @@ -1,14 +1,14 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Return API Routes](https://docs.medusajs.com/api/admin#returns). + * Queries and Mutations listed here are used to send requests to the [Admin Return API Routes](https://docs.medusajs.com/v1/api/admin#returns). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * A return can be created by a customer or an admin to return items in an order. * Admins can manage these returns and change their state. * - * Related Guide: [How to manage returns](https://docs.medusajs.com/modules/orders/admin/manage-returns). + * Related Guide: [How to manage returns](https://docs.medusajs.com/v1/modules/orders/admin/manage-returns). * * @customNamespace Hooks.Admin.Returns */ diff --git a/packages/medusa-react/src/hooks/admin/sales-channels/index.ts b/packages/medusa-react/src/hooks/admin/sales-channels/index.ts index 154e17823b304..1a0dbc3383af6 100644 --- a/packages/medusa-react/src/hooks/admin/sales-channels/index.ts +++ b/packages/medusa-react/src/hooks/admin/sales-channels/index.ts @@ -1,14 +1,14 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Sales Channel API Routes](https://docs.medusajs.com/api/admin#sales-channels). + * Queries and Mutations listed here are used to send requests to the [Admin Sales Channel API Routes](https://docs.medusajs.com/v1/api/admin#sales-channels). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * A sales channel indicates a channel where products can be sold in. For example, a webshop or a mobile app. * Admins can manage sales channels and the products available in them. * - * Related Guide: [How to manage sales channels](https://docs.medusajs.com/modules/sales-channels/admin/manage). + * Related Guide: [How to manage sales channels](https://docs.medusajs.com/v1/modules/sales-channels/admin/manage). * * @customNamespace Hooks.Admin.Sales Channels */ diff --git a/packages/medusa-react/src/hooks/admin/sales-channels/mutations.ts b/packages/medusa-react/src/hooks/admin/sales-channels/mutations.ts index 53f327bb3d724..da9a39948f8ad 100644 --- a/packages/medusa-react/src/hooks/admin/sales-channels/mutations.ts +++ b/packages/medusa-react/src/hooks/admin/sales-channels/mutations.ts @@ -324,7 +324,7 @@ export const useAdminAddProductsToSalesChannel = ( /** * This hook associates a stock location with a sales channel. It requires the - * [@medusajs/stock-location](https://docs.medusajs.com/modules/multiwarehouse/install-modules#stock-location-module) module to be installed in + * [@medusajs/stock-location](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#stock-location-module) module to be installed in * your Medusa backend. * * @example @@ -397,7 +397,7 @@ export const useAdminAddLocationToSalesChannel = ( /** * This hook removes a stock location from a sales channel. This only removes the association between the stock * location and the sales channel. It does not delete the stock location. This hook requires the - * [@medusajs/stock-location](https://docs.medusajs.com/modules/multiwarehouse/install-modules#stock-location-module) module to be installed in + * [@medusajs/stock-location](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#stock-location-module) module to be installed in * your Medusa backend. * * @example diff --git a/packages/medusa-react/src/hooks/admin/shipping-options/index.ts b/packages/medusa-react/src/hooks/admin/shipping-options/index.ts index 071b28020f57e..d3b561609542c 100644 --- a/packages/medusa-react/src/hooks/admin/shipping-options/index.ts +++ b/packages/medusa-react/src/hooks/admin/shipping-options/index.ts @@ -1,14 +1,14 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Shipping Option API Routes](https://docs.medusajs.com/api/admin#shipping-options). + * Queries and Mutations listed here are used to send requests to the [Admin Shipping Option API Routes](https://docs.medusajs.com/v1/api/admin#shipping-options). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * A shipping option is used to define the available shipping methods during checkout or when creating a return. * Admins can create an unlimited number of shipping options, each associated with a shipping profile and fulfillment provider, among other resources. * - * Related Guide: [Shipping Option architecture](https://docs.medusajs.com/modules/carts-and-checkout/shipping#shipping-option). + * Related Guide: [Shipping Option architecture](https://docs.medusajs.com/v1/modules/carts-and-checkout/shipping#shipping-option). * * @customNamespace Hooks.Admin.Shipping Options */ diff --git a/packages/medusa-react/src/hooks/admin/shipping-profiles/index.ts b/packages/medusa-react/src/hooks/admin/shipping-profiles/index.ts index 76f5aaf3b90ae..7a76b7942f8fb 100644 --- a/packages/medusa-react/src/hooks/admin/shipping-profiles/index.ts +++ b/packages/medusa-react/src/hooks/admin/shipping-profiles/index.ts @@ -1,14 +1,14 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Shipping Profile API Routes](https://docs.medusajs.com/api/admin#shipping-profiles). + * Queries and Mutations listed here are used to send requests to the [Admin Shipping Profile API Routes](https://docs.medusajs.com/v1/api/admin#shipping-profiles). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * A shipping profile is used to group products that can be shipped in the same manner. * They are created by the admin and they're not associated with a fulfillment provider. * - * Related Guide: [Shipping Profile architecture](https://docs.medusajs.com/modules/carts-and-checkout/shipping#shipping-profile). + * Related Guide: [Shipping Profile architecture](https://docs.medusajs.com/v1/modules/carts-and-checkout/shipping#shipping-profile). * * @customNamespace Hooks.Admin.Shipping Profiles */ diff --git a/packages/medusa-react/src/hooks/admin/stock-locations/index.ts b/packages/medusa-react/src/hooks/admin/stock-locations/index.ts index 4dd98aed56c80..9d44b4c4aff01 100644 --- a/packages/medusa-react/src/hooks/admin/stock-locations/index.ts +++ b/packages/medusa-react/src/hooks/admin/stock-locations/index.ts @@ -1,17 +1,17 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Stock Location API Routes](https://docs.medusajs.com/api/admin#stock-locations). + * Queries and Mutations listed here are used to send requests to the [Admin Stock Location API Routes](https://docs.medusajs.com/v1/api/admin#stock-locations). * To use these hooks, make sure to install the - * [@medusajs/stock-location](https://docs.medusajs.com/modules/multiwarehouse/install-modules#stock-location-module) module in your Medusa backend. + * [@medusajs/stock-location](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#stock-location-module) module in your Medusa backend. * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * - * A stock location, provided by the [Stock Location module](https://docs.medusajs.com/modules/multiwarehouse/stock-location-module), + * A stock location, provided by the [Stock Location module](https://docs.medusajs.com/v1/modules/multiwarehouse/stock-location-module), * indicates a physical address that stock-kept items, such as physical products, can be stored in. * An admin can create and manage available stock locations. * - * Related Guide: [How to manage stock locations](https://docs.medusajs.com/modules/multiwarehouse/admin/manage-stock-locations). + * Related Guide: [How to manage stock locations](https://docs.medusajs.com/v1/modules/multiwarehouse/admin/manage-stock-locations). * * @customNamespace Hooks.Admin.Stock Locations */ diff --git a/packages/medusa-react/src/hooks/admin/store/index.ts b/packages/medusa-react/src/hooks/admin/store/index.ts index 8654acfe30fa8..0f9e113773c99 100644 --- a/packages/medusa-react/src/hooks/admin/store/index.ts +++ b/packages/medusa-react/src/hooks/admin/store/index.ts @@ -1,7 +1,7 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Store API Routes](https://docs.medusajs.com/api/admin#store). + * Queries and Mutations listed here are used to send requests to the [Admin Store API Routes](https://docs.medusajs.com/v1/api/admin#store). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * diff --git a/packages/medusa-react/src/hooks/admin/store/mutations.ts b/packages/medusa-react/src/hooks/admin/store/mutations.ts index 1f3e1db1e56bf..2a820a5a0d5e7 100644 --- a/packages/medusa-react/src/hooks/admin/store/mutations.ts +++ b/packages/medusa-react/src/hooks/admin/store/mutations.ts @@ -56,7 +56,7 @@ export const useAdminUpdateStore = ( /** * This hook adds a currency code to the available currencies in a store. This doesn't create new currencies, as currencies are defined within the Medusa backend. - * To create a currency, you can [create a migration](https://docs.medusajs.com/development/entities/migrations/create) that inserts the currency into the database. + * To create a currency, you can [create a migration](https://docs.medusajs.com/v1/development/entities/migrations/create) that inserts the currency into the database. * * @typeParamDefinition string - The code of the currency to add to the store. * diff --git a/packages/medusa-react/src/hooks/admin/swaps/index.ts b/packages/medusa-react/src/hooks/admin/swaps/index.ts index 0b4942db3c807..48f5f32470ed9 100644 --- a/packages/medusa-react/src/hooks/admin/swaps/index.ts +++ b/packages/medusa-react/src/hooks/admin/swaps/index.ts @@ -1,14 +1,14 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Swap API Routes](https://docs.medusajs.com/api/admin#swaps). + * Queries and Mutations listed here are used to send requests to the [Admin Swap API Routes](https://docs.medusajs.com/v1/api/admin#swaps). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * A swap is created by a customer or an admin to exchange an item with a new one. * Creating a swap implicitely includes creating a return for the item being exchanged. * - * Related Guide: [How to manage swaps](https://docs.medusajs.com/modules/orders/admin/manage-swaps) + * Related Guide: [How to manage swaps](https://docs.medusajs.com/v1/modules/orders/admin/manage-swaps) * * @customNamespace Hooks.Admin.Swaps */ diff --git a/packages/medusa-react/src/hooks/admin/tax-rates/index.ts b/packages/medusa-react/src/hooks/admin/tax-rates/index.ts index 193ac9e48cd22..1fc0a970f7f1c 100644 --- a/packages/medusa-react/src/hooks/admin/tax-rates/index.ts +++ b/packages/medusa-react/src/hooks/admin/tax-rates/index.ts @@ -1,13 +1,13 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin Tax Rate API Routes](https://docs.medusajs.com/api/admin#tax-rates). + * Queries and Mutations listed here are used to send requests to the [Admin Tax Rate API Routes](https://docs.medusajs.com/v1/api/admin#tax-rates). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * Each region has at least a default tax rate. Admins can create and manage additional tax rates that can be applied for certain conditions, such as for specific product types. * - * Related Guide: [How to manage tax rates](https://docs.medusajs.com/modules/taxes/admin/manage-tax-rates). + * Related Guide: [How to manage tax rates](https://docs.medusajs.com/v1/modules/taxes/admin/manage-tax-rates). * * @customNamespace Hooks.Admin.Tax Rates */ diff --git a/packages/medusa-react/src/hooks/admin/uploads/index.ts b/packages/medusa-react/src/hooks/admin/uploads/index.ts index a80467b2fc0fe..aef59f9862727 100644 --- a/packages/medusa-react/src/hooks/admin/uploads/index.ts +++ b/packages/medusa-react/src/hooks/admin/uploads/index.ts @@ -1,13 +1,13 @@ /** * @packageDocumentation * - * Mutations listed here are used to send requests to the [Admin Upload API Routes](https://docs.medusajs.com/api/admin#uploads). + * Mutations listed here are used to send requests to the [Admin Upload API Routes](https://docs.medusajs.com/v1/api/admin#uploads). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * The methods in this class are used to upload any type of resources. For example, they can be used to upload CSV files that are used to import products into the store. * - * Related Guide: [How to upload CSV file when importing a product](https://docs.medusajs.com/modules/products/admin/import-products#1-upload-csv-file). + * Related Guide: [How to upload CSV file when importing a product](https://docs.medusajs.com/v1/modules/products/admin/import-products#1-upload-csv-file). * * @customNamespace Hooks.Admin.Uploads */ diff --git a/packages/medusa-react/src/hooks/admin/users/index.ts b/packages/medusa-react/src/hooks/admin/users/index.ts index 21c4420b9599a..d29036b90a57e 100644 --- a/packages/medusa-react/src/hooks/admin/users/index.ts +++ b/packages/medusa-react/src/hooks/admin/users/index.ts @@ -1,13 +1,13 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Admin User API Routes](https://docs.medusajs.com/api/admin#users). + * Queries and Mutations listed here are used to send requests to the [Admin User API Routes](https://docs.medusajs.com/v1/api/admin#users). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * A store can have more than one user, each having the same privileges. Admins can manage users, their passwords, and more. * - * Related Guide: [How to manage users](https://docs.medusajs.com/modules/users/admin/manage-users). + * Related Guide: [How to manage users](https://docs.medusajs.com/v1/modules/users/admin/manage-users). * * @customNamespace Hooks.Admin.Users */ diff --git a/packages/medusa-react/src/hooks/admin/variants/index.ts b/packages/medusa-react/src/hooks/admin/variants/index.ts index 0d96a59ec25ba..3b2587c3547af 100644 --- a/packages/medusa-react/src/hooks/admin/variants/index.ts +++ b/packages/medusa-react/src/hooks/admin/variants/index.ts @@ -1,13 +1,13 @@ /** * @packageDocumentation * - * Queries listed here are used to send requests to the [Admin Product Variant API Routes](https://docs.medusajs.com/api/admin#product-variants). + * Queries listed here are used to send requests to the [Admin Product Variant API Routes](https://docs.medusajs.com/v1/api/admin#product-variants). * * All hooks listed require {@link Hooks.Admin.Auth.useAdminLogin | user authentication}. * * Product variants are the actual salable item in your store. Each variant is a combination of the different option values available on the product. * - * Related Guide: [How to manage product variants](https://docs.medusajs.com/modules/products/admin/manage-products#manage-product-variants). + * Related Guide: [How to manage product variants](https://docs.medusajs.com/v1/modules/products/admin/manage-products#manage-product-variants). * * @customNamespace Hooks.Admin.Product Variants */ diff --git a/packages/medusa-react/src/hooks/store/carts/index.ts b/packages/medusa-react/src/hooks/store/carts/index.ts index 47196d64ae4c9..8cd2f8bd9e987 100644 --- a/packages/medusa-react/src/hooks/store/carts/index.ts +++ b/packages/medusa-react/src/hooks/store/carts/index.ts @@ -1,7 +1,7 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Store Cart API Routes](https://docs.medusajs.com/api/store#carts). + * Queries and Mutations listed here are used to send requests to the [Store Cart API Routes](https://docs.medusajs.com/v1/api/store#carts). * * A cart is a virtual shopping bag that customers can use to add items they want to purchase. * A cart is then used to checkout and place an order. @@ -9,7 +9,7 @@ * The hooks listed have general examples on how to use them, but it's highly recommended to use the {@link Providers.Cart.CartProvider | CartProvider} provider and * the {@link Providers.Cart.useCart | useCart} hook to manage your cart and access the current cart across your application. * - * Related Guide: [How to implement cart functionality in your storefront](https://docs.medusajs.com/modules/carts-and-checkout/storefront/implement-cart). + * Related Guide: [How to implement cart functionality in your storefront](https://docs.medusajs.com/v1/modules/carts-and-checkout/storefront/implement-cart). * * @customNamespace Hooks.Store.Carts */ diff --git a/packages/medusa-react/src/hooks/store/collections/index.ts b/packages/medusa-react/src/hooks/store/collections/index.ts index f552cbe037737..f634ed3befcfe 100644 --- a/packages/medusa-react/src/hooks/store/collections/index.ts +++ b/packages/medusa-react/src/hooks/store/collections/index.ts @@ -1,7 +1,7 @@ /** * @packageDocumentation * - * Queries listed here are used to send requests to the [Store Product Collection API Routes](https://docs.medusajs.com/api/store#product-collections). + * Queries listed here are used to send requests to the [Store Product Collection API Routes](https://docs.medusajs.com/v1/api/store#product-collections). * * A product collection is used to organize products for different purposes such as marketing or discount purposes. For example, you can create a Summer Collection. * Using the methods in this class, you can list or retrieve a collection's details and products. diff --git a/packages/medusa-react/src/hooks/store/customers/index.ts b/packages/medusa-react/src/hooks/store/customers/index.ts index 290d0ba1d36aa..8bb0463ece020 100644 --- a/packages/medusa-react/src/hooks/store/customers/index.ts +++ b/packages/medusa-react/src/hooks/store/customers/index.ts @@ -1,11 +1,11 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Store Customer API Routes](https://docs.medusajs.com/api/store#customers_postcustomers). + * Queries and Mutations listed here are used to send requests to the [Store Customer API Routes](https://docs.medusajs.com/v1/api/store#customers_postcustomers). * * A customer can register and manage their information such as addresses, orders, payment methods, and more. * - * Related Guide: [How to implement customer profiles in your storefront](https://docs.medusajs.com/modules/customers/storefront/implement-customer-profiles). + * Related Guide: [How to implement customer profiles in your storefront](https://docs.medusajs.com/v1/modules/customers/storefront/implement-customer-profiles). * * @customNamespace Hooks.Store.Customers */ diff --git a/packages/medusa-react/src/hooks/store/customers/mutations.ts b/packages/medusa-react/src/hooks/store/customers/mutations.ts index 6db225975b035..7bfdbd184d51e 100644 --- a/packages/medusa-react/src/hooks/store/customers/mutations.ts +++ b/packages/medusa-react/src/hooks/store/customers/mutations.ts @@ -60,7 +60,7 @@ export type UpdateMeReq = StorePostCustomersCustomerReq & { } /** - * This hook updates the logged-in customer's details. This hook requires [customer authentication](https://docs.medusajs.com/medusa-react/overview#customer-authentication). + * This hook updates the logged-in customer's details. This hook requires [customer authentication](https://docs.medusajs.com/v1/medusa-react/overview#customer-authentication). * * @example * import React from "react" diff --git a/packages/medusa-react/src/hooks/store/customers/queries.ts b/packages/medusa-react/src/hooks/store/customers/queries.ts index 77855c37412d7..79b58adee0acb 100644 --- a/packages/medusa-react/src/hooks/store/customers/queries.ts +++ b/packages/medusa-react/src/hooks/store/customers/queries.ts @@ -19,7 +19,7 @@ export const customerKeys = { type CustomerQueryKey = typeof customerKeys /** - * This hook retrieves the logged-in customer's details. It requires [customer authentication](https://docs.medusajs.com/medusa-react/overview#customer-authentication). + * This hook retrieves the logged-in customer's details. It requires [customer authentication](https://docs.medusajs.com/v1/medusa-react/overview#customer-authentication). * * @example * import React from "react" @@ -61,7 +61,7 @@ export const useMeCustomer = ( /** * This hook retrieves a list of the logged-in customer's orders. The orders can be filtered by fields such as `status` or `fulfillment_status`. The orders can also be paginated. - * This hook requires [customer authentication](https://docs.medusajs.com/medusa-react/overview#customer-authentication). + * This hook requires [customer authentication](https://docs.medusajs.com/v1/medusa-react/overview#customer-authentication). * * @example * import React from "react" diff --git a/packages/medusa-react/src/hooks/store/gift-cards/index.ts b/packages/medusa-react/src/hooks/store/gift-cards/index.ts index d1f6de74ab63e..7547bfc268ae4 100644 --- a/packages/medusa-react/src/hooks/store/gift-cards/index.ts +++ b/packages/medusa-react/src/hooks/store/gift-cards/index.ts @@ -1,11 +1,11 @@ /** * @packageDocumentation * - * Queries listed here are used to send requests to the [Store Gift Card API Routes](https://docs.medusajs.com/api/store#gift-cards). + * Queries listed here are used to send requests to the [Store Gift Card API Routes](https://docs.medusajs.com/v1/api/store#gift-cards). * * Customers can use gift cards during checkout to deduct the gift card's balance from the checkout total. * - * Related Guide: [How to use gift cards in a storefront](https://docs.medusajs.com/modules/gift-cards/storefront/use-gift-cards). + * Related Guide: [How to use gift cards in a storefront](https://docs.medusajs.com/v1/modules/gift-cards/storefront/use-gift-cards). * * @customNamespace Hooks.Store.Gift Cards */ diff --git a/packages/medusa-react/src/hooks/store/line-items/index.ts b/packages/medusa-react/src/hooks/store/line-items/index.ts index 6de46b4444869..64e4b5d32abea 100644 --- a/packages/medusa-react/src/hooks/store/line-items/index.ts +++ b/packages/medusa-react/src/hooks/store/line-items/index.ts @@ -1,7 +1,7 @@ /** * @packageDocumentation * - * Mutations listed here are used to send requests to the Line Item API Routes part of the [Store Cart API Routes](https://docs.medusajs.com/api/store#carts). + * Mutations listed here are used to send requests to the Line Item API Routes part of the [Store Cart API Routes](https://docs.medusajs.com/v1/api/store#carts). * * The hooks listed have general examples on how to use them, but it's highly recommended to use the {@link Providers.Cart.CartProvider | CartProvider} provider and * the {@link Providers.Cart.useCart | useCart} hook to manage your cart and access the current cart across your application. diff --git a/packages/medusa-react/src/hooks/store/order-edits/index.ts b/packages/medusa-react/src/hooks/store/order-edits/index.ts index be5d5b73aaf30..b5b9e88ffaba6 100644 --- a/packages/medusa-react/src/hooks/store/order-edits/index.ts +++ b/packages/medusa-react/src/hooks/store/order-edits/index.ts @@ -1,12 +1,12 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Store Order Edits API Routes](https://docs.medusajs.com/api/store#order-edits). + * Queries and Mutations listed here are used to send requests to the [Store Order Edits API Routes](https://docs.medusajs.com/v1/api/store#order-edits). * * Order edits are changes made to items in an order such as adding, updating their quantity, or deleting them. Order edits are created by the admin. * A customer can review order edit requests created by an admin and confirm or decline them. * - * Related Guide: [How to handle order edits in a storefront](https://docs.medusajs.com/modules/orders/storefront/handle-order-edits). + * Related Guide: [How to handle order edits in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/handle-order-edits). * * @customNamespace Hooks.Store.Order Edits */ diff --git a/packages/medusa-react/src/hooks/store/orders/index.ts b/packages/medusa-react/src/hooks/store/orders/index.ts index 8a1b603752e34..48f7e36d84fea 100644 --- a/packages/medusa-react/src/hooks/store/orders/index.ts +++ b/packages/medusa-react/src/hooks/store/orders/index.ts @@ -1,12 +1,12 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Store Order API Routes](https://docs.medusajs.com/api/store#orders). + * Queries and Mutations listed here are used to send requests to the [Store Order API Routes](https://docs.medusajs.com/v1/api/store#orders). * * Orders are purchases made by customers, typically through a storefront. * Orders are placed and created using {@link Hooks.Store.Carts | cart} hooks. The listed hooks allow retrieving and claiming orders. * - * Related Guide: [How to retrieve order details in a storefront](https://docs.medusajs.com/modules/orders/storefront/retrieve-order-details). + * Related Guide: [How to retrieve order details in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/retrieve-order-details). * * @customNamespace Hooks.Store.Orders */ diff --git a/packages/medusa-react/src/hooks/store/payment-collections/index.ts b/packages/medusa-react/src/hooks/store/payment-collections/index.ts index b9fdf95d87e97..811b0d9d47a92 100644 --- a/packages/medusa-react/src/hooks/store/payment-collections/index.ts +++ b/packages/medusa-react/src/hooks/store/payment-collections/index.ts @@ -1,7 +1,7 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Store Payment Collection API Routes](https://docs.medusajs.com/api/store#payment-collections). + * Queries and Mutations listed here are used to send requests to the [Store Payment Collection API Routes](https://docs.medusajs.com/v1/api/store#payment-collections). * * A payment collection is useful for managing additional payments, such as for Order Edits, or installment payments. * diff --git a/packages/medusa-react/src/hooks/store/product-categories/index.ts b/packages/medusa-react/src/hooks/store/product-categories/index.ts index 63e101bbd829e..be7f101ee4280 100644 --- a/packages/medusa-react/src/hooks/store/product-categories/index.ts +++ b/packages/medusa-react/src/hooks/store/product-categories/index.ts @@ -1,11 +1,11 @@ /** * @packageDocumentation * - * Queries listed here are used to send requests to the [Store Product Category API Routes](https://docs.medusajs.com/api/store#product-categories_getproductcategories). + * Queries listed here are used to send requests to the [Store Product Category API Routes](https://docs.medusajs.com/v1/api/store#product-categories_getproductcategories). * * Products can be categoriezed into categories. A product can be associated more than one category. * - * Related Guide: [How to use product categories in a storefront](https://docs.medusajs.com/modules/products/storefront/use-categories). + * Related Guide: [How to use product categories in a storefront](https://docs.medusajs.com/v1/modules/products/storefront/use-categories). * * @featureFlag product_categories * diff --git a/packages/medusa-react/src/hooks/store/product-tags/index.ts b/packages/medusa-react/src/hooks/store/product-tags/index.ts index 54c03683a3401..b927bb0087096 100644 --- a/packages/medusa-react/src/hooks/store/product-tags/index.ts +++ b/packages/medusa-react/src/hooks/store/product-tags/index.ts @@ -1,7 +1,7 @@ /** * @packageDocumentation * - * Queries listed here are used to send requests to the [Store Product Tag API Routes](https://docs.medusajs.com/api/store#product-tags). + * Queries listed here are used to send requests to the [Store Product Tag API Routes](https://docs.medusajs.com/v1/api/store#product-tags). * * Product tags are string values that can be used to filter products by. * Products can have more than one tag, and products can share tags. diff --git a/packages/medusa-react/src/hooks/store/product-types/index.ts b/packages/medusa-react/src/hooks/store/product-types/index.ts index d2bd45d332b1e..d359eb1df4d98 100644 --- a/packages/medusa-react/src/hooks/store/product-types/index.ts +++ b/packages/medusa-react/src/hooks/store/product-types/index.ts @@ -1,7 +1,7 @@ /** * @packageDocumentation * - * Queries listed here are used to send requests to the [Store Product Type API Routes](https://docs.medusajs.com/api/store#product-types). + * Queries listed here are used to send requests to the [Store Product Type API Routes](https://docs.medusajs.com/v1/api/store#product-types). * * Product types are string values that can be used to filter products by. * Products can have more than one tag, and products can share types. diff --git a/packages/medusa-react/src/hooks/store/products/index.ts b/packages/medusa-react/src/hooks/store/products/index.ts index e65d230b98cb1..cb1affde48051 100644 --- a/packages/medusa-react/src/hooks/store/products/index.ts +++ b/packages/medusa-react/src/hooks/store/products/index.ts @@ -1,12 +1,12 @@ /** * @packageDocumentation * - * Queries listed here are used to send requests to the [Store Product API Routes](https://docs.medusajs.com/api/store#products). + * Queries listed here are used to send requests to the [Store Product API Routes](https://docs.medusajs.com/v1/api/store#products). * - * Products are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/modules/gift-cards/storefront/use-gift-cards) in a store. + * Products are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/v1/modules/gift-cards/storefront/use-gift-cards) in a store. * Using the methods in this class, you can filter products by categories, collections, sales channels, and more. * - * Related Guide: [How to show products in a storefront](https://docs.medusajs.com/modules/products/storefront/show-products). + * Related Guide: [How to show products in a storefront](https://docs.medusajs.com/v1/modules/products/storefront/show-products). * * @customNamespace Hooks.Store.Products */ diff --git a/packages/medusa-react/src/hooks/store/regions/index.ts b/packages/medusa-react/src/hooks/store/regions/index.ts index 339bc901a8bcf..cdd959b9c3068 100644 --- a/packages/medusa-react/src/hooks/store/regions/index.ts +++ b/packages/medusa-react/src/hooks/store/regions/index.ts @@ -1,12 +1,12 @@ /** * @packageDocumentation * - * Queries listed here are used to send requests to the [Store Region API Routes](https://docs.medusajs.com/api/store#regions_getregions). + * Queries listed here are used to send requests to the [Store Region API Routes](https://docs.medusajs.com/v1/api/store#regions_getregions). * * Regions are different countries or geographical regions that the commerce store serves customers in. * Customers can choose what region they're in, which can be used to change the prices shown based on the region and its currency. * - * Related Guide: [How to use regions in a storefront](https://docs.medusajs.com/modules/regions-and-currencies/storefront/use-regions). + * Related Guide: [How to use regions in a storefront](https://docs.medusajs.com/v1/modules/regions-and-currencies/storefront/use-regions). * * @customNamespace Hooks.Store.Regions */ diff --git a/packages/medusa-react/src/hooks/store/return-reasons/index.ts b/packages/medusa-react/src/hooks/store/return-reasons/index.ts index 27af68eaedf03..1ab1121db0a10 100644 --- a/packages/medusa-react/src/hooks/store/return-reasons/index.ts +++ b/packages/medusa-react/src/hooks/store/return-reasons/index.ts @@ -1,7 +1,7 @@ /** * @packageDocumentation * - * Queries listed here are used to send requests to the [Store Return Reason API Routes](https://docs.medusajs.com/api/store#return-reasons). + * Queries listed here are used to send requests to the [Store Return Reason API Routes](https://docs.medusajs.com/v1/api/store#return-reasons). * * Return reasons are key-value pairs that are used to specify why an order return is being created. * diff --git a/packages/medusa-react/src/hooks/store/returns/index.ts b/packages/medusa-react/src/hooks/store/returns/index.ts index df86405a19cfa..7277bd7af3245 100644 --- a/packages/medusa-react/src/hooks/store/returns/index.ts +++ b/packages/medusa-react/src/hooks/store/returns/index.ts @@ -1,11 +1,11 @@ /** * @packageDocumentation * - * Mutations listed here are used to send requests to the [Store Return API Routes](https://docs.medusajs.com/api/store#returns). + * Mutations listed here are used to send requests to the [Store Return API Routes](https://docs.medusajs.com/v1/api/store#returns). * * A return can be created by a customer to return items in an order. * - * Related Guide: [How to create a return in a storefront](https://docs.medusajs.com/modules/orders/storefront/create-return). + * Related Guide: [How to create a return in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/create-return). * * @customNamespace Hooks.Store.Returns */ diff --git a/packages/medusa-react/src/hooks/store/shipping-options/index.ts b/packages/medusa-react/src/hooks/store/shipping-options/index.ts index a4718f66c7682..892eb76a55cc3 100644 --- a/packages/medusa-react/src/hooks/store/shipping-options/index.ts +++ b/packages/medusa-react/src/hooks/store/shipping-options/index.ts @@ -1,11 +1,11 @@ /** * @packageDocumentation * - * Queries listed here are used to send requests to the [Store Shipping Option API Routes](https://docs.medusajs.com/api/store#shipping-options). + * Queries listed here are used to send requests to the [Store Shipping Option API Routes](https://docs.medusajs.com/v1/api/store#shipping-options). * * A shipping option is used to define the available shipping methods during checkout or when creating a return. * - * Related Guide: [Shipping Option architecture](https://docs.medusajs.com/modules/carts-and-checkout/shipping#shipping-option). + * Related Guide: [Shipping Option architecture](https://docs.medusajs.com/v1/modules/carts-and-checkout/shipping#shipping-option). * * @customNamespace Hooks.Store.Shipping Options */ diff --git a/packages/medusa-react/src/hooks/store/swaps/index.ts b/packages/medusa-react/src/hooks/store/swaps/index.ts index f6289d972ca87..93f2e8243404a 100644 --- a/packages/medusa-react/src/hooks/store/swaps/index.ts +++ b/packages/medusa-react/src/hooks/store/swaps/index.ts @@ -1,12 +1,12 @@ /** * @packageDocumentation * - * Queries and Mutations listed here are used to send requests to the [Store Swap API Routes](https://docs.medusajs.com/api/store#swaps). + * Queries and Mutations listed here are used to send requests to the [Store Swap API Routes](https://docs.medusajs.com/v1/api/store#swaps). * * A swap is created by a customer or an admin to exchange an item with a new one. * Creating a swap implicitely includes creating a return for the item being exchanged. * - * Related Guide: [How to create a swap in a storefront](https://docs.medusajs.com/modules/orders/storefront/create-swap) + * Related Guide: [How to create a swap in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/create-swap) * * @customNamespace Hooks.Store.Swaps */ diff --git a/packages/medusa-source-shopify/README.md b/packages/medusa-source-shopify/README.md index 75dfc11f37ad4..d9b7311cfe55a 100644 --- a/packages/medusa-source-shopify/README.md +++ b/packages/medusa-source-shopify/README.md @@ -13,7 +13,7 @@ Migrate your products and categories from Shopify to Medusa. ## Prerequisites -- [Medusa backend](https://docs.medusajs.com/development/backend/install) +- [Medusa backend](https://docs.medusajs.com/v1/development/backend/install) - [Shopify account](https://shopify.dev/) --- diff --git a/packages/medusa/README.md b/packages/medusa/README.md index 8faa3a5ec8cd7..f778ca95e4c9a 100644 --- a/packages/medusa/README.md +++ b/packages/medusa/README.md @@ -12,7 +12,7 @@

- Documentation | + Documentation | Website

@@ -40,21 +40,21 @@ ## Getting Started -Visit the [Quickstart Guide](https://docs.medusajs.com/create-medusa-app) to set up a server. +Visit the [Quickstart Guide](https://docs.medusajs.com/v1/create-medusa-app) to set up a server. -Visit the [Docs](https://docs.medusajs.com/development/backend/prepare-environment) to learn more about our system requirements. +Visit the [Docs](https://docs.medusajs.com/v1/development/backend/prepare-environment) to learn more about our system requirements. ## What is Medusa Medusa is a set of commerce modules and tools that allow you to build rich, reliable, and performant commerce applications without reinventing core commerce logic. The modules can be customized and used to build advanced ecommerce stores, marketplaces, or any product that needs foundational commerce primitives. All modules are open-source and freely available on npm. -Learn more about [Medusa’s architecture](https://docs.medusajs.com/development/fundamentals/architecture-overview) and [commerce modules](https://docs.medusajs.com/modules/overview) in the Docs. +Learn more about [Medusa’s architecture](https://docs.medusajs.com/v1/development/fundamentals/architecture-overview) and [commerce modules](https://docs.medusajs.com/v1/modules/overview) in the Docs. ## Roadmap, Upgrades & Plugins You can view the planned, started and completed features in the [Roadmap discussion](https://github.com/medusajs/medusa/discussions/categories/roadmap). -Follow the [Upgrade Guides](https://docs.medusajs.com/upgrade-guides/) to keep your Medusa project up-to-date. +Follow the [Upgrade Guides](https://docs.medusajs.com/v1/upgrade-guides/) to keep your Medusa project up-to-date. Check out all [available Medusa plugins](https://medusajs.com/plugins/). diff --git a/packages/medusa/src/api/routes/admin/batch/create-batch-job.ts b/packages/medusa/src/api/routes/admin/batch/create-batch-job.ts index 63a5c0b86655b..60fcd007a85cd 100644 --- a/packages/medusa/src/api/routes/admin/batch/create-batch-job.ts +++ b/packages/medusa/src/api/routes/admin/batch/create-batch-job.ts @@ -13,7 +13,7 @@ import { validator } from "../../../../utils/validator" * which can be done using the Confirm Batch Job API Route." * externalDocs: * description: "How to create a batch job" - * url: "https://docs.medusajs.com/development/batch-jobs/create#create-batch-job" + * url: "https://docs.medusajs.com/v1/development/batch-jobs/create#create-batch-job" * x-authenticated: true * requestBody: * content: diff --git a/packages/medusa/src/api/routes/admin/collections/create-collection.ts b/packages/medusa/src/api/routes/admin/collections/create-collection.ts index ab2d15de29517..e706ea94a3fc4 100644 --- a/packages/medusa/src/api/routes/admin/collections/create-collection.ts +++ b/packages/medusa/src/api/routes/admin/collections/create-collection.ts @@ -128,7 +128,7 @@ export default async (req: Request, res: Response) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostCollectionsReq { @IsString() diff --git a/packages/medusa/src/api/routes/admin/collections/update-collection.ts b/packages/medusa/src/api/routes/admin/collections/update-collection.ts index 2730345ad83a9..fe5b14b8a7da4 100644 --- a/packages/medusa/src/api/routes/admin/collections/update-collection.ts +++ b/packages/medusa/src/api/routes/admin/collections/update-collection.ts @@ -135,7 +135,7 @@ export default async (req: Request, res: Response) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostCollectionsCollectionReq { @IsString() diff --git a/packages/medusa/src/api/routes/admin/customer-groups/create-customer-group.ts b/packages/medusa/src/api/routes/admin/customer-groups/create-customer-group.ts index d63af297f8248..a9ca4ab43b972 100644 --- a/packages/medusa/src/api/routes/admin/customer-groups/create-customer-group.ts +++ b/packages/medusa/src/api/routes/admin/customer-groups/create-customer-group.ts @@ -121,7 +121,7 @@ export default async (req: Request, res: Response) => { * description: Metadata of the customer group. * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostCustomerGroupsReq { @IsString() diff --git a/packages/medusa/src/api/routes/admin/customer-groups/update-customer-group.ts b/packages/medusa/src/api/routes/admin/customer-groups/update-customer-group.ts index 7ddcbe9c20d29..81f4d04f6c581 100644 --- a/packages/medusa/src/api/routes/admin/customer-groups/update-customer-group.ts +++ b/packages/medusa/src/api/routes/admin/customer-groups/update-customer-group.ts @@ -146,7 +146,7 @@ export default async (req: Request, res: Response) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostCustomerGroupsGroupReq { @IsString() diff --git a/packages/medusa/src/api/routes/admin/customers/create-customer.ts b/packages/medusa/src/api/routes/admin/customers/create-customer.ts index 861f729a2fbf2..2ee20fe6c12f9 100644 --- a/packages/medusa/src/api/routes/admin/customers/create-customer.ts +++ b/packages/medusa/src/api/routes/admin/customers/create-customer.ts @@ -145,7 +145,7 @@ export default async (req, res) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostCustomersReq { @IsEmail() diff --git a/packages/medusa/src/api/routes/admin/customers/update-customer.ts b/packages/medusa/src/api/routes/admin/customers/update-customer.ts index 4fb089fc2e23d..8a0191f1bad4e 100644 --- a/packages/medusa/src/api/routes/admin/customers/update-customer.ts +++ b/packages/medusa/src/api/routes/admin/customers/update-customer.ts @@ -192,7 +192,7 @@ class Group { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostCustomersCustomerReq { @IsEmail() diff --git a/packages/medusa/src/api/routes/admin/discounts/create-discount.ts b/packages/medusa/src/api/routes/admin/discounts/create-discount.ts index f91073fefcd3d..46a02277839fa 100644 --- a/packages/medusa/src/api/routes/admin/discounts/create-discount.ts +++ b/packages/medusa/src/api/routes/admin/discounts/create-discount.ts @@ -316,7 +316,7 @@ export class AdminPostDiscountsDiscountRule { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostDiscountsReq { @IsString() diff --git a/packages/medusa/src/api/routes/admin/discounts/create-dynamic-code.ts b/packages/medusa/src/api/routes/admin/discounts/create-dynamic-code.ts index 7d65352002835..6c8b2730bb9de 100644 --- a/packages/medusa/src/api/routes/admin/discounts/create-dynamic-code.ts +++ b/packages/medusa/src/api/routes/admin/discounts/create-dynamic-code.ts @@ -148,7 +148,7 @@ export default async (req: Request, res: Response) => { * description: An optional set of key-value pairs to hold additional information. * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostDiscountsDiscountDynamicCodesReq { @IsString() diff --git a/packages/medusa/src/api/routes/admin/discounts/update-discount.ts b/packages/medusa/src/api/routes/admin/discounts/update-discount.ts index 52d216036cee9..2fe35992cc9d4 100644 --- a/packages/medusa/src/api/routes/admin/discounts/update-discount.ts +++ b/packages/medusa/src/api/routes/admin/discounts/update-discount.ts @@ -275,7 +275,7 @@ export class AdminUpdateDiscountRule { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostDiscountsDiscountReq { @IsString() diff --git a/packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts b/packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts index 166eca6473515..dd01d5a2f77bb 100644 --- a/packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts +++ b/packages/medusa/src/api/routes/admin/draft-orders/create-draft-order.ts @@ -252,7 +252,7 @@ enum Status { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" * region_id: * description: The ID of the region for the draft order * type: string @@ -295,7 +295,7 @@ enum Status { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostDraftOrdersReq { @IsEnum(Status) diff --git a/packages/medusa/src/api/routes/admin/draft-orders/create-line-item.ts b/packages/medusa/src/api/routes/admin/draft-orders/create-line-item.ts index 5766102e9b007..ee22c9b99ce19 100644 --- a/packages/medusa/src/api/routes/admin/draft-orders/create-line-item.ts +++ b/packages/medusa/src/api/routes/admin/draft-orders/create-line-item.ts @@ -213,7 +213,7 @@ export default async (req, res) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostDraftOrdersDraftOrderLineItemsReq { @IsString() diff --git a/packages/medusa/src/api/routes/admin/draft-orders/update-line-item.ts b/packages/medusa/src/api/routes/admin/draft-orders/update-line-item.ts index 977bd17997f84..8d2e45ef36f11 100644 --- a/packages/medusa/src/api/routes/admin/draft-orders/update-line-item.ts +++ b/packages/medusa/src/api/routes/admin/draft-orders/update-line-item.ts @@ -196,7 +196,7 @@ export default async (req, res) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostDraftOrdersDraftOrderLineItemsItemReq { @IsString() diff --git a/packages/medusa/src/api/routes/admin/gift-cards/create-gift-card.ts b/packages/medusa/src/api/routes/admin/gift-cards/create-gift-card.ts index a796e1ea89347..429b45b3dcd79 100644 --- a/packages/medusa/src/api/routes/admin/gift-cards/create-gift-card.ts +++ b/packages/medusa/src/api/routes/admin/gift-cards/create-gift-card.ts @@ -141,7 +141,7 @@ export default async (req, res) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostGiftCardsReq { @IsOptional() diff --git a/packages/medusa/src/api/routes/admin/gift-cards/update-gift-card.ts b/packages/medusa/src/api/routes/admin/gift-cards/update-gift-card.ts index 5a0fc6ee6a110..2402659441413 100644 --- a/packages/medusa/src/api/routes/admin/gift-cards/update-gift-card.ts +++ b/packages/medusa/src/api/routes/admin/gift-cards/update-gift-card.ts @@ -145,7 +145,7 @@ export default async (req, res) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostGiftCardsGiftCardReq { @IsOptional() diff --git a/packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts b/packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts index 7b67fe9473281..678571141d30a 100644 --- a/packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts +++ b/packages/medusa/src/api/routes/admin/inventory-items/create-inventory-item.ts @@ -277,7 +277,7 @@ function generateAttachInventoryToVariantHandler( * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostInventoryItemsReq { @IsOptional() diff --git a/packages/medusa/src/api/routes/admin/order-edits/add-line-item.ts b/packages/medusa/src/api/routes/admin/order-edits/add-line-item.ts index 6118255489410..b88311e10c2c8 100644 --- a/packages/medusa/src/api/routes/admin/order-edits/add-line-item.ts +++ b/packages/medusa/src/api/routes/admin/order-edits/add-line-item.ts @@ -150,7 +150,7 @@ export default async (req: Request, res: Response) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostOrderEditsEditLineItemsReq { @IsString() diff --git a/packages/medusa/src/api/routes/admin/orders/cancel-claim.ts b/packages/medusa/src/api/routes/admin/orders/cancel-claim.ts index 58e63aba5d15e..6901908a1a939 100644 --- a/packages/medusa/src/api/routes/admin/orders/cancel-claim.ts +++ b/packages/medusa/src/api/routes/admin/orders/cancel-claim.ts @@ -13,7 +13,7 @@ import { cleanResponseData } from "../../../../utils/clean-response-data" * x-authenticated: true * externalDocs: * description: Canceling a claim - * url: https://docs.medusajs.com/modules/orders/claims#cancel-a-claim + * url: https://docs.medusajs.com/v1/modules/orders/claims#cancel-a-claim * parameters: * - (path) id=* {string} The ID of the order the claim is associated with. * - (path) claim_id=* {string} The ID of the Claim. diff --git a/packages/medusa/src/api/routes/admin/orders/cancel-swap.ts b/packages/medusa/src/api/routes/admin/orders/cancel-swap.ts index 112a8a7ff7235..9f14584727786 100644 --- a/packages/medusa/src/api/routes/admin/orders/cancel-swap.ts +++ b/packages/medusa/src/api/routes/admin/orders/cancel-swap.ts @@ -13,7 +13,7 @@ import { cleanResponseData } from "../../../../utils/clean-response-data" * x-authenticated: true * externalDocs: * description: Canceling a swap - * url: https://docs.medusajs.com/modules/orders/swaps#canceling-a-swap + * url: https://docs.medusajs.com/v1/modules/orders/swaps#canceling-a-swap * parameters: * - (path) id=* {string} The ID of the Order the swap is associated with. * - (path) swap_id=* {string} The ID of the Swap. diff --git a/packages/medusa/src/api/routes/admin/orders/create-claim-shipment.ts b/packages/medusa/src/api/routes/admin/orders/create-claim-shipment.ts index 3374f03eaf8d2..683e2d4629d28 100644 --- a/packages/medusa/src/api/routes/admin/orders/create-claim-shipment.ts +++ b/packages/medusa/src/api/routes/admin/orders/create-claim-shipment.ts @@ -13,7 +13,7 @@ import { cleanResponseData } from "../../../../utils/clean-response-data" * x-authenticated: true * externalDocs: * description: Fulfill a claim - * url: https://docs.medusajs.com/modules/orders/claims#fulfill-a-claim + * url: https://docs.medusajs.com/v1/modules/orders/claims#fulfill-a-claim * parameters: * - (path) id=* {string} The ID of the Order the claim is associated with. * - (path) claim_id=* {string} The ID of the Claim. diff --git a/packages/medusa/src/api/routes/admin/orders/create-claim.ts b/packages/medusa/src/api/routes/admin/orders/create-claim.ts index 6a48974f81979..588c79226adbd 100644 --- a/packages/medusa/src/api/routes/admin/orders/create-claim.ts +++ b/packages/medusa/src/api/routes/admin/orders/create-claim.ts @@ -26,7 +26,7 @@ import { cleanResponseData } from "../../../../utils/clean-response-data" * the refund is processed as well." * externalDocs: * description: How are claims created - * url: https://docs.medusajs.com/modules/orders/claims#how-are-claims-created + * url: https://docs.medusajs.com/v1/modules/orders/claims#how-are-claims-created * x-authenticated: true * parameters: * - (path) id=* {string} The ID of the Order. @@ -527,7 +527,7 @@ class AdditionalItem { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostOrdersOrderClaimsReq { @IsEnum(ClaimType) diff --git a/packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts b/packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts index 8b30ea60d7f97..814bec0f1fe7a 100644 --- a/packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts +++ b/packages/medusa/src/api/routes/admin/orders/create-fulfillment.ts @@ -30,7 +30,7 @@ import { promiseAll } from "@medusajs/utils" * x-authenticated: true * externalDocs: * description: Fulfillments of orders - * url: https://docs.medusajs.com/modules/orders/#fulfillments-in-orders + * url: https://docs.medusajs.com/v1/modules/orders/#fulfillments-in-orders * parameters: * - (path) id=* {string} The ID of the Order. * - (query) expand {string} Comma-separated relations that should be expanded in the returned order. @@ -276,7 +276,7 @@ export const updateInventoryAndReservations = async ( * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostOrdersOrderFulfillmentsReq { @IsArray() diff --git a/packages/medusa/src/api/routes/admin/orders/create-shipment.ts b/packages/medusa/src/api/routes/admin/orders/create-shipment.ts index c44fc59e75a77..34f6f273b092c 100644 --- a/packages/medusa/src/api/routes/admin/orders/create-shipment.ts +++ b/packages/medusa/src/api/routes/admin/orders/create-shipment.ts @@ -21,7 +21,7 @@ import { cleanResponseData } from "../../../../utils/clean-response-data" * x-authenticated: true * externalDocs: * description: Fulfillments of orders - * url: https://docs.medusajs.com/modules/orders/#fulfillments-in-orders + * url: https://docs.medusajs.com/v1/modules/orders/#fulfillments-in-orders * parameters: * - (path) id=* {string} The ID of the Order. * - (query) expand {string} Comma-separated relations that should be expanded in the returned order. diff --git a/packages/medusa/src/api/routes/admin/orders/create-swap-shipment.ts b/packages/medusa/src/api/routes/admin/orders/create-swap-shipment.ts index c49bd8d6496a6..0a90a772829c6 100644 --- a/packages/medusa/src/api/routes/admin/orders/create-swap-shipment.ts +++ b/packages/medusa/src/api/routes/admin/orders/create-swap-shipment.ts @@ -21,7 +21,7 @@ import { cleanResponseData } from "../../../../utils/clean-response-data" * x-authenticated: true * externalDocs: * description: Handling swap fulfillments - * url: https://docs.medusajs.com/modules/orders/swaps#handling-swap-fulfillment + * url: https://docs.medusajs.com/v1/modules/orders/swaps#handling-swap-fulfillment * parameters: * - (path) id=* {string} The ID of the Order. * - (path) swap_id=* {string} The ID of the Swap. diff --git a/packages/medusa/src/api/routes/admin/orders/create-swap.ts b/packages/medusa/src/api/routes/admin/orders/create-swap.ts index 15a108768a476..31e208de681d2 100644 --- a/packages/medusa/src/api/routes/admin/orders/create-swap.ts +++ b/packages/medusa/src/api/routes/admin/orders/create-swap.ts @@ -31,7 +31,7 @@ import { cleanResponseData } from "../../../../utils/clean-response-data" * x-authenticated: true * externalDocs: * description: How are swaps created - * url: https://docs.medusajs.com/modules/orders/swaps#how-are-swaps-created + * url: https://docs.medusajs.com/v1/modules/orders/swaps#how-are-swaps-created * parameters: * - (path) id=* {string} The ID of the Order. * - (query) expand {string} Comma-separated relations that should be expanded in the returned order. diff --git a/packages/medusa/src/api/routes/admin/orders/fulfill-claim.ts b/packages/medusa/src/api/routes/admin/orders/fulfill-claim.ts index 0e488553d211a..a3ccba28c0a1c 100644 --- a/packages/medusa/src/api/routes/admin/orders/fulfill-claim.ts +++ b/packages/medusa/src/api/routes/admin/orders/fulfill-claim.ts @@ -19,7 +19,7 @@ import { updateInventoryAndReservations } from "./create-fulfillment" * x-authenticated: true * externalDocs: * description: Fulfill a claim - * url: https://docs.medusajs.com/modules/orders/claims#fulfill-a-claim + * url: https://docs.medusajs.com/v1/modules/orders/claims#fulfill-a-claim * parameters: * - (path) id=* {string} The ID of the Order the claim is associated with. * - (path) claim_id=* {string} The ID of the Claim. @@ -176,7 +176,7 @@ export default async (req, res) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" * no_notification: * description: >- * If set to `true`, no notification will be sent to the customer related to this Claim. diff --git a/packages/medusa/src/api/routes/admin/orders/fulfill-swap.ts b/packages/medusa/src/api/routes/admin/orders/fulfill-swap.ts index ee5e525a9265d..51ec28e99e446 100644 --- a/packages/medusa/src/api/routes/admin/orders/fulfill-swap.ts +++ b/packages/medusa/src/api/routes/admin/orders/fulfill-swap.ts @@ -20,7 +20,7 @@ import { updateInventoryAndReservations } from "./create-fulfillment" * x-authenticated: true * externalDocs: * description: Handling a swap's fulfillment - * url: https://docs.medusajs.com/modules/orders/swaps#handling-swap-fulfillment + * url: https://docs.medusajs.com/v1/modules/orders/swaps#handling-swap-fulfillment * parameters: * - (path) id=* {string} The ID of the Order the swap is associated with. * - (path) swap_id=* {string} The ID of the Swap. @@ -188,7 +188,7 @@ export default async (req, res) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" * no_notification: * description: If set to `true`, no notification will be sent to the customer related to this swap. * type: boolean diff --git a/packages/medusa/src/api/routes/admin/orders/process-swap-payment.ts b/packages/medusa/src/api/routes/admin/orders/process-swap-payment.ts index 7f28a998ccd6a..bfb98202f1e3c 100644 --- a/packages/medusa/src/api/routes/admin/orders/process-swap-payment.ts +++ b/packages/medusa/src/api/routes/admin/orders/process-swap-payment.ts @@ -13,7 +13,7 @@ import { cleanResponseData } from "../../../../utils/clean-response-data" * x-authenticated: true * externalDocs: * description: Handling a swap's payment - * url: https://docs.medusajs.com/modules/orders/swaps#handling-swap-payment + * url: https://docs.medusajs.com/v1/modules/orders/swaps#handling-swap-payment * parameters: * - (path) id=* {string} The ID of the order the swap is associated with. * - (path) swap_id=* {string} The ID of the swap. diff --git a/packages/medusa/src/api/routes/admin/orders/request-return.ts b/packages/medusa/src/api/routes/admin/orders/request-return.ts index 5677c7da3aa1c..e8b5bf31e085f 100644 --- a/packages/medusa/src/api/routes/admin/orders/request-return.ts +++ b/packages/medusa/src/api/routes/admin/orders/request-return.ts @@ -28,7 +28,7 @@ import { cleanResponseData } from "../../../../utils/clean-response-data" * x-authenticated: true * externalDocs: * description: Return creation process - * url: https://docs.medusajs.com/modules/orders/returns#returns-process + * url: https://docs.medusajs.com/v1/modules/orders/returns#returns-process * parameters: * - (path) id=* {string} The ID of the Order. * - (query) expand {string} Comma-separated relations that should be expanded in the returned order. diff --git a/packages/medusa/src/api/routes/admin/orders/update-claim.ts b/packages/medusa/src/api/routes/admin/orders/update-claim.ts index db1c7f237552d..2c7d2426ade81 100644 --- a/packages/medusa/src/api/routes/admin/orders/update-claim.ts +++ b/packages/medusa/src/api/routes/admin/orders/update-claim.ts @@ -201,7 +201,7 @@ export default async (req, res) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" * shipping_methods: * description: The Shipping Methods to send the additional Line Items with. * type: array @@ -228,7 +228,7 @@ export default async (req, res) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostOrdersOrderClaimsClaimReq { @IsArray() diff --git a/packages/medusa/src/api/routes/admin/payment-collections/update-payment-collection.ts b/packages/medusa/src/api/routes/admin/payment-collections/update-payment-collection.ts index 064d5a6d0468a..8618859649385 100644 --- a/packages/medusa/src/api/routes/admin/payment-collections/update-payment-collection.ts +++ b/packages/medusa/src/api/routes/admin/payment-collections/update-payment-collection.ts @@ -131,7 +131,7 @@ export default async (req, res) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminUpdatePaymentCollectionsReq { @IsString() diff --git a/packages/medusa/src/api/routes/admin/product-categories/create-product-category.ts b/packages/medusa/src/api/routes/admin/product-categories/create-product-category.ts index d5b9dccfdbe9a..7ce0b8a3af081 100644 --- a/packages/medusa/src/api/routes/admin/product-categories/create-product-category.ts +++ b/packages/medusa/src/api/routes/admin/product-categories/create-product-category.ts @@ -154,7 +154,7 @@ export default async (req: Request, res: Response) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ // eslint-disable-next-line max-len export class AdminPostProductCategoriesReq extends AdminProductCategoriesReqBase { diff --git a/packages/medusa/src/api/routes/admin/product-categories/update-product-category.ts b/packages/medusa/src/api/routes/admin/product-categories/update-product-category.ts index ed1e651bd9241..381e2948c7146 100644 --- a/packages/medusa/src/api/routes/admin/product-categories/update-product-category.ts +++ b/packages/medusa/src/api/routes/admin/product-categories/update-product-category.ts @@ -170,7 +170,7 @@ export default async (req: Request, res: Response) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ // eslint-disable-next-line max-len export class AdminPostProductCategoriesCategoryReq extends AdminProductCategoriesReqBase { diff --git a/packages/medusa/src/api/routes/admin/products/create-product.ts b/packages/medusa/src/api/routes/admin/products/create-product.ts index eb6abdd8818a3..9e899aa2ad310 100644 --- a/packages/medusa/src/api/routes/admin/products/create-product.ts +++ b/packages/medusa/src/api/routes/admin/products/create-product.ts @@ -583,12 +583,12 @@ class ProductVariantReq { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" * prices: * type: array * description: An array of product variant prices. A product variant can have different prices for each region or currency code. * externalDocs: - * url: https://docs.medusajs.com/modules/products/admin/manage-products#product-variant-prices + * url: https://docs.medusajs.com/v1/modules/products/admin/manage-products#product-variant-prices * description: Product variant pricing. * items: * type: object @@ -617,7 +617,7 @@ class ProductVariantReq { * type: array * description: An array of Product Option values that the variant corresponds to. The option values should be added into the array in the same index as in the `options` field of the product. * externalDocs: - * url: https://docs.medusajs.com/modules/products/admin/manage-products#create-a-product + * url: https://docs.medusajs.com/v1/modules/products/admin/manage-products#create-a-product * description: Example of how to create a product with options and variants * items: * type: object @@ -656,7 +656,7 @@ class ProductVariantReq { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostProductsReq { @IsString() diff --git a/packages/medusa/src/api/routes/admin/products/create-variant.ts b/packages/medusa/src/api/routes/admin/products/create-variant.ts index 2caa26d68dbe8..7fee8236296af 100644 --- a/packages/medusa/src/api/routes/admin/products/create-variant.ts +++ b/packages/medusa/src/api/routes/admin/products/create-variant.ts @@ -306,12 +306,12 @@ class ProductVariantOptionReq { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" * prices: * type: array * description: An array of product variant prices. A product variant can have different prices for each region or currency code. * externalDocs: - * url: https://docs.medusajs.com/modules/products/admin/manage-products#product-variant-prices + * url: https://docs.medusajs.com/v1/modules/products/admin/manage-products#product-variant-prices * description: Product variant pricing. * items: * type: object diff --git a/packages/medusa/src/api/routes/admin/products/set-metadata.ts b/packages/medusa/src/api/routes/admin/products/set-metadata.ts index e99554bf34ea2..c3e124f84ec6b 100644 --- a/packages/medusa/src/api/routes/admin/products/set-metadata.ts +++ b/packages/medusa/src/api/routes/admin/products/set-metadata.ts @@ -12,7 +12,7 @@ import { validator } from "../../../../utils/validator" * description: "Set the metadata of a Product. It can be any key-value pair, which allows adding custom data to a product." * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" * x-authenticated: true * parameters: * - (path) id=* {string} The ID of the Product. diff --git a/packages/medusa/src/api/routes/admin/products/update-product.ts b/packages/medusa/src/api/routes/admin/products/update-product.ts index df9751885c045..caa6a62aab729 100644 --- a/packages/medusa/src/api/routes/admin/products/update-product.ts +++ b/packages/medusa/src/api/routes/admin/products/update-product.ts @@ -581,12 +581,12 @@ class ProductVariantReq { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" * prices: * type: array * description: An array of product variant prices. A product variant can have different prices for each region or currency code. * externalDocs: - * url: https://docs.medusajs.com/modules/products/admin/manage-products#product-variant-prices + * url: https://docs.medusajs.com/v1/modules/products/admin/manage-products#product-variant-prices * description: Product variant pricing. * items: * type: object @@ -658,7 +658,7 @@ class ProductVariantReq { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostProductsProductReq { @IsString() diff --git a/packages/medusa/src/api/routes/admin/products/update-variant.ts b/packages/medusa/src/api/routes/admin/products/update-variant.ts index 83f7630fdb752..90abdd4623fa4 100644 --- a/packages/medusa/src/api/routes/admin/products/update-variant.ts +++ b/packages/medusa/src/api/routes/admin/products/update-variant.ts @@ -264,12 +264,12 @@ class ProductVariantOptionReq { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" * prices: * type: array * description: An array of product variant prices. A product variant can have different prices for each region or currency code. * externalDocs: - * url: https://docs.medusajs.com/modules/products/admin/manage-products#product-variant-prices + * url: https://docs.medusajs.com/v1/modules/products/admin/manage-products#product-variant-prices * description: Product variant pricing. * items: * type: object diff --git a/packages/medusa/src/api/routes/admin/regions/update-region.ts b/packages/medusa/src/api/routes/admin/regions/update-region.ts index d00f1e891b8e8..6d673ec7b695b 100644 --- a/packages/medusa/src/api/routes/admin/regions/update-region.ts +++ b/packages/medusa/src/api/routes/admin/regions/update-region.ts @@ -147,7 +147,7 @@ export default async (req, res) => { * description: >- * If set to `true`, the Medusa backend will automatically calculate taxes for carts in this region. If set to `false`, the taxes must be calculated manually. * externalDocs: - * url: https://docs.medusajs.com/modules/taxes/storefront/manual-calculation + * url: https://docs.medusajs.com/v1/modules/taxes/storefront/manual-calculation * description: How to calculate taxes in a storefront. * type: boolean * gift_cards_taxable: diff --git a/packages/medusa/src/api/routes/admin/reservations/create-reservation.ts b/packages/medusa/src/api/routes/admin/reservations/create-reservation.ts index de2a3a07c51b8..b4a68438179c9 100644 --- a/packages/medusa/src/api/routes/admin/reservations/create-reservation.ts +++ b/packages/medusa/src/api/routes/admin/reservations/create-reservation.ts @@ -155,7 +155,7 @@ export default async (req, res) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostReservationsReq { @IsString() diff --git a/packages/medusa/src/api/routes/admin/reservations/update-reservation.ts b/packages/medusa/src/api/routes/admin/reservations/update-reservation.ts index 9901e440d473d..6329dbc9cc46c 100644 --- a/packages/medusa/src/api/routes/admin/reservations/update-reservation.ts +++ b/packages/medusa/src/api/routes/admin/reservations/update-reservation.ts @@ -146,7 +146,7 @@ export default async (req, res) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostReservationsReservationReq { @IsNumber() diff --git a/packages/medusa/src/api/routes/admin/return-reasons/create-reason.ts b/packages/medusa/src/api/routes/admin/return-reasons/create-reason.ts index d3f414d684643..3776aba91e8ca 100644 --- a/packages/medusa/src/api/routes/admin/return-reasons/create-reason.ts +++ b/packages/medusa/src/api/routes/admin/return-reasons/create-reason.ts @@ -145,7 +145,7 @@ export default async (req, res) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostReturnReasonsReq { @IsString() diff --git a/packages/medusa/src/api/routes/admin/return-reasons/update-reason.ts b/packages/medusa/src/api/routes/admin/return-reasons/update-reason.ts index 333eaaba0510e..3c95c5f1fb632 100644 --- a/packages/medusa/src/api/routes/admin/return-reasons/update-reason.ts +++ b/packages/medusa/src/api/routes/admin/return-reasons/update-reason.ts @@ -146,7 +146,7 @@ export default async (req, res) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostReturnReasonsReasonReq { @IsOptional() diff --git a/packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts b/packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts index a18f1c3e4a806..60ecbf29102aa 100644 --- a/packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts +++ b/packages/medusa/src/api/routes/admin/shipping-options/create-shipping-option.ts @@ -239,7 +239,7 @@ class OptionRequirement { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" * includes_tax: * description: "Tax included in prices of shipping option" * x-featureFlag: "tax_inclusive_pricing" diff --git a/packages/medusa/src/api/routes/admin/shipping-options/update-shipping-option.ts b/packages/medusa/src/api/routes/admin/shipping-options/update-shipping-option.ts index 558b7f8c58e39..899d1089ece73 100644 --- a/packages/medusa/src/api/routes/admin/shipping-options/update-shipping-option.ts +++ b/packages/medusa/src/api/routes/admin/shipping-options/update-shipping-option.ts @@ -197,7 +197,7 @@ class OptionRequirement { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" * requirements: * description: "The requirements that must be satisfied for the Shipping Option to be available." * type: array diff --git a/packages/medusa/src/api/routes/admin/shipping-profiles/create-shipping-profile.ts b/packages/medusa/src/api/routes/admin/shipping-profiles/create-shipping-profile.ts index 640f7dcc34321..ce4bede71f948 100644 --- a/packages/medusa/src/api/routes/admin/shipping-profiles/create-shipping-profile.ts +++ b/packages/medusa/src/api/routes/admin/shipping-profiles/create-shipping-profile.ts @@ -130,7 +130,7 @@ export default async (req, res) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostShippingProfilesReq { @IsString() diff --git a/packages/medusa/src/api/routes/admin/shipping-profiles/update-shipping-profile.ts b/packages/medusa/src/api/routes/admin/shipping-profiles/update-shipping-profile.ts index 7fa58fccd4945..333bc8c5d056c 100644 --- a/packages/medusa/src/api/routes/admin/shipping-profiles/update-shipping-profile.ts +++ b/packages/medusa/src/api/routes/admin/shipping-profiles/update-shipping-profile.ts @@ -152,7 +152,7 @@ export default async (req, res) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" * type: * description: The type of the Shipping Profile * type: string diff --git a/packages/medusa/src/api/routes/admin/stock-locations/create-stock-location.ts b/packages/medusa/src/api/routes/admin/stock-locations/create-stock-location.ts index 948db35bb395d..9b630f7d6c861 100644 --- a/packages/medusa/src/api/routes/admin/stock-locations/create-stock-location.ts +++ b/packages/medusa/src/api/routes/admin/stock-locations/create-stock-location.ts @@ -208,7 +208,7 @@ class StockLocationAddress { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" * address: * description: A new stock location address to create and associate with the stock location. Only required if `address_id` is not provided. * $ref: "#/components/schemas/StockLocationAddressInput" diff --git a/packages/medusa/src/api/routes/admin/stock-locations/update-stock-location.ts b/packages/medusa/src/api/routes/admin/stock-locations/update-stock-location.ts index efad1a6a6503e..c6cc712c2d68f 100644 --- a/packages/medusa/src/api/routes/admin/stock-locations/update-stock-location.ts +++ b/packages/medusa/src/api/routes/admin/stock-locations/update-stock-location.ts @@ -192,7 +192,7 @@ class StockLocationAddress { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" * address: * description: The data of an associated address to create or update. * $ref: "#/components/schemas/StockLocationAddressInput" diff --git a/packages/medusa/src/api/routes/admin/store/update-store.ts b/packages/medusa/src/api/routes/admin/store/update-store.ts index ea39d76dca568..cd6834dfb4617 100644 --- a/packages/medusa/src/api/routes/admin/store/update-store.ts +++ b/packages/medusa/src/api/routes/admin/store/update-store.ts @@ -144,7 +144,7 @@ export default async (req, res) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminPostStoreReq { @IsOptional() diff --git a/packages/medusa/src/api/routes/admin/users/reset-password-token.ts b/packages/medusa/src/api/routes/admin/users/reset-password-token.ts index 071622c654fd1..1449beb6843d6 100644 --- a/packages/medusa/src/api/routes/admin/users/reset-password-token.ts +++ b/packages/medusa/src/api/routes/admin/users/reset-password-token.ts @@ -9,10 +9,10 @@ import { EntityManager } from "typeorm" * summary: "Request Password Reset" * description: "Generate a password token for an admin user with a given email. This also triggers the `user.password_reset` event. So, if you have a Notification Service installed * that can handle this event, a notification, such as an email, will be sent to the user. The token is triggered as part of the `user.password_reset` event's payload. - * That token must be used later to reset the password using the [Reset Password](https://docs.medusajs.com/api/admin#users_postusersuserpassword) API Route." + * That token must be used later to reset the password using the [Reset Password](https://docs.medusajs.com/v1/api/admin#users_postusersuserpassword) API Route." * externalDocs: * description: How to reset a user's password - * url: https://docs.medusajs.com/modules/users/admin/manage-profile#reset-password + * url: https://docs.medusajs.com/v1/modules/users/admin/manage-profile#reset-password * requestBody: * content: * application/json: diff --git a/packages/medusa/src/api/routes/admin/users/reset-password.ts b/packages/medusa/src/api/routes/admin/users/reset-password.ts index cb4938c32517b..54c0eb3d1be33 100644 --- a/packages/medusa/src/api/routes/admin/users/reset-password.ts +++ b/packages/medusa/src/api/routes/admin/users/reset-password.ts @@ -16,7 +16,7 @@ import { EntityManager } from "typeorm" * password with this request." * externalDocs: * description: How to reset a user's password - * url: https://docs.medusajs.com/modules/users/admin/manage-profile#reset-password + * url: https://docs.medusajs.com/v1/modules/users/admin/manage-profile#reset-password * requestBody: * content: * application/json: diff --git a/packages/medusa/src/api/routes/admin/users/update-user.ts b/packages/medusa/src/api/routes/admin/users/update-user.ts index c374f351f5bf1..36b17caed0c2c 100644 --- a/packages/medusa/src/api/routes/admin/users/update-user.ts +++ b/packages/medusa/src/api/routes/admin/users/update-user.ts @@ -136,7 +136,7 @@ export default async (req, res) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class AdminUpdateUserRequest { @IsString() diff --git a/packages/medusa/src/api/routes/admin/variants/list-variants.ts b/packages/medusa/src/api/routes/admin/variants/list-variants.ts index f69faaebdab95..ac6361d7b8996 100644 --- a/packages/medusa/src/api/routes/admin/variants/list-variants.ts +++ b/packages/medusa/src/api/routes/admin/variants/list-variants.ts @@ -60,7 +60,7 @@ import { IsType } from "../../../../utils/validators/is-type" * type: string * externalDocs: * description: "Price selection context overview" - * url: "https://docs.medusajs.com/modules/price-lists/price-selection-strategy#context-object" + * url: "https://docs.medusajs.com/v1/modules/price-lists/price-selection-strategy#context-object" * - in: query * name: currency_code * style: form @@ -70,7 +70,7 @@ import { IsType } from "../../../../utils/validators/is-type" * type: string * externalDocs: * description: "Price selection context overview" - * url: "https://docs.medusajs.com/modules/price-lists/price-selection-strategy#context-object" + * url: "https://docs.medusajs.com/v1/modules/price-lists/price-selection-strategy#context-object" * - in: query * name: customer_id * style: form @@ -80,7 +80,7 @@ import { IsType } from "../../../../utils/validators/is-type" * type: string * externalDocs: * description: "Price selection context overview" - * url: "https://docs.medusajs.com/modules/price-lists/price-selection-strategy#context-object" + * url: "https://docs.medusajs.com/v1/modules/price-lists/price-selection-strategy#context-object" * - in: query * name: title * style: form diff --git a/packages/medusa/src/api/routes/store/carts/calculate-taxes.ts b/packages/medusa/src/api/routes/store/carts/calculate-taxes.ts index d178cb8ff85d2..c6a5f485a7d92 100644 --- a/packages/medusa/src/api/routes/store/carts/calculate-taxes.ts +++ b/packages/medusa/src/api/routes/store/carts/calculate-taxes.ts @@ -13,7 +13,7 @@ import { Logger } from "@medusajs/types" * Medusa's system provider, this may lead to sending requests to third-party services." * externalDocs: * description: "How to calculate taxes manually during checkout" - * url: "https://docs.medusajs.com/modules/taxes/storefront/manual-calculation" + * url: "https://docs.medusajs.com/v1/modules/taxes/storefront/manual-calculation" * parameters: * - (path) id=* {String} The Cart ID. * x-codegen: diff --git a/packages/medusa/src/api/routes/store/carts/complete-cart.ts b/packages/medusa/src/api/routes/store/carts/complete-cart.ts index 9c4902e7fcbf5..abdecb5e3c7a4 100644 --- a/packages/medusa/src/api/routes/store/carts/complete-cart.ts +++ b/packages/medusa/src/api/routes/store/carts/complete-cart.ts @@ -18,7 +18,7 @@ import { Logger } from "@medusajs/types" * key in the `Idempotency-Key` header. * externalDocs: * description: "Cart completion overview" - * url: "https://docs.medusajs.com/modules/carts-and-checkout/cart#cart-completion" + * url: "https://docs.medusajs.com/v1/modules/carts-and-checkout/cart#cart-completion" * parameters: * - (path) id=* {String} The Cart ID. * x-codegen: diff --git a/packages/medusa/src/api/routes/store/carts/create-line-item/index.ts b/packages/medusa/src/api/routes/store/carts/create-line-item/index.ts index b23ec04533ca8..a67a91e53710b 100644 --- a/packages/medusa/src/api/routes/store/carts/create-line-item/index.ts +++ b/packages/medusa/src/api/routes/store/carts/create-line-item/index.ts @@ -245,7 +245,7 @@ export default async (req, res) => { * description: An optional key-value map with additional details about the Line Item. * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class StorePostCartsCartLineItemsReq { @IsString() diff --git a/packages/medusa/src/api/routes/store/carts/update-line-item.ts b/packages/medusa/src/api/routes/store/carts/update-line-item.ts index c492c48b29307..3deaa9b1582c5 100644 --- a/packages/medusa/src/api/routes/store/carts/update-line-item.ts +++ b/packages/medusa/src/api/routes/store/carts/update-line-item.ts @@ -174,7 +174,7 @@ export default async (req, res) => { * description: An optional key-value map with additional details about the Line Item. If omitted, the metadata will remain unchanged." * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class StorePostCartsCartLineItemsItemReq { @IsInt() diff --git a/packages/medusa/src/api/routes/store/customers/reset-password-token.ts b/packages/medusa/src/api/routes/store/customers/reset-password-token.ts index ff4ae6d92014b..f3f1bdddd3436 100644 --- a/packages/medusa/src/api/routes/store/customers/reset-password-token.ts +++ b/packages/medusa/src/api/routes/store/customers/reset-password-token.ts @@ -11,7 +11,7 @@ import { EntityManager } from "typeorm" * installed in the Medusa backend and is configured to handle this event, a notification to the customer, such as an email, may be sent with reset instructions." * externalDocs: * description: "How to reset password" - * url: "https://docs.medusajs.com/modules/customers/storefront/implement-customer-profiles#reset-password" + * url: "https://docs.medusajs.com/v1/modules/customers/storefront/implement-customer-profiles#reset-password" * requestBody: * content: * application/json: diff --git a/packages/medusa/src/api/routes/store/customers/reset-password.ts b/packages/medusa/src/api/routes/store/customers/reset-password.ts index abc18b40f97a2..31165f66b7de9 100644 --- a/packages/medusa/src/api/routes/store/customers/reset-password.ts +++ b/packages/medusa/src/api/routes/store/customers/reset-password.ts @@ -14,7 +14,7 @@ import { MedusaError } from "medusa-core-utils" * you must create a new one." * externalDocs: * description: "How to reset password" - * url: "https://docs.medusajs.com/modules/customers/storefront/implement-customer-profiles#reset-password" + * url: "https://docs.medusajs.com/v1/modules/customers/storefront/implement-customer-profiles#reset-password" * requestBody: * content: * application/json: diff --git a/packages/medusa/src/api/routes/store/customers/update-customer.ts b/packages/medusa/src/api/routes/store/customers/update-customer.ts index 1754b924001dd..334bd8d1ec8f4 100644 --- a/packages/medusa/src/api/routes/store/customers/update-customer.ts +++ b/packages/medusa/src/api/routes/store/customers/update-customer.ts @@ -152,7 +152,7 @@ export default async (req, res) => { * type: object * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ export class StorePostCustomersCustomerReq { @IsOptional() diff --git a/packages/medusa/src/api/routes/store/order-edits/complete-order-edit.ts b/packages/medusa/src/api/routes/store/order-edits/complete-order-edit.ts index b58452417402e..cca80d0e67ad6 100644 --- a/packages/medusa/src/api/routes/store/order-edits/complete-order-edit.ts +++ b/packages/medusa/src/api/routes/store/order-edits/complete-order-edit.ts @@ -15,7 +15,7 @@ import { * description: "Complete an Order Edit and reflect its changes on the original order. Any additional payment required must be authorized first using the Payment Collection API Routes." * externalDocs: * description: "How to handle order edits in a storefront" - * url: "https://docs.medusajs.com/modules/orders/storefront/handle-order-edits" + * url: "https://docs.medusajs.com/v1/modules/orders/storefront/handle-order-edits" * parameters: * - (path) id=* {string} The ID of the Order Edit. * x-codegen: diff --git a/packages/medusa/src/api/routes/store/orders/confirm-order-request.ts b/packages/medusa/src/api/routes/store/orders/confirm-order-request.ts index 68626fa55c718..72d9a8c41ae09 100644 --- a/packages/medusa/src/api/routes/store/orders/confirm-order-request.ts +++ b/packages/medusa/src/api/routes/store/orders/confirm-order-request.ts @@ -14,7 +14,7 @@ import { promiseAll } from "@medusajs/utils" * description: "Verify the claim order token provided to the customer when they request ownership of an order." * externalDocs: * description: "How to implement claim-order flow in a storefront" - * url: "https://docs.medusajs.com/modules/orders/storefront/implement-claim-order" + * url: "https://docs.medusajs.com/v1/modules/orders/storefront/implement-claim-order" * requestBody: * content: * application/json: diff --git a/packages/medusa/src/api/routes/store/orders/request-order.ts b/packages/medusa/src/api/routes/store/orders/request-order.ts index 0acd2f454f8f7..859d602eb17de 100644 --- a/packages/medusa/src/api/routes/store/orders/request-order.ts +++ b/packages/medusa/src/api/routes/store/orders/request-order.ts @@ -15,7 +15,7 @@ import { TokenEvents } from "../../../../types/token" * the customer should receive instructions on how to finalize their claim ownership." * externalDocs: * description: "How to implement claim-order flow in a storefront" - * url: "https://docs.medusajs.com/modules/orders/storefront/implement-claim-order" + * url: "https://docs.medusajs.com/v1/modules/orders/storefront/implement-claim-order" * x-authenticated: true * requestBody: * content: diff --git a/packages/medusa/src/api/routes/store/product-categories/list-product-categories.ts b/packages/medusa/src/api/routes/store/product-categories/list-product-categories.ts index fcee7dcdc8751..39cbe74424617 100644 --- a/packages/medusa/src/api/routes/store/product-categories/list-product-categories.ts +++ b/packages/medusa/src/api/routes/store/product-categories/list-product-categories.ts @@ -16,7 +16,7 @@ import { defaultStoreCategoryScope } from "." * x-featureFlag: "product_categories" * externalDocs: * description: "How to retrieve a product category by its handle" - * url: "https://docs.medusajs.com/modules/products/storefront/use-categories#get-a-category-by-its-handle" + * url: "https://docs.medusajs.com/v1/modules/products/storefront/use-categories#get-a-category-by-its-handle" * parameters: * - (query) q {string} term used to search product category's names and handles. * - (query) handle {string} Filter by handle. diff --git a/packages/medusa/src/api/routes/store/products/get-product.ts b/packages/medusa/src/api/routes/store/products/get-product.ts index 3f384352ddd1e..62dc2f54383fb 100644 --- a/packages/medusa/src/api/routes/store/products/get-product.ts +++ b/packages/medusa/src/api/routes/store/products/get-product.ts @@ -24,7 +24,7 @@ import { defaultStoreProductRemoteQueryObject } from "./index" * You can alternatively use a publishable API key in the request header instead of passing a `sales_channel_id`. * externalDocs: * description: "How to pass product pricing parameters" - * url: "https://docs.medusajs.com/modules/products/storefront/show-products#product-pricing-parameters" + * url: "https://docs.medusajs.com/v1/modules/products/storefront/show-products#product-pricing-parameters" * parameters: * - (path) id=* {string} The ID of the Product. * - (query) sales_channel_id {string} The ID of the sales channel the customer is viewing the product from. diff --git a/packages/medusa/src/api/routes/store/products/list-products.ts b/packages/medusa/src/api/routes/store/products/list-products.ts index bcbfcc81d9799..e7fd8bf64df04 100644 --- a/packages/medusa/src/api/routes/store/products/list-products.ts +++ b/packages/medusa/src/api/routes/store/products/list-products.ts @@ -41,7 +41,7 @@ import { defaultStoreProductRemoteQueryObject } from "./index" * You can alternatively use a publishable API key in the request header instead of passing a `sales_channel_id`. * externalDocs: * description: "How to retrieve a product by its handle" - * url: "https://docs.medusajs.com/modules/products/storefront/show-products#retrieve-product-by-handle" + * url: "https://docs.medusajs.com/v1/modules/products/storefront/show-products#retrieve-product-by-handle" * parameters: * - (query) q {string} term used to search products' title, description, variant's title, variant's sku, and collection's title. * - in: query diff --git a/packages/medusa/src/api/routes/store/regions/list-regions.ts b/packages/medusa/src/api/routes/store/regions/list-regions.ts index 6c3303fded83d..3e6a38c2d2190 100644 --- a/packages/medusa/src/api/routes/store/regions/list-regions.ts +++ b/packages/medusa/src/api/routes/store/regions/list-regions.ts @@ -15,7 +15,7 @@ import { * show the customer all available regions to choose from." * externalDocs: * description: "How to use regions in a storefront" - * url: "https://docs.medusajs.com/modules/regions-and-currencies/storefront/use-regions" + * url: "https://docs.medusajs.com/v1/modules/regions-and-currencies/storefront/use-regions" * parameters: * - (query) offset=0 {integer} The number of regions to skip when retrieving the regions. * - (query) limit=100 {integer} Limit the number of regions returned. diff --git a/packages/medusa/src/api/routes/store/returns/create-return.ts b/packages/medusa/src/api/routes/store/returns/create-return.ts index 1e59b76870206..f73b9cefff66a 100644 --- a/packages/medusa/src/api/routes/store/returns/create-return.ts +++ b/packages/medusa/src/api/routes/store/returns/create-return.ts @@ -25,7 +25,7 @@ import { Logger } from "@medusajs/types" * description: "Create a Return for an Order. If a return shipping method is specified, the return is automatically fulfilled." * externalDocs: * description: "How to create a return in a storefront" - * url: "https://docs.medusajs.com/modules/orders/storefront/create-return" + * url: "https://docs.medusajs.com/v1/modules/orders/storefront/create-return" * requestBody: * content: * application/json: diff --git a/packages/medusa/src/api/routes/store/shipping-options/list-shipping-options.ts b/packages/medusa/src/api/routes/store/shipping-options/list-shipping-options.ts index 62b6167ae9027..c63af827560c6 100644 --- a/packages/medusa/src/api/routes/store/shipping-options/list-shipping-options.ts +++ b/packages/medusa/src/api/routes/store/shipping-options/list-shipping-options.ts @@ -8,7 +8,7 @@ import ShippingProfileService from "../../../../services/shipping-profile" * description: "Retrieve a list of Shipping Options available for a cart." * externalDocs: * description: "How to implement shipping step in checkout" - * url: "https://docs.medusajs.com/modules/carts-and-checkout/storefront/implement-checkout-flow#shipping-step" + * url: "https://docs.medusajs.com/v1/modules/carts-and-checkout/storefront/implement-checkout-flow#shipping-step" * parameters: * - (path) cart_id {string} The ID of the Cart. * x-codegen: diff --git a/packages/medusa/src/api/routes/store/swaps/create-swap.ts b/packages/medusa/src/api/routes/store/swaps/create-swap.ts index f71c0e40f9bc9..58536e5b9762b 100644 --- a/packages/medusa/src/api/routes/store/swaps/create-swap.ts +++ b/packages/medusa/src/api/routes/store/swaps/create-swap.ts @@ -31,7 +31,7 @@ import { validator } from "../../../../utils/validator" * key in the `Idempotency-Key` header. * externalDocs: * description: "How to create a swap" - * url: "https://docs.medusajs.com/modules/orders/storefront/create-swap" + * url: "https://docs.medusajs.com/v1/modules/orders/storefront/create-swap" * requestBody: * content: * application/json: diff --git a/packages/medusa/src/api/routes/store/variants/get-variant.ts b/packages/medusa/src/api/routes/store/variants/get-variant.ts index bdaa57ba78771..100654c92ee53 100644 --- a/packages/medusa/src/api/routes/store/variants/get-variant.ts +++ b/packages/medusa/src/api/routes/store/variants/get-variant.ts @@ -23,7 +23,7 @@ import { promiseAll } from "@medusajs/utils" * You can alternatively use a publishable API key in the request header instead of passing a `sales_channel_id`. * externalDocs: * description: "How to pass product pricing parameters" - * url: "https://docs.medusajs.com/modules/products/storefront/show-products#product-pricing-parameters" + * url: "https://docs.medusajs.com/v1/modules/products/storefront/show-products#product-pricing-parameters" * parameters: * - (path) id=* {string} The ID of the Product Variant. * - (query) sales_channel_id {string} The ID of the sales channel the customer is viewing the product variant from. diff --git a/packages/medusa/src/api/routes/store/variants/list-variants.ts b/packages/medusa/src/api/routes/store/variants/list-variants.ts index ce867f96af4b6..801a1947ea01f 100644 --- a/packages/medusa/src/api/routes/store/variants/list-variants.ts +++ b/packages/medusa/src/api/routes/store/variants/list-variants.ts @@ -28,7 +28,7 @@ import { promiseAll } from "@medusajs/utils" * You can alternatively use a publishable API key in the request header instead of passing a `sales_channel_id`. * externalDocs: * description: "How to pass product pricing parameters" - * url: "https://docs.medusajs.com/modules/products/storefront/show-products#product-pricing-parameters" + * url: "https://docs.medusajs.com/v1/modules/products/storefront/show-products#product-pricing-parameters" * parameters: * - (query) ids {string} Filter by a comma-separated list of IDs. If supplied, it overrides the `id` parameter. * - in: query diff --git a/packages/medusa/src/interfaces/fulfillment-service.ts b/packages/medusa/src/interfaces/fulfillment-service.ts index d0ac6adee7b76..cd0cabc248ea8 100644 --- a/packages/medusa/src/interfaces/fulfillment-service.ts +++ b/packages/medusa/src/interfaces/fulfillment-service.ts @@ -33,7 +33,7 @@ type ShippingMethodData = Record * * The `FulfillmentProvider` entity has 2 properties: `identifier` and `is_installed`. The `identifier` property in the fulfillment provider service is used when the fulfillment provider is added to the database. * - * The value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/api/admin#regions_postregionsregionfulfillmentproviders) to a region. + * The value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionfulfillmentproviders) to a region. * * ```ts * class MyFulfillmentService extends AbstractFulfillmentService { @@ -54,11 +54,11 @@ export interface FulfillmentService extends TransactionBaseService { getIdentifier(): string /** - * This method is used when retrieving the list of fulfillment options available in a region, particularly by the [List Fulfillment Options API Route](https://docs.medusajs.com/api/admin#regions_getregionsregionfulfillmentoptions). + * This method is used when retrieving the list of fulfillment options available in a region, particularly by the [List Fulfillment Options API Route](https://docs.medusajs.com/v1/api/admin#regions_getregionsregionfulfillmentoptions). * For example, if you’re integrating UPS as a fulfillment provider, you might support two fulfillment options: UPS Express Shipping and UPS Access Point. Each of these options can have different data associated with them. * * @returns {Promise} The list of fulfillment options. These options don't have any required format. Later on, these options can be used when creating a shipping option, - * such as when using the [Create Shipping Option API Route](https://docs.medusajs.com/api/admin#shipping-options_postshippingoptions). The chosen fulfillment option, which is one of the + * such as when using the [Create Shipping Option API Route](https://docs.medusajs.com/v1/api/admin#shipping-options_postshippingoptions). The chosen fulfillment option, which is one of the * items in the array returned by this method, will be set in the `data` object of the shipping option. * * @example @@ -119,7 +119,7 @@ export interface FulfillmentService extends TransactionBaseService { ): Promise> /** - * Once the admin creates the shipping option, the data of the shipping option will be validated first using this method. This method is called when the [Create Shipping Option API Route](https://docs.medusajs.com/api/admin#shipping-options_postshippingoptions) is used. + * Once the admin creates the shipping option, the data of the shipping option will be validated first using this method. This method is called when the [Create Shipping Option API Route](https://docs.medusajs.com/v1/api/admin#shipping-options_postshippingoptions) is used. * * @param {ShippingOptionData} data - the data object that is sent in the body of the request, basically, the data object of the shipping option. You can use this data to validate the shipping option before it is saved. * @returns {Promise} Whether the fulfillment option is valid. If the returned value is false, an error is thrown and the shipping option will not be saved. @@ -280,9 +280,9 @@ export interface FulfillmentService extends TransactionBaseService { /** * Fulfillment providers can also be used to return products. A shipping option can be used for returns if the `is_return` property is true or if an admin creates a Return Shipping Option from the settings. - * This method is used when the admin [creates a return request](https://docs.medusajs.com/api/admin#orders_postordersorderreturns) for an order, - * [creates a swap](https://docs.medusajs.com/api/admin#orders_postordersorderswaps) for an order, or when the - * [customer creates a return of their order](https://docs.medusajs.com/api/store#returns_postreturns). The fulfillment is created automatically for the order return. + * This method is used when the admin [creates a return request](https://docs.medusajs.com/v1/api/admin#orders_postordersorderreturns) for an order, + * [creates a swap](https://docs.medusajs.com/v1/api/admin#orders_postordersorderswaps) for an order, or when the + * [customer creates a return of their order](https://docs.medusajs.com/v1/api/store#returns_postreturns). The fulfillment is created automatically for the order return. * * @param {CreateReturnType} returnOrder - the return that the fulfillment is being created for. * @returns {Promise>} Used to set the value of the `shipping_data` attribute of the return being created. @@ -441,7 +441,7 @@ export abstract class AbstractFulfillmentService /** * The `FulfillmentProvider` entity has 2 properties: `identifier` and `is_installed`. The `identifier` property in the class is used when the fulfillment provider is created in the database. - * The value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/api/admin#regions_postregionsregionfulfillmentproviders) to a region. + * The value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionfulfillmentproviders) to a region. * * @example * class MyFulfillmentService extends AbstractFulfillmentService { diff --git a/packages/medusa/src/interfaces/notification-service.ts b/packages/medusa/src/interfaces/notification-service.ts index edf62ef60d167..05e5a0d57327c 100644 --- a/packages/medusa/src/interfaces/notification-service.ts +++ b/packages/medusa/src/interfaces/notification-service.ts @@ -28,7 +28,7 @@ export type ReturnedData = { * * :::note[Prerequisites] * - * Before creating a Notification Provider, [install an event bus module](https://docs.medusajs.com/development/events/modules/redis). + * Before creating a Notification Provider, [install an event bus module](https://docs.medusajs.com/v1/development/events/modules/redis). * * ::: * @@ -82,7 +82,7 @@ export type ReturnedData = { * The `NotificationProvider` entity has 2 properties: `identifier` and `is_installed`. The value of the `identifier` property in the notification provider * class is used when the Notification Provider is created in the database. * - * The value of this property is also used later when you want to subscribe the Notification Provider to events in a [Loader](https://docs.medusajs.com/development/loaders/overview). + * The value of this property is also used later when you want to subscribe the Notification Provider to events in a [Loader](https://docs.medusajs.com/v1/development/loaders/overview). * * For example: * @@ -97,7 +97,7 @@ export type ReturnedData = { */ export interface INotificationService extends TransactionBaseService { /** - * When an event is triggered that your Notification Provider is registered as a handler for, the [`NotificationService`](https://docs.medusajs.com/references/services/classes/services.NotificationService) + * When an event is triggered that your Notification Provider is registered as a handler for, the [`NotificationService`](https://docs.medusajs.com/v1/references/services/classes/services.NotificationService) * in the Medusa backend executes this method of your Notification Provider. * * In this method, you can perform the necessary operation to send the Notification. For example, you can send an email to the customer when they place an order. @@ -105,9 +105,9 @@ export interface INotificationService extends TransactionBaseService { * @param {string} event - The name of the event that was triggered. For example, `order.placed`. * @param {unknown} data - The data payload of the event that was triggered. For example, if the `order.placed` event is triggered, * the `eventData` object contains the property `id` which is the ID of the order that was placed. You can refer to the - * [Events reference](https://docs.medusajs.com/development/events/events-list) for information on all events and their payloads. + * [Events reference](https://docs.medusajs.com/v1/development/events/events-list) for information on all events and their payloads. * @param {unknown} attachmentGenerator - If you’ve previously register an attachment generator to the `NotificationService` using the - * [`registerAttachmentGenerator`](https://docs.medusajs.com/references/services/classes/services.NotificationService#registerattachmentgenerator) method, + * [`registerAttachmentGenerator`](https://docs.medusajs.com/v1/references/services/classes/services.NotificationService#registerattachmentgenerator) method, * you have access to it here. You can use the `attachmentGenerator` to generate on-demand invoices or other documents. The default value of this parameter is `null`. * @returns {Promise} The sending details. * @@ -152,15 +152,15 @@ export interface INotificationService extends TransactionBaseService { /** * This method is used to resend notifications, which is typically triggered by the - * [Resend Notification API Route](https://docs.medusajs.com/api/admin#notifications_postnotificationsnotificationresend). + * [Resend Notification API Route](https://docs.medusajs.com/v1/api/admin#notifications_postnotificationsnotificationresend). * - * @param {unknown} notification - The original [Notification record](https://docs.medusajs.com/references/entities/classes/Notification) that was created after you sent the + * @param {unknown} notification - The original [Notification record](https://docs.medusajs.com/v1/references/entities/classes/Notification) that was created after you sent the * notification with `sendNotification`. It includes the `to` and `data` attributes which are populated originally using the `to` and `data` properties of * the object you return in {@link sendNotification}. - * @param {unknown} config - The new configuration used to resend the notification. The [Resend Notification API Route](https://docs.medusajs.com/api/admin#notifications_postnotificationsnotificationresend), + * @param {unknown} config - The new configuration used to resend the notification. The [Resend Notification API Route](https://docs.medusajs.com/v1/api/admin#notifications_postnotificationsnotificationresend), * allows you to pass a new `to` field. If specified, it will be available in this config object. * @param {unknown} attachmentGenerator - f you’ve previously register an attachment generator to the `NotificationService` using the - * [`registerAttachmentGenerator`](https://docs.medusajs.com/references/services/classes/services.NotificationService#registerattachmentgenerator) method, + * [`registerAttachmentGenerator`](https://docs.medusajs.com/v1/references/services/classes/services.NotificationService#registerattachmentgenerator) method, * you have access to it here. You can use the `attachmentGenerator` to generate on-demand invoices or other documents. The default value of this parameter is `null`. * @returns {Promise} The resend details. * diff --git a/packages/medusa/src/interfaces/payment-processor.ts b/packages/medusa/src/interfaces/payment-processor.ts index 151c83015a7a2..5c222cdbf353f 100644 --- a/packages/medusa/src/interfaces/payment-processor.ts +++ b/packages/medusa/src/interfaces/payment-processor.ts @@ -115,7 +115,7 @@ export interface PaymentProcessorError { * The `PaymentProvider` entity has 2 properties: `id` and `is_installed`. The `identifier` property in the payment processor service is used when the payment processor is added to the database. * * The value of this property is also used to reference the payment processor throughout Medusa. - * For example, it is used to [add a payment processor](https://docs.medusajs.com/api/admin#regions_postregionsregionpaymentproviders) to a region. + * For example, it is used to [add a payment processor](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionpaymentproviders) to a region. * * ```ts * class MyPaymentService extends AbstractPaymentProcessor { @@ -192,7 +192,7 @@ export interface PaymentProcessor { getIdentifier(): string /** - * This method is called either if a region has only one payment provider enabled or when [a Payment Session is selected](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsession), + * This method is called either if a region has only one payment provider enabled or when [a Payment Session is selected](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsession), * which occurs when the customer selects their preferred payment method during checkout. * * It is used to allow you to make any necessary calls to the third-party provider to initialize the payment. For example, in Stripe this method is used to create a Payment Intent for the customer. @@ -232,8 +232,8 @@ export interface PaymentProcessor { /** * This method is used to update the payment session when the payment amount changes. It's called whenever the cart or any of its related data is updated. - * For example, when a [line item is added to the cart](https://docs.medusajs.com/api/store#carts_postcartscartlineitems) or when a - * [shipping method is selected](https://docs.medusajs.com/api/store#carts_postcartscartshippingmethod). + * For example, when a [line item is added to the cart](https://docs.medusajs.com/v1/api/store#carts_postcartscartlineitems) or when a + * [shipping method is selected](https://docs.medusajs.com/v1/api/store#carts_postcartscartshippingmethod). * * @param {PaymentProcessorContext} context - The context of the payment. * @returns {Promise} Either the payment's data or an error object. @@ -275,7 +275,7 @@ export interface PaymentProcessor { /** * This method is used to refund an order’s payment. This is typically triggered manually by the store operator from the admin. The refund amount might be the total order amount or part of it. * - * This method is also used for refunding payments of a swap or a claim of an order, or when a request is sent to the [Refund Payment API Route](https://docs.medusajs.com/api/admin#payments_postpaymentspaymentrefunds). + * This method is also used for refunding payments of a swap or a claim of an order, or when a request is sent to the [Refund Payment API Route](https://docs.medusajs.com/v1/api/admin#payments_postpaymentspaymentrefunds). * * You can utilize this method to interact with the third-party provider and perform any actions necessary to refund the payment. * @@ -318,7 +318,7 @@ export interface PaymentProcessor { /** * This method is used to authorize payment using the Payment Session of an order. This is called when the - * [cart is completed](https://docs.medusajs.com/api/store#carts_postcartscartcomplete) and before the order is created. + * [cart is completed](https://docs.medusajs.com/v1/api/store#carts_postcartscartcomplete) and before the order is created. * * This method is also used for authorizing payments of a swap of an order and when authorizing sessions in a payment collection. * You can interact with a third-party provider and perform any actions necessary to authorize the payment. @@ -341,7 +341,7 @@ export interface PaymentProcessor { * The context of the authorization. It may include some of the following fields: * * - `ip`: The customer’s IP. - * - `idempotency_key`: The [Idempotency Key](https://docs.medusajs.com/modules/carts-and-checkout/payment#idempotency-key) that is associated with the current cart. It is useful when retrying payments, retrying checkout at a failed point, or for payments that require additional actions from the customer. + * - `idempotency_key`: The [Idempotency Key](https://docs.medusajs.com/v1/modules/carts-and-checkout/payment#idempotency-key) that is associated with the current cart. It is useful when retrying payments, retrying checkout at a failed point, or for payments that require additional actions from the customer. * - `cart_id`: The ID of a cart. This is only during operations like placing an order or creating a swap. * * @returns The authorization details or an error object. @@ -403,7 +403,7 @@ export interface PaymentProcessor { /** * This method is used to capture the payment amount of an order. This is typically triggered manually by the store operator from the admin. * - * This method is also used for capturing payments of a swap of an order, or when a request is sent to the [Capture Payment API Route](https://docs.medusajs.com/api/admin#payments_postpaymentspaymentcapture). + * This method is also used for capturing payments of a swap of an order, or when a request is sent to the [Capture Payment API Route](https://docs.medusajs.com/v1/api/admin#payments_postpaymentspaymentcapture). * * You can utilize this method to interact with the third-party provider and perform any actions necessary to capture the payment. * @@ -444,8 +444,8 @@ export interface PaymentProcessor { /** * This method is used to perform any actions necessary before a Payment Session is deleted. The Payment Session is deleted in one of the following cases: * - * 1. When a request is sent to [delete the Payment Session](https://docs.medusajs.com/api/store#carts_deletecartscartpaymentsessionssession). - * 2. When the [Payment Session is refreshed](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsessionssession). The Payment Session is deleted so that a newer one is initialized instead. + * 1. When a request is sent to [delete the Payment Session](https://docs.medusajs.com/v1/api/store#carts_deletecartscartpaymentsessionssession). + * 2. When the [Payment Session is refreshed](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsessionssession). The Payment Session is deleted so that a newer one is initialized instead. * 3. When the Payment Processor is no longer available. This generally happens when the store operator removes it from the available Payment Processor in the admin. * 4. When the region of the store is changed based on the cart information and the Payment Processor is not available in the new region. * @@ -590,7 +590,7 @@ export interface PaymentProcessor { /** * This method is used to update the `data` field of a payment session. It's called when a request is sent to the - * [Update Payment Session API Route](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsessionupdate), or when the `CartService`'s `updatePaymentSession` is used. + * [Update Payment Session API Route](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsessionupdate), or when the `CartService`'s `updatePaymentSession` is used. * * This method can also be used to update the data in the third-party payment provider, if necessary. * @@ -644,7 +644,7 @@ export interface PaymentProcessor { export abstract class AbstractPaymentProcessor implements PaymentProcessor { /** - * You can use the `constructor` of your Payment Processor to have access to different services in Medusa through [dependency injection](https://docs.medusajs.com/development/fundamentals/dependency-injection). + * You can use the `constructor` of your Payment Processor to have access to different services in Medusa through [dependency injection](https://docs.medusajs.com/v1/development/fundamentals/dependency-injection). * * You can also use the constructor to initialize your integration with the third-party provider. For example, if you use a client to connect to the third-party provider’s APIs, * you can initialize it in the constructor and use it in other methods in the service. @@ -652,7 +652,7 @@ export abstract class AbstractPaymentProcessor implements PaymentProcessor { * Additionally, if you’re creating your Payment Processor as an external plugin to be installed on any Medusa backend and you want to access the options added for the plugin, * you can access it in the constructor. The options are passed as a second parameter. * - * @param {Record} container - An instance of `MedusaContainer` that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/development/fundamentals/dependency-injection) + * @param {Record} container - An instance of `MedusaContainer` that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/v1/development/fundamentals/dependency-injection) * @param {Record} config - If this payment processor is created in a plugin, the plugin's options are passed in this parameter. * * @example @@ -692,7 +692,7 @@ export abstract class AbstractPaymentProcessor implements PaymentProcessor { * The `PaymentProvider` entity has 2 properties: `id` and `is_installed`. The `identifier` property in the payment processor service is used when the payment processor is added to the database. * * The value of this property is also used to reference the payment processor throughout Medusa. - * For example, it is used to [add a payment processor](https://docs.medusajs.com/api/admin#regions_postregionsregionpaymentproviders) to a region. + * For example, it is used to [add a payment processor](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionpaymentproviders) to a region. * * ```ts * class MyPaymentService extends AbstractPaymentProcessor { diff --git a/packages/medusa/src/interfaces/price-selection-strategy.ts b/packages/medusa/src/interfaces/price-selection-strategy.ts index 4070c6371e9d9..b425bbe4aef5d 100644 --- a/packages/medusa/src/interfaces/price-selection-strategy.ts +++ b/packages/medusa/src/interfaces/price-selection-strategy.ts @@ -196,7 +196,7 @@ export interface IPriceSelectionStrategy extends ITransactionBaseService { * * :::note * - * Learn more about the cache service in [this documentation](https://docs.medusajs.com/development/cache/overview). + * Learn more about the cache service in [this documentation](https://docs.medusajs.com/v1/development/cache/overview). * * ::: */ @@ -311,7 +311,7 @@ export type PriceSelectionContext = { include_discount_prices?: boolean /** * The tax rates to be applied. This is only used for - * [Tax-Inclusive Pricing](https://docs.medusajs.com/modules/taxes/inclusive-pricing). + * [Tax-Inclusive Pricing](https://docs.medusajs.com/v1/modules/taxes/inclusive-pricing). */ tax_rates?: TaxServiceRate[] /** @@ -350,7 +350,7 @@ export type PriceSelectionResult = { originalPrice: number | null /** * Whether the original price includes taxes or not. This is only available - * for [Tax-Inclusive Pricing](https://docs.medusajs.com/modules/taxes/inclusive-pricing). + * for [Tax-Inclusive Pricing](https://docs.medusajs.com/v1/modules/taxes/inclusive-pricing). */ originalPriceIncludesTax?: boolean | null /** @@ -359,7 +359,7 @@ export type PriceSelectionResult = { calculatedPrice: number | null /** * Whether the calculated price includes taxes or not. - * This is only available for [Tax-Inclusive Pricing](https://docs.medusajs.com/modules/taxes/inclusive-pricing). + * This is only available for [Tax-Inclusive Pricing](https://docs.medusajs.com/v1/modules/taxes/inclusive-pricing). */ calculatedPriceIncludesTax?: boolean | null /** diff --git a/packages/medusa/src/interfaces/tax-calculation-strategy.ts b/packages/medusa/src/interfaces/tax-calculation-strategy.ts index 9ab102f5e4b5b..fedd6dd15f699 100644 --- a/packages/medusa/src/interfaces/tax-calculation-strategy.ts +++ b/packages/medusa/src/interfaces/tax-calculation-strategy.ts @@ -55,7 +55,7 @@ export interface ITaxCalculationStrategy { * * This method is used whenever taxes are calculated. If automatic tax calculation is disabled in a region, * then it's only triggered when taxes are calculated manually as explained in - * [this guide](https://docs.medusajs.com/modules/taxes/storefront/manual-calculation). + * [this guide](https://docs.medusajs.com/v1/modules/taxes/storefront/manual-calculation). * * @param {LineItem[]} items - The line items to calculate the tax total for. * @param {(ShippingMethodTaxLine | LineItemTaxLine)[]} taxLines - The tax lines used for the calculation diff --git a/packages/medusa/src/interfaces/tax-service.ts b/packages/medusa/src/interfaces/tax-service.ts index c4dff54c69916..d994bff0e4ab0 100644 --- a/packages/medusa/src/interfaces/tax-service.ts +++ b/packages/medusa/src/interfaces/tax-service.ts @@ -111,7 +111,7 @@ export type TaxCalculationContext = { * * The `TaxProvider` entity has 2 properties: `identifier` and `is_installed`. The `identifier` property in the tax provider service is used when the tax provider is added to the database. * - * The value of this property is also used to reference the tax provider throughout Medusa. For example, it is used to [change the tax provider](https://docs.medusajs.com/modules/taxes/admin/manage-tax-settings#change-tax-provider-of-a-region) to a region. + * The value of this property is also used to reference the tax provider throughout Medusa. For example, it is used to [change the tax provider](https://docs.medusajs.com/v1/modules/taxes/admin/manage-tax-settings#change-tax-provider-of-a-region) to a region. * * ```ts title="src/services/my-tax.ts" * class MyTaxService extends AbstractTaxService { diff --git a/packages/medusa/src/models/address.ts b/packages/medusa/src/models/address.ts index adee784c6799b..2911cdb6fe177 100644 --- a/packages/medusa/src/models/address.ts +++ b/packages/medusa/src/models/address.ts @@ -183,5 +183,5 @@ export class Address extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/cart.ts b/packages/medusa/src/models/cart.ts index 0d72c94113214..6fcf05fd4e333 100644 --- a/packages/medusa/src/models/cart.ts +++ b/packages/medusa/src/models/cart.ts @@ -140,7 +140,7 @@ * nullable: true * type: string * externalDocs: - * url: https://docs.medusajs.com/development/idempotency-key/overview.md + * url: https://docs.medusajs.com/v1/development/idempotency-key/overview.md * description: Learn more how to use the idempotency key. * context: * description: "The context of the cart which can include info like IP or user agent." @@ -179,7 +179,7 @@ * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" * shipping_total: * description: The total of shipping * type: integer diff --git a/packages/medusa/src/models/claim-image.ts b/packages/medusa/src/models/claim-image.ts index 3f10dbd0f91ef..e52a3bd07b91b 100644 --- a/packages/medusa/src/models/claim-image.ts +++ b/packages/medusa/src/models/claim-image.ts @@ -88,5 +88,5 @@ export class ClaimImage extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/claim-item.ts b/packages/medusa/src/models/claim-item.ts index 7aaa142d4781a..18a2712a69c79 100644 --- a/packages/medusa/src/models/claim-item.ts +++ b/packages/medusa/src/models/claim-item.ts @@ -190,5 +190,5 @@ export class ClaimItem extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/claim-order.ts b/packages/medusa/src/models/claim-order.ts index a8a39b510f0df..5dcaf25947c6b 100644 --- a/packages/medusa/src/models/claim-order.ts +++ b/packages/medusa/src/models/claim-order.ts @@ -322,7 +322,7 @@ export class ClaimOrder extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" * no_notification: * description: Flag for describing whether or not notifications related to this should be send. * nullable: true @@ -333,6 +333,6 @@ export class ClaimOrder extends SoftDeletableEntity { * nullable: true * type: string * externalDocs: - * url: https://docs.medusajs.com/development/idempotency-key/overview.md + * url: https://docs.medusajs.com/v1/development/idempotency-key/overview.md * description: Learn more how to use the idempotency key. */ diff --git a/packages/medusa/src/models/claim-tag.ts b/packages/medusa/src/models/claim-tag.ts index db6ed3fa41388..6c2f51c6e1dcc 100644 --- a/packages/medusa/src/models/claim-tag.ts +++ b/packages/medusa/src/models/claim-tag.ts @@ -63,5 +63,5 @@ export class ClaimTag extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/custom-shipping-option.ts b/packages/medusa/src/models/custom-shipping-option.ts index f0bd6e2c5eaaf..b4ef3ec93145d 100644 --- a/packages/medusa/src/models/custom-shipping-option.ts +++ b/packages/medusa/src/models/custom-shipping-option.ts @@ -110,5 +110,5 @@ export class CustomShippingOption extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/customer-group.ts b/packages/medusa/src/models/customer-group.ts index 3f9ad2c2309c7..1debad62200fd 100644 --- a/packages/medusa/src/models/customer-group.ts +++ b/packages/medusa/src/models/customer-group.ts @@ -87,5 +87,5 @@ export class CustomerGroup extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/customer.ts b/packages/medusa/src/models/customer.ts index e1a65b7f9dfcc..47798f61e1b45 100644 --- a/packages/medusa/src/models/customer.ts +++ b/packages/medusa/src/models/customer.ts @@ -178,5 +178,5 @@ export class Customer extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/discount-condition-customer-group.ts b/packages/medusa/src/models/discount-condition-customer-group.ts index 7f7647009c7eb..c2bc513c42d04 100644 --- a/packages/medusa/src/models/discount-condition-customer-group.ts +++ b/packages/medusa/src/models/discount-condition-customer-group.ts @@ -80,5 +80,5 @@ export class DiscountConditionCustomerGroup { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/discount-condition-product-collection.ts b/packages/medusa/src/models/discount-condition-product-collection.ts index 0292a451edb7e..be5c39fbf4e10 100644 --- a/packages/medusa/src/models/discount-condition-product-collection.ts +++ b/packages/medusa/src/models/discount-condition-product-collection.ts @@ -82,5 +82,5 @@ export class DiscountConditionProductCollection { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/discount-condition-product-tag.ts b/packages/medusa/src/models/discount-condition-product-tag.ts index 441504e1f7da8..3d797ad4cb3d4 100644 --- a/packages/medusa/src/models/discount-condition-product-tag.ts +++ b/packages/medusa/src/models/discount-condition-product-tag.ts @@ -82,5 +82,5 @@ export class DiscountConditionProductTag { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/discount-condition-product-type.ts b/packages/medusa/src/models/discount-condition-product-type.ts index 3e0f431591f9a..75691420f288b 100644 --- a/packages/medusa/src/models/discount-condition-product-type.ts +++ b/packages/medusa/src/models/discount-condition-product-type.ts @@ -82,5 +82,5 @@ export class DiscountConditionProductType { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/discount-condition-product.ts b/packages/medusa/src/models/discount-condition-product.ts index 4896de54c5058..80965197256d7 100644 --- a/packages/medusa/src/models/discount-condition-product.ts +++ b/packages/medusa/src/models/discount-condition-product.ts @@ -82,5 +82,5 @@ export class DiscountConditionProduct { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/discount-condition.ts b/packages/medusa/src/models/discount-condition.ts index 0d6d5cb995fef..4f6999c5e445e 100644 --- a/packages/medusa/src/models/discount-condition.ts +++ b/packages/medusa/src/models/discount-condition.ts @@ -266,5 +266,5 @@ export class DiscountCondition extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/discount-rule.ts b/packages/medusa/src/models/discount-rule.ts index 305cb7c3c8882..8e1d8eb534291 100644 --- a/packages/medusa/src/models/discount-rule.ts +++ b/packages/medusa/src/models/discount-rule.ts @@ -149,5 +149,5 @@ export class DiscountRule extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/discount.ts b/packages/medusa/src/models/discount.ts index 5cfb9d04d8b16..d3a2342ac950e 100644 --- a/packages/medusa/src/models/discount.ts +++ b/packages/medusa/src/models/discount.ts @@ -199,5 +199,5 @@ export class Discount extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/draft-order.ts b/packages/medusa/src/models/draft-order.ts index 95e451bc6d5ec..7323f24f1b61a 100644 --- a/packages/medusa/src/models/draft-order.ts +++ b/packages/medusa/src/models/draft-order.ts @@ -164,7 +164,7 @@ export class DraftOrder extends BaseEntity { * nullable: true * type: string * externalDocs: - * url: https://docs.medusajs.com/development/idempotency-key/overview.md + * url: https://docs.medusajs.com/v1/development/idempotency-key/overview.md * description: Learn more how to use the idempotency key. * created_at: * description: The date with timezone at which the resource was created. @@ -181,5 +181,5 @@ export class DraftOrder extends BaseEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/fulfillment.ts b/packages/medusa/src/models/fulfillment.ts index 090893a3bdfd1..239fcfa2dba24 100644 --- a/packages/medusa/src/models/fulfillment.ts +++ b/packages/medusa/src/models/fulfillment.ts @@ -209,7 +209,7 @@ export class Fulfillment extends BaseEntity { * nullable: true * type: string * externalDocs: - * url: https://docs.medusajs.com/development/idempotency-key/overview.md + * url: https://docs.medusajs.com/v1/development/idempotency-key/overview.md * description: Learn more how to use the idempotency key. * created_at: * description: The date with timezone at which the resource was created. @@ -226,5 +226,5 @@ export class Fulfillment extends BaseEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/gift-card.ts b/packages/medusa/src/models/gift-card.ts index f8b6768517813..17a4c6e6d493b 100644 --- a/packages/medusa/src/models/gift-card.ts +++ b/packages/medusa/src/models/gift-card.ts @@ -155,5 +155,5 @@ export class GiftCard extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/idempotency-key.ts b/packages/medusa/src/models/idempotency-key.ts index 437389cee00af..f7a3d02847cb1 100644 --- a/packages/medusa/src/models/idempotency-key.ts +++ b/packages/medusa/src/models/idempotency-key.ts @@ -77,7 +77,7 @@ export class IdempotencyKey { * description: The unique randomly generated key used to determine the state of a process. * type: string * externalDocs: - * url: https://docs.medusajs.com/development/idempotency-key/overview.md + * url: https://docs.medusajs.com/v1/development/idempotency-key/overview.md * description: Learn more how to use the idempotency key. * created_at: * description: Date which the idempotency key was locked. diff --git a/packages/medusa/src/models/image.ts b/packages/medusa/src/models/image.ts index 31f13005f4cce..9a74ac561a258 100644 --- a/packages/medusa/src/models/image.ts +++ b/packages/medusa/src/models/image.ts @@ -62,5 +62,5 @@ export class Image extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/invite.ts b/packages/medusa/src/models/invite.ts index 5dcfe49a9a514..18c6ef53f2620 100644 --- a/packages/medusa/src/models/invite.ts +++ b/packages/medusa/src/models/invite.ts @@ -105,5 +105,5 @@ export class Invite extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/line-item-adjustment.ts b/packages/medusa/src/models/line-item-adjustment.ts index d253af1c05f26..922581b3aa4cf 100644 --- a/packages/medusa/src/models/line-item-adjustment.ts +++ b/packages/medusa/src/models/line-item-adjustment.ts @@ -110,5 +110,5 @@ export class LineItemAdjustment { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/line-item-tax-line.ts b/packages/medusa/src/models/line-item-tax-line.ts index 1e1d102dccb40..07bde344778e9 100644 --- a/packages/medusa/src/models/line-item-tax-line.ts +++ b/packages/medusa/src/models/line-item-tax-line.ts @@ -89,5 +89,5 @@ export class LineItemTaxLine extends TaxLine { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/line-item.ts b/packages/medusa/src/models/line-item.ts index d33f7c58fb934..c32e962b9bef0 100644 --- a/packages/medusa/src/models/line-item.ts +++ b/packages/medusa/src/models/line-item.ts @@ -436,5 +436,5 @@ export class LineItem extends BaseEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/order.ts b/packages/medusa/src/models/order.ts index b60d12fe61ddf..b260e0e13665e 100644 --- a/packages/medusa/src/models/order.ts +++ b/packages/medusa/src/models/order.ts @@ -650,7 +650,7 @@ export class Order extends BaseEntity { * nullable: true * type: string * externalDocs: - * url: https://docs.medusajs.com/development/idempotency-key/overview.md + * url: https://docs.medusajs.com/v1/development/idempotency-key/overview.md * description: Learn more how to use the idempotency key. * external_id: * description: The ID of an external order. @@ -742,7 +742,7 @@ export class Order extends BaseEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" * sales_channels: * description: The associated sales channels. * type: array diff --git a/packages/medusa/src/models/payment-collection.ts b/packages/medusa/src/models/payment-collection.ts index 02d7065266397..882b282663d4a 100644 --- a/packages/medusa/src/models/payment-collection.ts +++ b/packages/medusa/src/models/payment-collection.ts @@ -235,5 +235,5 @@ export class PaymentCollection extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/payment-session.ts b/packages/medusa/src/models/payment-session.ts index daff4df754d3a..3171261102674 100644 --- a/packages/medusa/src/models/payment-session.ts +++ b/packages/medusa/src/models/payment-session.ts @@ -157,7 +157,7 @@ export class PaymentSession extends BaseEntity { * nullable: true * type: string * externalDocs: - * url: https://docs.medusajs.com/development/idempotency-key/overview.md + * url: https://docs.medusajs.com/v1/development/idempotency-key/overview.md * description: Learn more how to use the idempotency key. * amount: * description: The amount that the Payment Session has been authorized for. diff --git a/packages/medusa/src/models/payment.ts b/packages/medusa/src/models/payment.ts index ddb9af2d6d033..0af35d62cf509 100644 --- a/packages/medusa/src/models/payment.ts +++ b/packages/medusa/src/models/payment.ts @@ -189,7 +189,7 @@ export class Payment extends BaseEntity { * nullable: true * type: string * externalDocs: - * url: https://docs.medusajs.com/development/idempotency-key/overview.md + * url: https://docs.medusajs.com/v1/development/idempotency-key/overview.md * description: Learn more how to use the idempotency key. * created_at: * description: The date with timezone at which the resource was created. @@ -206,5 +206,5 @@ export class Payment extends BaseEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/product-category.ts b/packages/medusa/src/models/product-category.ts index 633c84576cb0d..c9cefbda64f2d 100644 --- a/packages/medusa/src/models/product-category.ts +++ b/packages/medusa/src/models/product-category.ts @@ -186,5 +186,5 @@ export class ProductCategory extends BaseEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/product-collection.ts b/packages/medusa/src/models/product-collection.ts index 7fb1124e68d78..4616f148dcace 100644 --- a/packages/medusa/src/models/product-collection.ts +++ b/packages/medusa/src/models/product-collection.ts @@ -99,5 +99,5 @@ export class ProductCollection extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/product-option-value.ts b/packages/medusa/src/models/product-option-value.ts index 5acc25d41191d..185f6bd6639d8 100644 --- a/packages/medusa/src/models/product-option-value.ts +++ b/packages/medusa/src/models/product-option-value.ts @@ -110,5 +110,5 @@ export class ProductOptionValue extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/product-option.ts b/packages/medusa/src/models/product-option.ts index d35a4ca47757f..ac3ccbc80b998 100644 --- a/packages/medusa/src/models/product-option.ts +++ b/packages/medusa/src/models/product-option.ts @@ -100,5 +100,5 @@ export class ProductOption extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/product-tag.ts b/packages/medusa/src/models/product-tag.ts index 90446c9b3de46..2827adcbf85f4 100644 --- a/packages/medusa/src/models/product-tag.ts +++ b/packages/medusa/src/models/product-tag.ts @@ -62,5 +62,5 @@ export class ProductTag extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/product-tax-rate.ts b/packages/medusa/src/models/product-tax-rate.ts index 1e031b00d2667..8db710599ee82 100644 --- a/packages/medusa/src/models/product-tax-rate.ts +++ b/packages/medusa/src/models/product-tax-rate.ts @@ -83,5 +83,5 @@ export class ProductTaxRate { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/product-type-tax-rate.ts b/packages/medusa/src/models/product-type-tax-rate.ts index 528dc5a9539a3..384323211fe35 100644 --- a/packages/medusa/src/models/product-type-tax-rate.ts +++ b/packages/medusa/src/models/product-type-tax-rate.ts @@ -82,5 +82,5 @@ export class ProductTypeTaxRate { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/product-type.ts b/packages/medusa/src/models/product-type.ts index 01390d4b36253..71c71204ee974 100644 --- a/packages/medusa/src/models/product-type.ts +++ b/packages/medusa/src/models/product-type.ts @@ -62,5 +62,5 @@ export class ProductType extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/product-variant.ts b/packages/medusa/src/models/product-variant.ts index dd2c524bea541..5673d401da72a 100644 --- a/packages/medusa/src/models/product-variant.ts +++ b/packages/medusa/src/models/product-variant.ts @@ -288,7 +288,7 @@ export class ProductVariant extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" * purchasable: * description: | * Only used with the inventory modules. diff --git a/packages/medusa/src/models/product.ts b/packages/medusa/src/models/product.ts index da2f4143bd6b7..408579fb938b3 100644 --- a/packages/medusa/src/models/product.ts +++ b/packages/medusa/src/models/product.ts @@ -460,5 +460,5 @@ export class Product extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/refund.ts b/packages/medusa/src/models/refund.ts index 42c063ac30fb0..b655fdd6df1a2 100644 --- a/packages/medusa/src/models/refund.ts +++ b/packages/medusa/src/models/refund.ts @@ -150,7 +150,7 @@ export class Refund extends BaseEntity { * nullable: true * type: string * externalDocs: - * url: https://docs.medusajs.com/development/idempotency-key/overview.md + * url: https://docs.medusajs.com/v1/development/idempotency-key/overview.md * description: Learn more how to use the idempotency key. * created_at: * description: The date with timezone at which the resource was created. @@ -167,5 +167,5 @@ export class Refund extends BaseEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/region.ts b/packages/medusa/src/models/region.ts index 7954ffa6988b1..3fafbb108c42a 100644 --- a/packages/medusa/src/models/region.ts +++ b/packages/medusa/src/models/region.ts @@ -223,5 +223,5 @@ export class Region extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/return-item.ts b/packages/medusa/src/models/return-item.ts index ccbe5b3a8e798..b95867212b690 100644 --- a/packages/medusa/src/models/return-item.ts +++ b/packages/medusa/src/models/return-item.ts @@ -128,5 +128,5 @@ export class ReturnItem { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/return-reason.ts b/packages/medusa/src/models/return-reason.ts index b5cde80c4a89c..10aba79ec628b 100644 --- a/packages/medusa/src/models/return-reason.ts +++ b/packages/medusa/src/models/return-reason.ts @@ -117,5 +117,5 @@ export class ReturnReason extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/return.ts b/packages/medusa/src/models/return.ts index e7595183e70a7..9f84d0762a062 100644 --- a/packages/medusa/src/models/return.ts +++ b/packages/medusa/src/models/return.ts @@ -217,7 +217,7 @@ export class Return extends BaseEntity { * nullable: true * type: string * externalDocs: - * url: https://docs.medusajs.com/development/idempotency-key/overview.md + * url: https://docs.medusajs.com/v1/development/idempotency-key/overview.md * description: Learn more how to use the idempotency key. * received_at: * description: The date with timezone at which the return was received. @@ -239,5 +239,5 @@ export class Return extends BaseEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/sales-channel.ts b/packages/medusa/src/models/sales-channel.ts index 113b1fde3bd9a..5c44e7edded55 100644 --- a/packages/medusa/src/models/sales-channel.ts +++ b/packages/medusa/src/models/sales-channel.ts @@ -169,7 +169,7 @@ export class SalesChannel extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" * carts: * description: The associated carts. * type: array diff --git a/packages/medusa/src/models/shipping-method-tax-line.ts b/packages/medusa/src/models/shipping-method-tax-line.ts index a553a0bba611e..3bfe329f97fbb 100644 --- a/packages/medusa/src/models/shipping-method-tax-line.ts +++ b/packages/medusa/src/models/shipping-method-tax-line.ts @@ -89,5 +89,5 @@ export class ShippingMethodTaxLine extends TaxLine { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/shipping-option.ts b/packages/medusa/src/models/shipping-option.ts index 15232cc6bb794..bd40d80a8d92a 100644 --- a/packages/medusa/src/models/shipping-option.ts +++ b/packages/medusa/src/models/shipping-option.ts @@ -212,5 +212,5 @@ export class ShippingOption extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/shipping-profile.ts b/packages/medusa/src/models/shipping-profile.ts index f4e20f9361f82..b01296a6cae6a 100644 --- a/packages/medusa/src/models/shipping-profile.ts +++ b/packages/medusa/src/models/shipping-profile.ts @@ -133,5 +133,5 @@ export class ShippingProfile extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/shipping-tax-rate.ts b/packages/medusa/src/models/shipping-tax-rate.ts index 7601452aa1729..d4824524a5dcc 100644 --- a/packages/medusa/src/models/shipping-tax-rate.ts +++ b/packages/medusa/src/models/shipping-tax-rate.ts @@ -82,5 +82,5 @@ export class ShippingTaxRate { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/store.ts b/packages/medusa/src/models/store.ts index dd92e72e28c30..a47f6ead1f001 100644 --- a/packages/medusa/src/models/store.ts +++ b/packages/medusa/src/models/store.ts @@ -168,5 +168,5 @@ export class Store extends BaseEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/swap.ts b/packages/medusa/src/models/swap.ts index 15e6f15b5b07e..84dcb3272379c 100644 --- a/packages/medusa/src/models/swap.ts +++ b/packages/medusa/src/models/swap.ts @@ -315,7 +315,7 @@ export class Swap extends SoftDeletableEntity { * nullable: true * type: string * externalDocs: - * url: https://docs.medusajs.com/development/idempotency-key/overview.md + * url: https://docs.medusajs.com/v1/development/idempotency-key/overview.md * description: Learn more how to use the idempotency key. * created_at: * description: The date with timezone at which the resource was created. @@ -337,5 +337,5 @@ export class Swap extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/tax-line.ts b/packages/medusa/src/models/tax-line.ts index e873524a6a6a5..3a97f7ee8c64e 100644 --- a/packages/medusa/src/models/tax-line.ts +++ b/packages/medusa/src/models/tax-line.ts @@ -62,5 +62,5 @@ export class TaxLine extends BaseEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/tax-rate.ts b/packages/medusa/src/models/tax-rate.ts index e80207331ee8c..f8524f562ce63 100644 --- a/packages/medusa/src/models/tax-rate.ts +++ b/packages/medusa/src/models/tax-rate.ts @@ -181,5 +181,5 @@ export class TaxRate extends BaseEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/tracking-link.ts b/packages/medusa/src/models/tracking-link.ts index e7e1a464bfb8f..54ace5f56f147 100644 --- a/packages/medusa/src/models/tracking-link.ts +++ b/packages/medusa/src/models/tracking-link.ts @@ -85,7 +85,7 @@ export class TrackingLink extends SoftDeletableEntity { * nullable: true * type: string * externalDocs: - * url: https://docs.medusajs.com/development/idempotency-key/overview.md + * url: https://docs.medusajs.com/v1/development/idempotency-key/overview.md * description: Learn more how to use the idempotency key. * created_at: * description: The date with timezone at which the resource was created. @@ -107,5 +107,5 @@ export class TrackingLink extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/medusa/src/models/user.ts b/packages/medusa/src/models/user.ts index f78508d2c07c1..cff55eb09bf49 100644 --- a/packages/medusa/src/models/user.ts +++ b/packages/medusa/src/models/user.ts @@ -133,5 +133,5 @@ export class User extends SoftDeletableEntity { * example: {car: "white"} * externalDocs: * description: "Learn about the metadata attribute, and how to delete and update it." - * url: "https://docs.medusajs.com/development/entities/overview#metadata-attribute" + * url: "https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute" */ diff --git a/packages/oas/medusa-oas-cli/src/command-oas.ts b/packages/oas/medusa-oas-cli/src/command-oas.ts index 8ee47e8c3a97e..a64ddb4d1a9d1 100644 --- a/packages/oas/medusa-oas-cli/src/command-oas.ts +++ b/packages/oas/medusa-oas-cli/src/command-oas.ts @@ -186,7 +186,7 @@ async function getPublicOas( apiType: ApiType, v2?: boolean ) { - const url = `https://docs.medusajs.com/api/download/${apiType}?version=${v2 ? "2" : "1"}` + const url = `https://docs.medusajs.com/v1/api/download/${apiType}?version=${v2 ? "2" : "1"}` return await OpenAPIParser.parse(url) as OpenAPIObject } diff --git a/packages/product/README.md b/packages/product/README.md index b1a9273811cfd..50b1c25c03044 100644 --- a/packages/product/README.md +++ b/packages/product/README.md @@ -2,7 +2,7 @@ The Product Module gives you access Products, Variants, Categories, and more through a standalone package that can be installed and run in Next.js functions and other Node.js compatible runtimes. -[Product Module documentation](https://docs.medusajs.com/modules/product/serverless-module) | [Medusa Website](https://medusajs.com/) | [Medusa Repository](https://github.com/medusajs/medusa) +[Product Module documentation](https://docs.medusajs.com/v1/modules/product/serverless-module) | [Medusa Website](https://medusajs.com/) | [Medusa Repository](https://github.com/medusajs/medusa) > The Product Module is currently in beta. The beta version comes with limited functionality, primarily centered around retrieving products. In the official version, the product module will be fully-fledged and on par with the product functionality in our core package. diff --git a/packages/types/src/auth/service.ts b/packages/types/src/auth/service.ts index e250a536af198..426e9f6989edd 100644 --- a/packages/types/src/auth/service.ts +++ b/packages/types/src/auth/service.ts @@ -26,7 +26,7 @@ export interface IAuthModuleService extends IModuleService { * underlying provider is called, passing it the `providerData` parameter as a parameter. The method * returns the data returned by the provider. * - * Refer to [this guide](https://docs.medusajs.com/experimental/auth/auth-flows) to learn more about the authentication flows. + * Refer to [this guide](https://docs.medusajs.com/v1/experimental/auth/auth-flows) to learn more about the authentication flows. * * @param {string} provider - The ID of the provider to authenticate the user with. * @param {AuthenticationInput} providerData - The data to pass to the provider to authenticate the user. @@ -64,7 +64,7 @@ export interface IAuthModuleService extends IModuleService { * In that API route, you can call this method to validate the third-party provider's * callback and authenticate the user. * - * Learn more about this authentication flow in [this guide](https://docs.medusajs.com/experimental/auth/auth-flows#authentication-with-third-party-service). + * Learn more about this authentication flow in [this guide](https://docs.medusajs.com/v1/experimental/auth/auth-flows#authentication-with-third-party-service). * * @param {string} provider - The ID of the provider to use to validate the callback. * @param {AuthenticationInput} providerData - The data to pass to the provider to validate the callback. diff --git a/packages/types/src/common/config-module.ts b/packages/types/src/common/config-module.ts index d8a42eb34b3db..08ffa70c1ccaa 100644 --- a/packages/types/src/common/config-module.ts +++ b/packages/types/src/common/config-module.ts @@ -576,7 +576,7 @@ export type ProjectConfigOptions = { * - Use `worker` to run the a worker process only. * - Use `server` to run the application server only. * - * Learn more in [this guide](https://docs.medusajs.com/development/medusa-worker). + * Learn more in [this guide](https://docs.medusajs.com/v1/development/medusa-worker). * * @example * ```js title="medusa-config.js" @@ -633,7 +633,7 @@ export type ConfigModule = { projectConfig: ProjectConfigOptions /** - * On your Medusa backend, you can use [Plugins](https://docs.medusajs.com/development/plugins/overview) to add custom features or integrate third-party services. + * On your Medusa backend, you can use [Plugins](https://docs.medusajs.com/v1/development/plugins/overview) to add custom features or integrate third-party services. * For example, installing a plugin to use Stripe as a payment processor. * * Aside from installing the plugin with NPM, you need to pass the plugin you installed into the `plugins` array defined in `medusa-config.js`. @@ -672,7 +672,7 @@ export type ConfigModule = { )[] /** - * In Medusa, commerce and core logic are modularized to allow developers to extend or replace certain [modules](https://docs.medusajs.com/development/modules/overview) + * In Medusa, commerce and core logic are modularized to allow developers to extend or replace certain [modules](https://docs.medusajs.com/v1/development/modules/overview) * with custom implementations. * * Aside from installing the module with NPM, you must add it to the exported object in `medusa-config.js`. @@ -684,7 +684,7 @@ export type ConfigModule = { * 3. Or an object having the following properties, but typically you would mainly use the `resolve` and `options` properties only: * 1. `resolve`: a string indicating the name of the module. * 2. `options`: an object indicating the options to pass to the module. These options vary for each module, and you should refer to the module’s documentation for details on them. - * 3. `resources`: a string indicating whether the module shares the dependency container with the Medusa core. Its value can either be `shared` or `isolated`. Refer to the [Modules documentation](https://docs.medusajs.com/development/modules/create#module-scope) for more details. + * 3. `resources`: a string indicating whether the module shares the dependency container with the Medusa core. Its value can either be `shared` or `isolated`. Refer to the [Modules documentation](https://docs.medusajs.com/v1/development/modules/create#module-scope) for more details. * 4. `alias`: a string indicating a unique alias to register the module under. Other modules can’t use the same alias. * 5. `main`: a boolean value indicating whether this module is the main registered module. This is useful when an alias is used. * @@ -719,7 +719,7 @@ export type ConfigModule = { * You can specify whether a feature should or shouldn’t be used in your backend by enabling its feature flag. Feature flags can be enabled through either environment * variables or through this configuration exported in `medusa-config.js`. * - * If you want to use the environment variables method, learn more about it in the [Feature Flags documentation](https://docs.medusajs.com/development/feature-flags/toggle#method-one-using-environment-variables). + * If you want to use the environment variables method, learn more about it in the [Feature Flags documentation](https://docs.medusajs.com/v1/development/feature-flags/toggle#method-one-using-environment-variables). * * The `featureFlags` configuration is an object. Its properties are the names of the feature flags. Each property’s value is a boolean indicating whether the feature flag is enabled. * @@ -738,7 +738,7 @@ export type ConfigModule = { * * :::note * - * After enabling a feature flag, make sure to [run migrations](https://docs.medusajs.com/development/entities/migrations/overview#migrate-command) as it may require making changes to the database. + * After enabling a feature flag, make sure to [run migrations](https://docs.medusajs.com/v1/development/entities/migrations/overview#migrate-command) as it may require making changes to the database. * * ::: */ diff --git a/packages/types/src/payment/provider.ts b/packages/types/src/payment/provider.ts index 2628e32536548..0c4cebd3cf56f 100644 --- a/packages/types/src/payment/provider.ts +++ b/packages/types/src/payment/provider.ts @@ -276,7 +276,7 @@ export interface IPaymentProvider { * This method is called when a payment session should be authorized. * You can interact with a third-party provider and perform the necessary actions to authorize the payment. * - * Refer to [this guide](https://docs.medusajs.com/experimental/payment/payment-flow/#3-authorize-payment-session) + * Refer to [this guide](https://docs.medusajs.com/v1/experimental/payment/payment-flow/#3-authorize-payment-session) * to learn more about how this fits into the payment flow and how to handle required actions. * * @param {Record} paymentSessionData - The `data` field of the payment session. @@ -294,7 +294,7 @@ export interface IPaymentProvider { * * - The payment provider supports automatically capturing the payment after authorization. * - The merchant requests to capture the payment after its associated payment session was authorized. - * - A webhook event occurred that instructs the payment provider to capture the payment session. Learn more about handing webhook events in [this guide](https://docs.medusajs.com/experimental/payment/webhook-events/) + * - A webhook event occurred that instructs the payment provider to capture the payment session. Learn more about handing webhook events in [this guide](https://docs.medusajs.com/v1/experimental/payment/webhook-events/) * * In this method, you can interact with the third-party provider and perform any actions necessary to capture the payment. * @@ -360,7 +360,7 @@ export interface IPaymentProvider { * * The method is responsible for normalizing the received event and inform the Payment Module of actions to perform, such as authorize or capture payment. * - * Learn more about handling webhook events in [this guide](https://docs.medusajs.com/experimental/payment/webhook-events/) + * Learn more about handling webhook events in [this guide](https://docs.medusajs.com/v1/experimental/payment/webhook-events/) * * @param data - The webhook event's details. */ diff --git a/packages/types/src/payment/service.ts b/packages/types/src/payment/service.ts index 15cce6688654a..9b7f341fe626d 100644 --- a/packages/types/src/payment/service.ts +++ b/packages/types/src/payment/service.ts @@ -464,7 +464,7 @@ export interface IPaymentModuleService extends IModuleService { /** * This method authorizes a payment session using its associated payment provider. This creates a payment that can later be captured. * - * Learn more about the payment flow in [this guide](https://docs.medusajs.com/experimental/payment/payment-flow/) + * Learn more about the payment flow in [this guide](https://docs.medusajs.com/v1/experimental/payment/payment-flow/) * * @param {string} id - The payment session's ID. * @param {Record} context - Context data to pass to the associated payment provider. @@ -614,7 +614,7 @@ export interface IPaymentModuleService extends IModuleService { /** * This method captures a payment using its associated payment provider. * - * Learn more about the payment flow in [this guide](https://docs.medusajs.com/experimental/payment/payment-flow/) + * Learn more about the payment flow in [this guide](https://docs.medusajs.com/v1/experimental/payment/payment-flow/) * * @param {CreateCaptureDTO} data - The payment capture to be created. * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module. @@ -816,7 +816,7 @@ export interface IPaymentModuleService extends IModuleService { /** * This method handles a webhook event with the associated payment provider. * - * Learn more about handling webhook events in [this guide](https://docs.medusajs.com/experimental/payment/webhook-events/) + * Learn more about handling webhook events in [this guide](https://docs.medusajs.com/v1/experimental/payment/webhook-events/) * * @param {ProviderWebhookPayload} data - The webhook event's details. * @returns {Promise} Resolves when the webhook event is handled successfully. diff --git a/packages/types/src/tax/common.ts b/packages/types/src/tax/common.ts index dcc73511bdc4f..f844acd39fd51 100644 --- a/packages/types/src/tax/common.ts +++ b/packages/types/src/tax/common.ts @@ -43,7 +43,7 @@ export interface TaxRateDTO { /** * Whether the tax rate should be combined with parent rates. * - * Learn more [here](https://docs.medusajs.com/experimental/tax/tax-rates-and-rules/#combinable-tax-rates). + * Learn more [here](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#combinable-tax-rates). */ is_combinable: boolean @@ -257,7 +257,7 @@ export interface TaxRateRuleDTO { * The snake-case name of the data model that the tax rule references. * For example, `product`. * - * Learn more in [this guide](https://docs.medusajs.com/experimental/tax/tax-rates-and-rules/#what-are-tax-rules). + * Learn more in [this guide](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#what-are-tax-rules). */ reference: string @@ -265,7 +265,7 @@ export interface TaxRateRuleDTO { * The ID of the record of the data model that the tax rule references. * For example, `prod_123`. * - * Learn more in [this guide](https://docs.medusajs.com/experimental/tax/tax-rates-and-rules/#what-are-tax-rules). + * Learn more in [this guide](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#what-are-tax-rules). */ reference_id: string diff --git a/packages/types/src/tax/mutations.ts b/packages/types/src/tax/mutations.ts index f19255f6ee80d..88b52e62986ff 100644 --- a/packages/types/src/tax/mutations.ts +++ b/packages/types/src/tax/mutations.ts @@ -127,7 +127,7 @@ export interface UpdateTaxRateDTO { /** * Whether the tax rate is combinable. * - * Learn more [here](https://docs.medusajs.com/experimental/tax/tax-rates-and-rules/#combinable-tax-rates). + * Learn more [here](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#combinable-tax-rates). */ is_combinable?: boolean @@ -212,7 +212,7 @@ export interface CreateTaxRateRuleDTO { * The snake-case name of the data model that the tax rule references. * For example, `product`. * - * Learn more in [this guide](https://docs.medusajs.com/experimental/tax/tax-rates-and-rules/#what-are-tax-rules). + * Learn more in [this guide](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#what-are-tax-rules). */ reference: string @@ -220,7 +220,7 @@ export interface CreateTaxRateRuleDTO { * The ID of the record of the data model that the tax rule references. * For example, `prod_123`. * - * Learn more in [this guide](https://docs.medusajs.com/experimental/tax/tax-rates-and-rules/#what-are-tax-rules). + * Learn more in [this guide](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#what-are-tax-rules). */ reference_id: string diff --git a/packages/types/src/tax/service.ts b/packages/types/src/tax/service.ts index 7eb771203c5bf..5c65043847b80 100644 --- a/packages/types/src/tax/service.ts +++ b/packages/types/src/tax/service.ts @@ -619,7 +619,7 @@ export interface ITaxModuleService extends IModuleService { /** * This method retrieves tax lines for taxable items and shipping methods in a cart. * - * Learn more in [this guide](https://docs.medusajs.com/experimental/tax/tax-calculation-with-provider/). + * Learn more in [this guide](https://docs.medusajs.com/v1/experimental/tax/tax-calculation-with-provider/). * * @param {(TaxableItemDTO | TaxableShippingDTO)[]} items - The items and shipping methods to retrieve their tax lines. * @param {TaxCalculationContext} calculationContext - The context to pass to the underlying tax provider. It provides more diff --git a/packages/utils/src/payment/abstract-payment-provider.ts b/packages/utils/src/payment/abstract-payment-provider.ts index a1491b80cd66b..82e8182bb191a 100644 --- a/packages/utils/src/payment/abstract-payment-provider.ts +++ b/packages/utils/src/payment/abstract-payment-provider.ts @@ -15,9 +15,9 @@ import { * * A payment provider is used to handle and process payments, such as authorizing, capturing, and refund payments. * - * Refer to [this guide](https://docs.medusajs.com/experimental/payment/payment-provider/) to learn more about payment providers. + * Refer to [this guide](https://docs.medusajs.com/v1/experimental/payment/payment-provider/) to learn more about payment providers. * - * Refer to [this guide](https://docs.medusajs.com/experimental/payment/payment-flow/) to learn more about the payment flow. + * Refer to [this guide](https://docs.medusajs.com/v1/experimental/payment/payment-flow/) to learn more about the payment flow. * * --- * @@ -142,14 +142,14 @@ export abstract class AbstractPaymentProvider> implements IPaymentProvider { /** - * You can use the `constructor` of your Payment Provider to have access to resources in your application through the [dependency container](https://docs.medusajs.com/development/fundamentals/dependency-injection). + * You can use the `constructor` of your Payment Provider to have access to resources in your application through the [dependency container](https://docs.medusajs.com/v1/development/fundamentals/dependency-injection). * * You can also use the constructor to initialize your integration with the third-party provider. For example, if you use a client to connect to the third-party provider’s APIs, * you can initialize it in the constructor and use it in other methods in the service. * * The payment provider also can access the configurations of the module or plugin it's created in as a second parameter. * - * @param {MedusaContainer} container - An instance of `MedusaContainer` that allows you to access other resources in the [dependency container](https://docs.medusajs.com/development/fundamentals/dependency-injection) + * @param {MedusaContainer} container - An instance of `MedusaContainer` that allows you to access other resources in the [dependency container](https://docs.medusajs.com/v1/development/fundamentals/dependency-injection) * @param {Record} config - If this provider processor is created in a module or plugin, their options are passed in this parameter. * * @example diff --git a/packages/utils/src/search/abstract-service.ts b/packages/utils/src/search/abstract-service.ts index 87600b717bb08..4e36661d8bffd 100644 --- a/packages/utils/src/search/abstract-service.ts +++ b/packages/utils/src/search/abstract-service.ts @@ -169,7 +169,7 @@ export abstract class AbstractSearchService * } * ``` * - * Another example of how the [MeiliSearch plugin](https://docs.medusajs.com/plugins/search/meilisearch) uses the + * Another example of how the [MeiliSearch plugin](https://docs.medusajs.com/v1/plugins/search/meilisearch) uses the * `options` parameter: * * ```ts @@ -315,7 +315,7 @@ export abstract class AbstractSearchService /** * This method is used to search through an index by a query. * - * In the Medusa backend, this method is used within the [Search Products API Route](https://docs.medusajs.com/api/store#products_postproductssearch) + * In the Medusa backend, this method is used within the [Search Products API Route](https://docs.medusajs.com/v1/api/store#products_postproductssearch) * to retrieve the search results. The API route's response type is an array of items, though the item's format is not defined as it depends on the * data returned by this method. * diff --git a/www/apps/docs/content/references/file/classes/file.AbstractFileService.mdx b/www/apps/docs/content/references/file/classes/file.AbstractFileService.mdx index 14ca916637c96..48df968945116 100644 --- a/www/apps/docs/content/references/file/classes/file.AbstractFileService.mdx +++ b/www/apps/docs/content/references/file/classes/file.AbstractFileService.mdx @@ -377,4 +377,4 @@ npm run build npx medusa develop ``` -3\. Upload a file using the [Admin REST APIs](https://docs.medusajs.com/v1/api/admin#uploads_postuploads) or using the Medusa admin, for example, to [upload a product's thumbnail](https://docs.medusajs.com/user-guide/products/manage#manage-thumbnails). +3\. Upload a file using the [Admin REST APIs](https://docs.medusajs.com/api/admin#uploads_postuploads) or using the Medusa admin, for example, to [upload a product's thumbnail](https://docs.medusajs.com/user-guide/products/manage#manage-thumbnails). diff --git a/www/apps/docs/content/references/fulfillment/classes/fulfillment.AbstractFulfillmentService.mdx b/www/apps/docs/content/references/fulfillment/classes/fulfillment.AbstractFulfillmentService.mdx index 713739f3d941c..9719c63368a04 100644 --- a/www/apps/docs/content/references/fulfillment/classes/fulfillment.AbstractFulfillmentService.mdx +++ b/www/apps/docs/content/references/fulfillment/classes/fulfillment.AbstractFulfillmentService.mdx @@ -18,7 +18,7 @@ By default, a Medusa Backend has a `manual` fulfillment provider which has minim A fulfillment provider is a service that extends the `AbstractFulfillmentService` and implements its methods. So, adding a fulfillment provider is as simple as creating a service file in `src/services`. The file's name is the fulfillment provider's class name as a slug and without the word `Service`. For example, if you're creating a `MyFulfillmentService` class, the file name is `src/services/my-fulfillment.ts`. -```ts title=src/services/my-fulfillment.ts +```ts title="src/services/my-fulfillment.ts" import { AbstractFulfillmentService } from "@medusajs/medusa" class MyFulfillmentService extends AbstractFulfillmentService { @@ -467,6 +467,6 @@ npm run build npx medusa develop ``` -3\. Enable your fulfillment provider in one or more regions. You can do that either using the [Admin APIs](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionfulfillmentproviders) or the [Medusa Admin](https://docs.medusajs.com/user-guide/regions/providers#manage-fulfillment-providers). +3\. Enable your fulfillment provider in one or more regions. You can do that either using the [Admin APIs](https://docs.medusajs.com/api/admin#regions_postregionsregionfulfillmentproviders) or the [Medusa Admin](https://docs.medusajs.com/user-guide/regions/providers#manage-fulfillment-providers). 4\. To test out your fulfillment provider implementation, create a cart and complete an order. You can do that either using the [Next.js starter](https://docs.medusajs.com/starters/nextjs-medusa-starter) or [using Medusa's APIs and clients](https://docs.medusajs.com/modules/carts-and-checkout/storefront/implement-cart). diff --git a/www/apps/docs/content/references/fulfillment/interfaces/fulfillment.FulfillmentService.mdx b/www/apps/docs/content/references/fulfillment/interfaces/fulfillment.FulfillmentService.mdx index 5f236ecf5da05..9eb1af90f9dc6 100644 --- a/www/apps/docs/content/references/fulfillment/interfaces/fulfillment.FulfillmentService.mdx +++ b/www/apps/docs/content/references/fulfillment/interfaces/fulfillment.FulfillmentService.mdx @@ -15,7 +15,7 @@ By default, a Medusa Backend has a `manual` fulfillment provider which has minim A fulfillment provider is a service that extends the `AbstractFulfillmentService` and implements its methods. So, adding a fulfillment provider is as simple as creating a service file in `src/services`. The file's name is the fulfillment provider's class name as a slug and without the word `Service`. For example, if you're creating a `MyFulfillmentService` class, the file name is `src/services/my-fulfillment.ts`. -```ts title=src/services/my-fulfillment.ts +```ts title="src/services/my-fulfillment.ts" import { AbstractFulfillmentService } from "@medusajs/medusa" class MyFulfillmentService extends AbstractFulfillmentService { diff --git a/www/apps/docs/content/references/inventory/IInventoryService/methods/inventory.IInventoryService.listInventoryItems.mdx b/www/apps/docs/content/references/inventory/IInventoryService/methods/inventory.IInventoryService.listInventoryItems.mdx index 62f1d35ad93d7..7a786452a2750 100644 --- a/www/apps/docs/content/references/inventory/IInventoryService/methods/inventory.IInventoryService.listInventoryItems.mdx +++ b/www/apps/docs/content/references/inventory/IInventoryService/methods/inventory.IInventoryService.listInventoryItems.mdx @@ -76,7 +76,7 @@ async function retrieveInventoryItems (ids: string[], skip: number, take: number ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"context","type":"[SharedContext](../../interfaces/inventory.SharedContext.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"`EntityManager`","description":"An instance of a transaction manager.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"`EntityManager`","description":"An instance of an entity manager.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listInventoryItems"/> ## Returns diff --git a/www/apps/docs/content/references/inventory/IInventoryService/methods/inventory.IInventoryService.listInventoryLevels.mdx b/www/apps/docs/content/references/inventory/IInventoryService/methods/inventory.IInventoryService.listInventoryLevels.mdx index 6487e206ff984..433036215a640 100644 --- a/www/apps/docs/content/references/inventory/IInventoryService/methods/inventory.IInventoryService.listInventoryLevels.mdx +++ b/www/apps/docs/content/references/inventory/IInventoryService/methods/inventory.IInventoryService.listInventoryLevels.mdx @@ -76,7 +76,7 @@ async function retrieveInventoryLevels (inventoryItemIds: string[], skip: number ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"context","type":"[SharedContext](../../interfaces/inventory.SharedContext.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"`EntityManager`","description":"An instance of a transaction manager.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"`EntityManager`","description":"An instance of an entity manager.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listInventoryLevels"/> ## Returns diff --git a/www/apps/docs/content/references/inventory/IInventoryService/methods/inventory.IInventoryService.listReservationItems.mdx b/www/apps/docs/content/references/inventory/IInventoryService/methods/inventory.IInventoryService.listReservationItems.mdx index 19d179d33f968..1752ead915bf6 100644 --- a/www/apps/docs/content/references/inventory/IInventoryService/methods/inventory.IInventoryService.listReservationItems.mdx +++ b/www/apps/docs/content/references/inventory/IInventoryService/methods/inventory.IInventoryService.listReservationItems.mdx @@ -76,7 +76,7 @@ async function retrieveReservationItems (ids: string[], skip: number, take: numb ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"context","type":"[SharedContext](../../interfaces/inventory.SharedContext.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"`EntityManager`","description":"An instance of a transaction manager.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"`EntityManager`","description":"An instance of an entity manager.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listReservationItems"/> ## Returns diff --git a/www/apps/docs/content/references/inventory/IInventoryService/methods/inventory.IInventoryService.retrieveInventoryItem.mdx b/www/apps/docs/content/references/inventory/IInventoryService/methods/inventory.IInventoryService.retrieveInventoryItem.mdx index 6e05ff619b5c8..515d5d0ba6b8a 100644 --- a/www/apps/docs/content/references/inventory/IInventoryService/methods/inventory.IInventoryService.retrieveInventoryItem.mdx +++ b/www/apps/docs/content/references/inventory/IInventoryService/methods/inventory.IInventoryService.retrieveInventoryItem.mdx @@ -50,7 +50,7 @@ async function retrieveInventoryItem (id: string) { ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"context","type":"[SharedContext](../../interfaces/inventory.SharedContext.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"`EntityManager`","description":"An instance of a transaction manager.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"`EntityManager`","description":"An instance of an entity manager.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveInventoryItem"/> ## Returns diff --git a/www/apps/docs/content/references/inventory/interfaces/inventory.FindConfig.mdx b/www/apps/docs/content/references/inventory/interfaces/inventory.FindConfig.mdx index 56600b11cc391..f93053433136d 100644 --- a/www/apps/docs/content/references/inventory/interfaces/inventory.FindConfig.mdx +++ b/www/apps/docs/content/references/inventory/interfaces/inventory.FindConfig.mdx @@ -13,4 +13,4 @@ which provides correct typing of field names in its properties. - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FindConfig"/> diff --git a/www/apps/docs/content/references/inventory/interfaces/inventory.IInventoryService.mdx b/www/apps/docs/content/references/inventory/interfaces/inventory.IInventoryService.mdx index 2cda8d47f9706..07a499a47e3f9 100644 --- a/www/apps/docs/content/references/inventory/interfaces/inventory.IInventoryService.mdx +++ b/www/apps/docs/content/references/inventory/interfaces/inventory.IInventoryService.mdx @@ -9,6 +9,8 @@ import TypeList from "@site/src/components/TypeList" This section of the documentation provides a reference to the `IInventoryService` interface’s methods. This is the interface developers use to use the functionalities provided by the Inventory Module. +The main service interface for the inventory module. + ## Methods - [listInventoryItems](../IInventoryService/methods/inventory.IInventoryService.listInventoryItems.mdx) diff --git a/www/apps/docs/content/references/inventory/interfaces/inventory.NumericalComparisonOperator.mdx b/www/apps/docs/content/references/inventory/interfaces/inventory.NumericalComparisonOperator.mdx index 53ec86d09a7be..3b581c90add8b 100644 --- a/www/apps/docs/content/references/inventory/interfaces/inventory.NumericalComparisonOperator.mdx +++ b/www/apps/docs/content/references/inventory/interfaces/inventory.NumericalComparisonOperator.mdx @@ -6,4 +6,6 @@ import TypeList from "@site/src/components/TypeList" # NumericalComparisonOperator - +Fields used to apply flexible filters on numbers. + + diff --git a/www/apps/docs/content/references/inventory/interfaces/inventory.StringComparisonOperator.mdx b/www/apps/docs/content/references/inventory/interfaces/inventory.StringComparisonOperator.mdx index a498045ad0622..70c5ae6e481cb 100644 --- a/www/apps/docs/content/references/inventory/interfaces/inventory.StringComparisonOperator.mdx +++ b/www/apps/docs/content/references/inventory/interfaces/inventory.StringComparisonOperator.mdx @@ -6,4 +6,6 @@ import TypeList from "@site/src/components/TypeList" # StringComparisonOperator - +Fields used to apply flexible filters on strings. + + diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminAuthResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminAuthResource.mdx index ada9106d4ca49..96ab4e5dcd100 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminAuthResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminAuthResource.mdx @@ -15,7 +15,7 @@ You can send authenticated requests for an admin user either using the Cookie he When you log the admin user in using the [createSession](js_client.AdminAuthResource.mdx#createsession) method, the JS client will automatically attach the cookie header in all subsequent requests. -Related Guide: [How to implement user profiles](https://docs.medusajs.com/modules/users/admin/manage-profile). +Related Guide: [How to implement user profiles](https://docs.medusajs.com/v1/modules/users/admin/manage-profile). ## Methods diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminBatchJobsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminBatchJobsResource.mdx index d3737b37dd1e3..84746a40ed624 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminBatchJobsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminBatchJobsResource.mdx @@ -15,7 +15,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou A batch job is a task that is performed by the Medusa backend asynchronusly. For example, the Import Product feature is implemented using batch jobs. The methods in this class allow admins to manage the batch jobs and their state. -Related Guide: [How to import products](https://docs.medusajs.com/modules/products/admin/import-products). +Related Guide: [How to import products](https://docs.medusajs.com/v1/modules/products/admin/import-products). ## Methods @@ -97,7 +97,7 @@ medusa.admin.batchJobs.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetBatchParams](../../medusa/classes/medusa.AdminGetBatchParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved batch jobs.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":false,"defaultValue":"10","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string` \\| `string`[]","description":"IDs to filter batch jobs by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`[]","description":"Types to filter batch jobs by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"confirmed_at","type":"`null` \\| [DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the batch jobs' `confirmed_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"pre_processed_at","type":"`null` \\| [DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the batch jobs' `pre_processed_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`null` \\| [DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the batch jobs' `completed_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"failed_at","type":"`null` \\| [DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the batch jobs' `failed_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| [DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the batch jobs' `canceled_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the batch jobs' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the batch jobs' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetBatchParams](../../medusa/classes/medusa.AdminGetBatchParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved batch jobs.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":false,"defaultValue":"10","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string` \\| `string`[]","description":"IDs to filter batch jobs by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`[]","description":"Types to filter batch jobs by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"confirmed_at","type":"`null` \\| [DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the batch jobs' `confirmed_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"pre_processed_at","type":"`null` \\| [DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the batch jobs' `pre_processed_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`null` \\| [DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the batch jobs' `completed_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"failed_at","type":"`null` \\| [DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the batch jobs' `failed_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| [DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the batch jobs' `canceled_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the batch jobs' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the batch jobs' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminCollectionsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminCollectionsResource.mdx index c7b61c9df2987..8afc7226a51f7 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminCollectionsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminCollectionsResource.mdx @@ -151,7 +151,7 @@ medusa.admin.collections.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetCollectionsParams](../../medusa/classes/medusa.AdminGetCollectionsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved product collections.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":false,"defaultValue":"10","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"Title to filter product collections by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"handle","type":"`string`","description":"Handle to filter product collections by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the product collections' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the product collections' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"deleted_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the product collections' `deleted_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"q","type":"`string`","description":"Term to search product collections by their title and handle.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_condition_id","type":"`string`","description":"Filter product collections by their associated discount condition's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetCollectionsParams](../../medusa/classes/medusa.AdminGetCollectionsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved product collections.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":false,"defaultValue":"10","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"Title to filter product collections by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"handle","type":"`string`","description":"Handle to filter product collections by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the product collections' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the product collections' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"deleted_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the product collections' `deleted_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"q","type":"`string`","description":"Term to search product collections by their title and handle.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_condition_id","type":"`string`","description":"Filter product collections by their associated discount condition's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminCurrenciesResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminCurrenciesResource.mdx index 1de7e0fdc30d1..3ff2402510c91 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminCurrenciesResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminCurrenciesResource.mdx @@ -15,7 +15,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou A store can use unlimited currencies, and each region must be associated with at least one currency. Currencies are defined within the Medusa backend. The methods in this class allow admins to list and update currencies. -Related Guide: [How to manage currencies](https://docs.medusajs.com/modules/regions-and-currencies/admin/manage-currencies). +Related Guide: [How to manage currencies](https://docs.medusajs.com/v1/modules/regions-and-currencies/admin/manage-currencies). ## Methods diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminCustomerGroupsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminCustomerGroupsResource.mdx index e8d88295e4ce6..1b0c2ae1b41fe 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminCustomerGroupsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminCustomerGroupsResource.mdx @@ -15,7 +15,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou Customer Groups can be used to organize customers that share similar data or attributes into dedicated groups. This can be useful for different purposes such as setting a different price for a specific customer group. -Related Guide: [How to manage customer groups](https://docs.medusajs.com/modules/customers/admin/manage-customer-groups). +Related Guide: [How to manage customer groups](https://docs.medusajs.com/v1/modules/customers/admin/manage-customer-groups). ## Methods @@ -63,7 +63,7 @@ medusa.admin.customerGroups.retrieve(customerGroupId) #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetCustomerGroupsGroupParams](../../medusa/classes/medusa.AdminGetCustomerGroupsGroupParams.mdx)","description":"Configurations to apply on the retrieved customer group.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetCustomerGroupsGroupParams](../../medusa/classes/medusa.AdminGetCustomerGroupsGroupParams.mdx)","description":"Configurations to apply on the retrieved customer group.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> #### Returns @@ -155,7 +155,7 @@ medusa.admin.customerGroups.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetCustomerGroupsParams](../../medusa/classes/medusa.AdminGetCustomerGroupsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved customer groups.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"10","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string` \\| `string`[] \\| [StringComparisonOperator](../../medusa/classes/medusa.StringComparisonOperator.mdx)","description":"IDs to filter customer groups by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term to search customer groups by their name.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`[]","description":"Names to filter customer groups by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the customer groups' `update_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the customer groups' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"discount_condition_id","type":"`string`","description":"Filter customer groups by their associated discount condition's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetCustomerGroupsParams](../../medusa/classes/medusa.AdminGetCustomerGroupsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved customer groups.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"10","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"{@inheritDoc FindPaginationParams.fields}","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string` \\| `string`[] \\| [StringComparisonOperator](../../medusa/classes/medusa.StringComparisonOperator.mdx)","description":"IDs to filter customer groups by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term to search customer groups by their name.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`[]","description":"Names to filter customer groups by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the customer groups' `update_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the customer groups' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"discount_condition_id","type":"`string`","description":"Filter customer groups by their associated discount condition's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns @@ -221,7 +221,7 @@ medusa.admin.customerGroups.listCustomers(customerGroupId) #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetCustomersParams](../../medusa/classes/medusa.AdminGetCustomersParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved customers.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":false,"defaultValue":"50","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term used to search customers' email, first name, last name.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"has_account","type":"`boolean`","description":"Filter customers by whether they have an account.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`string`[]","description":"Filter customers by the customer's customer groups.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="listCustomers"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetCustomersParams](../../medusa/classes/medusa.AdminGetCustomersParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved customers.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":false,"defaultValue":"50","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term used to search customers' email, first name, last name.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"has_account","type":"`boolean`","description":"Filter customers by whether they have an account.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`string`[]","description":"Filter customers by the customer's customer groups.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the customers' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the customers' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="listCustomers"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminCustomersResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminCustomersResource.mdx index 88dbd906242f6..e524931db93d4 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminCustomersResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminCustomersResource.mdx @@ -14,7 +14,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou Customers can either be created when they register through the [CustomersResource.create](js_client.CustomersResource.mdx#create) method, or created by the admin using the [create](js_client.AdminCustomersResource.mdx#create) method. -Related Guide: [How to manage customers](https://docs.medusajs.com/modules/customers/admin/manage-customers). +Related Guide: [How to manage customers](https://docs.medusajs.com/v1/modules/customers/admin/manage-customers). ## Methods @@ -147,7 +147,7 @@ medusa.admin.customers.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetCustomersParams](../../medusa/classes/medusa.AdminGetCustomersParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved customers.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":false,"defaultValue":"50","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term used to search customers' email, first name, last name.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"has_account","type":"`boolean`","description":"Filter customers by whether they have an account.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`string`[]","description":"Filter customers by the customer's customer groups.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetCustomersParams](../../medusa/classes/medusa.AdminGetCustomersParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved customers.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":false,"defaultValue":"50","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term used to search customers' email, first name, last name.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"has_account","type":"`boolean`","description":"Filter customers by whether they have an account.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`string`[]","description":"Filter customers by the customer's customer groups.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the customers' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the customers' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminDiscountsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminDiscountsResource.mdx index 72eabb147579f..4af386ee62887 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminDiscountsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminDiscountsResource.mdx @@ -15,7 +15,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou Admins can create discounts with conditions and rules, providing them with advanced settings for variety of cases. The methods in this class can be used to manage discounts, their conditions, resources, and more. -Related Guide: [How to manage discounts](https://docs.medusajs.com/modules/discounts/admin/manage-discounts). +Related Guide: [How to manage discounts](https://docs.medusajs.com/v1/modules/discounts/admin/manage-discounts). ## Methods @@ -197,7 +197,7 @@ medusa.admin.discounts.retrieve(discountId) #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetDiscountParams](../../medusa/classes/medusa.AdminGetDiscountParams.mdx)","description":"Configurations to apply on the retrieved product category.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetDiscountParams](../../medusa/classes/medusa.AdminGetDiscountParams.mdx)","description":"Configurations to apply on the retrieved product category.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> #### Returns @@ -277,7 +277,7 @@ medusa.admin.discounts.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetDiscountsParams](../../medusa/classes/medusa.AdminGetDiscountsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved discounts.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"rule","type":"[AdminGetDiscountsDiscountRuleParams](../../medusa/classes/medusa.AdminGetDiscountsDiscountRuleParams.mdx)","description":"Filter discounts by their associated rule.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"type","type":"[DiscountRuleType](../../entities/enums/entities.DiscountRuleType.mdx)","description":"Type to filter discount rules by.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"FIXED","type":"`\"fixed\"`","description":"Discounts that reduce the price by a fixed amount.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PERCENTAGE","type":"`\"percentage\"`","description":"Discounts that reduce the price by a percentage reduction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"FREE_SHIPPING","type":"`\"free_shipping\"`","description":"Discounts that sets the shipping price to `0`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"allocation","type":"[AllocationType](../../entities/enums/entities.AllocationType.mdx)","description":"Allocation to filter discount rules by.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"TOTAL","type":"`\"total\"`","description":"The discount should be applied to the checkout total.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ITEM","type":"`\"item\"`","description":"The discount should be applied to applicable items in the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"q","type":"`string`","description":"Search terms to search discounts' code fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_dynamic","type":"`boolean`","description":"Filter discounts by whether they're dynamic.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_disabled","type":"`boolean`","description":"Filter discounts by whether they're disabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"20","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetDiscountsParams](../../medusa/classes/medusa.AdminGetDiscountsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved discounts.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"rule","type":"[AdminGetDiscountsDiscountRuleParams](../../medusa/classes/medusa.AdminGetDiscountsDiscountRuleParams.mdx)","description":"Filter discounts by their associated rule.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"type","type":"[DiscountRuleType](../../entities/enums/entities.DiscountRuleType.mdx)","description":"Type to filter discount rules by.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"FIXED","type":"`\"fixed\"`","description":"Discounts that reduce the price by a fixed amount.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PERCENTAGE","type":"`\"percentage\"`","description":"Discounts that reduce the price by a percentage reduction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"FREE_SHIPPING","type":"`\"free_shipping\"`","description":"Discounts that sets the shipping price to `0`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"allocation","type":"[AllocationType](../../entities/enums/entities.AllocationType.mdx)","description":"Allocation to filter discount rules by.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"TOTAL","type":"`\"total\"`","description":"The discount should be applied to the checkout total.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ITEM","type":"`\"item\"`","description":"The discount should be applied to applicable items in the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"q","type":"`string`","description":"Search terms to search discounts' code fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_dynamic","type":"`boolean`","description":"Filter discounts by whether they're dynamic.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_disabled","type":"`boolean`","description":"Filter discounts by whether they're disabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the discounts' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the discounts' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"20","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns @@ -350,7 +350,7 @@ medusa.admin.discounts.createCondition(discountId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="createCondition"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="createCondition"/> #### Returns @@ -399,7 +399,7 @@ medusa.admin.discounts.updateCondition(discountId, conditionId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="updateCondition"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="updateCondition"/> #### Returns @@ -463,7 +463,7 @@ medusa.admin.discounts.getCondition(discountId, conditionId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetDiscountsDiscountConditionsConditionParams](../../medusa/classes/medusa.AdminGetDiscountsDiscountConditionsConditionParams.mdx)","description":"Configurations to apply on the retrieved discount condition.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="getCondition"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetDiscountsDiscountConditionsConditionParams](../../medusa/classes/medusa.AdminGetDiscountsDiscountConditionsConditionParams.mdx)","description":"Configurations to apply on the retrieved discount condition.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="getCondition"/> #### Returns @@ -508,7 +508,7 @@ medusa.admin.discounts.addConditionResourceBatch(discountId, conditionId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminPostDiscountsDiscountConditionsConditionBatchParams](../../medusa/classes/medusa.AdminPostDiscountsDiscountConditionsConditionBatchParams.mdx)","description":"Configurations to apply on the retrieved discount.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="addConditionResourceBatch"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminPostDiscountsDiscountConditionsConditionBatchParams](../../medusa/classes/medusa.AdminPostDiscountsDiscountConditionsConditionBatchParams.mdx)","description":"Configurations to apply on the retrieved discount.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="addConditionResourceBatch"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminDraftOrdersResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminDraftOrdersResource.mdx index bcf5117a61f23..f602b6b313341 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminDraftOrdersResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminDraftOrdersResource.mdx @@ -14,7 +14,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou A draft order is an order created manually by the admin. It allows admins to create orders without direct involvement from the customer. -Related Guide: [How to manage draft orders](https://docs.medusajs.com/modules/orders/admin/manage-draft-orders). +Related Guide: [How to manage draft orders](https://docs.medusajs.com/v1/modules/orders/admin/manage-draft-orders). ## Methods @@ -188,7 +188,7 @@ medusa.admin.draftOrders.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetDraftOrdersParams](../../medusa/classes/medusa.AdminGetDraftOrdersParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved draft orders.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"q","type":"`string`","description":"Search term to search draft orders by their display IDs and emails.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"50","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetDraftOrdersParams](../../medusa/classes/medusa.AdminGetDraftOrdersParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved draft orders.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"q","type":"`string`","description":"Search term to search draft orders by their display IDs and emails.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"50","expandable":false,"children":[]},{"name":"status","type":"[DraftOrderStatusValue](../../medusa/types/medusa.DraftOrderStatusValue.mdx)[]","description":"Statuses to filter draft orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the draft orders' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the draft orders' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"20","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminGiftCardsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminGiftCardsResource.mdx index fab2d59b458ef..5dbb9eda10d2d 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminGiftCardsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminGiftCardsResource.mdx @@ -15,7 +15,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou Admins can create gift cards and send them directly to customers, specifying options like their balance, region, and more. These gift cards are different than the saleable gift cards in a store, which are created and managed through [AdminProductsResource](js_client.AdminProductsResource.mdx). -Related Guide: [How to manage gift cards](https://docs.medusajs.com/modules/gift-cards/admin/manage-gift-cards#manage-custom-gift-cards). +Related Guide: [How to manage gift cards](https://docs.medusajs.com/v1/modules/gift-cards/admin/manage-gift-cards#manage-custom-gift-cards). ## Methods @@ -154,7 +154,7 @@ medusa.admin.giftCards.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetGiftCardsParams](../../medusa/classes/medusa.AdminGetGiftCardsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved gift cards.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":false,"defaultValue":"50","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term to search gift cards by their code and display ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetGiftCardsParams](../../medusa/classes/medusa.AdminGetGiftCardsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved gift cards.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":false,"defaultValue":"50","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term to search gift cards by their code and display ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminInventoryItemsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminInventoryItemsResource.mdx index 4307e6225129f..ddd4fa7fc583f 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminInventoryItemsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminInventoryItemsResource.mdx @@ -8,14 +8,14 @@ import TypeList from "@site/src/components/TypeList" # AdminInventoryItemsResource This class is used to send requests to [Admin Inventory Item API Routes](https://docs.medusajs.com/v1/api/admin#inventory-items). To use these API Routes, make sure to install the -[@medusajs/inventory](https://docs.medusajs.com/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. All its method +[@medusajs/inventory](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. All its method are available in the JS Client under the `medusa.admin.inventoryItems` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). -Inventory items, provided by the [Inventory Module](https://docs.medusajs.com/modules/multiwarehouse/inventory-module), can be used to manage the inventory of saleable items in your store. +Inventory items, provided by the [Inventory Module](https://docs.medusajs.com/v1/modules/multiwarehouse/inventory-module), can be used to manage the inventory of saleable items in your store. -Related Guide: [How to manage inventory items](https://docs.medusajs.com/modules/multiwarehouse/admin/manage-inventory-items). +Related Guide: [How to manage inventory items](https://docs.medusajs.com/v1/modules/multiwarehouse/admin/manage-inventory-items). ## Methods @@ -37,7 +37,7 @@ medusa.admin.inventoryItems.retrieve(inventoryItemId) #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetInventoryItemsItemParams](../../medusa/classes/medusa.AdminGetInventoryItemsItemParams.mdx)","description":"Configurations applied on the retrieved inventory item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetInventoryItemsItemParams](../../medusa/classes/medusa.AdminGetInventoryItemsItemParams.mdx)","description":"Configurations applied on the retrieved inventory item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> #### Returns @@ -63,7 +63,7 @@ medusa.admin.inventoryItems.update(inventoryItemId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminPostInventoryItemsInventoryItemParams](../../medusa/classes/medusa.AdminPostInventoryItemsInventoryItemParams.mdx)","description":"Configurations to apply on the retrieved inventory item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="update"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminPostInventoryItemsInventoryItemParams](../../medusa/classes/medusa.AdminPostInventoryItemsInventoryItemParams.mdx)","description":"Configurations to apply on the retrieved inventory item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="update"/> #### Returns @@ -113,7 +113,7 @@ medusa.admin.inventoryItems.create({ #### Parameters -`","description":"An optional set of key-value pairs with additional information.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"customHeaders","type":"`Record`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminPostInventoryItemsParams](../../medusa/classes/medusa.AdminPostInventoryItemsParams.mdx)","description":"Configurations to apply on the retrieved inventory item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="create"/> +`","description":"An optional set of key-value pairs with additional information.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"customHeaders","type":"`Record`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminPostInventoryItemsParams](../../medusa/classes/medusa.AdminPostInventoryItemsParams.mdx)","description":"Configurations to apply on the retrieved inventory item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="create"/> #### Returns @@ -155,7 +155,7 @@ medusa.admin.inventoryItems.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetInventoryItemsParams](../../medusa/classes/medusa.AdminGetInventoryItemsParams.mdx)","description":"Filters and pagination configurations applied on the retrieved inventory items.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string` \\| `string`[]","description":"IDs to filter inventory items by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search terms to search inventory items' sku, title, and description.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string` \\| `string`[]","description":"Location IDs to filter inventory items by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string` \\| `string`[]","description":"SKUs to filter inventory items by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string` \\| `string`[]","description":"Origin countries to filter inventory items by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string` \\| `string`[]","description":"MID codes to filter inventory items by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string` \\| `string`[]","description":"Materials to filter inventory items by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string` \\| `string`[] \\| [StringComparisonOperator](../../medusa/classes/medusa.StringComparisonOperator.mdx)","description":"String filters to apply to inventory items' `hs_code` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number` \\| [NumericalComparisonOperator](../../medusa/classes/medusa.NumericalComparisonOperator.mdx)","description":"Number filters to apply to inventory items' `weight` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number` \\| [NumericalComparisonOperator](../../medusa/classes/medusa.NumericalComparisonOperator.mdx)","description":"Number filters to apply to inventory items' `length` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number` \\| [NumericalComparisonOperator](../../medusa/classes/medusa.NumericalComparisonOperator.mdx)","description":"Number filters to apply to inventory items' `height` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`number` \\| [NumericalComparisonOperator](../../medusa/classes/medusa.NumericalComparisonOperator.mdx)","description":"Number filters to apply to inventory items' `width` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Filter inventory items by whether they require shipping.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"20","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetInventoryItemsParams](../../medusa/classes/medusa.AdminGetInventoryItemsParams.mdx)","description":"Filters and pagination configurations applied on the retrieved inventory items.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string` \\| `string`[]","description":"IDs to filter inventory items by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search terms to search inventory items' sku, title, and description.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string` \\| `string`[]","description":"Location IDs to filter inventory items by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string` \\| `string`[]","description":"SKUs to filter inventory items by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string` \\| `string`[]","description":"Origin countries to filter inventory items by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string` \\| `string`[]","description":"MID codes to filter inventory items by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string` \\| `string`[]","description":"Materials to filter inventory items by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string` \\| `string`[] \\| [StringComparisonOperator](../../medusa/classes/medusa.StringComparisonOperator.mdx)","description":"String filters to apply to inventory items' `hs_code` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number` \\| [NumericalComparisonOperator](../../medusa/classes/medusa.NumericalComparisonOperator.mdx)","description":"Number filters to apply to inventory items' `weight` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number` \\| [NumericalComparisonOperator](../../medusa/classes/medusa.NumericalComparisonOperator.mdx)","description":"Number filters to apply to inventory items' `length` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number` \\| [NumericalComparisonOperator](../../medusa/classes/medusa.NumericalComparisonOperator.mdx)","description":"Number filters to apply to inventory items' `height` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`number` \\| [NumericalComparisonOperator](../../medusa/classes/medusa.NumericalComparisonOperator.mdx)","description":"Number filters to apply to inventory items' `width` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Filter inventory items by whether they require shipping.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"20","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns @@ -181,7 +181,7 @@ medusa.admin.inventoryItems.updateLocationLevel(inventoryItemId, locationId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminPostInventoryItemsItemLocationLevelsLevelParams](../../medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsLevelParams.mdx)","description":"Configurations to apply on the returned inventory item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="updateLocationLevel"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminPostInventoryItemsItemLocationLevelsLevelParams](../../medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsLevelParams.mdx)","description":"Configurations to apply on the returned inventory item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="updateLocationLevel"/> #### Returns @@ -208,7 +208,7 @@ medusa.admin.inventoryItems.createLocationLevel(inventoryItemId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminPostInventoryItemsItemLocationLevelsParams](../../medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsParams.mdx)","description":"Configurations to apply on the returned inventory item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="createLocationLevel"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminPostInventoryItemsItemLocationLevelsParams](../../medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsParams.mdx)","description":"Configurations to apply on the returned inventory item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="createLocationLevel"/> #### Returns @@ -256,7 +256,7 @@ medusa.admin.inventoryItems.listLocationLevels(inventoryItemId) #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetInventoryItemsItemLocationLevelsParams](../../medusa/classes/medusa.AdminGetInventoryItemsItemLocationLevelsParams.mdx)","description":"Filters to apply on the retrieved location levels.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"location_id","type":"`string`[]","description":"Location IDs to filter location levels.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="listLocationLevels"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetInventoryItemsItemLocationLevelsParams](../../medusa/classes/medusa.AdminGetInventoryItemsItemLocationLevelsParams.mdx)","description":"Filters to apply on the retrieved location levels.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"location_id","type":"`string`[]","description":"Location IDs to filter location levels.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="listLocationLevels"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminInvitesResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminInvitesResource.mdx index 548e7e21a4efb..0e168e4d5c5ea 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminInvitesResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminInvitesResource.mdx @@ -14,7 +14,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou An admin can invite new users to manage their team. This would allow new users to authenticate as admins and perform admin functionalities. -Related Guide: [How to manage invites](https://docs.medusajs.com/modules/users/admin/manage-invites). +Related Guide: [How to manage invites](https://docs.medusajs.com/v1/modules/users/admin/manage-invites). ## Methods diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminNotificationsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminNotificationsResource.mdx index 95ace205dfe1b..f28a046c4f98d 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminNotificationsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminNotificationsResource.mdx @@ -68,11 +68,11 @@ medusa.admin.notifications.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetNotificationsParams](../../medusa/classes/medusa.AdminGetNotificationsParams.mdx)","description":"Filters and pagination configurations applied to the retrieved notifications.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"50","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"event_name","type":"`string`","description":"Event name to filter notifications by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_type","type":"`string`","description":"Resource type to filter notifications by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_id","type":"`string`","description":"Resource ID to filter notifications by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"to","type":"`string`","description":"Filter notifications by their `to` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"include_resends","type":"`string`","description":"Whether to include resends in the results.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetNotificationsParams](../../medusa/classes/medusa.AdminGetNotificationsParams.mdx)","description":"Filters and pagination configurations applied to the retrieved notifications.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"50","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"event_name","type":"`string`","description":"Event name to filter notifications by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_type","type":"`string`","description":"Resource type to filter notifications by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_id","type":"`string`","description":"Resource ID to filter notifications by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"to","type":"`string`","description":"Filter notifications by their `to` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"include_resends","type":"`string`","description":"Whether to include resends in the results.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns -`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"to","type":"`string`","description":"The address that the Notification was sent to. This will usually be an email address, but can represent other addresses such as a chat bot user ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data that the Notification was sent with. This contains all the data necessary for the Notification Provider to initiate a resend.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`string`","description":"The notification's parent ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_notification","type":"[Notification](../../entities/classes/entities.Notification.mdx)","description":"The details of the parent notification.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The notification's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"event_name","type":"`string`","description":"The name of the event that the notification was sent for.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_type","type":"`string`","description":"The type of resource that the Notification refers to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_id","type":"`string`","description":"The ID of the resource that the Notification refers to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`null` \\| `string`","description":"The ID of the customer that this notification was sent to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../entities/classes/entities.Customer.mdx)","description":"The details of the customer that this notification was sent to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"to","type":"`string`","description":"The address that the Notification was sent to. This will usually be an email address, but can represent other addresses such as a chat bot user ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data that the Notification was sent with. This contains all the data necessary for the Notification Provider to initiate a resend.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`string`","description":"The notification's parent ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_notification","type":"[Notification](../../entities/classes/entities.Notification.mdx)","description":"The details of the parent notification.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"resends","type":"[Notification](../../entities/classes/entities.Notification.mdx)[]","description":"The details of all resends of the notification.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[NotificationProvider](../../entities/classes/entities.NotificationProvider.mdx)","description":"The notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":true,"children":[]}]},{"name":"resends","type":"[Notification](../../entities/classes/entities.Notification.mdx)[]","description":"The details of all resends of the notification.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The notification's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"event_name","type":"`string`","description":"The name of the event that the notification was sent for.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_type","type":"`string`","description":"The type of resource that the Notification refers to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_id","type":"`string`","description":"The ID of the resource that the Notification refers to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`null` \\| `string`","description":"The ID of the customer that this notification was sent to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../entities/classes/entities.Customer.mdx)","description":"The details of the customer that this notification was sent to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"to","type":"`string`","description":"The address that the Notification was sent to. This will usually be an email address, but can represent other addresses such as a chat bot user ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data that the Notification was sent with. This contains all the data necessary for the Notification Provider to initiate a resend.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`string`","description":"The notification's parent ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_notification","type":"[Notification](../../entities/classes/entities.Notification.mdx)","description":"The details of the parent notification.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"resends","type":"[Notification](../../entities/classes/entities.Notification.mdx)[]","description":"The details of all resends of the notification.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[NotificationProvider](../../entities/classes/entities.NotificationProvider.mdx)","description":"The notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":true,"children":[]}]},{"name":"provider_id","type":"`string`","description":"The ID of the notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[NotificationProvider](../../entities/classes/entities.NotificationProvider.mdx)","description":"The notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the notification provider as given by the notification service.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_installed","type":"`boolean`","description":"Whether the notification service is installed in the current version. If a notification service is no longer installed, the `is\\_installed` attribute is set to `false`.","optional":false,"defaultValue":"true","expandable":false,"children":[]}]}]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"to","type":"`string`","description":"The address that the Notification was sent to. This will usually be an email address, but can represent other addresses such as a chat bot user ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data that the Notification was sent with. This contains all the data necessary for the Notification Provider to initiate a resend.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`string`","description":"The notification's parent ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_notification","type":"[Notification](../../entities/classes/entities.Notification.mdx)","description":"The details of the parent notification.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The notification's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"event_name","type":"`string`","description":"The name of the event that the notification was sent for.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_type","type":"`string`","description":"The type of resource that the Notification refers to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_id","type":"`string`","description":"The ID of the resource that the Notification refers to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`null` \\| `string`","description":"The ID of the customer that this notification was sent to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../entities/classes/entities.Customer.mdx)","description":"The details of the customer that this notification was sent to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"to","type":"`string`","description":"The address that the Notification was sent to. This will usually be an email address, but can represent other addresses such as a chat bot user ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data that the Notification was sent with. This contains all the data necessary for the Notification Provider to initiate a resend.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`string`","description":"The notification's parent ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_notification","type":"[Notification](../../entities/classes/entities.Notification.mdx)","description":"The details of the parent notification.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"resends","type":"[Notification](../../entities/classes/entities.Notification.mdx)[]","description":"The details of all resends of the notification.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[NotificationProvider](../../entities/classes/entities.NotificationProvider.mdx)","description":"The notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":true,"children":[]}]},{"name":"resends","type":"[Notification](../../entities/classes/entities.Notification.mdx)[]","description":"The details of all resends of the notification.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The notification's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"event_name","type":"`string`","description":"The name of the event that the notification was sent for.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_type","type":"`string`","description":"The type of resource that the Notification refers to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_id","type":"`string`","description":"The ID of the resource that the Notification refers to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`null` \\| `string`","description":"The ID of the customer that this notification was sent to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../entities/classes/entities.Customer.mdx)","description":"The details of the customer that this notification was sent to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"to","type":"`string`","description":"The address that the Notification was sent to. This will usually be an email address, but can represent other addresses such as a chat bot user ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data that the Notification was sent with. This contains all the data necessary for the Notification Provider to initiate a resend.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`string`","description":"The notification's parent ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_notification","type":"[Notification](../../entities/classes/entities.Notification.mdx)","description":"The details of the parent notification.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"resends","type":"[Notification](../../entities/classes/entities.Notification.mdx)[]","description":"The details of all resends of the notification.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[NotificationProvider](../../entities/classes/entities.NotificationProvider.mdx)","description":"The notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":true,"children":[]}]},{"name":"provider_id","type":"`string`","description":"The ID of the notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[NotificationProvider](../../entities/classes/entities.NotificationProvider.mdx)","description":"The notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the notification provider as given by the notification service.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_installed","type":"`boolean`","description":"Whether the notification service is installed in the current version. If a notification service is no longer installed, the `is\\_installed` attribute is set to `false`.","optional":false,"defaultValue":"true","expandable":false,"children":[]}]}]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> ### resend diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminOrderEditsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminOrderEditsResource.mdx index cb5867345f203..024906d297d9d 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminOrderEditsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminOrderEditsResource.mdx @@ -14,7 +14,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou An admin can edit an order to remove, add, or update an item's quantity. When an admin edits an order, they're stored as an `OrderEdit`. -Related Guide: [How to edit an order](https://docs.medusajs.com/modules/orders/admin/edit-order). +Related Guide: [How to edit an order](https://docs.medusajs.com/v1/modules/orders/admin/edit-order). ## Methods @@ -52,7 +52,7 @@ medusa.admin.orderEdits.retrieve(orderEditId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[GetOrderEditsOrderEditParams](../../medusa/classes/medusa.GetOrderEditsOrderEditParams.mdx)","description":"Configurations to apply on the retrieved order edit.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[GetOrderEditsOrderEditParams](../../medusa/classes/medusa.GetOrderEditsOrderEditParams.mdx)","description":"Configurations to apply on the retrieved order edit.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> #### Returns @@ -108,7 +108,7 @@ medusa.admin.orderEdits.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[GetOrderEditsParams](../../medusa/classes/medusa.GetOrderEditsParams.mdx)","description":"Filters and pagination configurations applied to retrieved order edits.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"q","type":"`string`","description":"Search term to search order edits by their internal note.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"Filter the order edits by their associated order's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"20","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[GetOrderEditsParams](../../medusa/classes/medusa.GetOrderEditsParams.mdx)","description":"Filters and pagination configurations applied to retrieved order edits.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"q","type":"`string`","description":"Search term to search order edits by their internal note.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"Filter the order edits by their associated order's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"20","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminOrdersResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminOrdersResource.mdx index f9432c4cc1693..1ce942917a377 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminOrdersResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminOrdersResource.mdx @@ -15,7 +15,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou Orders are purchases made by customers, typically through a storefront using [CartsResource](js_client.CartsResource.mdx). Draft orders created by the admin are also transformed to an Order once the payment is captured. Managing orders include managing fulfillment, payment, claims, reservations, and more. -Related Guide: [How to manage orders](https://docs.medusajs.com/modules/orders/admin/manage-orders). +Related Guide: [How to manage orders](https://docs.medusajs.com/v1/modules/orders/admin/manage-orders). ## Methods @@ -79,7 +79,7 @@ medusa.admin.orders.retrieve(orderId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[FindParams](../../medusa/classes/medusa.FindParams.mdx)","description":"Configurations to apply on the retrieved order.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[FindParams](../../medusa/classes/medusa.FindParams.mdx)","description":"Configurations to apply on the retrieved order.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> #### Returns @@ -135,7 +135,7 @@ medusa.admin.orders.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetOrdersParams](../../medusa/classes/medusa.AdminGetOrdersParams.mdx)","description":"Filters and pagination configurations applied on the retrieved orders.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":false,"defaultValue":"50","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term to search orders' shipping address, first name, email, and display ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"ID to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"`string`[]","description":"Statuses to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_status","type":"`string`[]","description":"Fulfillment statuses to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_status","type":"`string`[]","description":"Payment statuses to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"display_id","type":"`string`","description":"Display ID to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"Cart ID to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"Customer ID to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"Email to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string` \\| `string`[]","description":"Regions to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Currency code to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate","type":"`string`","description":"Tax rate to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string`[]","description":"Sales channel IDs to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the orders' `canceled_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the orders' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the orders' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetOrdersParams](../../medusa/classes/medusa.AdminGetOrdersParams.mdx)","description":"Filters and pagination configurations applied on the retrieved orders.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":false,"defaultValue":"50","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort retrieved orders by. By default, the sort order is ascending.\nTo change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term to search orders' shipping address, first name, email, and display ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"ID to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"`string`[]","description":"Statuses to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_status","type":"`string`[]","description":"Fulfillment statuses to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_status","type":"`string`[]","description":"Payment statuses to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"display_id","type":"`string`","description":"Display ID to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"Cart ID to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"Customer ID to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"Email to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string` \\| `string`[]","description":"Regions to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Currency code to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate","type":"`string`","description":"Tax rate to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string`[]","description":"Sales channel IDs to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the orders' `canceled_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the orders' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the orders' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminPaymentCollectionsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminPaymentCollectionsResource.mdx index d0b3d7409abfd..f77a9203dd552 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminPaymentCollectionsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminPaymentCollectionsResource.mdx @@ -50,7 +50,7 @@ medusa.admin.paymentCollections.retrieve(paymentCollectionId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetPaymentCollectionsParams](../../medusa/classes/medusa.AdminGetPaymentCollectionsParams.mdx)","description":"Configurations to apply on the retrieved payment collection.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetPaymentCollectionsParams](../../medusa/classes/medusa.AdminGetPaymentCollectionsParams.mdx)","description":"Configurations to apply on the retrieved payment collection.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminPaymentsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminPaymentsResource.mdx index 997e2a68f43cb..df665ffe2d10b 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminPaymentsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminPaymentsResource.mdx @@ -34,7 +34,7 @@ medusa.admin.payments.retrieve(paymentId) #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[GetPaymentsParams](../../medusa/classes/medusa.GetPaymentsParams.mdx)","description":"Configurations to apply on the retrieved payment.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[GetPaymentsParams](../../medusa/classes/medusa.GetPaymentsParams.mdx)","description":"Configurations to apply on the retrieved payment.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminPriceListResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminPriceListResource.mdx index 84973c8e060e7..31869e5ca2b37 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminPriceListResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminPriceListResource.mdx @@ -14,7 +14,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou A price list are special prices applied to products based on a set of conditions, such as customer group. -Related Guide: [How to manage price lists](https://docs.medusajs.com/modules/price-lists/admin/manage-price-lists). +Related Guide: [How to manage price lists](https://docs.medusajs.com/v1/modules/price-lists/admin/manage-price-lists). ## Methods @@ -230,7 +230,7 @@ medusa.admin.priceLists.listProducts(priceListId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetPriceListsPriceListProductsParams](../../medusa/classes/medusa.AdminGetPriceListsPriceListProductsParams.mdx)","description":"Filters and pagination configurations applied on the retrieved products.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"ID to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term to search products' title, description, product variant's title and sku, and product collection's title.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../../entities/enums/entities.ProductStatus.mdx)[]","description":"Statuses to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"DRAFT","type":"`\"draft\"`","description":"The product is a draft. It's not viewable by customers.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PROPOSED","type":"`\"proposed\"`","description":"The product is proposed, but not yet published.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PUBLISHED","type":"`\"published\"`","description":"The product is published.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REJECTED","type":"`\"rejected\"`","description":"The product is rejected. It's not viewable by customers.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"collection_id","type":"`string`[]","description":"Filter products by their associated collection ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"`string`[]","description":"Tags to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"Title to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"Description to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"handle","type":"`string`","description":"Handle to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`string`","description":"Filter products by whether they're gift cards.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"Type to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the products' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the products' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"deleted_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the products' `deleted_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of products returned in the list. Default is `50`.","optional":true,"defaultValue":"20","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="listProducts"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetPriceListsPriceListProductsParams](../../medusa/classes/medusa.AdminGetPriceListsPriceListProductsParams.mdx)","description":"Filters and pagination configurations applied on the retrieved products.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string` \\| `string`[]","description":"ID to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term to search products' title, description, product variant's title and sku, and product collection's title.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../../entities/enums/entities.ProductStatus.mdx)[]","description":"Statuses to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"DRAFT","type":"`\"draft\"`","description":"The product is a draft. It's not viewable by customers.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PROPOSED","type":"`\"proposed\"`","description":"The product is proposed, but not yet published.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PUBLISHED","type":"`\"published\"`","description":"The product is published.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REJECTED","type":"`\"rejected\"`","description":"The product is rejected. It's not viewable by customers.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"collection_id","type":"`string`[]","description":"Filter products by their associated collection ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"`string`[]","description":"Tags to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"Title to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"Description to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"handle","type":"`string`","description":"Handle to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Filter products by whether they're gift cards.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"Type to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the products' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the products' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"deleted_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the products' `deleted_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of products returned in the list. Default is `50`.","optional":true,"defaultValue":"20","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="listProducts"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminProductCategoriesResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminProductCategoriesResource.mdx index f1a1f2eef7c0f..52dfcf7137a45 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminProductCategoriesResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminProductCategoriesResource.mdx @@ -20,7 +20,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou Products can be categoriezed into categories. A product can be added into more than one category. -Related Guide: [How to manage product categories](https://docs.medusajs.com/modules/products/admin/manage-categories). +Related Guide: [How to manage product categories](https://docs.medusajs.com/v1/modules/products/admin/manage-categories). ## Methods @@ -58,7 +58,7 @@ medusa.admin.productCategories.retrieve(productCategoryId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetProductCategoryParams](../../medusa/classes/medusa.AdminGetProductCategoryParams.mdx)","description":"Configurations to apply on the retrieved product category.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetProductCategoryParams](../../medusa/classes/medusa.AdminGetProductCategoryParams.mdx)","description":"Configurations to apply on the retrieved product category.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> #### Returns @@ -167,7 +167,7 @@ medusa.admin.productCategories.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetProductCategoriesParams](../../medusa/classes/medusa.AdminGetProductCategoriesParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved product categories.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"q","type":"`string`","description":"Search term to search product categories' names and handles.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"handle","type":"`string`","description":"Handle to filter product categories by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"include_descendants_tree","type":"`boolean`","description":"Whether to include child product categories in the response.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_internal","type":"`boolean`","description":"Filter product categories by whether they're internal.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_active","type":"`boolean`","description":"Filter product categories by whether they're active.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_category_id","type":"`null` \\| `string`","description":"Filter product categories by their associated parent ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of product categories returned in the list. The default is `100`.","optional":true,"defaultValue":"20","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetProductCategoriesParams](../../medusa/classes/medusa.AdminGetProductCategoriesParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved product categories.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"q","type":"`string`","description":"Search term to search product categories' names and handles.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"handle","type":"`string`","description":"Handle to filter product categories by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"include_descendants_tree","type":"`boolean`","description":"Whether to include child product categories in the response.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_internal","type":"`boolean`","description":"Filter product categories by whether they're internal.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_active","type":"`boolean`","description":"Filter product categories by whether they're active.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_category_id","type":"`null` \\| `string`","description":"Filter product categories by their associated parent ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of product categories returned in the list. The default is `100`.","optional":true,"defaultValue":"20","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminProductsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminProductsResource.mdx index 260162decf3e0..12bd3b60db0ea 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminProductsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminProductsResource.mdx @@ -12,9 +12,9 @@ are available in the JS Client under the `medusa.admin.products` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). -Products are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/modules/gift-cards/admin/manage-gift-cards#manage-gift-card-product) in a store. +Products are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/v1/modules/gift-cards/admin/manage-gift-cards#manage-gift-card-product) in a store. -Related Guide: [How to manage products](https://docs.medusajs.com/modules/products/admin/manage-products). +Related Guide: [How to manage products](https://docs.medusajs.com/v1/modules/products/admin/manage-products). ## Methods @@ -170,7 +170,7 @@ medusa.admin.products.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetProductsParams](../../medusa/classes/medusa.AdminGetProductsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved products.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"50","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string` \\| `string`[]","description":"IDs to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term to search products' title, description, variants' title and sku, and collections' title.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../../entities/enums/entities.ProductStatus.mdx)[]","description":"Statuses to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"DRAFT","type":"`\"draft\"`","description":"The product is a draft. It's not viewable by customers.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PROPOSED","type":"`\"proposed\"`","description":"The product is proposed, but not yet published.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PUBLISHED","type":"`\"published\"`","description":"The product is published.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REJECTED","type":"`\"rejected\"`","description":"The product is rejected. It's not viewable by customers.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"price_list_id","type":"`string`[]","description":"Filter products by their associated price lists' ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection_id","type":"`string`[]","description":"Filter products by their associated product collection's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"`string`[]","description":"Filter products by their associated tags' value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"Title to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"Description to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"handle","type":"`string`","description":"Handle to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Filter products by whether they're gift cards.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"type_id","type":"`string`[]","description":"Filter products by their associated product type's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string`[]","description":"Filter products by their associated sales channels' ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_condition_id","type":"`string`","description":"Filter products by their associated discount condition's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"category_id","type":"`string`[]","description":"Filter products by their associated product category's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"include_category_children","type":"`boolean`","description":"Whether to include product category children in the response.","optional":true,"defaultValue":"","expandable":false,"featureFlag":"product_categories","children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the products' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the products' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"deleted_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the products' `deleted_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetProductsParams](../../medusa/classes/medusa.AdminGetProductsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved products.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"50","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string` \\| `string`[]","description":"IDs to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term to search products' title, description, variants' title and sku, and collections' title.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../../entities/enums/entities.ProductStatus.mdx)[]","description":"Statuses to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"DRAFT","type":"`\"draft\"`","description":"The product is a draft. It's not viewable by customers.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PROPOSED","type":"`\"proposed\"`","description":"The product is proposed, but not yet published.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PUBLISHED","type":"`\"published\"`","description":"The product is published.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REJECTED","type":"`\"rejected\"`","description":"The product is rejected. It's not viewable by customers.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"price_list_id","type":"`string`[]","description":"Filter products by their associated price lists' ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection_id","type":"`string`[]","description":"Filter products by their associated product collection's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"`string`[]","description":"Filter products by their associated tags' value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"Title to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"Description to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"handle","type":"`string`","description":"Handle to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Filter products by whether they're gift cards.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"type_id","type":"`string`[]","description":"Filter products by their associated product type's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string`[]","description":"Filter products by their associated sales channels' ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_condition_id","type":"`string`","description":"Filter products by their associated discount condition's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"category_id","type":"`string`[]","description":"Filter products by their associated product category's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"include_category_children","type":"`boolean`","description":"Whether to include product category children in the response.","optional":true,"defaultValue":"","expandable":false,"featureFlag":"product_categories","children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the products' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the products' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"deleted_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the products' `deleted_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns @@ -203,7 +203,7 @@ medusa.admin.products.listTags() ### setMetadata Set the metadata of a product. It can be any key-value pair, which allows adding custom data to a product. Learn about how you can update and delete the metadata attribute -[here](https://docs.medusajs.com/development/entities/overview#metadata-attribute). +[here](https://docs.medusajs.com/v1/development/entities/overview#metadata-attribute). #### Example @@ -350,7 +350,7 @@ medusa.admin.products.listVariants(productId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetProductsVariantsParams](../../medusa/classes/medusa.AdminGetProductsVariantsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved product variants. If undefined, the first 100 records are retrieved.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"fields","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"","optional":true,"defaultValue":"100","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="listVariants"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetProductsVariantsParams](../../medusa/classes/medusa.AdminGetProductsVariantsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved product variants. If undefined, the first 100 records are retrieved.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string` \\| `string`[]","description":"IDs to filter product variants by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"100","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term to search product variants' title, sku, and products' title.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number` \\| [NumericalComparisonOperator](../../medusa/classes/medusa.NumericalComparisonOperator.mdx)","description":"Number filters to apply on product variants' `inventory_quantity` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Filter product variants by whether their inventory is managed or not.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Filter product variants by whether they are allowed to be backordered or not.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the product variants' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the product variants' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="listVariants"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminPublishableApiKeyResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminPublishableApiKeyResource.mdx index 81b2636845ced..34db99910f90f 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminPublishableApiKeyResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminPublishableApiKeyResource.mdx @@ -17,7 +17,7 @@ For example, a publishable API key can be associated with one or more sales chan the sales channels are inferred from the key and only products associated with those sales channels are retrieved. Admins can manage publishable API keys and their associated resources. Currently, only Sales Channels are supported as a resource. -Related Guide: [How to manage publishable API keys](https://docs.medusajs.com/development/publishable-api-keys/admin/manage-publishable-api-keys). +Related Guide: [How to manage publishable API keys](https://docs.medusajs.com/v1/development/publishable-api-keys/admin/manage-publishable-api-keys). ## Methods @@ -80,7 +80,7 @@ medusa.admin.publishableApiKeys.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[GetPublishableApiKeysParams](../../medusa/classes/medusa.GetPublishableApiKeysParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved publishable API keys.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"q","type":"`string`","description":"Search term to search publishable API keys' titles.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"20","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[GetPublishableApiKeysParams](../../medusa/classes/medusa.GetPublishableApiKeysParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved publishable API keys.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"q","type":"`string`","description":"Search term to search publishable API keys' titles.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"A field to sort-order the retrieved publishable API keys by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the publishable API keys' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the publishable API keys' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"revoked_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the publishable API keys' `revoked_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"20","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminRegionsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminRegionsResource.mdx index 8f2047671f32e..12086e496fc95 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminRegionsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminRegionsResource.mdx @@ -15,7 +15,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou Regions are different countries or geographical regions that the commerce store serves customers in. Admins can manage these regions, their providers, and more. -Related Guide: [How to manage regions](https://docs.medusajs.com/modules/regions-and-currencies/admin/manage-regions). +Related Guide: [How to manage regions](https://docs.medusajs.com/v1/modules/regions-and-currencies/admin/manage-regions). ## Methods @@ -124,7 +124,7 @@ medusa.admin.regions.retrieve(regionId) #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"`AdminGetRegionsRegionParams`","description":"Query params","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetRegionsRegionParams](../../medusa/classes/medusa.AdminGetRegionsRegionParams.mdx)","description":"Query params","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> #### Returns @@ -165,7 +165,7 @@ medusa.admin.regions.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetRegionsParams](../../medusa/classes/medusa.AdminGetRegionsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved regions.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"q","type":"`string`","description":"Search parameter for regions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the regions' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the regions' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"deleted_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the regions' `deleted_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"20","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetRegionsParams](../../medusa/classes/medusa.AdminGetRegionsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved regions.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"q","type":"`string`","description":"Search parameter for regions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the regions' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the regions' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"deleted_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the regions' `deleted_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"20","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminReservationsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminReservationsResource.mdx index 44cda19b2b4b8..3750f7ade1ba3 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminReservationsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminReservationsResource.mdx @@ -8,15 +8,15 @@ import TypeList from "@site/src/components/TypeList" # AdminReservationsResource This class is used to send requests to [Admin Reservation API Routes](https://docs.medusajs.com/v1/api/admin#reservations). To use these API Routes, make sure to install the -[@medusajs/inventory](https://docs.medusajs.com/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. +[@medusajs/inventory](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). The methods are available in the JS Client under the `medusa.admin.reservations` property. -Reservations, provided by the [Inventory Module](https://docs.medusajs.com/modules/multiwarehouse/inventory-module), are quantities of an item that are reserved, typically when an order is placed but not yet fulfilled. +Reservations, provided by the [Inventory Module](https://docs.medusajs.com/v1/modules/multiwarehouse/inventory-module), are quantities of an item that are reserved, typically when an order is placed but not yet fulfilled. Reservations can be associated with any resources, but commonly with line items of an order. -Related Guide: [How to manage item allocations in orders](https://docs.medusajs.com/modules/multiwarehouse/admin/manage-item-allocations-in-orders). +Related Guide: [How to manage item allocations in orders](https://docs.medusajs.com/v1/modules/multiwarehouse/admin/manage-item-allocations-in-orders). ## Methods @@ -94,7 +94,7 @@ medusa.admin.reservations.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetReservationsParams](../../medusa/classes/medusa.AdminGetReservationsParams.mdx)","description":"Filters and pagination parameters to apply on the retrieved reservations.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"location_id","type":"`string` \\| `string`[]","description":"Location IDs to filter reservations by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`string`[]","description":"Inventory item IDs to filter reservations by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`string`[]","description":"Line item IDs to filter reservations by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`[]","description":"\"Create by\" user IDs to filter reservations by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[NumericalComparisonOperator](../../medusa/classes/medusa.NumericalComparisonOperator.mdx)","description":"Numerical filters to apply on the reservations' `quantity` field.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`number`","description":"The filtered number must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`number`","description":"The filtered number must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`number`","description":"The filtered number must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`number`","description":"The filtered number must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the reservations' `created_at` field.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string` \\| [StringComparisonOperator](../../medusa/classes/medusa.StringComparisonOperator.mdx)","description":"String filters tp apply on the reservations' `description` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"20","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetReservationsParams](../../medusa/classes/medusa.AdminGetReservationsParams.mdx)","description":"Filters and pagination parameters to apply on the retrieved reservations.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"location_id","type":"`string` \\| `string`[]","description":"Location IDs to filter reservations by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`string`[]","description":"Inventory item IDs to filter reservations by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`string`[]","description":"Line item IDs to filter reservations by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`[]","description":"\"Create by\" user IDs to filter reservations by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[NumericalComparisonOperator](../../medusa/classes/medusa.NumericalComparisonOperator.mdx)","description":"Numerical filters to apply on the reservations' `quantity` field.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`number`","description":"The filtered number must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`number`","description":"The filtered number must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`number`","description":"The filtered number must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`number`","description":"The filtered number must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the reservations' `created_at` field.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the reservations' `updated_at` field.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string` \\| [StringComparisonOperator](../../medusa/classes/medusa.StringComparisonOperator.mdx)","description":"String filters to apply on the reservations' `description` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"20","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminReturnReasonsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminReturnReasonsResource.mdx index dc34a9d076af8..c0c515b7ce510 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminReturnReasonsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminReturnReasonsResource.mdx @@ -15,7 +15,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou Return reasons are key-value pairs that are used to specify why an order return is being created. Admins can manage available return reasons, and they can be used by both admins and customers when creating a return. -Related Guide: [How to manage return reasons](https://docs.medusajs.com/modules/orders/admin/manage-returns#manage-return-reasons). +Related Guide: [How to manage return reasons](https://docs.medusajs.com/v1/modules/orders/admin/manage-returns#manage-return-reasons). ## Methods diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminReturnsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminReturnsResource.mdx index 7d1f29badd830..0e0ac83671fc1 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminReturnsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminReturnsResource.mdx @@ -15,7 +15,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou A return can be created by a customer or an admin to return items in an order. Admins can manage these returns and change their state. -Related Guide: [How to manage returns](https://docs.medusajs.com/modules/orders/admin/manage-returns). +Related Guide: [How to manage returns](https://docs.medusajs.com/v1/modules/orders/admin/manage-returns). ## Methods diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminSalesChannelsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminSalesChannelsResource.mdx index bb4c159cac241..0cd09f815e7ee 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminSalesChannelsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminSalesChannelsResource.mdx @@ -15,7 +15,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou A sales channel indicates a channel where products can be sold in. For example, a webshop or a mobile app. Admins can manage sales channels and the products available in them. -Related Guide: [How to manage sales channels](https://docs.medusajs.com/modules/sales-channels/admin/manage). +Related Guide: [How to manage sales channels](https://docs.medusajs.com/v1/modules/sales-channels/admin/manage). ## Methods @@ -146,7 +146,7 @@ medusa.admin.salesChannels.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetSalesChannelsParams](../../medusa/classes/medusa.AdminGetSalesChannelsParams.mdx)","description":"Filters and pagination configurations applied on the retrieved sales channels.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"ID to filter sales channels by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term to search sales channels' names and descriptions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"Name to filter sales channels by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"Description to filter sales channels by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on sales channels' `created_at` field.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on sales channels' `updated_at` field.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"deleted_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on sales channels' `deleted_at` field.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"20","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetSalesChannelsParams](../../medusa/classes/medusa.AdminGetSalesChannelsParams.mdx)","description":"Filters and pagination configurations applied on the retrieved sales channels.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"ID to filter sales channels by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term to search sales channels' names and descriptions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"Name to filter sales channels by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"Description to filter sales channels by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on sales channels' `created_at` field.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on sales channels' `updated_at` field.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"deleted_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on sales channels' `deleted_at` field.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"20","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns @@ -239,7 +239,7 @@ medusa.admin.salesChannels.addProducts(salesChannelId, { ### addLocation Associate a stock location with a sales channel. It requires the -[@medusajs/stock-location](https://docs.medusajs.com/modules/multiwarehouse/install-modules#stock-location-module) module to be installed in +[@medusajs/stock-location](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#stock-location-module) module to be installed in your Medusa backend. #### Example diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminShippingOptionsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminShippingOptionsResource.mdx index ee562ee089e9f..fb650fff1d2a5 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminShippingOptionsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminShippingOptionsResource.mdx @@ -15,7 +15,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou A shipping option is used to define the available shipping methods during checkout or when creating a return. Admins can create an unlimited number of shipping options, each associated with a shipping profile and fulfillment provider, among other resources. -Related Guide: [Shipping Option architecture](https://docs.medusajs.com/modules/carts-and-checkout/shipping#shipping-option). +Related Guide: [Shipping Option architecture](https://docs.medusajs.com/v1/modules/carts-and-checkout/shipping#shipping-option). ## Methods diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminShippingProfilesResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminShippingProfilesResource.mdx index f04cedfe7a009..603aa5585ac6c 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminShippingProfilesResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminShippingProfilesResource.mdx @@ -15,7 +15,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou A shipping profile is used to group products that can be shipped in the same manner. They are created by the admin and they're not associated with a fulfillment provider. -Related Guide: [Shipping Profile architecture](https://docs.medusajs.com/modules/carts-and-checkout/shipping#shipping-profile). +Related Guide: [Shipping Profile architecture](https://docs.medusajs.com/v1/modules/carts-and-checkout/shipping#shipping-profile). ## Methods diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminStockLocationsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminStockLocationsResource.mdx index dcac8a82d7c60..c22c3f0858c0a 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminStockLocationsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminStockLocationsResource.mdx @@ -8,15 +8,15 @@ import TypeList from "@site/src/components/TypeList" # AdminStockLocationsResource This class is used to send requests to [Admin Stock Location API Routes](https://docs.medusajs.com/v1/api/admin#stock-locations). To use these API Routes, make sure to install the -[@medusajs/stock-location](https://docs.medusajs.com/modules/multiwarehouse/install-modules#stock-location-module) module in your Medusa backend. +[@medusajs/stock-location](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#stock-location-module) module in your Medusa backend. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). The methods are available in the JS Client under the `medusa.admin.stockLocations` property. -A stock location, provided by the [Stock Location module](https://docs.medusajs.com/modules/multiwarehouse/stock-location-module), indicates a physical address that stock-kept items, such as physical products, can be stored in. +A stock location, provided by the [Stock Location module](https://docs.medusajs.com/v1/modules/multiwarehouse/stock-location-module), indicates a physical address that stock-kept items, such as physical products, can be stored in. An admin can create and manage available stock locations. -Related Guide: [How to manage stock locations](https://docs.medusajs.com/modules/multiwarehouse/admin/manage-stock-locations). +Related Guide: [How to manage stock locations](https://docs.medusajs.com/v1/modules/multiwarehouse/admin/manage-stock-locations). ## Methods @@ -44,7 +44,7 @@ medusa.admin.stockLocations.create({ #### Returns -` \\| `null`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"Stock location address' ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../medusa/types/medusa.StockLocationAddressDTO.mdx)","description":"The Address of the Stock Location","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"Stock location address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"Stock location address' country","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The stock location address' ID","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"Stock location address' complement","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"Stock location company' name","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"Stock location address' city","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"Stock location address' phone number","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"Stock location address' postal code","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"Stock location address' province","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sales_channels","type":"`any`[]","description":"The associated sales channels.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="create"/> +` \\| `null`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"The associated address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](../../medusa/interfaces/medusa.FulfillmentSetDTO.mdx)[]","description":"Fulfillment sets for the location","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](../../medusa/interfaces/medusa.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../medusa/types/medusa.StockLocationAddressDTO.mdx)","description":"The address of the stock location.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"The address 1 of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"The address 2 of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"The company of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"The city of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"The phone of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"The postal code of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"The province of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sales_channels","type":"`any`[]","description":"The list of sales channels.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="create"/> ### retrieve @@ -68,7 +68,7 @@ medusa.admin.stockLocations.retrieve(stockLocationId) #### Returns -` \\| `null`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"Stock location address' ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../medusa/types/medusa.StockLocationAddressDTO.mdx)","description":"The Address of the Stock Location","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"Stock location address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"Stock location address' country","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The stock location address' ID","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"Stock location address' complement","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"Stock location company' name","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"Stock location address' city","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"Stock location address' phone number","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"Stock location address' postal code","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"Stock location address' province","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sales_channels","type":"`any`[]","description":"The associated sales channels.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> +` \\| `null`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"The associated address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](../../medusa/interfaces/medusa.FulfillmentSetDTO.mdx)[]","description":"Fulfillment sets for the location","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](../../medusa/interfaces/medusa.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../medusa/types/medusa.StockLocationAddressDTO.mdx)","description":"The address of the stock location.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"The address 1 of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"The address 2 of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"The company of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"The city of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"The phone of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"The postal code of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"The province of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sales_channels","type":"`any`[]","description":"The list of sales channels.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> ### update @@ -94,7 +94,7 @@ medusa.admin.stockLocations.update(stockLocationId, { #### Returns -` \\| `null`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"Stock location address' ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../medusa/types/medusa.StockLocationAddressDTO.mdx)","description":"The Address of the Stock Location","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"Stock location address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"Stock location address' country","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The stock location address' ID","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"Stock location address' complement","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"Stock location company' name","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"Stock location address' city","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"Stock location address' phone number","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"Stock location address' postal code","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"Stock location address' province","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sales_channels","type":"`any`[]","description":"The associated sales channels.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="update"/> +` \\| `null`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"The associated address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](../../medusa/interfaces/medusa.FulfillmentSetDTO.mdx)[]","description":"Fulfillment sets for the location","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](../../medusa/interfaces/medusa.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../medusa/types/medusa.StockLocationAddressDTO.mdx)","description":"The address of the stock location.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"The address 1 of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"The address 2 of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"The company of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"The city of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"The phone of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"The postal code of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"The province of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sales_channels","type":"`any`[]","description":"The list of sales channels.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="update"/> ### delete @@ -118,7 +118,7 @@ medusa.admin.stockLocations.delete(stockLocationId) #### Returns - + ### list @@ -171,8 +171,8 @@ medusa.admin.stockLocations.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetStockLocationsParams](../../medusa/classes/medusa.AdminGetStockLocationsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved stock locations.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"q","type":"`string`","description":"Search term to search stock location names.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string` \\| `string`[]","description":"IDs to filter stock locations by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string` \\| `string`[]","description":"Names to filter stock locations by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string` \\| `string`[]","description":"Filter stock locations by the ID of their associated addresses.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string` \\| `string`[]","description":"Filter stock locations by the ID of their associated sales channels.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"20","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetStockLocationsParams](../../medusa/classes/medusa.AdminGetStockLocationsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved stock locations.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"q","type":"`string`","description":"Search term to search stock location names.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string` \\| `string`[]","description":"IDs to filter stock locations by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string` \\| `string`[]","description":"Names to filter stock locations by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string` \\| `string`[]","description":"Filter stock locations by the ID of their associated addresses.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string` \\| `string`[]","description":"Filter stock locations by the ID of their associated sales channels.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"20","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns - + diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminStoresResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminStoresResource.mdx index 8ca25e326e909..f1d067142b7de 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminStoresResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminStoresResource.mdx @@ -46,7 +46,7 @@ medusa.admin.store.update({ ### addCurrency Add a currency code to the available currencies in a store. This doesn't create new currencies, as currencies are defined within the Medusa backend. -To create a currency, you can [create a migration](https://docs.medusajs.com/development/entities/migrations/create) that inserts the currency into the database. +To create a currency, you can [create a migration](https://docs.medusajs.com/v1/development/entities/migrations/create) that inserts the currency into the database. #### Example diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminSwapsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminSwapsResource.mdx index 5f32ffab9efd7..cb3e834e81526 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminSwapsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminSwapsResource.mdx @@ -15,7 +15,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou A swap is created by a customer or an admin to exchange an item with a new one. Creating a swap implicitely includes creating a return for the item being exchanged. -Related Guide: [How to manage swaps](https://docs.medusajs.com/modules/orders/admin/manage-swaps) +Related Guide: [How to manage swaps](https://docs.medusajs.com/v1/modules/orders/admin/manage-swaps) ## Methods diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminTaxRatesResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminTaxRatesResource.mdx index 4d51bc7d3ae45..5e36267f0b9f0 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminTaxRatesResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminTaxRatesResource.mdx @@ -14,7 +14,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou Each region has at least a default tax rate. Admins can create and manage additional tax rates that can be applied for certain conditions, such as for specific product types. -Related Guide: [How to manage tax rates](https://docs.medusajs.com/modules/taxes/admin/manage-tax-rates). +Related Guide: [How to manage tax rates](https://docs.medusajs.com/v1/modules/taxes/admin/manage-tax-rates). ## Methods @@ -52,7 +52,7 @@ medusa.admin.taxRates.retrieve(taxRateId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetTaxRatesTaxRateParams](../../medusa/classes/medusa.AdminGetTaxRatesTaxRateParams.mdx)","description":"Configurations to apply on retrieved tax rates.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetTaxRatesTaxRateParams](../../medusa/classes/medusa.AdminGetTaxRatesTaxRateParams.mdx)","description":"Configurations to apply on retrieved tax rates.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> #### Returns @@ -108,7 +108,7 @@ medusa.admin.taxRates.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetTaxRatesParams](../../medusa/classes/medusa.AdminGetTaxRatesParams.mdx)","description":"Filters and pagination configurations applied to the retrieved tax rates.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"region_id","type":"`string` \\| `string`[]","description":"Filter tax rates by the IDs of their associates region.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"Name to filter tax rates by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"Code to filter tax rates by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number` \\| [NumericalComparisonOperator](../../medusa/classes/medusa.NumericalComparisonOperator.mdx)","description":"Number filters to filter tax rates' `rate` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"50","expandable":false,"children":[]},{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetTaxRatesParams](../../medusa/classes/medusa.AdminGetTaxRatesParams.mdx)","description":"Filters and pagination configurations applied to the retrieved tax rates.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"region_id","type":"`string` \\| `string`[]","description":"Filter tax rates by the IDs of their associates region.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"Name to filter tax rates by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"Code to filter tax rates by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number` \\| [NumericalComparisonOperator](../../medusa/classes/medusa.NumericalComparisonOperator.mdx)","description":"Number filters to filter tax rates' `rate` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"50","expandable":false,"children":[]},{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the tax rates' `update_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the customer tax rates' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"deleted_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the tax rates' `deleted_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"q","type":"`string`","description":"Term used to search tax rates by name.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns @@ -136,7 +136,7 @@ medusa.admin.taxRates.create({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminPostTaxRatesParams](../../medusa/classes/medusa.AdminPostTaxRatesParams.mdx)","description":"Configurations to apply on the retrieved tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="create"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminPostTaxRatesParams](../../medusa/classes/medusa.AdminPostTaxRatesParams.mdx)","description":"Configurations to apply on the retrieved tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="create"/> #### Returns @@ -162,7 +162,7 @@ medusa.admin.taxRates.update(taxRateId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminPostTaxRatesTaxRateParams](../../medusa/classes/medusa.AdminPostTaxRatesTaxRateParams.mdx)","description":"Configurations to apply on the retrieved tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="update"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminPostTaxRatesTaxRateParams](../../medusa/classes/medusa.AdminPostTaxRatesTaxRateParams.mdx)","description":"Configurations to apply on the retrieved tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="update"/> #### Returns @@ -190,7 +190,7 @@ medusa.admin.taxRates.addProducts(taxRateId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminPostTaxRatesTaxRateProductsParams](../../medusa/classes/medusa.AdminPostTaxRatesTaxRateProductsParams.mdx)","description":"Configurations to apply on the retrieved tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="addProducts"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminPostTaxRatesTaxRateProductsParams](../../medusa/classes/medusa.AdminPostTaxRatesTaxRateProductsParams.mdx)","description":"Configurations to apply on the retrieved tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="addProducts"/> #### Returns @@ -218,7 +218,7 @@ medusa.admin.taxRates.addProductTypes(taxRateId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetTaxRatesTaxRateParams](../../medusa/classes/medusa.AdminGetTaxRatesTaxRateParams.mdx)","description":"Configurations to apply on the retrieved tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="addProductTypes"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetTaxRatesTaxRateParams](../../medusa/classes/medusa.AdminGetTaxRatesTaxRateParams.mdx)","description":"Configurations to apply on the retrieved tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="addProductTypes"/> #### Returns @@ -246,7 +246,7 @@ medusa.admin.taxRates.addShippingOptions(taxRateId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminPostTaxRatesTaxRateShippingOptionsParams](../../medusa/classes/medusa.AdminPostTaxRatesTaxRateShippingOptionsParams.mdx)","description":"Configurations to apply on the retrieved tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="addShippingOptions"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminPostTaxRatesTaxRateShippingOptionsParams](../../medusa/classes/medusa.AdminPostTaxRatesTaxRateShippingOptionsParams.mdx)","description":"Configurations to apply on the retrieved tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="addShippingOptions"/> #### Returns @@ -274,7 +274,7 @@ medusa.admin.taxRates.removeProducts(taxRateId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminDeleteTaxRatesTaxRateProductsParams](../../medusa/classes/medusa.AdminDeleteTaxRatesTaxRateProductsParams.mdx)","description":"Configurations to apply on the retrieved tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="removeProducts"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminDeleteTaxRatesTaxRateProductsParams](../../medusa/classes/medusa.AdminDeleteTaxRatesTaxRateProductsParams.mdx)","description":"Configurations to apply on the retrieved tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="removeProducts"/> #### Returns @@ -302,7 +302,7 @@ medusa.admin.taxRates.removeProductTypes(taxRateId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminDeleteTaxRatesTaxRateProductTypesParams](../../medusa/classes/medusa.AdminDeleteTaxRatesTaxRateProductTypesParams.mdx)","description":"Configurations to apply on the retrieved tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="removeProductTypes"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminDeleteTaxRatesTaxRateProductTypesParams](../../medusa/classes/medusa.AdminDeleteTaxRatesTaxRateProductTypesParams.mdx)","description":"Configurations to apply on the retrieved tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="removeProductTypes"/> #### Returns @@ -330,7 +330,7 @@ medusa.admin.taxRates.removeShippingOptions(taxRateId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminDeleteTaxRatesTaxRateShippingOptionsParams](../../medusa/classes/medusa.AdminDeleteTaxRatesTaxRateShippingOptionsParams.mdx)","description":"Configurations to apply on the retrieved tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="removeShippingOptions"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminDeleteTaxRatesTaxRateShippingOptionsParams](../../medusa/classes/medusa.AdminDeleteTaxRatesTaxRateShippingOptionsParams.mdx)","description":"Configurations to apply on the retrieved tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`[]","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`[]","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="removeShippingOptions"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminUploadsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminUploadsResource.mdx index 5cb8c3525c0d4..8c0ba10953536 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminUploadsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminUploadsResource.mdx @@ -14,7 +14,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou The methods in this class are used to upload any type of resources. For example, they can be used to upload CSV files that are used to import products into the store. -Related Guide: [How to upload CSV file when importing a product](https://docs.medusajs.com/modules/products/admin/import-products#1-upload-csv-file). +Related Guide: [How to upload CSV file when importing a product](https://docs.medusajs.com/v1/modules/products/admin/import-products#1-upload-csv-file). ## Methods diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminUsersResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminUsersResource.mdx index f9f8a1c7820a1..785b992668d4e 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminUsersResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminUsersResource.mdx @@ -14,7 +14,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou A store can have more than one user, each having the same privileges. Admins can manage users, their passwords, and more. -Related Guide: [How to manage users](https://docs.medusajs.com/modules/users/admin/manage-users). +Related Guide: [How to manage users](https://docs.medusajs.com/v1/modules/users/admin/manage-users). ## Methods @@ -217,4 +217,4 @@ medusa.admin.users.list({ #### Returns -`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminVariantsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminVariantsResource.mdx index c1b38a7a25308..c7522e464e35f 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminVariantsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminVariantsResource.mdx @@ -15,7 +15,7 @@ All methods in this class require [user authentication](js_client.AdminAuthResou Product variants are the actual salable item in your store. Each variant is a combination of the different option values available on the product. Product variants can be managed through [AdminProductsResource](js_client.AdminProductsResource.mdx). -Related Guide: [How to manage product variants](https://docs.medusajs.com/modules/products/admin/manage-products#manage-product-variants). +Related Guide: [How to manage product variants](https://docs.medusajs.com/v1/modules/products/admin/manage-products#manage-product-variants). ## Methods @@ -69,7 +69,7 @@ medusa.admin.variants.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetVariantsParams](../../medusa/classes/medusa.AdminGetVariantsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved product variants.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"q","type":"`string`","description":"Search term to search product variants' IDs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"20","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string` \\| `string`[]","description":"IDs to filter product variants by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string` \\| `string`[]","description":"Titles to filter product variants by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number` \\| [NumericalComparisonOperator](../../medusa/classes/medusa.NumericalComparisonOperator.mdx)","description":"Number filters to apply on product variants' `inventory_quantity` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"Retrieve prices for a cart ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"Retrieve prices for a region ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Retrieve prices for a currency code.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"Retrieve prices for a customer ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetVariantsParams](../../medusa/classes/medusa.AdminGetVariantsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved product variants.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"q","type":"`string`","description":"Search term to search product variants' IDs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"20","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string` \\| `string`[]","description":"IDs to filter product variants by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string` \\| `string`[]","description":"Titles to filter product variants by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number` \\| [NumericalComparisonOperator](../../medusa/classes/medusa.NumericalComparisonOperator.mdx)","description":"Number filters to apply on product variants' `inventory_quantity` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Filter product variants by whether their inventory is managed or not.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Filter product variants by whether they are allowed to be backordered or not.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"Retrieve prices for a cart ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"Retrieve prices for a region ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Retrieve prices for a currency code.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"Retrieve prices for a customer ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns @@ -109,7 +109,7 @@ medusa.admin.variants.retrieve(variantId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetVariantParams](../../medusa/classes/medusa.AdminGetVariantParams.mdx)","description":"Configurations to apply on the retrieved product variant.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[AdminGetVariantParams](../../medusa/classes/medusa.AdminGetVariantParams.mdx)","description":"Configurations to apply on the retrieved product variant.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AuthResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AuthResource.mdx index 753b6e5159025..159cf6d6c1b42 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AuthResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AuthResource.mdx @@ -15,7 +15,7 @@ You can send authenticated requests for a customer either using the Cookie heade When you log the customer in using the [authenticate](js_client.AuthResource.mdx#authenticate) method, the JS client will automatically attach the cookie header in all subsequent requests. -Related Guide: [How to implement customer profiles in your storefront](https://docs.medusajs.com/modules/customers/storefront/implement-customer-profiles). +Related Guide: [How to implement customer profiles in your storefront](https://docs.medusajs.com/v1/modules/customers/storefront/implement-customer-profiles). ## Methods diff --git a/www/apps/docs/content/references/js_client/classes/js_client.CartsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.CartsResource.mdx index 52350141d1c5d..9fc4f2622efb7 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.CartsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.CartsResource.mdx @@ -13,7 +13,7 @@ are available in the JS Client under the `medusa.carts` property. A cart is a virtual shopping bag that customers can use to add items they want to purchase. A cart is then used to checkout and place an order. -Related Guide: [How to implement cart functionality in your storefront](https://docs.medusajs.com/modules/carts-and-checkout/storefront/implement-cart). +Related Guide: [How to implement cart functionality in your storefront](https://docs.medusajs.com/v1/modules/carts-and-checkout/storefront/implement-cart). ## Properties diff --git a/www/apps/docs/content/references/js_client/classes/js_client.CustomersResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.CustomersResource.mdx index 5260d9983851a..f22547f4492ec 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.CustomersResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.CustomersResource.mdx @@ -12,7 +12,7 @@ are available in the JS Client under the `medusa.customers` property. A customer can register and manage their information such as addresses, orders, payment methods, and more. -Related Guide: [How to implement customer profiles in your storefront](https://docs.medusajs.com/modules/customers/storefront/implement-customer-profiles). +Related Guide: [How to implement customer profiles in your storefront](https://docs.medusajs.com/v1/modules/customers/storefront/implement-customer-profiles). ## Properties @@ -120,7 +120,7 @@ medusa.customers.listOrders() #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"params","type":"[StoreGetCustomersCustomerOrdersParams](../../medusa/classes/medusa.StoreGetCustomersCustomerOrdersParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved orders.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":false,"defaultValue":"10","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"ID to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term to search orders' display ID, email, shipping address's first name, customer's first name, customer's last name, and customer's phone number.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[OrderStatus](../../entities/enums/entities.OrderStatus.mdx)[]","description":"Statuses to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"PENDING","type":"`\"pending\"`","description":"The order is pending.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"COMPLETED","type":"`\"completed\"`","description":"The order is completed, meaning that\nthe items have been fulfilled and the payment\nhas been captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ARCHIVED","type":"`\"archived\"`","description":"The order is archived.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"CANCELED","type":"`\"canceled\"`","description":"The order is canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REQUIRES_ACTION","type":"`\"requires_action\"`","description":"The order requires action.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_status","type":"[FulfillmentStatus](../../entities/enums/entities.FulfillmentStatus.mdx)[]","description":"Fulfillment statuses to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"NOT_FULFILLED","type":"`\"not_fulfilled\"`","description":"The order's items are not fulfilled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PARTIALLY_FULFILLED","type":"`\"partially_fulfilled\"`","description":"Some of the order's items, but not all, are fulfilled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"FULFILLED","type":"`\"fulfilled\"`","description":"The order's items are fulfilled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PARTIALLY_SHIPPED","type":"`\"partially_shipped\"`","description":"Some of the order's items, but not all, are shipped.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"SHIPPED","type":"`\"shipped\"`","description":"The order's items are shipped.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PARTIALLY_RETURNED","type":"`\"partially_returned\"`","description":"Some of the order's items, but not all, are returned.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"RETURNED","type":"`\"returned\"`","description":"The order's items are returned.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"CANCELED","type":"`\"canceled\"`","description":"The order's fulfillments are canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REQUIRES_ACTION","type":"`\"requires_action\"`","description":"The order's fulfillment requires action.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_status","type":"[PaymentStatus](../../entities/enums/entities.PaymentStatus.mdx)[]","description":"Payment statuses to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"NOT_PAID","type":"`\"not_paid\"`","description":"The order's payment is not paid.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"AWAITING","type":"`\"awaiting\"`","description":"The order's payment is awaiting capturing.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"CAPTURED","type":"`\"captured\"`","description":"The order's payment is captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PARTIALLY_REFUNDED","type":"`\"partially_refunded\"`","description":"Some of the order's payment amount is refunded.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REFUNDED","type":"`\"refunded\"`","description":"The order's payment amount is refunded.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"CANCELED","type":"`\"canceled\"`","description":"The order's payment is canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REQUIRES_ACTION","type":"`\"requires_action\"`","description":"The order's payment requires action.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"display_id","type":"`string`","description":"Display ID to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"Cart ID to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"Email to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"Region ID to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Currency code to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate","type":"`string`","description":"Tax rate to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the orders' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the orders' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"canceled_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the orders' `canceled_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="listOrders"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"params","type":"[StoreGetCustomersCustomerOrdersParams](../../medusa/classes/medusa.StoreGetCustomersCustomerOrdersParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved orders.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":false,"defaultValue":"10","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"ID to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term to search orders' display ID, email, shipping address's first name, customer's first name, customer's last name, and customer's phone number.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[OrderStatus](../../entities/enums/entities.OrderStatus.mdx)[]","description":"Statuses to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"PENDING","type":"`\"pending\"`","description":"The order is pending.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"COMPLETED","type":"`\"completed\"`","description":"The order is completed, meaning that\nthe items have been fulfilled and the payment\nhas been captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ARCHIVED","type":"`\"archived\"`","description":"The order is archived.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"CANCELED","type":"`\"canceled\"`","description":"The order is canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REQUIRES_ACTION","type":"`\"requires_action\"`","description":"The order requires action.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_status","type":"[FulfillmentStatus](../../entities/enums/entities.FulfillmentStatus.mdx)[]","description":"Fulfillment statuses to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"NOT_FULFILLED","type":"`\"not_fulfilled\"`","description":"The order's items are not fulfilled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PARTIALLY_FULFILLED","type":"`\"partially_fulfilled\"`","description":"Some of the order's items, but not all, are fulfilled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"FULFILLED","type":"`\"fulfilled\"`","description":"The order's items are fulfilled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PARTIALLY_SHIPPED","type":"`\"partially_shipped\"`","description":"Some of the order's items, but not all, are shipped.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"SHIPPED","type":"`\"shipped\"`","description":"The order's items are shipped.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PARTIALLY_RETURNED","type":"`\"partially_returned\"`","description":"Some of the order's items, but not all, are returned.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"RETURNED","type":"`\"returned\"`","description":"The order's items are returned.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"CANCELED","type":"`\"canceled\"`","description":"The order's fulfillments are canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REQUIRES_ACTION","type":"`\"requires_action\"`","description":"The order's fulfillment requires action.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_status","type":"[PaymentStatus](../../entities/enums/entities.PaymentStatus.mdx)[]","description":"Payment statuses to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"NOT_PAID","type":"`\"not_paid\"`","description":"The order's payment is not paid.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"AWAITING","type":"`\"awaiting\"`","description":"The order's payment is awaiting capturing.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"CAPTURED","type":"`\"captured\"`","description":"The order's payment is captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PARTIALLY_REFUNDED","type":"`\"partially_refunded\"`","description":"Some of the order's payment amount is refunded.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REFUNDED","type":"`\"refunded\"`","description":"The order's payment amount is refunded.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"CANCELED","type":"`\"canceled\"`","description":"The order's payment is canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REQUIRES_ACTION","type":"`\"requires_action\"`","description":"The order's payment requires action.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"display_id","type":"`string`","description":"Display ID to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"Cart ID to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"Email to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"Region ID to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Currency code to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate","type":"`string`","description":"Tax rate to filter orders by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the orders' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the orders' `updated_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"canceled_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the orders' `canceled_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="listOrders"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.GiftCardsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.GiftCardsResource.mdx index d735242c0fce1..5caa1f144a455 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.GiftCardsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.GiftCardsResource.mdx @@ -13,7 +13,7 @@ are available in the JS Client under the `medusa.giftCards` property. Customers can use gift cards during checkout to deduct the gift card's balance from the checkout total. The methods in this class allow retrieving a gift card's details by its code. A gift card can be applied to a cart using [CartsResource](js_client.CartsResource.mdx). -Related Guide: [How to use gift cards in a storefront](https://docs.medusajs.com/modules/gift-cards/storefront/use-gift-cards). +Related Guide: [How to use gift cards in a storefront](https://docs.medusajs.com/v1/modules/gift-cards/storefront/use-gift-cards). ## Methods diff --git a/www/apps/docs/content/references/js_client/classes/js_client.OrderEditsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.OrderEditsResource.mdx index 2d227764c03bc..1f1ca6e4da01d 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.OrderEditsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.OrderEditsResource.mdx @@ -13,7 +13,7 @@ are available in the JS Client under the `medusa.orderEdits` property. Order edits are changes made to items in an order such as adding, updating their quantity, or deleting them. Order edits are created by the admin. A customer can review order edit requests created by an admin and confirm or decline them. -Related Guide: [How to handle order edits in a storefront](https://docs.medusajs.com/modules/orders/storefront/handle-order-edits). +Related Guide: [How to handle order edits in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/handle-order-edits). ## Methods diff --git a/www/apps/docs/content/references/js_client/classes/js_client.OrdersResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.OrdersResource.mdx index 953ee3fe2879e..db21967e6e132 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.OrdersResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.OrdersResource.mdx @@ -13,7 +13,7 @@ are available in the JS Client under the `medusa.orders` property. Orders are purchases made by customers, typically through a storefront. Orders are placed and created using [CartsResource](js_client.CartsResource.mdx). The methods in this class allow retrieving and claiming orders. -Related Guide: [How to retrieve order details in a storefront](https://docs.medusajs.com/modules/orders/storefront/retrieve-order-details). +Related Guide: [How to retrieve order details in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/retrieve-order-details). ## Methods @@ -83,7 +83,7 @@ medusa.orders.lookupOrder({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="lookupOrder"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="lookupOrder"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.PaymentCollectionsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.PaymentCollectionsResource.mdx index c366f306b3ace..b38c8e7ba7b34 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.PaymentCollectionsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.PaymentCollectionsResource.mdx @@ -48,7 +48,7 @@ medusa.paymentCollections.retrieve(paymentCollectionId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[StoreGetPaymentCollectionsParams](../../medusa/classes/medusa.StoreGetPaymentCollectionsParams.mdx)","description":"Configurations to apply on the retrieved payment collection.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[StoreGetPaymentCollectionsParams](../../medusa/classes/medusa.StoreGetPaymentCollectionsParams.mdx)","description":"Configurations to apply on the retrieved payment collection.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.ProductCategoriesResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.ProductCategoriesResource.mdx index 68b63ab857179..ad521d47cf1d8 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.ProductCategoriesResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.ProductCategoriesResource.mdx @@ -19,7 +19,7 @@ are available in the JS Client under the `medusa.productCategories` property. Products can be categoriezed into categories. A product can be associated more than one category. Using the methods in this class, you can list or retrieve a category's details and products. -Related Guide: [How to use product categories in a storefront](https://docs.medusajs.com/modules/products/storefront/use-categories). +Related Guide: [How to use product categories in a storefront](https://docs.medusajs.com/v1/modules/products/storefront/use-categories). ## Methods @@ -57,7 +57,7 @@ medusa.productCategories.retrieve(productCategoryId, { #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[StoreGetProductCategoriesCategoryParams](../../medusa/classes/medusa.StoreGetProductCategoriesCategoryParams.mdx)","description":"Configurations to apply on the retrieved product categories.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[StoreGetProductCategoriesCategoryParams](../../medusa/classes/medusa.StoreGetProductCategoriesCategoryParams.mdx)","description":"Configurations to apply on the retrieved product categories.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="retrieve"/> #### Returns @@ -127,7 +127,7 @@ medusa.productCategories.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[StoreGetProductCategoriesParams](../../medusa/classes/medusa.StoreGetProductCategoriesParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved product categories.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"q","type":"`string`","description":"Search term to search product categories' names and handles.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"handle","type":"`string`","description":"Handle to filter product categories by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_category_id","type":"`null` \\| `string`","description":"Filter product categories by the ID of their associated parent category.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"include_descendants_tree","type":"`boolean`","description":"Whether to include child categories in the retrieved categories.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of product categories returned in the list. Default is `100`.","optional":true,"defaultValue":"20","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[StoreGetProductCategoriesParams](../../medusa/classes/medusa.StoreGetProductCategoriesParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved product categories.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"q","type":"`string`","description":"Search term to search product categories' names and handles.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"handle","type":"`string`","description":"Handle to filter product categories by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_category_id","type":"`null` \\| `string`","description":"Filter product categories by the ID of their associated parent category.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"include_descendants_tree","type":"`boolean`","description":"Whether to include child categories in the retrieved categories.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of product categories returned in the list. Default is `100`.","optional":true,"defaultValue":"20","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.ProductVariantsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.ProductVariantsResource.mdx index 2d31ebebc0b67..df770c1efc86f 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.ProductVariantsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.ProductVariantsResource.mdx @@ -98,7 +98,7 @@ medusa.product.variants.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[StoreGetVariantsParams](../../medusa/classes/medusa.StoreGetVariantsParams.mdx)","description":"Filters and pagination configurations applied on the retrieved product variants.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"100","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"ids","type":"`string`","description":"ID to filter the product variants by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string`","description":"Filter product variants by the ID of their associated sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string` \\| `string`[]","description":"IDs to filter product variants by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string` \\| `string`[]","description":"Titles to filter product variants by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number` \\| [NumericalComparisonOperator](../../medusa/classes/medusa.NumericalComparisonOperator.mdx)","description":"Number filters to apply on the product variants' `inventory_quantity` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"Retrieve prices for a cart ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"Retrieve prices for a region ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Retrieve prices for a currency code.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[StoreGetVariantsParams](../../medusa/classes/medusa.StoreGetVariantsParams.mdx)","description":"Filters and pagination configurations applied on the retrieved product variants.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"100","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"ids","type":"`string`","description":"ID to filter the product variants by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string`","description":"Filter product variants by the ID of their associated sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string` \\| `string`[]","description":"IDs to filter product variants by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string` \\| `string`[]","description":"Titles to filter product variants by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number` \\| [NumericalComparisonOperator](../../medusa/classes/medusa.NumericalComparisonOperator.mdx)","description":"Number filters to apply on the product variants' `inventory_quantity` field.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"Retrieve prices for a cart ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"Retrieve prices for a region ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Retrieve prices for a currency code.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.ProductsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.ProductsResource.mdx index 0e98ed381742c..84b90c066c47b 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.ProductsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.ProductsResource.mdx @@ -10,10 +10,10 @@ import TypeList from "@site/src/components/TypeList" This class is used to send requests to [Store Product API Routes](https://docs.medusajs.com/v1/api/store#products). All its method are available in the JS Client under the `medusa.products` property. -Products are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/modules/gift-cards/storefront/use-gift-cards) in a store. +Products are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/v1/modules/gift-cards/storefront/use-gift-cards) in a store. Using the methods in this class, you can filter products by categories, collections, sales channels, and more. -Related Guide: [How to show products in a storefront](https://docs.medusajs.com/modules/products/storefront/show-products). +Related Guide: [How to show products in a storefront](https://docs.medusajs.com/v1/modules/products/storefront/show-products). ## Properties @@ -130,7 +130,7 @@ medusa.products.list({ #### Parameters -`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[StoreGetProductsParams](../../medusa/classes/medusa.StoreGetProductsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved products.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"100","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string` \\| `string`[]","description":"IDs to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term to search products' title, description, variants' title and sku, and collections' title.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection_id","type":"`string`[]","description":"Filter products by their associated product collection's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"`string`[]","description":"Filter products by their associated tags' value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"Title to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"Description to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"handle","type":"`string`","description":"Handle to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Filter products by whether they're gift cards.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"type_id","type":"`string`[]","description":"Filter products by their associated product type's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string`[]","description":"Filter products by their associated sales channels' ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"category_id","type":"`string`[]","description":"Filter products by their associated product category's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"include_category_children","type":"`boolean`","description":"Whether to include product category children in the response.","optional":true,"defaultValue":"","expandable":false,"featureFlag":"product_categories","children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the products' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the products' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"Retrieve prices for a cart ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"Retrieve prices for a region ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Retrieve prices for a currency code.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"Custom headers to attach to the request.","optional":false,"defaultValue":"{}","expandable":false,"children":[]},{"name":"query","type":"[StoreGetProductsParams](../../medusa/classes/medusa.StoreGetProductsParams.mdx)","description":"Filters and pagination configurations to apply on the retrieved products.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"0","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"100","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string` \\| `string`[]","description":"IDs to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"q","type":"`string`","description":"Search term to search products' title, description, variants' title and sku, and collections' title.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection_id","type":"`string`[]","description":"Filter products by their associated product collection's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"`string`[]","description":"Filter products by their associated tags' value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"Title to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"Description to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"handle","type":"`string`","description":"Handle to filter products by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Filter products by whether they're gift cards.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"type_id","type":"`string`[]","description":"Filter products by their associated product type's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string`[]","description":"Filter products by their associated sales channels' ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"category_id","type":"`string`[]","description":"Filter products by their associated product category's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"include_category_children","type":"`boolean`","description":"Whether to include product category children in the response.","optional":true,"defaultValue":"","expandable":false,"featureFlag":"product_categories","children":[]},{"name":"created_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the products' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[DateComparisonOperator](../../medusa/classes/medusa.DateComparisonOperator.mdx)","description":"Date filters to apply on the products' `created_at` date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"lt","type":"`Date`","description":"The filtered date must be less than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gt","type":"`Date`","description":"The filtered date must be greater than this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gte","type":"`Date`","description":"The filtered date must be greater than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"lte","type":"`Date`","description":"The filtered date must be less than or equal to this value.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.\nif a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields.\nwithout prefix it will replace the entire default fields.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"Retrieve prices for a cart ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"Retrieve prices for a region ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Retrieve prices for a currency code.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> #### Returns diff --git a/www/apps/docs/content/references/js_client/classes/js_client.RegionsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.RegionsResource.mdx index bd7275558b5dc..a42ecf3ab0301 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.RegionsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.RegionsResource.mdx @@ -13,7 +13,7 @@ are available in the JS Client under the `medusa.regions` property. Regions are different countries or geographical regions that the commerce store serves customers in. Customers can choose what region they're in, which can be used to change the prices shown based on the region and its currency. -Related Guide: [How to use regions in a storefront](https://docs.medusajs.com/modules/regions-and-currencies/storefront/use-regions). +Related Guide: [How to use regions in a storefront](https://docs.medusajs.com/v1/modules/regions-and-currencies/storefront/use-regions). ## Methods @@ -38,7 +38,7 @@ medusa.regions.list() #### Returns -`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Whether the prices for the region include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> +`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Whether the prices for the region include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]}]}]}]}]} expandUrl="https://docs.medusajs.com/js-client/overview#expanding-fields" sectionTitle="list"/> ### retrieve diff --git a/www/apps/docs/content/references/js_client/classes/js_client.ReturnsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.ReturnsResource.mdx index 73839af009d36..a5e021108f663 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.ReturnsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.ReturnsResource.mdx @@ -12,7 +12,7 @@ are available in the JS Client under the `medusa.returns` property. A return can be created by a customer to return items in an order. -Related Guide: [How to create a return in a storefront](https://docs.medusajs.com/modules/orders/storefront/create-return). +Related Guide: [How to create a return in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/create-return). ## Methods diff --git a/www/apps/docs/content/references/js_client/classes/js_client.ShippingOptionsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.ShippingOptionsResource.mdx index af632e231e4e6..332898d550a9a 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.ShippingOptionsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.ShippingOptionsResource.mdx @@ -12,7 +12,7 @@ are available in the JS Client under the `medusa.shippingOptions` property. A shipping option is used to define the available shipping methods during checkout or when creating a return. -Related Guide: [Shipping Option architecture](https://docs.medusajs.com/modules/carts-and-checkout/shipping#shipping-option). +Related Guide: [Shipping Option architecture](https://docs.medusajs.com/v1/modules/carts-and-checkout/shipping#shipping-option). ## Methods diff --git a/www/apps/docs/content/references/js_client/classes/js_client.SwapsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.SwapsResource.mdx index a7054796d1e0c..7e45c625028fc 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.SwapsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.SwapsResource.mdx @@ -13,7 +13,7 @@ are available in the JS Client under the `medusa.swaps` property. A swap is created by a customer or an admin to exchange an item with a new one. Creating a swap implicitely includes creating a return for the item being exchanged. -Related Guide: [How to create a swap in a storefront](https://docs.medusajs.com/modules/orders/storefront/create-swap) +Related Guide: [How to create a swap in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/create-swap) ## Methods diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AbstractFulfillmentService.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AbstractFulfillmentService.mdx index e3717c256187e..b2afc9565dfb9 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AbstractFulfillmentService.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AbstractFulfillmentService.mdx @@ -15,7 +15,7 @@ By default, a Medusa Backend has a `manual` fulfillment provider which has minim A fulfillment provider is a service that extends the `AbstractFulfillmentService` and implements its methods. So, adding a fulfillment provider is as simple as creating a service file in `src/services`. The file's name is the fulfillment provider's class name as a slug and without the word `Service`. For example, if you're creating a `MyFulfillmentService` class, the file name is `src/services/my-fulfillment.ts`. -```ts title=src/services/my-fulfillment.ts +```ts title="src/services/my-fulfillment.ts" import { AbstractFulfillmentService } from "@medusajs/medusa" class MyFulfillmentService extends AbstractFulfillmentService { diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AbstractNotificationService.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AbstractNotificationService.mdx index 029c7f2d72365..eccd1688e7991 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AbstractNotificationService.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AbstractNotificationService.mdx @@ -10,7 +10,7 @@ import TypeList from "@site/src/components/TypeList" :::note[Prerequisites] -Before creating a Notification Provider, [install an event bus module](https://docs.medusajs.com/development/events/modules/redis). +Before creating a Notification Provider, [install an event bus module](https://docs.medusajs.com/v1/development/events/modules/redis). ::: @@ -64,7 +64,7 @@ export default EmailSenderService The `NotificationProvider` entity has 2 properties: `identifier` and `is_installed`. The value of the `identifier` property in the notification provider class is used when the Notification Provider is created in the database. -The value of this property is also used later when you want to subscribe the Notification Provider to events in a [Loader](https://docs.medusajs.com/development/loaders/overview). +The value of this property is also used later when you want to subscribe the Notification Provider to events in a [Loader](https://docs.medusajs.com/v1/development/loaders/overview). For example: @@ -142,7 +142,7 @@ ___ ### sendNotification -When an event is triggered that your Notification Provider is registered as a handler for, the [`NotificationService`](https://docs.medusajs.com/references/services/classes/services.NotificationService) +When an event is triggered that your Notification Provider is registered as a handler for, the [`NotificationService`](https://docs.medusajs.com/v1/references/services/classes/services.NotificationService) in the Medusa backend executes this method of your Notification Provider. In this method, you can perform the necessary operation to send the Notification. For example, you can send an email to the customer when they place an order. @@ -185,7 +185,7 @@ class EmailSenderService extends AbstractNotificationService { #### Parameters - + #### Returns @@ -228,7 +228,7 @@ class EmailSenderService extends AbstractNotificationService { #### Parameters - + #### Returns diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AbstractPaymentProcessor.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AbstractPaymentProcessor.mdx index 791a9c0f3c846..45cca20de7de2 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AbstractPaymentProcessor.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AbstractPaymentProcessor.mdx @@ -107,7 +107,7 @@ abstract class StripeBase extends AbstractPaymentProcessor { ## constructor -You can use the `constructor` of your Payment Processor to have access to different services in Medusa through [dependency injection](https://docs.medusajs.com/development/fundamentals/dependency-injection). +You can use the `constructor` of your Payment Processor to have access to different services in Medusa through [dependency injection](https://docs.medusajs.com/v1/development/fundamentals/dependency-injection). You can also use the constructor to initialize your integration with the third-party provider. For example, if you use a client to connect to the third-party provider’s APIs, you can initialize it in the constructor and use it in other methods in the service. @@ -134,28 +134,18 @@ class MyPaymentService extends AbstractPaymentProcessor { ### Parameters -`","description":"An instance of `MedusaContainer` that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/development/fundamentals/dependency-injection)","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"config","type":"`Record`","description":"If this fulfillment provider is created in a plugin, the plugin's options are passed in this parameter.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="new AbstractPaymentProcessor"/> +`","description":"An instance of `MedusaContainer` that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/v1/development/fundamentals/dependency-injection)","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"config","type":"`Record`","description":"If this payment processor is created in a plugin, the plugin's options are passed in this parameter.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="new AbstractPaymentProcessor"/> ___ ## Properties -`","description":"An instance of `MedusaContainer` that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/development/fundamentals/dependency-injection)","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"_isPaymentProcessor","type":"`boolean`","description":"","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"identifier","type":"`string`","description":"The `PaymentProvider` entity has 2 properties: `id` and `is_installed`. The `identifier` property in the payment processor service is used when the payment processor is added to the database.\n\nThe value of this property is also used to reference the payment processor throughout Medusa.\nFor example, it is used to [add a payment processor](https://docs.medusajs.com/v1/api/admin#regions\\_postregionsregionpaymentproviders) to a region.\n\n```ts\nclass MyPaymentService extends AbstractPaymentProcessor {\n static identifier = \"my-payment\"\n // ...\n}\n```","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"config","type":"`Record`","description":"If this fulfillment provider is created in a plugin, the plugin's options are passed in this parameter.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="AbstractPaymentProcessor"/> +`","description":"An instance of `MedusaContainer` that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/v1/development/fundamentals/dependency-injection)","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"identifier","type":"`string`","description":"The `PaymentProvider` entity has 2 properties: `id` and `is_installed`. The `identifier` property in the payment processor service is used when the payment processor is added to the database.\n\nThe value of this property is also used to reference the payment processor throughout Medusa.\nFor example, it is used to [add a payment processor](https://docs.medusajs.com/v1/api/admin#regions\\_postregionsregionpaymentproviders) to a region.\n\n```ts\nclass MyPaymentService extends AbstractPaymentProcessor {\n static identifier = \"my-payment\"\n // ...\n}\n```","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"config","type":"`Record`","description":"If this payment processor is created in a plugin, the plugin's options are passed in this parameter.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="AbstractPaymentProcessor"/> ___ ## Methods -### isPaymentProcessor - -#### Parameters - - - -#### Returns - - - ### capturePayment This method is used to capture the payment amount of an order. This is typically triggered manually by the store operator from the admin. @@ -263,7 +253,7 @@ class MyPaymentService extends AbstractPaymentProcessor { #### Parameters -`","description":"The `data` field of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context of the authorization. It may include some of the following fields:\n\n- `ip`: The customer’s IP.\n- `idempotency_key`: The [Idempotency Key](https://docs.medusajs.com/modules/carts-and-checkout/payment#idempotency-key) that is associated with the current cart. It is useful when retrying payments, retrying checkout at a failed point, or for payments that require additional actions from the customer.\n- `cart_id`: The ID of a cart. This is only during operations like placing an order or creating a swap.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="authorizePayment"/> +`","description":"The `data` field of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context of the authorization. It may include some of the following fields:\n\n- `ip`: The customer’s IP.\n- `idempotency_key`: The [Idempotency Key](https://docs.medusajs.com/v1/modules/carts-and-checkout/payment#idempotency-key) that is associated with the current cart. It is useful when retrying payments, retrying checkout at a failed point, or for payments that require additional actions from the customer.\n- `cart_id`: The ID of a cart. This is only during operations like placing an order or creating a swap.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="authorizePayment"/> #### Returns @@ -326,8 +316,8 @@ It is used to allow you to make any necessary calls to the third-party provider ```ts import { - PaymentContext, - PaymentSessionResponse, + PaymentProcessorContext, + PaymentProcessorSessionResponse, // ... } from "@medusajs/medusa" diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AbstractPriceSelectionStrategy.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AbstractPriceSelectionStrategy.mdx index 3158511371f97..161e580e9a6b5 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AbstractPriceSelectionStrategy.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AbstractPriceSelectionStrategy.mdx @@ -196,7 +196,7 @@ export default class MyStrategy extends #### Parameters - + #### Returns @@ -240,7 +240,7 @@ export default class MyStrategy extends :::note -Learn more about the cache service in [this documentation](https://docs.medusajs.com/development/cache/overview). +Learn more about the cache service in [this documentation](https://docs.medusajs.com/v1/development/cache/overview). ::: diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AbstractTaxCalculationStrategy.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AbstractTaxCalculationStrategy.mdx index a523aa5c2d537..f7ca4c973fb6f 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AbstractTaxCalculationStrategy.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AbstractTaxCalculationStrategy.mdx @@ -113,7 +113,7 @@ tax conditions and calculation contexts. This method is used whenever taxes are calculated. If automatic tax calculation is disabled in a region, then it's only triggered when taxes are calculated manually as explained in -[this guide](https://docs.medusajs.com/modules/taxes/storefront/manual-calculation). +[this guide](https://docs.medusajs.com/v1/modules/taxes/storefront/manual-calculation). #### Example @@ -149,7 +149,7 @@ async calculate( #### Parameters -`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Indicates if the line item unit\\_price include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]},{"name":"original_item_id","type":"`null` \\| `string`","description":"The ID of the original line item. This is useful if the line item belongs to a resource that references an order, such as a return or an order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`null` \\| `string`","description":"The ID of the order edit that the item may belong to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit","type":"`null` \\| [OrderEdit](../../entities/classes/entities.OrderEdit.mdx)","description":"The details of the order edit.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refundable","type":"`null` \\| `number`","description":"The amount that can be refunded from the given Line Item. Takes taxes and discounts into consideration.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`null` \\| `number`","description":"The subtotal of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`null` \\| `number`","description":"The total of tax of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`null` \\| `number`","description":"The total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`null` \\| `number`","description":"The original total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`null` \\| `number`","description":"The original tax total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`null` \\| `number`","description":"The total of discount of the line item rounded","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"`null` \\| `number`","description":"The total of discount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`null` \\| `number`","description":"The total of the gift card of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"taxLines","type":"([LineItemTaxLine](../../entities/classes/entities.LineItemTaxLine.mdx) \\| [ShippingMethodTaxLine](../../entities/classes/entities.ShippingMethodTaxLine.mdx))[]","description":"The tax lines used for the calculation","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"calculationContext","type":"[TaxCalculationContext](../types/medusa.TaxCalculationContext.mdx)","description":"Other details relevant for the calculation","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx) \\| `null`","description":"The shipping address used in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../entities/classes/entities.Customer.mdx)","description":"The customer that the cart belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region","type":"[Region](../../entities/classes/entities.Region.mdx)","description":"The cart's region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_return","type":"`boolean`","description":"Whether the cart is used in a return flow.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The shipping methods used in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"allocation_map","type":"[LineAllocationsMap](../types/medusa.LineAllocationsMap.mdx)","description":"The gift cards and discounts applied on line items.\nEach object key or property is an ID of a line item","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="calculate"/> +`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Indicates if the line item unit\\_price include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]},{"name":"original_item_id","type":"`null` \\| `string`","description":"The ID of the original line item. This is useful if the line item belongs to a resource that references an order, such as a return or an order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`null` \\| `string`","description":"The ID of the order edit that the item may belong to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit","type":"`null` \\| [OrderEdit](../../entities/classes/entities.OrderEdit.mdx)","description":"The details of the order edit.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refundable","type":"`null` \\| `number`","description":"The amount that can be refunded from the given Line Item. Takes taxes and discounts into consideration.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`null` \\| `number`","description":"The subtotal of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`null` \\| `number`","description":"The total of tax of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`null` \\| `number`","description":"The total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`null` \\| `number`","description":"The original total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`null` \\| `number`","description":"The original tax total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`null` \\| `number`","description":"The total of discount of the line item rounded","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"`null` \\| `number`","description":"The total of discount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`null` \\| `number`","description":"The total of the gift card of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"taxLines","type":"([ShippingMethodTaxLine](../../entities/classes/entities.ShippingMethodTaxLine.mdx) \\| [LineItemTaxLine](../../entities/classes/entities.LineItemTaxLine.mdx))[]","description":"The tax lines used for the calculation","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"calculationContext","type":"[TaxCalculationContext](../types/medusa.TaxCalculationContext.mdx)","description":"Other details relevant for the calculation","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx) \\| `null`","description":"The shipping address used in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../entities/classes/entities.Customer.mdx)","description":"The customer that the cart belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region","type":"[Region](../../entities/classes/entities.Region.mdx)","description":"The cart's region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_return","type":"`boolean`","description":"Whether the cart is used in a return flow.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The shipping methods used in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"allocation_map","type":"[LineAllocationsMap](../types/medusa.LineAllocationsMap.mdx)","description":"The gift cards and discounts applied on line items.\nEach object key or property is an ID of a line item","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="calculate"/> #### Returns diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AbstractTaxService.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AbstractTaxService.mdx index edd52af1f04f6..68755a33e34a5 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AbstractTaxService.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AbstractTaxService.mdx @@ -46,7 +46,7 @@ export default MyTaxService The `TaxProvider` entity has 2 properties: `identifier` and `is_installed`. The `identifier` property in the tax provider service is used when the tax provider is added to the database. -The value of this property is also used to reference the tax provider throughout Medusa. For example, it is used to [change the tax provider](https://docs.medusajs.com/modules/taxes/admin/manage-tax-settings#change-tax-provider-of-a-region) to a region. +The value of this property is also used to reference the tax provider throughout Medusa. For example, it is used to [change the tax provider](https://docs.medusajs.com/v1/modules/taxes/admin/manage-tax-settings#change-tax-provider-of-a-region) to a region. ```ts title="src/services/my-tax.ts" class MyTaxService extends AbstractTaxService { diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteDiscountsDiscountConditionsConditionBatchParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteDiscountsDiscountConditionsConditionBatchParams.mdx index 887f667aaf59d..784cbf82d22e8 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteDiscountsDiscountConditionsConditionBatchParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteDiscountsDiscountConditionsConditionBatchParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteDiscountsDiscountConditionsConditionParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteDiscountsDiscountConditionsConditionParams.mdx index 4c7733e6cffff..07ac8596e4641 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteDiscountsDiscountConditionsConditionParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteDiscountsDiscountConditionsConditionParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteProductCategoriesCategoryProductsBatchParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteProductCategoriesCategoryProductsBatchParams.mdx index 8ac2a3e6833f6..b86dd130f5db3 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteProductCategoriesCategoryProductsBatchParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteProductCategoriesCategoryProductsBatchParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteTaxRatesTaxRateProductTypesParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteTaxRatesTaxRateProductTypesParams.mdx index 0a7ebd5b857e9..46480a7fb8741 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteTaxRatesTaxRateProductTypesParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteTaxRatesTaxRateProductTypesParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteTaxRatesTaxRateProductsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteTaxRatesTaxRateProductsParams.mdx index e653e3fa3a8b6..464a3419f2a5a 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteTaxRatesTaxRateProductsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteTaxRatesTaxRateProductsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteTaxRatesTaxRateShippingOptionsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteTaxRatesTaxRateShippingOptionsParams.mdx index 59310ba2fcc96..8e9e8bb1ab0db 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteTaxRatesTaxRateShippingOptionsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminDeleteTaxRatesTaxRateShippingOptionsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetBatchPaginationParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetBatchPaginationParams.mdx index 5105e6869b225..e0a4c37ba3e11 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetBatchPaginationParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetBatchPaginationParams.mdx @@ -10,4 +10,4 @@ Request parameters used to configure and paginate retrieved batch jobs. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetBatchParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetBatchParams.mdx index 56508a4ecf930..511b932e31f73 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetBatchParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetBatchParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure pagination of the retrieved batch jobs. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetCollectionsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetCollectionsParams.mdx index f04ea05a6600e..f3bfd82dafe4f 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetCollectionsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetCollectionsParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved product ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetCustomerGroupsGroupParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetCustomerGroupsGroupParams.mdx index 46a4dcd43803e..7d33b6ad57ea8 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetCustomerGroupsGroupParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetCustomerGroupsGroupParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetCustomerGroupsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetCustomerGroupsParams.mdx index b034386f24180..f2dbefc8de233 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetCustomerGroupsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetCustomerGroupsParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved customer ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetCustomersParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetCustomersParams.mdx index c249bcbab352b..397803f1e0cec 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetCustomersParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetCustomersParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved customer ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDiscountParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDiscountParams.mdx index 3fbe88c8cdbc8..1102df1515ef5 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDiscountParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDiscountParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDiscountsDiscountCodeParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDiscountsDiscountCodeParams.mdx index 804a59ae100a0..2419458652290 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDiscountsDiscountCodeParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDiscountsDiscountCodeParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDiscountsDiscountConditionsConditionParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDiscountsDiscountConditionsConditionParams.mdx index a7828598e25d3..d7133035a26f3 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDiscountsDiscountConditionsConditionParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDiscountsDiscountConditionsConditionParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDiscountsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDiscountsParams.mdx index 1036ec410dd3f..171ee484e64ab 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDiscountsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDiscountsParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved discount ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDraftOrdersParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDraftOrdersParams.mdx index 57f507dcaf43f..f6a63d9c29bd5 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDraftOrdersParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetDraftOrdersParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved draft or ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetGiftCardsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetGiftCardsParams.mdx index 5c29db2672ae6..ed7302ebe8cd1 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetGiftCardsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetGiftCardsParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved gift car ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetInventoryItemsItemLocationLevelsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetInventoryItemsItemLocationLevelsParams.mdx index f09a998c73117..8da62f3dcafd7 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetInventoryItemsItemLocationLevelsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetInventoryItemsItemLocationLevelsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetInventoryItemsItemParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetInventoryItemsItemParams.mdx index a523fa6fdf8af..9419a834982ce 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetInventoryItemsItemParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetInventoryItemsItemParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetInventoryItemsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetInventoryItemsParams.mdx index 345792f8f566a..d148613e343bb 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetInventoryItemsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetInventoryItemsParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved inventor ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetNotificationsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetNotificationsParams.mdx index e54a09a842e3f..adb063b2cf04e 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetNotificationsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetNotificationsParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved notifica ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetOrdersOrderParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetOrdersOrderParams.mdx index 7d4605fb2b2fe..f26039e69d1a5 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetOrdersOrderParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetOrdersOrderParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetOrdersParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetOrdersParams.mdx index 357c76d547c69..a4aaaf80ad325 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetOrdersParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetOrdersParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved orders. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetPaymentCollectionsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetPaymentCollectionsParams.mdx index 70d7b37dce680..923a7c286bb8f 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetPaymentCollectionsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetPaymentCollectionsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetPriceListsPriceListProductsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetPriceListsPriceListProductsParams.mdx index e8dae501ce967..bc9defc54cb4f 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetPriceListsPriceListProductsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetPriceListsPriceListProductsParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved products ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductCategoriesParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductCategoriesParams.mdx index 9bf9adc39800e..7857a8d4d7b64 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductCategoriesParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductCategoriesParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved product ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductCategoryParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductCategoryParams.mdx index 27a7c409a5cc5..6c6f53e6aa04c 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductCategoryParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductCategoryParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductParams.mdx index dc10f6c22e7b2..f51fde7cdafb1 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductsParams.mdx index d4ec6755b9359..3028bcedb80c4 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductsParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved products ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductsVariantsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductsVariantsParams.mdx index 58f922eb958e5..40b2dd5153ecc 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductsVariantsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetProductsVariantsParams.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetRegionsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetRegionsParams.mdx index 331627775c763..5acba60725eea 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetRegionsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetRegionsParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved regions. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetRegionsRegionParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetRegionsRegionParams.mdx new file mode 100644 index 0000000000000..028063af32136 --- /dev/null +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetRegionsRegionParams.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# AdminGetRegionsRegionParams + +Parameters that can be used to configure how data is retrieved. + +## Properties + + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetReservationsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetReservationsParams.mdx index 62773de697e49..d3dd40ed373c0 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetReservationsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetReservationsParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved reservat ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetSalesChannelsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetSalesChannelsParams.mdx index c1f28c32b8820..e0886f15dd8cf 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetSalesChannelsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetSalesChannelsParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved sales ch ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetStockLocationsLocationParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetStockLocationsLocationParams.mdx index 8ce662db8297d..a835246b5f4b5 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetStockLocationsLocationParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetStockLocationsLocationParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetStockLocationsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetStockLocationsParams.mdx index b1dd8fc865ff1..72a1aa24654c2 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetStockLocationsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetStockLocationsParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved stock lo ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetTaxRatesParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetTaxRatesParams.mdx index bec3f3b6bc4c8..62c753b71fc88 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetTaxRatesParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetTaxRatesParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved tax rate ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetTaxRatesTaxRateParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetTaxRatesTaxRateParams.mdx index 782544d4ededc..b7c75091fde3f 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetTaxRatesTaxRateParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetTaxRatesTaxRateParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetVariantParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetVariantParams.mdx index 9d64519c421d5..72aad5a403975 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetVariantParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetVariantParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetVariantsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetVariantsParams.mdx index 2fd9c3009bae1..dfb9e67853f45 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetVariantsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetVariantsParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved product ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetWorkflowExecutionDetailsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetWorkflowExecutionDetailsParams.mdx new file mode 100644 index 0000000000000..deaf719b99f1c --- /dev/null +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetWorkflowExecutionDetailsParams.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# AdminGetWorkflowExecutionDetailsParams + +Parameters that can be used to configure how data is retrieved. + +## Properties + + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminGetWorkflowExecutionsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetWorkflowExecutionsParams.mdx new file mode 100644 index 0000000000000..52eba0eb5f1c1 --- /dev/null +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminGetWorkflowExecutionsParams.mdx @@ -0,0 +1,11 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# AdminGetWorkflowExecutionsParams + +## Properties + + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminListCustomerSelector.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminListCustomerSelector.mdx index 1304bcf8d6e1d..6756539d69d88 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminListCustomerSelector.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminListCustomerSelector.mdx @@ -10,4 +10,4 @@ Filters used to filter retrieved customers. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsDiscountConditionsConditionBatchParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsDiscountConditionsConditionBatchParams.mdx index e1b942bd4bdb3..154dee1c64907 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsDiscountConditionsConditionBatchParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsDiscountConditionsConditionBatchParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsDiscountConditionsConditionParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsDiscountConditionsConditionParams.mdx index b5882293ce1cf..e251f132360b8 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsDiscountConditionsConditionParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsDiscountConditionsConditionParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsDiscountConditionsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsDiscountConditionsParams.mdx index 83518a2ce8a06..136a4b39ee137 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsDiscountConditionsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsDiscountConditionsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsDiscountParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsDiscountParams.mdx index 72ecf88714e52..a5e7b37986f74 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsDiscountParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsDiscountParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsParams.mdx index f65367ab3617b..8219be907f297 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostDiscountsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsInventoryItemParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsInventoryItemParams.mdx index 111b7f23ab8b2..8f228fefb6956 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsInventoryItemParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsInventoryItemParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsLevelParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsLevelParams.mdx index dc6301eabc324..36fcf8bdf49f0 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsLevelParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsLevelParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsLevelReq.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsLevelReq.mdx index f3d95097aa1a5..8ffe42e6982aa 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsLevelReq.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsLevelReq.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsParams.mdx index 06ebdb5b48143..967b7c6234b42 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsReq.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsReq.mdx index e5e52c8080f45..72a6ce2db5e4a 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsReq.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsItemLocationLevelsReq.mdx @@ -6,7 +6,7 @@ import TypeList from "@site/src/components/TypeList" # AdminPostInventoryItemsItemLocationLevelsReq -The details of the location level to create. +The details of the inventory level to create. ## Properties diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsParams.mdx index 9679c32a1b7e5..52cb2c594d329 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostInventoryItemsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersClaimCancel.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersClaimCancel.mdx index f21ab8e76f6d0..4d6ff43b38e5d 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersClaimCancel.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersClaimCancel.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersClaimFulfillmentsCancelParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersClaimFulfillmentsCancelParams.mdx index 168ab4e78d0fc..1ac47f3d614ac 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersClaimFulfillmentsCancelParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersClaimFulfillmentsCancelParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderArchiveParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderArchiveParams.mdx index 147bc4bf526ec..12e1a1508b18a 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderArchiveParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderArchiveParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderCancel.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderCancel.mdx index 1534b2250bd51..18f4a33df03c6 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderCancel.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderCancel.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderCaptureParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderCaptureParams.mdx index 694b799fecde0..5d75d289ea428 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderCaptureParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderCaptureParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderClaimsClaimFulfillmentsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderClaimsClaimFulfillmentsParams.mdx index 107725222878e..76d0cf2af3208 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderClaimsClaimFulfillmentsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderClaimsClaimFulfillmentsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderClaimsClaimParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderClaimsClaimParams.mdx index 60a8ff84800b1..c34911d756bad 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderClaimsClaimParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderClaimsClaimParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderClaimsClaimShipmentsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderClaimsClaimShipmentsParams.mdx index 092d7a428ba30..450504f9a0e3c 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderClaimsClaimShipmentsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderClaimsClaimShipmentsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderClaimsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderClaimsParams.mdx index 124e1c15e80a6..a8f3553914cb5 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderClaimsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderClaimsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderCompleteParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderCompleteParams.mdx index d497c9ad5aeb1..b69d045ceb376 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderCompleteParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderCompleteParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderFulfillementsCancelParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderFulfillementsCancelParams.mdx index 9999031dfd642..2606e176b13f0 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderFulfillementsCancelParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderFulfillementsCancelParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderFulfillmentsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderFulfillmentsParams.mdx index 0bcba191092d4..92fd9107ed43f 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderFulfillmentsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderFulfillmentsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderParams.mdx index a3031aa610d22..e4fc6ba80c41a 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderParams.mdx @@ -10,4 +10,4 @@ Parameters used to configure the retrieved order. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderRefundsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderRefundsParams.mdx index 80df2fba6566b..44f7d37ac1f02 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderRefundsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderRefundsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderReturnsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderReturnsParams.mdx index 581ce9029beef..b0173cd64e20d 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderReturnsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderReturnsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderShipmentParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderShipmentParams.mdx index 3df7555ef9d42..3bb7d1c4d725f 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderShipmentParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderShipmentParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderShippingMethodsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderShippingMethodsParams.mdx index 08c67564dc3e9..5449f98831771 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderShippingMethodsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderShippingMethodsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapFulfillementsCancelParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapFulfillementsCancelParams.mdx index 9bc5f01db4c1a..7f389498cc9ef 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapFulfillementsCancelParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapFulfillementsCancelParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapsParams.mdx index 67cd1aa25a59b..673625fe8f3e4 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapsSwapFulfillmentsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapsSwapFulfillmentsParams.mdx index feecdc8e58cdc..e026017af8a1e 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapsSwapFulfillmentsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapsSwapFulfillmentsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapsSwapProcessPaymentParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapsSwapProcessPaymentParams.mdx index 78f0413f2e47a..8025735e329be 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapsSwapProcessPaymentParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapsSwapProcessPaymentParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapsSwapShipmentsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapsSwapShipmentsParams.mdx index 6e2000ad3dd10..fca4b7b683d88 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapsSwapShipmentsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersOrderSwapsSwapShipmentsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersSwapCancelParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersSwapCancelParams.mdx index a1e75ad8b3f8f..9f93e86ffa637 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersSwapCancelParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostOrdersSwapCancelParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostProductCategoriesCategoryParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostProductCategoriesCategoryParams.mdx index 39e7bba7b47f9..092b6d5adfc9b 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostProductCategoriesCategoryParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostProductCategoriesCategoryParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostProductCategoriesCategoryProductsBatchParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostProductCategoriesCategoryProductsBatchParams.mdx index ea2267d61d47d..2e76b3411a4e9 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostProductCategoriesCategoryProductsBatchParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostProductCategoriesCategoryProductsBatchParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostProductCategoriesParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostProductCategoriesParams.mdx index 0bbfc4c0832b0..37153ab3fe7a3 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostProductCategoriesParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostProductCategoriesParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostStockLocationsLocationParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostStockLocationsLocationParams.mdx index 89811a0574a92..c187e8cf5494b 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostStockLocationsLocationParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostStockLocationsLocationParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostStockLocationsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostStockLocationsParams.mdx index 12ce002cbcfd3..1d2bf5f610559 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostStockLocationsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostStockLocationsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesParams.mdx index 783209dc78b77..b39b1d70fd178 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesTaxRateParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesTaxRateParams.mdx index f9374bd944096..0599266f35875 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesTaxRateParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesTaxRateParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesTaxRateProductTypesParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesTaxRateProductTypesParams.mdx index 05cd3344e20d3..80772a64e4b83 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesTaxRateProductTypesParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesTaxRateProductTypesParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesTaxRateProductsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesTaxRateProductsParams.mdx index 5b3f33af91d9f..dad5d22d2d931 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesTaxRateProductsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesTaxRateProductsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesTaxRateShippingOptionsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesTaxRateShippingOptionsParams.mdx index 08c917a9e89d7..9819b5b143b84 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesTaxRateShippingOptionsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostTaxRatesTaxRateShippingOptionsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostWorkflowsAsyncResponseReq.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostWorkflowsAsyncResponseReq.mdx new file mode 100644 index 0000000000000..a98c8c3640e31 --- /dev/null +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostWorkflowsAsyncResponseReq.mdx @@ -0,0 +1,11 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# AdminPostWorkflowsAsyncResponseReq + +## Properties + + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPostWorkflowsRunReq.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostWorkflowsRunReq.mdx new file mode 100644 index 0000000000000..17078f37d3d4d --- /dev/null +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPostWorkflowsRunReq.mdx @@ -0,0 +1,11 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# AdminPostWorkflowsRunReq + +## Properties + + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AdminPriceSelectionParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AdminPriceSelectionParams.mdx index 558bdda6b5261..a739f90dd65b8 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AdminPriceSelectionParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AdminPriceSelectionParams.mdx @@ -10,4 +10,4 @@ The context to apply on retrieved prices by a user admin. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.FindPaginationParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.FindPaginationParams.mdx index b064e0e0affb4..c9d0e4bbb15f5 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.FindPaginationParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.FindPaginationParams.mdx @@ -14,4 +14,4 @@ ___ ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.FindParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.FindParams.mdx index 8f013a287cbfd..78e8e087d43d2 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.FindParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.FindParams.mdx @@ -14,4 +14,4 @@ ___ ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.GetOrderEditsOrderEditParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.GetOrderEditsOrderEditParams.mdx index bc068fb623453..cec8710465d18 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.GetOrderEditsOrderEditParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.GetOrderEditsOrderEditParams.mdx @@ -14,4 +14,4 @@ ___ ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.GetOrderEditsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.GetOrderEditsParams.mdx index bbc23c944dbba..a8cd20b4ef9fd 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.GetOrderEditsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.GetOrderEditsParams.mdx @@ -18,4 +18,4 @@ ___ ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.GetPaymentsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.GetPaymentsParams.mdx index b595d9e0f9e3f..1ca8ff18917ae 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.GetPaymentsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.GetPaymentsParams.mdx @@ -14,4 +14,4 @@ ___ ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.GetPublishableApiKeysParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.GetPublishableApiKeysParams.mdx index 4eb1ab742622c..2fb18960ab04f 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.GetPublishableApiKeysParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.GetPublishableApiKeysParams.mdx @@ -18,4 +18,4 @@ ___ ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.PriceSelectionParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.PriceSelectionParams.mdx index c9997f50e4d21..6abc6333c926a 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.PriceSelectionParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.PriceSelectionParams.mdx @@ -14,4 +14,4 @@ ___ ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetCustomersCustomerOrdersPaginationParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetCustomersCustomerOrdersPaginationParams.mdx index bcc4c98aee31c..f76f69bc4579e 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetCustomersCustomerOrdersPaginationParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetCustomersCustomerOrdersPaginationParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how a list of data is paginated. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetCustomersCustomerOrdersParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetCustomersCustomerOrdersParams.mdx index 0c2ee5bb07af9..64eb707b6542e 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetCustomersCustomerOrdersParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetCustomersCustomerOrdersParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved orders. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetOrdersParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetOrdersParams.mdx index b919accf243ec..a6872eb424b22 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetOrdersParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetOrdersParams.mdx @@ -10,4 +10,4 @@ Filters to narrow down the looked-up order, with configurations applied on the r ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetPaymentCollectionsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetPaymentCollectionsParams.mdx index 8ca62ebe4b0a7..3e7a8996257e2 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetPaymentCollectionsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetPaymentCollectionsParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetProductCategoriesCategoryParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetProductCategoriesCategoryParams.mdx index d4aa07a25f002..d4edcb91651d7 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetProductCategoriesCategoryParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetProductCategoriesCategoryParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetProductCategoriesParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetProductCategoriesParams.mdx index acfc46efd201b..88160b1886351 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetProductCategoriesParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetProductCategoriesParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved product ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetProductsPaginationParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetProductsPaginationParams.mdx index 5866e3a1ec9f2..9297c81d06a9a 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetProductsPaginationParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetProductsPaginationParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how a list of data is paginated. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetProductsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetProductsParams.mdx index e942bb100a8b1..b008bd7e48496 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetProductsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetProductsParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved products ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetRegionsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetRegionsParams.mdx index 44e607c7bcce1..da985706364c5 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetRegionsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetRegionsParams.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetRegionsRegionParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetRegionsRegionParams.mdx index e0b00e48c6ed0..b83a3f51d801f 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetRegionsRegionParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetRegionsRegionParams.mdx @@ -10,4 +10,4 @@ Parameters that can be used to configure how data is retrieved. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetVariantsParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetVariantsParams.mdx index ba32117de52b2..c84b647a9f77a 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetVariantsParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetVariantsParams.mdx @@ -10,4 +10,4 @@ Parameters used to filter and configure the pagination of the retrieved product ## Properties - + diff --git a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetVariantsVariantParams.mdx b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetVariantsVariantParams.mdx index 4e39e88894dfc..8225fb1538721 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.StoreGetVariantsVariantParams.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.StoreGetVariantsVariantParams.mdx @@ -10,4 +10,4 @@ The context to apply on retrieved prices. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/enums/medusa.TransactionHandlerType.mdx b/www/apps/docs/content/references/medusa/enums/medusa.TransactionHandlerType.mdx new file mode 100644 index 0000000000000..92f116a68b5af --- /dev/null +++ b/www/apps/docs/content/references/medusa/enums/medusa.TransactionHandlerType.mdx @@ -0,0 +1,17 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# TransactionHandlerType + +## Enumeration Members + +### INVOKE + + **INVOKE** = `"invoke"` + +### COMPENSATE + + **COMPENSATE** = `"compensate"` diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.AuthenticatedMedusaRequest.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.AuthenticatedMedusaRequest.mdx new file mode 100644 index 0000000000000..3274b3bee5672 --- /dev/null +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.AuthenticatedMedusaRequest.mdx @@ -0,0 +1,15 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# AuthenticatedMedusaRequest + +## Type parameters + + + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"Field to sort items in the list by.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"allowedProperties","type":"`string`[]","description":"TODO: shouldn't this correspond to returnable fields instead of allowed fields? also it is used by the cleanResponseData util","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"listConfig","type":"[FindConfig](medusa.FindConfig.mdx)<unknown>","description":"An object containing the select, relation, skip, take and order to be used with medusa internal services","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"keyof Entity[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"retrieveConfig","type":"[FindConfig](medusa.FindConfig.mdx)<unknown>","description":"An object containing the select, relation to be used with medusa internal services","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"keyof Entity[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"remoteQueryConfig","type":"`object`","description":"An object containing fields and variables to be used with the remoteQuery","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"fields","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"pagination","type":"`object`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"remoteQueryConfig.fields","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"remoteQueryConfig.pagination","type":"`object`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"order","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"filterableFields","type":"`Record`","description":"An object containing the fields that are filterable e.g `{ id: Any }`","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"errors","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"scope","type":"[MedusaContainer](../types/medusa.MedusaContainer-2.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"user","type":"[User](../../entities/classes/entities.User.mdx) \\| [Customer](../../entities/classes/entities.Customer.mdx) & `object`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"userId","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"auth","type":"`object`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"actor_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"auth_user_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"scope","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"auth.actor_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"auth.auth_user_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"auth.app_metadata","type":"`Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"auth.scope","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"remoteQueryConfig.pagination.order","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"remoteQueryConfig.pagination.skip","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"remoteQueryConfig.pagination.take","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"includes","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allowedFields","type":"`string`[]","description":"An array of fields and relations that are allowed to be queried, this can be set by the\nconsumer as part of a middleware and it will take precedence over the defaultAllowedFields","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allowed","type":"`string`[]","description":"An array of fields and relations that are allowed to be queried, this can be set by the\nconsumer as part of a middleware and it will take precedence over the defaultAllowedFields set\nby the api","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"session","type":"`any`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rawBody","type":"`any`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"pricingContext","type":"[MedusaPricingContext](../types/medusa.MedusaPricingContext.mdx)","description":"An object that carries the context that is used to calculate prices for variants","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"region_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_group_id","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="AuthenticatedMedusaRequest"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.ConfigModule-1.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.ConfigModule-1.mdx index 615932464dfc6..9a4bb30f9d871 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.ConfigModule-1.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.ConfigModule-1.mdx @@ -39,4 +39,4 @@ setting the environment variables depends on the hosting provider. ## Properties -` & `object`","description":"An object that includes additional configurations to pass to the database connection. You can pass any configuration. One defined configuration to pass is\n`ssl` which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`.\nDuring development, it’s recommended not to pass this option.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_url","type":"`string`","description":"Used to specify the URL to connect to Redis. This is only used for scheduled jobs. If you omit this configuration, scheduled jobs won't work.\n\n:::note\n\nYou must first have Redis installed. You can refer to [Redis's installation guide](https://redis.io/docs/getting-started/installation/).\n\n:::\n\nThe Redis connection URL has the following format:\n\n```bash\nredis[s]://[[username][:password]@][host][:port][/db-number]\n```\n\nFor a local Redis installation, the connection URL should be `redis://localhost:6379` unless you’ve made any changes to the Redis configuration during installation.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_prefix","type":"`string`","description":"The prefix set on all keys stored in Redis. The default value is `sess:`.\n\nIf this configuration option is provided, it is prepended to `sess:`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_options","type":"`RedisOptions`","description":"An object of options to pass ioredis. You can refer to [ioredis’s RedisOptions documentation](https://redis.github.io/ioredis/index.html#RedisOptions)\nfor the list of available options.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"session_options","type":"[SessionOptions](medusa.SessionOptions.mdx)","description":"An object of options to pass to [express-session](https://www.npmjs.com/package/express-session).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"http_compression","type":"[HttpCompressionOptions](medusa.HttpCompressionOptions.mdx)","description":"Configure HTTP compression from the application layer. If you have access to the HTTP server, the recommended approach would be to enable it there.\nHowever, some platforms don't offer access to the HTTP layer and in those cases, this is a good alternative.\n\nIts value is an object that has the following properties:\n\nIf you enable HTTP compression and you want to disable it for specific API Routes, you can pass in the request header `\"x-no-compression\": true`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"jobs_batch_size","type":"`number`","description":"Configure the number of staged jobs that are polled from the database. Default is 1000.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"plugins","type":"(`string` \\| `object`)[]","description":"On your Medusa backend, you can use [Plugins](https://docs.medusajs.com/development/plugins/overview) to add custom features or integrate third-party services.\nFor example, installing a plugin to use Stripe as a payment processor.\n\nAside from installing the plugin with NPM, you need to pass the plugin you installed into the `plugins` array defined in `medusa-config.js`.\n\nThe items in the array can either be:\n\n- A string, which is the name of the plugin to add. You can pass a plugin as a string if it doesn’t require any configurations.\n- An object having the following properties:\n - `resolve`: The name of the plugin.\n - `options`: An object that includes the plugin’s options. These options vary for each plugin, and you should refer to the plugin’s documentation for available options.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"featureFlags","type":"`Record`","description":"Some features in the Medusa backend are guarded by a feature flag. This ensures constant shipping of new features while maintaining the engine’s stability.\n\nYou can specify whether a feature should or shouldn’t be used in your backend by enabling its feature flag. Feature flags can be enabled through either environment\nvariables or through this configuration exported in `medusa-config.js`.\n\nIf you want to use the environment variables method, learn more about it in the [Feature Flags documentation](https://docs.medusajs.com/development/feature-flags/toggle#method-one-using-environment-variables).\n\nThe `featureFlags` configuration is an object. Its properties are the names of the feature flags. Each property’s value is a boolean indicating whether the feature flag is enabled.\n\nYou can find available feature flags and their key name [here](https://github.com/medusajs/medusa/tree/master/packages/medusa/src/loaders/feature-flags).","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"modules","type":"`Record`","description":"In Medusa, commerce and core logic are modularized to allow developers to extend or replace certain [modules](https://docs.medusajs.com/development/modules/overview)\nwith custom implementations.\n\nAside from installing the module with NPM, you must add it to the exported object in `medusa-config.js`.\n\nThe keys of the `modules` configuration object refer to the type of module. Its value can be one of the following:\n\n1. A boolean value indicating whether the module type is enabled;\n2. Or a string value indicating the name of the module to be used for the module type. This can be used if the module does not require any options;\n3. Or an object having the following properties, but typically you would mainly use the `resolve` and `options` properties only:\n 1. `resolve`: a string indicating the name of the module.\n 2. `options`: an object indicating the options to pass to the module. These options vary for each module, and you should refer to the module’s documentation for details on them.\n 3. `resources`: a string indicating whether the module shares the dependency container with the Medusa core. Its value can either be `shared` or `isolated`. Refer to the [Modules documentation](https://docs.medusajs.com/development/modules/create#module-scope) for more details.\n 4. `alias`: a string indicating a unique alias to register the module under. Other modules can’t use the same alias.\n 5. `main`: a boolean value indicating whether this module is the main registered module. This is useful when an alias is used.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ConfigModule"/> +` & `object`","description":"An object that includes additional configurations to pass to the database connection. You can pass any configuration. One defined configuration to pass is\n`ssl` which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`.\nDuring development, it’s recommended not to pass this option.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database_driver_options","type":"`Record` & `object`","description":"An object that includes additional configurations to pass to the database connection for v2. You can pass any configuration. One defined configuration to pass is\n`ssl` which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`.\nDuring development, it’s recommended not to pass this option.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_url","type":"`string`","description":"Used to specify the URL to connect to Redis. This is only used for scheduled jobs. If you omit this configuration, scheduled jobs won't work.\n\n:::note\n\nYou must first have Redis installed. You can refer to [Redis's installation guide](https://redis.io/docs/getting-started/installation/).\n\n:::\n\nThe Redis connection URL has the following format:\n\n```bash\nredis[s]://[[username][:password]@][host][:port][/db-number]\n```\n\nFor a local Redis installation, the connection URL should be `redis://localhost:6379` unless you’ve made any changes to the Redis configuration during installation.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_prefix","type":"`string`","description":"The prefix set on all keys stored in Redis. The default value is `sess:`.\n\nIf this configuration option is provided, it is prepended to `sess:`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_options","type":"`RedisOptions`","description":"An object of options to pass ioredis. You can refer to [ioredis’s RedisOptions documentation](https://redis.github.io/ioredis/index.html#RedisOptions)\nfor the list of available options.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"session_options","type":"[SessionOptions](medusa.SessionOptions.mdx)","description":"An object of options to pass to [express-session](https://www.npmjs.com/package/express-session).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"http_compression","type":"[HttpCompressionOptions](medusa.HttpCompressionOptions.mdx)","description":"Configure HTTP compression from the application layer. If you have access to the HTTP server, the recommended approach would be to enable it there.\nHowever, some platforms don't offer access to the HTTP layer and in those cases, this is a good alternative.\n\nIts value is an object that has the following properties:\n\nIf you enable HTTP compression and you want to disable it for specific API Routes, you can pass in the request header `\"x-no-compression\": true`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"jobs_batch_size","type":"`number`","description":"Configure the number of staged jobs that are polled from the database. Default is `1000`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"worker_mode","type":"`\"shared\"` \\| `\"worker\"` \\| `\"server\"`","description":"Configure the application's worker mode. Default is `shared`.\n\n- Use `shared` to run the application in a single process.\n- Use `worker` to run the a worker process only.\n- Use `server` to run the application server only.\n\nLearn more in [this guide](https://docs.medusajs.com/v1/development/medusa-worker).","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"plugins","type":"(`string` \\| `object`)[]","description":"On your Medusa backend, you can use [Plugins](https://docs.medusajs.com/v1/development/plugins/overview) to add custom features or integrate third-party services.\nFor example, installing a plugin to use Stripe as a payment processor.\n\nAside from installing the plugin with NPM, you need to pass the plugin you installed into the `plugins` array defined in `medusa-config.js`.\n\nThe items in the array can either be:\n\n- A string, which is the name of the plugin to add. You can pass a plugin as a string if it doesn’t require any configurations.\n- An object having the following properties:\n - `resolve`: The name of the plugin.\n - `options`: An object that includes the plugin’s options. These options vary for each plugin, and you should refer to the plugin’s documentation for available options.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"featureFlags","type":"`Record`","description":"Some features in the Medusa backend are guarded by a feature flag. This ensures constant shipping of new features while maintaining the engine’s stability.\n\nYou can specify whether a feature should or shouldn’t be used in your backend by enabling its feature flag. Feature flags can be enabled through either environment\nvariables or through this configuration exported in `medusa-config.js`.\n\nIf you want to use the environment variables method, learn more about it in the [Feature Flags documentation](https://docs.medusajs.com/v1/development/feature-flags/toggle#method-one-using-environment-variables).\n\nThe `featureFlags` configuration is an object. Its properties are the names of the feature flags. Each property’s value is a boolean indicating whether the feature flag is enabled.\n\nYou can find available feature flags and their key name [here](https://github.com/medusajs/medusa/tree/master/packages/medusa/src/loaders/feature-flags).","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"modules","type":"`Record`","description":"In Medusa, commerce and core logic are modularized to allow developers to extend or replace certain [modules](https://docs.medusajs.com/v1/development/modules/overview)\nwith custom implementations.\n\nAside from installing the module with NPM, you must add it to the exported object in `medusa-config.js`.\n\nThe keys of the `modules` configuration object refer to the type of module. Its value can be one of the following:\n\n1. A boolean value indicating whether the module type is enabled;\n2. Or a string value indicating the name of the module to be used for the module type. This can be used if the module does not require any options;\n3. Or an object having the following properties, but typically you would mainly use the `resolve` and `options` properties only:\n 1. `resolve`: a string indicating the name of the module.\n 2. `options`: an object indicating the options to pass to the module. These options vary for each module, and you should refer to the module’s documentation for details on them.\n 3. `resources`: a string indicating whether the module shares the dependency container with the Medusa core. Its value can either be `shared` or `isolated`. Refer to the [Modules documentation](https://docs.medusajs.com/v1/development/modules/create#module-scope) for more details.\n 4. `alias`: a string indicating a unique alias to register the module under. Other modules can’t use the same alias.\n 5. `main`: a boolean value indicating whether this module is the main registered module. This is useful when an alias is used.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ConfigModule"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentAddressDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentAddressDTO.mdx new file mode 100644 index 0000000000000..abc8cd320635e --- /dev/null +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentAddressDTO.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# FulfillmentAddressDTO + +The fulfillment address details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="FulfillmentAddressDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentDTO.mdx new file mode 100644 index 0000000000000..4bf419bb922e6 --- /dev/null +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentDTO.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# FulfillmentDTO + +The fulfillment details. + +## Properties + +`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](medusa.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](medusa.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](medusa.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](medusa.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`null` \\| `string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`null` \\| `string`","description":"The company of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`null` \\| `string`","description":"The first line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`null` \\| `string`","description":"The second line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"The ISO 2 character country code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`null` \\| `string`","description":"The province of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`null` \\| `string`","description":"The postal code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[FulfillmentItemDTO](medusa.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The sku of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`null` \\| `string`","description":"The associated inventory item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](medusa.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"labels","type":"[FulfillmentLabelDTO](medusa.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_number","type":"`string`","description":"The tracking number of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"The tracking URL of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"The label's URL.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](medusa.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="FulfillmentDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentItemDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentItemDTO.mdx new file mode 100644 index 0000000000000..66620167801f6 --- /dev/null +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentItemDTO.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# FulfillmentItemDTO + +The fulfillment item details. + +## Properties + +`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](medusa.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](medusa.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](medusa.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](medusa.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](medusa.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="FulfillmentItemDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentLabelDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentLabelDTO.mdx new file mode 100644 index 0000000000000..5461a97a1c00a --- /dev/null +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentLabelDTO.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# FulfillmentLabelDTO + +The fulfillment label details. + +## Properties + +`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](medusa.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](medusa.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](medusa.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](medusa.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](medusa.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="FulfillmentLabelDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentProviderDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentProviderDTO.mdx new file mode 100644 index 0000000000000..c2d174e1d1d4b --- /dev/null +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentProviderDTO.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# FulfillmentProviderDTO + +The fulfillment provider details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](medusa.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/medusa.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](medusa.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](medusa.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](medusa.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](medusa.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](medusa.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](medusa.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="FulfillmentProviderDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentService.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentService.mdx index 0d12f40b16ed3..7c6f2788251cf 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentService.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentService.mdx @@ -15,7 +15,7 @@ By default, a Medusa Backend has a `manual` fulfillment provider which has minim A fulfillment provider is a service that extends the `AbstractFulfillmentService` and implements its methods. So, adding a fulfillment provider is as simple as creating a service file in `src/services`. The file's name is the fulfillment provider's class name as a slug and without the word `Service`. For example, if you're creating a `MyFulfillmentService` class, the file name is `src/services/my-fulfillment.ts`. -```ts title=src/services/my-fulfillment.ts +```ts title="src/services/my-fulfillment.ts" import { AbstractFulfillmentService } from "@medusajs/medusa" class MyFulfillmentService extends AbstractFulfillmentService { diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentSetDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentSetDTO.mdx new file mode 100644 index 0000000000000..21c7d93066943 --- /dev/null +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentSetDTO.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# FulfillmentSetDTO + +The fulfillment set details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](medusa.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](medusa.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](medusa.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](medusa.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="FulfillmentSetDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.GeoZoneDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.GeoZoneDTO.mdx new file mode 100644 index 0000000000000..fc11cb5b2f5f3 --- /dev/null +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.GeoZoneDTO.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# GeoZoneDTO + +The geo zone details. + +## Properties + +`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="GeoZoneDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.INotificationService.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.INotificationService.mdx index aa6004e1478e4..41f0f98006ed4 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.INotificationService.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.INotificationService.mdx @@ -10,7 +10,7 @@ import TypeList from "@site/src/components/TypeList" :::note[Prerequisites] -Before creating a Notification Provider, [install an event bus module](https://docs.medusajs.com/development/events/modules/redis). +Before creating a Notification Provider, [install an event bus module](https://docs.medusajs.com/v1/development/events/modules/redis). ::: @@ -64,7 +64,7 @@ export default EmailSenderService The `NotificationProvider` entity has 2 properties: `identifier` and `is_installed`. The value of the `identifier` property in the notification provider class is used when the Notification Provider is created in the database. -The value of this property is also used later when you want to subscribe the Notification Provider to events in a [Loader](https://docs.medusajs.com/development/loaders/overview). +The value of this property is also used later when you want to subscribe the Notification Provider to events in a [Loader](https://docs.medusajs.com/v1/development/loaders/overview). For example: @@ -97,7 +97,7 @@ ___ ### sendNotification -When an event is triggered that your Notification Provider is registered as a handler for, the [`NotificationService`](https://docs.medusajs.com/references/services/classes/services.NotificationService) +When an event is triggered that your Notification Provider is registered as a handler for, the [`NotificationService`](https://docs.medusajs.com/v1/references/services/classes/services.NotificationService) in the Medusa backend executes this method of your Notification Provider. In this method, you can perform the necessary operation to send the Notification. For example, you can send an email to the customer when they place an order. @@ -140,7 +140,7 @@ class EmailSenderService extends AbstractNotificationService { #### Parameters - + #### Returns @@ -183,7 +183,7 @@ class EmailSenderService extends AbstractNotificationService { #### Parameters - + #### Returns diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.IPriceSelectionStrategy.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.IPriceSelectionStrategy.mdx index 30ec038a8ead3..84f02f59dc74b 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.IPriceSelectionStrategy.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.IPriceSelectionStrategy.mdx @@ -142,7 +142,7 @@ export default class MyStrategy extends #### Parameters - + #### Returns @@ -186,7 +186,7 @@ export default class MyStrategy extends :::note -Learn more about the cache service in [this documentation](https://docs.medusajs.com/development/cache/overview). +Learn more about the cache service in [this documentation](https://docs.medusajs.com/v1/development/cache/overview). ::: diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.ITaxCalculationStrategy.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.ITaxCalculationStrategy.mdx index f23af6b55bf1d..4a230c6c6b21d 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.ITaxCalculationStrategy.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.ITaxCalculationStrategy.mdx @@ -57,7 +57,7 @@ tax conditions and calculation contexts. This method is used whenever taxes are calculated. If automatic tax calculation is disabled in a region, then it's only triggered when taxes are calculated manually as explained in -[this guide](https://docs.medusajs.com/modules/taxes/storefront/manual-calculation). +[this guide](https://docs.medusajs.com/v1/modules/taxes/storefront/manual-calculation). #### Example @@ -93,7 +93,7 @@ async calculate( #### Parameters -`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Indicates if the line item unit\\_price include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]},{"name":"original_item_id","type":"`null` \\| `string`","description":"The ID of the original line item. This is useful if the line item belongs to a resource that references an order, such as a return or an order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`null` \\| `string`","description":"The ID of the order edit that the item may belong to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit","type":"`null` \\| [OrderEdit](../../entities/classes/entities.OrderEdit.mdx)","description":"The details of the order edit.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refundable","type":"`null` \\| `number`","description":"The amount that can be refunded from the given Line Item. Takes taxes and discounts into consideration.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`null` \\| `number`","description":"The subtotal of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`null` \\| `number`","description":"The total of tax of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`null` \\| `number`","description":"The total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`null` \\| `number`","description":"The original total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`null` \\| `number`","description":"The original tax total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`null` \\| `number`","description":"The total of discount of the line item rounded","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"`null` \\| `number`","description":"The total of discount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`null` \\| `number`","description":"The total of the gift card of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"taxLines","type":"([LineItemTaxLine](../../entities/classes/entities.LineItemTaxLine.mdx) \\| [ShippingMethodTaxLine](../../entities/classes/entities.ShippingMethodTaxLine.mdx))[]","description":"The tax lines used for the calculation","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"calculationContext","type":"[TaxCalculationContext](../types/medusa.TaxCalculationContext.mdx)","description":"Other details relevant for the calculation","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx) \\| `null`","description":"The shipping address used in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../entities/classes/entities.Customer.mdx)","description":"The customer that the cart belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region","type":"[Region](../../entities/classes/entities.Region.mdx)","description":"The cart's region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_return","type":"`boolean`","description":"Whether the cart is used in a return flow.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The shipping methods used in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"allocation_map","type":"[LineAllocationsMap](../types/medusa.LineAllocationsMap.mdx)","description":"The gift cards and discounts applied on line items.\nEach object key or property is an ID of a line item","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="calculate"/> +`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Indicates if the line item unit\\_price include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]},{"name":"original_item_id","type":"`null` \\| `string`","description":"The ID of the original line item. This is useful if the line item belongs to a resource that references an order, such as a return or an order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`null` \\| `string`","description":"The ID of the order edit that the item may belong to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit","type":"`null` \\| [OrderEdit](../../entities/classes/entities.OrderEdit.mdx)","description":"The details of the order edit.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refundable","type":"`null` \\| `number`","description":"The amount that can be refunded from the given Line Item. Takes taxes and discounts into consideration.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`null` \\| `number`","description":"The subtotal of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`null` \\| `number`","description":"The total of tax of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`null` \\| `number`","description":"The total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`null` \\| `number`","description":"The original total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`null` \\| `number`","description":"The original tax total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`null` \\| `number`","description":"The total of discount of the line item rounded","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"`null` \\| `number`","description":"The total of discount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`null` \\| `number`","description":"The total of the gift card of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"taxLines","type":"([ShippingMethodTaxLine](../../entities/classes/entities.ShippingMethodTaxLine.mdx) \\| [LineItemTaxLine](../../entities/classes/entities.LineItemTaxLine.mdx))[]","description":"The tax lines used for the calculation","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"calculationContext","type":"[TaxCalculationContext](../types/medusa.TaxCalculationContext.mdx)","description":"Other details relevant for the calculation","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx) \\| `null`","description":"The shipping address used in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../entities/classes/entities.Customer.mdx)","description":"The customer that the cart belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region","type":"[Region](../../entities/classes/entities.Region.mdx)","description":"The cart's region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_return","type":"`boolean`","description":"Whether the cart is used in a return flow.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The shipping methods used in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"allocation_map","type":"[LineAllocationsMap](../types/medusa.LineAllocationsMap.mdx)","description":"The gift cards and discounts applied on line items.\nEach object key or property is an ID of a line item","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="calculate"/> #### Returns diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.ITaxService.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.ITaxService.mdx index 631b6148d1428..a5b4924f0b429 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.ITaxService.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.ITaxService.mdx @@ -46,7 +46,7 @@ export default MyTaxService The `TaxProvider` entity has 2 properties: `identifier` and `is_installed`. The `identifier` property in the tax provider service is used when the tax provider is added to the database. -The value of this property is also used to reference the tax provider throughout Medusa. For example, it is used to [change the tax provider](https://docs.medusajs.com/modules/taxes/admin/manage-tax-settings#change-tax-provider-of-a-region) to a region. +The value of this property is also used to reference the tax provider throughout Medusa. For example, it is used to [change the tax provider](https://docs.medusajs.com/v1/modules/taxes/admin/manage-tax-settings#change-tax-provider-of-a-region) to a region. ```ts title="src/services/my-tax.ts" class MyTaxService extends AbstractTaxService { diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.JoinerServiceConfig.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.JoinerServiceConfig.mdx deleted file mode 100644 index c998ff98c05a1..0000000000000 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.JoinerServiceConfig.mdx +++ /dev/null @@ -1,11 +0,0 @@ ---- -displayed_sidebar: homepage ---- - -import TypeList from "@site/src/components/TypeList" - -# JoinerServiceConfig - -## Properties - -`","description":"alias for deeper nested relationships (e.g. { 'price': 'prices.calculated\\_price\\_set.amount' })","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relationships","type":"[JoinerRelationship](../types/medusa.JoinerRelationship.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"extends","type":"`object`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"serviceName","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"relationship","type":"[JoinerRelationship](../types/medusa.JoinerRelationship.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"args","type":"`Record`","description":"Extra arguments to pass to the remoteFetchData callback","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="JoinerServiceConfig"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.JoinerServiceConfigAlias.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.JoinerServiceConfigAlias.mdx deleted file mode 100644 index 6a14c004b4c86..0000000000000 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.JoinerServiceConfigAlias.mdx +++ /dev/null @@ -1,11 +0,0 @@ ---- -displayed_sidebar: homepage ---- - -import TypeList from "@site/src/components/TypeList" - -# JoinerServiceConfigAlias - -## Properties - -`","description":"Extra arguments to pass to the remoteFetchData callback","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="JoinerServiceConfigAlias"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.MedusaRequest.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.MedusaRequest.mdx index 7ba81cf7e6f2f..295b277855d19 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.MedusaRequest.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.MedusaRequest.mdx @@ -6,6 +6,10 @@ import TypeList from "@site/src/components/TypeList" # MedusaRequest +## Type parameters + + + ## Properties -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"The field to sort the data by. By default, the sort order is ascending. To change the order to descending, prefix the field name with `-`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"validatedBody","type":"`unknown`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"listConfig","type":"[FindConfig](medusa.FindConfig.mdx)<unknown>","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"keyof Entity[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"retrieveConfig","type":"[FindConfig](medusa.FindConfig.mdx)<unknown>","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"keyof Entity[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"filterableFields","type":"`Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"allowedProperties","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"errors","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"scope","type":"[MedusaContainer](../types/medusa.MedusaContainer.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"auth_user.id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"auth_user.app_metadata","type":"`Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"auth_user.scope","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user","type":"(User \\| Customer) & { customer\\_id?: string \\| undefined; userId?: string \\| undefined; }","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"session","type":"`any`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"auth_user","type":"`object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"scope","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="MedusaRequest"/> +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"expand","type":"`string`","description":"Comma-separated relations that should be expanded in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fields","type":"`string`","description":"Comma-separated fields that should be included in the returned data.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"offset","type":"`number`","description":"The number of items to skip when retrieving a list.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"limit","type":"`number`","description":"Limit the number of items returned in the list.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`string`","description":"Field to sort items in the list by.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"allowedProperties","type":"`string`[]","description":"TODO: shouldn't this correspond to returnable fields instead of allowed fields? also it is used by the cleanResponseData util","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"listConfig","type":"[FindConfig](medusa.FindConfig.mdx)<unknown>","description":"An object containing the select, relation, skip, take and order to be used with medusa internal services","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"keyof Entity[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"retrieveConfig","type":"[FindConfig](medusa.FindConfig.mdx)<unknown>","description":"An object containing the select, relation to be used with medusa internal services","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"keyof Entity[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"remoteQueryConfig","type":"`object`","description":"An object containing fields and variables to be used with the remoteQuery","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"fields","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"pagination","type":"`object`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"remoteQueryConfig.fields","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"remoteQueryConfig.pagination","type":"`object`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"order","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"filterableFields","type":"`Record`","description":"An object containing the fields that are filterable e.g `{ id: Any }`","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"errors","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"scope","type":"[MedusaContainer](../types/medusa.MedusaContainer-2.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"user","type":"(User \\| Customer) & { customer\\_id?: string \\| undefined; userId?: string \\| undefined; }","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"remoteQueryConfig.pagination.order","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"remoteQueryConfig.pagination.skip","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"remoteQueryConfig.pagination.take","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"includes","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allowedFields","type":"`string`[]","description":"An array of fields and relations that are allowed to be queried, this can be set by the\nconsumer as part of a middleware and it will take precedence over the defaultAllowedFields","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allowed","type":"`string`[]","description":"An array of fields and relations that are allowed to be queried, this can be set by the\nconsumer as part of a middleware and it will take precedence over the defaultAllowedFields set\nby the api","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"session","type":"`any`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rawBody","type":"`any`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"pricingContext","type":"[MedusaPricingContext](../types/medusa.MedusaPricingContext.mdx)","description":"An object that carries the context that is used to calculate prices for variants","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"region_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_group_id","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="MedusaRequest"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.PaginatedResponse-1.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.PaginatedResponse-1.mdx new file mode 100644 index 0000000000000..70174572d3576 --- /dev/null +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.PaginatedResponse-1.mdx @@ -0,0 +1,17 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# PaginatedResponse + +Fields included in the response if it's paginated. + +## Type parameters + + + +## Properties + + diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.PaymentProcessor.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.PaymentProcessor.mdx index 694496ef4aa46..4af511268732d 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.PaymentProcessor.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.PaymentProcessor.mdx @@ -118,8 +118,8 @@ It is used to allow you to make any necessary calls to the third-party provider ```ts import { - PaymentContext, - PaymentSessionResponse, + PaymentProcessorContext, + PaymentProcessorSessionResponse, // ... } from "@medusajs/medusa" @@ -306,7 +306,7 @@ class MyPaymentService extends AbstractPaymentProcessor { #### Parameters -`","description":"The `data` field of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context of the authorization. It may include some of the following fields:\n\n- `ip`: The customer’s IP.\n- `idempotency_key`: The [Idempotency Key](https://docs.medusajs.com/modules/carts-and-checkout/payment#idempotency-key) that is associated with the current cart. It is useful when retrying payments, retrying checkout at a failed point, or for payments that require additional actions from the customer.\n- `cart_id`: The ID of a cart. This is only during operations like placing an order or creating a swap.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="authorizePayment"/> +`","description":"The `data` field of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context of the authorization. It may include some of the following fields:\n\n- `ip`: The customer’s IP.\n- `idempotency_key`: The [Idempotency Key](https://docs.medusajs.com/v1/modules/carts-and-checkout/payment#idempotency-key) that is associated with the current cart. It is useful when retrying payments, retrying checkout at a failed point, or for payments that require additional actions from the customer.\n- `cart_id`: The ID of a cart. This is only during operations like placing an order or creating a swap.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="authorizePayment"/> #### Returns diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.PriceSelectionContext.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.PriceSelectionContext.mdx index d34bf454577b6..799e575d80548 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.PriceSelectionContext.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.PriceSelectionContext.mdx @@ -10,4 +10,4 @@ The context of the price selection. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.PriceSelectionResult.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.PriceSelectionResult.mdx index 184bf71dc8667..c1518e7e0c678 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.PriceSelectionResult.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.PriceSelectionResult.mdx @@ -10,4 +10,4 @@ The price selection result of a variant. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.ProductCategoryDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.ProductCategoryDTO.mdx index 45566c3213bdd..0b2c6f14a00a8 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.ProductCategoryDTO.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.ProductCategoryDTO.mdx @@ -10,4 +10,4 @@ A product category's data. ## Properties - +`","description":"The ranking of the product category among sibling categories.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_category","type":"`null` \\| [ProductCategoryDTO](medusa.ProductCategoryDTO.mdx)","description":"The associated parent category.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"parent_category_id","type":"`null` \\| `string`","description":"The associated parent category id.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"products","type":"[ProductDTO](medusa.ProductDTO.mdx)[]","description":"The associated products.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../enums/medusa.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[ProductTagDTO](medusa.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](medusa.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](medusa.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](medusa.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](medusa.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](medusa.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](medusa.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product category was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product category was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"The ranking of the product category among sibling categories.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_category","type":"`null` \\| [ProductCategoryDTO](medusa.ProductCategoryDTO.mdx)","description":"The associated parent category.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"parent_category_id","type":"`null` \\| `string`","description":"The associated parent category id.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ProductCategoryDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.ProductCollectionDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.ProductCollectionDTO.mdx index 6f561edf44cac..8502955d7f0b4 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.ProductCollectionDTO.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.ProductCollectionDTO.mdx @@ -10,4 +10,4 @@ A product collection's data. ## Properties -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product collection was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](medusa.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../enums/medusa.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"[ProductCollectionDTO](medusa.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"[ProductTypeDTO](medusa.ProductTypeDTO.mdx)[]","description":"The associated product type.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tags","type":"[ProductTagDTO](medusa.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](medusa.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](medusa.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](medusa.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](medusa.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ProductCollectionDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product collection was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](medusa.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../enums/medusa.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[ProductTagDTO](medusa.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](medusa.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](medusa.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](medusa.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](medusa.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](medusa.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](medusa.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ProductCollectionDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.ProductDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.ProductDTO.mdx index 97f07517f2a35..440b0d82364f1 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.ProductDTO.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.ProductDTO.mdx @@ -10,4 +10,4 @@ A product's data. ## Properties -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product collection was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](medusa.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"type","type":"[ProductTypeDTO](medusa.ProductTypeDTO.mdx)[]","description":"The associated product type.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product type was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tags","type":"[ProductTagDTO](medusa.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](medusa.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"variants","type":"[ProductVariantDTO](medusa.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](medusa.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"product","type":"[ProductDTO](medusa.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[ProductOptionDTO](medusa.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"[ProductDTO](medusa.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"values","type":"[ProductOptionValueDTO](medusa.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"images","type":"[ProductImageDTO](medusa.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"url","type":"`string`","description":"The URL of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](medusa.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ProductDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](medusa.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"variants","type":"[ProductVariantDTO](medusa.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](medusa.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](medusa.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[ProductOptionDTO](medusa.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"[ProductOptionValueDTO](medusa.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product option was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product option was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](medusa.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"images","type":"[ProductImageDTO](medusa.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"url","type":"`string`","description":"The URL of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product image was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product image was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](medusa.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](medusa.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](medusa.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ProductDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.ProductImageDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.ProductImageDTO.mdx index 837a71ab54bab..608be2ec91475 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.ProductImageDTO.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.ProductImageDTO.mdx @@ -10,4 +10,4 @@ The product image's data. ## Properties -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ProductImageDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ProductImageDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.ProductOptionDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.ProductOptionDTO.mdx index ac8c5fb946efe..d82982a9a180f 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.ProductOptionDTO.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.ProductOptionDTO.mdx @@ -10,4 +10,4 @@ A product option's data. ## Properties -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"values","type":"[ProductOptionValueDTO](medusa.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option value.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product option value.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"option","type":"[ProductOptionDTO](medusa.ProductOptionDTO.mdx)","description":"The associated product option. It may only be available if the `option` relation is expanded.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant","type":"[ProductVariantDTO](medusa.ProductVariantDTO.mdx)","description":"The associated product variant. It may only be available if the `variant` relation is expanded.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ProductOptionDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product option was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product option was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](medusa.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ProductOptionDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.ProductOptionValueDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.ProductOptionValueDTO.mdx index e8c7dac4281ee..d71c12899a3fd 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.ProductOptionValueDTO.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.ProductOptionValueDTO.mdx @@ -10,4 +10,4 @@ The product option value's data. ## Properties -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variant","type":"[ProductVariantDTO](medusa.ProductVariantDTO.mdx)","description":"The associated product variant. It may only be available if the `variant` relation is expanded.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](medusa.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"product","type":"[ProductDTO](medusa.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ProductOptionValueDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ProductOptionValueDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.ProductTagDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.ProductTagDTO.mdx index f4da2a2175a9c..8307c0fd0336b 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.ProductTagDTO.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.ProductTagDTO.mdx @@ -10,4 +10,4 @@ A product tag's data. ## Properties -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](medusa.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../enums/medusa.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"[ProductCollectionDTO](medusa.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"[ProductTypeDTO](medusa.ProductTypeDTO.mdx)[]","description":"The associated product type.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tags","type":"[ProductTagDTO](medusa.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](medusa.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](medusa.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](medusa.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](medusa.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ProductTagDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](medusa.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../enums/medusa.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[ProductTagDTO](medusa.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](medusa.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](medusa.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](medusa.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](medusa.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](medusa.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](medusa.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ProductTagDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.ProductTypeDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.ProductTypeDTO.mdx index 439489f16afed..5e630ba2e18cc 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.ProductTypeDTO.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.ProductTypeDTO.mdx @@ -10,4 +10,4 @@ A product type's data. ## Properties -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product type was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ProductTypeDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product type was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ProductTypeDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.ProductVariantDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.ProductVariantDTO.mdx index 4d6a5484418c2..557a792a5a603 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.ProductVariantDTO.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.ProductVariantDTO.mdx @@ -10,4 +10,4 @@ A product variant's data. ## Properties -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"product","type":"[ProductDTO](medusa.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../enums/medusa.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"[ProductCollectionDTO](medusa.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"[ProductTypeDTO](medusa.ProductTypeDTO.mdx)[]","description":"The associated product type.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tags","type":"[ProductTagDTO](medusa.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](medusa.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](medusa.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](medusa.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](medusa.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ProductVariantDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](medusa.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ProductVariantDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.ProjectConfigOptions.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.ProjectConfigOptions.mdx index ff150478c0187..d7caeef57aec3 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.ProjectConfigOptions.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.ProjectConfigOptions.mdx @@ -10,4 +10,4 @@ Essential configurations related to the Medusa backend, such as database and COR ## Properties -` & `object`","description":"An object that includes additional configurations to pass to the database connection. You can pass any configuration. One defined configuration to pass is\n`ssl` which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`.\nDuring development, it’s recommended not to pass this option.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"ssl","type":"`object`","description":"Configure support for TLS/SSL connection","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"redis_url","type":"`string`","description":"Used to specify the URL to connect to Redis. This is only used for scheduled jobs. If you omit this configuration, scheduled jobs won't work.\n\n:::note\n\nYou must first have Redis installed. You can refer to [Redis's installation guide](https://redis.io/docs/getting-started/installation/).\n\n:::\n\nThe Redis connection URL has the following format:\n\n```bash\nredis[s]://[[username][:password]@][host][:port][/db-number]\n```\n\nFor a local Redis installation, the connection URL should be `redis://localhost:6379` unless you’ve made any changes to the Redis configuration during installation.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_prefix","type":"`string`","description":"The prefix set on all keys stored in Redis. The default value is `sess:`.\n\nIf this configuration option is provided, it is prepended to `sess:`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_options","type":"`RedisOptions`","description":"An object of options to pass ioredis. You can refer to [ioredis’s RedisOptions documentation](https://redis.github.io/ioredis/index.html#RedisOptions)\nfor the list of available options.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"session_options","type":"[SessionOptions](medusa.SessionOptions.mdx)","description":"An object of options to pass to [express-session](https://www.npmjs.com/package/express-session).","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"The name of the session ID cookie to set in the response (and read from in the request). The default value is `connect.sid`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#name) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"resave","type":"`boolean`","description":"Whether the session should be saved back to the session store, even if the session was never modified during the request. The default value is `true`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#resave) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rolling","type":"`boolean`","description":"Whether the session identifier cookie should be force-set on every response. The default value is `false`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#rolling) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"saveUninitialized","type":"`boolean`","description":"Whether a session that is \"uninitialized\" is forced to be saved to the store. The default value is `true`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#saveUninitialized) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"secret","type":"`string`","description":"The secret to sign the session ID cookie. By default, the value of `cookie_secret` is used.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#secret) for details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ttl","type":"`number`","description":"Used when calculating the `Expires` `Set-Cookie` attribute of cookies. By default, its value is `10 * 60 * 60 * 1000`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#cookiemaxage) for details.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"http_compression","type":"[HttpCompressionOptions](medusa.HttpCompressionOptions.mdx)","description":"Configure HTTP compression from the application layer. If you have access to the HTTP server, the recommended approach would be to enable it there.\nHowever, some platforms don't offer access to the HTTP layer and in those cases, this is a good alternative.\n\nIts value is an object that has the following properties:\n\nIf you enable HTTP compression and you want to disable it for specific API Routes, you can pass in the request header `\"x-no-compression\": true`.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"enabled","type":"`boolean`","description":"Whether HTTP compression is enabled. By default, it's `false`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"level","type":"`number`","description":"The level of zlib compression to apply to responses. A higher level will result in better compression but will take longer to complete.\nA lower level will result in less compression but will be much faster. The default value is `6`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"memLevel","type":"`number`","description":"How much memory should be allocated to the internal compression state. It's an integer in the range of 1 (minimum level) and 9 (maximum level).\nThe default value is `8`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"threshold","type":"`string` \\| `number`","description":"The minimum response body size that compression is applied on. Its value can be the number of bytes or any string accepted by the\n[bytes](https://www.npmjs.com/package/bytes) module. The default value is `1024`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"jobs_batch_size","type":"`number`","description":"Configure the number of staged jobs that are polled from the database. Default is 1000.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ProjectConfigOptions"/> +` & `object`","description":"An object that includes additional configurations to pass to the database connection. You can pass any configuration. One defined configuration to pass is\n`ssl` which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`.\nDuring development, it’s recommended not to pass this option.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"ssl","type":"`object`","description":"Configure support for TLS/SSL connection","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"database_driver_options","type":"`Record` & `object`","description":"An object that includes additional configurations to pass to the database connection for v2. You can pass any configuration. One defined configuration to pass is\n`ssl` which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`.\nDuring development, it’s recommended not to pass this option.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"connection","type":"`object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"redis_url","type":"`string`","description":"Used to specify the URL to connect to Redis. This is only used for scheduled jobs. If you omit this configuration, scheduled jobs won't work.\n\n:::note\n\nYou must first have Redis installed. You can refer to [Redis's installation guide](https://redis.io/docs/getting-started/installation/).\n\n:::\n\nThe Redis connection URL has the following format:\n\n```bash\nredis[s]://[[username][:password]@][host][:port][/db-number]\n```\n\nFor a local Redis installation, the connection URL should be `redis://localhost:6379` unless you’ve made any changes to the Redis configuration during installation.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_prefix","type":"`string`","description":"The prefix set on all keys stored in Redis. The default value is `sess:`.\n\nIf this configuration option is provided, it is prepended to `sess:`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_options","type":"`RedisOptions`","description":"An object of options to pass ioredis. You can refer to [ioredis’s RedisOptions documentation](https://redis.github.io/ioredis/index.html#RedisOptions)\nfor the list of available options.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"session_options","type":"[SessionOptions](medusa.SessionOptions.mdx)","description":"An object of options to pass to [express-session](https://www.npmjs.com/package/express-session).","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"The name of the session ID cookie to set in the response (and read from in the request). The default value is `connect.sid`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#name) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"resave","type":"`boolean`","description":"Whether the session should be saved back to the session store, even if the session was never modified during the request. The default value is `true`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#resave) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rolling","type":"`boolean`","description":"Whether the session identifier cookie should be force-set on every response. The default value is `false`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#rolling) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"saveUninitialized","type":"`boolean`","description":"Whether a session that is \"uninitialized\" is forced to be saved to the store. The default value is `true`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#saveUninitialized) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"secret","type":"`string`","description":"The secret to sign the session ID cookie. By default, the value of `cookie_secret` is used.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#secret) for details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ttl","type":"`number`","description":"Used when calculating the `Expires` `Set-Cookie` attribute of cookies. By default, its value is `10 * 60 * 60 * 1000`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#cookiemaxage) for details.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"http_compression","type":"[HttpCompressionOptions](medusa.HttpCompressionOptions.mdx)","description":"Configure HTTP compression from the application layer. If you have access to the HTTP server, the recommended approach would be to enable it there.\nHowever, some platforms don't offer access to the HTTP layer and in those cases, this is a good alternative.\n\nIts value is an object that has the following properties:\n\nIf you enable HTTP compression and you want to disable it for specific API Routes, you can pass in the request header `\"x-no-compression\": true`.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"enabled","type":"`boolean`","description":"Whether HTTP compression is enabled. By default, it's `false`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"level","type":"`number`","description":"The level of zlib compression to apply to responses. A higher level will result in better compression but will take longer to complete.\nA lower level will result in less compression but will be much faster. The default value is `6`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"memLevel","type":"`number`","description":"How much memory should be allocated to the internal compression state. It's an integer in the range of 1 (minimum level) and 9 (maximum level).\nThe default value is `8`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"threshold","type":"`string` \\| `number`","description":"The minimum response body size that compression is applied on. Its value can be the number of bytes or any string accepted by the\n[bytes](https://www.npmjs.com/package/bytes) module. The default value is `1024`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"jobs_batch_size","type":"`number`","description":"Configure the number of staged jobs that are polled from the database. Default is `1000`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"worker_mode","type":"`\"shared\"` \\| `\"worker\"` \\| `\"server\"`","description":"Configure the application's worker mode. Default is `shared`.\n\n- Use `shared` to run the application in a single process.\n- Use `worker` to run the a worker process only.\n- Use `server` to run the application server only.\n\nLearn more in [this guide](https://docs.medusajs.com/v1/development/medusa-worker).","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ProjectConfigOptions"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.RequestQueryFields-1.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.RequestQueryFields-1.mdx new file mode 100644 index 0000000000000..b3381d1058ed7 --- /dev/null +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.RequestQueryFields-1.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# RequestQueryFields + +Fields that can be passed in the query parameters of a request. + +## Properties + + diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.RequestQueryFields.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.RequestQueryFields.mdx index af0b2108730d4..21596375a03a4 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.RequestQueryFields.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.RequestQueryFields.mdx @@ -10,4 +10,4 @@ Request parameters used to configure and paginate retrieved data. ## Properties - + diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.ServiceZoneDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.ServiceZoneDTO.mdx new file mode 100644 index 0000000000000..63b1336f7ab89 --- /dev/null +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.ServiceZoneDTO.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# ServiceZoneDTO + +The service zone details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](medusa.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](medusa.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"geo_zones","type":"[GeoZoneDTO](medusa.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[GeoZoneType](../types/medusa.GeoZoneType.mdx)","description":"The type of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"The province code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`null` \\| `Record`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_options","type":"[ShippingOptionDTO](medusa.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/medusa.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](medusa.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](medusa.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](medusa.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](medusa.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](medusa.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](medusa.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ServiceZoneDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.ShippingOptionDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.ShippingOptionDTO.mdx new file mode 100644 index 0000000000000..6bdf4786fc3a0 --- /dev/null +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.ShippingOptionDTO.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# ShippingOptionDTO + +The shipping option details. + +## Properties + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](medusa.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](medusa.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](medusa.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](medusa.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[ShippingProfileDTO](medusa.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](medusa.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](medusa.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](medusa.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[ShippingOptionTypeDTO](medusa.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"The label of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](medusa.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[ShippingOptionRuleDTO](medusa.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"The values of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](medusa.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillments","type":"[FulfillmentDTO](medusa.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](medusa.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](medusa.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](medusa.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](medusa.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](medusa.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ShippingOptionDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.ShippingOptionRuleDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.ShippingOptionRuleDTO.mdx new file mode 100644 index 0000000000000..6a8b9d9f33dfc --- /dev/null +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.ShippingOptionRuleDTO.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# ShippingOptionRuleDTO + +The shipping option rule details. + +## Properties + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](medusa.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](medusa.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](medusa.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](medusa.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](medusa.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](medusa.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ShippingOptionRuleDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.ShippingOptionTypeDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.ShippingOptionTypeDTO.mdx new file mode 100644 index 0000000000000..0830f794d5e3c --- /dev/null +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.ShippingOptionTypeDTO.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# ShippingOptionTypeDTO + +The shipping option type details. + +## Properties + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](medusa.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](medusa.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](medusa.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](medusa.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](medusa.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](medusa.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ShippingOptionTypeDTO"/> diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.ShippingProfileDTO.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.ShippingProfileDTO.mdx new file mode 100644 index 0000000000000..ba06e95a18077 --- /dev/null +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.ShippingProfileDTO.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# ShippingProfileDTO + +The shipping profile details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](medusa.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/medusa.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](medusa.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](medusa.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](medusa.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](medusa.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](medusa.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](medusa.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="ShippingProfileDTO"/> diff --git a/www/apps/docs/content/references/medusa/types/medusa.AdminNotificationsListRes.mdx b/www/apps/docs/content/references/medusa/types/medusa.AdminNotificationsListRes.mdx index d885bdfede450..8cd7af76c075d 100644 --- a/www/apps/docs/content/references/medusa/types/medusa.AdminNotificationsListRes.mdx +++ b/www/apps/docs/content/references/medusa/types/medusa.AdminNotificationsListRes.mdx @@ -6,4 +6,4 @@ import TypeList from "@site/src/components/TypeList" # AdminNotificationsListRes - **AdminNotificationsListRes**: [PaginatedResponse](medusa.PaginatedResponse-1.mdx) & `object` + **AdminNotificationsListRes**: [PaginatedResponse](../interfaces/medusa.PaginatedResponse-1.mdx) & `object` diff --git a/www/apps/docs/content/references/medusa/types/medusa.AdminStockLocationsListRes.mdx b/www/apps/docs/content/references/medusa/types/medusa.AdminStockLocationsListRes.mdx index c1d4282eb25ce..d9c472e1a396b 100644 --- a/www/apps/docs/content/references/medusa/types/medusa.AdminStockLocationsListRes.mdx +++ b/www/apps/docs/content/references/medusa/types/medusa.AdminStockLocationsListRes.mdx @@ -6,6 +6,6 @@ import TypeList from "@site/src/components/TypeList" # AdminStockLocationsListRes - **AdminStockLocationsListRes**: [PaginatedResponse](medusa.PaginatedResponse-1.mdx) & `object` + **AdminStockLocationsListRes**: [PaginatedResponse](../interfaces/medusa.PaginatedResponse-1.mdx) & `object` The list of stock locations with pagination fields. diff --git a/www/apps/docs/content/references/medusa/types/medusa.AdminUsersListRes.mdx b/www/apps/docs/content/references/medusa/types/medusa.AdminUsersListRes.mdx index d174388717075..3f16a9518fc50 100644 --- a/www/apps/docs/content/references/medusa/types/medusa.AdminUsersListRes.mdx +++ b/www/apps/docs/content/references/medusa/types/medusa.AdminUsersListRes.mdx @@ -6,6 +6,6 @@ import TypeList from "@site/src/components/TypeList" # AdminUsersListRes - **AdminUsersListRes**: [PaginatedResponse](medusa.PaginatedResponse-1.mdx) & `object` + **AdminUsersListRes**: [PaginatedResponse](../interfaces/medusa.PaginatedResponse-1.mdx) & `object` The list of users. diff --git a/www/apps/docs/content/references/medusa/types/medusa.DeleteResponse-1.mdx b/www/apps/docs/content/references/medusa/types/medusa.DeleteResponse-1.mdx index 81ae824d59e67..b638463434446 100644 --- a/www/apps/docs/content/references/medusa/types/medusa.DeleteResponse-1.mdx +++ b/www/apps/docs/content/references/medusa/types/medusa.DeleteResponse-1.mdx @@ -10,6 +10,10 @@ import TypeList from "@site/src/components/TypeList" The fields returned in the response of a DELETE request. +## Type Parameters + + + ## Properties - + diff --git a/www/apps/docs/content/references/medusa/types/medusa.DraftOrderStatusValue.mdx b/www/apps/docs/content/references/medusa/types/medusa.DraftOrderStatusValue.mdx new file mode 100644 index 0000000000000..cefc5f8637489 --- /dev/null +++ b/www/apps/docs/content/references/medusa/types/medusa.DraftOrderStatusValue.mdx @@ -0,0 +1,9 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# DraftOrderStatusValue + + **DraftOrderStatusValue**: `"open"` \| `"completed"` diff --git a/www/apps/docs/content/references/medusa/types/medusa.GeoZoneType.mdx b/www/apps/docs/content/references/medusa/types/medusa.GeoZoneType.mdx new file mode 100644 index 0000000000000..07d03e809b642 --- /dev/null +++ b/www/apps/docs/content/references/medusa/types/medusa.GeoZoneType.mdx @@ -0,0 +1,11 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# GeoZoneType + + **GeoZoneType**: `"country"` \| `"province"` \| `"city"` \| `"zip"` + +The type of the geo zone. diff --git a/www/apps/docs/content/references/medusa/types/medusa.InternalModuleDeclaration.mdx b/www/apps/docs/content/references/medusa/types/medusa.InternalModuleDeclaration.mdx index 854ec19ff9b2e..a795a0fd1dfb8 100644 --- a/www/apps/docs/content/references/medusa/types/medusa.InternalModuleDeclaration.mdx +++ b/www/apps/docs/content/references/medusa/types/medusa.InternalModuleDeclaration.mdx @@ -10,4 +10,4 @@ import TypeList from "@site/src/components/TypeList" ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"alias","type":"`string`","description":"If multiple modules are registered with the same key, the alias can be used to differentiate them","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"main","type":"`boolean`","description":"If the module is the main module for the key when multiple ones are registered","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="InternalModuleDeclaration"/> +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"alias","type":"`string`","description":"If multiple modules are registered with the same key, the alias can be used to differentiate them","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"main","type":"`boolean`","description":"If the module is the main module for the key when multiple ones are registered","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"worker_mode","type":"`\"shared\"` \\| `\"worker\"` \\| `\"server\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="InternalModuleDeclaration"/> diff --git a/www/apps/docs/content/references/medusa/types/medusa.JoinerRelationship.mdx b/www/apps/docs/content/references/medusa/types/medusa.JoinerRelationship.mdx deleted file mode 100644 index 21379b5e61780..0000000000000 --- a/www/apps/docs/content/references/medusa/types/medusa.JoinerRelationship.mdx +++ /dev/null @@ -1,13 +0,0 @@ ---- -displayed_sidebar: homepage ---- - -import TypeList from "@site/src/components/TypeList" - -# JoinerRelationship - - **JoinerRelationship**: `Object` - -## Properties - -`","description":"Extra arguments to pass to the remoteFetchData callback","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="JoinerRelationship"/> diff --git a/www/apps/docs/content/references/medusa/types/medusa.LoaderOptions.mdx b/www/apps/docs/content/references/medusa/types/medusa.LoaderOptions.mdx index f27241b0e92ab..8d7501ecd3c81 100644 --- a/www/apps/docs/content/references/medusa/types/medusa.LoaderOptions.mdx +++ b/www/apps/docs/content/references/medusa/types/medusa.LoaderOptions.mdx @@ -14,4 +14,4 @@ import TypeList from "@site/src/components/TypeList" ## Properties - `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shouldLog","type":"(`level`: `string`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"setLogLevel","type":"(`level`: `string`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unsetLogLevel","type":"() => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"activity","type":"(`message`: `string`, `config?`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"progress","type":"(`activityId`: `any`, `message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"error","type":"(`messageOrError`: `any`, `error?`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"failure","type":"(`activityId`: `any`, `message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"success","type":"(`activityId`: `any`, `message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"debug","type":"(`message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"info","type":"(`message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"warn","type":"(`message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"log","type":"(...`args`: `any`[]) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="LoaderOptions"/> + `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shouldLog","type":"(`level`: `string`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"setLogLevel","type":"(`level`: `string`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unsetLogLevel","type":"() => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"activity","type":"(`message`: `string`, `config?`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"progress","type":"(`activityId`: `any`, `message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"error","type":"(`messageOrError`: `any`, `error?`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"failure","type":"(`activityId`: `any`, `message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"success","type":"(`activityId`: `any`, `message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"debug","type":"(`message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"info","type":"(`message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"warn","type":"(`message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"log","type":"(...`args`: `any`[]) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"dataLoaderOnly","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="LoaderOptions"/> diff --git a/www/apps/docs/content/references/medusa/types/medusa.MedusaErrorHandlerFunction.mdx b/www/apps/docs/content/references/medusa/types/medusa.MedusaErrorHandlerFunction.mdx index 80990e4282908..3d6d42265e61f 100644 --- a/www/apps/docs/content/references/medusa/types/medusa.MedusaErrorHandlerFunction.mdx +++ b/www/apps/docs/content/references/medusa/types/medusa.MedusaErrorHandlerFunction.mdx @@ -12,7 +12,7 @@ import TypeList from "@site/src/components/TypeList" ### Parameters -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"validatedBody","type":"`unknown`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"listConfig","type":"[FindConfig](../interfaces/medusa.FindConfig.mdx)<unknown>","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"retrieveConfig","type":"[FindConfig](../interfaces/medusa.FindConfig.mdx)<unknown>","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"filterableFields","type":"`Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"allowedProperties","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"errors","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"scope","type":"[MedusaContainer](medusa.MedusaContainer.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user","type":"(User \\| Customer) & { customer\\_id?: string \\| undefined; userId?: string \\| undefined; }","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"session","type":"`any`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"auth_user","type":"`object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"res","type":"[MedusaResponse](medusa.MedusaResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"next","type":"[MedusaNextFunction](medusa.MedusaNextFunction.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="__type"/> +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"allowedProperties","type":"`string`[]","description":"TODO: shouldn't this correspond to returnable fields instead of allowed fields? also it is used by the cleanResponseData util","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"listConfig","type":"[FindConfig](../interfaces/medusa.FindConfig.mdx)<unknown>","description":"An object containing the select, relation, skip, take and order to be used with medusa internal services","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"retrieveConfig","type":"[FindConfig](../interfaces/medusa.FindConfig.mdx)<unknown>","description":"An object containing the select, relation to be used with medusa internal services","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"remoteQueryConfig","type":"`object`","description":"An object containing fields and variables to be used with the remoteQuery","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"filterableFields","type":"`Record`","description":"An object containing the fields that are filterable e.g `{ id: Any }`","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"errors","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"scope","type":"[MedusaContainer](medusa.MedusaContainer-2.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"user","type":"(User \\| Customer) & { customer\\_id?: string \\| undefined; userId?: string \\| undefined; }","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"includes","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allowedFields","type":"`string`[]","description":"An array of fields and relations that are allowed to be queried, this can be set by the\nconsumer as part of a middleware and it will take precedence over the defaultAllowedFields","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allowed","type":"`string`[]","description":"An array of fields and relations that are allowed to be queried, this can be set by the\nconsumer as part of a middleware and it will take precedence over the defaultAllowedFields set\nby the api","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"session","type":"`any`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rawBody","type":"`any`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"pricingContext","type":"[MedusaPricingContext](medusa.MedusaPricingContext.mdx)","description":"An object that carries the context that is used to calculate prices for variants","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"res","type":"[MedusaResponse](medusa.MedusaResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"next","type":"[MedusaNextFunction](medusa.MedusaNextFunction.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="__type"/> ### Returns diff --git a/www/apps/docs/content/references/medusa/types/medusa.MedusaPricingContext.mdx b/www/apps/docs/content/references/medusa/types/medusa.MedusaPricingContext.mdx new file mode 100644 index 0000000000000..047d209b6e5b7 --- /dev/null +++ b/www/apps/docs/content/references/medusa/types/medusa.MedusaPricingContext.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# MedusaPricingContext + + **MedusaPricingContext**: `Object` + +## Properties + + diff --git a/www/apps/docs/content/references/medusa/types/medusa.MedusaRequestHandler.mdx b/www/apps/docs/content/references/medusa/types/medusa.MedusaRequestHandler.mdx index dc3fc6ddc4e7b..f712c4cf9b597 100644 --- a/www/apps/docs/content/references/medusa/types/medusa.MedusaRequestHandler.mdx +++ b/www/apps/docs/content/references/medusa/types/medusa.MedusaRequestHandler.mdx @@ -6,13 +6,17 @@ import TypeList from "@site/src/components/TypeList" # MedusaRequestHandler - **MedusaRequestHandler**: (`req`: [MedusaRequest](../interfaces/medusa.MedusaRequest.mdx), `res`: [MedusaResponse](medusa.MedusaResponse.mdx), `next`: [MedusaNextFunction](medusa.MedusaNextFunction.mdx)) => Promise<void> \| `void` + **MedusaRequestHandler**: (`req`: [MedusaRequest](../interfaces/medusa.MedusaRequest.mdx)<Body>, `res`: [MedusaResponse](medusa.MedusaResponse.mdx)<Res>, `next`: [MedusaNextFunction](medusa.MedusaNextFunction.mdx)) => Promise<void> \| `void` + +## Type Parameters + + ## Type declaration ### Parameters -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"validatedBody","type":"`unknown`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"listConfig","type":"[FindConfig](../interfaces/medusa.FindConfig.mdx)<unknown>","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"retrieveConfig","type":"[FindConfig](../interfaces/medusa.FindConfig.mdx)<unknown>","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"filterableFields","type":"`Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"allowedProperties","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"errors","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"scope","type":"[MedusaContainer](medusa.MedusaContainer.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user","type":"(User \\| Customer) & { customer\\_id?: string \\| undefined; userId?: string \\| undefined; }","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"session","type":"`any`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"auth_user","type":"`object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"res","type":"[MedusaResponse](medusa.MedusaResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"next","type":"[MedusaNextFunction](medusa.MedusaNextFunction.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="__type"/> +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"allowedProperties","type":"`string`[]","description":"TODO: shouldn't this correspond to returnable fields instead of allowed fields? also it is used by the cleanResponseData util","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"listConfig","type":"[FindConfig](../interfaces/medusa.FindConfig.mdx)<unknown>","description":"An object containing the select, relation, skip, take and order to be used with medusa internal services","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"retrieveConfig","type":"[FindConfig](../interfaces/medusa.FindConfig.mdx)<unknown>","description":"An object containing the select, relation to be used with medusa internal services","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"remoteQueryConfig","type":"`object`","description":"An object containing fields and variables to be used with the remoteQuery","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"filterableFields","type":"`Record`","description":"An object containing the fields that are filterable e.g `{ id: Any }`","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"errors","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"scope","type":"[MedusaContainer](medusa.MedusaContainer-2.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"user","type":"(User \\| Customer) & { customer\\_id?: string \\| undefined; userId?: string \\| undefined; }","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"includes","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allowedFields","type":"`string`[]","description":"An array of fields and relations that are allowed to be queried, this can be set by the\nconsumer as part of a middleware and it will take precedence over the defaultAllowedFields","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allowed","type":"`string`[]","description":"An array of fields and relations that are allowed to be queried, this can be set by the\nconsumer as part of a middleware and it will take precedence over the defaultAllowedFields set\nby the api","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"session","type":"`any`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rawBody","type":"`any`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"pricingContext","type":"[MedusaPricingContext](medusa.MedusaPricingContext.mdx)","description":"An object that carries the context that is used to calculate prices for variants","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"res","type":"[MedusaResponse](medusa.MedusaResponse.mdx)<Res>","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"next","type":"[MedusaNextFunction](medusa.MedusaNextFunction.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="__type"/> ### Returns diff --git a/www/apps/docs/content/references/medusa/types/medusa.MedusaResponse.mdx b/www/apps/docs/content/references/medusa/types/medusa.MedusaResponse.mdx index 6c5a4e1b2a852..b00c5bea3e5be 100644 --- a/www/apps/docs/content/references/medusa/types/medusa.MedusaResponse.mdx +++ b/www/apps/docs/content/references/medusa/types/medusa.MedusaResponse.mdx @@ -6,4 +6,8 @@ import TypeList from "@site/src/components/TypeList" # MedusaResponse - **MedusaResponse**: `Response` + **MedusaResponse**: Response<Body> + +## Type Parameters + + diff --git a/www/apps/docs/content/references/medusa/types/medusa.ModuleJoinerConfig.mdx b/www/apps/docs/content/references/medusa/types/medusa.ModuleJoinerConfig.mdx deleted file mode 100644 index f7e2ad9d99e23..0000000000000 --- a/www/apps/docs/content/references/medusa/types/medusa.ModuleJoinerConfig.mdx +++ /dev/null @@ -1,9 +0,0 @@ ---- -displayed_sidebar: homepage ---- - -import TypeList from "@site/src/components/TypeList" - -# ModuleJoinerConfig - - **ModuleJoinerConfig**: Omit<[JoinerServiceConfig](../interfaces/medusa.JoinerServiceConfig.mdx), "serviceName" \| "primaryKeys" \| "relationships" \| "extends"> & `object` diff --git a/www/apps/docs/content/references/medusa/types/medusa.ModuleJoinerRelationship.mdx b/www/apps/docs/content/references/medusa/types/medusa.ModuleJoinerRelationship.mdx deleted file mode 100644 index a4fbeda2a18ab..0000000000000 --- a/www/apps/docs/content/references/medusa/types/medusa.ModuleJoinerRelationship.mdx +++ /dev/null @@ -1,9 +0,0 @@ ---- -displayed_sidebar: homepage ---- - -import TypeList from "@site/src/components/TypeList" - -# ModuleJoinerRelationship - - **ModuleJoinerRelationship**: [JoinerRelationship](medusa.JoinerRelationship.mdx) & `object` diff --git a/www/apps/docs/content/references/medusa/types/medusa.ModuleLoaderFunction.mdx b/www/apps/docs/content/references/medusa/types/medusa.ModuleLoaderFunction.mdx index 98092d97c916e..677d7e7433e28 100644 --- a/www/apps/docs/content/references/medusa/types/medusa.ModuleLoaderFunction.mdx +++ b/www/apps/docs/content/references/medusa/types/medusa.ModuleLoaderFunction.mdx @@ -12,7 +12,7 @@ import TypeList from "@site/src/components/TypeList" ### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"alias","type":"`string`","description":"If multiple modules are registered with the same key, the alias can be used to differentiate them","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"main","type":"`boolean`","description":"If the module is the main module for the key when multiple ones are registered","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="__type"/> +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"alias","type":"`string`","description":"If multiple modules are registered with the same key, the alias can be used to differentiate them","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"main","type":"`boolean`","description":"If the module is the main module for the key when multiple ones are registered","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"worker_mode","type":"`\"shared\"` \\| `\"worker\"` \\| `\"server\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="__type"/> ### Returns diff --git a/www/apps/docs/content/references/medusa/types/medusa.PaginatedResponse-1.mdx b/www/apps/docs/content/references/medusa/types/medusa.PaginatedResponse-1.mdx deleted file mode 100644 index c1f85b2353234..0000000000000 --- a/www/apps/docs/content/references/medusa/types/medusa.PaginatedResponse-1.mdx +++ /dev/null @@ -1,13 +0,0 @@ ---- -displayed_sidebar: homepage ---- - -import TypeList from "@site/src/components/TypeList" - -# PaginatedResponse - - **PaginatedResponse**: `Object` - -## Properties - - diff --git a/www/apps/docs/content/references/medusa/types/medusa.ParserConfig.mdx b/www/apps/docs/content/references/medusa/types/medusa.ParserConfig.mdx index 590b639fb7378..1fc50569d84f8 100644 --- a/www/apps/docs/content/references/medusa/types/medusa.ParserConfig.mdx +++ b/www/apps/docs/content/references/medusa/types/medusa.ParserConfig.mdx @@ -6,4 +6,4 @@ import TypeList from "@site/src/components/TypeList" # ParserConfig - **ParserConfig**: `false` \| `object` + **ParserConfig**: `false` \| [ParserConfigArgs](medusa.ParserConfigArgs.mdx) diff --git a/www/apps/docs/content/references/medusa/types/medusa.ParserConfigArgs.mdx b/www/apps/docs/content/references/medusa/types/medusa.ParserConfigArgs.mdx new file mode 100644 index 0000000000000..0f516db0d7c0f --- /dev/null +++ b/www/apps/docs/content/references/medusa/types/medusa.ParserConfigArgs.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# ParserConfigArgs + + **ParserConfigArgs**: `Object` + +## Properties + + diff --git a/www/apps/docs/content/references/medusa/types/medusa.QueryConfig.mdx b/www/apps/docs/content/references/medusa/types/medusa.QueryConfig.mdx index edcb60db8fac6..6c421ae1f07b2 100644 --- a/www/apps/docs/content/references/medusa/types/medusa.QueryConfig.mdx +++ b/www/apps/docs/content/references/medusa/types/medusa.QueryConfig.mdx @@ -14,4 +14,4 @@ import TypeList from "@site/src/components/TypeList" ## Properties - + diff --git a/www/apps/docs/content/references/medusa/types/medusa.ShippingOptionPriceType.mdx b/www/apps/docs/content/references/medusa/types/medusa.ShippingOptionPriceType.mdx new file mode 100644 index 0000000000000..ea02b6e3f95ad --- /dev/null +++ b/www/apps/docs/content/references/medusa/types/medusa.ShippingOptionPriceType.mdx @@ -0,0 +1,14 @@ +--- +displayed_sidebar: homepage +--- + +import TypeList from "@site/src/components/TypeList" + +# ShippingOptionPriceType + + **ShippingOptionPriceType**: `"calculated"` \| `"flat"` + +The shipping option's price type. + +- Use `calculated` if the shipping option's price amount is calculated by the fulfillment provider. +- Use `flat_rate` if the shipping option's price is always the same amount. diff --git a/www/apps/docs/content/references/medusa/types/medusa.StockLocationAddressDTO.mdx b/www/apps/docs/content/references/medusa/types/medusa.StockLocationAddressDTO.mdx index 24b80176620f7..6a1997d3f4acc 100644 --- a/www/apps/docs/content/references/medusa/types/medusa.StockLocationAddressDTO.mdx +++ b/www/apps/docs/content/references/medusa/types/medusa.StockLocationAddressDTO.mdx @@ -12,4 +12,4 @@ Represents a Stock Location Address ## Properties -` \\| `null`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="StockLocationAddressDTO"/> +` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="StockLocationAddressDTO"/> diff --git a/www/apps/docs/content/references/medusa/types/medusa.StockLocationDTO.mdx b/www/apps/docs/content/references/medusa/types/medusa.StockLocationDTO.mdx index 7c0ad9e9e924c..f13df76327d3c 100644 --- a/www/apps/docs/content/references/medusa/types/medusa.StockLocationDTO.mdx +++ b/www/apps/docs/content/references/medusa/types/medusa.StockLocationDTO.mdx @@ -12,4 +12,4 @@ Represents a Stock Location ## Properties -` \\| `null`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"Stock location address' ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](medusa.StockLocationAddressDTO.mdx)","description":"The Address of the Stock Location","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"Stock location address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"Stock location address' country","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The stock location address' ID","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"Stock location address' complement","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"Stock location company' name","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"Stock location address' city","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"Stock location address' phone number","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"Stock location address' postal code","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"Stock location address' province","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="StockLocationDTO"/> +` \\| `null`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"The associated address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](../interfaces/medusa.FulfillmentSetDTO.mdx)[]","description":"Fulfillment sets for the location","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](../interfaces/medusa.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](medusa.StockLocationAddressDTO.mdx)","description":"The address of the stock location.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"The address 1 of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"The address 2 of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"The company of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"The city of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"The phone of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"The postal code of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"The province of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="StockLocationDTO"/> diff --git a/www/apps/docs/content/references/medusa/types/medusa.StoreRegionsListRes.mdx b/www/apps/docs/content/references/medusa/types/medusa.StoreRegionsListRes.mdx index 78a20612657ff..e732be82b771e 100644 --- a/www/apps/docs/content/references/medusa/types/medusa.StoreRegionsListRes.mdx +++ b/www/apps/docs/content/references/medusa/types/medusa.StoreRegionsListRes.mdx @@ -6,6 +6,6 @@ import TypeList from "@site/src/components/TypeList" # StoreRegionsListRes - **StoreRegionsListRes**: [PaginatedResponse](medusa.PaginatedResponse-1.mdx) & `object` + **StoreRegionsListRes**: [PaginatedResponse](../interfaces/medusa.PaginatedResponse-1.mdx) & `object` The list of regions with pagination fields. diff --git a/www/apps/docs/content/references/medusa_config/interfaces/medusa_config.ConfigModule.mdx b/www/apps/docs/content/references/medusa_config/interfaces/medusa_config.ConfigModule.mdx index 4d360488a8f2a..0075a03a15860 100644 --- a/www/apps/docs/content/references/medusa_config/interfaces/medusa_config.ConfigModule.mdx +++ b/www/apps/docs/content/references/medusa_config/interfaces/medusa_config.ConfigModule.mdx @@ -41,7 +41,7 @@ module.exports = { It's highly recommended to store the values of configurations in environment variables, then reference them within `medusa-config.js`. -During development, you can set your environment variables in the `.env` file at the root of your Medusa backend project. In production, +During development, you can set your environment variables in the `.env` file at the root of your Medusa backend project. In production, setting the environment variables depends on the hosting provider. --- @@ -54,7 +54,7 @@ This property holds essential configurations related to the Medusa backend, such The Medusa backend’s API Routes are protected by Cross-Origin Resource Sharing (CORS). So, only allowed URLs or URLs matching a specified pattern can send requests to the backend’s API Routes. -`store_cors` is a string used to specify the accepted URLs or patterns for store API Routes. It can either be one accepted origin, or a comma-separated list of accepted origins. +`store_cors` is a string used to specify the accepted URLs or patterns for store API Routes. It can either be one accepted origin, or a comma-separated list of accepted origins. Every origin in that list must either be: @@ -104,7 +104,7 @@ module.exports = { The Medusa backend’s API Routes are protected by Cross-Origin Resource Sharing (CORS). So, only allowed URLs or URLs matching a specified pattern can send requests to the backend’s API Routes. -`admin_cors` is a string used to specify the accepted URLs or patterns for admin API Routes. It can either be one accepted origin, or a comma-separated list of accepted origins. +`admin_cors` is a string used to specify the accepted URLs or patterns for admin API Routes. It can either be one accepted origin, or a comma-separated list of accepted origins. Every origin in that list must either be: @@ -150,11 +150,61 @@ module.exports = { } ``` +### auth\_cors + +The Medusa backend’s API Routes are protected by Cross-Origin Resource Sharing (CORS). So, only allowed URLs or URLs matching a specified pattern can send requests to the backend’s API Routes. + +`auth_cors` is a string used to specify the accepted URLs or patterns for API Routes starting with `/auth`. It can either be one accepted origin, or a comma-separated list of accepted origins. + +Every origin in that list must either be: + +1. A URL. For example, `http://localhost:7001`. The URL must not end with a backslash; +2. Or a regular expression pattern that can match more than one origin. For example, `.example.com`. The regex pattern that the backend tests for is `^([/~@;%#'])(.*?)\1([gimsuy]*)$`. + +#### Example + +Some example values of common use cases: + +```bash +# Allow different ports locally starting with 700 +AUTH_CORS=/http://localhost:700\d+$/ + +# Allow any origin ending with vercel.app. For example, admin.vercel.app +AUTH_CORS=/vercel\.app$/ + +# Allow all HTTP requests +AUTH_CORS=/http://.+/ +``` + +Then, set the configuration in `medusa-config.js`: + +```js title="medusa-config.js" +module.exports = { + projectConfig: { + auth_cors: process.env.AUTH_CORS, + // ... + }, + // ... +} +``` + +If you’re adding the value directly within `medusa-config.js`, make sure to add an extra escaping `/` for every backslash in the pattern. For example: + +```js title="medusa-config.js" +module.exports = { + projectConfig: { + auth_cors: "/http:\\/\\/localhost:700\\d+$/", + // ... + }, + // ... +} +``` + ### cookie\_secret A random string used to create cookie tokens. Although this configuration option is not required, it’s highly recommended to set it for better security. -In a development environment, if this option is not set, the default secret is `supersecret` However, in production, if this configuration is not set, an error is thrown and +In a development environment, if this option is not set, the default secret is `supersecret` However, in production, if this configuration is not set, an error is thrown and the backend crashes. #### Example @@ -194,7 +244,7 @@ module.exports = { The name of the database to connect to. If specified in `database_url`, then it’s not required to include it. -Make sure to create the PostgreSQL database before using it. You can check how to create a database in +Make sure to create the PostgreSQL database before using it. You can check how to create a database in [PostgreSQL's documentation](https://www.postgresql.org/docs/current/sql-createdatabase.html). #### Example @@ -202,7 +252,7 @@ Make sure to create the PostgreSQL database before using it. You can check how t ```js title="medusa-config.js" module.exports = { projectConfig: { - database_database: process.env.DATABASE_DATABASE || + database_database: process.env.DATABASE_DATABASE || "medusa-store", // ... }, @@ -223,7 +273,7 @@ Where: - `[user]`: (required) your PostgreSQL username. If not specified, the system's username is used by default. The database user that you use must have create privileges. If you're using the `postgres` superuser, then it should have these privileges by default. Otherwise, make sure to grant your user create privileges. You can learn how to do that in [PostgreSQL's documentation](https://www.postgresql.org/docs/current/ddl-priv.html). - `[:password]`: an optional password for the user. When provided, make sure to put `:` before the password. - `[host]`: (required) your PostgreSQL host. When run locally, it should be `localhost`. -- `[:post]`: an optional port that the PostgreSQL server is listening on. By default, it's `5432`. When provided, make sure to put `:` before the port. +- `[:port]`: an optional port that the PostgreSQL server is listening on. By default, it's `5432`. When provided, make sure to put `:` before the port. - `[dbname]`: (required) the name of the database. You can learn more about the connection URL format in [PostgreSQL’s documentation](https://www.postgresql.org/docs/current/libpq-connect.html). @@ -255,7 +305,7 @@ The database schema to connect to. This is not required to provide if you’re u ```js title="medusa-config.js" module.exports = { projectConfig: { - database_schema: process.env.DATABASE_SCHEMA || + database_schema: process.env.DATABASE_SCHEMA || "custom", // ... }, @@ -289,10 +339,10 @@ module.exports = { ### database\_extra -An object that includes additional configurations to pass to the database connection. You can pass any configuration. One defined configuration to pass is +An object that includes additional configurations to pass to the database connection. You can pass any configuration. One defined configuration to pass is `ssl` which enables support for TLS/SSL connections. -This is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`. +This is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`. During development, it’s recommended not to pass this option. #### Example @@ -300,7 +350,7 @@ During development, it’s recommended not to pass this option. ```js title="medusa-config.js" module.exports = { projectConfig: { - database_extra: + database_extra: process.env.NODE_ENV !== "development" ? { ssl: { rejectUnauthorized: false } } : {}, @@ -314,6 +364,33 @@ module.exports = { +### database\_driver\_options + +An object that includes additional configurations to pass to the database connection for v2. You can pass any configuration. One defined configuration to pass is +`ssl` which enables support for TLS/SSL connections. + +This is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`. +During development, it’s recommended not to pass this option. + +#### Example + +```js title="medusa-config.js" +module.exports = { + projectConfig: { + database_driver_options: + process.env.NODE_ENV !== "development" + ? { connection: { ssl: { rejectUnauthorized: false } } } + : {}, + // ... + }, + // ... +} +``` + +#### Properties + + + ### redis\_url Used to specify the URL to connect to Redis. This is only used for scheduled jobs. If you omit this configuration, scheduled jobs won't work. @@ -337,7 +414,7 @@ For a local Redis installation, the connection URL should be `redis://localhost: ```js title="medusa-config.js" module.exports = { projectConfig: { - redis_url: process.env.REDIS_URL || + redis_url: process.env.REDIS_URL || "redis://localhost:6379", // ... }, @@ -347,7 +424,7 @@ module.exports = { ### redis\_prefix -The prefix set on all keys stored in Redis. The default value is `sess:`. +The prefix set on all keys stored in Redis. The default value is `sess:`. If this configuration option is provided, it is prepended to `sess:`. @@ -356,7 +433,7 @@ If this configuration option is provided, it is prepended to `sess:`. ```js title="medusa-config.js" module.exports = { projectConfig: { - redis_prefix: process.env.REDIS_PREFIX || + redis_prefix: process.env.REDIS_PREFIX || "medusa:", // ... }, @@ -366,7 +443,7 @@ module.exports = { ### redis\_options -An object of options to pass ioredis. You can refer to [ioredis’s RedisOptions documentation](https://redis.github.io/ioredis/index.html#RedisOptions) +An object of options to pass ioredis. You can refer to [ioredis’s RedisOptions documentation](https://redis.github.io/ioredis/index.html#RedisOptions) for the list of available options. #### Example @@ -375,7 +452,7 @@ for the list of available options. module.exports = { projectConfig: { redis_options: { - connectionName: process.env.REDIS_CONNECTION_NAME || + connectionName: process.env.REDIS_CONNECTION_NAME || "medusa", }, // ... @@ -394,7 +471,7 @@ An object of options to pass to [express-session](https://www.npmjs.com/package/ module.exports = { projectConfig: { session_options: { - name: process.env.SESSION_NAME || + name: process.env.SESSION_NAME || "custom", }, // ... @@ -409,7 +486,7 @@ module.exports = { ### http\_compression -Configure HTTP compression from the application layer. If you have access to the HTTP server, the recommended approach would be to enable it there. +Configure HTTP compression from the application layer. If you have access to the HTTP server, the recommended approach would be to enable it there. However, some platforms don't offer access to the HTTP layer and in those cases, this is a good alternative. Its value is an object that has the following properties: @@ -435,11 +512,11 @@ module.exports = { #### Properties - + ### jobs\_batch\_size -Configure the number of staged jobs that are polled from the database. Default is 1000. +Configure the number of staged jobs that are polled from the database. Default is `1000`. #### Example @@ -453,11 +530,33 @@ module.exports = { } ``` +### worker\_mode + +Configure the application's worker mode. Default is `shared`. + +- Use `shared` to run the application in a single process. +- Use `worker` to run the a worker process only. +- Use `server` to run the application server only. + +Learn more in [this guide](https://docs.medusajs.com/v1/development/medusa-worker). + +#### Example + +```js title="medusa-config.js" +module.exports = { + projectConfig: { + worker_mode: "shared" + // ... + }, + // ... +} +``` + ___ ## plugins -On your Medusa backend, you can use [Plugins](https://docs.medusajs.com/development/plugins/overview) to add custom features or integrate third-party services. +On your Medusa backend, you can use [Plugins](https://docs.medusajs.com/v1/development/plugins/overview) to add custom features or integrate third-party services. For example, installing a plugin to use Stripe as a payment processor. Aside from installing the plugin with NPM, you need to pass the plugin you installed into the `plugins` array defined in `medusa-config.js`. @@ -478,7 +577,7 @@ module.exports = { { resolve: `medusa-my-plugin`, options: { - apiKey: process.env.MY_API_KEY || + apiKey: process.env.MY_API_KEY || `test`, }, }, @@ -492,7 +591,7 @@ ___ ## modules -In Medusa, commerce and core logic are modularized to allow developers to extend or replace certain [modules](https://docs.medusajs.com/development/modules/overview) +In Medusa, commerce and core logic are modularized to allow developers to extend or replace certain [modules](https://docs.medusajs.com/v1/development/modules/overview) with custom implementations. Aside from installing the module with NPM, you must add it to the exported object in `medusa-config.js`. @@ -504,7 +603,7 @@ The keys of the `modules` configuration object refer to the type of module. Its 3. Or an object having the following properties, but typically you would mainly use the `resolve` and `options` properties only: 1. `resolve`: a string indicating the name of the module. 2. `options`: an object indicating the options to pass to the module. These options vary for each module, and you should refer to the module’s documentation for details on them. - 3. `resources`: a string indicating whether the module shares the dependency container with the Medusa core. Its value can either be `shared` or `isolated`. Refer to the [Modules documentation](https://docs.medusajs.com/development/modules/create#module-scope) for more details. + 3. `resources`: a string indicating whether the module shares the dependency container with the Medusa core. Its value can either be `shared` or `isolated`. Refer to the [Modules documentation](https://docs.medusajs.com/v1/development/modules/create#module-scope) for more details. 4. `alias`: a string indicating a unique alias to register the module under. Other modules can’t use the same alias. 5. `main`: a boolean value indicating whether this module is the main registered module. This is useful when an alias is used. @@ -518,7 +617,7 @@ module.exports = { }, cacheService: { resolve: "@medusajs/cache-redis", - options: { + options: { redisUrl: process.env.CACHE_REDIS_URL, ttl: 30, }, @@ -535,10 +634,10 @@ ___ Some features in the Medusa backend are guarded by a feature flag. This ensures constant shipping of new features while maintaining the engine’s stability. -You can specify whether a feature should or shouldn’t be used in your backend by enabling its feature flag. Feature flags can be enabled through either environment +You can specify whether a feature should or shouldn’t be used in your backend by enabling its feature flag. Feature flags can be enabled through either environment variables or through this configuration exported in `medusa-config.js`. -If you want to use the environment variables method, learn more about it in the [Feature Flags documentation](https://docs.medusajs.com/development/feature-flags/toggle#method-one-using-environment-variables). +If you want to use the environment variables method, learn more about it in the [Feature Flags documentation](https://docs.medusajs.com/v1/development/feature-flags/toggle#method-one-using-environment-variables). The `featureFlags` configuration is an object. Its properties are the names of the feature flags. Each property’s value is a boolean indicating whether the feature flag is enabled. @@ -558,6 +657,6 @@ module.exports = { :::note -After enabling a feature flag, make sure to [run migrations](https://docs.medusajs.com/development/entities/migrations/overview#migrate-command) as it may require making changes to the database. +After enabling a feature flag, make sure to [run migrations](https://docs.medusajs.com/v1/development/entities/migrations/overview#migrate-command) as it may require making changes to the database. ::: diff --git a/www/apps/docs/content/references/medusa_config/interfaces/medusa_config.HttpCompressionOptions.mdx b/www/apps/docs/content/references/medusa_config/interfaces/medusa_config.HttpCompressionOptions.mdx index a6ea8c312f84d..dafaf232127e6 100644 --- a/www/apps/docs/content/references/medusa_config/interfaces/medusa_config.HttpCompressionOptions.mdx +++ b/www/apps/docs/content/references/medusa_config/interfaces/medusa_config.HttpCompressionOptions.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" HTTP compression configurations. - + diff --git a/www/apps/docs/content/references/medusa_config/interfaces/medusa_config.ProjectConfigOptions.mdx b/www/apps/docs/content/references/medusa_config/interfaces/medusa_config.ProjectConfigOptions.mdx index 94aa4b4a54fc3..4b9dd1c78d5e9 100644 --- a/www/apps/docs/content/references/medusa_config/interfaces/medusa_config.ProjectConfigOptions.mdx +++ b/www/apps/docs/content/references/medusa_config/interfaces/medusa_config.ProjectConfigOptions.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" Essential configurations related to the Medusa backend, such as database and CORS configurations. -` & `object`","description":"An object that includes additional configurations to pass to the database connection. You can pass any configuration. One defined configuration to pass is \n`ssl` which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`. \nDuring development, it’s recommended not to pass this option.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"ssl","type":"`object`","description":"Configure support for TLS/SSL connection","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"rejectUnauthorized","type":"`false`","description":"Whether to fail connection if the server certificate is verified against the list of supplied CAs and the hostname and no match is found.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"redis_url","type":"`string`","description":"Used to specify the URL to connect to Redis. This is only used for scheduled jobs. If you omit this configuration, scheduled jobs won't work.\n\n:::note\n\nYou must first have Redis installed. You can refer to [Redis's installation guide](https://redis.io/docs/getting-started/installation/).\n\n:::\n\nThe Redis connection URL has the following format:\n\n```bash\nredis[s]://[[username][:password]@][host][:port][/db-number]\n```\n\nFor a local Redis installation, the connection URL should be `redis://localhost:6379` unless you’ve made any changes to the Redis configuration during installation.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_prefix","type":"`string`","description":"The prefix set on all keys stored in Redis. The default value is `sess:`. \n\nIf this configuration option is provided, it is prepended to `sess:`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_options","type":"`RedisOptions`","description":"An object of options to pass ioredis. You can refer to [ioredis’s RedisOptions documentation](https://redis.github.io/ioredis/index.html#RedisOptions) \nfor the list of available options.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"session_options","type":"[SessionOptions](../../medusa/interfaces/medusa.SessionOptions.mdx)","description":"An object of options to pass to [express-session](https://www.npmjs.com/package/express-session).","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"The name of the session ID cookie to set in the response (and read from in the request). The default value is `connect.sid`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#name) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"resave","type":"`boolean`","description":"Whether the session should be saved back to the session store, even if the session was never modified during the request. The default value is `true`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#resave) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rolling","type":"`boolean`","description":"Whether the session identifier cookie should be force-set on every response. The default value is `false`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#rolling) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"saveUninitialized","type":"`boolean`","description":"Whether a session that is \"uninitialized\" is forced to be saved to the store. The default value is `true`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#saveUninitialized) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"secret","type":"`string`","description":"The secret to sign the session ID cookie. By default, the value of `cookie_secret` is used.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#secret) for details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ttl","type":"`number`","description":"Used when calculating the `Expires` `Set-Cookie` attribute of cookies. By default, its value is `10 * 60 * 60 * 1000`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#cookiemaxage) for details.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"http_compression","type":"[HttpCompressionOptions](medusa_config.HttpCompressionOptions.mdx)","description":"Configure HTTP compression from the application layer. If you have access to the HTTP server, the recommended approach would be to enable it there. \nHowever, some platforms don't offer access to the HTTP layer and in those cases, this is a good alternative.\n\nIts value is an object that has the following properties:\n\nIf you enable HTTP compression and you want to disable it for specific API Routes, you can pass in the request header `\"x-no-compression\": true`.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"enabled","type":"`boolean`","description":"Whether HTTP compression is enabled. By default, it's `false`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"level","type":"`number`","description":"The level of zlib compression to apply to responses. A higher level will result in better compression but will take longer to complete. \nA lower level will result in less compression but will be much faster. The default value is `6`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"memLevel","type":"`number`","description":"How much memory should be allocated to the internal compression state. It's an integer in the range of 1 (minimum level) and 9 (maximum level). \nThe default value is `8`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"threshold","type":"`string` \\| `number`","description":"The minimum response body size that compression is applied on. Its value can be the number of bytes or any string accepted by the \n[bytes](https://www.npmjs.com/package/bytes) module. The default value is `1024`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"jobs_batch_size","type":"`number`","description":"Configure the number of staged jobs that are polled from the database. Default is 1000.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ProjectConfigOptions"/> +` & `object`","description":"An object that includes additional configurations to pass to the database connection. You can pass any configuration. One defined configuration to pass is\n`ssl` which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`.\nDuring development, it’s recommended not to pass this option.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"ssl","type":"`object`","description":"Configure support for TLS/SSL connection","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"rejectUnauthorized","type":"`false`","description":"Whether to fail connection if the server certificate is verified against the list of supplied CAs and the hostname and no match is found.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"database_driver_options","type":"`Record` & `object`","description":"An object that includes additional configurations to pass to the database connection for v2. You can pass any configuration. One defined configuration to pass is\n`ssl` which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`.\nDuring development, it’s recommended not to pass this option.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"connection","type":"`object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"ssl","type":"`object`","description":"Configure support for TLS/SSL connection","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"redis_url","type":"`string`","description":"Used to specify the URL to connect to Redis. This is only used for scheduled jobs. If you omit this configuration, scheduled jobs won't work.\n\n:::note\n\nYou must first have Redis installed. You can refer to [Redis's installation guide](https://redis.io/docs/getting-started/installation/).\n\n:::\n\nThe Redis connection URL has the following format:\n\n```bash\nredis[s]://[[username][:password]@][host][:port][/db-number]\n```\n\nFor a local Redis installation, the connection URL should be `redis://localhost:6379` unless you’ve made any changes to the Redis configuration during installation.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_prefix","type":"`string`","description":"The prefix set on all keys stored in Redis. The default value is `sess:`.\n\nIf this configuration option is provided, it is prepended to `sess:`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_options","type":"`RedisOptions`","description":"An object of options to pass ioredis. You can refer to [ioredis’s RedisOptions documentation](https://redis.github.io/ioredis/index.html#RedisOptions)\nfor the list of available options.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"session_options","type":"[SessionOptions](../../medusa/interfaces/medusa.SessionOptions.mdx)","description":"An object of options to pass to [express-session](https://www.npmjs.com/package/express-session).","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"The name of the session ID cookie to set in the response (and read from in the request). The default value is `connect.sid`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#name) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"resave","type":"`boolean`","description":"Whether the session should be saved back to the session store, even if the session was never modified during the request. The default value is `true`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#resave) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rolling","type":"`boolean`","description":"Whether the session identifier cookie should be force-set on every response. The default value is `false`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#rolling) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"saveUninitialized","type":"`boolean`","description":"Whether a session that is \"uninitialized\" is forced to be saved to the store. The default value is `true`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#saveUninitialized) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"secret","type":"`string`","description":"The secret to sign the session ID cookie. By default, the value of `cookie_secret` is used.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#secret) for details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ttl","type":"`number`","description":"Used when calculating the `Expires` `Set-Cookie` attribute of cookies. By default, its value is `10 * 60 * 60 * 1000`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#cookiemaxage) for details.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"http_compression","type":"[HttpCompressionOptions](medusa_config.HttpCompressionOptions.mdx)","description":"Configure HTTP compression from the application layer. If you have access to the HTTP server, the recommended approach would be to enable it there.\nHowever, some platforms don't offer access to the HTTP layer and in those cases, this is a good alternative.\n\nIts value is an object that has the following properties:\n\nIf you enable HTTP compression and you want to disable it for specific API Routes, you can pass in the request header `\"x-no-compression\": true`.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"enabled","type":"`boolean`","description":"Whether HTTP compression is enabled. By default, it's `false`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"level","type":"`number`","description":"The level of zlib compression to apply to responses. A higher level will result in better compression but will take longer to complete.\nA lower level will result in less compression but will be much faster. The default value is `6`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"memLevel","type":"`number`","description":"How much memory should be allocated to the internal compression state. It's an integer in the range of 1 (minimum level) and 9 (maximum level).\nThe default value is `8`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"threshold","type":"`string` \\| `number`","description":"The minimum response body size that compression is applied on. Its value can be the number of bytes or any string accepted by the\n[bytes](https://www.npmjs.com/package/bytes) module. The default value is `1024`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"jobs_batch_size","type":"`number`","description":"Configure the number of staged jobs that are polled from the database. Default is `1000`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"worker_mode","type":"`\"shared\"` \\| `\"worker\"` \\| `\"server\"`","description":"Configure the application's worker mode. Default is `shared`.\n\n- Use `shared` to run the application in a single process.\n- Use `worker` to run the a worker process only.\n- Use `server` to run the application server only.\n\nLearn more in [this guide](https://docs.medusajs.com/v1/development/medusa-worker).","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ProjectConfigOptions"/> diff --git a/www/apps/docs/content/references/medusa_config/types/medusa_config.PluginDetails.mdx b/www/apps/docs/content/references/medusa_config/types/medusa_config.PluginDetails.mdx new file mode 100644 index 0000000000000..7401ba926a478 --- /dev/null +++ b/www/apps/docs/content/references/medusa_config/types/medusa_config.PluginDetails.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: core +--- + +import TypeList from "@site/src/components/TypeList" + +# PluginDetails + + **PluginDetails**: `Object` + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"version","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="PluginDetails"/> diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Auth.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Auth.mdx index c4202e0d2656c..340a2612d6c24 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Auth.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Auth.mdx @@ -14,7 +14,7 @@ You can send authenticated requests for an admin user either using the Cookie he When you log the admin user in using the [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin) hook, Medusa React will automatically attach the cookie header in all subsequent requests. -Related Guide: [How to implement user profiles](https://docs.medusajs.com/modules/users/admin/manage-profile). +Related Guide: [How to implement user profiles](https://docs.medusajs.com/v1/modules/users/admin/manage-profile). ## Mutations diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Batch_Jobs.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Batch_Jobs.mdx index df729edf0f3ce..74ff31e1a275a 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Batch_Jobs.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Batch_Jobs.mdx @@ -14,7 +14,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx A batch job is a task that is performed by the Medusa backend asynchronusly. For example, the Import Product feature is implemented using batch jobs. The methods in this class allow admins to manage the batch jobs and their state. -Related Guide: [How to import products](https://docs.medusajs.com/modules/products/admin/import-products). +Related Guide: [How to import products](https://docs.medusajs.com/v1/modules/products/admin/import-products). ## Mutations @@ -221,7 +221,7 @@ export default BatchJobs #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Claims.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Claims.mdx index e54f28a6794cf..cfc74877e9174 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Claims.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Claims.mdx @@ -14,7 +14,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx A claim represents a return or replacement request of order items. It allows refunding the customer or replacing some or all of its order items with new items. -Related Guide: [How to manage claims](https://docs.medusajs.com/modules/orders/admin/manage-claims). +Related Guide: [How to manage claims](https://docs.medusajs.com/v1/modules/orders/admin/manage-claims). ## Mutations diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Currencies.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Currencies.mdx index b615ce41d75bd..36ed9119c51c7 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Currencies.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Currencies.mdx @@ -14,7 +14,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx A store can use unlimited currencies, and each region must be associated with at least one currency. Currencies are defined within the Medusa backend. The methods in this class allow admins to list and update currencies. -Related Guide: [How to manage currencies](https://docs.medusajs.com/modules/regions-and-currencies/admin/manage-currencies). +Related Guide: [How to manage currencies](https://docs.medusajs.com/v1/modules/regions-and-currencies/admin/manage-currencies). ## Mutations diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Customer_Groups.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Customer_Groups.mdx index 42ada09711c34..5ce6cd23cbb10 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Customer_Groups.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Customer_Groups.mdx @@ -14,7 +14,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx Customer Groups can be used to organize customers that share similar data or attributes into dedicated groups. This can be useful for different purposes such as setting a different price for a specific customer group. -Related Guide: [How to manage customer groups](https://docs.medusajs.com/modules/customers/admin/manage-customer-groups). +Related Guide: [How to manage customer groups](https://docs.medusajs.com/v1/modules/customers/admin/manage-customer-groups). ## Mutations @@ -273,7 +273,7 @@ export default CustomerGroup #### Hook Parameters - + #### Query Returned Data @@ -404,7 +404,7 @@ export default CustomerGroups #### Hook Parameters - + #### Query Returned Data @@ -455,7 +455,7 @@ export default CustomerGroup #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Customers.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Customers.mdx index cf928174f647d..3702dde2158b9 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Customers.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Customers.mdx @@ -11,7 +11,7 @@ Queries and Mutations listed here are used to send requests to the [Admin Custom All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). -Related Guide: [How to manage customers](https://docs.medusajs.com/modules/customers/admin/manage-customers). +Related Guide: [How to manage customers](https://docs.medusajs.com/v1/modules/customers/admin/manage-customers). ## Mutations @@ -186,7 +186,7 @@ export default Customers #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Discounts.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Discounts.mdx index 8d7b2c7602c44..1cf0c04823fb3 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Discounts.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Discounts.mdx @@ -14,7 +14,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx Admins can create discounts with conditions and rules, providing them with advanced settings for variety of cases. The methods in this class can be used to manage discounts, their conditions, resources, and more. -Related Guide: [How to manage discounts](https://docs.medusajs.com/modules/discounts/admin/manage-discounts). +Related Guide: [How to manage discounts](https://docs.medusajs.com/v1/modules/discounts/admin/manage-discounts). ## Mutations @@ -116,7 +116,7 @@ export default DiscountCondition #### Hook Parameters - + #### Mutation Function Parameters @@ -767,7 +767,7 @@ export default Discounts #### Hook Parameters - + #### Query Returned Data @@ -805,7 +805,7 @@ export default Discount #### Hook Parameters - + #### Query Returned Data @@ -892,7 +892,7 @@ export default DiscountCondition #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Draft_Orders.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Draft_Orders.mdx index 85ba2aff7122d..64f17eef2783b 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Draft_Orders.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Draft_Orders.mdx @@ -13,7 +13,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx A draft order is an order created manually by the admin. It allows admins to create orders without direct involvement from the customer. -Related Guide: [How to manage draft orders](https://docs.medusajs.com/modules/orders/admin/manage-draft-orders). +Related Guide: [How to manage draft orders](https://docs.medusajs.com/v1/modules/orders/admin/manage-draft-orders). ## Mutations @@ -419,7 +419,7 @@ export default DraftOrders #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Gift_Cards.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Gift_Cards.mdx index b0755b453820a..23cd3ea6d7b14 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Gift_Cards.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Gift_Cards.mdx @@ -14,7 +14,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx Admins can create gift cards and send them directly to customers, specifying options like their balance, region, and more. These gift cards are different than the saleable gift cards in a store, which are created and managed through [useAdminCreateProduct](medusa_react.Hooks.Admin.Products.mdx#useadmincreateproduct). -Related Guide: [How to manage gift cards](https://docs.medusajs.com/modules/gift-cards/admin/manage-gift-cards#manage-custom-gift-cards). +Related Guide: [How to manage gift cards](https://docs.medusajs.com/v1/modules/gift-cards/admin/manage-gift-cards#manage-custom-gift-cards). ## Mutations @@ -229,7 +229,7 @@ export default CustomGiftCards #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Inventory_Items.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Inventory_Items.mdx index 6c692a8c004af..e5beb3e50cd0f 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Inventory_Items.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Inventory_Items.mdx @@ -9,14 +9,14 @@ import TypeList from "@site/src/components/TypeList" Queries and Mutations listed here are used to send requests to the [Admin Inventory Item API Routes](https://docs.medusajs.com/v1/api/admin#inventory-items). To use these hooks, make sure to install the -[@medusajs/inventory](https://docs.medusajs.com/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. +[@medusajs/inventory](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). -Inventory items, provided by the [Inventory Module](https://docs.medusajs.com/modules/multiwarehouse/inventory-module), can be +Inventory items, provided by the [Inventory Module](https://docs.medusajs.com/v1/modules/multiwarehouse/inventory-module), can be used to manage the inventory of saleable items in your store. -Related Guide: [How to manage inventory items](https://docs.medusajs.com/modules/multiwarehouse/admin/manage-inventory-items). +Related Guide: [How to manage inventory items](https://docs.medusajs.com/v1/modules/multiwarehouse/admin/manage-inventory-items). ## Mutations @@ -190,7 +190,7 @@ export default InventoryItem #### Mutation Function Parameters - + #### Mutation Function Returned Data @@ -286,7 +286,7 @@ export default InventoryItem #### Mutation Function Parameters - + #### Mutation Function Returned Data @@ -378,7 +378,7 @@ export default InventoryItems #### Hook Parameters - + #### Query Returned Data @@ -419,7 +419,7 @@ export default InventoryItem #### Hook Parameters - + #### Query Returned Data @@ -467,7 +467,7 @@ export default InventoryItem #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Invites.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Invites.mdx index 6ad3e76572c80..2915cc22679b7 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Invites.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Invites.mdx @@ -13,7 +13,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx An admin can invite new users to manage their team. This would allow new users to authenticate as admins and perform admin functionalities. -Related Guide: [How to manage invites](https://docs.medusajs.com/modules/users/admin/manage-invites). +Related Guide: [How to manage invites](https://docs.medusajs.com/v1/modules/users/admin/manage-invites). ## Mutations diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Notifications.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Notifications.mdx index 13db9b91c782f..2625afb46c47a 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Notifications.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Notifications.mdx @@ -173,8 +173,8 @@ export default Notifications #### Hook Parameters - + #### Query Returned Data -`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"to","type":"`string`","description":"The address that the Notification was sent to. This will usually be an email address, but can represent other addresses such as a chat bot user ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data that the Notification was sent with. This contains all the data necessary for the Notification Provider to initiate a resend.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`string`","description":"The notification's parent ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_notification","type":"[Notification](../../../entities/classes/entities.Notification.mdx)","description":"The details of the parent notification.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The notification's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"event_name","type":"`string`","description":"The name of the event that the notification was sent for.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_type","type":"`string`","description":"The type of resource that the Notification refers to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_id","type":"`string`","description":"The ID of the resource that the Notification refers to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`null` \\| `string`","description":"The ID of the customer that this notification was sent to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../../entities/classes/entities.Customer.mdx)","description":"The details of the customer that this notification was sent to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"to","type":"`string`","description":"The address that the Notification was sent to. This will usually be an email address, but can represent other addresses such as a chat bot user ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data that the Notification was sent with. This contains all the data necessary for the Notification Provider to initiate a resend.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`string`","description":"The notification's parent ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_notification","type":"[Notification](../../../entities/classes/entities.Notification.mdx)","description":"The details of the parent notification.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"resends","type":"[Notification](../../../entities/classes/entities.Notification.mdx)[]","description":"The details of all resends of the notification.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[NotificationProvider](../../../entities/classes/entities.NotificationProvider.mdx)","description":"The notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":true,"children":[]}]},{"name":"resends","type":"[Notification](../../../entities/classes/entities.Notification.mdx)[]","description":"The details of all resends of the notification.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The notification's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"event_name","type":"`string`","description":"The name of the event that the notification was sent for.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_type","type":"`string`","description":"The type of resource that the Notification refers to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_id","type":"`string`","description":"The ID of the resource that the Notification refers to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`null` \\| `string`","description":"The ID of the customer that this notification was sent to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../../entities/classes/entities.Customer.mdx)","description":"The details of the customer that this notification was sent to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"to","type":"`string`","description":"The address that the Notification was sent to. This will usually be an email address, but can represent other addresses such as a chat bot user ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data that the Notification was sent with. This contains all the data necessary for the Notification Provider to initiate a resend.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`string`","description":"The notification's parent ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_notification","type":"[Notification](../../../entities/classes/entities.Notification.mdx)","description":"The details of the parent notification.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"resends","type":"[Notification](../../../entities/classes/entities.Notification.mdx)[]","description":"The details of all resends of the notification.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[NotificationProvider](../../../entities/classes/entities.NotificationProvider.mdx)","description":"The notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":true,"children":[]}]},{"name":"provider_id","type":"`string`","description":"The ID of the notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[NotificationProvider](../../../entities/classes/entities.NotificationProvider.mdx)","description":"The notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the notification provider as given by the notification service.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_installed","type":"`boolean`","description":"Whether the notification service is installed in the current version. If a notification service is no longer installed, the `is\\_installed` attribute is set to `false`.","optional":false,"defaultValue":"true","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="useAdminNotifications"/> +`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"to","type":"`string`","description":"The address that the Notification was sent to. This will usually be an email address, but can represent other addresses such as a chat bot user ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data that the Notification was sent with. This contains all the data necessary for the Notification Provider to initiate a resend.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`string`","description":"The notification's parent ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_notification","type":"[Notification](../../../entities/classes/entities.Notification.mdx)","description":"The details of the parent notification.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The notification's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"event_name","type":"`string`","description":"The name of the event that the notification was sent for.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_type","type":"`string`","description":"The type of resource that the Notification refers to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_id","type":"`string`","description":"The ID of the resource that the Notification refers to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`null` \\| `string`","description":"The ID of the customer that this notification was sent to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../../entities/classes/entities.Customer.mdx)","description":"The details of the customer that this notification was sent to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"to","type":"`string`","description":"The address that the Notification was sent to. This will usually be an email address, but can represent other addresses such as a chat bot user ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data that the Notification was sent with. This contains all the data necessary for the Notification Provider to initiate a resend.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`string`","description":"The notification's parent ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_notification","type":"[Notification](../../../entities/classes/entities.Notification.mdx)","description":"The details of the parent notification.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"resends","type":"[Notification](../../../entities/classes/entities.Notification.mdx)[]","description":"The details of all resends of the notification.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[NotificationProvider](../../../entities/classes/entities.NotificationProvider.mdx)","description":"The notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":true,"children":[]}]},{"name":"resends","type":"[Notification](../../../entities/classes/entities.Notification.mdx)[]","description":"The details of all resends of the notification.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The notification's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"event_name","type":"`string`","description":"The name of the event that the notification was sent for.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_type","type":"`string`","description":"The type of resource that the Notification refers to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_id","type":"`string`","description":"The ID of the resource that the Notification refers to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`null` \\| `string`","description":"The ID of the customer that this notification was sent to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../../entities/classes/entities.Customer.mdx)","description":"The details of the customer that this notification was sent to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"to","type":"`string`","description":"The address that the Notification was sent to. This will usually be an email address, but can represent other addresses such as a chat bot user ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data that the Notification was sent with. This contains all the data necessary for the Notification Provider to initiate a resend.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`string`","description":"The notification's parent ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_notification","type":"[Notification](../../../entities/classes/entities.Notification.mdx)","description":"The details of the parent notification.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"resends","type":"[Notification](../../../entities/classes/entities.Notification.mdx)[]","description":"The details of all resends of the notification.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[NotificationProvider](../../../entities/classes/entities.NotificationProvider.mdx)","description":"The notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":true,"children":[]}]},{"name":"provider_id","type":"`string`","description":"The ID of the notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[NotificationProvider](../../../entities/classes/entities.NotificationProvider.mdx)","description":"The notification provider used to send the notification.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the notification provider as given by the notification service.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_installed","type":"`boolean`","description":"Whether the notification service is installed in the current version. If a notification service is no longer installed, the `is\\_installed` attribute is set to `false`.","optional":false,"defaultValue":"true","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="useAdminNotifications"/> diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Order_Edits.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Order_Edits.mdx index 7e2bab8386331..bed3e1275019c 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Order_Edits.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Order_Edits.mdx @@ -13,7 +13,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx An admin can edit an order to remove, add, or update an item's quantity. When an admin edits an order, they're stored as an `OrderEdit`. -Related Guide: [How to edit an order](https://docs.medusajs.com/modules/orders/admin/edit-order). +Related Guide: [How to edit an order](https://docs.medusajs.com/v1/modules/orders/admin/edit-order). ## Mutations @@ -549,7 +549,7 @@ export default OrderEdit #### Hook Parameters - + #### Query Returned Data @@ -668,7 +668,7 @@ export default OrderEdits #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Orders.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Orders.mdx index d176294df583b..71ba1aaab1b3b 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Orders.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Orders.mdx @@ -13,7 +13,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx Orders are purchases made by customers, typically through a storefront using cart. Managing orders include managing fulfillment, payment, claims, reservations, and more. -Related Guide: [How to manage orders](https://docs.medusajs.com/modules/orders/admin/manage-orders). +Related Guide: [How to manage orders](https://docs.medusajs.com/v1/modules/orders/admin/manage-orders). ## Mutations @@ -629,7 +629,7 @@ export default Orders #### Hook Parameters - + #### Query Returned Data @@ -699,7 +699,7 @@ export default Order #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Price_Lists.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Price_Lists.mdx index 89bc393700856..490efe3919124 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Price_Lists.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Price_Lists.mdx @@ -13,7 +13,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx A price list are special prices applied to products based on a set of conditions, such as customer group. -Related Guide: [How to manage price lists](https://docs.medusajs.com/modules/price-lists/admin/manage-price-lists). +Related Guide: [How to manage price lists](https://docs.medusajs.com/v1/modules/price-lists/admin/manage-price-lists). ## Mutations @@ -664,7 +664,7 @@ export default PriceListProducts #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Categories.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Categories.mdx index 4a9a172e72d48..173950a3398bf 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Categories.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Categories.mdx @@ -19,7 +19,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx Products can be categoriezed into categories. A product can be added into more than one category. -Related Guide: [How to manage product categories](https://docs.medusajs.com/modules/products/admin/manage-categories). +Related Guide: [How to manage product categories](https://docs.medusajs.com/v1/modules/products/admin/manage-categories). ## Mutations @@ -393,7 +393,7 @@ export default Categories #### Hook Parameters - + #### Query Returned Data @@ -473,7 +473,7 @@ export default Category #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Collections.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Collections.mdx index 676b5a6b36012..05da55a04c86c 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Collections.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Collections.mdx @@ -306,7 +306,7 @@ export default Collections #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Variants.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Variants.mdx index e35dd35284d96..846d449703402 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Variants.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Variants.mdx @@ -13,7 +13,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx Product variants are the actual salable item in your store. Each variant is a combination of the different option values available on the product. -Related Guide: [How to manage product variants](https://docs.medusajs.com/modules/products/admin/manage-products#manage-product-variants). +Related Guide: [How to manage product variants](https://docs.medusajs.com/v1/modules/products/admin/manage-products#manage-product-variants). ## Queries @@ -124,7 +124,7 @@ export default Variants #### Hook Parameters - + #### Query Returned Data @@ -192,7 +192,7 @@ export default Variant #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Products.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Products.mdx index 2e6edea9ea851..102227f7468a3 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Products.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Products.mdx @@ -11,9 +11,9 @@ Queries and Mutations listed here are used to send requests to the [Admin Produc All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). -Products are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/modules/gift-cards/admin/manage-gift-cards#manage-gift-card-product) in a store. +Products are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/v1/modules/gift-cards/admin/manage-gift-cards#manage-gift-card-product) in a store. -Related Guide: [How to manage products](https://docs.medusajs.com/modules/products/admin/manage-products). +Related Guide: [How to manage products](https://docs.medusajs.com/v1/modules/products/admin/manage-products). ## Mutations @@ -598,7 +598,7 @@ export default Products #### Hook Parameters - + #### Query Returned Data @@ -638,7 +638,7 @@ export default Product #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Publishable_API_Keys.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Publishable_API_Keys.mdx index eee5e0a17b3fa..f6a151e0db03d 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Publishable_API_Keys.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Publishable_API_Keys.mdx @@ -19,7 +19,7 @@ the sales channels are inferred from the key and only products associated with t Admins can manage publishable API keys and their associated resources. Currently, only Sales Channels are supported as a resource. -Related Guide: [How to manage publishable API keys](https://docs.medusajs.com/development/publishable-api-keys/admin/manage-publishable-api-keys). +Related Guide: [How to manage publishable API keys](https://docs.medusajs.com/v1/development/publishable-api-keys/admin/manage-publishable-api-keys). ## Mutations @@ -451,7 +451,7 @@ export default PublishableApiKeys #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Regions.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Regions.mdx index c910833b70226..1b442b3a4b0c0 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Regions.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Regions.mdx @@ -14,7 +14,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx Regions are different countries or geographical regions that the commerce store serves customers in. Admins can manage these regions, their providers, and more. -Related Guide: [How to manage regions](https://docs.medusajs.com/modules/regions-and-currencies/admin/manage-regions). +Related Guide: [How to manage regions](https://docs.medusajs.com/v1/modules/regions-and-currencies/admin/manage-regions). ## Mutations @@ -536,7 +536,7 @@ export default Regions #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Reservations.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Reservations.mdx index 80829a6951092..2e4726d838656 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Reservations.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Reservations.mdx @@ -9,15 +9,15 @@ import TypeList from "@site/src/components/TypeList" Queries and Mutations listed here are used to send requests to the [Admin Reservation API Routes](https://docs.medusajs.com/v1/api/admin#reservations). To use these hooks, make sure to install the -[@medusajs/inventory](https://docs.medusajs.com/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. +[@medusajs/inventory](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). -Reservations, provided by the [Inventory Module](https://docs.medusajs.com/modules/multiwarehouse/inventory-module), +Reservations, provided by the [Inventory Module](https://docs.medusajs.com/v1/modules/multiwarehouse/inventory-module), are quantities of an item that are reserved, typically when an order is placed but not yet fulfilled. Reservations can be associated with any resources, but commonly with line items of an order. -Related Guide: [How to manage item allocations in orders](https://docs.medusajs.com/modules/multiwarehouse/admin/manage-item-allocations-in-orders). +Related Guide: [How to manage item allocations in orders](https://docs.medusajs.com/v1/modules/multiwarehouse/admin/manage-item-allocations-in-orders). ## Mutations @@ -267,7 +267,7 @@ export default Reservations #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Return_Reasons.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Return_Reasons.mdx index 7c478485cf284..103f9ec8cd7c5 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Return_Reasons.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Return_Reasons.mdx @@ -14,7 +14,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx Return reasons are key-value pairs that are used to specify why an order return is being created. Admins can manage available return reasons, and they can be used by both admins and customers when creating a return. -Related Guide: [How to manage return reasons](https://docs.medusajs.com/modules/orders/admin/manage-returns#manage-return-reasons). +Related Guide: [How to manage return reasons](https://docs.medusajs.com/v1/modules/orders/admin/manage-returns#manage-return-reasons). ## Mutations diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Returns.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Returns.mdx index 7c3eb0f2b3fa6..2bdb14508e8e5 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Returns.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Returns.mdx @@ -14,7 +14,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx A return can be created by a customer or an admin to return items in an order. Admins can manage these returns and change their state. -Related Guide: [How to manage returns](https://docs.medusajs.com/modules/orders/admin/manage-returns). +Related Guide: [How to manage returns](https://docs.medusajs.com/v1/modules/orders/admin/manage-returns). ## Mutations diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Sales_Channels.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Sales_Channels.mdx index e065de9080f4c..54b329c2ef0be 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Sales_Channels.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Sales_Channels.mdx @@ -14,7 +14,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx A sales channel indicates a channel where products can be sold in. For example, a webshop or a mobile app. Admins can manage sales channels and the products available in them. -Related Guide: [How to manage sales channels](https://docs.medusajs.com/modules/sales-channels/admin/manage). +Related Guide: [How to manage sales channels](https://docs.medusajs.com/v1/modules/sales-channels/admin/manage). ## Mutations @@ -259,7 +259,7 @@ export default SalesChannel ### useAdminAddLocationToSalesChannel This hook associates a stock location with a sales channel. It requires the -[@medusajs/stock-location](https://docs.medusajs.com/modules/multiwarehouse/install-modules#stock-location-module) module to be installed in +[@medusajs/stock-location](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#stock-location-module) module to be installed in your Medusa backend. #### Example @@ -307,7 +307,7 @@ export default SalesChannel This hook removes a stock location from a sales channel. This only removes the association between the stock location and the sales channel. It does not delete the stock location. This hook requires the -[@medusajs/stock-location](https://docs.medusajs.com/modules/multiwarehouse/install-modules#stock-location-module) module to be installed in +[@medusajs/stock-location](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#stock-location-module) module to be installed in your Medusa backend. #### Example @@ -504,7 +504,7 @@ export default SalesChannels #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Shipping_Options.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Shipping_Options.mdx index fffabc51f2c07..87032dd7446c9 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Shipping_Options.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Shipping_Options.mdx @@ -14,7 +14,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx A shipping option is used to define the available shipping methods during checkout or when creating a return. Admins can create an unlimited number of shipping options, each associated with a shipping profile and fulfillment provider, among other resources. -Related Guide: [Shipping Option architecture](https://docs.medusajs.com/modules/carts-and-checkout/shipping#shipping-option). +Related Guide: [Shipping Option architecture](https://docs.medusajs.com/v1/modules/carts-and-checkout/shipping#shipping-option). ## Mutations diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Shipping_Profiles.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Shipping_Profiles.mdx index f1e451f8b545c..32d3a91ecc533 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Shipping_Profiles.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Shipping_Profiles.mdx @@ -14,7 +14,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx A shipping profile is used to group products that can be shipped in the same manner. They are created by the admin and they're not associated with a fulfillment provider. -Related Guide: [Shipping Profile architecture](https://docs.medusajs.com/modules/carts-and-checkout/shipping#shipping-profile). +Related Guide: [Shipping Profile architecture](https://docs.medusajs.com/v1/modules/carts-and-checkout/shipping#shipping-profile). ## Mutations diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Stock_Locations.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Stock_Locations.mdx index 3c02acba16d98..20999e83edbaf 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Stock_Locations.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Stock_Locations.mdx @@ -9,15 +9,15 @@ import TypeList from "@site/src/components/TypeList" Queries and Mutations listed here are used to send requests to the [Admin Stock Location API Routes](https://docs.medusajs.com/v1/api/admin#stock-locations). To use these hooks, make sure to install the -[@medusajs/stock-location](https://docs.medusajs.com/modules/multiwarehouse/install-modules#stock-location-module) module in your Medusa backend. +[@medusajs/stock-location](https://docs.medusajs.com/v1/modules/multiwarehouse/install-modules#stock-location-module) module in your Medusa backend. All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). -A stock location, provided by the [Stock Location module](https://docs.medusajs.com/modules/multiwarehouse/stock-location-module), +A stock location, provided by the [Stock Location module](https://docs.medusajs.com/v1/modules/multiwarehouse/stock-location-module), indicates a physical address that stock-kept items, such as physical products, can be stored in. An admin can create and manage available stock locations. -Related Guide: [How to manage stock locations](https://docs.medusajs.com/modules/multiwarehouse/admin/manage-stock-locations). +Related Guide: [How to manage stock locations](https://docs.medusajs.com/v1/modules/multiwarehouse/admin/manage-stock-locations). ## Mutations @@ -57,7 +57,7 @@ export default CreateStockLocation #### Mutation Function Returned Data -` \\| `null`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"Stock location address' ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../../medusa/types/medusa.StockLocationAddressDTO.mdx)","description":"The Address of the Stock Location","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"Stock location address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"Stock location address' country","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The stock location address' ID","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"Stock location address' complement","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"Stock location company' name","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"Stock location address' city","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"Stock location address' phone number","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"Stock location address' postal code","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"Stock location address' province","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sales_channels","type":"`any`[]","description":"The associated sales channels.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="useAdminCreateStockLocation"/> +` \\| `null`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"The associated address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](../../../medusa/interfaces/medusa.FulfillmentSetDTO.mdx)[]","description":"Fulfillment sets for the location","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](../../../medusa/interfaces/medusa.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](../../../medusa/interfaces/medusa.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](../../../medusa/interfaces/medusa.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"geo_zones","type":"[GeoZoneDTO](../../../medusa/interfaces/medusa.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[GeoZoneType](../../../medusa/types/medusa.GeoZoneType.mdx)","description":"The type of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"The province code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`null` \\| `Record`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_options","type":"[ShippingOptionDTO](../../../medusa/interfaces/medusa.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../../../medusa/types/medusa.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](../../../medusa/interfaces/medusa.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](../../../medusa/interfaces/medusa.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](../../../medusa/interfaces/medusa.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](../../../medusa/interfaces/medusa.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](../../../medusa/interfaces/medusa.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](../../../medusa/interfaces/medusa.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../../medusa/types/medusa.StockLocationAddressDTO.mdx)","description":"The address of the stock location.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"The address 1 of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"The address 2 of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"The company of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"The city of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"The phone of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"The postal code of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"The province of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sales_channels","type":"`any`[]","description":"The list of sales channels.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="useAdminCreateStockLocation"/> ### useAdminUpdateStockLocation @@ -105,7 +105,7 @@ export default StockLocation #### Mutation Function Returned Data -` \\| `null`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"Stock location address' ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../../medusa/types/medusa.StockLocationAddressDTO.mdx)","description":"The Address of the Stock Location","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"Stock location address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"Stock location address' country","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The stock location address' ID","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"Stock location address' complement","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"Stock location company' name","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"Stock location address' city","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"Stock location address' phone number","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"Stock location address' postal code","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"Stock location address' province","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sales_channels","type":"`any`[]","description":"The associated sales channels.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="useAdminUpdateStockLocation"/> +` \\| `null`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"The associated address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](../../../medusa/interfaces/medusa.FulfillmentSetDTO.mdx)[]","description":"Fulfillment sets for the location","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](../../../medusa/interfaces/medusa.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](../../../medusa/interfaces/medusa.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](../../../medusa/interfaces/medusa.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"geo_zones","type":"[GeoZoneDTO](../../../medusa/interfaces/medusa.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[GeoZoneType](../../../medusa/types/medusa.GeoZoneType.mdx)","description":"The type of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"The province code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`null` \\| `Record`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_options","type":"[ShippingOptionDTO](../../../medusa/interfaces/medusa.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../../../medusa/types/medusa.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](../../../medusa/interfaces/medusa.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](../../../medusa/interfaces/medusa.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](../../../medusa/interfaces/medusa.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](../../../medusa/interfaces/medusa.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](../../../medusa/interfaces/medusa.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](../../../medusa/interfaces/medusa.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../../medusa/types/medusa.StockLocationAddressDTO.mdx)","description":"The address of the stock location.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"The address 1 of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"The address 2 of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"The company of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"The city of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"The phone of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"The postal code of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"The province of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sales_channels","type":"`any`[]","description":"The list of sales channels.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="useAdminUpdateStockLocation"/> ### useAdminDeleteStockLocation @@ -145,7 +145,7 @@ export default StockLocation #### Mutation Function Returned Data - + ___ @@ -270,11 +270,11 @@ export default StockLocations #### Hook Parameters - + #### Query Returned Data -` \\| `null`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"Stock location address' ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../../medusa/types/medusa.StockLocationAddressDTO.mdx)","description":"The Address of the Stock Location","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"Stock location address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"Stock location address' country","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The stock location address' ID","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"Stock location address' complement","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"Stock location company' name","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"Stock location address' city","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"Stock location address' phone number","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"Stock location address' postal code","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"Stock location address' province","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sales_channels","type":"`any`[]","description":"The associated sales channels.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="useAdminStockLocations"/> +` \\| `null`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"The associated address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](../../../medusa/interfaces/medusa.FulfillmentSetDTO.mdx)[]","description":"Fulfillment sets for the location","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](../../../medusa/interfaces/medusa.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](../../../medusa/interfaces/medusa.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](../../../medusa/interfaces/medusa.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"geo_zones","type":"[GeoZoneDTO](../../../medusa/interfaces/medusa.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[GeoZoneType](../../../medusa/types/medusa.GeoZoneType.mdx)","description":"The type of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"The province code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`null` \\| `Record`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_options","type":"[ShippingOptionDTO](../../../medusa/interfaces/medusa.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../../../medusa/types/medusa.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](../../../medusa/interfaces/medusa.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](../../../medusa/interfaces/medusa.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](../../../medusa/interfaces/medusa.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](../../../medusa/interfaces/medusa.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](../../../medusa/interfaces/medusa.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](../../../medusa/interfaces/medusa.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../../medusa/types/medusa.StockLocationAddressDTO.mdx)","description":"The address of the stock location.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"The address 1 of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"The address 2 of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"The company of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"The city of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"The phone of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"The postal code of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"The province of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sales_channels","type":"`any`[]","description":"The list of sales channels.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="useAdminStockLocations"/> ### useAdminStockLocation @@ -315,4 +315,4 @@ export default StockLocation #### Query Returned Data -` \\| `null`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"Stock location address' ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../../medusa/types/medusa.StockLocationAddressDTO.mdx)","description":"The Address of the Stock Location","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"Stock location address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"Stock location address' country","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The stock location address' ID","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"Stock location address' complement","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"Stock location company' name","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"Stock location address' city","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"Stock location address' phone number","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"Stock location address' postal code","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"Stock location address' province","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sales_channels","type":"`any`[]","description":"The associated sales channels.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="useAdminStockLocation"/> +` \\| `null`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"The associated address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](../../../medusa/interfaces/medusa.FulfillmentSetDTO.mdx)[]","description":"Fulfillment sets for the location","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](../../../medusa/interfaces/medusa.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](../../../medusa/interfaces/medusa.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](../../../medusa/interfaces/medusa.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"geo_zones","type":"[GeoZoneDTO](../../../medusa/interfaces/medusa.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[GeoZoneType](../../../medusa/types/medusa.GeoZoneType.mdx)","description":"The type of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"The province code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`null` \\| `Record`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_options","type":"[ShippingOptionDTO](../../../medusa/interfaces/medusa.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../../../medusa/types/medusa.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](../../../medusa/interfaces/medusa.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](../../../medusa/interfaces/medusa.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](../../../medusa/interfaces/medusa.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](../../../medusa/interfaces/medusa.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](../../../medusa/interfaces/medusa.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](../../../medusa/interfaces/medusa.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../../medusa/types/medusa.StockLocationAddressDTO.mdx)","description":"The address of the stock location.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"The address 1 of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"The address 2 of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"The company of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"The city of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"The phone of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"The postal code of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"The province of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sales_channels","type":"`any`[]","description":"The list of sales channels.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="useAdminStockLocation"/> diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Stores.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Stores.mdx index 6d3b05fe1a8a7..983ab0b02164e 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Stores.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Stores.mdx @@ -57,7 +57,7 @@ export default Store ### useAdminAddStoreCurrency This hook adds a currency code to the available currencies in a store. This doesn't create new currencies, as currencies are defined within the Medusa backend. -To create a currency, you can [create a migration](https://docs.medusajs.com/development/entities/migrations/create) that inserts the currency into the database. +To create a currency, you can [create a migration](https://docs.medusajs.com/v1/development/entities/migrations/create) that inserts the currency into the database. #### Example diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Swaps.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Swaps.mdx index 6f2780f05d374..913c6f1f07a37 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Swaps.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Swaps.mdx @@ -14,7 +14,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx A swap is created by a customer or an admin to exchange an item with a new one. Creating a swap implicitely includes creating a return for the item being exchanged. -Related Guide: [How to manage swaps](https://docs.medusajs.com/modules/orders/admin/manage-swaps) +Related Guide: [How to manage swaps](https://docs.medusajs.com/v1/modules/orders/admin/manage-swaps) ## Mutations diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Tax_Rates.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Tax_Rates.mdx index fc329fbe8fde5..ec2ad4f03f5d4 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Tax_Rates.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Tax_Rates.mdx @@ -13,7 +13,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx Each region has at least a default tax rate. Admins can create and manage additional tax rates that can be applied for certain conditions, such as for specific product types. -Related Guide: [How to manage tax rates](https://docs.medusajs.com/modules/taxes/admin/manage-tax-rates). +Related Guide: [How to manage tax rates](https://docs.medusajs.com/v1/modules/taxes/admin/manage-tax-rates). ## Mutations @@ -567,7 +567,7 @@ export default TaxRates #### Hook Parameters - + #### Query Returned Data @@ -627,7 +627,7 @@ export default TaxRate #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Uploads.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Uploads.mdx index e39cf9b92a8a1..83fa6e6808371 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Uploads.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Uploads.mdx @@ -13,7 +13,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx The methods in this class are used to upload any type of resources. For example, they can be used to upload CSV files that are used to import products into the store. -Related Guide: [How to upload CSV file when importing a product](https://docs.medusajs.com/modules/products/admin/import-products#1-upload-csv-file). +Related Guide: [How to upload CSV file when importing a product](https://docs.medusajs.com/v1/modules/products/admin/import-products#1-upload-csv-file). ## Mutations diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Users.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Users.mdx index 39e7e54afa6bb..3aeee31425ee1 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Users.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Users.mdx @@ -13,7 +13,7 @@ All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx A store can have more than one user, each having the same privileges. Admins can manage users, their passwords, and more. -Related Guide: [How to manage users](https://docs.medusajs.com/modules/users/admin/manage-users). +Related Guide: [How to manage users](https://docs.medusajs.com/v1/modules/users/admin/manage-users). ## Mutations @@ -304,7 +304,7 @@ export default Users #### Query Returned Data -`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="useAdminUsers"/> +`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="useAdminUsers"/> ### useAdminUser diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Carts.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Carts.mdx index 16f2663ef74ba..ececca5849e17 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Carts.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Carts.mdx @@ -15,7 +15,7 @@ A cart is then used to checkout and place an order. The hooks listed have general examples on how to use them, but it's highly recommended to use the [CartProvider](../../Providers/medusa_react.Providers.Cart.mdx#cartprovider) provider and the [useCart](../../Providers/medusa_react.Providers.Cart.mdx#usecart) hook to manage your cart and access the current cart across your application. -Related Guide: [How to implement cart functionality in your storefront](https://docs.medusajs.com/modules/carts-and-checkout/storefront/implement-cart). +Related Guide: [How to implement cart functionality in your storefront](https://docs.medusajs.com/v1/modules/carts-and-checkout/storefront/implement-cart). ## Mutations diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Customers.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Customers.mdx index 594153fab2d29..6bdeecd0b59dd 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Customers.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Customers.mdx @@ -11,7 +11,7 @@ Queries and Mutations listed here are used to send requests to the [Store Custom A customer can register and manage their information such as addresses, orders, payment methods, and more. -Related Guide: [How to implement customer profiles in your storefront](https://docs.medusajs.com/modules/customers/storefront/implement-customer-profiles). +Related Guide: [How to implement customer profiles in your storefront](https://docs.medusajs.com/v1/modules/customers/storefront/implement-customer-profiles). ## Mutations @@ -62,7 +62,7 @@ export default RegisterCustomer ### useUpdateMe -This hook updates the logged-in customer's details. This hook requires [customer authentication](https://docs.medusajs.com/medusa-react/overview#customer-authentication). +This hook updates the logged-in customer's details. This hook requires [customer authentication](https://docs.medusajs.com/v1/medusa-react/overview#customer-authentication). #### Example @@ -112,7 +112,7 @@ ___ ### useMeCustomer -This hook retrieves the logged-in customer's details. It requires [customer authentication](https://docs.medusajs.com/medusa-react/overview#customer-authentication). +This hook retrieves the logged-in customer's details. It requires [customer authentication](https://docs.medusajs.com/v1/medusa-react/overview#customer-authentication). #### Example @@ -143,7 +143,7 @@ export default Customer ### useCustomerOrders This hook retrieves a list of the logged-in customer's orders. The orders can be filtered by fields such as `status` or `fulfillment_status`. The orders can also be paginated. -This hook requires [customer authentication](https://docs.medusajs.com/medusa-react/overview#customer-authentication). +This hook requires [customer authentication](https://docs.medusajs.com/v1/medusa-react/overview#customer-authentication). #### Example @@ -175,7 +175,7 @@ export default Orders #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Gift_Cards.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Gift_Cards.mdx index a4eded6b5d3f0..0adc553474863 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Gift_Cards.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Gift_Cards.mdx @@ -11,7 +11,7 @@ Queries listed here are used to send requests to the [Store Gift Card API Routes Customers can use gift cards during checkout to deduct the gift card's balance from the checkout total. -Related Guide: [How to use gift cards in a storefront](https://docs.medusajs.com/modules/gift-cards/storefront/use-gift-cards). +Related Guide: [How to use gift cards in a storefront](https://docs.medusajs.com/v1/modules/gift-cards/storefront/use-gift-cards). ## Queries diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Order_Edits.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Order_Edits.mdx index 97552a1c48903..69a617429620e 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Order_Edits.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Order_Edits.mdx @@ -12,7 +12,7 @@ Queries and Mutations listed here are used to send requests to the [Store Order Order edits are changes made to items in an order such as adding, updating their quantity, or deleting them. Order edits are created by the admin. A customer can review order edit requests created by an admin and confirm or decline them. -Related Guide: [How to handle order edits in a storefront](https://docs.medusajs.com/modules/orders/storefront/handle-order-edits). +Related Guide: [How to handle order edits in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/handle-order-edits). ## Mutations diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Orders.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Orders.mdx index 34079c61a5de9..c94c580e02f9c 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Orders.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Orders.mdx @@ -12,7 +12,7 @@ Queries and Mutations listed here are used to send requests to the [Store Order Orders are purchases made by customers, typically through a storefront. Orders are placed and created using [cart](medusa_react.Hooks.Store.Carts.mdx) hooks. The listed hooks allow retrieving and claiming orders. -Related Guide: [How to retrieve order details in a storefront](https://docs.medusajs.com/modules/orders/storefront/retrieve-order-details). +Related Guide: [How to retrieve order details in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/retrieve-order-details). ## Mutations @@ -220,7 +220,7 @@ export default Order #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Categories.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Categories.mdx index d05310756154a..de044d177ab20 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Categories.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Categories.mdx @@ -17,7 +17,7 @@ Queries listed here are used to send requests to the [Store Product Category API Products can be categoriezed into categories. A product can be associated more than one category. -Related Guide: [How to use product categories in a storefront](https://docs.medusajs.com/modules/products/storefront/use-categories). +Related Guide: [How to use product categories in a storefront](https://docs.medusajs.com/v1/modules/products/storefront/use-categories). ## Queries @@ -183,7 +183,7 @@ export default Categories #### Hook Parameters - + #### Query Returned Data @@ -252,7 +252,7 @@ export default Category #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Products.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Products.mdx index 85fb079c546da..42dd2198fb4d7 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Products.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Products.mdx @@ -9,10 +9,10 @@ import TypeList from "@site/src/components/TypeList" Queries listed here are used to send requests to the [Store Product API Routes](https://docs.medusajs.com/v1/api/store#products). -Products are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/modules/gift-cards/storefront/use-gift-cards) in a store. +Products are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/v1/modules/gift-cards/storefront/use-gift-cards) in a store. Using the methods in this class, you can filter products by categories, collections, sales channels, and more. -Related Guide: [How to show products in a storefront](https://docs.medusajs.com/modules/products/storefront/show-products). +Related Guide: [How to show products in a storefront](https://docs.medusajs.com/v1/modules/products/storefront/show-products). ## Queries @@ -123,7 +123,7 @@ export default Products #### Hook Parameters - + #### Query Returned Data diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Regions.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Regions.mdx index 2a299be3f239f..ac31947dfdaa4 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Regions.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Regions.mdx @@ -12,7 +12,7 @@ Queries listed here are used to send requests to the [Store Region API Routes](h Regions are different countries or geographical regions that the commerce store serves customers in. Customers can choose what region they're in, which can be used to change the prices shown based on the region and its currency. -Related Guide: [How to use regions in a storefront](https://docs.medusajs.com/modules/regions-and-currencies/storefront/use-regions). +Related Guide: [How to use regions in a storefront](https://docs.medusajs.com/v1/modules/regions-and-currencies/storefront/use-regions). ## Queries @@ -50,7 +50,7 @@ export default Regions #### Query Returned Data -`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Whether the prices for the region include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]}]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="useRegions"/> +`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Whether the prices for the region include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]}]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="useRegions"/> ### useRegion diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Returns.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Returns.mdx index 4ec9d7505910a..7be17321029fe 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Returns.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Returns.mdx @@ -11,7 +11,7 @@ Mutations listed here are used to send requests to the [Store Return API Routes] A return can be created by a customer to return items in an order. -Related Guide: [How to create a return in a storefront](https://docs.medusajs.com/modules/orders/storefront/create-return). +Related Guide: [How to create a return in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/create-return). ## Mutations diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Shipping_Options.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Shipping_Options.mdx index 3f954e4a9221f..323be59ba2997 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Shipping_Options.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Shipping_Options.mdx @@ -11,7 +11,7 @@ Queries listed here are used to send requests to the [Store Shipping Option API A shipping option is used to define the available shipping methods during checkout or when creating a return. -Related Guide: [Shipping Option architecture](https://docs.medusajs.com/modules/carts-and-checkout/shipping#shipping-option). +Related Guide: [Shipping Option architecture](https://docs.medusajs.com/v1/modules/carts-and-checkout/shipping#shipping-option). ## Queries diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Swaps.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Swaps.mdx index 43ebae2702382..5117dd6d585d4 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Swaps.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Swaps.mdx @@ -12,7 +12,7 @@ Queries and Mutations listed here are used to send requests to the [Store Swap A A swap is created by a customer or an admin to exchange an item with a new one. Creating a swap implicitely includes creating a return for the item being exchanged. -Related Guide: [How to create a swap in a storefront](https://docs.medusajs.com/modules/orders/storefront/create-swap) +Related Guide: [How to create a swap in a storefront](https://docs.medusajs.com/v1/modules/orders/storefront/create-swap) ## Mutations diff --git a/www/apps/docs/content/references/medusa_react/Providers/medusa_react.Providers.Cart.mdx b/www/apps/docs/content/references/medusa_react/Providers/medusa_react.Providers.Cart.mdx index d7c2a2c65e716..3ec27c0cdce92 100644 --- a/www/apps/docs/content/references/medusa_react/Providers/medusa_react.Providers.Cart.mdx +++ b/www/apps/docs/content/references/medusa_react/Providers/medusa_react.Providers.Cart.mdx @@ -14,8 +14,8 @@ This hook exposes the context of [CartProvider](medusa_react.Providers.Cart.mdx# The context provides helper functions and mutations for managing the cart and checkout. You can refer to the following guides for examples on how to use them: -- [How to Add Cart Functionality](https://docs.medusajs.com/modules/carts-and-checkout/storefront/implement-cart) -- [How to Implement Checkout Flow](https://docs.medusajs.com/modules/carts-and-checkout/storefront/implement-checkout-flow) +- [How to Add Cart Functionality](https://docs.medusajs.com/v1/modules/carts-and-checkout/storefront/implement-cart) +- [How to Implement Checkout Flow](https://docs.medusajs.com/v1/modules/carts-and-checkout/storefront/implement-checkout-flow) ### Example diff --git a/www/apps/docs/content/references/medusa_react/Providers/medusa_react.Providers.Medusa.mdx b/www/apps/docs/content/references/medusa_react/Providers/medusa_react.Providers.Medusa.mdx index eaa2d9c7dc2c2..f8ec62a3f15cd 100644 --- a/www/apps/docs/content/references/medusa_react/Providers/medusa_react.Providers.Medusa.mdx +++ b/www/apps/docs/content/references/medusa_react/Providers/medusa_react.Providers.Medusa.mdx @@ -11,7 +11,7 @@ import TypeList from "@site/src/components/TypeList" ## useMedusa This hook gives you access to context of [MedusaProvider](medusa_react.Providers.Medusa.mdx#medusaprovider). It's useful if you want access to the -[Medusa JS Client](https://docs.medusajs.com/js-client/overview). +[Medusa JS Client](https://docs.medusajs.com/v1/js-client/overview). ### Example @@ -86,7 +86,7 @@ The `Storefront` component and its child components can now use hooks exposed by ### Parameters -`","description":"An object of custom headers to pass with every request. Each key of the object is the name of the header, and its value is the header's value.","optional":true,"defaultValue":"`{}`","expandable":false,"children":[]},{"name":"medusaClient","type":"`Medusa`","description":"An instance of the Medusa JS Client. If you don't provide an instance, one will be created using the `baseUrl`, `apiKey`, \n`publishableApiKey`, `maxRetries`, and `customHeaders` props.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="MedusaProvider"/> +`","description":"An object of custom headers to pass with every request. Each key of the object is the name of the header, and its value is the header's value.","optional":true,"defaultValue":"`{}`","expandable":false,"children":[]},{"name":"medusaClient","type":"`Medusa`","description":"An instance of the Medusa JS Client. If you don't provide an instance, one will be created using the `baseUrl`, `apiKey`, \n`publishableApiKey`, `maxRetries`, and `customHeaders` props.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="MedusaProvider"/> ### Returns diff --git a/www/apps/docs/content/references/medusa_react/interfaces/medusa_react.MedusaProviderProps.mdx b/www/apps/docs/content/references/medusa_react/interfaces/medusa_react.MedusaProviderProps.mdx index 25993f0e0b2b0..28b2820702e6f 100644 --- a/www/apps/docs/content/references/medusa_react/interfaces/medusa_react.MedusaProviderProps.mdx +++ b/www/apps/docs/content/references/medusa_react/interfaces/medusa_react.MedusaProviderProps.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" ## Properties -`","description":"An object of custom headers to pass with every request. Each key of the object is the name of the header, and its value is the header's value.","optional":true,"defaultValue":"`{}`","expandable":false,"children":[]},{"name":"medusaClient","type":"`Medusa`","description":"An instance of the Medusa JS Client. If you don't provide an instance, one will be created using the `baseUrl`, `apiKey`, \n`publishableApiKey`, `maxRetries`, and `customHeaders` props.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="MedusaProviderProps"/> +`","description":"An object of custom headers to pass with every request. Each key of the object is the name of the header, and its value is the header's value.","optional":true,"defaultValue":"`{}`","expandable":false,"children":[]},{"name":"medusaClient","type":"`Medusa`","description":"An instance of the Medusa JS Client. If you don't provide an instance, one will be created using the `baseUrl`, `apiKey`, \n`publishableApiKey`, `maxRetries`, and `customHeaders` props.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="MedusaProviderProps"/> diff --git a/www/apps/docs/content/references/modules/medusa.mdx b/www/apps/docs/content/references/modules/medusa.mdx index 6b00b4b739eea..be2d87c554695 100644 --- a/www/apps/docs/content/references/modules/medusa.mdx +++ b/www/apps/docs/content/references/modules/medusa.mdx @@ -16,6 +16,7 @@ import TypeList from "@site/src/components/TypeList" - [PostgresError](../medusa/enums/medusa.PostgresError.mdx) - [MODULE\_RESOURCE\_TYPE](../medusa/enums/medusa.MODULE_RESOURCE_TYPE.mdx) - [ProductStatus](../medusa/enums/medusa.ProductStatus.mdx) +- [TransactionHandlerType](../medusa/enums/medusa.TransactionHandlerType.mdx) - [PriceListStatus](../medusa/enums/medusa.PriceListStatus-1.mdx) - [PriceListType](../medusa/enums/medusa.PriceListType-1.mdx) @@ -50,8 +51,8 @@ import TypeList from "@site/src/components/TypeList" - [AdminPostDiscountsDiscountConditionsConditionBatchParams](../medusa/classes/medusa.AdminPostDiscountsDiscountConditionsConditionBatchParams.mdx) - [AdminPostDiscountsDiscountConditions](../medusa/classes/medusa.AdminPostDiscountsDiscountConditions.mdx) - [AdminPostDiscountsDiscountConditionsParams](../medusa/classes/medusa.AdminPostDiscountsDiscountConditionsParams.mdx) -- [AdminPostDiscountsReq](../medusa/classes/medusa.AdminPostDiscountsReq.mdx) - [AdminPostDiscountsDiscountRule](../medusa/classes/medusa.AdminPostDiscountsDiscountRule.mdx) +- [AdminPostDiscountsReq](../medusa/classes/medusa.AdminPostDiscountsReq.mdx) - [AdminCreateCondition](../medusa/classes/medusa.AdminCreateCondition.mdx) - [AdminPostDiscountsParams](../medusa/classes/medusa.AdminPostDiscountsParams.mdx) - [AdminPostDiscountsDiscountDynamicCodesReq](../medusa/classes/medusa.AdminPostDiscountsDiscountDynamicCodesReq.mdx) @@ -64,8 +65,8 @@ import TypeList from "@site/src/components/TypeList" - [AdminGetDiscountsParams](../medusa/classes/medusa.AdminGetDiscountsParams.mdx) - [AdminPostDiscountsDiscountConditionsCondition](../medusa/classes/medusa.AdminPostDiscountsDiscountConditionsCondition.mdx) - [AdminPostDiscountsDiscountConditionsConditionParams](../medusa/classes/medusa.AdminPostDiscountsDiscountConditionsConditionParams.mdx) -- [AdminPostDiscountsDiscountReq](../medusa/classes/medusa.AdminPostDiscountsDiscountReq.mdx) - [AdminUpdateDiscountRule](../medusa/classes/medusa.AdminUpdateDiscountRule.mdx) +- [AdminPostDiscountsDiscountReq](../medusa/classes/medusa.AdminPostDiscountsDiscountReq.mdx) - [AdminUpsertCondition](../medusa/classes/medusa.AdminUpsertCondition.mdx) - [AdminPostDiscountsDiscountParams](../medusa/classes/medusa.AdminPostDiscountsDiscountParams.mdx) - [AdminPostDraftOrdersReq](../medusa/classes/medusa.AdminPostDraftOrdersReq.mdx) @@ -119,11 +120,11 @@ import TypeList from "@site/src/components/TypeList" - [AdminPostOrdersOrderCompleteParams](../medusa/classes/medusa.AdminPostOrdersOrderCompleteParams.mdx) - [AdminPostOrdersOrderClaimsClaimShipmentsReq](../medusa/classes/medusa.AdminPostOrdersOrderClaimsClaimShipmentsReq.mdx) - [AdminPostOrdersOrderClaimsClaimShipmentsParams](../medusa/classes/medusa.AdminPostOrdersOrderClaimsClaimShipmentsParams.mdx) -- [AdminPostOrdersOrderClaimsReq](../medusa/classes/medusa.AdminPostOrdersOrderClaimsReq.mdx) - [ReturnShipping](../medusa/classes/medusa.ReturnShipping.mdx) - [ShippingMethod](../medusa/classes/medusa.ShippingMethod-1.mdx) - [Item](../medusa/classes/medusa.Item-1.mdx) - [AdditionalItem](../medusa/classes/medusa.AdditionalItem.mdx) +- [AdminPostOrdersOrderClaimsReq](../medusa/classes/medusa.AdminPostOrdersOrderClaimsReq.mdx) - [AdminPostOrdersOrderClaimsParams](../medusa/classes/medusa.AdminPostOrdersOrderClaimsParams.mdx) - [AdminPostOrdersOrderFulfillmentsReq](../medusa/classes/medusa.AdminPostOrdersOrderFulfillmentsReq.mdx) - [Item](../medusa/classes/medusa.Item-2.mdx) @@ -132,11 +133,11 @@ import TypeList from "@site/src/components/TypeList" - [AdminPostOrdersOrderShipmentParams](../medusa/classes/medusa.AdminPostOrdersOrderShipmentParams.mdx) - [AdminPostOrdersOrderSwapsSwapShipmentsReq](../medusa/classes/medusa.AdminPostOrdersOrderSwapsSwapShipmentsReq.mdx) - [AdminPostOrdersOrderSwapsSwapShipmentsParams](../medusa/classes/medusa.AdminPostOrdersOrderSwapsSwapShipmentsParams.mdx) -- [AdminPostOrdersOrderSwapsReq](../medusa/classes/medusa.AdminPostOrdersOrderSwapsReq.mdx) - [ReturnItem](../medusa/classes/medusa.ReturnItem.mdx) - [ReturnShipping](../medusa/classes/medusa.ReturnShipping-1.mdx) - [CustomShippingOption](../medusa/classes/medusa.CustomShippingOption.mdx) - [AdditionalItem](../medusa/classes/medusa.AdditionalItem-1.mdx) +- [AdminPostOrdersOrderSwapsReq](../medusa/classes/medusa.AdminPostOrdersOrderSwapsReq.mdx) - [AdminPostOrdersOrderSwapsParams](../medusa/classes/medusa.AdminPostOrdersOrderSwapsParams.mdx) - [AdminPostOrdersOrderClaimsClaimFulfillmentsReq](../medusa/classes/medusa.AdminPostOrdersOrderClaimsClaimFulfillmentsReq.mdx) - [AdminPostOrdersOrderClaimsClaimFulfillmentsParams](../medusa/classes/medusa.AdminPostOrdersOrderClaimsClaimFulfillmentsParams.mdx) @@ -147,8 +148,8 @@ import TypeList from "@site/src/components/TypeList" - [AdminPostOrdersOrderSwapsSwapProcessPaymentParams](../medusa/classes/medusa.AdminPostOrdersOrderSwapsSwapProcessPaymentParams.mdx) - [AdminPostOrdersOrderRefundsReq](../medusa/classes/medusa.AdminPostOrdersOrderRefundsReq.mdx) - [AdminPostOrdersOrderRefundsParams](../medusa/classes/medusa.AdminPostOrdersOrderRefundsParams.mdx) -- [AdminPostOrdersOrderReturnsReq](../medusa/classes/medusa.AdminPostOrdersOrderReturnsReq.mdx) - [ReturnShipping](../medusa/classes/medusa.ReturnShipping-2.mdx) +- [AdminPostOrdersOrderReturnsReq](../medusa/classes/medusa.AdminPostOrdersOrderReturnsReq.mdx) - [AdminPostOrdersOrderReturnsParams](../medusa/classes/medusa.AdminPostOrdersOrderReturnsParams.mdx) - [AdminPostOrdersOrderClaimsClaimReq](../medusa/classes/medusa.AdminPostOrdersOrderClaimsClaimReq.mdx) - [ShippingMethod](../medusa/classes/medusa.ShippingMethod-2.mdx) @@ -156,9 +157,9 @@ import TypeList from "@site/src/components/TypeList" - [Image](../medusa/classes/medusa.Image.mdx) - [Tag](../medusa/classes/medusa.Tag.mdx) - [AdminPostOrdersOrderClaimsClaimParams](../medusa/classes/medusa.AdminPostOrdersOrderClaimsClaimParams.mdx) -- [AdminPostOrdersOrderReq](../medusa/classes/medusa.AdminPostOrdersOrderReq.mdx) - [PaymentMethod](../medusa/classes/medusa.PaymentMethod.mdx) - [ShippingMethod](../medusa/classes/medusa.ShippingMethod-3.mdx) +- [AdminPostOrdersOrderReq](../medusa/classes/medusa.AdminPostOrdersOrderReq.mdx) - [AdminPostOrdersOrderParams](../medusa/classes/medusa.AdminPostOrdersOrderParams.mdx) - [AdminGetPaymentCollectionsParams](../medusa/classes/medusa.AdminGetPaymentCollectionsParams.mdx) - [AdminUpdatePaymentCollectionsReq](../medusa/classes/medusa.AdminUpdatePaymentCollectionsReq.mdx) @@ -213,6 +214,7 @@ import TypeList from "@site/src/components/TypeList" - [AdminPostRegionsRegionFulfillmentProvidersReq](../medusa/classes/medusa.AdminPostRegionsRegionFulfillmentProvidersReq.mdx) - [AdminPostRegionsRegionPaymentProvidersReq](../medusa/classes/medusa.AdminPostRegionsRegionPaymentProvidersReq.mdx) - [AdminPostRegionsReq](../medusa/classes/medusa.AdminPostRegionsReq.mdx) +- [AdminGetRegionsRegionParams](../medusa/classes/medusa.AdminGetRegionsRegionParams.mdx) - [FulfillmentOption](../medusa/classes/medusa.FulfillmentOption.mdx) - [AdminGetRegionsRegionFulfillmentOptionsRes](../medusa/classes/medusa.AdminGetRegionsRegionFulfillmentOptionsRes.mdx) - [AdminGetRegionsParams](../medusa/classes/medusa.AdminGetRegionsParams.mdx) @@ -277,6 +279,10 @@ import TypeList from "@site/src/components/TypeList" - [AdminUpdateUserRequest](../medusa/classes/medusa.AdminUpdateUserRequest.mdx) - [AdminGetVariantParams](../medusa/classes/medusa.AdminGetVariantParams.mdx) - [AdminGetVariantsParams](../medusa/classes/medusa.AdminGetVariantsParams.mdx) +- [AdminGetWorkflowExecutionDetailsParams](../medusa/classes/medusa.AdminGetWorkflowExecutionDetailsParams.mdx) +- [AdminGetWorkflowExecutionsParams](../medusa/classes/medusa.AdminGetWorkflowExecutionsParams.mdx) +- [AdminPostWorkflowsRunReq](../medusa/classes/medusa.AdminPostWorkflowsRunReq.mdx) +- [AdminPostWorkflowsAsyncResponseReq](../medusa/classes/medusa.AdminPostWorkflowsAsyncResponseReq.mdx) - [StorePostAuthReq](../medusa/classes/medusa.StorePostAuthReq.mdx) - [StorePostCartsCartShippingMethodReq](../medusa/classes/medusa.StorePostCartsCartShippingMethodReq.mdx) - [Item](../medusa/classes/medusa.Item-5.mdx) @@ -392,7 +398,10 @@ import TypeList from "@site/src/components/TypeList" - [PaginatedResponse](../medusa/interfaces/medusa.PaginatedResponse.mdx) - [DeleteResponse](../medusa/interfaces/medusa.DeleteResponse.mdx) - [MedusaRequest](../medusa/interfaces/medusa.MedusaRequest.mdx) +- [AuthenticatedMedusaRequest](../medusa/interfaces/medusa.AuthenticatedMedusaRequest.mdx) - [SubscriberContext](../medusa/interfaces/medusa.SubscriberContext.mdx) +- [RequestQueryFields](../medusa/interfaces/medusa.RequestQueryFields-1.mdx) +- [PaginatedResponse](../medusa/interfaces/medusa.PaginatedResponse-1.mdx) - [SessionOptions](../medusa/interfaces/medusa.SessionOptions.mdx) - [HttpCompressionOptions](../medusa/interfaces/medusa.HttpCompressionOptions.mdx) - [ProjectConfigOptions](../medusa/interfaces/medusa.ProjectConfigOptions.mdx) @@ -402,8 +411,18 @@ import TypeList from "@site/src/components/TypeList" - [GetUploadedFileType](../medusa/interfaces/medusa.GetUploadedFileType.mdx) - [DeleteFileType](../medusa/interfaces/medusa.DeleteFileType.mdx) - [UploadStreamDescriptorType](../medusa/interfaces/medusa.UploadStreamDescriptorType.mdx) -- [JoinerServiceConfigAlias](../medusa/interfaces/medusa.JoinerServiceConfigAlias.mdx) -- [JoinerServiceConfig](../medusa/interfaces/medusa.JoinerServiceConfig.mdx) +- [FulfillmentAddressDTO](../medusa/interfaces/medusa.FulfillmentAddressDTO.mdx) +- [FulfillmentItemDTO](../medusa/interfaces/medusa.FulfillmentItemDTO.mdx) +- [FulfillmentLabelDTO](../medusa/interfaces/medusa.FulfillmentLabelDTO.mdx) +- [FulfillmentProviderDTO](../medusa/interfaces/medusa.FulfillmentProviderDTO.mdx) +- [FulfillmentSetDTO](../medusa/interfaces/medusa.FulfillmentSetDTO.mdx) +- [FulfillmentDTO](../medusa/interfaces/medusa.FulfillmentDTO.mdx) +- [GeoZoneDTO](../medusa/interfaces/medusa.GeoZoneDTO.mdx) +- [ServiceZoneDTO](../medusa/interfaces/medusa.ServiceZoneDTO.mdx) +- [ShippingOptionRuleDTO](../medusa/interfaces/medusa.ShippingOptionRuleDTO.mdx) +- [ShippingOptionTypeDTO](../medusa/interfaces/medusa.ShippingOptionTypeDTO.mdx) +- [ShippingOptionDTO](../medusa/interfaces/medusa.ShippingOptionDTO.mdx) +- [ShippingProfileDTO](../medusa/interfaces/medusa.ShippingProfileDTO.mdx) - [Logger](../medusa/interfaces/medusa.Logger-1.mdx) - [ProductDTO](../medusa/interfaces/medusa.ProductDTO.mdx) - [ProductVariantDTO](../medusa/interfaces/medusa.ProductVariantDTO.mdx) @@ -594,6 +613,7 @@ import TypeList from "@site/src/components/TypeList" - [MiddlewareVerb](../medusa/types/medusa.MiddlewareVerb.mdx) - [MiddlewareFunction](../medusa/types/medusa.MiddlewareFunction.mdx) - [MedusaErrorHandlerFunction](../medusa/types/medusa.MedusaErrorHandlerFunction.mdx) +- [ParserConfigArgs](../medusa/types/medusa.ParserConfigArgs.mdx) - [ParserConfig](../medusa/types/medusa.ParserConfig.mdx) - [MiddlewareRoute](../medusa/types/medusa.MiddlewareRoute.mdx) - [MiddlewaresConfig](../medusa/types/medusa.MiddlewaresConfig.mdx) @@ -612,6 +632,7 @@ import TypeList from "@site/src/components/TypeList" - [Selector](../medusa/types/medusa.Selector.mdx) - [TotalField](../medusa/types/medusa.TotalField.mdx) - [QueryConfig](../medusa/types/medusa.QueryConfig.mdx) +- [DraftOrderStatusValue](../medusa/types/medusa.DraftOrderStatusValue.mdx) - [FeatureFlagsResponse](../medusa/types/medusa.FeatureFlagsResponse.mdx) - [CreateReturnType](../medusa/types/medusa.CreateReturnType.mdx) - [ExtendedRequest](../medusa/types/medusa.ExtendedRequest.mdx) @@ -648,13 +669,13 @@ import TypeList from "@site/src/components/TypeList" - [GiftCardAllocation](../medusa/types/medusa.GiftCardAllocation.mdx) - [DiscountAllocation](../medusa/types/medusa.DiscountAllocation.mdx) - [LineAllocationsMap](../medusa/types/medusa.LineAllocationsMap.mdx) -- [PaginatedResponse](../medusa/types/medusa.PaginatedResponse-1.mdx) - [DeleteResponse](../medusa/types/medusa.DeleteResponse-1.mdx) - [MedusaContainer](../medusa/types/medusa.MedusaContainer-2.mdx) +- [GeoZoneType](../medusa/types/medusa.GeoZoneType.mdx) +- [ShippingOptionPriceType](../medusa/types/medusa.ShippingOptionPriceType.mdx) - [InventoryItemDTO](../medusa/types/medusa.InventoryItemDTO.mdx) - [ReservationItemDTO](../medusa/types/medusa.ReservationItemDTO.mdx) - [InventoryLevelDTO](../medusa/types/medusa.InventoryLevelDTO.mdx) -- [JoinerRelationship](../medusa/types/medusa.JoinerRelationship.mdx) - [Constructor](../medusa/types/medusa.Constructor-1.mdx) - [InternalModuleDeclaration](../medusa/types/medusa.InternalModuleDeclaration.mdx) - [ExternalModuleDeclaration](../medusa/types/medusa.ExternalModuleDeclaration.mdx) @@ -662,9 +683,8 @@ import TypeList from "@site/src/components/TypeList" - [LoaderOptions](../medusa/types/medusa.LoaderOptions.mdx) - [ModuleLoaderFunction](../medusa/types/medusa.ModuleLoaderFunction.mdx) - [ModulesResponse](../medusa/types/medusa.ModulesResponse-1.mdx) -- [ModuleJoinerConfig](../medusa/types/medusa.ModuleJoinerConfig.mdx) -- [ModuleJoinerRelationship](../medusa/types/medusa.ModuleJoinerRelationship.mdx) - [ModuleExports](../medusa/types/medusa.ModuleExports.mdx) +- [MedusaPricingContext](../medusa/types/medusa.MedusaPricingContext.mdx) - [StockLocationAddressDTO](../medusa/types/medusa.StockLocationAddressDTO.mdx) - [StockLocationDTO](../medusa/types/medusa.StockLocationDTO.mdx) - [StockLocationExpandedDTO](../medusa/types/medusa.StockLocationExpandedDTO.mdx) @@ -799,14 +819,6 @@ ___ `Const` **defaultPaymentFields**: `string`[] -### defaultAdminPriceListRemoteQueryObject - - `Const` **defaultAdminPriceListRemoteQueryObject**: `Object` - -#### Properties - - - ### defaultAdminPriceListFields `Const` **defaultAdminPriceListFields**: `string`[] @@ -855,6 +867,10 @@ ___ `Const` **defaultAdminGetProductsVariantsFields**: `string`[] +### defaultAdminGetProductsVariantsRelations + + `Const` **defaultAdminGetProductsVariantsRelations**: `string`[] + ### defaultAdminProductRemoteQueryObject `Const` **defaultAdminProductRemoteQueryObject**: `Object` @@ -961,6 +977,22 @@ This is temporary. `Const` **defaultAdminVariantFields**: keyof [ProductVariant](../entities/classes/entities.ProductVariant.mdx)[] +### defaultAdminWorkflowExecutionsRelations + + `Const` **defaultAdminWorkflowExecutionsRelations**: `never`[] = `[]` + +### allowedAdminWorkflowExecutionsRelations + + `Const` **allowedAdminWorkflowExecutionsRelations**: `never`[] = `[]` + +### defaultAdminWorkflowExecutionsFields + + `Const` **defaultAdminWorkflowExecutionsFields**: `string`[] + +### defaultAdminWorkflowExecutionDetailFields + + `Const` **defaultAdminWorkflowExecutionDetailFields**: `string`[] + ### defaultStoreCartFields `Const` **defaultStoreCartFields**: keyof [Cart](../entities/classes/entities.Cart.mdx)[] = `[]` @@ -1139,10 +1171,6 @@ This is temporary. -### joinerConfig - - `Const` **joinerConfig**: [ModuleJoinerConfig](../medusa/types/medusa.ModuleJoinerConfig.mdx)[] - ### HTTP\_METHODS `Const` **HTTP\_METHODS**: readonly [`"GET"`, `"POST"`, `"PUT"`, `"PATCH"`, `"DELETE"`, `"OPTIONS"`, `"HEAD"`] @@ -1313,11 +1341,11 @@ Middleware that transform the query input for the admin end points #### Type Parameters - + #### Parameters - + #### Returns @@ -1337,11 +1365,11 @@ Middleware that transform the query input for the store endpoints #### Type Parameters - + #### Parameters - + #### Returns @@ -1355,6 +1383,10 @@ Middleware that transform the query input for the store endpoints +#### Deprecated + +use `transformQuery` instead + ### reserveQuantityForDraftOrder #### Parameters @@ -1419,7 +1451,7 @@ Middleware that transform the query input for the store endpoints #### Parameters - + #### Returns diff --git a/www/apps/docs/content/references/modules/medusa_config.mdx b/www/apps/docs/content/references/modules/medusa_config.mdx index 0684d2d60c70a..fec07c3ebaf6f 100644 --- a/www/apps/docs/content/references/modules/medusa_config.mdx +++ b/www/apps/docs/content/references/modules/medusa_config.mdx @@ -7,3 +7,7 @@ import TypeList from "@site/src/components/TypeList" - [HttpCompressionOptions](../medusa_config/interfaces/medusa_config.HttpCompressionOptions.mdx) - [ProjectConfigOptions](../medusa_config/interfaces/medusa_config.ProjectConfigOptions.mdx) - [ConfigModule](../medusa_config/interfaces/medusa_config.ConfigModule.mdx) + +## Type Aliases + +- [PluginDetails](../medusa_config/types/medusa_config.PluginDetails.mdx) diff --git a/www/apps/docs/content/references/modules/pricing.mdx b/www/apps/docs/content/references/modules/pricing.mdx index d7979cca23041..8e33af4396915 100644 --- a/www/apps/docs/content/references/modules/pricing.mdx +++ b/www/apps/docs/content/references/modules/pricing.mdx @@ -16,16 +16,13 @@ import TypeList from "@site/src/components/TypeList" - [JoinerServiceConfigAlias](../pricing/interfaces/pricing.JoinerServiceConfigAlias.mdx) - [JoinerServiceConfig](../pricing/interfaces/pricing.JoinerServiceConfig.mdx) - [IModuleService](../pricing/interfaces/pricing.IModuleService.mdx) -- [CurrencyDTO](../pricing/interfaces/pricing.CurrencyDTO.mdx) -- [CreateCurrencyDTO](../pricing/interfaces/pricing.CreateCurrencyDTO.mdx) -- [UpdateCurrencyDTO](../pricing/interfaces/pricing.UpdateCurrencyDTO.mdx) -- [FilterableCurrencyProps](../pricing/interfaces/pricing.FilterableCurrencyProps.mdx) - [MoneyAmountDTO](../pricing/interfaces/pricing.MoneyAmountDTO.mdx) - [CreateMoneyAmountDTO](../pricing/interfaces/pricing.CreateMoneyAmountDTO.mdx) - [UpdateMoneyAmountDTO](../pricing/interfaces/pricing.UpdateMoneyAmountDTO.mdx) - [FilterableMoneyAmountProps](../pricing/interfaces/pricing.FilterableMoneyAmountProps.mdx) - [PriceListDTO](../pricing/interfaces/pricing.PriceListDTO.mdx) -- [PriceListPriceDTO](../pricing/interfaces/pricing.PriceListPriceDTO.mdx) +- [CreatePriceListPriceDTO](../pricing/interfaces/pricing.CreatePriceListPriceDTO.mdx) +- [UpdatePriceListPriceDTO](../pricing/interfaces/pricing.UpdatePriceListPriceDTO.mdx) - [CreatePriceSetPriceRules](../pricing/interfaces/pricing.CreatePriceSetPriceRules.mdx) - [CreatePriceListRules](../pricing/interfaces/pricing.CreatePriceListRules.mdx) - [CreatePriceListDTO](../pricing/interfaces/pricing.CreatePriceListDTO.mdx) @@ -37,18 +34,13 @@ import TypeList from "@site/src/components/TypeList" - [UpdatePriceListRuleDTO](../pricing/interfaces/pricing.UpdatePriceListRuleDTO.mdx) - [PriceListRuleValueDTO](../pricing/interfaces/pricing.PriceListRuleValueDTO.mdx) - [AddPriceListPricesDTO](../pricing/interfaces/pricing.AddPriceListPricesDTO.mdx) +- [UpdatePriceListPricesDTO](../pricing/interfaces/pricing.UpdatePriceListPricesDTO.mdx) - [SetPriceListRulesDTO](../pricing/interfaces/pricing.SetPriceListRulesDTO.mdx) - [RemovePriceListRulesDTO](../pricing/interfaces/pricing.RemovePriceListRulesDTO.mdx) - [PriceRuleDTO](../pricing/interfaces/pricing.PriceRuleDTO.mdx) - [CreatePriceRuleDTO](../pricing/interfaces/pricing.CreatePriceRuleDTO.mdx) - [UpdatePriceRuleDTO](../pricing/interfaces/pricing.UpdatePriceRuleDTO.mdx) - [FilterablePriceRuleProps](../pricing/interfaces/pricing.FilterablePriceRuleProps.mdx) -- [PriceSetMoneyAmountRulesDTO](../pricing/interfaces/pricing.PriceSetMoneyAmountRulesDTO.mdx) -- [CreatePriceSetMoneyAmountRulesDTO](../pricing/interfaces/pricing.CreatePriceSetMoneyAmountRulesDTO.mdx) -- [UpdatePriceSetMoneyAmountRulesDTO](../pricing/interfaces/pricing.UpdatePriceSetMoneyAmountRulesDTO.mdx) -- [FilterablePriceSetMoneyAmountRulesProps](../pricing/interfaces/pricing.FilterablePriceSetMoneyAmountRulesProps.mdx) -- [PriceSetMoneyAmountDTO](../pricing/interfaces/pricing.PriceSetMoneyAmountDTO.mdx) -- [FilterablePriceSetMoneyAmountProps](../pricing/interfaces/pricing.FilterablePriceSetMoneyAmountProps.mdx) - [PricingContext](../pricing/interfaces/pricing.PricingContext.mdx) - [PricingFilters](../pricing/interfaces/pricing.PricingFilters.mdx) - [PriceSetDTO](../pricing/interfaces/pricing.PriceSetDTO.mdx) @@ -58,8 +50,11 @@ import TypeList from "@site/src/components/TypeList" - [AddPricesDTO](../pricing/interfaces/pricing.AddPricesDTO.mdx) - [RemovePriceSetRulesDTO](../pricing/interfaces/pricing.RemovePriceSetRulesDTO.mdx) - [CreatePriceSetDTO](../pricing/interfaces/pricing.CreatePriceSetDTO.mdx) +- [UpsertPriceSetDTO](../pricing/interfaces/pricing.UpsertPriceSetDTO.mdx) - [UpdatePriceSetDTO](../pricing/interfaces/pricing.UpdatePriceSetDTO.mdx) - [FilterablePriceSetProps](../pricing/interfaces/pricing.FilterablePriceSetProps.mdx) +- [PriceDTO](../pricing/interfaces/pricing.PriceDTO.mdx) +- [FilterablePriceProps](../pricing/interfaces/pricing.FilterablePriceProps.mdx) - [RuleTypeDTO](../pricing/interfaces/pricing.RuleTypeDTO.mdx) - [CreateRuleTypeDTO](../pricing/interfaces/pricing.CreateRuleTypeDTO.mdx) - [UpdateRuleTypeDTO](../pricing/interfaces/pricing.UpdateRuleTypeDTO.mdx) @@ -71,8 +66,22 @@ import TypeList from "@site/src/components/TypeList" ## Type Aliases +- [Query](../pricing/types/pricing.Query.mdx) +- [ExpandScalar](../pricing/types/pricing.ExpandScalar.mdx) +- [Scalar](../pricing/types/pricing.Scalar.mdx) +- [ReadonlyPrimary](../pricing/types/pricing.ReadonlyPrimary.mdx) +- [Primary](../pricing/types/pricing.Primary.mdx) +- [OperatorMap](../pricing/types/pricing.OperatorMap.mdx) +- [FilterValue2](../pricing/types/pricing.FilterValue2.mdx) +- [FilterValue](../pricing/types/pricing.FilterValue.mdx) +- [PrevLimit](../pricing/types/pricing.PrevLimit.mdx) +- [FilterQuery](../pricing/types/pricing.FilterQuery.mdx) - [MessageBody](../pricing/types/pricing.MessageBody.mdx) - [Message](../pricing/types/pricing.Message.mdx) +- [MessageFormat](../pricing/types/pricing.MessageFormat.mdx) - [JoinerRelationship](../pricing/types/pricing.JoinerRelationship.mdx) - [ModuleJoinerConfig](../pricing/types/pricing.ModuleJoinerConfig.mdx) - [ModuleJoinerRelationship](../pricing/types/pricing.ModuleJoinerRelationship.mdx) +- [BigNumberRawValue](../pricing/types/pricing.BigNumberRawValue.mdx) +- [BigNumberInput](../pricing/types/pricing.BigNumberInput.mdx) +- [BigNumberValue](../pricing/types/pricing.BigNumberValue.mdx) diff --git a/www/apps/docs/content/references/modules/product.mdx b/www/apps/docs/content/references/modules/product.mdx index 28ec4a82abcd7..8d2817dca243f 100644 --- a/www/apps/docs/content/references/modules/product.mdx +++ b/www/apps/docs/content/references/modules/product.mdx @@ -34,17 +34,24 @@ import TypeList from "@site/src/components/TypeList" - [FilterableProductVariantProps](../product/interfaces/product.FilterableProductVariantProps.mdx) - [FilterableProductCategoryProps](../product/interfaces/product.FilterableProductCategoryProps.mdx) - [CreateProductCollectionDTO](../product/interfaces/product.CreateProductCollectionDTO.mdx) +- [UpsertProductCollectionDTO](../product/interfaces/product.UpsertProductCollectionDTO.mdx) - [UpdateProductCollectionDTO](../product/interfaces/product.UpdateProductCollectionDTO.mdx) - [CreateProductTypeDTO](../product/interfaces/product.CreateProductTypeDTO.mdx) +- [UpsertProductTypeDTO](../product/interfaces/product.UpsertProductTypeDTO.mdx) - [UpdateProductTypeDTO](../product/interfaces/product.UpdateProductTypeDTO.mdx) +- [UpsertProductImageDTO](../product/interfaces/product.UpsertProductImageDTO.mdx) +- [UpdateProductImageDTO](../product/interfaces/product.UpdateProductImageDTO.mdx) - [CreateProductTagDTO](../product/interfaces/product.CreateProductTagDTO.mdx) +- [UpsertProductTagDTO](../product/interfaces/product.UpsertProductTagDTO.mdx) - [UpdateProductTagDTO](../product/interfaces/product.UpdateProductTagDTO.mdx) - [CreateProductOptionDTO](../product/interfaces/product.CreateProductOptionDTO.mdx) +- [UpsertProductOptionDTO](../product/interfaces/product.UpsertProductOptionDTO.mdx) - [UpdateProductOptionDTO](../product/interfaces/product.UpdateProductOptionDTO.mdx) -- [CreateProductVariantOptionDTO](../product/interfaces/product.CreateProductVariantOptionDTO.mdx) - [CreateProductVariantDTO](../product/interfaces/product.CreateProductVariantDTO.mdx) +- [UpsertProductVariantDTO](../product/interfaces/product.UpsertProductVariantDTO.mdx) - [UpdateProductVariantDTO](../product/interfaces/product.UpdateProductVariantDTO.mdx) - [CreateProductDTO](../product/interfaces/product.CreateProductDTO.mdx) +- [UpsertProductDTO](../product/interfaces/product.UpsertProductDTO.mdx) - [UpdateProductDTO](../product/interfaces/product.UpdateProductDTO.mdx) - [IProductModuleService](../product/interfaces/product.IProductModuleService.mdx) - [MessageAggregatorFormat](../product/interfaces/product.MessageAggregatorFormat.mdx) @@ -65,6 +72,7 @@ import TypeList from "@site/src/components/TypeList" - [FilterQuery](../product/types/product.FilterQuery.mdx) - [MessageBody](../product/types/product.MessageBody.mdx) - [Message](../product/types/product.Message.mdx) +- [MessageFormat](../product/types/product.MessageFormat.mdx) - [JoinerRelationship](../product/types/product.JoinerRelationship.mdx) - [ModuleJoinerConfig](../product/types/product.ModuleJoinerConfig.mdx) - [ModuleJoinerRelationship](../product/types/product.ModuleJoinerRelationship.mdx) diff --git a/www/apps/docs/content/references/modules/stock_location.mdx b/www/apps/docs/content/references/modules/stock_location.mdx index fda33a2a036ac..16612f63fe88c 100644 --- a/www/apps/docs/content/references/modules/stock_location.mdx +++ b/www/apps/docs/content/references/modules/stock_location.mdx @@ -5,7 +5,19 @@ import TypeList from "@site/src/components/TypeList" ## Interfaces - [FindConfig](../stock_location/interfaces/stock_location.FindConfig.mdx) -- [StringComparisonOperator](../stock_location/interfaces/stock_location.StringComparisonOperator.mdx) +- [BaseFilterable](../stock_location/interfaces/stock_location.BaseFilterable.mdx) +- [FulfillmentAddressDTO](../stock_location/interfaces/stock_location.FulfillmentAddressDTO.mdx) +- [FulfillmentItemDTO](../stock_location/interfaces/stock_location.FulfillmentItemDTO.mdx) +- [FulfillmentLabelDTO](../stock_location/interfaces/stock_location.FulfillmentLabelDTO.mdx) +- [FulfillmentProviderDTO](../stock_location/interfaces/stock_location.FulfillmentProviderDTO.mdx) +- [FulfillmentSetDTO](../stock_location/interfaces/stock_location.FulfillmentSetDTO.mdx) +- [FulfillmentDTO](../stock_location/interfaces/stock_location.FulfillmentDTO.mdx) +- [GeoZoneDTO](../stock_location/interfaces/stock_location.GeoZoneDTO.mdx) +- [ServiceZoneDTO](../stock_location/interfaces/stock_location.ServiceZoneDTO.mdx) +- [ShippingOptionRuleDTO](../stock_location/interfaces/stock_location.ShippingOptionRuleDTO.mdx) +- [ShippingOptionTypeDTO](../stock_location/interfaces/stock_location.ShippingOptionTypeDTO.mdx) +- [ShippingOptionDTO](../stock_location/interfaces/stock_location.ShippingOptionDTO.mdx) +- [ShippingProfileDTO](../stock_location/interfaces/stock_location.ShippingProfileDTO.mdx) - [JoinerServiceConfigAlias](../stock_location/interfaces/stock_location.JoinerServiceConfigAlias.mdx) - [JoinerServiceConfig](../stock_location/interfaces/stock_location.JoinerServiceConfig.mdx) - [IModuleService](../stock_location/interfaces/stock_location.IModuleService.mdx) @@ -15,6 +27,18 @@ import TypeList from "@site/src/components/TypeList" ## Type Aliases +- [Query](../stock_location/types/stock_location.Query.mdx) +- [ExpandScalar](../stock_location/types/stock_location.ExpandScalar.mdx) +- [Scalar](../stock_location/types/stock_location.Scalar.mdx) +- [ReadonlyPrimary](../stock_location/types/stock_location.ReadonlyPrimary.mdx) +- [Primary](../stock_location/types/stock_location.Primary.mdx) +- [OperatorMap](../stock_location/types/stock_location.OperatorMap.mdx) +- [FilterValue2](../stock_location/types/stock_location.FilterValue2.mdx) +- [FilterValue](../stock_location/types/stock_location.FilterValue.mdx) +- [PrevLimit](../stock_location/types/stock_location.PrevLimit.mdx) +- [FilterQuery](../stock_location/types/stock_location.FilterQuery.mdx) +- [GeoZoneType](../stock_location/types/stock_location.GeoZoneType.mdx) +- [ShippingOptionPriceType](../stock_location/types/stock_location.ShippingOptionPriceType.mdx) - [JoinerRelationship](../stock_location/types/stock_location.JoinerRelationship.mdx) - [ModuleJoinerConfig](../stock_location/types/stock_location.ModuleJoinerConfig.mdx) - [ModuleJoinerRelationship](../stock_location/types/stock_location.ModuleJoinerRelationship.mdx) diff --git a/www/apps/docs/content/references/modules/types.mdx b/www/apps/docs/content/references/modules/types.mdx index 9501c1b290ca6..071cd2a6415e3 100644 --- a/www/apps/docs/content/references/modules/types.mdx +++ b/www/apps/docs/content/references/modules/types.mdx @@ -4,21 +4,28 @@ import TypeList from "@site/src/components/TypeList" ## Namespaces +- [ApiKeyTypes](../types/types.ApiKeyTypes.mdx) - [AuthTypes](../types/types.AuthTypes.mdx) - [CacheTypes](../types/types.CacheTypes.mdx) - [CartTypes](../types/types.CartTypes.mdx) - [CommonTypes](../types/types.CommonTypes.mdx) +- [CurrencyTypes](../types/types.CurrencyTypes.mdx) - [CustomerTypes](../types/types.CustomerTypes.mdx) - [DAL](../types/types.DAL.mdx) - [EventBusTypes](../types/types.EventBusTypes.mdx) - [FeatureFlagTypes](../types/types.FeatureFlagTypes.mdx) +- [FileTypes](../types/types.FileTypes.mdx) - [FulfillmentTypes](../types/types.FulfillmentTypes.mdx) +- [HttpTypes](../types/types.HttpTypes.mdx) - [LoggerTypes](../types/types.LoggerTypes.mdx) - [ModulesSdkTypes](../types/types.ModulesSdkTypes.mdx) +- [OrderTypes](../types/types.OrderTypes.mdx) - [PromotionTypes](../types/types.PromotionTypes.mdx) - [RegionTypes](../types/types.RegionTypes.mdx) - [SalesChannelTypes](../types/types.SalesChannelTypes.mdx) - [SearchTypes](../types/types.SearchTypes.mdx) +- [StoreTypes](../types/types.StoreTypes.mdx) +- [TaxTypes](../types/types.TaxTypes.mdx) - [TransactionBaseTypes](../types/types.TransactionBaseTypes.mdx) - [UserTypes](../types/types.UserTypes.mdx) - [WorkflowTypes](../types/types.WorkflowTypes.mdx) @@ -26,12 +33,28 @@ import TypeList from "@site/src/components/TypeList" ## Enumerations - [PaymentCollectionStatus](../types/enums/types.PaymentCollectionStatus.mdx) +- [PaymentSessionStatus](../types/enums/types.PaymentSessionStatus.mdx) +- [PaymentActions](../types/enums/types.PaymentActions.mdx) - [PriceListStatus](../types/enums/types.PriceListStatus.mdx) - [PriceListType](../types/enums/types.PriceListType.mdx) ## Interfaces +- [ApiKeyDTO](../types/interfaces/types.ApiKeyDTO.mdx) +- [FilterableApiKeyProps](../types/interfaces/types.FilterableApiKeyProps.mdx) +- [CreateApiKeyDTO](../types/interfaces/types.CreateApiKeyDTO.mdx) +- [UpsertApiKeyDTO](../types/interfaces/types.UpsertApiKeyDTO.mdx) +- [UpdateApiKeyDTO](../types/interfaces/types.UpdateApiKeyDTO.mdx) +- [RevokeApiKeyDTO](../types/interfaces/types.RevokeApiKeyDTO.mdx) +- [IApiKeyModuleService](../types/interfaces/types.IApiKeyModuleService.mdx) +- [AuthUserDTO](../types/interfaces/types.AuthUserDTO.mdx) +- [CreateAuthUserDTO](../types/interfaces/types.CreateAuthUserDTO.mdx) +- [UpdateAuthUserDTO](../types/interfaces/types.UpdateAuthUserDTO.mdx) - [FilterableAuthUserProps](../types/interfaces/types.FilterableAuthUserProps.mdx) +- [AuthenticationResponse](../types/interfaces/types.AuthenticationResponse.mdx) +- [AuthModuleProviderConfig](../types/interfaces/types.AuthModuleProviderConfig.mdx) +- [AuthProviderScope](../types/interfaces/types.AuthProviderScope.mdx) +- [AuthenticationInput](../types/interfaces/types.AuthenticationInput.mdx) - [IAuthModuleService](../types/interfaces/types.IAuthModuleService.mdx) - [SessionOptions](../types/interfaces/types.SessionOptions.mdx) - [BaseRepositoryService](../types/interfaces/types.BaseRepositoryService.mdx) @@ -40,40 +63,81 @@ import TypeList from "@site/src/components/TypeList" - [GetUploadedFileType](../types/interfaces/types.GetUploadedFileType.mdx) - [DeleteFileType](../types/interfaces/types.DeleteFileType.mdx) - [UploadStreamDescriptorType](../types/interfaces/types.UploadStreamDescriptorType.mdx) +- [CreateGeoZoneBaseDTO](../types/interfaces/types.CreateGeoZoneBaseDTO.mdx) +- [ApiKeyResponse](../types/interfaces/types.ApiKeyResponse.mdx) +- [PaginatedResponse](../types/interfaces/types.PaginatedResponse.mdx) +- [CustomerResponse](../types/interfaces/types.CustomerResponse.mdx) +- [AdminShippingOptionResponse](../types/interfaces/types.AdminShippingOptionResponse.mdx) +- [OrderSummary](../types/interfaces/types.OrderSummary.mdx) +- [OrderAdjustmentLine](../types/interfaces/types.OrderAdjustmentLine.mdx) +- [OrderShippingMethodAdjustment](../types/interfaces/types.OrderShippingMethodAdjustment.mdx) +- [OrderLineItemAdjustment](../types/interfaces/types.OrderLineItemAdjustment.mdx) +- [OrderTaxLine](../types/interfaces/types.OrderTaxLine.mdx) +- [OrderShippingMethodTaxLine](../types/interfaces/types.OrderShippingMethodTaxLine.mdx) +- [OrderLineItemTaxLine](../types/interfaces/types.OrderLineItemTaxLine.mdx) +- [OrderAddress](../types/interfaces/types.OrderAddress.mdx) +- [OrderShippingMethod](../types/interfaces/types.OrderShippingMethod.mdx) +- [OrderLineItem](../types/interfaces/types.OrderLineItem.mdx) +- [OrderItemDetail](../types/interfaces/types.OrderItemDetail.mdx) +- [OrderTransaction](../types/interfaces/types.OrderTransaction.mdx) +- [ProductCategoryResponse](../types/interfaces/types.ProductCategoryResponse.mdx) +- [ReservationResponse](../types/interfaces/types.ReservationResponse.mdx) +- [SalesChannelResponse](../types/interfaces/types.SalesChannelResponse.mdx) +- [ReservationItemDTO](../types/interfaces/types.ReservationItemDTO.mdx) +- [UpdateReservationItemInput](../types/interfaces/types.UpdateReservationItemInput.mdx) +- [CreateReservationItemInput](../types/interfaces/types.CreateReservationItemInput.mdx) - [JoinerServiceConfigAlias](../types/interfaces/types.JoinerServiceConfigAlias.mdx) - [JoinerServiceConfig](../types/interfaces/types.JoinerServiceConfig.mdx) - [JoinerArgument](../types/interfaces/types.JoinerArgument.mdx) - [JoinerDirective](../types/interfaces/types.JoinerDirective.mdx) - [RemoteJoinerQuery](../types/interfaces/types.RemoteJoinerQuery.mdx) +- [RemoteJoinerOptions](../types/interfaces/types.RemoteJoinerOptions.mdx) - [RemoteNestedExpands](../types/interfaces/types.RemoteNestedExpands.mdx) - [RemoteExpandProperty](../types/interfaces/types.RemoteExpandProperty.mdx) - [ILinkModule](../types/interfaces/types.ILinkModule.mdx) - [PaymentCollectionDTO](../types/interfaces/types.PaymentCollectionDTO.mdx) - [FilterablePaymentCollectionProps](../types/interfaces/types.FilterablePaymentCollectionProps.mdx) +- [FilterablePaymentSessionProps](../types/interfaces/types.FilterablePaymentSessionProps.mdx) +- [FilterableCaptureProps](../types/interfaces/types.FilterableCaptureProps.mdx) +- [FilterableRefundProps](../types/interfaces/types.FilterableRefundProps.mdx) - [PaymentDTO](../types/interfaces/types.PaymentDTO.mdx) +- [FilterablePaymentProps](../types/interfaces/types.FilterablePaymentProps.mdx) - [CaptureDTO](../types/interfaces/types.CaptureDTO.mdx) - [RefundDTO](../types/interfaces/types.RefundDTO.mdx) - [PaymentSessionDTO](../types/interfaces/types.PaymentSessionDTO.mdx) - [PaymentProviderDTO](../types/interfaces/types.PaymentProviderDTO.mdx) +- [FilterablePaymentProviderProps](../types/interfaces/types.FilterablePaymentProviderProps.mdx) - [CreatePaymentCollectionDTO](../types/interfaces/types.CreatePaymentCollectionDTO.mdx) - [UpdatePaymentCollectionDTO](../types/interfaces/types.UpdatePaymentCollectionDTO.mdx) +- [UpsertPaymentCollectionDTO](../types/interfaces/types.UpsertPaymentCollectionDTO.mdx) +- [PaymentCollectionUpdatableFields](../types/interfaces/types.PaymentCollectionUpdatableFields.mdx) - [CreatePaymentDTO](../types/interfaces/types.CreatePaymentDTO.mdx) - [UpdatePaymentDTO](../types/interfaces/types.UpdatePaymentDTO.mdx) - [CreateCaptureDTO](../types/interfaces/types.CreateCaptureDTO.mdx) - [CreateRefundDTO](../types/interfaces/types.CreateRefundDTO.mdx) - [CreatePaymentSessionDTO](../types/interfaces/types.CreatePaymentSessionDTO.mdx) -- [SetPaymentSessionsDTO](../types/interfaces/types.SetPaymentSessionsDTO.mdx) +- [UpdatePaymentSessionDTO](../types/interfaces/types.UpdatePaymentSessionDTO.mdx) +- [CreatePaymentProviderDTO](../types/interfaces/types.CreatePaymentProviderDTO.mdx) +- [ProviderWebhookPayload](../types/interfaces/types.ProviderWebhookPayload.mdx) +- [PaymentProviderContext](../types/interfaces/types.PaymentProviderContext.mdx) +- [CreatePaymentProviderSession](../types/interfaces/types.CreatePaymentProviderSession.mdx) +- [UpdatePaymentProviderSession](../types/interfaces/types.UpdatePaymentProviderSession.mdx) +- [PaymentProviderSessionResponse](../types/interfaces/types.PaymentProviderSessionResponse.mdx) +- [PaymentProviderAuthorizeResponse](../types/interfaces/types.PaymentProviderAuthorizeResponse.mdx) +- [PaymentProviderDataInput](../types/interfaces/types.PaymentProviderDataInput.mdx) +- [PaymentProviderError](../types/interfaces/types.PaymentProviderError.mdx) +- [WebhookActionData](../types/interfaces/types.WebhookActionData.mdx) +- [WebhookActionResult](../types/interfaces/types.WebhookActionResult.mdx) +- [IPaymentProvider](../types/interfaces/types.IPaymentProvider.mdx) - [IPaymentModuleService](../types/interfaces/types.IPaymentModuleService.mdx) -- [CurrencyDTO](../types/interfaces/types.CurrencyDTO.mdx) -- [CreateCurrencyDTO](../types/interfaces/types.CreateCurrencyDTO.mdx) -- [UpdateCurrencyDTO](../types/interfaces/types.UpdateCurrencyDTO.mdx) -- [FilterableCurrencyProps](../types/interfaces/types.FilterableCurrencyProps.mdx) +- [PaymentModuleOptions](../types/interfaces/types.PaymentModuleOptions.mdx) - [MoneyAmountDTO](../types/interfaces/types.MoneyAmountDTO.mdx) - [CreateMoneyAmountDTO](../types/interfaces/types.CreateMoneyAmountDTO.mdx) - [UpdateMoneyAmountDTO](../types/interfaces/types.UpdateMoneyAmountDTO.mdx) - [FilterableMoneyAmountProps](../types/interfaces/types.FilterableMoneyAmountProps.mdx) - [PriceListDTO](../types/interfaces/types.PriceListDTO.mdx) -- [PriceListPriceDTO](../types/interfaces/types.PriceListPriceDTO.mdx) +- [CreatePriceListPriceDTO](../types/interfaces/types.CreatePriceListPriceDTO.mdx) +- [UpdatePriceListPriceDTO](../types/interfaces/types.UpdatePriceListPriceDTO.mdx) - [CreatePriceSetPriceRules](../types/interfaces/types.CreatePriceSetPriceRules.mdx) - [CreatePriceListRules](../types/interfaces/types.CreatePriceListRules.mdx) - [CreatePriceListDTO](../types/interfaces/types.CreatePriceListDTO.mdx) @@ -88,20 +152,13 @@ import TypeList from "@site/src/components/TypeList" - [CreatePriceListRuleValueDTO](../types/interfaces/types.CreatePriceListRuleValueDTO.mdx) - [UpdatePriceListRuleValueDTO](../types/interfaces/types.UpdatePriceListRuleValueDTO.mdx) - [AddPriceListPricesDTO](../types/interfaces/types.AddPriceListPricesDTO.mdx) +- [UpdatePriceListPricesDTO](../types/interfaces/types.UpdatePriceListPricesDTO.mdx) - [SetPriceListRulesDTO](../types/interfaces/types.SetPriceListRulesDTO.mdx) - [RemovePriceListRulesDTO](../types/interfaces/types.RemovePriceListRulesDTO.mdx) - [PriceRuleDTO](../types/interfaces/types.PriceRuleDTO.mdx) - [CreatePriceRuleDTO](../types/interfaces/types.CreatePriceRuleDTO.mdx) - [UpdatePriceRuleDTO](../types/interfaces/types.UpdatePriceRuleDTO.mdx) - [FilterablePriceRuleProps](../types/interfaces/types.FilterablePriceRuleProps.mdx) -- [PriceSetMoneyAmountRulesDTO](../types/interfaces/types.PriceSetMoneyAmountRulesDTO.mdx) -- [CreatePriceSetMoneyAmountRulesDTO](../types/interfaces/types.CreatePriceSetMoneyAmountRulesDTO.mdx) -- [UpdatePriceSetMoneyAmountRulesDTO](../types/interfaces/types.UpdatePriceSetMoneyAmountRulesDTO.mdx) -- [FilterablePriceSetMoneyAmountRulesProps](../types/interfaces/types.FilterablePriceSetMoneyAmountRulesProps.mdx) -- [PriceSetMoneyAmountDTO](../types/interfaces/types.PriceSetMoneyAmountDTO.mdx) -- [UpdatePriceSetMoneyAmountDTO](../types/interfaces/types.UpdatePriceSetMoneyAmountDTO.mdx) -- [CreatePriceSetMoneyAmountDTO](../types/interfaces/types.CreatePriceSetMoneyAmountDTO.mdx) -- [FilterablePriceSetMoneyAmountProps](../types/interfaces/types.FilterablePriceSetMoneyAmountProps.mdx) - [PriceSetRuleTypeDTO](../types/interfaces/types.PriceSetRuleTypeDTO.mdx) - [CreatePriceSetRuleTypeDTO](../types/interfaces/types.CreatePriceSetRuleTypeDTO.mdx) - [UpdatePriceSetRuleTypeDTO](../types/interfaces/types.UpdatePriceSetRuleTypeDTO.mdx) @@ -117,42 +174,42 @@ import TypeList from "@site/src/components/TypeList" - [AddPricesDTO](../types/interfaces/types.AddPricesDTO.mdx) - [RemovePriceSetRulesDTO](../types/interfaces/types.RemovePriceSetRulesDTO.mdx) - [CreatePriceSetDTO](../types/interfaces/types.CreatePriceSetDTO.mdx) +- [UpsertPriceSetDTO](../types/interfaces/types.UpsertPriceSetDTO.mdx) - [UpdatePriceSetDTO](../types/interfaces/types.UpdatePriceSetDTO.mdx) - [FilterablePriceSetProps](../types/interfaces/types.FilterablePriceSetProps.mdx) +- [PriceDTO](../types/interfaces/types.PriceDTO.mdx) +- [UpdatePriceDTO](../types/interfaces/types.UpdatePriceDTO.mdx) +- [CreatePriceDTO](../types/interfaces/types.CreatePriceDTO.mdx) +- [FilterablePriceProps](../types/interfaces/types.FilterablePriceProps.mdx) - [RuleTypeDTO](../types/interfaces/types.RuleTypeDTO.mdx) - [CreateRuleTypeDTO](../types/interfaces/types.CreateRuleTypeDTO.mdx) - [UpdateRuleTypeDTO](../types/interfaces/types.UpdateRuleTypeDTO.mdx) - [FilterableRuleTypeProps](../types/interfaces/types.FilterableRuleTypeProps.mdx) - [ProductCategoryTransformOptions](../types/interfaces/types.ProductCategoryTransformOptions.mdx) - [RegionDTO](../types/interfaces/types.RegionDTO.mdx) -- [CountryDTO](../types/interfaces/types.CountryDTO.mdx) -- [FilterableRegionProps](../types/interfaces/types.FilterableRegionProps.mdx) - [RegionCountryDTO](../types/interfaces/types.RegionCountryDTO.mdx) -- [RegionCurrencyDTO](../types/interfaces/types.RegionCurrencyDTO.mdx) -- [FilterableRegionCurrencyProps](../types/interfaces/types.FilterableRegionCurrencyProps.mdx) +- [FilterableRegionProps](../types/interfaces/types.FilterableRegionProps.mdx) - [FilterableRegionCountryProps](../types/interfaces/types.FilterableRegionCountryProps.mdx) - [CreateRegionDTO](../types/interfaces/types.CreateRegionDTO.mdx) +- [UpsertRegionDTO](../types/interfaces/types.UpsertRegionDTO.mdx) - [UpdateRegionDTO](../types/interfaces/types.UpdateRegionDTO.mdx) -- [AddCountryToRegionDTO](../types/interfaces/types.AddCountryToRegionDTO.mdx) -- [RemoveCountryFromRegionDTO](../types/interfaces/types.RemoveCountryFromRegionDTO.mdx) - [IRegionModuleService](../types/interfaces/types.IRegionModuleService.mdx) - [SharedContext](../types/interfaces/types.SharedContext.mdx) - [MessageAggregatorFormat](../types/interfaces/types.MessageAggregatorFormat.mdx) - [IMessageAggregator](../types/interfaces/types.IMessageAggregator.mdx) - [Context](../types/interfaces/types.Context.mdx) +- [TaxLineDTO](../types/interfaces/types.TaxLineDTO.mdx) +- [CreateServiceZone](../types/interfaces/types.CreateServiceZone.mdx) +- [UpdateServiceZone](../types/interfaces/types.UpdateServiceZone.mdx) +- [CreateShippingProfile](../types/interfaces/types.CreateShippingProfile.mdx) +- [UpdateShippingProfile](../types/interfaces/types.UpdateShippingProfile.mdx) - [InputPrice](../types/interfaces/types.InputPrice.mdx) +- [CreateLocationFulfillmentSetWorkflowInputDTO](../types/interfaces/types.CreateLocationFulfillmentSetWorkflowInputDTO.mdx) ## Type Aliases - [AddressDTO](../types/types/types.AddressDTO.mdx) -- [AuthUserDTO](../types/types/types.AuthUserDTO.mdx) -- [CreateAuthUserDTO](../types/types/types.CreateAuthUserDTO.mdx) -- [UpdateAuthUserDTO](../types/types/types.UpdateAuthUserDTO.mdx) -- [AuthenticationResponse](../types/types/types.AuthenticationResponse.mdx) -- [AuthModuleProviderConfig](../types/types/types.AuthModuleProviderConfig.mdx) -- [AuthProviderScope](../types/types/types.AuthProviderScope.mdx) -- [AuthenticationInput](../types/types/types.AuthenticationInput.mdx) -- [JWTGenerationOptions](../types/types/types.JWTGenerationOptions.mdx) +- [ApiKeyType](../types/types/types.ApiKeyType.mdx) - [Dictionary](../types/types/types.Dictionary.mdx) - [Query](../types/types/types.Query.mdx) - [ExpandScalar](../types/types/types.ExpandScalar.mdx) @@ -163,5 +220,17 @@ import TypeList from "@site/src/components/TypeList" - [FilterValue](../types/types/types.FilterValue.mdx) - [PrevLimit](../types/types/types.PrevLimit.mdx) - [Order](../types/types/types.Order.mdx) +- [DeleteResponse](../types/types/types.DeleteResponse.mdx) - [JoinerRelationship](../types/types/types.JoinerRelationship.mdx) - [ModuleDeclaration](../types/types/types.ModuleDeclaration.mdx) +- [PaymentAddressDTO](../types/types/types.PaymentAddressDTO.mdx) +- [PaymentCustomerDTO](../types/types/types.PaymentCustomerDTO.mdx) +- [MedusaPricingContext](../types/types/types.MedusaPricingContext.mdx) +- [BigNumberRawValue](../types/types/types.BigNumberRawValue.mdx) +- [BigNumberInput](../types/types/types.BigNumberInput.mdx) +- [BigNumberValue](../types/types/types.BigNumberValue.mdx) +- [CartLikeWithTotals](../types/types/types.CartLikeWithTotals.mdx) +- [CreateProductVariantWorkflowInputDTO](../types/types/types.CreateProductVariantWorkflowInputDTO.mdx) +- [UpdateProductVariantWorkflowInputDTO](../types/types/types.UpdateProductVariantWorkflowInputDTO.mdx) +- [CreateProductWorkflowInputDTO](../types/types/types.CreateProductWorkflowInputDTO.mdx) +- [UpdateProductWorkflowInputDTO](../types/types/types.UpdateProductWorkflowInputDTO.mdx) diff --git a/www/apps/docs/content/references/notification/classes/notification.AbstractNotificationService.mdx b/www/apps/docs/content/references/notification/classes/notification.AbstractNotificationService.mdx index d5c9fe39c23bf..d3022d0e8ab20 100644 --- a/www/apps/docs/content/references/notification/classes/notification.AbstractNotificationService.mdx +++ b/www/apps/docs/content/references/notification/classes/notification.AbstractNotificationService.mdx @@ -13,7 +13,7 @@ In this document, you’ll learn how to create a notification provider in the Me :::note[Prerequisites] -Before creating a Notification Provider, [install an event bus module](https://docs.medusajs.com/development/events/modules/redis). +Before creating a Notification Provider, [install an event bus module](https://docs.medusajs.com/v1/development/events/modules/redis). ::: @@ -67,7 +67,7 @@ export default EmailSenderService The `NotificationProvider` entity has 2 properties: `identifier` and `is_installed`. The value of the `identifier` property in the notification provider class is used when the Notification Provider is created in the database. -The value of this property is also used later when you want to subscribe the Notification Provider to events in a [Loader](https://docs.medusajs.com/development/loaders/overview). +The value of this property is also used later when you want to subscribe the Notification Provider to events in a [Loader](https://docs.medusajs.com/v1/development/loaders/overview). For example: @@ -129,7 +129,7 @@ ___ ### sendNotification -When an event is triggered that your Notification Provider is registered as a handler for, the [`NotificationService`](https://docs.medusajs.com/references/services/classes/services.NotificationService) +When an event is triggered that your Notification Provider is registered as a handler for, the [`NotificationService`](https://docs.medusajs.com/v1/references/services/classes/services.NotificationService) in the Medusa backend executes this method of your Notification Provider. In this method, you can perform the necessary operation to send the Notification. For example, you can send an email to the customer when they place an order. @@ -172,7 +172,7 @@ class EmailSenderService extends AbstractNotificationService { #### Parameters - + #### Returns @@ -215,7 +215,7 @@ class EmailSenderService extends AbstractNotificationService { #### Parameters - + #### Returns @@ -271,7 +271,7 @@ npm run build npx medusa develop ``` -3\. Place an order either using the [REST APIs](https://docs.medusajs.com/v1/api/store) or using the [storefront](https://docs.medusajs.com/starters/nextjs-medusa-starter). +3\. Place an order either using the [REST APIs](https://docs.medusajs.com/api/store) or using the [storefront](https://docs.medusajs.com/starters/nextjs-medusa-starter). 4\. After placing an order, you can see in your console the message “Notification Sent”. If you added your own notification sending logic, you should receive an email or alternatively the type of notification you’ve set up. @@ -281,8 +281,8 @@ npx medusa develop To test resending a notification: -1. Retrieve the ID of the notification you just sent using the [List Notifications API Route](https://docs.medusajs.com/v1/api/admin#notifications_getnotifications). You can pass as a body parameter the `to` or `event_name` parameters to filter out the notification you just sent. +1. Retrieve the ID of the notification you just sent using the [List Notifications API Route](https://docs.medusajs.com/api/admin#notifications_getnotifications). You can pass as a body parameter the `to` or `event_name` parameters to filter out the notification you just sent. -2. Send a request to the [Resend Notification API Route](https://docs.medusajs.com/v1/api/admin#notifications_postnotificationsnotificationresend) using the ID retrieved from the previous request. You can pass the `to` parameter in the body to change the receiver of the notification. +2. Send a request to the [Resend Notification API Route](https://docs.medusajs.com/api/admin#notifications_postnotificationsnotificationresend) using the ID retrieved from the previous request. You can pass the `to` parameter in the body to change the receiver of the notification. 3. You should see the message “Notification Resent” in your console. diff --git a/www/apps/docs/content/references/notification/interfaces/notification.INotificationService.mdx b/www/apps/docs/content/references/notification/interfaces/notification.INotificationService.mdx index 087dc2d8d94fa..7461b9f497d8e 100644 --- a/www/apps/docs/content/references/notification/interfaces/notification.INotificationService.mdx +++ b/www/apps/docs/content/references/notification/interfaces/notification.INotificationService.mdx @@ -10,7 +10,7 @@ import TypeList from "@site/src/components/TypeList" :::note[Prerequisites] -Before creating a Notification Provider, [install an event bus module](https://docs.medusajs.com/development/events/modules/redis). +Before creating a Notification Provider, [install an event bus module](https://docs.medusajs.com/v1/development/events/modules/redis). ::: @@ -64,7 +64,7 @@ export default EmailSenderService The `NotificationProvider` entity has 2 properties: `identifier` and `is_installed`. The value of the `identifier` property in the notification provider class is used when the Notification Provider is created in the database. -The value of this property is also used later when you want to subscribe the Notification Provider to events in a [Loader](https://docs.medusajs.com/development/loaders/overview). +The value of this property is also used later when you want to subscribe the Notification Provider to events in a [Loader](https://docs.medusajs.com/v1/development/loaders/overview). For example: @@ -97,7 +97,7 @@ ___ ### sendNotification -When an event is triggered that your Notification Provider is registered as a handler for, the [`NotificationService`](https://docs.medusajs.com/references/services/classes/services.NotificationService) +When an event is triggered that your Notification Provider is registered as a handler for, the [`NotificationService`](https://docs.medusajs.com/v1/references/services/classes/services.NotificationService) in the Medusa backend executes this method of your Notification Provider. In this method, you can perform the necessary operation to send the Notification. For example, you can send an email to the customer when they place an order. @@ -140,7 +140,7 @@ class EmailSenderService extends AbstractNotificationService { #### Parameters - + #### Returns @@ -183,7 +183,7 @@ class EmailSenderService extends AbstractNotificationService { #### Parameters - + #### Returns diff --git a/www/apps/docs/content/references/payment/classes/payment.AbstractPaymentProcessor.mdx b/www/apps/docs/content/references/payment/classes/payment.AbstractPaymentProcessor.mdx index e89b8db812637..3245da0f2656d 100644 --- a/www/apps/docs/content/references/payment/classes/payment.AbstractPaymentProcessor.mdx +++ b/www/apps/docs/content/references/payment/classes/payment.AbstractPaymentProcessor.mdx @@ -110,7 +110,7 @@ abstract class StripeBase extends AbstractPaymentProcessor { ## constructor -You can use the `constructor` of your Payment Processor to have access to different services in Medusa through [dependency injection](https://docs.medusajs.com/development/fundamentals/dependency-injection). +You can use the `constructor` of your Payment Processor to have access to different services in Medusa through [dependency injection](https://docs.medusajs.com/v1/development/fundamentals/dependency-injection). You can also use the constructor to initialize your integration with the third-party provider. For example, if you use a client to connect to the third-party provider’s APIs, you can initialize it in the constructor and use it in other methods in the service. @@ -137,7 +137,7 @@ class MyPaymentService extends AbstractPaymentProcessor { ### Parameters -`","description":"An instance of `MedusaContainer` that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/development/fundamentals/dependency-injection)","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"config","type":"`Record`","description":"If this payment processor is created in a plugin, the plugin's options are passed in this parameter.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="new AbstractPaymentProcessor"/> +`","description":"An instance of `MedusaContainer` that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/v1/development/fundamentals/dependency-injection)","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"config","type":"`Record`","description":"If this payment processor is created in a plugin, the plugin's options are passed in this parameter.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="new AbstractPaymentProcessor"/> ___ @@ -250,7 +250,7 @@ class MyPaymentService extends AbstractPaymentProcessor { #### Parameters -`","description":"The `data` field of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context of the authorization. It may include some of the following fields:\n\n- `ip`: The customer’s IP.\n- `idempotency_key`: The [Idempotency Key](https://docs.medusajs.com/modules/carts-and-checkout/payment#idempotency-key) that is associated with the current cart. It is useful when retrying payments, retrying checkout at a failed point, or for payments that require additional actions from the customer.\n- `cart_id`: The ID of a cart. This is only during operations like placing an order or creating a swap.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="authorizePayment"/> +`","description":"The `data` field of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context of the authorization. It may include some of the following fields:\n\n- `ip`: The customer’s IP.\n- `idempotency_key`: The [Idempotency Key](https://docs.medusajs.com/v1/modules/carts-and-checkout/payment#idempotency-key) that is associated with the current cart. It is useful when retrying payments, retrying checkout at a failed point, or for payments that require additional actions from the customer.\n- `cart_id`: The ID of a cart. This is only during operations like placing an order or creating a swap.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="authorizePayment"/> #### Returns @@ -628,6 +628,6 @@ npm run build npx medusa develop ``` -3\. Enable your payment processor in one or more regions. You can do that either using the [Admin APIs](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionpaymentproviders) or the [Medusa Admin](https://docs.medusajs.com/user-guide/regions/providers#manage-payment-providers). +3\. Enable your payment processor in one or more regions. You can do that either using the [Admin APIs](https://docs.medusajs.com/api/admin#regions_postregionsregionpaymentproviders) or the [Medusa Admin](https://docs.medusajs.com/user-guide/regions/providers#manage-payment-providers). 4\. There are different ways to test out your payment processor, such as authorizing payment on order completion or capturing payment of an order. You test payment in a checkout flow either using the [Next.js starter](https://docs.medusajs.com/starters/nextjs-medusa-starter) or [using Medusa's APIs and clients](https://docs.medusajs.com/modules/carts-and-checkout/storefront/implement-checkout-flow). diff --git a/www/apps/docs/content/references/payment/interfaces/payment.PaymentProcessor.mdx b/www/apps/docs/content/references/payment/interfaces/payment.PaymentProcessor.mdx index 852360fab2b2e..d1bc262ea978d 100644 --- a/www/apps/docs/content/references/payment/interfaces/payment.PaymentProcessor.mdx +++ b/www/apps/docs/content/references/payment/interfaces/payment.PaymentProcessor.mdx @@ -306,7 +306,7 @@ class MyPaymentService extends AbstractPaymentProcessor { #### Parameters -`","description":"The `data` field of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context of the authorization. It may include some of the following fields:\n\n- `ip`: The customer’s IP.\n- `idempotency_key`: The [Idempotency Key](https://docs.medusajs.com/modules/carts-and-checkout/payment#idempotency-key) that is associated with the current cart. It is useful when retrying payments, retrying checkout at a failed point, or for payments that require additional actions from the customer.\n- `cart_id`: The ID of a cart. This is only during operations like placing an order or creating a swap.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="authorizePayment"/> +`","description":"The `data` field of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context of the authorization. It may include some of the following fields:\n\n- `ip`: The customer’s IP.\n- `idempotency_key`: The [Idempotency Key](https://docs.medusajs.com/v1/modules/carts-and-checkout/payment#idempotency-key) that is associated with the current cart. It is useful when retrying payments, retrying checkout at a failed point, or for payments that require additional actions from the customer.\n- `cart_id`: The ID of a cart. This is only during operations like placing an order or creating a swap.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="authorizePayment"/> #### Returns diff --git a/www/apps/docs/content/references/price_selection/classes/price_selection.AbstractPriceSelectionStrategy.mdx b/www/apps/docs/content/references/price_selection/classes/price_selection.AbstractPriceSelectionStrategy.mdx index 6dc6f37b3fe33..5750043fc0a44 100644 --- a/www/apps/docs/content/references/price_selection/classes/price_selection.AbstractPriceSelectionStrategy.mdx +++ b/www/apps/docs/content/references/price_selection/classes/price_selection.AbstractPriceSelectionStrategy.mdx @@ -183,7 +183,7 @@ export default class MyStrategy extends #### Parameters - + #### Returns @@ -227,7 +227,7 @@ export default class MyStrategy extends :::note -Learn more about the cache service in [this documentation](https://docs.medusajs.com/development/cache/overview). +Learn more about the cache service in [this documentation](https://docs.medusajs.com/v1/development/cache/overview). ::: diff --git a/www/apps/docs/content/references/price_selection/interfaces/price_selection.IPriceSelectionStrategy.mdx b/www/apps/docs/content/references/price_selection/interfaces/price_selection.IPriceSelectionStrategy.mdx index 7dc9fccd0b11f..1c61347f65bc8 100644 --- a/www/apps/docs/content/references/price_selection/interfaces/price_selection.IPriceSelectionStrategy.mdx +++ b/www/apps/docs/content/references/price_selection/interfaces/price_selection.IPriceSelectionStrategy.mdx @@ -142,7 +142,7 @@ export default class MyStrategy extends #### Parameters - + #### Returns @@ -186,7 +186,7 @@ export default class MyStrategy extends :::note -Learn more about the cache service in [this documentation](https://docs.medusajs.com/development/cache/overview). +Learn more about the cache service in [this documentation](https://docs.medusajs.com/v1/development/cache/overview). ::: diff --git a/www/apps/docs/content/references/price_selection/interfaces/price_selection.PriceSelectionContext.mdx b/www/apps/docs/content/references/price_selection/interfaces/price_selection.PriceSelectionContext.mdx index 9ca8c3c6ab071..b1e070d0a5bdf 100644 --- a/www/apps/docs/content/references/price_selection/interfaces/price_selection.PriceSelectionContext.mdx +++ b/www/apps/docs/content/references/price_selection/interfaces/price_selection.PriceSelectionContext.mdx @@ -10,4 +10,4 @@ The context of the price selection. ## Properties - + diff --git a/www/apps/docs/content/references/price_selection/interfaces/price_selection.PriceSelectionResult.mdx b/www/apps/docs/content/references/price_selection/interfaces/price_selection.PriceSelectionResult.mdx index d8d1fbd03b2ff..bc050bc954950 100644 --- a/www/apps/docs/content/references/price_selection/interfaces/price_selection.PriceSelectionResult.mdx +++ b/www/apps/docs/content/references/price_selection/interfaces/price_selection.PriceSelectionResult.mdx @@ -10,4 +10,4 @@ The price selection result of a variant. ## Properties -`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"purchasable","type":"`boolean`","description":"Only used with the inventory modules.\nA boolean value indicating whether the Product Variant is purchasable.\nA variant is purchasable if:\n - inventory is not managed\n - it has no inventory items\n - it is in stock\n - it is backorderable.\n","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variant","type":"[ProductVariant](../../entities/classes/entities.ProductVariant.mdx)","description":"The details of the product variant that the money amount may belong to.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The product variant's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"A title that can be displayed for easy identification of the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the product that the product variant belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"[Product](../../entities/classes/entities.Product.mdx)","description":"The details of the product that the product variant belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"prices","type":"[MoneyAmount](../../entities/classes/entities.MoneyAmount.mdx)[]","description":"The details of the prices of the Product Variant, each represented as a Money Amount. Each Money Amount represents a price in a given currency or a specific Region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"A generic field for a GTIN number that can be used to identify the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"An EAN barcode number that can be used to identify the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"A UPC barcode number that can be used to identify the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"The ranking of this variant","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The current quantity of the item that is stocked.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the Product Variant should be purchasable when `inventory\\_quantity` is 0.","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether Medusa should manage inventory for the Product Variant.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValue](../../entities/classes/entities.ProductOptionValue.mdx)[]","description":"The details of the product options that this product variant defines values for.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"inventory_items","type":"[ProductVariantInventoryItem](../../entities/classes/entities.ProductVariantInventoryItem.mdx)[]","description":"The details inventory items of the product variant.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"purchasable","type":"`boolean`","description":"Only used with the inventory modules.\nA boolean value indicating whether the Product Variant is purchasable.\nA variant is purchasable if:\n - inventory is not managed\n - it has no inventory items\n - it is in stock\n - it is backorderable.\n","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variant_id","type":"`string`","description":"The ID of the Product Variant contained in the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`null` \\| `string`","description":"The region's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency","type":"[Currency](../../entities/classes/entities.Currency.mdx)","description":"The details of the currency that the money amount may belong to.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"code","type":"`string`","description":"The 3 character ISO code for the currency.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"symbol","type":"`string`","description":"The symbol used to indicate the currency.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"symbol_native","type":"`string`","description":"The native symbol used to indicate the currency.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The written name of the currency","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Whether the currency prices include tax","optional":true,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]}]},{"name":"region","type":"[Region](../../entities/classes/entities.Region.mdx)","description":"The details of the region that the money amount may belong to.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The region's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the region as displayed to the customer. If the Region only has one country it is recommended to write the country name.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The three character currency code used in the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency","type":"[Currency](../../entities/classes/entities.Currency.mdx)","description":"The details of the currency used in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_rate","type":"`number`","description":"The tax rate that should be charged on purchases in the Region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rates","type":"`null` \\| [TaxRate](../../entities/classes/entities.TaxRate.mdx)[]","description":"The details of the tax rates used in the region, aside from the default rate.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_code","type":"`string`","description":"The tax code used on purchases in the Region. This may be used by other systems for accounting purposes.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_cards_taxable","type":"`boolean`","description":"Whether the gift cards are taxable or not in this region.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"automatic_taxes","type":"`boolean`","description":"Whether taxes should be automated in this region.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"countries","type":"[Country](../../entities/classes/entities.Country.mdx)[]","description":"The details of the countries included in this region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_provider_id","type":"`null` \\| `string`","description":"The ID of the tax provider used in this region","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_provider","type":"[TaxProvider](../../entities/classes/entities.TaxProvider.mdx)","description":"The details of the tax provider used in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_providers","type":"[PaymentProvider](../../entities/classes/entities.PaymentProvider.mdx)[]","description":"The details of the payment providers that can be used to process payments in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"fulfillment_providers","type":"[FulfillmentProvider](../../entities/classes/entities.FulfillmentProvider.mdx)[]","description":"The details of the fulfillment providers that can be used to fulfill items of orders and similar resources in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Whether the prices for the region include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]}]}]},{"name":"originalPriceIncludesTax","type":"`null` \\| `boolean`","description":"Whether the original price includes taxes or not. This is only available\nfor [Tax-Inclusive Pricing](https://docs.medusajs.com/modules/taxes/inclusive-pricing).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"calculatedPriceIncludesTax","type":"`null` \\| `boolean`","description":"Whether the calculated price includes taxes or not.\nThis is only available for [Tax-Inclusive Pricing](https://docs.medusajs.com/modules/taxes/inclusive-pricing).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"calculatedPriceType","type":"[PriceType](../types/price_selection.PriceType.mdx)","description":"The type of price applied in `calculatedPrice`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="PriceSelectionResult"/> +`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"purchasable","type":"`boolean`","description":"Only used with the inventory modules.\nA boolean value indicating whether the Product Variant is purchasable.\nA variant is purchasable if:\n - inventory is not managed\n - it has no inventory items\n - it is in stock\n - it is backorderable.\n","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variant","type":"[ProductVariant](../../entities/classes/entities.ProductVariant.mdx)","description":"The details of the product variant that the money amount may belong to.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The product variant's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"A title that can be displayed for easy identification of the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the product that the product variant belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"[Product](../../entities/classes/entities.Product.mdx)","description":"The details of the product that the product variant belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"prices","type":"[MoneyAmount](../../entities/classes/entities.MoneyAmount.mdx)[]","description":"The details of the prices of the Product Variant, each represented as a Money Amount. Each Money Amount represents a price in a given currency or a specific Region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"A generic field for a GTIN number that can be used to identify the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"An EAN barcode number that can be used to identify the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"A UPC barcode number that can be used to identify the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"The ranking of this variant","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The current quantity of the item that is stocked.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the Product Variant should be purchasable when `inventory\\_quantity` is 0.","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether Medusa should manage inventory for the Product Variant.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValue](../../entities/classes/entities.ProductOptionValue.mdx)[]","description":"The details of the product options that this product variant defines values for.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"inventory_items","type":"[ProductVariantInventoryItem](../../entities/classes/entities.ProductVariantInventoryItem.mdx)[]","description":"The details inventory items of the product variant.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"purchasable","type":"`boolean`","description":"Only used with the inventory modules.\nA boolean value indicating whether the Product Variant is purchasable.\nA variant is purchasable if:\n - inventory is not managed\n - it has no inventory items\n - it is in stock\n - it is backorderable.\n","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variant_id","type":"`string`","description":"The ID of the Product Variant contained in the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`null` \\| `string`","description":"The region's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency","type":"[Currency](../../entities/classes/entities.Currency.mdx)","description":"The details of the currency that the money amount may belong to.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"code","type":"`string`","description":"The 3 character ISO code for the currency.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"symbol","type":"`string`","description":"The symbol used to indicate the currency.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"symbol_native","type":"`string`","description":"The native symbol used to indicate the currency.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The written name of the currency","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Whether the currency prices include tax","optional":true,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]}]},{"name":"region","type":"[Region](../../entities/classes/entities.Region.mdx)","description":"The details of the region that the money amount may belong to.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The region's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the region as displayed to the customer. If the Region only has one country it is recommended to write the country name.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The three character currency code used in the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency","type":"[Currency](../../entities/classes/entities.Currency.mdx)","description":"The details of the currency used in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_rate","type":"`number`","description":"The tax rate that should be charged on purchases in the Region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rates","type":"`null` \\| [TaxRate](../../entities/classes/entities.TaxRate.mdx)[]","description":"The details of the tax rates used in the region, aside from the default rate.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_code","type":"`string`","description":"The tax code used on purchases in the Region. This may be used by other systems for accounting purposes.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_cards_taxable","type":"`boolean`","description":"Whether the gift cards are taxable or not in this region.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"automatic_taxes","type":"`boolean`","description":"Whether taxes should be automated in this region.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"countries","type":"[Country](../../entities/classes/entities.Country.mdx)[]","description":"The details of the countries included in this region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_provider_id","type":"`null` \\| `string`","description":"The ID of the tax provider used in this region","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_provider","type":"[TaxProvider](../../entities/classes/entities.TaxProvider.mdx)","description":"The details of the tax provider used in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_providers","type":"[PaymentProvider](../../entities/classes/entities.PaymentProvider.mdx)[]","description":"The details of the payment providers that can be used to process payments in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"fulfillment_providers","type":"[FulfillmentProvider](../../entities/classes/entities.FulfillmentProvider.mdx)[]","description":"The details of the fulfillment providers that can be used to fulfill items of orders and similar resources in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Whether the prices for the region include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]}]}]},{"name":"originalPriceIncludesTax","type":"`null` \\| `boolean`","description":"Whether the original price includes taxes or not. This is only available\nfor [Tax-Inclusive Pricing](https://docs.medusajs.com/v1/modules/taxes/inclusive-pricing).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"calculatedPriceIncludesTax","type":"`null` \\| `boolean`","description":"Whether the calculated price includes taxes or not.\nThis is only available for [Tax-Inclusive Pricing](https://docs.medusajs.com/v1/modules/taxes/inclusive-pricing).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"calculatedPriceType","type":"[PriceType](../types/price_selection.PriceType.mdx)","description":"The type of price applied in `calculatedPrice`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="PriceSelectionResult"/> diff --git a/www/apps/docs/content/references/pricing/IMessageAggregator/methods/pricing.IMessageAggregator.saveRawMessageData.mdx b/www/apps/docs/content/references/pricing/IMessageAggregator/methods/pricing.IMessageAggregator.saveRawMessageData.mdx new file mode 100644 index 0000000000000..3654570b57f26 --- /dev/null +++ b/www/apps/docs/content/references/pricing/IMessageAggregator/methods/pricing.IMessageAggregator.saveRawMessageData.mdx @@ -0,0 +1,15 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# saveRawMessageData + +## Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="saveRawMessageData"/> + +## Returns + + diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.addPriceListPrices.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.addPriceListPrices.mdx index f3ffdd537ee54..65e561af373ea 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.addPriceListPrices.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.addPriceListPrices.mdx @@ -18,30 +18,25 @@ This method is used to add prices to price lists. ## Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function addPriceListPrices (items: { - priceListId: string, - prices: { - currency_code: string, - amount: number, - price_set_id: string - }[] -}[]) { - const pricingService = await initializePricingModule() - - const priceLists = await pricingService.addPriceListPrices(items) - - // do something with the price lists or return them -} +const priceLists = + await pricingModuleService.addPriceListPrices([ + { + price_list_id: "plist_123", + prices: [ + { + currency_code: "usd", + amount: 500, + price_set_id: "pset_123", + }, + ], + }, + ]) ``` ## Parameters - + ## Returns - + diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.addPrices.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.addPrices.mdx index 061524627fa38..95940ad2ee592 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.addPrices.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.addPrices.mdx @@ -22,79 +22,59 @@ This method adds prices to a price set. To add a default price to a price set, don't pass it any rules and make sure to pass it the `currency_code`: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function addPricesToPriceSet (priceSetId: string) { - const pricingService = await initializePricingModule() - - const priceSet = await pricingService.addPrices({ - priceSetId, - prices: [ - { - amount: 500, - currency_code: "USD", - rules: {}, - }, - ], - }) - - // do something with the price set or return it -} +const priceSet = await pricingModuleService.addPrices({ + priceSetId: "pset_123", + prices: [ + { + amount: 500, + currency_code: "USD", + rules: {}, + }, + ], +}) ``` To add prices with rules: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function addPricesToPriceSet (priceSetId: string) { - const pricingService = await initializePricingModule() - - const priceSet = await pricingService.addPrices({ - priceSetId, - prices: [ - { - amount: 300, - currency_code: "EUR", - rules: { - region_id: "PL", - city: "krakow" - }, +const priceSet = await pricingModuleService.addPrices({ + priceSetId: "pset_123", + prices: [ + { + amount: 300, + currency_code: "EUR", + rules: { + region_id: "PL", + city: "krakow", }, - { - amount: 400, - currency_code: "EUR", - min_quantity: 0, - max_quantity: 4, - rules: { - region_id: "PL" - }, + }, + { + amount: 400, + currency_code: "EUR", + min_quantity: 0, + max_quantity: 4, + rules: { + region_id: "PL", }, - { - amount: 450, - currency_code: "EUR", - rules: { - city: "krakow" - }, - } - ], - }) - - // do something with the price set or return it -} + }, + { + amount: 450, + currency_code: "EUR", + rules: { + city: "krakow", + }, + }, + ], +}) ``` ### Parameters - + ### Returns - + ## addPrices(data, sharedContext?): Promise<[PriceSetDTO](../../interfaces/pricing.PriceSetDTO.mdx)[]> @@ -102,78 +82,40 @@ This method adds prices to multiple price sets. ### Example -To add a default price to a price set, don't pass it any rules and make sure to pass it the `currency_code`: - ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function addPricesToPriceSet (priceSetId: string) { - const pricingService = await initializePricingModule() - - const priceSets = await pricingService.addPrices([{ - priceSetId, +const priceSets = await pricingModuleService.addPrices([ + { + priceSetId: "pset_123", prices: [ - { + // default price because it doesn't + // have rules + { amount: 500, currency_code: "USD", rules: {}, }, ], - }]) - - // do something with the price sets or return them -} -``` - -To add prices with rules: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function addPricesToPriceSet (priceSetId: string) { - const pricingService = await initializePricingModule() - - const priceSets = await pricingService.addPrices([{ - priceSetId, + }, + { + priceSetId: "pset_321", prices: [ + // prices with rules { amount: 300, currency_code: "EUR", rules: { region_id: "PL", - city: "krakow" + city: "krakow", }, }, - { - amount: 400, - currency_code: "EUR", - min_quantity: 0, - max_quantity: 4, - rules: { - region_id: "PL" - }, - }, - { - amount: 450, - currency_code: "EUR", - rules: { - city: "krakow" - }, - } ], - }]) - - // do something with the price sets or return them -} + }, +]) ``` ### Parameters - + ### Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.addRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.addRules.mdx index b41db7c709e16..e12343278ae98 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.addRules.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.addRules.mdx @@ -20,31 +20,23 @@ This method adds rules to a price set. ### Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function addRulesToPriceSet (priceSetId: string) { - const pricingService = await initializePricingModule() - - const priceSet = await pricingService.addRules({ - priceSetId, - rules: [{ - attribute: "region_id" - }] - }) - - // do something with the price set or return it -} +const priceSet = await pricingModuleService.addRules({ + priceSetId: "pset_123", + rules: [ + { + attribute: "region_id", + }, + ], +}) ``` ### Parameters - + ### Returns - + ## addRules(data, sharedContext?): Promise<[PriceSetDTO](../../interfaces/pricing.PriceSetDTO.mdx)[]> @@ -53,27 +45,29 @@ This method adds rules to multiple price sets. ### Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function addRulesToPriceSet (priceSetId: string) { - const pricingService = await initializePricingModule() - - const priceSets = await pricingService.addRules([{ - priceSetId, - rules: [{ - attribute: "region_id" - }] - }]) - - // do something with the price sets or return them -} +const priceSets = await pricingModuleService.addRules([ + { + priceSetId: "pset_123", + rules: [ + { + attribute: "region_id", + }, + ], + }, + { + priceSetId: "pset_321", + rules: [ + { + attribute: "customer_group_id", + }, + ], + }, +]) ``` ### Parameters - + ### Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.calculatePrices.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.calculatePrices.mdx index ed50311281161..eac7f07fe2203 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.calculatePrices.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.calculatePrices.mdx @@ -20,74 +20,53 @@ This method is used to calculate prices based on the provided filters and contex When you calculate prices, you must at least specify the currency code: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" -async function calculatePrice (priceSetId: string, currencyCode: string) { - const pricingService = await initializePricingModule() - - const price = await pricingService.calculatePrices( - { id: [priceSetId] }, - { - context: { - currency_code: currencyCode - } - } - ) - - // do something with the price or return it -} +const price = await pricingModuleService.calculatePrices( + { + id: ["pset_123", "pset_321"], + }, + { + context: { + currency_code: "usd", + }, + } +) ``` To calculate prices for specific minimum and/or maximum quantity: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" -async function calculatePrice (priceSetId: string, currencyCode: string) { - const pricingService = await initializePricingModule() - - const price = await pricingService.calculatePrices( - { id: [priceSetId] }, - { - context: { - currency_code: currencyCode, - min_quantity: 4 - } - } - ) - - // do something with the price or return it -} +const price = await pricingModuleService.calculatePrices( + { + id: ["pset_123", "pset_321"], + }, + { + context: { + currency_code: "usd", + min_quantity: 4, + }, + } +) ``` To calculate prices for custom rule types: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" -async function calculatePrice (priceSetId: string, currencyCode: string) { - const pricingService = await initializePricingModule() - - const price = await pricingService.calculatePrices( - { id: [priceSetId] }, - { - context: { - currency_code: currencyCode, - region_id: "US" - } - } - ) - - // do something with the price or return it -} +const price = await pricingModuleService.calculatePrices( + { + id: ["pset_123", "pset_321"], + }, + { + context: { + currency_code: "usd", + region_id: "US", + }, + } +) ``` ## Parameters -`","description":"an object whose keys are the name of the context attribute. Its value can be a string or a number. For example, you can pass the `currency_code` property with its value being the currency code to calculate the price in.\nAnother example is passing the `quantity` property to calculate the price for that specified quantity, which finds a price set whose `min_quantity` and `max_quantity` conditions match the specified quantity.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="calculatePrices"/> +`","description":"an object whose keys are the name of the context attribute. Its value can be a string or a BigNumberInput. For example, you can pass the `currency_code` property with its value being the currency code to calculate the price in.\nAnother example is passing the `quantity` property to calculate the price for that specified quantity, which finds a price set whose `min_quantity` and `max_quantity` conditions match the specified quantity.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="calculatePrices"/> ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.create.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.create.mdx index c4b63d7eb42ca..8be71641d6245 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.create.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.create.mdx @@ -22,90 +22,69 @@ This method is used to create a new price set. To create a default price set, don't pass any rules. For example: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function createPriceSet () { - const pricingService = await initializePricingModule() - - const priceSet = await pricingService.create( +const priceSet = await pricingModuleService.create({ + rules: [], + prices: [ { - rules: [], - prices: [ - { - amount: 500, - currency_code: "USD", - min_quantity: 0, - max_quantity: 4, - rules: {}, - }, - { - amount: 400, - currency_code: "USD", - min_quantity: 5, - max_quantity: 10, - rules: {}, - }, - ], + amount: 500, + currency_code: "USD", + min_quantity: 0, + max_quantity: 4, + rules: {}, }, - ) - - // do something with the price set or return it -} + { + amount: 400, + currency_code: "USD", + min_quantity: 5, + max_quantity: 10, + rules: {}, + }, + ], +}) ``` To create a price set and associate it with rule types: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function createPriceSet () { - const pricingService = await initializePricingModule() - - const priceSet = await pricingService.create( +const priceSet = await pricingModuleService.create({ + rules: [ + { rule_attribute: "region_id" }, + { rule_attribute: "city" }, + ], + prices: [ { - rules: [{ rule_attribute: "region_id" }, { rule_attribute: "city" }], - prices: [ - { - amount: 300, - currency_code: "EUR", - rules: { - region_id: "PL", - city: "krakow" - }, - }, - { - amount: 400, - currency_code: "EUR", - rules: { - region_id: "PL" - }, - }, - { - amount: 450, - currency_code: "EUR", - rules: { - city: "krakow" - }, - } - ], + amount: 300, + currency_code: "EUR", + rules: { + region_id: "PL", + city: "krakow", + }, }, - ) - - // do something with the price set or return it -} + { + amount: 400, + currency_code: "EUR", + rules: { + region_id: "PL", + }, + }, + { + amount: 450, + currency_code: "EUR", + rules: { + city: "krakow", + }, + }, + ], +}) ``` ### Parameters - + ### Returns - + ## create(data, sharedContext?): Promise<[PriceSetDTO](../../interfaces/pricing.PriceSetDTO.mdx)[]> @@ -113,82 +92,65 @@ This method is used to create multiple price sets. ### Example -To create price sets with a default price, don't pass any rules and make sure to pass the `currency_code` of the price. For example: - ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function createPriceSets () { - const pricingService = await initializePricingModule() - - const priceSets = await pricingService.create([ - { - rules: [], - prices: [ - { - amount: 500, - currency_code: "USD", - rules: {}, +const priceSets = await pricingModuleService.create([ + // default price set + { + rules: [], + prices: [ + { + amount: 500, + currency_code: "USD", + min_quantity: 0, + max_quantity: 4, + rules: {}, + }, + { + amount: 400, + currency_code: "USD", + min_quantity: 5, + max_quantity: 10, + rules: {}, + }, + ], + }, + // price set with rules + { + rules: [ + { rule_attribute: "region_id" }, + { rule_attribute: "city" }, + ], + prices: [ + { + amount: 300, + currency_code: "EUR", + rules: { + region_id: "PL", + city: "krakow", }, - ], - }, - ]) - - // do something with the price sets or return them -} -``` - -To create price sets and associate them with rule types: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function createPriceSets () { - const pricingService = await initializePricingModule() - - const priceSets = await pricingService.create([ - { - rules: [{ rule_attribute: "region_id" }, { rule_attribute: "city" }], - prices: [ - { - amount: 300, - currency_code: "EUR", - rules: { - region_id: "PL", - city: "krakow" - }, + }, + { + amount: 400, + currency_code: "EUR", + rules: { + region_id: "PL", }, - { - amount: 400, - currency_code: "EUR", - min_quantity: 0, - max_quantity: 4, - rules: { - region_id: "PL" - }, + }, + { + amount: 450, + currency_code: "EUR", + rules: { + city: "krakow", }, - { - amount: 450, - currency_code: "EUR", - rules: { - city: "krakow" - }, - } - ], - }, - ]) - - // do something with the price sets or return them -} + }, + ], + }, +]) ``` ### Parameters - + ### Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createCurrencies.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createCurrencies.mdx deleted file mode 100644 index 40d8e1fb71c3d..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createCurrencies.mdx +++ /dev/null @@ -1,47 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/createCurrencies -sidebar_label: createCurrencies ---- - -import TypeList from "@site/src/components/TypeList" - -# createCurrencies - Pricing Module Reference - -This documentation provides a reference to the `createCurrencies` method. This belongs to the Pricing Module. - -This method is used to create new currencies. - -## Example - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function createCurrencies () { - const pricingService = await initializePricingModule() - - const currencies = await pricingService.createCurrencies([ - { - code: "USD", - symbol: "$", - symbol_native: "$", - name: "US Dollar", - } - ]) - - // do something with the currencies or return them -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createMoneyAmounts.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createMoneyAmounts.mdx deleted file mode 100644 index 9719f1e09464b..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createMoneyAmounts.mdx +++ /dev/null @@ -1,51 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/createMoneyAmounts -sidebar_label: createMoneyAmounts ---- - -import TypeList from "@site/src/components/TypeList" - -# createMoneyAmounts - Pricing Module Reference - -This documentation provides a reference to the `createMoneyAmounts` method. This belongs to the Pricing Module. - -This method creates money amounts. - -## Example - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveMoneyAmounts () { - const pricingService = await initializePricingModule() - - const moneyAmounts = await pricingService.createMoneyAmounts([ - { - amount: 500, - currency_code: "USD", - }, - { - amount: 400, - currency_code: "USD", - min_quantity: 0, - max_quantity: 4 - } - ]) - - // do something with the money amounts or return them -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createPriceListRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createPriceListRules.mdx index e5b311f483e4c..70a2a2f5d6028 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createPriceListRules.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createPriceListRules.mdx @@ -18,25 +18,18 @@ This method is used to create price list rules. ## Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function createPriceListRules (items: { - rule_type_id: string - price_list_id: string -}[]) { - const pricingService = await initializePricingModule() - - const priceListRules = await pricingService.createPriceListRules(items) - - // do something with the price list rule or return them -} +const priceListRules = + await pricingModuleService.createPriceListRules([ + { + rule_type_id: "rul-typ_123", + price_list_id: "plist_123", + }, + ]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createPriceLists.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createPriceLists.mdx index dc484112a2031..7571c6a000fe2 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createPriceLists.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createPriceLists.mdx @@ -18,27 +18,23 @@ This method is used to create price lists. ## Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function createPriceList (items: { - title: string - description: string - starts_at?: string - ends_at?: string -}[]) { - const pricingService = await initializePricingModule() - - const priceList = await pricingService.createPriceLists(items) - - // do something with the price lists or return them -} +const priceLists = + await pricingModuleService.createPriceLists([ + { + title: "Sale 1", + description: "Summer sale", + }, + { + title: "Sale 2", + description: "Winter sale", + starts_at: "2024-12-21", + }, + ]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createPriceRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createPriceRules.mdx index b0bbdd9b999b6..ebec9b5f9d7ac 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createPriceRules.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createPriceRules.mdx @@ -18,38 +18,19 @@ This method is used to create new price rules based on the provided data. ## Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function createPriceRules ( - id: string, - priceSetId: string, - ruleTypeId: string, - value: string, - priceSetMoneyAmountId: string, - priceListId: string -) { - const pricingService = await initializePricingModule() - - const priceRules = await pricingService.createPriceRules([ +const priceRules = + await pricingModuleService.createPriceRules([ { - id, - price_set_id: priceSetId, - rule_type_id: ruleTypeId, - value, - price_set_money_amount_id: priceSetMoneyAmountId, - price_list_id: priceListId - } + value: "VIP", + rule_type_id: "rul-typ_123", + price_set_id: "pset_123", + }, ]) - - // do something with the price rules or return them -} ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createPriceSetMoneyAmountRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createPriceSetMoneyAmountRules.mdx deleted file mode 100644 index 444235f2f2bf9..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createPriceSetMoneyAmountRules.mdx +++ /dev/null @@ -1,47 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/createPriceSetMoneyAmountRules -sidebar_label: createPriceSetMoneyAmountRules ---- - -import TypeList from "@site/src/components/TypeList" - -# createPriceSetMoneyAmountRules - Pricing Module Reference - -This documentation provides a reference to the `createPriceSetMoneyAmountRules` method. This belongs to the Pricing Module. - -This method is used to create new price set money amount rules. A price set money amount rule creates an association between a price set money amount and -a rule type. - -## Example - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function createPriceSetMoneyAmountRules (priceSetMoneyAmountId: string, ruleTypeId: string, value: string) { - const pricingService = await initializePricingModule() - - const priceSetMoneyAmountRules = await pricingService.createPriceSetMoneyAmountRules([ - { - price_set_money_amount: priceSetMoneyAmountId, - rule_type: ruleTypeId, - value - } - ]) - - // do something with the price set money amount rules or return them -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createRuleTypes.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createRuleTypes.mdx index fb418e1b1257a..d478c12a0255f 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createRuleTypes.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.createRuleTypes.mdx @@ -18,27 +18,21 @@ This method is used to create new rule types. ## Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function createRuleTypes () { - const pricingService = await initializePricingModule() - - const ruleTypes = await pricingService.createRuleTypes([ - { - name: "Region", - rule_attribute: "region_id" - } - ]) - - // do something with the rule types or return them -} +const ruleTypes = await pricingModuleService.createRuleTypes([ + { + name: "Region", + rule_attribute: "region_id", + }, + { + name: "Customer Group", + rule_attribute: "customer_group_id", + }, +]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.delete.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.delete.mdx index 453cfba6d0dee..529ae275724af 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.delete.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.delete.mdx @@ -18,20 +18,12 @@ This method deletes price sets by their IDs. ## Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function removePriceSetRule (priceSetIds: string[]) { - const pricingService = await initializePricingModule() - - await pricingService.delete(priceSetIds) -} +await pricingModuleService.delete(["pset_123", "pset_321"]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deleteCurrencies.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deleteCurrencies.mdx deleted file mode 100644 index 7707f9807bcb8..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deleteCurrencies.mdx +++ /dev/null @@ -1,39 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/deleteCurrencies -sidebar_label: deleteCurrencies ---- - -import TypeList from "@site/src/components/TypeList" - -# deleteCurrencies - Pricing Module Reference - -This documentation provides a reference to the `deleteCurrencies` method. This belongs to the Pricing Module. - -This method is used to delete currencies based on their currency code. - -## Example - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function deleteCurrencies () { - const pricingService = await initializePricingModule() - - await pricingService.deleteCurrencies(["USD"]) - -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deleteMoneyAmounts.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deleteMoneyAmounts.mdx deleted file mode 100644 index 25371f968490d..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deleteMoneyAmounts.mdx +++ /dev/null @@ -1,40 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/deleteMoneyAmounts -sidebar_label: deleteMoneyAmounts ---- - -import TypeList from "@site/src/components/TypeList" - -# deleteMoneyAmounts - Pricing Module Reference - -This documentation provides a reference to the `deleteMoneyAmounts` method. This belongs to the Pricing Module. - -This method deletes money amounts by their IDs. - -## Example - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function deleteMoneyAmounts (moneyAmountIds: string[]) { - const pricingService = await initializePricingModule() - - await pricingService.deleteMoneyAmounts( - moneyAmountIds - ) -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deletePriceListRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deletePriceListRules.mdx index ec702b9f4926b..fa28240aa93c1 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deletePriceListRules.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deletePriceListRules.mdx @@ -18,20 +18,15 @@ This method is used to delete price list rules. ## Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function deletePriceListRules (priceListRuleIds: string[]) { - const pricingService = await initializePricingModule() - - await pricingService.deletePriceListRules(priceListRuleIds) -} +await pricingModuleService.deletePriceListRules([ + "plrule_123", + "plrule_321", +]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deletePriceLists.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deletePriceLists.mdx index 549ea75c94675..c182c27ae866c 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deletePriceLists.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deletePriceLists.mdx @@ -18,20 +18,15 @@ This method is used to delete price lists. ## Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function deletePriceLists (ids: string[]) { - const pricingService = await initializePricingModule() - - await pricingService.deletePriceLists(ids) -} +await pricingModuleService.deletePriceLists([ + "plist_123", + "plist_321", +]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deletePriceRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deletePriceRules.mdx index dce384d576427..a3d86efd61e5e 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deletePriceRules.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deletePriceRules.mdx @@ -18,22 +18,15 @@ This method is used to delete price rules based on the specified IDs. ## Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function deletePriceRules ( - id: string, -) { - const pricingService = await initializePricingModule() - - await pricingService.deletePriceRules([id]) -} +await pricingModuleService.deletePriceRules([ + "prule_123", + "prule_321", +]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deletePriceSetMoneyAmountRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deletePriceSetMoneyAmountRules.mdx deleted file mode 100644 index f2e9aa1e33514..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deletePriceSetMoneyAmountRules.mdx +++ /dev/null @@ -1,38 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/deletePriceSetMoneyAmountRules -sidebar_label: deletePriceSetMoneyAmountRules ---- - -import TypeList from "@site/src/components/TypeList" - -# deletePriceSetMoneyAmountRules - Pricing Module Reference - -This documentation provides a reference to the `deletePriceSetMoneyAmountRules` method. This belongs to the Pricing Module. - -This method is used to delete price set money amount rules based on the specified IDs. - -## Example - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function deletePriceSetMoneyAmountRule (id: string) { - const pricingService = await initializePricingModule() - - await pricingService.deletePriceSetMoneyAmountRules([id]) -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deleteRuleTypes.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deleteRuleTypes.mdx index 289764b20a3d8..b5decfd3a4443 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deleteRuleTypes.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.deleteRuleTypes.mdx @@ -18,20 +18,15 @@ This method is used to delete rule types based on the provided IDs. ## Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function deleteRuleTypes (ruleTypeId: string) { - const pricingService = await initializePricingModule() - - await pricingService.deleteRuleTypes([ruleTypeId]) -} +const ruleTypes = await pricingModuleService.deleteRuleTypes([ + "rul-typ_123", + "rul-typ_321", +]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.list.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.list.mdx index 32b3cd53404d1..124e7fa00ca6b 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.list.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.list.mdx @@ -20,108 +20,42 @@ This method is used to retrieve a paginated list of price sets based on optional To retrieve a list of price sets using their IDs: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSets (priceSetIds: string[]) { - const pricingService = await initializePricingModule() - - const priceSets = await pricingService.list( - { - id: priceSetIds - }, - ) - - // do something with the price sets or return them -} +const priceSets = await pricingModuleService.list({ + id: ["pset_123", "pset_321"], +}) ``` To specify relations that should be retrieved within the price sets: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSets (priceSetIds: string[]) { - const pricingService = await initializePricingModule() - - const priceSets = await pricingService.list( - { - id: priceSetIds - }, - { - relations: ["money_amounts"] - } - ) - - // do something with the price sets or return them -} +const priceSets = await pricingModuleService.list( + { + id: ["pset_123", "pset_321"], + }, + { + relations: ["prices"], + } +) ``` By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSets (priceSetIds: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const priceSets = await pricingService.list( - { - id: priceSetIds - }, - { - relations: ["money_amounts"], - skip, - take - } - ) - - // do something with the price sets or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSets (priceSetIds: string[], moneyAmountIds: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const priceSets = await pricingService.list( - { - $and: [ - { - id: priceSetIds - }, - { - money_amounts: { - id: moneyAmountIds - } - } - ] - }, - { - relations: ["money_amounts"], - skip, - take - } - ) - - // do something with the price sets or return them -} +const priceSets = await pricingModuleService.list( + { + id: ["pset_123", "pset_321"], + }, + { + relations: ["prices"], + take: 20, + skip: 2, + } +) ``` ## Parameters - +`","description":"an object whose keys are the name of the context attribute. Its value can be a string or a BigNumberInput. For example, you can pass the `currency_code` property with its value being the currency code to calculate the price in.\nAnother example is passing the `quantity` property to calculate the price for that specified quantity, which finds a price set whose `min_quantity` and `max_quantity` conditions match the specified quantity.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`[]","description":"IDs to filter price sets by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"money_amounts","type":"[FilterableMoneyAmountProps](../../interfaces/pricing.FilterableMoneyAmountProps.mdx)","description":"Filters to apply on a price set's associated money amounts.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"([FilterableMoneyAmountProps](../../interfaces/pricing.FilterableMoneyAmountProps.mdx) \\| [BaseFilterable](../../interfaces/pricing.BaseFilterable.mdx)<[FilterableMoneyAmountProps](../../interfaces/pricing.FilterableMoneyAmountProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"([FilterableMoneyAmountProps](../../interfaces/pricing.FilterableMoneyAmountProps.mdx) \\| [BaseFilterable](../../interfaces/pricing.BaseFilterable.mdx)<[FilterableMoneyAmountProps](../../interfaces/pricing.FilterableMoneyAmountProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`[]","description":"IDs to filter money amounts by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string` \\| `string`[]","description":"Currency codes to filter money amounts by.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"config","type":"[FindConfig](../../interfaces/pricing.FindConfig.mdx)<[PriceSetDTO](../../interfaces/pricing.PriceSetDTO.mdx)>","description":"The configurations determining how the price sets are retrieved. Its properties, such as `select` or `relations`, accept the\nattributes or relations associated with a price set.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"(`string` \\| keyof Entity)[]","description":"An array of strings, each being attribute names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`null` \\| `number`","description":"A number indicating the number of records to skip before retrieving the results.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`null` \\| `number`","description":"A number indicating the number of records to return in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"An array of strings, each being relation names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`\nto sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"withDeleted","type":"`boolean`","description":"A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the\n`SoftDeletableEntity` class.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"filters","type":"`Record`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCount.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCount.mdx index 01d49638faa76..2e3e6786a29b5 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCount.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCount.mdx @@ -20,108 +20,45 @@ This method is used to retrieve a paginated list of price sets along with the to To retrieve a list of prices sets using their IDs: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSets (priceSetIds: string[]) { - const pricingService = await initializePricingModule() - - const [priceSets, count] = await pricingService.listAndCount( - { - id: priceSetIds - }, - ) - - // do something with the price sets or return them -} +const [priceSets, count] = + await pricingModuleService.listAndCount({ + id: ["pset_123", "pset_321"], + }) ``` To specify relations that should be retrieved within the price sets: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSets (priceSetIds: string[]) { - const pricingService = await initializePricingModule() - - const [priceSets, count] = await pricingService.listAndCount( +const [priceSets, count] = + await pricingModuleService.listAndCount( { - id: priceSetIds + id: ["pset_123", "pset_321"], }, { - relations: ["money_amounts"] + relations: ["prices"], } ) - - // do something with the price sets or return them -} ``` By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSets (priceSetIds: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const [priceSets, count] = await pricingService.listAndCount( - { - id: priceSetIds - }, - { - relations: ["money_amounts"], - skip, - take - } - ) - - // do something with the price sets or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSets (priceSetIds: string[], moneyAmountIds: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const [priceSets, count] = await pricingService.listAndCount( +const [priceSets, count] = + await pricingModuleService.listAndCount( { - $and: [ - { - id: priceSetIds - }, - { - money_amounts: { - id: moneyAmountIds - } - } - ] + id: ["pset_123", "pset_321"], }, { - relations: ["money_amounts"], - skip, - take + relations: ["prices"], + take: 20, + skip: 2, } ) - - // do something with the price sets or return them -} ``` ## Parameters - +`","description":"an object whose keys are the name of the context attribute. Its value can be a string or a BigNumberInput. For example, you can pass the `currency_code` property with its value being the currency code to calculate the price in.\nAnother example is passing the `quantity` property to calculate the price for that specified quantity, which finds a price set whose `min_quantity` and `max_quantity` conditions match the specified quantity.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`[]","description":"IDs to filter price sets by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"money_amounts","type":"[FilterableMoneyAmountProps](../../interfaces/pricing.FilterableMoneyAmountProps.mdx)","description":"Filters to apply on a price set's associated money amounts.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"([FilterableMoneyAmountProps](../../interfaces/pricing.FilterableMoneyAmountProps.mdx) \\| [BaseFilterable](../../interfaces/pricing.BaseFilterable.mdx)<[FilterableMoneyAmountProps](../../interfaces/pricing.FilterableMoneyAmountProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"([FilterableMoneyAmountProps](../../interfaces/pricing.FilterableMoneyAmountProps.mdx) \\| [BaseFilterable](../../interfaces/pricing.BaseFilterable.mdx)<[FilterableMoneyAmountProps](../../interfaces/pricing.FilterableMoneyAmountProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`[]","description":"IDs to filter money amounts by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string` \\| `string`[]","description":"Currency codes to filter money amounts by.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"config","type":"[FindConfig](../../interfaces/pricing.FindConfig.mdx)<[PriceSetDTO](../../interfaces/pricing.PriceSetDTO.mdx)>","description":"The configurations determining how the price sets are retrieved. Its properties, such as `select` or `relations`, accept the\nattributes or relations associated with a price set.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"(`string` \\| keyof Entity)[]","description":"An array of strings, each being attribute names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`null` \\| `number`","description":"A number indicating the number of records to skip before retrieving the results.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`null` \\| `number`","description":"A number indicating the number of records to return in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"An array of strings, each being relation names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`\nto sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"withDeleted","type":"`boolean`","description":"A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the\n`SoftDeletableEntity` class.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"filters","type":"`Record`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountCurrencies.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountCurrencies.mdx deleted file mode 100644 index ccfd37187dc31..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountCurrencies.mdx +++ /dev/null @@ -1,94 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/listAndCountCurrencies -sidebar_label: listAndCountCurrencies ---- - -import TypeList from "@site/src/components/TypeList" - -# listAndCountCurrencies - Pricing Module Reference - -This documentation provides a reference to the `listAndCountCurrencies` method. This belongs to the Pricing Module. - -This method is used to retrieve a paginated list of currencies along with the total count of available currencies satisfying the provided filters. - -## Example - -To retrieve a list of currencies using their codes: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveCurrencies (codes: string[]) { - const pricingService = await initializePricingModule() - - const [currencies, count] = await pricingService.listAndCountCurrencies( - { - code: codes - }, - ) - - // do something with the currencies or return them -} -``` - -To specify attributes that should be retrieved within the money amounts: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveCurrencies (codes: string[]) { - const pricingService = await initializePricingModule() - - const [currencies, count] = await pricingService.listAndCountCurrencies( - { - code: codes - }, - { - select: ["symbol_native"] - } - ) - - // do something with the currencies or return them -} -``` - -By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveCurrencies (codes: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const [currencies, count] = await pricingService.listAndCountCurrencies( - { - code: codes - }, - { - select: ["symbol_native"], - skip, - take - } - ) - - // do something with the currencies or return them -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountMoneyAmounts.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountMoneyAmounts.mdx deleted file mode 100644 index bef0c666511ee..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountMoneyAmounts.mdx +++ /dev/null @@ -1,126 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/listAndCountMoneyAmounts -sidebar_label: listAndCountMoneyAmounts ---- - -import TypeList from "@site/src/components/TypeList" - -# listAndCountMoneyAmounts - Pricing Module Reference - -This documentation provides a reference to the `listAndCountMoneyAmounts` method. This belongs to the Pricing Module. - -This method is used to retrieve a paginated list of money amounts along with the total count of available money amounts satisfying the provided filters. - -## Example - -To retrieve a list of money amounts using their IDs: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveMoneyAmounts (moneyAmountIds: string[]) { - const pricingService = await initializePricingModule() - - const [moneyAmounts, count] = await pricingService.listAndCountMoneyAmounts( - { - id: moneyAmountIds - } - ) - - // do something with the money amounts or return them -} -``` - -To specify relations that should be retrieved within the money amounts: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveMoneyAmounts (moneyAmountIds: string[]) { - const pricingService = await initializePricingModule() - - const [moneyAmounts, count] = await pricingService.listAndCountMoneyAmounts( - { - id: moneyAmountIds - }, - { - relations: ["currency"] - } - ) - - // do something with the money amounts or return them -} -``` - -By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveMoneyAmounts (moneyAmountIds: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const [moneyAmounts, count] = await pricingService.listAndCountMoneyAmounts( - { - id: moneyAmountIds - }, - { - relations: ["currency"], - skip, - take - } - ) - - // do something with the money amounts or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveMoneyAmounts (moneyAmountIds: string[], currencyCode: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const [moneyAmounts, count] = await pricingService.listAndCountMoneyAmounts( - { - $and: [ - { - id: moneyAmountIds - }, - { - currency_code: currencyCode - } - ] - }, - { - relations: ["currency"], - skip, - take - } - ) - - // do something with the money amounts or return them -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceListRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceListRules.mdx index 098bf05edaefe..f7808365ce45a 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceListRules.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceListRules.mdx @@ -20,106 +20,45 @@ This method is used to retrieve a paginated list of price list ruless along with To retrieve a list of price list vs using their IDs: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function listAndCountPriceListRules (priceListRuleIds: string[]) { - const pricingService = await initializePricingModule() - - const [priceListRules, count] = await pricingService.listAndCountPriceListRules( - { - id: priceListRuleIds - }, - ) - - // do something with the price list rules or return them -} +const [priceListRules, count] = + await pricingModuleService.listAndCountPriceListRules({ + id: ["plrule_123", "plrule_321"], + }) ``` To specify relations that should be retrieved within the price list rules: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function listAndCountPriceListRules (priceListRuleIds: string[]) { - const pricingService = await initializePricingModule() - - const [priceListRules, count] = await pricingService.listAndCountPriceListRules( - { - id: priceListRuleIds - }, - { - relations: ["price_list_rule_values"] - } - ) - - // do something with the price list rules or return them -} -``` - -By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function listAndCountPriceListRules (priceListRuleIds: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const [priceListRules, count] = await pricingService.listAndCountPriceListRules( +const [priceListRules, count] = + await pricingModuleService.listAndCountPriceListRules( { - id: priceListRuleIds + id: ["plrule_123", "plrule_321"], }, { relations: ["price_list_rule_values"], - skip, - take } ) - - // do something with the price list rules or return them -} ``` -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function listAndCountPriceListRules (priceListRuleIds: string[], ruleTypeIDs: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const [priceListRules, count] = await pricingService.listAndCountPriceListRules( +const [priceListRules, count] = + await pricingModuleService.listAndCountPriceListRules( { - $and: [ - { - id: priceListRuleIds - }, - { - rule_types: ruleTypeIDs - } - ] + id: ["plrule_123", "plrule_321"], }, { relations: ["price_list_rule_values"], - skip, - take + take: 20, + skip: 2, } ) - - // do something with the price list rules or return them -} ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountPriceListRules"/> ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceLists.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceLists.mdx index 2c3ab99183726..b25d099b300d6 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceLists.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceLists.mdx @@ -20,106 +20,45 @@ This method is used to retrieve a paginated list of price lists along with the t To retrieve a list of price lists using their IDs: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceLists (priceListIds: string[]) { - const pricingService = await initializePricingModule() - - const [priceLists, count] = await pricingService.listPriceLists( - { - id: priceListIds - }, - ) - - // do something with the price lists or return them -} +const [priceLists, count] = + await pricingModuleService.listAndCountPriceLists({ + id: ["plist_123", "plist_321"], + }) ``` To specify relations that should be retrieved within the price lists: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceLists (priceListIds: string[]) { - const pricingService = await initializePricingModule() - - const [priceLists, count] = await pricingService.listPriceLists( +const [priceLists, count] = + await pricingModuleService.listAndCountPriceLists( { - id: priceListIds + id: ["plist_123", "plist_321"], }, { - relations: ["price_set_money_amounts"] + relations: ["prices"], } ) - - // do something with the price lists or return them -} ``` By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceLists (priceListIds: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const [priceLists, count] = await pricingService.listPriceLists( - { - id: priceListIds - }, - { - relations: ["price_set_money_amounts"], - skip, - take - } - ) - - // do something with the price lists or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceLists (priceListIds: string[], titles: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const [priceLists, count] = await pricingService.listPriceLists( +const [priceLists, count] = + await pricingModuleService.listAndCountPriceLists( { - $and: [ - { - id: priceListIds - }, - { - title: titles - } - ] + id: ["plist_123", "plist_321"], }, { - relations: ["price_set_money_amounts"], - skip, - take + relations: ["prices"], + take: 20, + skip: 2, } ) - - // do something with the price lists or return them -} ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountPriceLists"/> ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceRules.mdx index 0aef0bac18ece..be869694e03bf 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceRules.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceRules.mdx @@ -20,95 +20,45 @@ This method is used to retrieve a paginated list of price rules along with the t To retrieve a list of price rules using their IDs: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceRules (id: string) { - const pricingService = await initializePricingModule() - - const [priceRules, count] = await pricingService.listAndCountPriceRules({ - id: [id] +const [priceRules, count] = + await pricingModuleService.listAndCountPriceListRules({ + id: ["prule_123", "prule_321"], }) - - // do something with the price rules or return them -} ``` To specify relations that should be retrieved within the price rules: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceRules (id: string) { - const pricingService = await initializePricingModule() - - const [priceRules, count] = await pricingService.listAndCountPriceRules({ - id: [id], - }, { - relations: ["price_set"] - }) - - // do something with the price rules or return them -} +const [priceRules, count] = + await pricingModuleService.listAndCountPriceListRules( + { + id: ["prule_123", "prule_321"], + }, + { + relations: ["price_set"], + } + ) ``` By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceRules (id: string, skip: number, take: number) { - const pricingService = await initializePricingModule() - - const [priceRules, count] = await pricingService.listAndCountPriceRules({ - id: [id], - }, { - relations: ["price_set"], - skip, - take - }) - - // do something with the price rules or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceRules (ids: string[], name: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const [priceRules, count] = await pricingService.listAndCountPriceRules({ - $and: [ - { - id: ids - }, - { - name - } - ] - }, { - relations: ["price_set"], - skip, - take - }) - - // do something with the price rules or return them -} +const [priceRules, count] = + await pricingModuleService.listAndCountPriceListRules( + { + id: ["prule_123", "prule_321"], + }, + { + relations: ["price_set"], + take: 20, + skip: 2, + } + ) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountPriceRules"/> ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceSetMoneyAmountRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceSetMoneyAmountRules.mdx deleted file mode 100644 index 39fafc9ad0db5..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceSetMoneyAmountRules.mdx +++ /dev/null @@ -1,116 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/listAndCountPriceSetMoneyAmountRules -sidebar_label: listAndCountPriceSetMoneyAmountRules ---- - -import TypeList from "@site/src/components/TypeList" - -# listAndCountPriceSetMoneyAmountRules - Pricing Module Reference - -This documentation provides a reference to the `listAndCountPriceSetMoneyAmountRules` method. This belongs to the Pricing Module. - -This method is used to retrieve a paginated list of price set money amount rules along with the total count of -available price set money amount rules satisfying the provided filters. - -## Example - -To retrieve a list of price set money amounts using their IDs: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSetMoneyAmountRules (id: string) { - const pricingService = await initializePricingModule() - - const [priceSetMoneyAmountRules, count] = await pricingService.listAndCountPriceSetMoneyAmountRules({ - id: [id] - }) - - // do something with the price set money amount rules or return them -} -``` - -To specify relations that should be retrieved within the price set money amount rules: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSetMoneyAmountRules (id: string) { - const pricingService = await initializePricingModule() - - const [priceSetMoneyAmountRules, count] = await pricingService.listAndCountPriceSetMoneyAmountRules({ - id: [id] - }, { - relations: ["price_set_money_amount"], - }) - - // do something with the price set money amount rules or return them -} -``` - -By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSetMoneyAmountRules (id: string, skip: number, take: number) { - const pricingService = await initializePricingModule() - - const [priceSetMoneyAmountRules, count] = await pricingService.listAndCountPriceSetMoneyAmountRules({ - id: [id] - }, { - relations: ["price_set_money_amount"], - skip, - take - }) - - // do something with the price set money amount rules or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSetMoneyAmountRules (ids: string[], ruleTypeId: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const [priceSetMoneyAmountRules, count] = await pricingService.listAndCountPriceSetMoneyAmountRules({ - $and: [ - { - id: ids - }, - { - rule_type_id: ruleTypeId - } - ] - }, { - relations: ["price_set_money_amount"], - skip, - take - }) - - // do something with the price set money amount rules or return them -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceSetMoneyAmounts.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceSetMoneyAmounts.mdx deleted file mode 100644 index b2ceeac218cfe..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceSetMoneyAmounts.mdx +++ /dev/null @@ -1,116 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/listAndCountPriceSetMoneyAmounts -sidebar_label: listAndCountPriceSetMoneyAmounts ---- - -import TypeList from "@site/src/components/TypeList" - -# listAndCountPriceSetMoneyAmounts - Pricing Module Reference - -This documentation provides a reference to the `listAndCountPriceSetMoneyAmounts` method. This belongs to the Pricing Module. - -This method is used to retrieve a paginated list of price set money amounts along with the total count of -available price set money amounts satisfying the provided filters. - -## Example - -To retrieve a list of price set money amounts using their IDs: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSetMoneyAmounts (id: string) { - const pricingService = await initializePricingModule() - - const [priceSetMoneyAmounts, count] = await pricingService.listAndCountPriceSetMoneyAmounts({ - id: [id] - }) - - // do something with the price set money amounts or return them -} -``` - -To specify relations that should be retrieved within the price set money amounts: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSetMoneyAmounts (id: string) { - const pricingService = await initializePricingModule() - - const [priceSetMoneyAmounts, count] = await pricingService.listAndCountPriceSetMoneyAmounts({ - id: [id] - }, { - relations: ["price_rules"], - }) - - // do something with the price set money amounts or return them -} -``` - -By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSetMoneyAmounts (id: string, skip: number, take: number) { - const pricingService = await initializePricingModule() - - const [priceSetMoneyAmounts, count] = await pricingService.listAndCountPriceSetMoneyAmounts({ - id: [id] - }, { - relations: ["price_rules"], - skip, - take - }) - - // do something with the price set money amounts or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSetMoneyAmounts (ids: string[], titles: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const [priceSetMoneyAmounts, count] = await pricingService.listAndCountPriceSetMoneyAmounts({ - $and: [ - { - id: ids - }, - { - title: titles - } - ] - }, { - relations: ["price_rules"], - skip, - take - }) - - // do something with the price set money amounts or return them -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPrices.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPrices.mdx new file mode 100644 index 0000000000000..f932b36dfc61c --- /dev/null +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPrices.mdx @@ -0,0 +1,65 @@ +--- +displayed_sidebar: pricingReference +badge: + variant: orange + text: Beta +slug: /references/pricing/listAndCountPrices +sidebar_label: listAndCountPrices +--- + +import TypeList from "@site/src/components/TypeList" + +# listAndCountPrices - Pricing Module Reference + +This documentation provides a reference to the `listAndCountPrices` method. This belongs to the Pricing Module. + +This method is used to retrieve a paginated list of prices along with the total count of +available prices satisfying the provided filters. + +## Example + +To retrieve a list of prices using their IDs: + +```ts +const [prices, count] = await pricingModuleService.listPrices( + { + id: ["price_123", "price_321"], + } +) +``` + +To specify relations that should be retrieved within the prices: + +```ts +const [prices, count] = await pricingModuleService.listPrices( + { + id: ["price_123", "price_321"], + }, + { + relations: ["price_rules"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [prices, count] = await pricingModuleService.listPrices( + { + id: ["price_123", "price_321"], + }, + { + relations: ["price_rules"], + take: 20, + skip: 2, + } +) +``` + +## Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountPrices"/> + +## Returns + + diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountRuleTypes.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountRuleTypes.mdx index 5b166e64ac120..42810ff3aff4c 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountRuleTypes.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountRuleTypes.mdx @@ -20,101 +20,45 @@ This method is used to retrieve a paginated list of rule types along with the to To retrieve a list of rule types using their IDs: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveRuleTypes (ruleTypeId: string) { - const pricingService = await initializePricingModule() - - const [ruleTypes, count] = await pricingService.listAndCountRuleTypes({ - id: [ - ruleTypeId - ] +const [ruleTypes, count] = + await pricingModuleService.listAndCountRuleTypes({ + id: ["rul-typ_123", "rul-typ_321"], }) - - // do something with the rule types or return them -} ``` To specify attributes that should be retrieved within the rule types: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveRuleTypes (ruleTypeId: string) { - const pricingService = await initializePricingModule() - - const [ruleTypes, count] = await pricingService.listAndCountRuleTypes({ - id: [ - ruleTypeId - ] - }, { - select: ["name"] - }) - - // do something with the rule types or return them -} +const [ruleTypes, count] = + await pricingModuleService.listAndCountRuleTypes( + { + id: ["rul-typ_123", "rul-typ_321"], + }, + { + relations: ["price_sets"], + } + ) ``` By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveRuleTypes (ruleTypeId: string, skip: number, take: number) { - const pricingService = await initializePricingModule() - - const [ruleTypes, count] = await pricingService.listAndCountRuleTypes({ - id: [ - ruleTypeId - ] - }, { - select: ["name"], - skip, - take - }) - - // do something with the rule types or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveRuleTypes (ruleTypeId: string[], name: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const [ruleTypes, count] = await pricingService.listAndCountRuleTypes({ - $and: [ - { - id: ruleTypeId - }, - { - name - } - ] - }, { - select: ["name"], - skip, - take - }) - - // do something with the rule types or return them -} +const [ruleTypes, count] = + await pricingModuleService.listAndCountRuleTypes( + { + id: ["rul-typ_123", "rul-typ_321"], + }, + { + relations: ["price_sets"], + take: 20, + skip: 2, + } + ) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountRuleTypes"/> ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listCurrencies.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listCurrencies.mdx deleted file mode 100644 index 7ee140a53f218..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listCurrencies.mdx +++ /dev/null @@ -1,94 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/listCurrencies -sidebar_label: listCurrencies ---- - -import TypeList from "@site/src/components/TypeList" - -# listCurrencies - Pricing Module Reference - -This documentation provides a reference to the `listCurrencies` method. This belongs to the Pricing Module. - -This method is used to retrieve a paginated list of currencies based on optional filters and configuration. - -## Example - -To retrieve a list of currencies using their codes: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveCurrencies (codes: string[]) { - const pricingService = await initializePricingModule() - - const currencies = await pricingService.listCurrencies( - { - code: codes - }, - ) - - // do something with the currencies or return them -} -``` - -To specify attributes that should be retrieved within the money amounts: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveCurrencies (codes: string[]) { - const pricingService = await initializePricingModule() - - const currencies = await pricingService.listCurrencies( - { - code: codes - }, - { - select: ["symbol_native"] - } - ) - - // do something with the currencies or return them -} -``` - -By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveCurrencies (codes: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const currencies = await pricingService.listCurrencies( - { - code: codes - }, - { - select: ["symbol_native"], - skip, - take - } - ) - - // do something with the currencies or return them -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listMoneyAmounts.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listMoneyAmounts.mdx deleted file mode 100644 index 052a7b25b2cd4..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listMoneyAmounts.mdx +++ /dev/null @@ -1,126 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/listMoneyAmounts -sidebar_label: listMoneyAmounts ---- - -import TypeList from "@site/src/components/TypeList" - -# listMoneyAmounts - Pricing Module Reference - -This documentation provides a reference to the `listMoneyAmounts` method. This belongs to the Pricing Module. - -This method is used to retrieve a paginated list of money amounts based on optional filters and configuration. - -## Example - -To retrieve a list of money amounts using their IDs: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveMoneyAmounts (moneyAmountIds: string[]) { - const pricingService = await initializePricingModule() - - const moneyAmounts = await pricingService.listMoneyAmounts( - { - id: moneyAmountIds - } - ) - - // do something with the money amounts or return them -} -``` - -To specify relations that should be retrieved within the money amounts: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveMoneyAmounts (moneyAmountIds: string[]) { - const pricingService = await initializePricingModule() - - const moneyAmounts = await pricingService.listMoneyAmounts( - { - id: moneyAmountIds - }, - { - relations: ["currency"] - } - ) - - // do something with the money amounts or return them -} -``` - -By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveMoneyAmounts (moneyAmountIds: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const moneyAmounts = await pricingService.listMoneyAmounts( - { - id: moneyAmountIds - }, - { - relations: ["currency"], - skip, - take - } - ) - - // do something with the money amounts or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveMoneyAmounts (moneyAmountIds: string[], currencyCode: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const moneyAmounts = await pricingService.listMoneyAmounts( - { - $and: [ - { - id: moneyAmountIds - }, - { - currency_code: currencyCode - } - ] - }, - { - relations: ["currency"], - skip, - take - } - ) - - // do something with the money amounts or return them -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceListRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceListRules.mdx index 7a8d5f3557edb..1783a96f342ae 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceListRules.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceListRules.mdx @@ -20,106 +20,45 @@ This method is used to retrieve a paginated list of price list rules based on op To retrieve a list of price list vs using their IDs: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function listPriceListRules (priceListRuleIds: string[]) { - const pricingService = await initializePricingModule() - - const priceListRules = await pricingService.listPriceListRules( - { - id: priceListRuleIds - }, - ) - - // do something with the price list rules or return them -} +const priceListRules = + await pricingModuleService.listPriceListRules({ + id: ["plrule_123", "plrule_321"], + }) ``` To specify relations that should be retrieved within the price list rules: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function listPriceListRules (priceListRuleIds: string[]) { - const pricingService = await initializePricingModule() - - const priceListRules = await pricingService.listPriceListRules( - { - id: priceListRuleIds - }, - { - relations: ["price_list_rule_values"] - } - ) - - // do something with the price list rules or return them -} -``` - -By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function listPriceListRules (priceListRuleIds: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const priceListRules = await pricingService.listPriceListRules( +const priceListRules = + await pricingModuleService.listPriceListRules( { - id: priceListRuleIds + id: ["plrule_123", "plrule_321"], }, { relations: ["price_list_rule_values"], - skip, - take } ) - - // do something with the price list rules or return them -} ``` -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function listPriceListRules (priceListRuleIds: string[], ruleTypeIDs: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const priceListRules = await pricingService.listPriceListRules( +const priceListRules = + await pricingModuleService.listPriceListRules( { - $and: [ - { - id: priceListRuleIds - }, - { - rule_types: ruleTypeIDs - } - ] + id: ["plrule_123", "plrule_321"], }, { relations: ["price_list_rule_values"], - skip, - take + take: 20, + skip: 2, } ) - - // do something with the price list rules or return them -} ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listPriceListRules"/> ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceLists.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceLists.mdx index be666788305b2..36a51600a2d6f 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceLists.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceLists.mdx @@ -20,106 +20,42 @@ This method is used to retrieve a paginated list of price lists based on optiona To retrieve a list of price lists using their IDs: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function listPriceLists (priceListIds: string[]) { - const pricingService = await initializePricingModule() - - const priceLists = await pricingService.listPriceLists( - { - id: priceListIds - }, - ) - - // do something with the price lists or return them -} +const priceLists = await pricingModuleService.listPriceLists({ + id: ["plist_123", "plist_321"], +}) ``` To specify relations that should be retrieved within the price lists: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function listPriceLists (priceListIds: string[]) { - const pricingService = await initializePricingModule() - - const priceLists = await pricingService.listPriceLists( - { - id: priceListIds - }, - { - relations: ["price_set_money_amounts"] - } - ) - - // do something with the price lists or return them -} +const priceLists = await pricingModuleService.listPriceLists( + { + id: ["plist_123", "plist_321"], + }, + { + relations: ["prices"], + } +) ``` By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function listPriceLists (priceListIds: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const priceLists = await pricingService.listPriceLists( - { - id: priceListIds - }, - { - relations: ["price_set_money_amounts"], - skip, - take - } - ) - - // do something with the price lists or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function listPriceLists (priceListIds: string[], titles: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const priceLists = await pricingService.listPriceLists( - { - $and: [ - { - id: priceListIds - }, - { - title: titles - } - ] - }, - { - relations: ["price_set_money_amounts"], - skip, - take - } - ) - - // do something with the price lists or return them -} +const priceLists = await pricingModuleService.listPriceLists( + { + id: ["plist_123", "plist_321"], + }, + { + relations: ["prices"], + take: 20, + skip: 2, + } +) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listPriceLists"/> ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceRules.mdx index c76c024ebd5e9..c6cd5d3fec3a9 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceRules.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceRules.mdx @@ -20,95 +20,42 @@ This method is used to retrieve a paginated list of price rules based on optiona To retrieve a list of price rules using their IDs: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceRules (id: string) { - const pricingService = await initializePricingModule() - - const priceRules = await pricingService.listPriceRules({ - id: [id] - }) - - // do something with the price rules or return them -} +const priceRules = await pricingModuleService.listPriceRules({ + id: ["prule_123", "prule_321"], +}) ``` To specify relations that should be retrieved within the price rules: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceRules (id: string) { - const pricingService = await initializePricingModule() - - const priceRules = await pricingService.listPriceRules({ - id: [id], - }, { - relations: ["price_set"] - }) - - // do something with the price rules or return them -} -``` - -By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceRules (id: string, skip: number, take: number) { - const pricingService = await initializePricingModule() - - const priceRules = await pricingService.listPriceRules({ - id: [id], - }, { +const priceRules = await pricingModuleService.listPriceRules( + { + id: ["prule_123", "prule_321"], + }, + { relations: ["price_set"], - skip, - take - }) - - // do something with the price rules or return them -} + } +) ``` -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceRules (ids: string[], name: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const priceRules = await pricingService.listPriceRules({ - $and: [ - { - id: ids - }, - { - name - } - ] - }, { +const priceRules = await pricingModuleService.listPriceRules( + { + id: ["prule_123", "prule_321"], + }, + { relations: ["price_set"], - skip, - take - }) - - // do something with the price rules or return them -} + take: 20, + skip: 2, + } +) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listPriceRules"/> ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceSetMoneyAmountRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceSetMoneyAmountRules.mdx deleted file mode 100644 index fa5aca5bab411..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceSetMoneyAmountRules.mdx +++ /dev/null @@ -1,115 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/listPriceSetMoneyAmountRules -sidebar_label: listPriceSetMoneyAmountRules ---- - -import TypeList from "@site/src/components/TypeList" - -# listPriceSetMoneyAmountRules - Pricing Module Reference - -This documentation provides a reference to the `listPriceSetMoneyAmountRules` method. This belongs to the Pricing Module. - -This method is used to retrieve a paginated list of price set money amount rules based on optional filters and configuration. - -## Example - -To retrieve a list of price set money amount rules using their IDs: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSetMoneyAmountRules (id: string) { - const pricingService = await initializePricingModule() - - const priceSetMoneyAmountRules = await pricingService.listPriceSetMoneyAmountRules({ - id: [id] - }) - - // do something with the price set money amount rules or return them -} -``` - -To specify relations that should be retrieved within the price set money amount rules: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSetMoneyAmountRules (id: string) { - const pricingService = await initializePricingModule() - - const priceSetMoneyAmountRules = await pricingService.listPriceSetMoneyAmountRules({ - id: [id] - }, { - relations: ["price_set_money_amount"] - }) - - // do something with the price set money amount rules or return them -} -``` - -By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSetMoneyAmountRules (id: string, skip: number, take: number) { - const pricingService = await initializePricingModule() - - const priceSetMoneyAmountRules = await pricingService.listPriceSetMoneyAmountRules({ - id: [id] - }, { - relations: ["price_set_money_amount"], - skip, - take - }) - - // do something with the price set money amount rules or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSetMoneyAmountRules (ids: string[], ruleTypeId: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const priceSetMoneyAmountRules = await pricingService.listPriceSetMoneyAmountRules({ - $and: [ - { - id: ids - }, - { - rule_type_id: ruleTypeId - } - ] - }, { - relations: ["price_set_money_amount"], - skip, - take - }) - - // do something with the price set money amount rules or return them -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceSetMoneyAmounts.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceSetMoneyAmounts.mdx deleted file mode 100644 index 32596fc88b3a3..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPriceSetMoneyAmounts.mdx +++ /dev/null @@ -1,115 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/listPriceSetMoneyAmounts -sidebar_label: listPriceSetMoneyAmounts ---- - -import TypeList from "@site/src/components/TypeList" - -# listPriceSetMoneyAmounts - Pricing Module Reference - -This documentation provides a reference to the `listPriceSetMoneyAmounts` method. This belongs to the Pricing Module. - -This method is used to retrieve a paginated list of price set money amounts based on optional filters and configuration. - -## Example - -To retrieve a list of price set money amounts using their IDs: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSetMoneyAmounts (id: string) { - const pricingService = await initializePricingModule() - - const priceSetMoneyAmounts = await pricingService.listPriceSetMoneyAmounts({ - id: [id] - }) - - // do something with the price set money amounts or return them -} -``` - -To specify relations that should be retrieved within the price set money amounts: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSetMoneyAmounts (id: string) { - const pricingService = await initializePricingModule() - - const priceSetMoneyAmounts = await pricingService.listPriceSetMoneyAmounts({ - id: [id] - }, { - relations: ["price_rules"] - }) - - // do something with the price set money amounts or return them -} -``` - -By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSetMoneyAmounts (id: string, skip: number, take: number) { - const pricingService = await initializePricingModule() - - const priceSetMoneyAmounts = await pricingService.listPriceSetMoneyAmounts({ - id: [id] - }, { - relations: ["price_rules"], - skip, - take - }) - - // do something with the price set money amounts or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSetMoneyAmounts (ids: string[], titles: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const priceSetMoneyAmounts = await pricingService.listPriceSetMoneyAmounts({ - $and: [ - { - id: ids - }, - { - title: titles - } - ] - }, { - relations: ["price_rules"], - skip, - take - }) - - // do something with the price set money amounts or return them -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPrices.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPrices.mdx new file mode 100644 index 0000000000000..7254e18ca57b4 --- /dev/null +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listPrices.mdx @@ -0,0 +1,62 @@ +--- +displayed_sidebar: pricingReference +badge: + variant: orange + text: Beta +slug: /references/pricing/listPrices +sidebar_label: listPrices +--- + +import TypeList from "@site/src/components/TypeList" + +# listPrices - Pricing Module Reference + +This documentation provides a reference to the `listPrices` method. This belongs to the Pricing Module. + +This method is used to retrieve a paginated list of prices based on optional filters and configuration. + +## Example + +To retrieve a list of prices using their IDs: + +```ts +const prices = await pricingModuleService.listPrices({ + id: ["price_123", "price_321"], +}) +``` + +To specify relations that should be retrieved within the prices: + +```ts +const prices = await pricingModuleService.listPrices( + { + id: ["price_123", "price_321"], + }, + { + relations: ["price_rules"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const prices = await pricingModuleService.listPrices( + { + id: ["price_123", "price_321"], + }, + { + relations: ["price_rules"], + take: 20, + skip: 2, + } +) +``` + +## Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listPrices"/> + +## Returns + + diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listRuleTypes.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listRuleTypes.mdx index 0ab6f832df36b..89d71277f1242 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listRuleTypes.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.listRuleTypes.mdx @@ -20,101 +20,42 @@ This method is used to retrieve a paginated list of rule types based on optional To retrieve a list of rule types using their IDs: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveRuleTypes (ruleTypeId: string) { - const pricingService = await initializePricingModule() - - const ruleTypes = await pricingService.listRuleTypes({ - id: [ - ruleTypeId - ] - }) - - // do something with the rule types or return them -} +const ruleTypes = await pricingModuleService.listRuleTypes({ + id: ["rul-typ_123", "rul-typ_321"], +}) ``` -To specify attributes that should be retrieved within the rule types: +To specify relations that should be retrieved: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveRuleTypes (ruleTypeId: string) { - const pricingService = await initializePricingModule() - - const ruleTypes = await pricingService.listRuleTypes({ - id: [ - ruleTypeId - ] - }, { - select: ["name"] - }) - - // do something with the rule types or return them -} +const ruleTypes = await pricingModuleService.listRuleTypes( + { + id: ["rul-typ_123", "rul-typ_321"], + }, + { + relations: ["price_sets"], + } +) ``` By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveRuleTypes (ruleTypeId: string, skip: number, take: number) { - const pricingService = await initializePricingModule() - - const ruleTypes = await pricingService.listRuleTypes({ - id: [ - ruleTypeId - ] - }, { - select: ["name"], - skip, - take - }) - - // do something with the rule types or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveRuleTypes (ruleTypeId: string[], name: string[], skip: number, take: number) { - const pricingService = await initializePricingModule() - - const ruleTypes = await pricingService.listRuleTypes({ - $and: [ - { - id: ruleTypeId - }, - { - name - } - ] - }, { - select: ["name"], - skip, - take - }) - - // do something with the rule types or return them -} +const ruleTypes = await pricingModuleService.listRuleTypes( + { + id: ["rul-typ_123", "rul-typ_321"], + }, + { + relations: ["price_sets"], + take: 20, + skip: 2, + } +) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listRuleTypes"/> ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.removePriceListRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.removePriceListRules.mdx index b58c24f505bf5..bf2037ff45d15 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.removePriceListRules.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.removePriceListRules.mdx @@ -18,26 +18,17 @@ This method is used to remove rules from a price list. ## Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function setPriceListRules (priceListId: string) { - const pricingService = await initializePricingModule() - - const priceList = await pricingService.removePriceListRules({ - priceListId, - rules: ["region_id"] +const priceList = + await pricingModuleService.removePriceListRules({ + price_list_id: "plist_123", + rules: ["region_id"], }) - - // do something with the price list or return it -} ``` ## Parameters - + ## Returns - + diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.removePrices.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.removePrices.mdx new file mode 100644 index 0000000000000..45bbb08292bca --- /dev/null +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.removePrices.mdx @@ -0,0 +1,33 @@ +--- +displayed_sidebar: pricingReference +badge: + variant: orange + text: Beta +slug: /references/pricing/removePrices +sidebar_label: removePrices +--- + +import TypeList from "@site/src/components/TypeList" + +# removePrices - Pricing Module Reference + +This documentation provides a reference to the `removePrices` method. This belongs to the Pricing Module. + +This method deletes prices by their IDs. + +## Example + +```ts +await pricingModuleService.removePrices([ + "price_123", + "price_321", +]) +``` + +## Parameters + + + +## Returns + + diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.removeRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.removeRules.mdx index acfffbb04f209..e8a3b887de474 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.removeRules.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.removeRules.mdx @@ -18,25 +18,17 @@ This method remove rules from a price set. ## Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function removePriceSetRule (priceSetId: string, ruleAttributes: []) { - const pricingService = await initializePricingModule() - - await pricingService.removeRules([ - { - id: priceSetId, - rules: ruleAttributes - }, - ]) -} +await pricingModuleService.removeRules([ + { + id: "pset_123", + rules: ["region_id"], + }, +]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.restorePriceLists.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.restorePriceLists.mdx new file mode 100644 index 0000000000000..9e7a8033bf57c --- /dev/null +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.restorePriceLists.mdx @@ -0,0 +1,33 @@ +--- +displayed_sidebar: pricingReference +badge: + variant: orange + text: Beta +slug: /references/pricing/restorePriceLists +sidebar_label: restorePriceLists +--- + +import TypeList from "@site/src/components/TypeList" + +# restorePriceLists - Pricing Module Reference + +This documentation provides a reference to the `restorePriceLists` method. This belongs to the Pricing Module. + +This method restores a soft deleted price lists by its IDs. + +## Example + +```ts +await pricingModuleService.restorePriceLists([ + "plist_123", + "plist_321", +]) +``` + +## Parameters + + + +## Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restorePriceLists"/> diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.restorePrices.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.restorePrices.mdx new file mode 100644 index 0000000000000..3c89a33b7e30c --- /dev/null +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.restorePrices.mdx @@ -0,0 +1,33 @@ +--- +displayed_sidebar: pricingReference +badge: + variant: orange + text: Beta +slug: /references/pricing/restorePrices +sidebar_label: restorePrices +--- + +import TypeList from "@site/src/components/TypeList" + +# restorePrices - Pricing Module Reference + +This documentation provides a reference to the `restorePrices` method. This belongs to the Pricing Module. + +This method restores soft deleted prices by their IDs. + +## Example + +```ts +await pricingModuleService.restorePrices([ + "price_123", + "price_321", +]) +``` + +## Parameters + +>} An object that includes the IDs of related records that were restored, such as the ID of associated price rules.\nThe object's keys are the ID attribute names of the prices entity's relations, such as `price\\_rule\\_id`,\nand its value is an array of strings, each being the ID of the record associated with the prices through this relation,\nsuch as the IDs of associated price rules.\n\nIf there are no related records restored, the promise resolves to `void`.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"returnLinkableKeys","type":"TReturnableLinkableKeys[]","description":"An array of strings, each being the ID attribute names of the entity's relations.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="restorePrices"/> + +## Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restorePrices"/> diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrieve.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrieve.mdx index c8444afa0f0cd..eeef3acfdbb82 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrieve.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrieve.mdx @@ -20,46 +20,25 @@ This method is used to retrieve a price set by its ID. A simple example that retrieves a price set by its ID: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSet (priceSetId: string) { - const pricingService = await initializePricingModule() - - const priceSet = await pricingService.retrieve( - priceSetId - ) - - // do something with the price set or return it -} +const priceSet = + await pricingModuleService.retrieve("pset_123") ``` To specify relations that should be retrieved: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSet (priceSetId: string) { - const pricingService = await initializePricingModule() - - const priceSet = await pricingService.retrieve( - priceSetId, - { - relations: ["money_amounts"] - } - ) - - // do something with the price set or return it -} +const priceSet = await pricingModuleService.retrieve( + "pset_123", + { + relations: ["prices"], + } +) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieve"/> ## Returns - + diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrieveCurrency.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrieveCurrency.mdx deleted file mode 100644 index 7a1a7b7ab10fa..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrieveCurrency.mdx +++ /dev/null @@ -1,65 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/retrieveCurrency -sidebar_label: retrieveCurrency ---- - -import TypeList from "@site/src/components/TypeList" - -# retrieveCurrency - Pricing Module Reference - -This documentation provides a reference to the `retrieveCurrency` method. This belongs to the Pricing Module. - -This method retrieves a currency by its code and and optionally based on the provided configurations. - -## Example - -A simple example that retrieves a currency by its code: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveCurrency (code: string) { - const pricingService = await initializePricingModule() - - const currency = await pricingService.retrieveCurrency( - code - ) - - // do something with the currency or return it -} -``` - -To specify attributes that should be retrieved: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveCurrency (code: string) { - const pricingService = await initializePricingModule() - - const currency = await pricingService.retrieveCurrency( - code, - { - select: ["symbol_native"] - } - ) - - // do something with the currency or return it -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrieveMoneyAmount.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrieveMoneyAmount.mdx deleted file mode 100644 index 8b53b096ce09e..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrieveMoneyAmount.mdx +++ /dev/null @@ -1,65 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/retrieveMoneyAmount -sidebar_label: retrieveMoneyAmount ---- - -import TypeList from "@site/src/components/TypeList" - -# retrieveMoneyAmount - Pricing Module Reference - -This documentation provides a reference to the `retrieveMoneyAmount` method. This belongs to the Pricing Module. - -This method retrieves a money amount by its ID. - -## Example - -To retrieve a money amount by its ID: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveMoneyAmount (moneyAmountId: string) { - const pricingService = await initializePricingModule() - - const moneyAmount = await pricingService.retrieveMoneyAmount( - moneyAmountId, - ) - - // do something with the money amount or return it -} -``` - -To retrieve relations along with the money amount: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveMoneyAmount (moneyAmountId: string) { - const pricingService = await initializePricingModule() - - const moneyAmount = await pricingService.retrieveMoneyAmount( - moneyAmountId, - { - relations: ["currency"] - } - ) - - // do something with the money amount or return it -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrievePriceList.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrievePriceList.mdx index 2fc1ab1daa4c1..982de1daf063d 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrievePriceList.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrievePriceList.mdx @@ -20,46 +20,23 @@ This method is used to retrieve a price list by its ID. A simple example that retrieves a price list by its ID: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceList (priceListId: string) { - const pricingService = await initializePricingModule() - - const priceList = await pricingService.retrievePriceList( - priceListId - ) - - // do something with the price list or return it -} +const priceList = + await pricingModuleService.retrievePriceList("plist_123") ``` To specify relations that should be retrieved: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceList (priceListId: string) { - const pricingService = await initializePricingModule() - - const priceList = await pricingService.retrievePriceList( - priceListId, - { - relations: ["price_set_money_amounts"] - } - ) - - // do something with the price list or return it -} +const priceList = + await pricingModuleService.retrievePriceList("plist_123", { + relations: ["prices"], + }) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrievePriceList"/> ## Returns - + diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrievePriceListRule.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrievePriceListRule.mdx index 058ef3c391d70..1bcbe0c954fec 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrievePriceListRule.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrievePriceListRule.mdx @@ -20,46 +20,28 @@ This method is used to retrieve a price list rule by its ID. A simple example that retrieves a price list rule by its ID: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceListRule (priceListRuleId: string) { - const pricingService = await initializePricingModule() - - const priceListRule = await pricingService.retrievePriceListRule( - priceListRuleId +const priceListRule = + await pricingModuleService.retrievePriceListRule( + "plrule_123" ) - - // do something with the price list rule or return it -} ``` To specify relations that should be retrieved: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceListRule (priceListRuleId: string) { - const pricingService = await initializePricingModule() - - const priceListRule = await pricingService.retrievePriceListRule( - priceListRuleId, +const priceListRule = + await pricingModuleService.retrievePriceListRule( + "plrule_123", { - relations: ["price_list"] + relations: ["price_list"], } ) - - // do something with the price list rule or return it -} ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrievePriceListRule"/> ## Returns - + diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrievePriceRule.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrievePriceRule.mdx index 5df2be81709eb..d3eb7af36841b 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrievePriceRule.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrievePriceRule.mdx @@ -20,41 +20,23 @@ This method is used to retrieve a price rule by its ID. A simple example that retrieves a price rule by its ID: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceRule (id: string) { - const pricingService = await initializePricingModule() - - const priceRule = await pricingService.retrievePriceRule(id) - - // do something with the price rule or return it -} +const priceRule = + await pricingModuleService.retrievePriceRule("prule_123") ``` To specify relations that should be retrieved: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceRule (id: string) { - const pricingService = await initializePricingModule() - - const priceRule = await pricingService.retrievePriceRule(id, { - relations: ["price_set"] +const priceRule = + await pricingModuleService.retrievePriceRule("prule_123", { + relations: ["price_set"], }) - - // do something with the price rule or return it -} ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrievePriceRule"/> ## Returns - + diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrievePriceSetMoneyAmountRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrievePriceSetMoneyAmountRules.mdx deleted file mode 100644 index 63034790902ae..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrievePriceSetMoneyAmountRules.mdx +++ /dev/null @@ -1,60 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/retrievePriceSetMoneyAmountRules -sidebar_label: retrievePriceSetMoneyAmountRules ---- - -import TypeList from "@site/src/components/TypeList" - -# retrievePriceSetMoneyAmountRules - Pricing Module Reference - -This documentation provides a reference to the `retrievePriceSetMoneyAmountRules` method. This belongs to the Pricing Module. - -This method is used to a price set money amount rule by its ID based on the provided configuration. - -## Example - -A simple example that retrieves a price set money amount rule by its ID: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSetMoneyAmountRule (id: string) { - const pricingService = await initializePricingModule() - - const priceSetMoneyAmountRule = await pricingService.retrievePriceSetMoneyAmountRules(id) - - // do something with the price set money amount rule or return it -} -``` - -To specify relations that should be retrieved: - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrievePriceSetMoneyAmountRule (id: string) { - const pricingService = await initializePricingModule() - - const priceSetMoneyAmountRule = await pricingService.retrievePriceSetMoneyAmountRules(id, { - relations: ["price_set_money_amount"] - }) - - // do something with the price set money amount rule or return it -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrieveRuleType.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrieveRuleType.mdx index 3bd4f303172e7..98236eb1aad68 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrieveRuleType.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.retrieveRuleType.mdx @@ -20,41 +20,25 @@ This method is used to retrieve a rule type by its ID and and optionally based o A simple example that retrieves a rule type by its code: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveRuleType (ruleTypeId: string) { - const pricingService = await initializePricingModule() - - const ruleType = await pricingService.retrieveRuleType(ruleTypeId) - - // do something with the rule type or return it -} +const ruleType = + await pricingModuleService.retrieveRuleType("rul-typ_123") ``` -To specify attributes that should be retrieved: +To specify relations that should be retrieved: ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function retrieveRuleType (ruleTypeId: string) { - const pricingService = await initializePricingModule() - - const ruleType = await pricingService.retrieveRuleType(ruleTypeId, { - select: ["name"] - }) - - // do something with the rule type or return it -} +const ruleType = await pricingModuleService.retrieveRuleType( + "rul-typ_123", + { + relations: ["price_sets"], + } +) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveRuleType"/> ## Returns - + diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.setPriceListRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.setPriceListRules.mdx index a7265aa58ca9e..a2e415ef75f78 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.setPriceListRules.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.setPriceListRules.mdx @@ -13,33 +13,24 @@ import TypeList from "@site/src/components/TypeList" This documentation provides a reference to the `setPriceListRules` method. This belongs to the Pricing Module. -This method is used to set the rules of a price list. +This method is used to set the rules of a price list. Previous rules are removed. ## Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function setPriceListRules (priceListId: string) { - const pricingService = await initializePricingModule() - - const priceList = await pricingService.setPriceListRules({ - priceListId, +const priceList = + await pricingModuleService.setPriceListRules({ + price_list_id: "plist_123", rules: { - region_id: "US" - } + region_id: "reg_123", + }, }) - - // do something with the price list or return it -} ``` ## Parameters -`","description":"The rules to add to the price list. Each key of the object is a rule type's `rule_attribute`, and its value\nis the value(s) of the rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="setPriceListRules"/> +`","description":"The rules to add to the price list. Each key of the object is a rule type's `rule_attribute`, and its value\nis the value(s) of the rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="setPriceListRules"/> ## Returns - + diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.softDeleteMoneyAmounts.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.softDeleteMoneyAmounts.mdx deleted file mode 100644 index 977566559b837..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.softDeleteMoneyAmounts.mdx +++ /dev/null @@ -1,40 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/softDeleteMoneyAmounts -sidebar_label: softDeleteMoneyAmounts ---- - -import TypeList from "@site/src/components/TypeList" - -# softDeleteMoneyAmounts - Pricing Module Reference - -This documentation provides a reference to the `softDeleteMoneyAmounts` method. This belongs to the Pricing Module. - -This method soft deletes money amounts by their IDs. - -## Example - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function softDeleteMoneyAmounts (moneyAmountIds: string[]) { - const pricingService = await initializePricingModule() - - await pricingService.softDeleteMoneyAmounts( - moneyAmountIds - ) -} -``` - -## Parameters - - - -## Returns - -`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteMoneyAmounts"/> diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.softDeletePriceLists.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.softDeletePriceLists.mdx new file mode 100644 index 0000000000000..308f0c7ac3573 --- /dev/null +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.softDeletePriceLists.mdx @@ -0,0 +1,33 @@ +--- +displayed_sidebar: pricingReference +badge: + variant: orange + text: Beta +slug: /references/pricing/softDeletePriceLists +sidebar_label: softDeletePriceLists +--- + +import TypeList from "@site/src/components/TypeList" + +# softDeletePriceLists - Pricing Module Reference + +This documentation provides a reference to the `softDeletePriceLists` method. This belongs to the Pricing Module. + +This method soft deletes price lists by their IDs. + +## Example + +```ts +await pricingModuleService.softDeletePriceLists([ + "plist_123", + "plist_321", +]) +``` + +## Parameters + + + +## Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeletePriceLists"/> diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.softDeletePrices.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.softDeletePrices.mdx new file mode 100644 index 0000000000000..e2aeca9f2b0c9 --- /dev/null +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.softDeletePrices.mdx @@ -0,0 +1,33 @@ +--- +displayed_sidebar: pricingReference +badge: + variant: orange + text: Beta +slug: /references/pricing/softDeletePrices +sidebar_label: softDeletePrices +--- + +import TypeList from "@site/src/components/TypeList" + +# softDeletePrices - Pricing Module Reference + +This documentation provides a reference to the `softDeletePrices` method. This belongs to the Pricing Module. + +This method soft deletes prices by their IDs. + +## Example + +```ts +await pricingModuleService.softDeletePrices([ + "price_123", + "price_321", +]) +``` + +## Parameters + + + +## Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeletePrices"/> diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.update.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.update.mdx new file mode 100644 index 0000000000000..46f6921168fef --- /dev/null +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.update.mdx @@ -0,0 +1,62 @@ +--- +displayed_sidebar: pricingReference +badge: + variant: orange + text: Beta +slug: /references/pricing/update +sidebar_label: update +--- + +import TypeList from "@site/src/components/TypeList" + +# update - Pricing Module Reference + +This documentation provides a reference to the `update` method. This belongs to the Pricing Module. + +## update(id, data, sharedContext?): Promise<[PriceSetDTO](../../interfaces/pricing.PriceSetDTO.mdx)> + +This method is used to update a price set. + +### Example + +```ts +const priceSet = await pricingModuleService.update( + "pset_123", + { + rules: [{ rule_attribute: "region_id" }], + } +) +``` + +### Parameters + + + +### Returns + + + +## update(selector, data, sharedContext?): Promise<[PriceSetDTO](../../interfaces/pricing.PriceSetDTO.mdx)[]> + +This method is used to update a list of price sets determined by the selector filters. + +### Example + +```ts +const priceSets = await pricingModuleService.update( + { + id: ["pset_123", "pset_321"], + }, + { + rules: [{ rule_attribute: "region_id" }], + } +) +``` + +### Parameters + +`","description":"an object whose keys are the name of the context attribute. Its value can be a string or a BigNumberInput. For example, you can pass the `currency_code` property with its value being the currency code to calculate the price in.\nAnother example is passing the `quantity` property to calculate the price for that specified quantity, which finds a price set whose `min_quantity` and `max_quantity` conditions match the specified quantity.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`[]","description":"IDs to filter price sets by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"money_amounts","type":"[FilterableMoneyAmountProps](../../interfaces/pricing.FilterableMoneyAmountProps.mdx)","description":"Filters to apply on a price set's associated money amounts.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"([FilterableMoneyAmountProps](../../interfaces/pricing.FilterableMoneyAmountProps.mdx) \\| [BaseFilterable](../../interfaces/pricing.BaseFilterable.mdx)<[FilterableMoneyAmountProps](../../interfaces/pricing.FilterableMoneyAmountProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"([FilterableMoneyAmountProps](../../interfaces/pricing.FilterableMoneyAmountProps.mdx) \\| [BaseFilterable](../../interfaces/pricing.BaseFilterable.mdx)<[FilterableMoneyAmountProps](../../interfaces/pricing.FilterableMoneyAmountProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`[]","description":"IDs to filter money amounts by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string` \\| `string`[]","description":"Currency codes to filter money amounts by.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"data","type":"[UpdatePriceSetDTO](../../interfaces/pricing.UpdatePriceSetDTO.mdx)","description":"The attributes to be updated on the selected price sets","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"rules","type":"`object`[]","description":"The rules to associate with the price set.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"rule_attribute","type":"`string`","description":"the value of the rule's `rule_attribute` attribute.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"prices","type":"[CreatePricesDTO](../../interfaces/pricing.CreatePricesDTO.mdx)[]","description":"The prices to create and add to this price set.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"currency_code","type":"`string`","description":"The currency code of this money amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/pricing.BigNumberInput.mdx)","description":"The amount of this money amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the money amount.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"min_quantity","type":"`null` \\| [BigNumberInput](../../types/pricing.BigNumberInput.mdx)","description":"The minimum quantity required to be purchased for this money amount to be applied.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"max_quantity","type":"`null` \\| [BigNumberInput](../../types/pricing.BigNumberInput.mdx)","description":"The maximum quantity required to be purchased for this money amount to be applied.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[CreatePriceSetPriceRules](../../interfaces/pricing.CreatePriceSetPriceRules.mdx)","description":"The rules to add to the price. The object's keys are rule types' `rule_attribute` attribute, and values are the value of that rule associated with this price.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](../../interfaces/pricing.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/pricing.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> + +### Returns + + diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updateCurrencies.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updateCurrencies.mdx deleted file mode 100644 index b3f40ccf9450d..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updateCurrencies.mdx +++ /dev/null @@ -1,45 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/updateCurrencies -sidebar_label: updateCurrencies ---- - -import TypeList from "@site/src/components/TypeList" - -# updateCurrencies - Pricing Module Reference - -This documentation provides a reference to the `updateCurrencies` method. This belongs to the Pricing Module. - -This method is used to update existing currencies with the provided data. In each currency object, the currency code must be provided to identify which currency to update. - -## Example - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function updateCurrencies () { - const pricingService = await initializePricingModule() - - const currencies = await pricingService.updateCurrencies([ - { - code: "USD", - symbol: "$", - } - ]) - - // do something with the currencies or return them -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updateMoneyAmounts.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updateMoneyAmounts.mdx deleted file mode 100644 index 9ab0431091a9b..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updateMoneyAmounts.mdx +++ /dev/null @@ -1,45 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/updateMoneyAmounts -sidebar_label: updateMoneyAmounts ---- - -import TypeList from "@site/src/components/TypeList" - -# updateMoneyAmounts - Pricing Module Reference - -This documentation provides a reference to the `updateMoneyAmounts` method. This belongs to the Pricing Module. - -This method updates existing money amounts. - -## Example - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function updateMoneyAmounts (moneyAmountId: string, amount: number) { - const pricingService = await initializePricingModule() - - const moneyAmounts = await pricingService.updateMoneyAmounts([ - { - id: moneyAmountId, - amount - } - ]) - - // do something with the money amounts or return them -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceListPrices.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceListPrices.mdx new file mode 100644 index 0000000000000..77411cb7e7d0c --- /dev/null +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceListPrices.mdx @@ -0,0 +1,43 @@ +--- +displayed_sidebar: pricingReference +badge: + variant: orange + text: Beta +slug: /references/pricing/updatePriceListPrices +sidebar_label: updatePriceListPrices +--- + +import TypeList from "@site/src/components/TypeList" + +# updatePriceListPrices - Pricing Module Reference + +This documentation provides a reference to the `updatePriceListPrices` method. This belongs to the Pricing Module. + +This method updates existing price list's prices. + +## Example + +```ts +const priceLists = + await pricingModuleService.updatePriceListPrices([ + { + price_list_id: "plist_123", + prices: [ + { + id: "price_123", + currency_code: "usd", + amount: 500, + price_set_id: "pset_123", + }, + ], + }, + ]) +``` + +## Parameters + + + +## Returns + + diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceListRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceListRules.mdx index 8d65f995cbf15..e820db1e38d92 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceListRules.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceListRules.mdx @@ -18,26 +18,18 @@ This method is used to update price list rules. ## Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function updatePriceListRules (items: { - id: string - rule_type_id?: string - price_list_id?: string -}[]) { - const pricingService = await initializePricingModule() - - const priceListRules = await pricingService.updatePriceListRules(items) - - // do something with the price list rule or return them -} +const priceListRules = + await pricingModuleService.updatePriceListRules([ + { + id: "plrule_123", + rule_type_id: "rul-typ_123", + }, + ]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceLists.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceLists.mdx index 6fff16faa62a1..ea7e1cea8049b 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceLists.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceLists.mdx @@ -18,28 +18,22 @@ This method is used to update price lists. ## Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function updatePriceLists (items: { - id: string - title: string - description: string - starts_at?: string - ends_at?: string -}[]) { - const pricingService = await initializePricingModule() - - const priceList = await pricingService.updatePriceLists(items) - - // do something with the price lists or return them -} +const priceLists = + await pricingModuleService.updatePriceLists([ + { + id: "plist_123", + title: "Sale 1", + }, + { + id: "plist_321", + description: "Winter sale", + }, + ]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceRules.mdx index 548ad40f15c4c..5405b40a96617 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceRules.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceRules.mdx @@ -18,30 +18,18 @@ This method is used to update price rules, each with their provided data. ## Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function updatePriceRules ( - id: string, - priceSetId: string, -) { - const pricingService = await initializePricingModule() - - const priceRules = await pricingService.updatePriceRules([ +const priceRules = + await pricingModuleService.updatePriceRules([ { - id, - price_set_id: priceSetId, - } + id: "prule_123", + price_id: "price_123", + }, ]) - - // do something with the price rules or return them -} ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceSetMoneyAmountRules.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceSetMoneyAmountRules.mdx deleted file mode 100644 index 79d59aef351a0..0000000000000 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceSetMoneyAmountRules.mdx +++ /dev/null @@ -1,45 +0,0 @@ ---- -displayed_sidebar: pricingReference -badge: - variant: orange - text: Beta -slug: /references/pricing/updatePriceSetMoneyAmountRules -sidebar_label: updatePriceSetMoneyAmountRules ---- - -import TypeList from "@site/src/components/TypeList" - -# updatePriceSetMoneyAmountRules - Pricing Module Reference - -This documentation provides a reference to the `updatePriceSetMoneyAmountRules` method. This belongs to the Pricing Module. - -This method is used to update price set money amount rules, each with their provided data. - -## Example - -```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function updatePriceSetMoneyAmountRules (id: string, value: string) { - const pricingService = await initializePricingModule() - - const priceSetMoneyAmountRules = await pricingService.updatePriceSetMoneyAmountRules([ - { - id, - value - } - ]) - - // do something with the price set money amount rules or return them -} -``` - -## Parameters - - - -## Returns - - diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updateRuleTypes.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updateRuleTypes.mdx index 3f611921c57f6..b004d79048a0d 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updateRuleTypes.mdx +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.updateRuleTypes.mdx @@ -18,27 +18,21 @@ This method is used to update existing rule types with the provided data. ## Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function updateRuleTypes (ruleTypeId: string) { - const pricingService = await initializePricingModule() - - const ruleTypes = await pricingService.updateRuleTypes([ - { - id: ruleTypeId, - name: "Region", - } - ]) - - // do something with the rule types or return them -} +const ruleTypes = await pricingModuleService.updateRuleTypes([ + { + id: "rul-typ_123", + name: "Region", + }, + { + id: "rul-typ_321", + name: "Customer Group", + }, +]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.upsert.mdx b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.upsert.mdx new file mode 100644 index 0000000000000..ee2cd71cb4de5 --- /dev/null +++ b/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.upsert.mdx @@ -0,0 +1,66 @@ +--- +displayed_sidebar: pricingReference +badge: + variant: orange + text: Beta +slug: /references/pricing/upsert +sidebar_label: upsert +--- + +import TypeList from "@site/src/components/TypeList" + +# upsert - Pricing Module Reference + +This documentation provides a reference to the `upsert` method. This belongs to the Pricing Module. + +## upsert(data, sharedContext?): Promise<[PriceSetDTO](../../interfaces/pricing.PriceSetDTO.mdx)[]> + +This method updates existing price sets, or creates new ones if they don't exist. + +### Example + +```ts +const priceSets = await pricingModuleService.upsert([ + { + prices: [ + { + amount: 100, + currency_code: "USD", + }, + ], + }, + { + id: "pset_123", + rules: [{ rule_attribute: "region_id" }], + }, +]) +``` + +### Parameters + + + +### Returns + + + +## upsert(data, sharedContext?): Promise<[PriceSetDTO](../../interfaces/pricing.PriceSetDTO.mdx)> + +This method updates the price set if it exists, or creates a new ones if it doesn't. + +### Example + +```ts +const priceSet = await pricingModuleService.upsert({ + id: "pset_123", + rules: [{ rule_attribute: "region_id" }], +}) +``` + +### Parameters + + + +### Returns + + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.AddPriceListPricesDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.AddPriceListPricesDTO.mdx index 7e7f13c946a0f..6034f3532ecfd 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.AddPriceListPricesDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.AddPriceListPricesDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The prices to be added to a price list. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.AddPricesDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.AddPricesDTO.mdx index 4c1360f8d9697..681d4aab0bd27 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.AddPricesDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.AddPricesDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The prices to add to a price set. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.CalculatedPriceSet.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.CalculatedPriceSet.mdx index de80fac785152..7b13af8f456cd 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.CalculatedPriceSet.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.CalculatedPriceSet.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The calculated price for a specific price set and context. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.Context.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.Context.mdx index cc1656878ccf2..312d1a98a35ea 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.Context.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.Context.mdx @@ -12,4 +12,4 @@ A context used to share resources, such as transaction manager, between the appl - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.CreateCurrencyDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.CreateCurrencyDTO.mdx deleted file mode 100644 index c2149f0516419..0000000000000 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.CreateCurrencyDTO.mdx +++ /dev/null @@ -1,11 +0,0 @@ ---- -displayed_sidebar: pricingReference ---- - -import TypeList from "@site/src/components/TypeList" - -# CreateCurrencyDTO - -A currency to create. - - diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.CreateMoneyAmountDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.CreateMoneyAmountDTO.mdx index e9ffeec75c29b..e6c1eba957f98 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.CreateMoneyAmountDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.CreateMoneyAmountDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The money amount to create. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceListDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceListDTO.mdx index 688012f1cf056..689ba80b83dec 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceListDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceListDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The price list to create. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceListPriceDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceListPriceDTO.mdx new file mode 100644 index 0000000000000..ee462833818fb --- /dev/null +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceListPriceDTO.mdx @@ -0,0 +1,11 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# CreatePriceListPriceDTO + +The prices associated with a price list. + + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceRuleDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceRuleDTO.mdx index 163dd7c45c001..3080afe616e6f 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceRuleDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceRuleDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" A price rule to create. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceSetDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceSetDTO.mdx index 47ecdd425b005..64394b8a3d3c9 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceSetDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceSetDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" A price set to create. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceSetMoneyAmountRulesDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceSetMoneyAmountRulesDTO.mdx deleted file mode 100644 index a3ef22b374691..0000000000000 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePriceSetMoneyAmountRulesDTO.mdx +++ /dev/null @@ -1,11 +0,0 @@ ---- -displayed_sidebar: pricingReference ---- - -import TypeList from "@site/src/components/TypeList" - -# CreatePriceSetMoneyAmountRulesDTO - -The price set money amount rule to create. - - diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePricesDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePricesDTO.mdx index 48bf7b0ae816a..1b48d32929106 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePricesDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.CreatePricesDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The prices to create part of a price set. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.CreateRuleTypeDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.CreateRuleTypeDTO.mdx index 5710d3465744e..87fee30630f14 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.CreateRuleTypeDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.CreateRuleTypeDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The rule type to create. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.CurrencyDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.CurrencyDTO.mdx deleted file mode 100644 index 6affa4fcc910c..0000000000000 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.CurrencyDTO.mdx +++ /dev/null @@ -1,11 +0,0 @@ ---- -displayed_sidebar: pricingReference ---- - -import TypeList from "@site/src/components/TypeList" - -# CurrencyDTO - -A currency's data. - - diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.FilterableCurrencyProps.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.FilterableCurrencyProps.mdx deleted file mode 100644 index 05ac4c41bf97d..0000000000000 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.FilterableCurrencyProps.mdx +++ /dev/null @@ -1,11 +0,0 @@ ---- -displayed_sidebar: pricingReference ---- - -import TypeList from "@site/src/components/TypeList" - -# FilterableCurrencyProps - -Filters to apply on a currency. - - diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceListProps.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceListProps.mdx index 91d69f482bdb5..d573e6c066c27 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceListProps.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceListProps.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" Filters to apply on price lists. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceProps.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceProps.mdx new file mode 100644 index 0000000000000..e9738f52338b8 --- /dev/null +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceProps.mdx @@ -0,0 +1,11 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# FilterablePriceProps + +Filters to apply on prices. + + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceSetMoneyAmountProps.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceSetMoneyAmountProps.mdx deleted file mode 100644 index 8e285db0b6605..0000000000000 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceSetMoneyAmountProps.mdx +++ /dev/null @@ -1,11 +0,0 @@ ---- -displayed_sidebar: pricingReference ---- - -import TypeList from "@site/src/components/TypeList" - -# FilterablePriceSetMoneyAmountProps - -Filters to apply on price set money amounts. - - diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceSetMoneyAmountRulesProps.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceSetMoneyAmountRulesProps.mdx deleted file mode 100644 index 30390cdb6c4c1..0000000000000 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceSetMoneyAmountRulesProps.mdx +++ /dev/null @@ -1,11 +0,0 @@ ---- -displayed_sidebar: pricingReference ---- - -import TypeList from "@site/src/components/TypeList" - -# FilterablePriceSetMoneyAmountRulesProps - -Filters to apply on price set money amount rules. - - diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceSetProps.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceSetProps.mdx index 3397606ae919d..f6d72840460ae 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceSetProps.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.FilterablePriceSetProps.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" Filters to apply on price sets. - +`","description":"an object whose keys are the name of the context attribute. Its value can be a string or a BigNumberInput. For example, you can pass the `currency_code` property with its value being the currency code to calculate the price in.\nAnother example is passing the `quantity` property to calculate the price for that specified quantity, which finds a price set whose `min_quantity` and `max_quantity` conditions match the specified quantity.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`[]","description":"IDs to filter price sets by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"money_amounts","type":"[FilterableMoneyAmountProps](pricing.FilterableMoneyAmountProps.mdx)","description":"Filters to apply on a price set's associated money amounts.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"([FilterableMoneyAmountProps](pricing.FilterableMoneyAmountProps.mdx) \\| [BaseFilterable](pricing.BaseFilterable.mdx)<[FilterableMoneyAmountProps](pricing.FilterableMoneyAmountProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"([FilterableMoneyAmountProps](pricing.FilterableMoneyAmountProps.mdx) \\| [BaseFilterable](pricing.BaseFilterable.mdx)<[FilterableMoneyAmountProps](pricing.FilterableMoneyAmountProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`[]","description":"IDs to filter money amounts by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string` \\| `string`[]","description":"Currency codes to filter money amounts by.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="FilterablePriceSetProps"/> diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.FindConfig.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.FindConfig.mdx index 8a1d30d65ff3d..a1c69e915df52 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.FindConfig.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.FindConfig.mdx @@ -13,4 +13,4 @@ which provides correct typing of field names in its properties. - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FindConfig"/> diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.IMessageAggregator.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.IMessageAggregator.mdx index a6be1fc4d8d29..bf8cd106fbca7 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.IMessageAggregator.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.IMessageAggregator.mdx @@ -11,3 +11,4 @@ import TypeList from "@site/src/components/TypeList" - [save](../IMessageAggregator/methods/pricing.IMessageAggregator.save.mdx) - [getMessages](../IMessageAggregator/methods/pricing.IMessageAggregator.getMessages.mdx) - [clearMessages](../IMessageAggregator/methods/pricing.IMessageAggregator.clearMessages.mdx) +- [saveRawMessageData](../IMessageAggregator/methods/pricing.IMessageAggregator.saveRawMessageData.mdx) diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.IPricingModuleService.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.IPricingModuleService.mdx index 453728d967009..40db3058acde1 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.IPricingModuleService.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.IPricingModuleService.mdx @@ -12,6 +12,8 @@ import TypeList from "@site/src/components/TypeList" This section of the documentation provides a reference to the `IPricingModuleService` interface’s methods. This is the interface developers use to use the functionalities provided by the Pricing Module. +The main service interface for the Pricing Module. + ## Methods - [calculatePrices](../IPricingModuleService/methods/pricing.IPricingModuleService.calculatePrices.mdx) @@ -19,38 +21,22 @@ This section of the documentation provides a reference to the `IPricingModuleSer - [list](../IPricingModuleService/methods/pricing.IPricingModuleService.list.mdx) - [listAndCount](../IPricingModuleService/methods/pricing.IPricingModuleService.listAndCount.mdx) - [create](../IPricingModuleService/methods/pricing.IPricingModuleService.create.mdx) +- [upsert](../IPricingModuleService/methods/pricing.IPricingModuleService.upsert.mdx) +- [update](../IPricingModuleService/methods/pricing.IPricingModuleService.update.mdx) - [removeRules](../IPricingModuleService/methods/pricing.IPricingModuleService.removeRules.mdx) - [delete](../IPricingModuleService/methods/pricing.IPricingModuleService.delete.mdx) - [addPrices](../IPricingModuleService/methods/pricing.IPricingModuleService.addPrices.mdx) - [addRules](../IPricingModuleService/methods/pricing.IPricingModuleService.addRules.mdx) -- [retrieveMoneyAmount](../IPricingModuleService/methods/pricing.IPricingModuleService.retrieveMoneyAmount.mdx) -- [listMoneyAmounts](../IPricingModuleService/methods/pricing.IPricingModuleService.listMoneyAmounts.mdx) -- [listAndCountMoneyAmounts](../IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountMoneyAmounts.mdx) -- [createMoneyAmounts](../IPricingModuleService/methods/pricing.IPricingModuleService.createMoneyAmounts.mdx) -- [updateMoneyAmounts](../IPricingModuleService/methods/pricing.IPricingModuleService.updateMoneyAmounts.mdx) -- [deleteMoneyAmounts](../IPricingModuleService/methods/pricing.IPricingModuleService.deleteMoneyAmounts.mdx) -- [softDeleteMoneyAmounts](../IPricingModuleService/methods/pricing.IPricingModuleService.softDeleteMoneyAmounts.mdx) -- [restoreMoneyAmounts](../IPricingModuleService/methods/pricing.IPricingModuleService.restoreMoneyAmounts.mdx) -- [retrieveCurrency](../IPricingModuleService/methods/pricing.IPricingModuleService.retrieveCurrency.mdx) -- [listCurrencies](../IPricingModuleService/methods/pricing.IPricingModuleService.listCurrencies.mdx) -- [listAndCountCurrencies](../IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountCurrencies.mdx) -- [createCurrencies](../IPricingModuleService/methods/pricing.IPricingModuleService.createCurrencies.mdx) -- [updateCurrencies](../IPricingModuleService/methods/pricing.IPricingModuleService.updateCurrencies.mdx) -- [deleteCurrencies](../IPricingModuleService/methods/pricing.IPricingModuleService.deleteCurrencies.mdx) - [retrieveRuleType](../IPricingModuleService/methods/pricing.IPricingModuleService.retrieveRuleType.mdx) - [listRuleTypes](../IPricingModuleService/methods/pricing.IPricingModuleService.listRuleTypes.mdx) - [listAndCountRuleTypes](../IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountRuleTypes.mdx) - [createRuleTypes](../IPricingModuleService/methods/pricing.IPricingModuleService.createRuleTypes.mdx) - [updateRuleTypes](../IPricingModuleService/methods/pricing.IPricingModuleService.updateRuleTypes.mdx) - [deleteRuleTypes](../IPricingModuleService/methods/pricing.IPricingModuleService.deleteRuleTypes.mdx) -- [retrievePriceSetMoneyAmountRules](../IPricingModuleService/methods/pricing.IPricingModuleService.retrievePriceSetMoneyAmountRules.mdx) -- [listPriceSetMoneyAmountRules](../IPricingModuleService/methods/pricing.IPricingModuleService.listPriceSetMoneyAmountRules.mdx) -- [listAndCountPriceSetMoneyAmountRules](../IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceSetMoneyAmountRules.mdx) -- [listPriceSetMoneyAmounts](../IPricingModuleService/methods/pricing.IPricingModuleService.listPriceSetMoneyAmounts.mdx) -- [listAndCountPriceSetMoneyAmounts](../IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceSetMoneyAmounts.mdx) -- [createPriceSetMoneyAmountRules](../IPricingModuleService/methods/pricing.IPricingModuleService.createPriceSetMoneyAmountRules.mdx) -- [updatePriceSetMoneyAmountRules](../IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceSetMoneyAmountRules.mdx) -- [deletePriceSetMoneyAmountRules](../IPricingModuleService/methods/pricing.IPricingModuleService.deletePriceSetMoneyAmountRules.mdx) +- [listPrices](../IPricingModuleService/methods/pricing.IPricingModuleService.listPrices.mdx) +- [softDeletePrices](../IPricingModuleService/methods/pricing.IPricingModuleService.softDeletePrices.mdx) +- [restorePrices](../IPricingModuleService/methods/pricing.IPricingModuleService.restorePrices.mdx) +- [listAndCountPrices](../IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPrices.mdx) - [retrievePriceRule](../IPricingModuleService/methods/pricing.IPricingModuleService.retrievePriceRule.mdx) - [listPriceRules](../IPricingModuleService/methods/pricing.IPricingModuleService.listPriceRules.mdx) - [listAndCountPriceRules](../IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceRules.mdx) @@ -63,6 +49,8 @@ This section of the documentation provides a reference to the `IPricingModuleSer - [createPriceLists](../IPricingModuleService/methods/pricing.IPricingModuleService.createPriceLists.mdx) - [updatePriceLists](../IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceLists.mdx) - [deletePriceLists](../IPricingModuleService/methods/pricing.IPricingModuleService.deletePriceLists.mdx) +- [softDeletePriceLists](../IPricingModuleService/methods/pricing.IPricingModuleService.softDeletePriceLists.mdx) +- [restorePriceLists](../IPricingModuleService/methods/pricing.IPricingModuleService.restorePriceLists.mdx) - [retrievePriceListRule](../IPricingModuleService/methods/pricing.IPricingModuleService.retrievePriceListRule.mdx) - [listPriceListRules](../IPricingModuleService/methods/pricing.IPricingModuleService.listPriceListRules.mdx) - [listAndCountPriceListRules](../IPricingModuleService/methods/pricing.IPricingModuleService.listAndCountPriceListRules.mdx) @@ -70,5 +58,7 @@ This section of the documentation provides a reference to the `IPricingModuleSer - [updatePriceListRules](../IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceListRules.mdx) - [deletePriceListRules](../IPricingModuleService/methods/pricing.IPricingModuleService.deletePriceListRules.mdx) - [addPriceListPrices](../IPricingModuleService/methods/pricing.IPricingModuleService.addPriceListPrices.mdx) +- [updatePriceListPrices](../IPricingModuleService/methods/pricing.IPricingModuleService.updatePriceListPrices.mdx) - [setPriceListRules](../IPricingModuleService/methods/pricing.IPricingModuleService.setPriceListRules.mdx) - [removePriceListRules](../IPricingModuleService/methods/pricing.IPricingModuleService.removePriceListRules.mdx) +- [removePrices](../IPricingModuleService/methods/pricing.IPricingModuleService.removePrices.mdx) diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.MoneyAmountDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.MoneyAmountDTO.mdx index 90c33c2775841..7928d51b14eac 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.MoneyAmountDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.MoneyAmountDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" A money amount's data. A money amount represents a price. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.PriceDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.PriceDTO.mdx new file mode 100644 index 0000000000000..0101f6ba457c8 --- /dev/null +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.PriceDTO.mdx @@ -0,0 +1,11 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# PriceDTO + +A price's data. + + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.PriceListDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.PriceListDTO.mdx index 5d18a6bb84d39..ee48a1f9ce44b 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.PriceListDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.PriceListDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" A price list's details. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.PriceListPriceDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.PriceListPriceDTO.mdx deleted file mode 100644 index 421cc6ecffef3..0000000000000 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.PriceListPriceDTO.mdx +++ /dev/null @@ -1,11 +0,0 @@ ---- -displayed_sidebar: pricingReference ---- - -import TypeList from "@site/src/components/TypeList" - -# PriceListPriceDTO - -The prices associated with a price list. - - diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.PriceListRuleDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.PriceListRuleDTO.mdx index d74670c23ae72..4b1444897e407 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.PriceListRuleDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.PriceListRuleDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The price list rule's details. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.PriceListRuleValueDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.PriceListRuleValueDTO.mdx index 380879f2bb3e1..5e21d8c3549b3 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.PriceListRuleValueDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.PriceListRuleValueDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The price list rule value's details. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.PriceRuleDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.PriceRuleDTO.mdx index 9f92a347fa805..8e340245f7687 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.PriceRuleDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.PriceRuleDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" A price rule's data. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.PriceSetDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.PriceSetDTO.mdx index ccedfd0b8722e..04b7b1c3a0459 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.PriceSetDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.PriceSetDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" A price set's data. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.PriceSetMoneyAmountDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.PriceSetMoneyAmountDTO.mdx deleted file mode 100644 index a09a702dfb8f0..0000000000000 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.PriceSetMoneyAmountDTO.mdx +++ /dev/null @@ -1,11 +0,0 @@ ---- -displayed_sidebar: pricingReference ---- - -import TypeList from "@site/src/components/TypeList" - -# PriceSetMoneyAmountDTO - -A price set money amount's data. - - diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.PriceSetMoneyAmountRulesDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.PriceSetMoneyAmountRulesDTO.mdx deleted file mode 100644 index 086d678b5cb75..0000000000000 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.PriceSetMoneyAmountRulesDTO.mdx +++ /dev/null @@ -1,11 +0,0 @@ ---- -displayed_sidebar: pricingReference ---- - -import TypeList from "@site/src/components/TypeList" - -# PriceSetMoneyAmountRulesDTO - -A price set money amount rule's data. - - diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.PricingContext.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.PricingContext.mdx index 13cc186d9983a..8baa2436aee02 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.PricingContext.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.PricingContext.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The context to calculate prices. For example, you can specify the currency code to calculate prices in. -`","description":"an object whose keys are the name of the context attribute. Its value can be a string or a number. For example, you can pass the `currency_code` property with its value being the currency code to calculate the price in.\nAnother example is passing the `quantity` property to calculate the price for that specified quantity, which finds a price set whose `min_quantity` and `max_quantity` conditions match the specified quantity.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="PricingContext"/> +`","description":"an object whose keys are the name of the context attribute. Its value can be a string or a BigNumberInput. For example, you can pass the `currency_code` property with its value being the currency code to calculate the price in.\nAnother example is passing the `quantity` property to calculate the price for that specified quantity, which finds a price set whose `min_quantity` and `max_quantity` conditions match the specified quantity.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="PricingContext"/> diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.PricingFilters.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.PricingFilters.mdx index 02099d7c0af11..a3b17189fa407 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.PricingFilters.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.PricingFilters.mdx @@ -6,6 +6,6 @@ import TypeList from "@site/src/components/TypeList" # PricingFilters -Filters to apply on prices. +Filters to apply when calculating prices. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.RemovePriceListRulesDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.RemovePriceListRulesDTO.mdx index 1ca9ff6cd4705..c9d6dff129bfd 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.RemovePriceListRulesDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.RemovePriceListRulesDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The rules to remove from a price list. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.RuleTypeDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.RuleTypeDTO.mdx index 2cc9fd99ee7d2..2e23d7a812467 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.RuleTypeDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.RuleTypeDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" A rule type's data. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.SetPriceListRulesDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.SetPriceListRulesDTO.mdx index 3424def0d8e99..48aa4f6f8ddb2 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.SetPriceListRulesDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.SetPriceListRulesDTO.mdx @@ -6,6 +6,6 @@ import TypeList from "@site/src/components/TypeList" # SetPriceListRulesDTO -The rules to add to a price list. +The rules to set in a price list. -`","description":"The rules to add to the price list. Each key of the object is a rule type's `rule_attribute`, and its value\nis the value(s) of the rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="SetPriceListRulesDTO"/> +`","description":"The rules to add to the price list. Each key of the object is a rule type's `rule_attribute`, and its value\nis the value(s) of the rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="SetPriceListRulesDTO"/> diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.UpdateCurrencyDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.UpdateCurrencyDTO.mdx deleted file mode 100644 index 108e1bada5084..0000000000000 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.UpdateCurrencyDTO.mdx +++ /dev/null @@ -1,11 +0,0 @@ ---- -displayed_sidebar: pricingReference ---- - -import TypeList from "@site/src/components/TypeList" - -# UpdateCurrencyDTO - -The data to update in a currency. The `code` is used to identify which currency to update. - - diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.UpdateMoneyAmountDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.UpdateMoneyAmountDTO.mdx index 5296401457db4..7be47659718bc 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.UpdateMoneyAmountDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.UpdateMoneyAmountDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The data to update in a money amount. The `id` is used to identify which money amount to update. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceListDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceListDTO.mdx index 6b16d610b6f04..320e2d1c18fa8 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceListDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceListDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The attributes to update in a price list. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceListPriceDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceListPriceDTO.mdx new file mode 100644 index 0000000000000..a939dec2b62e8 --- /dev/null +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceListPriceDTO.mdx @@ -0,0 +1,11 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# UpdatePriceListPriceDTO + +The data to update in a money amount. The `id` is used to identify which money amount to update. + + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceListPricesDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceListPricesDTO.mdx new file mode 100644 index 0000000000000..638ef7159b3db --- /dev/null +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceListPricesDTO.mdx @@ -0,0 +1,11 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# UpdatePriceListPricesDTO + +The prices to be added to a price list. + + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceRuleDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceRuleDTO.mdx index 2d6cf475f06f7..c1644bce1da13 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceRuleDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceRuleDTO.mdx @@ -6,6 +6,6 @@ import TypeList from "@site/src/components/TypeList" # UpdatePriceRuleDTO -The data to update in a price rule. The `id` is used to identify which money amount to update. +The data to update in a price rule. The `id` is used to identify which price rule to update. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceSetDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceSetDTO.mdx index 458fbcc18447a..41a4d392d364a 100644 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceSetDTO.mdx +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceSetDTO.mdx @@ -6,6 +6,6 @@ import TypeList from "@site/src/components/TypeList" # UpdatePriceSetDTO -The data to update in a price set. The `id` is used to identify which price set to update. +The data to update in a price set. - + diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceSetMoneyAmountRulesDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceSetMoneyAmountRulesDTO.mdx deleted file mode 100644 index a26ee630c68f7..0000000000000 --- a/www/apps/docs/content/references/pricing/interfaces/pricing.UpdatePriceSetMoneyAmountRulesDTO.mdx +++ /dev/null @@ -1,11 +0,0 @@ ---- -displayed_sidebar: pricingReference ---- - -import TypeList from "@site/src/components/TypeList" - -# UpdatePriceSetMoneyAmountRulesDTO - -The data to update in a price set money amount rule. The `id` is used to identify which money amount to update. - - diff --git a/www/apps/docs/content/references/pricing/interfaces/pricing.UpsertPriceSetDTO.mdx b/www/apps/docs/content/references/pricing/interfaces/pricing.UpsertPriceSetDTO.mdx new file mode 100644 index 0000000000000..f8ceb3056fd2e --- /dev/null +++ b/www/apps/docs/content/references/pricing/interfaces/pricing.UpsertPriceSetDTO.mdx @@ -0,0 +1,11 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# UpsertPriceSetDTO + +The data to upsert in a price set. + + diff --git a/www/apps/docs/content/references/pricing/types/pricing.BigNumberInput.mdx b/www/apps/docs/content/references/pricing/types/pricing.BigNumberInput.mdx new file mode 100644 index 0000000000000..b9be0b52a689e --- /dev/null +++ b/www/apps/docs/content/references/pricing/types/pricing.BigNumberInput.mdx @@ -0,0 +1,9 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# BigNumberInput + + **BigNumberInput**: [BigNumberRawValue](pricing.BigNumberRawValue.mdx) \| `number` \| `string` \| `BigNumberJS` diff --git a/www/apps/docs/content/references/pricing/types/pricing.BigNumberRawValue.mdx b/www/apps/docs/content/references/pricing/types/pricing.BigNumberRawValue.mdx new file mode 100644 index 0000000000000..6653ace5aebaa --- /dev/null +++ b/www/apps/docs/content/references/pricing/types/pricing.BigNumberRawValue.mdx @@ -0,0 +1,17 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# BigNumberRawValue + + **BigNumberRawValue**: `Object` + +## Index signature + +▪ [key: `string`]: `unknown` + +## Properties + + diff --git a/www/apps/docs/content/references/pricing/types/pricing.BigNumberValue.mdx b/www/apps/docs/content/references/pricing/types/pricing.BigNumberValue.mdx new file mode 100644 index 0000000000000..d911f01703d09 --- /dev/null +++ b/www/apps/docs/content/references/pricing/types/pricing.BigNumberValue.mdx @@ -0,0 +1,9 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# BigNumberValue + + **BigNumberValue**: `BigNumberJS` \| `number` \| `string` diff --git a/www/apps/docs/content/references/pricing/types/pricing.ExpandScalar.mdx b/www/apps/docs/content/references/pricing/types/pricing.ExpandScalar.mdx new file mode 100644 index 0000000000000..cff062ae8b5bc --- /dev/null +++ b/www/apps/docs/content/references/pricing/types/pricing.ExpandScalar.mdx @@ -0,0 +1,9 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# ExpandScalar + + **ExpandScalar**: `null` \| T extends `string` ? `string` \| `RegExp` : T extends `Date` ? `Date` \| `string` : T diff --git a/www/apps/docs/content/references/pricing/types/pricing.FilterQuery.mdx b/www/apps/docs/content/references/pricing/types/pricing.FilterQuery.mdx new file mode 100644 index 0000000000000..2f470f1201943 --- /dev/null +++ b/www/apps/docs/content/references/pricing/types/pricing.FilterQuery.mdx @@ -0,0 +1,9 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# FilterQuery + + **FilterQuery**: Prev extends `never` ? `never` : { [Key in keyof T]?: T[Key] extends boolean \| number \| string \| bigint \| symbol \| Date ? T[Key] \| OperatorMap<T[Key]> : T[Key] extends infer U ? U extends Object ? V extends object ? FilterQuery<Partial<V>, PrevLimit[Prev]> : never : never : never } diff --git a/www/apps/docs/content/references/pricing/types/pricing.FilterValue.mdx b/www/apps/docs/content/references/pricing/types/pricing.FilterValue.mdx new file mode 100644 index 0000000000000..c4d311c682adb --- /dev/null +++ b/www/apps/docs/content/references/pricing/types/pricing.FilterValue.mdx @@ -0,0 +1,9 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# FilterValue + + **FilterValue**: [OperatorMap](pricing.OperatorMap.mdx)<[FilterValue2](pricing.FilterValue2.mdx)<T>> \| [FilterValue2](pricing.FilterValue2.mdx)<T> \| [FilterValue2](pricing.FilterValue2.mdx)<T>[] \| `null` diff --git a/www/apps/docs/content/references/pricing/types/pricing.FilterValue2.mdx b/www/apps/docs/content/references/pricing/types/pricing.FilterValue2.mdx new file mode 100644 index 0000000000000..6f403ceb51bd7 --- /dev/null +++ b/www/apps/docs/content/references/pricing/types/pricing.FilterValue2.mdx @@ -0,0 +1,9 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# FilterValue2 + + **FilterValue2**: T \| [ExpandScalar](pricing.ExpandScalar.mdx)<T> \| [Primary](pricing.Primary.mdx)<T> diff --git a/www/apps/docs/content/references/pricing/types/pricing.MessageFormat.mdx b/www/apps/docs/content/references/pricing/types/pricing.MessageFormat.mdx new file mode 100644 index 0000000000000..6139d4c502b9a --- /dev/null +++ b/www/apps/docs/content/references/pricing/types/pricing.MessageFormat.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# MessageFormat + + **MessageFormat**: `Object` + +## Properties + + diff --git a/www/apps/docs/content/references/pricing/types/pricing.OperatorMap.mdx b/www/apps/docs/content/references/pricing/types/pricing.OperatorMap.mdx new file mode 100644 index 0000000000000..2848d2eed0715 --- /dev/null +++ b/www/apps/docs/content/references/pricing/types/pricing.OperatorMap.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# OperatorMap + + **OperatorMap**: `Object` + +## Properties + + diff --git a/www/apps/docs/content/references/pricing/types/pricing.PrevLimit.mdx b/www/apps/docs/content/references/pricing/types/pricing.PrevLimit.mdx new file mode 100644 index 0000000000000..9cd65267a3be4 --- /dev/null +++ b/www/apps/docs/content/references/pricing/types/pricing.PrevLimit.mdx @@ -0,0 +1,9 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# PrevLimit + + **PrevLimit**: [`never`, `1`, `2`, `3`] diff --git a/www/apps/docs/content/references/pricing/types/pricing.Primary.mdx b/www/apps/docs/content/references/pricing/types/pricing.Primary.mdx new file mode 100644 index 0000000000000..71fd276a14a00 --- /dev/null +++ b/www/apps/docs/content/references/pricing/types/pricing.Primary.mdx @@ -0,0 +1,9 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# Primary + + **Primary**: T extends `object` ? [ReadonlyPrimary](pricing.ReadonlyPrimary.mdx)<PK> : T extends `object` ? [ReadonlyPrimary](pricing.ReadonlyPrimary.mdx)<PK> \| `string` : T extends `object` ? [ReadonlyPrimary](pricing.ReadonlyPrimary.mdx)<PK> : T extends `object` ? [ReadonlyPrimary](pricing.ReadonlyPrimary.mdx)<PK> : `never` diff --git a/www/apps/docs/content/references/pricing/types/pricing.Query.mdx b/www/apps/docs/content/references/pricing/types/pricing.Query.mdx new file mode 100644 index 0000000000000..903aa90e08bb8 --- /dev/null +++ b/www/apps/docs/content/references/pricing/types/pricing.Query.mdx @@ -0,0 +1,9 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# Query + + **Query**: T extends `object` ? T extends [Scalar](pricing.Scalar.mdx) ? `never` : [FilterQuery](pricing.FilterQuery.mdx)<T> : [FilterValue](pricing.FilterValue.mdx)<T> diff --git a/www/apps/docs/content/references/pricing/types/pricing.ReadonlyPrimary.mdx b/www/apps/docs/content/references/pricing/types/pricing.ReadonlyPrimary.mdx new file mode 100644 index 0000000000000..9edb79ff12996 --- /dev/null +++ b/www/apps/docs/content/references/pricing/types/pricing.ReadonlyPrimary.mdx @@ -0,0 +1,9 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# ReadonlyPrimary + + **ReadonlyPrimary**: T extends `any`[] ? Readonly<T> : T diff --git a/www/apps/docs/content/references/pricing/types/pricing.Scalar.mdx b/www/apps/docs/content/references/pricing/types/pricing.Scalar.mdx new file mode 100644 index 0000000000000..5032bb7596016 --- /dev/null +++ b/www/apps/docs/content/references/pricing/types/pricing.Scalar.mdx @@ -0,0 +1,9 @@ +--- +displayed_sidebar: pricingReference +--- + +import TypeList from "@site/src/components/TypeList" + +# Scalar + + **Scalar**: `boolean` \| `number` \| `string` \| `bigint` \| `symbol` \| `Date` \| `RegExp` \| `Buffer` \| `object` diff --git a/www/apps/docs/content/references/product/IMessageAggregator/methods/product.IMessageAggregator.saveRawMessageData.mdx b/www/apps/docs/content/references/product/IMessageAggregator/methods/product.IMessageAggregator.saveRawMessageData.mdx new file mode 100644 index 0000000000000..9c2f1f4c6a9cc --- /dev/null +++ b/www/apps/docs/content/references/product/IMessageAggregator/methods/product.IMessageAggregator.saveRawMessageData.mdx @@ -0,0 +1,15 @@ +--- +displayed_sidebar: productReference +--- + +import TypeList from "@site/src/components/TypeList" + +# saveRawMessageData + +## Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="saveRawMessageData"/> + +## Returns + + diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.create.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.create.mdx index 586a29447d0d7..9f7126e5685a2 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.create.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.create.mdx @@ -13,32 +13,48 @@ import TypeList from "@site/src/components/TypeList" This documentation provides a reference to the create method. This belongs to the Product Module. -This method is used to create a product. +## create(data, sharedContext?): Promise<[ProductDTO](../../interfaces/product.ProductDTO.mdx)[]> + +This method is used to create a list of products. -## Example +### Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" +const products = await productModuleService.create([ + { + title: "Shirt", + }, + { + title: "Pants", + handle: "pants", + }, +]) +``` + +### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type_id","type":"`string`","description":"The product type id to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection_id","type":"`string`","description":"The product collection to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[UpsertProductTagDTO](../../interfaces/product.UpsertProductTagDTO.mdx)[]","description":"The associated tags to be created or updated.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag to update. If not provided, the tag\nis created. In that case, the `value` property is required.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"category_ids","type":"`string`[]","description":"The product categories to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[CreateProductOptionDTO](../../interfaces/product.CreateProductOptionDTO.mdx)[]","description":"The product options to be created and associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"The product option's title.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"`string`[]","description":"The product option values.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variants","type":"[CreateProductVariantDTO](../../interfaces/product.CreateProductVariantDTO.mdx)[]","description":"The product variants to be created and associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The id of the product","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"`Record`","description":"The options of the variant. Each key is an option's title, and value\nis an option's value. If an option with the specified title doesn't exist,\na new one is created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"width","type":"`number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> + +### Returns -async function createProduct (title: string) { - const productModule = await initializeProductModule() + + +## create(data, sharedContext?): Promise<[ProductDTO](../../interfaces/product.ProductDTO.mdx)> + +This method is used to create a product. - const products = await productModule.create([ - { - title - } - ]) +### Example - // do something with the products or return them -} +```ts +const product = await productModuleService.create({ + title: "Shirt", +}) ``` -## Parameters +### Parameters -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type_id","type":"`string`","description":"The product type to be associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection_id","type":"`string`","description":"The product collection to be associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[CreateProductTagDTO](../../interfaces/product.CreateProductTagDTO.mdx)[]","description":"The product tags to be created and associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string`","description":"The value of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"categories","type":"`object`[]","description":"The product categories to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[CreateProductOptionDTO](../../interfaces/product.CreateProductOptionDTO.mdx)[]","description":"The product options to be created and associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"The product option's title.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variants","type":"[CreateProductVariantDTO](../../interfaces/product.CreateProductVariantDTO.mdx)[]","description":"The product variants to be created and associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The id of the product","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[CreateProductVariantOptionDTO](../../interfaces/product.CreateProductVariantOptionDTO.mdx)[]","description":"The product variant options to create and associate with the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"width","type":"`number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type_id","type":"`string`","description":"The product type id to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection_id","type":"`string`","description":"The product collection to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[UpsertProductTagDTO](../../interfaces/product.UpsertProductTagDTO.mdx)[]","description":"The associated tags to be created or updated.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag to update. If not provided, the tag\nis created. In that case, the `value` property is required.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"category_ids","type":"`string`[]","description":"The product categories to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[CreateProductOptionDTO](../../interfaces/product.CreateProductOptionDTO.mdx)[]","description":"The product options to be created and associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"The product option's title.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"`string`[]","description":"The product option values.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variants","type":"[CreateProductVariantDTO](../../interfaces/product.CreateProductVariantDTO.mdx)[]","description":"The product variants to be created and associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The id of the product","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"`Record`","description":"The options of the variant. Each key is an option's title, and value\nis an option's value. If an option with the specified title doesn't exist,\na new one is created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"width","type":"`number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> -## Returns +### Returns - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](../../interfaces/product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"variants","type":"[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](../../interfaces/product.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](../../interfaces/product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"[ProductOptionValueDTO](../../interfaces/product.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product option was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product option was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](../../interfaces/product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"images","type":"[ProductImageDTO](../../interfaces/product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"url","type":"`string`","description":"The URL of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product image was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product image was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="create"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createCategory.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createCategory.mdx index cc6ab9aba46f0..da6ecf54f3e6f 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createCategory.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createCategory.mdx @@ -18,26 +18,16 @@ This method is used to create a product category. ## Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function createCategory (name: string, parent_category_id: string | null) { - const productModule = await initializeProductModule() - - const category = await productModule.createCategory({ - name, - parent_category_id - }) - - // do something with the product category or return it -} +const category = await productModuleService.createCategory({ + name: "Shirts", + parent_category_id: null, +}) ``` ## Parameters -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createCategory"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createCategory"/> ## Returns - +`","description":"The ranking of the product category among sibling categories.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_category","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)","description":"The associated parent category.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"parent_category_id","type":"`null` \\| `string`","description":"The associated parent category id.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"products","type":"[ProductDTO](../../interfaces/product.ProductDTO.mdx)[]","description":"The associated products.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[ProductTagDTO](../../interfaces/product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](../../interfaces/product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product category was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product category was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"The ranking of the product category among sibling categories.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_category","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)","description":"The associated parent category.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"parent_category_id","type":"`null` \\| `string`","description":"The associated parent category id.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createCategory"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createCollections.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createCollections.mdx index 328ef92b3c6bf..87352cf505f89 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createCollections.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createCollections.mdx @@ -13,32 +13,49 @@ import TypeList from "@site/src/components/TypeList" This documentation provides a reference to the createCollections method. This belongs to the Product Module. +## createCollections(data, sharedContext?): Promise<[ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)[]> + This method is used to create product collections. -## Example +### Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function createCollection (title: string) { - const productModule = await initializeProductModule() - - const collections = await productModule.createCollections([ +const collections = + await productModuleService.createCollections([ + { + title: "Summer Collection", + }, { - title - } + title: "Winter Collection", + }, ]) - - // do something with the product collections or return them -} ``` -## Parameters +### Parameters -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createCollections"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createCollections"/> -## Returns +### Returns + +## createCollections(data, sharedContext?): Promise<[ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)> + +This method is used to create a product collection. + +### Example + +```ts +const collection = + await productModuleService.createCollections({ + title: "Summer Collection", + }) +``` + +### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createCollections"/> + +### Returns + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product collection was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](../../interfaces/product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[ProductTagDTO](../../interfaces/product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](../../interfaces/product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="createCollections"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createOptions.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createOptions.mdx index 0e006686527ee..dea8af82057d6 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createOptions.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createOptions.mdx @@ -13,33 +13,53 @@ import TypeList from "@site/src/components/TypeList" This documentation provides a reference to the createOptions method. This belongs to the Product Module. +## createOptions(data, sharedContext?): Promise<[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)[]> + This method is used to create product options. -## Example +### Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function createProductOption (title: string, productId: string) { - const productModule = await initializeProductModule() - - const productOptions = await productModule.createOptions([ - { - title, - product_id: productId - } - ]) - - // do something with the product options or return them -} +const options = await productModuleService.createOptions([ + { + title: "Color", + values: ["Blue", "Green"], + product_id: "prod_123", + }, + { + title: "Size", + values: ["Small", "Medium"], + product_id: "prod_321", + }, +]) ``` -## Parameters +### Parameters - + -## Returns +### Returns + +## createOptions(data, sharedContext?): Promise<[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)> + +This method is used to create a product option. + +### Example + +```ts +const option = await productModuleService.createOptions({ + title: "Color", + values: ["Blue", "Green"], + product_id: "prod_123", +}) +``` + +### Parameters + + + +### Returns + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product option was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product option was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](../../interfaces/product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createOptions"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createTags.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createTags.mdx index 50db5bd8f0459..64d8ad6ba5edc 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createTags.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createTags.mdx @@ -18,26 +18,19 @@ This method is used to create product tags. ## Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function createProductTags (values: string[]) { - const productModule = await initializeProductModule() - - const productTags = await productModule.createTags( - values.map((value) => ({ - value - })) - ) - - // do something with the product tags or return them -} +const tags = await productModuleService.createTags([ + { + value: "Clothes", + }, + { + value: "Accessories", + }, +]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createTypes.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createTypes.mdx index 48080a6533697..c5ab5ebe0ec96 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createTypes.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createTypes.mdx @@ -13,32 +13,44 @@ import TypeList from "@site/src/components/TypeList" This documentation provides a reference to the createTypes method. This belongs to the Product Module. +## createTypes(data, sharedContext?): Promise<[ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)[]> + This method is used to create a product type. -## Example +### Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" +const productTypes = await productModuleService.createTypes([ + { + value: "digital", + }, +]) +``` + +### Parameters -async function createProductType (value: string) { - const productModule = await initializeProductModule() +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createTypes"/> + +### Returns + + - const productTypes = await productModule.createTypes([ - { - value - } - ]) +## createTypes(data, sharedContext?): Promise<[ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)> - // do something with the product types or return them -} +This method is used to create a product type. + +### Example + +```ts +const productType = await productModuleService.createTypes({ + value: "digital", +}) ``` -## Parameters +### Parameters -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createTypes"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createTypes"/> -## Returns +### Returns - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product type was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createTypes"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createVariants.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createVariants.mdx index 17811ff28cdf9..ea80f69b430ee 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createVariants.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.createVariants.mdx @@ -13,31 +13,59 @@ import TypeList from "@site/src/components/TypeList" This documentation provides a reference to the createVariants method. This belongs to the Product Module. -This method is used to create variants for a product. +## createVariants(data, sharedContext?): Promise<[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)[]> -## Example +This method is used to create product variants. + +### Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" +const variants = await productModuleService.createVariants([ + { + title: "Blue Shirt", + product_id: "prod_123", + options: { + Color: "Blue", + }, + }, + { + title: "Green Shirt", + product_id: "prod_321", + options: { + Color: "Green", + }, + }, +]) +``` + +### Parameters + +`","description":"The options of the variant. Each key is an option's title, and value\nis an option's value. If an option with the specified title doesn't exist,\na new one is created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createVariants"/> -async function createProductVariants (items: { - product_id: string, - title: string -}[]) { - const productModule = await initializeProductModule() +### Returns - const productVariants = await productModule.createVariants(items) + - // do something with the product variants or return them -} +## createVariants(data, sharedContext?): Promise<[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)> + +This method is used to create a product variant. + +### Example + +```ts +const variant = await productModuleService.createVariants({ + title: "Blue Shirt", + product_id: "prod_123", + options: { + Color: "Blue", + }, +}) ``` -## Parameters +### Parameters -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createVariants"/> +`","description":"The options of the variant. Each key is an option's title, and value\nis an option's value. If an option with the specified title doesn't exist,\na new one is created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createVariants"/> -## Returns +### Returns - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](../../interfaces/product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createVariants"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.delete.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.delete.mdx index c046f0068886b..e1baa41aaf33f 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.delete.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.delete.mdx @@ -18,20 +18,12 @@ This method is used to delete products. Unlike the [softDelete](product.IProduct ## Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function deleteProducts (ids: string[]) { - const productModule = await initializeProductModule() - - await productModule.delete(ids) -} +await productModuleService.delete(["prod_123", "prod_321"]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteCategory.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteCategory.mdx index b4e201a31c2d6..84c838cc986cd 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteCategory.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteCategory.mdx @@ -18,20 +18,12 @@ This method is used to delete a product category by its ID. ## Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function deleteCategory (id: string) { - const productModule = await initializeProductModule() - - await productModule.deleteCategory(id) -} +await productModuleService.deleteCategory("pcat_123") ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteCollections.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteCollections.mdx index cb34a081fd712..de67641fa14bf 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteCollections.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteCollections.mdx @@ -18,20 +18,15 @@ This method is used to delete collections by their ID. ## Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function deleteCollection (ids: string[]) { - const productModule = await initializeProductModule() - - await productModule.deleteCollections(ids) -} +await productModuleService.deleteCollections([ + "pcol_123", + "pcol_321", +]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteOptions.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteOptions.mdx index 31fff0731a595..fc6f89d3a3010 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteOptions.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteOptions.mdx @@ -18,20 +18,15 @@ This method is used to delete a product option. ## Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function deleteProductOptions (ids: string[]) { - const productModule = await initializeProductModule() - - await productModule.deleteOptions(ids) -} +await productModuleService.deleteOptions([ + "opt_123", + "opt_321", +]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteTags.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteTags.mdx index 82e9b9cc402f6..3863ba3354a22 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteTags.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteTags.mdx @@ -18,21 +18,15 @@ This method is used to delete product tags by their ID. ## Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function deleteProductTags (ids: string[]) { - const productModule = await initializeProductModule() - - await productModule.deleteTags(ids) - -} +await productModuleService.deleteTags([ + "ptag_123", + "ptag_321", +]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteTypes.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteTypes.mdx index 3d86d53445444..a385e79992e92 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteTypes.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteTypes.mdx @@ -18,20 +18,15 @@ This method is used to delete a product type. ## Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function deleteProductTypes (ids: string[]) { - const productModule = await initializeProductModule() - - await productModule.deleteTypes(ids) -} +await productModuleService.deleteTypes([ + "ptyp_123", + "ptyp_321", +]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteVariants.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteVariants.mdx index c1a05b21e2d90..74d4ee349d967 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteVariants.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.deleteVariants.mdx @@ -18,20 +18,15 @@ This method is used to delete ProductVariant. This method will completely remove ## Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function deleteProducts (ids: string[]) { - const productModule = await initializeProductModule() - - await productModule.deleteVariants(ids) -} +await productModuleService.deleteVariants([ + "variant_123", + "variant_321", +]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.list.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.list.mdx index cc53303397036..72a5596150d83 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.list.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.list.mdx @@ -20,95 +20,42 @@ This method is used to retrieve a paginated list of price sets based on optional To retrieve a list of products using their IDs: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProducts (ids: string[]) { - const productModule = await initializeProductModule() - - const products = await productModule.list({ - id: ids - }) - - // do something with the products or return them -} +const products = await productModuleService.list({ + id: ["prod_123", "prod_321"], +}) ``` To specify relations that should be retrieved within the products: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProducts (ids: string[]) { - const productModule = await initializeProductModule() - - const products = await productModule.list({ - id: ids - }, { - relations: ["categories"] - }) - - // do something with the products or return them -} -``` - -By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: - -```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProducts (ids: string[], skip: number, take: number) { - const productModule = await initializeProductModule() - - const products = await productModule.list({ - id: ids - }, { +const products = await productModuleService.list( + { + id: ["prod_123", "prod_321"], + }, + { relations: ["categories"], - skip, - take - }) - - // do something with the products or return them -} + } +) ``` -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProducts (ids: string[], title: string, skip: number, take: number) { - const productModule = await initializeProductModule() - - const products = await productModule.list({ - $and: [ - { - id: ids - }, - { - q: title - } - ] - }, { +const products = await productModuleService.list( + { + id: ["prod_123", "prod_321"], + }, + { relations: ["categories"], - skip, - take - }) - - // do something with the products or return them -} + take: 20, + skip: 2, + } +) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCount.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCount.mdx index f46ff3d424171..d4d7424550f74 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCount.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCount.mdx @@ -20,95 +20,45 @@ This method is used to retrieve a paginated list of products along with the tota To retrieve a list of products using their IDs: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProducts (ids: string[]) { - const productModule = await initializeProductModule() - - const [products, count] = await productModule.listAndCount({ - id: ids +const [products, count] = + await productModuleService.listAndCount({ + id: ["prod_123", "prod_321"], }) - - // do something with the products or return them -} ``` To specify relations that should be retrieved within the products: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProducts (ids: string[]) { - const productModule = await initializeProductModule() - - const [products, count] = await productModule.listAndCount({ - id: ids - }, { - relations: ["categories"] - }) - - // do something with the products or return them -} +const [products, count] = + await productModuleService.listAndCount( + { + id: ["prod_123", "prod_321"], + }, + { + relations: ["categories"], + } + ) ``` By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProducts (ids: string[], skip: number, take: number) { - const productModule = await initializeProductModule() - - const [products, count] = await productModule.listAndCount({ - id: ids - }, { - relations: ["categories"], - skip, - take - }) - - // do something with the products or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProducts (ids: string[], title: string, skip: number, take: number) { - const productModule = await initializeProductModule() - - const [products, count] = await productModule.listAndCount({ - $and: [ - { - id: ids - }, - { - q: title - } - ] - }, { - relations: ["categories"], - skip, - take - }) - - // do something with the products or return them -} +const [products, count] = + await productModuleService.listAndCount( + { + id: ["prod_123", "prod_321"], + }, + { + relations: ["categories"], + take: 20, + skip: 2, + } + ) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountCategories.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountCategories.mdx index eece250428af6..fbc8230226327 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountCategories.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountCategories.mdx @@ -20,95 +20,45 @@ This method is used to retrieve a paginated list of product categories along wit To retrieve a list of product categories using their IDs: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCategories (ids: string[]) { - const productModule = await initializeProductModule() - - const [categories, count] = await productModule.listAndCountCategories({ - id: ids +const [categories, count] = + await productModuleService.listAndCountCategories({ + id: ["pcat_123", "pcat_321"], }) - - // do something with the product category or return it -} ``` To specify relations that should be retrieved within the product categories: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCategories (ids: string[]) { - const productModule = await initializeProductModule() - - const [categories, count] = await productModule.listAndCountCategories({ - id: ids - }, { - relations: ["parent_category"] - }) - - // do something with the product category or return it -} +const [categories, count] = + await productModuleService.listAndCountCategories( + { + id: ["pcat_123", "pcat_321"], + }, + { + relations: ["products"], + } + ) ``` By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCategories (ids: string[], skip: number, take: number) { - const productModule = await initializeProductModule() - - const [categories, count] = await productModule.listAndCountCategories({ - id: ids - }, { - relations: ["parent_category"], - skip, - take - }) - - // do something with the product category or return it -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCategories (ids: string[], name: string, skip: number, take: number) { - const productModule = await initializeProductModule() - - const [categories, count] = await productModule.listAndCountCategories({ - $or: [ - { - id: ids - }, - { - name - } - ] - }, { - relations: ["parent_category"], - skip, - take - }) - - // do something with the product category or return it -} +const [categories, count] = + await productModuleService.listAndCountCategories( + { + id: ["pcat_123", "pcat_321"], + }, + { + relations: ["products"], + take: 20, + skip: 2, + } + ) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountCategories"/> ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountCollections.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountCollections.mdx index c309eaf7b257a..b1befb00c64d3 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountCollections.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountCollections.mdx @@ -20,95 +20,45 @@ This method is used to retrieve a paginated list of product collections along wi To retrieve a list of product collections using their IDs: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCollections (ids: string[]) { - const productModule = await initializeProductModule() - - const [collections, count] = await productModule.listAndCountCollections({ - id: ids +const [collections, count] = + await productModuleService.listAndCountCollections({ + id: ["pcol_123", "pcol_321"], }) - - // do something with the product collections or return them -} ``` To specify relations that should be retrieved within the product collections: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCollections (ids: string[]) { - const productModule = await initializeProductModule() - - const [collections, count] = await productModule.listAndCountCollections({ - id: ids - }, { - relations: ["products"] - }) - - // do something with the product collections or return them -} +const [collections, count] = + await productModuleService.listAndCountCollections( + { + id: ["pcol_123", "pcol_321"], + }, + { + relations: ["products"], + } + ) ``` By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCollections (ids: string[], skip: number, take: number) { - const productModule = await initializeProductModule() - - const [collections, count] = await productModule.listAndCountCollections({ - id: ids - }, { - relations: ["products"], - skip, - take - }) - - // do something with the product collections or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCollections (ids: string[], title: string, skip: number, take: number) { - const productModule = await initializeProductModule() - - const [collections, count] = await productModule.listAndCountCollections({ - $and: [ - { - id: ids - }, - { - title - } - ] - }, { - relations: ["products"], - skip, - take - }) - - // do something with the product collections or return them -} +const [collections, count] = + await productModuleService.listAndCountCollections( + { + id: ["pcol_123", "pcol_321"], + }, + { + relations: ["products"], + take: 20, + skip: 2, + } + ) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountCollections"/> ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountOptions.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountOptions.mdx index 916c1f5ce4845..cc7aa669643fe 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountOptions.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountOptions.mdx @@ -20,95 +20,45 @@ This method is used to retrieve a paginated list of product options along with t To retrieve a list of product options using their IDs: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductOptions (ids: string[]) { - const productModule = await initializeProductModule() - - const [productOptions, count] = await productModule.listAndCountOptions({ - id: ids +const [options, count] = + await productModuleService.listAndCountOptions({ + id: ["opt_123", "opt_321"], }) - - // do something with the product options or return them -} ``` To specify relations that should be retrieved within the product types: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductOptions (ids: string[]) { - const productModule = await initializeProductModule() - - const [productOptions, count] = await productModule.listAndCountOptions({ - id: ids - }, { - relations: ["product"] - }) - - // do something with the product options or return them -} +const [options, count] = + await productModuleService.listAndCountOptions( + { + id: ["opt_123", "opt_321"], + }, + { + relations: ["product"], + } + ) ``` By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductOptions (ids: string[], skip: number, take: number) { - const productModule = await initializeProductModule() - - const [productOptions, count] = await productModule.listAndCountOptions({ - id: ids - }, { - relations: ["product"], - skip, - take - }) - - // do something with the product options or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductOptions (ids: string[], title: string, skip: number, take: number) { - const productModule = await initializeProductModule() - - const [productOptions, count] = await productModule.listAndCountOptions({ - $and: [ - { - id: ids - }, - { - title - } - ] - }, { - relations: ["product"], - skip, - take - }) - - // do something with the product options or return them -} +const [options, count] = + await productModuleService.listAndCountOptions( + { + id: ["opt_123", "opt_321"], + }, + { + relations: ["product"], + take: 20, + skip: 2, + } + ) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountOptions"/> ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountTags.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountTags.mdx index 087e4b51fd01b..e602fc2c0d25a 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountTags.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountTags.mdx @@ -20,95 +20,45 @@ This method is used to retrieve a paginated list of product tags along with the To retrieve a list of product tags using their IDs: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductTag (tagIds: string[]) { - const productModule = await initializeProductModule() - - const [productTags, count] = await productModule.listAndCountTags({ - id: tagIds +const [tags, count] = + await productModuleService.listAndCountTags({ + id: ["ptag_123", "ptag_321"], }) - - // do something with the product tags or return them -} ``` To specify relations that should be retrieved within the product tags: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductTag (tagIds: string[]) { - const productModule = await initializeProductModule() - - const [productTags, count] = await productModule.listAndCountTags({ - id: tagIds - }, { - relations: ["products"] - }) - - // do something with the product tags or return them -} +const [tags, count] = + await productModuleService.listAndCountTags( + { + id: ["ptag_123", "ptag_321"], + }, + { + relations: ["products"], + } + ) ``` By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductTag (tagIds: string[], skip: number, take: number) { - const productModule = await initializeProductModule() - - const [productTags, count] = await productModule.listAndCountTags({ - id: tagIds - }, { - relations: ["products"], - skip, - take - }) - - // do something with the product tags or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductTag (tagIds: string[], value: string, skip: number, take: number) { - const productModule = await initializeProductModule() - - const [productTags, count] = await productModule.listAndCountTags({ - $and: [ - { - id: tagIds - }, - { - value - } - ] - }, { - relations: ["products"], - skip, - take - }) - - // do something with the product tags or return them -} +const [tags, count] = + await productModuleService.listAndCountTags( + { + id: ["ptag_123", "ptag_321"], + }, + { + relations: ["products"], + take: 20, + skip: 2, + } + ) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountTags"/> ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountTypes.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountTypes.mdx index ecbfd4b157f7c..c8c648028ce62 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountTypes.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountTypes.mdx @@ -20,95 +20,30 @@ This method is used to retrieve a paginated list of product types along with the To retrieve a list of product types using their IDs: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductTypes (ids: string[]) { - const productModule = await initializeProductModule() - - const [productTypes, count] = await productModule.listAndCountTypes({ - id: ids - }) - - // do something with the product types or return them -} -``` - -To specify attributes that should be retrieved within the product types: - -```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductTypes (ids: string[]) { - const productModule = await initializeProductModule() - - const [productTypes, count] = await productModule.listAndCountTypes({ - id: ids - }, { - select: ["value"] +const [productTypes, count] = + await productModuleService.listAndCountTypes({ + id: ["ptyp_123", "ptyp_321"], }) - - // do something with the product types or return them -} ``` By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductTypes (ids: string[], skip: number, take: number) { - const productModule = await initializeProductModule() - - const [productTypes, count] = await productModule.listAndCountTypes({ - id: ids - }, { - select: ["value"], - skip, - take - }) - - // do something with the product types or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductTypes (ids: string[], value: string, skip: number, take: number) { - const productModule = await initializeProductModule() - - const [productTypes, count] = await productModule.listAndCountTypes({ - $and: [ - { - id: ids - }, - { - value - } - ] - }, { - select: ["value"], - skip, - take - }) - - // do something with the product types or return them -} +const [productTypes, count] = + await productModuleService.listAndCountTypes( + { + id: ["ptyp_123", "ptyp_321"], + }, + { + take: 20, + skip: 2, + } + ) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountTypes"/> ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountVariants.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountVariants.mdx index 7290f761edc06..5c7c2550bbf32 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountVariants.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listAndCountVariants.mdx @@ -20,95 +20,45 @@ This method is used to retrieve a paginated list of product variants along with To retrieve a list of product variants using their IDs: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductVariants (ids: string[]) { - const productModule = await initializeProductModule() - - const [variants, count] = await productModule.listAndCountVariants({ - id: ids +const [variants, count] = + await productModuleService.listAndCountVariants({ + id: ["variant_123", "variant_321"], }) - - // do something with the product variants or return them -} ``` To specify relations that should be retrieved within the product variants: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductVariants (ids: string[]) { - const productModule = await initializeProductModule() - - const [variants, count] = await productModule.listAndCountVariants({ - id: ids - }, { - relations: ["options"] - }) - - // do something with the product variants or return them -} +const [variants, count] = + await productModuleService.listAndCountVariants( + { + id: ["variant_123", "variant_321"], + }, + { + relations: ["options"], + } + ) ``` By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductVariants (ids: string[], skip: number, take: number) { - const productModule = await initializeProductModule() - - const [variants, count] = await productModule.listAndCountVariants({ - id: ids - }, { - relations: ["options"], - skip, - take - }) - - // do something with the product variants or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductVariants (ids: string[], sku: string, skip: number, take: number) { - const productModule = await initializeProductModule() - - const [variants, count] = await productModule.listAndCountVariants({ - $and: [ - { - id: ids - }, - { - sku - } - ] - }, { - relations: ["options"], - skip, - take - }) - - // do something with the product variants or return them -} +const [variants, count] = + await productModuleService.listAndCountVariants( + { + id: ["variant_123", "variant_321"], + }, + { + relations: ["options"], + take: 20, + skip: 2, + } + ) ``` ## Parameters - +`","description":"Filter product variants by their associated options.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"config","type":"[FindConfig](../../interfaces/product.FindConfig.mdx)<[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)>","description":"The configurations determining how the product variants are retrieved. Its properties, such as `select` or `relations`, accept the\nattributes or relations associated with a product variant.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"(`string` \\| keyof Entity)[]","description":"An array of strings, each being attribute names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`null` \\| `number`","description":"A number indicating the number of records to skip before retrieving the results.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`null` \\| `number`","description":"A number indicating the number of records to return in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"An array of strings, each being relation names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`\nto sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"withDeleted","type":"`boolean`","description":"A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the\n`SoftDeletableEntity` class.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"filters","type":"`Record`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountVariants"/> ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listCategories.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listCategories.mdx index 97b46b40944d8..1bd2521305a83 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listCategories.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listCategories.mdx @@ -20,95 +20,42 @@ This method is used to retrieve a paginated list of product categories based on To retrieve a list of product categories using their IDs: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCategories (ids: string[]) { - const productModule = await initializeProductModule() - - const categories = await productModule.listCategories({ - id: ids - }) - - // do something with the product category or return it -} +const categories = await productModuleService.listCategories({ + id: ["pcat_123", "pcat_321"], +}) ``` To specify relations that should be retrieved within the product categories: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCategories (ids: string[]) { - const productModule = await initializeProductModule() - - const categories = await productModule.listCategories({ - id: ids - }, { - relations: ["parent_category"] - }) - - // do something with the product category or return it -} +const categories = await productModuleService.listCategories( + { + id: ["pcat_123", "pcat_321"], + }, + { + relations: ["products"], + } +) ``` By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCategories (ids: string[], skip: number, take: number) { - const productModule = await initializeProductModule() - - const categories = await productModule.listCategories({ - id: ids - }, { - relations: ["parent_category"], - skip, - take - }) - - // do something with the product category or return it -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCategories (ids: string[], name: string, skip: number, take: number) { - const productModule = await initializeProductModule() - - const categories = await productModule.listCategories({ - $or: [ - { - id: ids - }, - { - name - } - ] - }, { - relations: ["parent_category"], - skip, - take - }) - - // do something with the product category or return it -} +const categories = await productModuleService.listCategories( + { + id: ["pcat_123", "pcat_321"], + }, + { + relations: ["products"], + take: 20, + skip: 2, + } +) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listCategories"/> ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listCollections.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listCollections.mdx index 7de02d8b01a8b..38589588cdeed 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listCollections.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listCollections.mdx @@ -20,95 +20,45 @@ This method is used to retrieve a paginated list of product collections based on To retrieve a list of product collections using their IDs: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCollections (ids: string[]) { - const productModule = await initializeProductModule() - - const collections = await productModule.listCollections({ - id: ids +const collections = + await productModuleService.listCollections({ + id: ["pcol_123", "pcol_321"], }) - - // do something with the product collections or return them -} ``` To specify relations that should be retrieved within the product collections: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCollections (ids: string[]) { - const productModule = await initializeProductModule() - - const collections = await productModule.listCollections({ - id: ids - }, { - relations: ["products"] - }) - - // do something with the product collections or return them -} +const collections = + await productModuleService.listCollections( + { + id: ["pcol_123", "pcol_321"], + }, + { + relations: ["products"], + } + ) ``` By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCollections (ids: string[], skip: number, take: number) { - const productModule = await initializeProductModule() - - const collections = await productModule.listCollections({ - id: ids - }, { - relations: ["products"], - skip, - take - }) - - // do something with the product collections or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCollections (ids: string[], title: string, skip: number, take: number) { - const productModule = await initializeProductModule() - - const collections = await productModule.listCollections({ - $and: [ - { - id: ids - }, - { - title - } - ] - }, { - relations: ["products"], - skip, - take - }) - - // do something with the product collections or return them -} +const collections = + await productModuleService.listCollections( + { + id: ["pcol_123", "pcol_321"], + }, + { + relations: ["products"], + take: 20, + skip: 2, + } + ) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listCollections"/> ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listOptions.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listOptions.mdx index 59412e425fa87..a382a833629fa 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listOptions.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listOptions.mdx @@ -20,95 +20,42 @@ This method is used to retrieve a paginated list of product options based on opt To retrieve a list of product options using their IDs: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductOptions (ids: string[]) { - const productModule = await initializeProductModule() - - const productOptions = await productModule.listOptions({ - id: ids - }) - - // do something with the product options or return them -} -``` - -To specify relations that should be retrieved within the product types: - -```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductOptions (ids: string[]) { - const productModule = await initializeProductModule() - - const productOptions = await productModule.listOptions({ - id: ids - }, { - relations: ["product"] - }) - - // do something with the product options or return them -} +const options = await productModuleService.listOptions({ + id: ["opt_123", "opt_321"], +}) ``` -By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: +To specify relations that should be retrieved within the product options: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductOptions (ids: string[], skip: number, take: number) { - const productModule = await initializeProductModule() - - const productOptions = await productModule.listOptions({ - id: ids - }, { +const options = await productModuleService.listOptions( + { + id: ["opt_123", "opt_321"], + }, + { relations: ["product"], - skip, - take - }) - - // do something with the product options or return them -} + } +) ``` -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductOptions (ids: string[], title: string, skip: number, take: number) { - const productModule = await initializeProductModule() - - const productOptions = await productModule.listOptions({ - $and: [ - { - id: ids - }, - { - title - } - ] - }, { +const options = await productModuleService.listOptions( + { + id: ["opt_123", "opt_321"], + }, + { relations: ["product"], - skip, - take - }) - - // do something with the product options or return them -} + take: 20, + skip: 2, + } +) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listOptions"/> ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listTags.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listTags.mdx index b9ea0ab03ea35..634234c0ddfab 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listTags.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listTags.mdx @@ -20,95 +20,42 @@ This method is used to retrieve a paginated list of tags based on optional filte To retrieve a list of product tags using their IDs: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductTag (tagIds: string[]) { - const productModule = await initializeProductModule() - - const productTags = await productModule.listTags({ - id: tagIds - }) - - // do something with the product tags or return them -} +const tags = await productModuleService.listTags({ + id: ["ptag_123", "ptag_321"], +}) ``` To specify relations that should be retrieved within the product tags: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductTag (tagIds: string[]) { - const productModule = await initializeProductModule() - - const productTags = await productModule.listTags({ - id: tagIds - }, { - relations: ["products"] - }) - - // do something with the product tags or return them -} -``` - -By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: - -```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductTag (tagIds: string[], skip: number, take: number) { - const productModule = await initializeProductModule() - - const productTags = await productModule.listTags({ - id: tagIds - }, { +const tags = await productModuleService.listTags( + { + id: ["ptag_123", "ptag_321"], + }, + { relations: ["products"], - skip, - take - }) - - // do something with the product tags or return them -} + } +) ``` -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductTag (tagIds: string[], value: string, skip: number, take: number) { - const productModule = await initializeProductModule() - - const productTags = await productModule.listTags({ - $and: [ - { - id: tagIds - }, - { - value - } - ] - }, { +const tags = await productModuleService.listTags( + { + id: ["ptag_123", "ptag_321"], + }, + { relations: ["products"], - skip, - take - }) - - // do something with the product tags or return them -} + take: 20, + skip: 2, + } +) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listTags"/> ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listTypes.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listTypes.mdx index 352bcf5bfd43f..425af42c4f45f 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listTypes.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listTypes.mdx @@ -20,95 +20,28 @@ This method is used to retrieve a paginated list of product types based on optio To retrieve a list of product types using their IDs: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductTypes (ids: string[]) { - const productModule = await initializeProductModule() - - const productTypes = await productModule.listTypes({ - id: ids - }) - - // do something with the product types or return them -} -``` - -To specify attributes that should be retrieved within the product types: - -```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductTypes (ids: string[]) { - const productModule = await initializeProductModule() - - const productTypes = await productModule.listTypes({ - id: ids - }, { - select: ["value"] - }) - - // do something with the product types or return them -} +const productTypes = await productModuleService.listTypes({ + id: ["ptyp_123", "ptyp_321"], +}) ``` By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductTypes (ids: string[], skip: number, take: number) { - const productModule = await initializeProductModule() - - const productTypes = await productModule.listTypes({ - id: ids - }, { - select: ["value"], - skip, - take - }) - - // do something with the product types or return them -} -``` - -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: - -```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductTypes (ids: string[], value: string, skip: number, take: number) { - const productModule = await initializeProductModule() - - const productTypes = await productModule.listTypes({ - $and: [ - { - id: ids - }, - { - value - } - ] - }, { - select: ["value"], - skip, - take - }) - - // do something with the product types or return them -} +const productTypes = await productModuleService.listTypes( + { + id: ["ptyp_123", "ptyp_321"], + }, + { + take: 20, + skip: 2, + } +) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listTypes"/> ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listVariants.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listVariants.mdx index c974517659454..f05ac2b964967 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listVariants.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.listVariants.mdx @@ -20,95 +20,42 @@ This method is used to retrieve a paginated list of product variants based on op To retrieve a list of product variants using their IDs: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductVariants (ids: string[]) { - const productModule = await initializeProductModule() - - const variants = await productModule.listVariants({ - id: ids - }) - - // do something with the product variants or return them -} +const variants = await productModuleService.listVariants({ + id: ["variant_123", "variant_321"], +}) ``` To specify relations that should be retrieved within the product variants: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductVariants (ids: string[]) { - const productModule = await initializeProductModule() - - const variants = await productModule.listVariants({ - id: ids - }, { - relations: ["options"] - }) - - // do something with the product variants or return them -} -``` - -By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: - -```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductVariants (ids: string[], skip: number, take: number) { - const productModule = await initializeProductModule() - - const variants = await productModule.listVariants({ - id: ids - }, { +const variants = await productModuleService.listVariants( + { + id: ["variant_123", "variant_321"], + }, + { relations: ["options"], - skip, - take - }) - - // do something with the product variants or return them -} + } +) ``` -You can also use the `$and` or `$or` properties of the `filter` parameter to use and/or conditions in your filters. For example: +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductVariants (ids: string[], sku: string, skip: number, take: number) { - const productModule = await initializeProductModule() - - const variants = await productModule.listVariants({ - $and: [ - { - id: ids - }, - { - sku - } - ] - }, { +const variants = await productModuleService.listVariants( + { + id: ["variant_123", "variant_321"], + }, + { relations: ["options"], - skip, - take - }) - - // do something with the product variants or return them -} + take: 20, + skip: 2, + } +) ``` ## Parameters - +`","description":"Filter product variants by their associated options.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"config","type":"[FindConfig](../../interfaces/product.FindConfig.mdx)<[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)>","description":"The configurations determining how the product variants are retrieved. Its properties, such as `select` or `relations`, accept the\nattributes or relations associated with a product variant.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"(`string` \\| keyof Entity)[]","description":"An array of strings, each being attribute names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`null` \\| `number`","description":"A number indicating the number of records to skip before retrieving the results.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`null` \\| `number`","description":"A number indicating the number of records to return in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"An array of strings, each being relation names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`\nto sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"withDeleted","type":"`boolean`","description":"A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the\n`SoftDeletableEntity` class.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"filters","type":"`Record`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listVariants"/> ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.restore.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.restore.mdx index 29e46533cf8a1..f468ad86d516f 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.restore.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.restore.mdx @@ -18,24 +18,12 @@ This method is used to restore products which were deleted using the [softDelete ## Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function restoreProducts (ids: string[]) { - const productModule = await initializeProductModule() - - const cascadedEntities = await productModule.restore(ids, { - returnLinkableKeys: ["variant_id"] - }) - - // do something with the returned cascaded entity IDs or return them -} +await productModuleService.restore(["prod_123", "prod_321"]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.restoreCollections.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.restoreCollections.mdx new file mode 100644 index 0000000000000..a680ada1d5741 --- /dev/null +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.restoreCollections.mdx @@ -0,0 +1,33 @@ +--- +displayed_sidebar: productReference +badge: + variant: orange + text: Beta +slug: /references/product/restoreCollections +sidebar_label: restoreCollections +--- + +import TypeList from "@site/src/components/TypeList" + +# restoreCollections - Product Module Reference + +This documentation provides a reference to the restoreCollections method. This belongs to the Product Module. + +This method is used to restore collections which were deleted using the [softDelete](product.IProductModuleService.softDelete.mdx) method. + +## Example + +```ts +await productModuleService.restoreCollections([ + "pcol_123", + "pcol_321", +]) +``` + +## Parameters + + + +## Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreCollections"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateTags.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.restoreOptions.mdx similarity index 51% rename from www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateTags.mdx rename to www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.restoreOptions.mdx index 1150b697d91f2..eb6f6de4dbf87 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateTags.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.restoreOptions.mdx @@ -3,43 +3,31 @@ displayed_sidebar: productReference badge: variant: orange text: Beta -slug: /references/product/updateTags -sidebar_label: updateTags +slug: /references/product/restoreOptions +sidebar_label: restoreOptions --- import TypeList from "@site/src/components/TypeList" -# updateTags - Product Module Reference +# restoreOptions - Product Module Reference -This documentation provides a reference to the updateTags method. This belongs to the Product Module. +This documentation provides a reference to the restoreOptions method. This belongs to the Product Module. -This method is used to update existing product tags. +This method is used to restore options which were deleted using the [softDelete](product.IProductModuleService.softDelete.mdx) method. ## Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function updateProductTag (id: string, value: string) { - const productModule = await initializeProductModule() - - const productTags = await productModule.updateTags([ - { - id, - value - } - ]) - - // do something with the product tags or return them -} +await productModuleService.restoreOptions([ + "opt_123", + "opt_321", +]) ``` ## Parameters - + ## Returns - +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreOptions"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.restoreTypes.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.restoreTypes.mdx new file mode 100644 index 0000000000000..ba244a086e094 --- /dev/null +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.restoreTypes.mdx @@ -0,0 +1,33 @@ +--- +displayed_sidebar: productReference +badge: + variant: orange + text: Beta +slug: /references/product/restoreTypes +sidebar_label: restoreTypes +--- + +import TypeList from "@site/src/components/TypeList" + +# restoreTypes - Product Module Reference + +This documentation provides a reference to the restoreTypes method. This belongs to the Product Module. + +This method is used to restore types which were deleted using the [softDelete](product.IProductModuleService.softDelete.mdx) method. + +## Example + +```ts +await productModuleService.restoreTypes([ + "ptyp_123", + "ptyp_321", +]) +``` + +## Parameters + + + +## Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreTypes"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.restoreVariants.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.restoreVariants.mdx index d99f245f17608..981d48f69fb93 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.restoreVariants.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.restoreVariants.mdx @@ -13,27 +13,21 @@ import TypeList from "@site/src/components/TypeList" This documentation provides a reference to the restoreVariants method. This belongs to the Product Module. -This method is used to restore product varaints that were soft deleted. Product variants are soft deleted when they're not -provided in a product's details passed to the [update](product.IProductModuleService.update.mdx) method. +This method is used to restore variants which were deleted using the [softDelete](product.IProductModuleService.softDelete.mdx) method. ## Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function restoreProductVariants (ids: string[]) { - const productModule = await initializeProductModule() - - await productModule.restoreVariants(ids) -} +await productModuleService.restoreVariants([ + "variant_123", + "variant_321", +]) ``` ## Parameters - + ## Returns -`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreVariants"/> +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreVariants"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieve.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieve.mdx index 7d5ccbd08c0be..6cae17d466702 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieve.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieve.mdx @@ -20,41 +20,21 @@ This method is used to retrieve a product by its ID A simple example that retrieves a product by its ID: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProduct (id: string) { - const productModule = await initializeProductModule() - - const product = await productModule.retrieve(id) - - // do something with the product or return it -} +const product = await productModuleService.retrieve("prod_123") ``` To specify relations that should be retrieved: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProduct (id: string) { - const productModule = await initializeProductModule() - - const product = await productModule.retrieve(id, { - relations: ["categories"] - }) - - // do something with the product or return it -} +const product = await productModuleService.retrieve("prod_123", { + relations: ["categories"], +}) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieve"/> ## Returns -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product collection was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](../../interfaces/product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"type","type":"[ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)[]","description":"The associated product type.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product type was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tags","type":"[ProductTagDTO](../../interfaces/product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](../../interfaces/product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"variants","type":"[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](../../interfaces/product.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"product","type":"[ProductDTO](../../interfaces/product.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"[ProductDTO](../../interfaces/product.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"values","type":"[ProductOptionValueDTO](../../interfaces/product.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"images","type":"[ProductImageDTO](../../interfaces/product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"url","type":"`string`","description":"The URL of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieve"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](../../interfaces/product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"variants","type":"[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](../../interfaces/product.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](../../interfaces/product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"[ProductOptionValueDTO](../../interfaces/product.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product option was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product option was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](../../interfaces/product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"images","type":"[ProductImageDTO](../../interfaces/product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"url","type":"`string`","description":"The URL of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product image was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product image was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieve"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveCategory.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveCategory.mdx index 35d3ee7636785..7ce0bdc271315 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveCategory.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveCategory.mdx @@ -20,41 +20,25 @@ This method is used to retrieve a product category by its ID. A simple example that retrieves a product category by its ID: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCategory (id: string) { - const productModule = await initializeProductModule() - - const category = await productModule.retrieveCategory(id) - - // do something with the product category or return it -} +const category = + await productModuleService.retrieveCategory("pcat_123") ``` To specify relations that should be retrieved: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCategory (id: string) { - const productModule = await initializeProductModule() - - const category = await productModule.retrieveCategory(id, { - relations: ["parent_category"] - }) - - // do something with the product category or return it -} +const category = await productModuleService.retrieveCategory( + "pcat_123", + { + relations: ["products"], + } +) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveCategory"/> ## Returns - +`","description":"The ranking of the product category among sibling categories.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_category","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)","description":"The associated parent category.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"parent_category_id","type":"`null` \\| `string`","description":"The associated parent category id.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"products","type":"[ProductDTO](../../interfaces/product.ProductDTO.mdx)[]","description":"The associated products.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[ProductTagDTO](../../interfaces/product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](../../interfaces/product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product category was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product category was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"The ranking of the product category among sibling categories.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_category","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)","description":"The associated parent category.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"parent_category_id","type":"`null` \\| `string`","description":"The associated parent category id.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveCategory"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveCollection.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveCollection.mdx index 0d6e02fad57e1..2adabde903c43 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveCollection.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveCollection.mdx @@ -20,41 +20,23 @@ This method is used to retrieve a product collection by its ID. A simple example that retrieves a product collection by its ID: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCollection (id: string) { - const productModule = await initializeProductModule() - - const collection = await productModule.retrieveCollection(id) - - // do something with the product collection or return it -} +const collection = + await productModuleService.retrieveCollection("pcol_123") ``` To specify relations that should be retrieved: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveCollection (id: string) { - const productModule = await initializeProductModule() - - const collection = await productModule.retrieveCollection(id, { - relations: ["products"] +const collection = + await productModuleService.retrieveCollection("pcol_123", { + relations: ["products"], }) - - // do something with the product collection or return it -} ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveCollection"/> ## Returns -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product collection was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](../../interfaces/product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"[ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"[ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)[]","description":"The associated product type.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tags","type":"[ProductTagDTO](../../interfaces/product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](../../interfaces/product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="retrieveCollection"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product collection was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](../../interfaces/product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[ProductTagDTO](../../interfaces/product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](../../interfaces/product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="retrieveCollection"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveOption.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveOption.mdx index c97be12a23a25..6e85a5dad92ef 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveOption.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveOption.mdx @@ -20,41 +20,25 @@ This method is used to retrieve a product option by its ID. A simple example that retrieves a product option by its ID: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductOption (id: string) { - const productModule = await initializeProductModule() - - const productOption = await productModule.retrieveOption(id) - - // do something with the product option or return it -} +const option = + await productModuleService.retrieveOption("opt_123") ``` To specify relations that should be retrieved: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductOption (id: string) { - const productModule = await initializeProductModule() - - const productOption = await productModule.retrieveOption(id, { - relations: ["product"] - }) - - // do something with the product option or return it -} +const option = await productModuleService.retrieveOption( + "opt_123", + { + relations: ["product"], + } +) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveOption"/> ## Returns -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"values","type":"[ProductOptionValueDTO](../../interfaces/product.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option value.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product option value.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"option","type":"[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)","description":"The associated product option. It may only be available if the `option` relation is expanded.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant","type":"[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)","description":"The associated product variant. It may only be available if the `variant` relation is expanded.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveOption"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product option was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product option was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](../../interfaces/product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveOption"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveTag.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveTag.mdx index 6135804a2ac4a..32432963a9320 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveTag.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveTag.mdx @@ -20,41 +20,24 @@ This method is used to retrieve a tag by its ID. A simple example that retrieves a product tag by its ID: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductTag (tagId: string) { - const productModule = await initializeProductModule() - - const productTag = await productModule.retrieveTag(tagId) - - // do something with the product tag or return it -} +const tag = await productModuleService.retrieveTag("ptag_123") ``` To specify relations that should be retrieved: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductTag (tagId: string) { - const productModule = await initializeProductModule() - - const productTag = await productModule.retrieveTag(tagId, { - relations: ["products"] - }) - - // do something with the product tag or return it -} +const tag = await productModuleService.retrieveTag( + "ptag_123", + { + relations: ["products"], + } +) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveTag"/> ## Returns -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](../../interfaces/product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"[ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"[ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)[]","description":"The associated product type.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tags","type":"[ProductTagDTO](../../interfaces/product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](../../interfaces/product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="retrieveTag"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](../../interfaces/product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[ProductTagDTO](../../interfaces/product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](../../interfaces/product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="retrieveTag"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveType.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveType.mdx index 2242361476604..a597381c4d1c7 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveType.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveType.mdx @@ -17,44 +17,15 @@ This method is used to retrieve a product type by its ID. ## Example -A simple example that retrieves a product type by its ID: - ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductType (id: string) { - const productModule = await initializeProductModule() - - const productType = await productModule.retrieveType(id) - - // do something with the product type or return it -} -``` - -To specify attributes that should be retrieved: - -```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductType (id: string) { - const productModule = await initializeProductModule() - - const productType = await productModule.retrieveType(id, { - select: ["value"] - }) - - // do something with the product type or return it -} +const productType = + await productModuleService.retrieveType("ptyp_123") ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveType"/> ## Returns -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product type was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveType"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product type was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveType"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveVariant.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveVariant.mdx index 35713f2e12576..8b91097532e1f 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveVariant.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.retrieveVariant.mdx @@ -20,41 +20,25 @@ This method is used to retrieve a product variant by its ID. A simple example that retrieves a product variant by its ID: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductVariant (id: string) { - const productModule = await initializeProductModule() - - const variant = await productModule.retrieveVariant(id) - - // do something with the product variant or return it -} +const variant = + await productModuleService.retrieveVariant("variant_123") ``` To specify relations that should be retrieved: ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function retrieveProductVariant (id: string) { - const productModule = await initializeProductModule() - - const variant = await productModule.retrieveVariant(id, { - relations: ["options"] - }) - - // do something with the product variant or return it -} +const variant = await productModuleService.retrieveVariant( + "variant_123", + { + relations: ["options"], + } +) ``` ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveVariant"/> ## Returns -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"product","type":"[ProductDTO](../../interfaces/product.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"[ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"[ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)[]","description":"The associated product type.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tags","type":"[ProductTagDTO](../../interfaces/product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](../../interfaces/product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveVariant"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](../../interfaces/product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveVariant"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.softDelete.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.softDelete.mdx index 03548f59dd1cd..7b91dc493563e 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.softDelete.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.softDelete.mdx @@ -20,22 +20,15 @@ The soft-deleted products can be restored using the [restore](product.IProductMo ## Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function deleteProducts (ids: string[]) { - const productModule = await initializeProductModule() - - const cascadedEntities = await productModule.softDelete(ids) - - // do something with the returned cascaded entity IDs or return them -} +await productModuleService.softDelete([ + "prod_123", + "prod_321", +]) ``` ## Parameters - + ## Returns diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.softDeleteCollections.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.softDeleteCollections.mdx new file mode 100644 index 0000000000000..60e70a009985e --- /dev/null +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.softDeleteCollections.mdx @@ -0,0 +1,35 @@ +--- +displayed_sidebar: productReference +badge: + variant: orange + text: Beta +slug: /references/product/softDeleteCollections +sidebar_label: softDeleteCollections +--- + +import TypeList from "@site/src/components/TypeList" + +# softDeleteCollections - Product Module Reference + +This documentation provides a reference to the softDeleteCollections method. This belongs to the Product Module. + +This method is used to delete product collections. Unlike the [deleteCollections](product.IProductModuleService.deleteCollections.mdx) method, this method won't completely remove the collection. It can still be accessed or retrieved using methods like retrieveCollections if you pass the `withDeleted` property to the `config` object parameter. + +The soft-deleted collections can be restored using the [restoreCollections](product.IProductModuleService.restoreCollections.mdx) method. + +## Example + +```ts +await productModuleService.softDeleteCollections([ + "pcol_123", + "pcol_321", +]) +``` + +## Parameters + + + +## Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteCollections"/> diff --git a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.restoreMoneyAmounts.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.softDeleteOptions.mdx similarity index 53% rename from www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.restoreMoneyAmounts.mdx rename to www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.softDeleteOptions.mdx index 828ae4e761c7c..d43bf1e2be821 100644 --- a/www/apps/docs/content/references/pricing/IPricingModuleService/methods/pricing.IPricingModuleService.restoreMoneyAmounts.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.softDeleteOptions.mdx @@ -1,40 +1,35 @@ --- -displayed_sidebar: pricingReference +displayed_sidebar: productReference badge: variant: orange text: Beta -slug: /references/pricing/restoreMoneyAmounts -sidebar_label: restoreMoneyAmounts +slug: /references/product/softDeleteOptions +sidebar_label: softDeleteOptions --- import TypeList from "@site/src/components/TypeList" -# restoreMoneyAmounts - Pricing Module Reference +# softDeleteOptions - Product Module Reference -This documentation provides a reference to the `restoreMoneyAmounts` method. This belongs to the Pricing Module. +This documentation provides a reference to the softDeleteOptions method. This belongs to the Product Module. -This method restores soft deleted money amounts by their IDs. +This method is used to delete options. Unlike the [delete](product.IProductModuleService.delete.mdx) method, this method won't completely remove the option. It can still be accessed or retrieved using methods like [retrieve](product.IProductModuleService.retrieve.mdx) if you pass the `withDeleted` property to the `config` object parameter. + +The soft-deleted options can be restored using the [restore](product.IProductModuleService.restore.mdx) method. ## Example ```ts -import { - initialize as initializePricingModule, -} from "@medusajs/pricing" - -async function softDeleteMoneyAmounts (moneyAmountIds: string[]) { - const pricingService = await initializePricingModule() - - await pricingService.softDeleteMoneyAmounts( - moneyAmountIds - ) -} +await productModuleService.softDeleteOptions([ + "opt_123", + "opt_321", +]) ``` ## Parameters - + ## Returns -`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreMoneyAmounts"/> +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteOptions"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.softDeleteTypes.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.softDeleteTypes.mdx new file mode 100644 index 0000000000000..cda3260a669bb --- /dev/null +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.softDeleteTypes.mdx @@ -0,0 +1,35 @@ +--- +displayed_sidebar: productReference +badge: + variant: orange + text: Beta +slug: /references/product/softDeleteTypes +sidebar_label: softDeleteTypes +--- + +import TypeList from "@site/src/components/TypeList" + +# softDeleteTypes - Product Module Reference + +This documentation provides a reference to the softDeleteTypes method. This belongs to the Product Module. + +This method is used to delete types. Unlike the [delete](product.IProductModuleService.delete.mdx) method, this method won't completely remove the type. It can still be accessed or retrieved using methods like [retrieve](product.IProductModuleService.retrieve.mdx) if you pass the `withDeleted` property to the `config` object parameter. + +The soft-deleted types can be restored using the [restore](product.IProductModuleService.restore.mdx) method. + +## Example + +```ts +await productModuleService.softDeleteTypes([ + "ptyp_123", + "ptyp_321", +]) +``` + +## Parameters + + + +## Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteTypes"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.softDeleteVariants.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.softDeleteVariants.mdx new file mode 100644 index 0000000000000..042745fdc3fba --- /dev/null +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.softDeleteVariants.mdx @@ -0,0 +1,35 @@ +--- +displayed_sidebar: productReference +badge: + variant: orange + text: Beta +slug: /references/product/softDeleteVariants +sidebar_label: softDeleteVariants +--- + +import TypeList from "@site/src/components/TypeList" + +# softDeleteVariants - Product Module Reference + +This documentation provides a reference to the softDeleteVariants method. This belongs to the Product Module. + +This method is used to delete variants. Unlike the [delete](product.IProductModuleService.delete.mdx) method, this method won't completely remove the variant. It can still be accessed or retrieved using methods like [retrieve](product.IProductModuleService.retrieve.mdx) if you pass the `withDeleted` property to the `config` object parameter. + +The soft-deleted variants can be restored using the [restore](product.IProductModuleService.restore.mdx) method. + +## Example + +```ts +await productModuleService.softDeleteVariants([ + "variant_123", + "variant_321", +]) +``` + +## Parameters + + + +## Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteVariants"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.update.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.update.mdx index ef71bd7872717..5eef691f1a337 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.update.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.update.mdx @@ -13,33 +13,50 @@ import TypeList from "@site/src/components/TypeList" This documentation provides a reference to the update method. This belongs to the Product Module. +## update(id, data, sharedContext?): Promise<[ProductDTO](../../interfaces/product.ProductDTO.mdx)> + This method is used to update a product. -## Example +### Example + +```ts +const product = await productModuleService.update( + "prod_123", + { + handle: "pant", + } +) +``` + +### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type_id","type":"`null` \\| `string`","description":"The product type to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The product collection to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[UpsertProductTagDTO](../../interfaces/product.UpsertProductTagDTO.mdx)[]","description":"The associated tags to create or update.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag to update. If not provided, the tag\nis created. In that case, the `value` property is required.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"category_ids","type":"`string`[]","description":"The product categories to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[UpsertProductOptionDTO](../../interfaces/product.UpsertProductOptionDTO.mdx)[]","description":"The associated options to create or update.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product option to update. If not provided, the product\noption is created. In that case, the `title` and `values` properties are\nrequired.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The product option's title.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"`string`[]","description":"The product option values.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variants","type":"[UpsertProductVariantDTO](../../interfaces/product.UpsertProductVariantDTO.mdx)[]","description":"The product variants to be created and associated with the product.\nYou can also update existing product variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant to update.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"`Record`","description":"The product variant options to associate with the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"width","type":"`number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> + +### Returns + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](../../interfaces/product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"variants","type":"[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](../../interfaces/product.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](../../interfaces/product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"[ProductOptionValueDTO](../../interfaces/product.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product option was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product option was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](../../interfaces/product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"images","type":"[ProductImageDTO](../../interfaces/product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"url","type":"`string`","description":"The URL of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product image was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product image was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="update"/> + +## update(selector, data, sharedContext?): Promise<[ProductDTO](../../interfaces/product.ProductDTO.mdx)[]> + +This method is used to update a list of products matching the specified filters. + +### Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function updateProduct (id: string, title: string) { - const productModule = await initializeProductModule() - - const products = await productModule.update([ - { - id, - title - } - ]) - - // do something with the products or return them -} +const products = await productModuleService.update( + { + title: "Pant", + }, + { + handle: "pant", + } +) ``` -## Parameters +### Parameters -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type_id","type":"`null` \\| `string`","description":"The product type to be associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The product collection to be associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[CreateProductTagDTO](../../interfaces/product.CreateProductTagDTO.mdx)[]","description":"The product tags to be created and associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string`","description":"The value of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"categories","type":"`object`[]","description":"The product categories to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[CreateProductOptionDTO](../../interfaces/product.CreateProductOptionDTO.mdx)[]","description":"The product options to be created and associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"The product option's title.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variants","type":"([CreateProductVariantDTO](../../interfaces/product.CreateProductVariantDTO.mdx) \\| [UpdateProductVariantDTO](../../interfaces/product.UpdateProductVariantDTO.mdx))[]","description":"The product variants to be created and associated with the product. You can also update existing product variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type_id","type":"`null` \\| `string`","description":"The product type to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The product collection to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[UpsertProductTagDTO](../../interfaces/product.UpsertProductTagDTO.mdx)[]","description":"The associated tags to create or update.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag to update. If not provided, the tag\nis created. In that case, the `value` property is required.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"category_ids","type":"`string`[]","description":"The product categories to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[UpsertProductOptionDTO](../../interfaces/product.UpsertProductOptionDTO.mdx)[]","description":"The associated options to create or update.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product option to update. If not provided, the product\noption is created. In that case, the `title` and `values` properties are\nrequired.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The product option's title.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"`string`[]","description":"The product option values.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variants","type":"[UpsertProductVariantDTO](../../interfaces/product.UpsertProductVariantDTO.mdx)[]","description":"The product variants to be created and associated with the product.\nYou can also update existing product variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant to update.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"`Record`","description":"The product variant options to associate with the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"width","type":"`number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> -## Returns +### Returns - + diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateCategory.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateCategory.mdx index 8524dfac92243..2e6dc783793e0 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateCategory.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateCategory.mdx @@ -18,25 +18,18 @@ This method is used to update a product category by its ID. ## Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function updateCategory (id: string, name: string) { - const productModule = await initializeProductModule() - - const category = await productModule.updateCategory(id, { - name, - }) - - // do something with the product category or return it -} +const category = await productModuleService.updateCategory( + "pcat_123", + { + name: "Shirts", + } +) ``` ## Parameters -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateCategory"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateCategory"/> ## Returns - +`","description":"The ranking of the product category among sibling categories.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_category","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)","description":"The associated parent category.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"parent_category_id","type":"`null` \\| `string`","description":"The associated parent category id.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"products","type":"[ProductDTO](../../interfaces/product.ProductDTO.mdx)[]","description":"The associated products.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[ProductTagDTO](../../interfaces/product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](../../interfaces/product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product category was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product category was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"The ranking of the product category among sibling categories.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_category","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)","description":"The associated parent category.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"parent_category_id","type":"`null` \\| `string`","description":"The associated parent category id.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateCategory"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateCollections.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateCollections.mdx index 3e692d08b48a1..8fd50d1401e04 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateCollections.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateCollections.mdx @@ -13,33 +13,49 @@ import TypeList from "@site/src/components/TypeList" This documentation provides a reference to the updateCollections method. This belongs to the Product Module. -This method is used to update existing product collections. +## updateCollections(id, data, sharedContext?): Promise<[ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)> -## Example +This method is used to update a collection. + +### Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" +const collection = + await productModuleService.updateCollections("pcol_123", { + title: "Summer Collection", + }) +``` + +### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateCollections"/> + +### Returns + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product collection was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](../../interfaces/product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[ProductTagDTO](../../interfaces/product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](../../interfaces/product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="updateCollections"/> -async function updateCollection (id: string, title: string) { - const productModule = await initializeProductModule() +## updateCollections(selector, data, sharedContext?): Promise<[ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)[]> - const collections = await productModule.updateCollections([ +This method is used to update a list of collections matching the specified filters. + +### Example + +```ts +const collections = + await productModuleService.updateCollections( { - id, - title + id: ["pcol_123", "pcol_321"], + }, + { + title: "Summer Collection", } - ]) - - // do something with the product collections or return them -} + ) ``` -## Parameters +### Parameters -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateCollections"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateCollections"/> -## Returns +### Returns - + diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateOptions.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateOptions.mdx index fa84f149e85b2..4c7549a94f82f 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateOptions.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateOptions.mdx @@ -13,33 +13,50 @@ import TypeList from "@site/src/components/TypeList" This documentation provides a reference to the updateOptions method. This belongs to the Product Module. -This method is used to update existing product options. +## updateOptions(id, data, sharedContext?): Promise<[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)> -## Example +This method is used to update a option. + +### Example + +```ts +const option = await productModuleService.updateOptions( + "opt_123", + { + title: "Color", + } +) +``` + +### Parameters + + + +### Returns + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product option was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product option was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](../../interfaces/product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateOptions"/> + +## updateOptions(selector, data, sharedContext?): Promise<[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)[]> + +This method is used to update a list of options matching the specified filters. + +### Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function updateProductOption (id: string, title: string) { - const productModule = await initializeProductModule() - - const productOptions = await productModule.updateOptions([ - { - id, - title - } - ]) - - // do something with the product options or return them -} +const options = await productModuleService.updateOptions( + { + title: "Color", + }, + { + values: ["Blue", "Green"], + } +) ``` -## Parameters +### Parameters - + -## Returns +### Returns - + diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateTypes.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateTypes.mdx index 0ddb4dbb6ab06..02ea47cb18016 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateTypes.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateTypes.mdx @@ -13,33 +13,50 @@ import TypeList from "@site/src/components/TypeList" This documentation provides a reference to the updateTypes method. This belongs to the Product Module. -This method is used to update a product type +## updateTypes(id, data, sharedContext?): Promise<[ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)> -## Example +This method is used to update a type. + +### Example + +```ts +const productType = await productModuleService.updateTypes( + "ptyp_123", + { + value: "Digital", + } +) +``` + +### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateTypes"/> + +### Returns + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product type was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateTypes"/> + +## updateTypes(selector, data, sharedContext?): Promise<[ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)[]> + +This method is used to update a list of types matching the specified filters. + +### Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" - -async function updateProductType (id: string, value: string) { - const productModule = await initializeProductModule() - - const productTypes = await productModule.updateTypes([ - { - id, - value - } - ]) - - // do something with the product types or return them -} +const productTypes = await productModuleService.updateTypes( + { + id: ["ptyp_123", "ptyp_321"], + }, + { + value: "Digital", + } +) ``` -## Parameters +### Parameters -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateTypes"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateTypes"/> -## Returns +### Returns - + diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateVariants.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateVariants.mdx index 6065849db6ac1..47748e639fa3e 100644 --- a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateVariants.mdx +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.updateVariants.mdx @@ -13,31 +13,50 @@ import TypeList from "@site/src/components/TypeList" This documentation provides a reference to the updateVariants method. This belongs to the Product Module. -This method is used to update a product's variants. +## updateVariants(id, data, sharedContext?): Promise<[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)> -## Example +This method is used to update a variant. + +### Example ```ts -import { - initialize as initializeProductModule, -} from "@medusajs/product" -import { - UpdateProductVariantDTO -} from "@medusajs/product/dist/types/services/product-variant" +const variant = await productModuleService.updateVariants( + "variant_123", + { + title: "Blue Shirt", + } +) +``` + +### Parameters + +`","description":"The product variant options to associate with the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateVariants"/> -async function updateProductVariants (items: UpdateProductVariantDTO[]) { - const productModule = await initializeProductModule() +### Returns - const productVariants = await productModule.updateVariants(items) +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](../../interfaces/product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateVariants"/> - // do something with the product variants or return them -} +## updateVariants(selector, data, sharedContext?): Promise<[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)[]> + +This method is used to update a list of variants matching the specified filters. + +### Example + +```ts +const variants = await productModuleService.updateVariants( + { + id: ["variant_123", "variant_321"], + }, + { + title: "Blue Shirt", + } +) ``` -## Parameters +### Parameters -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateVariants"/> +`","description":"Filter product variants by their associated options.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"data","type":"[UpdateProductVariantDTO](../../interfaces/product.UpdateProductVariantDTO.mdx)","description":"The attributes to be updated on the selected variants","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"`Record`","description":"The product variant options to associate with the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateVariants"/> -## Returns +### Returns - + diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsert.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsert.mdx new file mode 100644 index 0000000000000..c910977deaa39 --- /dev/null +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsert.mdx @@ -0,0 +1,60 @@ +--- +displayed_sidebar: productReference +badge: + variant: orange + text: Beta +slug: /references/product/upsert +sidebar_label: upsert +--- + +import TypeList from "@site/src/components/TypeList" + +# upsert - Product Module Reference + +This documentation provides a reference to the upsert method. This belongs to the Product Module. + +## upsert(data, sharedContext?): Promise<[ProductDTO](../../interfaces/product.ProductDTO.mdx)[]> + +This method updates existing products, or creates new ones if they don't exist. + +### Example + +```ts +const products = await productModuleService.upsert([ + { + id: "prod_123", + handle: "pant", + }, + { + title: "Shirt", + }, +]) +``` + +### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type_id","type":"`null` \\| `string`","description":"The product type to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The product collection to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[UpsertProductTagDTO](../../interfaces/product.UpsertProductTagDTO.mdx)[]","description":"The associated tags to create or update.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag to update. If not provided, the tag\nis created. In that case, the `value` property is required.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"category_ids","type":"`string`[]","description":"The product categories to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[UpsertProductOptionDTO](../../interfaces/product.UpsertProductOptionDTO.mdx)[]","description":"The associated options to create or update.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product option to update. If not provided, the product\noption is created. In that case, the `title` and `values` properties are\nrequired.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The product option's title.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"`string`[]","description":"The product option values.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variants","type":"[UpsertProductVariantDTO](../../interfaces/product.UpsertProductVariantDTO.mdx)[]","description":"The product variants to be created and associated with the product.\nYou can also update existing product variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant to update.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"`Record`","description":"The product variant options to associate with the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"width","type":"`number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsert"/> + +### Returns + + + +## upsert(data, sharedContext?): Promise<[ProductDTO](../../interfaces/product.ProductDTO.mdx)> + +This method updates the product if it exists, or creates a new ones if it doesn't. + +### Example + +```ts +const product = await productModuleService.upsert({ + title: "Shirt", +}) +``` + +### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type_id","type":"`null` \\| `string`","description":"The product type to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The product collection to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[UpsertProductTagDTO](../../interfaces/product.UpsertProductTagDTO.mdx)[]","description":"The associated tags to create or update.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag to update. If not provided, the tag\nis created. In that case, the `value` property is required.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"category_ids","type":"`string`[]","description":"The product categories to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[UpsertProductOptionDTO](../../interfaces/product.UpsertProductOptionDTO.mdx)[]","description":"The associated options to create or update.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product option to update. If not provided, the product\noption is created. In that case, the `title` and `values` properties are\nrequired.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The product option's title.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"`string`[]","description":"The product option values.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variants","type":"[UpsertProductVariantDTO](../../interfaces/product.UpsertProductVariantDTO.mdx)[]","description":"The product variants to be created and associated with the product.\nYou can also update existing product variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant to update.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"`Record`","description":"The product variant options to associate with the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"width","type":"`number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsert"/> + +### Returns + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](../../interfaces/product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"variants","type":"[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](../../interfaces/product.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](../../interfaces/product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"[ProductOptionValueDTO](../../interfaces/product.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product option was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product option was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](../../interfaces/product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"images","type":"[ProductImageDTO](../../interfaces/product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"url","type":"`string`","description":"The URL of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product image was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product image was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="upsert"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsertCollections.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsertCollections.mdx new file mode 100644 index 0000000000000..10581a11c8707 --- /dev/null +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsertCollections.mdx @@ -0,0 +1,63 @@ +--- +displayed_sidebar: productReference +badge: + variant: orange + text: Beta +slug: /references/product/upsertCollections +sidebar_label: upsertCollections +--- + +import TypeList from "@site/src/components/TypeList" + +# upsertCollections - Product Module Reference + +This documentation provides a reference to the upsertCollections method. This belongs to the Product Module. + +## upsertCollections(data, sharedContext?): Promise<[ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)[]> + +This method updates existing collections, or creates new ones if they don't exist. + +### Example + +```ts +const collections = + await productModuleService.upsertCollections([ + { + id: "pcol_123", + title: "Winter Collection", + }, + { + title: "Summer Collection", + }, + ]) +``` + +### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsertCollections"/> + +### Returns + + + +## upsertCollections(data, sharedContext?): Promise<[ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)> + +This method updates an existing collection, or creates a new one if it doesn't exist. + +### Example + +```ts +const collection = + await productModuleService.upsertCollections({ + id: "pcol_123", + title: "Winter Collection", + }) +``` + +### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsertCollections"/> + +### Returns + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product collection was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](../../interfaces/product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[ProductTagDTO](../../interfaces/product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](../../interfaces/product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](../../interfaces/product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](../../interfaces/product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="upsertCollections"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsertOptions.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsertOptions.mdx new file mode 100644 index 0000000000000..66c9bbf4461a5 --- /dev/null +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsertOptions.mdx @@ -0,0 +1,63 @@ +--- +displayed_sidebar: productReference +badge: + variant: orange + text: Beta +slug: /references/product/upsertOptions +sidebar_label: upsertOptions +--- + +import TypeList from "@site/src/components/TypeList" + +# upsertOptions - Product Module Reference + +This documentation provides a reference to the upsertOptions method. This belongs to the Product Module. + +## upsertOptions(data, sharedContext?): Promise<[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)[]> + +This method updates existing options, or creates new ones if they don't exist. + +### Example + +```ts +const options = await productModuleService.upsertOptions([ + { + id: "opt_123", + title: "Color", + }, + { + title: "Color", + values: ["Blue", "Green"], + product_id: "prod_123", + }, +]) +``` + +### Parameters + + + +### Returns + + + +## upsertOptions(data, sharedContext?): Promise<[ProductOptionDTO](../../interfaces/product.ProductOptionDTO.mdx)> + +This method updates an existing option, or creates a new one if it doesn't exist. + +### Example + +```ts +const option = await productModuleService.upsertOptions({ + id: "opt_123", + title: "Color", +}) +``` + +### Parameters + + + +### Returns + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product option was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product option was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](../../interfaces/product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="upsertOptions"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsertTypes.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsertTypes.mdx new file mode 100644 index 0000000000000..0ccef11aedab3 --- /dev/null +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsertTypes.mdx @@ -0,0 +1,65 @@ +--- +displayed_sidebar: productReference +badge: + variant: orange + text: Beta +slug: /references/product/upsertTypes +sidebar_label: upsertTypes +--- + +import TypeList from "@site/src/components/TypeList" + +# upsertTypes - Product Module Reference + +This documentation provides a reference to the upsertTypes method. This belongs to the Product Module. + +## upsertTypes(data, sharedContext?): Promise<[ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)[]> + +This method updates existing types, or creates new ones if they don't exist. + +### Example + +```ts +const productTypes = await productModuleService.upsertTypes([ + { + id: "ptyp_123", + metadata: { + test: true, + }, + }, + { + value: "Digital", + }, +]) +``` + +### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsertTypes"/> + +### Returns + + + +## upsertTypes(data, sharedContext?): Promise<[ProductTypeDTO](../../interfaces/product.ProductTypeDTO.mdx)> + +This method updates an existing type, or creates a new one if it doesn't exist. + +### Example + +```ts +const productType = await productModuleService.upsertTypes({ + id: "ptyp_123", + metadata: { + test: true, + }, +}) +``` + +### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsertTypes"/> + +### Returns + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product type was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="upsertTypes"/> diff --git a/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsertVariants.mdx b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsertVariants.mdx new file mode 100644 index 0000000000000..c6015b2dbd36d --- /dev/null +++ b/www/apps/docs/content/references/product/IProductModuleService/methods/product.IProductModuleService.upsertVariants.mdx @@ -0,0 +1,64 @@ +--- +displayed_sidebar: productReference +badge: + variant: orange + text: Beta +slug: /references/product/upsertVariants +sidebar_label: upsertVariants +--- + +import TypeList from "@site/src/components/TypeList" + +# upsertVariants - Product Module Reference + +This documentation provides a reference to the upsertVariants method. This belongs to the Product Module. + +## upsertVariants(data, sharedContext?): Promise<[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)[]> + +This method updates existing variants, or creates new ones if they don't exist. + +### Example + +```ts +const variants = await productModuleService.upsertVariants([ + { + id: "variant_123", + title: "Green Shirt", + }, + { + title: "Blue Shirt", + options: { + Color: "Blue", + }, + }, +]) +``` + +### Parameters + +`","description":"The product variant options to associate with the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsertVariants"/> + +### Returns + + + +## upsertVariants(data, sharedContext?): Promise<[ProductVariantDTO](../../interfaces/product.ProductVariantDTO.mdx)> + +This method updates an existing variant, or creates a new one if it doesn't exist. + +### Example + +```ts +const variant = await productModuleService.upsertVariants({ + id: "variant_123", + title: "Green Shirt", +}) +``` + +### Parameters + +`","description":"The product variant options to associate with the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/product.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/product.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsertVariants"/> + +### Returns + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](../../interfaces/product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="upsertVariants"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.Context.mdx b/www/apps/docs/content/references/product/interfaces/product.Context.mdx index 1bb707bca32fe..ee5ccfb1d4d92 100644 --- a/www/apps/docs/content/references/product/interfaces/product.Context.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.Context.mdx @@ -12,4 +12,4 @@ A context used to share resources, such as transaction manager, between the appl - + diff --git a/www/apps/docs/content/references/product/interfaces/product.CreateProductCategoryDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.CreateProductCategoryDTO.mdx index 285d805916f99..3caff97414ebd 100644 --- a/www/apps/docs/content/references/product/interfaces/product.CreateProductCategoryDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.CreateProductCategoryDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" A product category to create. -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateProductCategoryDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateProductCategoryDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.CreateProductDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.CreateProductDTO.mdx index a1793855c0bb8..062122316ed3a 100644 --- a/www/apps/docs/content/references/product/interfaces/product.CreateProductDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.CreateProductDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" A product to create. -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type_id","type":"`string`","description":"The product type to be associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection_id","type":"`string`","description":"The product collection to be associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[CreateProductTagDTO](product.CreateProductTagDTO.mdx)[]","description":"The product tags to be created and associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string`","description":"The value of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"categories","type":"`object`[]","description":"The product categories to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[CreateProductOptionDTO](product.CreateProductOptionDTO.mdx)[]","description":"The product options to be created and associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"The product option's title.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variants","type":"[CreateProductVariantDTO](product.CreateProductVariantDTO.mdx)[]","description":"The product variants to be created and associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The id of the product","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[CreateProductVariantOptionDTO](product.CreateProductVariantOptionDTO.mdx)[]","description":"The product variant options to create and associate with the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string`","description":"The value of a product variant option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"option_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"width","type":"`number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateProductDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type_id","type":"`string`","description":"The product type id to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection_id","type":"`string`","description":"The product collection to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[UpsertProductTagDTO](product.UpsertProductTagDTO.mdx)[]","description":"The associated tags to be created or updated.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag to update. If not provided, the tag\nis created. In that case, the `value` property is required.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"category_ids","type":"`string`[]","description":"The product categories to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[CreateProductOptionDTO](product.CreateProductOptionDTO.mdx)[]","description":"The product options to be created and associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"The product option's title.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"`string`[]","description":"The product option values.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variants","type":"[CreateProductVariantDTO](product.CreateProductVariantDTO.mdx)[]","description":"The product variants to be created and associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The id of the product","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"`Record`","description":"The options of the variant. Each key is an option's title, and value\nis an option's value. If an option with the specified title doesn't exist,\na new one is created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"width","type":"`number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateProductDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.CreateProductOptionDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.CreateProductOptionDTO.mdx index 73f9c0720eef8..6393ab050ac0f 100644 --- a/www/apps/docs/content/references/product/interfaces/product.CreateProductOptionDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.CreateProductOptionDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" A product option to create. - + diff --git a/www/apps/docs/content/references/product/interfaces/product.CreateProductTypeDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.CreateProductTypeDTO.mdx index 3bca2ac9f0c38..f2ed30e0556dc 100644 --- a/www/apps/docs/content/references/product/interfaces/product.CreateProductTypeDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.CreateProductTypeDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" A product type to create. -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateProductTypeDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateProductTypeDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.CreateProductVariantDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.CreateProductVariantDTO.mdx index 437ff5c9e0108..5659c2c5f706a 100644 --- a/www/apps/docs/content/references/product/interfaces/product.CreateProductVariantDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.CreateProductVariantDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" A product variant to create. -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateProductVariantDTO"/> +`","description":"The options of the variant. Each key is an option's title, and value\nis an option's value. If an option with the specified title doesn't exist,\na new one is created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateProductVariantDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.CreateProductVariantOptionDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.CreateProductVariantOptionDTO.mdx deleted file mode 100644 index 6ab3e3c3b4fbc..0000000000000 --- a/www/apps/docs/content/references/product/interfaces/product.CreateProductVariantOptionDTO.mdx +++ /dev/null @@ -1,11 +0,0 @@ ---- -displayed_sidebar: productReference ---- - -import TypeList from "@site/src/components/TypeList" - -# CreateProductVariantOptionDTO - -A product variant option to create. - - diff --git a/www/apps/docs/content/references/product/interfaces/product.FilterableProductCategoryProps.mdx b/www/apps/docs/content/references/product/interfaces/product.FilterableProductCategoryProps.mdx index ffac35851043a..ce3fab9b08a5d 100644 --- a/www/apps/docs/content/references/product/interfaces/product.FilterableProductCategoryProps.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.FilterableProductCategoryProps.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The filters to apply on retrieved product categories. - + diff --git a/www/apps/docs/content/references/product/interfaces/product.FilterableProductCollectionProps.mdx b/www/apps/docs/content/references/product/interfaces/product.FilterableProductCollectionProps.mdx index 28c8151e8235a..42a71c3fa188d 100644 --- a/www/apps/docs/content/references/product/interfaces/product.FilterableProductCollectionProps.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.FilterableProductCollectionProps.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The filters to apply on retrieved product collections. - + diff --git a/www/apps/docs/content/references/product/interfaces/product.FilterableProductOptionProps.mdx b/www/apps/docs/content/references/product/interfaces/product.FilterableProductOptionProps.mdx index c4a561be9b239..a43fec608dc18 100644 --- a/www/apps/docs/content/references/product/interfaces/product.FilterableProductOptionProps.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.FilterableProductOptionProps.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The filters to apply on retrieved product options. - + diff --git a/www/apps/docs/content/references/product/interfaces/product.FilterableProductProps.mdx b/www/apps/docs/content/references/product/interfaces/product.FilterableProductProps.mdx index 6c363538f2b86..f47f4bfe27846 100644 --- a/www/apps/docs/content/references/product/interfaces/product.FilterableProductProps.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.FilterableProductProps.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The filters to apply on retrieved products. - + diff --git a/www/apps/docs/content/references/product/interfaces/product.FilterableProductTagProps.mdx b/www/apps/docs/content/references/product/interfaces/product.FilterableProductTagProps.mdx index 2638631b6f26a..b6e9ecefb21d3 100644 --- a/www/apps/docs/content/references/product/interfaces/product.FilterableProductTagProps.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.FilterableProductTagProps.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The filters to apply on retrieved product tags. - + diff --git a/www/apps/docs/content/references/product/interfaces/product.FilterableProductTypeProps.mdx b/www/apps/docs/content/references/product/interfaces/product.FilterableProductTypeProps.mdx index 2cf0f2c3d8429..e2da925426a99 100644 --- a/www/apps/docs/content/references/product/interfaces/product.FilterableProductTypeProps.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.FilterableProductTypeProps.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The filters to apply on retrieved product types. - + diff --git a/www/apps/docs/content/references/product/interfaces/product.FilterableProductVariantProps.mdx b/www/apps/docs/content/references/product/interfaces/product.FilterableProductVariantProps.mdx index b30d395cbfce1..979570e308339 100644 --- a/www/apps/docs/content/references/product/interfaces/product.FilterableProductVariantProps.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.FilterableProductVariantProps.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The filters to apply on retrieved product variants. - +`","description":"Filter product variants by their associated options.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FilterableProductVariantProps"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.FindConfig.mdx b/www/apps/docs/content/references/product/interfaces/product.FindConfig.mdx index 1c3d9abda11b1..edb098731bed5 100644 --- a/www/apps/docs/content/references/product/interfaces/product.FindConfig.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.FindConfig.mdx @@ -13,4 +13,4 @@ which provides correct typing of field names in its properties. - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FindConfig"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.IMessageAggregator.mdx b/www/apps/docs/content/references/product/interfaces/product.IMessageAggregator.mdx index e640d6fdbe534..3a22f7b5e3bae 100644 --- a/www/apps/docs/content/references/product/interfaces/product.IMessageAggregator.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.IMessageAggregator.mdx @@ -11,3 +11,4 @@ import TypeList from "@site/src/components/TypeList" - [save](../IMessageAggregator/methods/product.IMessageAggregator.save.mdx) - [getMessages](../IMessageAggregator/methods/product.IMessageAggregator.getMessages.mdx) - [clearMessages](../IMessageAggregator/methods/product.IMessageAggregator.clearMessages.mdx) +- [saveRawMessageData](../IMessageAggregator/methods/product.IMessageAggregator.saveRawMessageData.mdx) diff --git a/www/apps/docs/content/references/product/interfaces/product.IProductModuleService.mdx b/www/apps/docs/content/references/product/interfaces/product.IProductModuleService.mdx index db8c091c36ed1..cb310d39e0697 100644 --- a/www/apps/docs/content/references/product/interfaces/product.IProductModuleService.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.IProductModuleService.mdx @@ -12,50 +12,63 @@ import TypeList from "@site/src/components/TypeList" This section of the documentation provides a reference to the `IProductModuleService` interface’s methods. This is the interface developers use to use the functionalities provided by the Product Module. +The main service interface for the Product Module. + ## Methods - [retrieve](../IProductModuleService/methods/product.IProductModuleService.retrieve.mdx) - [list](../IProductModuleService/methods/product.IProductModuleService.list.mdx) - [listAndCount](../IProductModuleService/methods/product.IProductModuleService.listAndCount.mdx) +- [create](../IProductModuleService/methods/product.IProductModuleService.create.mdx) +- [upsert](../IProductModuleService/methods/product.IProductModuleService.upsert.mdx) +- [update](../IProductModuleService/methods/product.IProductModuleService.update.mdx) +- [delete](../IProductModuleService/methods/product.IProductModuleService.delete.mdx) +- [softDelete](../IProductModuleService/methods/product.IProductModuleService.softDelete.mdx) +- [restore](../IProductModuleService/methods/product.IProductModuleService.restore.mdx) - [retrieveTag](../IProductModuleService/methods/product.IProductModuleService.retrieveTag.mdx) - [listTags](../IProductModuleService/methods/product.IProductModuleService.listTags.mdx) - [listAndCountTags](../IProductModuleService/methods/product.IProductModuleService.listAndCountTags.mdx) - [createTags](../IProductModuleService/methods/product.IProductModuleService.createTags.mdx) -- [updateTags](../IProductModuleService/methods/product.IProductModuleService.updateTags.mdx) - [deleteTags](../IProductModuleService/methods/product.IProductModuleService.deleteTags.mdx) - [retrieveType](../IProductModuleService/methods/product.IProductModuleService.retrieveType.mdx) - [listTypes](../IProductModuleService/methods/product.IProductModuleService.listTypes.mdx) - [listAndCountTypes](../IProductModuleService/methods/product.IProductModuleService.listAndCountTypes.mdx) - [createTypes](../IProductModuleService/methods/product.IProductModuleService.createTypes.mdx) +- [upsertTypes](../IProductModuleService/methods/product.IProductModuleService.upsertTypes.mdx) - [updateTypes](../IProductModuleService/methods/product.IProductModuleService.updateTypes.mdx) - [deleteTypes](../IProductModuleService/methods/product.IProductModuleService.deleteTypes.mdx) +- [softDeleteTypes](../IProductModuleService/methods/product.IProductModuleService.softDeleteTypes.mdx) +- [restoreTypes](../IProductModuleService/methods/product.IProductModuleService.restoreTypes.mdx) - [retrieveOption](../IProductModuleService/methods/product.IProductModuleService.retrieveOption.mdx) - [listOptions](../IProductModuleService/methods/product.IProductModuleService.listOptions.mdx) - [listAndCountOptions](../IProductModuleService/methods/product.IProductModuleService.listAndCountOptions.mdx) - [createOptions](../IProductModuleService/methods/product.IProductModuleService.createOptions.mdx) +- [upsertOptions](../IProductModuleService/methods/product.IProductModuleService.upsertOptions.mdx) - [updateOptions](../IProductModuleService/methods/product.IProductModuleService.updateOptions.mdx) - [deleteOptions](../IProductModuleService/methods/product.IProductModuleService.deleteOptions.mdx) +- [softDeleteOptions](../IProductModuleService/methods/product.IProductModuleService.softDeleteOptions.mdx) +- [restoreOptions](../IProductModuleService/methods/product.IProductModuleService.restoreOptions.mdx) - [retrieveVariant](../IProductModuleService/methods/product.IProductModuleService.retrieveVariant.mdx) - [listVariants](../IProductModuleService/methods/product.IProductModuleService.listVariants.mdx) -- [updateVariants](../IProductModuleService/methods/product.IProductModuleService.updateVariants.mdx) +- [listAndCountVariants](../IProductModuleService/methods/product.IProductModuleService.listAndCountVariants.mdx) - [createVariants](../IProductModuleService/methods/product.IProductModuleService.createVariants.mdx) +- [upsertVariants](../IProductModuleService/methods/product.IProductModuleService.upsertVariants.mdx) +- [updateVariants](../IProductModuleService/methods/product.IProductModuleService.updateVariants.mdx) - [deleteVariants](../IProductModuleService/methods/product.IProductModuleService.deleteVariants.mdx) -- [listAndCountVariants](../IProductModuleService/methods/product.IProductModuleService.listAndCountVariants.mdx) +- [softDeleteVariants](../IProductModuleService/methods/product.IProductModuleService.softDeleteVariants.mdx) +- [restoreVariants](../IProductModuleService/methods/product.IProductModuleService.restoreVariants.mdx) - [retrieveCollection](../IProductModuleService/methods/product.IProductModuleService.retrieveCollection.mdx) - [listCollections](../IProductModuleService/methods/product.IProductModuleService.listCollections.mdx) - [listAndCountCollections](../IProductModuleService/methods/product.IProductModuleService.listAndCountCollections.mdx) - [createCollections](../IProductModuleService/methods/product.IProductModuleService.createCollections.mdx) +- [upsertCollections](../IProductModuleService/methods/product.IProductModuleService.upsertCollections.mdx) - [updateCollections](../IProductModuleService/methods/product.IProductModuleService.updateCollections.mdx) - [deleteCollections](../IProductModuleService/methods/product.IProductModuleService.deleteCollections.mdx) +- [softDeleteCollections](../IProductModuleService/methods/product.IProductModuleService.softDeleteCollections.mdx) +- [restoreCollections](../IProductModuleService/methods/product.IProductModuleService.restoreCollections.mdx) - [retrieveCategory](../IProductModuleService/methods/product.IProductModuleService.retrieveCategory.mdx) - [listCategories](../IProductModuleService/methods/product.IProductModuleService.listCategories.mdx) - [listAndCountCategories](../IProductModuleService/methods/product.IProductModuleService.listAndCountCategories.mdx) - [createCategory](../IProductModuleService/methods/product.IProductModuleService.createCategory.mdx) - [updateCategory](../IProductModuleService/methods/product.IProductModuleService.updateCategory.mdx) - [deleteCategory](../IProductModuleService/methods/product.IProductModuleService.deleteCategory.mdx) -- [create](../IProductModuleService/methods/product.IProductModuleService.create.mdx) -- [update](../IProductModuleService/methods/product.IProductModuleService.update.mdx) -- [delete](../IProductModuleService/methods/product.IProductModuleService.delete.mdx) -- [softDelete](../IProductModuleService/methods/product.IProductModuleService.softDelete.mdx) -- [restore](../IProductModuleService/methods/product.IProductModuleService.restore.mdx) -- [restoreVariants](../IProductModuleService/methods/product.IProductModuleService.restoreVariants.mdx) diff --git a/www/apps/docs/content/references/product/interfaces/product.ProductCategoryDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.ProductCategoryDTO.mdx index 1e772469c2f45..f1d7daacb4ce3 100644 --- a/www/apps/docs/content/references/product/interfaces/product.ProductCategoryDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.ProductCategoryDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" A product category's data. - +`","description":"The ranking of the product category among sibling categories.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_category","type":"`null` \\| [ProductCategoryDTO](product.ProductCategoryDTO.mdx)","description":"The associated parent category.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"parent_category_id","type":"`null` \\| `string`","description":"The associated parent category id.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[ProductTagDTO](product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](product.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product category was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product category was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"The ranking of the product category among sibling categories.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_category","type":"`null` \\| [ProductCategoryDTO](product.ProductCategoryDTO.mdx)","description":"The associated parent category.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"parent_category_id","type":"`null` \\| `string`","description":"The associated parent category id.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"DRAFT","type":"`\"draft\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PROPOSED","type":"`\"proposed\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PUBLISHED","type":"`\"published\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REJECTED","type":"`\"rejected\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tags","type":"[ProductTagDTO](product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"variants","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product option was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product option was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"images","type":"[ProductImageDTO](product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"url","type":"`string`","description":"The URL of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product image was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product image was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](product.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product category was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product category was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"The ranking of the product category among sibling categories.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_category","type":"`null` \\| [ProductCategoryDTO](product.ProductCategoryDTO.mdx)","description":"The associated parent category.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"parent_category_id","type":"`null` \\| `string`","description":"The associated parent category id.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ProductCategoryDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.ProductCollectionDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.ProductCollectionDTO.mdx index 233e137ac3de3..ead8b924b45ad 100644 --- a/www/apps/docs/content/references/product/interfaces/product.ProductCollectionDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.ProductCollectionDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" A product collection's data. -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product collection was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"DRAFT","type":"`\"draft\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PROPOSED","type":"`\"proposed\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PUBLISHED","type":"`\"published\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REJECTED","type":"`\"rejected\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"collection","type":"[ProductCollectionDTO](product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"handle","type":"`string`","description":"The handle of the product collection. The handle can be used to create slug URL paths.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product collection was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"type","type":"[ProductTypeDTO](product.ProductTypeDTO.mdx)[]","description":"The associated product type.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product type was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tags","type":"[ProductTagDTO](product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"variants","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"product","type":"[ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"[ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"values","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"images","type":"[ProductImageDTO](product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"url","type":"`string`","description":"The URL of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="ProductCollectionDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product collection was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"DRAFT","type":"`\"draft\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PROPOSED","type":"`\"proposed\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PUBLISHED","type":"`\"published\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REJECTED","type":"`\"rejected\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tags","type":"[ProductTagDTO](product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"variants","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product option was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product option was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"images","type":"[ProductImageDTO](product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"url","type":"`string`","description":"The URL of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product image was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product image was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](product.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="ProductCollectionDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.ProductDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.ProductDTO.mdx index 14a804d1247bd..30e1b8a0a8bec 100644 --- a/www/apps/docs/content/references/product/interfaces/product.ProductDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.ProductDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" A product's data. -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product collection was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"[ProductCollectionDTO](product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"[ProductTypeDTO](product.ProductTypeDTO.mdx)[]","description":"The associated product type.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tags","type":"[ProductTagDTO](product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"type","type":"[ProductTypeDTO](product.ProductTypeDTO.mdx)[]","description":"The associated product type.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product type was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tags","type":"[ProductTagDTO](product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"[ProductCollectionDTO](product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"[ProductTypeDTO](product.ProductTypeDTO.mdx)[]","description":"The associated product type.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tags","type":"[ProductTagDTO](product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"variants","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option value.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product option value.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"option","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)","description":"The associated product option. It may only be available if the `option` relation is expanded.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)","description":"The associated product variant. It may only be available if the `variant` relation is expanded.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"product","type":"[ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"[ProductCollectionDTO](product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"[ProductTypeDTO](product.ProductTypeDTO.mdx)[]","description":"The associated product type.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tags","type":"[ProductTagDTO](product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"[ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"[ProductCollectionDTO](product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"[ProductTypeDTO](product.ProductTypeDTO.mdx)[]","description":"The associated product type.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tags","type":"[ProductTagDTO](product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"values","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option value.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product option value.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"option","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)","description":"The associated product option. It may only be available if the `option` relation is expanded.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)","description":"The associated product variant. It may only be available if the `variant` relation is expanded.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"images","type":"[ProductImageDTO](product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"url","type":"`string`","description":"The URL of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ProductDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[ProductTagDTO](product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](product.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"variants","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option value.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product option value.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product option value was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product option value was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"option","type":"`null` \\| [ProductOptionDTO](product.ProductOptionDTO.mdx)","description":"The associated product option. It may only be available if the `option` relation is expanded.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"option_id","type":"`null` \\| `string`","description":"The associated product option id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option value.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product option value.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product option value was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product option value was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"option","type":"`null` \\| [ProductOptionDTO](product.ProductOptionDTO.mdx)","description":"The associated product option. It may only be available if the `option` relation is expanded.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"option_id","type":"`null` \\| `string`","description":"The associated product option id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product option was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product option was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"images","type":"[ProductImageDTO](product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"url","type":"`string`","description":"The URL of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product image was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product image was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](product.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ProductDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.ProductImageDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.ProductImageDTO.mdx index 40d8adf349557..3eb66da4b88a3 100644 --- a/www/apps/docs/content/references/product/interfaces/product.ProductImageDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.ProductImageDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The product image's data. -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ProductImageDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ProductImageDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.ProductOptionDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.ProductOptionDTO.mdx index 9155337c77c9b..6f30f692766c2 100644 --- a/www/apps/docs/content/references/product/interfaces/product.ProductOptionDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.ProductOptionDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" A product option's data. -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product collection was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"type","type":"[ProductTypeDTO](product.ProductTypeDTO.mdx)[]","description":"The associated product type.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product type was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tags","type":"[ProductTagDTO](product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"variants","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"product","type":"[ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"[ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"values","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"images","type":"[ProductImageDTO](product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"url","type":"`string`","description":"The URL of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"values","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option value.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product option value.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"option","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)","description":"The associated product option. It may only be available if the `option` relation is expanded.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"[ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"values","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variant","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)","description":"The associated product variant. It may only be available if the `variant` relation is expanded.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"product","type":"[ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ProductOptionDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product option was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product option was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ProductOptionDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.ProductOptionValueDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.ProductOptionValueDTO.mdx index 39c1e9fc2e3fd..6339437d32f48 100644 --- a/www/apps/docs/content/references/product/interfaces/product.ProductOptionValueDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.ProductOptionValueDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The product option value's data. -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"values","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option value.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product option value.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"option","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)","description":"The associated product option. It may only be available if the `option` relation is expanded.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)","description":"The associated product variant. It may only be available if the `variant` relation is expanded.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variant","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)","description":"The associated product variant. It may only be available if the `variant` relation is expanded.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option value.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product option value.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"option","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)","description":"The associated product option. It may only be available if the `option` relation is expanded.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)","description":"The associated product variant. It may only be available if the `variant` relation is expanded.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"product","type":"[ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"[ProductCollectionDTO](product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"[ProductTypeDTO](product.ProductTypeDTO.mdx)[]","description":"The associated product type.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tags","type":"[ProductTagDTO](product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ProductOptionValueDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ProductOptionValueDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.ProductTagDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.ProductTagDTO.mdx index ec691646518a8..39e92c1335f77 100644 --- a/www/apps/docs/content/references/product/interfaces/product.ProductTagDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.ProductTagDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" A product tag's data. -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"DRAFT","type":"`\"draft\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PROPOSED","type":"`\"proposed\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PUBLISHED","type":"`\"published\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REJECTED","type":"`\"rejected\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"collection","type":"[ProductCollectionDTO](product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"handle","type":"`string`","description":"The handle of the product collection. The handle can be used to create slug URL paths.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product collection was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"type","type":"[ProductTypeDTO](product.ProductTypeDTO.mdx)[]","description":"The associated product type.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product type was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tags","type":"[ProductTagDTO](product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"variants","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"product","type":"[ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"[ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"values","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"images","type":"[ProductImageDTO](product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"url","type":"`string`","description":"The URL of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="ProductTagDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"DRAFT","type":"`\"draft\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PROPOSED","type":"`\"proposed\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PUBLISHED","type":"`\"published\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REJECTED","type":"`\"rejected\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tags","type":"[ProductTagDTO](product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"variants","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product option was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product option was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"images","type":"[ProductImageDTO](product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"url","type":"`string`","description":"The URL of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product image was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product image was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](product.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="ProductTagDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.ProductTypeDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.ProductTypeDTO.mdx index d92d233b1d4b1..258a52a4aa393 100644 --- a/www/apps/docs/content/references/product/interfaces/product.ProductTypeDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.ProductTypeDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" A product type's data. -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product type was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ProductTypeDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product type was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ProductTypeDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.ProductVariantDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.ProductVariantDTO.mdx index b577fbcaf9f7c..4d42704402b15 100644 --- a/www/apps/docs/content/references/product/interfaces/product.ProductVariantDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.ProductVariantDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" A product variant's data. -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variant","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)","description":"The associated product variant. It may only be available if the `variant` relation is expanded.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"product","type":"[ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"product","type":"[ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../enums/product.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"DRAFT","type":"`\"draft\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PROPOSED","type":"`\"proposed\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PUBLISHED","type":"`\"published\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REJECTED","type":"`\"rejected\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"collection","type":"[ProductCollectionDTO](product.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"handle","type":"`string`","description":"The handle of the product collection. The handle can be used to create slug URL paths.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product collection was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"type","type":"[ProductTypeDTO](product.ProductTypeDTO.mdx)[]","description":"The associated product type.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product type was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tags","type":"[ProductTagDTO](product.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](product.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"variants","type":"[ProductVariantDTO](product.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"product","type":"[ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[ProductOptionDTO](product.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"[ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"values","type":"[ProductOptionValueDTO](product.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"images","type":"[ProductImageDTO](product.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"url","type":"`string`","description":"The URL of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](product.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ProductVariantDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option value was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](product.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ProductVariantDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.UpdateProductCategoryDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.UpdateProductCategoryDTO.mdx index c08b2d378d45c..69f3953dabbcf 100644 --- a/www/apps/docs/content/references/product/interfaces/product.UpdateProductCategoryDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.UpdateProductCategoryDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The data to update in a product category. -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateProductCategoryDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateProductCategoryDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.UpdateProductCollectionDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.UpdateProductCollectionDTO.mdx index 63b4bc8fa09fb..7a3f064c54b42 100644 --- a/www/apps/docs/content/references/product/interfaces/product.UpdateProductCollectionDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.UpdateProductCollectionDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The data to update in a product collection. The `id` is used to identify which product collection to update. -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateProductCollectionDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateProductCollectionDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.UpdateProductDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.UpdateProductDTO.mdx index 8ce7c862c286a..620db890ac830 100644 --- a/www/apps/docs/content/references/product/interfaces/product.UpdateProductDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.UpdateProductDTO.mdx @@ -6,6 +6,6 @@ import TypeList from "@site/src/components/TypeList" # UpdateProductDTO -The data to update in a product. The `id` is used to identify which product to update. +The data to update in a product. -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type_id","type":"`null` \\| `string`","description":"The product type to be associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The product collection to be associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[CreateProductTagDTO](product.CreateProductTagDTO.mdx)[]","description":"The product tags to be created and associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string`","description":"The value of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"categories","type":"`object`[]","description":"The product categories to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[CreateProductOptionDTO](product.CreateProductOptionDTO.mdx)[]","description":"The product options to be created and associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"The product option's title.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variants","type":"([CreateProductVariantDTO](product.CreateProductVariantDTO.mdx) \\| [UpdateProductVariantDTO](product.UpdateProductVariantDTO.mdx))[]","description":"The product variants to be created and associated with the product. You can also update existing product variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateProductDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type_id","type":"`null` \\| `string`","description":"The product type to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The product collection to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[UpsertProductTagDTO](product.UpsertProductTagDTO.mdx)[]","description":"The associated tags to create or update.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag to update. If not provided, the tag\nis created. In that case, the `value` property is required.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"category_ids","type":"`string`[]","description":"The product categories to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[UpsertProductOptionDTO](product.UpsertProductOptionDTO.mdx)[]","description":"The associated options to create or update.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product option to update. If not provided, the product\noption is created. In that case, the `title` and `values` properties are\nrequired.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The product option's title.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"`string`[]","description":"The product option values.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variants","type":"[UpsertProductVariantDTO](product.UpsertProductVariantDTO.mdx)[]","description":"The product variants to be created and associated with the product.\nYou can also update existing product variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant to update.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"`Record`","description":"The product variant options to associate with the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"width","type":"`number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateProductDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.UpdateProductImageDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.UpdateProductImageDTO.mdx new file mode 100644 index 0000000000000..7d274e1115afb --- /dev/null +++ b/www/apps/docs/content/references/product/interfaces/product.UpdateProductImageDTO.mdx @@ -0,0 +1,11 @@ +--- +displayed_sidebar: productReference +--- + +import TypeList from "@site/src/components/TypeList" + +# UpdateProductImageDTO + +The data to update in a product image. The `id` is used to identify which product image to update. + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateProductImageDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.UpdateProductOptionDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.UpdateProductOptionDTO.mdx index 0d29f0a30c229..517f7cd3c1327 100644 --- a/www/apps/docs/content/references/product/interfaces/product.UpdateProductOptionDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.UpdateProductOptionDTO.mdx @@ -6,4 +6,4 @@ import TypeList from "@site/src/components/TypeList" # UpdateProductOptionDTO - + diff --git a/www/apps/docs/content/references/product/interfaces/product.UpdateProductTagDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.UpdateProductTagDTO.mdx index 7f2e3beb001d8..f9877284da03e 100644 --- a/www/apps/docs/content/references/product/interfaces/product.UpdateProductTagDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.UpdateProductTagDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The data to update in a product tag. The `id` is used to identify which product tag to update. - + diff --git a/www/apps/docs/content/references/product/interfaces/product.UpdateProductTypeDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.UpdateProductTypeDTO.mdx index b89c8ade4d043..99f67b74cb07a 100644 --- a/www/apps/docs/content/references/product/interfaces/product.UpdateProductTypeDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.UpdateProductTypeDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The data to update in a product type. The `id` is used to identify which product type to update. -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateProductTypeDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateProductTypeDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.UpdateProductVariantDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.UpdateProductVariantDTO.mdx index 374f827ae46f9..c2ca731a43152 100644 --- a/www/apps/docs/content/references/product/interfaces/product.UpdateProductVariantDTO.mdx +++ b/www/apps/docs/content/references/product/interfaces/product.UpdateProductVariantDTO.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The data to update in a product variant. The `id` is used to identify which product variant to update. -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateProductVariantDTO"/> +`","description":"The product variant options to associate with the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateProductVariantDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.UpsertProductCollectionDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.UpsertProductCollectionDTO.mdx new file mode 100644 index 0000000000000..47dd9ae01d3b3 --- /dev/null +++ b/www/apps/docs/content/references/product/interfaces/product.UpsertProductCollectionDTO.mdx @@ -0,0 +1,11 @@ +--- +displayed_sidebar: productReference +--- + +import TypeList from "@site/src/components/TypeList" + +# UpsertProductCollectionDTO + +The product collection to create or update. + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpsertProductCollectionDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.UpsertProductDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.UpsertProductDTO.mdx new file mode 100644 index 0000000000000..f6d77be283357 --- /dev/null +++ b/www/apps/docs/content/references/product/interfaces/product.UpsertProductDTO.mdx @@ -0,0 +1,11 @@ +--- +displayed_sidebar: productReference +--- + +import TypeList from "@site/src/components/TypeList" + +# UpsertProductDTO + +A product to be created or updated. + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type_id","type":"`null` \\| `string`","description":"The product type to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The product collection to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[UpsertProductTagDTO](product.UpsertProductTagDTO.mdx)[]","description":"The associated tags to create or update.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag to update. If not provided, the tag\nis created. In that case, the `value` property is required.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"category_ids","type":"`string`[]","description":"The product categories to associate with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[UpsertProductOptionDTO](product.UpsertProductOptionDTO.mdx)[]","description":"The associated options to create or update.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product option to update. If not provided, the product\noption is created. In that case, the `title` and `values` properties are\nrequired.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The product option's title.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"`string`[]","description":"The product option values.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"variants","type":"[UpsertProductVariantDTO](product.UpsertProductVariantDTO.mdx)[]","description":"The product variants to be created and associated with the product.\nYou can also update existing product variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant to update.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"`Record`","description":"The product variant options to associate with the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"width","type":"`number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpsertProductDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.UpsertProductImageDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.UpsertProductImageDTO.mdx new file mode 100644 index 0000000000000..a6375faaf895a --- /dev/null +++ b/www/apps/docs/content/references/product/interfaces/product.UpsertProductImageDTO.mdx @@ -0,0 +1,11 @@ +--- +displayed_sidebar: productReference +--- + +import TypeList from "@site/src/components/TypeList" + +# UpsertProductImageDTO + +A product image to create or update. + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpsertProductImageDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.UpsertProductOptionDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.UpsertProductOptionDTO.mdx new file mode 100644 index 0000000000000..e8a5139597f03 --- /dev/null +++ b/www/apps/docs/content/references/product/interfaces/product.UpsertProductOptionDTO.mdx @@ -0,0 +1,11 @@ +--- +displayed_sidebar: productReference +--- + +import TypeList from "@site/src/components/TypeList" + +# UpsertProductOptionDTO + +A product option to create or update. + + diff --git a/www/apps/docs/content/references/product/interfaces/product.UpsertProductTagDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.UpsertProductTagDTO.mdx new file mode 100644 index 0000000000000..4fe61f8361517 --- /dev/null +++ b/www/apps/docs/content/references/product/interfaces/product.UpsertProductTagDTO.mdx @@ -0,0 +1,11 @@ +--- +displayed_sidebar: productReference +--- + +import TypeList from "@site/src/components/TypeList" + +# UpsertProductTagDTO + +A product tag to create or update. + + diff --git a/www/apps/docs/content/references/product/interfaces/product.UpsertProductTypeDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.UpsertProductTypeDTO.mdx new file mode 100644 index 0000000000000..b502acad92227 --- /dev/null +++ b/www/apps/docs/content/references/product/interfaces/product.UpsertProductTypeDTO.mdx @@ -0,0 +1,11 @@ +--- +displayed_sidebar: productReference +--- + +import TypeList from "@site/src/components/TypeList" + +# UpsertProductTypeDTO + +A product type to create or update + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpsertProductTypeDTO"/> diff --git a/www/apps/docs/content/references/product/interfaces/product.UpsertProductVariantDTO.mdx b/www/apps/docs/content/references/product/interfaces/product.UpsertProductVariantDTO.mdx new file mode 100644 index 0000000000000..d21e1619efd4f --- /dev/null +++ b/www/apps/docs/content/references/product/interfaces/product.UpsertProductVariantDTO.mdx @@ -0,0 +1,11 @@ +--- +displayed_sidebar: productReference +--- + +import TypeList from "@site/src/components/TypeList" + +# UpsertProductVariantDTO + +A product variant to create or update. + +`","description":"The product variant options to associate with the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpsertProductVariantDTO"/> diff --git a/www/apps/docs/content/references/product/types/product.MessageFormat.mdx b/www/apps/docs/content/references/product/types/product.MessageFormat.mdx new file mode 100644 index 0000000000000..081b171431145 --- /dev/null +++ b/www/apps/docs/content/references/product/types/product.MessageFormat.mdx @@ -0,0 +1,13 @@ +--- +displayed_sidebar: productReference +--- + +import TypeList from "@site/src/components/TypeList" + +# MessageFormat + + **MessageFormat**: `Object` + +## Properties + + diff --git a/www/apps/docs/content/references/search/classes/search.AbstractSearchService.mdx b/www/apps/docs/content/references/search/classes/search.AbstractSearchService.mdx index 0476dc81dd4b2..32751fb107063 100644 --- a/www/apps/docs/content/references/search/classes/search.AbstractSearchService.mdx +++ b/www/apps/docs/content/references/search/classes/search.AbstractSearchService.mdx @@ -165,7 +165,7 @@ class MySearchService extends AbstractSearchService { } ``` -Another example of how the [MeiliSearch plugin](https://docs.medusajs.com/plugins/search/meilisearch) uses the +Another example of how the [MeiliSearch plugin](https://docs.medusajs.com/v1/plugins/search/meilisearch) uses the `options` parameter: ```ts @@ -424,4 +424,4 @@ npm run build npx medusa develop ``` -4\. Try to search for products either using the [Search Products API Route](https://docs.medusajs.com/v1/api/store#products_postproductssearch). The results returned by your search service's `search` method is returned in the `hits` response field. +4\. Try to search for products either using the [Search Products API Route](https://docs.medusajs.com/api/store#products_postproductssearch). The results returned by your search service's `search` method is returned in the `hits` response field. diff --git a/www/apps/docs/content/references/services/classes/services.CartService.mdx b/www/apps/docs/content/references/services/classes/services.CartService.mdx index f520cc9a47b3a..d88efc433485f 100644 --- a/www/apps/docs/content/references/services/classes/services.CartService.mdx +++ b/www/apps/docs/content/references/services/classes/services.CartService.mdx @@ -16,7 +16,7 @@ ___ ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"__moduleDeclaration__","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CartService"/> +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"__moduleDeclaration__","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CartService"/> ___ diff --git a/www/apps/docs/content/references/services/classes/services.NotificationService.mdx b/www/apps/docs/content/references/services/classes/services.NotificationService.mdx index 0f59d664e4526..68f0af0990fba 100644 --- a/www/apps/docs/content/references/services/classes/services.NotificationService.mdx +++ b/www/apps/docs/content/references/services/classes/services.NotificationService.mdx @@ -154,7 +154,7 @@ resolution fails. #### Returns -;\n }> {\n throw new Error(\"Method not implemented.\")\n }\n resendNotification(\n notification: unknown,\n config: unknown,\n attachmentGenerator: unknown\n ): Promise<{\n to: string;\n status: string;\n data: Record;\n }> {\n throw new Error(\"Method not implemented.\")\n }\n\n}\n\nexport default EmailSenderService\n```\n\n---\n\n## Identifier Property\n\nThe `NotificationProvider` entity has 2 properties: `identifier` and `is_installed`. The value of the `identifier` property in the notification provider\nclass is used when the Notification Provider is created in the database.\n\nThe value of this property is also used later when you want to subscribe the Notification Provider to events in a [Loader](https://docs.medusajs.com/development/loaders/overview).\n\nFor example:\n\n```ts\nclass EmailSenderService extends AbstractNotificationService {\n static identifier = \"email-sender\"\n // ...\n}\n```\n\n---","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="retrieveProvider_"/> +;\n }> {\n throw new Error(\"Method not implemented.\")\n }\n resendNotification(\n notification: unknown,\n config: unknown,\n attachmentGenerator: unknown\n ): Promise<{\n to: string;\n status: string;\n data: Record;\n }> {\n throw new Error(\"Method not implemented.\")\n }\n\n}\n\nexport default EmailSenderService\n```\n\n---\n\n## Identifier Property\n\nThe `NotificationProvider` entity has 2 properties: `identifier` and `is_installed`. The value of the `identifier` property in the notification provider\nclass is used when the Notification Provider is created in the database.\n\nThe value of this property is also used later when you want to subscribe the Notification Provider to events in a [Loader](https://docs.medusajs.com/v1/development/loaders/overview).\n\nFor example:\n\n```ts\nclass EmailSenderService extends AbstractNotificationService {\n static identifier = \"email-sender\"\n // ...\n}\n```\n\n---","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="retrieveProvider_"/> ### handleEvent diff --git a/www/apps/docs/content/references/services/classes/services.PricingService.mdx b/www/apps/docs/content/references/services/classes/services.PricingService.mdx index 38b731eeaffdc..c550ad62f2b25 100644 --- a/www/apps/docs/content/references/services/classes/services.PricingService.mdx +++ b/www/apps/docs/content/references/services/classes/services.PricingService.mdx @@ -34,13 +34,13 @@ ___ #### Returns - + ### remoteQuery #### Returns -`) => Promise<any> \\| `null`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="remoteQuery"/> +`, `options?`: [RemoteJoinerOptions](../../types/interfaces/types.RemoteJoinerOptions.mdx)) => Promise<any> \\| `null`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="remoteQuery"/> ___ @@ -109,16 +109,6 @@ Gets the prices for a product variant -### getProductVariantPricingModulePricing\_ - -#### Parameters - - - -#### Returns - - - ### getProductVariantPricing\_ #### Parameters @@ -228,16 +218,6 @@ Set additional prices on a list of products. -### getPricingModuleVariantMoneyAmounts - -#### Parameters - - - -#### Returns - - - ### setAdminVariantPricing #### Parameters diff --git a/www/apps/docs/content/references/services/classes/services.ProductVariantInventoryService.mdx b/www/apps/docs/content/references/services/classes/services.ProductVariantInventoryService.mdx index cb6b9969c01c5..d0519a2ea3081 100644 --- a/www/apps/docs/content/references/services/classes/services.ProductVariantInventoryService.mdx +++ b/www/apps/docs/content/references/services/classes/services.ProductVariantInventoryService.mdx @@ -32,13 +32,13 @@ ___ #### Returns - + ### stockLocationService\_ #### Returns - + ___ diff --git a/www/apps/docs/content/references/services/classes/services.SalesChannelInventoryService.mdx b/www/apps/docs/content/references/services/classes/services.SalesChannelInventoryService.mdx index e3c85b5472b87..e8270072faae3 100644 --- a/www/apps/docs/content/references/services/classes/services.SalesChannelInventoryService.mdx +++ b/www/apps/docs/content/references/services/classes/services.SalesChannelInventoryService.mdx @@ -32,7 +32,7 @@ ___ #### Returns - + ___ diff --git a/www/apps/docs/content/references/services/classes/services.SalesChannelLocationService.mdx b/www/apps/docs/content/references/services/classes/services.SalesChannelLocationService.mdx index 234611b29ebe9..0f90f12f0e89f 100644 --- a/www/apps/docs/content/references/services/classes/services.SalesChannelLocationService.mdx +++ b/www/apps/docs/content/references/services/classes/services.SalesChannelLocationService.mdx @@ -34,7 +34,7 @@ ___ #### Returns - + ___ diff --git a/www/apps/docs/content/references/services/classes/services.SearchService.mdx b/www/apps/docs/content/references/services/classes/services.SearchService.mdx index e3cde08e71116..9b4b2ab096888 100644 --- a/www/apps/docs/content/references/services/classes/services.SearchService.mdx +++ b/www/apps/docs/content/references/services/classes/services.SearchService.mdx @@ -6,6 +6,81 @@ import TypeList from "@site/src/components/TypeList" # SearchService +## Overview + +A search service class is in a TypeScript or JavaScript file created in the `src/services` directory. The class must extend the `AbstractSearchService` class imported + from the `@medusajs/utils` package. + +Based on services’ naming conventions, the file’s name should be the slug version of the search service’s name without `service`, and the class’s name should be the +pascal case of the search service’s name following by `Service`. + +For example, create the `MySearchService` class in the file `src/services/my-search.ts`: + +```ts title="src/services/my-search.ts" +import { AbstractSearchService } from "@medusajs/utils" + +class MySearchService extends AbstractSearchService { + isDefault = false + + createIndex(indexName: string, options: Record) { + throw new Error("Method not implemented.") + } + getIndex(indexName: string) { + throw new Error("Method not implemented.") + } + addDocuments( + indexName: string, + documents: Record[], + type: string + ) { + throw new Error("Method not implemented.") + } + replaceDocuments( + indexName: string, + documents: Record[], + type: string + ) { + throw new Error("Method not implemented.") + } + deleteDocument( + indexName: string, + document_id: string | number + ) { + throw new Error("Method not implemented.") + } + deleteAllDocuments(indexName: string) { + throw new Error("Method not implemented.") + } + search( + indexName: string, + query: string, + options: Record + ) { + return { + message: "test", + } + } + updateSettings( + indexName: string, + settings: Record + ) { + throw new Error("Method not implemented.") + } + +} + +export default MySearchService +``` + +--- + +## Notes About Class Methods + +Although there are several helper methods in this class, the main methods used by the Medusa backend are `addDocuments`, `deleteDocument`, and `search`. +The rest of the methods are provided in case you need them for custom use cases. + +--- + ## constructor ### Parameters @@ -16,7 +91,7 @@ ___ ## Properties -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="SearchService"/> +`","description":"If your search service is created in a plugin, the plugin's options will be available in this property.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="SearchService"/> ___ @@ -24,80 +99,251 @@ ___ ### createIndex +This method is used to create an index in the search engine. + +#### Example + +An example implementation, assuming `client` would interact with a third-party service: + +```ts title="src/services/my-search.ts" +class MySearchService extends AbstractSearchService { + // ... + createIndex(indexName: string, options: Record) { + return this.client_.initIndex(indexName) + } + // ... +} +``` + +Another example of how the [MeiliSearch plugin](https://docs.medusajs.com/v1/plugins/search/meilisearch) uses the +`options` parameter: + +```ts +class MeiliSearchService extends AbstractSearchService { + // ... + async createIndex( + indexName: string, + options: Record = { primaryKey: "id" } + ) { + return await this.client_.createIndex(indexName, options) + } + // ... +} +``` + #### Parameters - + #### Returns - + ### getIndex +This method is used to retrieve an index’s results from the search engine. + +#### Example + +```ts +class MySearchService extends AbstractSearchService { + // ... + + getIndex(indexName: string) { + return this.client_.getIndex(indexName) + } +} +``` + #### Parameters - + #### Returns - + ### addDocuments +This method is used to add a document to an index in the search engine. + +When the Medusa backend loads, it triggers indexing for all products available in the Medusa backend, which uses this method to add or update documents. +It’s also used whenever a new product is added or a product is updated. + +#### Example + +```ts +class MySearchService extends AbstractSearchService { + // ... + + async addDocuments( + indexName: string, + documents: Record[], + type: string + ) { + return await this.client_ + .addDocuments(indexName, documents) + } +} +``` + #### Parameters - + #### Returns - + ### replaceDocuments +This method is used to replace existing documents in the search engine of an index with new documents. + +#### Example + +```ts +class MySearchService extends AbstractSearchService { + // ... + + async replaceDocuments( + indexName: string, + documents: Record[], + type: string + ) { + await this.client_ + .removeDocuments(indexName) + return await this.client_ + .addDocuments(indexName, documents) + } +} +``` + #### Parameters - + #### Returns - + ### deleteDocument +This method is used to delete a document from an index. + +When a product is deleted in the Medusa backend, this method is used to delete the product from the search engine’s index. + +#### Example + +```ts +class MySearchService extends AbstractSearchService { + // ... + + async deleteDocument( + indexName: string, + document_id: string | number + ) { + return await this.client_ + .deleteDocument(indexName, document_id) + } +} +``` + #### Parameters - + #### Returns - + ### deleteAllDocuments +This method is used to delete all documents from an index. + +#### Example + +```ts +class MySearchService extends AbstractSearchService { + // ... + + async deleteAllDocuments(indexName: string) { + return await this.client_ + .deleteDocuments(indexName) + } +} +``` + #### Parameters - + #### Returns - + ### search +This method is used to search through an index by a query. + +In the Medusa backend, this method is used within the [Search Products API Route](https://docs.medusajs.com/v1/api/store#products\_postproductssearch) +to retrieve the search results. The API route's response type is an array of items, though the item's format is not defined as it depends on the +data returned by this method. + +#### Example + +```ts +class MySearchService extends AbstractSearchService { + // ... + + async search( + indexName: string, + query: string, + options: Record + ) { + const hits = await this.client_ + .search(indexName, query) + return { + hits, + } + } +} +``` + #### Parameters - + #### Returns - + ### updateSettings +This method is used to update the settings of an index within the search service. This is useful if you want to update the index settings when the plugin options change. + +For example, in the Algolia plugin, a loader, which runs when the Medusa backend loads, is used to update the settings of indices based on the plugin options. +The loader uses this method to update the settings. + +#### Example + +```ts +class MySearchService extends AbstractSearchService { + // ... + + async updateSettings( + indexName: string, + settings: Record + ) { + return await this.client_ + .updateSettings(indexName, settings) + } +} +``` + #### Parameters - + #### Returns - + diff --git a/www/apps/docs/content/references/services/classes/services.ShippingProfileService.mdx b/www/apps/docs/content/references/services/classes/services.ShippingProfileService.mdx index fc529087e5773..5255b22aef0e0 100644 --- a/www/apps/docs/content/references/services/classes/services.ShippingProfileService.mdx +++ b/www/apps/docs/content/references/services/classes/services.ShippingProfileService.mdx @@ -154,7 +154,7 @@ Creates a new shipping profile. #### Parameters - + #### Returns @@ -168,7 +168,7 @@ will throw errors if metadata or product updates are attempted. #### Parameters - + #### Returns diff --git a/www/apps/docs/content/references/services/classes/services.TaxProviderService.mdx b/www/apps/docs/content/references/services/classes/services.TaxProviderService.mdx index 63b2bb7bac038..39f986ab707d2 100644 --- a/www/apps/docs/content/references/services/classes/services.TaxProviderService.mdx +++ b/www/apps/docs/content/references/services/classes/services.TaxProviderService.mdx @@ -88,7 +88,7 @@ Retrieves the relevant tax provider for the given region. #### Returns - {\n throw new Error(\"Method not implemented.\")\n }\n}\n\nexport default MyTaxService\n```\n\n---\n\n## Identifier Property\n\nThe `TaxProvider` entity has 2 properties: `identifier` and `is_installed`. The `identifier` property in the tax provider service is used when the tax provider is added to the database.\n\nThe value of this property is also used to reference the tax provider throughout Medusa. For example, it is used to [change the tax provider](https://docs.medusajs.com/modules/taxes/admin/manage-tax-settings#change-tax-provider-of-a-region) to a region.\n\n```ts title=\"src/services/my-tax.ts\"\nclass MyTaxService extends AbstractTaxService {\n static identifier = \"my-tax\"\n // ...\n}\n```\n\n---","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="retrieveProvider"/> + {\n throw new Error(\"Method not implemented.\")\n }\n}\n\nexport default MyTaxService\n```\n\n---\n\n## Identifier Property\n\nThe `TaxProvider` entity has 2 properties: `identifier` and `is_installed`. The `identifier` property in the tax provider service is used when the tax provider is added to the database.\n\nThe value of this property is also used to reference the tax provider throughout Medusa. For example, it is used to [change the tax provider](https://docs.medusajs.com/v1/modules/taxes/admin/manage-tax-settings#change-tax-provider-of-a-region) to a region.\n\n```ts title=\"src/services/my-tax.ts\"\nclass MyTaxService extends AbstractTaxService {\n static identifier = \"my-tax\"\n // ...\n}\n```\n\n---","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="retrieveProvider"/> ### clearLineItemsTaxLines @@ -116,11 +116,11 @@ Persists the tax lines relevant for an order to the database. #### Parameters - + #### Returns - + ### createShippingTaxLines @@ -133,7 +133,7 @@ for return shipping methods. #### Returns - + ### getShippingTaxLines @@ -163,7 +163,7 @@ wish to persist the tax lines to the DB layer. #### Returns - + ### getTaxLinesMap diff --git a/www/apps/docs/content/references/services/classes/services.UserService.mdx b/www/apps/docs/content/references/services/classes/services.UserService.mdx index 30af64472d025..8c1c7ba88f9d7 100644 --- a/www/apps/docs/content/references/services/classes/services.UserService.mdx +++ b/www/apps/docs/content/references/services/classes/services.UserService.mdx @@ -76,7 +76,7 @@ transaction manager is created. #### Parameters - + #### Returns @@ -86,7 +86,7 @@ transaction manager is created. #### Parameters - + #### Returns diff --git a/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.create.mdx b/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.create.mdx index 37c1ea8c31dbc..7aa59c8df5088 100644 --- a/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.create.mdx +++ b/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.create.mdx @@ -24,8 +24,8 @@ async function createStockLocation (name: string) { ## Parameters -`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"context","type":"[SharedContext](../../interfaces/stock_location.SharedContext.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"`EntityManager`","description":"An instance of a transaction manager.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"`EntityManager`","description":"An instance of an entity manager.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"context","type":"[SharedContext](../../interfaces/stock_location.SharedContext.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"`EntityManager`","description":"An instance of a transaction manager.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"`EntityManager`","description":"An instance of an entity manager.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> ## Returns -` \\| `null`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"Stock location address' ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../types/stock_location.StockLocationAddressDTO.mdx)","description":"The Address of the Stock Location","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"Stock location address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"Stock location address' country","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The stock location address' ID","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"Stock location address' complement","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"Stock location company' name","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"Stock location address' city","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"Stock location address' phone number","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"Stock location address' postal code","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"Stock location address' province","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="create"/> +` \\| `null`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"The associated address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](../../interfaces/stock_location.FulfillmentSetDTO.mdx)[]","description":"Fulfillment sets for the location","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](../../interfaces/stock_location.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../types/stock_location.StockLocationAddressDTO.mdx)","description":"The address of the stock location.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"The address 1 of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"The address 2 of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"The company of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"The city of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"The phone of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"The postal code of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"The province of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="create"/> diff --git a/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.list.mdx b/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.list.mdx index f73673fa07cba..78b98a5c6617a 100644 --- a/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.list.mdx +++ b/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.list.mdx @@ -68,7 +68,7 @@ async function listStockLocations (ids: string[], skip: number, take: number) { ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"context","type":"[SharedContext](../../interfaces/stock_location.SharedContext.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"`EntityManager`","description":"An instance of a transaction manager.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"`EntityManager`","description":"An instance of an entity manager.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> ## Returns diff --git a/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.listAndCount.mdx b/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.listAndCount.mdx index e27271976a473..59203f0cdbd4f 100644 --- a/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.listAndCount.mdx +++ b/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.listAndCount.mdx @@ -68,7 +68,7 @@ async function listStockLocations (ids: string[], skip: number, take: number) { ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"context","type":"[SharedContext](../../interfaces/stock_location.SharedContext.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"`EntityManager`","description":"An instance of a transaction manager.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"`EntityManager`","description":"An instance of an entity manager.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> ## Returns diff --git a/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.retrieve.mdx b/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.retrieve.mdx index 2ac90ec70ef18..67b517954e460 100644 --- a/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.retrieve.mdx +++ b/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.retrieve.mdx @@ -42,8 +42,8 @@ async function retrieveStockLocation (id: string) { ## Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"context","type":"[SharedContext](../../interfaces/stock_location.SharedContext.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"`EntityManager`","description":"An instance of a transaction manager.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"`EntityManager`","description":"An instance of an entity manager.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieve"/> ## Returns -` \\| `null`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"Stock location address' ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../types/stock_location.StockLocationAddressDTO.mdx)","description":"The Address of the Stock Location","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"Stock location address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"Stock location address' country","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The stock location address' ID","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"Stock location address' complement","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"Stock location company' name","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"Stock location address' city","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"Stock location address' phone number","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"Stock location address' postal code","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"Stock location address' province","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="retrieve"/> +` \\| `null`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"The associated address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](../../interfaces/stock_location.FulfillmentSetDTO.mdx)[]","description":"Fulfillment sets for the location","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](../../interfaces/stock_location.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../types/stock_location.StockLocationAddressDTO.mdx)","description":"The address of the stock location.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"The address 1 of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"The address 2 of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"The company of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"The city of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"The phone of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"The postal code of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"The province of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="retrieve"/> diff --git a/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.update.mdx b/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.update.mdx index ce482f85451c3..a38003c978a79 100644 --- a/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.update.mdx +++ b/www/apps/docs/content/references/stock_location/IStockLocationService/methods/stock_location.IStockLocationService.update.mdx @@ -24,8 +24,8 @@ async function updateStockLocation (id:string, name: string) { ## Parameters -`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"context","type":"[SharedContext](../../interfaces/stock_location.SharedContext.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"`EntityManager`","description":"An instance of a transaction manager.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"`EntityManager`","description":"An instance of an entity manager.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> +` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"context","type":"[SharedContext](../../interfaces/stock_location.SharedContext.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"`EntityManager`","description":"An instance of a transaction manager.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"`EntityManager`","description":"An instance of an entity manager.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> ## Returns -` \\| `null`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"Stock location address' ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../types/stock_location.StockLocationAddressDTO.mdx)","description":"The Address of the Stock Location","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"Stock location address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"Stock location address' country","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The stock location address' ID","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"Stock location address' complement","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"Stock location company' name","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"Stock location address' city","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"Stock location address' phone number","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"Stock location address' postal code","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"Stock location address' province","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="update"/> +` \\| `null`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"The associated address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](../../interfaces/stock_location.FulfillmentSetDTO.mdx)[]","description":"Fulfillment sets for the location","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](../../interfaces/stock_location.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](../../types/stock_location.StockLocationAddressDTO.mdx)","description":"The address of the stock location.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"The address 1 of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"The address 2 of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"The company of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"The city of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"The phone of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"The postal code of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"The province of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="update"/> diff --git a/www/apps/docs/content/references/stock_location/interfaces/stock_location.BaseFilterable.mdx b/www/apps/docs/content/references/stock_location/interfaces/stock_location.BaseFilterable.mdx new file mode 100644 index 0000000000000..71c301b97e4c9 --- /dev/null +++ b/www/apps/docs/content/references/stock_location/interfaces/stock_location.BaseFilterable.mdx @@ -0,0 +1,13 @@ +import TypeList from "@site/src/components/TypeList" + +# BaseFilterable + +An object used to allow specifying flexible queries with and/or conditions. + +## Type parameters + + + +## Properties + + diff --git a/www/apps/docs/content/references/stock_location/interfaces/stock_location.FilterableStockLocationProps.mdx b/www/apps/docs/content/references/stock_location/interfaces/stock_location.FilterableStockLocationProps.mdx index 227a3b9ace373..47491c8382629 100644 --- a/www/apps/docs/content/references/stock_location/interfaces/stock_location.FilterableStockLocationProps.mdx +++ b/www/apps/docs/content/references/stock_location/interfaces/stock_location.FilterableStockLocationProps.mdx @@ -6,4 +6,4 @@ The filters to apply on the retrieved stock locations. ## Properties - + diff --git a/www/apps/docs/content/references/stock_location/interfaces/stock_location.FindConfig.mdx b/www/apps/docs/content/references/stock_location/interfaces/stock_location.FindConfig.mdx index 34f18ba63eda8..c56a02a0c714c 100644 --- a/www/apps/docs/content/references/stock_location/interfaces/stock_location.FindConfig.mdx +++ b/www/apps/docs/content/references/stock_location/interfaces/stock_location.FindConfig.mdx @@ -11,4 +11,4 @@ which provides correct typing of field names in its properties. ## Properties - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FindConfig"/> diff --git a/www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentAddressDTO.mdx b/www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentAddressDTO.mdx new file mode 100644 index 0000000000000..b5950c5f918fb --- /dev/null +++ b/www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentAddressDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FulfillmentAddressDTO + +The fulfillment address details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FulfillmentAddressDTO"/> diff --git a/www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentDTO.mdx b/www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentDTO.mdx new file mode 100644 index 0000000000000..8900cb9b4b8fe --- /dev/null +++ b/www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FulfillmentDTO + +The fulfillment details. + +## Properties + +`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/stock_location.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](stock_location.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](stock_location.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](stock_location.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](stock_location.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](stock_location.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`null` \\| `string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`null` \\| `string`","description":"The company of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`null` \\| `string`","description":"The first line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`null` \\| `string`","description":"The second line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"The ISO 2 character country code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`null` \\| `string`","description":"The province of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`null` \\| `string`","description":"The postal code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[FulfillmentItemDTO](stock_location.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The sku of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`null` \\| `string`","description":"The associated inventory item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](stock_location.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](stock_location.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](stock_location.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"labels","type":"[FulfillmentLabelDTO](stock_location.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_number","type":"`string`","description":"The tracking number of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"The tracking URL of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"The label's URL.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](stock_location.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](stock_location.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](stock_location.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FulfillmentDTO"/> diff --git a/www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentItemDTO.mdx b/www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentItemDTO.mdx new file mode 100644 index 0000000000000..5b94f72c6b944 --- /dev/null +++ b/www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentItemDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FulfillmentItemDTO + +The fulfillment item details. + +## Properties + +`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](stock_location.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`null` \\| `string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`null` \\| `string`","description":"The company of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`null` \\| `string`","description":"The first line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`null` \\| `string`","description":"The second line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"The ISO 2 character country code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`null` \\| `string`","description":"The province of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`null` \\| `string`","description":"The postal code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[FulfillmentItemDTO](stock_location.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The sku of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`null` \\| `string`","description":"The associated inventory item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"labels","type":"[FulfillmentLabelDTO](stock_location.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_number","type":"`string`","description":"The tracking number of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"The tracking URL of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"The label's URL.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FulfillmentItemDTO"/> diff --git a/www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentLabelDTO.mdx b/www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentLabelDTO.mdx new file mode 100644 index 0000000000000..c2fe196b62453 --- /dev/null +++ b/www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentLabelDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FulfillmentLabelDTO + +The fulfillment label details. + +## Properties + +`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](stock_location.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`null` \\| `string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`null` \\| `string`","description":"The company of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`null` \\| `string`","description":"The first line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`null` \\| `string`","description":"The second line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"The ISO 2 character country code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`null` \\| `string`","description":"The province of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`null` \\| `string`","description":"The postal code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[FulfillmentItemDTO](stock_location.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The sku of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`null` \\| `string`","description":"The associated inventory item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"labels","type":"[FulfillmentLabelDTO](stock_location.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_number","type":"`string`","description":"The tracking number of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"The tracking URL of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"The label's URL.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FulfillmentLabelDTO"/> diff --git a/www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentProviderDTO.mdx b/www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentProviderDTO.mdx new file mode 100644 index 0000000000000..24524006e5ff6 --- /dev/null +++ b/www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentProviderDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FulfillmentProviderDTO + +The fulfillment provider details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/stock_location.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](stock_location.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](stock_location.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](stock_location.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[ShippingProfileDTO](stock_location.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[ShippingOptionTypeDTO](stock_location.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"The label of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[ShippingOptionRuleDTO](stock_location.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"The values of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillments","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](stock_location.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](stock_location.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](stock_location.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FulfillmentProviderDTO"/> diff --git a/www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentSetDTO.mdx b/www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentSetDTO.mdx new file mode 100644 index 0000000000000..4b12eb5ae4cdb --- /dev/null +++ b/www/apps/docs/content/references/stock_location/interfaces/stock_location.FulfillmentSetDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FulfillmentSetDTO + +The fulfillment set details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](stock_location.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](stock_location.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](stock_location.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"geo_zones","type":"[GeoZoneDTO](stock_location.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[GeoZoneType](../types/stock_location.GeoZoneType.mdx)","description":"The type of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"The province code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`null` \\| `Record`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/stock_location.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](stock_location.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](stock_location.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](stock_location.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](stock_location.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FulfillmentSetDTO"/> diff --git a/www/apps/docs/content/references/stock_location/interfaces/stock_location.GeoZoneDTO.mdx b/www/apps/docs/content/references/stock_location/interfaces/stock_location.GeoZoneDTO.mdx new file mode 100644 index 0000000000000..a767d63da66a3 --- /dev/null +++ b/www/apps/docs/content/references/stock_location/interfaces/stock_location.GeoZoneDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# GeoZoneDTO + +The geo zone details. + +## Properties + +`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="GeoZoneDTO"/> diff --git a/www/apps/docs/content/references/stock_location/interfaces/stock_location.IStockLocationService.mdx b/www/apps/docs/content/references/stock_location/interfaces/stock_location.IStockLocationService.mdx index f8433c6946dae..a6f703d2c1ed9 100644 --- a/www/apps/docs/content/references/stock_location/interfaces/stock_location.IStockLocationService.mdx +++ b/www/apps/docs/content/references/stock_location/interfaces/stock_location.IStockLocationService.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # IStockLocationService +The main service interface for the stock location's module. + ## Methods - [list](../IStockLocationService/methods/stock_location.IStockLocationService.list.mdx) diff --git a/www/apps/docs/content/references/stock_location/interfaces/stock_location.ServiceZoneDTO.mdx b/www/apps/docs/content/references/stock_location/interfaces/stock_location.ServiceZoneDTO.mdx new file mode 100644 index 0000000000000..afc8f0a6ed148 --- /dev/null +++ b/www/apps/docs/content/references/stock_location/interfaces/stock_location.ServiceZoneDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ServiceZoneDTO + +The service zone details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](stock_location.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](stock_location.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](stock_location.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](stock_location.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"geo_zones","type":"[GeoZoneDTO](stock_location.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[GeoZoneType](../types/stock_location.GeoZoneType.mdx)","description":"The type of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"The province code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`null` \\| `Record`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/stock_location.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](stock_location.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](stock_location.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](stock_location.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[ShippingProfileDTO](stock_location.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[ShippingOptionTypeDTO](stock_location.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"The label of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[ShippingOptionRuleDTO](stock_location.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"The values of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillments","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](stock_location.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](stock_location.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](stock_location.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ServiceZoneDTO"/> diff --git a/www/apps/docs/content/references/stock_location/interfaces/stock_location.ShippingOptionDTO.mdx b/www/apps/docs/content/references/stock_location/interfaces/stock_location.ShippingOptionDTO.mdx new file mode 100644 index 0000000000000..04092f14652a4 --- /dev/null +++ b/www/apps/docs/content/references/stock_location/interfaces/stock_location.ShippingOptionDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ShippingOptionDTO + +The shipping option details. + +## Properties + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](stock_location.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](stock_location.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](stock_location.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"geo_zones","type":"[GeoZoneDTO](stock_location.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[GeoZoneType](../types/stock_location.GeoZoneType.mdx)","description":"The type of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"The province code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`null` \\| `Record`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/stock_location.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](stock_location.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](stock_location.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](stock_location.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](stock_location.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[ShippingProfileDTO](stock_location.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/stock_location.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](stock_location.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](stock_location.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](stock_location.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](stock_location.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/stock_location.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](stock_location.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](stock_location.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](stock_location.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](stock_location.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[ShippingOptionTypeDTO](stock_location.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"The label of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/stock_location.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](stock_location.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](stock_location.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](stock_location.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](stock_location.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[ShippingOptionRuleDTO](stock_location.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"The values of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/stock_location.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](stock_location.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](stock_location.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](stock_location.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](stock_location.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillments","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](stock_location.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`null` \\| `string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`null` \\| `string`","description":"The company of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`null` \\| `string`","description":"The first line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`null` \\| `string`","description":"The second line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"The ISO 2 character country code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`null` \\| `string`","description":"The province of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`null` \\| `string`","description":"The postal code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[FulfillmentItemDTO](stock_location.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The sku of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`null` \\| `string`","description":"The associated inventory item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"labels","type":"[FulfillmentLabelDTO](stock_location.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_number","type":"`string`","description":"The tracking number of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"The tracking URL of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"The label's URL.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ShippingOptionDTO"/> diff --git a/www/apps/docs/content/references/stock_location/interfaces/stock_location.ShippingOptionRuleDTO.mdx b/www/apps/docs/content/references/stock_location/interfaces/stock_location.ShippingOptionRuleDTO.mdx new file mode 100644 index 0000000000000..d07e13628f557 --- /dev/null +++ b/www/apps/docs/content/references/stock_location/interfaces/stock_location.ShippingOptionRuleDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ShippingOptionRuleDTO + +The shipping option rule details. + +## Properties + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](stock_location.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](stock_location.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](stock_location.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[ShippingProfileDTO](stock_location.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[ShippingOptionTypeDTO](stock_location.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"The label of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[ShippingOptionRuleDTO](stock_location.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"The values of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillments","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](stock_location.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](stock_location.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](stock_location.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ShippingOptionRuleDTO"/> diff --git a/www/apps/docs/content/references/stock_location/interfaces/stock_location.ShippingOptionTypeDTO.mdx b/www/apps/docs/content/references/stock_location/interfaces/stock_location.ShippingOptionTypeDTO.mdx new file mode 100644 index 0000000000000..3691f519e53fe --- /dev/null +++ b/www/apps/docs/content/references/stock_location/interfaces/stock_location.ShippingOptionTypeDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ShippingOptionTypeDTO + +The shipping option type details. + +## Properties + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](stock_location.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](stock_location.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](stock_location.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[ShippingProfileDTO](stock_location.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[ShippingOptionTypeDTO](stock_location.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"The label of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[ShippingOptionRuleDTO](stock_location.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"The values of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillments","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](stock_location.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](stock_location.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](stock_location.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ShippingOptionTypeDTO"/> diff --git a/www/apps/docs/content/references/stock_location/interfaces/stock_location.ShippingProfileDTO.mdx b/www/apps/docs/content/references/stock_location/interfaces/stock_location.ShippingProfileDTO.mdx new file mode 100644 index 0000000000000..785b1858a58ee --- /dev/null +++ b/www/apps/docs/content/references/stock_location/interfaces/stock_location.ShippingProfileDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ShippingProfileDTO + +The shipping profile details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/stock_location.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](stock_location.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](stock_location.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](stock_location.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[ShippingProfileDTO](stock_location.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[ShippingOptionTypeDTO](stock_location.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"The label of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[ShippingOptionRuleDTO](stock_location.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"The values of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillments","type":"[FulfillmentDTO](stock_location.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](stock_location.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](stock_location.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](stock_location.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](stock_location.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](stock_location.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ShippingProfileDTO"/> diff --git a/www/apps/docs/content/references/stock_location/interfaces/stock_location.StringComparisonOperator.mdx b/www/apps/docs/content/references/stock_location/interfaces/stock_location.StringComparisonOperator.mdx deleted file mode 100644 index fbd22d7a421c6..0000000000000 --- a/www/apps/docs/content/references/stock_location/interfaces/stock_location.StringComparisonOperator.mdx +++ /dev/null @@ -1,7 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# StringComparisonOperator - -## Properties - - diff --git a/www/apps/docs/content/references/stock_location/types/stock_location.CreateStockLocationInput.mdx b/www/apps/docs/content/references/stock_location/types/stock_location.CreateStockLocationInput.mdx index 762b88d21fd3c..1c5a15f6a46f4 100644 --- a/www/apps/docs/content/references/stock_location/types/stock_location.CreateStockLocationInput.mdx +++ b/www/apps/docs/content/references/stock_location/types/stock_location.CreateStockLocationInput.mdx @@ -8,4 +8,4 @@ Represents the Input to create a Stock Location ## Properties -`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateStockLocationInput"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateStockLocationInput"/> diff --git a/www/apps/docs/content/references/stock_location/types/stock_location.ExpandScalar.mdx b/www/apps/docs/content/references/stock_location/types/stock_location.ExpandScalar.mdx new file mode 100644 index 0000000000000..0842e8b6eec70 --- /dev/null +++ b/www/apps/docs/content/references/stock_location/types/stock_location.ExpandScalar.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ExpandScalar + + **ExpandScalar**: `null` \| T extends `string` ? `string` \| `RegExp` : T extends `Date` ? `Date` \| `string` : T + +## Type Parameters + + diff --git a/www/apps/docs/content/references/stock_location/types/stock_location.FilterQuery.mdx b/www/apps/docs/content/references/stock_location/types/stock_location.FilterQuery.mdx new file mode 100644 index 0000000000000..25957d13a1a40 --- /dev/null +++ b/www/apps/docs/content/references/stock_location/types/stock_location.FilterQuery.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterQuery + + **FilterQuery**: Prev extends `never` ? `never` : { [Key in keyof T]?: T[Key] extends boolean \| number \| string \| bigint \| symbol \| Date ? T[Key] \| OperatorMap<T[Key]> : T[Key] extends infer U ? U extends Object ? V extends object ? FilterQuery<Partial<V>, PrevLimit[Prev]> : never : never : never } + +## Type Parameters + + diff --git a/www/apps/docs/content/references/stock_location/types/stock_location.FilterValue.mdx b/www/apps/docs/content/references/stock_location/types/stock_location.FilterValue.mdx new file mode 100644 index 0000000000000..3bcb7c97bfb46 --- /dev/null +++ b/www/apps/docs/content/references/stock_location/types/stock_location.FilterValue.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterValue + + **FilterValue**: [OperatorMap](stock_location.OperatorMap.mdx)<[FilterValue2](stock_location.FilterValue2.mdx)<T>> \| [FilterValue2](stock_location.FilterValue2.mdx)<T> \| [FilterValue2](stock_location.FilterValue2.mdx)<T>[] \| `null` + +## Type Parameters + + diff --git a/www/apps/docs/content/references/stock_location/types/stock_location.FilterValue2.mdx b/www/apps/docs/content/references/stock_location/types/stock_location.FilterValue2.mdx new file mode 100644 index 0000000000000..f38f14af47cd2 --- /dev/null +++ b/www/apps/docs/content/references/stock_location/types/stock_location.FilterValue2.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterValue2 + + **FilterValue2**: T \| [ExpandScalar](stock_location.ExpandScalar.mdx)<T> \| [Primary](stock_location.Primary.mdx)<T> + +## Type Parameters + + diff --git a/www/apps/docs/content/references/stock_location/types/stock_location.GeoZoneType.mdx b/www/apps/docs/content/references/stock_location/types/stock_location.GeoZoneType.mdx new file mode 100644 index 0000000000000..9ec57ba8498ab --- /dev/null +++ b/www/apps/docs/content/references/stock_location/types/stock_location.GeoZoneType.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# GeoZoneType + + **GeoZoneType**: `"country"` \| `"province"` \| `"city"` \| `"zip"` + +The type of the geo zone. diff --git a/www/apps/docs/content/references/stock_location/types/stock_location.OperatorMap.mdx b/www/apps/docs/content/references/stock_location/types/stock_location.OperatorMap.mdx new file mode 100644 index 0000000000000..9aea7a79ff651 --- /dev/null +++ b/www/apps/docs/content/references/stock_location/types/stock_location.OperatorMap.mdx @@ -0,0 +1,13 @@ +import TypeList from "@site/src/components/TypeList" + +# OperatorMap + + **OperatorMap**: `Object` + +## Type Parameters + + + +## Properties + + diff --git a/www/apps/docs/content/references/stock_location/types/stock_location.PrevLimit.mdx b/www/apps/docs/content/references/stock_location/types/stock_location.PrevLimit.mdx new file mode 100644 index 0000000000000..26718712869ca --- /dev/null +++ b/www/apps/docs/content/references/stock_location/types/stock_location.PrevLimit.mdx @@ -0,0 +1,5 @@ +import TypeList from "@site/src/components/TypeList" + +# PrevLimit + + **PrevLimit**: [`never`, `1`, `2`, `3`] diff --git a/www/apps/docs/content/references/stock_location/types/stock_location.Primary.mdx b/www/apps/docs/content/references/stock_location/types/stock_location.Primary.mdx new file mode 100644 index 0000000000000..40c6375c815fa --- /dev/null +++ b/www/apps/docs/content/references/stock_location/types/stock_location.Primary.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# Primary + + **Primary**: T extends `object` ? [ReadonlyPrimary](stock_location.ReadonlyPrimary.mdx)<PK> : T extends `object` ? [ReadonlyPrimary](stock_location.ReadonlyPrimary.mdx)<PK> \| `string` : T extends `object` ? [ReadonlyPrimary](stock_location.ReadonlyPrimary.mdx)<PK> : T extends `object` ? [ReadonlyPrimary](stock_location.ReadonlyPrimary.mdx)<PK> : `never` + +## Type Parameters + + diff --git a/www/apps/docs/content/references/stock_location/types/stock_location.Query.mdx b/www/apps/docs/content/references/stock_location/types/stock_location.Query.mdx new file mode 100644 index 0000000000000..4d9925a173570 --- /dev/null +++ b/www/apps/docs/content/references/stock_location/types/stock_location.Query.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# Query + + **Query**: T extends `object` ? T extends [Scalar](stock_location.Scalar.mdx) ? `never` : [FilterQuery](stock_location.FilterQuery.mdx)<T> : [FilterValue](stock_location.FilterValue.mdx)<T> + +## Type Parameters + + diff --git a/www/apps/docs/content/references/stock_location/types/stock_location.ReadonlyPrimary.mdx b/www/apps/docs/content/references/stock_location/types/stock_location.ReadonlyPrimary.mdx new file mode 100644 index 0000000000000..560e18c5bb73f --- /dev/null +++ b/www/apps/docs/content/references/stock_location/types/stock_location.ReadonlyPrimary.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ReadonlyPrimary + + **ReadonlyPrimary**: T extends `any`[] ? Readonly<T> : T + +## Type Parameters + + diff --git a/www/apps/docs/content/references/stock_location/types/stock_location.Scalar.mdx b/www/apps/docs/content/references/stock_location/types/stock_location.Scalar.mdx new file mode 100644 index 0000000000000..67993e06917b2 --- /dev/null +++ b/www/apps/docs/content/references/stock_location/types/stock_location.Scalar.mdx @@ -0,0 +1,5 @@ +import TypeList from "@site/src/components/TypeList" + +# Scalar + + **Scalar**: `boolean` \| `number` \| `string` \| `bigint` \| `symbol` \| `Date` \| `RegExp` \| `Buffer` \| `object` diff --git a/www/apps/docs/content/references/stock_location/types/stock_location.ShippingOptionPriceType.mdx b/www/apps/docs/content/references/stock_location/types/stock_location.ShippingOptionPriceType.mdx new file mode 100644 index 0000000000000..5e7b5205e1bc0 --- /dev/null +++ b/www/apps/docs/content/references/stock_location/types/stock_location.ShippingOptionPriceType.mdx @@ -0,0 +1,10 @@ +import TypeList from "@site/src/components/TypeList" + +# ShippingOptionPriceType + + **ShippingOptionPriceType**: `"calculated"` \| `"flat"` + +The shipping option's price type. + +- Use `calculated` if the shipping option's price amount is calculated by the fulfillment provider. +- Use `flat_rate` if the shipping option's price is always the same amount. diff --git a/www/apps/docs/content/references/stock_location/types/stock_location.StockLocationAddressDTO.mdx b/www/apps/docs/content/references/stock_location/types/stock_location.StockLocationAddressDTO.mdx index 11f18024e1a73..97f45a7632e80 100644 --- a/www/apps/docs/content/references/stock_location/types/stock_location.StockLocationAddressDTO.mdx +++ b/www/apps/docs/content/references/stock_location/types/stock_location.StockLocationAddressDTO.mdx @@ -8,4 +8,4 @@ Represents a Stock Location Address ## Properties -` \\| `null`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="StockLocationAddressDTO"/> +` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="StockLocationAddressDTO"/> diff --git a/www/apps/docs/content/references/stock_location/types/stock_location.StockLocationAddressInput.mdx b/www/apps/docs/content/references/stock_location/types/stock_location.StockLocationAddressInput.mdx index d5719028c2c6d..e641dcdd7b3d7 100644 --- a/www/apps/docs/content/references/stock_location/types/stock_location.StockLocationAddressInput.mdx +++ b/www/apps/docs/content/references/stock_location/types/stock_location.StockLocationAddressInput.mdx @@ -8,4 +8,4 @@ Represents a Stock Location Address Input ## Properties -`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="StockLocationAddressInput"/> +` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="StockLocationAddressInput"/> diff --git a/www/apps/docs/content/references/stock_location/types/stock_location.StockLocationDTO.mdx b/www/apps/docs/content/references/stock_location/types/stock_location.StockLocationDTO.mdx index 10a886f8ab2a3..d431700d74dfc 100644 --- a/www/apps/docs/content/references/stock_location/types/stock_location.StockLocationDTO.mdx +++ b/www/apps/docs/content/references/stock_location/types/stock_location.StockLocationDTO.mdx @@ -8,4 +8,4 @@ Represents a Stock Location ## Properties -` \\| `null`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"Stock location address' ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](stock_location.StockLocationAddressDTO.mdx)","description":"The Address of the Stock Location","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"Stock location address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"Stock location address' country","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The stock location address' ID","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"Stock location address' complement","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"Stock location company' name","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"Stock location address' city","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"Stock location address' phone number","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"Stock location address' postal code","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"Stock location address' province","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="StockLocationDTO"/> +` \\| `null`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"The associated address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](../interfaces/stock_location.FulfillmentSetDTO.mdx)[]","description":"Fulfillment sets for the location","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](../interfaces/stock_location.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](../interfaces/stock_location.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](../interfaces/stock_location.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](../interfaces/stock_location.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[StockLocationAddressDTO](stock_location.StockLocationAddressDTO.mdx)","description":"The address of the stock location.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"The address 1 of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"The deletion date of the stock location address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"The address 2 of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"The company of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"The city of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"The phone of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"The postal code of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"The province of the stock location address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="StockLocationDTO"/> diff --git a/www/apps/docs/content/references/stock_location/types/stock_location.UpdateStockLocationInput.mdx b/www/apps/docs/content/references/stock_location/types/stock_location.UpdateStockLocationInput.mdx index a5fea47a79252..b7391a8dc8c21 100644 --- a/www/apps/docs/content/references/stock_location/types/stock_location.UpdateStockLocationInput.mdx +++ b/www/apps/docs/content/references/stock_location/types/stock_location.UpdateStockLocationInput.mdx @@ -8,4 +8,4 @@ Represents the Input to update a Stock Location ## Properties -`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateStockLocationInput"/> +` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateStockLocationInput"/> diff --git a/www/apps/docs/content/references/tax/classes/tax.AbstractTaxService.mdx b/www/apps/docs/content/references/tax/classes/tax.AbstractTaxService.mdx index 2f58ec0743216..9f1406fb64fd0 100644 --- a/www/apps/docs/content/references/tax/classes/tax.AbstractTaxService.mdx +++ b/www/apps/docs/content/references/tax/classes/tax.AbstractTaxService.mdx @@ -49,7 +49,7 @@ export default MyTaxService The `TaxProvider` entity has 2 properties: `identifier` and `is_installed`. The `identifier` property in the tax provider service is used when the tax provider is added to the database. -The value of this property is also used to reference the tax provider throughout Medusa. For example, it is used to [change the tax provider](https://docs.medusajs.com/modules/taxes/admin/manage-tax-settings#change-tax-provider-of-a-region) to a region. +The value of this property is also used to reference the tax provider throughout Medusa. For example, it is used to [change the tax provider](https://docs.medusajs.com/v1/modules/taxes/admin/manage-tax-settings#change-tax-provider-of-a-region) to a region. ```ts title="src/services/my-tax.ts" class MyTaxService extends AbstractTaxService { diff --git a/www/apps/docs/content/references/tax/interfaces/tax.ITaxService.mdx b/www/apps/docs/content/references/tax/interfaces/tax.ITaxService.mdx index eedb91de7e281..aa55fdcae0591 100644 --- a/www/apps/docs/content/references/tax/interfaces/tax.ITaxService.mdx +++ b/www/apps/docs/content/references/tax/interfaces/tax.ITaxService.mdx @@ -46,7 +46,7 @@ export default MyTaxService The `TaxProvider` entity has 2 properties: `identifier` and `is_installed`. The `identifier` property in the tax provider service is used when the tax provider is added to the database. -The value of this property is also used to reference the tax provider throughout Medusa. For example, it is used to [change the tax provider](https://docs.medusajs.com/modules/taxes/admin/manage-tax-settings#change-tax-provider-of-a-region) to a region. +The value of this property is also used to reference the tax provider throughout Medusa. For example, it is used to [change the tax provider](https://docs.medusajs.com/v1/modules/taxes/admin/manage-tax-settings#change-tax-provider-of-a-region) to a region. ```ts title="src/services/my-tax.ts" class MyTaxService extends AbstractTaxService { diff --git a/www/apps/docs/content/references/tax_calculation/classes/tax_calculation.AbstractTaxCalculationStrategy.mdx b/www/apps/docs/content/references/tax_calculation/classes/tax_calculation.AbstractTaxCalculationStrategy.mdx index 503d6087a2b82..636ff04ae7b89 100644 --- a/www/apps/docs/content/references/tax_calculation/classes/tax_calculation.AbstractTaxCalculationStrategy.mdx +++ b/www/apps/docs/content/references/tax_calculation/classes/tax_calculation.AbstractTaxCalculationStrategy.mdx @@ -100,7 +100,7 @@ tax conditions and calculation contexts. This method is used whenever taxes are calculated. If automatic tax calculation is disabled in a region, then it's only triggered when taxes are calculated manually as explained in -[this guide](https://docs.medusajs.com/modules/taxes/storefront/manual-calculation). +[this guide](https://docs.medusajs.com/v1/modules/taxes/storefront/manual-calculation). #### Example @@ -136,7 +136,7 @@ async calculate( #### Parameters -`","description":"The context of the cart which can include info like IP or user agent.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`null` \\| `string`","description":"The sales channel ID the cart is associated with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannel](../../entities/classes/entities.SalesChannel.mdx)","description":"The details of the sales channel associated with the cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"sales_channels","type":"[SalesChannel](../../entities/classes/entities.SalesChannel.mdx)[]","description":"The associated sales channels.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_total","type":"`number`","description":"The total of shipping","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"The total of discount rounded","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"`number`","description":"The total of discount","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`null` \\| `number`","description":"The total of items with taxes","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"`null` \\| `number`","description":"The total of shipping with taxes","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`null` \\| `number`","description":"The total of tax","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_total","type":"`number`","description":"The total amount refunded if the order associated with this cart is returned.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"The total amount of the cart","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"The subtotal of the cart","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refundable_amount","type":"`number`","description":"The amount that can be refunded","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`number`","description":"The total of gift cards","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"`number`","description":"The total of gift cards with taxes","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"order_id","type":"`null` \\| `string`","description":"The ID of the order that the line item may belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[Order](../../entities/classes/entities.Order.mdx)","description":"The details of the order that the line item may belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The order's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"object","type":"`\"order\"`","description":"","optional":false,"defaultValue":"\"order\"","expandable":false,"children":[]},{"name":"status","type":"[OrderStatus](../../entities/enums/entities.OrderStatus.mdx)","description":"The order's status","optional":false,"defaultValue":"pending","expandable":false,"children":[]},{"name":"fulfillment_status","type":"[FulfillmentStatus](../../entities/enums/entities.FulfillmentStatus.mdx)","description":"The order's fulfillment status","optional":false,"defaultValue":"not_fulfilled","expandable":false,"children":[]},{"name":"payment_status","type":"[PaymentStatus](../../entities/enums/entities.PaymentStatus.mdx)","description":"The order's payment status","optional":false,"defaultValue":"not_paid","expandable":false,"children":[]},{"name":"display_id","type":"`number`","description":"The order's display ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the cart associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[Cart](../../entities/classes/entities.Cart.mdx)","description":"The details of the cart associated with the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the customer associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../entities/classes/entities.Customer.mdx)","description":"The details of the customer associated with the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"email","type":"`string`","description":"The email associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address_id","type":"`string`","description":"The ID of the billing address associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the billing address associated with the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_address_id","type":"`string`","description":"The ID of the shipping address associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the shipping address associated with the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"region_id","type":"`string`","description":"The ID of the region this order was created in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region","type":"[Region](../../entities/classes/entities.Region.mdx)","description":"The details of the region this order was created in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code that is used in the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency","type":"[Currency](../../entities/classes/entities.Currency.mdx)","description":"The details of the currency used in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_rate","type":"`null` \\| `number`","description":"The order's tax rate","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discounts","type":"[Discount](../../entities/classes/entities.Discount.mdx)[]","description":"The details of the discounts applied on the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"gift_cards","type":"[GiftCard](../../entities/classes/entities.GiftCard.mdx)[]","description":"The details of the gift card used in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The details of the shipping methods used in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[Payment](../../entities/classes/entities.Payment.mdx)[]","description":"The details of the payments used in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"fulfillments","type":"[Fulfillment](../../entities/classes/entities.Fulfillment.mdx)[]","description":"The details of the fulfillments created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"returns","type":"[Return](../../entities/classes/entities.Return.mdx)[]","description":"The details of the returns created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"claims","type":"[ClaimOrder](../../entities/classes/entities.ClaimOrder.mdx)[]","description":"The details of the claims created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[Refund](../../entities/classes/entities.Refund.mdx)[]","description":"The details of the refunds created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"swaps","type":"[Swap](../../entities/classes/entities.Swap.mdx)[]","description":"The details of the swaps created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"draft_order_id","type":"`string`","description":"The ID of the draft order this order was created from.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"draft_order","type":"[DraftOrder](../../entities/classes/entities.DraftOrder.mdx)","description":"The details of the draft order this order was created from.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"edits","type":"[OrderEdit](../../entities/classes/entities.OrderEdit.mdx)[]","description":"The details of the order edits done on the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"items","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)[]","description":"The details of the line items that belong to the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"gift_card_transactions","type":"[GiftCardTransaction](../../entities/classes/entities.GiftCardTransaction.mdx)[]","description":"The gift card transactions made in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"canceled_at","type":"`Date`","description":"The date the order was canceled on.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"no_notification","type":"`boolean`","description":"Flag for describing whether or not notifications related to this should be send.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotency_key","type":"`string`","description":"Randomly generated key used to continue the processing of the order in case of failure.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of an external order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`null` \\| `string`","description":"The ID of the sales channel this order belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannel](../../entities/classes/entities.SalesChannel.mdx)","description":"The details of the sales channel this order belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_total","type":"`number`","description":"The total of shipping","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"`null` \\| `number`","description":"The tax total applied on shipping","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"The total of discount rounded","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"`number`","description":"The total of discount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`null` \\| `number`","description":"The tax total applied on items","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`null` \\| `number`","description":"The total of tax","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_total","type":"`number`","description":"The total amount refunded if the order is returned.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"The total amount of the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"The subtotal of the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"paid_total","type":"`number`","description":"The total amount paid","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"refundable_amount","type":"`number`","description":"The amount that can be refunded","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`number`","description":"The total of gift cards","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"`number`","description":"The total of gift cards with taxes","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channels","type":"[SalesChannel](../../entities/classes/entities.SalesChannel.mdx)[]","description":"The associated sales channels.","optional":true,"defaultValue":"","expandable":true,"featureFlag":"medusa_v2","children":[]},{"name":"returnable_items","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)[]","description":"The details of the line items that are returnable as part of the order, swaps, or claims","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"swap_id","type":"`string`","description":"The ID of the swap that the line item may belong to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"swap","type":"[Swap](../../entities/classes/entities.Swap.mdx)","description":"The details of the swap that the line item may belong to.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The swap's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_status","type":"[SwapFulfillmentStatus](../../entities/enums/entities.SwapFulfillmentStatus.mdx)","description":"The status of the Fulfillment of the Swap.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_status","type":"[SwapPaymentStatus](../../entities/enums/entities.SwapPaymentStatus.mdx)","description":"The status of the Payment of the Swap. The payment may either refer to the refund of an amount or the authorization of a new amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the order that the swap belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[Order](../../entities/classes/entities.Order.mdx)","description":"The details of the order that the swap belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"additional_items","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)[]","description":"The details of the new products to send to the customer, represented as line items.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"return_order","type":"[Return](../../entities/classes/entities.Return.mdx)","description":"The details of the return that belongs to the swap, which holds the details on the items being returned.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"fulfillments","type":"[Fulfillment](../../entities/classes/entities.Fulfillment.mdx)[]","description":"The details of the fulfillments that are used to send the new items to the customer.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[Payment](../../entities/classes/entities.Payment.mdx)","description":"The details of the additional payment authorized by the customer when `difference\\_due` is positive.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"difference_due","type":"`number`","description":"The difference amount between the order’s original total and the new total imposed by the swap. If its value is negative, a refund must be issues to the customer. If it's positive, additional payment must be authorized by the customer. Otherwise, no payment processing is required.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address_id","type":"`string`","description":"The Address to send the new Line Items to - in most cases this will be the same as the shipping address on the Order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the shipping address that the new items should be sent to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The details of the shipping methods used to fulfill the additional items purchased.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the cart that the customer uses to complete the swap.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[Cart](../../entities/classes/entities.Cart.mdx)","description":"The details of the cart that the customer uses to complete the swap.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"confirmed_at","type":"`Date`","description":"The date with timezone at which the Swap was confirmed by the Customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`Date`","description":"The date with timezone at which the Swap was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"no_notification","type":"`boolean`","description":"If set to true, no notification will be sent related to this swap","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"If true, swaps can be completed with items out of stock","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"idempotency_key","type":"`string`","description":"Randomly generated key used to continue the completion of the swap in case of failure.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"claim_order_id","type":"`string`","description":"The ID of the claim that the line item may belong to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"claim_order","type":"[ClaimOrder](../../entities/classes/entities.ClaimOrder.mdx)","description":"The details of the claim that the line item may belong to.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The claim's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_status","type":"[ClaimPaymentStatus](../../entities/enums/entities.ClaimPaymentStatus.mdx)","description":"The status of the claim's payment","optional":false,"defaultValue":"na","expandable":false,"children":[]},{"name":"fulfillment_status","type":"[ClaimFulfillmentStatus](../../entities/enums/entities.ClaimFulfillmentStatus.mdx)","description":"The claim's fulfillment status","optional":false,"defaultValue":"not_fulfilled","expandable":false,"children":[]},{"name":"claim_items","type":"[ClaimItem](../../entities/classes/entities.ClaimItem.mdx)[]","description":"The details of the items that should be replaced or refunded.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"additional_items","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)[]","description":"The details of the new items to be shipped when the claim's type is `replace`","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"[ClaimType](../../entities/enums/entities.ClaimType.mdx)","description":"The claim's type","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the order that the claim comes from.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[Order](../../entities/classes/entities.Order.mdx)","description":"The details of the order that this claim was created for.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"return_order","type":"[Return](../../entities/classes/entities.Return.mdx)","description":"The details of the return associated with the claim if the claim's type is `replace`.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_address_id","type":"`string`","description":"The ID of the address that the new items should be shipped to","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the address that new items should be shipped to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The details of the shipping methods that the claim order will be shipped with.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"fulfillments","type":"[Fulfillment](../../entities/classes/entities.Fulfillment.mdx)[]","description":"The fulfillments of the new items to be shipped","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"refund_amount","type":"`number`","description":"The amount that will be refunded in conjunction with the claim","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`Date`","description":"The date with timezone at which the claim was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"no_notification","type":"`boolean`","description":"Flag for describing whether or not notifications related to this should be send.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotency_key","type":"`string`","description":"Randomly generated key used to continue the completion of the cart associated with the claim in case of failure.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[LineItemTaxLine](../../entities/classes/entities.LineItemTaxLine.mdx)[]","description":"The details of the item's tax lines.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The line item tax line's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)","description":"The details of the line item.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"rate","type":"`number`","description":"The numeric rate to charge tax by","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"A human friendly name for the tax","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"A code to identify the tax type by","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustment](../../entities/classes/entities.LineItemAdjustment.mdx)[]","description":"The details of the item's adjustments, which are available when a discount is applied on the item.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The Line Item Adjustment's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)","description":"The details of the line item.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"description","type":"`string`","description":"The line item's adjustment description","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount","type":"[Discount](../../entities/classes/entities.Discount.mdx)","description":"The details of the discount associated with the adjustment.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"discount_id","type":"`string`","description":"The ID of the discount associated with the adjustment","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The adjustment amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"title","type":"`string`","description":"The title of the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"A more detailed description of the contents of the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"A URL string to a small image of the contents of the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_return","type":"`boolean`","description":"Is the item being returned","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Flag to indicate if the Line Item is a Gift Card.","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"should_merge","type":"`boolean`","description":"Flag to indicate if new Line Items with the same variant should be merged or added as an additional Line Item.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"allow_discounts","type":"`boolean`","description":"Flag to indicate if the Line Item should be included when doing discount calculations.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"has_shipping","type":"`null` \\| `boolean`","description":"Flag to indicate if the Line Item has fulfillment associated with it.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The price of one unit of the content in the Line Item. This should be in the currency defined by the Cart/Order/Swap/Claim that the Line Item belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The id of the Product Variant contained in the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant","type":"[ProductVariant](../../entities/classes/entities.ProductVariant.mdx)","description":"The details of the product variant that this item was created from.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The product variant's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"A title that can be displayed for easy identification of the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the product that the product variant belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"[Product](../../entities/classes/entities.Product.mdx)","description":"The details of the product that the product variant belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"prices","type":"[MoneyAmount](../../entities/classes/entities.MoneyAmount.mdx)[]","description":"The details of the prices of the Product Variant, each represented as a Money Amount. Each Money Amount represents a price in a given currency or a specific Region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"A generic field for a GTIN number that can be used to identify the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"An EAN barcode number that can be used to identify the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"A UPC barcode number that can be used to identify the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"The ranking of this variant","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The current quantity of the item that is stocked.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the Product Variant should be purchasable when `inventory\\_quantity` is 0.","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether Medusa should manage inventory for the Product Variant.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValue](../../entities/classes/entities.ProductOptionValue.mdx)[]","description":"The details of the product options that this product variant defines values for.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"inventory_items","type":"[ProductVariantInventoryItem](../../entities/classes/entities.ProductVariantInventoryItem.mdx)[]","description":"The details inventory items of the product variant.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"purchasable","type":"`boolean`","description":"Only used with the inventory modules.\nA boolean value indicating whether the Product Variant is purchasable.\nA variant is purchasable if:\n - inventory is not managed\n - it has no inventory items\n - it is in stock\n - it is backorderable.\n","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"product_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the content in the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfilled_quantity","type":"`null` \\| `number`","description":"The quantity of the Line Item that has been fulfilled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"returned_quantity","type":"`null` \\| `number`","description":"The quantity of the Line Item that has been returned.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_quantity","type":"`null` \\| `number`","description":"The quantity of the Line Item that has been shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Indicates if the line item unit\\_price include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]},{"name":"original_item_id","type":"`null` \\| `string`","description":"The ID of the original line item. This is useful if the line item belongs to a resource that references an order, such as a return or an order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`null` \\| `string`","description":"The ID of the order edit that the item may belong to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit","type":"`null` \\| [OrderEdit](../../entities/classes/entities.OrderEdit.mdx)","description":"The details of the order edit.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refundable","type":"`null` \\| `number`","description":"The amount that can be refunded from the given Line Item. Takes taxes and discounts into consideration.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`null` \\| `number`","description":"The subtotal of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`null` \\| `number`","description":"The total of tax of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`null` \\| `number`","description":"The total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`null` \\| `number`","description":"The original total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`null` \\| `number`","description":"The original tax total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`null` \\| `number`","description":"The total of discount of the line item rounded","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"`null` \\| `number`","description":"The total of discount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`null` \\| `number`","description":"The total of the gift card of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"taxLines","type":"([LineItemTaxLine](../../entities/classes/entities.LineItemTaxLine.mdx) \\| [ShippingMethodTaxLine](../../entities/classes/entities.ShippingMethodTaxLine.mdx))[]","description":"The tax lines used for the calculation","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"calculationContext","type":"[TaxCalculationContext](../../medusa/types/medusa.TaxCalculationContext.mdx)","description":"Other details relevant for the calculation","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx) \\| `null`","description":"The shipping address used in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../entities/classes/entities.Customer.mdx)","description":"The customer that the cart belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The customer's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The customer's email","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The customer's first name","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The customer's last name","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address_id","type":"`null` \\| `string`","description":"The customer's billing address ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the billing address associated with the customer.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_addresses","type":"[Address](../../entities/classes/entities.Address.mdx)[]","description":"The details of the shipping addresses associated with the customer.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"password_hash","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The customer's phone number","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"has_account","type":"`boolean`","description":"Whether the customer has an account or not","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"orders","type":"[Order](../../entities/classes/entities.Order.mdx)[]","description":"The details of the orders this customer placed.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"groups","type":"[CustomerGroup](../../entities/classes/entities.CustomerGroup.mdx)[]","description":"The customer groups the customer belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"region","type":"[Region](../../entities/classes/entities.Region.mdx)","description":"The cart's region.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The region's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the region as displayed to the customer. If the Region only has one country it is recommended to write the country name.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The three character currency code used in the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency","type":"[Currency](../../entities/classes/entities.Currency.mdx)","description":"The details of the currency used in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_rate","type":"`number`","description":"The tax rate that should be charged on purchases in the Region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rates","type":"`null` \\| [TaxRate](../../entities/classes/entities.TaxRate.mdx)[]","description":"The details of the tax rates used in the region, aside from the default rate.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_code","type":"`string`","description":"The tax code used on purchases in the Region. This may be used by other systems for accounting purposes.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_cards_taxable","type":"`boolean`","description":"Whether the gift cards are taxable or not in this region.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"automatic_taxes","type":"`boolean`","description":"Whether taxes should be automated in this region.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"countries","type":"[Country](../../entities/classes/entities.Country.mdx)[]","description":"The details of the countries included in this region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_provider_id","type":"`null` \\| `string`","description":"The ID of the tax provider used in this region","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_provider","type":"[TaxProvider](../../entities/classes/entities.TaxProvider.mdx)","description":"The details of the tax provider used in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_providers","type":"[PaymentProvider](../../entities/classes/entities.PaymentProvider.mdx)[]","description":"The details of the payment providers that can be used to process payments in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"fulfillment_providers","type":"[FulfillmentProvider](../../entities/classes/entities.FulfillmentProvider.mdx)[]","description":"The details of the fulfillment providers that can be used to fulfill items of orders and similar resources in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Whether the prices for the region include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]}]},{"name":"is_return","type":"`boolean`","description":"Whether the cart is used in a return flow.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The shipping methods used in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The shipping method's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the Shipping Option that the Shipping Method is built from.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the order that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[Order](../../entities/classes/entities.Order.mdx)","description":"The details of the order that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"claim_order_id","type":"`null` \\| `string`","description":"The ID of the claim that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"claim_order","type":"[ClaimOrder](../../entities/classes/entities.ClaimOrder.mdx)","description":"The details of the claim that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the cart that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[Cart](../../entities/classes/entities.Cart.mdx)","description":"The details of the cart that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"swap_id","type":"`string`","description":"The ID of the swap that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"swap","type":"[Swap](../../entities/classes/entities.Swap.mdx)","description":"The details of the swap that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"return_id","type":"`string`","description":"The ID of the return that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_order","type":"[Return](../../entities/classes/entities.Return.mdx)","description":"The details of the return that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_option","type":"[ShippingOption](../../entities/classes/entities.ShippingOption.mdx)","description":"The details of the shipping option the method was created from.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLine](../../entities/classes/entities.ShippingMethodTaxLine.mdx)[]","description":"The details of the tax lines applied on the shipping method.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"price","type":"`number`","description":"The amount to charge for the Shipping Method. The currency of the price is defined by the Region that the Order that the Shipping Method belongs to is a part of.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data that the Fulfillment Provider needs to fulfill the shipment. This is used in combination with the Shipping Options data, and may contain information such as a drop point id.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Whether the shipping method price include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]},{"name":"subtotal","type":"`number`","description":"The subtotal of the shipping","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"The total amount of the shipping","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"The total of tax","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"allocation_map","type":"[LineAllocationsMap](../../medusa/types/medusa.LineAllocationsMap.mdx)","description":"The gift cards and discounts applied on line items.\nEach object key or property is an ID of a line item","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="calculate"/> +`","description":"The context of the cart which can include info like IP or user agent.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`null` \\| `string`","description":"The sales channel ID the cart is associated with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannel](../../entities/classes/entities.SalesChannel.mdx)","description":"The details of the sales channel associated with the cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"sales_channels","type":"[SalesChannel](../../entities/classes/entities.SalesChannel.mdx)[]","description":"The associated sales channels.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_total","type":"`number`","description":"The total of shipping","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"The total of discount rounded","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"`number`","description":"The total of discount","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`null` \\| `number`","description":"The total of items with taxes","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"`null` \\| `number`","description":"The total of shipping with taxes","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`null` \\| `number`","description":"The total of tax","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_total","type":"`number`","description":"The total amount refunded if the order associated with this cart is returned.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"The total amount of the cart","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"The subtotal of the cart","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refundable_amount","type":"`number`","description":"The amount that can be refunded","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`number`","description":"The total of gift cards","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"`number`","description":"The total of gift cards with taxes","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"order_id","type":"`null` \\| `string`","description":"The ID of the order that the line item may belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[Order](../../entities/classes/entities.Order.mdx)","description":"The details of the order that the line item may belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The order's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"object","type":"`\"order\"`","description":"","optional":false,"defaultValue":"\"order\"","expandable":false,"children":[]},{"name":"status","type":"[OrderStatus](../../entities/enums/entities.OrderStatus.mdx)","description":"The order's status","optional":false,"defaultValue":"pending","expandable":false,"children":[]},{"name":"fulfillment_status","type":"[FulfillmentStatus](../../entities/enums/entities.FulfillmentStatus.mdx)","description":"The order's fulfillment status","optional":false,"defaultValue":"not_fulfilled","expandable":false,"children":[]},{"name":"payment_status","type":"[PaymentStatus](../../entities/enums/entities.PaymentStatus.mdx)","description":"The order's payment status","optional":false,"defaultValue":"not_paid","expandable":false,"children":[]},{"name":"display_id","type":"`number`","description":"The order's display ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the cart associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[Cart](../../entities/classes/entities.Cart.mdx)","description":"The details of the cart associated with the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the customer associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../entities/classes/entities.Customer.mdx)","description":"The details of the customer associated with the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"email","type":"`string`","description":"The email associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address_id","type":"`string`","description":"The ID of the billing address associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the billing address associated with the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_address_id","type":"`string`","description":"The ID of the shipping address associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the shipping address associated with the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"region_id","type":"`string`","description":"The ID of the region this order was created in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region","type":"[Region](../../entities/classes/entities.Region.mdx)","description":"The details of the region this order was created in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code that is used in the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency","type":"[Currency](../../entities/classes/entities.Currency.mdx)","description":"The details of the currency used in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_rate","type":"`null` \\| `number`","description":"The order's tax rate","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discounts","type":"[Discount](../../entities/classes/entities.Discount.mdx)[]","description":"The details of the discounts applied on the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"gift_cards","type":"[GiftCard](../../entities/classes/entities.GiftCard.mdx)[]","description":"The details of the gift card used in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The details of the shipping methods used in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[Payment](../../entities/classes/entities.Payment.mdx)[]","description":"The details of the payments used in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"fulfillments","type":"[Fulfillment](../../entities/classes/entities.Fulfillment.mdx)[]","description":"The details of the fulfillments created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"returns","type":"[Return](../../entities/classes/entities.Return.mdx)[]","description":"The details of the returns created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"claims","type":"[ClaimOrder](../../entities/classes/entities.ClaimOrder.mdx)[]","description":"The details of the claims created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[Refund](../../entities/classes/entities.Refund.mdx)[]","description":"The details of the refunds created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"swaps","type":"[Swap](../../entities/classes/entities.Swap.mdx)[]","description":"The details of the swaps created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"draft_order_id","type":"`string`","description":"The ID of the draft order this order was created from.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"draft_order","type":"[DraftOrder](../../entities/classes/entities.DraftOrder.mdx)","description":"The details of the draft order this order was created from.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"edits","type":"[OrderEdit](../../entities/classes/entities.OrderEdit.mdx)[]","description":"The details of the order edits done on the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"items","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)[]","description":"The details of the line items that belong to the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"gift_card_transactions","type":"[GiftCardTransaction](../../entities/classes/entities.GiftCardTransaction.mdx)[]","description":"The gift card transactions made in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"canceled_at","type":"`Date`","description":"The date the order was canceled on.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"no_notification","type":"`boolean`","description":"Flag for describing whether or not notifications related to this should be send.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotency_key","type":"`string`","description":"Randomly generated key used to continue the processing of the order in case of failure.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of an external order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`null` \\| `string`","description":"The ID of the sales channel this order belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannel](../../entities/classes/entities.SalesChannel.mdx)","description":"The details of the sales channel this order belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_total","type":"`number`","description":"The total of shipping","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"`null` \\| `number`","description":"The tax total applied on shipping","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"The total of discount rounded","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"`number`","description":"The total of discount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`null` \\| `number`","description":"The tax total applied on items","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`null` \\| `number`","description":"The total of tax","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_total","type":"`number`","description":"The total amount refunded if the order is returned.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"The total amount of the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"The subtotal of the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"paid_total","type":"`number`","description":"The total amount paid","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"refundable_amount","type":"`number`","description":"The amount that can be refunded","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`number`","description":"The total of gift cards","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"`number`","description":"The total of gift cards with taxes","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channels","type":"[SalesChannel](../../entities/classes/entities.SalesChannel.mdx)[]","description":"The associated sales channels.","optional":true,"defaultValue":"","expandable":true,"featureFlag":"medusa_v2","children":[]},{"name":"returnable_items","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)[]","description":"The details of the line items that are returnable as part of the order, swaps, or claims","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"swap_id","type":"`string`","description":"The ID of the swap that the line item may belong to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"swap","type":"[Swap](../../entities/classes/entities.Swap.mdx)","description":"The details of the swap that the line item may belong to.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The swap's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_status","type":"[SwapFulfillmentStatus](../../entities/enums/entities.SwapFulfillmentStatus.mdx)","description":"The status of the Fulfillment of the Swap.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_status","type":"[SwapPaymentStatus](../../entities/enums/entities.SwapPaymentStatus.mdx)","description":"The status of the Payment of the Swap. The payment may either refer to the refund of an amount or the authorization of a new amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the order that the swap belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[Order](../../entities/classes/entities.Order.mdx)","description":"The details of the order that the swap belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"additional_items","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)[]","description":"The details of the new products to send to the customer, represented as line items.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"return_order","type":"[Return](../../entities/classes/entities.Return.mdx)","description":"The details of the return that belongs to the swap, which holds the details on the items being returned.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"fulfillments","type":"[Fulfillment](../../entities/classes/entities.Fulfillment.mdx)[]","description":"The details of the fulfillments that are used to send the new items to the customer.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[Payment](../../entities/classes/entities.Payment.mdx)","description":"The details of the additional payment authorized by the customer when `difference\\_due` is positive.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"difference_due","type":"`number`","description":"The difference amount between the order’s original total and the new total imposed by the swap. If its value is negative, a refund must be issues to the customer. If it's positive, additional payment must be authorized by the customer. Otherwise, no payment processing is required.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address_id","type":"`string`","description":"The Address to send the new Line Items to - in most cases this will be the same as the shipping address on the Order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the shipping address that the new items should be sent to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The details of the shipping methods used to fulfill the additional items purchased.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the cart that the customer uses to complete the swap.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[Cart](../../entities/classes/entities.Cart.mdx)","description":"The details of the cart that the customer uses to complete the swap.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"confirmed_at","type":"`Date`","description":"The date with timezone at which the Swap was confirmed by the Customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`Date`","description":"The date with timezone at which the Swap was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"no_notification","type":"`boolean`","description":"If set to true, no notification will be sent related to this swap","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"If true, swaps can be completed with items out of stock","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"idempotency_key","type":"`string`","description":"Randomly generated key used to continue the completion of the swap in case of failure.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"claim_order_id","type":"`string`","description":"The ID of the claim that the line item may belong to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"claim_order","type":"[ClaimOrder](../../entities/classes/entities.ClaimOrder.mdx)","description":"The details of the claim that the line item may belong to.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The claim's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_status","type":"[ClaimPaymentStatus](../../entities/enums/entities.ClaimPaymentStatus.mdx)","description":"The status of the claim's payment","optional":false,"defaultValue":"na","expandable":false,"children":[]},{"name":"fulfillment_status","type":"[ClaimFulfillmentStatus](../../entities/enums/entities.ClaimFulfillmentStatus.mdx)","description":"The claim's fulfillment status","optional":false,"defaultValue":"not_fulfilled","expandable":false,"children":[]},{"name":"claim_items","type":"[ClaimItem](../../entities/classes/entities.ClaimItem.mdx)[]","description":"The details of the items that should be replaced or refunded.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"additional_items","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)[]","description":"The details of the new items to be shipped when the claim's type is `replace`","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"[ClaimType](../../entities/enums/entities.ClaimType.mdx)","description":"The claim's type","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the order that the claim comes from.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[Order](../../entities/classes/entities.Order.mdx)","description":"The details of the order that this claim was created for.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"return_order","type":"[Return](../../entities/classes/entities.Return.mdx)","description":"The details of the return associated with the claim if the claim's type is `replace`.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_address_id","type":"`string`","description":"The ID of the address that the new items should be shipped to","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the address that new items should be shipped to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The details of the shipping methods that the claim order will be shipped with.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"fulfillments","type":"[Fulfillment](../../entities/classes/entities.Fulfillment.mdx)[]","description":"The fulfillments of the new items to be shipped","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"refund_amount","type":"`number`","description":"The amount that will be refunded in conjunction with the claim","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`Date`","description":"The date with timezone at which the claim was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"no_notification","type":"`boolean`","description":"Flag for describing whether or not notifications related to this should be send.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotency_key","type":"`string`","description":"Randomly generated key used to continue the completion of the cart associated with the claim in case of failure.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[LineItemTaxLine](../../entities/classes/entities.LineItemTaxLine.mdx)[]","description":"The details of the item's tax lines.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The line item tax line's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)","description":"The details of the line item.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"rate","type":"`number`","description":"The numeric rate to charge tax by","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"A human friendly name for the tax","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"A code to identify the tax type by","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustment](../../entities/classes/entities.LineItemAdjustment.mdx)[]","description":"The details of the item's adjustments, which are available when a discount is applied on the item.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The Line Item Adjustment's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)","description":"The details of the line item.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"description","type":"`string`","description":"The line item's adjustment description","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount","type":"[Discount](../../entities/classes/entities.Discount.mdx)","description":"The details of the discount associated with the adjustment.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"discount_id","type":"`string`","description":"The ID of the discount associated with the adjustment","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The adjustment amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"title","type":"`string`","description":"The title of the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"A more detailed description of the contents of the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"A URL string to a small image of the contents of the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_return","type":"`boolean`","description":"Is the item being returned","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Flag to indicate if the Line Item is a Gift Card.","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"should_merge","type":"`boolean`","description":"Flag to indicate if new Line Items with the same variant should be merged or added as an additional Line Item.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"allow_discounts","type":"`boolean`","description":"Flag to indicate if the Line Item should be included when doing discount calculations.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"has_shipping","type":"`null` \\| `boolean`","description":"Flag to indicate if the Line Item has fulfillment associated with it.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The price of one unit of the content in the Line Item. This should be in the currency defined by the Cart/Order/Swap/Claim that the Line Item belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The id of the Product Variant contained in the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant","type":"[ProductVariant](../../entities/classes/entities.ProductVariant.mdx)","description":"The details of the product variant that this item was created from.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The product variant's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"A title that can be displayed for easy identification of the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the product that the product variant belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"[Product](../../entities/classes/entities.Product.mdx)","description":"The details of the product that the product variant belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"prices","type":"[MoneyAmount](../../entities/classes/entities.MoneyAmount.mdx)[]","description":"The details of the prices of the Product Variant, each represented as a Money Amount. Each Money Amount represents a price in a given currency or a specific Region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"A generic field for a GTIN number that can be used to identify the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"An EAN barcode number that can be used to identify the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"A UPC barcode number that can be used to identify the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"The ranking of this variant","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The current quantity of the item that is stocked.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the Product Variant should be purchasable when `inventory\\_quantity` is 0.","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether Medusa should manage inventory for the Product Variant.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValue](../../entities/classes/entities.ProductOptionValue.mdx)[]","description":"The details of the product options that this product variant defines values for.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"inventory_items","type":"[ProductVariantInventoryItem](../../entities/classes/entities.ProductVariantInventoryItem.mdx)[]","description":"The details inventory items of the product variant.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"purchasable","type":"`boolean`","description":"Only used with the inventory modules.\nA boolean value indicating whether the Product Variant is purchasable.\nA variant is purchasable if:\n - inventory is not managed\n - it has no inventory items\n - it is in stock\n - it is backorderable.\n","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"product_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the content in the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfilled_quantity","type":"`null` \\| `number`","description":"The quantity of the Line Item that has been fulfilled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"returned_quantity","type":"`null` \\| `number`","description":"The quantity of the Line Item that has been returned.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_quantity","type":"`null` \\| `number`","description":"The quantity of the Line Item that has been shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Indicates if the line item unit\\_price include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]},{"name":"original_item_id","type":"`null` \\| `string`","description":"The ID of the original line item. This is useful if the line item belongs to a resource that references an order, such as a return or an order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`null` \\| `string`","description":"The ID of the order edit that the item may belong to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit","type":"`null` \\| [OrderEdit](../../entities/classes/entities.OrderEdit.mdx)","description":"The details of the order edit.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refundable","type":"`null` \\| `number`","description":"The amount that can be refunded from the given Line Item. Takes taxes and discounts into consideration.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`null` \\| `number`","description":"The subtotal of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`null` \\| `number`","description":"The total of tax of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`null` \\| `number`","description":"The total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`null` \\| `number`","description":"The original total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`null` \\| `number`","description":"The original tax total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`null` \\| `number`","description":"The total of discount of the line item rounded","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"`null` \\| `number`","description":"The total of discount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`null` \\| `number`","description":"The total of the gift card of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"taxLines","type":"([ShippingMethodTaxLine](../../entities/classes/entities.ShippingMethodTaxLine.mdx) \\| [LineItemTaxLine](../../entities/classes/entities.LineItemTaxLine.mdx))[]","description":"The tax lines used for the calculation","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"calculationContext","type":"[TaxCalculationContext](../../medusa/types/medusa.TaxCalculationContext.mdx)","description":"Other details relevant for the calculation","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx) \\| `null`","description":"The shipping address used in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../entities/classes/entities.Customer.mdx)","description":"The customer that the cart belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The customer's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The customer's email","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The customer's first name","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The customer's last name","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address_id","type":"`null` \\| `string`","description":"The customer's billing address ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the billing address associated with the customer.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_addresses","type":"[Address](../../entities/classes/entities.Address.mdx)[]","description":"The details of the shipping addresses associated with the customer.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"password_hash","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The customer's phone number","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"has_account","type":"`boolean`","description":"Whether the customer has an account or not","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"orders","type":"[Order](../../entities/classes/entities.Order.mdx)[]","description":"The details of the orders this customer placed.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"groups","type":"[CustomerGroup](../../entities/classes/entities.CustomerGroup.mdx)[]","description":"The customer groups the customer belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"region","type":"[Region](../../entities/classes/entities.Region.mdx)","description":"The cart's region.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The region's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the region as displayed to the customer. If the Region only has one country it is recommended to write the country name.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The three character currency code used in the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency","type":"[Currency](../../entities/classes/entities.Currency.mdx)","description":"The details of the currency used in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_rate","type":"`number`","description":"The tax rate that should be charged on purchases in the Region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rates","type":"`null` \\| [TaxRate](../../entities/classes/entities.TaxRate.mdx)[]","description":"The details of the tax rates used in the region, aside from the default rate.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_code","type":"`string`","description":"The tax code used on purchases in the Region. This may be used by other systems for accounting purposes.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_cards_taxable","type":"`boolean`","description":"Whether the gift cards are taxable or not in this region.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"automatic_taxes","type":"`boolean`","description":"Whether taxes should be automated in this region.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"countries","type":"[Country](../../entities/classes/entities.Country.mdx)[]","description":"The details of the countries included in this region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_provider_id","type":"`null` \\| `string`","description":"The ID of the tax provider used in this region","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_provider","type":"[TaxProvider](../../entities/classes/entities.TaxProvider.mdx)","description":"The details of the tax provider used in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_providers","type":"[PaymentProvider](../../entities/classes/entities.PaymentProvider.mdx)[]","description":"The details of the payment providers that can be used to process payments in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"fulfillment_providers","type":"[FulfillmentProvider](../../entities/classes/entities.FulfillmentProvider.mdx)[]","description":"The details of the fulfillment providers that can be used to fulfill items of orders and similar resources in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Whether the prices for the region include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]}]},{"name":"is_return","type":"`boolean`","description":"Whether the cart is used in a return flow.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The shipping methods used in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The shipping method's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the Shipping Option that the Shipping Method is built from.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the order that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[Order](../../entities/classes/entities.Order.mdx)","description":"The details of the order that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"claim_order_id","type":"`null` \\| `string`","description":"The ID of the claim that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"claim_order","type":"[ClaimOrder](../../entities/classes/entities.ClaimOrder.mdx)","description":"The details of the claim that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the cart that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[Cart](../../entities/classes/entities.Cart.mdx)","description":"The details of the cart that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"swap_id","type":"`string`","description":"The ID of the swap that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"swap","type":"[Swap](../../entities/classes/entities.Swap.mdx)","description":"The details of the swap that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"return_id","type":"`string`","description":"The ID of the return that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_order","type":"[Return](../../entities/classes/entities.Return.mdx)","description":"The details of the return that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_option","type":"[ShippingOption](../../entities/classes/entities.ShippingOption.mdx)","description":"The details of the shipping option the method was created from.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLine](../../entities/classes/entities.ShippingMethodTaxLine.mdx)[]","description":"The details of the tax lines applied on the shipping method.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"price","type":"`number`","description":"The amount to charge for the Shipping Method. The currency of the price is defined by the Region that the Order that the Shipping Method belongs to is a part of.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data that the Fulfillment Provider needs to fulfill the shipment. This is used in combination with the Shipping Options data, and may contain information such as a drop point id.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Whether the shipping method price include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]},{"name":"subtotal","type":"`number`","description":"The subtotal of the shipping","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"The total amount of the shipping","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"The total of tax","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"allocation_map","type":"[LineAllocationsMap](../../medusa/types/medusa.LineAllocationsMap.mdx)","description":"The gift cards and discounts applied on line items.\nEach object key or property is an ID of a line item","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="calculate"/> #### Returns diff --git a/www/apps/docs/content/references/tax_calculation/interfaces/tax_calculation.ITaxCalculationStrategy.mdx b/www/apps/docs/content/references/tax_calculation/interfaces/tax_calculation.ITaxCalculationStrategy.mdx index 71c2450c407d3..38cf7c35462c3 100644 --- a/www/apps/docs/content/references/tax_calculation/interfaces/tax_calculation.ITaxCalculationStrategy.mdx +++ b/www/apps/docs/content/references/tax_calculation/interfaces/tax_calculation.ITaxCalculationStrategy.mdx @@ -57,7 +57,7 @@ tax conditions and calculation contexts. This method is used whenever taxes are calculated. If automatic tax calculation is disabled in a region, then it's only triggered when taxes are calculated manually as explained in -[this guide](https://docs.medusajs.com/modules/taxes/storefront/manual-calculation). +[this guide](https://docs.medusajs.com/v1/modules/taxes/storefront/manual-calculation). #### Example @@ -93,7 +93,7 @@ async calculate( #### Parameters -`","description":"The context of the cart which can include info like IP or user agent.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`null` \\| `string`","description":"The sales channel ID the cart is associated with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannel](../../entities/classes/entities.SalesChannel.mdx)","description":"The details of the sales channel associated with the cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"sales_channels","type":"[SalesChannel](../../entities/classes/entities.SalesChannel.mdx)[]","description":"The associated sales channels.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_total","type":"`number`","description":"The total of shipping","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"The total of discount rounded","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"`number`","description":"The total of discount","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`null` \\| `number`","description":"The total of items with taxes","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"`null` \\| `number`","description":"The total of shipping with taxes","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`null` \\| `number`","description":"The total of tax","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_total","type":"`number`","description":"The total amount refunded if the order associated with this cart is returned.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"The total amount of the cart","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"The subtotal of the cart","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refundable_amount","type":"`number`","description":"The amount that can be refunded","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`number`","description":"The total of gift cards","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"`number`","description":"The total of gift cards with taxes","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"order_id","type":"`null` \\| `string`","description":"The ID of the order that the line item may belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[Order](../../entities/classes/entities.Order.mdx)","description":"The details of the order that the line item may belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The order's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"object","type":"`\"order\"`","description":"","optional":false,"defaultValue":"\"order\"","expandable":false,"children":[]},{"name":"status","type":"[OrderStatus](../../entities/enums/entities.OrderStatus.mdx)","description":"The order's status","optional":false,"defaultValue":"pending","expandable":false,"children":[]},{"name":"fulfillment_status","type":"[FulfillmentStatus](../../entities/enums/entities.FulfillmentStatus.mdx)","description":"The order's fulfillment status","optional":false,"defaultValue":"not_fulfilled","expandable":false,"children":[]},{"name":"payment_status","type":"[PaymentStatus](../../entities/enums/entities.PaymentStatus.mdx)","description":"The order's payment status","optional":false,"defaultValue":"not_paid","expandable":false,"children":[]},{"name":"display_id","type":"`number`","description":"The order's display ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the cart associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[Cart](../../entities/classes/entities.Cart.mdx)","description":"The details of the cart associated with the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the customer associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../entities/classes/entities.Customer.mdx)","description":"The details of the customer associated with the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"email","type":"`string`","description":"The email associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address_id","type":"`string`","description":"The ID of the billing address associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the billing address associated with the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_address_id","type":"`string`","description":"The ID of the shipping address associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the shipping address associated with the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"region_id","type":"`string`","description":"The ID of the region this order was created in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region","type":"[Region](../../entities/classes/entities.Region.mdx)","description":"The details of the region this order was created in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code that is used in the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency","type":"[Currency](../../entities/classes/entities.Currency.mdx)","description":"The details of the currency used in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_rate","type":"`null` \\| `number`","description":"The order's tax rate","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discounts","type":"[Discount](../../entities/classes/entities.Discount.mdx)[]","description":"The details of the discounts applied on the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"gift_cards","type":"[GiftCard](../../entities/classes/entities.GiftCard.mdx)[]","description":"The details of the gift card used in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The details of the shipping methods used in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[Payment](../../entities/classes/entities.Payment.mdx)[]","description":"The details of the payments used in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"fulfillments","type":"[Fulfillment](../../entities/classes/entities.Fulfillment.mdx)[]","description":"The details of the fulfillments created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"returns","type":"[Return](../../entities/classes/entities.Return.mdx)[]","description":"The details of the returns created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"claims","type":"[ClaimOrder](../../entities/classes/entities.ClaimOrder.mdx)[]","description":"The details of the claims created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[Refund](../../entities/classes/entities.Refund.mdx)[]","description":"The details of the refunds created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"swaps","type":"[Swap](../../entities/classes/entities.Swap.mdx)[]","description":"The details of the swaps created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"draft_order_id","type":"`string`","description":"The ID of the draft order this order was created from.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"draft_order","type":"[DraftOrder](../../entities/classes/entities.DraftOrder.mdx)","description":"The details of the draft order this order was created from.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"edits","type":"[OrderEdit](../../entities/classes/entities.OrderEdit.mdx)[]","description":"The details of the order edits done on the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"items","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)[]","description":"The details of the line items that belong to the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"gift_card_transactions","type":"[GiftCardTransaction](../../entities/classes/entities.GiftCardTransaction.mdx)[]","description":"The gift card transactions made in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"canceled_at","type":"`Date`","description":"The date the order was canceled on.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"no_notification","type":"`boolean`","description":"Flag for describing whether or not notifications related to this should be send.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotency_key","type":"`string`","description":"Randomly generated key used to continue the processing of the order in case of failure.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of an external order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`null` \\| `string`","description":"The ID of the sales channel this order belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannel](../../entities/classes/entities.SalesChannel.mdx)","description":"The details of the sales channel this order belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_total","type":"`number`","description":"The total of shipping","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"`null` \\| `number`","description":"The tax total applied on shipping","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"The total of discount rounded","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"`number`","description":"The total of discount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`null` \\| `number`","description":"The tax total applied on items","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`null` \\| `number`","description":"The total of tax","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_total","type":"`number`","description":"The total amount refunded if the order is returned.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"The total amount of the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"The subtotal of the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"paid_total","type":"`number`","description":"The total amount paid","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"refundable_amount","type":"`number`","description":"The amount that can be refunded","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`number`","description":"The total of gift cards","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"`number`","description":"The total of gift cards with taxes","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channels","type":"[SalesChannel](../../entities/classes/entities.SalesChannel.mdx)[]","description":"The associated sales channels.","optional":true,"defaultValue":"","expandable":true,"featureFlag":"medusa_v2","children":[]},{"name":"returnable_items","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)[]","description":"The details of the line items that are returnable as part of the order, swaps, or claims","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"swap_id","type":"`string`","description":"The ID of the swap that the line item may belong to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"swap","type":"[Swap](../../entities/classes/entities.Swap.mdx)","description":"The details of the swap that the line item may belong to.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The swap's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_status","type":"[SwapFulfillmentStatus](../../entities/enums/entities.SwapFulfillmentStatus.mdx)","description":"The status of the Fulfillment of the Swap.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_status","type":"[SwapPaymentStatus](../../entities/enums/entities.SwapPaymentStatus.mdx)","description":"The status of the Payment of the Swap. The payment may either refer to the refund of an amount or the authorization of a new amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the order that the swap belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[Order](../../entities/classes/entities.Order.mdx)","description":"The details of the order that the swap belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"additional_items","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)[]","description":"The details of the new products to send to the customer, represented as line items.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"return_order","type":"[Return](../../entities/classes/entities.Return.mdx)","description":"The details of the return that belongs to the swap, which holds the details on the items being returned.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"fulfillments","type":"[Fulfillment](../../entities/classes/entities.Fulfillment.mdx)[]","description":"The details of the fulfillments that are used to send the new items to the customer.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[Payment](../../entities/classes/entities.Payment.mdx)","description":"The details of the additional payment authorized by the customer when `difference\\_due` is positive.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"difference_due","type":"`number`","description":"The difference amount between the order’s original total and the new total imposed by the swap. If its value is negative, a refund must be issues to the customer. If it's positive, additional payment must be authorized by the customer. Otherwise, no payment processing is required.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address_id","type":"`string`","description":"The Address to send the new Line Items to - in most cases this will be the same as the shipping address on the Order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the shipping address that the new items should be sent to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The details of the shipping methods used to fulfill the additional items purchased.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the cart that the customer uses to complete the swap.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[Cart](../../entities/classes/entities.Cart.mdx)","description":"The details of the cart that the customer uses to complete the swap.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"confirmed_at","type":"`Date`","description":"The date with timezone at which the Swap was confirmed by the Customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`Date`","description":"The date with timezone at which the Swap was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"no_notification","type":"`boolean`","description":"If set to true, no notification will be sent related to this swap","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"If true, swaps can be completed with items out of stock","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"idempotency_key","type":"`string`","description":"Randomly generated key used to continue the completion of the swap in case of failure.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"claim_order_id","type":"`string`","description":"The ID of the claim that the line item may belong to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"claim_order","type":"[ClaimOrder](../../entities/classes/entities.ClaimOrder.mdx)","description":"The details of the claim that the line item may belong to.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The claim's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_status","type":"[ClaimPaymentStatus](../../entities/enums/entities.ClaimPaymentStatus.mdx)","description":"The status of the claim's payment","optional":false,"defaultValue":"na","expandable":false,"children":[]},{"name":"fulfillment_status","type":"[ClaimFulfillmentStatus](../../entities/enums/entities.ClaimFulfillmentStatus.mdx)","description":"The claim's fulfillment status","optional":false,"defaultValue":"not_fulfilled","expandable":false,"children":[]},{"name":"claim_items","type":"[ClaimItem](../../entities/classes/entities.ClaimItem.mdx)[]","description":"The details of the items that should be replaced or refunded.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"additional_items","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)[]","description":"The details of the new items to be shipped when the claim's type is `replace`","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"[ClaimType](../../entities/enums/entities.ClaimType.mdx)","description":"The claim's type","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the order that the claim comes from.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[Order](../../entities/classes/entities.Order.mdx)","description":"The details of the order that this claim was created for.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"return_order","type":"[Return](../../entities/classes/entities.Return.mdx)","description":"The details of the return associated with the claim if the claim's type is `replace`.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_address_id","type":"`string`","description":"The ID of the address that the new items should be shipped to","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the address that new items should be shipped to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The details of the shipping methods that the claim order will be shipped with.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"fulfillments","type":"[Fulfillment](../../entities/classes/entities.Fulfillment.mdx)[]","description":"The fulfillments of the new items to be shipped","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"refund_amount","type":"`number`","description":"The amount that will be refunded in conjunction with the claim","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`Date`","description":"The date with timezone at which the claim was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"no_notification","type":"`boolean`","description":"Flag for describing whether or not notifications related to this should be send.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotency_key","type":"`string`","description":"Randomly generated key used to continue the completion of the cart associated with the claim in case of failure.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[LineItemTaxLine](../../entities/classes/entities.LineItemTaxLine.mdx)[]","description":"The details of the item's tax lines.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The line item tax line's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)","description":"The details of the line item.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"rate","type":"`number`","description":"The numeric rate to charge tax by","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"A human friendly name for the tax","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"A code to identify the tax type by","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustment](../../entities/classes/entities.LineItemAdjustment.mdx)[]","description":"The details of the item's adjustments, which are available when a discount is applied on the item.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The Line Item Adjustment's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)","description":"The details of the line item.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"description","type":"`string`","description":"The line item's adjustment description","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount","type":"[Discount](../../entities/classes/entities.Discount.mdx)","description":"The details of the discount associated with the adjustment.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"discount_id","type":"`string`","description":"The ID of the discount associated with the adjustment","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The adjustment amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"title","type":"`string`","description":"The title of the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"A more detailed description of the contents of the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"A URL string to a small image of the contents of the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_return","type":"`boolean`","description":"Is the item being returned","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Flag to indicate if the Line Item is a Gift Card.","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"should_merge","type":"`boolean`","description":"Flag to indicate if new Line Items with the same variant should be merged or added as an additional Line Item.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"allow_discounts","type":"`boolean`","description":"Flag to indicate if the Line Item should be included when doing discount calculations.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"has_shipping","type":"`null` \\| `boolean`","description":"Flag to indicate if the Line Item has fulfillment associated with it.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The price of one unit of the content in the Line Item. This should be in the currency defined by the Cart/Order/Swap/Claim that the Line Item belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The id of the Product Variant contained in the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant","type":"[ProductVariant](../../entities/classes/entities.ProductVariant.mdx)","description":"The details of the product variant that this item was created from.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The product variant's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"A title that can be displayed for easy identification of the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the product that the product variant belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"[Product](../../entities/classes/entities.Product.mdx)","description":"The details of the product that the product variant belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"prices","type":"[MoneyAmount](../../entities/classes/entities.MoneyAmount.mdx)[]","description":"The details of the prices of the Product Variant, each represented as a Money Amount. Each Money Amount represents a price in a given currency or a specific Region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"A generic field for a GTIN number that can be used to identify the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"An EAN barcode number that can be used to identify the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"A UPC barcode number that can be used to identify the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"The ranking of this variant","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The current quantity of the item that is stocked.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the Product Variant should be purchasable when `inventory\\_quantity` is 0.","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether Medusa should manage inventory for the Product Variant.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValue](../../entities/classes/entities.ProductOptionValue.mdx)[]","description":"The details of the product options that this product variant defines values for.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"inventory_items","type":"[ProductVariantInventoryItem](../../entities/classes/entities.ProductVariantInventoryItem.mdx)[]","description":"The details inventory items of the product variant.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"purchasable","type":"`boolean`","description":"Only used with the inventory modules.\nA boolean value indicating whether the Product Variant is purchasable.\nA variant is purchasable if:\n - inventory is not managed\n - it has no inventory items\n - it is in stock\n - it is backorderable.\n","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"product_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the content in the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfilled_quantity","type":"`null` \\| `number`","description":"The quantity of the Line Item that has been fulfilled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"returned_quantity","type":"`null` \\| `number`","description":"The quantity of the Line Item that has been returned.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_quantity","type":"`null` \\| `number`","description":"The quantity of the Line Item that has been shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Indicates if the line item unit\\_price include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]},{"name":"original_item_id","type":"`null` \\| `string`","description":"The ID of the original line item. This is useful if the line item belongs to a resource that references an order, such as a return or an order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`null` \\| `string`","description":"The ID of the order edit that the item may belong to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit","type":"`null` \\| [OrderEdit](../../entities/classes/entities.OrderEdit.mdx)","description":"The details of the order edit.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refundable","type":"`null` \\| `number`","description":"The amount that can be refunded from the given Line Item. Takes taxes and discounts into consideration.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`null` \\| `number`","description":"The subtotal of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`null` \\| `number`","description":"The total of tax of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`null` \\| `number`","description":"The total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`null` \\| `number`","description":"The original total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`null` \\| `number`","description":"The original tax total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`null` \\| `number`","description":"The total of discount of the line item rounded","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"`null` \\| `number`","description":"The total of discount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`null` \\| `number`","description":"The total of the gift card of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"taxLines","type":"([LineItemTaxLine](../../entities/classes/entities.LineItemTaxLine.mdx) \\| [ShippingMethodTaxLine](../../entities/classes/entities.ShippingMethodTaxLine.mdx))[]","description":"The tax lines used for the calculation","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"calculationContext","type":"[TaxCalculationContext](../../medusa/types/medusa.TaxCalculationContext.mdx)","description":"Other details relevant for the calculation","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx) \\| `null`","description":"The shipping address used in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../entities/classes/entities.Customer.mdx)","description":"The customer that the cart belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The customer's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The customer's email","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The customer's first name","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The customer's last name","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address_id","type":"`null` \\| `string`","description":"The customer's billing address ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the billing address associated with the customer.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_addresses","type":"[Address](../../entities/classes/entities.Address.mdx)[]","description":"The details of the shipping addresses associated with the customer.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"password_hash","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The customer's phone number","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"has_account","type":"`boolean`","description":"Whether the customer has an account or not","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"orders","type":"[Order](../../entities/classes/entities.Order.mdx)[]","description":"The details of the orders this customer placed.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"groups","type":"[CustomerGroup](../../entities/classes/entities.CustomerGroup.mdx)[]","description":"The customer groups the customer belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"region","type":"[Region](../../entities/classes/entities.Region.mdx)","description":"The cart's region.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The region's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the region as displayed to the customer. If the Region only has one country it is recommended to write the country name.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The three character currency code used in the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency","type":"[Currency](../../entities/classes/entities.Currency.mdx)","description":"The details of the currency used in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_rate","type":"`number`","description":"The tax rate that should be charged on purchases in the Region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rates","type":"`null` \\| [TaxRate](../../entities/classes/entities.TaxRate.mdx)[]","description":"The details of the tax rates used in the region, aside from the default rate.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_code","type":"`string`","description":"The tax code used on purchases in the Region. This may be used by other systems for accounting purposes.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_cards_taxable","type":"`boolean`","description":"Whether the gift cards are taxable or not in this region.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"automatic_taxes","type":"`boolean`","description":"Whether taxes should be automated in this region.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"countries","type":"[Country](../../entities/classes/entities.Country.mdx)[]","description":"The details of the countries included in this region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_provider_id","type":"`null` \\| `string`","description":"The ID of the tax provider used in this region","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_provider","type":"[TaxProvider](../../entities/classes/entities.TaxProvider.mdx)","description":"The details of the tax provider used in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_providers","type":"[PaymentProvider](../../entities/classes/entities.PaymentProvider.mdx)[]","description":"The details of the payment providers that can be used to process payments in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"fulfillment_providers","type":"[FulfillmentProvider](../../entities/classes/entities.FulfillmentProvider.mdx)[]","description":"The details of the fulfillment providers that can be used to fulfill items of orders and similar resources in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Whether the prices for the region include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]}]},{"name":"is_return","type":"`boolean`","description":"Whether the cart is used in a return flow.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The shipping methods used in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The shipping method's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the Shipping Option that the Shipping Method is built from.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the order that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[Order](../../entities/classes/entities.Order.mdx)","description":"The details of the order that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"claim_order_id","type":"`null` \\| `string`","description":"The ID of the claim that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"claim_order","type":"[ClaimOrder](../../entities/classes/entities.ClaimOrder.mdx)","description":"The details of the claim that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the cart that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[Cart](../../entities/classes/entities.Cart.mdx)","description":"The details of the cart that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"swap_id","type":"`string`","description":"The ID of the swap that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"swap","type":"[Swap](../../entities/classes/entities.Swap.mdx)","description":"The details of the swap that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"return_id","type":"`string`","description":"The ID of the return that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_order","type":"[Return](../../entities/classes/entities.Return.mdx)","description":"The details of the return that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_option","type":"[ShippingOption](../../entities/classes/entities.ShippingOption.mdx)","description":"The details of the shipping option the method was created from.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLine](../../entities/classes/entities.ShippingMethodTaxLine.mdx)[]","description":"The details of the tax lines applied on the shipping method.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"price","type":"`number`","description":"The amount to charge for the Shipping Method. The currency of the price is defined by the Region that the Order that the Shipping Method belongs to is a part of.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data that the Fulfillment Provider needs to fulfill the shipment. This is used in combination with the Shipping Options data, and may contain information such as a drop point id.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Whether the shipping method price include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]},{"name":"subtotal","type":"`number`","description":"The subtotal of the shipping","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"The total amount of the shipping","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"The total of tax","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"allocation_map","type":"[LineAllocationsMap](../../medusa/types/medusa.LineAllocationsMap.mdx)","description":"The gift cards and discounts applied on line items.\nEach object key or property is an ID of a line item","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="calculate"/> +`","description":"The context of the cart which can include info like IP or user agent.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`null` \\| `string`","description":"The sales channel ID the cart is associated with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannel](../../entities/classes/entities.SalesChannel.mdx)","description":"The details of the sales channel associated with the cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"sales_channels","type":"[SalesChannel](../../entities/classes/entities.SalesChannel.mdx)[]","description":"The associated sales channels.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_total","type":"`number`","description":"The total of shipping","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"The total of discount rounded","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"`number`","description":"The total of discount","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`null` \\| `number`","description":"The total of items with taxes","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"`null` \\| `number`","description":"The total of shipping with taxes","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`null` \\| `number`","description":"The total of tax","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_total","type":"`number`","description":"The total amount refunded if the order associated with this cart is returned.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"The total amount of the cart","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"The subtotal of the cart","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refundable_amount","type":"`number`","description":"The amount that can be refunded","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`number`","description":"The total of gift cards","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"`number`","description":"The total of gift cards with taxes","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"order_id","type":"`null` \\| `string`","description":"The ID of the order that the line item may belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[Order](../../entities/classes/entities.Order.mdx)","description":"The details of the order that the line item may belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The order's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"object","type":"`\"order\"`","description":"","optional":false,"defaultValue":"\"order\"","expandable":false,"children":[]},{"name":"status","type":"[OrderStatus](../../entities/enums/entities.OrderStatus.mdx)","description":"The order's status","optional":false,"defaultValue":"pending","expandable":false,"children":[]},{"name":"fulfillment_status","type":"[FulfillmentStatus](../../entities/enums/entities.FulfillmentStatus.mdx)","description":"The order's fulfillment status","optional":false,"defaultValue":"not_fulfilled","expandable":false,"children":[]},{"name":"payment_status","type":"[PaymentStatus](../../entities/enums/entities.PaymentStatus.mdx)","description":"The order's payment status","optional":false,"defaultValue":"not_paid","expandable":false,"children":[]},{"name":"display_id","type":"`number`","description":"The order's display ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the cart associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[Cart](../../entities/classes/entities.Cart.mdx)","description":"The details of the cart associated with the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the customer associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../entities/classes/entities.Customer.mdx)","description":"The details of the customer associated with the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"email","type":"`string`","description":"The email associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address_id","type":"`string`","description":"The ID of the billing address associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the billing address associated with the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_address_id","type":"`string`","description":"The ID of the shipping address associated with the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the shipping address associated with the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"region_id","type":"`string`","description":"The ID of the region this order was created in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region","type":"[Region](../../entities/classes/entities.Region.mdx)","description":"The details of the region this order was created in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code that is used in the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency","type":"[Currency](../../entities/classes/entities.Currency.mdx)","description":"The details of the currency used in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_rate","type":"`null` \\| `number`","description":"The order's tax rate","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discounts","type":"[Discount](../../entities/classes/entities.Discount.mdx)[]","description":"The details of the discounts applied on the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"gift_cards","type":"[GiftCard](../../entities/classes/entities.GiftCard.mdx)[]","description":"The details of the gift card used in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The details of the shipping methods used in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[Payment](../../entities/classes/entities.Payment.mdx)[]","description":"The details of the payments used in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"fulfillments","type":"[Fulfillment](../../entities/classes/entities.Fulfillment.mdx)[]","description":"The details of the fulfillments created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"returns","type":"[Return](../../entities/classes/entities.Return.mdx)[]","description":"The details of the returns created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"claims","type":"[ClaimOrder](../../entities/classes/entities.ClaimOrder.mdx)[]","description":"The details of the claims created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[Refund](../../entities/classes/entities.Refund.mdx)[]","description":"The details of the refunds created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"swaps","type":"[Swap](../../entities/classes/entities.Swap.mdx)[]","description":"The details of the swaps created for the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"draft_order_id","type":"`string`","description":"The ID of the draft order this order was created from.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"draft_order","type":"[DraftOrder](../../entities/classes/entities.DraftOrder.mdx)","description":"The details of the draft order this order was created from.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"edits","type":"[OrderEdit](../../entities/classes/entities.OrderEdit.mdx)[]","description":"The details of the order edits done on the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"items","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)[]","description":"The details of the line items that belong to the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"gift_card_transactions","type":"[GiftCardTransaction](../../entities/classes/entities.GiftCardTransaction.mdx)[]","description":"The gift card transactions made in the order.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"canceled_at","type":"`Date`","description":"The date the order was canceled on.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"no_notification","type":"`boolean`","description":"Flag for describing whether or not notifications related to this should be send.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotency_key","type":"`string`","description":"Randomly generated key used to continue the processing of the order in case of failure.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of an external order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`null` \\| `string`","description":"The ID of the sales channel this order belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannel](../../entities/classes/entities.SalesChannel.mdx)","description":"The details of the sales channel this order belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_total","type":"`number`","description":"The total of shipping","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"`null` \\| `number`","description":"The tax total applied on shipping","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"The total of discount rounded","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"`number`","description":"The total of discount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`null` \\| `number`","description":"The tax total applied on items","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`null` \\| `number`","description":"The total of tax","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_total","type":"`number`","description":"The total amount refunded if the order is returned.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"The total amount of the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"The subtotal of the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"paid_total","type":"`number`","description":"The total amount paid","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"refundable_amount","type":"`number`","description":"The amount that can be refunded","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`number`","description":"The total of gift cards","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"`number`","description":"The total of gift cards with taxes","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channels","type":"[SalesChannel](../../entities/classes/entities.SalesChannel.mdx)[]","description":"The associated sales channels.","optional":true,"defaultValue":"","expandable":true,"featureFlag":"medusa_v2","children":[]},{"name":"returnable_items","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)[]","description":"The details of the line items that are returnable as part of the order, swaps, or claims","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"swap_id","type":"`string`","description":"The ID of the swap that the line item may belong to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"swap","type":"[Swap](../../entities/classes/entities.Swap.mdx)","description":"The details of the swap that the line item may belong to.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The swap's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_status","type":"[SwapFulfillmentStatus](../../entities/enums/entities.SwapFulfillmentStatus.mdx)","description":"The status of the Fulfillment of the Swap.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_status","type":"[SwapPaymentStatus](../../entities/enums/entities.SwapPaymentStatus.mdx)","description":"The status of the Payment of the Swap. The payment may either refer to the refund of an amount or the authorization of a new amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the order that the swap belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[Order](../../entities/classes/entities.Order.mdx)","description":"The details of the order that the swap belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"additional_items","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)[]","description":"The details of the new products to send to the customer, represented as line items.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"return_order","type":"[Return](../../entities/classes/entities.Return.mdx)","description":"The details of the return that belongs to the swap, which holds the details on the items being returned.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"fulfillments","type":"[Fulfillment](../../entities/classes/entities.Fulfillment.mdx)[]","description":"The details of the fulfillments that are used to send the new items to the customer.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[Payment](../../entities/classes/entities.Payment.mdx)","description":"The details of the additional payment authorized by the customer when `difference\\_due` is positive.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"difference_due","type":"`number`","description":"The difference amount between the order’s original total and the new total imposed by the swap. If its value is negative, a refund must be issues to the customer. If it's positive, additional payment must be authorized by the customer. Otherwise, no payment processing is required.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address_id","type":"`string`","description":"The Address to send the new Line Items to - in most cases this will be the same as the shipping address on the Order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the shipping address that the new items should be sent to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The details of the shipping methods used to fulfill the additional items purchased.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the cart that the customer uses to complete the swap.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[Cart](../../entities/classes/entities.Cart.mdx)","description":"The details of the cart that the customer uses to complete the swap.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"confirmed_at","type":"`Date`","description":"The date with timezone at which the Swap was confirmed by the Customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`Date`","description":"The date with timezone at which the Swap was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"no_notification","type":"`boolean`","description":"If set to true, no notification will be sent related to this swap","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"If true, swaps can be completed with items out of stock","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"idempotency_key","type":"`string`","description":"Randomly generated key used to continue the completion of the swap in case of failure.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"claim_order_id","type":"`string`","description":"The ID of the claim that the line item may belong to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"claim_order","type":"[ClaimOrder](../../entities/classes/entities.ClaimOrder.mdx)","description":"The details of the claim that the line item may belong to.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The claim's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_status","type":"[ClaimPaymentStatus](../../entities/enums/entities.ClaimPaymentStatus.mdx)","description":"The status of the claim's payment","optional":false,"defaultValue":"na","expandable":false,"children":[]},{"name":"fulfillment_status","type":"[ClaimFulfillmentStatus](../../entities/enums/entities.ClaimFulfillmentStatus.mdx)","description":"The claim's fulfillment status","optional":false,"defaultValue":"not_fulfilled","expandable":false,"children":[]},{"name":"claim_items","type":"[ClaimItem](../../entities/classes/entities.ClaimItem.mdx)[]","description":"The details of the items that should be replaced or refunded.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"additional_items","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)[]","description":"The details of the new items to be shipped when the claim's type is `replace`","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"[ClaimType](../../entities/enums/entities.ClaimType.mdx)","description":"The claim's type","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the order that the claim comes from.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[Order](../../entities/classes/entities.Order.mdx)","description":"The details of the order that this claim was created for.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"return_order","type":"[Return](../../entities/classes/entities.Return.mdx)","description":"The details of the return associated with the claim if the claim's type is `replace`.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_address_id","type":"`string`","description":"The ID of the address that the new items should be shipped to","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the address that new items should be shipped to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The details of the shipping methods that the claim order will be shipped with.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"fulfillments","type":"[Fulfillment](../../entities/classes/entities.Fulfillment.mdx)[]","description":"The fulfillments of the new items to be shipped","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"refund_amount","type":"`number`","description":"The amount that will be refunded in conjunction with the claim","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`Date`","description":"The date with timezone at which the claim was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"no_notification","type":"`boolean`","description":"Flag for describing whether or not notifications related to this should be send.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotency_key","type":"`string`","description":"Randomly generated key used to continue the completion of the cart associated with the claim in case of failure.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[LineItemTaxLine](../../entities/classes/entities.LineItemTaxLine.mdx)[]","description":"The details of the item's tax lines.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The line item tax line's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)","description":"The details of the line item.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"rate","type":"`number`","description":"The numeric rate to charge tax by","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"A human friendly name for the tax","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"A code to identify the tax type by","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustment](../../entities/classes/entities.LineItemAdjustment.mdx)[]","description":"The details of the item's adjustments, which are available when a discount is applied on the item.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The Line Item Adjustment's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[LineItem](../../entities/classes/entities.LineItem.mdx)","description":"The details of the line item.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"description","type":"`string`","description":"The line item's adjustment description","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount","type":"[Discount](../../entities/classes/entities.Discount.mdx)","description":"The details of the discount associated with the adjustment.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"discount_id","type":"`string`","description":"The ID of the discount associated with the adjustment","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The adjustment amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"title","type":"`string`","description":"The title of the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"A more detailed description of the contents of the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"A URL string to a small image of the contents of the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_return","type":"`boolean`","description":"Is the item being returned","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Flag to indicate if the Line Item is a Gift Card.","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"should_merge","type":"`boolean`","description":"Flag to indicate if new Line Items with the same variant should be merged or added as an additional Line Item.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"allow_discounts","type":"`boolean`","description":"Flag to indicate if the Line Item should be included when doing discount calculations.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"has_shipping","type":"`null` \\| `boolean`","description":"Flag to indicate if the Line Item has fulfillment associated with it.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The price of one unit of the content in the Line Item. This should be in the currency defined by the Cart/Order/Swap/Claim that the Line Item belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The id of the Product Variant contained in the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant","type":"[ProductVariant](../../entities/classes/entities.ProductVariant.mdx)","description":"The details of the product variant that this item was created from.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The product variant's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"A title that can be displayed for easy identification of the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the product that the product variant belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"[Product](../../entities/classes/entities.Product.mdx)","description":"The details of the product that the product variant belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"prices","type":"[MoneyAmount](../../entities/classes/entities.MoneyAmount.mdx)[]","description":"The details of the prices of the Product Variant, each represented as a Money Amount. Each Money Amount represents a price in a given currency or a specific Region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"A generic field for a GTIN number that can be used to identify the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"An EAN barcode number that can be used to identify the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"A UPC barcode number that can be used to identify the Product Variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"The ranking of this variant","optional":false,"defaultValue":"0","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The current quantity of the item that is stocked.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the Product Variant should be purchasable when `inventory\\_quantity` is 0.","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether Medusa should manage inventory for the Product Variant.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the Product Variant. May be used in shipping rate calculations.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValue](../../entities/classes/entities.ProductOptionValue.mdx)[]","description":"The details of the product options that this product variant defines values for.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"inventory_items","type":"[ProductVariantInventoryItem](../../entities/classes/entities.ProductVariantInventoryItem.mdx)[]","description":"The details inventory items of the product variant.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"purchasable","type":"`boolean`","description":"Only used with the inventory modules.\nA boolean value indicating whether the Product Variant is purchasable.\nA variant is purchasable if:\n - inventory is not managed\n - it has no inventory items\n - it is in stock\n - it is backorderable.\n","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"product_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the content in the Line Item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfilled_quantity","type":"`null` \\| `number`","description":"The quantity of the Line Item that has been fulfilled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"returned_quantity","type":"`null` \\| `number`","description":"The quantity of the Line Item that has been returned.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_quantity","type":"`null` \\| `number`","description":"The quantity of the Line Item that has been shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Indicates if the line item unit\\_price include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]},{"name":"original_item_id","type":"`null` \\| `string`","description":"The ID of the original line item. This is useful if the line item belongs to a resource that references an order, such as a return or an order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`null` \\| `string`","description":"The ID of the order edit that the item may belong to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit","type":"`null` \\| [OrderEdit](../../entities/classes/entities.OrderEdit.mdx)","description":"The details of the order edit.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refundable","type":"`null` \\| `number`","description":"The amount that can be refunded from the given Line Item. Takes taxes and discounts into consideration.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`null` \\| `number`","description":"The subtotal of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`null` \\| `number`","description":"The total of tax of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`null` \\| `number`","description":"The total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`null` \\| `number`","description":"The original total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`null` \\| `number`","description":"The original tax total amount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`null` \\| `number`","description":"The total of discount of the line item rounded","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"`null` \\| `number`","description":"The total of discount of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`null` \\| `number`","description":"The total of the gift card of the line item","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"taxLines","type":"([ShippingMethodTaxLine](../../entities/classes/entities.ShippingMethodTaxLine.mdx) \\| [LineItemTaxLine](../../entities/classes/entities.LineItemTaxLine.mdx))[]","description":"The tax lines used for the calculation","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"calculationContext","type":"[TaxCalculationContext](../../medusa/types/medusa.TaxCalculationContext.mdx)","description":"Other details relevant for the calculation","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"shipping_address","type":"[Address](../../entities/classes/entities.Address.mdx) \\| `null`","description":"The shipping address used in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[Customer](../../entities/classes/entities.Customer.mdx)","description":"The customer that the cart belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The customer's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The customer's email","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The customer's first name","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The customer's last name","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address_id","type":"`null` \\| `string`","description":"The customer's billing address ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address","type":"[Address](../../entities/classes/entities.Address.mdx)","description":"The details of the billing address associated with the customer.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_addresses","type":"[Address](../../entities/classes/entities.Address.mdx)[]","description":"The details of the shipping addresses associated with the customer.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"password_hash","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The customer's phone number","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"has_account","type":"`boolean`","description":"Whether the customer has an account or not","optional":false,"defaultValue":"false","expandable":false,"children":[]},{"name":"orders","type":"[Order](../../entities/classes/entities.Order.mdx)[]","description":"The details of the orders this customer placed.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"groups","type":"[CustomerGroup](../../entities/classes/entities.CustomerGroup.mdx)[]","description":"The customer groups the customer belongs to.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"region","type":"[Region](../../entities/classes/entities.Region.mdx)","description":"The cart's region.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The region's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date with timezone at which the resource was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date with timezone at which the resource was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The date with timezone at which the resource was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the region as displayed to the customer. If the Region only has one country it is recommended to write the country name.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The three character currency code used in the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency","type":"[Currency](../../entities/classes/entities.Currency.mdx)","description":"The details of the currency used in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_rate","type":"`number`","description":"The tax rate that should be charged on purchases in the Region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rates","type":"`null` \\| [TaxRate](../../entities/classes/entities.TaxRate.mdx)[]","description":"The details of the tax rates used in the region, aside from the default rate.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_code","type":"`string`","description":"The tax code used on purchases in the Region. This may be used by other systems for accounting purposes.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_cards_taxable","type":"`boolean`","description":"Whether the gift cards are taxable or not in this region.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"automatic_taxes","type":"`boolean`","description":"Whether taxes should be automated in this region.","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"countries","type":"[Country](../../entities/classes/entities.Country.mdx)[]","description":"The details of the countries included in this region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_provider_id","type":"`null` \\| `string`","description":"The ID of the tax provider used in this region","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_provider","type":"[TaxProvider](../../entities/classes/entities.TaxProvider.mdx)","description":"The details of the tax provider used in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_providers","type":"[PaymentProvider](../../entities/classes/entities.PaymentProvider.mdx)[]","description":"The details of the payment providers that can be used to process payments in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"fulfillment_providers","type":"[FulfillmentProvider](../../entities/classes/entities.FulfillmentProvider.mdx)[]","description":"The details of the fulfillment providers that can be used to fulfill items of orders and similar resources in the region.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`Record`","description":"An optional key-value map with additional details","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Whether the prices for the region include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]}]},{"name":"is_return","type":"`boolean`","description":"Whether the cart is used in a return flow.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_methods","type":"[ShippingMethod](../../entities/classes/entities.ShippingMethod.mdx)[]","description":"The shipping methods used in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The shipping method's ID","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the Shipping Option that the Shipping Method is built from.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the order that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[Order](../../entities/classes/entities.Order.mdx)","description":"The details of the order that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"claim_order_id","type":"`null` \\| `string`","description":"The ID of the claim that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"claim_order","type":"[ClaimOrder](../../entities/classes/entities.ClaimOrder.mdx)","description":"The details of the claim that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the cart that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[Cart](../../entities/classes/entities.Cart.mdx)","description":"The details of the cart that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"swap_id","type":"`string`","description":"The ID of the swap that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"swap","type":"[Swap](../../entities/classes/entities.Swap.mdx)","description":"The details of the swap that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"return_id","type":"`string`","description":"The ID of the return that the shipping method is used in.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_order","type":"[Return](../../entities/classes/entities.Return.mdx)","description":"The details of the return that the shipping method is used in.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_option","type":"[ShippingOption](../../entities/classes/entities.ShippingOption.mdx)","description":"The details of the shipping option the method was created from.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLine](../../entities/classes/entities.ShippingMethodTaxLine.mdx)[]","description":"The details of the tax lines applied on the shipping method.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"price","type":"`number`","description":"The amount to charge for the Shipping Method. The currency of the price is defined by the Region that the Order that the Shipping Method belongs to is a part of.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data that the Fulfillment Provider needs to fulfill the shipment. This is used in combination with the Shipping Options data, and may contain information such as a drop point id.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Whether the shipping method price include tax","optional":false,"defaultValue":"false","expandable":false,"featureFlag":"tax_inclusive_pricing","children":[]},{"name":"subtotal","type":"`number`","description":"The subtotal of the shipping","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"The total amount of the shipping","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"The total of tax","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"allocation_map","type":"[LineAllocationsMap](../../medusa/types/medusa.LineAllocationsMap.mdx)","description":"The gift cards and discounts applied on line items.\nEach object key or property is an ID of a line item","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="calculate"/> #### Returns diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.AddToCartWorkflowInputDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.AddToCartWorkflowInputDTO.mdx new file mode 100644 index 0000000000000..de5d9ee60cd24 --- /dev/null +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.AddToCartWorkflowInputDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AddToCartWorkflowInputDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart","type":"[CartWorkflowDTO](types.CartTypes.CartWorkflowDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency of the cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original item total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original item subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original item tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart. (Excluding taxes)","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The gift card total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The gift card tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The shipping total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The shipping subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The shipping tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original shipping total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original shipping subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original shipping tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original item total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original item subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original item tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart. (Excluding taxes)","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_gift_card_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw gift card total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_gift_card_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw gift card tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_shipping_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipping total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_shipping_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipping subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_shipping_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipping tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_shipping_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original shipping total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_shipping_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original shipping subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_shipping_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original shipping tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"region_id","type":"`string`","description":"The ID of the region the cart belongs to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the associated customer","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string`","description":"The ID of the sales channel the cart belongs to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The email of the customer that owns the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated shipping address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]","description":"The associated line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The line item's quantity in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The unit price of the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[CustomerDTO](../../CustomerTypes/interfaces/types.CustomerTypes.CustomerDTO.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The email of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"has_account","type":"`boolean`","description":"A flag indicating if customer has an account or not.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_billing_address_id","type":"`null` \\| `string`","description":"The associated default billing address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_shipping_address_id","type":"`null` \\| `string`","description":"The associated default shipping address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company_name","type":"`null` \\| `string`","description":"The company name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"addresses","type":"[CustomerAddressDTO](../../CustomerTypes/interfaces/types.CustomerTypes.CustomerAddressDTO.mdx)[]","description":"The addresses of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"The groups of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"product","type":"[ProductDTO](../../../medusa/interfaces/medusa.ProductDTO.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../../../medusa/enums/medusa.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tags","type":"[ProductTagDTO](../../../medusa/interfaces/medusa.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"variants","type":"[ProductVariantDTO](../../../medusa/interfaces/medusa.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"options","type":"[ProductOptionDTO](../../../medusa/interfaces/medusa.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"images","type":"[ProductImageDTO](../../../medusa/interfaces/medusa.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](../../../medusa/interfaces/medusa.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](../../../medusa/interfaces/medusa.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](../../../medusa/interfaces/medusa.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"region","type":"[RegionDTO](../../interfaces/types.RegionDTO.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency code of the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"automatic_taxes","type":"`boolean`","description":"Setting to indicate whether taxes need to be applied automatically","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"countries","type":"[RegionCountryDTO](../../interfaces/types.RegionCountryDTO.mdx)[]","description":"The countries of the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](../../interfaces/types.PaymentProviderDTO.mdx)[]","description":"Payment providers available in the region","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"The date the region was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"The date the region was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="AddToCartWorkflowInputDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.AdjustmentLineDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.AdjustmentLineDTO.mdx index f9ee7d2d54522..c3f661727a53d 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.AdjustmentLineDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.AdjustmentLineDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # AdjustmentLineDTO +The adjustment line details. + ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartAddressDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartAddressDTO.mdx index 11a1c7611972e..02517f9475608 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartAddressDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartAddressDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CartAddressDTO +The cart address details. + ## Properties -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CartAddressDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CartAddressDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartDTO.mdx index 09426e0a8b344..6e3abeccf7005 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CartDTO +The cart details. + ## Properties -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]","description":"The associated line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The line item quantity","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The price of the item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency of the cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The ID of the region the cart belongs to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the customer on the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string`","description":"The ID of the sales channel the cart belongs to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The email of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated shipping address.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"billing_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"items","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]","description":"The associated line items.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_methods","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The url of the line item thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The product ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The product title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The product description of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The product subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The product type of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The product collection of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The product handle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The variant ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The variant sku of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The variant barcode of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The variant title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The variant option values of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The original price of the item before an adjustment or a sale.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CartDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]","description":"The associated line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The line item's quantity in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The unit price of the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency of the cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original item total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original item subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original item tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart. (Excluding taxes)","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The gift card total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The gift card tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The shipping total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The shipping subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The shipping tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original shipping total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original shipping subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original shipping tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original item total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original item subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original item tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart. (Excluding taxes)","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_gift_card_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw gift card total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_gift_card_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw gift card tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipping_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipping total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipping_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipping subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipping_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipping tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_shipping_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original shipping total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_shipping_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original shipping subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_shipping_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original shipping tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The ID of the region the cart belongs to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the associated customer","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string`","description":"The ID of the sales channel the cart belongs to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The email of the customer that owns the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated shipping address.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"billing_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"items","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]","description":"The associated line items.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_methods","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"The description of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CartDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartLineItemDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartLineItemDTO.mdx index af1ec52f6643a..df58ff870a9d0 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartLineItemDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartLineItemDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CartLineItemDTO +The cart line item details. + ## Properties -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]","description":"The associated line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The line item quantity","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The price of the item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The url of the line item thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The product ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The product title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The product description of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The product subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The product type of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The product collection of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The product handle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The variant ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The variant sku of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The variant barcode of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The variant title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The variant option values of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The original price of the item before an adjustment or a sale.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The url of the line item thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The product ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The product title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The product description of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The product subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The product type of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The product collection of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The product handle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The variant ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The variant sku of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The variant barcode of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The variant title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The variant option values of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The original price of the item before an adjustment or a sale.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The line item quantity","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The price of the item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The url of the line item thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The product ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The product title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The product description of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The product subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The product type of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The product collection of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The product handle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The variant ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The variant sku of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The variant barcode of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The variant title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The variant option values of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The original price of the item before an adjustment or a sale.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The line item quantity","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The price of the item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The url of the line item thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The product ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The product title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The product description of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The product subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The product type of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The product collection of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The product handle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The variant ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The variant sku of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The variant barcode of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The variant title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The variant option values of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The original price of the item before an adjustment or a sale.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CartLineItemDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]","description":"The associated line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The line item's quantity in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The unit price of the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The line item's quantity in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The unit price of the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The line item's quantity in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The unit price of the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CartLineItemDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartLineItemTotalsDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartLineItemTotalsDTO.mdx new file mode 100644 index 0000000000000..2ed82475e2f85 --- /dev/null +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartLineItemTotalsDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CartLineItemTotalsDTO + +The cart line item totals details. + +## Properties + + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartShippingMethodDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartShippingMethodDTO.mdx index f648d633f5129..e844669851d66 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartShippingMethodDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartShippingMethodDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CartShippingMethodDTO +The cart shipping method details. + ## Properties -`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CartShippingMethodDTO"/> +`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CartShippingMethodDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartWorkflowDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartWorkflowDTO.mdx new file mode 100644 index 0000000000000..13b84b06b01bd --- /dev/null +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CartWorkflowDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CartWorkflowDTO + +The cart details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]","description":"The associated line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The line item's quantity in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The unit price of the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency of the cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original item total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original item subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original item tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart. (Excluding taxes)","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The gift card total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The gift card tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The shipping total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The shipping subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The shipping tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original shipping total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original shipping subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original shipping tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original item total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original item subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original item tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart. (Excluding taxes)","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_gift_card_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw gift card total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_gift_card_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw gift card tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipping_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipping total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipping_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipping subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipping_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipping tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_shipping_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original shipping total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_shipping_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original shipping subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_shipping_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original shipping tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The ID of the region the cart belongs to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the associated customer","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string`","description":"The ID of the sales channel the cart belongs to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The email of the customer that owns the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated shipping address.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"billing_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"items","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]","description":"The associated line items.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_methods","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"The description of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[CustomerDTO](../../CustomerTypes/interfaces/types.CustomerTypes.CustomerDTO.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The email of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"has_account","type":"`boolean`","description":"A flag indicating if customer has an account or not.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_billing_address_id","type":"`null` \\| `string`","description":"The associated default billing address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_shipping_address_id","type":"`null` \\| `string`","description":"The associated default shipping address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company_name","type":"`null` \\| `string`","description":"The company name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"addresses","type":"[CustomerAddressDTO](../../CustomerTypes/interfaces/types.CustomerTypes.CustomerAddressDTO.mdx)[]","description":"The addresses of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the customer address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default_shipping","type":"`boolean`","description":"Whether the customer address is default shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default_billing","type":"`boolean`","description":"Whether the customer address is default billing.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The associated customer's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"The created at of the customer address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"The updated at of the customer address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_name","type":"`string`","description":"The address name of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The address 1 of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The address 2 of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"The groups of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the group.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the group.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"product","type":"[ProductDTO](../../../medusa/interfaces/medusa.ProductDTO.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"Whether the product is a gift card.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[ProductStatus](../../../medusa/enums/medusa.ProductStatus.mdx)","description":"The status of the product.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"DRAFT","type":"`\"draft\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PROPOSED","type":"`\"proposed\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PUBLISHED","type":"`\"published\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REJECTED","type":"`\"rejected\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tags","type":"[ProductTagDTO](../../../medusa/interfaces/medusa.ProductTagDTO.mdx)[]","description":"The associated product tags.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string`","description":"The value of the product tag.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"products","type":"[ProductDTO](../../../medusa/interfaces/medusa.ProductDTO.mdx)[]","description":"The associated products.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"variants","type":"[ProductVariantDTO](../../../medusa/interfaces/medusa.ProductVariantDTO.mdx)[]","description":"The associated product variants.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The tile of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_quantity","type":"`number`","description":"The inventory quantiy of the product variant.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[ProductOptionValueDTO](../../../medusa/interfaces/medusa.ProductOptionValueDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product variant was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product variant was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product variant was deleted.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`null` \\| `string`","description":"The SKU of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`null` \\| `string`","description":"The barcode of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ean","type":"`null` \\| `string`","description":"The EAN of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"upc","type":"`null` \\| `string`","description":"The UPC of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"allow_backorder","type":"`boolean`","description":"Whether the product variant can be ordered when it's out of stock.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manage_inventory","type":"`boolean`","description":"Whether the product variant's inventory should be managed by the core system.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](../../../medusa/interfaces/medusa.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_rank","type":"`null` \\| `number`","description":"he ranking of the variant among other variants associated with the product.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"options","type":"[ProductOptionDTO](../../../medusa/interfaces/medusa.ProductOptionDTO.mdx)[]","description":"The associated product options.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the product option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"values","type":"[ProductOptionValueDTO](../../../medusa/interfaces/medusa.ProductOptionValueDTO.mdx)[]","description":"The associated product option values.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product option was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product option was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product","type":"`null` \\| [ProductDTO](../../../medusa/interfaces/medusa.ProductDTO.mdx)","description":"The associated product.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The associated product id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product option was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"images","type":"[ProductImageDTO](../../../medusa/interfaces/medusa.ProductImageDTO.mdx)[]","description":"The associated product images.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"url","type":"`string`","description":"The URL of the product image.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product image was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product image was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product image was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"handle","type":"`null` \\| `string`","description":"The handle of the product. The handle can be used to create slug URL paths.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subttle of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The URL of the product's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"width","type":"`null` \\| `number`","description":"The width of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"weight","type":"`null` \\| `number`","description":"The weight of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"length","type":"`null` \\| `number`","description":"The length of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"height","type":"`null` \\| `number`","description":"The height of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"origin_country","type":"`null` \\| `string`","description":"The origin country of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"hs_code","type":"`null` \\| `string`","description":"The HS Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"mid_code","type":"`null` \\| `string`","description":"The MID Code of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"material","type":"`null` \\| `string`","description":"The material of the product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"collection","type":"`null` \\| [ProductCollectionDTO](../../../medusa/interfaces/medusa.ProductCollectionDTO.mdx)","description":"The associated product collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"collection_id","type":"`null` \\| `string`","description":"The associated product collection id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"categories","type":"`null` \\| [ProductCategoryDTO](../../../medusa/interfaces/medusa.ProductCategoryDTO.mdx)[]","description":"The associated product categories.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type","type":"`null` \\| [ProductTypeDTO](../../../medusa/interfaces/medusa.ProductTypeDTO.mdx)","description":"The associated product type.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"type_id","type":"`null` \\| `string`","description":"The associated product type id.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discountable","type":"`boolean`","description":"Whether the product can be discounted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"external_id","type":"`null` \\| `string`","description":"The ID of the product in an external system. This is useful if you're integrating the product with a third-party service and want to maintain\na reference to the ID in the integrated service.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the product was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the product was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"When the product was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"region","type":"[RegionDTO](../../interfaces/types.RegionDTO.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency code of the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"automatic_taxes","type":"`boolean`","description":"Setting to indicate whether taxes need to be applied automatically","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"countries","type":"[RegionCountryDTO](../../interfaces/types.RegionCountryDTO.mdx)[]","description":"The countries of the region.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the country.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"iso_2","type":"`string`","description":"The ISO 2 code of the country.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"iso_3","type":"`string`","description":"The ISO 3 code of the country.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"num_code","type":"`number`","description":"The country's code number.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the country.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"display_name","type":"`string`","description":"The display name of the country.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_providers","type":"[PaymentProviderDTO](../../interfaces/types.PaymentProviderDTO.mdx)[]","description":"Payment providers available in the region","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_enabled","type":"`string`","description":"Whether the payment provider is enabled.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string`","description":"The date the region was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"The date the region was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CartWorkflowDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateAddressDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateAddressDTO.mdx index 2daa65f9a227e..f6646f7183367 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateAddressDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateAddressDTO.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateAddressDTO -ADDRESS START +The address to be created. ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateAddressDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateAddressDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateAdjustmentDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateAdjustmentDTO.mdx index 2882bd3a168e9..87fe7c086859d 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateAdjustmentDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateAdjustmentDTO.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateAdjustmentDTO -ADJUSTMENT START +The adjustment to be created. ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateCartAddressDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateCartAddressDTO.mdx new file mode 100644 index 0000000000000..b8bcbab42a1b1 --- /dev/null +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateCartAddressDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateCartAddressDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateCartAddressDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateCartCreateLineItemDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateCartCreateLineItemDTO.mdx new file mode 100644 index 0000000000000..5868471742de5 --- /dev/null +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateCartCreateLineItemDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateCartCreateLineItemDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateCartCreateLineItemDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateCartDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateCartDTO.mdx index 511c2e795cf18..7861110e073d1 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateCartDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateCartDTO.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateCartDTO -CART START +The cart to be created. ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[CreateLineItemDTO](types.CartTypes.CreateLineItemDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="CreateCartDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[CreateLineItemDTO](types.CartTypes.CreateLineItemDTO.mdx)[]","description":"The items of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The quantity of the line item in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The unit price of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The thumbnail of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The associated cart's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The associated product's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The SKU of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item's amount is tax inclusive.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The calculated price of the line item after applying promotions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"The tax lines of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The associated tax rate's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"The adjustments of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The associated promotion's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="CreateCartDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateCartWorkflowInputDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateCartWorkflowInputDTO.mdx new file mode 100644 index 0000000000000..e5c41c741f26d --- /dev/null +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateCartWorkflowInputDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateCartWorkflowInputDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[CreateCartCreateLineItemDTO](types.CartTypes.CreateCartCreateLineItemDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_giftcard","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"promo_codes","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateCartWorkflowInputDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateLineItemAdjustmentDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateLineItemAdjustmentDTO.mdx index f9d3f714405e7..f39bb69fa3e49 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateLineItemAdjustmentDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateLineItemAdjustmentDTO.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateLineItemAdjustmentDTO -ADJUSTMENT START +The line item adjustment to be created. ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateLineItemDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateLineItemDTO.mdx index 6d19f2d6fe6c6..304322d811340 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateLineItemDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateLineItemDTO.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateLineItemDTO -LINE ITEMS START +The line item to be created. ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CreateLineItemDTO"/> +`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item's amount is tax inclusive.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The calculated price of the line item after applying promotions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"The tax lines of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The associated tax rate's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"The adjustments of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The associated promotion's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CreateLineItemDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateLineItemForCartDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateLineItemForCartDTO.mdx index d24873dd6706c..076bdf43489a2 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateLineItemForCartDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateLineItemForCartDTO.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateLineItemForCartDTO -LINE ITEMS START +The line item to be created in a cart. ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CreateLineItemForCartDTO"/> +`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item's amount is tax inclusive.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The calculated price of the line item after applying promotions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"The tax lines of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The associated tax rate's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"The adjustments of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The associated promotion's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CreateLineItemForCartDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateLineItemTaxLineDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateLineItemTaxLineDTO.mdx index a575a8619f634..45b46117658f5 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateLineItemTaxLineDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateLineItemTaxLineDTO.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateLineItemTaxLineDTO -TAX LINES START +The line item tax line to be created. ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreatePaymentCollectionForCartWorkflowInputDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreatePaymentCollectionForCartWorkflowInputDTO.mdx new file mode 100644 index 0000000000000..e6de873829c66 --- /dev/null +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreatePaymentCollectionForCartWorkflowInputDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreatePaymentCollectionForCartWorkflowInputDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreatePaymentCollectionForCartWorkflowInputDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateShippingMethodAdjustmentDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateShippingMethodAdjustmentDTO.mdx index 331c2597bddc2..e893f49956255 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateShippingMethodAdjustmentDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateShippingMethodAdjustmentDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateShippingMethodAdjustmentDTO +The shipping method adjustment to be created. + ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateShippingMethodDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateShippingMethodDTO.mdx index f90d81059f21b..af828f48274b6 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateShippingMethodDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateShippingMethodDTO.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateShippingMethodDTO -SHIPPING METHODS START +The shipping method to be created. ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CreateShippingMethodDTO"/> +`","description":"The data of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"The tax lines of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The associated tax rate's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"The adjustments of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The associated promotion's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CreateShippingMethodDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateShippingMethodForSingleCartDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateShippingMethodForSingleCartDTO.mdx index d38dd6adc0c19..8b4e660442223 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateShippingMethodForSingleCartDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateShippingMethodForSingleCartDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateShippingMethodForSingleCartDTO +The shipping method to be created in a cart. + ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CreateShippingMethodForSingleCartDTO"/> +`","description":"The data of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"The tax lines of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The associated tax rate's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"The adjustments of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The associated promotion's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CreateShippingMethodForSingleCartDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateShippingMethodTaxLineDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateShippingMethodTaxLineDTO.mdx index b78b5305f6c7c..b1e6ef0fafcad 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateShippingMethodTaxLineDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateShippingMethodTaxLineDTO.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateShippingMethodTaxLineDTO -TAX LINES START +The shipping method tax line to be created. ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateTaxLineDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateTaxLineDTO.mdx index bcbda95783dac..50f671f4335e2 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateTaxLineDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.CreateTaxLineDTO.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateTaxLineDTO -TAX LINES START +The tax line to be created. ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableAddressProps.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableAddressProps.mdx index f50185483599e..3959529e29d33 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableAddressProps.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableAddressProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterableAddressProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved addresss. ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableCartProps.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableCartProps.mdx index 22aed31f32460..269da8b79166b 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableCartProps.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableCartProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterableCartProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved carts. ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableLineItemAdjustmentProps.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableLineItemAdjustmentProps.mdx index 8ba53da6a84c5..fb7c6d4a601c0 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableLineItemAdjustmentProps.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableLineItemAdjustmentProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterableLineItemAdjustmentProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved line item adjustments. ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableLineItemProps.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableLineItemProps.mdx index a2dcd77bbdaf0..8184490f0b797 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableLineItemProps.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableLineItemProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterableLineItemProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved line items. ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableLineItemTaxLineProps.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableLineItemTaxLineProps.mdx index 86af48d79a346..6248181008b86 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableLineItemTaxLineProps.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableLineItemTaxLineProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterableLineItemTaxLineProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved line item tax lines. ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableShippingMethodAdjustmentProps.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableShippingMethodAdjustmentProps.mdx index 391ff3a2ed653..e4bc92e083fe6 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableShippingMethodAdjustmentProps.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableShippingMethodAdjustmentProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterableShippingMethodAdjustmentProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved shipping method adjustments. ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableShippingMethodProps.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableShippingMethodProps.mdx index 0d72e122d9fc5..2fa15f6b8c044 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableShippingMethodProps.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableShippingMethodProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterableShippingMethodProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved shipping methods. ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableShippingMethodTaxLineProps.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableShippingMethodTaxLineProps.mdx index b23ed8ff98178..9f614e524a167 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableShippingMethodTaxLineProps.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.FilterableShippingMethodTaxLineProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterableShippingMethodTaxLineProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved shipping method tax lines. ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.ICartModuleService.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.ICartModuleService.mdx index 50b59ef989609..7438909419057 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.ICartModuleService.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.ICartModuleService.mdx @@ -2,702 +2,2222 @@ import TypeList from "@site/src/components/TypeList" # ICartModuleService +The main service interface for the Cart Module. + ## Methods ### retrieve +This method retrieves a cart by its ID. + +#### Example + +A simple example that retrieves a cart by its ID: + +```ts +const cart = await cartModuleService.retrieve("cart_123") +``` + +To specify relations that should be retrieved: + +```ts +const cart = await cartModuleService.retrieve("cart_123", { + relations: ["shipping_address"], +}) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieve"/> #### Returns -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]","description":"The associated line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The line item quantity","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The price of the item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The url of the line item thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The product ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The product title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The product description of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The product subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The product type of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The product collection of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The product handle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The variant ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The variant sku of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The variant barcode of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The variant title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The variant option values of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The original price of the item before an adjustment or a sale.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieve"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]","description":"The associated line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The line item's quantity in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The unit price of the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieve"/> ### list +This method retrieves a paginated list of carts based on optional filters and configuration. + +#### Example + +To retrieve a list of carts using their IDs: + +```ts +const carts = await cartModuleService.list({ + id: ["cart_123", "cart_321"], +}) +``` + +To specify relations that should be retrieved within the carts: + +```ts +const carts = await cartModuleService.list( + { + id: ["cart_123", "cart_321"], + }, + { + relations: ["shipping_address"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const carts = await cartModuleService.list( + { + id: ["cart_123", "cart_321"], + }, + { + relations: ["shipping_address"], + take: 20, + skip: 2, + } +) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> #### Returns - + ### listAndCount +This method retrieves a paginated list of carts along with the total count of available carts satisfying the provided filters. + +#### Example + +To retrieve a list of carts using their IDs: + +```ts +const [carts, count] = await cartModuleService.listAndCount({ + id: ["cart_123", "cart_321"], +}) +``` + +To specify relations that should be retrieved within the carts: + +```ts +const [carts, count] = await cartModuleService.listAndCount( + { + id: ["cart_123", "cart_321"], + }, + { + relations: ["shipping_address"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [carts, count] = await cartModuleService.listAndCount( + { + id: ["cart_123", "cart_321"], + }, + { + relations: ["shipping_address"], + take: 20, + skip: 2, + } +) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> #### Returns - + ### create `**create**(data, sharedContext?): Promise<[CartDTO](types.CartTypes.CartDTO.mdx)[]>` +This method creates carts. + +#### Example + +```ts +const carts = await cartModuleService.create([ + { + currency_code: "usd", + }, + { + currency_code: "eur", + }, +]) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[CreateLineItemDTO](types.CartTypes.CreateLineItemDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[CreateLineItemDTO](types.CartTypes.CreateLineItemDTO.mdx)[]","description":"The items of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The quantity of the line item in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The unit price of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The thumbnail of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The associated cart's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The associated product's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The SKU of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item's amount is tax inclusive.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The calculated price of the line item after applying promotions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"The tax lines of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"The adjustments of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> #### Returns - + `**create**(data, sharedContext?): Promise<[CartDTO](types.CartTypes.CartDTO.mdx)>` +This method creates a cart. + +#### Example + +```ts +const cart = await cartModuleService.create({ + currency_code: "usd", +}) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[CreateLineItemDTO](types.CartTypes.CreateLineItemDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[CreateLineItemDTO](types.CartTypes.CreateLineItemDTO.mdx)[]","description":"The items of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The quantity of the line item in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The unit price of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The thumbnail of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The associated cart's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The associated product's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The SKU of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item's amount is tax inclusive.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The calculated price of the line item after applying promotions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"The tax lines of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"The adjustments of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> #### Returns -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]","description":"The associated line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The line item quantity","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The price of the item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The url of the line item thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The product ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The product title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The product description of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The product subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The product type of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The product collection of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The product handle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The variant ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The variant sku of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The variant barcode of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The variant title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The variant option values of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The original price of the item before an adjustment or a sale.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="create"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]","description":"The associated line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The line item's quantity in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The unit price of the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="create"/> ### update -`**update**(data, sharedContext?): Promise<[CartDTO](types.CartTypes.CartDTO.mdx)[]>` +`**update**(data): Promise<[CartDTO](types.CartTypes.CartDTO.mdx)[]>` + +This method updates existing carts. + +#### Example + +```ts +const carts = await cartModuleService.update([ + { + id: "cart_123", + region_id: "reg_123", + }, + { + id: "cart_321", + customer_id: "cus_123", + }, +]) +``` #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> #### Returns - + + +`**update**(cartId, data, sharedContext?): Promise<[CartDTO](types.CartTypes.CartDTO.mdx)>` + +This method updates an existing cart. + +#### Example + +```ts +const cart = await cartModuleService.update("cart_123", { + region_id: "reg_123", +}) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]","description":"The associated line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The line item's quantity in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The unit price of the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="update"/> + +`**update**(selector, data, sharedContext?): Promise<[CartDTO](types.CartTypes.CartDTO.mdx)[]>` + +This method updates existing carts matching the specified filters. + +#### Example -`**update**(data, sharedContext?): Promise<[CartDTO](types.CartTypes.CartDTO.mdx)>` +```ts +const carts = await cartModuleService.update( + { + currency_code: "usd", + }, + { + region_id: "reg_123", + } +) +``` #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]","description":"The associated line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The line item's quantity in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The unit price of the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"data","type":"[UpdateCartDataDTO](types.CartTypes.UpdateCartDataDTO.mdx)","description":"The attributes to update in the carts.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"region_id","type":"`string`","description":"The associated region's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`null` \\| `string`","description":"The associated customer's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`null` \\| `string`","description":"The associated sales channel's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`null` \\| `string`","description":"The email of the customer that owns the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency code of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address_id","type":"`null` \\| `string`","description":"The associated shipping address's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address_id","type":"`null` \\| `string`","description":"The associated billing address's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address","type":"`null` \\| [UpdateAddressDTO](types.CartTypes.UpdateAddressDTO.mdx) \\| [CreateAddressDTO](types.CartTypes.CreateAddressDTO.mdx)","description":"The billing address of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"`null` \\| [UpdateAddressDTO](types.CartTypes.UpdateAddressDTO.mdx) \\| [CreateAddressDTO](types.CartTypes.CreateAddressDTO.mdx)","description":"The shipping address of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> #### Returns -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]","description":"The associated line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The line item quantity","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The price of the item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The url of the line item thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The product ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The product title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The product description of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The product subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The product type of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The product collection of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The product handle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The variant ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The variant sku of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The variant barcode of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The variant title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The variant option values of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The original price of the item before an adjustment or a sale.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="update"/> + ### delete `**delete**(cartIds, sharedContext?): Promise<void>` +This method deletes carts by their IDs. + +#### Example + +```ts +await cartModuleService.delete(["cart_123", "cart_321"]) +``` + #### Parameters - + #### Returns - + `**delete**(cartId, sharedContext?): Promise<void>` +This method deletes a cart by its ID. + +#### Example + +```ts +await cartModuleService.delete("cart_123") +``` + #### Parameters - + #### Returns - + + +`**delete**(ids, sharedContext?): Promise<void>` + +This method deletes carts by their IDs. + +#### Example + +```ts +await cartModuleService.delete(["cart_123", "cart_321"]) +``` + +#### Parameters + + + +#### Returns + + + +`**delete**(id, sharedContext?): Promise<void>` + +This method deletes a cart by its ID. + +#### Example + +```ts +await cartModuleService.delete("cart_123") +``` + +#### Parameters + + + +#### Returns + + ### listAddresses +This method retrieves a paginated list of addresses based on optional filters and configuration. + +#### Example + +To retrieve a list of addresses using their IDs: + +```ts +const addresses = await cartModuleService.listAddresses({ + id: ["caaddr_123", "caaddr_321"], +}) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const addresses = await cartModuleService.listAddresses( + { + id: ["caaddr_123", "caaddr_321"], + }, + { + take: 20, + skip: 2, + } +) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAddresses"/> #### Returns - + ### createAddresses `**createAddresses**(data, sharedContext?): Promise<[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)[]>` +This method creates addresses. + +#### Example + +```ts +const addresses = await cartModuleService.createAddresses([ + { + address_1: "412 E Cheyenne Rd", + country_code: "us", + }, + { + first_name: "Genevieve", + last_name: "Fox", + address_1: "17350 Northwest Fwy", + country_code: "us", + }, +]) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createAddresses"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createAddresses"/> #### Returns - + `**createAddresses**(data, sharedContext?): Promise<[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)>` +This method creates a address. + +#### Example + +```ts +const address = await cartModuleService.createAddresses({ + first_name: "Genevieve", + last_name: "Fox", + address_1: "17350 Northwest Fwy", + country_code: "us", +}) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createAddresses"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createAddresses"/> #### Returns -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createAddresses"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createAddresses"/> ### updateAddresses `**updateAddresses**(data, sharedContext?): Promise<[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)[]>` +This method updates existing addresses. + +#### Example + +```ts +const addresses = await cartModuleService.updateAddresses([ + { + id: "caaddr_123", + first_name: "Leroy", + }, + { + id: "caaddr_321", + last_name: "Hunt", + }, +]) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateAddresses"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateAddresses"/> #### Returns - + `**updateAddresses**(data, sharedContext?): Promise<[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)>` +This method updates an existing address. + +#### Example + +```ts +const address = await cartModuleService.updateAddresses({ + id: "caaddr_123", + first_name: "Leroy", +}) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateAddresses"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateAddresses"/> #### Returns -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateAddresses"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateAddresses"/> ### deleteAddresses `**deleteAddresses**(ids, sharedContext?): Promise<void>` +This method deletes addresses by their IDs. + +#### Example + +```ts +await cartModuleService.deleteAddresses([ + "caaddr_123", + "caaddr_321", +]) +``` + #### Parameters - + #### Returns - + `**deleteAddresses**(ids, sharedContext?): Promise<void>` +This method deletes an address by its ID. + +#### Example + +```ts +await cartModuleService.deleteAddresses("caaddr_123") +``` + #### Parameters - + #### Returns - + ### retrieveLineItem +This method retrieves a line item by its ID. + +#### Example + +A simple example that retrieves a line item by its ID: + +```ts +const lineItem = + await cartModuleService.retrieveLineItem("cali_123") +``` + +To specify relations that should be retrieved: + +```ts +const lineItem = await cartModuleService.retrieveLineItem( + "cali_123", + { + relations: ["cart"], + } +) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveLineItem"/> #### Returns -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The url of the line item thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The product ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The product title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The product description of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The product subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The product type of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The product collection of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The product handle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The variant ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The variant sku of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The variant barcode of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The variant title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The variant option values of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The original price of the item before an adjustment or a sale.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveLineItem"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveLineItem"/> ### listLineItems +This method retrieves a paginated list of line items based on optional filters and configuration. + +#### Example + +To retrieve a list of line items using their IDs: + +```ts +const lineItems = await cartModuleService.listLineItems({ + id: ["cali_123", "cali_321"], +}) +``` + +To specify relations that should be retrieved within the line items: + +```ts +const lineItems = await cartModuleService.listLineItems( + { + id: ["cali_123", "cali_321"], + }, + { + relations: ["cart"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const lineItems = await cartModuleService.listLineItems( + { + id: ["cali_123", "cali_321"], + }, + { + relations: ["cart"], + take: 20, + skip: 2, + } +) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listLineItems"/> #### Returns - + ### addLineItems `**addLineItems**(data): Promise<[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]>` +This method adds a line item to a cart + +#### Example + +```ts +const lineItem = await cartModuleService.addLineItems({ + cart_id: "cart_123", + title: "Shirt", + quantity: 2, + unit_price: 4000, +}) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="addLineItems"/> +`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item's amount is tax inclusive.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The calculated price of the line item after applying promotions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"The tax lines of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The associated tax rate's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"The adjustments of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The associated promotion's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="addLineItems"/> #### Returns - + `**addLineItems**(data): Promise<[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]>` +This method adds line items to carts. + +#### Example + +```ts +const lineItems = await cartModuleService.addLineItems([ + { + cart_id: "cart_123", + title: "Shirt", + quantity: 2, + unit_price: 4000, + }, + { + cart_id: "cart_123", + title: "Pants", + quantity: 1, + unit_price: 3000, + }, +]) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="addLineItems"/> +`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item's amount is tax inclusive.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The calculated price of the line item after applying promotions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"The tax lines of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The associated tax rate's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"The adjustments of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The associated promotion's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="addLineItems"/> #### Returns - + `**addLineItems**(cartId, items, sharedContext?): Promise<[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]>` +This method adds line items to a cart. + +#### Example + +```ts +const lineItems = await cartModuleService.addLineItems( + "cart_123", + [ + { + title: "Shirt", + quantity: 2, + unit_price: 4000, + }, + { + title: "Pants", + quantity: 1, + unit_price: 3000, + }, + ] +) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="addLineItems"/> +`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item's amount is tax inclusive.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The calculated price of the line item after applying promotions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"The tax lines of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The associated tax rate's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"The adjustments of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The associated promotion's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="addLineItems"/> #### Returns - + ### updateLineItems `**updateLineItems**(data): Promise<[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]>` +This method updates existing line items. + +#### Example + +```ts +const lineItems = await cartModuleService.updateLineItems([ + { + selector: { + id: "cali_123", + }, + data: { + quantity: 2, + }, + }, + { + selector: { + variant_sku: "PANTS", + }, + data: { + unit_price: 3000, + }, + }, +]) +``` + #### Parameters -`","description":"The variant option values of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The original price of the item before an adjustment or a sale.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"data","type":"Partial<[UpdateLineItemDTO](types.CartTypes.UpdateLineItemDTO.mdx)>","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[] \\| [UpdateTaxLineDTO](types.CartTypes.UpdateTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[] \\| [UpdateAdjustmentDTO](types.CartTypes.UpdateAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateLineItems"/> +`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"data","type":"Partial<[UpdateLineItemDTO](types.CartTypes.UpdateLineItemDTO.mdx)>","description":"The attributes to update in the line items.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The thumbnail of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The associated cart's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The associated product's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The SKU of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item's amount is tax inclusive.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The calculated price of the line item after applying promotions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The quantity of the line item in the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The unit price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[] \\| [UpdateTaxLineDTO](types.CartTypes.UpdateTaxLineDTO.mdx)[]","description":"The tax lines of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[] \\| [UpdateAdjustmentDTO](types.CartTypes.UpdateAdjustmentDTO.mdx)[]","description":"The adjustments of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateLineItems"/> #### Returns - + `**updateLineItems**(selector, data, sharedContext?): Promise<[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]>` +This method updates existing line items matching the specified filters. + +#### Example + +```ts +const lineItems = await cartModuleService.updateLineItems( + { + variant_sku: "PANTS", + }, + { + unit_price: 4000, + } +) +``` + #### Parameters -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The url of the line item thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The product ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The product title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The product description of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The product subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The product type of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The product collection of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The product handle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The variant ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The variant sku of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The variant barcode of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The variant title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The variant option values of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The original price of the item before an adjustment or a sale.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"data","type":"Partial<[UpdateLineItemDTO](types.CartTypes.UpdateLineItemDTO.mdx)>","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[] \\| [UpdateTaxLineDTO](types.CartTypes.UpdateTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[] \\| [UpdateAdjustmentDTO](types.CartTypes.UpdateAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateLineItems"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"data","type":"Partial<[UpdateLineItemDTO](types.CartTypes.UpdateLineItemDTO.mdx)>","description":"The attributes to update in the line items.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The thumbnail of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The associated cart's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The associated product's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The SKU of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item's amount is tax inclusive.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The calculated price of the line item after applying promotions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The quantity of the line item in the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The unit price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[] \\| [UpdateTaxLineDTO](types.CartTypes.UpdateTaxLineDTO.mdx)[]","description":"The tax lines of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[] \\| [UpdateAdjustmentDTO](types.CartTypes.UpdateAdjustmentDTO.mdx)[]","description":"The adjustments of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateLineItems"/> #### Returns - + `**updateLineItems**(lineId, data, sharedContext?): Promise<[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)>` +This method updates an existing line item. + +#### Example + +```ts +const lineItem = await cartModuleService.updateLineItems( + "cali_123", + { + unit_price: 3000, + } +) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[] \\| [UpdateTaxLineDTO](types.CartTypes.UpdateTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[] \\| [UpdateAdjustmentDTO](types.CartTypes.UpdateAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateLineItems"/> +`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item's amount is tax inclusive.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The calculated price of the line item after applying promotions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The quantity of the line item in the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The unit price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[] \\| [UpdateTaxLineDTO](types.CartTypes.UpdateTaxLineDTO.mdx)[]","description":"The tax lines of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[] \\| [UpdateAdjustmentDTO](types.CartTypes.UpdateAdjustmentDTO.mdx)[]","description":"The adjustments of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateLineItems"/> #### Returns -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The url of the line item thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The product ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The product title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The product description of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The product subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The product type of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The product collection of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The product handle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The variant ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The variant sku of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The variant barcode of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The variant title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The variant option values of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The original price of the item before an adjustment or a sale.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateLineItems"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateLineItems"/> + +### listShippingMethods + +This method retrieves a paginated list of shipping methods based on optional filters and configuration. + +#### Example + +To retrieve a list of shipping methods using their IDs: -### removeLineItems +```ts +const shippingMethods = + await cartModuleService.listShippingMethods( + { + id: ["casm_123", "casm_321"], + }, + {} + ) +``` -`**removeLineItems**(itemIds, sharedContext?): Promise<void>` +To specify relations that should be retrieved within the shipping methods: + +```ts +const shippingMethods = + await cartModuleService.listShippingMethods( + { + id: ["casm_123", "casm_321"], + }, + { + relations: ["cart"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const shippingMethods = + await cartModuleService.listShippingMethods( + { + id: ["casm_123", "casm_321"], + }, + { + relations: ["cart"], + take: 20, + skip: 2, + } + ) +``` #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listShippingMethods"/> #### Returns - + + +### addShippingMethods + +`**addShippingMethods**(data): Promise<[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)>` + +This method adds a shipping method to carts. -`**removeLineItems**(itemIds, sharedContext?): Promise<void>` +#### Example + +```ts +const shippingMethod = + await cartModuleService.addShippingMethods({ + cart_id: "cart_123", + name: "UPS", + amount: 3000, + }) +``` #### Parameters - +`","description":"The data of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"The tax lines of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The associated tax rate's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"The adjustments of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The associated promotion's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="addShippingMethods"/> #### Returns - +`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="addShippingMethods"/> + +`**addShippingMethods**(data): Promise<[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]>` + +This method adds shipping methods to carts. -`**removeLineItems**(selector, sharedContext?): Promise<void>` +#### Example + +```ts +const shippingMethods = + await cartModuleService.addShippingMethods([ + { + cart_id: "cart_123", + name: "UPS", + amount: 3000, + }, + { + cart_id: "cart_123", + name: "FedEx", + amount: 2000, + }, + ]) +``` #### Parameters -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The url of the line item thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The product ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The product title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The product description of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The product subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The product type of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The product collection of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The product handle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The variant ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The variant sku of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The variant barcode of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The variant title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The variant option values of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The original price of the item before an adjustment or a sale.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="removeLineItems"/> +`","description":"The data of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"The tax lines of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The associated tax rate's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"The adjustments of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The associated promotion's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="addShippingMethods"/> #### Returns - + -### listShippingMethods +`**addShippingMethods**(cartId, methods, sharedContext?): Promise<[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]>` + +This method adds shipping methods to a cart. + +#### Example + +```ts +const shippingMethods = + await cartModuleService.addShippingMethods("cart_123", [ + { + name: "UPS", + amount: 3000, + }, + { + name: "FedEx", + amount: 2000, + }, + ]) +``` #### Parameters - +`","description":"The data of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"The tax lines of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The associated tax rate's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"The adjustments of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The associated promotion's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated provider's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="addShippingMethods"/> #### Returns - + -### addShippingMethods +### listLineItemAdjustments -`**addShippingMethods**(data): Promise<[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)>` +This method retrieves a paginated list of line item adjustments based on optional filters and configuration. + +#### Example + +To retrieve a list of line item adjustments using their IDs: + +```ts +const lineItemAdjustments = + await cartModuleService.listLineItemAdjustments({ + id: ["caliadj_123", "caliadj_321"], + }) +``` + +To specify relations that should be retrieved within the line item adjustments: + +```ts +const lineItemAdjustments = + await cartModuleService.listLineItemAdjustments( + { + id: ["caliadj_123", "caliadj_321"], + }, + { + relations: ["item"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const lineItemAdjustments = + await cartModuleService.listLineItemAdjustments( + { + id: ["caliadj_123", "caliadj_321"], + }, + { + relations: ["item"], + take: 20, + skip: 2, + } + ) +``` #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="addShippingMethods"/> +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listLineItemAdjustments"/> #### Returns -`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="addShippingMethods"/> + -`**addShippingMethods**(data): Promise<[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]>` +### addLineItemAdjustments + +`**addLineItemAdjustments**(data): Promise<[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]>` + +This method adds line item adjustments to line items. + +#### Example + +```ts +const lineItemAdjustments = + await cartModuleService.addLineItemAdjustments([ + { + item_id: "caliadj_123", + code: "50%OFF", + amount: 3000, + }, + { + item_id: "caliadj_321", + code: "10%OFF", + amount: 3000, + }, + ]) +``` #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="addShippingMethods"/> + #### Returns - + -`**addShippingMethods**(cartId, methods, sharedContext?): Promise<[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]>` +`**addLineItemAdjustments**(data): Promise<[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]>` + +This method adds a line item adjustment to a line item. + +#### Example + +```ts +const lineItemAdjustments = + await cartModuleService.addLineItemAdjustments({ + item_id: "caliadj_123", + code: "50%OFF", + amount: 3000, + }) +``` #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="addShippingMethods"/> + #### Returns - + -### removeShippingMethods +`**addLineItemAdjustments**(cartId, data): Promise<[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]>` -`**removeShippingMethods**(methodIds, sharedContext?): Promise<void>` +This method adds line item adjustments to line items in a cart. + +#### Example + +```ts +const lineItemAdjustments = + await cartModuleService.addLineItemAdjustments("cart_123", [ + { + item_id: "caliadj_123", + code: "50%OFF", + amount: 3000, + }, + { + item_id: "caliadj_321", + code: "10%OFF", + amount: 2000, + }, + ]) +``` #### Parameters - + #### Returns - + -`**removeShippingMethods**(methodIds, sharedContext?): Promise<void>` +### setLineItemAdjustments + +This method set the line item adjustments of line items in a cart. The existing line item adjustments, except those +included in the specified list, of an item are removed and replaced with the specified adjustments. + +#### Example + +```ts +const lineItemAdjustments = + await cartModuleService.setLineItemAdjustments("cart_123", [ + { + id: "adj_123", + item_id: "caliadj_123", + }, + { + item_id: "caliadj_123", + code: "10%OFF", + amount: 2000, + }, + { + item_id: "caliadj_321", + code: "50%OFF", + amount: 3000, + }, + ]) +``` #### Parameters - + #### Returns - + + +### listShippingMethodAdjustments + +This method retrieves a paginated list of shipping method adjustments based on optional filters and configuration. + +#### Example + +To retrieve a list of shipping method adjustments using their IDs: -`**removeShippingMethods**(selector, sharedContext?): Promise<void>` +```ts +const shippingMethodAdjustments = + await cartModuleService.listShippingMethodAdjustments({ + id: ["casmadj_123", "casmadj_321"], + }) +``` + +To specify relations that should be retrieved within the shipping method adjustments: + +```ts +const shippingMethodAdjustments = + await cartModuleService.listShippingMethodAdjustments( + { + id: ["casmadj_123", "casmadj_321"], + }, + { + relations: ["shipping_method"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const shippingMethodAdjustments = + await cartModuleService.listShippingMethodAdjustments( + { + id: ["casmadj_123", "casmadj_321"], + }, + { + relations: ["shipping_method"], + take: 20, + skip: 2, + } + ) +``` #### Parameters -`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="removeShippingMethods"/> +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listShippingMethodAdjustments"/> #### Returns - + -### listLineItemAdjustments +### addShippingMethodAdjustments + +`**addShippingMethodAdjustments**(data): Promise<[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]>` + +This method adds shipping method adjustments to shipping methods. + +#### Example + +```ts +const shippingMethodAdjustments = + await cartModuleService.addShippingMethodAdjustments([ + { + shipping_method_id: "casm_123", + code: "FREESHIPPING", + amount: 3000, + }, + { + shipping_method_id: "casm_321", + code: "10%OFF", + amount: 1500, + }, + ]) +``` #### Parameters - + #### Returns - + -### addLineItemAdjustments +`**addShippingMethodAdjustments**(data): Promise<[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)>` -`**addLineItemAdjustments**(data): Promise<[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]>` +This method adds a shipping method adjustment to a shipping method. + +#### Example + +```ts +const shippingMethodAdjustment = + await cartModuleService.addShippingMethodAdjustments({ + shipping_method_id: "casm_123", + code: "FREESHIPPING", + amount: 3000, + }) +``` #### Parameters - + #### Returns - +`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="addShippingMethodAdjustments"/> -`**addLineItemAdjustments**(data): Promise<[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]>` +`**addShippingMethodAdjustments**(cartId, data, sharedContext?): Promise<[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]>` + +This method adds shipping method adjustments to shipping methods in a cart. + +#### Example + +```ts +const shippingMethodAdjustments = + await cartModuleService.addShippingMethodAdjustments( + "cart_123", + [ + { + shipping_method_id: "casm_123", + code: "FREESHIPPING", + amount: 3000, + }, + { + shipping_method_id: "casm_321", + code: "10%OFF", + amount: 1500, + }, + ] + ) +``` #### Parameters - + #### Returns - + -`**addLineItemAdjustments**(cartId, data): Promise<[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]>` +### setShippingMethodAdjustments + +This method sets the shipping method adjustment of shipping methods in a cart. The existing shipping method adjustments, +except those included in the specified list, of an item are removed and replaced with the specified adjustments. + +#### Example + +```ts +const shippingMethodAdjustments = + await cartModuleService.setShippingMethodAdjustments( + "cart_123", + [ + { + id: "casmadj_123", + shipping_method_id: "casm_123", + code: "FREESHIPPING", + }, + { + shipping_method_id: "casm_321", + code: "10%OFF", + amount: 1500, + }, + ] + ) +``` #### Parameters - + #### Returns - + -### setLineItemAdjustments +### listLineItemTaxLines + +This method retrieves a paginated list of line item tax lines based on optional filters and configuration. + +#### Example + +To retrieve a list of line item tax lines using their IDs: + +```ts +const lineItemTaxLines = + await cartModuleService.listLineItemTaxLines({ + id: ["calitxl_123", "calitxl_321"], + }) +``` + +To specify relations that should be retrieved within the line item tax lines: + +```ts +const lineItemTaxLines = + await cartModuleService.listLineItemTaxLines( + { + id: ["calitxl_123", "calitxl_321"], + }, + { + relations: ["item"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const lineItemTaxLines = + await cartModuleService.listLineItemTaxLines( + { + id: ["calitxl_123", "calitxl_321"], + }, + { + relations: ["item"], + take: 20, + skip: 2, + } + ) +``` #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listLineItemTaxLines"/> #### Returns - + -### removeLineItemAdjustments +### addLineItemTaxLines + +`**addLineItemTaxLines**(taxLines): Promise<[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]>` + +This method creates and adds line item tax lines. -`**removeLineItemAdjustments**(adjustmentIds, sharedContext?): Promise<void>` +#### Example + +```ts +const lineItemTaxLines = + await cartModuleService.addLineItemTaxLines([ + { + code: "1000", + rate: 10, + }, + { + code: "1234", + rate: 20, + }, + ]) +``` #### Parameters - + #### Returns - + + +`**addLineItemTaxLines**(taxLine): Promise<[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)>` + +This method creates and adds a line item tax line. + +#### Example -`**removeLineItemAdjustments**(adjustmentIds, sharedContext?): Promise<void>` +```ts +const lineItemTaxLines = + await cartModuleService.addLineItemTaxLines({ + code: "1000", + rate: 10, + }) +``` #### Parameters - + #### Returns - +`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="addLineItemTaxLines"/> + +`**addLineItemTaxLines**(cartId, taxLines, sharedContext?): Promise<[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]>` -`**removeLineItemAdjustments**(selector, sharedContext?): Promise<void>` +This method creates and adds one or more line item tax lines to a cart. + +#### Example + +```ts +const lineItemTaxLines = + await cartModuleService.addLineItemTaxLines("cart_123", { + code: "1000", + rate: 10, + }) +``` #### Parameters -`","description":"The variant option values of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The original price of the item before an adjustment or a sale.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="removeLineItemAdjustments"/> + #### Returns - + -### listShippingMethodAdjustments +### setLineItemTaxLines + +This method sets the line item tax lines in a cart. The existing line item tax lines, +except those included in the specified list, are removed and replaced with the specified tax lines. + +#### Example + +```ts +const lineItemTaxLines = + await cartModuleService.setLineItemTaxLines("cart_123", [ + { + code: "1000", + rate: 10, + }, + { + code: "1234", + rate: 20, + }, + ]) +``` #### Parameters - + #### Returns - + -### addShippingMethodAdjustments +### listShippingMethodTaxLines -`**addShippingMethodAdjustments**(data): Promise<[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]>` +This method retrieves a paginated list of shipping method tax lines based on optional filters and configuration. + +#### Example + +To retrieve a list of shipping method tax lines using their IDs: + +```ts +const shippingMethodTaxLines = + await cartModuleService.listShippingMethodTaxLines({ + id: ["casmtxl_123", "casmtxl_321"], + }) +``` + +To specify relations that should be retrieved within the shipping method tax lines: + +```ts +const shippingMethodTaxLines = + await cartModuleService.listShippingMethodTaxLines( + { + id: ["casmtxl_123", "casmtxl_321"], + }, + { + relations: ["shipping_method"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const shippingMethodTaxLines = + await cartModuleService.listShippingMethodTaxLines( + { + id: ["casmtxl_123", "casmtxl_321"], + }, + { + relations: ["shipping_method"], + take: 20, + skip: 2, + } + ) +``` #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listShippingMethodTaxLines"/> #### Returns - + -`**addShippingMethodAdjustments**(data): Promise<[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)>` +### addShippingMethodTaxLines + +`**addShippingMethodTaxLines**(taxLines): Promise<[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]>` + +This method creates and adds shipping method tax lines. + +#### Example + +```ts +const shippingMethodTaxLines = + await cartModuleService.addShippingMethodTaxLines([ + { + code: "1000", + rate: 10, + }, + { + code: "1234", + rate: 20, + }, + ]) +``` #### Parameters - + #### Returns -`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="addShippingMethodAdjustments"/> + -`**addShippingMethodAdjustments**(cartId, data, sharedContext?): Promise<[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]>` +`**addShippingMethodTaxLines**(taxLine): Promise<[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)>` + +This method creates and adds a shipping method tax line. + +#### Example + +```ts +const shippingMethodTaxLine = + await cartModuleService.addShippingMethodTaxLines({ + code: "1000", + rate: 10, + }) +``` #### Parameters - + #### Returns - +`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="addShippingMethodTaxLines"/> -### setShippingMethodAdjustments +`**addShippingMethodTaxLines**(cartId, taxLines, sharedContext?): Promise<[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]>` + +This method creates and adds one or more shipping method tax lines to a cart. + +#### Example + +```ts +const shippingMethodTaxLines = + await cartModuleService.addShippingMethodTaxLines( + "cart_123", + [ + { + code: "1000", + rate: 10, + }, + { + code: "1234", + rate: 20, + }, + ] + ) +``` #### Parameters - + #### Returns - + + +### setShippingMethodTaxLines + +This method sets the shipping item tax lines in a cart. The shipping line item tax lines, +except those included in the specified list, are removed and replaced with the specified tax lines. -### removeShippingMethodAdjustments +#### Example -`**removeShippingMethodAdjustments**(adjustmentIds, sharedContext?): Promise<void>` +```ts +const shippingMethodTaxLines = + await cartModuleService.setShippingMethodTaxLines( + "cart_123", + [ + { + code: "1000", + rate: 10, + }, + { + code: "1234", + rate: 20, + }, + ] + ) +``` #### Parameters - + #### Returns - + + +### deleteLineItems + +`**deleteLineItems**(ids, sharedContext?): Promise<void>` + +This method deletes line items by their IDs. + +#### Example -`**removeShippingMethodAdjustments**(adjustmentId, sharedContext?): Promise<void>` +```ts +await cartModuleService.deleteLineItems([ + "cali_123", + "cali_321", +]) +``` #### Parameters - + #### Returns - + -`**removeShippingMethodAdjustments**(selector, sharedContext?): Promise<void>` +`**deleteLineItems**(id, sharedContext?): Promise<void>` + +This method deletes a line item by its ID. + +#### Example + +```ts +await cartModuleService.deleteLineItems("cali_123") +``` #### Parameters -`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="removeShippingMethodAdjustments"/> + #### Returns - + -### listLineItemTaxLines +### deleteShippingMethods + +`**deleteShippingMethods**(ids, sharedContext?): Promise<void>` + +This method deletes shipping methods by their IDs. + +#### Example + +```ts +await cartModuleService.deleteShippingMethods([ + "casm_123", + "casm_321", +]) +``` #### Parameters - + #### Returns - + -### addLineItemTaxLines +`**deleteShippingMethods**(id, sharedContext?): Promise<void>` -`**addLineItemTaxLines**(taxLines): Promise<[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]>` +This method deletes a shipping method by its ID. + +#### Example + +```ts +await cartModuleService.deleteShippingMethods("casm_123") +``` #### Parameters - + #### Returns - + -`**addLineItemTaxLines**(taxLine): Promise<[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)>` +### deleteLineItemAdjustments + +`**deleteLineItemAdjustments**(ids, sharedContext?): Promise<void>` + +This method deletes line item adjustments by their IDs. + +#### Example + +```ts +await cartModuleService.deleteLineItemAdjustments([ + "caliadj_123", + "caliadj_321", +]) +``` #### Parameters - + #### Returns -`","description":"The variant option values of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The original price of the item before an adjustment or a sale.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="addLineItemTaxLines"/> + -`**addLineItemTaxLines**(cartId, taxLines, sharedContext?): Promise<[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]>` +`**deleteLineItemAdjustments**(id, sharedContext?): Promise<void>` + +This method deletes a line item adjustment by its ID. + +#### Example + +```ts +await cartModuleService.deleteLineItemAdjustments( + "caliadj_123" +) +``` #### Parameters - + #### Returns - + -### setLineItemTaxLines +### deleteShippingMethodAdjustments + +`**deleteShippingMethodAdjustments**(ids, sharedContext?): Promise<void>` + +This method deletes shipping method adjustments by their IDs. + +#### Example + +```ts +await cartModuleService.deleteShippingMethodAdjustments([ + "casmadj_123", + "casmadj_321", +]) +``` #### Parameters - + #### Returns - + + +`**deleteShippingMethodAdjustments**(id, sharedContext?): Promise<void>` -### removeLineItemTaxLines +This method deletes a shipping method adjustment by its ID. -`**removeLineItemTaxLines**(taxLineIds, sharedContext?): Promise<void>` +#### Example + +```ts +await cartModuleService.deleteShippingMethodAdjustments( + "casmadj_123" +) +``` #### Parameters - + #### Returns - + + +### deleteLineItemTaxLines -`**removeLineItemTaxLines**(taxLineIds, sharedContext?): Promise<void>` +`**deleteLineItemTaxLines**(ids, sharedContext?): Promise<void>` + +This method deletes line item tax lines by their IDs. + +#### Example + +```ts +await cartModuleService.deleteLineItemTaxLines([ + "calitxl_123", + "calitxl_321", +]) +``` #### Parameters - + #### Returns - + + +`**deleteLineItemTaxLines**(id, sharedContext?): Promise<void>` -`**removeLineItemTaxLines**(selector, sharedContext?): Promise<void>` +This method deletes a line item tax line by its ID. + +#### Example + +```ts +await cartModuleService.deleteLineItemTaxLines("calitxl_123") +``` #### Parameters - + #### Returns - + -### listShippingMethodTaxLines +### deleteShippingMethodTaxLines + +`**deleteShippingMethodTaxLines**(ids, sharedContext?): Promise<void>` + +This method deletes shipping method tax lines by their IDs. + +#### Example + +```ts +await cartModuleService.deleteShippingMethodTaxLines([ + "casmtxl_123", + "casmtxl_321", +]) +``` #### Parameters - + #### Returns - + -### addShippingMethodTaxLines +`**deleteShippingMethodTaxLines**(id, sharedContext?): Promise<void>` -`**addShippingMethodTaxLines**(taxLines): Promise<[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]>` +This method deletes a shipping method tax line by its ID. + +#### Example + +```ts +await cartModuleService.deleteShippingMethodTaxLines( + "casmtxl_123" +) +``` #### Parameters - + #### Returns - + -`**addShippingMethodTaxLines**(taxLine): Promise<[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)>` +### softDelete + +This method soft deletes carts by their IDs. + +#### Example + +```ts +await cartModuleService.softDelete(["cart_123", "cart_321"]) +``` + +#### Type Parameters + + #### Parameters - + #### Returns -`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="addShippingMethodTaxLines"/> +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDelete"/> -`**addShippingMethodTaxLines**(cartId, taxLines, sharedContext?): Promise<[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]>` +### restore + +This method restores soft deleted carts by their IDs. + +#### Example + +```ts +await cartModuleService.restore(["cart_123", "cart_321"]) +``` + +#### Type Parameters + + #### Parameters - + #### Returns - +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restore"/> -### setShippingMethodTaxLines +### softDeleteAddresses + +This method soft deletes addresses by their IDs. + +#### Example + +```ts +await cartModuleService.softDeleteAddresses([ + "caaddr_123", + "caaddr_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteAddresses"/> + +### restoreAddresses + +This method restores soft deleted addresses by their IDs. + +#### Example + +```ts +await cartModuleService.restoreAddresses([ + "caaddr_123", + "caaddr_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreAddresses"/> + +### softDeleteLineItems + +This method soft deletes line items by their IDs. + +#### Example + +```ts +await cartModuleService.softDeleteLineItems([ + "cali_123", + "cali_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteLineItems"/> + +### restoreLineItems + +This method restores soft deleted line items by their IDs. + +#### Example + +```ts +await cartModuleService.restoreLineItems([ + "cali_123", + "cali_321", +]) +``` + +#### Type Parameters + + #### Parameters - + #### Returns - +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreLineItems"/> + +### softDeleteShippingMethods + +This method soft deletes shipping methods by their IDs. + +#### Example + +```ts +await cartModuleService.softDeleteShippingMethods([ + "casm_123", + "casm_321", +]) +``` -### removeShippingMethodTaxLines +#### Type Parameters -`**removeShippingMethodTaxLines**(taxLineIds, sharedContext?): Promise<void>` + #### Parameters - + #### Returns - +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteShippingMethods"/> -`**removeShippingMethodTaxLines**(taxLineIds, sharedContext?): Promise<void>` +### restoreShippingMethods + +This method restores soft deleted shipping methods by their IDs. + +#### Example + +```ts +await cartModuleService.restoreShippingMethods([ + "casm_123", + "casm_321", +]) +``` + +#### Type Parameters + + #### Parameters - + #### Returns - +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreShippingMethods"/> + +### softDeleteLineItemAdjustments + +This method soft deletes line item adjustments by their IDs. + +#### Example + +```ts +await cartModuleService.softDeleteLineItemAdjustments([ + "caliadj_123", + "caliadj_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteLineItemAdjustments"/> + +### restoreLineItemAdjustments + +This method restores soft deleted line item adjustments by their IDs. + +#### Example + +```ts +await cartModuleService.restoreLineItemAdjustments([ + "caliadj_123", + "caliadj_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreLineItemAdjustments"/> + +### softDeleteShippingMethodAdjustments + +This method soft deletes shipping method adjustments by their IDs. + +#### Example + +```ts +await cartModuleService.softDeleteShippingMethodAdjustments([ + "casmadj_123", + "casmadj_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteShippingMethodAdjustments"/> + +### restoreShippingMethodAdjustments + +This method restores soft deleted shipping method adjustments by their IDs. + +#### Example + +```ts +await cartModuleService.restoreShippingMethodAdjustments([ + "casmadj_123", + "casmadj_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreShippingMethodAdjustments"/> + +### softDeleteLineItemTaxLines + +This method soft deletes line item tax lines by their IDs. + +#### Example + +```ts +await cartModuleService.softDeleteLineItemTaxLines([ + "calitxl_123", + "calitxl_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteLineItemTaxLines"/> + +### restoreLineItemTaxLines + +This method restores soft deleted line item tax lines by its IDs. + +#### Example + +```ts +await cartModuleService.restoreLineItemTaxLines([ + "calitxl_123", + "calitxl_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreLineItemTaxLines"/> + +### softDeleteShippingMethodTaxLines + +This method soft deletes shipping method tax lines by their IDs. + +#### Example + +```ts +await cartModuleService.softDeleteShippingMethodTaxLines([ + "casmtxl_123", + "casmtxl_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteShippingMethodTaxLines"/> + +### restoreShippingMethodTaxLines + +This method restores soft deleted shipping method tax lines by their IDs. + +#### Example + +```ts +await cartModuleService.restoreShippingMethodTaxLines([ + "casmtxl_123", + "casmtxl_321", +]) +``` + +#### Type Parameters -`**removeShippingMethodTaxLines**(selector, sharedContext?): Promise<void>` + #### Parameters - + #### Returns - +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreShippingMethodTaxLines"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.LineItemAdjustmentDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.LineItemAdjustmentDTO.mdx index 78c5cdd1b8135..383af55162bac 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.LineItemAdjustmentDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.LineItemAdjustmentDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # LineItemAdjustmentDTO +The line item adjustment details. + ## Properties -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The url of the line item thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The product ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The product title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The product description of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The product subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The product type of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The product collection of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The product handle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The variant ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The variant sku of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The variant barcode of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The variant title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The variant option values of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The original price of the item before an adjustment or a sale.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="LineItemAdjustmentDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="LineItemAdjustmentDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.LineItemTaxLineDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.LineItemTaxLineDTO.mdx index cfbdee3a6b52c..d407bd4f97f88 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.LineItemTaxLineDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.LineItemTaxLineDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # LineItemTaxLineDTO +The line item tax line details. + ## Properties -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The url of the line item thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The product ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The product title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The product description of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The product subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The product type of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The product collection of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The product handle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The variant ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The variant sku of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The variant barcode of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The variant title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The variant option values of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The original price of the item before an adjustment or a sale.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="LineItemTaxLineDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="LineItemTaxLineDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.ListShippingOptionsForCartWorkflowInputDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.ListShippingOptionsForCartWorkflowInputDTO.mdx new file mode 100644 index 0000000000000..9f1f36e1b376f --- /dev/null +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.ListShippingOptionsForCartWorkflowInputDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# ListShippingOptionsForCartWorkflowInputDTO + +## Properties + + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.PricedShippingOptionDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.PricedShippingOptionDTO.mdx new file mode 100644 index 0000000000000..96bc2cf18e389 --- /dev/null +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.PricedShippingOptionDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# PricedShippingOptionDTO + +The shipping option details. + +## Properties + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"geo_zones","type":"[GeoZoneDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[GeoZoneType](../../FulfillmentTypes/types/types.FulfillmentTypes.GeoZoneType.mdx)","description":"The type of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"The province code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`null` \\| `Record`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_options","type":"[ShippingOptionDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../../FulfillmentTypes/types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[ShippingProfileDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../../FulfillmentTypes/types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../../FulfillmentTypes/types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[ShippingOptionTypeDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"The label of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../../FulfillmentTypes/types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[ShippingOptionRuleDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"The values of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../../FulfillmentTypes/types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillments","type":"[FulfillmentDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`null` \\| `string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`null` \\| `string`","description":"The company of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`null` \\| `string`","description":"The first line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`null` \\| `string`","description":"The second line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"The ISO 2 character country code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`null` \\| `string`","description":"The province of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`null` \\| `string`","description":"The postal code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[FulfillmentItemDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The sku of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`null` \\| `string`","description":"The associated inventory item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"labels","type":"[FulfillmentLabelDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_number","type":"`string`","description":"The tracking number of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"The tracking URL of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"The label's URL.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](../../FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="PricedShippingOptionDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.ShippingMethodAdjustmentDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.ShippingMethodAdjustmentDTO.mdx index d73ddc8883fe8..f517faa2c55c8 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.ShippingMethodAdjustmentDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.ShippingMethodAdjustmentDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # ShippingMethodAdjustmentDTO +The shipping method adjustment details. + ## Properties -`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ShippingMethodAdjustmentDTO"/> +`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ShippingMethodAdjustmentDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.ShippingMethodTaxLineDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.ShippingMethodTaxLineDTO.mdx index 75e5bb9d86e08..4b9f7815823b2 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.ShippingMethodTaxLineDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.ShippingMethodTaxLineDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # ShippingMethodTaxLineDTO +The shipping method tax line details. + ## Properties -`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ShippingMethodTaxLineDTO"/> +`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)","description":"The associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ShippingMethodTaxLineDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.TaxLineDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.TaxLineDTO.mdx index b660d9eda98bb..186e03d381159 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.TaxLineDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.TaxLineDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # TaxLineDTO +The tax line details. + ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateAddressDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateAddressDTO.mdx index b1731fde73492..b4f63967bbe23 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateAddressDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateAddressDTO.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdateAddressDTO -ADDRESS START +The attributes to update in the address. ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateAddressDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateAddressDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateAdjustmentDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateAdjustmentDTO.mdx index a4bdd84b1dc49..7c0af9937e9bc 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateAdjustmentDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateAdjustmentDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdateAdjustmentDTO +The attributes to update in the adjustment. + ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateCartDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateCartDTO.mdx index 5ae6c6b5db607..f4ef51ec911d4 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateCartDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateCartDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdateCartDTO +The attributes to update in the cart. + ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateCartDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateCartDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateCartDataDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateCartDataDTO.mdx new file mode 100644 index 0000000000000..3aa18c197e317 --- /dev/null +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateCartDataDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateCartDataDTO + +The attributes to update in the cart data. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateCartDataDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateCartWithSelectorDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateCartWithSelectorDTO.mdx new file mode 100644 index 0000000000000..ab5c46145e0d1 --- /dev/null +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateCartWithSelectorDTO.mdx @@ -0,0 +1,11 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateCartWithSelectorDTO + +A pair of selectors and data, where the selectors determine which +carts to update, and the data determines what to update +in the carts. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]","description":"The associated line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The line item's quantity in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The unit price of the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"data","type":"[UpdateCartDataDTO](types.CartTypes.UpdateCartDataDTO.mdx)","description":"The attributes to update in the carts.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"region_id","type":"`string`","description":"The associated region's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`null` \\| `string`","description":"The associated customer's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`null` \\| `string`","description":"The associated sales channel's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`null` \\| `string`","description":"The email of the customer that owns the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency code of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address_id","type":"`null` \\| `string`","description":"The associated shipping address's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address_id","type":"`null` \\| `string`","description":"The associated billing address's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address","type":"`null` \\| [UpdateAddressDTO](types.CartTypes.UpdateAddressDTO.mdx) \\| [CreateAddressDTO](types.CartTypes.CreateAddressDTO.mdx)","description":"The billing address of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"`null` \\| [UpdateAddressDTO](types.CartTypes.UpdateAddressDTO.mdx) \\| [CreateAddressDTO](types.CartTypes.CreateAddressDTO.mdx)","description":"The shipping address of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="UpdateCartWithSelectorDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateCartWorkflowInputDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateCartWorkflowInputDTO.mdx new file mode 100644 index 0000000000000..a7e41d8e2d68d --- /dev/null +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateCartWorkflowInputDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateCartWorkflowInputDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateCartWorkflowInputDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemAdjustmentDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemAdjustmentDTO.mdx index 8b84aabf3da2d..a4fef9ad910df 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemAdjustmentDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemAdjustmentDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdateLineItemAdjustmentDTO +The attributes to update in the line item adjustment. + ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemDTO.mdx index a3c9590e2c4d7..c1927199c3c59 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdateLineItemDTO +The attributes to update in a line item. + ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[] \\| [UpdateTaxLineDTO](types.CartTypes.UpdateTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[] \\| [UpdateAdjustmentDTO](types.CartTypes.UpdateAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateLineItemDTO"/> +`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item's amount is tax inclusive.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The calculated price of the line item after applying promotions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The quantity of the line item in the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The unit price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[] \\| [UpdateTaxLineDTO](types.CartTypes.UpdateTaxLineDTO.mdx)[]","description":"The tax lines of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[] \\| [UpdateAdjustmentDTO](types.CartTypes.UpdateAdjustmentDTO.mdx)[]","description":"The adjustments of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateLineItemDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemInCartWorkflowInputDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemInCartWorkflowInputDTO.mdx new file mode 100644 index 0000000000000..ef1c33bf33e92 --- /dev/null +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemInCartWorkflowInputDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateLineItemInCartWorkflowInputDTO + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]","description":"The associated line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The line item's quantity in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The unit price of the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[ShippingMethodTaxLineDTO](types.CartTypes.ShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[ShippingMethodAdjustmentDTO](types.CartTypes.ShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The line item's quantity in the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The unit price of the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart","type":"[CartDTO](types.CartTypes.CartDTO.mdx)","description":"The associated cart.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency of the cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original item total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original item subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original item tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the cart. (Excluding taxes)","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The gift card total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The gift card tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The shipping total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The shipping subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The shipping tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original shipping total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original shipping subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original shipping tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original item total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original item subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original item tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the cart. (Excluding taxes)","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_gift_card_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw gift card total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_gift_card_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw gift card tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipping_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipping total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipping_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipping subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipping_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipping tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_shipping_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original shipping total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_shipping_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original shipping subtotal of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_shipping_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original shipping tax total of the cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The ID of the region the cart belongs to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the associated customer","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string`","description":"The ID of the sales channel the cart belongs to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The email of the customer that owns the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated shipping address.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"billing_address","type":"[CartAddressDTO](types.CartTypes.CartAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"items","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)[]","description":"The associated line items.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_methods","type":"[CartShippingMethodDTO](types.CartTypes.CartShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"update","type":"Partial<[UpdateLineItemDTO](types.CartTypes.UpdateLineItemDTO.mdx)>","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The thumbnail of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The associated cart's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The associated product's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The SKU of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item's amount is tax inclusive.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The calculated price of the line item after applying promotions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The quantity of the line item in the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The unit price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[] \\| [UpdateTaxLineDTO](types.CartTypes.UpdateTaxLineDTO.mdx)[]","description":"The tax lines of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[] \\| [UpdateAdjustmentDTO](types.CartTypes.UpdateAdjustmentDTO.mdx)[]","description":"The adjustments of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="UpdateLineItemInCartWorkflowInputDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemTaxLineDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemTaxLineDTO.mdx index 41ebb23943bae..06e39744b90e1 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemTaxLineDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemTaxLineDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdateLineItemTaxLineDTO +The attributes to update in the line item tax line. + ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemWithSelectorDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemWithSelectorDTO.mdx index 8cce7365bc832..fadec0920154c 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemWithSelectorDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateLineItemWithSelectorDTO.mdx @@ -2,6 +2,10 @@ import TypeList from "@site/src/components/TypeList" # UpdateLineItemWithSelectorDTO +A pair of selectors and data, where the selectors determine which +line items to update, and the data determines what to update +in the line items. + ## Properties -`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The url of the line item thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The product ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The product title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The product description of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The product subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The product type of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The product collection of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The product handle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The variant ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The variant sku of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The variant barcode of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The variant title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The variant option values of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The original price of the item before an adjustment or a sale.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"data","type":"Partial<[UpdateLineItemDTO](types.CartTypes.UpdateLineItemDTO.mdx)>","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[] \\| [UpdateTaxLineDTO](types.CartTypes.UpdateTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[] \\| [UpdateAdjustmentDTO](types.CartTypes.UpdateAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="UpdateLineItemWithSelectorDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the cart was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the cart was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The line item's thumbnail.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The ID of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The sku of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The calculated price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[LineItemTaxLineDTO](types.CartTypes.LineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[LineItemAdjustmentDTO](types.CartTypes.LineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount to adjust the original amount with.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[CartLineItemDTO](types.CartTypes.CartLineItemDTO.mdx)","description":"The associated line item.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the promotion that lead to\nthis adjustment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"When the line item was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"When the line item was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date`","description":"When the line item was deleted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"data","type":"Partial<[UpdateLineItemDTO](types.CartTypes.UpdateLineItemDTO.mdx)>","description":"The attributes to update in the line items.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"The subtitle of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"The thumbnail of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The associated cart's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"The associated product's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"The title of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"The description of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"The subtitle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"The type of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"The collection of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"The handle of the associated product.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"The associated variant's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"The SKU of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"The barcode of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"The title of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"The option values of the associated variant.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Whether the line item requires shipping.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Whether the line item is discountable.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the line item's amount is tax inclusive.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The calculated price of the line item after applying promotions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The quantity of the line item in the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The unit price of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[] \\| [UpdateTaxLineDTO](types.CartTypes.UpdateTaxLineDTO.mdx)[]","description":"The tax lines of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[] \\| [UpdateAdjustmentDTO](types.CartTypes.UpdateAdjustmentDTO.mdx)[]","description":"The adjustments of the line item.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="UpdateLineItemWithSelectorDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateShippingMethodAdjustmentDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateShippingMethodAdjustmentDTO.mdx index c639acf5ff039..81259d7f6cf17 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateShippingMethodAdjustmentDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateShippingMethodAdjustmentDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdateShippingMethodAdjustmentDTO +The attributes to update in the shipping method adjustment. + ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateShippingMethodDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateShippingMethodDTO.mdx index a0022731cc59b..ff050630dcb8d 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateShippingMethodDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateShippingMethodDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdateShippingMethodDTO +The attributes to update in the shipping method. + ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[] \\| [UpdateTaxLineDTO](types.CartTypes.UpdateTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[] \\| [UpdateAdjustmentDTO](types.CartTypes.UpdateAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateShippingMethodDTO"/> +`","description":"The data of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateTaxLineDTO](types.CartTypes.CreateTaxLineDTO.mdx)[] \\| [UpdateTaxLineDTO](types.CartTypes.UpdateTaxLineDTO.mdx)[]","description":"The tax lines of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateAdjustmentDTO](types.CartTypes.CreateAdjustmentDTO.mdx)[] \\| [UpdateAdjustmentDTO](types.CartTypes.UpdateAdjustmentDTO.mdx)[]","description":"The adjustments of the shipping method.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateShippingMethodDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateShippingMethodTaxLineDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateShippingMethodTaxLineDTO.mdx index a240c7d9f5111..f87be6847c88c 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateShippingMethodTaxLineDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateShippingMethodTaxLineDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdateShippingMethodTaxLineDTO +The attributes to update in the shipping method tax line. + ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateTaxLineDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateTaxLineDTO.mdx index 67dd4deb195ac..5c6eaf5844a3f 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateTaxLineDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpdateTaxLineDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdateTaxLineDTO +The attributes to update in the tax line. + ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpsertAddressDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpsertAddressDTO.mdx index 9286e008fe70d..81e14bf5679a9 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpsertAddressDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpsertAddressDTO.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpsertAddressDTO -ADDRESS START +The attributes in the address to be created or updated. ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpsertAddressDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpsertAddressDTO"/> diff --git a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpsertLineItemAdjustmentDTO.mdx b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpsertLineItemAdjustmentDTO.mdx index 2cdd7daafa4d1..eb73806236203 100644 --- a/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpsertLineItemAdjustmentDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/interfaces/types.CartTypes.UpsertLineItemAdjustmentDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpsertLineItemAdjustmentDTO +The attributes in the line item adjustment to be created or updated. + ## Properties - + diff --git a/www/apps/docs/content/references/types/CartTypes/types/types.CartTypes.legacy_CartDTO.mdx b/www/apps/docs/content/references/types/CartTypes/types/types.CartTypes.legacy_CartDTO.mdx index 081be87776ed1..2e378fde02ad4 100644 --- a/www/apps/docs/content/references/types/CartTypes/types/types.CartTypes.legacy_CartDTO.mdx +++ b/www/apps/docs/content/references/types/CartTypes/types/types.CartTypes.legacy_CartDTO.mdx @@ -12,4 +12,4 @@ Use CartDTO instead ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_total","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"`number` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_total","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refundable_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="legacy_CartDTO"/> +`","description":"The context of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string` \\| `null`","description":"The associated sales channel's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_total","type":"`number`","description":"The shipping total of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"The discount total of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"`number`","description":"The raw discount total of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number` \\| `null`","description":"The item tax total of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"`number` \\| `null`","description":"The shipping tax total of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number` \\| `null`","description":"The tax total of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_total","type":"`number`","description":"The refunded total of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"The total of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"The subtotal of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refundable_amount","type":"`number`","description":"The refundable amount of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`number`","description":"The gift card total of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"`number`","description":"The gift card tax total of the cart.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="legacy_CartDTO"/> diff --git a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.AddressCreatePayload.mdx b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.AddressCreatePayload.mdx index 008356b0a7274..5cf86637a3054 100644 --- a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.AddressCreatePayload.mdx +++ b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.AddressCreatePayload.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # AddressCreatePayload +Address fields used when creating an address. + ## Properties - + diff --git a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.AddressPayload.mdx b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.AddressPayload.mdx index d9b5280fd44cb..668c5c262d366 100644 --- a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.AddressPayload.mdx +++ b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.AddressPayload.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # AddressPayload +Address fields used when creating/updating an address. + ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="AddressPayload"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"Company","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"Address line 1","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"Address line 2","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"City","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The 2 character ISO code of the country in lower case","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"Province","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"Postal Code","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="AddressPayload"/> diff --git a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.BaseEntity.mdx b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.BaseEntity.mdx index 0a63cd48827b5..42812be3c0191 100644 --- a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.BaseEntity.mdx +++ b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.BaseEntity.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # BaseEntity +Representing a table in the database. + ## Properties - + diff --git a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.ConfigModule.mdx b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.ConfigModule.mdx index caa5e7a6b7b21..b73d18f9f4165 100644 --- a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.ConfigModule.mdx +++ b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.ConfigModule.mdx @@ -28,11 +28,11 @@ module.exports = { It's highly recommended to store the values of configurations in environment variables, then reference them within `medusa-config.js`. -During development, you can set your environment variables in the `.env` file at the root of your Medusa backend project. In production, +During development, you can set your environment variables in the `.env` file at the root of your Medusa backend project. In production, setting the environment variables depends on the hosting provider. --- ## Properties -` & `object`","description":"An object that includes additional configurations to pass to the database connection. You can pass any configuration. One defined configuration to pass is \n`ssl` which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`. \nDuring development, it’s recommended not to pass this option.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"ssl","type":"`object`","description":"Configure support for TLS/SSL connection","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"redis_url","type":"`string`","description":"Used to specify the URL to connect to Redis. This is only used for scheduled jobs. If you omit this configuration, scheduled jobs won't work.\n\n:::note\n\nYou must first have Redis installed. You can refer to [Redis's installation guide](https://redis.io/docs/getting-started/installation/).\n\n:::\n\nThe Redis connection URL has the following format:\n\n```bash\nredis[s]://[[username][:password]@][host][:port][/db-number]\n```\n\nFor a local Redis installation, the connection URL should be `redis://localhost:6379` unless you’ve made any changes to the Redis configuration during installation.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_prefix","type":"`string`","description":"The prefix set on all keys stored in Redis. The default value is `sess:`. \n\nIf this configuration option is provided, it is prepended to `sess:`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_options","type":"`RedisOptions`","description":"An object of options to pass ioredis. You can refer to [ioredis’s RedisOptions documentation](https://redis.github.io/ioredis/index.html#RedisOptions) \nfor the list of available options.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"session_options","type":"[SessionOptions](../../interfaces/types.SessionOptions.mdx)","description":"An object of options to pass to [express-session](https://www.npmjs.com/package/express-session).","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"The name of the session ID cookie to set in the response (and read from in the request). The default value is `connect.sid`. \nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#name) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"resave","type":"`boolean`","description":"Whether the session should be saved back to the session store, even if the session was never modified during the request. The default value is `true`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#resave) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rolling","type":"`boolean`","description":"Whether the session identifier cookie should be force-set on every response. The default value is `false`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#rolling) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"saveUninitialized","type":"`boolean`","description":"Whether a session that is \"uninitialized\" is forced to be saved to the store. The default value is `true`. \nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#saveUninitialized) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"secret","type":"`string`","description":"The secret to sign the session ID cookie. By default, the value of `cookie_secret` is used.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#secret) for details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ttl","type":"`number`","description":"Used when calculating the `Expires` `Set-Cookie` attribute of cookies. By default, its value is `10 * 60 * 60 * 1000`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#cookiemaxage) for details.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"http_compression","type":"[HttpCompressionOptions](types.CommonTypes.HttpCompressionOptions.mdx)","description":"Configure HTTP compression from the application layer. If you have access to the HTTP server, the recommended approach would be to enable it there. \nHowever, some platforms don't offer access to the HTTP layer and in those cases, this is a good alternative.\n\nIts value is an object that has the following properties:\n\nIf you enable HTTP compression and you want to disable it for specific API Routes, you can pass in the request header `\"x-no-compression\": true`.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"enabled","type":"`boolean`","description":"Whether HTTP compression is enabled. By default, it's `false`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"level","type":"`number`","description":"The level of zlib compression to apply to responses. A higher level will result in better compression but will take longer to complete. \nA lower level will result in less compression but will be much faster. The default value is `6`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"memLevel","type":"`number`","description":"How much memory should be allocated to the internal compression state. It's an integer in the range of 1 (minimum level) and 9 (maximum level). \nThe default value is `8`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"threshold","type":"`string` \\| `number`","description":"The minimum response body size that compression is applied on. Its value can be the number of bytes or any string accepted by the \n[bytes](https://www.npmjs.com/package/bytes) module. The default value is `1024`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"jobs_batch_size","type":"`number`","description":"Configure the number of staged jobs that are polled from the database. Default is 1000.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"plugins","type":"(`string` \\| `object`)[]","description":"On your Medusa backend, you can use [Plugins](https://docs.medusajs.com/development/plugins/overview) to add custom features or integrate third-party services. \nFor example, installing a plugin to use Stripe as a payment processor.\n\nAside from installing the plugin with NPM, you need to pass the plugin you installed into the `plugins` array defined in `medusa-config.js`.\n\nThe items in the array can either be:\n\n- A string, which is the name of the plugin to add. You can pass a plugin as a string if it doesn’t require any configurations.\n- An object having the following properties:\n - `resolve`: The name of the plugin.\n - `options`: An object that includes the plugin’s options. These options vary for each plugin, and you should refer to the plugin’s documentation for available options.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"featureFlags","type":"`Record`","description":"Some features in the Medusa backend are guarded by a feature flag. This ensures constant shipping of new features while maintaining the engine’s stability.\n\nYou can specify whether a feature should or shouldn’t be used in your backend by enabling its feature flag. Feature flags can be enabled through either environment \nvariables or through this configuration exported in `medusa-config.js`.\n\nIf you want to use the environment variables method, learn more about it in the [Feature Flags documentation](https://docs.medusajs.com/development/feature-flags/toggle#method-one-using-environment-variables).\n\nThe `featureFlags` configuration is an object. Its properties are the names of the feature flags. Each property’s value is a boolean indicating whether the feature flag is enabled.\n\nYou can find available feature flags and their key name [here](https://github.com/medusajs/medusa/tree/master/packages/medusa/src/loaders/feature-flags).","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"modules","type":"`Record`","description":"In Medusa, commerce and core logic are modularized to allow developers to extend or replace certain [modules](https://docs.medusajs.com/development/modules/overview) \nwith custom implementations.\n\nAside from installing the module with NPM, you must add it to the exported object in `medusa-config.js`.\n\nThe keys of the `modules` configuration object refer to the type of module. Its value can be one of the following:\n\n1. A boolean value indicating whether the module type is enabled;\n2. Or a string value indicating the name of the module to be used for the module type. This can be used if the module does not require any options;\n3. Or an object having the following properties, but typically you would mainly use the `resolve` and `options` properties only:\n 1. `resolve`: a string indicating the name of the module.\n 2. `options`: an object indicating the options to pass to the module. These options vary for each module, and you should refer to the module’s documentation for details on them.\n 3. `resources`: a string indicating whether the module shares the dependency container with the Medusa core. Its value can either be `shared` or `isolated`. Refer to the [Modules documentation](https://docs.medusajs.com/development/modules/create#module-scope) for more details.\n 4. `alias`: a string indicating a unique alias to register the module under. Other modules can’t use the same alias.\n 5. `main`: a boolean value indicating whether this module is the main registered module. This is useful when an alias is used.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ConfigModule"/> +` & `object`","description":"An object that includes additional configurations to pass to the database connection. You can pass any configuration. One defined configuration to pass is\n`ssl` which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`.\nDuring development, it’s recommended not to pass this option.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"ssl","type":"`object`","description":"Configure support for TLS/SSL connection","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"database_driver_options","type":"`Record` & `object`","description":"An object that includes additional configurations to pass to the database connection for v2. You can pass any configuration. One defined configuration to pass is\n`ssl` which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`.\nDuring development, it’s recommended not to pass this option.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"connection","type":"`object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"redis_url","type":"`string`","description":"Used to specify the URL to connect to Redis. This is only used for scheduled jobs. If you omit this configuration, scheduled jobs won't work.\n\n:::note\n\nYou must first have Redis installed. You can refer to [Redis's installation guide](https://redis.io/docs/getting-started/installation/).\n\n:::\n\nThe Redis connection URL has the following format:\n\n```bash\nredis[s]://[[username][:password]@][host][:port][/db-number]\n```\n\nFor a local Redis installation, the connection URL should be `redis://localhost:6379` unless you’ve made any changes to the Redis configuration during installation.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_prefix","type":"`string`","description":"The prefix set on all keys stored in Redis. The default value is `sess:`.\n\nIf this configuration option is provided, it is prepended to `sess:`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_options","type":"`RedisOptions`","description":"An object of options to pass ioredis. You can refer to [ioredis’s RedisOptions documentation](https://redis.github.io/ioredis/index.html#RedisOptions)\nfor the list of available options.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"session_options","type":"[SessionOptions](../../interfaces/types.SessionOptions.mdx)","description":"An object of options to pass to [express-session](https://www.npmjs.com/package/express-session).","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"The name of the session ID cookie to set in the response (and read from in the request). The default value is `connect.sid`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#name) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"resave","type":"`boolean`","description":"Whether the session should be saved back to the session store, even if the session was never modified during the request. The default value is `true`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#resave) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rolling","type":"`boolean`","description":"Whether the session identifier cookie should be force-set on every response. The default value is `false`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#rolling) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"saveUninitialized","type":"`boolean`","description":"Whether a session that is \"uninitialized\" is forced to be saved to the store. The default value is `true`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#saveUninitialized) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"secret","type":"`string`","description":"The secret to sign the session ID cookie. By default, the value of `cookie_secret` is used.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#secret) for details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ttl","type":"`number`","description":"Used when calculating the `Expires` `Set-Cookie` attribute of cookies. By default, its value is `10 * 60 * 60 * 1000`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#cookiemaxage) for details.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"http_compression","type":"[HttpCompressionOptions](types.CommonTypes.HttpCompressionOptions.mdx)","description":"Configure HTTP compression from the application layer. If you have access to the HTTP server, the recommended approach would be to enable it there.\nHowever, some platforms don't offer access to the HTTP layer and in those cases, this is a good alternative.\n\nIts value is an object that has the following properties:\n\nIf you enable HTTP compression and you want to disable it for specific API Routes, you can pass in the request header `\"x-no-compression\": true`.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"enabled","type":"`boolean`","description":"Whether HTTP compression is enabled. By default, it's `false`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"level","type":"`number`","description":"The level of zlib compression to apply to responses. A higher level will result in better compression but will take longer to complete.\nA lower level will result in less compression but will be much faster. The default value is `6`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"memLevel","type":"`number`","description":"How much memory should be allocated to the internal compression state. It's an integer in the range of 1 (minimum level) and 9 (maximum level).\nThe default value is `8`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"threshold","type":"`string` \\| `number`","description":"The minimum response body size that compression is applied on. Its value can be the number of bytes or any string accepted by the\n[bytes](https://www.npmjs.com/package/bytes) module. The default value is `1024`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"jobs_batch_size","type":"`number`","description":"Configure the number of staged jobs that are polled from the database. Default is `1000`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"worker_mode","type":"`\"shared\"` \\| `\"worker\"` \\| `\"server\"`","description":"Configure the application's worker mode. Default is `shared`.\n\n- Use `shared` to run the application in a single process.\n- Use `worker` to run the a worker process only.\n- Use `server` to run the application server only.\n\nLearn more in [this guide](https://docs.medusajs.com/v1/development/medusa-worker).","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"plugins","type":"(`string` \\| `object`)[]","description":"On your Medusa backend, you can use [Plugins](https://docs.medusajs.com/v1/development/plugins/overview) to add custom features or integrate third-party services.\nFor example, installing a plugin to use Stripe as a payment processor.\n\nAside from installing the plugin with NPM, you need to pass the plugin you installed into the `plugins` array defined in `medusa-config.js`.\n\nThe items in the array can either be:\n\n- A string, which is the name of the plugin to add. You can pass a plugin as a string if it doesn’t require any configurations.\n- An object having the following properties:\n - `resolve`: The name of the plugin.\n - `options`: An object that includes the plugin’s options. These options vary for each plugin, and you should refer to the plugin’s documentation for available options.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"featureFlags","type":"`Record`","description":"Some features in the Medusa backend are guarded by a feature flag. This ensures constant shipping of new features while maintaining the engine’s stability.\n\nYou can specify whether a feature should or shouldn’t be used in your backend by enabling its feature flag. Feature flags can be enabled through either environment\nvariables or through this configuration exported in `medusa-config.js`.\n\nIf you want to use the environment variables method, learn more about it in the [Feature Flags documentation](https://docs.medusajs.com/v1/development/feature-flags/toggle#method-one-using-environment-variables).\n\nThe `featureFlags` configuration is an object. Its properties are the names of the feature flags. Each property’s value is a boolean indicating whether the feature flag is enabled.\n\nYou can find available feature flags and their key name [here](https://github.com/medusajs/medusa/tree/master/packages/medusa/src/loaders/feature-flags).","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"modules","type":"`Record`","description":"In Medusa, commerce and core logic are modularized to allow developers to extend or replace certain [modules](https://docs.medusajs.com/v1/development/modules/overview)\nwith custom implementations.\n\nAside from installing the module with NPM, you must add it to the exported object in `medusa-config.js`.\n\nThe keys of the `modules` configuration object refer to the type of module. Its value can be one of the following:\n\n1. A boolean value indicating whether the module type is enabled;\n2. Or a string value indicating the name of the module to be used for the module type. This can be used if the module does not require any options;\n3. Or an object having the following properties, but typically you would mainly use the `resolve` and `options` properties only:\n 1. `resolve`: a string indicating the name of the module.\n 2. `options`: an object indicating the options to pass to the module. These options vary for each module, and you should refer to the module’s documentation for details on them.\n 3. `resources`: a string indicating whether the module shares the dependency container with the Medusa core. Its value can either be `shared` or `isolated`. Refer to the [Modules documentation](https://docs.medusajs.com/v1/development/modules/create#module-scope) for more details.\n 4. `alias`: a string indicating a unique alias to register the module under. Other modules can’t use the same alias.\n 5. `main`: a boolean value indicating whether this module is the main registered module. This is useful when an alias is used.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ConfigModule"/> diff --git a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.CustomFindOptions.mdx b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.CustomFindOptions.mdx deleted file mode 100644 index 48275b529cf03..0000000000000 --- a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.CustomFindOptions.mdx +++ /dev/null @@ -1,11 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# CustomFindOptions - -## Type parameters - - - -## Properties - - diff --git a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.DateComparisonOperator.mdx b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.DateComparisonOperator.mdx index bf81f841eb909..81612c1dfa7f3 100644 --- a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.DateComparisonOperator.mdx +++ b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.DateComparisonOperator.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # DateComparisonOperator +Fields used to apply flexible filters on dates. + ## Properties - + diff --git a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.EmptyQueryParams.mdx b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.EmptyQueryParams.mdx index 8a39aa2eff6dd..2ab705acd9709 100644 --- a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.EmptyQueryParams.mdx +++ b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.EmptyQueryParams.mdx @@ -1,3 +1,5 @@ import TypeList from "@site/src/components/TypeList" # EmptyQueryParams + +Requests that don't accept any query parameters can use this type. diff --git a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.FindConfig.mdx b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.FindConfig.mdx index 34f18ba63eda8..c56a02a0c714c 100644 --- a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.FindConfig.mdx +++ b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.FindConfig.mdx @@ -11,4 +11,4 @@ which provides correct typing of field names in its properties. ## Properties - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FindConfig"/> diff --git a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.FindPaginationParams.mdx b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.FindPaginationParams.mdx index 506e829cc6518..a01ead9d7262d 100644 --- a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.FindPaginationParams.mdx +++ b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.FindPaginationParams.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FindPaginationParams +Parameters that can be used to configure how a list of data is paginated. + ## Properties - + diff --git a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.FindParams.mdx b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.FindParams.mdx index 3ff4fbab06aa7..ecd57f265591e 100644 --- a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.FindParams.mdx +++ b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.FindParams.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FindParams +Parameters that can be used to configure how data is retrieved. + ## Properties - + diff --git a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.HttpCompressionOptions.mdx b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.HttpCompressionOptions.mdx index 4f529c685a6a0..425185e76466f 100644 --- a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.HttpCompressionOptions.mdx +++ b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.HttpCompressionOptions.mdx @@ -6,4 +6,4 @@ HTTP compression configurations. ## Properties - + diff --git a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.NumericalComparisonOperator.mdx b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.NumericalComparisonOperator.mdx index d35a49627f9df..f41938bd9ea8e 100644 --- a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.NumericalComparisonOperator.mdx +++ b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.NumericalComparisonOperator.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # NumericalComparisonOperator +Fields used to apply flexible filters on numbers. + ## Properties - + diff --git a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.PaginatedResponse.mdx b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.PaginatedResponse.mdx new file mode 100644 index 0000000000000..f2ae9b34f0861 --- /dev/null +++ b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.PaginatedResponse.mdx @@ -0,0 +1,13 @@ +import TypeList from "@site/src/components/TypeList" + +# PaginatedResponse + +Fields included in the response if it's paginated. + +## Type parameters + + + +## Properties + + diff --git a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.ProjectConfigOptions.mdx b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.ProjectConfigOptions.mdx index 5a1a37ea5ba62..a67c24ef68bd1 100644 --- a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.ProjectConfigOptions.mdx +++ b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.ProjectConfigOptions.mdx @@ -6,4 +6,4 @@ Essential configurations related to the Medusa backend, such as database and COR ## Properties -` & `object`","description":"An object that includes additional configurations to pass to the database connection. You can pass any configuration. One defined configuration to pass is \n`ssl` which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`. \nDuring development, it’s recommended not to pass this option.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"ssl","type":"`object`","description":"Configure support for TLS/SSL connection","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"rejectUnauthorized","type":"`false`","description":"Whether to fail connection if the server certificate is verified against the list of supplied CAs and the hostname and no match is found.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"redis_url","type":"`string`","description":"Used to specify the URL to connect to Redis. This is only used for scheduled jobs. If you omit this configuration, scheduled jobs won't work.\n\n:::note\n\nYou must first have Redis installed. You can refer to [Redis's installation guide](https://redis.io/docs/getting-started/installation/).\n\n:::\n\nThe Redis connection URL has the following format:\n\n```bash\nredis[s]://[[username][:password]@][host][:port][/db-number]\n```\n\nFor a local Redis installation, the connection URL should be `redis://localhost:6379` unless you’ve made any changes to the Redis configuration during installation.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_prefix","type":"`string`","description":"The prefix set on all keys stored in Redis. The default value is `sess:`. \n\nIf this configuration option is provided, it is prepended to `sess:`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_options","type":"`RedisOptions`","description":"An object of options to pass ioredis. You can refer to [ioredis’s RedisOptions documentation](https://redis.github.io/ioredis/index.html#RedisOptions) \nfor the list of available options.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"session_options","type":"[SessionOptions](../../interfaces/types.SessionOptions.mdx)","description":"An object of options to pass to [express-session](https://www.npmjs.com/package/express-session).","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"The name of the session ID cookie to set in the response (and read from in the request). The default value is `connect.sid`. \nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#name) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"resave","type":"`boolean`","description":"Whether the session should be saved back to the session store, even if the session was never modified during the request. The default value is `true`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#resave) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rolling","type":"`boolean`","description":"Whether the session identifier cookie should be force-set on every response. The default value is `false`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#rolling) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"saveUninitialized","type":"`boolean`","description":"Whether a session that is \"uninitialized\" is forced to be saved to the store. The default value is `true`. \nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#saveUninitialized) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"secret","type":"`string`","description":"The secret to sign the session ID cookie. By default, the value of `cookie_secret` is used.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#secret) for details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ttl","type":"`number`","description":"Used when calculating the `Expires` `Set-Cookie` attribute of cookies. By default, its value is `10 * 60 * 60 * 1000`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#cookiemaxage) for details.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"http_compression","type":"[HttpCompressionOptions](types.CommonTypes.HttpCompressionOptions.mdx)","description":"Configure HTTP compression from the application layer. If you have access to the HTTP server, the recommended approach would be to enable it there. \nHowever, some platforms don't offer access to the HTTP layer and in those cases, this is a good alternative.\n\nIts value is an object that has the following properties:\n\nIf you enable HTTP compression and you want to disable it for specific API Routes, you can pass in the request header `\"x-no-compression\": true`.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"enabled","type":"`boolean`","description":"Whether HTTP compression is enabled. By default, it's `false`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"level","type":"`number`","description":"The level of zlib compression to apply to responses. A higher level will result in better compression but will take longer to complete. \nA lower level will result in less compression but will be much faster. The default value is `6`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"memLevel","type":"`number`","description":"How much memory should be allocated to the internal compression state. It's an integer in the range of 1 (minimum level) and 9 (maximum level). \nThe default value is `8`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"threshold","type":"`string` \\| `number`","description":"The minimum response body size that compression is applied on. Its value can be the number of bytes or any string accepted by the \n[bytes](https://www.npmjs.com/package/bytes) module. The default value is `1024`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"jobs_batch_size","type":"`number`","description":"Configure the number of staged jobs that are polled from the database. Default is 1000.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ProjectConfigOptions"/> +` & `object`","description":"An object that includes additional configurations to pass to the database connection. You can pass any configuration. One defined configuration to pass is\n`ssl` which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`.\nDuring development, it’s recommended not to pass this option.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"ssl","type":"`object`","description":"Configure support for TLS/SSL connection","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"rejectUnauthorized","type":"`false`","description":"Whether to fail connection if the server certificate is verified against the list of supplied CAs and the hostname and no match is found.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"database_driver_options","type":"`Record` & `object`","description":"An object that includes additional configurations to pass to the database connection for v2. You can pass any configuration. One defined configuration to pass is\n`ssl` which enables support for TLS/SSL connections.\n\nThis is useful for production databases, which can be supported by setting the `rejectUnauthorized` attribute of `ssl` object to `false`.\nDuring development, it’s recommended not to pass this option.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"connection","type":"`object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"ssl","type":"`object`","description":"Configure support for TLS/SSL connection","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"redis_url","type":"`string`","description":"Used to specify the URL to connect to Redis. This is only used for scheduled jobs. If you omit this configuration, scheduled jobs won't work.\n\n:::note\n\nYou must first have Redis installed. You can refer to [Redis's installation guide](https://redis.io/docs/getting-started/installation/).\n\n:::\n\nThe Redis connection URL has the following format:\n\n```bash\nredis[s]://[[username][:password]@][host][:port][/db-number]\n```\n\nFor a local Redis installation, the connection URL should be `redis://localhost:6379` unless you’ve made any changes to the Redis configuration during installation.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_prefix","type":"`string`","description":"The prefix set on all keys stored in Redis. The default value is `sess:`.\n\nIf this configuration option is provided, it is prepended to `sess:`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"redis_options","type":"`RedisOptions`","description":"An object of options to pass ioredis. You can refer to [ioredis’s RedisOptions documentation](https://redis.github.io/ioredis/index.html#RedisOptions)\nfor the list of available options.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"session_options","type":"[SessionOptions](../../interfaces/types.SessionOptions.mdx)","description":"An object of options to pass to [express-session](https://www.npmjs.com/package/express-session).","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"The name of the session ID cookie to set in the response (and read from in the request). The default value is `connect.sid`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#name) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"resave","type":"`boolean`","description":"Whether the session should be saved back to the session store, even if the session was never modified during the request. The default value is `true`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#resave) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rolling","type":"`boolean`","description":"Whether the session identifier cookie should be force-set on every response. The default value is `false`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#rolling) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"saveUninitialized","type":"`boolean`","description":"Whether a session that is \"uninitialized\" is forced to be saved to the store. The default value is `true`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#saveUninitialized) for more details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"secret","type":"`string`","description":"The secret to sign the session ID cookie. By default, the value of `cookie_secret` is used.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#secret) for details.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ttl","type":"`number`","description":"Used when calculating the `Expires` `Set-Cookie` attribute of cookies. By default, its value is `10 * 60 * 60 * 1000`.\nRefer to [express-session’s documentation](https://www.npmjs.com/package/express-session#cookiemaxage) for details.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"http_compression","type":"[HttpCompressionOptions](types.CommonTypes.HttpCompressionOptions.mdx)","description":"Configure HTTP compression from the application layer. If you have access to the HTTP server, the recommended approach would be to enable it there.\nHowever, some platforms don't offer access to the HTTP layer and in those cases, this is a good alternative.\n\nIts value is an object that has the following properties:\n\nIf you enable HTTP compression and you want to disable it for specific API Routes, you can pass in the request header `\"x-no-compression\": true`.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"enabled","type":"`boolean`","description":"Whether HTTP compression is enabled. By default, it's `false`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"level","type":"`number`","description":"The level of zlib compression to apply to responses. A higher level will result in better compression but will take longer to complete.\nA lower level will result in less compression but will be much faster. The default value is `6`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"memLevel","type":"`number`","description":"How much memory should be allocated to the internal compression state. It's an integer in the range of 1 (minimum level) and 9 (maximum level).\nThe default value is `8`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"threshold","type":"`string` \\| `number`","description":"The minimum response body size that compression is applied on. Its value can be the number of bytes or any string accepted by the\n[bytes](https://www.npmjs.com/package/bytes) module. The default value is `1024`.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"jobs_batch_size","type":"`number`","description":"Configure the number of staged jobs that are polled from the database. Default is `1000`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"worker_mode","type":"`\"shared\"` \\| `\"worker\"` \\| `\"server\"`","description":"Configure the application's worker mode. Default is `shared`.\n\n- Use `shared` to run the application in a single process.\n- Use `worker` to run the a worker process only.\n- Use `server` to run the application server only.\n\nLearn more in [this guide](https://docs.medusajs.com/v1/development/medusa-worker).","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ProjectConfigOptions"/> diff --git a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.RequestQueryFields.mdx b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.RequestQueryFields.mdx new file mode 100644 index 0000000000000..9db8f91e89188 --- /dev/null +++ b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.RequestQueryFields.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# RequestQueryFields + +Fields that can be passed in the query parameters of a request. + +## Properties + + diff --git a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.SoftDeletableEntity.mdx b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.SoftDeletableEntity.mdx index c9bfb0e91d557..46dc1c625d3a7 100644 --- a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.SoftDeletableEntity.mdx +++ b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.SoftDeletableEntity.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # SoftDeletableEntity +Representing a deletable entity. + ## Properties - + diff --git a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.StringComparisonOperator.mdx b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.StringComparisonOperator.mdx index fbd22d7a421c6..774d76251bef5 100644 --- a/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.StringComparisonOperator.mdx +++ b/www/apps/docs/content/references/types/CommonTypes/interfaces/types.CommonTypes.StringComparisonOperator.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # StringComparisonOperator +Fields used to apply flexible filters on strings. + ## Properties - + diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.BatchMethodRequest.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.BatchMethodRequest.mdx new file mode 100644 index 0000000000000..374fd6b41c222 --- /dev/null +++ b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.BatchMethodRequest.mdx @@ -0,0 +1,13 @@ +import TypeList from "@site/src/components/TypeList" + +# BatchMethodRequest + + **BatchMethodRequest**: `Object` + +## Type Parameters + + + +## Properties + + diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.BatchMethodResponse.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.BatchMethodResponse.mdx new file mode 100644 index 0000000000000..093c90be7e2a1 --- /dev/null +++ b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.BatchMethodResponse.mdx @@ -0,0 +1,13 @@ +import TypeList from "@site/src/components/TypeList" + +# BatchMethodResponse + + **BatchMethodResponse**: `Object` + +## Type Parameters + + + +## Properties + + diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.BatchWorkflowInput.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.BatchWorkflowInput.mdx new file mode 100644 index 0000000000000..15a369d633543 --- /dev/null +++ b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.BatchWorkflowInput.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# BatchWorkflowInput + + **BatchWorkflowInput**: [BatchMethodRequest](types.CommonTypes.BatchMethodRequest.mdx)<TCreate, TUpdate> + +## Type Parameters + + diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.BatchWorkflowOutput.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.BatchWorkflowOutput.mdx new file mode 100644 index 0000000000000..2874c00946535 --- /dev/null +++ b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.BatchWorkflowOutput.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# BatchWorkflowOutput + + **BatchWorkflowOutput**: [BatchMethodResponse](types.CommonTypes.BatchMethodResponse.mdx)<T> + +## Type Parameters + + diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.DeleteResponse.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.DeleteResponse.mdx index b2c5464bae153..bb6e45b7c692e 100644 --- a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.DeleteResponse.mdx +++ b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.DeleteResponse.mdx @@ -6,6 +6,10 @@ import TypeList from "@site/src/components/TypeList" The fields returned in the response of a DELETE request. +## Type Parameters + + + ## Properties - + diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.ExtendedFindConfig.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.ExtendedFindConfig.mdx deleted file mode 100644 index 874ade390fea2..0000000000000 --- a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.ExtendedFindConfig.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# ExtendedFindConfig - - **ExtendedFindConfig**: Omit<FindOneOptions<TEntity>, "where" \| "relations" \| "select"> \| Omit<FindManyOptions<TEntity>, "where" \| "relations" \| "select"> & `object` - -## Type Parameters - - diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.KebabCase.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.KebabCase.mdx new file mode 100644 index 0000000000000..c497098831f04 --- /dev/null +++ b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.KebabCase.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# KebabCase + + **KebabCase**: S extends \`${infer T}${infer U}${infer V}\` ? `U` extends Uppercase<U> ? \`${Lowercase<T>}-${KebabCase<\`${Lowercase<U>}${V}\`>}\` : \`${T}${KebabCase<\`${U}${V}\`>}\` : S + +## Type Parameters + + diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.LinkMethodRequest.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.LinkMethodRequest.mdx new file mode 100644 index 0000000000000..0abd9f2c03037 --- /dev/null +++ b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.LinkMethodRequest.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# LinkMethodRequest + + **LinkMethodRequest**: `Object` + +## Properties + + diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.LinkWorkflowInput.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.LinkWorkflowInput.mdx new file mode 100644 index 0000000000000..e1742abf68af5 --- /dev/null +++ b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.LinkWorkflowInput.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# LinkWorkflowInput + + **LinkWorkflowInput**: `Object` + +## Properties + + diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.PartialPick.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.PartialPick.mdx deleted file mode 100644 index 68aa8ce4ade52..0000000000000 --- a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.PartialPick.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# PartialPick - - **PartialPick**: { [P in K]?: T[P] } - -## Type Parameters - - diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.PluginDetails.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.PluginDetails.mdx new file mode 100644 index 0000000000000..8314f77afacd6 --- /dev/null +++ b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.PluginDetails.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# PluginDetails + + **PluginDetails**: `Object` + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"version","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="PluginDetails"/> diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.Pluralize.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.Pluralize.mdx deleted file mode 100644 index c4465c3096448..0000000000000 --- a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.Pluralize.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# Pluralize - - **Pluralize**: Singular extends \`${infer R}y\` ? \`${R}ies\` : Singular extends \`${infer R}es\` ? \`${Singular}\` : Singular extends \`${infer R}ss\` \| \`${infer R}sh\` \| \`${infer R}ch\` \| \`${infer R}x\` \| \`${infer R}z\` \| \`${infer R}o\` ? \`${Singular}es\` : \`${Singular}s\` - -## Type Parameters - - diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.QueryConfig.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.QueryConfig.mdx deleted file mode 100644 index 50bf422d90f4f..0000000000000 --- a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.QueryConfig.mdx +++ /dev/null @@ -1,13 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# QueryConfig - - **QueryConfig**: `Object` - -## Type Parameters - - - -## Properties - - diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.QuerySelector.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.QuerySelector.mdx deleted file mode 100644 index affabd5208c4f..0000000000000 --- a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.QuerySelector.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# QuerySelector - - **QuerySelector**: [Selector](types.CommonTypes.Selector.mdx)<TEntity> & `object` - -## Type Parameters - - diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.RequestQueryFields.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.RequestQueryFields.mdx deleted file mode 100644 index 1f7f18f015867..0000000000000 --- a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.RequestQueryFields.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# RequestQueryFields - - **RequestQueryFields**: `Object` - -## Properties - - diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.RuleOperatorType.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.RuleOperatorType.mdx new file mode 100644 index 0000000000000..80a42a2e80ed1 --- /dev/null +++ b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.RuleOperatorType.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# RuleOperatorType + + **RuleOperatorType**: `"in"` \| `"eq"` \| `"ne"` \| `"gt"` \| `"gte"` \| `"lt"` \| `"lte"` \| `"nin"` + +The accepted values for the shipping rule option's operator. diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.Selector.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.Selector.mdx deleted file mode 100644 index 47fe662605b2c..0000000000000 --- a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.Selector.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# Selector - - **Selector**: { [key in keyof TEntity]?: TEntity[key] \| TEntity[key][] \| DateComparisonOperator \| StringComparisonOperator \| NumericalComparisonOperator \| FindOperator<TEntity[key][] \| string \| string[]> } - -## Type Parameters - - diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.SnakeCase.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.SnakeCase.mdx new file mode 100644 index 0000000000000..05d35bd9172da --- /dev/null +++ b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.SnakeCase.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# SnakeCase + + **SnakeCase**: S extends \`${infer T}${infer U}${infer V}\` ? `U` extends Uppercase<U> ? \`${Lowercase<T>}\_${SnakeCase<\`${Lowercase<U>}${V}\`>}\` : \`${T}${SnakeCase<\`${U}${V}\`>}\` : S + +## Type Parameters + + diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.TotalField.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.TotalField.mdx deleted file mode 100644 index af2c7d13ff8e2..0000000000000 --- a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.TotalField.mdx +++ /dev/null @@ -1,5 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# TotalField - - **TotalField**: `"shipping_total"` \| `"discount_total"` \| `"tax_total"` \| `"refunded_total"` \| `"total"` \| `"subtotal"` \| `"refundable_amount"` \| `"gift_card_total"` \| `"gift_card_tax_total"` diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.TreeQuerySelector.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.TreeQuerySelector.mdx deleted file mode 100644 index fdb561f8cc41d..0000000000000 --- a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.TreeQuerySelector.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# TreeQuerySelector - - **TreeQuerySelector**: [QuerySelector](types.CommonTypes.QuerySelector.mdx)<TEntity> & `object` - -## Type Parameters - - diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.Writable.mdx b/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.Writable.mdx deleted file mode 100644 index 95377aae06cd4..0000000000000 --- a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.Writable.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# Writable - - **Writable**: { -readonly [key in keyof T]: T[key] \| FindOperator<T[key]> \| FindOperator<T[key][]> \| FindOperator<string[]> } - -## Type Parameters - - diff --git a/www/apps/docs/content/references/types/CurrencyTypes/interfaces/types.CurrencyTypes.CurrencyDTO.mdx b/www/apps/docs/content/references/types/CurrencyTypes/interfaces/types.CurrencyTypes.CurrencyDTO.mdx new file mode 100644 index 0000000000000..532bcb1b16fd4 --- /dev/null +++ b/www/apps/docs/content/references/types/CurrencyTypes/interfaces/types.CurrencyTypes.CurrencyDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CurrencyDTO + +A currency's data. + +## Properties + + diff --git a/www/apps/docs/content/references/types/CurrencyTypes/interfaces/types.CurrencyTypes.FilterableCurrencyProps.mdx b/www/apps/docs/content/references/types/CurrencyTypes/interfaces/types.CurrencyTypes.FilterableCurrencyProps.mdx new file mode 100644 index 0000000000000..2c6ad30c59c17 --- /dev/null +++ b/www/apps/docs/content/references/types/CurrencyTypes/interfaces/types.CurrencyTypes.FilterableCurrencyProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableCurrencyProps + +Filters to apply on a currency. + +## Properties + + diff --git a/www/apps/docs/content/references/types/CurrencyTypes/interfaces/types.CurrencyTypes.ICurrencyModuleService.mdx b/www/apps/docs/content/references/types/CurrencyTypes/interfaces/types.CurrencyTypes.ICurrencyModuleService.mdx new file mode 100644 index 0000000000000..67b411ef74e8c --- /dev/null +++ b/www/apps/docs/content/references/types/CurrencyTypes/interfaces/types.CurrencyTypes.ICurrencyModuleService.mdx @@ -0,0 +1,99 @@ +import TypeList from "@site/src/components/TypeList" + +# ICurrencyModuleService + +The main service interface for the Currency Module. + +## Methods + +### retrieve + +This method retrieves a currency by its code and and optionally based on the provided configurations. + +#### Example + +```ts +const currency = await currencyModuleService.retrieve("usd") +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieve"/> + +#### Returns + + + +### list + +This method is used to retrieve a paginated list of currencies based on optional filters and configuration. + +#### Example + +To retrieve a list of currencies using their codes: + +```ts +const currencies = await currencyModuleService.list({ + code: ["usd", "eur"], +}) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const currencies = await currencyModuleService.list( + { + code: ["usd", "eur"], + }, + { + take: 20, + skip: 2, + } +) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> + +#### Returns + + + +### listAndCount + +This method is used to retrieve a paginated list of currencies along with the total count of available currencies satisfying the provided filters. + +#### Example + +To retrieve a list of currencies using their codes: + +```ts +const [currencies, count] = + await currencyModuleService.listAndCount({ + code: ["usd", "eur"], + }) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [currencies, count] = + await currencyModuleService.listAndCount( + { + code: ["usd", "eur"], + }, + { + take: 20, + skip: 2, + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> + +#### Returns + + diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CreateCustomerAddressDTO.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CreateCustomerAddressDTO.mdx index f7991922ca02a..7aa616f2f789c 100644 --- a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CreateCustomerAddressDTO.mdx +++ b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CreateCustomerAddressDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateCustomerAddressDTO +The customer address to be created. + ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateCustomerAddressDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateCustomerAddressDTO"/> diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CreateCustomerDTO.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CreateCustomerDTO.mdx index f7c49c795c322..5f70dd7307747 100644 --- a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CreateCustomerDTO.mdx +++ b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CreateCustomerDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateCustomerDTO +The customer to be created. + ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateCustomerDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateCustomerDTO"/> diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CreateCustomerGroupDTO.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CreateCustomerGroupDTO.mdx index e20a36d85ea6c..3c99b0640749b 100644 --- a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CreateCustomerGroupDTO.mdx +++ b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CreateCustomerGroupDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateCustomerGroupDTO +The customer group to be created. + ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateCustomerGroupDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the customer group. For example,\nthe ID of the user that created the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateCustomerGroupDTO"/> diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerAddressDTO.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerAddressDTO.mdx index be5bf92fcd4cb..9cbb478c3fb03 100644 --- a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerAddressDTO.mdx +++ b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerAddressDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CustomerAddressDTO +The customer address details. + ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CustomerAddressDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CustomerAddressDTO"/> diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerDTO.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerDTO.mdx index 8fe1f88a34bac..265ffe55bb248 100644 --- a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerDTO.mdx +++ b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CustomerDTO +The customer details. + ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CustomerDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"The groups of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the group.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the group.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CustomerDTO"/> diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupCustomerDTO.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupCustomerDTO.mdx index 6d4ff48a64892..0127ad09eae49 100644 --- a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupCustomerDTO.mdx +++ b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupCustomerDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CustomerGroupCustomerDTO +The details of a group's customer. + ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"group","type":"Partial<[CustomerGroupDTO](types.CustomerTypes.CustomerGroupDTO.mdx)>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customers","type":"Partial<[CustomerDTO](types.CustomerTypes.CustomerDTO.mdx)>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_billing_address_id","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_shipping_address_id","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company_name","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"addresses","type":"[CustomerAddressDTO](types.CustomerTypes.CustomerAddressDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CustomerGroupCustomerDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"The groups of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the group.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the group.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"group","type":"Partial<[CustomerGroupDTO](types.CustomerTypes.CustomerGroupDTO.mdx)>","description":"The group's details.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the customer group.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the customer group.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customers","type":"Partial<[CustomerDTO](types.CustomerTypes.CustomerDTO.mdx)>[]","description":"The customers of the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The email of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"has_account","type":"`boolean`","description":"A flag indicating if customer has an account or not.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_billing_address_id","type":"`null` \\| `string`","description":"The associated default billing address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_shipping_address_id","type":"`null` \\| `string`","description":"The associated default shipping address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company_name","type":"`null` \\| `string`","description":"The company name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"addresses","type":"[CustomerAddressDTO](types.CustomerTypes.CustomerAddressDTO.mdx)[]","description":"The addresses of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"The groups of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_by","type":"`null` \\| `string`","description":"Who the relation was created by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer group customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer group customer.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CustomerGroupCustomerDTO"/> diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupDTO.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupDTO.mdx index 0331e59e101ca..f140a46f82ed1 100644 --- a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupDTO.mdx +++ b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CustomerGroupDTO +The customer group details. + ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CustomerGroupDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"The groups of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the group.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the group.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CustomerGroupDTO"/> diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupUpdatableFields.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupUpdatableFields.mdx index 4c908792e9053..cd6732a53a53d 100644 --- a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupUpdatableFields.mdx +++ b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupUpdatableFields.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CustomerGroupUpdatableFields +The updatable fields of a customer group. + ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CustomerGroupUpdatableFields"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CustomerGroupUpdatableFields"/> diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupUpdatableFileds.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupUpdatableFileds.mdx deleted file mode 100644 index 7ee8ec0d596b8..0000000000000 --- a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupUpdatableFileds.mdx +++ /dev/null @@ -1,7 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# CustomerGroupUpdatableFileds - -## Properties - -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CustomerGroupUpdatableFileds"/> diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerUpdatableFields.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerUpdatableFields.mdx index ad2d9d9a00451..b330be0667bcf 100644 --- a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerUpdatableFields.mdx +++ b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.CustomerUpdatableFields.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CustomerUpdatableFields +The updatable fields of a customer. + ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CustomerUpdatableFields"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CustomerUpdatableFields"/> diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.FilterableCustomerAddressProps.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.FilterableCustomerAddressProps.mdx index 97ab3c055659c..caa31ad5593be 100644 --- a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.FilterableCustomerAddressProps.mdx +++ b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.FilterableCustomerAddressProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterableCustomerAddressProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved customer address. ## Properties -` \\| [OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<Record<string, unknown>>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"$and","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FilterableCustomerAddressProps"/> +` \\| [OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<Record<string, unknown>>","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter addresses by created date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter addresses by updated date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"$and","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FilterableCustomerAddressProps"/> diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.FilterableCustomerGroupCustomerProps.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.FilterableCustomerGroupCustomerProps.mdx index 53d9e8f70ffaf..2e60f3fca05e9 100644 --- a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.FilterableCustomerGroupCustomerProps.mdx +++ b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.FilterableCustomerGroupCustomerProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterableCustomerGroupCustomerProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved customer group's customers. ## Properties - + diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.FilterableCustomerGroupProps.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.FilterableCustomerGroupProps.mdx index f90d75e3549dc..ed925ec39de3d 100644 --- a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.FilterableCustomerGroupProps.mdx +++ b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.FilterableCustomerGroupProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterableCustomerGroupProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved customer group. ## Properties - + diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.FilterableCustomerProps.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.FilterableCustomerProps.mdx index b9650585fbd55..e30a3001941a9 100644 --- a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.FilterableCustomerProps.mdx +++ b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.FilterableCustomerProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterableCustomerProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved customer. ## Properties - + diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.GroupCustomerPair.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.GroupCustomerPair.mdx new file mode 100644 index 0000000000000..c75f2e7fd2b9d --- /dev/null +++ b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.GroupCustomerPair.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# GroupCustomerPair + +The details of a customer and customer group pair. + +## Properties + + diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.ICustomerModuleService.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.ICustomerModuleService.mdx index 177ea400b82ef..c285fd28a096f 100644 --- a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.ICustomerModuleService.mdx +++ b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.ICustomerModuleService.mdx @@ -2,452 +2,1154 @@ import TypeList from "@site/src/components/TypeList" # ICustomerModuleService +The main service interface for the Customer Module. + ## Methods ### retrieve +This method retrieves a customer by its ID. + +#### Example + +A simple example that retrieves a customer by its ID: + +```ts +const customer = + await customerModuleService.retrieve("cus_123") +``` + +To specify relations that should be retrieved: + +```ts +const customer = await customerModuleService.retrieve( + "cus_123", + { + relations: ["groups"], + } +) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieve"/> #### Returns -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieve"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"The groups of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the group.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the group.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieve"/> ### create `**create**(data, sharedContext?): Promise<[CustomerDTO](types.CustomerTypes.CustomerDTO.mdx)[]>` +This method creates customers. + +#### Example + +```ts +const customers = await customerModuleService.create([ + { + email: "john@smith.com", + first_name: "John", + last_name: "Smith", + }, +]) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> #### Returns - + `**create**(data, sharedContext?): Promise<[CustomerDTO](types.CustomerTypes.CustomerDTO.mdx)>` +This method creates a customer. + +#### Example + +```ts +const customer = await customerModuleService.create({ + email: "john@smith.com", + first_name: "John", + last_name: "Smith", +}) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> #### Returns -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="create"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"The groups of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the group.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the group.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="create"/> ### update `**update**(customerId, data, sharedContext?): Promise<[CustomerDTO](types.CustomerTypes.CustomerDTO.mdx)>` +This method updates an existing customer. + +#### Example + +```ts +const customer = await customerModuleService.update( + "cus_123", + { + first_name: "Matt", + } +) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> #### Returns -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="update"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"The groups of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the group.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the group.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="update"/> `**update**(customerIds, data, sharedContext?): Promise<[CustomerDTO](types.CustomerTypes.CustomerDTO.mdx)[]>` +This method updates existing customers. + +#### Example + +```ts +const customers = await customerModuleService.update( + ["cus_123", "cus_321"], + { + company_name: "Acme", + } +) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> #### Returns - + `**update**(selector, data, sharedContext?): Promise<[CustomerDTO](types.CustomerTypes.CustomerDTO.mdx)[]>` +This method updates existing customers. + +#### Example + +```ts +const customers = await customerModuleService.update( + { company_name: "Acme" }, + { + company_name: "Acme Inc.", + } +) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> #### Returns - + ### delete `**delete**(customerId, sharedContext?): Promise<void>` +This method deletes a customer by its ID. + +#### Example + +```ts +await customerModuleService.delete("cus_123") +``` + #### Parameters - + #### Returns - + `**delete**(customerIds, sharedContext?): Promise<void>` +This method deletes customers by their IDs. + +#### Example + +```ts +await customerModuleService.delete(["cus_123", "cus_321"]) +``` + #### Parameters - + #### Returns - + `**delete**(selector, sharedContext?): Promise<void>` +This method deletes a customer matching the specified filters. + +#### Example + +```ts +await customerModuleService.delete({ + id: ["cus_123"], +}) +``` + #### Parameters - + #### Returns - + ### createCustomerGroup `**createCustomerGroup**(data, sharedContext?): Promise<[CustomerGroupDTO](types.CustomerTypes.CustomerGroupDTO.mdx)[]>` +This method creates customer groups. + +#### Example + +```ts +const customerGroup = + await customerModuleService.createCustomerGroup([ + { + name: "VIP", + }, + ]) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createCustomerGroup"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the customer group. For example,\nthe ID of the user that created the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createCustomerGroup"/> #### Returns - + `**createCustomerGroup**(data, sharedContext?): Promise<[CustomerGroupDTO](types.CustomerTypes.CustomerGroupDTO.mdx)>` +This method creates a customer group. + +#### Example + +```ts +const customerGroup = + await customerModuleService.createCustomerGroup({ + name: "VIP", + }) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createCustomerGroup"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the customer group. For example,\nthe ID of the user that created the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createCustomerGroup"/> #### Returns -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createCustomerGroup"/> +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createCustomerGroup"/> ### retrieveCustomerGroup +This method retrieves a customer group by its ID. + +#### Example + +```ts +const customerGroup = + await customerModuleService.retrieve("cusgroup_123") +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveCustomerGroup"/> #### Returns -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveCustomerGroup"/> +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveCustomerGroup"/> ### updateCustomerGroups `**updateCustomerGroups**(groupId, data, sharedContext?): Promise<[CustomerGroupDTO](types.CustomerTypes.CustomerGroupDTO.mdx)>` +This method updates an existing customer group. + +#### Example + +```ts +const customerGroup = + await customerModuleService.updateCustomerGroups( + "cusgroup_123", + { + name: "Very Important", + } + ) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateCustomerGroups"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateCustomerGroups"/> #### Returns -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateCustomerGroups"/> +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer group.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateCustomerGroups"/> `**updateCustomerGroups**(groupIds, data, sharedContext?): Promise<[CustomerGroupDTO](types.CustomerTypes.CustomerGroupDTO.mdx)[]>` +This method updates existing customer groups. + +#### Example + +```ts +const customerGroups = + await customerModuleService.updateCustomerGroups( + ["cusgroup_123", "cusgroup_321"], + { + name: "Very Important", + } + ) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateCustomerGroups"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateCustomerGroups"/> #### Returns - + `**updateCustomerGroups**(selector, data, sharedContext?): Promise<[CustomerGroupDTO](types.CustomerTypes.CustomerGroupDTO.mdx)[]>` +This method updates existing customer groups. + +#### Example + +```ts +const customerGroups = + await customerModuleService.updateCustomerGroups( + { + name: "VIP", + }, + { + name: "Very Important", + } + ) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateCustomerGroups"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateCustomerGroups"/> #### Returns - + ### deleteCustomerGroups `**deleteCustomerGroups**(groupId, sharedContext?): Promise<void>` +This method deletes a customer group by its ID. + +#### Example + +```ts +await customerModuleService.deleteCustomerGroups( + "cusgroup_123" +) +``` + #### Parameters - + #### Returns - + `**deleteCustomerGroups**(groupIds, sharedContext?): Promise<void>` +This method deletes customer groups by their IDs. + +#### Example + +```ts +await customerModuleService.deleteCustomerGroups([ + "cusgroup_123", + "cusgroup_321", +]) +``` + #### Parameters - + #### Returns - + `**deleteCustomerGroups**(selector, sharedContext?): Promise<void>` +This method deletes customer groups matching the specified filters. + +#### Example + +```ts +await customerModuleService.deleteCustomerGroups({ + name: "VIP", +}) +``` + #### Parameters - + #### Returns - + ### addCustomerToGroup `**addCustomerToGroup**(groupCustomerPair, sharedContext?): Promise<{ id: string }>` +This method adds a customer to a group. + +#### Example + +```ts +const customerGroupCustomerId = + await customerModuleService.addCustomerToGroup({ + customer_id: "cus_123", + customer_group_id: "cus_321", + }) +``` + #### Parameters - + #### Returns - + `**addCustomerToGroup**(groupCustomerPairs, sharedContext?): Promise<{ id: string }[]>` +This method adds customers to groups. + +#### Example + +```ts +const customerGroupCustomerIds = + await customerModuleService.addCustomerToGroup([ + { + customer_id: "cus_123", + customer_group_id: "cus_321", + }, + ]) +``` + #### Parameters - + #### Returns - + ### removeCustomerFromGroup `**removeCustomerFromGroup**(groupCustomerPair, sharedContext?): Promise<void>` +This method removes a customer from a group. + +#### Example + +```ts +await customerModuleService.removeCustomerFromGroup({ + customer_id: "cus_123", + customer_group_id: "cus_321", +}) +``` + #### Parameters - + #### Returns - + `**removeCustomerFromGroup**(groupCustomerPairs, sharedContext?): Promise<void>` +This method removes customers from groups. + +#### Example + +```ts +await customerModuleService.removeCustomerFromGroup([ + { + customer_id: "cus_123", + customer_group_id: "cus_321", + }, +]) +``` + #### Parameters - + #### Returns - + ### addAddresses `**addAddresses**(addresses, sharedContext?): Promise<[CustomerAddressDTO](types.CustomerTypes.CustomerAddressDTO.mdx)[]>` +This method adds addresses to customers. + +#### Example + +```ts +const addresses = await customerModuleService.addAddresses([ + { + customer_id: "cus_123", + address_name: "Home", + address_1: "432 Stierlin Rd", + city: "Mountain View", + country_code: "us", + }, +]) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="addAddresses"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="addAddresses"/> #### Returns - + `**addAddresses**(address, sharedContext?): Promise<[CustomerAddressDTO](types.CustomerTypes.CustomerAddressDTO.mdx)>` +This method adds an address to a customer. + +#### Example + +```ts +const address = await customerModuleService.addAddresses({ + customer_id: "cus_123", + address_name: "Home", + address_1: "432 Stierlin Rd", + city: "Mountain View", + country_code: "us", +}) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="addAddresses"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="addAddresses"/> #### Returns -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="addAddresses"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="addAddresses"/> ### updateAddresses `**updateAddresses**(addressId, data, sharedContext?): Promise<[CustomerAddressDTO](types.CustomerTypes.CustomerAddressDTO.mdx)>` +This method updates an address. + +#### Example + +```ts +const address = await customerModuleService.updateAddresses( + "cuaddr_123", + { + first_name: "John", + last_name: "Smith", + } +) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateAddresses"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateAddresses"/> #### Returns -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateAddresses"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateAddresses"/> `**updateAddresses**(addressIds, data, sharedContext?): Promise<[CustomerAddressDTO](types.CustomerTypes.CustomerAddressDTO.mdx)[]>` +This method updates existing addresses. + +#### Example + +```ts +const addresses = await customerModuleService.updateAddresses( + ["cuaddr_123", "cuaddr_321"], + { + first_name: "John", + last_name: "Smith", + } +) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateAddresses"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateAddresses"/> #### Returns - + `**updateAddresses**(selector, data, sharedContext?): Promise<[CustomerAddressDTO](types.CustomerTypes.CustomerAddressDTO.mdx)[]>` +This method updates existing addresses matching the specified filters. + +#### Example + +```ts +const addresses = await customerModuleService.updateAddresses( + { first_name: "John" }, + { + last_name: "Smith", + } +) +``` + #### Parameters -` \\| [OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<Record<string, unknown>>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"$and","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"data","type":"[UpdateCustomerAddressDTO](types.CustomerTypes.UpdateCustomerAddressDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_name","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default_billing","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateAddresses"/> +` \\| [OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<Record<string, unknown>>","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter addresses by created date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter addresses by updated date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"$and","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"data","type":"[UpdateCustomerAddressDTO](types.CustomerTypes.UpdateCustomerAddressDTO.mdx)","description":"The attributes to update in the addresses.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_name","type":"`null` \\| `string`","description":"The address's name.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default_shipping","type":"`boolean`","description":"Whether the address is the default for shipping.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default_billing","type":"`boolean`","description":"Whether the address is the default for billing.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`null` \\| `string`","description":"The associated customer's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`null` \\| `string`","description":"The company.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`null` \\| `string`","description":"The address 1.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`null` \\| `string`","description":"The address 2.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"The country code.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`null` \\| `string`","description":"The province.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`null` \\| `string`","description":"The postal code.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateAddresses"/> #### Returns - + ### deleteAddresses `**deleteAddresses**(addressId, sharedContext?): Promise<void>` +This method deletes an address by its ID. + +#### Example + +```ts +await customerModuleService.deleteAddresses("cuaddr_123") +``` + #### Parameters - + #### Returns - + `**deleteAddresses**(addressIds, sharedContext?): Promise<void>` +This method deletes addresses by their IDs. + +#### Example + +```ts +await customerModuleService.deleteAddresses([ + "cuaddr_123", + "cuaddr_321", +]) +``` + #### Parameters - + #### Returns - + `**deleteAddresses**(selector, sharedContext?): Promise<void>` +This method deletes addresses matching the specified filters. + +#### Example + +```ts +await customerModuleService.deleteAddresses({ + first_name: "John", + last_name: "Smith", +}) +``` + #### Parameters -` \\| [OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<Record<string, unknown>>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"$and","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="deleteAddresses"/> +` \\| [OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<Record<string, unknown>>","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter addresses by created date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter addresses by updated date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"$and","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="deleteAddresses"/> #### Returns - + ### listAddresses +This method retrieves a paginated list of addresses based on optional filters and configuration. + +#### Example + +To retrieve a list of addresses using their IDs: + +```ts +const addresses = await customerModuleService.listAddresses({ + id: ["cuaddr_123", "cuaddr_321"], +}) +``` + +To specify relations that should be retrieved within the addresses: + +```ts +const addresses = await customerModuleService.listAddresses( + { + id: ["cuaddr_123", "cuaddr_321"], + }, + { + relations: ["customer"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const addresses = await customerModuleService.listAddresses( + { + id: ["cuaddr_123", "cuaddr_321"], + }, + { + relations: ["customer"], + take: 20, + skip: 2, + } +) +``` + #### Parameters -` \\| [OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<Record<string, unknown>>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"$and","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"config","type":"[FindConfig](../../CommonTypes/interfaces/types.CommonTypes.FindConfig.mdx)<[CustomerAddressDTO](types.CustomerTypes.CustomerAddressDTO.mdx)>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"(`string` \\| keyof Entity)[]","description":"An array of strings, each being attribute names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`null` \\| `number`","description":"A number indicating the number of records to skip before retrieving the results.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`null` \\| `number`","description":"A number indicating the number of records to return in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"An array of strings, each being relation names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`\nto sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"withDeleted","type":"`boolean`","description":"A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the\n`SoftDeletableEntity` class.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAddresses"/> +` \\| [OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<Record<string, unknown>>","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter addresses by created date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter addresses by updated date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"$and","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"config","type":"[FindConfig](../../CommonTypes/interfaces/types.CommonTypes.FindConfig.mdx)<[CustomerAddressDTO](types.CustomerTypes.CustomerAddressDTO.mdx)>","description":"The configurations determining how the address is retrieved. Its properties, such as `select` or `relations`, accept the\nattributes or relations associated with a address.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"(`string` \\| keyof Entity)[]","description":"An array of strings, each being attribute names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`null` \\| `number`","description":"A number indicating the number of records to skip before retrieving the results.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`null` \\| `number`","description":"A number indicating the number of records to return in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"An array of strings, each being relation names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`\nto sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"withDeleted","type":"`boolean`","description":"A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the\n`SoftDeletableEntity` class.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"filters","type":"`Record`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAddresses"/> #### Returns - + ### listAndCountAddresses +This method retrieves a paginated list of addresses along with the total count of available addresses satisfying the provided filters. + +#### Example + +To retrieve a list of addresses using their IDs: + +```ts +const [addresses, count] = + await customerModuleService.listAndCountAddresses({ + id: ["cuaddr_123", "cuaddr_321"], + }) +``` + +To specify relations that should be retrieved within the addresses: + +```ts +const [addresses, count] = + await customerModuleService.listAndCountAddresses( + { + id: ["cuaddr_123", "cuaddr_321"], + }, + { + relations: ["customer"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [addresses, count] = + await customerModuleService.listAndCountAddresses( + { + id: ["cuaddr_123", "cuaddr_321"], + }, + { + relations: ["customer"], + take: 20, + skip: 2, + } + ) +``` + #### Parameters -` \\| [OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<Record<string, unknown>>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"$and","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"config","type":"[FindConfig](../../CommonTypes/interfaces/types.CommonTypes.FindConfig.mdx)<[CustomerAddressDTO](types.CustomerTypes.CustomerAddressDTO.mdx)>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"(`string` \\| keyof Entity)[]","description":"An array of strings, each being attribute names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`null` \\| `number`","description":"A number indicating the number of records to skip before retrieving the results.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`null` \\| `number`","description":"A number indicating the number of records to return in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"An array of strings, each being relation names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`\nto sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"withDeleted","type":"`boolean`","description":"A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the\n`SoftDeletableEntity` class.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountAddresses"/> +` \\| [OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<Record<string, unknown>>","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter addresses by created date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter addresses by updated date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"$and","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"([FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx) \\| [BaseFilterable](../../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableCustomerAddressProps](types.CustomerTypes.FilterableCustomerAddressProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"config","type":"[FindConfig](../../CommonTypes/interfaces/types.CommonTypes.FindConfig.mdx)<[CustomerAddressDTO](types.CustomerTypes.CustomerAddressDTO.mdx)>","description":"The configurations determining how the address is retrieved. Its properties, such as `select` or `relations`, accept the\nattributes or relations associated with a address.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"(`string` \\| keyof Entity)[]","description":"An array of strings, each being attribute names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`null` \\| `number`","description":"A number indicating the number of records to skip before retrieving the results.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`null` \\| `number`","description":"A number indicating the number of records to return in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"An array of strings, each being relation names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`\nto sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"withDeleted","type":"`boolean`","description":"A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the\n`SoftDeletableEntity` class.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"filters","type":"`Record`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountAddresses"/> #### Returns - + ### listCustomerGroupCustomers +This method retrieves a paginated list of relations between customer and groups based on optional filters and configuration. + +#### Example + +To retrieve a list of customer-group relations using their IDs: + +```ts +const customerGroupCustomerRels = + await customerModuleService.listCustomerGroupCustomers({ + id: ["cusgc_123"], + }) +``` + +To specify relations that should be retrieved within the customer-group relations: + +```ts +const customerGroupCustomerRels = + await customerModuleService.listCustomerGroupCustomers( + { + id: ["cusgc_123"], + }, + { + relations: ["customer", "customer_group"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const customerGroupCustomerRels = + await customerModuleService.listCustomerGroupCustomers( + { + id: ["cusgc_123"], + }, + { + relations: ["customer", "customer_group"], + take: 20, + skip: 2, + } + ) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listCustomerGroupCustomers"/> #### Returns - + ### list +This method retrieves a paginated list of customers based on optional filters and configuration. + +#### Example + +To retrieve a list of customers using their IDs: + +```ts +const customers = await customerModuleService.list({ + id: ["cus_123", "cus_321"], +}) +``` + +To specify relations that should be retrieved within the customers: + +```ts +const customers = await customerModuleService.list( + { + id: ["cus_123", "cus_321"], + }, + { + relations: ["groups"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const customers = await customerModuleService.list( + { + id: ["cus_123", "cus_321"], + }, + { + relations: ["groups"], + take: 20, + skip: 2, + } +) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> #### Returns - + ### listAndCount +This method retrieves a paginated list of customers along with the total count of available customers satisfying the provided filters. + +#### Example + +To retrieve a list of customers using their IDs: + +```ts +const [customers, count] = await customerModuleService.list({ + id: ["cus_123", "cus_321"], +}) +``` + +To specify relations that should be retrieved within the customers: + +```ts +const [customers, count] = await customerModuleService.list( + { + id: ["cus_123", "cus_321"], + }, + { + relations: ["groups"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [customers, count] = await customerModuleService.list( + { + id: ["cus_123", "cus_321"], + }, + { + relations: ["groups"], + take: 20, + skip: 2, + } +) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> #### Returns - + ### listCustomerGroups +This method retrieves a paginated list of customer groups based on optional filters and configuration. + +#### Example + +To retrieve a list of customer groups using their IDs: + +```ts +const customerGroups = + await customerModuleService.listCustomerGroups({ + id: ["cusgroup_123", "cusgroup_321"], + }) +``` + +To specify relations that should be retrieved within the customer groups: + +```ts +const customerGroups = + await customerModuleService.listCustomerGroups( + { + id: ["cusgroup_123", "cusgroup_321"], + }, + { + relations: ["customers"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const customerGroups = + await customerModuleService.listCustomerGroups( + { + id: ["cusgroup_123", "cusgroup_321"], + }, + { + relations: ["customers"], + take: 20, + skip: 2, + } + ) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listCustomerGroups"/> #### Returns - + ### listAndCountCustomerGroups +This method retrieves a paginated list of customer groups along with the total count of available customer groups satisfying the provided filters. + +#### Example + +To retrieve a list of customer groups using their IDs: + +```ts +const [customerGroups, count] = + await customerModuleService.listCustomerGroups({ + id: ["cusgroup_123", "cusgroup_321"], + }) +``` + +To specify relations that should be retrieved within the customer groups: + +```ts +const [customerGroups, count] = + await customerModuleService.listCustomerGroups( + { + id: ["cusgroup_123", "cusgroup_321"], + }, + { + relations: ["customers"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [customerGroups, count] = + await customerModuleService.listCustomerGroups( + { + id: ["cusgroup_123", "cusgroup_321"], + }, + { + relations: ["customers"], + take: 20, + skip: 2, + } + ) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountCustomerGroups"/> #### Returns - + ### softDelete +This method soft deletes customers by their IDs. + +#### Example + +```ts +await customerModuleService.softDelete(["cus_123"]) +``` + #### Type Parameters #### Parameters - + #### Returns -`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDelete"/> +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDelete"/> ### restore +This method restores soft deleted customer by their IDs. + +#### Example + +```ts +await customerModuleService.restore(["cus_123"]) +``` + #### Type Parameters #### Parameters - + #### Returns -`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restore"/> +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restore"/> ### softDeleteCustomerGroups +This method soft deletes customer groups by their IDs. + +#### Example + +```ts +await customerModuleService.softDeleteCustomerGroups([ + "cusgroup_123", +]) +``` + #### Type Parameters #### Parameters - + #### Returns -`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteCustomerGroups"/> +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteCustomerGroups"/> ### restoreCustomerGroups +This method restores a soft deleted customer group by its IDs. + +#### Example + +```ts +await customerModuleService.restoreCustomerGroups([ + "cusgroup_123", +]) +``` + #### Type Parameters #### Parameters - + #### Returns -`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreCustomerGroups"/> +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreCustomerGroups"/> diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.UpdateCustomerAddressDTO.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.UpdateCustomerAddressDTO.mdx index 89c145014e818..a756efde83419 100644 --- a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.UpdateCustomerAddressDTO.mdx +++ b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.UpdateCustomerAddressDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdateCustomerAddressDTO +The attributes to update in the customer's address. + ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateCustomerAddressDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateCustomerAddressDTO"/> diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.UpdateCustomerDTO.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.UpdateCustomerDTO.mdx index 1b283d59fadb1..040b5ec60dc0a 100644 --- a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.UpdateCustomerDTO.mdx +++ b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.UpdateCustomerDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdateCustomerDTO +The attributes to update in the customer. + ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateCustomerDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateCustomerDTO"/> diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.UpdateCustomerGroupDTO.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.UpdateCustomerGroupDTO.mdx index d4c2444d6abe1..8c05755ddec1b 100644 --- a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.UpdateCustomerGroupDTO.mdx +++ b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.UpdateCustomerGroupDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdateCustomerGroupDTO +The attributes to update in the customer group. + ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateCustomerGroupDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateCustomerGroupDTO"/> diff --git a/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.legacy_CustomerDTO.mdx b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.legacy_CustomerDTO.mdx new file mode 100644 index 0000000000000..790ed25cfdbd0 --- /dev/null +++ b/www/apps/docs/content/references/types/CustomerTypes/interfaces/types.CustomerTypes.legacy_CustomerDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# legacy\_CustomerDTO + +The legacy customer details. + +## Properties + +` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_address","type":"[AddressDTO](../../types/types.AddressDTO.mdx)","description":"The shipping address of the customer.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"The groups of the customer.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the customer group.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date`","description":"The deletion date of the customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the legacy\\_ customer.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="legacy_CustomerDTO"/> diff --git a/www/apps/docs/content/references/types/CustomerTypes/types/types.CustomerTypes.GroupCustomerPair.mdx b/www/apps/docs/content/references/types/CustomerTypes/types/types.CustomerTypes.GroupCustomerPair.mdx deleted file mode 100644 index 22e69dfcd7e36..0000000000000 --- a/www/apps/docs/content/references/types/CustomerTypes/types/types.CustomerTypes.GroupCustomerPair.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# GroupCustomerPair - - **GroupCustomerPair**: `Object` - -## Properties - - diff --git a/www/apps/docs/content/references/types/CustomerTypes/types/types.CustomerTypes.legacy_CustomerDTO.mdx b/www/apps/docs/content/references/types/CustomerTypes/types/types.CustomerTypes.legacy_CustomerDTO.mdx deleted file mode 100644 index 911fc1241dfbb..0000000000000 --- a/www/apps/docs/content/references/types/CustomerTypes/types/types.CustomerTypes.legacy_CustomerDTO.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# legacy\_CustomerDTO - - **legacy\_CustomerDTO**: `Object` - -## Properties - -` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_address","type":"[AddressDTO](../../types/types.AddressDTO.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`Date` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="legacy_CustomerDTO"/> diff --git a/www/apps/docs/content/references/types/DAL/interfaces/types.DAL.FindOptions.mdx b/www/apps/docs/content/references/types/DAL/interfaces/types.DAL.FindOptions.mdx new file mode 100644 index 0000000000000..f3f28a1454b0e --- /dev/null +++ b/www/apps/docs/content/references/types/DAL/interfaces/types.DAL.FindOptions.mdx @@ -0,0 +1,13 @@ +import TypeList from "@site/src/components/TypeList" + +# FindOptions + +An object used to specify filters and options on a list of items. + +## Type parameters + + + +## Properties + + diff --git a/www/apps/docs/content/references/types/DAL/interfaces/types.DAL.OptionsQuery.mdx b/www/apps/docs/content/references/types/DAL/interfaces/types.DAL.OptionsQuery.mdx index 7769800889809..c04cb103d8dc3 100644 --- a/www/apps/docs/content/references/types/DAL/interfaces/types.DAL.OptionsQuery.mdx +++ b/www/apps/docs/content/references/types/DAL/interfaces/types.DAL.OptionsQuery.mdx @@ -2,10 +2,12 @@ import TypeList from "@site/src/components/TypeList" # OptionsQuery +The options to apply when retrieving an item. + ## Type parameters ## Properties - + diff --git a/www/apps/docs/content/references/types/DAL/interfaces/types.DAL.RepositoryService.mdx b/www/apps/docs/content/references/types/DAL/interfaces/types.DAL.RepositoryService.mdx index f1ad013759524..7b0b0f01666ae 100644 --- a/www/apps/docs/content/references/types/DAL/interfaces/types.DAL.RepositoryService.mdx +++ b/www/apps/docs/content/references/types/DAL/interfaces/types.DAL.RepositoryService.mdx @@ -64,7 +64,7 @@ ORM directly and allows to switch to another ORM without changing the business l #### Parameters - + #### Returns @@ -74,7 +74,7 @@ ORM directly and allows to switch to another ORM without changing the business l #### Parameters - + #### Returns @@ -84,7 +84,7 @@ ORM directly and allows to switch to another ORM without changing the business l #### Parameters - + #### Returns @@ -94,7 +94,7 @@ ORM directly and allows to switch to another ORM without changing the business l #### Parameters - + #### Returns @@ -104,7 +104,7 @@ ORM directly and allows to switch to another ORM without changing the business l #### Parameters - + #### Returns @@ -116,7 +116,7 @@ Soft delete entities and cascade to related entities if configured. #### Parameters - + #### Returns @@ -126,7 +126,7 @@ Soft delete entities and cascade to related entities if configured. #### Parameters - + #### Returns @@ -136,8 +136,18 @@ Soft delete entities and cascade to related entities if configured. #### Parameters - + #### Returns + +### upsertWithReplace + +#### Parameters + + + +#### Returns + + diff --git a/www/apps/docs/content/references/types/DAL/interfaces/types.DAL.TreeRepositoryService.mdx b/www/apps/docs/content/references/types/DAL/interfaces/types.DAL.TreeRepositoryService.mdx index 5711ee46d1922..ec362f5db522e 100644 --- a/www/apps/docs/content/references/types/DAL/interfaces/types.DAL.TreeRepositoryService.mdx +++ b/www/apps/docs/content/references/types/DAL/interfaces/types.DAL.TreeRepositoryService.mdx @@ -64,7 +64,7 @@ ORM directly and allows to switch to another ORM without changing the business l #### Parameters - + #### Returns @@ -74,7 +74,7 @@ ORM directly and allows to switch to another ORM without changing the business l #### Parameters - + #### Returns @@ -84,7 +84,7 @@ ORM directly and allows to switch to another ORM without changing the business l #### Parameters - + #### Returns @@ -94,7 +94,7 @@ ORM directly and allows to switch to another ORM without changing the business l #### Parameters - + #### Returns diff --git a/www/apps/docs/content/references/types/DAL/interfaces/types.DAL.UpsertWithReplaceConfig.mdx b/www/apps/docs/content/references/types/DAL/interfaces/types.DAL.UpsertWithReplaceConfig.mdx new file mode 100644 index 0000000000000..3e138a3ac61b9 --- /dev/null +++ b/www/apps/docs/content/references/types/DAL/interfaces/types.DAL.UpsertWithReplaceConfig.mdx @@ -0,0 +1,13 @@ +import TypeList from "@site/src/components/TypeList" + +# UpsertWithReplaceConfig + +An object used to specify the configuration of how the upsert should be performed. + +## Type parameters + + + +## Properties + + diff --git a/www/apps/docs/content/references/types/DAL/types/types.DAL.FindOptions.mdx b/www/apps/docs/content/references/types/DAL/types/types.DAL.FindOptions.mdx deleted file mode 100644 index 4a6f8ea1dcdb6..0000000000000 --- a/www/apps/docs/content/references/types/DAL/types/types.DAL.FindOptions.mdx +++ /dev/null @@ -1,13 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# FindOptions - - **FindOptions**: `Object` - -## Type Parameters - - - -## Properties - - diff --git a/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.CreateFileDTO.mdx b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.CreateFileDTO.mdx new file mode 100644 index 0000000000000..17c7e069373f8 --- /dev/null +++ b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.CreateFileDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateFileDTO + +The File to be created. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.FileDTO.mdx b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.FileDTO.mdx new file mode 100644 index 0000000000000..373c7f29cd7df --- /dev/null +++ b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.FileDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FileDTO + +The File details. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.FilterableFileProps.mdx b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.FilterableFileProps.mdx new file mode 100644 index 0000000000000..22f3899784d4a --- /dev/null +++ b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.FilterableFileProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableFileProps + +Filters to apply on a currency. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.IFileModuleService.mdx b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.IFileModuleService.mdx new file mode 100644 index 0000000000000..454c673e76b16 --- /dev/null +++ b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.IFileModuleService.mdx @@ -0,0 +1,133 @@ +import TypeList from "@site/src/components/TypeList" + +# IFileModuleService + +The main service interface for the File Module. + +## Methods + +### create + +`**create**(data, sharedContext?): Promise<[FileDTO](types.FileTypes.FileDTO.mdx)[]>` + +This method uploads files to the designated file storage system. + +#### Example + +```ts +const [file] = await fileModuleService.create([{ + filename: "product.png", + mimeType: "image/png", + content: "somecontent" +}]) +``` + +#### Parameters + + + +#### Returns + + + +`**create**(data, sharedContext?): Promise<[FileDTO](types.FileTypes.FileDTO.mdx)>` + +This method uploads a file to the designated file storage system. + +#### Example + +```ts +const file = await fileModuleService.create({ + filename: "product.png", + mimeType: "image/png", + content: "somecontent" +}) +``` + +#### Parameters + + + +#### Returns + + + +### delete + +`**delete**(ids, sharedContext?): Promise<void>` + +This method deletes files by their IDs. + +#### Example + +```ts +await fileModuleService.delete(["file_123"]) +``` + +#### Parameters + + + +#### Returns + + + +`**delete**(id, sharedContext?): Promise<void>` + +This method deletes a file by its ID. + +#### Example + +```ts +await fileModuleService.delete("file_123") +``` + +#### Parameters + + + +#### Returns + + + +### retrieve + +This method retrieves a file with a downloadable URL by its ID. + +#### Example + +```ts +const file = await fileModuleService.retrieve("file_123") +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieve"/> + +#### Returns + + + +### list + +This method is used to retrieve a file by ID, similarly to `retrieve`. Enumeration of files is not supported, but the list method is in order to support remote queries + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> + +#### Returns + + + +### listAndCount + +This method is used to retrieve a file by ID, similarly to `retrieve`. Enumeration of files is not supported, but the listAndCount method is in order to support remote queries + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> + +#### Returns + + diff --git a/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.IFileProvider.mdx b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.IFileProvider.mdx new file mode 100644 index 0000000000000..18c9c1c4d791b --- /dev/null +++ b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.IFileProvider.mdx @@ -0,0 +1,47 @@ +import TypeList from "@site/src/components/TypeList" + +# IFileProvider + +## Overview + +File provider interface for the file module. + +## Methods + +### upload + +This method is used to upload a file + +#### Parameters + + + +#### Returns + + + +### delete + +This method is used to delete a file from storage. + +#### Parameters + + + +#### Returns + + + +### getPresignedDownloadUrl + +This method is used to retrieve a download URL of the file. For some file services, such as S3, a presigned URL indicates a temporary URL to get access to a file. + +If your file service doesn’t perform or offer a similar functionality, you can just return the URL to download the file. + +#### Parameters + + + +#### Returns + + diff --git a/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.LocalFileServiceOptions.mdx b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.LocalFileServiceOptions.mdx new file mode 100644 index 0000000000000..49e7cbea44463 --- /dev/null +++ b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.LocalFileServiceOptions.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# LocalFileServiceOptions + +## Properties + + diff --git a/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.ProviderDeleteFileDTO.mdx b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.ProviderDeleteFileDTO.mdx new file mode 100644 index 0000000000000..3940ff4a6c5f3 --- /dev/null +++ b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.ProviderDeleteFileDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ProviderDeleteFileDTO + +The details of the file to remove. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.ProviderFileResultDTO.mdx b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.ProviderFileResultDTO.mdx new file mode 100644 index 0000000000000..158f620a0f588 --- /dev/null +++ b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.ProviderFileResultDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ProviderFileResultDTO + +Details of a file upload's result. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.ProviderGetFileDTO.mdx b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.ProviderGetFileDTO.mdx new file mode 100644 index 0000000000000..c5cdd4b85bef8 --- /dev/null +++ b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.ProviderGetFileDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ProviderGetFileDTO + +The details of a file to retrieve. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.ProviderUploadFileDTO.mdx b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.ProviderUploadFileDTO.mdx new file mode 100644 index 0000000000000..06ea580f0e3ff --- /dev/null +++ b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.ProviderUploadFileDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ProviderUploadFileDTO + +The details of the file to create. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.S3FileServiceOptions.mdx b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.S3FileServiceOptions.mdx new file mode 100644 index 0000000000000..07e92c6bfeabd --- /dev/null +++ b/www/apps/docs/content/references/types/FileTypes/interfaces/types.FileTypes.S3FileServiceOptions.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# S3FileServiceOptions + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="S3FileServiceOptions"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateCityGeoZoneDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateCityGeoZoneDTO.mdx new file mode 100644 index 0000000000000..e577695e7703f --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateCityGeoZoneDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateCityGeoZoneDTO + +The geo zone to be created of type `city`. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateCityGeoZoneDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateCountryGeoZoneDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateCountryGeoZoneDTO.mdx new file mode 100644 index 0000000000000..6dfd4fe45a95e --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateCountryGeoZoneDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateCountryGeoZoneDTO + +The geo zone to be created of type `country`. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateCountryGeoZoneDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentAddressDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentAddressDTO.mdx new file mode 100644 index 0000000000000..e7d8ea29ac492 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentAddressDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateFulfillmentAddressDTO + +The fulfillment address to be created. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateFulfillmentAddressDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentDTO.mdx new file mode 100644 index 0000000000000..34223728ed07d --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateFulfillmentDTO + +The fulfillment to be created. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"Omit<[CreateFulfillmentItemDTO](types.FulfillmentTypes.CreateFulfillmentItemDTO.mdx), \"fulfillment_id\">[]","description":"The items associated with the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"The title of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The SKU of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`null` \\| `string`","description":"The associated inventory item's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"labels","type":"Omit<[CreateFulfillmentLabelDTO](types.FulfillmentTypes.CreateFulfillmentLabelDTO.mdx), \"fulfillment_id\">[]","description":"The labels associated with the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"tracking_number","type":"`string`","description":"The tracking number of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"The tracking URL of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"The URL of the label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"order","type":"[CreateFulfillmentOrderDTO](types.FulfillmentTypes.CreateFulfillmentOrderDTO.mdx)","description":"The associated fulfillment order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateFulfillmentDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentItemDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentItemDTO.mdx new file mode 100644 index 0000000000000..17f8d1419de23 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentItemDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateFulfillmentItemDTO + +The fulfillment item to be created. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentLabelDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentLabelDTO.mdx new file mode 100644 index 0000000000000..2960228d94b60 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentLabelDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateFulfillmentLabelDTO + +The fulfillment label to be created. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentOrderDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentOrderDTO.mdx new file mode 100644 index 0000000000000..2f6b8cf4ff628 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentOrderDTO.mdx @@ -0,0 +1,5 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateFulfillmentOrderDTO + +The fulfillment order to be created. diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentSetDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentSetDTO.mdx new file mode 100644 index 0000000000000..659cc4eb38404 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentSetDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateFulfillmentSetDTO + +The fulfillment set to be created. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateProvinceGeoZoneDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateProvinceGeoZoneDTO.mdx new file mode 100644 index 0000000000000..3a7385acf4dfd --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateProvinceGeoZoneDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateProvinceGeoZoneDTO + +The geo zone to be created of type `province`. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateProvinceGeoZoneDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateServiceZoneDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateServiceZoneDTO.mdx new file mode 100644 index 0000000000000..bf0e72d58bd75 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateServiceZoneDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateServiceZoneDTO + +The service zone to be created. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingOptionDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingOptionDTO.mdx new file mode 100644 index 0000000000000..ab8c4540fca83 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingOptionDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateShippingOptionDTO + +The shipping option to be created. + +## Properties + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand its associated fulfillments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"Omit<[CreateShippingOptionRuleDTO](types.FulfillmentTypes.CreateShippingOptionRuleDTO.mdx), \"shipping_option_id\">[]","description":"The shipping option rules associated with the shipping option.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"[RuleOperatorType](../../CommonTypes/types/types.CommonTypes.RuleOperatorType.mdx)","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string` \\| `string`[]","description":"The value(s) of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CreateShippingOptionDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingOptionRuleDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingOptionRuleDTO.mdx new file mode 100644 index 0000000000000..d92a86b746cc3 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingOptionRuleDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateShippingOptionRuleDTO + +The shipping option rule to be created. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingOptionTypeDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingOptionTypeDTO.mdx new file mode 100644 index 0000000000000..effde3c5a91df --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingOptionTypeDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateShippingOptionTypeDTO + +The shipping option type to be created. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingProfileDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingProfileDTO.mdx new file mode 100644 index 0000000000000..a0aa58510777a --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingProfileDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateShippingProfileDTO + +The shipping profile to be created. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateShippingProfileDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateZipGeoZoneDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateZipGeoZoneDTO.mdx new file mode 100644 index 0000000000000..d81d0e6ffb745 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateZipGeoZoneDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateZipGeoZoneDTO + +The geo zone to be created of type `zip`. + +## Properties + +`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateZipGeoZoneDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableFulfillmentProps.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableFulfillmentProps.mdx new file mode 100644 index 0000000000000..fc4e8f38b504b --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableFulfillmentProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableFulfillmentProps + +The filters to apply on the retrieved fulfillments. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableFulfillmentProviderProps.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableFulfillmentProviderProps.mdx new file mode 100644 index 0000000000000..c9834ff920427 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableFulfillmentProviderProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableFulfillmentProviderProps + +The filters to apply on the retrieved fulfillment providers. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableFulfillmentSetProps.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableFulfillmentSetProps.mdx new file mode 100644 index 0000000000000..3c9285527d64b --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableFulfillmentSetProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableFulfillmentSetProps + +The filters to apply on the retrieved fulfillment sets. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableGeoZoneProps.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableGeoZoneProps.mdx new file mode 100644 index 0000000000000..4601472477bca --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableGeoZoneProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableGeoZoneProps + +The filters to apply on the retrieved geo zones. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableServiceZoneProps.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableServiceZoneProps.mdx new file mode 100644 index 0000000000000..a3783710f16f6 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableServiceZoneProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableServiceZoneProps + +The filters to apply on the retrieved service zones. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionForContextProps.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionForContextProps.mdx new file mode 100644 index 0000000000000..18da1b2c47117 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionForContextProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableShippingOptionForContextProps + +A context's details used to filter the shipping option. + +## Properties + +`","description":"The shipping option's context to filter directly.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FilterableShippingOptionForContextProps"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionProps.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionProps.mdx new file mode 100644 index 0000000000000..3ab1382b0c1a4 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableShippingOptionProps + +The filters to apply on the retrieved shipping options. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionRuleProps.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionRuleProps.mdx new file mode 100644 index 0000000000000..7ccd7b583f602 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionRuleProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableShippingOptionRuleProps + +The filters to apply on the retrieved shipping option rules. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionTypeProps.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionTypeProps.mdx new file mode 100644 index 0000000000000..8f19a020518a3 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionTypeProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableShippingOptionTypeProps + +The filters to apply on the retrieved shipping option types. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingProfileProps.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingProfileProps.mdx new file mode 100644 index 0000000000000..c898577ed5087 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingProfileProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableShippingProfileProps + +The filters to apply on the retrieved shipping profiles. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentAddressDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentAddressDTO.mdx new file mode 100644 index 0000000000000..b5950c5f918fb --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentAddressDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FulfillmentAddressDTO + +The fulfillment address details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FulfillmentAddressDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentDTO.mdx index ad978535e0109..f737463577fcd 100644 --- a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentDTO.mdx +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FulfillmentDTO +The fulfillment details. + ## Properties - +`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`null` \\| `string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`null` \\| `string`","description":"The company of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`null` \\| `string`","description":"The first line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`null` \\| `string`","description":"The second line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"The ISO 2 character country code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`null` \\| `string`","description":"The province of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`null` \\| `string`","description":"The postal code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[FulfillmentItemDTO](types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The sku of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`null` \\| `string`","description":"The associated inventory item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"labels","type":"[FulfillmentLabelDTO](types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_number","type":"`string`","description":"The tracking number of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"The tracking URL of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"The label's URL.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FulfillmentDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentItemDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentItemDTO.mdx new file mode 100644 index 0000000000000..ef0430b41afd8 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentItemDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FulfillmentItemDTO + +The fulfillment item details. + +## Properties + +`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`null` \\| `string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`null` \\| `string`","description":"The company of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`null` \\| `string`","description":"The first line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`null` \\| `string`","description":"The second line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"The ISO 2 character country code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`null` \\| `string`","description":"The province of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`null` \\| `string`","description":"The postal code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[FulfillmentItemDTO](types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The sku of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`null` \\| `string`","description":"The associated inventory item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"labels","type":"[FulfillmentLabelDTO](types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_number","type":"`string`","description":"The tracking number of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"The tracking URL of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"The label's URL.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FulfillmentItemDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentLabelDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentLabelDTO.mdx new file mode 100644 index 0000000000000..8b4f276231237 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentLabelDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FulfillmentLabelDTO + +The fulfillment label details. + +## Properties + +`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`null` \\| `string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`null` \\| `string`","description":"The company of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`null` \\| `string`","description":"The first line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`null` \\| `string`","description":"The second line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"The ISO 2 character country code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`null` \\| `string`","description":"The province of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`null` \\| `string`","description":"The postal code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[FulfillmentItemDTO](types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The sku of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`null` \\| `string`","description":"The associated inventory item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"labels","type":"[FulfillmentLabelDTO](types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_number","type":"`string`","description":"The tracking number of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"The tracking URL of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"The label's URL.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FulfillmentLabelDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentProviderDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentProviderDTO.mdx new file mode 100644 index 0000000000000..00db544d669de --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentProviderDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FulfillmentProviderDTO + +The fulfillment provider details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"The label of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"The values of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FulfillmentProviderDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentSetDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentSetDTO.mdx new file mode 100644 index 0000000000000..df6c661b4b8d7 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentSetDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FulfillmentSetDTO + +The fulfillment set details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[GeoZoneType](../types/types.FulfillmentTypes.GeoZoneType.mdx)","description":"The type of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"The province code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`null` \\| `Record`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FulfillmentSetDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.GeoZoneDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.GeoZoneDTO.mdx new file mode 100644 index 0000000000000..65bf5eebf5569 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.GeoZoneDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# GeoZoneDTO + +The geo zone details. + +## Properties + +`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="GeoZoneDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.IFulfillmentModuleService.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.IFulfillmentModuleService.mdx index 528a3e499772b..ed6abd18d07f7 100644 --- a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.IFulfillmentModuleService.mdx +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.IFulfillmentModuleService.mdx @@ -2,128 +2,2681 @@ import TypeList from "@site/src/components/TypeList" # IFulfillmentModuleService +The main service interface for the Fulfillment Module. + ## Methods +### retrieve + +This method retrieves a fulfillment set by its ID. + +#### Example + +A simple example that retrieves a fulfillment set by its ID: + +```ts +const fulfillmentSet = + await fulfillmentModuleService.retrieve("fuset_123") +``` + +To specify relations that should be retrieved: + +```ts +const fulfillmentSet = await fulfillmentModuleService.retrieve( + "fuset_123", + { + relations: ["service_zones"], + } +) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieve"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieve"/> + +### list + +This method retrieves a paginated list of fulfillment sets based on optional filters and configuration. + +#### Example + +To retrieve a list of fulfillment sets using their IDs: + +```ts +const fulfillmentSets = await fulfillmentModuleService.list({ + id: ["fuset_123", "fuset_321"], +}) +``` + +To specify relations that should be retrieved within the fulfillment set: + +```ts +const fulfillmentSets = await fulfillmentModuleService.list( + { + id: ["fuset_123", "fuset_321"], + }, + { + relations: ["search_zones"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const fulfillmentSets = await fulfillmentModuleService.list( + { + id: ["fuset_123", "fuset_321"], + }, + { + relations: ["search_zones"], + take: 20, + skip: 2, + } +) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> + +#### Returns + + + +### listAndCount + +This method retrieves a paginated list of fulfillment sets along with the total count of available fulfillment sets satisfying the provided filters. + +#### Example + +To retrieve a list of fulfillment sets using their IDs: + +```ts +const [fulfillmentSets, count] = + await fulfillmentModuleService.listAndCount({ + id: ["fuset_123", "fuset_321"], + }) +``` + +To specify relations that should be retrieved within the fulfillment set: + +```ts +const [fulfillmentSets, count] = + await fulfillmentModuleService.listAndCount( + { + id: ["fuset_123", "fuset_321"], + }, + { + relations: ["search_zones"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [fulfillmentSets, count] = + await fulfillmentModuleService.listAndCount( + { + id: ["fuset_123", "fuset_321"], + }, + { + relations: ["search_zones"], + take: 20, + skip: 2, + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> + +#### Returns + + + ### create -`**create**(data, sharedContext?): Promise<[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]>` +`**create**(data, sharedContext?): Promise<[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]>` + +This method creates fulfillment sets. + +#### Example + +```ts +const fulfillmentSets = await fulfillmentModuleService.create( + [ + { + name: "Shipping", + type: "default", + }, + { + name: "Pickup", + type: "provider-controlled", + }, + ] +) +``` #### Parameters - + #### Returns - + -`**create**(data, sharedContext?): Promise<[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)>` +`**create**(data, sharedContext?): Promise<[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)>` + +This method creates a fulfillment set. + +#### Example + +```ts +const fulfillmentSet = await fulfillmentModuleService.create({ + name: "Shipping", + type: "default", +}) +``` #### Parameters - + #### Returns - +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="create"/> ### update -`**update**(data, sharedContext?): Promise<[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]>` +`**update**(data, sharedContext?): Promise<[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]>` + +This method updates existing fulfillment sets. + +#### Example + +```ts +const fulfillmentSets = await fulfillmentModuleService.update( + [ + { + id: "fuset_123", + name: "Shipping", + }, + { + id: "fuset_321", + name: "Pickup", + }, + ] +) +``` #### Parameters - + #### Returns - + + +`**update**(data, sharedContext?): Promise<[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)>` + +This method updates an existing fulfillment set. -`**update**(data, sharedContext?): Promise<[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)>` +#### Example + +```ts +const fulfillmentSet = await fulfillmentModuleService.update({ + id: "fuset_123", + name: "Shipping", +}) +``` #### Parameters - + #### Returns - +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="update"/> ### delete `**delete**(ids, sharedContext?): Promise<void>` +This method deletes fulfillment sets by their IDs. + +#### Example + +```ts +await fulfillmentModuleService.delete([ + "fuset_123", + "fuset_321", +]) +``` + #### Parameters - + #### Returns - + `**delete**(id, sharedContext?): Promise<void>` +This method deletes a fulfillment set by its ID. + +#### Example + +```ts +await fulfillmentModuleService.delete("fuset_123") +``` + #### Parameters - + #### Returns - + -### retrieve +### softDelete + +This method soft deletes fulfillment sets by their IDs. + +#### Example + +```ts +await fulfillmentModuleService.softDelete([ + "fuset_123", + "fuset_321", +]) +``` + +#### Type Parameters + + #### Parameters - + #### Returns - +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDelete"/> -### list +### restore + +This method restores a soft deleted fulfillment by its IDs. + +#### Example + +```ts +await fulfillmentModuleService.restore([ + "fuset_123", + "fuset_321", +]) +``` + +#### Type Parameters + + #### Parameters - + #### Returns - +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restore"/> -### listAndCount +### retrieveServiceZone + +This method retrieves a service zone by its ID. + +#### Example + +A simple example that retrieves a service zone by its ID: + +```ts +const serviceZone = + await fulfillmentModuleService.retrieveServiceZone( + "serzo_123" + ) +``` + +To specify relations that should be retrieved: + +```ts +const serviceZone = + await fulfillmentModuleService.retrieveServiceZone( + "serzo_123", + { + relations: ["shipping_options"], + } + ) +``` #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveServiceZone"/> #### Returns - +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[GeoZoneType](../types/types.FulfillmentTypes.GeoZoneType.mdx)","description":"The type of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"The province code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`null` \\| `Record`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveServiceZone"/> + +### listServiceZones + +This method retrieves a paginated list of service zones based on optional filters and configuration. + +#### Example + +To retrieve a list of service zones using their IDs: + +```ts +const serviceZones = + await fulfillmentModuleService.listServiceZones({ + id: ["serzo_123", "serzo_321"], + }) +``` + +To specify relations that should be retrieved within the service zone: + +```ts +const serviceZones = + await fulfillmentModuleService.listServiceZones( + { + id: ["serzo_123", "serzo_321"], + }, + { + relations: ["shipping_options"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const serviceZones = + await fulfillmentModuleService.listServiceZones( + { + id: ["serzo_123", "serzo_321"], + }, + { + relations: ["shipping_options"], + take: 20, + skip: 2, + } + ) +``` -### softDelete +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listServiceZones"/> + +#### Returns + + + +### listAndCountServiceZones + +This method retrieves a paginated list of service zones along with the total count of available service zones satisfying the provided filters. + +#### Example + +To retrieve a list of service zones using their IDs: + +```ts +const [serviceZones, count] = + await fulfillmentModuleService.listAndCountServiceZones({ + id: ["serzo_123", "serzo_321"], + }) +``` + +To specify relations that should be retrieved within the service zone: + +```ts +const [serviceZones, count] = + await fulfillmentModuleService.listAndCountServiceZones( + { + id: ["serzo_123", "serzo_321"], + }, + { + relations: ["shipping_options"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [serviceZones, count] = + await fulfillmentModuleService.listAndCountServiceZones( + { + id: ["serzo_123", "serzo_321"], + }, + { + relations: ["shipping_options"], + take: 20, + skip: 2, + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountServiceZones"/> + +#### Returns + + + +### createServiceZones + +`**createServiceZones**(data, sharedContext?): Promise<[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)[]>` + +This method creates service zones. + +#### Example + +```ts +const serviceZones = + await fulfillmentModuleService.createServiceZones([ + { + name: "Nordic Shipping Methods", + fulfillment_set_id: "fuset_123", + }, + { + name: "Pickup Service Area", + fulfillment_set_id: "fuset_321", + }, + ]) +``` + +#### Parameters + + + +#### Returns + + + +`**createServiceZones**(data, sharedContext?): Promise<[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)>` + +This method creates a service zone. + +#### Example + +```ts +const serviceZone = + await fulfillmentModuleService.createServiceZones({ + name: "Nordic Shipping Methods", + fulfillment_set_id: "fuset_123", + }) +``` + +#### Parameters + + + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[GeoZoneType](../types/types.FulfillmentTypes.GeoZoneType.mdx)","description":"The type of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"The province code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`null` \\| `Record`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createServiceZones"/> + +### updateServiceZones + +`**updateServiceZones**(id, data, sharedContext?): Promise<[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)>` + +This method updates an existing service zone. + +#### Example + +```ts +const serviceZone = + await fulfillmentModuleService.updateServiceZones( + "serzo_123", + { + name: "US", + } + ) +``` + +#### Parameters + + + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[GeoZoneType](../types/types.FulfillmentTypes.GeoZoneType.mdx)","description":"The type of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"The province code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`null` \\| `Record`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateServiceZones"/> + +`**updateServiceZones**(selector, data, sharedContext?): Promise<[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)[]>` + +This method updates existing service zones matching the specified filters. + +#### Example + +```ts +const serviceZones = + await fulfillmentModuleService.updateServiceZones( + { + id: ["serzo_123", "serzo_321"], + }, + { + name: "US", + } + ) +``` + +#### Parameters + + + +#### Returns + + + +### upsertServiceZones + +`**upsertServiceZones**(data, sharedContext?): Promise<[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)>` + +This method updates or creates a service zone if it doesn't exist. + +#### Example + +```ts +const serviceZone = + await fulfillmentModuleService.upsertServiceZones({ + id: "serzo_123", + name: "US", + }) +``` + +#### Parameters + + + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[GeoZoneType](../types/types.FulfillmentTypes.GeoZoneType.mdx)","description":"The type of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"The province code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`null` \\| `Record`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="upsertServiceZones"/> + +`**upsertServiceZones**(data, sharedContext?): Promise<[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)[]>` + +This method updates or creates service zones if they don't exist. + +#### Example + +```ts +const serviceZones = + await fulfillmentModuleService.upsertServiceZones([ + { + id: "serzo_123", + name: "US", + }, + { + name: "US", + fulfillment_set_id: "fuset_123", + }, + ]) +``` + +#### Parameters + + + +#### Returns + + + +### deleteServiceZones + +`**deleteServiceZones**(ids, sharedContext?): Promise<void>` + +This method deletes service zones by their IDs. + +#### Example + +```ts +await fulfillmentModuleService.deleteServiceZones([ + "serzo_123", + "serzo_321", +]) +``` + +#### Parameters + + + +#### Returns + + + +`**deleteServiceZones**(id, sharedContext?): Promise<void>` + +This method deletes a service zone by its ID. + +#### Example + +```ts +await fulfillmentModuleService.deleteServiceZones("serzo_123") +``` + +#### Parameters + + + +#### Returns + + + +### softDeleteServiceZones + +This method soft deletes service zones by their IDs. + +#### Example + +```ts +await fulfillmentModuleService.softDeleteServiceZones([ + "serzo_123", + "serzo_321", +]) +``` #### Type Parameters - + #### Parameters - + #### Returns -`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDelete"/> +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteServiceZones"/> -### restore +### restoreServiceZones + +This method restores a soft deleted service zones by their IDs. + +#### Example + +```ts +await fulfillmentModuleService.restoreServiceZones([ + "serzo_123", + "serzo_321", +]) +``` #### Type Parameters - + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreServiceZones"/> + +### retrieveGeoZone + +This method retrieves a geo zone by its ID. + +#### Example + +A simple example that retrieves a geo zone by its ID: + +```ts +const geoZone = + await fulfillmentModuleService.retrieveGeoZone("fgz_123") +``` + +To specify relations that should be retrieved: + +```ts +const geoZone = + await fulfillmentModuleService.retrieveGeoZone("fgz_123", { + relations: ["service_zone"], + }) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveGeoZone"/> + +#### Returns + +`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveGeoZone"/> + +### listGeoZones + +This method retrieves a paginated list of geo zones based on optional filters and configuration. + +#### Example + +To retrieve a list of geo zones using their IDs: + +```ts +const geoZones = await fulfillmentModuleService.listGeoZones({ + id: ["fgz_123", "fgz_321"], +}) +``` + +To specify relations that should be retrieved within the geo zone: + +```ts +const geoZones = await fulfillmentModuleService.listGeoZones( + { + id: ["fgz_123", "fgz_321"], + }, + { + relations: ["service_zone"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const geoZones = await fulfillmentModuleService.listGeoZones( + { + id: ["fgz_123", "fgz_321"], + }, + { + relations: ["service_zone"], + take: 20, + skip: 2, + } +) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listGeoZones"/> + +#### Returns + + + +### listAndCountGeoZones + +This method retrieves a paginated list of geo zones along with the total count of available geo zones satisfying the provided filters. + +#### Example + +To retrieve a list of geo zones using their IDs: + +```ts +const [geoZones, count] = + await fulfillmentModuleService.listAndCountGeoZones({ + id: ["fgz_123", "fgz_321"], + }) +``` + +To specify relations that should be retrieved within the geo zone: + +```ts +const [geoZones, count] = + await fulfillmentModuleService.listAndCountGeoZones( + { + id: ["fgz_123", "fgz_321"], + }, + { + relations: ["service_zone"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [geoZones, count] = + await fulfillmentModuleService.listAndCountGeoZones( + { + id: ["fgz_123", "fgz_321"], + }, + { + relations: ["service_zone"], + take: 20, + skip: 2, + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountGeoZones"/> + +#### Returns + + + +### createGeoZones + +`**createGeoZones**(data, sharedContext?): Promise<[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]>` + +This method creates geo zones. + +#### Example + +```ts +const geoZones = + await fulfillmentModuleService.createGeoZones([ + { + type: "country", + service_zone_id: "serzo_123", + country_code: "us", + }, + { + type: "city", + service_zone_id: "serzo_321", + province_code: "VT", + city: "Vermont", + country_code: "us", + }, + ]) +``` + +#### Parameters + + + +#### Returns + + + +`**createGeoZones**(data, sharedContext?): Promise<[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)>` + +This method creates a geo zones. + +#### Example + +```ts +const geoZones = + await fulfillmentModuleService.createGeoZones({ + type: "country", + service_zone_id: "serzo_123", + country_code: "us", + }) +``` + +#### Parameters + + + +#### Returns + +`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createGeoZones"/> + +### updateGeoZones + +`**updateGeoZones**(data, sharedContext?): Promise<[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]>` + +This method updates existing geo zones. + +#### Example + +```ts +const geoZones = + await fulfillmentModuleService.updateGeoZones([ + { + id: "fgz_123", + type: "country", + country_code: "us", + }, + { + id: "fgz_321", + type: "city", + province_code: "VT", + }, + ]) +``` + +#### Parameters + + + +#### Returns + + + +`**updateGeoZones**(data, sharedContext?): Promise<[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)>` + +This method updates an existing fulfillment. + +#### Example + +```ts +const geoZones = + await fulfillmentModuleService.updateGeoZones({ + id: "fgz_123", + type: "country", + country_code: "us", + }) +``` + +#### Parameters + + + +#### Returns + +`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateGeoZones"/> + +### deleteGeoZones + +`**deleteGeoZones**(ids, sharedContext?): Promise<void>` + +This method deletes geo zones by their IDs. + +#### Example + +```ts +await fulfillmentModuleService.deleteGeoZones([ + "fgz_123", + "fgz_321", +]) +``` + +#### Parameters + + + +#### Returns + + + +`**deleteGeoZones**(id, sharedContext?): Promise<void>` + +This method deletes a geo zone by its ID. + +#### Example + +```ts +await fulfillmentModuleService.deleteGeoZones("fgz_123") +``` + +#### Parameters + + + +#### Returns + + + +### softDeleteGeoZones + +This method soft deletes geo zones by their IDs. + +#### Example + +```ts +await fulfillmentModuleService.softDeleteGeoZones([ + "fgz_123", + "fgz_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteGeoZones"/> + +### restoreGeoZones + +This method restores soft deleted geo zones by their IDs. + +#### Example + +```ts +await fulfillmentModuleService.restoreGeoZones([ + "fgz_123", + "fgz_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreGeoZones"/> + +### retrieveShippingOption + +This method retrieves a shipping option by its ID. + +#### Example + +A simple example that retrieves a shipping option by its ID: + +```ts +const shippingOption = + await fulfillmentModuleService.retrieveShippingOption( + "so_123" + ) +``` + +To specify relations that should be retrieved: + +```ts +const shippingOption = + await fulfillmentModuleService.retrieveShippingOption( + "so_123", + { + relations: ["fulfillments"], + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveShippingOption"/> + +#### Returns + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"The label of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"The values of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveShippingOption"/> + +### listShippingOptions + +This method retrieves a paginated list of shipping options based on optional filters and configuration. + +#### Example + +To retrieve a list of shipping options using their IDs: + +```ts +const shippingOptions = + await fulfillmentModuleService.listShippingOptions({ + id: ["so_123", "so_321"], + }) +``` + +To specify relations that should be retrieved within the shipping option: + +```ts +const shippingOptions = + await fulfillmentModuleService.listShippingOptions( + { + id: ["so_123", "so_321"], + }, + { + relations: ["fulfillments"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const shippingOptions = + await fulfillmentModuleService.listShippingOptions( + { + id: ["so_123", "so_321"], + }, + { + relations: ["fulfillments"], + take: 20, + skip: 2, + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listShippingOptions"/> + +#### Returns + + + +### listShippingOptionsForContext + +This method retrieves a paginated list of shipping options based on the provided context. + +#### Example + +To retrieve a list of shipping options matching a context: + +```ts +const shippingOptions = + await fulfillmentModuleService.listShippingOptionsForContext( + { + fulfillment_set_id: ["fuset_123"], + address: { + country_code: "us", + }, + } + ) +``` + +To specify relations that should be retrieved within the shipping option: + +```ts +const shippingOptions = + await fulfillmentModuleService.listShippingOptionsForContext( + { + fulfillment_set_id: ["fuset_123"], + address: { + country_code: "us", + }, + }, + { + relations: ["fulfillments"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const shippingOptions = + await fulfillmentModuleService.listShippingOptionsForContext( + { + fulfillment_set_id: ["fuset_123"], + address: { + country_code: "us", + }, + }, + { + relations: ["fulfillments"], + take: 20, + skip: 2, + } + ) +``` + +#### Parameters + +`","description":"The shipping option's context to filter directly.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"config","type":"[FindConfig](../../CommonTypes/interfaces/types.CommonTypes.FindConfig.mdx)<[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)>","description":"The configurations determining how the shipping option is retrieved. Its properties, such as `select` or `relations`, accept the\nattributes or relations associated with a shipping option.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"(`string` \\| keyof Entity)[]","description":"An array of strings, each being attribute names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`null` \\| `number`","description":"A number indicating the number of records to skip before retrieving the results.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`null` \\| `number`","description":"A number indicating the number of records to return in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"An array of strings, each being relation names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`\nto sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"withDeleted","type":"`boolean`","description":"A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the\n`SoftDeletableEntity` class.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"filters","type":"`Record`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listShippingOptionsForContext"/> + +#### Returns + + + +### listAndCountShippingOptions + +This method retrieves a paginated list of shipping options along with the total count of available shipping options satisfying the provided filters. + +#### Example + +To retrieve a list of shipping options using their IDs: + +```ts +const [shippingOptions, count] = + await fulfillmentModuleService.listAndCountShippingOptions({ + id: ["so_123", "so_321"], + }) +``` + +To specify relations that should be retrieved within the shipping option: + +```ts +const [shippingOptions, count] = + await fulfillmentModuleService.listAndCountShippingOptions( + { + id: ["so_123", "so_321"], + }, + { + relations: ["fulfillments"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [shippingOptions, count] = + await fulfillmentModuleService.listAndCountShippingOptions( + { + id: ["so_123", "so_321"], + }, + { + relations: ["fulfillments"], + take: 20, + skip: 2, + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountShippingOptions"/> + +#### Returns + + + +### createShippingOptions + +`**createShippingOptions**(data, sharedContext?): Promise<[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]>` + +This method creates shipping options. + +#### Example + +```ts +const shippingOptions = + await fulfillmentModuleService.createShippingOptions([ + { + name: "DHL Express Shipping", + price_type: "flat", + service_zone_id: "serzo_123", + shipping_profile_id: "sp_123", + provider_id: "dhl", + type: { + label: "Express", + description: "Ship in 24 hours", + code: "express", + }, + }, + { + name: "Webshipper Shipping", + price_type: "flat", + service_zone_id: "serzo_321", + shipping_profile_id: "sp_321", + provider_id: "webshipper", + type: { + label: "Express", + description: "Ship in 24 hours", + code: "express", + }, + }, + ]) +``` + +#### Parameters + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand its associated fulfillments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"Omit<[CreateShippingOptionRuleDTO](types.FulfillmentTypes.CreateShippingOptionRuleDTO.mdx), \"shipping_option_id\">[]","description":"The shipping option rules associated with the shipping option.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"[RuleOperatorType](../../CommonTypes/types/types.CommonTypes.RuleOperatorType.mdx)","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string` \\| `string`[]","description":"The value(s) of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createShippingOptions"/> + +#### Returns + + + +`**createShippingOptions**(data, sharedContext?): Promise<[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)>` + +This method creates a shipping option. + +#### Example + +```ts +const shippingOption = + await fulfillmentModuleService.createShippingOptions({ + name: "DHL Express Shipping", + price_type: "flat", + service_zone_id: "serzo_123", + shipping_profile_id: "sp_123", + provider_id: "dhl", + type: { + label: "Express", + description: "Ship in 24 hours", + code: "express", + }, + }) +``` + +#### Parameters + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand its associated fulfillments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"Omit<[CreateShippingOptionRuleDTO](types.FulfillmentTypes.CreateShippingOptionRuleDTO.mdx), \"shipping_option_id\">[]","description":"The shipping option rules associated with the shipping option.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"[RuleOperatorType](../../CommonTypes/types/types.CommonTypes.RuleOperatorType.mdx)","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string` \\| `string`[]","description":"The value(s) of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createShippingOptions"/> + +#### Returns + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"The label of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"The values of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createShippingOptions"/> + +### updateShippingOptions + +`**updateShippingOptions**(id, data, sharedContext?): Promise<[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)>` + +This method updates an existing shipping option. + +#### Example + +```ts +const shippingOption = + await fulfillmentModuleService.updateShippingOptions( + "so_123", + { + name: "Express shipping", + } + ) +``` + +#### Parameters + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand its associated fulfillments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"(Omit<[CreateShippingOptionRuleDTO](types.FulfillmentTypes.CreateShippingOptionRuleDTO.mdx), \"shipping_option_id\"> \\| `object`)[]","description":"The shipping option rules associated with the shipping option.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateShippingOptions"/> + +#### Returns + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"The label of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"The values of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateShippingOptions"/> + +`**updateShippingOptions**(selector, data, sharedContext?): Promise<[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]>` + +This method updates existing shipping options matching the specified filters. + +#### Example + +```ts +const shippingOptions = + await fulfillmentModuleService.updateShippingOptions( + { + id: ["so_123", "so_321"], + }, + { + name: "Express Shipping", + } + ) +``` + +#### Parameters + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand its associated fulfillments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"(Omit<[CreateShippingOptionRuleDTO](types.FulfillmentTypes.CreateShippingOptionRuleDTO.mdx), \"shipping_option_id\"> \\| `object`)[]","description":"The shipping option rules associated with the shipping option.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateShippingOptions"/> + +#### Returns + + + +### upsertShippingOptions + +`**upsertShippingOptions**(data, sharedContext?): Promise<[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)>` + +This method updates or creates a shipping option if it doesn't exist. + +#### Example + +```ts +const shippingOptions = + await fulfillmentModuleService.upsertShippingOptions({ + id: "so_123", + name: "Express Shipping", + }) +``` + +#### Parameters + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand its associated fulfillments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"(Omit<[CreateShippingOptionRuleDTO](types.FulfillmentTypes.CreateShippingOptionRuleDTO.mdx), \"shipping_option_id\"> \\| `object`)[]","description":"The shipping option rules associated with the shipping option.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsertShippingOptions"/> + +#### Returns + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"The label of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"The values of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="upsertShippingOptions"/> + +`**upsertShippingOptions**(data, sharedContext?): Promise<[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]>` + +This method updates or creates shipping options if they don't exist. + +#### Example + +```ts +const shippingOptions = + await fulfillmentModuleService.upsertShippingOptions([ + { + id: "so_123", + name: "Express Shipping", + }, + { + name: "Express Shipping", + price_type: "flat", + service_zone_id: "serzo_123", + shipping_profile_id: "sp_123", + provider_id: "webshipper", + type: { + label: "Express", + description: "express shipping", + code: "express", + }, + }, + ]) +``` + +#### Parameters + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand its associated fulfillments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"(Omit<[CreateShippingOptionRuleDTO](types.FulfillmentTypes.CreateShippingOptionRuleDTO.mdx), \"shipping_option_id\"> \\| `object`)[]","description":"The shipping option rules associated with the shipping option.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsertShippingOptions"/> + +#### Returns + + + +### deleteShippingOptions + +`**deleteShippingOptions**(ids, sharedContext?): Promise<void>` + +This method deletes shipping options by their IDs. + +#### Example + +```ts +await fulfillmentModuleService.deleteShippingOptions([ + "so_123", + "so_321", +]) +``` + +#### Parameters + + + +#### Returns + + + +`**deleteShippingOptions**(id, sharedContext?): Promise<void>` + +This method deletes a shipping option by its ID. + +#### Example + +```ts +await fulfillmentModuleService.deleteShippingOptions("so_123") +``` + +#### Parameters + + + +#### Returns + + + +### softDeleteShippingOptions + +This method soft deletes shipping option by their IDs. + +#### Example + +```ts +await fulfillmentModuleService.softDeleteShippingOptions([ + "so_123", + "so_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteShippingOptions"/> + +### restoreShippingOptions + +This method restores soft deleted shipping options by their IDs. + +#### Example + +```ts +await fulfillmentModuleService.restoreShippingOptions([ + "so_123", + "so_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreShippingOptions"/> + +### retrieveShippingProfile + +This method retrieves a shipping profile by its ID. + +#### Example + +A simple example that retrieves a shipping profile by its ID: + +```ts +const shippingProfile = + await fulfillmentModuleService.retrieveShippingProfile( + "sp_123" + ) +``` + +To specify relations that should be retrieved: + +```ts +const shippingProfile = + await fulfillmentModuleService.retrieveShippingProfile( + "sp_123", + { + relations: ["options"], + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveShippingProfile"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveShippingProfile"/> + +### listShippingProfiles + +This method retrieves a paginated list of shipping profiles based on optional filters and configuration. + +#### Example + +To retrieve a list of shipping profiles using their IDs: + +```ts +const shippingProfiles = + await fulfillmentModuleService.listShippingProfiles({ + id: ["sp_123", "sp_321"], + }) +``` + +To specify relations that should be retrieved within the shipping profile: + +```ts +const shippingProfiles = + await fulfillmentModuleService.listShippingProfiles( + { + id: ["sp_123", "sp_321"], + }, + { + relations: ["shipping_options"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const shippingProfiles = + await fulfillmentModuleService.listShippingProfiles( + { + id: ["sp_123", "sp_321"], + }, + { + relations: ["shipping_options"], + take: 20, + skip: 2, + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listShippingProfiles"/> + +#### Returns + + + +### listAndCountShippingProfiles + +This method retrieves a paginated list of shipping profiles along with the total count of available shipping profiles satisfying the provided filters. + +#### Example + +To retrieve a list of shipping profiles using their IDs: + +```ts +const [shippingProfiles, count] = + await fulfillmentModuleService.listAndCountShippingProfiles( + { + id: ["sp_123", "sp_321"], + } + ) +``` + +To specify relations that should be retrieved within the shipping profile: + +```ts +const [shippingProfiles, count] = + await fulfillmentModuleService.listAndCountShippingProfiles( + { + id: ["sp_123", "sp_321"], + }, + { + relations: ["shipping_options"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [shippingProfiles, count] = + await fulfillmentModuleService.listAndCountShippingProfiles( + { + id: ["sp_123", "sp_321"], + }, + { + relations: ["shipping_options"], + take: 20, + skip: 2, + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountShippingProfiles"/> + +#### Returns + + + +### createShippingProfiles + +`**createShippingProfiles**(data, sharedContext?): Promise<[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)[]>` + +This method creates shipping profiles. + +#### Example + +```ts +const shippingProfiles = + await fulfillmentModuleService.createShippingProfiles([ + { + name: "Default", + }, + { + name: "Digital", + }, + ]) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createShippingProfiles"/> + +#### Returns + + + +`**createShippingProfiles**(data, sharedContext?): Promise<[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)>` + +This method creates a shipping profile. + +#### Example + +```ts +const shippingProfile = + await fulfillmentModuleService.createShippingProfiles({ + name: "Default", + }) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createShippingProfiles"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createShippingProfiles"/> + +### updateShippingProfiles + +`**updateShippingProfiles**(data, sharedContext?): Promise<[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)[]>` + +This method updates existing shipping profiles. + +#### Example + +```ts +const shippingProfiles = + await fulfillmentModuleService.updateShippingProfiles([ + { + id: "sp_123", + name: "Default", + }, + { + id: "sp_321", + name: "Digital", + }, + ]) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateShippingProfiles"/> + +#### Returns + + + +`**updateShippingProfiles**(data, sharedContext?): Promise<[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)>` + +This method updates an existing shipping profiles. + +#### Example + +```ts +const shippingProfiles = + await fulfillmentModuleService.updateShippingProfiles({ + id: "sp_123", + name: "Default", + }) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateShippingProfiles"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateShippingProfiles"/> + +### deleteShippingProfiles + +`**deleteShippingProfiles**(ids, sharedContext?): Promise<void>` + +This method deletes shipping profiles by their IDs. + +#### Example + +```ts +await fulfillmentModuleService.deleteShippingProfiles([ + "sp_123", + "sp_321", +]) +``` + +#### Parameters + + + +#### Returns + + + +`**deleteShippingProfiles**(id, sharedContext?): Promise<void>` + +This method deletes a shipping profile by its ID. + +#### Example + +```ts +await fulfillmentModuleService.deleteShippingProfiles( + "sp_123" +) +``` + +#### Parameters + + + +#### Returns + + + +### softDeleteShippingProfiles + +This method soft deletes shipping profiles by their IDs. + +#### Example + +```ts +await fulfillmentModuleService.softDeleteShippingProfiles([ + "sp_123", + "sp_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteShippingProfiles"/> + +### restoreShippingProfiles + +This method restores soft deleted shipping profiles by their IDs. + +#### Example + +```ts +await fulfillmentModuleService.restoreShippingProfiles([ + "sp_123", + "sp_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreShippingProfiles"/> + +### retrieveShippingOptionRule + +This method retrieves a shipping option rule by its ID. + +#### Example + +A simple example that retrieves a shipping option rule by its ID: + +```ts +const shippingOptionRule = + await fulfillmentModuleService.retrieveShippingOptionRule( + "sorul_123" + ) +``` + +To specify relations that should be retrieved: + +```ts +const shippingOptionRule = + await fulfillmentModuleService.retrieveShippingOptionRule( + "sorul_123", + { + relations: ["shipping_option"], + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveShippingOptionRule"/> + +#### Returns + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveShippingOptionRule"/> + +### listShippingOptionRules + +This method retrieves a paginated list of shipping option rules based on optional filters and configuration. + +#### Example + +To retrieve a list of shipping option rules using their IDs: + +```ts +const shippingOptionRules = + await fulfillmentModuleService.listShippingOptionRules({ + id: ["sorul_123", "sorul_321"], + }) +``` + +To specify relations that should be retrieved within the shipping option rule: + +```ts +const shippingOptionRules = + await fulfillmentModuleService.listShippingOptionRules( + { + id: ["sorul_123", "sorul_321"], + }, + { + relations: ["shipping_option"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const shippingOptionRules = + await fulfillmentModuleService.listShippingOptionRules( + { + id: ["sorul_123", "sorul_321"], + }, + { + relations: ["shipping_option"], + take: 20, + skip: 2, + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listShippingOptionRules"/> + +#### Returns + + + +### listAndCountShippingOptionRules + +This method retrieves a paginated list of shipping option rules along with the total count of available shipping option rules satisfying the provided filters. + +#### Example + +To retrieve a list of shipping option rules using their IDs: + +```ts +const [shippingOptionRules, count] = + await fulfillmentModuleService.listAndCountShippingOptionRules( + { + id: ["sorul_123", "sorul_321"], + } + ) +``` + +To specify relations that should be retrieved within the shipping option rule: + +```ts +const [shippingOptionRules, count] = + await fulfillmentModuleService.listAndCountShippingOptionRules( + { + id: ["sorul_123", "sorul_321"], + }, + { + relations: ["shipping_option"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [shippingOptionRules, count] = + await fulfillmentModuleService.listAndCountShippingOptionRules( + { + id: ["sorul_123", "sorul_321"], + }, + { + relations: ["shipping_option"], + take: 20, + skip: 2, + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountShippingOptionRules"/> + +#### Returns + + + +### createShippingOptionRules + +`**createShippingOptionRules**(data, sharedContext?): Promise<[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]>` + +This method creates shipping option rules. + +#### Example + +```ts +const shippingOptionRules = + await fulfillmentModuleService.createShippingOptionRules([ + { + attribute: "customer_group", + operator: "in", + value: "cg_vipgroup", + shipping_option_id: "so_123", + }, + { + attribute: "total_weight", + operator: "lt", + value: "2000", + shipping_option_id: "so_321", + }, + ]) +``` + +#### Parameters + + + +#### Returns + + + +`**createShippingOptionRules**(data, sharedContext?): Promise<[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)>` + +This method creates a shipping option rule. + +#### Example + +```ts +const shippingOptionRule = + await fulfillmentModuleService.createShippingOptionRules({ + attribute: "customer_group", + operator: "in", + value: "cg_vipgroup", + shipping_option_id: "so_123", + }) +``` + +#### Parameters + + + +#### Returns + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createShippingOptionRules"/> + +### updateShippingOptionRules + +`**updateShippingOptionRules**(data, sharedContext?): Promise<[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]>` + +This method updates existing shipping option rules. + +#### Example + +```ts +const shippingOptionRules = + await fulfillmentModuleService.updateShippingOptionRules([ + { + id: "sorul_123", + operator: "in", + }, + { + id: "sorul_321", + attribute: "customer_group", + value: "cp_vipgroup", + }, + ]) +``` + +#### Parameters + + + +#### Returns + + + +`**updateShippingOptionRules**(data, sharedContext?): Promise<[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)>` + +This method updates an existing shipping option rule. + +#### Example + +```ts +const shippingOptionRule = + await fulfillmentModuleService.updateShippingOptionRules({ + id: "sorul_123", + operator: "in", + }) +``` + +#### Parameters + + + +#### Returns + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateShippingOptionRules"/> + +### deleteShippingOptionRules + +`**deleteShippingOptionRules**(ids, sharedContext?): Promise<void>` + +This method deletes shipping option rules by their IDs. + +#### Example + +```ts +await fulfillmentModuleService.deleteShippingOptionRules([ + "sorul_123", + "sorul_321", +]) +``` + +#### Parameters + + + +#### Returns + + + +`**deleteShippingOptionRules**(id, sharedContext?): Promise<void>` + +This method deletes a shipping option by its ID. + +#### Example + +```ts +await fulfillmentModuleService.deleteShippingOptionRules( + "sorul_123" +) +``` + +#### Parameters + + + +#### Returns + + + +### retrieveShippingOptionType + +This method retrieves a shipping option type by its ID. + +#### Example + +A simple example that retrieves a shipping option type by its ID: + +```ts +const shippingOptionType = + await fulfillmentModuleService.retrieveShippingOptionType( + "sotype_123" + ) +``` + +To specify relations that should be retrieved: + +```ts +const shippingOptionType = + await fulfillmentModuleService.retrieveShippingOptionType( + "sotype_123", + { + relations: ["shipping_option"], + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveShippingOptionType"/> + +#### Returns + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveShippingOptionType"/> + +### listShippingOptionTypes + +This method retrieves a paginated list of shipping option types based on optional filters and configuration. + +#### Example + +To retrieve a list of shipping option types using their IDs: + +```ts +const shippingOptionTypes = + await fulfillmentModuleService.listShippingOptionTypes({ + id: ["sotype_123", "sotype_321"], + }) +``` + +To specify relations that should be retrieved within the shipping option type: + +```ts +const shippingOptionTypes = + await fulfillmentModuleService.listShippingOptionTypes( + { + id: ["sotype_123", "sotype_321"], + }, + { + relations: ["shipping_option"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const shippingOptionTypes = + await fulfillmentModuleService.listShippingOptionTypes( + { + id: ["sotype_123", "sotype_321"], + }, + { + relations: ["shipping_option"], + take: 20, + skip: 2, + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listShippingOptionTypes"/> + +#### Returns + + + +### listAndCountShippingOptionTypes + +This method retrieves a paginated list of shipping option types along with the total count of available shipping option types satisfying the provided filters. + +#### Example + +To retrieve a list of shipping option types using their IDs: + +```ts +const [shippingOptionTypes, count] = + await fulfillmentModuleService.listAndCountShippingOptionTypes( + { + id: ["sotype_123", "sotype_321"], + } + ) +``` + +To specify relations that should be retrieved within the shipping option type: + +```ts +const [shippingOptionTypes, count] = + await fulfillmentModuleService.listAndCountShippingOptionTypes( + { + id: ["sotype_123", "sotype_321"], + }, + { + relations: ["shipping_option"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [shippingOptionTypes, count] = + await fulfillmentModuleService.listAndCountShippingOptionTypes( + { + id: ["sotype_123", "sotype_321"], + }, + { + relations: ["shipping_option"], + take: 20, + skip: 2, + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountShippingOptionTypes"/> + +#### Returns + + + +### deleteShippingOptionTypes + +`**deleteShippingOptionTypes**(ids, sharedContext?): Promise<void>` + +This method deletes shipping option types by their IDs. + +#### Example + +```ts +await fulfillmentModuleService.deleteShippingOptionTypes([ + "sotype_123", + "sotype_321", +]) +``` + +#### Parameters + + + +#### Returns + + + +`**deleteShippingOptionTypes**(id, sharedContext?): Promise<void>` + +This method deletes a shipping option type by its ID. + +#### Example + +```ts +await fulfillmentModuleService.deleteShippingOptionTypes( + "sotype_123" +) +``` + +#### Parameters + + + +#### Returns + + + +### retrieveFulfillment + +This method retrieves a fulfillment by its ID. + +#### Example + +A simple example that retrieves a fulfillment by its ID: + +```ts +const fulfillment = + await fulfillmentModuleService.retrieveFulfillment( + "ful_123" + ) +``` + +To specify relations that should be retrieved: + +```ts +const fulfillment = + await fulfillmentModuleService.retrieveFulfillment( + "ful_123", + { + relations: ["shipping_option"], + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveFulfillment"/> + +#### Returns + +`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`null` \\| `string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`null` \\| `string`","description":"The company of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`null` \\| `string`","description":"The first line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`null` \\| `string`","description":"The second line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"The ISO 2 character country code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`null` \\| `string`","description":"The province of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`null` \\| `string`","description":"The postal code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[FulfillmentItemDTO](types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The sku of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`null` \\| `string`","description":"The associated inventory item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"labels","type":"[FulfillmentLabelDTO](types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_number","type":"`string`","description":"The tracking number of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"The tracking URL of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"The label's URL.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveFulfillment"/> + +### listFulfillments + +This method retrieves a paginated list of fulfillments based on optional filters and configuration. + +#### Example + +To retrieve a list of fulfillments using their IDs: + +```ts +const fulfillments = + await fulfillmentModuleService.listFulfillments({ + id: ["ful_123", "ful_321"], + }) +``` + +To specify relations that should be retrieved within the fulfillment: + +```ts +const fulfillments = + await fulfillmentModuleService.listFulfillments( + { + id: ["ful_123", "ful_321"], + }, + { + relations: ["shipping_option"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const fulfillments = + await fulfillmentModuleService.listFulfillments( + { + id: ["ful_123", "ful_321"], + }, + { + relations: ["shipping_option"], + take: 20, + skip: 2, + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listFulfillments"/> + +#### Returns + + + +### listAndCountFulfillments + +This method retrieves a paginated list of fulfillments along with the total count of available fulfillments satisfying the provided filters. + +#### Example + +To retrieve a list of fulfillments using their IDs: + +```ts +const [fulfillments, count] = + await fulfillmentModuleService.listAndCountFulfillments( + { + id: ["ful_123", "ful_321"], + }, + { + relations: ["shipping_option"], + take: 20, + skip: 2, + } + ) +``` + +To specify relations that should be retrieved within the fulfillment: + +```ts +const [fulfillments, count] = + await fulfillmentModuleService.listAndCountFulfillments( + { + id: ["ful_123", "ful_321"], + }, + { + relations: ["shipping_option"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [fulfillments, count] = + await fulfillmentModuleService.listAndCountFulfillments({ + id: ["ful_123", "ful_321"], + }) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountFulfillments"/> + +#### Returns + + + +### createFulfillment + +This method creates a fulfillment. + +#### Example + +```ts +const fulfillment = + await fulfillmentModuleService.createFulfillment({ + location_id: "loc_123", + provider_id: "webshipper", + delivery_address: { + address_1: "4120 Auto Park Cir", + country_code: "us", + }, + items: [ + { + title: "Shirt", + sku: "SHIRT", + quantity: 1, + barcode: "ABCED", + }, + ], + labels: [ + { + tracking_number: "1234567", + tracking_url: "https://example.com/tracking", + label_url: "https://example.com/label", + }, + ], + order: {}, + }) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"Omit<[CreateFulfillmentItemDTO](types.FulfillmentTypes.CreateFulfillmentItemDTO.mdx), \"fulfillment_id\">[]","description":"The items associated with the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"The title of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The SKU of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`null` \\| `string`","description":"The associated inventory item's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"labels","type":"Omit<[CreateFulfillmentLabelDTO](types.FulfillmentTypes.CreateFulfillmentLabelDTO.mdx), \"fulfillment_id\">[]","description":"The labels associated with the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"tracking_number","type":"`string`","description":"The tracking number of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"The tracking URL of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"The URL of the label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"order","type":"[CreateFulfillmentOrderDTO](types.FulfillmentTypes.CreateFulfillmentOrderDTO.mdx)","description":"The associated fulfillment order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createFulfillment"/> + +#### Returns + +`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`null` \\| `string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`null` \\| `string`","description":"The company of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`null` \\| `string`","description":"The first line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`null` \\| `string`","description":"The second line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"The ISO 2 character country code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`null` \\| `string`","description":"The province of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`null` \\| `string`","description":"The postal code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[FulfillmentItemDTO](types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The sku of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`null` \\| `string`","description":"The associated inventory item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"labels","type":"[FulfillmentLabelDTO](types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_number","type":"`string`","description":"The tracking number of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"The tracking URL of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"The label's URL.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createFulfillment"/> + +### updateFulfillment + +This method updates an existing fulfillment. + +#### Example + +```ts +const fulfillment = + await fulfillmentModuleService.updateFulfillment( + "ful_123", + { + location_id: "loc_123", + } + ) +``` + +#### Parameters + +`","description":"The data necessary for the associated fulfillment provider to process the fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"Omit<[CreateFulfillmentLabelDTO](types.FulfillmentTypes.CreateFulfillmentLabelDTO.mdx), \"fulfillment_id\">[]","description":"The labels associated with the fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"tracking_number","type":"`string`","description":"The tracking number of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"The tracking URL of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"The URL of the label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateFulfillment"/> + +#### Returns + +`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`null` \\| `string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`null` \\| `string`","description":"The company of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`null` \\| `string`","description":"The first line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`null` \\| `string`","description":"The second line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"The ISO 2 character country code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`null` \\| `string`","description":"The province of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`null` \\| `string`","description":"The postal code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[FulfillmentItemDTO](types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The sku of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`null` \\| `string`","description":"The associated inventory item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"labels","type":"[FulfillmentLabelDTO](types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_number","type":"`string`","description":"The tracking number of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"The tracking URL of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"The label's URL.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateFulfillment"/> + +### cancelFulfillment + +This method cancels a fulfillment. + +#### Example + +```ts +const fulfillment = + await fulfillmentModuleService.cancelFulfillment("ful_123") +``` + +#### Parameters + + + +#### Returns + +`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`null` \\| `string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`null` \\| `string`","description":"The company of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`null` \\| `string`","description":"The first line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`null` \\| `string`","description":"The second line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"The ISO 2 character country code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`null` \\| `string`","description":"The province of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`null` \\| `string`","description":"The postal code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[FulfillmentItemDTO](types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The sku of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`null` \\| `string`","description":"The associated inventory item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"labels","type":"[FulfillmentLabelDTO](types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_number","type":"`string`","description":"The tracking number of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"The tracking URL of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"The label's URL.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="cancelFulfillment"/> + +### retrieveFulfillmentOptions + +This method retrieves the fulfillment options of a fulfillment provider. + +#### Example + +```ts +const fulfillment = + await fulfillmentModuleService.retrieveFulfillmentOptions( + "ful_123" + ) +``` + +#### Parameters + + + +#### Returns + +`[]","optional":false,"defaultValue":"","description":"","expandable":false,"children":[{"name":"Record","type":"`Record`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveFulfillmentOptions"/> + +### validateFulfillmentOption + +This method validates a fulfillment option with the provider it belongs to. + +#### Example + +```ts +const isValid = + await fulfillmentModuleService.validateFulfillmentOption( + "webshipper", + { + code: "express", + } + ) +``` + +#### Parameters + +`","description":"The fulfillment option to validate.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="validateFulfillmentOption"/> + +#### Returns + + + +### validateShippingOption + +This method checks whether a shipping option can be used for a specified context. + +#### Example + +```ts +const isValid = + await fulfillmentModuleService.validateShippingOption( + "so_123", + { + customer_group: "cg_vipgroup", + } + ) +``` + +#### Parameters + +`","description":"The context to check.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="validateShippingOption"/> + +#### Returns + + + +### listFulfillmentProviders + +This method retrieves a paginated list of fulfillment providers based on optional filters and configuration. + +#### Example + +To retrieve a list of fulfillment providers using their IDs: + +```ts +const providers = await fulfillmentModuleService.listFulfillmentProviders({ + id: ["sepro_123", "sepro_321"], +}) +``` #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listFulfillmentProviders"/> #### Returns -`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restore"/> + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.IFulfillmentProvider.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.IFulfillmentProvider.mdx new file mode 100644 index 0000000000000..56bfae4d0fff7 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.IFulfillmentProvider.mdx @@ -0,0 +1,3 @@ +import TypeList from "@site/src/components/TypeList" + +# IFulfillmentProvider diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ServiceZoneDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ServiceZoneDTO.mdx new file mode 100644 index 0000000000000..04cf3ffe6f036 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ServiceZoneDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ServiceZoneDTO + +The service zone details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[GeoZoneType](../types/types.FulfillmentTypes.GeoZoneType.mdx)","description":"The type of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"The province code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`null` \\| `Record`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"The label of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"The values of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ServiceZoneDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionDTO.mdx new file mode 100644 index 0000000000000..40f1565f7e16c --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ShippingOptionDTO + +The shipping option details. + +## Properties + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)[]","description":"The service zones associated with the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment set.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[GeoZoneType](../types/types.FulfillmentTypes.GeoZoneType.mdx)","description":"The type of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"The province code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`null` \\| `Record`","description":"The postal expression of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"The label of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"The values of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`null` \\| `string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`null` \\| `string`","description":"The company of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`null` \\| `string`","description":"The first line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`null` \\| `string`","description":"The second line of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"The city of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"The ISO 2 character country code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`null` \\| `string`","description":"The province of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`null` \\| `string`","description":"The postal code of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the address.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[FulfillmentItemDTO](types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The sku of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`null` \\| `string`","description":"The associated inventory item's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"labels","type":"[FulfillmentLabelDTO](types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_number","type":"`string`","description":"The tracking number of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"The tracking URL of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"The label's URL.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"The associated fulfillment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)","description":"The associated fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ShippingOptionDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionRuleDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionRuleDTO.mdx new file mode 100644 index 0000000000000..8fa63e23e67c0 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionRuleDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ShippingOptionRuleDTO + +The shipping option rule details. + +## Properties + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"The label of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"The values of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ShippingOptionRuleDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionTypeDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionTypeDTO.mdx new file mode 100644 index 0000000000000..73f0905b25e8c --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionTypeDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ShippingOptionTypeDTO + +The shipping option type details. + +## Properties + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"The label of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"The values of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ShippingOptionTypeDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingProfileDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingProfileDTO.mdx new file mode 100644 index 0000000000000..d0c6c72bac6d0 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingProfileDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ShippingProfileDTO + +The shipping profile details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"The type of the shipping option's price.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone_id","type":"`string`","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_profile_id","type":"`string`","description":"The associated shipping profile's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_type_id","type":"`null` \\| `string`","description":"The associated shipping option type's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand, later, its associated fulfillments.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[ServiceZoneDTO](types.FulfillmentTypes.ServiceZoneDTO.mdx)","description":"The associated service zone.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_sets","type":"[FulfillmentSetDTO](types.FulfillmentTypes.FulfillmentSetDTO.mdx)[]","description":"The fulfillment sets assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[GeoZoneDTO](types.FulfillmentTypes.GeoZoneDTO.mdx)[]","description":"The geo zones assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options assoiated with the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[ShippingProfileDTO](types.FulfillmentTypes.ShippingProfileDTO.mdx)","description":"The associated shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"The type of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_options","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)[]","description":"The shipping options associated with the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[ShippingOptionTypeDTO](types.FulfillmentTypes.ShippingOptionTypeDTO.mdx)","description":"The associated shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"The label of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option type.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[ShippingOptionRuleDTO](types.FulfillmentTypes.ShippingOptionRuleDTO.mdx)[]","description":"The rules associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"The attribute of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"The operator of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"The values of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"[ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillments","type":"[FulfillmentDTO](types.FulfillmentTypes.FulfillmentDTO.mdx)[]","description":"The fulfillments associated with the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`null` \\| `Date`","description":"The date the fulfillment was packed.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`null` \\| `Date`","description":"The date the fulfillment was shipped.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`null` \\| `Date`","description":"The date the fulfillment was delivered.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `Date`","description":"The date the fulfillment was canceled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"The data necessary for the fulfillment provider to process\nthe fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The associated fulfillment provider's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option","type":"`null` \\| [ShippingOptionDTO](types.FulfillmentTypes.ShippingOptionDTO.mdx)","description":"The associated shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[FulfillmentProviderDTO](types.FulfillmentTypes.FulfillmentProviderDTO.mdx)","description":"The associated fulfillment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"delivery_address","type":"[FulfillmentAddressDTO](types.FulfillmentTypes.FulfillmentAddressDTO.mdx)","description":"The associated fulfillment address used for delivery.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"items","type":"[FulfillmentItemDTO](types.FulfillmentTypes.FulfillmentItemDTO.mdx)[]","description":"The items of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"[FulfillmentLabelDTO](types.FulfillmentTypes.FulfillmentLabelDTO.mdx)[]","description":"The labels of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping option.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The creation date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The update date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the shipping profile.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ShippingProfileDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateCityGeoZoneDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateCityGeoZoneDTO.mdx new file mode 100644 index 0000000000000..c174263078de2 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateCityGeoZoneDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateCityGeoZoneDTO + +The attributes to update in the geo zone of type `city`. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`string`","description":"The province code of the geo zone.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the geo zone.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateCityGeoZoneDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateCountryGeoZoneDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateCountryGeoZoneDTO.mdx new file mode 100644 index 0000000000000..c71836539d6b0 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateCountryGeoZoneDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateCountryGeoZoneDTO + +The attributes to update in the geo zone of type `country`. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateCountryGeoZoneDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateFulfillmentDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateFulfillmentDTO.mdx new file mode 100644 index 0000000000000..1e94593b82ac8 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateFulfillmentDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateFulfillmentDTO + +The attributes to update in the fulfillment. + +## Properties + +`","description":"The data necessary for the associated fulfillment provider to process the fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"labels","type":"Omit<[CreateFulfillmentLabelDTO](types.FulfillmentTypes.CreateFulfillmentLabelDTO.mdx), \"fulfillment_id\">[]","description":"The labels associated with the fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"tracking_number","type":"`string`","description":"The tracking number of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"The tracking URL of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"The URL of the label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="UpdateFulfillmentDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateFulfillmentSetDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateFulfillmentSetDTO.mdx new file mode 100644 index 0000000000000..bcfd1f85bebe5 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateFulfillmentSetDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateFulfillmentSetDTO + +The attributes to update in the fulfillment set. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateGeoZoneBaseDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateGeoZoneBaseDTO.mdx new file mode 100644 index 0000000000000..3c853ad733119 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateGeoZoneBaseDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateGeoZoneBaseDTO + +The attributes to update in the geo zone. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateGeoZoneBaseDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateProvinceGeoZoneDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateProvinceGeoZoneDTO.mdx new file mode 100644 index 0000000000000..e89daaf01fd7b --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateProvinceGeoZoneDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateProvinceGeoZoneDTO + +The attributes to update in the geo zone of type `province`. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateProvinceGeoZoneDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateServiceZoneDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateServiceZoneDTO.mdx new file mode 100644 index 0000000000000..9d03c2fdd2038 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateServiceZoneDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateServiceZoneDTO + +The attributes to update in the service zone. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingOptionDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingOptionDTO.mdx new file mode 100644 index 0000000000000..12baceac6a637 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingOptionDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateShippingOptionDTO + +The attributes to update in the shipping option. + +## Properties + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand its associated fulfillments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"(Omit<[CreateShippingOptionRuleDTO](types.FulfillmentTypes.CreateShippingOptionRuleDTO.mdx), \"shipping_option_id\"> \\| `object`)[]","description":"The shipping option rules associated with the shipping option.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateShippingOptionDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingOptionRuleDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingOptionRuleDTO.mdx new file mode 100644 index 0000000000000..66394d106152d --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingOptionRuleDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateShippingOptionRuleDTO + +The attributes to update in the shipping option rule. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingOptionTypeDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingOptionTypeDTO.mdx new file mode 100644 index 0000000000000..10279a6b749ac --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingOptionTypeDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateShippingOptionTypeDTO + +The attributes to update in the shipping option type. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingProfileDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingProfileDTO.mdx new file mode 100644 index 0000000000000..7c452577e467f --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingProfileDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateShippingProfileDTO + +The attributes to update in the shipping profile. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateShippingProfileDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateZipGeoZoneDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateZipGeoZoneDTO.mdx new file mode 100644 index 0000000000000..237decc5ea625 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateZipGeoZoneDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateZipGeoZoneDTO + +The attributes to update in the geo zone of type `zip`. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`string`","description":"The province code of the geo zone.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the geo zone.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`Record`","description":"The postal expression of the geo zone.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateZipGeoZoneDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpsertServiceZoneDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpsertServiceZoneDTO.mdx new file mode 100644 index 0000000000000..1be828806858b --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpsertServiceZoneDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpsertServiceZoneDTO + +A service zone to be created or updated. + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpsertShippingOptionDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpsertShippingOptionDTO.mdx new file mode 100644 index 0000000000000..b413653b08aca --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/interfaces/types.FulfillmentTypes.UpsertShippingOptionDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpsertShippingOptionDTO + +A shipping option to be created or updated. + +## Properties + +`","description":"The data necessary for the associated fulfillment provider to process the shipping option\nand its associated fulfillments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"(Omit<[CreateShippingOptionRuleDTO](types.FulfillmentTypes.CreateShippingOptionRuleDTO.mdx), \"shipping_option_id\"> \\| `object`)[]","description":"The shipping option rules associated with the shipping option.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpsertShippingOptionDTO"/> diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.AddFulfillmentShippingOptionRulesWorkflowDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.AddFulfillmentShippingOptionRulesWorkflowDTO.mdx new file mode 100644 index 0000000000000..db3e29621016f --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.AddFulfillmentShippingOptionRulesWorkflowDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# AddFulfillmentShippingOptionRulesWorkflowDTO + + **AddFulfillmentShippingOptionRulesWorkflowDTO**: `Object` + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.CreateGeoZoneDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.CreateGeoZoneDTO.mdx new file mode 100644 index 0000000000000..564cfc4952dc1 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.CreateGeoZoneDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateGeoZoneDTO + + **CreateGeoZoneDTO**: [CreateCountryGeoZoneDTO](../interfaces/types.FulfillmentTypes.CreateCountryGeoZoneDTO.mdx) \| [CreateProvinceGeoZoneDTO](../interfaces/types.FulfillmentTypes.CreateProvinceGeoZoneDTO.mdx) \| [CreateCityGeoZoneDTO](../interfaces/types.FulfillmentTypes.CreateCityGeoZoneDTO.mdx) \| [CreateZipGeoZoneDTO](../interfaces/types.FulfillmentTypes.CreateZipGeoZoneDTO.mdx) + +The geo zone to be created. The value of the `type` attributes allows for passing more attributes. diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.GeoZoneType.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.GeoZoneType.mdx index 0069ada32a77d..9ec57ba8498ab 100644 --- a/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.GeoZoneType.mdx +++ b/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.GeoZoneType.mdx @@ -3,3 +3,5 @@ import TypeList from "@site/src/components/TypeList" # GeoZoneType **GeoZoneType**: `"country"` \| `"province"` \| `"city"` \| `"zip"` + +The type of the geo zone. diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.RemoveFulfillmentShippingOptionRulesWorkflowDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.RemoveFulfillmentShippingOptionRulesWorkflowDTO.mdx new file mode 100644 index 0000000000000..a2f8283bf3607 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.RemoveFulfillmentShippingOptionRulesWorkflowDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# RemoveFulfillmentShippingOptionRulesWorkflowDTO + + **RemoveFulfillmentShippingOptionRulesWorkflowDTO**: `Object` + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.ShippingOptionPriceType.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.ShippingOptionPriceType.mdx new file mode 100644 index 0000000000000..5e7b5205e1bc0 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.ShippingOptionPriceType.mdx @@ -0,0 +1,10 @@ +import TypeList from "@site/src/components/TypeList" + +# ShippingOptionPriceType + + **ShippingOptionPriceType**: `"calculated"` \| `"flat"` + +The shipping option's price type. + +- Use `calculated` if the shipping option's price amount is calculated by the fulfillment provider. +- Use `flat_rate` if the shipping option's price is always the same amount. diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.UpdateFulfillmentShippingOptionRulesWorkflowDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.UpdateFulfillmentShippingOptionRulesWorkflowDTO.mdx new file mode 100644 index 0000000000000..a54d5be865993 --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.UpdateFulfillmentShippingOptionRulesWorkflowDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateFulfillmentShippingOptionRulesWorkflowDTO + + **UpdateFulfillmentShippingOptionRulesWorkflowDTO**: `Object` + +## Properties + + diff --git a/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.UpdateGeoZoneDTO.mdx b/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.UpdateGeoZoneDTO.mdx new file mode 100644 index 0000000000000..134f8182b3a5d --- /dev/null +++ b/www/apps/docs/content/references/types/FulfillmentTypes/types/types.FulfillmentTypes.UpdateGeoZoneDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateGeoZoneDTO + + **UpdateGeoZoneDTO**: [UpdateCountryGeoZoneDTO](../interfaces/types.FulfillmentTypes.UpdateCountryGeoZoneDTO.mdx) \| [UpdateProvinceGeoZoneDTO](../interfaces/types.FulfillmentTypes.UpdateProvinceGeoZoneDTO.mdx) \| [UpdateCityGeoZoneDTO](../interfaces/types.FulfillmentTypes.UpdateCityGeoZoneDTO.mdx) \| [UpdateZipGeoZoneDTO](../interfaces/types.FulfillmentTypes.UpdateZipGeoZoneDTO.mdx) + +The attributes to update in the geo zone. The value of the `type` attributes allows for passing more attributes. diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminApiKeyListResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminApiKeyListResponse.mdx new file mode 100644 index 0000000000000..d663d19ca3f2f --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminApiKeyListResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminApiKeyListResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminApiKeyResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminApiKeyResponse.mdx new file mode 100644 index 0000000000000..6baac516d5e7a --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminApiKeyResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminApiKeyResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCampaignListResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCampaignListResponse.mdx new file mode 100644 index 0000000000000..68a1282a93dc3 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCampaignListResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminCampaignListResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCampaignResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCampaignResponse.mdx new file mode 100644 index 0000000000000..134849a1b32c5 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCampaignResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminCampaignResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCustomerGroupListResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCustomerGroupListResponse.mdx new file mode 100644 index 0000000000000..f086be69942e4 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCustomerGroupListResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminCustomerGroupListResponse + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="AdminCustomerGroupListResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCustomerGroupResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCustomerGroupResponse.mdx new file mode 100644 index 0000000000000..557583664ba76 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCustomerGroupResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminCustomerGroupResponse + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="AdminCustomerGroupResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCustomerListResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCustomerListResponse.mdx new file mode 100644 index 0000000000000..93cb45c034499 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCustomerListResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminCustomerListResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"[CustomerGroupResponse](types.HttpTypes.CustomerGroupResponse.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customers","type":"[CustomerResponse](../../interfaces/types.CustomerResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="AdminCustomerListResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCustomerResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCustomerResponse.mdx new file mode 100644 index 0000000000000..6e373c7049e7e --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminCustomerResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminCustomerResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"[CustomerGroupResponse](types.HttpTypes.CustomerGroupResponse.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customers","type":"[CustomerResponse](../../interfaces/types.CustomerResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="AdminCustomerResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentAddressResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentAddressResponse.mdx new file mode 100644 index 0000000000000..72d07cd6df4bc --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentAddressResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminFulfillmentAddressResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="AdminFulfillmentAddressResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentItemResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentItemResponse.mdx new file mode 100644 index 0000000000000..0ab6963503b4f --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentItemResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminFulfillmentItemResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentLabelResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentLabelResponse.mdx new file mode 100644 index 0000000000000..348e568168727 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentLabelResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminFulfillmentLabelResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentProviderResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentProviderResponse.mdx new file mode 100644 index 0000000000000..ec1af2fce9e55 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentProviderResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminFulfillmentProviderResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="AdminFulfillmentProviderResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentResponse.mdx new file mode 100644 index 0000000000000..0ab37c14cde52 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminFulfillmentResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider","type":"[AdminFulfillmentProviderResponse](types.HttpTypes.AdminFulfillmentProviderResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"delivery_address","type":"[AdminFulfillmentAddressResponse](types.HttpTypes.AdminFulfillmentAddressResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[AdminFulfillmentItemResponse](types.HttpTypes.AdminFulfillmentItemResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"labels","type":"[AdminFulfillmentLabelResponse](types.HttpTypes.AdminFulfillmentLabelResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_number","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="AdminFulfillmentResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentSetResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentSetResponse.mdx new file mode 100644 index 0000000000000..2f94c0997b98f --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentSetResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminFulfillmentSetResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneResponse](types.HttpTypes.ServiceZoneResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[AdminGeoZoneResponse](types.HttpTypes.AdminGeoZoneResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="AdminFulfillmentSetResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentSetsDeleteResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentSetsDeleteResponse.mdx new file mode 100644 index 0000000000000..3036bf86804d4 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentSetsDeleteResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminFulfillmentSetsDeleteResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminGeoZoneResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminGeoZoneResponse.mdx new file mode 100644 index 0000000000000..5d78628670394 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminGeoZoneResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminGeoZoneResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="AdminGeoZoneResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminOrderListResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminOrderListResponse.mdx new file mode 100644 index 0000000000000..53b5a21053da4 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminOrderListResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminOrderListResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[OrderAddress](../../interfaces/types.OrderAddress.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[OrderAddress](../../interfaces/types.OrderAddress.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"transactions","type":"[OrderTransaction](../../interfaces/types.OrderTransaction.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_gift_card_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_gift_card_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_shipping_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_shipping_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_shipping_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_shipping_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_shipping_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_shipping_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="AdminOrderListResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminOrderResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminOrderResponse.mdx new file mode 100644 index 0000000000000..8918887a3cd9a --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminOrderResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminOrderResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[OrderAddress](../../interfaces/types.OrderAddress.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[OrderAddress](../../interfaces/types.OrderAddress.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"transactions","type":"[OrderTransaction](../../interfaces/types.OrderTransaction.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_gift_card_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_gift_card_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_shipping_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_shipping_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_shipping_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_shipping_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_shipping_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_shipping_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="AdminOrderResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminProductCategoryListResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminProductCategoryListResponse.mdx new file mode 100644 index 0000000000000..e604e6ea0f522 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminProductCategoryListResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminProductCategoryListResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminProductCategoryResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminProductCategoryResponse.mdx new file mode 100644 index 0000000000000..3f216979f4776 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminProductCategoryResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminProductCategoryResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminPromotionRuleListResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminPromotionRuleListResponse.mdx new file mode 100644 index 0000000000000..a65955e94ed75 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminPromotionRuleListResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminPromotionRuleListResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminReservationListResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminReservationListResponse.mdx new file mode 100644 index 0000000000000..7b24195ef1137 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminReservationListResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminReservationListResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="AdminReservationListResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminReservationResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminReservationResponse.mdx new file mode 100644 index 0000000000000..4d8ee64da21e7 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminReservationResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminReservationResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="AdminReservationResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminRuleAttributeOptionsListResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminRuleAttributeOptionsListResponse.mdx new file mode 100644 index 0000000000000..e77cfde22478f --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminRuleAttributeOptionsListResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminRuleAttributeOptionsListResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminRuleOperatorOptionsListResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminRuleOperatorOptionsListResponse.mdx new file mode 100644 index 0000000000000..791b7aea22ae4 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminRuleOperatorOptionsListResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminRuleOperatorOptionsListResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminSalesChannelListResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminSalesChannelListResponse.mdx new file mode 100644 index 0000000000000..560eaef22aeb7 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminSalesChannelListResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminSalesChannelListResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="AdminSalesChannelListResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminSalesChannelResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminSalesChannelResponse.mdx new file mode 100644 index 0000000000000..6034903ca35b7 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminSalesChannelResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminSalesChannelResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="AdminSalesChannelResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminServiceZoneDeleteResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminServiceZoneDeleteResponse.mdx new file mode 100644 index 0000000000000..77928edc2ad3f --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminServiceZoneDeleteResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminServiceZoneDeleteResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneResponse](types.HttpTypes.ServiceZoneResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[AdminGeoZoneResponse](types.HttpTypes.AdminGeoZoneResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="AdminServiceZoneDeleteResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminServiceZoneResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminServiceZoneResponse.mdx new file mode 100644 index 0000000000000..b4032523548c4 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminServiceZoneResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminServiceZoneResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[AdminGeoZoneResponse](types.HttpTypes.AdminGeoZoneResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[GeoZoneType](../../FulfillmentTypes/types/types.FulfillmentTypes.GeoZoneType.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="AdminServiceZoneResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionDeleteResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionDeleteResponse.mdx new file mode 100644 index 0000000000000..2f4e79c3b6b50 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionDeleteResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminShippingOptionDeleteResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionListResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionListResponse.mdx new file mode 100644 index 0000000000000..0e3d848d91cc3 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionListResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminShippingOptionListResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[AdminServiceZoneResponse](types.HttpTypes.AdminServiceZoneResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"service_zone","type":"[ServiceZoneResponse](types.HttpTypes.ServiceZoneResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[AdminShippingProfileResponse](types.HttpTypes.AdminShippingProfileResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"shipping_profile","type":"[ShippingProfileResponse](types.HttpTypes.ShippingProfileResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"provider","type":"[AdminFulfillmentProviderResponse](types.HttpTypes.AdminFulfillmentProviderResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[AdminShippingOptionTypeResponse](types.HttpTypes.AdminShippingOptionTypeResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[AdminShippingOptionRuleResponse](types.HttpTypes.AdminShippingOptionRuleResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"prices","type":"`AdminPriceSetPriceResponse`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="AdminShippingOptionListResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionRetrieveResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionRetrieveResponse.mdx new file mode 100644 index 0000000000000..14ebd422745c1 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionRetrieveResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminShippingOptionRetrieveResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[AdminServiceZoneResponse](types.HttpTypes.AdminServiceZoneResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"service_zone","type":"[ServiceZoneResponse](types.HttpTypes.ServiceZoneResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_profile","type":"[AdminShippingProfileResponse](types.HttpTypes.AdminShippingProfileResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"shipping_profile","type":"[ShippingProfileResponse](types.HttpTypes.ShippingProfileResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"provider","type":"[AdminFulfillmentProviderResponse](types.HttpTypes.AdminFulfillmentProviderResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[AdminShippingOptionTypeResponse](types.HttpTypes.AdminShippingOptionTypeResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[AdminShippingOptionRuleResponse](types.HttpTypes.AdminShippingOptionRuleResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"prices","type":"`AdminPriceSetPriceResponse`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="AdminShippingOptionRetrieveResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionRuleResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionRuleResponse.mdx new file mode 100644 index 0000000000000..4456bdda17426 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionRuleResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminShippingOptionRuleResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionTypeResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionTypeResponse.mdx new file mode 100644 index 0000000000000..c36abd5153e1b --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionTypeResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminShippingOptionTypeResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingProfileDeleteResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingProfileDeleteResponse.mdx new file mode 100644 index 0000000000000..b439802ee538c --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingProfileDeleteResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminShippingProfileDeleteResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingProfileResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingProfileResponse.mdx new file mode 100644 index 0000000000000..2d0c5480e23ee --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingProfileResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminShippingProfileResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="AdminShippingProfileResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingProfilesResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingProfilesResponse.mdx new file mode 100644 index 0000000000000..8a0112a245e8b --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminShippingProfilesResponse.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminShippingProfilesResponse + +Fields included in the response if it's paginated. + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="AdminShippingProfilesResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminStockLocationResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminStockLocationResponse.mdx new file mode 100644 index 0000000000000..3936d29ccdc3a --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminStockLocationResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminStockLocationResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address","type":"[AdminStockLocationAddressResponse](../types/types.HttpTypes.AdminStockLocationAddressResponse.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfillment_sets","type":"[AdminFulfillmentSetResponse](types.HttpTypes.AdminFulfillmentSetResponse.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"fulfillment_set","type":"[FulfillmentSetResponse](types.HttpTypes.FulfillmentSetResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneResponse](types.HttpTypes.ServiceZoneResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="AdminStockLocationResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminTaxRateListResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminTaxRateListResponse.mdx new file mode 100644 index 0000000000000..6230068b8802d --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminTaxRateListResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminTaxRateListResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`null` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rates","type":"[TaxRateResponse](types.HttpTypes.TaxRateResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"`object`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"reference","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="AdminTaxRateListResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminTaxRateResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminTaxRateResponse.mdx new file mode 100644 index 0000000000000..bbed359ef09a1 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminTaxRateResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminTaxRateResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`null` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rates","type":"[TaxRateResponse](types.HttpTypes.TaxRateResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"`object`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"reference","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="AdminTaxRateResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminTaxRegionListResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminTaxRegionListResponse.mdx new file mode 100644 index 0000000000000..57b96c6173136 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminTaxRegionListResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminTaxRegionListResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rates","type":"[TaxRateResponse](types.HttpTypes.TaxRateResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`null` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"`object`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"parent","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`null` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rates","type":"[TaxRateResponse](types.HttpTypes.TaxRateResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="AdminTaxRegionListResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminTaxRegionResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminTaxRegionResponse.mdx new file mode 100644 index 0000000000000..e94082ff0882b --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.AdminTaxRegionResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminTaxRegionResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rates","type":"[TaxRateResponse](types.HttpTypes.TaxRateResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`null` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"`object`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"parent","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`null` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rates","type":"[TaxRateResponse](types.HttpTypes.TaxRateResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="AdminTaxRegionResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.CampaignResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.CampaignResponse.mdx new file mode 100644 index 0000000000000..145722a3eb414 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.CampaignResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CampaignResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.CustomerAddressResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.CustomerAddressResponse.mdx new file mode 100644 index 0000000000000..3acbf91029633 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.CustomerAddressResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CustomerAddressResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CustomerAddressResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.CustomerGroupResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.CustomerGroupResponse.mdx new file mode 100644 index 0000000000000..575c07e9a1891 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.CustomerGroupResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CustomerGroupResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"[CustomerGroupResponse](types.HttpTypes.CustomerGroupResponse.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customers","type":"[CustomerResponse](../../interfaces/types.CustomerResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CustomerGroupResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.FulfillmentSetResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.FulfillmentSetResponse.mdx new file mode 100644 index 0000000000000..2e3f4675420aa --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.FulfillmentSetResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# FulfillmentSetResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zones","type":"[ServiceZoneResponse](types.HttpTypes.ServiceZoneResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[AdminGeoZoneResponse](types.HttpTypes.AdminGeoZoneResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[GeoZoneType](../../FulfillmentTypes/types/types.FulfillmentTypes.GeoZoneType.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FulfillmentSetResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.OrderResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.OrderResponse.mdx new file mode 100644 index 0000000000000..efadcc27988f9 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.OrderResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[OrderAddress](../../interfaces/types.OrderAddress.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[OrderAddress](../../interfaces/types.OrderAddress.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"transactions","type":"[OrderTransaction](../../interfaces/types.OrderTransaction.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"raw_original_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_gift_card_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_gift_card_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_shipping_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_shipping_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_shipping_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_shipping_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_shipping_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_shipping_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="OrderResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.PromotionRuleResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.PromotionRuleResponse.mdx new file mode 100644 index 0000000000000..fe44cbdf7db75 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.PromotionRuleResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# PromotionRuleResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.RuleAttributeOptionsResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.RuleAttributeOptionsResponse.mdx new file mode 100644 index 0000000000000..ad9db09855e21 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.RuleAttributeOptionsResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# RuleAttributeOptionsResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.RuleOperatorOptionsResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.RuleOperatorOptionsResponse.mdx new file mode 100644 index 0000000000000..755b5b30058d4 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.RuleOperatorOptionsResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# RuleOperatorOptionsResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.ServiceZoneResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.ServiceZoneResponse.mdx new file mode 100644 index 0000000000000..262ef20dd0cf6 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.ServiceZoneResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# ServiceZoneResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[AdminGeoZoneResponse](types.HttpTypes.AdminGeoZoneResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"[GeoZoneType](../../FulfillmentTypes/types/types.FulfillmentTypes.GeoZoneType.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_expression","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ServiceZoneResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.ShippingProfileResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.ShippingProfileResponse.mdx new file mode 100644 index 0000000000000..e70487d6fc46d --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.ShippingProfileResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# ShippingProfileResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ShippingProfileResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.StoreProductCategoryListResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.StoreProductCategoryListResponse.mdx new file mode 100644 index 0000000000000..de292dc87c411 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.StoreProductCategoryListResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# StoreProductCategoryListResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.StoreProductCategoryResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.StoreProductCategoryResponse.mdx new file mode 100644 index 0000000000000..bb4f6ed641067 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.StoreProductCategoryResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# StoreProductCategoryResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.TaxRateResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.TaxRateResponse.mdx new file mode 100644 index 0000000000000..3c69aeb3d9713 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.TaxRateResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# TaxRateResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`null` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rates","type":"[TaxRateResponse](types.HttpTypes.TaxRateResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`null` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"`object`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"parent","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`null` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rates","type":"[TaxRateResponse](types.HttpTypes.TaxRateResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"rules","type":"`object`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"reference","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="TaxRateResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.TaxRegionResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.TaxRegionResponse.mdx new file mode 100644 index 0000000000000..0bdc5cc6b1e6b --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/interfaces/types.HttpTypes.TaxRegionResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# TaxRegionResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rates","type":"[TaxRateResponse](types.HttpTypes.TaxRateResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`null` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`null` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rates","type":"[TaxRateResponse](types.HttpTypes.TaxRateResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"`object`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"reference","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"parent","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`null` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rates","type":"[TaxRateResponse](types.HttpTypes.TaxRateResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`null` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"`object`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"parent","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`null` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rates","type":"[TaxRateResponse](types.HttpTypes.TaxRateResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parent","type":"[TaxRegionResponse](types.HttpTypes.TaxRegionResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="TaxRegionResponse"/> diff --git a/www/apps/docs/content/references/types/HttpTypes/types/types.HttpTypes.AdminStockLocationAddressResponse.mdx b/www/apps/docs/content/references/types/HttpTypes/types/types.HttpTypes.AdminStockLocationAddressResponse.mdx new file mode 100644 index 0000000000000..f4e470fd1fbd7 --- /dev/null +++ b/www/apps/docs/content/references/types/HttpTypes/types/types.HttpTypes.AdminStockLocationAddressResponse.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminStockLocationAddressResponse + + **AdminStockLocationAddressResponse**: `Object` + +## Properties + +` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="AdminStockLocationAddressResponse"/> diff --git a/www/apps/docs/content/references/types/ModulesSdkTypes/interfaces/types.ModulesSdkTypes.InternalModuleService.mdx b/www/apps/docs/content/references/types/ModulesSdkTypes/interfaces/types.ModulesSdkTypes.InternalModuleService.mdx index 412af8073e86d..f7d98488ad5e0 100644 --- a/www/apps/docs/content/references/types/ModulesSdkTypes/interfaces/types.ModulesSdkTypes.InternalModuleService.mdx +++ b/www/apps/docs/content/references/types/ModulesSdkTypes/interfaces/types.ModulesSdkTypes.InternalModuleService.mdx @@ -24,7 +24,7 @@ ___ #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieve"/> #### Returns @@ -34,7 +34,7 @@ ___ #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieve"/> #### Returns @@ -44,7 +44,7 @@ ___ #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> #### Returns @@ -54,7 +54,7 @@ ___ #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> #### Returns @@ -66,7 +66,7 @@ ___ #### Parameters - + #### Returns @@ -76,7 +76,7 @@ ___ #### Parameters - + #### Returns @@ -88,7 +88,7 @@ ___ #### Parameters - + #### Returns @@ -98,7 +98,7 @@ ___ #### Parameters - + #### Returns @@ -108,7 +108,7 @@ ___ #### Parameters - + #### Returns @@ -118,7 +118,7 @@ ___ #### Parameters - + #### Returns @@ -130,7 +130,7 @@ ___ #### Parameters - + #### Returns @@ -140,7 +140,7 @@ ___ #### Parameters - + #### Returns @@ -150,7 +150,7 @@ ___ #### Parameters - + #### Returns @@ -160,7 +160,7 @@ ___ #### Parameters - + #### Returns @@ -170,7 +170,7 @@ ___ #### Parameters - + #### Returns @@ -180,7 +180,7 @@ ___ #### Parameters - + #### Returns @@ -190,7 +190,7 @@ ___ #### Parameters - + #### Returns @@ -202,7 +202,7 @@ ___ #### Parameters - + #### Returns @@ -212,8 +212,18 @@ ___ #### Parameters - + #### Returns + +### upsertWithReplace + +#### Parameters + + + +#### Returns + + diff --git a/www/apps/docs/content/references/types/ModulesSdkTypes/interfaces/types.ModulesSdkTypes.ModuleServiceInitializeOptions.mdx b/www/apps/docs/content/references/types/ModulesSdkTypes/interfaces/types.ModulesSdkTypes.ModuleServiceInitializeOptions.mdx index beedaa419a6d3..86752735f4c1a 100644 --- a/www/apps/docs/content/references/types/ModulesSdkTypes/interfaces/types.ModulesSdkTypes.ModuleServiceInitializeOptions.mdx +++ b/www/apps/docs/content/references/types/ModulesSdkTypes/interfaces/types.ModulesSdkTypes.ModuleServiceInitializeOptions.mdx @@ -4,4 +4,4 @@ import TypeList from "@site/src/components/TypeList" ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"debug","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"pool","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"database.connection","type":"`any`","description":"Forces to use a shared knex connection","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database.clientUrl","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database.schema","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database.host","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database.port","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database.user","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database.password","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database.database","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database.driverOptions","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database.debug","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database.pool","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ModuleServiceInitializeOptions"/> +` & `object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"connection","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"debug","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"pool","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"database.connection","type":"`any`","description":"Forces to use a shared knex connection","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database.clientUrl","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database.schema","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database.host","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database.port","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database.user","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database.password","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database.database","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database.driverOptions","type":"`Record` & `object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"connection","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"database.debug","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"database.pool","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ModuleServiceInitializeOptions"/> diff --git a/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.InternalModuleDeclaration.mdx b/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.InternalModuleDeclaration.mdx index b34762ca9af6d..9fd82f786073d 100644 --- a/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.InternalModuleDeclaration.mdx +++ b/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.InternalModuleDeclaration.mdx @@ -6,4 +6,4 @@ import TypeList from "@site/src/components/TypeList" ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"alias","type":"`string`","description":"If multiple modules are registered with the same key, the alias can be used to differentiate them","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"main","type":"`boolean`","description":"If the module is the main module for the key when multiple ones are registered","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="InternalModuleDeclaration"/> +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"alias","type":"`string`","description":"If multiple modules are registered with the same key, the alias can be used to differentiate them","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"main","type":"`boolean`","description":"If the module is the main module for the key when multiple ones are registered","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"worker_mode","type":"`\"shared\"` \\| `\"worker\"` \\| `\"server\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="InternalModuleDeclaration"/> diff --git a/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.LinkModuleDefinition.mdx b/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.LinkModuleDefinition.mdx index c4f475d41ab93..2e5cae3a0e88f 100644 --- a/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.LinkModuleDefinition.mdx +++ b/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.LinkModuleDefinition.mdx @@ -6,4 +6,4 @@ import TypeList from "@site/src/components/TypeList" ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"alias","type":"`string`","description":"If multiple modules are registered with the same key, the alias can be used to differentiate them","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"main","type":"`boolean`","description":"If the module is the main module for the key when multiple ones are registered","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"dependencies","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="LinkModuleDefinition"/> +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"alias","type":"`string`","description":"If multiple modules are registered with the same key, the alias can be used to differentiate them","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"main","type":"`boolean`","description":"If the module is the main module for the key when multiple ones are registered","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"worker_mode","type":"`\"shared\"` \\| `\"worker\"` \\| `\"server\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"dependencies","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="LinkModuleDefinition"/> diff --git a/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.LoaderOptions.mdx b/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.LoaderOptions.mdx index a73ecece281f9..501abda07ce04 100644 --- a/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.LoaderOptions.mdx +++ b/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.LoaderOptions.mdx @@ -10,4 +10,4 @@ import TypeList from "@site/src/components/TypeList" ## Properties - `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shouldLog","type":"(`level`: `string`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"setLogLevel","type":"(`level`: `string`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unsetLogLevel","type":"() => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"activity","type":"(`message`: `string`, `config?`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"progress","type":"(`activityId`: `any`, `message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"error","type":"(`messageOrError`: `any`, `error?`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"failure","type":"(`activityId`: `any`, `message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"success","type":"(`activityId`: `any`, `message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"debug","type":"(`message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"info","type":"(`message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"warn","type":"(`message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"log","type":"(...`args`: `any`[]) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="LoaderOptions"/> + `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shouldLog","type":"(`level`: `string`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"setLogLevel","type":"(`level`: `string`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unsetLogLevel","type":"() => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"activity","type":"(`message`: `string`, `config?`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"progress","type":"(`activityId`: `any`, `message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"error","type":"(`messageOrError`: `any`, `error?`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"failure","type":"(`activityId`: `any`, `message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"success","type":"(`activityId`: `any`, `message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"debug","type":"(`message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"info","type":"(`message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"warn","type":"(`message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"log","type":"(...`args`: `any`[]) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"dataLoaderOnly","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="LoaderOptions"/> diff --git a/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.ModuleLoaderFunction.mdx b/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.ModuleLoaderFunction.mdx index 9d5719da2b653..cf5d25b03ba6a 100644 --- a/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.ModuleLoaderFunction.mdx +++ b/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.ModuleLoaderFunction.mdx @@ -8,7 +8,7 @@ import TypeList from "@site/src/components/TypeList" ### Parameters - `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shouldLog","type":"(`level`: `string`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"setLogLevel","type":"(`level`: `string`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unsetLogLevel","type":"() => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"activity","type":"(`message`: `string`, `config?`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"progress","type":"(`activityId`: `any`, `message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"error","type":"(`messageOrError`: `any`, `error?`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"failure","type":"(`activityId`: `any`, `message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"success","type":"(`activityId`: `any`, `message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"debug","type":"(`message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"info","type":"(`message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"warn","type":"(`message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"log","type":"(...`args`: `any`[]) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"moduleDeclaration","type":"[InternalModuleDeclaration](types.ModulesSdkTypes.InternalModuleDeclaration.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"scope","type":"[INTERNAL](../enums/types.ModulesSdkTypes.MODULE_SCOPE.mdx#internal)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"resources","type":"[MODULE_RESOURCE_TYPE](../enums/types.ModulesSdkTypes.MODULE_RESOURCE_TYPE.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"SHARED","type":"`\"shared\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ISOLATED","type":"`\"isolated\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"dependencies","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"definition","type":"Partial<[ModuleDefinition](types.ModulesSdkTypes.ModuleDefinition.mdx)>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"key","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"registrationName","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"defaultPackage","type":"`string` \\| `false`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"defaultModuleDeclaration","type":"[InternalModuleDeclaration](types.ModulesSdkTypes.InternalModuleDeclaration.mdx) \\| [ExternalModuleDeclaration](types.ModulesSdkTypes.ExternalModuleDeclaration.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"isRequired","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isQueryable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isLegacy","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"dependencies","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"resolve","type":"`string` \\| [ModuleExports](types.ModulesSdkTypes.ModuleExports.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"alias","type":"`string`","description":"If multiple modules are registered with the same key, the alias can be used to differentiate them","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"main","type":"`boolean`","description":"If the module is the main module for the key when multiple ones are registered","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="__type"/> + `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shouldLog","type":"(`level`: `string`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"setLogLevel","type":"(`level`: `string`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unsetLogLevel","type":"() => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"activity","type":"(`message`: `string`, `config?`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"progress","type":"(`activityId`: `any`, `message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"error","type":"(`messageOrError`: `any`, `error?`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"failure","type":"(`activityId`: `any`, `message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"success","type":"(`activityId`: `any`, `message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"debug","type":"(`message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"info","type":"(`message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"warn","type":"(`message`: `any`) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"log","type":"(...`args`: `any`[]) => `void`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"dataLoaderOnly","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"moduleDeclaration","type":"[InternalModuleDeclaration](types.ModulesSdkTypes.InternalModuleDeclaration.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"scope","type":"[INTERNAL](../enums/types.ModulesSdkTypes.MODULE_SCOPE.mdx#internal)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"resources","type":"[MODULE_RESOURCE_TYPE](../enums/types.ModulesSdkTypes.MODULE_RESOURCE_TYPE.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"SHARED","type":"`\"shared\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ISOLATED","type":"`\"isolated\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"dependencies","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"definition","type":"Partial<[ModuleDefinition](types.ModulesSdkTypes.ModuleDefinition.mdx)>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"key","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"registrationName","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"defaultPackage","type":"`string` \\| `false`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"defaultModuleDeclaration","type":"[InternalModuleDeclaration](types.ModulesSdkTypes.InternalModuleDeclaration.mdx) \\| [ExternalModuleDeclaration](types.ModulesSdkTypes.ExternalModuleDeclaration.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"isRequired","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isQueryable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isLegacy","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"dependencies","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"resolve","type":"`string` \\| [ModuleExports](types.ModulesSdkTypes.ModuleExports.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"alias","type":"`string`","description":"If multiple modules are registered with the same key, the alias can be used to differentiate them","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"main","type":"`boolean`","description":"If the module is the main module for the key when multiple ones are registered","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"worker_mode","type":"`\"shared\"` \\| `\"worker\"` \\| `\"server\"`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="__type"/> ### Returns diff --git a/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.RemoteQueryFunction.mdx b/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.RemoteQueryFunction.mdx index 2c831cd53fbc2..ff2c4fa2dd39a 100644 --- a/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.RemoteQueryFunction.mdx +++ b/www/apps/docs/content/references/types/ModulesSdkTypes/types/types.ModulesSdkTypes.RemoteQueryFunction.mdx @@ -2,13 +2,13 @@ import TypeList from "@site/src/components/TypeList" # RemoteQueryFunction - **RemoteQueryFunction**: (`query`: `string` \| [RemoteJoinerQuery](../../interfaces/types.RemoteJoinerQuery.mdx) \| `object`, `variables?`: `Record`) => Promise<any> \| `null` + **RemoteQueryFunction**: (`query`: `string` \| [RemoteJoinerQuery](../../interfaces/types.RemoteJoinerQuery.mdx) \| `object`, `variables?`: `Record`, `options?`: [RemoteJoinerOptions](../../interfaces/types.RemoteJoinerOptions.mdx)) => Promise<any> \| `null` ## Type declaration ### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="__type"/> +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"options","type":"[RemoteJoinerOptions](../../interfaces/types.RemoteJoinerOptions.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"throwIfKeyNotFound","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"throwIfRelationNotFound","type":"`boolean` \\| `string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="__type"/> ### Returns diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CancelOrderChangeDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CancelOrderChangeDTO.mdx new file mode 100644 index 0000000000000..4f6e0561edb93 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CancelOrderChangeDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CancelOrderChangeDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CancelOrderChangeDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.ConfirmOrderChangeDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.ConfirmOrderChangeDTO.mdx new file mode 100644 index 0000000000000..795d55e6b01e8 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.ConfirmOrderChangeDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# ConfirmOrderChangeDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ConfirmOrderChangeDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderAddressDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderAddressDTO.mdx new file mode 100644 index 0000000000000..1fb37a8a6f667 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderAddressDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateOrderAddressDTO + +ADDRESS START + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateOrderAddressDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderAdjustmentDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderAdjustmentDTO.mdx new file mode 100644 index 0000000000000..ea04f8ecbfb36 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderAdjustmentDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateOrderAdjustmentDTO + +ADJUSTMENT START + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderChangeActionDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderChangeActionDTO.mdx new file mode 100644 index 0000000000000..9402b5e25c3f3 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderChangeActionDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateOrderChangeActionDTO + +ORDER CHANGE ACTION START + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateOrderChangeActionDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderChangeDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderChangeDTO.mdx new file mode 100644 index 0000000000000..8a9ddf273e0cb --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderChangeDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateOrderChangeDTO + +ORDER CHANGE START + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"actions","type":"[CreateOrderChangeActionDTO](types.OrderTypes.CreateOrderChangeActionDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"action","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_change_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"version","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"internal_note","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"details","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CreateOrderChangeDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderDTO.mdx new file mode 100644 index 0000000000000..fe419da8ee07d --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateOrderDTO + +ORDER START + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"Omit<[CreateOrderShippingMethodDTO](types.OrderTypes.CreateOrderShippingMethodDTO.mdx), \"order_id\">[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"version","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"transactions","type":"Omit<[CreateOrderTransactionDTO](types.OrderTypes.CreateOrderTransactionDTO.mdx), \"order_id\">[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promo_codes","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateOrderDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemAdjustmentDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemAdjustmentDTO.mdx new file mode 100644 index 0000000000000..30adf98ba20ad --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemAdjustmentDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateOrderLineItemAdjustmentDTO + +ADJUSTMENT START + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemDTO.mdx new file mode 100644 index 0000000000000..17eecb2700a75 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateOrderLineItemDTO + +LINE ITEMS START + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateOrderLineItemDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemForOrderDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemForOrderDTO.mdx new file mode 100644 index 0000000000000..66552e4aaa553 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemForOrderDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateOrderLineItemForOrderDTO + +LINE ITEMS START + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateOrderLineItemForOrderDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemTaxLineDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemTaxLineDTO.mdx new file mode 100644 index 0000000000000..f7020e9a36bc6 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemTaxLineDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateOrderLineItemTaxLineDTO + +TAX LINES START + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderReturnDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderReturnDTO.mdx new file mode 100644 index 0000000000000..825a2290dc015 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderReturnDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateOrderReturnDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"internal_note","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateOrderReturnDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderShippingMethodAdjustmentDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderShippingMethodAdjustmentDTO.mdx new file mode 100644 index 0000000000000..850021e23d59c --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderShippingMethodAdjustmentDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateOrderShippingMethodAdjustmentDTO + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderShippingMethodDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderShippingMethodDTO.mdx new file mode 100644 index 0000000000000..2677f4d070c47 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderShippingMethodDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateOrderShippingMethodDTO + +SHIPPING METHODS START + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CreateOrderShippingMethodDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderShippingMethodTaxLineDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderShippingMethodTaxLineDTO.mdx new file mode 100644 index 0000000000000..8464c0096c77b --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderShippingMethodTaxLineDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateOrderShippingMethodTaxLineDTO + +TAX LINES START + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderTaxLineDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderTaxLineDTO.mdx new file mode 100644 index 0000000000000..26babfebf5f25 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderTaxLineDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateOrderTaxLineDTO + +TAX LINES START + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderTransactionDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderTransactionDTO.mdx new file mode 100644 index 0000000000000..57bac84b17f7c --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.CreateOrderTransactionDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateOrderTransactionDTO + +ORDER TRANSACTION START + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateOrderTransactionDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.DeclineOrderChangeDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.DeclineOrderChangeDTO.mdx new file mode 100644 index 0000000000000..b8bde89066e49 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.DeclineOrderChangeDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# DeclineOrderChangeDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="DeclineOrderChangeDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderAddressProps.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderAddressProps.mdx new file mode 100644 index 0000000000000..c508ac01e1dc0 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderAddressProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableOrderAddressProps + +An object used to allow specifying flexible queries with and/or conditions. + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderChangeActionProps.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderChangeActionProps.mdx new file mode 100644 index 0000000000000..6f809776c4ca9 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderChangeActionProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableOrderChangeActionProps + +An object used to allow specifying flexible queries with and/or conditions. + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderChangeProps.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderChangeProps.mdx new file mode 100644 index 0000000000000..b91ed8ad5b65d --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderChangeProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableOrderChangeProps + +An object used to allow specifying flexible queries with and/or conditions. + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderItemProps.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderItemProps.mdx new file mode 100644 index 0000000000000..e33494a70b29e --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderItemProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableOrderItemProps + +An object used to allow specifying flexible queries with and/or conditions. + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderLineItemAdjustmentProps.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderLineItemAdjustmentProps.mdx new file mode 100644 index 0000000000000..28cf5a0ec135c --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderLineItemAdjustmentProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableOrderLineItemAdjustmentProps + +An object used to allow specifying flexible queries with and/or conditions. + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderLineItemProps.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderLineItemProps.mdx new file mode 100644 index 0000000000000..e5fcb6a14c0a8 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderLineItemProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableOrderLineItemProps + +An object used to allow specifying flexible queries with and/or conditions. + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderLineItemTaxLineProps.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderLineItemTaxLineProps.mdx new file mode 100644 index 0000000000000..73a5df15e2854 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderLineItemTaxLineProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableOrderLineItemTaxLineProps + +An object used to allow specifying flexible queries with and/or conditions. + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderProps.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderProps.mdx new file mode 100644 index 0000000000000..c07a71a48f696 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableOrderProps + +An object used to allow specifying flexible queries with and/or conditions. + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderShippingMethodAdjustmentProps.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderShippingMethodAdjustmentProps.mdx new file mode 100644 index 0000000000000..e15d36e5869ad --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderShippingMethodAdjustmentProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableOrderShippingMethodAdjustmentProps + +An object used to allow specifying flexible queries with and/or conditions. + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderShippingMethodProps.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderShippingMethodProps.mdx new file mode 100644 index 0000000000000..d2127bd102f5e --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderShippingMethodProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableOrderShippingMethodProps + +An object used to allow specifying flexible queries with and/or conditions. + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderShippingMethodTaxLineProps.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderShippingMethodTaxLineProps.mdx new file mode 100644 index 0000000000000..b2cc3811b0092 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderShippingMethodTaxLineProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableOrderShippingMethodTaxLineProps + +An object used to allow specifying flexible queries with and/or conditions. + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderTransactionProps.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderTransactionProps.mdx new file mode 100644 index 0000000000000..7c27277582f01 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.FilterableOrderTransactionProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableOrderTransactionProps + +An object used to allow specifying flexible queries with and/or conditions. + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.IOrderModuleService.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.IOrderModuleService.mdx new file mode 100644 index 0000000000000..b80238abd7e77 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.IOrderModuleService.mdx @@ -0,0 +1,1759 @@ +import TypeList from "@site/src/components/TypeList" + +# IOrderModuleService + +{summary} + +## Methods + +### retrieve + +This method retrieves a {return type} by its ID. + +#### Example + +```typescript +const result = await orderModuleService.retrieve("orderId123"); +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieve"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[OrderAddressDTO](types.OrderTypes.OrderAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)[]","description":"The associated order details / line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Indicates whether the order line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Indicates whether the order line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Indicates whether the order line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The unit price of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw unit price of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"detail","type":"[OrderItemDTO](types.OrderTypes.OrderItemDTO.mdx)","description":"The details of the item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subtitle of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The thumbnail of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The ID of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The ID of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`null` \\| `string`","description":"The title of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`null` \\| `string`","description":"The description of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`null` \\| `string`","description":"The subtitle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`null` \\| `string`","description":"The type of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`null` \\| `string`","description":"The collection of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`null` \\| `string`","description":"The handle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`null` \\| `string`","description":"The SKU (stock keeping unit) of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`null` \\| `string`","description":"The barcode of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`null` \\| `string`","description":"The title of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`null` \\| `Record`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLineDTO](types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderShippingMethodAdjustmentDTO](types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"transactions","type":"[OrderTransactionDTO](types.OrderTypes.OrderTransactionDTO.mdx)[]","description":"The tramsactions associated with the order","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[OrderDTO](types.OrderTypes.OrderDTO.mdx)","description":"The associated order","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency code of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"The reference of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"The ID of the reference","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"The metadata of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the transaction was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the transaction was updated","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"summary","type":"[OrderSummaryDTO](../types/types.OrderTypes.OrderSummaryDTO.mdx)","description":"The summary of the order totals.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"ordered_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfilled_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"returned_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_request_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"write_off_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"projected_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_projected_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"balance","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_balance","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the order was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the order was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieve"/> + +### list + +This method retrieves a paginated list of {return type}(s) based on optional filters and configuration. + +#### Example + +```typescript +const orderDTOs = await orderModuleService.list(); +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> + +#### Returns + + + +### listAndCount + +This method retrieves a paginated list of {return type} along with the total count of available {return type}(s) satisfying the provided filters. + +#### Example + +```typescript +await orderModuleService.listAndCount(); +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> + +#### Returns + + + +### create + +`**create**(data, sharedContext?): Promise<[OrderDTO](types.OrderTypes.OrderDTO.mdx)[]>` + +This method creates {return type}(s) + +#### Example + +```typescript +const orderData: CreateOrderDTO[] = [ + { + currency_code: "USD", + items: [ + { + title: "Product Name", + quantity: 1, + unit_price: 1999, // Assuming type is an integer for price in cents + } + ] + } +]; + +const result = await orderModuleService.create(orderData); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"Omit<[CreateOrderShippingMethodDTO](types.OrderTypes.CreateOrderShippingMethodDTO.mdx), \"order_id\">[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"version","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"transactions","type":"Omit<[CreateOrderTransactionDTO](types.OrderTypes.CreateOrderTransactionDTO.mdx), \"order_id\">[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promo_codes","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> + +#### Returns + + + +`**create**(data, sharedContext?): Promise<[OrderDTO](types.OrderTypes.OrderDTO.mdx)>` + +This method creates {return type}(s) + +#### Example + +```typescript +// Example execution of the create method of IOrderModuleService +const orderData: CreateOrderDTO = { + currency_code: "USD" +}; + +const createdOrder = await orderModuleService.create(orderData); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"Omit<[CreateOrderShippingMethodDTO](types.OrderTypes.CreateOrderShippingMethodDTO.mdx), \"order_id\">[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"version","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"transactions","type":"Omit<[CreateOrderTransactionDTO](types.OrderTypes.CreateOrderTransactionDTO.mdx), \"order_id\">[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promo_codes","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[OrderAddressDTO](types.OrderTypes.OrderAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)[]","description":"The associated order details / line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Indicates whether the order line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Indicates whether the order line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Indicates whether the order line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The unit price of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw unit price of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"detail","type":"[OrderItemDTO](types.OrderTypes.OrderItemDTO.mdx)","description":"The details of the item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subtitle of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The thumbnail of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The ID of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The ID of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`null` \\| `string`","description":"The title of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`null` \\| `string`","description":"The description of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`null` \\| `string`","description":"The subtitle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`null` \\| `string`","description":"The type of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`null` \\| `string`","description":"The collection of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`null` \\| `string`","description":"The handle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`null` \\| `string`","description":"The SKU (stock keeping unit) of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`null` \\| `string`","description":"The barcode of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`null` \\| `string`","description":"The title of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`null` \\| `Record`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLineDTO](types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderShippingMethodAdjustmentDTO](types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"transactions","type":"[OrderTransactionDTO](types.OrderTypes.OrderTransactionDTO.mdx)[]","description":"The tramsactions associated with the order","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[OrderDTO](types.OrderTypes.OrderDTO.mdx)","description":"The associated order","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency code of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"The reference of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"The ID of the reference","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"The metadata of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the transaction was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the transaction was updated","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"summary","type":"[OrderSummaryDTO](../types/types.OrderTypes.OrderSummaryDTO.mdx)","description":"The summary of the order totals.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"ordered_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfilled_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"returned_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_request_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"write_off_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"projected_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_projected_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"balance","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_balance","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the order was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the order was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="create"/> + +### update + +`**update**(data): Promise<[OrderDTO](types.OrderTypes.OrderDTO.mdx)[]>` + +This method updates existing {return type}(s). + +#### Example + +```typescript +const updatedOrders = await orderModuleService.update([ + { + id: "order_id_1", + status: "shipped" + }, + { + id: "order_id_2", + status: "delivered" + } +]); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_address","type":"[UpdateOrderAddressDTO](types.OrderTypes.UpdateOrderAddressDTO.mdx) \\| [CreateOrderAddressDTO](types.OrderTypes.CreateOrderAddressDTO.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address","type":"[UpdateOrderAddressDTO](types.OrderTypes.UpdateOrderAddressDTO.mdx) \\| [CreateOrderAddressDTO](types.OrderTypes.CreateOrderAddressDTO.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"no_notification","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> + +#### Returns + + + +`**update**(orderId, data, sharedContext?): Promise<[OrderDTO](types.OrderTypes.OrderDTO.mdx)>` + +This method updates existing {return type}(s). + +#### Example + +```typescript +await orderModuleService.update("orderId123", { + status: "shipped" +}); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_address","type":"[UpdateOrderAddressDTO](types.OrderTypes.UpdateOrderAddressDTO.mdx) \\| [CreateOrderAddressDTO](types.OrderTypes.CreateOrderAddressDTO.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address","type":"[UpdateOrderAddressDTO](types.OrderTypes.UpdateOrderAddressDTO.mdx) \\| [CreateOrderAddressDTO](types.OrderTypes.CreateOrderAddressDTO.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"no_notification","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[OrderAddressDTO](types.OrderTypes.OrderAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)[]","description":"The associated order details / line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Indicates whether the order line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Indicates whether the order line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Indicates whether the order line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The unit price of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw unit price of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"detail","type":"[OrderItemDTO](types.OrderTypes.OrderItemDTO.mdx)","description":"The details of the item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subtitle of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The thumbnail of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The ID of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The ID of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`null` \\| `string`","description":"The title of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`null` \\| `string`","description":"The description of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`null` \\| `string`","description":"The subtitle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`null` \\| `string`","description":"The type of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`null` \\| `string`","description":"The collection of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`null` \\| `string`","description":"The handle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`null` \\| `string`","description":"The SKU (stock keeping unit) of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`null` \\| `string`","description":"The barcode of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`null` \\| `string`","description":"The title of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`null` \\| `Record`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLineDTO](types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderShippingMethodAdjustmentDTO](types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"transactions","type":"[OrderTransactionDTO](types.OrderTypes.OrderTransactionDTO.mdx)[]","description":"The tramsactions associated with the order","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[OrderDTO](types.OrderTypes.OrderDTO.mdx)","description":"The associated order","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency code of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"The reference of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"The ID of the reference","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"The metadata of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the transaction was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the transaction was updated","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"summary","type":"[OrderSummaryDTO](../types/types.OrderTypes.OrderSummaryDTO.mdx)","description":"The summary of the order totals.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"ordered_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfilled_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"returned_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_request_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"write_off_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"projected_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_projected_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"balance","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_balance","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the order was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the order was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="update"/> + +`**update**(selector, data, sharedContext?): Promise<[OrderDTO](types.OrderTypes.OrderDTO.mdx)[]>` + +This method updates existing {return type}(s). + +#### Example + +```typescript +await orderModuleService.update( + { id: "order-123" }, + { status: "completed" } +); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_address","type":"[UpdateOrderAddressDTO](types.OrderTypes.UpdateOrderAddressDTO.mdx) \\| [CreateOrderAddressDTO](types.OrderTypes.CreateOrderAddressDTO.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address","type":"[UpdateOrderAddressDTO](types.OrderTypes.UpdateOrderAddressDTO.mdx) \\| [CreateOrderAddressDTO](types.OrderTypes.CreateOrderAddressDTO.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"no_notification","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> + +#### Returns + + + +### delete + +`**delete**(orderIds, sharedContext?): Promise<void>` + +This method deletes {return type} by its ID. + +#### Example + +```typescript +await orderModuleService.delete(["12345abc", "67890def"]); +``` + +#### Parameters + + + +#### Returns + + + +`**delete**(orderId, sharedContext?): Promise<void>` + +This method deletes {return type} by its ID. + +#### Example + +```typescript +await orderModuleService.delete("orderId"); +``` + +#### Parameters + + + +#### Returns + + + +### softDelete + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDelete"/> + +### restore + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restore"/> + +### listAddresses + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAddresses"/> + +#### Returns + + + +### createAddresses + +`**createAddresses**(data, sharedContext?): Promise<[OrderAddressDTO](types.OrderTypes.OrderAddressDTO.mdx)[]>` + +This method creates {return type}(s) + +#### Example + +```typescript +await orderModuleService.createAddresses([ + { + first_name: "John", + last_name: "Doe", + address_1: "123 Main St", + city: "Anytown", + country_code: "US", + province: "AnyState", + postal_code: "12345" + } +]); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createAddresses"/> + +#### Returns + + + +`**createAddresses**(data, sharedContext?): Promise<[OrderAddressDTO](types.OrderTypes.OrderAddressDTO.mdx)>` + +This method creates {return type}(s) + +#### Example + +```typescript +const orderAddressData: CreateOrderAddressDTO = { + orderId: '123', + line1: '123 Main St', + city: 'Metropolis', + state: 'NY', + postalCode: '12345', + country: 'USA' +}; + +const result = await orderModuleService.createAddresses(orderAddressData); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createAddresses"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createAddresses"/> + +### updateAddresses + +`**updateAddresses**(data, sharedContext?): Promise<[OrderAddressDTO](types.OrderTypes.OrderAddressDTO.mdx)[]>` + +This method updates existing {return type}(s). + +#### Example + +```typescript +const updatedAddress: UpdateOrderAddressDTO[] = [ + { + id: "address1", + first_name: "John", + last_name: "Doe", + address_1: "123 Main St", + city: "Anytown", + country_code: "US", + province: "AnyState", + postal_code: "12345" + } +]; + +const result = await orderModuleService.updateAddresses(updatedAddress); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateAddresses"/> + +#### Returns + + + +`**updateAddresses**(data, sharedContext?): Promise<[OrderAddressDTO](types.OrderTypes.OrderAddressDTO.mdx)>` + +This method updates existing {return type}(s). + +#### Example + +```typescript +const updateOrderAddressData: UpdateOrderAddressDTO = { + id: '123', + address_1: '123 Main St', + city: 'Metropolis', + province: 'NY', + postal_code: '12345', +}; + +const updatedAddress = await orderModuleService.updateAddresses(updateOrderAddressData); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateAddresses"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateAddresses"/> + +### deleteAddresses + +`**deleteAddresses**(ids, sharedContext?): Promise<void>` + +This method deletes {return type} by its ID. + +#### Example + +```typescript +await orderModuleService.deleteAddresses(["your_address_id_1", "your_address_id_2"]); +``` + +#### Parameters + + + +#### Returns + + + +`**deleteAddresses**(ids, sharedContext?): Promise<void>` + +This method deletes {return type} by its ID. + +#### Example + +```typescript +await orderModuleService.deleteAddresses("123456"); +``` + +#### Parameters + + + +#### Returns + + + +### retrieveLineItem + +This method retrieves a {return type} by its ID. + +#### Example + +```typescript +await orderModuleService.retrieveLineItem("12345"); +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveLineItem"/> + +#### Returns + +`","description":"The metadata of the order detail","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subtitle of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The thumbnail of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The ID of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The ID of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`null` \\| `string`","description":"The title of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`null` \\| `string`","description":"The description of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`null` \\| `string`","description":"The subtitle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`null` \\| `string`","description":"The type of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`null` \\| `string`","description":"The collection of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`null` \\| `string`","description":"The handle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`null` \\| `string`","description":"The SKU (stock keeping unit) of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`null` \\| `string`","description":"The barcode of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`null` \\| `string`","description":"The title of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`null` \\| `Record`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveLineItem"/> + +### listLineItems + +This method retrieves a paginated list of {return type}(s) based on optional filters and configuration. + +#### Example + +```typescript +const result = await orderModuleService.listLineItems({ + title: "Sample Product Title", +}); +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listLineItems"/> + +#### Returns + + + +### createLineItems + +`**createLineItems**(data): Promise<[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)[]>` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createLineItems"/> + +#### Returns + + + +`**createLineItems**(data): Promise<[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)[]>` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createLineItems"/> + +#### Returns + + + +`**createLineItems**(orderId, items, sharedContext?): Promise<[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)[]>` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createLineItems"/> + +#### Returns + + + +### updateLineItems + +`**updateLineItems**(data): Promise<[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)[]>` + +This method updates existing {return type}(s). + +#### Example + +```typescript +const updateOrderLineItems: UpdateOrderLineItemWithSelectorDTO[] = [ + { + selector: { + id: "line-item-id-1" + }, + data: { + id: "line-item-id-1", + quantity: 2, + unit_price: 1999 + } + } +]; + +const updatedLineItems = await orderModuleService.updateLineItems(updateOrderLineItems); +``` + +#### Parameters + +`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"data","type":"Partial<[UpdateOrderLineItemDTO](types.OrderTypes.UpdateOrderLineItemDTO.mdx)>","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[] \\| [UpdateOrderTaxLineDTO](types.OrderTypes.UpdateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[] \\| [UpdateOrderAdjustmentDTO](types.OrderTypes.UpdateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateLineItems"/> + +#### Returns + + + +`**updateLineItems**(selector, data, sharedContext?): Promise<[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)[]>` + +This method updates existing {return type}(s). + +#### Example + +```typescript +const result = await orderModuleService.updateLineItems( + { id: "line-item-id-1" }, + { quantity: 10 } +); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[] \\| [UpdateOrderTaxLineDTO](types.OrderTypes.UpdateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[] \\| [UpdateOrderAdjustmentDTO](types.OrderTypes.UpdateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateLineItems"/> + +#### Returns + + + +`**updateLineItems**(lineId, data, sharedContext?): Promise<[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)>` + +This method updates existing {return type}(s). + +#### Example + +```typescript +const result = await orderModuleService.updateLineItems( + "lineIdExample", + { + quantity: 10, + } +); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[] \\| [UpdateOrderTaxLineDTO](types.OrderTypes.UpdateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[] \\| [UpdateOrderAdjustmentDTO](types.OrderTypes.UpdateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateLineItems"/> + +#### Returns + +`","description":"The metadata of the order detail","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subtitle of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The thumbnail of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The ID of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The ID of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`null` \\| `string`","description":"The title of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`null` \\| `string`","description":"The description of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`null` \\| `string`","description":"The subtitle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`null` \\| `string`","description":"The type of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`null` \\| `string`","description":"The collection of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`null` \\| `string`","description":"The handle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`null` \\| `string`","description":"The SKU (stock keeping unit) of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`null` \\| `string`","description":"The barcode of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`null` \\| `string`","description":"The title of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`null` \\| `Record`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateLineItems"/> + +### deleteLineItems + +`**deleteLineItems**(itemIds, sharedContext?): Promise<void>` + +#### Parameters + + + +#### Returns + + + +`**deleteLineItems**(itemIds, sharedContext?): Promise<void>` + +#### Parameters + + + +#### Returns + + + +`**deleteLineItems**(selector, sharedContext?): Promise<void>` + +#### Parameters + + + +#### Returns + + + +### updateOrderItem + +`**updateOrderItem**(selector, data, sharedContext?): Promise<[OrderItemDTO](types.OrderTypes.OrderItemDTO.mdx)[]>` + +This method updates existing {return type}(s). + +#### Example + +```typescript +await orderModuleService.updateOrderItem( + { id: "item123" }, + { quantity: "2" } +); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateOrderItem"/> + +#### Returns + + + +`**updateOrderItem**(orderDetailId, data, sharedContext?): Promise<[OrderItemDTO](types.OrderTypes.OrderItemDTO.mdx)>` + +This method updates existing {return type}(s). + +#### Example + +```typescript +await orderModuleService.updateOrderItem( + 'orderDetailId123', + { + item_id: 'item123', + quantity: 2 + } +); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateOrderItem"/> + +#### Returns + +`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"quantity","type":"`number`","description":"The quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfilled_quantity","type":"`number`","description":"The fulfilled quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_fulfilled_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw fulfilled quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipped_quantity","type":"`number`","description":"The shipped quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipped_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipped quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"return_requested_quantity","type":"`number`","description":"The quantity of return requested for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_requested_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of return requested for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"return_received_quantity","type":"`number`","description":"The quantity of return received for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_received_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of return received for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"return_dismissed_quantity","type":"`number`","description":"The quantity of return dismissed for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_dismissed_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of return dismissed for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"written_off_quantity","type":"`number`","description":"The quantity of written off for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_written_off_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of written off for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"The metadata of the order detail","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateOrderItem"/> + +`**updateOrderItem**(orderDetailIdOrDataOrSelector, data?, sharedContext?): Promise<[OrderItemDTO](types.OrderTypes.OrderItemDTO.mdx) \| [OrderItemDTO](types.OrderTypes.OrderItemDTO.mdx)[]>` + +This method updates existing {return type}(s). + +#### Example + +```typescript +await orderModuleService.updateOrderItem( + "order-detail-id", + { + quantity: 2, + item_id: 'item123', + } +); +``` + +#### Parameters + + + +#### Returns + + + +### listShippingMethods + +This method retrieves a paginated list of {return type}(s) based on optional filters and configuration. + +#### Example + +```typescript +await orderModuleService.listShippingMethods( + { order_id: "order_123" }, + { limit: 10, offset: 0 } +); +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listShippingMethods"/> + +#### Returns + + + +### createShippingMethods + +`**createShippingMethods**(data): Promise<[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)>` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createShippingMethods"/> + +#### Returns + +`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLineDTO](types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderShippingMethodAdjustmentDTO](types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="createShippingMethods"/> + +`**createShippingMethods**(data): Promise<[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)[]>` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createShippingMethods"/> + +#### Returns + + + +`**createShippingMethods**(orderId, methods, sharedContext?): Promise<[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)[]>` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createShippingMethods"/> + +#### Returns + + + +### deleteShippingMethods + +`**deleteShippingMethods**(methodIds, sharedContext?): Promise<void>` + +#### Parameters + + + +#### Returns + + + +`**deleteShippingMethods**(methodIds, sharedContext?): Promise<void>` + +#### Parameters + + + +#### Returns + + + +`**deleteShippingMethods**(selector, sharedContext?): Promise<void>` + +#### Parameters + + + +#### Returns + + + +### listLineItemAdjustments + +This method retrieves a paginated list of {return type}(s) based on optional filters and configuration. + +#### Example + +```typescript +const orderLineItemAdjustments = await orderModuleService.listLineItemAdjustments({ item_id: "order-line-item-123" }); +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listLineItemAdjustments"/> + +#### Returns + + + +### createLineItemAdjustments + +`**createLineItemAdjustments**(data): Promise<[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]>` + +#### Parameters + + + +#### Returns + + + +`**createLineItemAdjustments**(data): Promise<[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]>` + +#### Parameters + + + +#### Returns + + + +`**createLineItemAdjustments**(orderId, data): Promise<[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]>` + +#### Parameters + + + +#### Returns + + + +### setLineItemAdjustments + +This method Represents the completion of an asynchronous operation + +#### Example + +```typescript +const adjustmentsData: UpsertOrderLineItemAdjustmentDTO[] = [{ + item_id: "item123", + amount: 1000 +}]; + +const result = await orderModuleService.setLineItemAdjustments("order456", adjustmentsData); +``` + +#### Parameters + + + +#### Returns + + + +### deleteLineItemAdjustments + +`**deleteLineItemAdjustments**(adjustmentIds, sharedContext?): Promise<void>` + +#### Parameters + + + +#### Returns + + + +`**deleteLineItemAdjustments**(adjustmentIds, sharedContext?): Promise<void>` + +#### Parameters + + + +#### Returns + + + +`**deleteLineItemAdjustments**(selector, sharedContext?): Promise<void>` + +#### Parameters + +`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="deleteLineItemAdjustments"/> + +#### Returns + + + +### listShippingMethodAdjustments + +This method retrieves a paginated list of {return type}(s) based on optional filters and configuration. + +#### Example + +```typescript +const result = await orderModuleService.listShippingMethodAdjustments({ + id: "12345", +}); +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listShippingMethodAdjustments"/> + +#### Returns + + + +### createShippingMethodAdjustments + +`**createShippingMethodAdjustments**(data): Promise<[OrderShippingMethodAdjustmentDTO](types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx)[]>` + +#### Parameters + + + +#### Returns + + + +`**createShippingMethodAdjustments**(data): Promise<[OrderShippingMethodAdjustmentDTO](types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx)>` + +#### Parameters + + + +#### Returns + +`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLineDTO](types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderShippingMethodAdjustmentDTO](types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createShippingMethodAdjustments"/> + +`**createShippingMethodAdjustments**(orderId, data, sharedContext?): Promise<[OrderShippingMethodAdjustmentDTO](types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx)[]>` + +#### Parameters + + + +#### Returns + + + +### setShippingMethodAdjustments + +This method Represents the completion of an asynchronous operation + +#### Example + +```typescript +await orderModuleService.setShippingMethodAdjustments("orderId123", [ + { + shipping_method_id: "shipMethodId123", + code: "CODE123", + amount: 1000, + } +]); +``` + +#### Parameters + + + +#### Returns + + + +### deleteShippingMethodAdjustments + +`**deleteShippingMethodAdjustments**(adjustmentIds, sharedContext?): Promise<void>` + +#### Parameters + + + +#### Returns + + + +`**deleteShippingMethodAdjustments**(adjustmentId, sharedContext?): Promise<void>` + +#### Parameters + + + +#### Returns + + + +`**deleteShippingMethodAdjustments**(selector, sharedContext?): Promise<void>` + +#### Parameters + +`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLineDTO](types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderShippingMethodAdjustmentDTO](types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="deleteShippingMethodAdjustments"/> + +#### Returns + + + +### listLineItemTaxLines + +This method retrieves a paginated list of {return type}(s) based on optional filters and configuration. + +#### Example + +```typescript +await orderModuleService.listLineItemTaxLines({ id: "123" }); +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listLineItemTaxLines"/> + +#### Returns + + + +### createLineItemTaxLines + +`**createLineItemTaxLines**(taxLines): Promise<[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]>` + +#### Parameters + + + +#### Returns + + + +`**createLineItemTaxLines**(taxLine): Promise<[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)>` + +#### Parameters + + + +#### Returns + +`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createLineItemTaxLines"/> + +`**createLineItemTaxLines**(orderId, taxLines, sharedContext?): Promise<[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]>` + +#### Parameters + + + +#### Returns + + + +### setLineItemTaxLines + +This method Represents the completion of an asynchronous operation + +#### Example + +```typescript +const orderId = '12345'; +const taxLines: (CreateOrderLineItemTaxLineDTO | UpdateOrderLineItemTaxLineDTO)[] = [ + { + code: "TAX1001", + rate: 70, + } +]; + +const result = await orderModuleService.setLineItemTaxLines(orderId, taxLines); + +console.log(result); +``` + +#### Parameters + + + +#### Returns + + + +### deleteLineItemTaxLines + +`**deleteLineItemTaxLines**(taxLineIds, sharedContext?): Promise<void>` + +#### Parameters + + + +#### Returns + + + +`**deleteLineItemTaxLines**(taxLineIds, sharedContext?): Promise<void>` + +#### Parameters + + + +#### Returns + + + +`**deleteLineItemTaxLines**(selector, sharedContext?): Promise<void>` + +#### Parameters + + + +#### Returns + + + +### listShippingMethodTaxLines + +This method retrieves a paginated list of {return type}(s) based on optional filters and configuration. + +#### Example + +```typescript +async function executeMethod() { + const result = await orderModuleService.listShippingMethodTaxLines({ + id: "123", + }); +} +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listShippingMethodTaxLines"/> + +#### Returns + + + +### createShippingMethodTaxLines + +`**createShippingMethodTaxLines**(taxLines): Promise<[OrderShippingMethodTaxLineDTO](types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx)[]>` + +#### Parameters + + + +#### Returns + + + +`**createShippingMethodTaxLines**(taxLine): Promise<[OrderShippingMethodTaxLineDTO](types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx)>` + +#### Parameters + + + +#### Returns + +`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLineDTO](types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderShippingMethodAdjustmentDTO](types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createShippingMethodTaxLines"/> + +`**createShippingMethodTaxLines**(orderId, taxLines, sharedContext?): Promise<[OrderShippingMethodTaxLineDTO](types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx)[]>` + +#### Parameters + + + +#### Returns + + + +### setShippingMethodTaxLines + +This method Represents the completion of an asynchronous operation + +#### Example + +```typescript +const orderId = "someOrderId"; +const taxLines = [ + { + code: "VAT20", + rate: 20, + } +]; + +const result = await orderModuleService.setShippingMethodTaxLines(orderId, taxLines); +``` + +#### Parameters + + + +#### Returns + + + +### deleteShippingMethodTaxLines + +`**deleteShippingMethodTaxLines**(taxLineIds, sharedContext?): Promise<void>` + +#### Parameters + + + +#### Returns + + + +`**deleteShippingMethodTaxLines**(taxLineIds, sharedContext?): Promise<void>` + +#### Parameters + + + +#### Returns + + + +`**deleteShippingMethodTaxLines**(selector, sharedContext?): Promise<void>` + +#### Parameters + + + +#### Returns + + + +### createOrderChange + +`**createOrderChange**(data, sharedContext?): Promise<[OrderChangeDTO](types.OrderTypes.OrderChangeDTO.mdx)>` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"actions","type":"[CreateOrderChangeActionDTO](types.OrderTypes.CreateOrderChangeActionDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"action","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_change_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"version","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"internal_note","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"details","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createOrderChange"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the order was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the order was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"actions","type":"[OrderChangeActionDTO](types.OrderTypes.OrderChangeActionDTO.mdx)[]","description":"The actions of the order change","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the order change action","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_change_id","type":"`null` \\| `string`","description":"The ID of the associated order change","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_change","type":"`null` \\| [OrderChangeDTO](types.OrderTypes.OrderChangeDTO.mdx)","description":"The associated order change","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"order_id","type":"`null` \\| `string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`null` \\| [OrderDTO](types.OrderTypes.OrderDTO.mdx)","description":"The associated order","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"reference","type":"`string`","description":"The reference of the order change action","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"The ID of the reference","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"action","type":"`string`","description":"The action of the order change action","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"details","type":"`null` \\| `Record`","description":"The details of the order change action","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"internal_note","type":"`null` \\| `string`","description":"The internal note of the order change action","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the order change action was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the order change action was updated","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"status","type":"`string`","description":"The status of the order change","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requested_by","type":"`null` \\| `string`","description":"The requested by of the order change","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requested_at","type":"`null` \\| `string` \\| `Date`","description":"When the order change was requested","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"confirmed_by","type":"`null` \\| `string`","description":"The confirmed by of the order change","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"confirmed_at","type":"`null` \\| `string` \\| `Date`","description":"When the order change was confirmed","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"declined_by","type":"`null` \\| `string`","description":"The declined by of the order change","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"declined_reason","type":"`null` \\| `string`","description":"The declined reason of the order change","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"The metadata of the order change","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"declined_at","type":"`null` \\| `string` \\| `Date`","description":"When the order change was declined","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_by","type":"`null` \\| `string`","description":"The canceled by of the order change","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `string` \\| `Date`","description":"When the order change was canceled","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the order change was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the order change was updated","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createOrderChange"/> + +`**createOrderChange**(data, sharedContext?): Promise<[OrderChangeDTO](types.OrderTypes.OrderChangeDTO.mdx)[]>` + +This method creates {return type}(s) + +#### Example + +```typescript +// Example call to createOrderChange + +const createOrderChangeData: CreateOrderChangeDTO[] = [{ + order_id: "order123", + description: "Change due to customer request" +}]; + +const result = await orderModuleService.createOrderChange(createOrderChangeData); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"actions","type":"[CreateOrderChangeActionDTO](types.OrderTypes.CreateOrderChangeActionDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"action","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_change_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"version","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"internal_note","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"details","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createOrderChange"/> + +#### Returns + + + +`**createOrderChange**(data, sharedContext?): Promise<[OrderChangeDTO](types.OrderTypes.OrderChangeDTO.mdx) \| [OrderChangeDTO](types.OrderTypes.OrderChangeDTO.mdx)[]>` + +This method creates {return type}(s) + +#### Example + +```typescript +const result = await orderModuleService.createOrderChange({ + order_id: "order123", + description: "Adding new item to the order" +}); +``` + +#### Parameters + + + +#### Returns + + + +### cancelOrderChange + +`**cancelOrderChange**(orderId, sharedContext?): Promise<void>` + +This method Represents the completion of an asynchronous operation + +#### Example + +```typescript +await orderModuleService.cancelOrderChange("orderId123"); +``` + +#### Parameters + + + +#### Returns + + + +`**cancelOrderChange**(orderId, sharedContext?): Promise<void>` + +This method Represents the completion of an asynchronous operation + +#### Example + +```typescript +await orderModuleService.cancelOrderChange(["1234ABCD"]); +``` + +#### Parameters + + + +#### Returns + + + +`**cancelOrderChange**(data, sharedContext?): Promise<void>` + +This method Represents the completion of an asynchronous operation + +#### Example + +```typescript +const cancelOrderChangeData: CancelOrderChangeDTO = { + id: "orderChangeId", +}; + +await orderModuleService.cancelOrderChange(cancelOrderChangeData); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="cancelOrderChange"/> + +#### Returns + + + +`**cancelOrderChange**(data, sharedContext?): Promise<void>` + +This method Represents the completion of an asynchronous operation + +#### Example + +```typescript +await orderModuleService.cancelOrderChange([{ id: "orderChangeId" }]); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="cancelOrderChange"/> + +#### Returns + + + +### confirmOrderChange + +`**confirmOrderChange**(orderChangeId, sharedContext?): Promise<void>` + +This method Represents the completion of an asynchronous operation + +#### Example + +```typescript +await orderModuleService.confirmOrderChange("123456789"); +``` + +#### Parameters + + + +#### Returns + + + +`**confirmOrderChange**(orderChangeId, sharedContext?): Promise<void>` + +This method Represents the completion of an asynchronous operation + +#### Example + +```typescript +await orderModuleService.confirmOrderChange(["12345"]); +``` + +#### Parameters + + + +#### Returns + + + +`**confirmOrderChange**(data, sharedContext?): Promise<void>` + +This method Represents the completion of an asynchronous operation + +#### Example + +```typescript +await orderModuleService.confirmOrderChange({ + id: "123456" +}); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="confirmOrderChange"/> + +#### Returns + + + +`**confirmOrderChange**(data, sharedContext?): Promise<void>` + +This method Represents the completion of an asynchronous operation + +#### Example + +```typescript +const confirmOrderChangesData: ConfirmOrderChangeDTO[] = [{ + id: "orderChangeId", +}]; + +await orderModuleService.confirmOrderChange(confirmOrderChangesData); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="confirmOrderChange"/> + +#### Returns + + + +### declineOrderChange + +`**declineOrderChange**(orderChangeId, sharedContext?): Promise<void>` + +This method Represents the completion of an asynchronous operation + +#### Example + +```typescript +await orderModuleService.declineOrderChange("orderChangeId"); +``` + +#### Parameters + + + +#### Returns + + + +`**declineOrderChange**(orderChangeId, sharedContext?): Promise<void>` + +This method Represents the completion of an asynchronous operation + +#### Example + +```typescript +await orderModuleService.declineOrderChange(["orderChangeId"]); +``` + +#### Parameters + + + +#### Returns + + + +`**declineOrderChange**(data, sharedContext?): Promise<void>` + +This method Represents the completion of an asynchronous operation + +#### Example + +```typescript +await orderModuleService.declineOrderChange({ + id: "123456", +}); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="declineOrderChange"/> + +#### Returns + + + +`**declineOrderChange**(data, sharedContext?): Promise<void>` + +This method Represents the completion of an asynchronous operation + +#### Example + +```typescript +await orderModuleService.declineOrderChange([ + { + id: "12345", + } +]); +``` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="declineOrderChange"/> + +#### Returns + + + +### applyPendingOrderActions + +This method {summary} + +#### Example + +```typescript +await orderModuleService.applyPendingOrderActions("12345"); +``` + +#### Parameters + + + +#### Returns + + + +### addOrderAction + +`**addOrderAction**(data, sharedContext?): Promise<[OrderChangeActionDTO](types.OrderTypes.OrderChangeActionDTO.mdx)>` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="addOrderAction"/> + +#### Returns + +`","description":"The details of the order change action","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"internal_note","type":"`null` \\| `string`","description":"The internal note of the order change action","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the order change action was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the order change action was updated","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="addOrderAction"/> + +`**addOrderAction**(data, sharedContext?): Promise<[OrderChangeActionDTO](types.OrderTypes.OrderChangeActionDTO.mdx)[]>` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="addOrderAction"/> + +#### Returns + + + +### softDeleteAddresses + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteAddresses"/> + +### restoreAddresses + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreAddresses"/> + +### softDeleteLineItems + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteLineItems"/> + +### restoreLineItems + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreLineItems"/> + +### softDeleteShippingMethods + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteShippingMethods"/> + +### restoreShippingMethods + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreShippingMethods"/> + +### softDeleteLineItemAdjustments + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteLineItemAdjustments"/> + +### restoreLineItemAdjustments + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreLineItemAdjustments"/> + +### softDeleteShippingMethodAdjustments + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteShippingMethodAdjustments"/> + +### restoreShippingMethodAdjustments + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreShippingMethodAdjustments"/> + +### softDeleteLineItemTaxLines + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteLineItemTaxLines"/> + +### restoreLineItemTaxLines + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreLineItemTaxLines"/> + +### softDeleteShippingMethodTaxLines + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteShippingMethodTaxLines"/> + +### restoreShippingMethodTaxLines + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreShippingMethodTaxLines"/> + +### revertLastVersion + +#### Parameters + + + +#### Returns + + + +### registerFulfillment + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"internal_note","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="registerFulfillment"/> + +#### Returns + + + +### registerShipment + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"internal_note","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="registerShipment"/> + +#### Returns + + + +### createReturn + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"internal_note","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createReturn"/> + +#### Returns + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderAddressDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderAddressDTO.mdx new file mode 100644 index 0000000000000..acde1d0c451ec --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderAddressDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderAddressDTO + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="OrderAddressDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderAdjustmentLineDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderAdjustmentLineDTO.mdx new file mode 100644 index 0000000000000..63f8130780c6a --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderAdjustmentLineDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderAdjustmentLineDTO + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderChangeActionDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderChangeActionDTO.mdx new file mode 100644 index 0000000000000..ccdbf7fb791ce --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderChangeActionDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderChangeActionDTO + +## Properties + +`","description":"The details of the order change action","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"internal_note","type":"`null` \\| `string`","description":"The internal note of the order change action","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the order change action was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the order change action was updated","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="OrderChangeActionDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderChangeDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderChangeDTO.mdx new file mode 100644 index 0000000000000..aafef26f20a5c --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderChangeDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderChangeDTO + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[OrderAddressDTO](types.OrderTypes.OrderAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)[]","description":"The associated order details / line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Indicates whether the order line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Indicates whether the order line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Indicates whether the order line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The unit price of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw unit price of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"detail","type":"[OrderItemDTO](types.OrderTypes.OrderItemDTO.mdx)","description":"The details of the item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subtitle of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The thumbnail of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The ID of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The ID of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`null` \\| `string`","description":"The title of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`null` \\| `string`","description":"The description of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`null` \\| `string`","description":"The subtitle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`null` \\| `string`","description":"The type of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`null` \\| `string`","description":"The collection of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`null` \\| `string`","description":"The handle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`null` \\| `string`","description":"The SKU (stock keeping unit) of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`null` \\| `string`","description":"The barcode of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`null` \\| `string`","description":"The title of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`null` \\| `Record`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLineDTO](types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderShippingMethodAdjustmentDTO](types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"transactions","type":"[OrderTransactionDTO](types.OrderTypes.OrderTransactionDTO.mdx)[]","description":"The tramsactions associated with the order","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[OrderDTO](types.OrderTypes.OrderDTO.mdx)","description":"The associated order","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency code of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"The reference of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"The ID of the reference","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"The metadata of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the transaction was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the transaction was updated","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"summary","type":"[OrderSummaryDTO](../types/types.OrderTypes.OrderSummaryDTO.mdx)","description":"The summary of the order totals.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"ordered_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfilled_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"returned_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_request_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"write_off_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"projected_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_projected_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"balance","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_balance","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the order was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the order was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"actions","type":"[OrderChangeActionDTO](types.OrderTypes.OrderChangeActionDTO.mdx)[]","description":"The actions of the order change","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the order change action","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_change_id","type":"`null` \\| `string`","description":"The ID of the associated order change","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_change","type":"`null` \\| [OrderChangeDTO](types.OrderTypes.OrderChangeDTO.mdx)","description":"The associated order change","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"order_id","type":"`null` \\| `string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`null` \\| [OrderDTO](types.OrderTypes.OrderDTO.mdx)","description":"The associated order","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"reference","type":"`string`","description":"The reference of the order change action","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"The ID of the reference","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"action","type":"`string`","description":"The action of the order change action","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"details","type":"`null` \\| `Record`","description":"The details of the order change action","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"internal_note","type":"`null` \\| `string`","description":"The internal note of the order change action","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the order change action was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the order change action was updated","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"status","type":"`string`","description":"The status of the order change","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requested_by","type":"`null` \\| `string`","description":"The requested by of the order change","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requested_at","type":"`null` \\| `string` \\| `Date`","description":"When the order change was requested","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"confirmed_by","type":"`null` \\| `string`","description":"The confirmed by of the order change","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"confirmed_at","type":"`null` \\| `string` \\| `Date`","description":"When the order change was confirmed","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"declined_by","type":"`null` \\| `string`","description":"The declined by of the order change","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"declined_reason","type":"`null` \\| `string`","description":"The declined reason of the order change","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"The metadata of the order change","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"declined_at","type":"`null` \\| `string` \\| `Date`","description":"When the order change was declined","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_by","type":"`null` \\| `string`","description":"The canceled by of the order change","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`null` \\| `string` \\| `Date`","description":"When the order change was canceled","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the order change was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the order change was updated","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="OrderChangeDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderDTO.mdx new file mode 100644 index 0000000000000..b3f0da65938bd --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderDTO + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[OrderAddressDTO](types.OrderTypes.OrderAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)[]","description":"The associated order details / line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"id","type":"`string`","description":"The ID of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Indicates whether the order line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Indicates whether the order line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Indicates whether the order line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The unit price of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw unit price of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"quantity","type":"`number`","description":"The quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"detail","type":"[OrderItemDTO](types.OrderTypes.OrderItemDTO.mdx)","description":"The details of the item","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the order detail.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The Line Item of the order detail.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfilled_quantity","type":"`number`","description":"The fulfilled quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_fulfilled_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw fulfilled quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_quantity","type":"`number`","description":"The shipped quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipped_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipped quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_requested_quantity","type":"`number`","description":"The quantity of return requested for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_requested_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of return requested for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_received_quantity","type":"`number`","description":"The quantity of return received for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_received_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of return received for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_dismissed_quantity","type":"`number`","description":"The quantity of return dismissed for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_dismissed_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of return dismissed for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"written_off_quantity","type":"`number`","description":"The quantity of written off for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_written_off_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of written off for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"The metadata of the order detail","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subtitle of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The thumbnail of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The ID of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The ID of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`null` \\| `string`","description":"The title of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`null` \\| `string`","description":"The description of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`null` \\| `string`","description":"The subtitle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`null` \\| `string`","description":"The type of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`null` \\| `string`","description":"The collection of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`null` \\| `string`","description":"The handle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`null` \\| `string`","description":"The SKU (stock keeping unit) of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`null` \\| `string`","description":"The barcode of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`null` \\| `string`","description":"The title of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`null` \\| `Record`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"The description of the shipping method","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLineDTO](types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderShippingMethodAdjustmentDTO](types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"transactions","type":"[OrderTransactionDTO](types.OrderTypes.OrderTransactionDTO.mdx)[]","description":"The tramsactions associated with the order","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[OrderDTO](types.OrderTypes.OrderDTO.mdx)","description":"The associated order","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"version","type":"`number`","description":"The version of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency of the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original item total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original item subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original item tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order. (Excluding taxes)","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The gift card total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The gift card tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The shipping total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The shipping subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The shipping tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original shipping total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original shipping subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original shipping tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original item total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original item subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original item tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order. (Excluding taxes)","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_gift_card_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw gift card total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_gift_card_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw gift card tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipping_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipping total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipping_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipping subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipping_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipping tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_shipping_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original shipping total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_shipping_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original shipping subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_shipping_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original shipping tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The ID of the region the order belongs to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the customer on the order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string`","description":"The ID of the sales channel the order belongs to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The email of the order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[OrderAddressDTO](types.OrderTypes.OrderAddressDTO.mdx)","description":"The associated shipping address.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"billing_address","type":"[OrderAddressDTO](types.OrderTypes.OrderAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"items","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)[]","description":"The associated order details / line items.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_methods","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"transactions","type":"[OrderTransactionDTO](types.OrderTypes.OrderTransactionDTO.mdx)[]","description":"The tramsactions associated with the order","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"summary","type":"[OrderSummaryDTO](../types/types.OrderTypes.OrderSummaryDTO.mdx)","description":"The summary of the order totals.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the order was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the order was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"currency_code","type":"`string`","description":"The currency code of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"The reference of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"The ID of the reference","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"The metadata of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the transaction was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the transaction was updated","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"summary","type":"[OrderSummaryDTO](../types/types.OrderTypes.OrderSummaryDTO.mdx)","description":"The summary of the order totals.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"ordered_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfilled_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"returned_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_request_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"write_off_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"projected_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_projected_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"balance","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_balance","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the order was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the order was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="OrderDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderItemDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderItemDTO.mdx new file mode 100644 index 0000000000000..0ea6a47ebe2f3 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderItemDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderItemDTO + +## Properties + +`","description":"The metadata of the order detail","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subtitle of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The thumbnail of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The ID of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The ID of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`null` \\| `string`","description":"The title of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`null` \\| `string`","description":"The description of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`null` \\| `string`","description":"The subtitle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`null` \\| `string`","description":"The type of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`null` \\| `string`","description":"The collection of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`null` \\| `string`","description":"The handle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`null` \\| `string`","description":"The SKU (stock keeping unit) of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`null` \\| `string`","description":"The barcode of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`null` \\| `string`","description":"The title of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`null` \\| `Record`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"quantity","type":"`number`","description":"The quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfilled_quantity","type":"`number`","description":"The fulfilled quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_fulfilled_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw fulfilled quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipped_quantity","type":"`number`","description":"The shipped quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipped_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipped quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"return_requested_quantity","type":"`number`","description":"The quantity of return requested for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_requested_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of return requested for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"return_received_quantity","type":"`number`","description":"The quantity of return received for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_received_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of return received for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"return_dismissed_quantity","type":"`number`","description":"The quantity of return dismissed for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_dismissed_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of return dismissed for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"written_off_quantity","type":"`number`","description":"The quantity of written off for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_written_off_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of written off for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"The metadata of the order detail","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="OrderItemDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderLineItemAdjustmentDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderLineItemAdjustmentDTO.mdx new file mode 100644 index 0000000000000..15e058269a08b --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderLineItemAdjustmentDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderLineItemAdjustmentDTO + +## Properties + +`","description":"The metadata of the order detail","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subtitle of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The thumbnail of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The ID of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The ID of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`null` \\| `string`","description":"The title of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`null` \\| `string`","description":"The description of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`null` \\| `string`","description":"The subtitle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`null` \\| `string`","description":"The type of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`null` \\| `string`","description":"The collection of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`null` \\| `string`","description":"The handle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`null` \\| `string`","description":"The SKU (stock keeping unit) of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`null` \\| `string`","description":"The barcode of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`null` \\| `string`","description":"The title of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`null` \\| `Record`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="OrderLineItemAdjustmentDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderLineItemDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderLineItemDTO.mdx new file mode 100644 index 0000000000000..4c6179416492d --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderLineItemDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderLineItemDTO + +## Properties + +`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"quantity","type":"`number`","description":"The quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfilled_quantity","type":"`number`","description":"The fulfilled quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_fulfilled_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw fulfilled quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipped_quantity","type":"`number`","description":"The shipped quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipped_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipped quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"return_requested_quantity","type":"`number`","description":"The quantity of return requested for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_requested_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of return requested for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"return_received_quantity","type":"`number`","description":"The quantity of return received for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_received_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of return received for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"return_dismissed_quantity","type":"`number`","description":"The quantity of return dismissed for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_dismissed_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of return dismissed for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"written_off_quantity","type":"`number`","description":"The quantity of written off for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_written_off_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of written off for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"The metadata of the order detail","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subtitle of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The thumbnail of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The ID of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The ID of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`null` \\| `string`","description":"The title of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`null` \\| `string`","description":"The description of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`null` \\| `string`","description":"The subtitle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`null` \\| `string`","description":"The type of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`null` \\| `string`","description":"The collection of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`null` \\| `string`","description":"The handle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`null` \\| `string`","description":"The SKU (stock keeping unit) of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`null` \\| `string`","description":"The barcode of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`null` \\| `string`","description":"The title of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`null` \\| `Record`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Indicates whether the order line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Indicates whether the order line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Indicates whether the order line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The unit price of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw unit price of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"detail","type":"[OrderItemDTO](types.OrderTypes.OrderItemDTO.mdx)","description":"The details of the item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subtitle of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The thumbnail of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The ID of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The ID of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`null` \\| `string`","description":"The title of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`null` \\| `string`","description":"The description of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`null` \\| `string`","description":"The subtitle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`null` \\| `string`","description":"The type of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`null` \\| `string`","description":"The collection of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`null` \\| `string`","description":"The handle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`null` \\| `string`","description":"The SKU (stock keeping unit) of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`null` \\| `string`","description":"The barcode of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`null` \\| `string`","description":"The title of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`null` \\| `Record`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Indicates whether the order line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Indicates whether the order line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Indicates whether the order line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The unit price of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw unit price of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"detail","type":"[OrderItemDTO](types.OrderTypes.OrderItemDTO.mdx)","description":"The details of the item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subtitle of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The thumbnail of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The ID of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The ID of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`null` \\| `string`","description":"The title of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`null` \\| `string`","description":"The description of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`null` \\| `string`","description":"The subtitle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`null` \\| `string`","description":"The type of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`null` \\| `string`","description":"The collection of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`null` \\| `string`","description":"The handle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`null` \\| `string`","description":"The SKU (stock keeping unit) of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`null` \\| `string`","description":"The barcode of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`null` \\| `string`","description":"The title of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`null` \\| `Record`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="OrderLineItemDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderLineItemTaxLineDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderLineItemTaxLineDTO.mdx new file mode 100644 index 0000000000000..4e3942ab7d2b2 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderLineItemTaxLineDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderLineItemTaxLineDTO + +## Properties + +`","description":"The metadata of the order detail","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subtitle of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The thumbnail of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The ID of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The ID of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`null` \\| `string`","description":"The title of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`null` \\| `string`","description":"The description of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`null` \\| `string`","description":"The subtitle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`null` \\| `string`","description":"The type of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`null` \\| `string`","description":"The collection of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`null` \\| `string`","description":"The handle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`null` \\| `string`","description":"The SKU (stock keeping unit) of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`null` \\| `string`","description":"The barcode of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`null` \\| `string`","description":"The title of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`null` \\| `Record`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="OrderLineItemTaxLineDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderLineItemTotalsDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderLineItemTotalsDTO.mdx new file mode 100644 index 0000000000000..d517d45b54b46 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderLineItemTotalsDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderLineItemTotalsDTO + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx new file mode 100644 index 0000000000000..af234cbb5b7e8 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderShippingMethodAdjustmentDTO + +## Properties + +`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLineDTO](types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderShippingMethodAdjustmentDTO](types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="OrderShippingMethodAdjustmentDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderShippingMethodDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderShippingMethodDTO.mdx new file mode 100644 index 0000000000000..00c925fc69b7f --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderShippingMethodDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderShippingMethodDTO + +## Properties + +`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLineDTO](types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLineDTO](types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderShippingMethodAdjustmentDTO](types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderShippingMethodAdjustmentDTO](types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLineDTO](types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderShippingMethodAdjustmentDTO](types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="OrderShippingMethodDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx new file mode 100644 index 0000000000000..4ee7750717450 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderShippingMethodTaxLineDTO + +## Properties + +`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLineDTO](types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderShippingMethodAdjustmentDTO](types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="OrderShippingMethodTaxLineDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderTaxLineDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderTaxLineDTO.mdx new file mode 100644 index 0000000000000..eb888ad58669b --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderTaxLineDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderTaxLineDTO + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderTransactionDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderTransactionDTO.mdx new file mode 100644 index 0000000000000..9f8d30402c992 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderTransactionDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderTransactionDTO + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[OrderAddressDTO](types.OrderTypes.OrderAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)[]","description":"The associated order details / line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"The ID of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Indicates whether the order line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Indicates whether the order line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Indicates whether the order line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The unit price of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw unit price of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"detail","type":"[OrderItemDTO](types.OrderTypes.OrderItemDTO.mdx)","description":"The details of the item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subtitle of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The thumbnail of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The ID of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The ID of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`null` \\| `string`","description":"The title of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`null` \\| `string`","description":"The description of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`null` \\| `string`","description":"The subtitle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`null` \\| `string`","description":"The type of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`null` \\| `string`","description":"The collection of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`null` \\| `string`","description":"The handle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`null` \\| `string`","description":"The SKU (stock keeping unit) of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`null` \\| `string`","description":"The barcode of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`null` \\| `string`","description":"The title of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`null` \\| `Record`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the shipping method","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLineDTO](types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderShippingMethodAdjustmentDTO](types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"transactions","type":"[OrderTransactionDTO](types.OrderTypes.OrderTransactionDTO.mdx)[]","description":"The tramsactions associated with the order","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[OrderDTO](types.OrderTypes.OrderDTO.mdx)","description":"The associated order","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency code of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"The reference of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"The ID of the reference","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"The metadata of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the transaction was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the transaction was updated","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"summary","type":"[OrderSummaryDTO](../types/types.OrderTypes.OrderSummaryDTO.mdx)","description":"The summary of the order totals.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"ordered_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfilled_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"returned_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_request_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"write_off_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"projected_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_projected_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"balance","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_balance","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the order was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the order was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"currency_code","type":"`string`","description":"The currency code of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"The reference of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"The ID of the reference","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"The metadata of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the transaction was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the transaction was updated","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="OrderTransactionDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderWorkflowDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderWorkflowDTO.mdx new file mode 100644 index 0000000000000..b97d9192b55f8 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.OrderWorkflowDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderWorkflowDTO + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"billing_address","type":"[OrderAddressDTO](types.OrderTypes.OrderAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the address","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the address was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the address was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The customer ID of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone number of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The second address line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province/state of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)[]","description":"The associated order details / line items.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"id","type":"`string`","description":"The ID of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"The title of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"Indicates whether the order line item requires shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"Indicates whether the order line item is discountable.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Indicates whether the order line item price is tax inclusive.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"The unit price of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw unit price of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"quantity","type":"`number`","description":"The quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"detail","type":"[OrderItemDTO](types.OrderTypes.OrderItemDTO.mdx)","description":"The details of the item","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the order detail.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The Line Item of the order detail.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfilled_quantity","type":"`number`","description":"The fulfilled quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_fulfilled_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw fulfilled quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_quantity","type":"`number`","description":"The shipped quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipped_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipped quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_requested_quantity","type":"`number`","description":"The quantity of return requested for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_requested_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of return requested for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_received_quantity","type":"`number`","description":"The quantity of return received for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_received_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of return received for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_dismissed_quantity","type":"`number`","description":"The quantity of return dismissed for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_dismissed_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of return dismissed for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"written_off_quantity","type":"`number`","description":"The quantity of written off for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_written_off_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of written off for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"The metadata of the order detail","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subtitle of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The thumbnail of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The ID of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The ID of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`null` \\| `string`","description":"The title of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`null` \\| `string`","description":"The description of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`null` \\| `string`","description":"The subtitle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`null` \\| `string`","description":"The type of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`null` \\| `string`","description":"The collection of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`null` \\| `string`","description":"The handle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`null` \\| `string`","description":"The SKU (stock keeping unit) of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`null` \\| `string`","description":"The barcode of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`null` \\| `string`","description":"The title of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`null` \\| `Record`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_methods","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw price of the shipping method","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"is_tax_inclusive","type":"`boolean`","description":"Whether the shipping method price is tax inclusive or not","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the shipping method was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the shipping method was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"The description of the shipping method","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The ID of the shipping option the method was created from","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Additional data needed for fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLineDTO](types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderShippingMethodAdjustmentDTO](types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)","description":"The associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"The ID of the associated shipping method","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"transactions","type":"[OrderTransactionDTO](types.OrderTypes.OrderTransactionDTO.mdx)[]","description":"The tramsactions associated with the order","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"[OrderDTO](types.OrderTypes.OrderDTO.mdx)","description":"The associated order","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"version","type":"`number`","description":"The version of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency of the order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original item total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original item subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original item tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The item tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal of the order. (Excluding taxes)","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The discount tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The gift card total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"gift_card_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The gift card tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The shipping total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The shipping subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The shipping tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original shipping total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original shipping subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_shipping_tax_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The original shipping tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original item total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original item subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original item tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw item tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal of the order. (Excluding taxes)","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw discount tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_gift_card_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw gift card total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_gift_card_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw gift card tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipping_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipping total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipping_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipping subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipping_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipping tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_shipping_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original shipping total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_shipping_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original shipping subtotal of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_shipping_tax_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw original shipping tax total of the order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The ID of the region the order belongs to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the customer on the order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel_id","type":"`string`","description":"The ID of the sales channel the order belongs to.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The email of the order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_address","type":"[OrderAddressDTO](types.OrderTypes.OrderAddressDTO.mdx)","description":"The associated shipping address.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"billing_address","type":"[OrderAddressDTO](types.OrderTypes.OrderAddressDTO.mdx)","description":"The associated billing address.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"items","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)[]","description":"The associated order details / line items.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"shipping_methods","type":"[OrderShippingMethodDTO](types.OrderTypes.OrderShippingMethodDTO.mdx)[]","description":"The associated shipping methods","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"transactions","type":"[OrderTransactionDTO](types.OrderTypes.OrderTransactionDTO.mdx)[]","description":"The tramsactions associated with the order","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"summary","type":"[OrderSummaryDTO](../types/types.OrderTypes.OrderSummaryDTO.mdx)","description":"The summary of the order totals.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the order was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the order was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw amount of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"currency_code","type":"`string`","description":"The currency code of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"The reference of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"The ID of the reference","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"The metadata of the transaction","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the transaction was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the transaction was updated","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"summary","type":"[OrderSummaryDTO](../types/types.OrderTypes.OrderSummaryDTO.mdx)","description":"The summary of the order totals.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"ordered_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfilled_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"returned_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_request_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"write_off_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"projected_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"net_total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_total_tax","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_projected_total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"balance","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"future_balance","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the order was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the order was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"[CustomerDTO](../../CustomerTypes/interfaces/types.CustomerTypes.CustomerDTO.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The email of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"has_account","type":"`boolean`","description":"A flag indicating if customer has an account or not.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_billing_address_id","type":"`null` \\| `string`","description":"The associated default billing address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_shipping_address_id","type":"`null` \\| `string`","description":"The associated default shipping address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company_name","type":"`null` \\| `string`","description":"The company name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"addresses","type":"[CustomerAddressDTO](../../CustomerTypes/interfaces/types.CustomerTypes.CustomerAddressDTO.mdx)[]","description":"The addresses of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the customer address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default_shipping","type":"`boolean`","description":"Whether the customer address is default shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default_billing","type":"`boolean`","description":"Whether the customer address is default billing.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The associated customer's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"The created at of the customer address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"The updated at of the customer address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_name","type":"`string`","description":"The address name of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The address 1 of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The address 2 of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"The groups of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the group.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the group.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"region","type":"[RegionDTO](../../interfaces/types.RegionDTO.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency code of the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"automatic_taxes","type":"`boolean`","description":"Setting to indicate whether taxes need to be applied automatically","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"countries","type":"[RegionCountryDTO](../../interfaces/types.RegionCountryDTO.mdx)[]","description":"The countries of the region.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the country.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"iso_2","type":"`string`","description":"The ISO 2 code of the country.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"iso_3","type":"`string`","description":"The ISO 3 code of the country.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"num_code","type":"`number`","description":"The country's code number.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the country.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"display_name","type":"`string`","description":"The display name of the country.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_providers","type":"[PaymentProviderDTO](../../interfaces/types.PaymentProviderDTO.mdx)[]","description":"Payment providers available in the region","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_enabled","type":"`string`","description":"Whether the payment provider is enabled.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`string`","description":"The date the region was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"The date the region was updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="OrderWorkflowDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.RegisterOrderFulfillmentDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.RegisterOrderFulfillmentDTO.mdx new file mode 100644 index 0000000000000..e6071cfdc225d --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.RegisterOrderFulfillmentDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# RegisterOrderFulfillmentDTO + +ORDER bundled action flows + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"internal_note","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"reference_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="RegisterOrderFulfillmentDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.RegisterOrderShipmentDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.RegisterOrderShipmentDTO.mdx new file mode 100644 index 0000000000000..a8805debffeda --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.RegisterOrderShipmentDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# RegisterOrderShipmentDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"internal_note","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"reference","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="RegisterOrderShipmentDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderAddressDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderAddressDTO.mdx new file mode 100644 index 0000000000000..198fc5573b366 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderAddressDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateOrderAddressDTO + +ADDRESS START + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateOrderAddressDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderAdjustmentDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderAdjustmentDTO.mdx new file mode 100644 index 0000000000000..b9d939098bdc4 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderAdjustmentDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateOrderAdjustmentDTO + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderChangeActionDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderChangeActionDTO.mdx new file mode 100644 index 0000000000000..52117f1178983 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderChangeActionDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateOrderChangeActionDTO + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderChangeDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderChangeDTO.mdx new file mode 100644 index 0000000000000..6d0176fa6547b --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderChangeDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateOrderChangeDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateOrderChangeDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderDTO.mdx new file mode 100644 index 0000000000000..b9be44b89de72 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateOrderDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"amount","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_address","type":"[UpdateOrderAddressDTO](types.OrderTypes.UpdateOrderAddressDTO.mdx) \\| [CreateOrderAddressDTO](types.OrderTypes.CreateOrderAddressDTO.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"billing_address","type":"[UpdateOrderAddressDTO](types.OrderTypes.UpdateOrderAddressDTO.mdx) \\| [CreateOrderAddressDTO](types.OrderTypes.CreateOrderAddressDTO.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"no_notification","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateOrderDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderItemDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderItemDTO.mdx new file mode 100644 index 0000000000000..48cc0af2c7a94 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderItemDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateOrderItemDTO + +ORDER DETAIL START + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateOrderItemDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderItemWithSelectorDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderItemWithSelectorDTO.mdx new file mode 100644 index 0000000000000..6d82297359837 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderItemWithSelectorDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateOrderItemWithSelectorDTO + +## Properties + +`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"quantity","type":"`number`","description":"The quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fulfilled_quantity","type":"`number`","description":"The fulfilled quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_fulfilled_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw fulfilled quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipped_quantity","type":"`number`","description":"The shipped quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipped_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw shipped quantity of the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"return_requested_quantity","type":"`number`","description":"The quantity of return requested for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_requested_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of return requested for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"return_received_quantity","type":"`number`","description":"The quantity of return received for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_received_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of return received for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"return_dismissed_quantity","type":"`number`","description":"The quantity of return dismissed for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_dismissed_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of return dismissed for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"written_off_quantity","type":"`number`","description":"The quantity of written off for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_written_off_quantity","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw quantity of written off for the order line item.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"The metadata of the order detail","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"data","type":"Partial<[UpdateOrderItemDTO](types.OrderTypes.UpdateOrderItemDTO.mdx)>","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"version","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfilled_quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"return_requested_quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"return_received_quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"return_dismissed_quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"written_off_quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="UpdateOrderItemWithSelectorDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemAdjustmentDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemAdjustmentDTO.mdx new file mode 100644 index 0000000000000..f178f41310314 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemAdjustmentDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateOrderLineItemAdjustmentDTO + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemDTO.mdx new file mode 100644 index 0000000000000..2ded9639f2c0c --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateOrderLineItemDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[] \\| [UpdateOrderTaxLineDTO](types.OrderTypes.UpdateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[] \\| [UpdateOrderAdjustmentDTO](types.OrderTypes.UpdateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateOrderLineItemDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemTaxLineDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemTaxLineDTO.mdx new file mode 100644 index 0000000000000..70e925e01a87c --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemTaxLineDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateOrderLineItemTaxLineDTO + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemWithSelectorDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemWithSelectorDTO.mdx new file mode 100644 index 0000000000000..20d1d28ff6db9 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemWithSelectorDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateOrderLineItemWithSelectorDTO + +## Properties + +`","description":"The metadata of the order detail","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"The date when the order line item was created.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The date when the order line item was last updated.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"The subtitle of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"The thumbnail of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"The ID of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"The ID of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`null` \\| `string`","description":"The title of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`null` \\| `string`","description":"The description of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`null` \\| `string`","description":"The subtitle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`null` \\| `string`","description":"The type of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`null` \\| `string`","description":"The collection of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`null` \\| `string`","description":"The handle of the product associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`null` \\| `string`","description":"The SKU (stock keeping unit) of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`null` \\| `string`","description":"The barcode of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`null` \\| `string`","description":"The title of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`null` \\| `Record`","description":"The option values of the variant associated with the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"The compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw compare at unit price of the order line item.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[OrderLineItemTaxLineDTO](types.OrderTypes.OrderLineItemTaxLineDTO.mdx)[]","description":"The associated tax lines.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"The rate of the tax line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the tax line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the tax line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"The ID of the associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw total tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../../types/types.BigNumberRawValue.mdx)","description":"The raw subtotal tax relative to the item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the tax line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"The ID of the associated tax rate","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderLineItemAdjustmentDTO](types.OrderTypes.OrderLineItemAdjustmentDTO.mdx)[]","description":"The associated adjustments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../../types/types.BigNumberValue.mdx)","description":"The amount of the adjustment line","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the adjustment line was created","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the adjustment line was updated","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItemDTO](types.OrderTypes.OrderLineItemDTO.mdx)","description":"The associated line item","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"item_id","type":"`string`","description":"The associated line item","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"The code of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"The description of the adjustment line","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"The ID of the associated promotion","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated provider","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"data","type":"Partial<[UpdateOrderLineItemDTO](types.OrderTypes.UpdateOrderLineItemDTO.mdx)>","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[] \\| [UpdateOrderTaxLineDTO](types.OrderTypes.UpdateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[] \\| [UpdateOrderAdjustmentDTO](types.OrderTypes.UpdateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="UpdateOrderLineItemWithSelectorDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderShippingMethodAdjustmentDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderShippingMethodAdjustmentDTO.mdx new file mode 100644 index 0000000000000..1e1c7f9d10dc5 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderShippingMethodAdjustmentDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateOrderShippingMethodAdjustmentDTO + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderShippingMethodDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderShippingMethodDTO.mdx new file mode 100644 index 0000000000000..01996ceeb09ac --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderShippingMethodDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateOrderShippingMethodDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[CreateOrderTaxLineDTO](types.OrderTypes.CreateOrderTaxLineDTO.mdx)[] \\| [UpdateOrderTaxLineDTO](types.OrderTypes.UpdateOrderTaxLineDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[CreateOrderAdjustmentDTO](types.OrderTypes.CreateOrderAdjustmentDTO.mdx)[] \\| [UpdateOrderAdjustmentDTO](types.OrderTypes.UpdateOrderAdjustmentDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateOrderShippingMethodDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderShippingMethodTaxLineDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderShippingMethodTaxLineDTO.mdx new file mode 100644 index 0000000000000..17c9d37f41436 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderShippingMethodTaxLineDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateOrderShippingMethodTaxLineDTO + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderTaxLineDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderTaxLineDTO.mdx new file mode 100644 index 0000000000000..d39f5c4992a65 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderTaxLineDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateOrderTaxLineDTO + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderTransactionDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderTransactionDTO.mdx new file mode 100644 index 0000000000000..3d26492c2b9dd --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpdateOrderTransactionDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateOrderTransactionDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateOrderTransactionDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpsertOrderAddressDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpsertOrderAddressDTO.mdx new file mode 100644 index 0000000000000..7163cb86bd45b --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpsertOrderAddressDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpsertOrderAddressDTO + +ADDRESS START + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpsertOrderAddressDTO"/> diff --git a/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpsertOrderLineItemAdjustmentDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpsertOrderLineItemAdjustmentDTO.mdx new file mode 100644 index 0000000000000..affe6c984fd9a --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/interfaces/types.OrderTypes.UpsertOrderLineItemAdjustmentDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpsertOrderLineItemAdjustmentDTO + +## Properties + + diff --git a/www/apps/docs/content/references/types/OrderTypes/types/types.OrderTypes.OrderSummaryDTO.mdx b/www/apps/docs/content/references/types/OrderTypes/types/types.OrderTypes.OrderSummaryDTO.mdx new file mode 100644 index 0000000000000..592bc75d41757 --- /dev/null +++ b/www/apps/docs/content/references/types/OrderTypes/types/types.OrderTypes.OrderSummaryDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderSummaryDTO + + **OrderSummaryDTO**: `Object` + +## Properties + + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.AddItemAdjustmentAction.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.AddItemAdjustmentAction.mdx index 17acfb40f05d5..62be863c8bd6b 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.AddItemAdjustmentAction.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.AddItemAdjustmentAction.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # AddItemAdjustmentAction +This action indicates that an adjustment must be made to an item. For example, removing $5 off its amount. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.AddShippingMethodAdjustment.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.AddShippingMethodAdjustment.mdx index a8429e4f9385a..411e8b716e694 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.AddShippingMethodAdjustment.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.AddShippingMethodAdjustment.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # AddShippingMethodAdjustment +This action indicates that an adjustment must be made on a shipping method. For example, make the shipping method free. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ApplicationMethodDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ApplicationMethodDTO.mdx index 06a26f9f5c0f2..8eb2a6a315711 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ApplicationMethodDTO.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ApplicationMethodDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # ApplicationMethodDTO +The application method details. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CampaignBudgetDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CampaignBudgetDTO.mdx index da3cabfaa0fad..f87351c2149be 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CampaignBudgetDTO.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CampaignBudgetDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CampaignBudgetDTO +The campaign budget details. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CampaignBudgetExceededAction.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CampaignBudgetExceededAction.mdx index eda3286e10e08..d51ef39314b19 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CampaignBudgetExceededAction.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CampaignBudgetExceededAction.mdx @@ -2,6 +2,9 @@ import TypeList from "@site/src/components/TypeList" # CampaignBudgetExceededAction +This action indicates that the promotions within a campaign can no longer be used +as the campaign budget has been exceeded. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CampaignDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CampaignDTO.mdx index 04bc845903c85..e4a5a0cbc1db1 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CampaignDTO.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CampaignDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CampaignDTO +The campaign details. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionAdjustmentLine.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionAdjustmentLine.mdx index 3ad55822d9132..6d875a23fb099 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionAdjustmentLine.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionAdjustmentLine.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # ComputeActionAdjustmentLine +An action's adjustment line. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionContext.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionContext.mdx index a65d5db5a1fbb..c56167b5d197c 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionContext.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionContext.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # ComputeActionContext +The context provided when computing actions of promotions. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionItemLine.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionItemLine.mdx index 2051776d792d7..224e1145f6c0e 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionItemLine.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionItemLine.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # ComputeActionItemLine +A cart's line item passed in the context when computing actions. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionOptions.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionOptions.mdx index 07fc67471cde7..dc3cc65562b35 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionOptions.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionOptions.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # ComputeActionOptions +Options to configure how actions are computed. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionShippingLine.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionShippingLine.mdx index 76e07f9b324be..7567c986ce408 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionShippingLine.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.ComputeActionShippingLine.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # ComputeActionShippingLine +A cart's shipping method passed in the content when computing actions. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreateApplicationMethodDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreateApplicationMethodDTO.mdx index e38f2d015ce79..26c04e424fd6c 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreateApplicationMethodDTO.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreateApplicationMethodDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateApplicationMethodDTO +The application method to be created. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreateCampaignBudgetDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreateCampaignBudgetDTO.mdx index fe01bb229cdd4..edce91deffc6b 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreateCampaignBudgetDTO.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreateCampaignBudgetDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateCampaignBudgetDTO +The campaign budget to be created. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreateCampaignDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreateCampaignDTO.mdx index 49fc2059ee3f4..f344f7b003d3c 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreateCampaignDTO.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreateCampaignDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateCampaignDTO +The campaign to be created. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreatePromotionDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreatePromotionDTO.mdx index 1ea21ead7e029..071bc51eff5bd 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreatePromotionDTO.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreatePromotionDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreatePromotionDTO +The promotion to be created. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreatePromotionRuleDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreatePromotionRuleDTO.mdx index 6bd859b7e28d0..c4d81b83c44a2 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreatePromotionRuleDTO.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreatePromotionRuleDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreatePromotionRuleDTO +The promotion rule to be created. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreatePromotionRuleValueDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreatePromotionRuleValueDTO.mdx index 8706e4704716a..36ef876cf5134 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreatePromotionRuleValueDTO.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.CreatePromotionRuleValueDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreatePromotionRuleValueDTO +The promotion rule value to be created. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterableApplicationMethodProps.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterableApplicationMethodProps.mdx index 4745695260be5..c9b81f33f9318 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterableApplicationMethodProps.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterableApplicationMethodProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterableApplicationMethodProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved application methods. ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterableCampaignBudgetProps.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterableCampaignBudgetProps.mdx index 414333644832a..77efa35a17761 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterableCampaignBudgetProps.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterableCampaignBudgetProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterableCampaignBudgetProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved campaign budgets. ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterableCampaignProps.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterableCampaignProps.mdx index ac83aee9ea56b..f1a7348c22ed1 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterableCampaignProps.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterableCampaignProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterableCampaignProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved campaigns. ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterablePromotionProps.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterablePromotionProps.mdx index 1f1e97e935790..b053b745d8c05 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterablePromotionProps.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterablePromotionProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterablePromotionProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved promotions. ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterablePromotionRuleProps.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterablePromotionRuleProps.mdx index b35a2cd453c2e..463b2f3ff0361 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterablePromotionRuleProps.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterablePromotionRuleProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterablePromotionRuleProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved promotion rules. ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterablePromotionRuleValueProps.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterablePromotionRuleValueProps.mdx index cb682638dc21e..81eb2e6d91a87 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterablePromotionRuleValueProps.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.FilterablePromotionRuleValueProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterablePromotionRuleValueProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved promotion rule values. ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.IPromotionModuleService.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.IPromotionModuleService.mdx index 1fb2ba61a75af..7d116048a93cf 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.IPromotionModuleService.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.IPromotionModuleService.mdx @@ -2,332 +2,1015 @@ import TypeList from "@site/src/components/TypeList" # IPromotionModuleService +The main service interface for the Promotion Module. + ## Methods ### registerUsage +This method adjusts the budget for each campaign associated with the promotions' specified computed actions. +It adjusts the `used` property of a `CampaignBudget` to account for the adjustment amounts in the specified associated +computed actions. + +#### Example + +```ts +await promotionModuleService.registerUsage([ + { + action: "addItemAdjustment", + item_id: "cali_123", + amount: 50, + code: "50OFF", + }, + { + action: "addShippingMethodAdjustment", + shipping_method_id: "casm_123", + amount: 5000, + code: "FREESHIPPING", + }, +]) +``` + #### Parameters - + #### Returns - + ### computeActions +This method provides the actions to perform on a cart based on the specified promotions +and context. + +#### Example + +```ts +const actions = await promotionModuleService.computeActions( + ["50OFF"], + { + items: [ + { + id: "cali_123", + quantity: 2, + subtotal: 1000, + }, + ], + shipping_methods: [ + { + id: "casm_123", + subtotal: 0, + adjustments: [ + { + id: "adj_123", + code: "FREESHIPPING", + }, + ], + }, + ], + } +) +``` + #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="computeActions"/> +`","description":"Any relevant options that may change how the actions are computed.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="computeActions"/> #### Returns - + ### create `**create**(data, sharedContext?): Promise<[PromotionDTO](types.PromotionTypes.PromotionDTO.mdx)[]>` +This method creates promotions. + +#### Example + +```ts +const promotions = await promotionModuleService.create([ + { + code: "50OFF", + type: "standard", + application_method: { + type: "percentage", + target_type: "items", + value: 50, + }, + }, + { + code: "FREESHIPPING", + type: "standard", + application_method: { + type: "percentage", + target_type: "shipping_methods", + value: 100, + }, + }, + { + code: "BUY2GET1", + type: "buyget", + application_method: { + type: "fixed", + target_type: "items", + buy_rules_min_quantity: 2, + apply_to_quantity: 1, + buy_rules: [ + { + attribute: "SKU", + operator: "eq", + values: ["SHIRT"], + }, + ], + }, + }, +]) +``` + #### Parameters - + #### Returns - + `**create**(data, sharedContext?): Promise<[PromotionDTO](types.PromotionTypes.PromotionDTO.mdx)>` +This method creates a promotion. + +#### Example + +```ts +const promotionA = await promotionModuleService.create({ + code: "50OFF", + type: "standard", + application_method: { + type: "percentage", + target_type: "items", + value: 50, + }, +}) + +const promotionB = await promotionModuleService.create({ + code: "FREESHIPPING", + type: "standard", + application_method: { + type: "percentage", + target_type: "shipping_methods", + value: 100, + }, +}) + +const promotionC = await promotionModuleService.create({ + code: "BUY2GET1", + type: "buyget", + application_method: { + type: "fixed", + target_type: "items", + buy_rules_min_quantity: 2, + apply_to_quantity: 1, + buy_rules: [ + { + attribute: "SKU", + operator: "eq", + values: ["SHIRT"], + }, + ], + }, +}) +``` + #### Parameters - + #### Returns - + ### update `**update**(data, sharedContext?): Promise<[PromotionDTO](types.PromotionTypes.PromotionDTO.mdx)[]>` +This method updates existing promotions. + +#### Example + +```ts +const promotions = await promotionModuleService.update([ + { + id: "promo_123", + is_automatic: true, + }, +]) +``` + #### Parameters - + #### Returns - + `**update**(data, sharedContext?): Promise<[PromotionDTO](types.PromotionTypes.PromotionDTO.mdx)>` +This method updates an existing promotion. + +#### Example + +```ts +const promotion = await promotionModuleService.update({ + id: "promo_123", + is_automatic: true, +}) +``` + #### Parameters - + #### Returns - + ### list +This method retrieves a paginated list of promotions based on optional filters and configuration. + +#### Example + +To retrieve a list of promotions using their IDs: + +```ts +const promotions = await promotionModuleService.list({ + id: ["promo_123", "promo_321"], +}) +``` + +To specify relations that should be retrieved within the promotions: + +```ts +const promotions = await promotionModuleService.list( + { + id: ["promo_123", "promo_321"], + }, + { + relations: ["application_method"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const promotions = await promotionModuleService.list( + { + id: ["promo_123", "promo_321"], + }, + { + relations: ["application_method"], + take: 20, + skip: 2, + } +) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> #### Returns - + ### listAndCount +This method retrieves a paginated list of promotions along with the total count of available promotions satisfying the provided filters. + +#### Example + +To retrieve a list of promotions using their IDs: + +```ts +const [promotions, count] = + await promotionModuleService.listAndCount({ + id: ["promo_123", "promo_321"], + }) +``` + +To specify relations that should be retrieved within the promotions: + +```ts +const [promotions, count] = + await promotionModuleService.listAndCount( + { + id: ["promo_123", "promo_321"], + }, + { + relations: ["application_method"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [promotions, count] = + await promotionModuleService.listAndCount( + { + id: ["promo_123", "promo_321"], + }, + { + relations: ["application_method"], + take: 20, + skip: 2, + } + ) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> #### Returns - + ### retrieve +This method retrieves a promotion by its ID. + +#### Example + +A simple example that retrieves a promotion by its ID: + +```ts +const promotion = + await promotionModuleService.retrieve("promo_123") +``` + +To specify relations that should be retrieved: + +```ts +const promotion = await promotionModuleService.retrieve( + "promo_123", + { + relations: ["application_method"], + } +) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieve"/> #### Returns - + ### delete `**delete**(ids, sharedContext?): Promise<void>` +This method deletes promotions by their IDs. + +#### Example + +```ts +await promotionModuleService.delete([ + "promo_123", + "promo_321", +]) +``` + #### Parameters - + #### Returns - + `**delete**(ids, sharedContext?): Promise<void>` +This method deletes a promotion by its ID. + +#### Example + +```ts +await promotionModuleService.delete("promo_123") +``` + #### Parameters - + #### Returns - + ### softDelete +This method soft deletes a promotion by its IDs. + +#### Example + +```ts +await promotionModuleService.softDelete("promo_123") +``` + #### Type Parameters #### Parameters - + #### Returns -`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDelete"/> +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDelete"/> ### restore +This method restores soft deleted promotions by their IDs. + +#### Example + +```ts +await promotionModuleService.restore("promo_123") +``` + #### Type Parameters #### Parameters - + #### Returns -`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restore"/> +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restore"/> ### addPromotionRules +This method adds promotion rules to a promotion. + +#### Example + +```ts +const promotionRules = + await promotionModuleService.addPromotionRules( + "promo_123", + [ + { + attribute: "customer_group_id", + operator: "in", + values: ["VIP", "VVIP"], + }, + ] + ) +``` + #### Parameters - + #### Returns - + ### addPromotionTargetRules +This method adds target promotion rules to a promotion's application method. + +#### Example + +```ts +const targetPromotionRules = + await promotionModuleService.addPromotionTargetRules( + "promo_123", + [ + { + attribute: "SKU", + operator: "eq", + values: "SHIRT", + }, + ] + ) +``` + #### Parameters - + #### Returns - + ### addPromotionBuyRules +This method adds buy promotion rules to a promotion's application method. + +#### Example + +```ts +const buyPromotionRules = + await promotionModuleService.addPromotionBuyRules( + "promo_123", + [ + { + attribute: "SKU", + operator: "eq", + values: "SHIRT", + }, + ] + ) +``` + #### Parameters - + #### Returns - + ### removePromotionRules +This method removes promotion rules from a promotion. + +#### Example + +```ts +await promotionModuleService.removePromotionRules( + "promo_123", + ["prorul_123", "prorul_321"] +) +``` + #### Parameters - + #### Returns - + ### removePromotionTargetRules +This method removes target promotion rules from a promotion's application method. + +#### Example + +```ts +await promotionModuleService.removePromotionTargetRules( + "promo_123", + ["prorul_123", "prorul_321"] +) +``` + #### Parameters - + #### Returns - + ### removePromotionBuyRules +This method removes buy promotion rules from a promotion's application method. + +#### Example + +```ts +await promotionModuleService.removePromotionBuyRules( + "promo_123", + ["prorul_123", "prorul_321"] +) +``` + #### Parameters - + #### Returns - + ### createCampaigns `**createCampaigns**(data, sharedContext?): Promise<[CampaignDTO](types.PromotionTypes.CampaignDTO.mdx)>` +This method creates a campaign. + +#### Example + +```ts +const campaign = await promotionModuleService.createCampaigns( + { + name: "Summer discounts", + campaign_identifier: "G-123456", + starts_at: new Date("2025-06-01"), + ends_at: new Date("2025-09-01"), + budget: { + type: "usage", + limit: 10, + }, + } +) +``` + #### Parameters - + #### Returns - + `**createCampaigns**(data, sharedContext?): Promise<[CampaignDTO](types.PromotionTypes.CampaignDTO.mdx)[]>` +This method creates campaigns. + +#### Example + +```ts +const campaigns = + await promotionModuleService.createCampaigns([ + { + name: "Summer discounts", + campaign_identifier: "G-123456", + starts_at: new Date("2025-06-01"), + ends_at: new Date("2025-09-01"), + budget: { + type: "usage", + limit: 10, + }, + }, + ]) +``` + #### Parameters - + #### Returns - + ### updateCampaigns `**updateCampaigns**(data, sharedContext?): Promise<[CampaignDTO](types.PromotionTypes.CampaignDTO.mdx)[]>` +This method updates existing campaigns. + +#### Example + +```ts +const campaigns = + await promotionModuleService.updateCampaigns([ + { + id: "procamp_123", + name: "Summer Sales", + }, + ]) +``` + #### Parameters - + #### Returns - + `**updateCampaigns**(data, sharedContext?): Promise<[CampaignDTO](types.PromotionTypes.CampaignDTO.mdx)>` +This method updates an existing campaign. + +#### Example + +```ts +const campaigns = + await promotionModuleService.updateCampaigns({ + id: "procamp_123", + name: "Summer Sales", + }) +``` + +#### Parameters + + + +#### Returns + + + +### listPromotionRules + +This method retrieves a paginated list of promotion rules based on optional filters and configuration. + +#### Example + +To retrieve a list of promotion rules using their IDs: + +```ts +const promotionRules = + await promotionModuleService.listPromotionRules({ + id: ["prorul_123", "prorul_321"], + }) +``` + +To specify relations that should be retrieved within the promotion rules: + +```ts +const promotionRules = + await promotionModuleService.listPromotionRules( + { + id: ["prorul_123", "prorul_321"], + }, + { + relations: ["promotions"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const promotionRules = + await promotionModuleService.listPromotionRules( + { + id: ["prorul_123", "prorul_321"], + }, + { + relations: ["promotions"], + take: 20, + skip: 2, + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listPromotionRules"/> + +#### Returns + + + +### updatePromotionRules + +This method updates existing promotion rules. + +#### Example + +```ts +const promotionRules = + await promotionModuleService.updatePromotionRules([ + { + id: "prorul_123", + description: "Only allow VIP customers", + }, + ]) +``` + #### Parameters - + #### Returns - + ### listCampaigns +This method retrieves a paginated list of campaigns based on optional filters and configuration. + +#### Example + +To retrieve a list of campaigns using their IDs: + +```ts +const campaigns = await promotionModuleService.listCampaigns({ + id: ["procamp_123"], +}) +``` + +To specify relations that should be retrieved within the campaigns: + +```ts +const campaigns = await promotionModuleService.listCampaigns( + { + id: ["procamp_123"], + }, + { + relations: ["promotions"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const campaigns = await promotionModuleService.listCampaigns( + { + id: ["procamp_123"], + }, + { + relations: ["promotions"], + take: 20, + skip: 2, + } +) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listCampaigns"/> #### Returns - + ### listAndCountCampaigns +This method retrieves a paginated list of campaigns along with the total count of available campaigns satisfying the provided filters. + +#### Example + +To retrieve a list of campaigns using their IDs: + +```ts +const [campaigns, count] = + await promotionModuleService.listAndCountCampaigns({ + id: ["procamp_123"], + }) +``` + +To specify relations that should be retrieved within the campaigns: + +```ts +const [campaigns, count] = + await promotionModuleService.listAndCountCampaigns( + { + id: ["procamp_123"], + }, + { + relations: ["promotions"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [campaigns, count] = + await promotionModuleService.listAndCountCampaigns( + { + id: ["procamp_123"], + }, + { + relations: ["promotions"], + take: 20, + skip: 2, + } + ) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountCampaigns"/> #### Returns - + ### retrieveCampaign +This method retrieves a campaigns by its ID. + +#### Example + +A simple example that retrieves a promotion by its ID: + +```ts +const campaign = + await promotionModuleService.retrieveCampaign("procamp_123") +``` + +To specify relations that should be retrieved: + +```ts +const campaign = + await promotionModuleService.retrieveCampaign( + "procamp_123", + { + relations: ["promotions"], + } + ) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveCampaign"/> #### Returns - + ### deleteCampaigns `**deleteCampaigns**(ids, sharedContext?): Promise<void>` +This method deletes campaigns by their IDs. + +#### Example + +```ts +await promotionModuleService.deleteCampaigns(["procamp_123"]) +``` + #### Parameters - + #### Returns - + `**deleteCampaigns**(ids, sharedContext?): Promise<void>` +This method deletes a campaign by its ID. + +#### Example + +```ts +await promotionModuleService.deleteCampaigns("procamp_123") +``` + #### Parameters - + #### Returns - + ### softDeleteCampaigns +This method soft deletes campaigns by their IDs. + +#### Example + +```ts +await promotionModuleService.softDeleteCampaigns( + "procamp_123", + { + returnLinkableKeys: ["budget_id"], + } +) +``` + #### Type Parameters #### Parameters - + #### Returns -`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteCampaigns"/> +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteCampaigns"/> ### restoreCampaigns +This method restores soft deleted campaigns by their IDs. + +#### Example + +```ts +await promotionModuleService.restoreCampaigns("procamp_123", { + returnLinkableKeys: ["budget_id"], +}) +``` + #### Type Parameters #### Parameters - + #### Returns -`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreCampaigns"/> +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreCampaigns"/> diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.PromotionDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.PromotionDTO.mdx index 0b44f181ee238..e8d5186517b13 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.PromotionDTO.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.PromotionDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # PromotionDTO +The promotion details. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.PromotionRuleDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.PromotionRuleDTO.mdx index f4cb5add87cd5..1f01a4b05b02e 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.PromotionRuleDTO.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.PromotionRuleDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # PromotionRuleDTO +The promotion rule details. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.PromotionRuleTypes.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.PromotionRuleTypes.mdx new file mode 100644 index 0000000000000..131960149423b --- /dev/null +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.PromotionRuleTypes.mdx @@ -0,0 +1,5 @@ +import TypeList from "@site/src/components/TypeList" + +# PromotionRuleTypes + +The promotion rule's possible types. diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.PromotionRuleValueDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.PromotionRuleValueDTO.mdx index ad4f384eac171..9a09ba3b37be4 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.PromotionRuleValueDTO.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.PromotionRuleValueDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # PromotionRuleValueDTO +The promotion rule value details. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.RemoveItemAdjustmentAction.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.RemoveItemAdjustmentAction.mdx index 4652f7eef3627..d8386aface8a8 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.RemoveItemAdjustmentAction.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.RemoveItemAdjustmentAction.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # RemoveItemAdjustmentAction +This action indicates that an adjustment must be removed from a line item. For example, remove the $5 discount applied before. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.RemovePromotionRuleDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.RemovePromotionRuleDTO.mdx index 4ca7e71368b7a..81f1623e412f2 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.RemovePromotionRuleDTO.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.RemovePromotionRuleDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # RemovePromotionRuleDTO +The details required when removing a promotion rule. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.RemoveShippingMethodAdjustment.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.RemoveShippingMethodAdjustment.mdx index 2d59fea4d485b..eee32ca2d5517 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.RemoveShippingMethodAdjustment.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.RemoveShippingMethodAdjustment.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # RemoveShippingMethodAdjustment +This action indicates that an adjustment must be removed from a shipping method. For example, remove the free shipping discount applied before. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdateApplicationMethodDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdateApplicationMethodDTO.mdx index fa40793d0100e..ca48b1d910838 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdateApplicationMethodDTO.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdateApplicationMethodDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdateApplicationMethodDTO +The attributes to update in the application method. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdateCampaignBudgetDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdateCampaignBudgetDTO.mdx index d4b123b2e9ab5..08744adf52c74 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdateCampaignBudgetDTO.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdateCampaignBudgetDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdateCampaignBudgetDTO +The attributes to update in the campaign budget. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdateCampaignDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdateCampaignDTO.mdx index 0c0fa6bb8c8aa..5f6ec31214308 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdateCampaignDTO.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdateCampaignDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdateCampaignDTO +The attributes to update in the campaign. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdatePromotionDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdatePromotionDTO.mdx index ba30058e7bae7..5c9bd7a615e12 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdatePromotionDTO.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdatePromotionDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdatePromotionDTO +The attributes to update in the promotion. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdatePromotionRuleDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdatePromotionRuleDTO.mdx index cf12a63a7e3b8..dda4b31c8c80f 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdatePromotionRuleDTO.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdatePromotionRuleDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdatePromotionRuleDTO +The attributes to update in the promotion rule. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdatePromotionRuleValueDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdatePromotionRuleValueDTO.mdx index d3b484ba67ac6..42366751714ca 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdatePromotionRuleValueDTO.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/interfaces/types.PromotionTypes.UpdatePromotionRuleValueDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdatePromotionRuleValueDTO +The attributes to update in the promotion rule value. + ## Properties - + diff --git a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.AddPromotionRulesWorkflowDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.AddPromotionRulesWorkflowDTO.mdx new file mode 100644 index 0000000000000..6dfed23101d15 --- /dev/null +++ b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.AddPromotionRulesWorkflowDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# AddPromotionRulesWorkflowDTO + + **AddPromotionRulesWorkflowDTO**: `Object` + +## Properties + + diff --git a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.AdminGetPromotionRulesRes.mdx b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.AdminGetPromotionRulesRes.mdx new file mode 100644 index 0000000000000..f9a6f168ab931 --- /dev/null +++ b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.AdminGetPromotionRulesRes.mdx @@ -0,0 +1,5 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminGetPromotionRulesRes + + **AdminGetPromotionRulesRes**: `object`[] diff --git a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.ApplicationMethodAllocationValues.mdx b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.ApplicationMethodAllocationValues.mdx index 899855a2ee6aa..2267390de9ae2 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.ApplicationMethodAllocationValues.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.ApplicationMethodAllocationValues.mdx @@ -3,3 +3,5 @@ import TypeList from "@site/src/components/TypeList" # ApplicationMethodAllocationValues **ApplicationMethodAllocationValues**: `"each"` \| `"across"` + +The application method's possible allocation values. diff --git a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.ApplicationMethodTargetTypeValues.mdx b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.ApplicationMethodTargetTypeValues.mdx index 66900f8258ac2..f6243b0ed1bb6 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.ApplicationMethodTargetTypeValues.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.ApplicationMethodTargetTypeValues.mdx @@ -3,3 +3,5 @@ import TypeList from "@site/src/components/TypeList" # ApplicationMethodTargetTypeValues **ApplicationMethodTargetTypeValues**: `"order"` \| `"shipping_methods"` \| `"items"` + +The application method's possible target types. diff --git a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.ApplicationMethodTypeValues.mdx b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.ApplicationMethodTypeValues.mdx index ff9863e5551f2..b1c7bcc895906 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.ApplicationMethodTypeValues.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.ApplicationMethodTypeValues.mdx @@ -3,3 +3,5 @@ import TypeList from "@site/src/components/TypeList" # ApplicationMethodTypeValues **ApplicationMethodTypeValues**: `"fixed"` \| `"percentage"` + +The application method's possible types. diff --git a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.CampaignBudgetTypeValues.mdx b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.CampaignBudgetTypeValues.mdx index 00f14d78755ba..78586aedc336c 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.CampaignBudgetTypeValues.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.CampaignBudgetTypeValues.mdx @@ -3,3 +3,5 @@ import TypeList from "@site/src/components/TypeList" # CampaignBudgetTypeValues **CampaignBudgetTypeValues**: `"spend"` \| `"usage"` + +The campaign budget's possible types. diff --git a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.ComputeActions.mdx b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.ComputeActions.mdx index dac33c2b03a09..0da3ec49565ce 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.ComputeActions.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.ComputeActions.mdx @@ -3,3 +3,5 @@ import TypeList from "@site/src/components/TypeList" # ComputeActions **ComputeActions**: [AddItemAdjustmentAction](../interfaces/types.PromotionTypes.AddItemAdjustmentAction.mdx) \| [RemoveItemAdjustmentAction](../interfaces/types.PromotionTypes.RemoveItemAdjustmentAction.mdx) \| [AddShippingMethodAdjustment](../interfaces/types.PromotionTypes.AddShippingMethodAdjustment.mdx) \| [RemoveShippingMethodAdjustment](../interfaces/types.PromotionTypes.RemoveShippingMethodAdjustment.mdx) \| [CampaignBudgetExceededAction](../interfaces/types.PromotionTypes.CampaignBudgetExceededAction.mdx) + +A compute action informs you what adjustment must be made to a cart item or shipping method. diff --git a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.PromotionRuleOperatorValues.mdx b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.PromotionRuleOperatorValues.mdx index ddcbbe90fa78b..4f8636fb1bdf4 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.PromotionRuleOperatorValues.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.PromotionRuleOperatorValues.mdx @@ -3,3 +3,5 @@ import TypeList from "@site/src/components/TypeList" # PromotionRuleOperatorValues **PromotionRuleOperatorValues**: `"gt"` \| `"lt"` \| `"eq"` \| `"ne"` \| `"in"` \| `"lte"` \| `"gte"` + +The possible operators to use in a promotion rule. diff --git a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.PromotionTypeValues.mdx b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.PromotionTypeValues.mdx index c8e576370d05b..f3c4a6b64452c 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.PromotionTypeValues.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.PromotionTypeValues.mdx @@ -3,3 +3,5 @@ import TypeList from "@site/src/components/TypeList" # PromotionTypeValues **PromotionTypeValues**: `"standard"` \| `"buyget"` + +The promotion's possible types. diff --git a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.RemovePromotionRulesWorkflowDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.RemovePromotionRulesWorkflowDTO.mdx new file mode 100644 index 0000000000000..208ab4cd4728b --- /dev/null +++ b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.RemovePromotionRulesWorkflowDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# RemovePromotionRulesWorkflowDTO + + **RemovePromotionRulesWorkflowDTO**: `Object` + +## Properties + + diff --git a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.UpdatePromotionRulesWorkflowDTO.mdx b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.UpdatePromotionRulesWorkflowDTO.mdx new file mode 100644 index 0000000000000..30006b59144c8 --- /dev/null +++ b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.UpdatePromotionRulesWorkflowDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdatePromotionRulesWorkflowDTO + + **UpdatePromotionRulesWorkflowDTO**: `Object` + +## Properties + + diff --git a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.UsageComputedActions.mdx b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.UsageComputedActions.mdx index cc234400d443d..a680462e5bd45 100644 --- a/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.UsageComputedActions.mdx +++ b/www/apps/docs/content/references/types/PromotionTypes/types/types.PromotionTypes.UsageComputedActions.mdx @@ -3,3 +3,5 @@ import TypeList from "@site/src/components/TypeList" # UsageComputedActions **UsageComputedActions**: [AddShippingMethodAdjustment](../interfaces/types.PromotionTypes.AddShippingMethodAdjustment.mdx) \| [AddItemAdjustmentAction](../interfaces/types.PromotionTypes.AddItemAdjustmentAction.mdx) + +These computed action types can affect a campaign's budget. diff --git a/www/apps/docs/content/references/types/RegionTypes/interfaces/types.RegionTypes.RegionDTO__legacy.mdx b/www/apps/docs/content/references/types/RegionTypes/interfaces/types.RegionTypes.RegionDTO__legacy.mdx new file mode 100644 index 0000000000000..f1a88088971c7 --- /dev/null +++ b/www/apps/docs/content/references/types/RegionTypes/interfaces/types.RegionTypes.RegionDTO__legacy.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# RegionDTO\_\_legacy + +The details of a legacy region. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"Whether prices include taxes in the region.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="RegionDTO__legacy"/> diff --git a/www/apps/docs/content/references/types/RegionTypes/types/types.RegionTypes.RegionDTO__legacy.mdx b/www/apps/docs/content/references/types/RegionTypes/types/types.RegionTypes.RegionDTO__legacy.mdx deleted file mode 100644 index 616a62c4561b1..0000000000000 --- a/www/apps/docs/content/references/types/RegionTypes/types/types.RegionTypes.RegionDTO__legacy.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# RegionDTO\_\_legacy - - **RegionDTO\_\_legacy**: `Object` - -## Properties - -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"includes_tax","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="RegionDTO__legacy"/> diff --git a/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.CreateSalesChannelDTO.mdx b/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.CreateSalesChannelDTO.mdx index 7293880b118d3..7ed1b4f861eb7 100644 --- a/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.CreateSalesChannelDTO.mdx +++ b/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.CreateSalesChannelDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateSalesChannelDTO +The sales channel to be created. + ## Properties - + diff --git a/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.FilterableSalesChannelProps.mdx b/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.FilterableSalesChannelProps.mdx index bba3de749e0e2..ee59d421223db 100644 --- a/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.FilterableSalesChannelProps.mdx +++ b/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.FilterableSalesChannelProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterableSalesChannelProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved sales channel. ## Properties - + diff --git a/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.ISalesChannelModuleService.mdx b/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.ISalesChannelModuleService.mdx index efb71221262f1..2f08e9f6fb09e 100644 --- a/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.ISalesChannelModuleService.mdx +++ b/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.ISalesChannelModuleService.mdx @@ -2,128 +2,323 @@ import TypeList from "@site/src/components/TypeList" # ISalesChannelModuleService +The main service interface for the Sales Channel Module. + ## Methods ### create `**create**(data, sharedContext?): Promise<[SalesChannelDTO](types.SalesChannelTypes.SalesChannelDTO.mdx)[]>` +This method creates sales channels. + +#### Example + +```ts +const salesChannels = await salesChannelModuleService.create([ + { + name: "B2B", + }, +]) +``` + #### Parameters - + #### Returns - + `**create**(data, sharedContext?): Promise<[SalesChannelDTO](types.SalesChannelTypes.SalesChannelDTO.mdx)>` +This method creates a sales channel. + +#### Example + +```ts +const salesChannel = await salesChannelModuleService.create({ + name: "B2B", +}) +``` + #### Parameters - + #### Returns -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](types.SalesChannelTypes.SalesChannelLocationDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](types.SalesChannelTypes.SalesChannelDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="create"/> +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](types.SalesChannelTypes.SalesChannelLocationDTO.mdx)[]","description":"The locations of the sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"The associated sales channel's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](types.SalesChannelTypes.SalesChannelDTO.mdx)","description":"The associated sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="create"/> ### update -`**update**(data, sharedContext?): Promise<[SalesChannelDTO](types.SalesChannelTypes.SalesChannelDTO.mdx)[]>` +`**update**(channelId, data, sharedContext?): Promise<[SalesChannelDTO](types.SalesChannelTypes.SalesChannelDTO.mdx)>` + +This method updates an existing sales channel. + +#### Example + +```ts +const salesChannel = await salesChannelModuleService.update( + "sc_123", + { + description: "Sales channel for B2B customers", + } +) +``` #### Parameters - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> #### Returns - +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](types.SalesChannelTypes.SalesChannelLocationDTO.mdx)[]","description":"The locations of the sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"The associated sales channel's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](types.SalesChannelTypes.SalesChannelDTO.mdx)","description":"The associated sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="update"/> + +`**update**(selector, data, sharedContext?): Promise<[SalesChannelDTO](types.SalesChannelTypes.SalesChannelDTO.mdx)[]>` + +This method updates existing sales channels matching the specified filters -`**update**(data, sharedContext?): Promise<[SalesChannelDTO](types.SalesChannelTypes.SalesChannelDTO.mdx)>` +#### Example + +```ts +const salesChannels = await salesChannelModuleService.update( + { + name: "B2B", + }, + { + description: "Sales channel for B2B customers", + } +) +``` #### Parameters - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> #### Returns -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](types.SalesChannelTypes.SalesChannelLocationDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](types.SalesChannelTypes.SalesChannelDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="update"/> + + +### upsert + +`**upsert**(data, sharedContext?): Promise<[SalesChannelDTO](types.SalesChannelTypes.SalesChannelDTO.mdx)>` + +This method updates or creates a sales channel if it doesn't exist. + +#### Example + +```ts +const salesChannel = await salesChannelModuleService.upsert({ + name: "B2B", +}) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsert"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](types.SalesChannelTypes.SalesChannelLocationDTO.mdx)[]","description":"The locations of the sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"The associated sales channel's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](types.SalesChannelTypes.SalesChannelDTO.mdx)","description":"The associated sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="upsert"/> + +`**upsert**(data, sharedContext?): Promise<[SalesChannelDTO](types.SalesChannelTypes.SalesChannelDTO.mdx)[]>` + +This method updates or creates sales channels if they don't exist. + +#### Example + +```ts +const salesChannels = await salesChannelModuleService.upsert([ + { + name: "B2B", + }, + { + id: "sc_123", + description: "Sales channel for B2B customers", + }, +]) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsert"/> + +#### Returns + + ### delete `**delete**(ids, sharedContext?): Promise<void>` +This method deletes sales channel by their IDs. + +#### Example + +```ts +await salesChannelModuleService.delete(["sc_123", "sc_321"]) +``` + #### Parameters - + #### Returns - + `**delete**(id, sharedContext?): Promise<void>` +This method deletes a sales channel by its ID. + +#### Example + +```ts +await salesChannelModuleService.delete("sc_123") +``` + #### Parameters - + #### Returns - + ### retrieve +This method retrieves a sales channel by its ID. + +#### Example + +```ts +const salesChannel = + await salesChannelModuleService.retrieve("sc_123") +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieve"/> #### Returns -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](types.SalesChannelTypes.SalesChannelLocationDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](types.SalesChannelTypes.SalesChannelDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="retrieve"/> +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](types.SalesChannelTypes.SalesChannelLocationDTO.mdx)[]","description":"The locations of the sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"The associated sales channel's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](types.SalesChannelTypes.SalesChannelDTO.mdx)","description":"The associated sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="retrieve"/> ### list +This method retrieves a paginated list of sales channels based on optional filters and configuration. + +#### Example + +To retrieve a list of sales channels using their IDs: + +```ts +const salesChannels = await salesChannelModuleService.list({ + id: ["sc_123", "sc_321"], +}) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const salesChannels = await salesChannelModuleService.list( + { + id: ["sc_123", "sc_321"], + }, + { + take: 20, + skip: 2, + } +) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> #### Returns - + ### listAndCount +This method retrieves a paginated list of sales channels along with the total count of available sales channels satisfying the provided filters. + +#### Example + +To retrieve a list of sales channels using their IDs: + +```ts +const [salesChannels, count] = + await salesChannelModuleService.listAndCount({ + id: ["sc_123", "sc_321"], + }) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [salesChannels, count] = + await salesChannelModuleService.listAndCount( + { + id: ["sc_123", "sc_321"], + }, + { + take: 20, + skip: 2, + } + ) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> #### Returns - + ### softDelete +This method soft deletes sales channels by their IDs. + +#### Example + +```ts +await salesChannelModuleService.delete(["sc_123", "sc_321"]) +``` + #### Type Parameters #### Parameters - + #### Returns -`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDelete"/> +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDelete"/> ### restore +This method restores a soft deleted sales channel by its IDs. + +#### Example + +```ts +await salesChannelModuleService.restore(["sc_123", "sc_321"]) +``` + #### Type Parameters #### Parameters - + #### Returns -`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restore"/> +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restore"/> diff --git a/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.SalesChannelDTO.mdx b/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.SalesChannelDTO.mdx index c47db8e9ad5ed..65c10f11eeaef 100644 --- a/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.SalesChannelDTO.mdx +++ b/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.SalesChannelDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # SalesChannelDTO +The sales channel details. + ## Properties -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](types.SalesChannelTypes.SalesChannelLocationDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](types.SalesChannelTypes.SalesChannelDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_disabled","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](types.SalesChannelTypes.SalesChannelLocationDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="SalesChannelDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](types.SalesChannelTypes.SalesChannelLocationDTO.mdx)[]","description":"The locations of the sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"The associated sales channel's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](types.SalesChannelTypes.SalesChannelDTO.mdx)","description":"The associated sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_disabled","type":"`boolean`","description":"Whether the sales channel is disabled.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](types.SalesChannelTypes.SalesChannelLocationDTO.mdx)[]","description":"The locations of the sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="SalesChannelDTO"/> diff --git a/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.SalesChannelLocationDTO.mdx b/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.SalesChannelLocationDTO.mdx index 83098ce49b34f..a92517103e38d 100644 --- a/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.SalesChannelLocationDTO.mdx +++ b/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.SalesChannelLocationDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # SalesChannelLocationDTO +The sales channel location details. + ## Properties -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](types.SalesChannelTypes.SalesChannelLocationDTO.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](types.SalesChannelTypes.SalesChannelDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="SalesChannelLocationDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"locations","type":"[SalesChannelLocationDTO](types.SalesChannelTypes.SalesChannelLocationDTO.mdx)[]","description":"The locations of the sales channel.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"sales_channel_id","type":"`string`","description":"The associated sales channel's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"location_id","type":"`string`","description":"The associated location's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sales_channel","type":"[SalesChannelDTO](types.SalesChannelTypes.SalesChannelDTO.mdx)","description":"The associated sales channel.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="SalesChannelLocationDTO"/> diff --git a/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.UpdateSalesChannelDTO.mdx b/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.UpdateSalesChannelDTO.mdx index d4aef5ded2376..6722b79cae669 100644 --- a/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.UpdateSalesChannelDTO.mdx +++ b/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.UpdateSalesChannelDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdateSalesChannelDTO +The attributes to update in the sales channel. + ## Properties - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateSalesChannelDTO"/> diff --git a/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.UpsertSalesChannelDTO.mdx b/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.UpsertSalesChannelDTO.mdx new file mode 100644 index 0000000000000..d8aeae75ecd9a --- /dev/null +++ b/www/apps/docs/content/references/types/SalesChannelTypes/interfaces/types.SalesChannelTypes.UpsertSalesChannelDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpsertSalesChannelDTO + +The attributes in the sales channel to be created or updated. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpsertSalesChannelDTO"/> diff --git a/www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.CreateStoreDTO.mdx b/www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.CreateStoreDTO.mdx new file mode 100644 index 0000000000000..debca6a4fc66d --- /dev/null +++ b/www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.CreateStoreDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateStoreDTO + +The store to be created. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateStoreDTO"/> diff --git a/www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.FilterableStoreProps.mdx b/www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.FilterableStoreProps.mdx new file mode 100644 index 0000000000000..65b29ffd14485 --- /dev/null +++ b/www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.FilterableStoreProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableStoreProps + +The filters to apply on the retrieved stores. + +## Properties + + diff --git a/www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.IStoreModuleService.mdx b/www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.IStoreModuleService.mdx new file mode 100644 index 0000000000000..29b4b62113fb0 --- /dev/null +++ b/www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.IStoreModuleService.mdx @@ -0,0 +1,335 @@ +import TypeList from "@site/src/components/TypeList" + +# IStoreModuleService + +The main service interface for the Store Module. + +## Methods + +### create + +`**create**(data, sharedContext?): Promise<[StoreDTO](types.StoreTypes.StoreDTO.mdx)[]>` + +This method creates stores. + +#### Example + +```ts +const stores = await storeModuleService.create([ + { + name: "Acme", + supported_currency_codes: ["usd", "eur"], + default_currency_code: "usd", + }, + { + name: "Acme 2", + supported_currency_codes: ["usd"], + default_currency_code: "usd", + }, +]) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> + +#### Returns + + + +`**create**(data, sharedContext?): Promise<[StoreDTO](types.StoreTypes.StoreDTO.mdx)>` + +This method creates a store. + +#### Example + +```ts +const store = await storeModuleService.create({ + name: "Acme", + supported_currency_codes: ["usd", "eur"], + default_currency_code: "usd", +}) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"The created at of the store.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"The updated at of the store.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_currency_code","type":"`string`","description":"The default currency code of the store.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_sales_channel_id","type":"`string`","description":"The associated default sales channel's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_region_id","type":"`string`","description":"The associated default region's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_location_id","type":"`string`","description":"The associated default location's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="create"/> + +### upsert + +`**upsert**(data, sharedContext?): Promise<[StoreDTO](types.StoreTypes.StoreDTO.mdx)[]>` + +This method updates or creates stores if they don't exist. + +#### Example + +```ts +const stores = await storeModuleService.upsert([ + { + id: "store_123", + name: "Acme", + }, + { + name: "Acme 2", + supported_currency_codes: ["usd"], + default_currency_code: "usd", + }, +]) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsert"/> + +#### Returns + + + +`**upsert**(data, sharedContext?): Promise<[StoreDTO](types.StoreTypes.StoreDTO.mdx)>` + +This method updates or creates a store if it doesn't exist. + +#### Example + +```ts +const store = await storeModuleService.upsert({ + id: "store_123", + name: "Acme", +}) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsert"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"The created at of the store.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"The updated at of the store.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_currency_code","type":"`string`","description":"The default currency code of the store.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_sales_channel_id","type":"`string`","description":"The associated default sales channel's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_region_id","type":"`string`","description":"The associated default region's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_location_id","type":"`string`","description":"The associated default location's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="upsert"/> + +### update + +`**update**(id, data, sharedContext?): Promise<[StoreDTO](types.StoreTypes.StoreDTO.mdx)>` + +This method updates an existing store. + +#### Example + +```ts +const store = await storeModuleService.update("store_123", { + name: "Acme", +}) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"The created at of the store.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"The updated at of the store.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_currency_code","type":"`string`","description":"The default currency code of the store.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_sales_channel_id","type":"`string`","description":"The associated default sales channel's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_region_id","type":"`string`","description":"The associated default region's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_location_id","type":"`string`","description":"The associated default location's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="update"/> + +`**update**(selector, data, sharedContext?): Promise<[StoreDTO](types.StoreTypes.StoreDTO.mdx)[]>` + +This method updates existing stores matching the specified filters. + +#### Example + +```ts +const store = await storeModuleService.update( + { + name: ["Acme"], + }, + { + default_currency_code: "usd", + } +) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> + +#### Returns + + + +### delete + +`**delete**(ids, sharedContext?): Promise<void>` + +This method deletes stores by their IDs. + +#### Example + +```ts +await storeModuleService.delete(["store_123", "store_321"]) +``` + +#### Parameters + + + +#### Returns + + + +`**delete**(id, sharedContext?): Promise<void>` + +This method deletes a store by its ID. + +#### Example + +```ts +await storeModuleService.delete("store_123") +``` + +#### Parameters + + + +#### Returns + + + +### retrieve + +This method retrieves a store by its ID. + +#### Example + +```ts +const store = await storeModuleService.retrieve("store_123") +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieve"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"The created at of the store.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"The updated at of the store.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_currency_code","type":"`string`","description":"The default currency code of the store.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_sales_channel_id","type":"`string`","description":"The associated default sales channel's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_region_id","type":"`string`","description":"The associated default region's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_location_id","type":"`string`","description":"The associated default location's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieve"/> + +### list + +This method retrieves a paginated list of stores based on optional filters and configuration. + +#### Example + +To retrieve a list of stores using their IDs: + +```ts +const stores = await storeModuleService.list({ + id: ["store_123", "store_321"], +}) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const stores = await storeModuleService.list( + { + id: ["store_123", "store_321"], + }, + { + take: 20, + skip: 2, + } +) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> + +#### Returns + + + +### listAndCount + +This method retrieves a paginated list of stores along with the total count of available stores satisfying the provided filters. + +#### Example + +To retrieve a list of stores using their IDs: + +```ts +const [stores, count] = await storeModuleService.listAndCount( + { + id: ["store_123", "store_321"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [stores, count] = await storeModuleService.listAndCount( + { + id: ["store_123", "store_321"], + }, + { + take: 20, + skip: 2, + } +) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> + +#### Returns + + + +### softDelete + +This method soft deletes a store by its IDs. + +#### Example + +```ts +await storeModuleService.softDelete([ + "store_123", + "store_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDelete"/> + +### restore + +This method restores a soft deleted store by its IDs. + +#### Example + +```ts +await storeModuleService.restore(["store_123", "store_321"]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restore"/> diff --git a/www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.StoreDTO.mdx b/www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.StoreDTO.mdx new file mode 100644 index 0000000000000..ee0f1e8be2918 --- /dev/null +++ b/www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.StoreDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# StoreDTO + +The store details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"The created at of the store.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"The updated at of the store.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_currency_code","type":"`string`","description":"The default currency code of the store.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_sales_channel_id","type":"`string`","description":"The associated default sales channel's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_region_id","type":"`string`","description":"The associated default region's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_location_id","type":"`string`","description":"The associated default location's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="StoreDTO"/> diff --git a/www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.UpdateStoreDTO.mdx b/www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.UpdateStoreDTO.mdx new file mode 100644 index 0000000000000..fb53949f9f891 --- /dev/null +++ b/www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.UpdateStoreDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateStoreDTO + +The attributes to update in the store. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateStoreDTO"/> diff --git a/www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.UpsertStoreDTO.mdx b/www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.UpsertStoreDTO.mdx new file mode 100644 index 0000000000000..5328091b722ad --- /dev/null +++ b/www/apps/docs/content/references/types/StoreTypes/interfaces/types.StoreTypes.UpsertStoreDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpsertStoreDTO + +The attributes in the store to be created or updated. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpsertStoreDTO"/> diff --git a/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.CreateTaxRateDTO.mdx b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.CreateTaxRateDTO.mdx new file mode 100644 index 0000000000000..0e6b71efde4da --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.CreateTaxRateDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateTaxRateDTO + +The tax rate to be created. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate rule. For example, the ID of the\nuser that created it.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"is_default","type":"`boolean`","description":"Whether the tax rate is default.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the tax rate. For example, the ID of the user\nthat created the tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateTaxRateDTO"/> diff --git a/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.CreateTaxRateRuleDTO.mdx b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.CreateTaxRateRuleDTO.mdx new file mode 100644 index 0000000000000..35fe92e35b786 --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.CreateTaxRateRuleDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateTaxRateRuleDTO + +The tax rate rule to be created. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate rule. For example, the ID of the\nuser that created it.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateTaxRateRuleDTO"/> diff --git a/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.CreateTaxRegionDTO.mdx b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.CreateTaxRegionDTO.mdx new file mode 100644 index 0000000000000..5058cb8d12de3 --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.CreateTaxRegionDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateTaxRegionDTO + +The tax region to be created. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the tax region. For example, the ID of\nthe user that created the tax region.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_tax_rate","type":"`object`","description":"The default tax rate of the tax region.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"The name of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`null` \\| `number`","description":"The rate to charge.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"The code of the tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"default_tax_rate.rate","type":"`null` \\| `number`","description":"The rate to charge.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_tax_rate.code","type":"`null` \\| `string`","description":"The code of the tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_tax_rate.metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateTaxRegionDTO"/> diff --git a/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.FilterableTaxRateProps.mdx b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.FilterableTaxRateProps.mdx new file mode 100644 index 0000000000000..0afc293a3fb9f --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.FilterableTaxRateProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableTaxRateProps + +The filters to apply on the retrieved tax rates. + +## Properties + + diff --git a/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.FilterableTaxRateRuleProps.mdx b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.FilterableTaxRateRuleProps.mdx new file mode 100644 index 0000000000000..d340125d35fbf --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.FilterableTaxRateRuleProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableTaxRateRuleProps + +The filters to apply on the retrieved tax rate rules. + +## Properties + +` \\| [OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<Record<string, unknown>> \\| `Record`[]","description":"Filter the tax rate rule by what its metadata.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter the tax rate rule by its creation date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter the tax rate rule by its update date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_by","type":"`string` \\| `string`[] \\| [OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter the tax rate rule by who created it.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FilterableTaxRateRuleProps"/> diff --git a/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.FilterableTaxRegionProps.mdx b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.FilterableTaxRegionProps.mdx new file mode 100644 index 0000000000000..a9fae911cd540 --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.FilterableTaxRegionProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableTaxRegionProps + +The filters to apply on the retrieved tax regions. + +## Properties + +` \\| [OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<Record<string, unknown>> \\| `Record`[]","description":"Filter the tax regions by their metadata.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter the tax regions by their creation date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter the tax regions by their update date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_by","type":"`string` \\| `string`[] \\| [OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter the tax regions by who created it.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="FilterableTaxRegionProps"/> diff --git a/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.ITaxModuleService.mdx b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.ITaxModuleService.mdx new file mode 100644 index 0000000000000..d79ea91c0a9a9 --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.ITaxModuleService.mdx @@ -0,0 +1,822 @@ +import TypeList from "@site/src/components/TypeList" + +# ITaxModuleService + +The main service interface for the Tax Module. + +## Methods + +### retrieve + +This method retrieves a tax by its ID. + +#### Example + +A simple example that retrieves a tax rate by its ID: + +```ts +const taxRate = await taxModuleService.retrieve("txr_123") +``` + +To specify relations that should be retrieved: + +```ts +const taxRate = await taxModuleService.retrieve("txr_123", { + relations: ["tax_region"], +}) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieve"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"The ID of the associated tax region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"Whether the tax rate should be combined with parent rates.\n\nLearn more [here](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#combinable-tax-rates).","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"Whether the tax rate is the default rate for the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate. For example, the ID of the user that created the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieve"/> + +### list + +This method retrieves a paginated list of tax rates based on optional filters and configuration. + +#### Example + +To retrieve a list of tax rates using their IDs: + +```ts +const taxRates = await taxModuleService.list({ + id: ["txr_123", "txr_321"], +}) +``` + +To specify relations that should be retrieved within the tax rate: + +```ts +const taxRates = await taxModuleService.list( + { + id: ["txr_123", "txr_321"], + }, + { + relations: ["tax_region"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const taxRates = await taxModuleService.list( + { + id: ["txr_123", "txr_321"], + }, + { + relations: ["tax_region"], + take: 20, + skip: 2, + } +) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> + +#### Returns + + + +### listAndCount + +This method retrieves a paginated list of tax rates along with the total count of available tax rates satisfying the provided filters. + +#### Example + +To retrieve a list of tax rates using their IDs: + +```ts +const [taxRates, count] = await taxModuleService.listAndCount( + { + id: ["txr_123", "txr_321"], + } +) +``` + +To specify relations that should be retrieved within the tax rate: + +```ts +const [taxRates, count] = await taxModuleService.listAndCount( + { + id: ["txr_123", "txr_321"], + }, + { + relations: ["tax_region"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [taxRates, count] = await taxModuleService.listAndCount( + { + id: ["txr_123", "txr_321"], + }, + { + relations: ["tax_region"], + take: 20, + skip: 2, + } +) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> + +#### Returns + + + +### create + +`**create**(data, sharedContext?): Promise<[TaxRateDTO](types.TaxTypes.TaxRateDTO.mdx)[]>` + +This method creates tax rates. + +#### Example + +```ts +const taxRates = await taxModuleService.create([ + { + tax_region_id: "txreg_123", + name: "Default rate", + rate: 10, + }, + { + tax_region_id: "txreg_123", + name: "Custom rate", + rate: 15, + rules: [ + { + reference: "product_type", + reference_id: "ptyp_1", + }, + { + reference: "product", + reference_id: "prod_123", + }, + ], + }, +]) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate rule. For example, the ID of the\nuser that created it.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"is_default","type":"`boolean`","description":"Whether the tax rate is default.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the tax rate. For example, the ID of the user\nthat created the tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> + +#### Returns + + + +`**create**(data, sharedContext?): Promise<[TaxRateDTO](types.TaxTypes.TaxRateDTO.mdx)>` + +This method creates a tax rate. + +#### Example + +```ts +const taxRate = await taxModuleService.create({ + tax_region_id: "txreg_123", + name: "Default rate", + rate: 10, +}) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate rule. For example, the ID of the\nuser that created it.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"is_default","type":"`boolean`","description":"Whether the tax rate is default.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the tax rate. For example, the ID of the user\nthat created the tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"The ID of the associated tax region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"Whether the tax rate should be combined with parent rates.\n\nLearn more [here](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#combinable-tax-rates).","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"Whether the tax rate is the default rate for the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate. For example, the ID of the user that created the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="create"/> + +### update + +`**update**(taxRateId, data, sharedContext?): Promise<[TaxRateDTO](types.TaxTypes.TaxRateDTO.mdx)>` + +This method updates an existing tax rate. + +#### Example + +```ts +const taxRate = await taxModuleService.update("txr_123", { + rate: 10, +}) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate rule. For example, the ID of the\nuser that created it.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"is_default","type":"`boolean`","description":"Whether the tax rate is default.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"Whether the tax rate is combinable.\n\nLearn more [here](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#combinable-tax-rates).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"The ID of the associated tax region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"Whether the tax rate should be combined with parent rates.\n\nLearn more [here](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#combinable-tax-rates).","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"Whether the tax rate is the default rate for the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate. For example, the ID of the user that created the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="update"/> + +`**update**(taxRateIds, data, sharedContext?): Promise<[TaxRateDTO](types.TaxTypes.TaxRateDTO.mdx)[]>` + +This method updates existing tax rates. + +#### Example + +```ts +const taxRates = await taxModuleService.update( + ["txr_123", "txr_321"], + { + rate: 10, + } +) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate rule. For example, the ID of the\nuser that created it.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"is_default","type":"`boolean`","description":"Whether the tax rate is default.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"Whether the tax rate is combinable.\n\nLearn more [here](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#combinable-tax-rates).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> + +#### Returns + + + +`**update**(selector, data, sharedContext?): Promise<[TaxRateDTO](types.TaxTypes.TaxRateDTO.mdx)[]>` + +This method updates existing tax rates matching the specified filters. + +#### Example + +```ts +const taxRates = await taxModuleService.update( + { + id: ["txr_123", "txr_321"], + }, + { + rate: 10, + } +) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate rule. For example, the ID of the\nuser that created it.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"is_default","type":"`boolean`","description":"Whether the tax rate is default.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"Whether the tax rate is combinable.\n\nLearn more [here](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#combinable-tax-rates).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> + +#### Returns + + + +### upsert + +`**upsert**(data, sharedContext?): Promise<[TaxRateDTO](types.TaxTypes.TaxRateDTO.mdx)>` + +This method updates or creates a tax rate if it doesn't exist. + +#### Example + +```ts +const taxRate = await taxModuleService.upsert({ + id: "txr_123", + rate: 10, +}) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsert"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"The ID of the associated tax region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"Whether the tax rate should be combined with parent rates.\n\nLearn more [here](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#combinable-tax-rates).","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"Whether the tax rate is the default rate for the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate. For example, the ID of the user that created the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="upsert"/> + +`**upsert**(data, sharedContext?): Promise<[TaxRateDTO](types.TaxTypes.TaxRateDTO.mdx)[]>` + +This method updates or creates tax rates if they don't exist. + +#### Example + +```ts +const taxRates = await taxModuleService.upsert([ + { + id: "txr_123", + rate: 10, + }, +]) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsert"/> + +#### Returns + + + +### delete + +`**delete**(taxRateIds, sharedContext?): Promise<void>` + +This method deletes tax rates by their IDs. + +#### Example + +```ts +await taxModuleService.delete(["txr_123", "txr_321"]) +``` + +#### Parameters + + + +#### Returns + + + +`**delete**(taxRateId, sharedContext?): Promise<void>` + +This method deletes a tax rate by its ID. + +#### Example + +```ts +await taxModuleService.delete("txr_123") +``` + +#### Parameters + + + +#### Returns + + + +### restore + +This method restores soft deleted tax rates by their IDs. + +#### Example + +```ts +await taxModuleService.restore(["txr_123", "txr_321"]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restore"/> + +### createTaxRegions + +`**createTaxRegions**(data, sharedContext?): Promise<[TaxRegionDTO](types.TaxTypes.TaxRegionDTO.mdx)>` + +This method creates a tax region. + +#### Example + +```ts +const taxRegion = await taxModuleService.createTaxRegions({ + country_code: "us", +}) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the tax region. For example, the ID of\nthe user that created the tax region.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_tax_rate","type":"`object`","description":"The default tax rate of the tax region.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"The name of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`null` \\| `number`","description":"The rate to charge.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"The code of the tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createTaxRegions"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the tax region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the tax region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax region. For example, the ID of the user\nthat created the tax region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the tax region.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createTaxRegions"/> + +`**createTaxRegions**(data, sharedContext?): Promise<[TaxRegionDTO](types.TaxTypes.TaxRegionDTO.mdx)[]>` + +This method creates tax regions. + +#### Example + +```ts +const taxRegions = await taxModuleService.createTaxRegions([ + { + country_code: "us", + }, + { + country_code: "gb", + }, +]) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the tax region. For example, the ID of\nthe user that created the tax region.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"default_tax_rate","type":"`object`","description":"The default tax rate of the tax region.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"The name of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`null` \\| `number`","description":"The rate to charge.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"The code of the tax rate.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createTaxRegions"/> + +#### Returns + + + +### deleteTaxRegions + +`**deleteTaxRegions**(taxRegionIds, sharedContext?): Promise<void>` + +This method deletes tax regions by their IDs. + +#### Example + +```ts +await taxModuleService.deleteTaxRegions([ + "txreg_123", + "txreg_321", +]) +``` + +#### Parameters + + + +#### Returns + + + +`**deleteTaxRegions**(taxRegionId, sharedContext?): Promise<void>` + +This method deletes a tax region by its ID. + +#### Example + +```ts +await taxModuleService.deleteTaxRegions("txreg_123") +``` + +#### Parameters + + + +#### Returns + + + +### listTaxRegions + +This method retrieves a paginated list of tax regions based on optional filters and configuration. + +#### Example + +To retrieve a list of tax regions using their IDs: + +```ts +const taxRegions = await taxModuleService.listTaxRegions({ + id: ["txreg_123", "txreg_321"], +}) +``` + +To specify relations that should be retrieved within the tax region: + +```ts +const taxRegions = await taxModuleService.listTaxRegions( + { + id: ["txreg_123", "txreg_321"], + }, + { + relations: ["tax_rates"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const taxRegions = await taxModuleService.listTaxRegions( + { + id: ["txreg_123", "txreg_321"], + }, + { + relations: ["tax_rates"], + take: 20, + skip: 2, + } +) +``` + +#### Parameters + +` \\| [OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<Record<string, unknown>> \\| `Record`[]","description":"Filter the tax regions by their metadata.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter the tax regions by their creation date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter the tax regions by their update date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_by","type":"`string` \\| `string`[] \\| [OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter the tax regions by who created it.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"config","type":"[FindConfig](../../CommonTypes/interfaces/types.CommonTypes.FindConfig.mdx)<[TaxRegionDTO](types.TaxTypes.TaxRegionDTO.mdx)>","description":"The configurations determining how the tax region is retrieved. Its properties, such as `select` or `relations`, accept the\nattributes or relations associated with a tax region.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"(`string` \\| keyof Entity)[]","description":"An array of strings, each being attribute names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`null` \\| `number`","description":"A number indicating the number of records to skip before retrieving the results.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`null` \\| `number`","description":"A number indicating the number of records to return in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"An array of strings, each being relation names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`\nto sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"withDeleted","type":"`boolean`","description":"A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the\n`SoftDeletableEntity` class.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"filters","type":"`Record`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listTaxRegions"/> + +#### Returns + + + +### createTaxRateRules + +`**createTaxRateRules**(data, sharedContext?): Promise<[TaxRateRuleDTO](types.TaxTypes.TaxRateRuleDTO.mdx)>` + +This method creates a tax rate rule. + +#### Example + +```ts +const taxRateRule = await taxModuleService.createTaxRateRules( + { + reference: "product_type", + reference_id: "ptyp_123", + tax_rate_id: "txr_123", + } +) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate rule. For example, the ID of the\nuser that created it.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createTaxRateRules"/> + +#### Returns + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"The ID of the associated tax region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"Whether the tax rate should be combined with parent rates.\n\nLearn more [here](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#combinable-tax-rates).","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"Whether the tax rate is the default rate for the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate. For example, the ID of the user that created the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createTaxRateRules"/> + +`**createTaxRateRules**(data, sharedContext?): Promise<[TaxRateRuleDTO](types.TaxTypes.TaxRateRuleDTO.mdx)[]>` + +This method creates tax rate rules. + +#### Example + +```ts +const taxRateRules = + await taxModuleService.createTaxRateRules([ + { + reference: "product_type", + reference_id: "ptyp_123", + tax_rate_id: "txr_123", + }, + { + reference: "product", + reference_id: "prod_123", + tax_rate_id: "txr_321", + }, + ]) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate rule. For example, the ID of the\nuser that created it.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createTaxRateRules"/> + +#### Returns + + + +### deleteTaxRateRules + +`**deleteTaxRateRules**(taxRateRuleId, sharedContext?): Promise<void>` + +This method deletes a tax rate rule by its ID. + +#### Example + +```ts +await taxModuleService.deleteTaxRateRules("txrule_123") +``` + +#### Parameters + + + +#### Returns + + + +`**deleteTaxRateRules**(taxRateRuleIds, sharedContext?): Promise<void>` + +This method deletes tax rate rules by their IDs. + +#### Example + +```ts +await taxModuleService.deleteTaxRateRules([ + "txrule_123", + "txrule_321", +]) +``` + +#### Parameters + + + +#### Returns + + + +### listTaxRateRules + +This method retrieves a paginated list of tax rate rules based on optional filters and configuration. + +#### Example + +To retrieve a list of tax rate rules using their associated tax rate's ID: + +```ts +const taxRateRules = await taxModuleService.listTaxRateRules({ + tax_rate_id: ["txr_123", "txr_321"], +}) +``` + +To specify relations that should be retrieved within the tax rate rule: + +```ts +const taxRateRules = await taxModuleService.listTaxRateRules( + { + tax_rate_id: ["txr_123", "txr_321"], + }, + { + relations: ["tax_rate"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const taxRateRules = await taxModuleService.listTaxRateRules( + { + tax_rate_id: ["txr_123", "txr_321"], + }, + { + relations: ["tax_rate"], + take: 20, + skip: 2, + } +) +``` + +#### Parameters + +` \\| [OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<Record<string, unknown>> \\| `Record`[]","description":"Filter the tax rate rule by what its metadata.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter the tax rate rule by its creation date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter the tax rate rule by its update date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_by","type":"`string` \\| `string`[] \\| [OperatorMap](../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter the tax rate rule by who created it.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"config","type":"[FindConfig](../../CommonTypes/interfaces/types.CommonTypes.FindConfig.mdx)<[TaxRateRuleDTO](types.TaxTypes.TaxRateRuleDTO.mdx)>","description":"The configurations determining how the tax rate rule is retrieved. Its properties, such as `select` or `relations`, accept the\nattributes or relations associated with a tax rate rule.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"(`string` \\| keyof Entity)[]","description":"An array of strings, each being attribute names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`null` \\| `number`","description":"A number indicating the number of records to skip before retrieving the results.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`null` \\| `number`","description":"A number indicating the number of records to return in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"An array of strings, each being relation names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`\nto sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"withDeleted","type":"`boolean`","description":"A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the\n`SoftDeletableEntity` class.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"filters","type":"`Record`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listTaxRateRules"/> + +#### Returns + + + +### getTaxLines + +This method retrieves tax lines for taxable items and shipping methods in a cart. + +Learn more in [this guide](https://docs.medusajs.com/v1/experimental/tax/tax-calculation-with-provider/). + +#### Example + +```ts +const taxLines = await taxModuleService.getTaxLines( + [ + { + id: "cali_123", + product_id: "prod_123", + unit_price: 1000, + quantity: 1, + }, + { + id: "casm_123", + shipping_option_id: "so_123", + unit_price: 2000, + }, + ], + { + address: { + country_code: "us", + }, + } +) +``` + +#### Parameters + + + +#### Returns + + + +### softDelete + +This method soft deletes tax raes by their IDs. + +#### Example + +```ts +await taxModuleService.softDelete(["txr_123", "txr_321"]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDelete"/> + +### softDeleteTaxRegions + +This method soft deletes tax regions by their IDs. + +#### Example + +```ts +await taxModuleService.softDeleteTaxRegions([ + "txreg_123", + "txreg_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteTaxRegions"/> + +### restoreTaxRegions + +This method restores soft deleted tax regions by their IDs. + +#### Example + +```ts +await taxModuleService.restoreTaxRegions([ + "txreg_123", + "txreg_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreTaxRegions"/> + +### softDeleteTaxRateRules + +This method soft deletes tax rate rules by their IDs. + +#### Example + +```ts +await taxModuleService.softDeleteTaxRateRules([ + "txrule_123", + "txrule_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteTaxRateRules"/> + +### restoreTaxRateRules + +This method restores soft deleted tax rate rules by their IDs. + +#### Example + +```ts +await taxModuleService.restoreTaxRateRules([ + "txrule_123", + "txrule_321", +]) +``` + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreTaxRateRules"/> diff --git a/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.ITaxProvider.mdx b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.ITaxProvider.mdx new file mode 100644 index 0000000000000..f2efcffcae5b0 --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.ITaxProvider.mdx @@ -0,0 +1,132 @@ +import TypeList from "@site/src/components/TypeList" + +# ITaxProvider + +## Overview + +A tax provider is used to retrieve the tax lines in a provided context. The Tax Module provides a default `system` provider. You can create your own tax provider, +either in a plugin, in a provider module, or directly in your Medusa application's codebase, then use it in any tax region. + +--- + +## How to Create a Tax Provider + +A tax provider class is defined in a TypeScript or JavaScript file. The class must implement the +`ITaxProvider` interface imported from `@medusajs/types`. + +The file can be defined in a plugin, a provider module, or under the `src/services` directory of your Medusa application. You can later pass the package's name or the +path to the file in the `providers` option of the Tax Module. + +For example: + +```ts title="src/services/my-tax.ts" +import { ITaxProvider } from "@medusajs/types" + +export default class MyTaxProvider implements ITaxProvider { + // ... +} +``` + +--- + +## Identifier Property + +The `identifier` property in a tax provider is used when the tax provider is registered in the dependency container or added to the database. A tax provider is represented in the database by the `TaxProvider` data model. + +For example: + +```ts title="src/services/my-tax.ts" +export default class MyTaxProvider implements ITaxProvider { + static identifier = "my-tax" + // ... +} +``` + +--- + +## Constructor + +You can use the `constructor` of your tax provider to access the resources registered in the dependency container. + +You can also use the constructor to initialize your integration with the third-party provider. For example, if you use a client to connect to the third-party provider’s APIs, you can initialize it in the constructor and use it in other methods in the service. + +Additionally, if you’re creating your tax provider as a plugin or a provider module to be installed in any Medusa application and you want to access its options, you can access them in the constructor. + +For example: + +```ts +export default class MyTaxProvider implements ITaxProvider { + // ... + constructor(container, options) { + // you can access options here + + // you can also initialize a client that + // communicates with a third-party service. + this.client = new Client(options) + } +} +``` + +--- + +## Methods + +### getTaxLines + +This method is used to retrieve the tax lines of items and shipping methods. It's used +when the `getTaxLines` method of the Tax Module's main service is called. + +This method is useful during checkout or when calculating the totals of orders or exchanges. + +#### Example + +An example of how this method is implemented in the `system` provider: + +```ts +// ... + +export default class SystemTaxService implements ITaxProvider { + // ... + + async getTaxLines( + itemLines: TaxTypes.ItemTaxCalculationLine[], + shippingLines: TaxTypes.ShippingTaxCalculationLine[], + _: TaxTypes.TaxCalculationContext + ): Promise<(TaxTypes.ItemTaxLineDTO | TaxTypes.ShippingTaxLineDTO)[]> { + let taxLines: (TaxTypes.ItemTaxLineDTO | TaxTypes.ShippingTaxLineDTO)[] = + itemLines.flatMap((l) => { + return l.rates.map((r) => ({ + rate_id: r.id, + rate: r.rate || 0, + name: r.name, + code: r.code, + line_item_id: l.line_item.id, + provider_id: this.getIdentifier(), + })) + }) + + taxLines = taxLines.concat( + shippingLines.flatMap((l) => { + return l.rates.map((r) => ({ + rate_id: r.id, + rate: r.rate || 0, + name: r.name, + code: r.code, + shipping_line_id: l.shipping_line.id, + provider_id: this.getIdentifier(), + })) + }) + ) + + return taxLines + } +} +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"The ID of the associated tax region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"Whether the tax rate should be combined with parent rates.\n\nLearn more [here](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#combinable-tax-rates).","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"Whether the tax rate is the default rate for the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate. For example, the ID of the user that created the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"shippingLines","type":"[ShippingTaxCalculationLine](../types/types.TaxTypes.ShippingTaxCalculationLine.mdx)[]","description":"The shipping method lines to calculate taxes for.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"shipping_line","type":"[TaxableShippingDTO](types.TaxTypes.TaxableShippingDTO.mdx)","description":"The shipping method to calculate taxes for.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the taxable shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"The associated shipping option's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"[BigNumberInput](../../types/types.BigNumberInput.mdx)","description":"The unit price of the taxable shipping.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the taxable shipping.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rates","type":"[TaxRateDTO](types.TaxTypes.TaxRateDTO.mdx)[]","description":"The rates applicable on the shipping method.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`null` \\| `number`","description":"The rate to charge.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`null` \\| `string`","description":"The code the tax rate is identified by.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the Tax Rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"The ID of the associated tax region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"Whether the tax rate should be combined with parent rates.\n\nLearn more [here](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#combinable-tax-rates).","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"Whether the tax rate is the default rate for the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate. For example, the ID of the user that created the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"context","type":"[TaxCalculationContext](types.TaxTypes.TaxCalculationContext.mdx)","description":"The context relevant and useful for the taxes calculation.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"address","type":"`object`","description":"The customer's address","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"country_code","type":"`string`","description":"The ISO 2 character currency code.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"province_code","type":"`null` \\| `string`","description":"The province code.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The first line of the address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`null` \\| `string`","description":"The second line of the address","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"customer","type":"`object`","description":"The customer's details.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The email of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_groups","type":"`string`[]","description":"The groups that the customer belongs to.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"is_return","type":"`boolean`","description":"Whether the tax lines are calculated for an order return.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="getTaxLines"/> + +#### Returns + + diff --git a/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.ItemTaxLineDTO.mdx b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.ItemTaxLineDTO.mdx new file mode 100644 index 0000000000000..21eab907bfb36 --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.ItemTaxLineDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ItemTaxLineDTO + +The item tax line details. + +## Properties + + diff --git a/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.ShippingTaxLineDTO.mdx b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.ShippingTaxLineDTO.mdx new file mode 100644 index 0000000000000..5012531de5a91 --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.ShippingTaxLineDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ShippingTaxLineDTO + +The shipping tax line details. + +## Properties + + diff --git a/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxCalculationContext.mdx b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxCalculationContext.mdx new file mode 100644 index 0000000000000..a45a6e027dca9 --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxCalculationContext.mdx @@ -0,0 +1,10 @@ +import TypeList from "@site/src/components/TypeList" + +# TaxCalculationContext + +The context provided when tax lines are calculated and retrieved. This +context is later passed to the underlying tax provider. + +## Properties + + diff --git a/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxProviderDTO.mdx b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxProviderDTO.mdx new file mode 100644 index 0000000000000..5a4ba0a20a0fd --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxProviderDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# TaxProviderDTO + +The tax provider details. + +## Properties + + diff --git a/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxRateDTO.mdx b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxRateDTO.mdx new file mode 100644 index 0000000000000..cd3c0815c5ffb --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxRateDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# TaxRateDTO + +The tax rate details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"The ID of the associated tax region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"Whether the tax rate should be combined with parent rates.\n\nLearn more [here](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#combinable-tax-rates).","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"Whether the tax rate is the default rate for the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate. For example, the ID of the user that created the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="TaxRateDTO"/> diff --git a/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxRateRuleDTO.mdx b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxRateRuleDTO.mdx new file mode 100644 index 0000000000000..0e3c6c8334dae --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxRateRuleDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# TaxRateRuleDTO + +The tax rate rule details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"The ID of the associated tax region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"Whether the tax rate should be combined with parent rates.\n\nLearn more [here](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#combinable-tax-rates).","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"Whether the tax rate is the default rate for the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate. For example, the ID of the user that created the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="TaxRateRuleDTO"/> diff --git a/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxRegionDTO.mdx b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxRegionDTO.mdx new file mode 100644 index 0000000000000..2eb0b4fe6e6cc --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxRegionDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# TaxRegionDTO + +The tax region details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the tax region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the tax region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax region. For example, the ID of the user\nthat created the tax region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the tax region.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="TaxRegionDTO"/> diff --git a/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxableItemDTO.mdx b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxableItemDTO.mdx new file mode 100644 index 0000000000000..e3e6552a1ce29 --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxableItemDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# TaxableItemDTO + +The taxable item details. + +## Properties + + diff --git a/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxableShippingDTO.mdx b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxableShippingDTO.mdx new file mode 100644 index 0000000000000..ad4e55241e4ad --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.TaxableShippingDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# TaxableShippingDTO + +The taxable shipping details. + +## Properties + + diff --git a/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.UpdateTaxRateDTO.mdx b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.UpdateTaxRateDTO.mdx new file mode 100644 index 0000000000000..c26b79e86939f --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.UpdateTaxRateDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateTaxRateDTO + +The attributes to update in the tax rate. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate rule. For example, the ID of the\nuser that created it.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"is_default","type":"`boolean`","description":"Whether the tax rate is default.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"Whether the tax rate is combinable.\n\nLearn more [here](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#combinable-tax-rates).","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateTaxRateDTO"/> diff --git a/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.UpsertTaxRateDTO.mdx b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.UpsertTaxRateDTO.mdx new file mode 100644 index 0000000000000..6f731ca4dc1ef --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/interfaces/types.TaxTypes.UpsertTaxRateDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpsertTaxRateDTO + +The attributes in the tax rate to be created or updated. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpsertTaxRateDTO"/> diff --git a/www/apps/docs/content/references/types/TaxTypes/types/types.TaxTypes.ItemTaxCalculationLine.mdx b/www/apps/docs/content/references/types/TaxTypes/types/types.TaxTypes.ItemTaxCalculationLine.mdx new file mode 100644 index 0000000000000..dc96782a33d30 --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/types/types.TaxTypes.ItemTaxCalculationLine.mdx @@ -0,0 +1,12 @@ +import TypeList from "@site/src/components/TypeList" + +# ItemTaxCalculationLine + + **ItemTaxCalculationLine**: `Object` + +A line item and the tax rates configured to apply to the +product contained in the line item. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"The ID of the associated tax region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"Whether the tax rate should be combined with parent rates.\n\nLearn more [here](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#combinable-tax-rates).","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"Whether the tax rate is the default rate for the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate. For example, the ID of the user that created the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="ItemTaxCalculationLine"/> diff --git a/www/apps/docs/content/references/types/TaxTypes/types/types.TaxTypes.ShippingTaxCalculationLine.mdx b/www/apps/docs/content/references/types/TaxTypes/types/types.TaxTypes.ShippingTaxCalculationLine.mdx new file mode 100644 index 0000000000000..e4a10308dd163 --- /dev/null +++ b/www/apps/docs/content/references/types/TaxTypes/types/types.TaxTypes.ShippingTaxCalculationLine.mdx @@ -0,0 +1,12 @@ +import TypeList from "@site/src/components/TypeList" + +# ShippingTaxCalculationLine + + **ShippingTaxCalculationLine**: `Object` + +A shipping method and the tax rates configured to apply to the +shipping method. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_region_id","type":"`string`","description":"The ID of the associated tax region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_combinable","type":"`boolean`","description":"Whether the tax rate should be combined with parent rates.\n\nLearn more [here](https://docs.medusajs.com/v1/experimental/tax/tax-rates-and-rules/#combinable-tax-rates).","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default","type":"`boolean`","description":"Whether the tax rate is the default rate for the region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the tax rate. For example, the ID of the user that created the tax rate.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="ShippingTaxCalculationLine"/> diff --git a/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.CreateInviteDTO.mdx b/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.CreateInviteDTO.mdx new file mode 100644 index 0000000000000..2ac80ed6c2b53 --- /dev/null +++ b/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.CreateInviteDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateInviteDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateInviteDTO"/> diff --git a/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.CreateUserDTO.mdx b/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.CreateUserDTO.mdx index 60919875cf022..7f916ed4f0feb 100644 --- a/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.CreateUserDTO.mdx +++ b/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.CreateUserDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateUserDTO +The user to be created. + ## Properties - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateUserDTO"/> diff --git a/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.FilterableInviteProps.mdx b/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.FilterableInviteProps.mdx new file mode 100644 index 0000000000000..91a648bd8150a --- /dev/null +++ b/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.FilterableInviteProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableInviteProps + +An object used to allow specifying flexible queries with and/or conditions. + +## Properties + + diff --git a/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.FilterableUserProps.mdx b/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.FilterableUserProps.mdx new file mode 100644 index 0000000000000..23c10e58cd196 --- /dev/null +++ b/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.FilterableUserProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableUserProps + +The filters to apply on the retrieved user. + +## Properties + + diff --git a/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.IUserModuleService.mdx b/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.IUserModuleService.mdx index c7b571e8d684e..7427488a90032 100644 --- a/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.IUserModuleService.mdx +++ b/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.IUserModuleService.mdx @@ -2,88 +2,352 @@ import TypeList from "@site/src/components/TypeList" # IUserModuleService +The main service interface for the user module. + ## Methods +### validateInviteToken + +This method validates an invite token. + +#### Parameters + + + +#### Returns + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="validateInviteToken"/> + +### refreshInviteTokens + +#### Parameters + + + +#### Returns + + + ### retrieve +This method retrieves a user by its ID. + +#### Example + +A simple example that retrieves a {type name} by its ID: + +```ts +{example-code} +``` + +To specify relations that should be retrieved: + +```ts +{example-code} +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieve"/> #### Returns - +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the user.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The updated date of the user.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the user.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieve"/> ### list +This method retrieves a paginated list of users based on optional filters and configuration. + +#### Example + +To retrieve a list of {type name} using their IDs: + +```ts +{example-code} +``` + +To specify relations that should be retrieved within the {type name}: + +```ts +{example-code} +``` + +By default, only the first `{default limit}` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +{example-code} +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> #### Returns - + ### listAndCount +This method retrieves a paginated list of user along with the total count of available users satisfying the provided filters. + +#### Example + +To retrieve a list of {type name} using their IDs: + +```ts +{example-code} +``` + +To specify relations that should be retrieved within the {type name}: + +```ts +{example-code} +``` + +By default, only the first `{default limit}` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +{example-code} +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> #### Returns - + ### create -`**create**(data, sharedContext?): Promise<[UserDTO](../types/types.UserTypes.UserDTO.mdx)[]>` +`**create**(data, sharedContext?): Promise<[UserDTO](types.UserTypes.UserDTO.mdx)[]>` + +This method creates users. + +#### Example + +```ts +{example-code} +``` #### Parameters - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> #### Returns - + + +`**create**(data, sharedContext?): Promise<[UserDTO](types.UserTypes.UserDTO.mdx)>` -`**create**(data, sharedContext?): Promise<[UserDTO](../types/types.UserTypes.UserDTO.mdx)>` +This method creates a user. + +#### Example + +```ts +{example-code} +``` #### Parameters - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> #### Returns - +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the user.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The updated date of the user.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the user.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="create"/> ### update -`**update**(data, sharedContext?): Promise<[UserDTO](../types/types.UserTypes.UserDTO.mdx)[]>` +`**update**(data, sharedContext?): Promise<[UserDTO](types.UserTypes.UserDTO.mdx)[]>` + +This method updates existing users. + +#### Example + +```ts +{example-code} +``` #### Parameters - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> #### Returns - + -`**update**(data, sharedContext?): Promise<[UserDTO](../types/types.UserTypes.UserDTO.mdx)>` +`**update**(data, sharedContext?): Promise<[UserDTO](types.UserTypes.UserDTO.mdx)>` + +This method updates an existing user. + +#### Example + +```ts +{example-code} +``` #### Parameters - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> #### Returns - +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the user.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The updated date of the user.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the user.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="update"/> ### delete +This method deletes users by their IDs. + +#### Example + +```ts +{example-code} +``` + +#### Parameters + + + +#### Returns + + + +### softDelete + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDelete"/> + +### restore + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restore"/> + +### retrieveInvite + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveInvite"/> + +#### Returns + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieveInvite"/> + +### listInvites + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listInvites"/> + +#### Returns + + + +### listAndCountInvites + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountInvites"/> + +#### Returns + + + +### createInvites + +`**createInvites**(data, sharedContext?): Promise<[InviteDTO](types.UserTypes.InviteDTO.mdx)[]>` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createInvites"/> + +#### Returns + + + +`**createInvites**(data, sharedContext?): Promise<[InviteDTO](types.UserTypes.InviteDTO.mdx)>` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createInvites"/> + +#### Returns + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="createInvites"/> + +### updateInvites + +`**updateInvites**(data, sharedContext?): Promise<[InviteDTO](types.UserTypes.InviteDTO.mdx)[]>` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateInvites"/> + +#### Returns + + + +`**updateInvites**(data, sharedContext?): Promise<[InviteDTO](types.UserTypes.InviteDTO.mdx)>` + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](../../interfaces/types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](../../interfaces/types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updateInvites"/> + +#### Returns + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="updateInvites"/> + +### deleteInvites + +#### Parameters + + + +#### Returns + + + +### softDeleteInvites + +#### Type Parameters + + + +#### Parameters + + + +#### Returns + +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDeleteInvites"/> + +### restoreInvites + +#### Type Parameters + + + #### Parameters - + #### Returns - +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restoreInvites"/> diff --git a/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.InviteDTO.mdx b/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.InviteDTO.mdx new file mode 100644 index 0000000000000..daee1b0811ae9 --- /dev/null +++ b/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.InviteDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# InviteDTO + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="InviteDTO"/> diff --git a/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.UpdateInviteDTO.mdx b/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.UpdateInviteDTO.mdx new file mode 100644 index 0000000000000..bd2b0b2f5cd28 --- /dev/null +++ b/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.UpdateInviteDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateInviteDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateInviteDTO"/> diff --git a/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.UpdateUserDTO.mdx b/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.UpdateUserDTO.mdx index 4ef2f41aa821d..031cd9f487db6 100644 --- a/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.UpdateUserDTO.mdx +++ b/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.UpdateUserDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdateUserDTO +The attributes to update in the user. + ## Properties - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateUserDTO"/> diff --git a/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.UserDTO.mdx b/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.UserDTO.mdx new file mode 100644 index 0000000000000..1db4c752445a4 --- /dev/null +++ b/www/apps/docs/content/references/types/UserTypes/interfaces/types.UserTypes.UserDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UserDTO + +The user details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the user.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"The updated date of the user.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"The deletion date of the user.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UserDTO"/> diff --git a/www/apps/docs/content/references/types/UserTypes/types/types.UserTypes.FilterableUserProps.mdx b/www/apps/docs/content/references/types/UserTypes/types/types.UserTypes.FilterableUserProps.mdx deleted file mode 100644 index 5ffbdcda6d6b2..0000000000000 --- a/www/apps/docs/content/references/types/UserTypes/types/types.UserTypes.FilterableUserProps.mdx +++ /dev/null @@ -1,5 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# FilterableUserProps - - **FilterableUserProps**: `object` diff --git a/www/apps/docs/content/references/types/UserTypes/types/types.UserTypes.UserDTO.mdx b/www/apps/docs/content/references/types/UserTypes/types/types.UserTypes.UserDTO.mdx deleted file mode 100644 index 191877c45eeec..0000000000000 --- a/www/apps/docs/content/references/types/UserTypes/types/types.UserTypes.UserDTO.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# UserDTO - - **UserDTO**: `Object` - -## Properties - - diff --git a/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateServiceZonesWorkflowInput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateServiceZonesWorkflowInput.mdx new file mode 100644 index 0000000000000..c9957533d91b9 --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateServiceZonesWorkflowInput.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateServiceZonesWorkflowInput + +## Properties + + diff --git a/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateShipmentWorkflowInput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateShipmentWorkflowInput.mdx new file mode 100644 index 0000000000000..623a87a12b641 --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateShipmentWorkflowInput.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateShipmentWorkflowInput + +The attributes to update in the fulfillment. + +## Properties + + diff --git a/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateShippingOptionsWorkflowInput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateShippingOptionsWorkflowInput.mdx new file mode 100644 index 0000000000000..bb4e7965bb4e5 --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateShippingOptionsWorkflowInput.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateShippingOptionsWorkflowInput + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"`object`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"attribute","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"[RuleOperatorType](../../../CommonTypes/types/types.CommonTypes.RuleOperatorType.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string` \\| `string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CreateShippingOptionsWorkflowInput"/> diff --git a/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateShippingProfilesWorkflowInput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateShippingProfilesWorkflowInput.mdx new file mode 100644 index 0000000000000..3f8da0fd8120a --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateShippingProfilesWorkflowInput.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateShippingProfilesWorkflowInput + +## Properties + + diff --git a/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.DeleteShippingOptionsWorkflowInput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.DeleteShippingOptionsWorkflowInput.mdx new file mode 100644 index 0000000000000..45392b4f5e4fb --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.DeleteShippingOptionsWorkflowInput.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# DeleteShippingOptionsWorkflowInput + +## Properties + + diff --git a/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateFulfillmentWorkflowInput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateFulfillmentWorkflowInput.mdx new file mode 100644 index 0000000000000..93594ce20989e --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateFulfillmentWorkflowInput.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateFulfillmentWorkflowInput + +The attributes to update in the fulfillment. + +## Properties + +`","description":"The data necessary for the associated fulfillment provider to process the fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateFulfillmentWorkflowInput"/> diff --git a/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateServiceZonesWorkflowInput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateServiceZonesWorkflowInput.mdx new file mode 100644 index 0000000000000..e977f5fa6fa66 --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateServiceZonesWorkflowInput.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateServiceZonesWorkflowInput + +## Properties + + diff --git a/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateShippingOptionsWorkflowInput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateShippingOptionsWorkflowInput.mdx new file mode 100644 index 0000000000000..5ba6db9c105b0 --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateShippingOptionsWorkflowInput.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateShippingOptionsWorkflowInput + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"price_type","type":"[ShippingOptionPriceType](../../../FulfillmentTypes/types/types.FulfillmentTypes.ShippingOptionPriceType.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`object`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"label","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"prices","type":"(`object` \\| `object`)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"rules","type":"`object`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"attribute","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"[RuleOperatorType](../../../CommonTypes/types/types.CommonTypes.RuleOperatorType.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`string` \\| `string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="UpdateShippingOptionsWorkflowInput"/> diff --git a/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateShippingProfilesWorkflowInput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateShippingProfilesWorkflowInput.mdx new file mode 100644 index 0000000000000..7aa38f4f6b44f --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateShippingProfilesWorkflowInput.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateShippingProfilesWorkflowInput + +## Properties + + diff --git a/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentAddressWorkflowDTO.mdx b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentAddressWorkflowDTO.mdx new file mode 100644 index 0000000000000..d72501d43e4af --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentAddressWorkflowDTO.mdx @@ -0,0 +1,11 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateFulfillmentAddressWorkflowDTO + + **CreateFulfillmentAddressWorkflowDTO**: `Object` + +The fulfillment address to be created. + +## Properties + +` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateFulfillmentAddressWorkflowDTO"/> diff --git a/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentItemWorkflowDTO.mdx b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentItemWorkflowDTO.mdx new file mode 100644 index 0000000000000..19cdd3f2b58e2 --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentItemWorkflowDTO.mdx @@ -0,0 +1,11 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateFulfillmentItemWorkflowDTO + + **CreateFulfillmentItemWorkflowDTO**: `Object` + +The fulfillment item to be created. + +## Properties + + diff --git a/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentLabelWorkflowDTO.mdx b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentLabelWorkflowDTO.mdx new file mode 100644 index 0000000000000..633465fe7f76b --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentLabelWorkflowDTO.mdx @@ -0,0 +1,11 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateFulfillmentLabelWorkflowDTO + + **CreateFulfillmentLabelWorkflowDTO**: `Object` + +The fulfillment label to be created. + +## Properties + + diff --git a/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentOrderWorkflowDTO.mdx b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentOrderWorkflowDTO.mdx new file mode 100644 index 0000000000000..8601d18187924 --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentOrderWorkflowDTO.mdx @@ -0,0 +1,5 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateFulfillmentOrderWorkflowDTO + + **CreateFulfillmentOrderWorkflowDTO**: `Record` diff --git a/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentWorkflowInput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentWorkflowInput.mdx new file mode 100644 index 0000000000000..2563b75f9fc8f --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentWorkflowInput.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateFulfillmentWorkflowInput + + **CreateFulfillmentWorkflowInput**: `Object` + +## Properties + +` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"items","type":"[CreateFulfillmentItemWorkflowDTO](types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentItemWorkflowDTO.mdx)[]","description":"The items associated with the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"title","type":"`string`","description":"The title of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sku","type":"`string`","description":"The SKU of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"The quantity of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"barcode","type":"`string`","description":"The barcode of the fulfillment item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`string` \\| `null`","description":"The associated line item's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inventory_item_id","type":"`string` \\| `null`","description":"The associated inventory item's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"labels","type":"[CreateFulfillmentLabelWorkflowDTO](types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentLabelWorkflowDTO.mdx)[]","description":"The labels associated with the fulfillment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"tracking_number","type":"`string`","description":"The tracking number of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tracking_url","type":"`string`","description":"The tracking URL of the fulfillment label.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label_url","type":"`string`","description":"The URL of the label.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"order","type":"[CreateFulfillmentOrderWorkflowDTO](types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentOrderWorkflowDTO.mdx)","description":"The associated fulfillment order.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"packed_at","type":"`Date` \\| `null`","description":"The date the fulfillment was packed.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_at","type":"`Date` \\| `null`","description":"The date the fulfillment was shipped.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"delivered_at","type":"`Date` \\| `null`","description":"The date the fulfillment was delivered.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`Date` \\| `null`","description":"The date the fulfillment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record` \\| `null`","description":"The data necessary for the associated fulfillment provider to process the fulfillment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string` \\| `null`","description":"The associated shipping option's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateFulfillmentWorkflowInput"/> diff --git a/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateShippingOptionsWorkflowOutput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateShippingOptionsWorkflowOutput.mdx new file mode 100644 index 0000000000000..cb731a39a9542 --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateShippingOptionsWorkflowOutput.mdx @@ -0,0 +1,5 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateShippingOptionsWorkflowOutput + + **CreateShippingOptionsWorkflowOutput**: `object`[] diff --git a/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.UpdateShippingOptionsWorkflowOutput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.UpdateShippingOptionsWorkflowOutput.mdx new file mode 100644 index 0000000000000..3759e17787855 --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.UpdateShippingOptionsWorkflowOutput.mdx @@ -0,0 +1,5 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateShippingOptionsWorkflowOutput + + **UpdateShippingOptionsWorkflowOutput**: `object`[] diff --git a/www/apps/docs/content/references/types/WorkflowTypes/InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.AcceptInviteWorkflowInputDTO.mdx b/www/apps/docs/content/references/types/WorkflowTypes/InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.AcceptInviteWorkflowInputDTO.mdx new file mode 100644 index 0000000000000..fb2b58721c06a --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.AcceptInviteWorkflowInputDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AcceptInviteWorkflowInputDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"user.email","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user.first_name","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user.last_name","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user.avatar_url","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user.metadata","type":"`null` \\| `Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="AcceptInviteWorkflowInputDTO"/> diff --git a/www/apps/docs/content/references/types/WorkflowTypes/InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.CreateInvitesWorkflowInputDTO.mdx b/www/apps/docs/content/references/types/WorkflowTypes/InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.CreateInvitesWorkflowInputDTO.mdx new file mode 100644 index 0000000000000..133c2487f10b0 --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.CreateInvitesWorkflowInputDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateInvitesWorkflowInputDTO + +## Properties + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CreateInvitesWorkflowInputDTO"/> diff --git a/www/apps/docs/content/references/types/WorkflowTypes/InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.DeleteInvitesWorkflowInput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.DeleteInvitesWorkflowInput.mdx new file mode 100644 index 0000000000000..1979c2f9bb0af --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.DeleteInvitesWorkflowInput.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# DeleteInvitesWorkflowInput + +## Properties + + diff --git a/www/apps/docs/content/references/types/WorkflowTypes/InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.ResendInvitesWorkflowInputDTO.mdx b/www/apps/docs/content/references/types/WorkflowTypes/InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.ResendInvitesWorkflowInputDTO.mdx new file mode 100644 index 0000000000000..0f2ab1c38ace0 --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.ResendInvitesWorkflowInputDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# ResendInvitesWorkflowInputDTO + +## Properties + + diff --git a/www/apps/docs/content/references/types/WorkflowTypes/PriceListWorkflow/interfaces/types.WorkflowTypes.PriceListWorkflow.CreatePriceListDTO.mdx b/www/apps/docs/content/references/types/WorkflowTypes/PriceListWorkflow/interfaces/types.WorkflowTypes.PriceListWorkflow.CreatePriceListDTO.mdx index 1f9626c7d5d5e..dc2140565b2e2 100644 --- a/www/apps/docs/content/references/types/WorkflowTypes/PriceListWorkflow/interfaces/types.WorkflowTypes.PriceListWorkflow.CreatePriceListDTO.mdx +++ b/www/apps/docs/content/references/types/WorkflowTypes/PriceListWorkflow/interfaces/types.WorkflowTypes.PriceListWorkflow.CreatePriceListDTO.mdx @@ -4,4 +4,4 @@ import TypeList from "@site/src/components/TypeList" ## Properties - + diff --git a/www/apps/docs/content/references/types/WorkflowTypes/PriceListWorkflow/interfaces/types.WorkflowTypes.PriceListWorkflow.UpdatePriceListWorkflowDTO.mdx b/www/apps/docs/content/references/types/WorkflowTypes/PriceListWorkflow/interfaces/types.WorkflowTypes.PriceListWorkflow.UpdatePriceListWorkflowDTO.mdx deleted file mode 100644 index 5893250387445..0000000000000 --- a/www/apps/docs/content/references/types/WorkflowTypes/PriceListWorkflow/interfaces/types.WorkflowTypes.PriceListWorkflow.UpdatePriceListWorkflowDTO.mdx +++ /dev/null @@ -1,7 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# UpdatePriceListWorkflowDTO - -## Properties - - diff --git a/www/apps/docs/content/references/types/WorkflowTypes/PriceListWorkflow/interfaces/types.WorkflowTypes.PriceListWorkflow.UpdatePriceListWorkflowInputDTO.mdx b/www/apps/docs/content/references/types/WorkflowTypes/PriceListWorkflow/interfaces/types.WorkflowTypes.PriceListWorkflow.UpdatePriceListWorkflowInputDTO.mdx deleted file mode 100644 index 11f87926828c7..0000000000000 --- a/www/apps/docs/content/references/types/WorkflowTypes/PriceListWorkflow/interfaces/types.WorkflowTypes.PriceListWorkflow.UpdatePriceListWorkflowInputDTO.mdx +++ /dev/null @@ -1,7 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# UpdatePriceListWorkflowInputDTO - -## Properties - - diff --git a/www/apps/docs/content/references/types/WorkflowTypes/PriceListWorkflow/types/types.WorkflowTypes.PriceListWorkflow.PriceListVariantPriceDTO.mdx b/www/apps/docs/content/references/types/WorkflowTypes/PriceListWorkflow/types/types.WorkflowTypes.PriceListWorkflow.PriceListVariantPriceDTO.mdx deleted file mode 100644 index d6a60a68960a3..0000000000000 --- a/www/apps/docs/content/references/types/WorkflowTypes/PriceListWorkflow/types/types.WorkflowTypes.PriceListWorkflow.PriceListVariantPriceDTO.mdx +++ /dev/null @@ -1,5 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# PriceListVariantPriceDTO - - **PriceListVariantPriceDTO**: `UpdateProductVariantPricesInputDTO` & `object` diff --git a/www/apps/docs/content/references/types/WorkflowTypes/ProductCategoryWorkflow/interfaces/types.WorkflowTypes.ProductCategoryWorkflow.BatchUpdateProductsOnCategoryWorkflowInput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/ProductCategoryWorkflow/interfaces/types.WorkflowTypes.ProductCategoryWorkflow.BatchUpdateProductsOnCategoryWorkflowInput.mdx new file mode 100644 index 0000000000000..dc4ba305c3c5c --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/ProductCategoryWorkflow/interfaces/types.WorkflowTypes.ProductCategoryWorkflow.BatchUpdateProductsOnCategoryWorkflowInput.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# BatchUpdateProductsOnCategoryWorkflowInput + +## Properties + + diff --git a/www/apps/docs/content/references/types/WorkflowTypes/ProductCategoryWorkflow/interfaces/types.WorkflowTypes.ProductCategoryWorkflow.CreateProductCategoryWorkflowInput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/ProductCategoryWorkflow/interfaces/types.WorkflowTypes.ProductCategoryWorkflow.CreateProductCategoryWorkflowInput.mdx new file mode 100644 index 0000000000000..02a2b6acce213 --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/ProductCategoryWorkflow/interfaces/types.WorkflowTypes.ProductCategoryWorkflow.CreateProductCategoryWorkflowInput.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateProductCategoryWorkflowInput + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CreateProductCategoryWorkflowInput"/> diff --git a/www/apps/docs/content/references/types/WorkflowTypes/ProductCategoryWorkflow/interfaces/types.WorkflowTypes.ProductCategoryWorkflow.UpdateProductCategoryWorkflowInput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/ProductCategoryWorkflow/interfaces/types.WorkflowTypes.ProductCategoryWorkflow.UpdateProductCategoryWorkflowInput.mdx new file mode 100644 index 0000000000000..d5da7cf7df96d --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/ProductCategoryWorkflow/interfaces/types.WorkflowTypes.ProductCategoryWorkflow.UpdateProductCategoryWorkflowInput.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateProductCategoryWorkflowInput + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="UpdateProductCategoryWorkflowInput"/> diff --git a/www/apps/docs/content/references/types/WorkflowTypes/RegionWorkflow/interfaces/types.WorkflowTypes.RegionWorkflow.CreateRegionsWorkflowInput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/RegionWorkflow/interfaces/types.WorkflowTypes.RegionWorkflow.CreateRegionsWorkflowInput.mdx new file mode 100644 index 0000000000000..c15f060894708 --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/RegionWorkflow/interfaces/types.WorkflowTypes.RegionWorkflow.CreateRegionsWorkflowInput.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateRegionsWorkflowInput + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CreateRegionsWorkflowInput"/> diff --git a/www/apps/docs/content/references/types/WorkflowTypes/RegionWorkflow/interfaces/types.WorkflowTypes.RegionWorkflow.UpdateRegionsWorkflowInput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/RegionWorkflow/interfaces/types.WorkflowTypes.RegionWorkflow.UpdateRegionsWorkflowInput.mdx new file mode 100644 index 0000000000000..d47476532cda6 --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/RegionWorkflow/interfaces/types.WorkflowTypes.RegionWorkflow.UpdateRegionsWorkflowInput.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateRegionsWorkflowInput + +## Properties + +` \\| [OperatorMap](../../../DAL/types/types.DAL.OperatorMap.mdx)<Record<string, unknown>>","description":"Filter regions by their metadata.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter regions by their creation date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[OperatorMap](../../../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter regions by their update date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../../../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../../../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../../../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../../../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../../../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"update","type":"[UpdateRegionDTO](../../../interfaces/types.UpdateRegionDTO.mdx) & `object`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"The target name of the region","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency code of the region.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"automatic_taxes","type":"`boolean`","description":"Setting to indicate whether taxes need to be applied automatically","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"countries","type":"`string`[]","description":"The region's countries.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="UpdateRegionsWorkflowInput"/> diff --git a/www/apps/docs/content/references/types/WorkflowTypes/RegionWorkflow/types/types.WorkflowTypes.RegionWorkflow.CreateRegionsWorkflowOutput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/RegionWorkflow/types/types.WorkflowTypes.RegionWorkflow.CreateRegionsWorkflowOutput.mdx new file mode 100644 index 0000000000000..04711fb5a28a8 --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/RegionWorkflow/types/types.WorkflowTypes.RegionWorkflow.CreateRegionsWorkflowOutput.mdx @@ -0,0 +1,5 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateRegionsWorkflowOutput + + **CreateRegionsWorkflowOutput**: [RegionDTO](../../../interfaces/types.RegionDTO.mdx)[] diff --git a/www/apps/docs/content/references/types/WorkflowTypes/RegionWorkflow/types/types.WorkflowTypes.RegionWorkflow.UpdateRegionsWorkflowOutput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/RegionWorkflow/types/types.WorkflowTypes.RegionWorkflow.UpdateRegionsWorkflowOutput.mdx new file mode 100644 index 0000000000000..da786d0fe1edb --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/RegionWorkflow/types/types.WorkflowTypes.RegionWorkflow.UpdateRegionsWorkflowOutput.mdx @@ -0,0 +1,5 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateRegionsWorkflowOutput + + **UpdateRegionsWorkflowOutput**: [RegionDTO](../../../interfaces/types.RegionDTO.mdx)[] diff --git a/www/apps/docs/content/references/types/WorkflowTypes/ReservationWorkflow/interfaces/types.WorkflowTypes.ReservationWorkflow.CreateReservationsWorkflowInput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/ReservationWorkflow/interfaces/types.WorkflowTypes.ReservationWorkflow.CreateReservationsWorkflowInput.mdx new file mode 100644 index 0000000000000..e4bfa9e4e61e7 --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/ReservationWorkflow/interfaces/types.WorkflowTypes.ReservationWorkflow.CreateReservationsWorkflowInput.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateReservationsWorkflowInput + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CreateReservationsWorkflowInput"/> diff --git a/www/apps/docs/content/references/types/WorkflowTypes/ReservationWorkflow/interfaces/types.WorkflowTypes.ReservationWorkflow.UpdateReservationsWorkflowInput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/ReservationWorkflow/interfaces/types.WorkflowTypes.ReservationWorkflow.UpdateReservationsWorkflowInput.mdx new file mode 100644 index 0000000000000..c4c86205846df --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/ReservationWorkflow/interfaces/types.WorkflowTypes.ReservationWorkflow.UpdateReservationsWorkflowInput.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateReservationsWorkflowInput + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="UpdateReservationsWorkflowInput"/> diff --git a/www/apps/docs/content/references/types/WorkflowTypes/ReservationWorkflow/types/types.WorkflowTypes.ReservationWorkflow.CreateReservationsWorkflowOutput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/ReservationWorkflow/types/types.WorkflowTypes.ReservationWorkflow.CreateReservationsWorkflowOutput.mdx new file mode 100644 index 0000000000000..78639360a6751 --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/ReservationWorkflow/types/types.WorkflowTypes.ReservationWorkflow.CreateReservationsWorkflowOutput.mdx @@ -0,0 +1,5 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateReservationsWorkflowOutput + + **CreateReservationsWorkflowOutput**: [ReservationItemDTO](../../../interfaces/types.ReservationItemDTO.mdx)[] diff --git a/www/apps/docs/content/references/types/WorkflowTypes/ReservationWorkflow/types/types.WorkflowTypes.ReservationWorkflow.UpdateReservationsWorkflowOutput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/ReservationWorkflow/types/types.WorkflowTypes.ReservationWorkflow.UpdateReservationsWorkflowOutput.mdx new file mode 100644 index 0000000000000..b2f401e1b5d5f --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/ReservationWorkflow/types/types.WorkflowTypes.ReservationWorkflow.UpdateReservationsWorkflowOutput.mdx @@ -0,0 +1,5 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateReservationsWorkflowOutput + + **UpdateReservationsWorkflowOutput**: [ReservationItemDTO](../../../interfaces/types.ReservationItemDTO.mdx)[] diff --git a/www/apps/docs/content/references/types/WorkflowTypes/UserWorkflow/interfaces/types.WorkflowTypes.UserWorkflow.CreateUsersWorkflowInputDTO.mdx b/www/apps/docs/content/references/types/WorkflowTypes/UserWorkflow/interfaces/types.WorkflowTypes.UserWorkflow.CreateUsersWorkflowInputDTO.mdx new file mode 100644 index 0000000000000..f04e0b324b21a --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/UserWorkflow/interfaces/types.WorkflowTypes.UserWorkflow.CreateUsersWorkflowInputDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateUsersWorkflowInputDTO + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CreateUsersWorkflowInputDTO"/> diff --git a/www/apps/docs/content/references/types/WorkflowTypes/UserWorkflow/interfaces/types.WorkflowTypes.UserWorkflow.DeleteUserWorkflowInput.mdx b/www/apps/docs/content/references/types/WorkflowTypes/UserWorkflow/interfaces/types.WorkflowTypes.UserWorkflow.DeleteUserWorkflowInput.mdx new file mode 100644 index 0000000000000..cf09b124577fa --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/UserWorkflow/interfaces/types.WorkflowTypes.UserWorkflow.DeleteUserWorkflowInput.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# DeleteUserWorkflowInput + +## Properties + + diff --git a/www/apps/docs/content/references/types/WorkflowTypes/UserWorkflow/interfaces/types.WorkflowTypes.UserWorkflow.UpdateUsersWorkflowInputDTO.mdx b/www/apps/docs/content/references/types/WorkflowTypes/UserWorkflow/interfaces/types.WorkflowTypes.UserWorkflow.UpdateUsersWorkflowInputDTO.mdx new file mode 100644 index 0000000000000..f098981a96e1a --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/UserWorkflow/interfaces/types.WorkflowTypes.UserWorkflow.UpdateUsersWorkflowInputDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateUsersWorkflowInputDTO + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="UpdateUsersWorkflowInputDTO"/> diff --git a/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.FulfillmentWorkflow.mdx b/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.FulfillmentWorkflow.mdx new file mode 100644 index 0000000000000..dd7b480dabd5e --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.FulfillmentWorkflow.mdx @@ -0,0 +1,25 @@ +import TypeList from "@site/src/components/TypeList" + +# FulfillmentWorkflow + +## Interfaces + +- [CreateShipmentWorkflowInput](FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateShipmentWorkflowInput.mdx) +- [CreateShippingOptionsWorkflowInput](FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateShippingOptionsWorkflowInput.mdx) +- [DeleteShippingOptionsWorkflowInput](FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.DeleteShippingOptionsWorkflowInput.mdx) +- [CreateServiceZonesWorkflowInput](FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateServiceZonesWorkflowInput.mdx) +- [UpdateServiceZonesWorkflowInput](FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateServiceZonesWorkflowInput.mdx) +- [CreateShippingProfilesWorkflowInput](FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.CreateShippingProfilesWorkflowInput.mdx) +- [UpdateShippingProfilesWorkflowInput](FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateShippingProfilesWorkflowInput.mdx) +- [UpdateFulfillmentWorkflowInput](FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateFulfillmentWorkflowInput.mdx) +- [UpdateShippingOptionsWorkflowInput](FulfillmentWorkflow/interfaces/types.WorkflowTypes.FulfillmentWorkflow.UpdateShippingOptionsWorkflowInput.mdx) + +## Type Aliases + +- [CreateFulfillmentAddressWorkflowDTO](FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentAddressWorkflowDTO.mdx) +- [CreateFulfillmentItemWorkflowDTO](FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentItemWorkflowDTO.mdx) +- [CreateFulfillmentLabelWorkflowDTO](FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentLabelWorkflowDTO.mdx) +- [CreateFulfillmentOrderWorkflowDTO](FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentOrderWorkflowDTO.mdx) +- [CreateFulfillmentWorkflowInput](FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateFulfillmentWorkflowInput.mdx) +- [CreateShippingOptionsWorkflowOutput](FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.CreateShippingOptionsWorkflowOutput.mdx) +- [UpdateShippingOptionsWorkflowOutput](FulfillmentWorkflow/types/types.WorkflowTypes.FulfillmentWorkflow.UpdateShippingOptionsWorkflowOutput.mdx) diff --git a/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.InviteWorkflow.mdx b/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.InviteWorkflow.mdx new file mode 100644 index 0000000000000..8bb43cc87410c --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.InviteWorkflow.mdx @@ -0,0 +1,10 @@ +import TypeList from "@site/src/components/TypeList" + +# InviteWorkflow + +## Interfaces + +- [AcceptInviteWorkflowInputDTO](InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.AcceptInviteWorkflowInputDTO.mdx) +- [CreateInvitesWorkflowInputDTO](InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.CreateInvitesWorkflowInputDTO.mdx) +- [DeleteInvitesWorkflowInput](InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.DeleteInvitesWorkflowInput.mdx) +- [ResendInvitesWorkflowInputDTO](InviteWorkflow/interfaces/types.WorkflowTypes.InviteWorkflow.ResendInvitesWorkflowInputDTO.mdx) diff --git a/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.PriceListWorkflow.mdx b/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.PriceListWorkflow.mdx index 51ab8c50bfc22..5c82fc2c2dc83 100644 --- a/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.PriceListWorkflow.mdx +++ b/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.PriceListWorkflow.mdx @@ -13,9 +13,3 @@ import TypeList from "@site/src/components/TypeList" - [RemovePriceListPricesWorkflowInputDTO](PriceListWorkflow/interfaces/types.WorkflowTypes.PriceListWorkflow.RemovePriceListPricesWorkflowInputDTO.mdx) - [CreatePriceListWorkflowDTO](PriceListWorkflow/interfaces/types.WorkflowTypes.PriceListWorkflow.CreatePriceListWorkflowDTO.mdx) - [RemovePriceListWorkflowInputDTO](PriceListWorkflow/interfaces/types.WorkflowTypes.PriceListWorkflow.RemovePriceListWorkflowInputDTO.mdx) -- [UpdatePriceListWorkflowDTO](PriceListWorkflow/interfaces/types.WorkflowTypes.PriceListWorkflow.UpdatePriceListWorkflowDTO.mdx) -- [UpdatePriceListWorkflowInputDTO](PriceListWorkflow/interfaces/types.WorkflowTypes.PriceListWorkflow.UpdatePriceListWorkflowInputDTO.mdx) - -## Type Aliases - -- [PriceListVariantPriceDTO](PriceListWorkflow/types/types.WorkflowTypes.PriceListWorkflow.PriceListVariantPriceDTO.mdx) diff --git a/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.ProductCategoryWorkflow.mdx b/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.ProductCategoryWorkflow.mdx new file mode 100644 index 0000000000000..e14f3a31314f8 --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.ProductCategoryWorkflow.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ProductCategoryWorkflow + +## Interfaces + +- [CreateProductCategoryWorkflowInput](ProductCategoryWorkflow/interfaces/types.WorkflowTypes.ProductCategoryWorkflow.CreateProductCategoryWorkflowInput.mdx) +- [UpdateProductCategoryWorkflowInput](ProductCategoryWorkflow/interfaces/types.WorkflowTypes.ProductCategoryWorkflow.UpdateProductCategoryWorkflowInput.mdx) +- [BatchUpdateProductsOnCategoryWorkflowInput](ProductCategoryWorkflow/interfaces/types.WorkflowTypes.ProductCategoryWorkflow.BatchUpdateProductsOnCategoryWorkflowInput.mdx) diff --git a/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.RegionWorkflow.mdx b/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.RegionWorkflow.mdx new file mode 100644 index 0000000000000..d4bf6aaf7889a --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.RegionWorkflow.mdx @@ -0,0 +1,13 @@ +import TypeList from "@site/src/components/TypeList" + +# RegionWorkflow + +## Interfaces + +- [CreateRegionsWorkflowInput](RegionWorkflow/interfaces/types.WorkflowTypes.RegionWorkflow.CreateRegionsWorkflowInput.mdx) +- [UpdateRegionsWorkflowInput](RegionWorkflow/interfaces/types.WorkflowTypes.RegionWorkflow.UpdateRegionsWorkflowInput.mdx) + +## Type Aliases + +- [CreateRegionsWorkflowOutput](RegionWorkflow/types/types.WorkflowTypes.RegionWorkflow.CreateRegionsWorkflowOutput.mdx) +- [UpdateRegionsWorkflowOutput](RegionWorkflow/types/types.WorkflowTypes.RegionWorkflow.UpdateRegionsWorkflowOutput.mdx) diff --git a/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.ReservationWorkflow.mdx b/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.ReservationWorkflow.mdx new file mode 100644 index 0000000000000..680c77c01846c --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.ReservationWorkflow.mdx @@ -0,0 +1,13 @@ +import TypeList from "@site/src/components/TypeList" + +# ReservationWorkflow + +## Interfaces + +- [CreateReservationsWorkflowInput](ReservationWorkflow/interfaces/types.WorkflowTypes.ReservationWorkflow.CreateReservationsWorkflowInput.mdx) +- [UpdateReservationsWorkflowInput](ReservationWorkflow/interfaces/types.WorkflowTypes.ReservationWorkflow.UpdateReservationsWorkflowInput.mdx) + +## Type Aliases + +- [CreateReservationsWorkflowOutput](ReservationWorkflow/types/types.WorkflowTypes.ReservationWorkflow.CreateReservationsWorkflowOutput.mdx) +- [UpdateReservationsWorkflowOutput](ReservationWorkflow/types/types.WorkflowTypes.ReservationWorkflow.UpdateReservationsWorkflowOutput.mdx) diff --git a/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.UserWorkflow.mdx b/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.UserWorkflow.mdx new file mode 100644 index 0000000000000..ffda3a7b66d66 --- /dev/null +++ b/www/apps/docs/content/references/types/WorkflowTypes/types.WorkflowTypes.UserWorkflow.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UserWorkflow + +## Interfaces + +- [CreateUsersWorkflowInputDTO](UserWorkflow/interfaces/types.WorkflowTypes.UserWorkflow.CreateUsersWorkflowInputDTO.mdx) +- [DeleteUserWorkflowInput](UserWorkflow/interfaces/types.WorkflowTypes.UserWorkflow.DeleteUserWorkflowInput.mdx) +- [UpdateUsersWorkflowInputDTO](UserWorkflow/interfaces/types.WorkflowTypes.UserWorkflow.UpdateUsersWorkflowInputDTO.mdx) diff --git a/www/apps/docs/content/references/types/enums/types.PaymentActions.mdx b/www/apps/docs/content/references/types/enums/types.PaymentActions.mdx new file mode 100644 index 0000000000000..731c594e79ac5 --- /dev/null +++ b/www/apps/docs/content/references/types/enums/types.PaymentActions.mdx @@ -0,0 +1,31 @@ +import TypeList from "@site/src/components/TypeList" + +# PaymentActions + +Normalized events from payment provider to internal payment module events. + +## Enumeration Members + +### AUTHORIZED + + **AUTHORIZED** = `"authorized"` + +Payment session has been authorized and there are available funds for capture. + +### SUCCESSFUL + + **SUCCESSFUL** = `"captured"` + +Payment was successful and the mount is captured. + +### FAILED + + **FAILED** = `"failed"` + +Payment failed. + +### NOT\_SUPPORTED + + **NOT\_SUPPORTED** = `"not_supported"` + +Received an event that is not processable. diff --git a/www/apps/docs/content/references/types/enums/types.PaymentCollectionStatus.mdx b/www/apps/docs/content/references/types/enums/types.PaymentCollectionStatus.mdx index d976288f48416..bbf586ebc7233 100644 --- a/www/apps/docs/content/references/types/enums/types.PaymentCollectionStatus.mdx +++ b/www/apps/docs/content/references/types/enums/types.PaymentCollectionStatus.mdx @@ -16,13 +16,13 @@ The payment collection isn't paid. **AWAITING** = `"awaiting"` -The payment collection is awaiting payment. +The payment sessions in the payment collection are await authorization. ### AUTHORIZED **AUTHORIZED** = `"authorized"` -The payment collection is authorized. +The payment sessions in the payment collection are authorized. ### PARTIALLY\_AUTHORIZED @@ -34,4 +34,4 @@ Some of the payments in the payment collection are authorized. **CANCELED** = `"canceled"` -The payment collection is canceled. +The payments in the payment collection are canceled. diff --git a/www/apps/docs/content/references/types/enums/types.PaymentSessionStatus.mdx b/www/apps/docs/content/references/types/enums/types.PaymentSessionStatus.mdx new file mode 100644 index 0000000000000..0f36ec6f65d11 --- /dev/null +++ b/www/apps/docs/content/references/types/enums/types.PaymentSessionStatus.mdx @@ -0,0 +1,37 @@ +import TypeList from "@site/src/components/TypeList" + +# PaymentSessionStatus + +The status of a payment session. + +## Enumeration Members + +### AUTHORIZED + + **AUTHORIZED** = `"authorized"` + +The payment is authorized. + +### PENDING + + **PENDING** = `"pending"` + +The payment is pending. + +### REQUIRES\_MORE + + **REQUIRES\_MORE** = `"requires_more"` + +The payment requires an action. + +### ERROR + + **ERROR** = `"error"` + +An error occurred while processing the payment. + +### CANCELED + + **CANCELED** = `"canceled"` + +The payment is canceled. diff --git a/www/apps/docs/content/references/types/interfaces/types.AddCountryToRegionDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.AddCountryToRegionDTO.mdx deleted file mode 100644 index ebcf7f5f82b93..0000000000000 --- a/www/apps/docs/content/references/types/interfaces/types.AddCountryToRegionDTO.mdx +++ /dev/null @@ -1,7 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# AddCountryToRegionDTO - -## Properties - - diff --git a/www/apps/docs/content/references/types/interfaces/types.AddPriceListPricesDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.AddPriceListPricesDTO.mdx index f4933e307c421..58ef5462c7a7a 100644 --- a/www/apps/docs/content/references/types/interfaces/types.AddPriceListPricesDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.AddPriceListPricesDTO.mdx @@ -6,4 +6,4 @@ The prices to be added to a price list. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.AddPricesDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.AddPricesDTO.mdx index c46df556be64c..6d6bbbd76e437 100644 --- a/www/apps/docs/content/references/types/interfaces/types.AddPricesDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.AddPricesDTO.mdx @@ -6,4 +6,4 @@ The prices to add to a price set. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.AdminShippingOptionResponse.mdx b/www/apps/docs/content/references/types/interfaces/types.AdminShippingOptionResponse.mdx new file mode 100644 index 0000000000000..8ab09368de1ad --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.AdminShippingOptionResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# AdminShippingOptionResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"service_zone","type":"[AdminServiceZoneResponse](../HttpTypes/interfaces/types.HttpTypes.AdminServiceZoneResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"service_zone","type":"[ServiceZoneResponse](../HttpTypes/interfaces/types.HttpTypes.ServiceZoneResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"[AdminGeoZoneResponse](../HttpTypes/interfaces/types.HttpTypes.AdminGeoZoneResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"shipping_profile","type":"[AdminShippingProfileResponse](../HttpTypes/interfaces/types.HttpTypes.AdminShippingProfileResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"shipping_profile","type":"[ShippingProfileResponse](../HttpTypes/interfaces/types.HttpTypes.ShippingProfileResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"provider","type":"[AdminFulfillmentProviderResponse](../HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentProviderResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"type","type":"[AdminShippingOptionTypeResponse](../HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionTypeResponse.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"label","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"rules","type":"[AdminShippingOptionRuleResponse](../HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionRuleResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"attribute","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"operator","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`null` \\| `object`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"prices","type":"`AdminPriceSetPriceResponse`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="AdminShippingOptionResponse"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.ApiKeyDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.ApiKeyDTO.mdx new file mode 100644 index 0000000000000..15e956c2c6b2f --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.ApiKeyDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ApiKeyDTO + +The API key details. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.ApiKeyResponse.mdx b/www/apps/docs/content/references/types/interfaces/types.ApiKeyResponse.mdx new file mode 100644 index 0000000000000..a87ea02269013 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.ApiKeyResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# ApiKeyResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.AuthModuleProviderConfig.mdx b/www/apps/docs/content/references/types/interfaces/types.AuthModuleProviderConfig.mdx new file mode 100644 index 0000000000000..8e99d8c618434 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.AuthModuleProviderConfig.mdx @@ -0,0 +1,10 @@ +import TypeList from "@site/src/components/TypeList" + +# AuthModuleProviderConfig + +The configurations of the `providers` option +passed to the Auth Module. + +## Properties + +`","description":"The scopes configuration of that provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="AuthModuleProviderConfig"/> diff --git a/www/apps/docs/content/references/types/types/types.AuthProviderScope.mdx b/www/apps/docs/content/references/types/interfaces/types.AuthProviderScope.mdx similarity index 60% rename from www/apps/docs/content/references/types/types/types.AuthProviderScope.mdx rename to www/apps/docs/content/references/types/interfaces/types.AuthProviderScope.mdx index 2178ad97b1336..4d2618cd18862 100644 --- a/www/apps/docs/content/references/types/types/types.AuthProviderScope.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.AuthProviderScope.mdx @@ -2,4 +2,4 @@ import TypeList from "@site/src/components/TypeList" # AuthProviderScope - **AuthProviderScope**: `Record` +The scope configurations of an auth provider. diff --git a/www/apps/docs/content/references/types/interfaces/types.AuthUserDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.AuthUserDTO.mdx new file mode 100644 index 0000000000000..8791d4b9e22fe --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.AuthUserDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# AuthUserDTO + +The auth user details. + +## Properties + +`","description":"Holds custom data related to the user in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"Holds custom data related to the third-party app in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_metadata","type":"`Record`","description":"Holds custom data related to the provider in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="AuthUserDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.AuthenticationInput.mdx b/www/apps/docs/content/references/types/interfaces/types.AuthenticationInput.mdx new file mode 100644 index 0000000000000..95dffa622bb7d --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.AuthenticationInput.mdx @@ -0,0 +1,10 @@ +import TypeList from "@site/src/components/TypeList" + +# AuthenticationInput + +The data passed to the auth provider when authenticating a user +or validating a callback. + +## Properties + +`","description":"Headers of incoming authentication request.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"query","type":"`Record`","description":"Query params of the incoming authentication request.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"body","type":"`Record`","description":"Body of the incoming authentication request.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authScope","type":"`string`","description":"Scope for the authentication request.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"protocol","type":"`string`","description":"Protocol of the incoming authentication request (For example, `https`).","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="AuthenticationInput"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.AuthenticationResponse.mdx b/www/apps/docs/content/references/types/interfaces/types.AuthenticationResponse.mdx new file mode 100644 index 0000000000000..31c2e8138ee5f --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.AuthenticationResponse.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# AuthenticationResponse + +The details of the authentication response. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.CalculatedPriceSet.mdx b/www/apps/docs/content/references/types/interfaces/types.CalculatedPriceSet.mdx index 9ddbb5c43bd94..7c8b78ca2fe27 100644 --- a/www/apps/docs/content/references/types/interfaces/types.CalculatedPriceSet.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.CalculatedPriceSet.mdx @@ -6,4 +6,4 @@ The calculated price for a specific price set and context. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.CaptureDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CaptureDTO.mdx index 5d564de8acd15..46aec8b610f2a 100644 --- a/www/apps/docs/content/references/types/interfaces/types.CaptureDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.CaptureDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CaptureDTO +The capture details. + ## Properties -`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Capture","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"Captured amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Refund","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"Refunded amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency of the payments/sessions associated with payment collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the region","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider for the payments","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"`number`","description":"The amount authorized within associated payment sessions","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The amount refunded from associated payments","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CaptureDTO"/> +`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The captured amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who the capture was created by. For example,\nthe ID of a user.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the refund","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The refunded amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the refund.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the refund. For example,\nthe user's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment sessions and payments associated with payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the associated region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The total amount to be authorized and captured.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider used to process the associated payment sessions and payments.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount authorized within the associated payment sessions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount refunded within the associated payments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount to authorize.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]},{"name":"created_by","type":"`string`","description":"Who the capture was created by. For example,\nthe ID of a user.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CaptureDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.Context.mdx b/www/apps/docs/content/references/types/interfaces/types.Context.mdx index c2c6808dabe7f..fad38fdb6af99 100644 --- a/www/apps/docs/content/references/types/interfaces/types.Context.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.Context.mdx @@ -10,4 +10,4 @@ A context used to share resources, such as transaction manager, between the appl ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.CountryDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CountryDTO.mdx deleted file mode 100644 index eb96ef717b8ea..0000000000000 --- a/www/apps/docs/content/references/types/interfaces/types.CountryDTO.mdx +++ /dev/null @@ -1,7 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# CountryDTO - -## Properties - - diff --git a/www/apps/docs/content/references/types/interfaces/types.CreateApiKeyDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreateApiKeyDTO.mdx new file mode 100644 index 0000000000000..dae8453a29977 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.CreateApiKeyDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateApiKeyDTO + +The API key to be created. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.CreateAuthUserDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreateAuthUserDTO.mdx new file mode 100644 index 0000000000000..0f617330f9329 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.CreateAuthUserDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateAuthUserDTO + +The auth user to be created. + +## Properties + +`","description":"Holds custom data related to the provider in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user_metadata","type":"`Record`","description":"Holds custom data related to the user in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"Holds custom data related to the third-party app in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateAuthUserDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.CreateCaptureDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreateCaptureDTO.mdx index fa894cca843e3..9d3db87aa1748 100644 --- a/www/apps/docs/content/references/types/interfaces/types.CreateCaptureDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.CreateCaptureDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateCaptureDTO +The capture to be created. + ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.CreateCurrencyDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreateCurrencyDTO.mdx deleted file mode 100644 index 505f2ccfccfb2..0000000000000 --- a/www/apps/docs/content/references/types/interfaces/types.CreateCurrencyDTO.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# CreateCurrencyDTO - -A currency to create. - -## Properties - - diff --git a/www/apps/docs/content/references/types/interfaces/types.CreateGeoZoneBaseDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreateGeoZoneBaseDTO.mdx new file mode 100644 index 0000000000000..3cc11f94c72aa --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.CreateGeoZoneBaseDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateGeoZoneBaseDTO + +The geo zone to be created. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateGeoZoneBaseDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.CreateLocationFulfillmentSetWorkflowInputDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreateLocationFulfillmentSetWorkflowInputDTO.mdx new file mode 100644 index 0000000000000..50af825a229f3 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.CreateLocationFulfillmentSetWorkflowInputDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateLocationFulfillmentSetWorkflowInputDTO + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.CreateMoneyAmountDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreateMoneyAmountDTO.mdx index 36795a36c9dcc..d588b8993ca92 100644 --- a/www/apps/docs/content/references/types/interfaces/types.CreateMoneyAmountDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.CreateMoneyAmountDTO.mdx @@ -6,4 +6,4 @@ The money amount to create. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.CreatePaymentCollectionDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreatePaymentCollectionDTO.mdx index 9a58ab70c2f60..1639af36fb52f 100644 --- a/www/apps/docs/content/references/types/interfaces/types.CreatePaymentCollectionDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.CreatePaymentCollectionDTO.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreatePaymentCollectionDTO -Payment Collection +The payment collection to be created. ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreatePaymentCollectionDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreatePaymentCollectionDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.CreatePaymentDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreatePaymentDTO.mdx index c34215c553593..5777e92f3cd11 100644 --- a/www/apps/docs/content/references/types/interfaces/types.CreatePaymentDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.CreatePaymentDTO.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreatePaymentDTO -Payment +The payment to be created. ## Properties -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_session_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreatePaymentDTO"/> +`","description":"The data necessary for the associated payment provider to process the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_session_id","type":"`string`","description":"The ID of the payment session this payment was created from.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection_id","type":"`string`","description":"The associated payment collection's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The associated cart's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The associated order's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"The associated order edit's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The associated customer's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreatePaymentDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.CreatePaymentProviderDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreatePaymentProviderDTO.mdx new file mode 100644 index 0000000000000..87d5a586e297a --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.CreatePaymentProviderDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreatePaymentProviderDTO + +The payment provider to be created. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.CreatePaymentProviderSession.mdx b/www/apps/docs/content/references/types/interfaces/types.CreatePaymentProviderSession.mdx new file mode 100644 index 0000000000000..bf848401c2407 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.CreatePaymentProviderSession.mdx @@ -0,0 +1,10 @@ +import TypeList from "@site/src/components/TypeList" + +# CreatePaymentProviderSession + +The data used initiate a payment in a provider when a payment +session is created. + +## Properties + +` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"email","type":"`string`","description":"The associated customer's email.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_id","type":"`string`","description":"The ID of the resource the payment is associated with. For example, the ID of the payment session.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"Partial<[CustomerDTO](../CustomerTypes/interfaces/types.CustomerTypes.CustomerDTO.mdx)>","description":"The customer associated with this payment.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The email of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"has_account","type":"`boolean`","description":"A flag indicating if customer has an account or not.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_billing_address_id","type":"`null` \\| `string`","description":"The associated default billing address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_shipping_address_id","type":"`null` \\| `string`","description":"The associated default shipping address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company_name","type":"`null` \\| `string`","description":"The company name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"addresses","type":"[CustomerAddressDTO](../CustomerTypes/interfaces/types.CustomerTypes.CustomerAddressDTO.mdx)[]","description":"The addresses of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"The groups of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"extra","type":"`Record`","description":"The extra fields specific to the provider session.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"amount","type":"[BigNumberInput](../types/types.BigNumberInput.mdx)","description":"The amount to be authorized.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreatePaymentProviderSession"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.CreatePaymentSessionDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreatePaymentSessionDTO.mdx index 18f0fccb5079c..06a3f1c73e505 100644 --- a/www/apps/docs/content/references/types/interfaces/types.CreatePaymentSessionDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.CreatePaymentSessionDTO.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreatePaymentSessionDTO -Payment Session +The payment session to be created. ## Properties - +`","description":"Necessary data for the associated payment provider to process the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"[PaymentProviderContext](types.PaymentProviderContext.mdx)","description":"Necessary context data for the associated payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"billing_address","type":"Partial<[AddressDTO](../types/types.AddressDTO.mdx)>","description":"The payment's billing address.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"email","type":"`string`","description":"The associated customer's email.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_id","type":"`string`","description":"The ID of the resource the payment is associated with. For example, the ID of the payment session.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"Partial<[CustomerDTO](../CustomerTypes/interfaces/types.CustomerTypes.CustomerDTO.mdx)>","description":"The customer associated with this payment.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The email of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"has_account","type":"`boolean`","description":"A flag indicating if customer has an account or not.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_billing_address_id","type":"`null` \\| `string`","description":"The associated default billing address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_shipping_address_id","type":"`null` \\| `string`","description":"The associated default shipping address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company_name","type":"`null` \\| `string`","description":"The company name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"addresses","type":"[CustomerAddressDTO](../CustomerTypes/interfaces/types.CustomerTypes.CustomerAddressDTO.mdx)[]","description":"The addresses of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"The groups of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"extra","type":"`Record`","description":"The extra fields specific to the provider session.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="CreatePaymentSessionDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.CreatePriceDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreatePriceDTO.mdx new file mode 100644 index 0000000000000..1aef7cddee31d --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.CreatePriceDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreatePriceDTO + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.CreatePriceListDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreatePriceListDTO.mdx index b1eae4a209d5c..56b6594030c7e 100644 --- a/www/apps/docs/content/references/types/interfaces/types.CreatePriceListDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.CreatePriceListDTO.mdx @@ -6,4 +6,4 @@ The price list to create. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.CreatePriceListPriceDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreatePriceListPriceDTO.mdx new file mode 100644 index 0000000000000..a7ff0b3ff43b7 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.CreatePriceListPriceDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreatePriceListPriceDTO + +The prices associated with a price list. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.CreatePriceRuleDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreatePriceRuleDTO.mdx index 3423b958549ab..ea8c7bed4d550 100644 --- a/www/apps/docs/content/references/types/interfaces/types.CreatePriceRuleDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.CreatePriceRuleDTO.mdx @@ -6,4 +6,4 @@ A price rule to create. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.CreatePriceSetDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreatePriceSetDTO.mdx index 04d4b12532457..3f1a701aee3a2 100644 --- a/www/apps/docs/content/references/types/interfaces/types.CreatePriceSetDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.CreatePriceSetDTO.mdx @@ -6,4 +6,4 @@ A price set to create. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.CreatePriceSetMoneyAmountDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreatePriceSetMoneyAmountDTO.mdx deleted file mode 100644 index 781f02ba27613..0000000000000 --- a/www/apps/docs/content/references/types/interfaces/types.CreatePriceSetMoneyAmountDTO.mdx +++ /dev/null @@ -1,7 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# CreatePriceSetMoneyAmountDTO - -## Properties - - diff --git a/www/apps/docs/content/references/types/interfaces/types.CreatePriceSetMoneyAmountRulesDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreatePriceSetMoneyAmountRulesDTO.mdx deleted file mode 100644 index a45c435666fe2..0000000000000 --- a/www/apps/docs/content/references/types/interfaces/types.CreatePriceSetMoneyAmountRulesDTO.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# CreatePriceSetMoneyAmountRulesDTO - -The price set money amount rule to create. - -## Properties - - diff --git a/www/apps/docs/content/references/types/interfaces/types.CreatePriceSetRuleTypeDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreatePriceSetRuleTypeDTO.mdx index 2f798701c2979..b881e9a5fabf3 100644 --- a/www/apps/docs/content/references/types/interfaces/types.CreatePriceSetRuleTypeDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.CreatePriceSetRuleTypeDTO.mdx @@ -4,4 +4,4 @@ import TypeList from "@site/src/components/TypeList" ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.CreatePricesDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreatePricesDTO.mdx index eeb458e31b6a8..e3852fa310984 100644 --- a/www/apps/docs/content/references/types/interfaces/types.CreatePricesDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.CreatePricesDTO.mdx @@ -6,4 +6,4 @@ The prices to create part of a price set. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.CreateRefundDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreateRefundDTO.mdx index cbf304e0d9b49..37d436b6fe337 100644 --- a/www/apps/docs/content/references/types/interfaces/types.CreateRefundDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.CreateRefundDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateRefundDTO +The refund to be created. + ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.CreateRegionDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreateRegionDTO.mdx index 93b90a724d633..d71be7adef299 100644 --- a/www/apps/docs/content/references/types/interfaces/types.CreateRegionDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.CreateRegionDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # CreateRegionDTO +The region to be created. + ## Properties - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateRegionDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.CreateReservationItemInput.mdx b/www/apps/docs/content/references/types/interfaces/types.CreateReservationItemInput.mdx new file mode 100644 index 0000000000000..e7b72734fe1fe --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.CreateReservationItemInput.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateReservationItemInput + +The details of the reservation item to be created. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateReservationItemInput"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.CreateRuleTypeDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CreateRuleTypeDTO.mdx index 92926375befc1..e947cf2af0d4c 100644 --- a/www/apps/docs/content/references/types/interfaces/types.CreateRuleTypeDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.CreateRuleTypeDTO.mdx @@ -6,4 +6,4 @@ The rule type to create. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.CreateServiceZone.mdx b/www/apps/docs/content/references/types/interfaces/types.CreateServiceZone.mdx new file mode 100644 index 0000000000000..1bdd845d081b3 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.CreateServiceZone.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateServiceZone + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.CreateShippingProfile.mdx b/www/apps/docs/content/references/types/interfaces/types.CreateShippingProfile.mdx new file mode 100644 index 0000000000000..4a463f49c41ae --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.CreateShippingProfile.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateShippingProfile + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.CurrencyDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.CurrencyDTO.mdx deleted file mode 100644 index 4c119d28e94f5..0000000000000 --- a/www/apps/docs/content/references/types/interfaces/types.CurrencyDTO.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# CurrencyDTO - -A currency's data. - -## Properties - - diff --git a/www/apps/docs/content/references/types/interfaces/types.CustomerResponse.mdx b/www/apps/docs/content/references/types/interfaces/types.CustomerResponse.mdx new file mode 100644 index 0000000000000..ca6259dfe7cf0 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.CustomerResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# CustomerResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"[CustomerGroupResponse](../HttpTypes/interfaces/types.HttpTypes.CustomerGroupResponse.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customers","type":"[CustomerResponse](types.CustomerResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_billing_address_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_shipping_address_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company_name","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"has_account","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"addresses","type":"[CustomerAddressResponse](../HttpTypes/interfaces/types.HttpTypes.CustomerAddressResponse.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"[CustomerGroupResponse](../HttpTypes/interfaces/types.HttpTypes.CustomerGroupResponse.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CustomerResponse"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.FilterableApiKeyProps.mdx b/www/apps/docs/content/references/types/interfaces/types.FilterableApiKeyProps.mdx new file mode 100644 index 0000000000000..f99719e5282d1 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.FilterableApiKeyProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableApiKeyProps + +The filters to apply on the retrieved API keys. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.FilterableAuthUserProps.mdx b/www/apps/docs/content/references/types/interfaces/types.FilterableAuthUserProps.mdx index 18503d61b974c..505c1ad6a9c25 100644 --- a/www/apps/docs/content/references/types/interfaces/types.FilterableAuthUserProps.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.FilterableAuthUserProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterableAuthUserProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved auth user. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.FilterableCaptureProps.mdx b/www/apps/docs/content/references/types/interfaces/types.FilterableCaptureProps.mdx new file mode 100644 index 0000000000000..861b052974008 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.FilterableCaptureProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableCaptureProps + +The filters to apply on the retrieved captures. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.FilterableCurrencyProps.mdx b/www/apps/docs/content/references/types/interfaces/types.FilterableCurrencyProps.mdx deleted file mode 100644 index ff2ddbe0ef37b..0000000000000 --- a/www/apps/docs/content/references/types/interfaces/types.FilterableCurrencyProps.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# FilterableCurrencyProps - -Filters to apply on a currency. - -## Properties - - diff --git a/www/apps/docs/content/references/types/interfaces/types.FilterablePaymentCollectionProps.mdx b/www/apps/docs/content/references/types/interfaces/types.FilterablePaymentCollectionProps.mdx index 0baf1f8452af8..d48ffe44c260a 100644 --- a/www/apps/docs/content/references/types/interfaces/types.FilterablePaymentCollectionProps.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.FilterablePaymentCollectionProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterablePaymentCollectionProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved payment collection. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.FilterablePaymentProps.mdx b/www/apps/docs/content/references/types/interfaces/types.FilterablePaymentProps.mdx new file mode 100644 index 0000000000000..1823ff451c368 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.FilterablePaymentProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterablePaymentProps + +The filters to apply on the retrieved payments. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.FilterablePaymentProviderProps.mdx b/www/apps/docs/content/references/types/interfaces/types.FilterablePaymentProviderProps.mdx new file mode 100644 index 0000000000000..e73f643fabb09 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.FilterablePaymentProviderProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterablePaymentProviderProps + +The filters to apply on the retrieved payment providers. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.FilterablePaymentSessionProps.mdx b/www/apps/docs/content/references/types/interfaces/types.FilterablePaymentSessionProps.mdx new file mode 100644 index 0000000000000..642fd7737cbfc --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.FilterablePaymentSessionProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterablePaymentSessionProps + +The filters to apply on the retrieved payment sessions. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.FilterablePriceListProps.mdx b/www/apps/docs/content/references/types/interfaces/types.FilterablePriceListProps.mdx index fcff1f66f5b12..f730769492aa2 100644 --- a/www/apps/docs/content/references/types/interfaces/types.FilterablePriceListProps.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.FilterablePriceListProps.mdx @@ -6,4 +6,4 @@ Filters to apply on price lists. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.FilterablePriceProps.mdx b/www/apps/docs/content/references/types/interfaces/types.FilterablePriceProps.mdx new file mode 100644 index 0000000000000..2a20e1d4feef2 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.FilterablePriceProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterablePriceProps + +Filters to apply on prices. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.FilterablePriceSetMoneyAmountProps.mdx b/www/apps/docs/content/references/types/interfaces/types.FilterablePriceSetMoneyAmountProps.mdx deleted file mode 100644 index a5544e996cbda..0000000000000 --- a/www/apps/docs/content/references/types/interfaces/types.FilterablePriceSetMoneyAmountProps.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# FilterablePriceSetMoneyAmountProps - -Filters to apply on price set money amounts. - -## Properties - - diff --git a/www/apps/docs/content/references/types/interfaces/types.FilterablePriceSetMoneyAmountRulesProps.mdx b/www/apps/docs/content/references/types/interfaces/types.FilterablePriceSetMoneyAmountRulesProps.mdx deleted file mode 100644 index 479534e6a09df..0000000000000 --- a/www/apps/docs/content/references/types/interfaces/types.FilterablePriceSetMoneyAmountRulesProps.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# FilterablePriceSetMoneyAmountRulesProps - -Filters to apply on price set money amount rules. - -## Properties - - diff --git a/www/apps/docs/content/references/types/interfaces/types.FilterablePriceSetProps.mdx b/www/apps/docs/content/references/types/interfaces/types.FilterablePriceSetProps.mdx index bf27ecdb80619..5150b0e03414c 100644 --- a/www/apps/docs/content/references/types/interfaces/types.FilterablePriceSetProps.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.FilterablePriceSetProps.mdx @@ -6,4 +6,4 @@ Filters to apply on price sets. ## Properties - +`","description":"an object whose keys are the name of the context attribute. Its value can be a string or a BigNumberInput. For example, you can pass the `currency_code` property with its value being the currency code to calculate the price in.\nAnother example is passing the `quantity` property to calculate the price for that specified quantity, which finds a price set whose `min_quantity` and `max_quantity` conditions match the specified quantity.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`[]","description":"IDs to filter price sets by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"money_amounts","type":"[FilterableMoneyAmountProps](types.FilterableMoneyAmountProps.mdx)","description":"Filters to apply on a price set's associated money amounts.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"([FilterableMoneyAmountProps](types.FilterableMoneyAmountProps.mdx) \\| [BaseFilterable](../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableMoneyAmountProps](types.FilterableMoneyAmountProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"and\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"([FilterableMoneyAmountProps](types.FilterableMoneyAmountProps.mdx) \\| [BaseFilterable](../DAL/interfaces/types.DAL.BaseFilterable.mdx)<[FilterableMoneyAmountProps](types.FilterableMoneyAmountProps.mdx)>)[]","description":"An array of filters to apply on the entity, where each item in the array is joined with an \"or\" condition.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`[]","description":"IDs to filter money amounts by.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string` \\| `string`[]","description":"Currency codes to filter money amounts by.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="FilterablePriceSetProps"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.FilterableRefundProps.mdx b/www/apps/docs/content/references/types/interfaces/types.FilterableRefundProps.mdx new file mode 100644 index 0000000000000..1d956a652ea2a --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.FilterableRefundProps.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# FilterableRefundProps + +The filters to apply on the retrieved refunds. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.FilterableRegionCountryProps.mdx b/www/apps/docs/content/references/types/interfaces/types.FilterableRegionCountryProps.mdx index ec0ded211f742..cc2bf7ad8f21e 100644 --- a/www/apps/docs/content/references/types/interfaces/types.FilterableRegionCountryProps.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.FilterableRegionCountryProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterableRegionCountryProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved region's countries. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.FilterableRegionCurrencyProps.mdx b/www/apps/docs/content/references/types/interfaces/types.FilterableRegionCurrencyProps.mdx deleted file mode 100644 index 2c32859c0c063..0000000000000 --- a/www/apps/docs/content/references/types/interfaces/types.FilterableRegionCurrencyProps.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# FilterableRegionCurrencyProps - -An object used to allow specifying flexible queries with and/or conditions. - -## Properties - - diff --git a/www/apps/docs/content/references/types/interfaces/types.FilterableRegionProps.mdx b/www/apps/docs/content/references/types/interfaces/types.FilterableRegionProps.mdx index 45d1c54d65caa..fa1b5d7ce84c1 100644 --- a/www/apps/docs/content/references/types/interfaces/types.FilterableRegionProps.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.FilterableRegionProps.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # FilterableRegionProps -An object used to allow specifying flexible queries with and/or conditions. +The filters to apply on the retrieved regions. ## Properties - +` \\| [OperatorMap](../DAL/types/types.DAL.OperatorMap.mdx)<Record<string, unknown>>","description":"Filter regions by their metadata.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter regions by their creation date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[OperatorMap](../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter regions by their update date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="FilterableRegionProps"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.IApiKeyModuleService.mdx b/www/apps/docs/content/references/types/interfaces/types.IApiKeyModuleService.mdx new file mode 100644 index 0000000000000..0f4d038e69f3c --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.IApiKeyModuleService.mdx @@ -0,0 +1,357 @@ +import TypeList from "@site/src/components/TypeList" + +# IApiKeyModuleService + +The main service interface for the Api Key Module. + +## Methods + +### create + +`**create**(data, sharedContext?): Promise<[ApiKeyDTO](types.ApiKeyDTO.mdx)[]>` + +This method creates API keys. + +#### Example + +```ts +const apiKey = await apiKeyModuleService.create([ + { + title: "Development API key", + type: "publishable", + created_by: "user_123", + }, +]) +``` + +#### Parameters + + + +#### Returns + + + +`**create**(data, sharedContext?): Promise<[ApiKeyDTO](types.ApiKeyDTO.mdx)>` + +This method creates an API key. + +#### Example + +```ts +const apiKey = await apiKeyModuleService.create({ + title: "Development API key", + type: "publishable", + created_by: "user_123" +}) +``` + +#### Parameters + + + +#### Returns + + + +### upsert + +`**upsert**(data, sharedContext?): Promise<[ApiKeyDTO](types.ApiKeyDTO.mdx)[]>` + +This method updates or creates API keys if they don't exist. + +#### Example + +```ts +const apiKey = await apiKeyModuleService.upsert([ + { + id: "apk_123", + title: "My development key", + }, + { + title: "New development key", + type: "secret", + created_by: "user_123", + }, +]) +``` + +#### Parameters + + + +#### Returns + + + +`**upsert**(data, sharedContext?): Promise<[ApiKeyDTO](types.ApiKeyDTO.mdx)>` + +This method updates or creates an API key if it doesn't exist. + +#### Example + +```ts +const apiKey = await apiKeyModuleService.upsert({ + id: "apk_123", + title: "My development key" +}) +``` + +#### Parameters + + + +#### Returns + + + +### update + +`**update**(id, data, sharedContext?): Promise<[ApiKeyDTO](types.ApiKeyDTO.mdx)>` + +This method updates an existing API key. + +#### Example + +```ts +const apiKey = await apiKeyModuleService.update("apk_123", { + title: "My development key" +}) +``` + +#### Parameters + + + +#### Returns + + + +`**update**(selector, data, sharedContext?): Promise<[ApiKeyDTO](types.ApiKeyDTO.mdx)[]>` + +This method updates existing API keys. + +#### Example + +```ts +const apiKey = await apiKeyModuleService.update( + { + title: "Development key", + }, + { + title: "My development key", + } +) +``` + +#### Parameters + + + +#### Returns + + + +### delete + +`**delete**(ids, sharedContext?): Promise<void>` + +This method deletes API keys by their IDs. + +#### Example + +```ts +await apiKeyModuleService.delete(["apk_123"]) +``` + +#### Parameters + + + +#### Returns + + + +`**delete**(id, sharedContext?): Promise<void>` + +This method deletes an API key by its ID. + +#### Example + +```ts +await apiKeyModuleService.delete("apk_123") +``` + +#### Parameters + + + +#### Returns + + + +### retrieve + +This method retrieves an API key by its ID. + +#### Example + +```ts +const apiKey = await apiKeyModuleService.retrieve("apk_123") +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieve"/> + +#### Returns + + + +### list + +This method retrieves a paginated list of API keys based on optional filters and configuration. + +#### Example + +To retrieve a list of API keys using their IDs: + +```ts +const apiKeys = await apiKeyModuleService.list({ + id: ["apk_123", "apk_321"] +}) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const apiKeys = await apiKeyModuleService.list( + { + id: ["apk_123", "apk_321"], + }, + { + take: 20, + skip: 2, + } +) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> + +#### Returns + + + +### listAndCount + +This method retrieves a paginated list of API keys along with the total count of available API keys satisfying the provided filters. + +#### Example + +To retrieve a list of API keys using their IDs: + +```ts +const [apiKeys, count] = +await apiKeyModuleService.listAndCount({ + id: ["apk_123", "apk_321"], +}) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [apiKeys, count] = + await apiKeyModuleService.listAndCount( + { + id: ["apk_123", "apk_321"], + }, + { + take: 15, + skip: 2, + } + ) +``` + +#### Parameters + +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> + +#### Returns + + + +### revoke + +`**revoke**(selector, data, sharedContext?): Promise<[ApiKeyDTO](types.ApiKeyDTO.mdx)[]>` + +This method revokes API keys based on the filters provided. + +#### Example + +```ts +const apiKey = await apiKeyModuleService.revoke( + { + id: "apk_123", + }, + { + revoked_by: "user_123", + // 1 minute + revoke_in: 60, + } +) +``` + +#### Parameters + + + +#### Returns + + + +`**revoke**(id, data, sharedContext?): Promise<[ApiKeyDTO](types.ApiKeyDTO.mdx)>` + +This method revokes an API key based on the ID provided. + +#### Example + +```ts +const apiKey = await apiKeyModuleService.revoke("apk_123", { + revoked_by: "user_123", + // 1 minute + revoke_in: 60, +}) +``` + +#### Parameters + + + +#### Returns + + + +### authenticate + +This method verifies whether a token is valid, considering it authenticated. + +#### Example + +```ts +const apiKey = + await apiKeyModuleService.authenticate("AbCD123987") + +if (!apiKey) { + // authentication failed +} +``` + +#### Parameters + + + +#### Returns + + diff --git a/www/apps/docs/content/references/types/interfaces/types.IAuthModuleService.mdx b/www/apps/docs/content/references/types/interfaces/types.IAuthModuleService.mdx index eedf4e9e73866..429cda1bab63b 100644 --- a/www/apps/docs/content/references/types/interfaces/types.IAuthModuleService.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.IAuthModuleService.mdx @@ -2,108 +2,291 @@ import TypeList from "@site/src/components/TypeList" # IAuthModuleService +The main service interface for the Auth Module. + ## Methods ### authenticate +This method is used to authenticate a user using a provider. The `authenticate` method of the +underlying provider is called, passing it the `providerData` parameter as a parameter. The method +returns the data returned by the provider. + +Refer to [this guide](https://docs.medusajs.com/v1/experimental/auth/auth-flows) to learn more about the authentication flows. + +#### Example + +The following example is in the context of an API route, where +`req` is an instance of the `MedusaRequest` object: + +```ts +const { success, authUser, location, error } = + await authModuleService.authenticate("emailpass", { + url: req.url, + headers: req.headers, + query: req.query, + body: req.body, + authScope: "admin", + protocol: req.protocol, + } as AuthenticationInput) +``` + #### Parameters -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"query","type":"`Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"body","type":"`Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authScope","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"protocol","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="authenticate"/> +`","description":"Headers of incoming authentication request.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"query","type":"`Record`","description":"Query params of the incoming authentication request.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"body","type":"`Record`","description":"Body of the incoming authentication request.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authScope","type":"`string`","description":"Scope for the authentication request.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"protocol","type":"`string`","description":"Protocol of the incoming authentication request (For example, `https`).","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="authenticate"/> #### Returns - + ### validateCallback +When authenticating users with a third-party provider, such as Google, the user performs an +action to finish the authentication, such as enter their credentials in Google's sign-in +form. + +In those cases, you must create an API route or endpoint that's called by the third-party +provider when the user finishes performing the required action. + +In that API route, you can call this method to validate the third-party provider's +callback and authenticate the user. + +Learn more about this authentication flow in [this guide](https://docs.medusajs.com/v1/experimental/auth/auth-flows#authentication-with-third-party-service). + +#### Example + +The following example is in the context of an API route, where +`req` is an instance of the `MedusaRequest` object: + +```ts +const { success, authUser, error, successRedirectUrl } = + await authModuleService.validateCallback("google", { + url: req.url, + headers: req.headers, + query: req.query, + body: req.body, + authScope: "admin", + protocol: req.protocol, + } as AuthenticationInput) +``` + #### Parameters -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"query","type":"`Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"body","type":"`Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authScope","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"protocol","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="validateCallback"/> +`","description":"Headers of incoming authentication request.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"query","type":"`Record`","description":"Query params of the incoming authentication request.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"body","type":"`Record`","description":"Body of the incoming authentication request.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authScope","type":"`string`","description":"Scope for the authentication request.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"protocol","type":"`string`","description":"Protocol of the incoming authentication request (For example, `https`).","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="validateCallback"/> #### Returns - + ### retrieve +This method retrieves an auth user by its ID. + +#### Example + +```ts +const authUser = await authModuleService.retrieve("authusr_1") +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieve"/> #### Returns -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieve"/> +`","description":"Holds custom data related to the user in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"Holds custom data related to the third-party app in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_metadata","type":"`Record`","description":"Holds custom data related to the provider in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieve"/> ### list +This method retrieves a paginated list of auth users based on optional filters and configuration. + +#### Example + +To retrieve a list of auth users using their IDs: + +```ts +const authUsers = await authModuleService.list({ + id: ["authusr_123", "authusr_321"], +}) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const authUsers = await authModuleService.list( + { + id: ["authusr_123", "authusr_321"], + }, + { + take: 20, + skip: 2, + } +) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> #### Returns - + ### listAndCount +This method retrieves a paginated list of auth users along with the total count of available auth users satisfying the provided filters. + +#### Example + +To retrieve a list of auth users using their IDs: + +```ts +const [authUsers, count] = + await authModuleService.listAndCount({ + id: ["authusr_123", "authusr_321"], + }) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [authUsers, count] = + await authModuleService.listAndCount( + { + id: ["authusr_123", "authusr_321"], + }, + { + take: 20, + skip: 2, + } + ) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> #### Returns - + ### create -`**create**(data, sharedContext?): Promise<[AuthUserDTO](../types/types.AuthUserDTO.mdx)[]>` +`**create**(data, sharedContext?): Promise<[AuthUserDTO](types.AuthUserDTO.mdx)[]>` + +This method creates auth users. + +#### Example + +```ts +const authUsers = await authModuleService.create([ + { + provider: "emailpass", + entity_id: "user@example.com", + scope: "admin", + }, + { + provider: "google", + entity_id: "user@gmail.com", + scope: "email profile", + }, +]) +``` #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user_metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> +`","description":"Holds custom data related to the provider in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user_metadata","type":"`Record`","description":"Holds custom data related to the user in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"Holds custom data related to the third-party app in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> #### Returns - + + +`**create**(data, sharedContext?): Promise<[AuthUserDTO](types.AuthUserDTO.mdx)>` + +This method creates an auth user. -`**create**(data, sharedContext?): Promise<[AuthUserDTO](../types/types.AuthUserDTO.mdx)>` +#### Example + +```ts +const authUser = await authModuleService.create({ + provider: "emailpass", + entity_id: "user@example.com", + scope: "admin", +}) +``` #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user_metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> +`","description":"Holds custom data related to the provider in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user_metadata","type":"`Record`","description":"Holds custom data related to the user in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"Holds custom data related to the third-party app in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> #### Returns -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="create"/> +`","description":"Holds custom data related to the user in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"Holds custom data related to the third-party app in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_metadata","type":"`Record`","description":"Holds custom data related to the provider in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="create"/> ### update -`**update**(data, sharedContext?): Promise<[AuthUserDTO](../types/types.AuthUserDTO.mdx)[]>` +`**update**(data, sharedContext?): Promise<[AuthUserDTO](types.AuthUserDTO.mdx)[]>` + +This method updates existing auths. + +#### Example + +```ts +const authUsers = await authModuleService.update([ + { + id: "authusr_123", + app_metadata: { + test: true, + }, + }, +]) +``` #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user_metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> +`","description":"Holds custom data related to the provider in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user_metadata","type":"`Record`","description":"Holds custom data related to the user in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"Holds custom data related to the third-party app in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> #### Returns - + + +`**update**(data, sharedContext?): Promise<[AuthUserDTO](types.AuthUserDTO.mdx)>` -`**update**(data, sharedContext?): Promise<[AuthUserDTO](../types/types.AuthUserDTO.mdx)>` +This method updates an existing auth. + +#### Example + +```ts +const authUser = await authModuleService.update({ + id: "authusr_123", + app_metadata: { + test: true, + }, +}) +``` #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user_metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> +`","description":"Holds custom data related to the provider in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user_metadata","type":"`Record`","description":"Holds custom data related to the user in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"Holds custom data related to the third-party app in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> #### Returns -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="update"/> +`","description":"Holds custom data related to the user in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"Holds custom data related to the third-party app in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_metadata","type":"`Record`","description":"Holds custom data related to the provider in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="update"/> ### delete +This method deletes a auth by its ID. + +#### Example + +```ts +await authModuleService.delete(["authusr_123", "authusr_321"]) +``` + #### Parameters - + #### Returns - + diff --git a/www/apps/docs/content/references/types/interfaces/types.ILinkModule.mdx b/www/apps/docs/content/references/types/interfaces/types.ILinkModule.mdx index d8f3c64291134..01551fb764f4b 100644 --- a/www/apps/docs/content/references/types/interfaces/types.ILinkModule.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.ILinkModule.mdx @@ -8,7 +8,7 @@ import TypeList from "@site/src/components/TypeList" #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"config","type":"[FindConfig](../CommonTypes/interfaces/types.CommonTypes.FindConfig.mdx)<unknown>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"(`string` \\| keyof Entity)[]","description":"An array of strings, each being attribute names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`null` \\| `number`","description":"A number indicating the number of records to skip before retrieving the results.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`null` \\| `number`","description":"A number indicating the number of records to return in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"An array of strings, each being relation names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`\nto sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"withDeleted","type":"`boolean`","description":"A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the\n`SoftDeletableEntity` class.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"config","type":"[FindConfig](../CommonTypes/interfaces/types.CommonTypes.FindConfig.mdx)<unknown>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"(`string` \\| keyof Entity)[]","description":"An array of strings, each being attribute names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`null` \\| `number`","description":"A number indicating the number of records to skip before retrieving the results.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`null` \\| `number`","description":"A number indicating the number of records to return in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"An array of strings, each being relation names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`\nto sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"withDeleted","type":"`boolean`","description":"A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the\n`SoftDeletableEntity` class.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"filters","type":"`Record`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> #### Returns @@ -18,7 +18,7 @@ import TypeList from "@site/src/components/TypeList" #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"config","type":"[FindConfig](../CommonTypes/interfaces/types.CommonTypes.FindConfig.mdx)<unknown>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"(`string` \\| keyof Entity)[]","description":"An array of strings, each being attribute names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`null` \\| `number`","description":"A number indicating the number of records to skip before retrieving the results.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`null` \\| `number`","description":"A number indicating the number of records to return in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"An array of strings, each being relation names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`\nto sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"withDeleted","type":"`boolean`","description":"A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the\n`SoftDeletableEntity` class.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"config","type":"[FindConfig](../CommonTypes/interfaces/types.CommonTypes.FindConfig.mdx)<unknown>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"(`string` \\| keyof Entity)[]","description":"An array of strings, each being attribute names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`null` \\| `number`","description":"A number indicating the number of records to skip before retrieving the results.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`null` \\| `number`","description":"A number indicating the number of records to return in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"An array of strings, each being relation names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`\nto sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"withDeleted","type":"`boolean`","description":"A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the\n`SoftDeletableEntity` class.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"filters","type":"`Record`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> #### Returns @@ -28,7 +28,7 @@ import TypeList from "@site/src/components/TypeList" #### Parameters - + #### Returns @@ -38,7 +38,7 @@ import TypeList from "@site/src/components/TypeList" #### Parameters - + #### Returns @@ -48,7 +48,7 @@ import TypeList from "@site/src/components/TypeList" #### Parameters - + #### Returns @@ -58,7 +58,7 @@ import TypeList from "@site/src/components/TypeList" #### Parameters - + #### Returns @@ -68,7 +68,7 @@ import TypeList from "@site/src/components/TypeList" #### Parameters - + #### Returns diff --git a/www/apps/docs/content/references/types/interfaces/types.IMessageAggregator.mdx b/www/apps/docs/content/references/types/interfaces/types.IMessageAggregator.mdx index 7b21332e2474b..92160053266ef 100644 --- a/www/apps/docs/content/references/types/interfaces/types.IMessageAggregator.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.IMessageAggregator.mdx @@ -29,3 +29,17 @@ import TypeList from "@site/src/components/TypeList" #### Returns + +### saveRawMessageData + +#### Type Parameters + + + +#### Parameters + +`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="saveRawMessageData"/> + +#### Returns + + diff --git a/www/apps/docs/content/references/types/interfaces/types.IPaymentModuleService.mdx b/www/apps/docs/content/references/types/interfaces/types.IPaymentModuleService.mdx index f7c27b6eafd46..a2912069cc3cb 100644 --- a/www/apps/docs/content/references/types/interfaces/types.IPaymentModuleService.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.IPaymentModuleService.mdx @@ -2,282 +2,851 @@ import TypeList from "@site/src/components/TypeList" # IPaymentModuleService +The main service interface for the Payment Module. + ## Methods -### createPaymentCollection +### createPaymentCollections + +`**createPaymentCollections**(data, sharedContext?): Promise<[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)[]>` + +This method creates payment collections. + +#### Example -`**createPaymentCollection**(data, sharedContext?): Promise<[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)[]>` +```ts +const paymentCollections = + await paymentModuleService.createPaymentCollections([ + { + region_id: "reg_123", + currency_code: "usd", + amount: 3000, + }, + { + region_id: "reg_321", + currency_code: "eur", + amount: 2000, + }, + ]) +``` #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createPaymentCollection"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createPaymentCollections"/> #### Returns - + -`**createPaymentCollection**(data, sharedContext?): Promise<[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)>` +`**createPaymentCollections**(data, sharedContext?): Promise<[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)>` + +This method creates a payment collection. + +#### Example + +```ts +const paymentCollection = + await paymentModuleService.createPaymentCollections({ + region_id: "reg_123", + currency_code: "usd", + amount: 3000, + }) +``` #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createPaymentCollection"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createPaymentCollections"/> #### Returns -`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The payment amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Payment currency","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of payment provider","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="createPaymentCollection"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount to authorize.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The payment's total amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The authorized amount of the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"The ID of the associated order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the associated customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="createPaymentCollections"/> ### retrievePaymentCollection +This method retrieves a payment collection by its ID. + +#### Example + +A simple example that retrieves a {type name} by its ID: + +```ts +const paymentCollection = + await paymentModuleService.retrievePaymentCollection( + "pay_col_123" + ) +``` + +To specify relations that should be retrieved: + +```ts +const paymentCollection = + await paymentModuleService.retrievePaymentCollection( + "pay_col_123", + { + relations: ["payment_sessions"], + } + ) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrievePaymentCollection"/> #### Returns -`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The payment amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Payment currency","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of payment provider","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="retrievePaymentCollection"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount to authorize.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The payment's total amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The authorized amount of the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"The ID of the associated order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the associated customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="retrievePaymentCollection"/> ### listPaymentCollections +This method retrieves a paginated list of payment collections based on optional filters and configuration. + +#### Example + +To retrieve a list of payment collections using their IDs: + +```ts +const paymentCollections = + await paymentModuleService.listPaymentCollections({ + id: ["pay_col_123", "pay_col_321"], + }) +``` + +To specify relations that should be retrieved within the payment collection: + +```ts +const paymentCollections = + await paymentModuleService.listPaymentCollections( + { + id: ["pay_col_123", "pay_col_321"], + }, + { + relations: ["payment_sessions"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const paymentCollections = + await paymentModuleService.listPaymentCollections( + { + id: ["pay_col_123", "pay_col_321"], + }, + { + relations: ["payment_sessions"], + take: 20, + skip: 2, + } + ) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listPaymentCollections"/> #### Returns - + ### listAndCountPaymentCollections +This method retrieves a paginated list of payment collections along with the total count of available payment collections satisfying the provided filters. + +#### Example + +To retrieve a list of {type name} using their IDs: + +```ts +const paymentCollections = + await paymentModuleService.listAndCountPaymentCollections({ + id: ["pay_col_123", "pay_col_321"], + }) +``` + +To specify relations that should be retrieved within the {type name}: + +```ts +const paymentCollections = + await paymentModuleService.listAndCountPaymentCollections( + { + id: ["pay_col_123", "pay_col_321"], + }, + { + relations: ["payment_sessions"], + } + ) +``` + +By default, only the first `{default limit}` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const paymentCollections = + await paymentModuleService.listAndCountPaymentCollections( + { + id: ["pay_col_123", "pay_col_321"], + }, + { + relations: ["payment_sessions"], + take: 20, + skip: 2, + } + ) +``` + #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountPaymentCollections"/> #### Returns - + + +### updatePaymentCollections -### updatePaymentCollection +`**updatePaymentCollections**(paymentCollectionId, data, sharedContext?): Promise<[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)>` -`**updatePaymentCollection**(data, sharedContext?): Promise<[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)[]>` +This method updates an existing payment collection. + +#### Example + +```ts +const paymentCollection = + await paymentModuleService.updatePaymentCollections( + "pay_col_123", + { + amount: 3000, + } + ) +``` #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"NOT_PAID","type":"`\"not_paid\"`","description":"The payment collection isn't paid.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"AWAITING","type":"`\"awaiting\"`","description":"The payment collection is awaiting payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"AUTHORIZED","type":"`\"authorized\"`","description":"The payment collection is authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PARTIALLY_AUTHORIZED","type":"`\"partially_authorized\"`","description":"Some of the payments in the payment collection are authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"CANCELED","type":"`\"canceled\"`","description":"The payment collection is canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updatePaymentCollection"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updatePaymentCollections"/> #### Returns - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount to authorize.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The payment's total amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The authorized amount of the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"The ID of the associated order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the associated customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="updatePaymentCollections"/> + +`**updatePaymentCollections**(selector, data, sharedContext?): Promise<[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)[]>` + +This method updates existing payment collections matching the specified filters. -`**updatePaymentCollection**(data, sharedContext?): Promise<[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)>` +#### Example + +```ts +const paymentCollections = + await paymentModuleService.updatePaymentCollections( + { + id: ["pay_col_123", "pay_col_321"], + }, + { + currency_code: "usd", + } + ) +``` #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"NOT_PAID","type":"`\"not_paid\"`","description":"The payment collection isn't paid.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"AWAITING","type":"`\"awaiting\"`","description":"The payment collection is awaiting payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"AUTHORIZED","type":"`\"authorized\"`","description":"The payment collection is authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PARTIALLY_AUTHORIZED","type":"`\"partially_authorized\"`","description":"Some of the payments in the payment collection are authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"CANCELED","type":"`\"canceled\"`","description":"The payment collection is canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updatePaymentCollection"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updatePaymentCollections"/> #### Returns -`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The payment amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Payment currency","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of payment provider","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="updatePaymentCollection"/> + -### deletePaymentCollections +### upsertPaymentCollections -`**deletePaymentCollections**(paymentCollectionId, sharedContext?): Promise<void>` +`**upsertPaymentCollections**(data, sharedContext?): Promise<[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)[]>` + +This method updates or creates payment collections if they don't exist. + +#### Example + +```ts +const paymentCollections = + await paymentModuleService.upsertPaymentCollections([ + { + id: "pay_col_123", + region_id: "reg_123", + }, + { + region_id: "reg_123", + currency_code: "usd", + amount: 3000, + }, + ]) +``` + +#### Parameters + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsertPaymentCollections"/> + +#### Returns + + + +`**upsertPaymentCollections**(data, sharedContext?): Promise<[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)>` + +This method updates or creates a payment collection if it doesn't exist. + +#### Example + +```ts +const paymentCollection = + await paymentModuleService.upsertPaymentCollections({ + id: "pay_col_123", + region_id: "reg_123", + }) +``` #### Parameters - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsertPaymentCollections"/> #### Returns - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount to authorize.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The payment's total amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The authorized amount of the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"The ID of the associated order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the associated customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="upsertPaymentCollections"/> + +### deletePaymentCollections `**deletePaymentCollections**(paymentCollectionId, sharedContext?): Promise<void>` +This method deletes a payment collection by its ID. + +#### Example + +```ts +await paymentModuleService.deletePaymentCollections([ + "pay_col_123", + "pay_col_321", +]) +``` + #### Parameters - + #### Returns - + + +`**deletePaymentCollections**(paymentCollectionId, sharedContext?): Promise<void>` + +This method deletes a payment collection by its ID. + +#### Example -### authorizePaymentCollection +```ts +await paymentModuleService.deletePaymentCollections( + "pay_col_123" +) +``` #### Parameters - + #### Returns -`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The payment amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Payment currency","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of payment provider","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="authorizePaymentCollection"/> + + +### completePaymentCollections + +`**completePaymentCollections**(paymentCollectionId, sharedContext?): Promise<[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)>` -### completePaymentCollection +This method marks a payment collection as completed by settings its `completed_at` field to the current date and time. + +#### Example + +```ts +const paymentCollection = + await paymentModuleService.completePaymentCollections( + "pay_col_123" + ) +``` #### Parameters - + #### Returns -`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The payment amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Payment currency","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of payment provider","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="completePaymentCollection"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount to authorize.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The payment's total amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The authorized amount of the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"The ID of the associated order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the associated customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="completePaymentCollections"/> + +`**completePaymentCollections**(paymentCollectionId, sharedContext?): Promise<[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)[]>` + +This method marks payment collections as completed by settings their `completed_at` field to the current date and time. -### createPayment +#### Example -`**createPayment**(data, sharedContext?): Promise<[PaymentDTO](types.PaymentDTO.mdx)>` +```ts +const paymentCollection = + await paymentModuleService.completePaymentCollections([ + "pay_col_123", + "pay_col_321", + ]) +``` #### Parameters -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_session_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createPayment"/> + #### Returns -`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Capture","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"Captured amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Refund","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"Refunded amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency of the payments/sessions associated with payment collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the region","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider for the payments","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"`number`","description":"The amount authorized within associated payment sessions","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The amount refunded from associated payments","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="createPayment"/> + + +### createPaymentSession + +This method creates a payment session in a payment collection. + +#### Example -`**createPayment**(data, sharedContext?): Promise<[PaymentDTO](types.PaymentDTO.mdx)[]>` +```ts +const paymentSession = + await paymentModuleService.createPaymentSession( + "pay_col_1", + { + provider_id: "stripe", + currency_code: "usd", + amount: 3000, + data: {}, + } + ) +``` #### Parameters -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_session_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createPayment"/> +`","description":"Necessary data for the associated payment provider to process the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"[PaymentProviderContext](types.PaymentProviderContext.mdx)","description":"Necessary context data for the associated payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"billing_address","type":"Partial<[AddressDTO](../types/types.AddressDTO.mdx)>","description":"The payment's billing address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The associated customer's email.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_id","type":"`string`","description":"The ID of the resource the payment is associated with. For example, the ID of the payment session.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"Partial<[CustomerDTO](../CustomerTypes/interfaces/types.CustomerTypes.CustomerDTO.mdx)>","description":"The customer associated with this payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"extra","type":"`Record`","description":"The extra fields specific to the provider session.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="createPaymentSession"/> #### Returns - +`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"AUTHORIZED","type":"`\"authorized\"`","description":"The payment is authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PENDING","type":"`\"pending\"`","description":"The payment is pending.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REQUIRES_MORE","type":"`\"requires_more\"`","description":"The payment requires an action.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ERROR","type":"`\"error\"`","description":"An error occurred while processing the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"CANCELED","type":"`\"canceled\"`","description":"The payment is canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment sessions and payments associated with payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the associated region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The total amount to be authorized and captured.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider used to process the associated payment sessions and payments.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount authorized within the associated payment sessions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount refunded within the associated payments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The payment's total amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The authorized amount of the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"The ID of the associated order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the associated customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="createPaymentSession"/> -### capturePayment +### updatePaymentSession + +This method updates a payment session. -`**capturePayment**(data, sharedContext?): Promise<[PaymentDTO](types.PaymentDTO.mdx)>` +#### Example + +```ts +const paymentSession = + await paymentModuleService.updatePaymentSession({ + id: "payses_123", + currency_code: "usd", + amount: 3000, + data: {}, + }) +``` #### Parameters - +`","description":"Necessary data for the associated payment provider to process the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../types/types.BigNumberInput.mdx)","description":"The amount to be authorized.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"[PaymentProviderContext](types.PaymentProviderContext.mdx)","description":"Necessary context data for the associated payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"billing_address","type":"Partial<[AddressDTO](../types/types.AddressDTO.mdx)>","description":"The payment's billing address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The associated customer's email.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_id","type":"`string`","description":"The ID of the resource the payment is associated with. For example, the ID of the payment session.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"Partial<[CustomerDTO](../CustomerTypes/interfaces/types.CustomerTypes.CustomerDTO.mdx)>","description":"The customer associated with this payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"extra","type":"`Record`","description":"The extra fields specific to the provider session.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updatePaymentSession"/> #### Returns -`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Capture","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"Captured amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Refund","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"Refunded amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency of the payments/sessions associated with payment collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the region","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider for the payments","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"`number`","description":"The amount authorized within associated payment sessions","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The amount refunded from associated payments","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="capturePayment"/> +`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"AUTHORIZED","type":"`\"authorized\"`","description":"The payment is authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PENDING","type":"`\"pending\"`","description":"The payment is pending.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REQUIRES_MORE","type":"`\"requires_more\"`","description":"The payment requires an action.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ERROR","type":"`\"error\"`","description":"An error occurred while processing the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"CANCELED","type":"`\"canceled\"`","description":"The payment is canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment sessions and payments associated with payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the associated region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The total amount to be authorized and captured.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider used to process the associated payment sessions and payments.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount authorized within the associated payment sessions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount refunded within the associated payments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The payment's total amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The authorized amount of the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"The ID of the associated order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the associated customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="updatePaymentSession"/> + +### deletePaymentSession -`**capturePayment**(data, sharedContext?): Promise<[PaymentDTO](types.PaymentDTO.mdx)[]>` +This method deletes a payment session. + +#### Example + +```ts +await paymentModuleService.deletePaymentSession("payses_123") +``` #### Parameters - + #### Returns - + -### refundPayment +### authorizePaymentSession -`**refundPayment**(data, sharedContext?): Promise<[PaymentDTO](types.PaymentDTO.mdx)>` +This method authorizes a payment session using its associated payment provider. This creates a payment that can later be captured. + +Learn more about the payment flow in [this guide](https://docs.medusajs.com/v1/experimental/payment/payment-flow/) + +#### Example + +```ts +const payment = + await paymentModuleService.authorizePaymentSession( + "payses_123", + {} + ) +``` + +#### Parameters + +`","description":"Context data to pass to the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="authorizePaymentSession"/> + +#### Returns + +`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The captured amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who the capture was created by. For example,\nthe ID of a user.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the refund","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The refunded amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the refund.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the refund. For example,\nthe user's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment sessions and payments associated with payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the associated region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The total amount to be authorized and captured.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider used to process the associated payment sessions and payments.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount authorized within the associated payment sessions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount refunded within the associated payments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount to authorize.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="authorizePaymentSession"/> + +### listPaymentSessions + +This method retrieves a paginated list of payment sessions based on optional filters and configuration. + +#### Example + +To retrieve a list of payment sessions using their IDs: + +```ts +const paymentSessions = + await paymentModuleService.listPaymentSessions({ + id: ["payses_123", "payses_321"], + }) +``` + +To specify relations that should be retrieved within the payment session: + +```ts +const paymentSessions = + await paymentModuleService.listPaymentSessions( + { + id: ["payses_123", "payses_321"], + }, + { + relations: ["payment"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const paymentSessions = + await paymentModuleService.listPaymentSessions( + { + id: ["payses_123", "payses_321"], + }, + { + relations: ["payment"], + take: 20, + skip: 2, + } + ) +``` #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listPaymentSessions"/> #### Returns -`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Capture","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"Captured amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Refund","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"Refunded amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency of the payments/sessions associated with payment collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the region","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider for the payments","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"`number`","description":"The amount authorized within associated payment sessions","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The amount refunded from associated payments","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="refundPayment"/> + + +### listPayments + +This method retrieves a paginated list of payments based on optional filters and configuration. + +#### Example + +To retrieve a list of payments using their IDs: + +```ts +const payments = await paymentModuleService.listPayments({ + id: ["pay_123", "pay_321"], +}) +``` + +To specify relations that should be retrieved within the payment: + +```ts +const payments = await paymentModuleService.listPayments( + { + id: ["pay_123", "pay_321"], + }, + { + relations: ["payment_session"], + } +) +``` -`**refundPayment**(data, sharedContext?): Promise<[PaymentDTO](types.PaymentDTO.mdx)[]>` +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const payments = await paymentModuleService.listPayments( + { + id: ["pay_123", "pay_321"], + }, + { + relations: ["payment_session"], + take: 20, + skip: 2, + } +) +``` #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listPayments"/> #### Returns - + -### cancelPayment +### updatePayment + +This method updates an existing payment. -`**cancelPayment**(paymentId, sharedContext?): Promise<[PaymentDTO](types.PaymentDTO.mdx)>` +#### Example + +```ts +const payment = await paymentModuleService.updatePayment({ + id: "pay_123", + customer_id: "cus_123", +}) +``` #### Parameters - + #### Returns -`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Capture","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"Captured amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Refund","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"Refunded amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency of the payments/sessions associated with payment collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the region","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider for the payments","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"`number`","description":"The amount authorized within associated payment sessions","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The amount refunded from associated payments","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="cancelPayment"/> +`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The captured amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who the capture was created by. For example,\nthe ID of a user.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the refund","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The refunded amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the refund.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the refund. For example,\nthe user's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment sessions and payments associated with payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the associated region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The total amount to be authorized and captured.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider used to process the associated payment sessions and payments.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount authorized within the associated payment sessions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount refunded within the associated payments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount to authorize.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="updatePayment"/> + +### capturePayment + +This method captures a payment using its associated payment provider. -`**cancelPayment**(paymentId, sharedContext?): Promise<[PaymentDTO](types.PaymentDTO.mdx)[]>` +Learn more about the payment flow in [this guide](https://docs.medusajs.com/v1/experimental/payment/payment-flow/) + +#### Example + +```ts +const payment = await paymentModuleService.capturePayment({ + payment_id: "pay_123", +}) +``` #### Parameters - + #### Returns - +`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The captured amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who the capture was created by. For example,\nthe ID of a user.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the refund","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The refunded amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the refund.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the refund. For example,\nthe user's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment sessions and payments associated with payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the associated region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The total amount to be authorized and captured.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider used to process the associated payment sessions and payments.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount authorized within the associated payment sessions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount refunded within the associated payments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount to authorize.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="capturePayment"/> -### updatePayment +### refundPayment -`**updatePayment**(data, sharedContext?): Promise<[PaymentDTO](types.PaymentDTO.mdx)>` +This method refunds a payment using its associated payment provider. An amount can only be refunded if it has been captured first. + +#### Example + +```ts +const payment = await paymentModuleService.refundPayment({ + payment_id: "pay_123", + amount: 300, +}) +``` #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updatePayment"/> + #### Returns -`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Capture","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"Captured amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Refund","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"Refunded amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency of the payments/sessions associated with payment collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the region","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider for the payments","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"`number`","description":"The amount authorized within associated payment sessions","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The amount refunded from associated payments","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]}]} sectionTitle="updatePayment"/> +`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The captured amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who the capture was created by. For example,\nthe ID of a user.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the refund","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The refunded amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the refund.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the refund. For example,\nthe user's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment sessions and payments associated with payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the associated region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The total amount to be authorized and captured.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider used to process the associated payment sessions and payments.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount authorized within the associated payment sessions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount refunded within the associated payments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount to authorize.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="refundPayment"/> -`**updatePayment**(data, sharedContext?): Promise<[PaymentDTO](types.PaymentDTO.mdx)[]>` +### cancelPayment + +This method cancels a payment. + +#### Example + +```ts +const payment = + await paymentModuleService.cancelPayment("pay_123") +``` #### Parameters -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updatePayment"/> + #### Returns - +`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The captured amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who the capture was created by. For example,\nthe ID of a user.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the refund","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The refunded amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the refund.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the refund. For example,\nthe user's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment sessions and payments associated with payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the associated region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The total amount to be authorized and captured.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider used to process the associated payment sessions and payments.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount authorized within the associated payment sessions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount refunded within the associated payments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount to authorize.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="cancelPayment"/> -### createPaymentSession +### listPaymentProviders + +This method retrieves a paginated list of payment providers based on optional filters and configuration. + +#### Example + +To retrieve a list of payment providers using their IDs: + +```ts +const paymentProviders = + await paymentModuleService.listPaymentProviders({ + id: ["stripe", "system"], + }) +``` -`**createPaymentSession**(paymentCollectionId, data, sharedContext?): Promise<[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)>` +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const paymentProviders = + await paymentModuleService.listPaymentProviders( + { + id: ["stripe", "system"], + }, + { + take: 20, + skip: 2, + } + ) +``` #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listPaymentProviders"/> #### Returns -`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The payment amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Payment currency","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of payment provider","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="createPaymentSession"/> + -`**createPaymentSession**(paymentCollectionId, data, sharedContext?): Promise<[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)>` +### listAndCountPaymentProviders #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountPaymentProviders"/> #### Returns -`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The payment amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Payment currency","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of payment provider","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="createPaymentSession"/> + + +### listCaptures + +This method retrieves a paginated list of captures based on optional filters and configuration. + +#### Example + +To retrieve a list of captures using their IDs: + +```ts +const captures = await paymentModuleService.listCaptures({ + id: ["capt_123", "capt_321"], +}) +``` + +To specify relations that should be retrieved within the capture: -### authorizePaymentSessions +```ts +const captures = await paymentModuleService.listCaptures( + { + id: ["capt_123", "capt_321"], + }, + { + relations: ["payment"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const captures = await paymentModuleService.listCaptures( + { + id: ["capt_123", "capt_321"], + }, + { + relations: ["payment"], + take: 20, + skip: 2, + } +) +``` #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listCaptures"/> #### Returns -`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The payment amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Payment currency","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of payment provider","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="authorizePaymentSessions"/> + + +### listRefunds + +This method retrieves a paginated list of refunds based on optional filters and configuration. + +#### Example + +To retrieve a list of refunds using their IDs: + +```ts +const refunds = await paymentModuleService.listRefunds({ + id: ["ref_123", "ref_321"], +}) +``` + +To specify relations that should be retrieved within the refund: -### completePaymentSessions +```ts +const refunds = await paymentModuleService.listRefunds( + { + id: ["ref_123", "ref_321"], + }, + { + relations: ["payment"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const refunds = await paymentModuleService.listRefunds( + { + id: ["ref_123", "ref_321"], + }, + { + relations: ["payment"], + take: 20, + skip: 2, + } +) +``` #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listRefunds"/> #### Returns -`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The payment amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Payment currency","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of payment provider","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="completePaymentSessions"/> + + +### processEvent + +This method handles a webhook event with the associated payment provider. + +Learn more about handling webhook events in [this guide](https://docs.medusajs.com/v1/experimental/payment/webhook-events/) + +#### Example + +In the following example, `req` is an instance of `MedusaRequest`: -### setPaymentSessions +```ts +await paymentModuleService.processEvent({ + provider: "stripe", + payload: { + data: req.body, + rawData: req.rawBody, + headers: req.headers, + }, +}) +``` #### Parameters - +`","description":"The parsed webhook body.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rawData","type":"`string` \\| `Buffer`","description":"The raw webhook request body.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"headers","type":"`Record`","description":"The headers of the webhook request.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="processEvent"/> #### Returns -`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The payment amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Payment currency","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of payment provider","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]}]} sectionTitle="setPaymentSessions"/> + diff --git a/www/apps/docs/content/references/types/interfaces/types.IPaymentProvider.mdx b/www/apps/docs/content/references/types/interfaces/types.IPaymentProvider.mdx new file mode 100644 index 0000000000000..42dc743ce2a11 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.IPaymentProvider.mdx @@ -0,0 +1,147 @@ +import TypeList from "@site/src/components/TypeList" + +# IPaymentProvider + +## Methods + +### initiatePayment + +This methods sends a request to the third-party provider to initialize the payment. It's called when the payment session is created. + +For example, in the Stripe provider, this method is used to create a Payment Intent for the customer. + +#### Parameters + +`","description":"The extra fields specific to the provider session.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"amount","type":"[BigNumberInput](../types/types.BigNumberInput.mdx)","description":"The amount to be authorized.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="initiatePayment"/> + +#### Returns + + + +### updatePayment + +This method is used to update a payment associated with a session in the third-party provider. + +#### Parameters + +`","description":"The extra fields specific to the provider session.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"data","type":"`Record`","description":"The `data` field of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../types/types.BigNumberInput.mdx)","description":"The payment session's amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="updatePayment"/> + +#### Returns + + + +### deletePayment + +This method is called before a payment session is deleted. It's used to perform any actions necessary before the deletion. + +#### Parameters + +`","description":"The `data` field of the Payment Session.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="deletePayment"/> + +#### Returns + +` \\| [PaymentProviderError](types.PaymentProviderError.mdx)","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="deletePayment"/> + +### authorizePayment + +This method is called when a payment session should be authorized. +You can interact with a third-party provider and perform the necessary actions to authorize the payment. + +Refer to [this guide](https://docs.medusajs.com/v1/experimental/payment/payment-flow/#3-authorize-payment-session) +to learn more about how this fits into the payment flow and how to handle required actions. + +#### Parameters + +`","description":"The `data` field of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context of the authorization.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="authorizePayment"/> + +#### Returns + + + +### capturePayment + +This method is called when a payment should be captured. The payment is captured in one of the following scenarios: + +- The payment provider supports automatically capturing the payment after authorization. +- The merchant requests to capture the payment after its associated payment session was authorized. +- A webhook event occurred that instructs the payment provider to capture the payment session. Learn more about handing webhook events in [this guide](https://docs.medusajs.com/v1/experimental/payment/webhook-events/) + +In this method, you can interact with the third-party provider and perform any actions necessary to capture the payment. + +#### Parameters + +`","description":"The `data` field of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="capturePayment"/> + +#### Returns + +` \\| [PaymentProviderError](types.PaymentProviderError.mdx)","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="capturePayment"/> + +### refundPayment + +This method is called when a payment should be refunded. This is typically triggered manually by the merchant. + +In this method, you can interact with the third-party provider and perform any actions necessary to refund the payment. + +#### Parameters + +`","description":"The `data` field of a Payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"refundAmount","type":"[BigNumberInput](../types/types.BigNumberInput.mdx)","description":"The amount to refund.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="refundPayment"/> + +#### Returns + +` \\| [PaymentProviderError](types.PaymentProviderError.mdx)","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="refundPayment"/> + +### retrievePayment + +This method is used to provide a uniform way of retrieving the payment information from the third-party provider. + +For example, in Stripe’s payment provider this method is used to retrieve the payment intent details from Stripe. + +#### Parameters + +`","description":"The `data` field of a payment session. Make sure to store in the `data` field any necessary data that would allow you to retrieve the payment data from the third-party provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="retrievePayment"/> + +#### Returns + +` \\| [PaymentProviderError](types.PaymentProviderError.mdx)","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="retrievePayment"/> + +### cancelPayment + +This method is called when a payment is canceled. + +In this method, you can interact with the third-party provider and perform any actions necessary to cancel the payment. + +#### Parameters + +`","description":"The `data` field of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="cancelPayment"/> + +#### Returns + +` \\| [PaymentProviderError](types.PaymentProviderError.mdx)","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="cancelPayment"/> + +### getPaymentStatus + +This method is used to get the status of a payment or a payment session. + +#### Parameters + +`","description":"The `data` field of a payment as a parameter. You can use this data to interact with the third-party provider to check the status of the payment if necessary.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="getPaymentStatus"/> + +#### Returns + + + +### getWebhookActionAndData + +The method is called when a webhook event is received for this provider. + +The method is responsible for normalizing the received event and inform the Payment Module of actions to perform, such as authorize or capture payment. + +Learn more about handling webhook events in [this guide](https://docs.medusajs.com/v1/experimental/payment/webhook-events/) + +#### Parameters + +`","description":"The parsed webhook body.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rawData","type":"`string` \\| `Buffer`","description":"The raw webhook request body.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"headers","type":"`Record`","description":"The headers of the webhook request.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"data.data","type":"`Record`","description":"The parsed webhook body.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data.rawData","type":"`string` \\| `Buffer`","description":"The raw webhook request body.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data.headers","type":"`Record`","description":"The headers of the webhook request.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="getWebhookActionAndData"/> + +#### Returns + + diff --git a/www/apps/docs/content/references/types/interfaces/types.IRegionModuleService.mdx b/www/apps/docs/content/references/types/interfaces/types.IRegionModuleService.mdx index 08d573380679a..574c5f13418d3 100644 --- a/www/apps/docs/content/references/types/interfaces/types.IRegionModuleService.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.IRegionModuleService.mdx @@ -2,198 +2,508 @@ import TypeList from "@site/src/components/TypeList" # IRegionModuleService +The main service interface for the Region Module. + ## Methods ### create `**create**(data, sharedContext?): Promise<[RegionDTO](types.RegionDTO.mdx)[]>` +This method creates regions. + +#### Example + +```ts +const region = await regionModuleService.create([ + { + name: "Europe", + currency_code: "eur", + countries: ["dk", "de", "fr"], + }, + { + name: "United States of America", + currency_code: "usd", + countries: ["us"], + }, +]) +``` + #### Parameters - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> #### Returns - + `**create**(data, sharedContext?): Promise<[RegionDTO](types.RegionDTO.mdx)>` +This method creates a region. + +#### Example + +```ts +const region = await regionModuleService.create({ + name: "Europe", + currency_code: "eur", + countries: ["dk", "de", "fr"], +}) +``` + #### Parameters - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="create"/> #### Returns - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="create"/> -### update +### upsert + +`**upsert**(data, sharedContext?): Promise<[RegionDTO](types.RegionDTO.mdx)[]>` + +This method updates or creates regions if they don't exist. + +#### Example -`**update**(data, sharedContext?): Promise<[RegionDTO](types.RegionDTO.mdx)[]>` +```ts +const region = await regionModuleService.upsert([ + { + id: "reg_123", + automatic_taxes: false, + }, + { + name: "Europe", + currency_code: "eur", + }, +]) +``` #### Parameters - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsert"/> #### Returns - + -`**update**(data, sharedContext?): Promise<[RegionDTO](types.RegionDTO.mdx)>` +`**upsert**(data, sharedContext?): Promise<[RegionDTO](types.RegionDTO.mdx)>` + +This method updates or creates a region if it doesn't exist. + +#### Example + +```ts +const region = await regionModuleService.upsert({ + id: "reg_123", + automatic_taxes: false, +}) +``` #### Parameters - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="upsert"/> #### Returns - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="upsert"/> -### delete +### update -`**delete**(ids, sharedContext?): Promise<void>` +`**update**(id, data, sharedContext?): Promise<[RegionDTO](types.RegionDTO.mdx)>` + +This method updates an existing region. + +#### Example + +```ts +const region = await regionModuleService.update("reg_123", { + automatic_taxes: false, +}) +``` #### Parameters - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> #### Returns - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="update"/> -`**delete**(id, sharedContext?): Promise<void>` +`**update**(selector, data, sharedContext?): Promise<[RegionDTO](types.RegionDTO.mdx)[]>` + +This method updates existing regions. + +#### Example + +```ts +const region = await regionModuleService.update( + { + name: "Europe", + }, + { + automatic_taxes: false, + } +) +``` #### Parameters - +` \\| [OperatorMap](../DAL/types/types.DAL.OperatorMap.mdx)<Record<string, unknown>>","description":"Filter regions by their metadata.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter regions by their creation date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[OperatorMap](../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter regions by their update date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"data","type":"[UpdateRegionDTO](types.UpdateRegionDTO.mdx)","description":"The attributes to update in the region.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"The target name of the region","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency code of the region.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"automatic_taxes","type":"`boolean`","description":"Setting to indicate whether taxes need to be applied automatically","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"countries","type":"`string`[]","description":"The region's countries.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="update"/> #### Returns - + -### retrieve +### delete + +`**delete**(ids, sharedContext?): Promise<void>` + +This method deletes regions by their IDs. + +#### Example + +```ts +await regionModuleService.delete(["reg_123", "reg_321"]) +``` #### Parameters - + #### Returns - + -### list +`**delete**(id, sharedContext?): Promise<void>` + +This method deletes a region by its ID. + +#### Example + +```ts +await regionModuleService.delete("reg_123") +``` #### Parameters - + #### Returns - + -### listAndCount +### retrieve -#### Parameters +This method retrieves a region by its ID. - +#### Example -#### Returns +A simple example that retrieves a region by its ID: - +```ts +const region = await regionModuleService.retrieve("reg_123") +``` -### retrieveCountry +To specify relations that should be retrieved: + +```ts +const region = await regionModuleService.retrieve("reg_123", { + relations: ["countries"], +}) +``` #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieve"/> #### Returns - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="retrieve"/> -### listCountries +### list + +This method retrieves a paginated list of regions based on optional filters and configuration. + +#### Example + +To retrieve a list of regions using their IDs: + +```ts +const regions = await regionModuleService.list({ + id: ["reg_123", "reg_321"], +}) +``` + +To specify relations that should be retrieved within the regions: + +```ts +const regions = await regionModuleService.list( + { + id: ["reg_123", "reg_321"], + }, + { + relations: ["countries"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const regions = await regionModuleService.list( + { + id: ["reg_123", "reg_321"], + }, + { + relations: ["countries"], + take: 20, + skip: 2, + } +) +``` #### Parameters - +` \\| [OperatorMap](../DAL/types/types.DAL.OperatorMap.mdx)<Record<string, unknown>>","description":"Filter regions by their metadata.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter regions by their creation date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[OperatorMap](../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter regions by their update date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"config","type":"[FindConfig](../CommonTypes/interfaces/types.CommonTypes.FindConfig.mdx)<[RegionDTO](types.RegionDTO.mdx)>","description":"The configurations determining how the region is retrieved. Its properties, such as `select` or `relations`, accept the\nattributes or relations associated with a region.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"(`string` \\| keyof Entity)[]","description":"An array of strings, each being attribute names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`null` \\| `number`","description":"A number indicating the number of records to skip before retrieving the results.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`null` \\| `number`","description":"A number indicating the number of records to return in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"An array of strings, each being relation names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`\nto sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"withDeleted","type":"`boolean`","description":"A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the\n`SoftDeletableEntity` class.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"filters","type":"`Record`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="list"/> #### Returns - + -### retrieveCurrency +### listAndCount + +This method retrieves a paginated list of regions along with the total count of available regions satisfying the provided filters. + +#### Example + +To retrieve a list of regions using their IDs: + +```ts +const [regions, count] = + await regionModuleService.listAndCount({ + id: ["reg_123", "reg_321"], + }) +``` + +To specify relations that should be retrieved within the regions: + +```ts +const [regions, count] = + await regionModuleService.listAndCount( + { + id: ["reg_123", "reg_321"], + }, + { + relations: ["countries"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [regions, count] = +await regionModuleService.listAndCount( + { + id: ["reg_123", "reg_321"], + }, + { + relations: ["countries"], + take: 20, + skip: 2, + } +) +``` #### Parameters - +` \\| [OperatorMap](../DAL/types/types.DAL.OperatorMap.mdx)<Record<string, unknown>>","description":"Filter regions by their metadata.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"[OperatorMap](../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter regions by their creation date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"updated_at","type":"[OperatorMap](../DAL/types/types.DAL.OperatorMap.mdx)<string>","description":"Filter regions by their update date.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"$and","type":"[Query](../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$or","type":"[Query](../types/types.Query.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$eq","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T> \\| [ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ne","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$in","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$nin","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$not","type":"[Query](../types/types.Query.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gt","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$gte","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lt","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$lte","type":"[ExpandScalar](../types/types.ExpandScalar.mdx)<T>","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$like","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$re","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$ilike","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$fulltext","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$overlap","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contains","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$contained","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"$exists","type":"`boolean`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"config","type":"[FindConfig](../CommonTypes/interfaces/types.CommonTypes.FindConfig.mdx)<[RegionDTO](types.RegionDTO.mdx)>","description":"The configurations determining how the region is retrieved. Its properties, such as `select` or `relations`, accept the\nattributes or relations associated with a region.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"select","type":"(`string` \\| keyof Entity)[]","description":"An array of strings, each being attribute names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"skip","type":"`null` \\| `number`","description":"A number indicating the number of records to skip before retrieving the results.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"take","type":"`null` \\| `number`","description":"A number indicating the number of records to return in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relations","type":"`string`[]","description":"An array of strings, each being relation names of the entity to retrieve in the result.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order","type":"`object`","description":"An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`\nto sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"withDeleted","type":"`boolean`","description":"A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the\n`SoftDeletableEntity` class.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"filters","type":"`Record`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCount"/> #### Returns - + -### listAndCountCountries +### retrieveCountry + +This method retrieves a country by its 2 character ISO code. + +#### Example + +A simple example that retrieves a country by its 2 character ISO code: + +```ts +const country = + await regionModuleService.retrieveCountry("us") +``` + +To specify relations that should be retrieved: + +```ts +const country = await regionModuleService.retrieveCountry( + "us", + { + relations: ["region"], + } +) +``` #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="retrieveCountry"/> #### Returns - + -### listCurrencies +### listCountries + +This method retrieves a paginated list of countries based on optional filters and configuration. + +#### Example + +To retrieve a list of countries using their IDs: + +```ts +const countries = await regionModuleService.listCountries({ + iso_2: ["us", "eur"], +}) +``` + +To specify relations that should be retrieved within the countries: + +```ts +const countries = await regionModuleService.listCountries( + { + iso_2: ["us", "eur"], + }, + { + relations: ["region"], + } +) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const countries = await regionModuleService.listCountries( + { + iso_2: ["us", "eur"], + }, + { + relations: ["region"], + take: 20, + skip: 2, + } +) +``` #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listCountries"/> #### Returns - + -### listAndCountCurrencies +### listAndCountCountries + +This method retrieves a paginated list of countries along with the total count of available countries satisfying the provided filters. + +#### Example + +To retrieve a list of countries using their IDs: + +```ts +const [countries, count] = + await regionModuleService.listAndCountCountries({ + iso_2: ["us", "eur"], + }) +``` + +To specify relations that should be retrieved within the countries: + +```ts +const [countries, count] = + await regionModuleService.listAndCountCountries( + { + iso_2: ["us", "eur"], + }, + { + relations: ["region"], + } + ) +``` + +By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter: + +```ts +const [countries, count] = + await regionModuleService.listAndCountCountries( + { + iso_2: ["us", "eur"], + }, + { + relations: ["region"], + take: 20, + skip: 2, + } + ) +``` #### Parameters - +`","description":"Enable ORM specific defined filters","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"sharedContext","type":"[Context](types.Context.mdx)","description":"A context used to share resources, such as transaction manager, between the application and the module.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="listAndCountCountries"/> #### Returns - + ### softDelete +This method soft deletes a region by its IDs. + +#### Example + +```ts +await regionModuleService.softDelete(["reg_123", "reg_321"], { + returnLinkableKeys: ["country_id"], +}) +``` + #### Type Parameters #### Parameters - + #### Returns -`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDelete"/> +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="softDelete"/> ### restore -#### Type Parameters - - - -#### Parameters +This method restores soft deleted regions by their IDs. - +#### Example -#### Returns +```ts +await regionModuleService.restore(["reg_123", "reg_321"], { + returnLinkableKeys: ["country_id"], +}) +``` -`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restore"/> +#### Type Parameters -### createDefaultCountriesAndCurrencies + #### Parameters - + #### Returns - +`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="restore"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.MoneyAmountDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.MoneyAmountDTO.mdx index 4640f65becda0..0f7a988de23f4 100644 --- a/www/apps/docs/content/references/types/interfaces/types.MoneyAmountDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.MoneyAmountDTO.mdx @@ -6,4 +6,4 @@ A money amount's data. A money amount represents a price. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.OrderAddress.mdx b/www/apps/docs/content/references/types/interfaces/types.OrderAddress.mdx new file mode 100644 index 0000000000000..9147c9124fc07 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.OrderAddress.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderAddress + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="OrderAddress"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.OrderAdjustmentLine.mdx b/www/apps/docs/content/references/types/interfaces/types.OrderAdjustmentLine.mdx new file mode 100644 index 0000000000000..6413da16e588a --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.OrderAdjustmentLine.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderAdjustmentLine + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.OrderItemDetail.mdx b/www/apps/docs/content/references/types/interfaces/types.OrderItemDetail.mdx new file mode 100644 index 0000000000000..6effff8de31a5 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.OrderItemDetail.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderItemDetail + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"detail","type":"[OrderItemDetail](types.OrderItemDetail.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItem](types.OrderLineItem.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfilled_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_requested_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_received_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_dismissed_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"written_off_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_fulfilled_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipped_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_requested_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_received_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_dismissed_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_written_off_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_unit_price","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[OrderLineItemTaxLine](types.OrderLineItemTaxLine.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItem](types.OrderLineItem.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderLineItemAdjustment](types.OrderLineItemAdjustment.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItem](types.OrderLineItem.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfilled_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_requested_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_received_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_dismissed_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"written_off_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_fulfilled_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_shipped_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_return_requested_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_return_received_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_return_dismissed_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_written_off_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="OrderItemDetail"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.OrderLineItem.mdx b/www/apps/docs/content/references/types/interfaces/types.OrderLineItem.mdx new file mode 100644 index 0000000000000..11908d55ea8d4 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.OrderLineItem.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderLineItem + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"detail","type":"[OrderItemDetail](types.OrderItemDetail.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItem](types.OrderLineItem.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"detail","type":"[OrderItemDetail](types.OrderItemDetail.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_unit_price","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderLineItemTaxLine](types.OrderLineItemTaxLine.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[OrderLineItemAdjustment](types.OrderLineItemAdjustment.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfilled_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_requested_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_received_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_dismissed_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"written_off_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_fulfilled_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_shipped_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_return_requested_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_return_received_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_return_dismissed_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_written_off_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_unit_price","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[OrderLineItemTaxLine](types.OrderLineItemTaxLine.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItem](types.OrderLineItem.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"detail","type":"[OrderItemDetail](types.OrderItemDetail.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_unit_price","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderLineItemTaxLine](types.OrderLineItemTaxLine.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[OrderLineItemAdjustment](types.OrderLineItemAdjustment.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"adjustments","type":"[OrderLineItemAdjustment](types.OrderLineItemAdjustment.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItem](types.OrderLineItem.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"title","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtitle","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"thumbnail","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_title","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_description","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_subtitle","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_type","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_collection","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"product_handle","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_sku","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_barcode","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_title","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"variant_option_values","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"detail","type":"[OrderItemDetail](types.OrderItemDetail.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_unit_price","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderLineItemTaxLine](types.OrderLineItemTaxLine.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[OrderLineItemAdjustment](types.OrderLineItemAdjustment.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"item_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="OrderLineItem"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.OrderLineItemAdjustment.mdx b/www/apps/docs/content/references/types/interfaces/types.OrderLineItemAdjustment.mdx new file mode 100644 index 0000000000000..7927433982b2f --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.OrderLineItemAdjustment.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderLineItemAdjustment + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"detail","type":"[OrderItemDetail](types.OrderItemDetail.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItem](types.OrderLineItem.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfilled_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_requested_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_received_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_dismissed_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"written_off_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_fulfilled_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipped_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_requested_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_received_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_dismissed_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_written_off_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_unit_price","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[OrderLineItemTaxLine](types.OrderLineItemTaxLine.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItem](types.OrderLineItem.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderLineItemAdjustment](types.OrderLineItemAdjustment.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItem](types.OrderLineItem.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"item_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="OrderLineItemAdjustment"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.OrderLineItemTaxLine.mdx b/www/apps/docs/content/references/types/interfaces/types.OrderLineItemTaxLine.mdx new file mode 100644 index 0000000000000..a316ae8d7dfca --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.OrderLineItemTaxLine.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderLineItemTaxLine + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"requires_shipping","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_discountable","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"unit_price","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"detail","type":"[OrderItemDetail](types.OrderItemDetail.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItem](types.OrderLineItem.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfilled_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipped_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_requested_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_received_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"return_dismissed_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"written_off_quantity","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_fulfilled_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_shipped_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_requested_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_received_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_return_dismissed_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_written_off_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"original_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"discount_tax_total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"compare_at_unit_price","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_compare_at_unit_price","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_unit_price","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_quantity","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[OrderLineItemTaxLine](types.OrderLineItemTaxLine.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItem](types.OrderLineItem.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderLineItemAdjustment](types.OrderLineItemAdjustment.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item","type":"[OrderLineItem](types.OrderLineItem.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"item_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_original_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_item_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_discount_tax_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"item_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="OrderLineItemTaxLine"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.OrderShippingMethod.mdx b/www/apps/docs/content/references/types/interfaces/types.OrderShippingMethod.mdx new file mode 100644 index 0000000000000..4ef8338b0005c --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.OrderShippingMethod.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderShippingMethod + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLine](types.OrderShippingMethodTaxLine.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[OrderShippingMethod](types.OrderShippingMethod.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLine](types.OrderShippingMethodTaxLine.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[OrderShippingMethodAdjustment](types.OrderShippingMethodAdjustment.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_method_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"adjustments","type":"[OrderShippingMethodAdjustment](types.OrderShippingMethodAdjustment.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[OrderShippingMethod](types.OrderShippingMethod.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_tax_inclusive","type":"`boolean`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_option_id","type":"`null` \\| `string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLine](types.OrderShippingMethodTaxLine.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"adjustments","type":"[OrderShippingMethodAdjustment](types.OrderShippingMethodAdjustment.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"shipping_method_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="OrderShippingMethod"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.OrderShippingMethodAdjustment.mdx b/www/apps/docs/content/references/types/interfaces/types.OrderShippingMethodAdjustment.mdx new file mode 100644 index 0000000000000..7dd75b8970a3b --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.OrderShippingMethodAdjustment.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderShippingMethodAdjustment + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLine](types.OrderShippingMethodTaxLine.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[OrderShippingMethod](types.OrderShippingMethod.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderShippingMethodAdjustment](types.OrderShippingMethodAdjustment.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[OrderShippingMethod](types.OrderShippingMethod.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"shipping_method_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="OrderShippingMethodAdjustment"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.OrderShippingMethodTaxLine.mdx b/www/apps/docs/content/references/types/interfaces/types.OrderShippingMethodTaxLine.mdx new file mode 100644 index 0000000000000..2532d9de64ed0 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.OrderShippingMethodTaxLine.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderShippingMethodTaxLine + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"tax_lines","type":"[OrderShippingMethodTaxLine](types.OrderShippingMethodTaxLine.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rate","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[OrderShippingMethod](types.OrderShippingMethod.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"adjustments","type":"[OrderShippingMethodAdjustment](types.OrderShippingMethodAdjustment.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method","type":"[OrderShippingMethod](types.OrderShippingMethod.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"shipping_method_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"code","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"promotion_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"shipping_method_id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"total","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"subtotal","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"tax_rate_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_total","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"raw_subtotal","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="OrderShippingMethodTaxLine"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.OrderSummary.mdx b/www/apps/docs/content/references/types/interfaces/types.OrderSummary.mdx new file mode 100644 index 0000000000000..633b6c913679f --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.OrderSummary.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderSummary + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.OrderTaxLine.mdx b/www/apps/docs/content/references/types/interfaces/types.OrderTaxLine.mdx new file mode 100644 index 0000000000000..0c5c3a7f69f3e --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.OrderTaxLine.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderTaxLine + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.OrderTransaction.mdx b/www/apps/docs/content/references/types/interfaces/types.OrderTransaction.mdx new file mode 100644 index 0000000000000..bbeb1a2ece57b --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.OrderTransaction.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderTransaction + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw_amount","type":"[BigNumberRawValue](../types/types.BigNumberRawValue.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="OrderTransaction"/> diff --git a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.PaginatedResponse.mdx b/www/apps/docs/content/references/types/interfaces/types.PaginatedResponse.mdx similarity index 93% rename from www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.PaginatedResponse.mdx rename to www/apps/docs/content/references/types/interfaces/types.PaginatedResponse.mdx index 422b3ee9a9b1c..100558ed54c4a 100644 --- a/www/apps/docs/content/references/types/CommonTypes/types/types.CommonTypes.PaginatedResponse.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.PaginatedResponse.mdx @@ -2,8 +2,6 @@ import TypeList from "@site/src/components/TypeList" # PaginatedResponse - **PaginatedResponse**: `Object` - ## Properties diff --git a/www/apps/docs/content/references/types/interfaces/types.PaymentCollectionDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.PaymentCollectionDTO.mdx index 156c61625b046..ddc500366f6eb 100644 --- a/www/apps/docs/content/references/types/interfaces/types.PaymentCollectionDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.PaymentCollectionDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # PaymentCollectionDTO +The payment collection details. + ## Properties -`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The payment amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Payment currency","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of payment provider","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Capture","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"Captured amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Refund","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"Refunded amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency of the payments/sessions associated with payment collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the region","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider for the payments","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"`number`","description":"The amount authorized within associated payment sessions","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The amount refunded from associated payments","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} sectionTitle="PaymentCollectionDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount to authorize.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"AUTHORIZED","type":"`\"authorized\"`","description":"The payment is authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PENDING","type":"`\"pending\"`","description":"The payment is pending.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REQUIRES_MORE","type":"`\"requires_more\"`","description":"The payment requires an action.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ERROR","type":"`\"error\"`","description":"An error occurred while processing the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"CANCELED","type":"`\"canceled\"`","description":"The payment is canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment sessions and payments associated with payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the associated region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The total amount to be authorized and captured.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider used to process the associated payment sessions and payments.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount authorized within the associated payment sessions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount refunded within the associated payments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The payment's total amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The authorized amount of the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"The ID of the associated order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the associated customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The payment's total amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The authorized amount of the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"The ID of the associated order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the associated customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The captured amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who the capture was created by. For example,\nthe ID of a user.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the refund","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The refunded amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the refund.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the refund. For example,\nthe user's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment sessions and payments associated with payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the associated region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The total amount to be authorized and captured.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider used to process the associated payment sessions and payments.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount authorized within the associated payment sessions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount refunded within the associated payments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount to authorize.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]} sectionTitle="PaymentCollectionDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.PaymentCollectionUpdatableFields.mdx b/www/apps/docs/content/references/types/interfaces/types.PaymentCollectionUpdatableFields.mdx new file mode 100644 index 0000000000000..d577a1d8a2768 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.PaymentCollectionUpdatableFields.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# PaymentCollectionUpdatableFields + +The attributes to update in the payment collection. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="PaymentCollectionUpdatableFields"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.PaymentDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.PaymentDTO.mdx index 77d529348d08e..f937381c0688c 100644 --- a/www/apps/docs/content/references/types/interfaces/types.PaymentDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.PaymentDTO.mdx @@ -4,4 +4,4 @@ import TypeList from "@site/src/components/TypeList" ## Properties -`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Capture","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"Captured amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The payment amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Payment currency","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of payment provider","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Refund","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"Refunded amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The payment amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Payment currency","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of payment provider","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency of the payments/sessions associated with payment collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the region","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"NOT_PAID","type":"`\"not_paid\"`","description":"The payment collection isn't paid.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"AWAITING","type":"`\"awaiting\"`","description":"The payment collection is awaiting payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"AUTHORIZED","type":"`\"authorized\"`","description":"The payment collection is authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PARTIALLY_AUTHORIZED","type":"`\"partially_authorized\"`","description":"Some of the payments in the payment collection are authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"CANCELED","type":"`\"canceled\"`","description":"The payment collection is canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider for the payments","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_enabled","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"authorized_amount","type":"`number`","description":"The amount authorized within associated payment sessions","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The amount refunded from associated payments","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The payment amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"Payment currency","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of payment provider","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="PaymentDTO"/> +`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The captured amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The payment's total amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The authorized amount of the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"The ID of the associated order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the associated customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"created_by","type":"`string`","description":"Who the capture was created by. For example,\nthe ID of a user.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the refund","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The refunded amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the refund.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The payment's total amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The authorized amount of the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"The ID of the associated order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the associated customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"created_by","type":"`string`","description":"Who created the refund. For example,\nthe user's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment sessions and payments associated with payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the associated region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The total amount to be authorized and captured.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"NOT_PAID","type":"`\"not_paid\"`","description":"The payment collection isn't paid.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"AWAITING","type":"`\"awaiting\"`","description":"The payment sessions in the payment collection are await authorization.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"AUTHORIZED","type":"`\"authorized\"`","description":"The payment sessions in the payment collection are authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PARTIALLY_AUTHORIZED","type":"`\"partially_authorized\"`","description":"Some of the payments in the payment collection are authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"CANCELED","type":"`\"canceled\"`","description":"The payments in the payment collection are canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider used to process the associated payment sessions and payments.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_enabled","type":"`string`","description":"Whether the payment provider is enabled.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount authorized within the associated payment sessions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount refunded within the associated payments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount to authorize.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The payment's total amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The authorized amount of the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"The ID of the associated order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the associated customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount to authorize.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"AUTHORIZED","type":"`\"authorized\"`","description":"The payment is authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PENDING","type":"`\"pending\"`","description":"The payment is pending.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REQUIRES_MORE","type":"`\"requires_more\"`","description":"The payment requires an action.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ERROR","type":"`\"error\"`","description":"An error occurred while processing the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"CANCELED","type":"`\"canceled\"`","description":"The payment is canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment sessions and payments associated with payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the associated region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The total amount to be authorized and captured.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider used to process the associated payment sessions and payments.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount authorized within the associated payment sessions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount refunded within the associated payments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The payment's total amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The authorized amount of the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"The ID of the associated order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the associated customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]} sectionTitle="PaymentDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.PaymentModuleOptions.mdx b/www/apps/docs/content/references/types/interfaces/types.PaymentModuleOptions.mdx new file mode 100644 index 0000000000000..30588fd34108f --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.PaymentModuleOptions.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# PaymentModuleOptions + +The options that the Payment Module accepts. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.PaymentProviderAuthorizeResponse.mdx b/www/apps/docs/content/references/types/interfaces/types.PaymentProviderAuthorizeResponse.mdx new file mode 100644 index 0000000000000..b793f3effe298 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.PaymentProviderAuthorizeResponse.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# PaymentProviderAuthorizeResponse + +The successful result of authorizing a payment session using a payment provider. + +## Properties + +`","description":"The `data` to be stored in the payment session's `data` field.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="PaymentProviderAuthorizeResponse"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.PaymentProviderContext.mdx b/www/apps/docs/content/references/types/interfaces/types.PaymentProviderContext.mdx new file mode 100644 index 0000000000000..bc25bd55f6d2f --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.PaymentProviderContext.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# PaymentProviderContext + +Context data provided to the payment provider when authorizing a payment session. + +## Properties + +` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"email","type":"`string`","description":"The associated customer's email.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_id","type":"`string`","description":"The ID of the resource the payment is associated with. For example, the ID of the payment session.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"Partial<[CustomerDTO](../CustomerTypes/interfaces/types.CustomerTypes.CustomerDTO.mdx)>","description":"The customer associated with this payment.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The email of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"has_account","type":"`boolean`","description":"A flag indicating if customer has an account or not.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_billing_address_id","type":"`null` \\| `string`","description":"The associated default billing address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_shipping_address_id","type":"`null` \\| `string`","description":"The associated default shipping address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company_name","type":"`null` \\| `string`","description":"The company name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"addresses","type":"[CustomerAddressDTO](../CustomerTypes/interfaces/types.CustomerTypes.CustomerAddressDTO.mdx)[]","description":"The addresses of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the customer address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default_shipping","type":"`boolean`","description":"Whether the customer address is default shipping.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_default_billing","type":"`boolean`","description":"Whether the customer address is default billing.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The associated customer's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string`","description":"The created at of the customer address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string`","description":"The updated at of the customer address.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"address_name","type":"`string`","description":"The address name of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string`","description":"The company of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`string`","description":"The first name of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`string`","description":"The last name of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_1","type":"`string`","description":"The address 1 of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string`","description":"The address 2 of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string`","description":"The city of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"The country code of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string`","description":"The province of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string`","description":"The postal code of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string`","description":"The phone of the customer address.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"The groups of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the group.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"name","type":"`string`","description":"The name of the group.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"extra","type":"`Record`","description":"The extra fields specific to the provider session.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="PaymentProviderContext"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.PaymentProviderDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.PaymentProviderDTO.mdx index bdc9b59852484..4a0437ac16b27 100644 --- a/www/apps/docs/content/references/types/interfaces/types.PaymentProviderDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.PaymentProviderDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # PaymentProviderDTO +The payment provider details. + ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.PaymentProviderDataInput.mdx b/www/apps/docs/content/references/types/interfaces/types.PaymentProviderDataInput.mdx new file mode 100644 index 0000000000000..82b4163d90031 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.PaymentProviderDataInput.mdx @@ -0,0 +1,10 @@ +import TypeList from "@site/src/components/TypeList" + +# PaymentProviderDataInput + +The details of which payment provider to use to perform an action, and what +data to be passed to that provider. + +## Properties + +`","description":"The data to be passed to the provider.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="PaymentProviderDataInput"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.PaymentProviderError.mdx b/www/apps/docs/content/references/types/interfaces/types.PaymentProviderError.mdx new file mode 100644 index 0000000000000..8c94bbd3d918f --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.PaymentProviderError.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# PaymentProviderError + +An object that is returned in case of an error. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.PaymentProviderSessionResponse.mdx b/www/apps/docs/content/references/types/interfaces/types.PaymentProviderSessionResponse.mdx new file mode 100644 index 0000000000000..dea788da448b8 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.PaymentProviderSessionResponse.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# PaymentProviderSessionResponse + +The response of operations on a payment. + +## Properties + +`","description":"The data to be stored in the `data` field of the Payment Session to be created.\nThe `data` field is useful to hold any data required by the third-party provider to process the payment or retrieve its details at a later point.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="PaymentProviderSessionResponse"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.PaymentSessionDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.PaymentSessionDTO.mdx index f7f7b6a33658b..799d726b6ec0e 100644 --- a/www/apps/docs/content/references/types/interfaces/types.PaymentSessionDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.PaymentSessionDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # PaymentSessionDTO +The payment session details. + ## Properties - +`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"AUTHORIZED","type":"`\"authorized\"`","description":"The payment is authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PENDING","type":"`\"pending\"`","description":"The payment is pending.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"REQUIRES_MORE","type":"`\"requires_more\"`","description":"The payment requires an action.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"ERROR","type":"`\"error\"`","description":"An error occurred while processing the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"CANCELED","type":"`\"canceled\"`","description":"The payment is canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment sessions and payments associated with payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the associated region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The total amount to be authorized and captured.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"NOT_PAID","type":"`\"not_paid\"`","description":"The payment collection isn't paid.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"AWAITING","type":"`\"awaiting\"`","description":"The payment sessions in the payment collection are await authorization.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"AUTHORIZED","type":"`\"authorized\"`","description":"The payment sessions in the payment collection are authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PARTIALLY_AUTHORIZED","type":"`\"partially_authorized\"`","description":"Some of the payments in the payment collection are authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"CANCELED","type":"`\"canceled\"`","description":"The payments in the payment collection are canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider used to process the associated payment sessions and payments.","optional":false,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"is_enabled","type":"`string`","description":"Whether the payment provider is enabled.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount authorized within the associated payment sessions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount refunded within the associated payments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount to authorize.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The payment's total amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The authorized amount of the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"The ID of the associated order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the associated customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The payment's total amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The authorized amount of the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"cart_id","type":"`string`","description":"The ID of the associated cart.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_id","type":"`string`","description":"The ID of the associated order.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"order_edit_id","type":"`string`","description":"The ID of the associated order edit.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer_id","type":"`string`","description":"The ID of the associated customer.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The captured amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who the capture was created by. For example,\nthe ID of a user.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the refund","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The refunded amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the refund.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the refund. For example,\nthe user's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment sessions and payments associated with payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the associated region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The total amount to be authorized and captured.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider used to process the associated payment sessions and payments.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount authorized within the associated payment sessions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount refunded within the associated payments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount to authorize.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]}]} sectionTitle="PaymentSessionDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.PriceDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.PriceDTO.mdx new file mode 100644 index 0000000000000..b863a1e1e4e6a --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.PriceDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# PriceDTO + +A price's data. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.PriceListDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.PriceListDTO.mdx index 419576ff762bd..dee1dcb096e19 100644 --- a/www/apps/docs/content/references/types/interfaces/types.PriceListDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.PriceListDTO.mdx @@ -6,4 +6,4 @@ A price list's details. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.PriceListPriceDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.PriceListPriceDTO.mdx deleted file mode 100644 index 8c78e4b2412a3..0000000000000 --- a/www/apps/docs/content/references/types/interfaces/types.PriceListPriceDTO.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# PriceListPriceDTO - -The prices associated with a price list. - -## Properties - - diff --git a/www/apps/docs/content/references/types/interfaces/types.PriceListRuleDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.PriceListRuleDTO.mdx index 6c8a416349f3b..fd651e5aadd3f 100644 --- a/www/apps/docs/content/references/types/interfaces/types.PriceListRuleDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.PriceListRuleDTO.mdx @@ -6,4 +6,4 @@ The price list rule's details. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.PriceListRuleValueDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.PriceListRuleValueDTO.mdx index 69510f7cd2ebd..57279f56dec28 100644 --- a/www/apps/docs/content/references/types/interfaces/types.PriceListRuleValueDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.PriceListRuleValueDTO.mdx @@ -6,4 +6,4 @@ The price list rule value's details. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.PriceRuleDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.PriceRuleDTO.mdx index 611aabbdc753f..2767ebf09ea0a 100644 --- a/www/apps/docs/content/references/types/interfaces/types.PriceRuleDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.PriceRuleDTO.mdx @@ -6,4 +6,4 @@ A price rule's data. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.PriceSetDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.PriceSetDTO.mdx index 619a972862849..551bc2c78bcb4 100644 --- a/www/apps/docs/content/references/types/interfaces/types.PriceSetDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.PriceSetDTO.mdx @@ -6,4 +6,4 @@ A price set's data. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.PriceSetMoneyAmountDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.PriceSetMoneyAmountDTO.mdx deleted file mode 100644 index 60fe2d197d2c7..0000000000000 --- a/www/apps/docs/content/references/types/interfaces/types.PriceSetMoneyAmountDTO.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# PriceSetMoneyAmountDTO - -A price set money amount's data. - -## Properties - - diff --git a/www/apps/docs/content/references/types/interfaces/types.PriceSetMoneyAmountRulesDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.PriceSetMoneyAmountRulesDTO.mdx deleted file mode 100644 index 6e489a14ea8d1..0000000000000 --- a/www/apps/docs/content/references/types/interfaces/types.PriceSetMoneyAmountRulesDTO.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# PriceSetMoneyAmountRulesDTO - -A price set money amount rule's data. - -## Properties - - diff --git a/www/apps/docs/content/references/types/interfaces/types.PriceSetRuleTypeDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.PriceSetRuleTypeDTO.mdx index 1f83dd9f2653a..12b9ef22611c0 100644 --- a/www/apps/docs/content/references/types/interfaces/types.PriceSetRuleTypeDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.PriceSetRuleTypeDTO.mdx @@ -4,4 +4,4 @@ import TypeList from "@site/src/components/TypeList" ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.PricingContext.mdx b/www/apps/docs/content/references/types/interfaces/types.PricingContext.mdx index 009f5eac42680..085a519b6dfbc 100644 --- a/www/apps/docs/content/references/types/interfaces/types.PricingContext.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.PricingContext.mdx @@ -6,4 +6,4 @@ The context to calculate prices. For example, you can specify the currency code ## Properties -`","description":"an object whose keys are the name of the context attribute. Its value can be a string or a number. For example, you can pass the `currency_code` property with its value being the currency code to calculate the price in.\nAnother example is passing the `quantity` property to calculate the price for that specified quantity, which finds a price set whose `min_quantity` and `max_quantity` conditions match the specified quantity.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="PricingContext"/> +`","description":"an object whose keys are the name of the context attribute. Its value can be a string or a BigNumberInput. For example, you can pass the `currency_code` property with its value being the currency code to calculate the price in.\nAnother example is passing the `quantity` property to calculate the price for that specified quantity, which finds a price set whose `min_quantity` and `max_quantity` conditions match the specified quantity.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="PricingContext"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.PricingFilters.mdx b/www/apps/docs/content/references/types/interfaces/types.PricingFilters.mdx index 88efba4328883..992015cb0b89d 100644 --- a/www/apps/docs/content/references/types/interfaces/types.PricingFilters.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.PricingFilters.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # PricingFilters -Filters to apply on prices. +Filters to apply when calculating prices. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.PricingRepositoryService.mdx b/www/apps/docs/content/references/types/interfaces/types.PricingRepositoryService.mdx index f80f22f9e65bd..66594a963513b 100644 --- a/www/apps/docs/content/references/types/interfaces/types.PricingRepositoryService.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.PricingRepositoryService.mdx @@ -8,7 +8,7 @@ import TypeList from "@site/src/components/TypeList" #### Parameters -`","description":"an object whose keys are the name of the context attribute. Its value can be a string or a number. For example, you can pass the `currency_code` property with its value being the currency code to calculate the price in.\nAnother example is passing the `quantity` property to calculate the price for that specified quantity, which finds a price set whose `min_quantity` and `max_quantity` conditions match the specified quantity.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"context","type":"[Context](types.Context.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="calculatePrices"/> +`","description":"an object whose keys are the name of the context attribute. Its value can be a string or a BigNumberInput. For example, you can pass the `currency_code` property with its value being the currency code to calculate the price in.\nAnother example is passing the `quantity` property to calculate the price for that specified quantity, which finds a price set whose `min_quantity` and `max_quantity` conditions match the specified quantity.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"context","type":"[Context](types.Context.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"transactionManager","type":"TManager","description":"An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"manager","type":"TManager","description":"An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isolationLevel","type":"`string`","description":"A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"enableNestedTransactions","type":"`boolean`","description":"A boolean value indicating whether nested transactions are enabled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"eventGroupId","type":"`string`","description":"A string indicating the ID of the group to aggregate the events to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionId","type":"`string`","description":"A string indicating the ID of the current transaction.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"messageAggregator","type":"[IMessageAggregator](types.IMessageAggregator.mdx)","description":"An instance of a message aggregator, which is used to aggregate messages to be emitted at a later point.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"requestId","type":"`string`","description":"A string indicating the ID of the current request.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"idempotencyKey","type":"`string`","description":"A string indicating the idempotencyKey of the current workflow execution.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="calculatePrices"/> #### Returns diff --git a/www/apps/docs/content/references/types/interfaces/types.ProductCategoryResponse.mdx b/www/apps/docs/content/references/types/interfaces/types.ProductCategoryResponse.mdx new file mode 100644 index 0000000000000..f4d3b1d3c774a --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.ProductCategoryResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# ProductCategoryResponse + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.ProductCategoryTransformOptions.mdx b/www/apps/docs/content/references/types/interfaces/types.ProductCategoryTransformOptions.mdx index 968c0181489a3..c84a3a2d92d1e 100644 --- a/www/apps/docs/content/references/types/interfaces/types.ProductCategoryTransformOptions.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.ProductCategoryTransformOptions.mdx @@ -4,4 +4,4 @@ import TypeList from "@site/src/components/TypeList" ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.ProviderWebhookPayload.mdx b/www/apps/docs/content/references/types/interfaces/types.ProviderWebhookPayload.mdx new file mode 100644 index 0000000000000..489fbba8e7a3f --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.ProviderWebhookPayload.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ProviderWebhookPayload + +The details of the webhook event payload. + +## Properties + +`","description":"The parsed webhook body.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rawData","type":"`string` \\| `Buffer`","description":"The raw webhook request body.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"headers","type":"`Record`","description":"The headers of the webhook request.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payload.data","type":"`Record`","description":"The parsed webhook body.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payload.rawData","type":"`string` \\| `Buffer`","description":"The raw webhook request body.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payload.headers","type":"`Record`","description":"The headers of the webhook request.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ProviderWebhookPayload"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.RefundDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.RefundDTO.mdx index 84314ea03e8ed..83b81120a9601 100644 --- a/www/apps/docs/content/references/types/interfaces/types.RefundDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.RefundDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # RefundDTO +The refund details. + ## Properties -`","description":"Payment provider data","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"`number`","description":"The sum of the associated captures","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The sum of the associated refunds","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated payment captures","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Capture","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"Captured amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds of the payment","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Refund","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"Refunded amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the payment is associated with","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The currency of the payments/sessions associated with payment collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the region","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"`number`","description":"The amount","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider for the payments","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"`number`","description":"The amount authorized within associated payment sessions","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"The amount refunded from associated payments","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record`","description":"Holds custom data in key-value pairs","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the Payment Session","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]},{"name":"created_by","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="RefundDTO"/> +`","description":"The data relevant for the payment provider to process the payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_at","type":"`string` \\| `Date`","description":"When the payment was captured.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"canceled_at","type":"`string` \\| `Date`","description":"When the payment was canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captured_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated captures' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The sum of the associated refunds' amounts.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"captures","type":"[CaptureDTO](types.CaptureDTO.mdx)[]","description":"The associated captures.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The captured amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the capture.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who the capture was created by. For example,\nthe ID of a user.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"refunds","type":"[RefundDTO](types.RefundDTO.mdx)[]","description":"The associated refunds.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the refund","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The refunded amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`Date`","description":"The creation date of the refund.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The associated payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`string`","description":"Who created the refund. For example,\nthe user's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The associated payment collection.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment sessions and payments associated with payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"region_id","type":"`string`","description":"The id of the associated region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The total amount to be authorized and captured.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"The status of the payment collection.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_providers","type":"[PaymentProviderDTO](types.PaymentProviderDTO.mdx)[]","description":"The payment provider used to process the associated payment sessions and payments.","optional":false,"defaultValue":"","expandable":true,"children":[]},{"name":"authorized_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount authorized within the associated payment sessions.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount refunded within the associated payments.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"completed_at","type":"`string` \\| `Date`","description":"When the payment collection was completed.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"When the payment collection was created.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"When the payment collection was updated.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_sessions","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)[]","description":"The associated payment sessions.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payments","type":"[PaymentDTO](types.PaymentDTO.mdx)[]","description":"The associated payments.","optional":true,"defaultValue":"","expandable":true,"children":[]}]},{"name":"payment_session","type":"[PaymentSessionDTO](types.PaymentSessionDTO.mdx)","description":"The payment session from which the payment is created.","optional":true,"defaultValue":"","expandable":true,"children":[{"name":"id","type":"`string`","description":"The ID of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](../types/types.BigNumberValue.mdx)","description":"The amount to authorize.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The 3 character currency code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_id","type":"`string`","description":"The ID of the associated payment provider.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"data","type":"`Record`","description":"The data necessary for the payment provider to process the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentSessionStatus](../enums/types.PaymentSessionStatus.mdx)","description":"The status of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"`Record`","description":"The context necessary for the payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_at","type":"`Date`","description":"When the payment session was authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"payment_collection","type":"[PaymentCollectionDTO](types.PaymentCollectionDTO.mdx)","description":"The payment collection the session is associated with.","optional":true,"defaultValue":"","expandable":true,"children":[]},{"name":"payment","type":"[PaymentDTO](types.PaymentDTO.mdx)","description":"The payment created from the session.","optional":true,"defaultValue":"","expandable":true,"children":[]}]}]},{"name":"created_by","type":"`string`","description":"Who created the refund. For example,\nthe user's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="RefundDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.RegionCountryDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.RegionCountryDTO.mdx index c47f09f620ac7..8461761368266 100644 --- a/www/apps/docs/content/references/types/interfaces/types.RegionCountryDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.RegionCountryDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # RegionCountryDTO +The country details. + ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.RegionCurrencyDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.RegionCurrencyDTO.mdx deleted file mode 100644 index 3b890928e7e2b..0000000000000 --- a/www/apps/docs/content/references/types/interfaces/types.RegionCurrencyDTO.mdx +++ /dev/null @@ -1,7 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# RegionCurrencyDTO - -## Properties - - diff --git a/www/apps/docs/content/references/types/interfaces/types.RegionDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.RegionDTO.mdx index 8c11f108ba2fe..c32d406585b07 100644 --- a/www/apps/docs/content/references/types/interfaces/types.RegionDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.RegionDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # RegionDTO +The region details. + ## Properties - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="RegionDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.RemoteExpandProperty.mdx b/www/apps/docs/content/references/types/interfaces/types.RemoteExpandProperty.mdx index b5ddbc9682df0..5258ac4e230ff 100644 --- a/www/apps/docs/content/references/types/interfaces/types.RemoteExpandProperty.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.RemoteExpandProperty.mdx @@ -4,4 +4,4 @@ import TypeList from "@site/src/components/TypeList" ## Properties -`","description":"alias for deeper nested relationships (e.g. { 'price': 'prices.calculated\\_price\\_set.amount' })","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relationships","type":"[JoinerRelationship](../types/types.JoinerRelationship.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"alias","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"foreignKey","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"primaryKey","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"serviceName","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"isInternalService","type":"`boolean`","description":"If true, the relationship is an internal service from the medusa core\nTODO: Remove when there are no more \"internal\" services","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inverse","type":"`boolean`","description":"In an inverted relationship the foreign key is on the other service and the primary key is on the current service","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isList","type":"`boolean`","description":"Force the relationship to return a list","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"args","type":"`Record`","description":"Extra arguments to pass to the remoteFetchData callback","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"extends","type":"`object`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"serviceName","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"relationship","type":"[JoinerRelationship](../types/types.JoinerRelationship.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"args","type":"`Record`","description":"Extra arguments to pass to the remoteFetchData callback","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fields","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"parentConfig","type":"[JoinerServiceConfig](types.JoinerServiceConfig.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"serviceName","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"primaryKeys","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"alias","type":"[JoinerServiceConfigAlias](types.JoinerServiceConfigAlias.mdx) \\| [JoinerServiceConfigAlias](types.JoinerServiceConfigAlias.mdx)[]","description":"Property name to use as entrypoint to the service","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fieldAlias","type":"`Record`","description":"alias for deeper nested relationships (e.g. { 'price': 'prices.calculated\\_price\\_set.amount' })","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relationships","type":"[JoinerRelationship](../types/types.JoinerRelationship.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"alias","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"foreignKey","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"primaryKey","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"serviceName","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"isInternalService","type":"`boolean`","description":"If true, the relationship is an internal service from the medusa core\nTODO: Remove when there are no more \"internal\" services","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inverse","type":"`boolean`","description":"In an inverted relationship the foreign key is on the other service and the primary key is on the current service","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isList","type":"`boolean`","description":"Force the relationship to return a list","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"args","type":"`Record`","description":"Extra arguments to pass to the remoteFetchData callback","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"extends","type":"`object`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"serviceName","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"relationship","type":"[JoinerRelationship](../types/types.JoinerRelationship.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"args","type":"`Record`","description":"Extra arguments to pass to the remoteFetchData callback","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"args","type":"[JoinerArgument](types.JoinerArgument.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`any`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"expands","type":"[RemoteNestedExpands](types.RemoteNestedExpands.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="RemoteExpandProperty"/> +`","description":"alias for deeper nested relationships (e.g. { 'price': 'prices.calculated\\_price\\_set.amount' })","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relationships","type":"[JoinerRelationship](../types/types.JoinerRelationship.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"alias","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"foreignKey","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"primaryKey","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"serviceName","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"isInternalService","type":"`boolean`","description":"If true, the relationship is an internal service from the medusa core\nTODO: Remove when there are no more \"internal\" services","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inverse","type":"`boolean`","description":"In an inverted relationship the foreign key is on the other service and the primary key is on the current service","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isList","type":"`boolean`","description":"Force the relationship to return a list","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"args","type":"`Record`","description":"Extra arguments to pass to the remoteFetchData callback","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"extends","type":"`object`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"serviceName","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"relationship","type":"[JoinerRelationship](../types/types.JoinerRelationship.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"args","type":"`Record`","description":"Extra arguments to pass to the remoteFetchData callback","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"parentConfig","type":"[JoinerServiceConfig](types.JoinerServiceConfig.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"serviceName","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"primaryKeys","type":"`string`[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"alias","type":"[JoinerServiceConfigAlias](types.JoinerServiceConfigAlias.mdx) \\| [JoinerServiceConfigAlias](types.JoinerServiceConfigAlias.mdx)[]","description":"Property name to use as entrypoint to the service","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"fieldAlias","type":"`Record`","description":"alias for deeper nested relationships (e.g. { 'price': 'prices.calculated\\_price\\_set.amount' })","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"relationships","type":"[JoinerRelationship](../types/types.JoinerRelationship.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"alias","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"foreignKey","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"primaryKey","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"serviceName","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"isInternalService","type":"`boolean`","description":"If true, the relationship is an internal service from the medusa core\nTODO: Remove when there are no more \"internal\" services","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"inverse","type":"`boolean`","description":"In an inverted relationship the foreign key is on the other service and the primary key is on the current service","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"isList","type":"`boolean`","description":"Force the relationship to return a list","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"args","type":"`Record`","description":"Extra arguments to pass to the remoteFetchData callback","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"extends","type":"`object`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"serviceName","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"relationship","type":"[JoinerRelationship](../types/types.JoinerRelationship.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"args","type":"`Record`","description":"Extra arguments to pass to the remoteFetchData callback","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"fields","type":"`string`[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"args","type":"[JoinerArgument](types.JoinerArgument.mdx)[]","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"name","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"value","type":"`any`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"expands","type":"[RemoteNestedExpands](types.RemoteNestedExpands.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="RemoteExpandProperty"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.RemoteJoinerOptions.mdx b/www/apps/docs/content/references/types/interfaces/types.RemoteJoinerOptions.mdx new file mode 100644 index 0000000000000..dbe9312b3dc21 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.RemoteJoinerOptions.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# RemoteJoinerOptions + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.RemoveCountryFromRegionDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.RemoveCountryFromRegionDTO.mdx deleted file mode 100644 index ec4ffc3ccb9bd..0000000000000 --- a/www/apps/docs/content/references/types/interfaces/types.RemoveCountryFromRegionDTO.mdx +++ /dev/null @@ -1,7 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# RemoveCountryFromRegionDTO - -## Properties - - diff --git a/www/apps/docs/content/references/types/interfaces/types.RemovePriceListRulesDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.RemovePriceListRulesDTO.mdx index 742d487159875..23003cdadc3e0 100644 --- a/www/apps/docs/content/references/types/interfaces/types.RemovePriceListRulesDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.RemovePriceListRulesDTO.mdx @@ -6,4 +6,4 @@ The rules to remove from a price list. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.ReservationItemDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.ReservationItemDTO.mdx new file mode 100644 index 0000000000000..75ff26a83e7a7 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.ReservationItemDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# ReservationItemDTO + +The reservation item details. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the reservation item.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"line_item_id","type":"`null` \\| `string`","description":"The associated line item's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"description","type":"`null` \\| `string`","description":"The description of the reservation item.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"The created by of the reservation item.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ReservationItemDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.ReservationResponse.mdx b/www/apps/docs/content/references/types/interfaces/types.ReservationResponse.mdx new file mode 100644 index 0000000000000..57a19d733abcf --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.ReservationResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# ReservationResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="ReservationResponse"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.RevokeApiKeyDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.RevokeApiKeyDTO.mdx new file mode 100644 index 0000000000000..fdb9b51e505d7 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.RevokeApiKeyDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# RevokeApiKeyDTO + +The details of revoking an API key. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.RuleTypeDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.RuleTypeDTO.mdx index 5cbfb41646580..06dcfc33dfacf 100644 --- a/www/apps/docs/content/references/types/interfaces/types.RuleTypeDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.RuleTypeDTO.mdx @@ -6,4 +6,4 @@ A rule type's data. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.SalesChannelResponse.mdx b/www/apps/docs/content/references/types/interfaces/types.SalesChannelResponse.mdx new file mode 100644 index 0000000000000..f850b097a915b --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.SalesChannelResponse.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# SalesChannelResponse + +## Properties + +`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="SalesChannelResponse"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.SessionOptions.mdx b/www/apps/docs/content/references/types/interfaces/types.SessionOptions.mdx index 1897f3aeb3edc..4b6a1ec8096df 100644 --- a/www/apps/docs/content/references/types/interfaces/types.SessionOptions.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.SessionOptions.mdx @@ -6,4 +6,4 @@ Options to pass to `express-session`. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.SetPaymentSessionsDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.SetPaymentSessionsDTO.mdx deleted file mode 100644 index 7297bfdb638ed..0000000000000 --- a/www/apps/docs/content/references/types/interfaces/types.SetPaymentSessionsDTO.mdx +++ /dev/null @@ -1,7 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# SetPaymentSessionsDTO - -## Properties - - diff --git a/www/apps/docs/content/references/types/interfaces/types.SetPriceListRulesDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.SetPriceListRulesDTO.mdx index 69b8ed9fa8cb2..dcf8a882364ea 100644 --- a/www/apps/docs/content/references/types/interfaces/types.SetPriceListRulesDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.SetPriceListRulesDTO.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # SetPriceListRulesDTO -The rules to add to a price list. +The rules to set in a price list. ## Properties -`","description":"The rules to add to the price list. Each key of the object is a rule type's `rule_attribute`, and its value\nis the value(s) of the rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="SetPriceListRulesDTO"/> +`","description":"The rules to add to the price list. Each key of the object is a rule type's `rule_attribute`, and its value\nis the value(s) of the rule.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="SetPriceListRulesDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.TaxLineDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.TaxLineDTO.mdx new file mode 100644 index 0000000000000..956fce4b7146d --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.TaxLineDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# TaxLineDTO + +The tax line details. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdateApiKeyDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdateApiKeyDTO.mdx new file mode 100644 index 0000000000000..c003f95e3b33f --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.UpdateApiKeyDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateApiKeyDTO + +The attributes to update in the API key. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdateAuthUserDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdateAuthUserDTO.mdx new file mode 100644 index 0000000000000..e1f884ecc8cbf --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.UpdateAuthUserDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateAuthUserDTO + +The attributes to update in the auth user. + +## Properties + +`","description":"Holds custom data related to the provider in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user_metadata","type":"`Record`","description":"Holds custom data related to the user in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"Holds custom data related to the third-party app in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateAuthUserDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdateCurrencyDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdateCurrencyDTO.mdx deleted file mode 100644 index 2323334f12260..0000000000000 --- a/www/apps/docs/content/references/types/interfaces/types.UpdateCurrencyDTO.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# UpdateCurrencyDTO - -The data to update in a currency. The `code` is used to identify which currency to update. - -## Properties - - diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdateMoneyAmountDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdateMoneyAmountDTO.mdx index 3478f3d4d234c..6fb161d137bf4 100644 --- a/www/apps/docs/content/references/types/interfaces/types.UpdateMoneyAmountDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.UpdateMoneyAmountDTO.mdx @@ -6,4 +6,4 @@ The data to update in a money amount. The `id` is used to identify which money a ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdatePaymentCollectionDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdatePaymentCollectionDTO.mdx index 448f452f42154..9ec03c3236183 100644 --- a/www/apps/docs/content/references/types/interfaces/types.UpdatePaymentCollectionDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.UpdatePaymentCollectionDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdatePaymentCollectionDTO +The attributes to update in the payment collection. + ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"authorized_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"refunded_amount","type":"`number`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../enums/types.PaymentCollectionStatus.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"NOT_PAID","type":"`\"not_paid\"`","description":"The payment collection isn't paid.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"AWAITING","type":"`\"awaiting\"`","description":"The payment collection is awaiting payment.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"AUTHORIZED","type":"`\"authorized\"`","description":"The payment collection is authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"PARTIALLY_AUTHORIZED","type":"`\"partially_authorized\"`","description":"Some of the payments in the payment collection are authorized.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"CANCELED","type":"`\"canceled\"`","description":"The payment collection is canceled.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="UpdatePaymentCollectionDTO"/> +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdatePaymentCollectionDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdatePaymentDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdatePaymentDTO.mdx index c107a82516687..a9e1922a7faa5 100644 --- a/www/apps/docs/content/references/types/interfaces/types.UpdatePaymentDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.UpdatePaymentDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdatePaymentDTO +The attributes to update in the payment. + ## Properties -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdatePaymentDTO"/> + diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdatePaymentProviderSession.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdatePaymentProviderSession.mdx new file mode 100644 index 0000000000000..e9532ed6e89a3 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.UpdatePaymentProviderSession.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdatePaymentProviderSession + +The attributes to update a payment related to a payment session in a provider. + +## Properties + +` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"email","type":"`string`","description":"The associated customer's email.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_id","type":"`string`","description":"The ID of the resource the payment is associated with. For example, the ID of the payment session.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"Partial<[CustomerDTO](../CustomerTypes/interfaces/types.CustomerTypes.CustomerDTO.mdx)>","description":"The customer associated with this payment.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The email of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"has_account","type":"`boolean`","description":"A flag indicating if customer has an account or not.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_billing_address_id","type":"`null` \\| `string`","description":"The associated default billing address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_shipping_address_id","type":"`null` \\| `string`","description":"The associated default shipping address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company_name","type":"`null` \\| `string`","description":"The company name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"addresses","type":"[CustomerAddressDTO](../CustomerTypes/interfaces/types.CustomerTypes.CustomerAddressDTO.mdx)[]","description":"The addresses of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"The groups of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"extra","type":"`Record`","description":"The extra fields specific to the provider session.","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"data","type":"`Record`","description":"The `data` field of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../types/types.BigNumberInput.mdx)","description":"The payment session's amount.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character code of the payment session.","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdatePaymentProviderSession"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdatePaymentSessionDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdatePaymentSessionDTO.mdx new file mode 100644 index 0000000000000..9653b72a0077a --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.UpdatePaymentSessionDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdatePaymentSessionDTO + +The attributes to update in a payment session. + +## Properties + +`","description":"Necessary data for the associated payment provider to process the payment.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../types/types.BigNumberInput.mdx)","description":"The amount to be authorized.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"context","type":"[PaymentProviderContext](types.PaymentProviderContext.mdx)","description":"Necessary context data for the associated payment provider.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"billing_address","type":"Partial<[AddressDTO](../types/types.AddressDTO.mdx)>","description":"The payment's billing address.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"address_1","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"id","type":"`string`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"address_2","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"company","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"city","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"postal_code","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"province","type":"`string` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`string` \\| `Date` \\| `null`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"email","type":"`string`","description":"The associated customer's email.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"resource_id","type":"`string`","description":"The ID of the resource the payment is associated with. For example, the ID of the payment session.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"customer","type":"Partial<[CustomerDTO](../CustomerTypes/interfaces/types.CustomerTypes.CustomerDTO.mdx)>","description":"The customer associated with this payment.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"id","type":"`string`","description":"The ID of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"email","type":"`string`","description":"The email of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"has_account","type":"`boolean`","description":"A flag indicating if customer has an account or not.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_billing_address_id","type":"`null` \\| `string`","description":"The associated default billing address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"default_shipping_address_id","type":"`null` \\| `string`","description":"The associated default shipping address's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"company_name","type":"`null` \\| `string`","description":"The company name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"first_name","type":"`null` \\| `string`","description":"The first name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"last_name","type":"`null` \\| `string`","description":"The last name of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"addresses","type":"[CustomerAddressDTO](../CustomerTypes/interfaces/types.CustomerTypes.CustomerAddressDTO.mdx)[]","description":"The addresses of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"phone","type":"`null` \\| `string`","description":"The phone of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"groups","type":"`object`[]","description":"The groups of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`Record`","description":"Holds custom data in key-value pairs.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_by","type":"`null` \\| `string`","description":"Who created the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"deleted_at","type":"`null` \\| `string` \\| `Date`","description":"The deletion date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"created_at","type":"`string` \\| `Date`","description":"The creation date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"updated_at","type":"`string` \\| `Date`","description":"The update date of the customer.","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"extra","type":"`Record`","description":"The extra fields specific to the provider session.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="UpdatePaymentSessionDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdatePriceDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdatePriceDTO.mdx new file mode 100644 index 0000000000000..d926b96e2445b --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.UpdatePriceDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdatePriceDTO + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdatePriceListDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdatePriceListDTO.mdx index d7818e23ddb66..d3ff538440ce0 100644 --- a/www/apps/docs/content/references/types/interfaces/types.UpdatePriceListDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.UpdatePriceListDTO.mdx @@ -6,4 +6,4 @@ The attributes to update in a price list. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdatePriceListPriceDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdatePriceListPriceDTO.mdx new file mode 100644 index 0000000000000..1ded3874b9ad7 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.UpdatePriceListPriceDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdatePriceListPriceDTO + +The data to update in a money amount. The `id` is used to identify which money amount to update. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdatePriceListPricesDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdatePriceListPricesDTO.mdx new file mode 100644 index 0000000000000..0e5054b8c0646 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.UpdatePriceListPricesDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdatePriceListPricesDTO + +The prices to be added to a price list. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdatePriceRuleDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdatePriceRuleDTO.mdx index b50e66a0de218..9757564a3bfba 100644 --- a/www/apps/docs/content/references/types/interfaces/types.UpdatePriceRuleDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.UpdatePriceRuleDTO.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdatePriceRuleDTO -The data to update in a price rule. The `id` is used to identify which money amount to update. +The data to update in a price rule. The `id` is used to identify which price rule to update. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdatePriceSetDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdatePriceSetDTO.mdx index 54ab0e72e15b1..52a8d0108f1a8 100644 --- a/www/apps/docs/content/references/types/interfaces/types.UpdatePriceSetDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.UpdatePriceSetDTO.mdx @@ -2,8 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdatePriceSetDTO -The data to update in a price set. The `id` is used to identify which price set to update. +The data to update in a price set. ## Properties - + diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdatePriceSetMoneyAmountDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdatePriceSetMoneyAmountDTO.mdx deleted file mode 100644 index 645cecb0ddbdc..0000000000000 --- a/www/apps/docs/content/references/types/interfaces/types.UpdatePriceSetMoneyAmountDTO.mdx +++ /dev/null @@ -1,7 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# UpdatePriceSetMoneyAmountDTO - -## Properties - - diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdatePriceSetMoneyAmountRulesDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdatePriceSetMoneyAmountRulesDTO.mdx deleted file mode 100644 index 5c5fc591e0762..0000000000000 --- a/www/apps/docs/content/references/types/interfaces/types.UpdatePriceSetMoneyAmountRulesDTO.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# UpdatePriceSetMoneyAmountRulesDTO - -The data to update in a price set money amount rule. The `id` is used to identify which money amount to update. - -## Properties - - diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdateRegionDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdateRegionDTO.mdx index d222a34b8d8d9..37b84f21e8158 100644 --- a/www/apps/docs/content/references/types/interfaces/types.UpdateRegionDTO.mdx +++ b/www/apps/docs/content/references/types/interfaces/types.UpdateRegionDTO.mdx @@ -2,6 +2,8 @@ import TypeList from "@site/src/components/TypeList" # UpdateRegionDTO +The attributes to update in the region. + ## Properties - +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateRegionDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdateReservationItemInput.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdateReservationItemInput.mdx new file mode 100644 index 0000000000000..ddfde7f1ff3aa --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.UpdateReservationItemInput.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateReservationItemInput + +The attributes to update in a reservation item. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateReservationItemInput"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdateServiceZone.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdateServiceZone.mdx new file mode 100644 index 0000000000000..e6ce84addb8e5 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.UpdateServiceZone.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateServiceZone + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.UpdateShippingProfile.mdx b/www/apps/docs/content/references/types/interfaces/types.UpdateShippingProfile.mdx new file mode 100644 index 0000000000000..6c5eada17bcf2 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.UpdateShippingProfile.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateShippingProfile + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.UpsertApiKeyDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpsertApiKeyDTO.mdx new file mode 100644 index 0000000000000..5f9204cd720ce --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.UpsertApiKeyDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpsertApiKeyDTO + +The attributes in the API key to be created or updated. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.UpsertPaymentCollectionDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpsertPaymentCollectionDTO.mdx new file mode 100644 index 0000000000000..8123706149bc3 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.UpsertPaymentCollectionDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpsertPaymentCollectionDTO + +The attributes in the payment collection to be created or updated. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpsertPaymentCollectionDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.UpsertPriceSetDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpsertPriceSetDTO.mdx new file mode 100644 index 0000000000000..6623ccd9534f4 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.UpsertPriceSetDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpsertPriceSetDTO + +The data to upsert in a price set. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.UpsertRegionDTO.mdx b/www/apps/docs/content/references/types/interfaces/types.UpsertRegionDTO.mdx new file mode 100644 index 0000000000000..0ac53ecd25bf0 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.UpsertRegionDTO.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# UpsertRegionDTO + +The attributes in the region to be created or updated. + +## Properties + +`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpsertRegionDTO"/> diff --git a/www/apps/docs/content/references/types/interfaces/types.WebhookActionData.mdx b/www/apps/docs/content/references/types/interfaces/types.WebhookActionData.mdx new file mode 100644 index 0000000000000..fa98375e5a14f --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.WebhookActionData.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# WebhookActionData + +The details of an action to be performed as a result of a received webhook event. + +## Properties + + diff --git a/www/apps/docs/content/references/types/interfaces/types.WebhookActionResult.mdx b/www/apps/docs/content/references/types/interfaces/types.WebhookActionResult.mdx new file mode 100644 index 0000000000000..63d6a31b3a038 --- /dev/null +++ b/www/apps/docs/content/references/types/interfaces/types.WebhookActionResult.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# WebhookActionResult + +The actions that the payment provider informs the Payment Module to perform. + +## Properties + + diff --git a/www/apps/docs/content/references/types/types.ApiKeyTypes.mdx b/www/apps/docs/content/references/types/types.ApiKeyTypes.mdx new file mode 100644 index 0000000000000..0ea457a2592e9 --- /dev/null +++ b/www/apps/docs/content/references/types/types.ApiKeyTypes.mdx @@ -0,0 +1,3 @@ +import TypeList from "@site/src/components/TypeList" + +# ApiKeyTypes diff --git a/www/apps/docs/content/references/types/types.CartTypes.mdx b/www/apps/docs/content/references/types/types.CartTypes.mdx index a8e4986fd9425..6133d8867f701 100644 --- a/www/apps/docs/content/references/types/types.CartTypes.mdx +++ b/www/apps/docs/content/references/types/types.CartTypes.mdx @@ -12,6 +12,7 @@ import TypeList from "@site/src/components/TypeList" - [LineItemTaxLineDTO](CartTypes/interfaces/types.CartTypes.LineItemTaxLineDTO.mdx) - [CartAddressDTO](CartTypes/interfaces/types.CartTypes.CartAddressDTO.mdx) - [CartShippingMethodDTO](CartTypes/interfaces/types.CartTypes.CartShippingMethodDTO.mdx) +- [CartLineItemTotalsDTO](CartTypes/interfaces/types.CartTypes.CartLineItemTotalsDTO.mdx) - [CartLineItemDTO](CartTypes/interfaces/types.CartTypes.CartLineItemDTO.mdx) - [CartDTO](CartTypes/interfaces/types.CartTypes.CartDTO.mdx) - [FilterableCartProps](CartTypes/interfaces/types.CartTypes.FilterableCartProps.mdx) @@ -26,6 +27,7 @@ import TypeList from "@site/src/components/TypeList" - [UpdateAddressDTO](CartTypes/interfaces/types.CartTypes.UpdateAddressDTO.mdx) - [CreateAddressDTO](CartTypes/interfaces/types.CartTypes.CreateAddressDTO.mdx) - [CreateCartDTO](CartTypes/interfaces/types.CartTypes.CreateCartDTO.mdx) +- [UpdateCartDataDTO](CartTypes/interfaces/types.CartTypes.UpdateCartDataDTO.mdx) - [UpdateCartDTO](CartTypes/interfaces/types.CartTypes.UpdateCartDTO.mdx) - [CreateAdjustmentDTO](CartTypes/interfaces/types.CartTypes.CreateAdjustmentDTO.mdx) - [UpdateAdjustmentDTO](CartTypes/interfaces/types.CartTypes.UpdateAdjustmentDTO.mdx) @@ -41,6 +43,7 @@ import TypeList from "@site/src/components/TypeList" - [CreateLineItemDTO](CartTypes/interfaces/types.CartTypes.CreateLineItemDTO.mdx) - [CreateLineItemForCartDTO](CartTypes/interfaces/types.CartTypes.CreateLineItemForCartDTO.mdx) - [UpdateLineItemWithSelectorDTO](CartTypes/interfaces/types.CartTypes.UpdateLineItemWithSelectorDTO.mdx) +- [UpdateCartWithSelectorDTO](CartTypes/interfaces/types.CartTypes.UpdateCartWithSelectorDTO.mdx) - [UpdateLineItemDTO](CartTypes/interfaces/types.CartTypes.UpdateLineItemDTO.mdx) - [CreateShippingMethodDTO](CartTypes/interfaces/types.CartTypes.CreateShippingMethodDTO.mdx) - [CreateShippingMethodForSingleCartDTO](CartTypes/interfaces/types.CartTypes.CreateShippingMethodForSingleCartDTO.mdx) @@ -48,6 +51,16 @@ import TypeList from "@site/src/components/TypeList" - [CreateShippingMethodAdjustmentDTO](CartTypes/interfaces/types.CartTypes.CreateShippingMethodAdjustmentDTO.mdx) - [UpdateShippingMethodAdjustmentDTO](CartTypes/interfaces/types.CartTypes.UpdateShippingMethodAdjustmentDTO.mdx) - [ICartModuleService](CartTypes/interfaces/types.CartTypes.ICartModuleService.mdx) +- [CreateCartCreateLineItemDTO](CartTypes/interfaces/types.CartTypes.CreateCartCreateLineItemDTO.mdx) +- [UpdateLineItemInCartWorkflowInputDTO](CartTypes/interfaces/types.CartTypes.UpdateLineItemInCartWorkflowInputDTO.mdx) +- [CreateCartAddressDTO](CartTypes/interfaces/types.CartTypes.CreateCartAddressDTO.mdx) +- [CreateCartWorkflowInputDTO](CartTypes/interfaces/types.CartTypes.CreateCartWorkflowInputDTO.mdx) +- [AddToCartWorkflowInputDTO](CartTypes/interfaces/types.CartTypes.AddToCartWorkflowInputDTO.mdx) +- [UpdateCartWorkflowInputDTO](CartTypes/interfaces/types.CartTypes.UpdateCartWorkflowInputDTO.mdx) +- [CreatePaymentCollectionForCartWorkflowInputDTO](CartTypes/interfaces/types.CartTypes.CreatePaymentCollectionForCartWorkflowInputDTO.mdx) +- [CartWorkflowDTO](CartTypes/interfaces/types.CartTypes.CartWorkflowDTO.mdx) +- [ListShippingOptionsForCartWorkflowInputDTO](CartTypes/interfaces/types.CartTypes.ListShippingOptionsForCartWorkflowInputDTO.mdx) +- [PricedShippingOptionDTO](CartTypes/interfaces/types.CartTypes.PricedShippingOptionDTO.mdx) ## Type Aliases diff --git a/www/apps/docs/content/references/types/types.CommonTypes.mdx b/www/apps/docs/content/references/types/types.CommonTypes.mdx index 5e0363ae00805..9c8128761c3fc 100644 --- a/www/apps/docs/content/references/types/types.CommonTypes.mdx +++ b/www/apps/docs/content/references/types/types.CommonTypes.mdx @@ -7,7 +7,8 @@ import TypeList from "@site/src/components/TypeList" - [BaseEntity](CommonTypes/interfaces/types.CommonTypes.BaseEntity.mdx) - [SoftDeletableEntity](CommonTypes/interfaces/types.CommonTypes.SoftDeletableEntity.mdx) - [FindConfig](CommonTypes/interfaces/types.CommonTypes.FindConfig.mdx) -- [CustomFindOptions](CommonTypes/interfaces/types.CommonTypes.CustomFindOptions.mdx) +- [RequestQueryFields](CommonTypes/interfaces/types.CommonTypes.RequestQueryFields.mdx) +- [PaginatedResponse](CommonTypes/interfaces/types.CommonTypes.PaginatedResponse.mdx) - [EmptyQueryParams](CommonTypes/interfaces/types.CommonTypes.EmptyQueryParams.mdx) - [RepositoryTransformOptions](CommonTypes/interfaces/types.CommonTypes.RepositoryTransformOptions.mdx) - [DateComparisonOperator](CommonTypes/interfaces/types.CommonTypes.DateComparisonOperator.mdx) @@ -23,18 +24,17 @@ import TypeList from "@site/src/components/TypeList" ## Type Aliases +- [LinkMethodRequest](CommonTypes/types/types.CommonTypes.LinkMethodRequest.mdx) +- [LinkWorkflowInput](CommonTypes/types/types.CommonTypes.LinkWorkflowInput.mdx) +- [BatchMethodRequest](CommonTypes/types/types.CommonTypes.BatchMethodRequest.mdx) +- [BatchMethodResponse](CommonTypes/types/types.CommonTypes.BatchMethodResponse.mdx) +- [BatchWorkflowInput](CommonTypes/types/types.CommonTypes.BatchWorkflowInput.mdx) +- [BatchWorkflowOutput](CommonTypes/types/types.CommonTypes.BatchWorkflowOutput.mdx) - [WithRequiredProperty](CommonTypes/types/types.CommonTypes.WithRequiredProperty.mdx) -- [PartialPick](CommonTypes/types/types.CommonTypes.PartialPick.mdx) -- [Writable](CommonTypes/types/types.CommonTypes.Writable.mdx) -- [ExtendedFindConfig](CommonTypes/types/types.CommonTypes.ExtendedFindConfig.mdx) -- [QuerySelector](CommonTypes/types/types.CommonTypes.QuerySelector.mdx) -- [TreeQuerySelector](CommonTypes/types/types.CommonTypes.TreeQuerySelector.mdx) -- [Selector](CommonTypes/types/types.CommonTypes.Selector.mdx) -- [TotalField](CommonTypes/types/types.CommonTypes.TotalField.mdx) -- [QueryConfig](CommonTypes/types/types.CommonTypes.QueryConfig.mdx) -- [RequestQueryFields](CommonTypes/types/types.CommonTypes.RequestQueryFields.mdx) -- [PaginatedResponse](CommonTypes/types/types.CommonTypes.PaginatedResponse.mdx) - [DeleteResponse](CommonTypes/types/types.CommonTypes.DeleteResponse.mdx) -- [Pluralize](CommonTypes/types/types.CommonTypes.Pluralize.mdx) +- [SnakeCase](CommonTypes/types/types.CommonTypes.SnakeCase.mdx) +- [KebabCase](CommonTypes/types/types.CommonTypes.KebabCase.mdx) +- [PluginDetails](CommonTypes/types/types.CommonTypes.PluginDetails.mdx) - [MedusaContainer](CommonTypes/types/types.CommonTypes.MedusaContainer.mdx) - [ContainerLike](CommonTypes/types/types.CommonTypes.ContainerLike.mdx) +- [RuleOperatorType](CommonTypes/types/types.CommonTypes.RuleOperatorType.mdx) diff --git a/www/apps/docs/content/references/types/types.CurrencyTypes.mdx b/www/apps/docs/content/references/types/types.CurrencyTypes.mdx new file mode 100644 index 0000000000000..60c70b4afabe5 --- /dev/null +++ b/www/apps/docs/content/references/types/types.CurrencyTypes.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CurrencyTypes + +## Interfaces + +- [CurrencyDTO](CurrencyTypes/interfaces/types.CurrencyTypes.CurrencyDTO.mdx) +- [FilterableCurrencyProps](CurrencyTypes/interfaces/types.CurrencyTypes.FilterableCurrencyProps.mdx) +- [ICurrencyModuleService](CurrencyTypes/interfaces/types.CurrencyTypes.ICurrencyModuleService.mdx) diff --git a/www/apps/docs/content/references/types/types.CustomerTypes.mdx b/www/apps/docs/content/references/types/types.CustomerTypes.mdx index 22f9a1ecc0858..a03e4ef8de316 100644 --- a/www/apps/docs/content/references/types/types.CustomerTypes.mdx +++ b/www/apps/docs/content/references/types/types.CustomerTypes.mdx @@ -12,18 +12,14 @@ import TypeList from "@site/src/components/TypeList" - [CustomerGroupDTO](CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupDTO.mdx) - [CustomerGroupCustomerDTO](CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupCustomerDTO.mdx) - [CustomerDTO](CustomerTypes/interfaces/types.CustomerTypes.CustomerDTO.mdx) +- [GroupCustomerPair](CustomerTypes/interfaces/types.CustomerTypes.GroupCustomerPair.mdx) +- [legacy\_CustomerDTO](CustomerTypes/interfaces/types.CustomerTypes.legacy_CustomerDTO.mdx) - [CreateCustomerAddressDTO](CustomerTypes/interfaces/types.CustomerTypes.CreateCustomerAddressDTO.mdx) - [UpdateCustomerAddressDTO](CustomerTypes/interfaces/types.CustomerTypes.UpdateCustomerAddressDTO.mdx) - [CreateCustomerDTO](CustomerTypes/interfaces/types.CustomerTypes.CreateCustomerDTO.mdx) - [UpdateCustomerDTO](CustomerTypes/interfaces/types.CustomerTypes.UpdateCustomerDTO.mdx) - [CustomerUpdatableFields](CustomerTypes/interfaces/types.CustomerTypes.CustomerUpdatableFields.mdx) -- [CreateCustomerGroupDTO](CustomerTypes/interfaces/types.CustomerTypes.CreateCustomerGroupDTO.mdx) - [CustomerGroupUpdatableFields](CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupUpdatableFields.mdx) - [UpdateCustomerGroupDTO](CustomerTypes/interfaces/types.CustomerTypes.UpdateCustomerGroupDTO.mdx) -- [CustomerGroupUpdatableFileds](CustomerTypes/interfaces/types.CustomerTypes.CustomerGroupUpdatableFileds.mdx) +- [CreateCustomerGroupDTO](CustomerTypes/interfaces/types.CustomerTypes.CreateCustomerGroupDTO.mdx) - [ICustomerModuleService](CustomerTypes/interfaces/types.CustomerTypes.ICustomerModuleService.mdx) - -## Type Aliases - -- [GroupCustomerPair](CustomerTypes/types/types.CustomerTypes.GroupCustomerPair.mdx) -- [legacy\_CustomerDTO](CustomerTypes/types/types.CustomerTypes.legacy_CustomerDTO.mdx) diff --git a/www/apps/docs/content/references/types/types.DAL.mdx b/www/apps/docs/content/references/types/types.DAL.mdx index 6cb51b3bdabec..3be419ac186a0 100644 --- a/www/apps/docs/content/references/types/types.DAL.mdx +++ b/www/apps/docs/content/references/types/types.DAL.mdx @@ -6,6 +6,8 @@ import TypeList from "@site/src/components/TypeList" - [BaseFilterable](DAL/interfaces/types.DAL.BaseFilterable.mdx) - [OptionsQuery](DAL/interfaces/types.DAL.OptionsQuery.mdx) +- [FindOptions](DAL/interfaces/types.DAL.FindOptions.mdx) +- [UpsertWithReplaceConfig](DAL/interfaces/types.DAL.UpsertWithReplaceConfig.mdx) - [RepositoryService](DAL/interfaces/types.DAL.RepositoryService.mdx) - [TreeRepositoryService](DAL/interfaces/types.DAL.TreeRepositoryService.mdx) - [SoftDeleteReturn](DAL/interfaces/types.DAL.SoftDeleteReturn.mdx) @@ -15,6 +17,5 @@ import TypeList from "@site/src/components/TypeList" - [EntityDateColumns](DAL/types/types.DAL.EntityDateColumns.mdx) - [SoftDeletableEntityDateColumns](DAL/types/types.DAL.SoftDeletableEntityDateColumns.mdx) -- [FindOptions](DAL/types/types.DAL.FindOptions.mdx) - [OperatorMap](DAL/types/types.DAL.OperatorMap.mdx) - [FilterQuery](DAL/types/types.DAL.FilterQuery.mdx) diff --git a/www/apps/docs/content/references/types/types.FileTypes.mdx b/www/apps/docs/content/references/types/types.FileTypes.mdx new file mode 100644 index 0000000000000..4d823b237fd78 --- /dev/null +++ b/www/apps/docs/content/references/types/types.FileTypes.mdx @@ -0,0 +1,17 @@ +import TypeList from "@site/src/components/TypeList" + +# FileTypes + +## Interfaces + +- [FileDTO](FileTypes/interfaces/types.FileTypes.FileDTO.mdx) +- [FilterableFileProps](FileTypes/interfaces/types.FileTypes.FilterableFileProps.mdx) +- [CreateFileDTO](FileTypes/interfaces/types.FileTypes.CreateFileDTO.mdx) +- [ProviderFileResultDTO](FileTypes/interfaces/types.FileTypes.ProviderFileResultDTO.mdx) +- [ProviderGetFileDTO](FileTypes/interfaces/types.FileTypes.ProviderGetFileDTO.mdx) +- [ProviderDeleteFileDTO](FileTypes/interfaces/types.FileTypes.ProviderDeleteFileDTO.mdx) +- [ProviderUploadFileDTO](FileTypes/interfaces/types.FileTypes.ProviderUploadFileDTO.mdx) +- [IFileProvider](FileTypes/interfaces/types.FileTypes.IFileProvider.mdx) +- [LocalFileServiceOptions](FileTypes/interfaces/types.FileTypes.LocalFileServiceOptions.mdx) +- [S3FileServiceOptions](FileTypes/interfaces/types.FileTypes.S3FileServiceOptions.mdx) +- [IFileModuleService](FileTypes/interfaces/types.FileTypes.IFileModuleService.mdx) diff --git a/www/apps/docs/content/references/types/types.FulfillmentTypes.mdx b/www/apps/docs/content/references/types/types.FulfillmentTypes.mdx index ce18ed6a7506b..2b432514262d1 100644 --- a/www/apps/docs/content/references/types/types.FulfillmentTypes.mdx +++ b/www/apps/docs/content/references/types/types.FulfillmentTypes.mdx @@ -4,9 +4,66 @@ import TypeList from "@site/src/components/TypeList" ## Interfaces +- [FulfillmentAddressDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentAddressDTO.mdx) +- [FulfillmentItemDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentItemDTO.mdx) +- [FulfillmentLabelDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentLabelDTO.mdx) +- [FulfillmentProviderDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentProviderDTO.mdx) +- [FilterableFulfillmentProviderProps](FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableFulfillmentProviderProps.mdx) +- [FulfillmentSetDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentSetDTO.mdx) +- [FilterableFulfillmentSetProps](FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableFulfillmentSetProps.mdx) - [FulfillmentDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.FulfillmentDTO.mdx) +- [FilterableFulfillmentProps](FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableFulfillmentProps.mdx) +- [GeoZoneDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.GeoZoneDTO.mdx) +- [FilterableGeoZoneProps](FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableGeoZoneProps.mdx) +- [ServiceZoneDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.ServiceZoneDTO.mdx) +- [FilterableServiceZoneProps](FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableServiceZoneProps.mdx) +- [ShippingOptionRuleDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionRuleDTO.mdx) +- [FilterableShippingOptionRuleProps](FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionRuleProps.mdx) +- [ShippingOptionTypeDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionTypeDTO.mdx) +- [FilterableShippingOptionTypeProps](FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionTypeProps.mdx) +- [ShippingOptionDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingOptionDTO.mdx) +- [FilterableShippingOptionProps](FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionProps.mdx) +- [FilterableShippingOptionForContextProps](FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingOptionForContextProps.mdx) +- [ShippingProfileDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.ShippingProfileDTO.mdx) +- [FilterableShippingProfileProps](FulfillmentTypes/interfaces/types.FulfillmentTypes.FilterableShippingProfileProps.mdx) +- [CreateFulfillmentAddressDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentAddressDTO.mdx) +- [CreateFulfillmentItemDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentItemDTO.mdx) +- [CreateFulfillmentLabelDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentLabelDTO.mdx) +- [CreateFulfillmentSetDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentSetDTO.mdx) +- [UpdateFulfillmentSetDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateFulfillmentSetDTO.mdx) +- [CreateFulfillmentOrderDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentOrderDTO.mdx) +- [CreateFulfillmentDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateFulfillmentDTO.mdx) +- [UpdateFulfillmentDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateFulfillmentDTO.mdx) +- [CreateCountryGeoZoneDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateCountryGeoZoneDTO.mdx) +- [CreateProvinceGeoZoneDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateProvinceGeoZoneDTO.mdx) +- [CreateCityGeoZoneDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateCityGeoZoneDTO.mdx) +- [CreateZipGeoZoneDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateZipGeoZoneDTO.mdx) +- [UpdateGeoZoneBaseDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateGeoZoneBaseDTO.mdx) +- [UpdateCountryGeoZoneDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateCountryGeoZoneDTO.mdx) +- [UpdateProvinceGeoZoneDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateProvinceGeoZoneDTO.mdx) +- [UpdateCityGeoZoneDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateCityGeoZoneDTO.mdx) +- [UpdateZipGeoZoneDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateZipGeoZoneDTO.mdx) +- [CreateServiceZoneDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateServiceZoneDTO.mdx) +- [UpdateServiceZoneDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateServiceZoneDTO.mdx) +- [UpsertServiceZoneDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.UpsertServiceZoneDTO.mdx) +- [CreateShippingOptionRuleDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingOptionRuleDTO.mdx) +- [UpdateShippingOptionRuleDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingOptionRuleDTO.mdx) +- [CreateShippingOptionTypeDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingOptionTypeDTO.mdx) +- [UpdateShippingOptionTypeDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingOptionTypeDTO.mdx) +- [CreateShippingOptionDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingOptionDTO.mdx) +- [UpdateShippingOptionDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingOptionDTO.mdx) +- [UpsertShippingOptionDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.UpsertShippingOptionDTO.mdx) +- [CreateShippingProfileDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.CreateShippingProfileDTO.mdx) +- [UpdateShippingProfileDTO](FulfillmentTypes/interfaces/types.FulfillmentTypes.UpdateShippingProfileDTO.mdx) +- [IFulfillmentProvider](FulfillmentTypes/interfaces/types.FulfillmentTypes.IFulfillmentProvider.mdx) - [IFulfillmentModuleService](FulfillmentTypes/interfaces/types.FulfillmentTypes.IFulfillmentModuleService.mdx) ## Type Aliases - [GeoZoneType](FulfillmentTypes/types/types.FulfillmentTypes.GeoZoneType.mdx) +- [ShippingOptionPriceType](FulfillmentTypes/types/types.FulfillmentTypes.ShippingOptionPriceType.mdx) +- [CreateGeoZoneDTO](FulfillmentTypes/types/types.FulfillmentTypes.CreateGeoZoneDTO.mdx) +- [UpdateGeoZoneDTO](FulfillmentTypes/types/types.FulfillmentTypes.UpdateGeoZoneDTO.mdx) +- [AddFulfillmentShippingOptionRulesWorkflowDTO](FulfillmentTypes/types/types.FulfillmentTypes.AddFulfillmentShippingOptionRulesWorkflowDTO.mdx) +- [RemoveFulfillmentShippingOptionRulesWorkflowDTO](FulfillmentTypes/types/types.FulfillmentTypes.RemoveFulfillmentShippingOptionRulesWorkflowDTO.mdx) +- [UpdateFulfillmentShippingOptionRulesWorkflowDTO](FulfillmentTypes/types/types.FulfillmentTypes.UpdateFulfillmentShippingOptionRulesWorkflowDTO.mdx) diff --git a/www/apps/docs/content/references/types/types.HttpTypes.mdx b/www/apps/docs/content/references/types/types.HttpTypes.mdx new file mode 100644 index 0000000000000..d9e2241df5534 --- /dev/null +++ b/www/apps/docs/content/references/types/types.HttpTypes.mdx @@ -0,0 +1,66 @@ +import TypeList from "@site/src/components/TypeList" + +# HttpTypes + +## Interfaces + +- [AdminApiKeyResponse](HttpTypes/interfaces/types.HttpTypes.AdminApiKeyResponse.mdx) +- [AdminApiKeyListResponse](HttpTypes/interfaces/types.HttpTypes.AdminApiKeyListResponse.mdx) +- [CampaignResponse](HttpTypes/interfaces/types.HttpTypes.CampaignResponse.mdx) +- [AdminCampaignListResponse](HttpTypes/interfaces/types.HttpTypes.AdminCampaignListResponse.mdx) +- [AdminCampaignResponse](HttpTypes/interfaces/types.HttpTypes.AdminCampaignResponse.mdx) +- [CustomerGroupResponse](HttpTypes/interfaces/types.HttpTypes.CustomerGroupResponse.mdx) +- [CustomerAddressResponse](HttpTypes/interfaces/types.HttpTypes.CustomerAddressResponse.mdx) +- [AdminCustomerResponse](HttpTypes/interfaces/types.HttpTypes.AdminCustomerResponse.mdx) +- [AdminCustomerListResponse](HttpTypes/interfaces/types.HttpTypes.AdminCustomerListResponse.mdx) +- [AdminCustomerGroupResponse](HttpTypes/interfaces/types.HttpTypes.AdminCustomerGroupResponse.mdx) +- [AdminCustomerGroupListResponse](HttpTypes/interfaces/types.HttpTypes.AdminCustomerGroupListResponse.mdx) +- [AdminFulfillmentAddressResponse](HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentAddressResponse.mdx) +- [AdminFulfillmentItemResponse](HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentItemResponse.mdx) +- [AdminFulfillmentLabelResponse](HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentLabelResponse.mdx) +- [AdminFulfillmentProviderResponse](HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentProviderResponse.mdx) +- [FulfillmentSetResponse](HttpTypes/interfaces/types.HttpTypes.FulfillmentSetResponse.mdx) +- [AdminFulfillmentSetResponse](HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentSetResponse.mdx) +- [AdminFulfillmentResponse](HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentResponse.mdx) +- [AdminFulfillmentSetsDeleteResponse](HttpTypes/interfaces/types.HttpTypes.AdminFulfillmentSetsDeleteResponse.mdx) +- [AdminGeoZoneResponse](HttpTypes/interfaces/types.HttpTypes.AdminGeoZoneResponse.mdx) +- [AdminServiceZoneResponse](HttpTypes/interfaces/types.HttpTypes.AdminServiceZoneResponse.mdx) +- [AdminServiceZoneDeleteResponse](HttpTypes/interfaces/types.HttpTypes.AdminServiceZoneDeleteResponse.mdx) +- [ServiceZoneResponse](HttpTypes/interfaces/types.HttpTypes.ServiceZoneResponse.mdx) +- [AdminShippingOptionRuleResponse](HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionRuleResponse.mdx) +- [AdminShippingOptionTypeResponse](HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionTypeResponse.mdx) +- [AdminShippingOptionRetrieveResponse](HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionRetrieveResponse.mdx) +- [AdminShippingOptionListResponse](HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionListResponse.mdx) +- [AdminShippingOptionDeleteResponse](HttpTypes/interfaces/types.HttpTypes.AdminShippingOptionDeleteResponse.mdx) +- [ShippingProfileResponse](HttpTypes/interfaces/types.HttpTypes.ShippingProfileResponse.mdx) +- [AdminShippingProfileResponse](HttpTypes/interfaces/types.HttpTypes.AdminShippingProfileResponse.mdx) +- [AdminShippingProfilesResponse](HttpTypes/interfaces/types.HttpTypes.AdminShippingProfilesResponse.mdx) +- [AdminShippingProfileDeleteResponse](HttpTypes/interfaces/types.HttpTypes.AdminShippingProfileDeleteResponse.mdx) +- [OrderResponse](HttpTypes/interfaces/types.HttpTypes.OrderResponse.mdx) +- [AdminOrderListResponse](HttpTypes/interfaces/types.HttpTypes.AdminOrderListResponse.mdx) +- [AdminOrderResponse](HttpTypes/interfaces/types.HttpTypes.AdminOrderResponse.mdx) +- [AdminProductCategoryResponse](HttpTypes/interfaces/types.HttpTypes.AdminProductCategoryResponse.mdx) +- [AdminProductCategoryListResponse](HttpTypes/interfaces/types.HttpTypes.AdminProductCategoryListResponse.mdx) +- [StoreProductCategoryResponse](HttpTypes/interfaces/types.HttpTypes.StoreProductCategoryResponse.mdx) +- [StoreProductCategoryListResponse](HttpTypes/interfaces/types.HttpTypes.StoreProductCategoryListResponse.mdx) +- [PromotionRuleResponse](HttpTypes/interfaces/types.HttpTypes.PromotionRuleResponse.mdx) +- [AdminPromotionRuleListResponse](HttpTypes/interfaces/types.HttpTypes.AdminPromotionRuleListResponse.mdx) +- [RuleAttributeOptionsResponse](HttpTypes/interfaces/types.HttpTypes.RuleAttributeOptionsResponse.mdx) +- [AdminRuleAttributeOptionsListResponse](HttpTypes/interfaces/types.HttpTypes.AdminRuleAttributeOptionsListResponse.mdx) +- [RuleOperatorOptionsResponse](HttpTypes/interfaces/types.HttpTypes.RuleOperatorOptionsResponse.mdx) +- [AdminRuleOperatorOptionsListResponse](HttpTypes/interfaces/types.HttpTypes.AdminRuleOperatorOptionsListResponse.mdx) +- [AdminReservationResponse](HttpTypes/interfaces/types.HttpTypes.AdminReservationResponse.mdx) +- [AdminReservationListResponse](HttpTypes/interfaces/types.HttpTypes.AdminReservationListResponse.mdx) +- [AdminSalesChannelListResponse](HttpTypes/interfaces/types.HttpTypes.AdminSalesChannelListResponse.mdx) +- [AdminSalesChannelResponse](HttpTypes/interfaces/types.HttpTypes.AdminSalesChannelResponse.mdx) +- [AdminStockLocationResponse](HttpTypes/interfaces/types.HttpTypes.AdminStockLocationResponse.mdx) +- [TaxRateResponse](HttpTypes/interfaces/types.HttpTypes.TaxRateResponse.mdx) +- [AdminTaxRateResponse](HttpTypes/interfaces/types.HttpTypes.AdminTaxRateResponse.mdx) +- [AdminTaxRateListResponse](HttpTypes/interfaces/types.HttpTypes.AdminTaxRateListResponse.mdx) +- [TaxRegionResponse](HttpTypes/interfaces/types.HttpTypes.TaxRegionResponse.mdx) +- [AdminTaxRegionResponse](HttpTypes/interfaces/types.HttpTypes.AdminTaxRegionResponse.mdx) +- [AdminTaxRegionListResponse](HttpTypes/interfaces/types.HttpTypes.AdminTaxRegionListResponse.mdx) + +## Type Aliases + +- [AdminStockLocationAddressResponse](HttpTypes/types/types.HttpTypes.AdminStockLocationAddressResponse.mdx) diff --git a/www/apps/docs/content/references/types/types.OrderTypes.mdx b/www/apps/docs/content/references/types/types.OrderTypes.mdx new file mode 100644 index 0000000000000..595bf822f1055 --- /dev/null +++ b/www/apps/docs/content/references/types/types.OrderTypes.mdx @@ -0,0 +1,77 @@ +import TypeList from "@site/src/components/TypeList" + +# OrderTypes + +## Interfaces + +- [OrderAdjustmentLineDTO](OrderTypes/interfaces/types.OrderTypes.OrderAdjustmentLineDTO.mdx) +- [OrderShippingMethodAdjustmentDTO](OrderTypes/interfaces/types.OrderTypes.OrderShippingMethodAdjustmentDTO.mdx) +- [OrderLineItemAdjustmentDTO](OrderTypes/interfaces/types.OrderTypes.OrderLineItemAdjustmentDTO.mdx) +- [OrderTaxLineDTO](OrderTypes/interfaces/types.OrderTypes.OrderTaxLineDTO.mdx) +- [OrderShippingMethodTaxLineDTO](OrderTypes/interfaces/types.OrderTypes.OrderShippingMethodTaxLineDTO.mdx) +- [OrderLineItemTaxLineDTO](OrderTypes/interfaces/types.OrderTypes.OrderLineItemTaxLineDTO.mdx) +- [OrderAddressDTO](OrderTypes/interfaces/types.OrderTypes.OrderAddressDTO.mdx) +- [OrderShippingMethodDTO](OrderTypes/interfaces/types.OrderTypes.OrderShippingMethodDTO.mdx) +- [OrderLineItemTotalsDTO](OrderTypes/interfaces/types.OrderTypes.OrderLineItemTotalsDTO.mdx) +- [OrderLineItemDTO](OrderTypes/interfaces/types.OrderTypes.OrderLineItemDTO.mdx) +- [OrderItemDTO](OrderTypes/interfaces/types.OrderTypes.OrderItemDTO.mdx) +- [OrderDTO](OrderTypes/interfaces/types.OrderTypes.OrderDTO.mdx) +- [OrderChangeDTO](OrderTypes/interfaces/types.OrderTypes.OrderChangeDTO.mdx) +- [OrderChangeActionDTO](OrderTypes/interfaces/types.OrderTypes.OrderChangeActionDTO.mdx) +- [OrderTransactionDTO](OrderTypes/interfaces/types.OrderTypes.OrderTransactionDTO.mdx) +- [FilterableOrderProps](OrderTypes/interfaces/types.OrderTypes.FilterableOrderProps.mdx) +- [FilterableOrderAddressProps](OrderTypes/interfaces/types.OrderTypes.FilterableOrderAddressProps.mdx) +- [FilterableOrderLineItemProps](OrderTypes/interfaces/types.OrderTypes.FilterableOrderLineItemProps.mdx) +- [FilterableOrderLineItemAdjustmentProps](OrderTypes/interfaces/types.OrderTypes.FilterableOrderLineItemAdjustmentProps.mdx) +- [FilterableOrderShippingMethodProps](OrderTypes/interfaces/types.OrderTypes.FilterableOrderShippingMethodProps.mdx) +- [FilterableOrderShippingMethodAdjustmentProps](OrderTypes/interfaces/types.OrderTypes.FilterableOrderShippingMethodAdjustmentProps.mdx) +- [FilterableOrderLineItemTaxLineProps](OrderTypes/interfaces/types.OrderTypes.FilterableOrderLineItemTaxLineProps.mdx) +- [FilterableOrderShippingMethodTaxLineProps](OrderTypes/interfaces/types.OrderTypes.FilterableOrderShippingMethodTaxLineProps.mdx) +- [FilterableOrderChangeProps](OrderTypes/interfaces/types.OrderTypes.FilterableOrderChangeProps.mdx) +- [FilterableOrderChangeActionProps](OrderTypes/interfaces/types.OrderTypes.FilterableOrderChangeActionProps.mdx) +- [FilterableOrderTransactionProps](OrderTypes/interfaces/types.OrderTypes.FilterableOrderTransactionProps.mdx) +- [FilterableOrderItemProps](OrderTypes/interfaces/types.OrderTypes.FilterableOrderItemProps.mdx) +- [UpsertOrderAddressDTO](OrderTypes/interfaces/types.OrderTypes.UpsertOrderAddressDTO.mdx) +- [UpdateOrderAddressDTO](OrderTypes/interfaces/types.OrderTypes.UpdateOrderAddressDTO.mdx) +- [CreateOrderAddressDTO](OrderTypes/interfaces/types.OrderTypes.CreateOrderAddressDTO.mdx) +- [CreateOrderDTO](OrderTypes/interfaces/types.OrderTypes.CreateOrderDTO.mdx) +- [UpdateOrderDTO](OrderTypes/interfaces/types.OrderTypes.UpdateOrderDTO.mdx) +- [CreateOrderAdjustmentDTO](OrderTypes/interfaces/types.OrderTypes.CreateOrderAdjustmentDTO.mdx) +- [UpdateOrderAdjustmentDTO](OrderTypes/interfaces/types.OrderTypes.UpdateOrderAdjustmentDTO.mdx) +- [CreateOrderLineItemAdjustmentDTO](OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemAdjustmentDTO.mdx) +- [UpdateOrderLineItemAdjustmentDTO](OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemAdjustmentDTO.mdx) +- [UpsertOrderLineItemAdjustmentDTO](OrderTypes/interfaces/types.OrderTypes.UpsertOrderLineItemAdjustmentDTO.mdx) +- [CreateOrderTaxLineDTO](OrderTypes/interfaces/types.OrderTypes.CreateOrderTaxLineDTO.mdx) +- [UpdateOrderTaxLineDTO](OrderTypes/interfaces/types.OrderTypes.UpdateOrderTaxLineDTO.mdx) +- [CreateOrderShippingMethodTaxLineDTO](OrderTypes/interfaces/types.OrderTypes.CreateOrderShippingMethodTaxLineDTO.mdx) +- [UpdateOrderShippingMethodTaxLineDTO](OrderTypes/interfaces/types.OrderTypes.UpdateOrderShippingMethodTaxLineDTO.mdx) +- [CreateOrderLineItemTaxLineDTO](OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemTaxLineDTO.mdx) +- [UpdateOrderLineItemTaxLineDTO](OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemTaxLineDTO.mdx) +- [CreateOrderLineItemDTO](OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemDTO.mdx) +- [CreateOrderLineItemForOrderDTO](OrderTypes/interfaces/types.OrderTypes.CreateOrderLineItemForOrderDTO.mdx) +- [UpdateOrderLineItemWithSelectorDTO](OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemWithSelectorDTO.mdx) +- [UpdateOrderLineItemDTO](OrderTypes/interfaces/types.OrderTypes.UpdateOrderLineItemDTO.mdx) +- [CreateOrderShippingMethodDTO](OrderTypes/interfaces/types.OrderTypes.CreateOrderShippingMethodDTO.mdx) +- [UpdateOrderShippingMethodDTO](OrderTypes/interfaces/types.OrderTypes.UpdateOrderShippingMethodDTO.mdx) +- [CreateOrderShippingMethodAdjustmentDTO](OrderTypes/interfaces/types.OrderTypes.CreateOrderShippingMethodAdjustmentDTO.mdx) +- [UpdateOrderShippingMethodAdjustmentDTO](OrderTypes/interfaces/types.OrderTypes.UpdateOrderShippingMethodAdjustmentDTO.mdx) +- [CreateOrderChangeDTO](OrderTypes/interfaces/types.OrderTypes.CreateOrderChangeDTO.mdx) +- [UpdateOrderChangeDTO](OrderTypes/interfaces/types.OrderTypes.UpdateOrderChangeDTO.mdx) +- [CancelOrderChangeDTO](OrderTypes/interfaces/types.OrderTypes.CancelOrderChangeDTO.mdx) +- [DeclineOrderChangeDTO](OrderTypes/interfaces/types.OrderTypes.DeclineOrderChangeDTO.mdx) +- [ConfirmOrderChangeDTO](OrderTypes/interfaces/types.OrderTypes.ConfirmOrderChangeDTO.mdx) +- [CreateOrderChangeActionDTO](OrderTypes/interfaces/types.OrderTypes.CreateOrderChangeActionDTO.mdx) +- [UpdateOrderChangeActionDTO](OrderTypes/interfaces/types.OrderTypes.UpdateOrderChangeActionDTO.mdx) +- [CreateOrderTransactionDTO](OrderTypes/interfaces/types.OrderTypes.CreateOrderTransactionDTO.mdx) +- [UpdateOrderTransactionDTO](OrderTypes/interfaces/types.OrderTypes.UpdateOrderTransactionDTO.mdx) +- [UpdateOrderItemDTO](OrderTypes/interfaces/types.OrderTypes.UpdateOrderItemDTO.mdx) +- [UpdateOrderItemWithSelectorDTO](OrderTypes/interfaces/types.OrderTypes.UpdateOrderItemWithSelectorDTO.mdx) +- [RegisterOrderFulfillmentDTO](OrderTypes/interfaces/types.OrderTypes.RegisterOrderFulfillmentDTO.mdx) +- [RegisterOrderShipmentDTO](OrderTypes/interfaces/types.OrderTypes.RegisterOrderShipmentDTO.mdx) +- [CreateOrderReturnDTO](OrderTypes/interfaces/types.OrderTypes.CreateOrderReturnDTO.mdx) +- [IOrderModuleService](OrderTypes/interfaces/types.OrderTypes.IOrderModuleService.mdx) +- [OrderWorkflowDTO](OrderTypes/interfaces/types.OrderTypes.OrderWorkflowDTO.mdx) + +## Type Aliases + +- [OrderSummaryDTO](OrderTypes/types/types.OrderTypes.OrderSummaryDTO.mdx) diff --git a/www/apps/docs/content/references/types/types.PromotionTypes.mdx b/www/apps/docs/content/references/types/types.PromotionTypes.mdx index 5748195002ba9..4c7016d8a6a38 100644 --- a/www/apps/docs/content/references/types/types.PromotionTypes.mdx +++ b/www/apps/docs/content/references/types/types.PromotionTypes.mdx @@ -31,6 +31,7 @@ import TypeList from "@site/src/components/TypeList" - [UpdatePromotionRuleDTO](PromotionTypes/interfaces/types.PromotionTypes.UpdatePromotionRuleDTO.mdx) - [RemovePromotionRuleDTO](PromotionTypes/interfaces/types.PromotionTypes.RemovePromotionRuleDTO.mdx) - [FilterablePromotionRuleProps](PromotionTypes/interfaces/types.PromotionTypes.FilterablePromotionRuleProps.mdx) +- [PromotionRuleTypes](PromotionTypes/interfaces/types.PromotionTypes.PromotionRuleTypes.mdx) - [PromotionDTO](PromotionTypes/interfaces/types.PromotionTypes.PromotionDTO.mdx) - [CreatePromotionDTO](PromotionTypes/interfaces/types.PromotionTypes.CreatePromotionDTO.mdx) - [UpdatePromotionDTO](PromotionTypes/interfaces/types.PromotionTypes.UpdatePromotionDTO.mdx) @@ -51,3 +52,7 @@ import TypeList from "@site/src/components/TypeList" - [UsageComputedActions](PromotionTypes/types/types.PromotionTypes.UsageComputedActions.mdx) - [PromotionRuleOperatorValues](PromotionTypes/types/types.PromotionTypes.PromotionRuleOperatorValues.mdx) - [PromotionTypeValues](PromotionTypes/types/types.PromotionTypes.PromotionTypeValues.mdx) +- [AdminGetPromotionRulesRes](PromotionTypes/types/types.PromotionTypes.AdminGetPromotionRulesRes.mdx) +- [AddPromotionRulesWorkflowDTO](PromotionTypes/types/types.PromotionTypes.AddPromotionRulesWorkflowDTO.mdx) +- [RemovePromotionRulesWorkflowDTO](PromotionTypes/types/types.PromotionTypes.RemovePromotionRulesWorkflowDTO.mdx) +- [UpdatePromotionRulesWorkflowDTO](PromotionTypes/types/types.PromotionTypes.UpdatePromotionRulesWorkflowDTO.mdx) diff --git a/www/apps/docs/content/references/types/types.RegionTypes.mdx b/www/apps/docs/content/references/types/types.RegionTypes.mdx index 8df238a9aca3a..bb9190529e3cf 100644 --- a/www/apps/docs/content/references/types/types.RegionTypes.mdx +++ b/www/apps/docs/content/references/types/types.RegionTypes.mdx @@ -2,6 +2,6 @@ import TypeList from "@site/src/components/TypeList" # RegionTypes -## Type Aliases +## Interfaces -- [RegionDTO\_\_legacy](RegionTypes/types/types.RegionTypes.RegionDTO__legacy.mdx) +- [RegionDTO\_\_legacy](RegionTypes/interfaces/types.RegionTypes.RegionDTO__legacy.mdx) diff --git a/www/apps/docs/content/references/types/types.SalesChannelTypes.mdx b/www/apps/docs/content/references/types/types.SalesChannelTypes.mdx index c4125c03fc4d4..6da2f65275744 100644 --- a/www/apps/docs/content/references/types/types.SalesChannelTypes.mdx +++ b/www/apps/docs/content/references/types/types.SalesChannelTypes.mdx @@ -9,4 +9,5 @@ import TypeList from "@site/src/components/TypeList" - [FilterableSalesChannelProps](SalesChannelTypes/interfaces/types.SalesChannelTypes.FilterableSalesChannelProps.mdx) - [CreateSalesChannelDTO](SalesChannelTypes/interfaces/types.SalesChannelTypes.CreateSalesChannelDTO.mdx) - [UpdateSalesChannelDTO](SalesChannelTypes/interfaces/types.SalesChannelTypes.UpdateSalesChannelDTO.mdx) +- [UpsertSalesChannelDTO](SalesChannelTypes/interfaces/types.SalesChannelTypes.UpsertSalesChannelDTO.mdx) - [ISalesChannelModuleService](SalesChannelTypes/interfaces/types.SalesChannelTypes.ISalesChannelModuleService.mdx) diff --git a/www/apps/docs/content/references/types/types.StoreTypes.mdx b/www/apps/docs/content/references/types/types.StoreTypes.mdx new file mode 100644 index 0000000000000..ae53e8e7019cf --- /dev/null +++ b/www/apps/docs/content/references/types/types.StoreTypes.mdx @@ -0,0 +1,12 @@ +import TypeList from "@site/src/components/TypeList" + +# StoreTypes + +## Interfaces + +- [StoreDTO](StoreTypes/interfaces/types.StoreTypes.StoreDTO.mdx) +- [FilterableStoreProps](StoreTypes/interfaces/types.StoreTypes.FilterableStoreProps.mdx) +- [CreateStoreDTO](StoreTypes/interfaces/types.StoreTypes.CreateStoreDTO.mdx) +- [UpsertStoreDTO](StoreTypes/interfaces/types.StoreTypes.UpsertStoreDTO.mdx) +- [UpdateStoreDTO](StoreTypes/interfaces/types.StoreTypes.UpdateStoreDTO.mdx) +- [IStoreModuleService](StoreTypes/interfaces/types.StoreTypes.IStoreModuleService.mdx) diff --git a/www/apps/docs/content/references/types/types.TaxTypes.mdx b/www/apps/docs/content/references/types/types.TaxTypes.mdx new file mode 100644 index 0000000000000..2e31ca5943167 --- /dev/null +++ b/www/apps/docs/content/references/types/types.TaxTypes.mdx @@ -0,0 +1,30 @@ +import TypeList from "@site/src/components/TypeList" + +# TaxTypes + +## Interfaces + +- [TaxRateDTO](TaxTypes/interfaces/types.TaxTypes.TaxRateDTO.mdx) +- [TaxProviderDTO](TaxTypes/interfaces/types.TaxTypes.TaxProviderDTO.mdx) +- [FilterableTaxRateProps](TaxTypes/interfaces/types.TaxTypes.FilterableTaxRateProps.mdx) +- [TaxRegionDTO](TaxTypes/interfaces/types.TaxTypes.TaxRegionDTO.mdx) +- [FilterableTaxRegionProps](TaxTypes/interfaces/types.TaxTypes.FilterableTaxRegionProps.mdx) +- [TaxRateRuleDTO](TaxTypes/interfaces/types.TaxTypes.TaxRateRuleDTO.mdx) +- [FilterableTaxRateRuleProps](TaxTypes/interfaces/types.TaxTypes.FilterableTaxRateRuleProps.mdx) +- [TaxableItemDTO](TaxTypes/interfaces/types.TaxTypes.TaxableItemDTO.mdx) +- [TaxableShippingDTO](TaxTypes/interfaces/types.TaxTypes.TaxableShippingDTO.mdx) +- [TaxCalculationContext](TaxTypes/interfaces/types.TaxTypes.TaxCalculationContext.mdx) +- [ItemTaxLineDTO](TaxTypes/interfaces/types.TaxTypes.ItemTaxLineDTO.mdx) +- [ShippingTaxLineDTO](TaxTypes/interfaces/types.TaxTypes.ShippingTaxLineDTO.mdx) +- [CreateTaxRateDTO](TaxTypes/interfaces/types.TaxTypes.CreateTaxRateDTO.mdx) +- [UpsertTaxRateDTO](TaxTypes/interfaces/types.TaxTypes.UpsertTaxRateDTO.mdx) +- [UpdateTaxRateDTO](TaxTypes/interfaces/types.TaxTypes.UpdateTaxRateDTO.mdx) +- [CreateTaxRegionDTO](TaxTypes/interfaces/types.TaxTypes.CreateTaxRegionDTO.mdx) +- [CreateTaxRateRuleDTO](TaxTypes/interfaces/types.TaxTypes.CreateTaxRateRuleDTO.mdx) +- [ITaxProvider](TaxTypes/interfaces/types.TaxTypes.ITaxProvider.mdx) +- [ITaxModuleService](TaxTypes/interfaces/types.TaxTypes.ITaxModuleService.mdx) + +## Type Aliases + +- [ShippingTaxCalculationLine](TaxTypes/types/types.TaxTypes.ShippingTaxCalculationLine.mdx) +- [ItemTaxCalculationLine](TaxTypes/types/types.TaxTypes.ItemTaxCalculationLine.mdx) diff --git a/www/apps/docs/content/references/types/types.UserTypes.mdx b/www/apps/docs/content/references/types/types.UserTypes.mdx index 6709dd39f6e47..a28be4558ded0 100644 --- a/www/apps/docs/content/references/types/types.UserTypes.mdx +++ b/www/apps/docs/content/references/types/types.UserTypes.mdx @@ -4,11 +4,12 @@ import TypeList from "@site/src/components/TypeList" ## Interfaces +- [UserDTO](UserTypes/interfaces/types.UserTypes.UserDTO.mdx) +- [FilterableUserProps](UserTypes/interfaces/types.UserTypes.FilterableUserProps.mdx) +- [InviteDTO](UserTypes/interfaces/types.UserTypes.InviteDTO.mdx) +- [FilterableInviteProps](UserTypes/interfaces/types.UserTypes.FilterableInviteProps.mdx) - [CreateUserDTO](UserTypes/interfaces/types.UserTypes.CreateUserDTO.mdx) - [UpdateUserDTO](UserTypes/interfaces/types.UserTypes.UpdateUserDTO.mdx) +- [CreateInviteDTO](UserTypes/interfaces/types.UserTypes.CreateInviteDTO.mdx) +- [UpdateInviteDTO](UserTypes/interfaces/types.UserTypes.UpdateInviteDTO.mdx) - [IUserModuleService](UserTypes/interfaces/types.UserTypes.IUserModuleService.mdx) - -## Type Aliases - -- [UserDTO](UserTypes/types/types.UserTypes.UserDTO.mdx) -- [FilterableUserProps](UserTypes/types/types.UserTypes.FilterableUserProps.mdx) diff --git a/www/apps/docs/content/references/types/types.WorkflowTypes.mdx b/www/apps/docs/content/references/types/types.WorkflowTypes.mdx index 2a21e793a7fc1..f63ca4f01e992 100644 --- a/www/apps/docs/content/references/types/types.WorkflowTypes.mdx +++ b/www/apps/docs/content/references/types/types.WorkflowTypes.mdx @@ -6,4 +6,10 @@ import TypeList from "@site/src/components/TypeList" - [CartWorkflow](WorkflowTypes/types.WorkflowTypes.CartWorkflow.mdx) - [CommonWorkflow](WorkflowTypes/types.WorkflowTypes.CommonWorkflow.mdx) +- [FulfillmentWorkflow](WorkflowTypes/types.WorkflowTypes.FulfillmentWorkflow.mdx) +- [InviteWorkflow](WorkflowTypes/types.WorkflowTypes.InviteWorkflow.mdx) - [PriceListWorkflow](WorkflowTypes/types.WorkflowTypes.PriceListWorkflow.mdx) +- [ProductCategoryWorkflow](WorkflowTypes/types.WorkflowTypes.ProductCategoryWorkflow.mdx) +- [RegionWorkflow](WorkflowTypes/types.WorkflowTypes.RegionWorkflow.mdx) +- [ReservationWorkflow](WorkflowTypes/types.WorkflowTypes.ReservationWorkflow.mdx) +- [UserWorkflow](WorkflowTypes/types.WorkflowTypes.UserWorkflow.mdx) diff --git a/www/apps/docs/content/references/types/types/types.ApiKeyType.mdx b/www/apps/docs/content/references/types/types/types.ApiKeyType.mdx new file mode 100644 index 0000000000000..37e6de27690ae --- /dev/null +++ b/www/apps/docs/content/references/types/types/types.ApiKeyType.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# ApiKeyType + + **ApiKeyType**: `"secret"` \| `"publishable"` + +An API key's type. diff --git a/www/apps/docs/content/references/types/types/types.AuthModuleProviderConfig.mdx b/www/apps/docs/content/references/types/types/types.AuthModuleProviderConfig.mdx deleted file mode 100644 index d5d1ba24152bf..0000000000000 --- a/www/apps/docs/content/references/types/types/types.AuthModuleProviderConfig.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# AuthModuleProviderConfig - - **AuthModuleProviderConfig**: `Object` - -## Properties - -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="AuthModuleProviderConfig"/> diff --git a/www/apps/docs/content/references/types/types/types.AuthUserDTO.mdx b/www/apps/docs/content/references/types/types/types.AuthUserDTO.mdx deleted file mode 100644 index a9092c45df970..0000000000000 --- a/www/apps/docs/content/references/types/types/types.AuthUserDTO.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# AuthUserDTO - - **AuthUserDTO**: `Object` - -## Properties - -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="AuthUserDTO"/> diff --git a/www/apps/docs/content/references/types/types/types.AuthenticationInput.mdx b/www/apps/docs/content/references/types/types/types.AuthenticationInput.mdx deleted file mode 100644 index 75e682002d063..0000000000000 --- a/www/apps/docs/content/references/types/types/types.AuthenticationInput.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# AuthenticationInput - - **AuthenticationInput**: `Object` - -## Properties - -`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"query","type":"`Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"body","type":"`Record`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"authScope","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"protocol","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="AuthenticationInput"/> diff --git a/www/apps/docs/content/references/types/types/types.AuthenticationResponse.mdx b/www/apps/docs/content/references/types/types/types.AuthenticationResponse.mdx deleted file mode 100644 index 687f11ca49003..0000000000000 --- a/www/apps/docs/content/references/types/types/types.AuthenticationResponse.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# AuthenticationResponse - - **AuthenticationResponse**: `Object` - -## Properties - - diff --git a/www/apps/docs/content/references/types/types/types.BigNumberInput.mdx b/www/apps/docs/content/references/types/types/types.BigNumberInput.mdx new file mode 100644 index 0000000000000..642953490e1d8 --- /dev/null +++ b/www/apps/docs/content/references/types/types/types.BigNumberInput.mdx @@ -0,0 +1,5 @@ +import TypeList from "@site/src/components/TypeList" + +# BigNumberInput + + **BigNumberInput**: [BigNumberRawValue](types.BigNumberRawValue.mdx) \| `number` \| `string` \| `BigNumberJS` diff --git a/www/apps/docs/content/references/types/types/types.BigNumberRawValue.mdx b/www/apps/docs/content/references/types/types/types.BigNumberRawValue.mdx new file mode 100644 index 0000000000000..1d9fa76e8aa0b --- /dev/null +++ b/www/apps/docs/content/references/types/types/types.BigNumberRawValue.mdx @@ -0,0 +1,13 @@ +import TypeList from "@site/src/components/TypeList" + +# BigNumberRawValue + + **BigNumberRawValue**: `Object` + +## Index signature + +▪ [key: `string`]: `unknown` + +## Properties + + diff --git a/www/apps/docs/content/references/types/types/types.BigNumberValue.mdx b/www/apps/docs/content/references/types/types/types.BigNumberValue.mdx new file mode 100644 index 0000000000000..33ef24ca17411 --- /dev/null +++ b/www/apps/docs/content/references/types/types/types.BigNumberValue.mdx @@ -0,0 +1,5 @@ +import TypeList from "@site/src/components/TypeList" + +# BigNumberValue + + **BigNumberValue**: `BigNumberJS` \| `number` \| `string` diff --git a/www/apps/docs/content/references/types/types/types.CartLikeWithTotals.mdx b/www/apps/docs/content/references/types/types/types.CartLikeWithTotals.mdx new file mode 100644 index 0000000000000..8cfefd671d598 --- /dev/null +++ b/www/apps/docs/content/references/types/types/types.CartLikeWithTotals.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# CartLikeWithTotals + + **CartLikeWithTotals**: `Object` + +## Properties + + diff --git a/www/apps/docs/content/references/types/types/types.CreateAuthUserDTO.mdx b/www/apps/docs/content/references/types/types/types.CreateAuthUserDTO.mdx deleted file mode 100644 index 611501186b0d1..0000000000000 --- a/www/apps/docs/content/references/types/types/types.CreateAuthUserDTO.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# CreateAuthUserDTO - - **CreateAuthUserDTO**: `Object` - -## Properties - -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user_metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateAuthUserDTO"/> diff --git a/www/apps/docs/content/references/types/types/types.CreateProductVariantWorkflowInputDTO.mdx b/www/apps/docs/content/references/types/types/types.CreateProductVariantWorkflowInputDTO.mdx new file mode 100644 index 0000000000000..a9bf801747be2 --- /dev/null +++ b/www/apps/docs/content/references/types/types/types.CreateProductVariantWorkflowInputDTO.mdx @@ -0,0 +1,5 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateProductVariantWorkflowInputDTO + + **CreateProductVariantWorkflowInputDTO**: [CreateProductVariantDTO](../../product/interfaces/product.CreateProductVariantDTO.mdx) & `object` diff --git a/www/apps/docs/content/references/types/types/types.CreateProductWorkflowInputDTO.mdx b/www/apps/docs/content/references/types/types/types.CreateProductWorkflowInputDTO.mdx new file mode 100644 index 0000000000000..e46a18ae54904 --- /dev/null +++ b/www/apps/docs/content/references/types/types/types.CreateProductWorkflowInputDTO.mdx @@ -0,0 +1,5 @@ +import TypeList from "@site/src/components/TypeList" + +# CreateProductWorkflowInputDTO + + **CreateProductWorkflowInputDTO**: Omit<[CreateProductDTO](../../product/interfaces/product.CreateProductDTO.mdx), "variants"> & `object` diff --git a/www/apps/docs/content/references/types/types/types.DeleteResponse.mdx b/www/apps/docs/content/references/types/types/types.DeleteResponse.mdx new file mode 100644 index 0000000000000..8d5374b3489fc --- /dev/null +++ b/www/apps/docs/content/references/types/types/types.DeleteResponse.mdx @@ -0,0 +1,15 @@ +import TypeList from "@site/src/components/TypeList" + +# DeleteResponse + + **DeleteResponse**: `Object` + +The fields returned in the response of a DELETE request. + +## Type Parameters + + + +## Properties + + diff --git a/www/apps/docs/content/references/types/types/types.JWTGenerationOptions.mdx b/www/apps/docs/content/references/types/types/types.JWTGenerationOptions.mdx deleted file mode 100644 index 15e100bb72690..0000000000000 --- a/www/apps/docs/content/references/types/types/types.JWTGenerationOptions.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# JWTGenerationOptions - - **JWTGenerationOptions**: `Object` - -## Properties - - diff --git a/www/apps/docs/content/references/types/types/types.MedusaPricingContext.mdx b/www/apps/docs/content/references/types/types/types.MedusaPricingContext.mdx new file mode 100644 index 0000000000000..d8820ac435539 --- /dev/null +++ b/www/apps/docs/content/references/types/types/types.MedusaPricingContext.mdx @@ -0,0 +1,9 @@ +import TypeList from "@site/src/components/TypeList" + +# MedusaPricingContext + + **MedusaPricingContext**: `Object` + +## Properties + + diff --git a/www/apps/docs/content/references/types/types/types.PaymentAddressDTO.mdx b/www/apps/docs/content/references/types/types/types.PaymentAddressDTO.mdx new file mode 100644 index 0000000000000..db327bf1ea743 --- /dev/null +++ b/www/apps/docs/content/references/types/types/types.PaymentAddressDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# PaymentAddressDTO + + **PaymentAddressDTO**: Partial<[AddressDTO](types.AddressDTO.mdx)> + +The address of the payment. diff --git a/www/apps/docs/content/references/types/types/types.PaymentCustomerDTO.mdx b/www/apps/docs/content/references/types/types/types.PaymentCustomerDTO.mdx new file mode 100644 index 0000000000000..bad0710be99af --- /dev/null +++ b/www/apps/docs/content/references/types/types/types.PaymentCustomerDTO.mdx @@ -0,0 +1,7 @@ +import TypeList from "@site/src/components/TypeList" + +# PaymentCustomerDTO + + **PaymentCustomerDTO**: Partial<[CustomerDTO](../CustomerTypes/interfaces/types.CustomerTypes.CustomerDTO.mdx)> + +The customer associated with the payment. diff --git a/www/apps/docs/content/references/types/types/types.UpdateAuthUserDTO.mdx b/www/apps/docs/content/references/types/types/types.UpdateAuthUserDTO.mdx deleted file mode 100644 index 57a4a62a47724..0000000000000 --- a/www/apps/docs/content/references/types/types/types.UpdateAuthUserDTO.mdx +++ /dev/null @@ -1,9 +0,0 @@ -import TypeList from "@site/src/components/TypeList" - -# UpdateAuthUserDTO - - **UpdateAuthUserDTO**: `Object` - -## Properties - -`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user_metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"app_metadata","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="UpdateAuthUserDTO"/> diff --git a/www/apps/docs/content/references/types/types/types.UpdateProductVariantWorkflowInputDTO.mdx b/www/apps/docs/content/references/types/types/types.UpdateProductVariantWorkflowInputDTO.mdx new file mode 100644 index 0000000000000..13d1d0439919d --- /dev/null +++ b/www/apps/docs/content/references/types/types/types.UpdateProductVariantWorkflowInputDTO.mdx @@ -0,0 +1,5 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateProductVariantWorkflowInputDTO + + **UpdateProductVariantWorkflowInputDTO**: [UpsertProductVariantDTO](../../product/interfaces/product.UpsertProductVariantDTO.mdx) & `object`[] diff --git a/www/apps/docs/content/references/types/types/types.UpdateProductWorkflowInputDTO.mdx b/www/apps/docs/content/references/types/types/types.UpdateProductWorkflowInputDTO.mdx new file mode 100644 index 0000000000000..56809eff9b0a9 --- /dev/null +++ b/www/apps/docs/content/references/types/types/types.UpdateProductWorkflowInputDTO.mdx @@ -0,0 +1,5 @@ +import TypeList from "@site/src/components/TypeList" + +# UpdateProductWorkflowInputDTO + + **UpdateProductWorkflowInputDTO**: [UpsertProductDTO](../../product/interfaces/product.UpsertProductDTO.mdx) & `object` diff --git a/www/apps/docs/content/references/workflows/StepResponse/methods/workflows.StepResponse.permanentFailure.mdx b/www/apps/docs/content/references/workflows/StepResponse/methods/workflows.StepResponse.permanentFailure.mdx index 39654154c19bb..66ecfbf9e15bb 100644 --- a/www/apps/docs/content/references/workflows/StepResponse/methods/workflows.StepResponse.permanentFailure.mdx +++ b/www/apps/docs/content/references/workflows/StepResponse/methods/workflows.StepResponse.permanentFailure.mdx @@ -31,7 +31,7 @@ export const createProductStep = createStep( const productService = context.container.resolve( "productService" ) - + try { const product = await productService.create(input) return new StepResponse({ diff --git a/www/apps/docs/content/references/workflows/interfaces/workflows.StepExecutionContext.mdx b/www/apps/docs/content/references/workflows/interfaces/workflows.StepExecutionContext.mdx index ed58d30dd02b1..f45c4c3064531 100644 --- a/www/apps/docs/content/references/workflows/interfaces/workflows.StepExecutionContext.mdx +++ b/www/apps/docs/content/references/workflows/interfaces/workflows.StepExecutionContext.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" The step's context. - + diff --git a/www/apps/docs/content/references/workflows/types/workflows.ReturnWorkflow.mdx b/www/apps/docs/content/references/workflows/types/workflows.ReturnWorkflow.mdx index 6dde34a3cf6db..325246a754c90 100644 --- a/www/apps/docs/content/references/workflows/types/workflows.ReturnWorkflow.mdx +++ b/www/apps/docs/content/references/workflows/types/workflows.ReturnWorkflow.mdx @@ -6,7 +6,7 @@ import TypeList from "@site/src/components/TypeList" # ReturnWorkflow - **ReturnWorkflow**: ``(`container?`: [MedusaContainer](../../medusa/types/medusa.MedusaContainer-2.mdx) \| ``{ __joinerConfig: [ModuleJoinerConfig](../../medusa/types/medusa.ModuleJoinerConfig.mdx) ; __definition: [ModuleDefinition](../../medusa/types/medusa.ModuleDefinition.mdx) }``[]) => Omit<LocalWorkflow, "run" \| "registerStepSuccess" \| "registerStepFailure"> & ExportedWorkflow<TData, TResult, TDataOverride, TResultOverride> & THooks & `object` & `object` + **ReturnWorkflow**: ``(`container?`: [MedusaContainer](../../medusa/types/medusa.MedusaContainer-2.mdx) \| ``{ __joinerConfig: [ModuleJoinerConfig](../../types/ModulesSdkTypes/types/types.ModulesSdkTypes.ModuleJoinerConfig.mdx) ; __definition: [ModuleDefinition](../../medusa/types/medusa.ModuleDefinition.mdx) }``[]) => Omit<LocalWorkflow, "run" \| "registerStepSuccess" \| "registerStepFailure" \| "cancel"> & ExportedWorkflow<TData, TResult, TDataOverride, TResultOverride> & THooks & `object` & `object` An exported workflow, which is the type of a workflow constructed by the [createWorkflow](../functions/workflows.createWorkflow.mdx) function. The exported workflow can be invoked to create an executable workflow, optionally within a specified container. So, to execute the workflow, you must invoke the exported workflow, then run the diff --git a/www/apps/docs/content/references/workflows/types/workflows.StepFunction.mdx b/www/apps/docs/content/references/workflows/types/workflows.StepFunction.mdx index dc39bdeed4bff..b984b2e1378b5 100644 --- a/www/apps/docs/content/references/workflows/types/workflows.StepFunction.mdx +++ b/www/apps/docs/content/references/workflows/types/workflows.StepFunction.mdx @@ -6,7 +6,7 @@ import TypeList from "@site/src/components/TypeList" # StepFunction - **StepFunction**: keyof TInput extends [] ? () => [WorkflowData](workflows.WorkflowData.mdx)<{ [K in string \| number \| symbol]: TOutput[K] }> : (`input`: TInput extends `object` ? { [K in string \| number \| symbol]: TInput[K] \| WorkflowData<TInput[K]> } : TInput \| [WorkflowData](workflows.WorkflowData.mdx)<TInput>) => [WorkflowData](workflows.WorkflowData.mdx)<{ [K in string \| number \| symbol]: TOutput[K] }> & [WorkflowDataProperties](workflows.WorkflowDataProperties.mdx)<{ [K in keyof TOutput]: TOutput[K] }> & [WorkflowDataProperties](workflows.WorkflowDataProperties.mdx)<{ [K in keyof TOutput]: TOutput[K] }> + **StepFunction**: KeysOfUnion<TInput> extends [] ? () => TOutput extends `Item`[] ? (`Item` \| [WorkflowData](workflows.WorkflowData.mdx)<Item>)[] : TOutput extends `object` ? { [Key in string \| number \| symbol]: TOutput[Key] \| WorkflowData<TOutput[Key]> } : TOutput & [WorkflowDataProperties](workflows.WorkflowDataProperties.mdx)<TOutput> & TOutput & [WorkflowDataProperties](workflows.WorkflowDataProperties.mdx)<TOutput> & ``{ config: Method config }`` & StepFunctionReturnConfig<TOutput> : (`input`: TInput \| [WorkflowData](workflows.WorkflowData.mdx)<TInput>) => TOutput extends `Item`[] ? (`Item` \| [WorkflowData](workflows.WorkflowData.mdx)<Item>)[] : TOutput extends `object` ? { [Key in string \| number \| symbol]: TOutput[Key] \| WorkflowData<TOutput[Key]> } : TOutput & [WorkflowDataProperties](workflows.WorkflowDataProperties.mdx)<TOutput> & TOutput & [WorkflowDataProperties](workflows.WorkflowDataProperties.mdx)<TOutput> & ``{ config: Method config }`` & StepFunctionReturnConfig<TOutput> & [WorkflowDataProperties](workflows.WorkflowDataProperties.mdx)<TOutput> A step function to be used in a workflow. diff --git a/www/apps/docs/content/references/workflows/types/workflows.StepFunctionResult.mdx b/www/apps/docs/content/references/workflows/types/workflows.StepFunctionResult.mdx index d0f50b6da8a6e..1160726b09a13 100644 --- a/www/apps/docs/content/references/workflows/types/workflows.StepFunctionResult.mdx +++ b/www/apps/docs/content/references/workflows/types/workflows.StepFunctionResult.mdx @@ -6,7 +6,7 @@ import TypeList from "@site/src/components/TypeList" # StepFunctionResult - **StepFunctionResult**: (`this`: [CreateWorkflowComposerContext](workflows.CreateWorkflowComposerContext.mdx)) => [WorkflowData](workflows.WorkflowData.mdx)<{ [K in keyof TOutput]: TOutput[K] }> + **StepFunctionResult**: (`this`: [CreateWorkflowComposerContext](workflows.CreateWorkflowComposerContext.mdx)) => [WorkflowData](workflows.WorkflowData.mdx)<TOutput> ## Type Parameters @@ -20,4 +20,4 @@ import TypeList from "@site/src/components/TypeList" ### Returns - + diff --git a/www/apps/docs/content/references/workflows/types/workflows.WorkflowData.mdx b/www/apps/docs/content/references/workflows/types/workflows.WorkflowData.mdx index 4d24bd8b3ecee..4a2aab4f80758 100644 --- a/www/apps/docs/content/references/workflows/types/workflows.WorkflowData.mdx +++ b/www/apps/docs/content/references/workflows/types/workflows.WorkflowData.mdx @@ -6,7 +6,7 @@ import TypeList from "@site/src/components/TypeList" # WorkflowData - **WorkflowData**: T extends `object` ? { [Key in keyof T]: WorkflowData<T[Key]> } : [WorkflowDataProperties](workflows.WorkflowDataProperties.mdx)<T> & [WorkflowDataProperties](workflows.WorkflowDataProperties.mdx)<T> & `object` + **WorkflowData**: T extends infer Item[] ? (`Item` \| [WorkflowData](workflows.WorkflowData.mdx)<Item>)[] : T extends `object` ? { [Key in keyof T]: T[Key] \| WorkflowData<T[Key]> } : T & [WorkflowDataProperties](workflows.WorkflowDataProperties.mdx)<T> & T & [WorkflowDataProperties](workflows.WorkflowDataProperties.mdx)<T> & `object` This type is used to encapsulate the input or output type of all utils. diff --git a/www/apps/docs/content/references/workflows/types/workflows.WorkflowDataProperties.mdx b/www/apps/docs/content/references/workflows/types/workflows.WorkflowDataProperties.mdx index 175fc11a5af8b..7dbeb3b6431cf 100644 --- a/www/apps/docs/content/references/workflows/types/workflows.WorkflowDataProperties.mdx +++ b/www/apps/docs/content/references/workflows/types/workflows.WorkflowDataProperties.mdx @@ -14,4 +14,4 @@ import TypeList from "@site/src/components/TypeList" ## Properties - +